Skip to content

Commit 051e991

Browse files
New illustrations and icons (#600)
* new illustrations and icons * style: New illustrations and icons New category for some illustrations called "instruction". New icons for "Intercom" and "License reg" --------- Co-authored-by: Rebecca Lindblom <rebecca.lindblom@axis.com>
1 parent 61e42a3 commit 051e991

72 files changed

Lines changed: 6043 additions & 451 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ Make sure you have node and pnpm installed.
8989
pnpm dev
9090
```
9191

92+
### Getting access for development
93+
To be able to push:
94+
* You need to be a member of the GitHub organization AxisCommunications. You can request that in ServiceNow, access to GitHub and choose "GitHub Cloud for open source development". Read more about the requirements in ServiceNow.
95+
* You need to be added to a writers group by a current admin, contact recent contributors in this repo.
96+
* You need to set up [signing for commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits).
97+
9298
### Development
9399

94100
The following is one example of how to use a local version while developing.

biome.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
"**/*.ts",
1111
"**/*.tsx"
1212
],
13-
"ignore": ["lib/", "lib-commonjs/", ".vscode/"]
13+
"ignore": [
14+
"lib/",
15+
"lib-commonjs/",
16+
".vscode/",
17+
"illustrations/src/illustrations/"
18+
]
1419
},
1520
"organizeImports": {
1621
"enabled": true,

components/empty-view/src/constants.ts

Lines changed: 115 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ import {
3535
DocumentsLight,
3636
DoorErrorDark,
3737
DoorErrorLight,
38-
DragMenuItemDark,
39-
DragMenuItemLight,
4038
EmailSentDark,
4139
EmailSentLight,
4240
EmptyFolderDark,
@@ -55,6 +53,44 @@ import {
5553
GridLocationLight,
5654
ImportExcelDark,
5755
ImportExcelLight,
56+
InstructionConditionalDark,
57+
InstructionConditionalLight,
58+
InstructionCrosslineCountingDark,
59+
InstructionCrosslineCountingLight,
60+
InstructionDragMenuItemDark,
61+
InstructionDragMenuItemLight,
62+
InstructionFallDetectionDark,
63+
InstructionFallDetectionLight,
64+
InstructionHardHatDetectionDark,
65+
InstructionHardHatDetectionLight,
66+
InstructionHighSpeedApproachingTrafficDark,
67+
InstructionHighSpeedApproachingTrafficLight,
68+
InstructionHighSpeedOneWayDark,
69+
InstructionHighSpeedOneWayLight,
70+
InstructionLineCrossingDark,
71+
InstructionLineCrossingLight,
72+
InstructionMenuItemFocusDark,
73+
InstructionMenuItemFocusLight,
74+
InstructionMigrateSystemDark,
75+
InstructionMigrateSystemLight,
76+
InstructionMotionInAreaDark,
77+
InstructionMotionInAreaLight,
78+
InstructionMotionLineCrossingDark,
79+
InstructionMotionLineCrossingLight,
80+
InstructionNewSystemDark,
81+
InstructionNewSystemLight,
82+
InstructionObjectInAreaDark,
83+
InstructionObjectInAreaLight,
84+
InstructionOccupancyInAreaDark,
85+
InstructionOccupancyInAreaLight,
86+
InstructionSearchDark,
87+
InstructionSearchLight,
88+
InstructionTailgatingDetectionDark,
89+
InstructionTailgatingDetectionLight,
90+
InstructionTimeInAreaDark,
91+
InstructionTimeInAreaLight,
92+
InstructionZoneCrossingDark,
93+
InstructionZoneCrossingLight,
5894
LaunchDark,
5995
LaunchLight,
6096
LocationDark,
@@ -65,16 +101,10 @@ import {
65101
MediaErrorDark,
66102
MediaErrorLight,
67103
MediaLight,
68-
MenuItemFocusDark,
69-
MenuItemFocusLight,
70-
MigrateSystemDark,
71-
MigrateSystemLight,
72104
MilPermissionsDark,
73105
MilPermissionsLight,
74106
NavigationDark,
75107
NavigationLight,
76-
NewSystemDark,
77-
NewSystemLight,
78108
NoAccessDark,
79109
NoAccessLight,
80110
NoConnectionDark,
@@ -107,8 +137,6 @@ import {
107137
ProhibitedLight,
108138
ResetPasswordDark,
109139
ResetPasswordLight,
110-
SearchDark,
111-
SearchLight,
112140
SetPasswordDark,
113141
SetPasswordLight,
114142
SettingsDark,
@@ -149,13 +177,10 @@ export const Illustration: Record<
149177
AddUserProfileDark,
150178
AddUserProfileLight
151179
),
152-
"drag-menu": bundleIllustrationSmart(DragMenuItemDark, DragMenuItemLight),
180+
153181
"media-error": bundleIllustrationSmart(MediaErrorDark, MediaErrorLight),
154182
"code-error": bundleIllustrationSmart(CodeErrorDark, CodeErrorLight),
155-
"menu-item-focus": bundleIllustrationSmart(
156-
MenuItemFocusDark,
157-
MenuItemFocusLight
158-
),
183+
159184
data: bundleIllustrationSmart(DataDark, DataLight),
160185
devices: bundleIllustrationSmart(DevicesDark, DevicesLight),
161186
"empty-folder": bundleIllustrationSmart(EmptyFolderDark, EmptyFolderLight),
@@ -253,10 +278,80 @@ export const Illustration: Record<
253278
"user-profile": bundleIllustrationSmart(UserProfileDark, UserProfileLight),
254279
"welcome-plane": bundleIllustrationSmart(WelcomePlaneDark, WelcomePlaneLight),
255280
"extend-system": bundleIllustrationSmart(ExtendSystemDark, ExtendSystemLight),
256-
"migrate-system": bundleIllustrationSmart(
257-
MigrateSystemDark,
258-
MigrateSystemLight
281+
"instruction-conditional": bundleIllustrationSmart(
282+
InstructionConditionalDark,
283+
InstructionConditionalLight
284+
),
285+
"instruction-crossline-counting": bundleIllustrationSmart(
286+
InstructionCrosslineCountingDark,
287+
InstructionCrosslineCountingLight
288+
),
289+
"instruction-drag-menu-item": bundleIllustrationSmart(
290+
InstructionDragMenuItemDark,
291+
InstructionDragMenuItemLight
292+
),
293+
"instruction-fall-detection": bundleIllustrationSmart(
294+
InstructionFallDetectionDark,
295+
InstructionFallDetectionLight
296+
),
297+
"instruction-hard-hat-detection": bundleIllustrationSmart(
298+
InstructionHardHatDetectionDark,
299+
InstructionHardHatDetectionLight
300+
),
301+
"instruction-high-speed-approaching-traffic": bundleIllustrationSmart(
302+
InstructionHighSpeedApproachingTrafficDark,
303+
InstructionHighSpeedApproachingTrafficLight
304+
),
305+
"instruction-high-speed-one-way": bundleIllustrationSmart(
306+
InstructionHighSpeedOneWayDark,
307+
InstructionHighSpeedOneWayLight
308+
),
309+
"instruction-line-crossing": bundleIllustrationSmart(
310+
InstructionLineCrossingDark,
311+
InstructionLineCrossingLight
312+
),
313+
"instruction-menu-item-focus": bundleIllustrationSmart(
314+
InstructionMenuItemFocusDark,
315+
InstructionMenuItemFocusLight
316+
),
317+
"instruction-migrate-system": bundleIllustrationSmart(
318+
InstructionMigrateSystemDark,
319+
InstructionMigrateSystemLight
320+
),
321+
"instruction-motion-in-area": bundleIllustrationSmart(
322+
InstructionMotionInAreaDark,
323+
InstructionMotionInAreaLight
324+
),
325+
"instruction-motion-line-crossing": bundleIllustrationSmart(
326+
InstructionMotionLineCrossingDark,
327+
InstructionMotionLineCrossingLight
328+
),
329+
"instruction-new-system": bundleIllustrationSmart(
330+
InstructionNewSystemDark,
331+
InstructionNewSystemLight
332+
),
333+
"instruction-object-in-area": bundleIllustrationSmart(
334+
InstructionObjectInAreaDark,
335+
InstructionObjectInAreaLight
336+
),
337+
"instruction-occupancy-in-area": bundleIllustrationSmart(
338+
InstructionOccupancyInAreaDark,
339+
InstructionOccupancyInAreaLight
340+
),
341+
"instruction-search": bundleIllustrationSmart(
342+
InstructionSearchDark,
343+
InstructionSearchLight
344+
),
345+
"instruction-tailgating-detection": bundleIllustrationSmart(
346+
InstructionTailgatingDetectionDark,
347+
InstructionTailgatingDetectionLight
348+
),
349+
"instruction-time-in-area": bundleIllustrationSmart(
350+
InstructionTimeInAreaDark,
351+
InstructionTimeInAreaLight
352+
),
353+
"instruction-zone-crossing": bundleIllustrationSmart(
354+
InstructionZoneCrossingDark,
355+
InstructionZoneCrossingLight
259356
),
260-
"new-system": bundleIllustrationSmart(NewSystemDark, NewSystemLight),
261-
search: bundleIllustrationSmart(SearchDark, SearchLight),
262357
} as const;

components/empty-view/src/types.ts

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ export type IllustrationKind =
2121
| "settings"
2222
| "success"
2323
| "team"
24-
| "menu-item-focus"
25-
| "drag-menu"
2624
| "media-error"
2725
| "under-construction"
2826
| "add-user"
@@ -67,9 +65,25 @@ export type IllustrationKind =
6765
| "user-profile"
6866
| "welcome-plane"
6967
| "extend-system"
70-
| "migrate-system"
71-
| "new-system"
72-
| "search";
68+
| "instruction-conditional"
69+
| "instruction-crossline-counting"
70+
| "instruction-drag-menu-item"
71+
| "instruction-fall-detection"
72+
| "instruction-hard-hat-detection"
73+
| "instruction-high-speed-approaching-traffic"
74+
| "instruction-high-speed-one-way"
75+
| "instruction-line-crossing"
76+
| "instruction-menu-item-focus"
77+
| "instruction-migrate-system"
78+
| "instruction-motion-in-area"
79+
| "instruction-motion-line-crossing"
80+
| "instruction-new-system"
81+
| "instruction-object-in-area"
82+
| "instruction-occupancy-in-area"
83+
| "instruction-search"
84+
| "instruction-tailgating-detection"
85+
| "instruction-time-in-area"
86+
| "instruction-zone-crossing";
7387

7488
export interface ContentProps {
7589
readonly body: ReactNode;
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)