Skip to content

Commit bb8cdb0

Browse files
authored
chore: map all illustrations (#557)
1 parent 0cc11f6 commit bb8cdb0

2 files changed

Lines changed: 191 additions & 1 deletion

File tree

components/empty-view/src/constants.ts

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,44 @@
11
import {
22
AddUserDark,
3+
AddUserGroupDark,
4+
AddUserGroupLight,
35
AddUserLight,
46
AddUserProfileDark,
57
AddUserProfileLight,
8+
AddUserToGroupDark,
9+
AddUserToGroupLight,
10+
AppointmentDark,
11+
AppointmentLight,
12+
BluetoothPermissionsDark,
13+
BluetoothPermissionsLight,
14+
BluetoothPermissonsErrorDark,
15+
BluetoothPermissonsErrorLight,
16+
CloudConnectDark,
17+
CloudConnectErrorDark,
18+
CloudConnectErrorLight,
19+
CloudConnectLight,
20+
CloudLocationDark,
21+
CloudLocationLight,
622
CodeErrorDark,
723
CodeErrorLight,
24+
CreateDataDark,
25+
CreateDataLight,
826
DataDark,
927
DataLight,
28+
DesktopDark,
29+
DesktopLight,
1030
DevicesDark,
1131
DevicesLight,
32+
DisconnectedDark,
33+
DisconnectedLight,
34+
DocumentsDark,
35+
DocumentsLight,
36+
DoorErrorDark,
37+
DoorErrorLight,
1238
DragMenuItemDark,
1339
DragMenuItemLight,
40+
EmailSentDark,
41+
EmailSentLight,
1442
EmptyFolderDark,
1543
EmptyFolderLight,
1644
EmptyGeneralDark,
@@ -19,36 +47,88 @@ import {
1947
EmptySpaceLight,
2048
FileMissingDark,
2149
FileMissingLight,
50+
FolderDark,
51+
FolderLight,
52+
GridLocationDark,
53+
GridLocationLight,
54+
ImportExcelDark,
55+
ImportExcelLight,
56+
LaunchDark,
57+
LaunchLight,
58+
LocationDark,
59+
LocationLight,
60+
LoginDark,
61+
LoginLight,
2262
MediaDark,
2363
MediaErrorDark,
2464
MediaErrorLight,
2565
MediaLight,
2666
MenuItemFocusDark,
2767
MenuItemFocusLight,
68+
MilPermissionsDark,
69+
MilPermissionsLight,
70+
NavigationDark,
71+
NavigationLight,
2872
NoAccessDark,
2973
NoAccessLight,
3074
NoConnectionDark,
3175
NoConnectionLight,
3276
NoContentDark,
3377
NoContentLight,
78+
NoEmailsDark,
79+
NoEmailsLight,
80+
NoEventsDark,
81+
NoEventsLight,
82+
NoFriendsDark,
83+
NoFriendsLight,
3484
NoMatchDark,
3585
NoMatchGeneralDark,
3686
NoMatchGeneralLight,
3787
NoMatchLight,
88+
NoReportsDark,
89+
NoReportsLight,
3890
NoSitesDark,
3991
NoSitesLight,
4092
NotFoundDark,
4193
NotFoundLight,
94+
NotificationsDark,
95+
NotificationsLight,
96+
OrganizationDark,
97+
OrganizationLight,
98+
PasswordSentDark,
99+
PasswordSentLight,
42100
ProhibitedDark,
43101
ProhibitedLight,
102+
ResetPasswordDark,
103+
ResetPasswordLight,
104+
SetPasswordDark,
105+
SetPasswordLight,
44106
SettingsDark,
45107
SettingsLight,
108+
SidebarDark,
109+
SidebarLight,
110+
SignedDocumentsDark,
111+
SignedDocumentsLight,
46112
SuccessDark,
47113
SuccessLight,
48114
TeamDark,
49115
TeamLight,
116+
TruckDark,
117+
TruckLight,
118+
TwoFactorAuthentificationDark,
119+
TwoFactorAuthentificationLight,
50120
UnderConstructionDark,
51121
UnderConstructionLight,
122+
UnpackDark,
123+
UnpackLight,
124+
UserDark,
125+
UserGroupDark,
126+
UserGroupLight,
127+
UserLight,
128+
UserProfileDark,
129+
UserProfileLight,
130+
WelcomePlaneDark,
131+
WelcomePlaneLight,
52132
bundleIllustrationSmart,
53133
} from "@axiscommunications/fluent-illustrations";
54134
import { IllustrationKind } from "./types.js";
@@ -94,4 +174,74 @@ export const Illustration: Record<
94174
UnderConstructionLight
95175
),
96176
"add-user": bundleIllustrationSmart(AddUserDark, AddUserLight),
177+
"add-user-group": bundleIllustrationSmart(
178+
AddUserGroupDark,
179+
AddUserGroupLight
180+
),
181+
"add-user-to-group": bundleIllustrationSmart(
182+
AddUserToGroupDark,
183+
AddUserToGroupLight
184+
),
185+
appointment: bundleIllustrationSmart(AppointmentDark, AppointmentLight),
186+
"bluetooth-permissions": bundleIllustrationSmart(
187+
BluetoothPermissionsDark,
188+
BluetoothPermissionsLight
189+
),
190+
"bluetooth-permissons-error": bundleIllustrationSmart(
191+
BluetoothPermissonsErrorDark,
192+
BluetoothPermissonsErrorLight
193+
),
194+
"cloud-connect": bundleIllustrationSmart(CloudConnectDark, CloudConnectLight),
195+
"cloud-connect-error": bundleIllustrationSmart(
196+
CloudConnectErrorDark,
197+
CloudConnectErrorLight
198+
),
199+
"cloud-location": bundleIllustrationSmart(
200+
CloudLocationDark,
201+
CloudLocationLight
202+
),
203+
"create-data": bundleIllustrationSmart(CreateDataDark, CreateDataLight),
204+
desktop: bundleIllustrationSmart(DesktopDark, DesktopLight),
205+
disconnected: bundleIllustrationSmart(DisconnectedDark, DisconnectedLight),
206+
documents: bundleIllustrationSmart(DocumentsDark, DocumentsLight),
207+
"door-error": bundleIllustrationSmart(DoorErrorDark, DoorErrorLight),
208+
"email-sent": bundleIllustrationSmart(EmailSentDark, EmailSentLight),
209+
folder: bundleIllustrationSmart(FolderDark, FolderLight),
210+
"grid-location": bundleIllustrationSmart(GridLocationDark, GridLocationLight),
211+
"import-excel": bundleIllustrationSmart(ImportExcelDark, ImportExcelLight),
212+
launch: bundleIllustrationSmart(LaunchDark, LaunchLight),
213+
location: bundleIllustrationSmart(LocationDark, LocationLight),
214+
login: bundleIllustrationSmart(LoginDark, LoginLight),
215+
"mil-permissions": bundleIllustrationSmart(
216+
MilPermissionsDark,
217+
MilPermissionsLight
218+
),
219+
navigation: bundleIllustrationSmart(NavigationDark, NavigationLight),
220+
"no-emails": bundleIllustrationSmart(NoEmailsDark, NoEmailsLight),
221+
"no-events": bundleIllustrationSmart(NoEventsDark, NoEventsLight),
222+
"no-friends": bundleIllustrationSmart(NoFriendsDark, NoFriendsLight),
223+
"no-reports": bundleIllustrationSmart(NoReportsDark, NoReportsLight),
224+
notifications: bundleIllustrationSmart(NotificationsDark, NotificationsLight),
225+
organization: bundleIllustrationSmart(OrganizationDark, OrganizationLight),
226+
"password-sent": bundleIllustrationSmart(PasswordSentDark, PasswordSentLight),
227+
"reset-password": bundleIllustrationSmart(
228+
ResetPasswordDark,
229+
ResetPasswordLight
230+
),
231+
"set-password": bundleIllustrationSmart(SetPasswordDark, SetPasswordLight),
232+
sidebar: bundleIllustrationSmart(SidebarDark, SidebarLight),
233+
"signed-documents": bundleIllustrationSmart(
234+
SignedDocumentsDark,
235+
SignedDocumentsLight
236+
),
237+
truck: bundleIllustrationSmart(TruckDark, TruckLight),
238+
"two-factor-authentification": bundleIllustrationSmart(
239+
TwoFactorAuthentificationDark,
240+
TwoFactorAuthentificationLight
241+
),
242+
unpack: bundleIllustrationSmart(UnpackDark, UnpackLight),
243+
user: bundleIllustrationSmart(UserDark, UserLight),
244+
"user-group": bundleIllustrationSmart(UserGroupDark, UserGroupLight),
245+
"user-profile": bundleIllustrationSmart(UserProfileDark, UserProfileLight),
246+
"welcome-plane": bundleIllustrationSmart(WelcomePlaneDark, WelcomePlaneLight),
97247
} as const;

components/empty-view/src/types.ts

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,47 @@ export type IllustrationKind =
2525
| "drag-menu"
2626
| "media-error"
2727
| "under-construction"
28-
| "add-user";
28+
| "add-user"
29+
| "add-user-group"
30+
| "add-user-to-group"
31+
| "appointment"
32+
| "bluetooth-permissions"
33+
| "bluetooth-permissons-error"
34+
| "cloud-connect"
35+
| "cloud-connect-error"
36+
| "cloud-location"
37+
| "create-data"
38+
| "desktop"
39+
| "disconnected"
40+
| "documents"
41+
| "door-error"
42+
| "email-sent"
43+
| "folder"
44+
| "grid-location"
45+
| "import-excel"
46+
| "launch"
47+
| "location"
48+
| "login"
49+
| "mil-permissions"
50+
| "navigation"
51+
| "no-emails"
52+
| "no-events"
53+
| "no-friends"
54+
| "no-reports"
55+
| "notifications"
56+
| "organization"
57+
| "password-sent"
58+
| "reset-password"
59+
| "set-password"
60+
| "sidebar"
61+
| "signed-documents"
62+
| "truck"
63+
| "two-factor-authentification"
64+
| "unpack"
65+
| "user"
66+
| "user-group"
67+
| "user-profile"
68+
| "welcome-plane";
2969

3070
export interface ContentProps {
3171
readonly body: ReactNode;

0 commit comments

Comments
 (0)