@indico-data/design-system 1.0.47 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/jest.config.js +15 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/Accordion.stories.d.ts +2 -2
- package/lib/components/Accordion/Accordion.styles.d.ts +1 -275
- package/lib/components/Icon/Icon.stories.d.ts +3 -4
- package/lib/components/Icon/indicons.d.ts +143 -125
- package/lib/components/Icon/storyHelpers.d.ts +3 -813
- package/lib/components/ListTable/Header/Header.d.ts +1 -1
- package/lib/components/ListTable/Header/Header.styles.d.ts +1 -272
- package/lib/components/ListTable/ListTable.d.ts +1 -1
- package/lib/components/ListTable/ListTable.stories.d.ts +1 -1
- package/lib/components/ListTable/ListTable.styles.d.ts +1 -272
- package/lib/components/LoadingAwareContainer/LoadingAwareContainer.d.ts +15 -0
- package/lib/components/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +22 -0
- package/lib/components/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +3 -0
- package/lib/components/LoadingAwareContainer/index.d.ts +1 -0
- package/lib/components/Navigation/Drawer/Drawer.d.ts +15 -0
- package/lib/components/Navigation/Drawer/Drawer.stories.d.ts +6 -0
- package/lib/components/Navigation/Drawer/Drawer.styles.d.ts +7 -0
- package/lib/components/Navigation/Drawer/DrawerLinkList.d.ts +9 -0
- package/lib/components/Navigation/Drawer/DrawerLinkList.styles.d.ts +2 -0
- package/lib/components/Navigation/Drawer/__mocks__/mocks.d.ts +3 -0
- package/lib/components/Navigation/Drawer/__tests__/Drawer.test.d.ts +1 -0
- package/lib/components/Navigation/Drawer/__tests__/DrawerLinkList.test.d.ts +1 -0
- package/lib/components/Navigation/Drawer/index.d.ts +1 -0
- package/lib/components/Navigation/Drawer/types.d.ts +7 -0
- package/lib/components/Navigation/index.d.ts +1 -0
- package/lib/components/Pagination/Pagination.d.ts +1 -2
- package/lib/components/Pagination/Pagination.styles.d.ts +1 -272
- package/lib/components/Wizard/Wizard.d.ts +48 -0
- package/lib/components/Wizard/Wizard.stories.d.ts +29 -0
- package/lib/components/Wizard/Wizard.styles.d.ts +4 -0
- package/lib/components/Wizard/index.d.ts +2 -0
- package/lib/components/WizardWithSidebar/WizardWithSidebar.d.ts +58 -0
- package/lib/components/WizardWithSidebar/WizardWithSidebar.stories.d.ts +46 -0
- package/lib/components/WizardWithSidebar/WizardWithSidebar.styles.d.ts +9 -0
- package/lib/components/WizardWithSidebar/index.d.ts +2 -0
- package/lib/components/basic-section/Section/Section.d.ts +1 -1
- package/lib/components/basic-section/Section/Section.stories.d.ts +1 -1
- package/lib/components/basic-section/Section/Section.styles.d.ts +1 -272
- package/lib/components/basic-section/SectionBlock/SectionBlock.d.ts +1 -1
- package/lib/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +1 -272
- package/lib/components/basic-section/SectionBody/SectionBody.d.ts +1 -1
- package/lib/components/basic-section/SectionBody/SectionBody.stories.d.ts +1 -2
- package/lib/components/basic-section/SectionBody/SectionBody.styles.d.ts +1 -272
- package/lib/components/basic-section/SectionHeader/SectionHeader.d.ts +1 -1
- package/lib/components/basic-section/SectionHeader/SectionHeader.stories.d.ts +1 -1
- package/lib/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +1 -272
- package/lib/components/basic-section/SectionTable/SectionTable.d.ts +1 -2
- package/lib/components/basic-section/SectionTable/SectionTable.styles.d.ts +1 -272
- package/lib/components/buttons/Button/Button.styles.d.ts +1 -282
- package/lib/components/buttons/IconButton/IconButton.d.ts +4 -5
- package/lib/components/buttons/IconButton/IconButton.stories.d.ts +3 -3
- package/lib/components/buttons/IconButton/IconButton.styles.d.ts +2 -567
- package/lib/components/buttons/types.d.ts +2 -1
- package/lib/components/dropdowns/BorderSelect/BorderSelect.d.ts +1 -1
- package/lib/components/dropdowns/BorderSelect/BorderSelect.stories.d.ts +1 -1
- package/lib/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +2 -543
- package/lib/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +1 -84
- package/lib/components/dropdowns/Select/Select.d.ts +1 -1
- package/lib/components/dropdowns/Select/Select.stories.d.ts +1 -1
- package/lib/components/dropdowns/Select/Select.styles.d.ts +1 -272
- package/lib/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +1 -84
- package/lib/components/dropdowns/utils.d.ts +1 -2
- package/lib/components/index.d.ts +7 -2
- package/lib/components/inputs/EditableInput/EditableInput.d.ts +1 -1
- package/lib/components/inputs/EditableInput/EditableInput.stories.d.ts +1 -2
- package/lib/components/inputs/EditableInput/EditableInput.styles.d.ts +1 -272
- package/lib/components/inputs/NumberInput/NumberInput.styles.d.ts +1 -272
- package/lib/components/inputs/RadioButtons/RadioButtons.d.ts +24 -0
- package/lib/components/inputs/RadioButtons/RadioButtons.stories.d.ts +15 -0
- package/lib/components/inputs/RadioButtons/RadioButtons.styles.d.ts +14 -0
- package/lib/components/inputs/RadioButtons/index.d.ts +1 -0
- package/lib/components/inputs/RadioGroup/RadioGroup.d.ts +27 -0
- package/lib/components/inputs/RadioGroup/RadioGroup.stories.d.ts +16 -0
- package/lib/components/inputs/RadioGroup/RadioGroup.styles.d.ts +2 -0
- package/lib/components/inputs/RadioGroup/index.d.ts +1 -0
- package/lib/components/inputs/SearchInput/SearchInput.d.ts +1 -1
- package/lib/components/inputs/SearchInput/SearchInput.stories.d.ts +1 -1
- package/lib/components/inputs/SearchInput/SearchInput.styles.d.ts +1 -5
- package/lib/components/inputs/TextInput/TextInput.styles.d.ts +2 -543
- package/lib/components/inputs/index.d.ts +2 -0
- package/lib/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +1 -272
- package/lib/components/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +3 -3
- package/lib/components/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/lib/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +11 -0
- package/lib/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +8 -0
- package/lib/components/loading-indicators/LoadingIndicator/index.d.ts +1 -0
- package/lib/components/loading-indicators/LoadingList/LoadingList.d.ts +1 -2
- package/lib/components/loading-indicators/LoadingList/LoadingList.stories.d.ts +1 -2
- package/lib/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +1 -272
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.d.ts +1 -2
- package/lib/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +1 -272
- package/lib/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +1 -2
- package/lib/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +1 -2
- package/lib/components/loading-indicators/index.d.ts +1 -0
- package/lib/components/modals/ConfirmModal/ConfirmModal.d.ts +17 -0
- package/lib/components/modals/ConfirmModal/ConfirmModal.stories.d.ts +44 -0
- package/lib/components/modals/ConfirmModal/ConfirmModal.styles.d.ts +2 -0
- package/lib/components/modals/ConfirmModal/index.d.ts +1 -0
- package/lib/components/modals/ModalBase/ModalBase.d.ts +27 -0
- package/lib/components/modals/ModalBase/ModalBase.stories.d.ts +9 -0
- package/lib/components/modals/ModalBase/ModalBase.styles.d.ts +4 -0
- package/lib/components/modals/ModalBase/index.d.ts +2 -0
- package/lib/components/modals/index.d.ts +2 -0
- package/lib/components/user-feedback/Shrug/Shrug.stories.d.ts +1 -1
- package/lib/components/user-feedback/Shrug/Shrug.styles.d.ts +1 -272
- package/lib/index.d.ts +531 -270
- package/lib/index.esm.js +5722 -824
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5779 -867
- package/lib/index.js.map +1 -1
- package/lib/setupTests.d.ts +1 -0
- package/lib/styles/globals/index.d.ts +1 -2
- package/lib/tokens/colors.d.ts +9 -0
- package/lib/tokens/typography.d.ts +12 -0
- package/lib/types.d.ts +147 -125
- package/package.json +60 -42
- package/src/components/Icon/Icon.tsx +1 -0
- package/src/components/Icon/indicons.tsx +138 -15
- package/src/components/ListTable/ListTable.stories.tsx +1 -1
- package/src/components/LoadingAwareContainer/LoadingAwareContainer.stories.tsx +45 -0
- package/src/components/LoadingAwareContainer/LoadingAwareContainer.styles.ts +16 -0
- package/src/components/LoadingAwareContainer/LoadingAwareContainer.tsx +36 -0
- package/src/components/LoadingAwareContainer/index.ts +1 -0
- package/src/components/Navigation/Drawer/Drawer.stories.tsx +44 -0
- package/src/components/Navigation/Drawer/Drawer.styles.ts +75 -0
- package/src/components/Navigation/Drawer/Drawer.tsx +108 -0
- package/src/components/Navigation/Drawer/DrawerLinkList.styles.ts +66 -0
- package/src/components/Navigation/Drawer/DrawerLinkList.tsx +64 -0
- package/src/components/Navigation/Drawer/__mocks__/mocks.ts +49 -0
- package/src/components/Navigation/Drawer/__tests__/Drawer.test.tsx +175 -0
- package/src/components/Navigation/Drawer/__tests__/DrawerLinkList.test.tsx +66 -0
- package/src/components/Navigation/Drawer/index.ts +1 -0
- package/src/components/Navigation/Drawer/types.ts +8 -0
- package/src/components/Navigation/index.ts +1 -0
- package/src/components/Wizard/Wizard.stories.tsx +180 -0
- package/src/components/Wizard/Wizard.styles.ts +72 -0
- package/src/components/Wizard/Wizard.tsx +211 -0
- package/src/components/Wizard/index.ts +2 -0
- package/src/components/WizardWithSidebar/WizardWithSidebar.stories.tsx +143 -0
- package/src/components/WizardWithSidebar/WizardWithSidebar.styles.ts +123 -0
- package/src/components/WizardWithSidebar/WizardWithSidebar.tsx +262 -0
- package/src/components/WizardWithSidebar/index.ts +2 -0
- package/src/components/buttons/IconButton/IconButton.styles.ts +31 -0
- package/src/components/buttons/IconButton/IconButton.tsx +8 -6
- package/src/components/buttons/types.ts +2 -1
- package/src/components/index.ts +16 -1
- package/src/components/inputs/RadioButtons/RadioButtons.stories.tsx +84 -0
- package/src/components/inputs/RadioButtons/RadioButtons.styles.ts +82 -0
- package/src/components/inputs/RadioButtons/RadioButtons.tsx +61 -0
- package/src/components/inputs/RadioButtons/index.tsx +1 -0
- package/src/components/inputs/RadioGroup/RadioGroup.stories.tsx +66 -0
- package/src/components/inputs/RadioGroup/RadioGroup.styles.ts +11 -0
- package/src/components/inputs/RadioGroup/RadioGroup.tsx +120 -0
- package/src/components/inputs/RadioGroup/index.ts +1 -0
- package/src/components/inputs/SearchInput/SearchInput.styles.ts +28 -42
- package/src/components/inputs/SearchInput/SearchInput.tsx +6 -4
- package/src/components/inputs/index.ts +2 -0
- package/src/components/loading-indicators/CirclePulse/CirclePulse.styles.ts +7 -7
- package/src/components/loading-indicators/CirclePulse/CirclePulse.tsx +3 -3
- package/src/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.tsx +22 -0
- package/src/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.ts +81 -0
- package/src/components/loading-indicators/LoadingIndicator/LoadingIndicator.tsx +61 -0
- package/src/components/loading-indicators/LoadingIndicator/index.ts +1 -0
- package/src/components/loading-indicators/index.ts +1 -0
- package/src/components/modals/ConfirmModal/ConfirmModal.stories.tsx +76 -0
- package/src/components/modals/ConfirmModal/ConfirmModal.styles.ts +30 -0
- package/src/components/modals/ConfirmModal/ConfirmModal.tsx +84 -0
- package/src/components/modals/ConfirmModal/index.ts +1 -0
- package/src/components/modals/ModalBase/ModalBase.stories.tsx +47 -0
- package/src/components/modals/ModalBase/ModalBase.styles.tsx +73 -0
- package/src/components/modals/ModalBase/ModalBase.tsx +72 -0
- package/src/components/modals/ModalBase/index.ts +2 -0
- package/src/components/modals/index.ts +2 -0
- package/src/index.ts +13 -0
- package/src/setupTests.ts +4 -0
- package/src/tokens/colors.ts +9 -0
- package/src/tokens/typography.ts +7 -1
- package/src/types.ts +8 -0
- package/tsconfig.json +1 -1
|
@@ -47,6 +47,21 @@ const indicons = {
|
|
|
47
47
|
<path d="M68.8 83.2L53.3 98.6c-1.8 1.8-4.8 1.8-6.6 0L31.2 83.2c-3-3-.9-8 3.3-8h10V55.5H24.8v10c0 4.2-5 6.3-8 3.3L1.4 53.3c-1.8-1.8-1.8-4.8 0-6.6l15.5-15.5c3-3 8-.9 8 3.3v10h19.7V24.8h-10c-4.2 0-6.3-5-3.3-8L46.7 1.4c1.8-1.8 4.8-1.8 6.6 0l15.5 15.5c3 3 .9 8-3.3 8h-10v19.7h19.7v-10c0-4.2 5-6.3 8-3.3l15.5 15.5c1.8 1.8 1.8 4.8 0 6.6L83.2 68.8c-3 3-8 .9-8-3.3v-10H55.5v19.7h10c4.2 0 6.2 5 3.3 8z" />
|
|
48
48
|
</svg>
|
|
49
49
|
),
|
|
50
|
+
bookmark: (
|
|
51
|
+
<svg viewBox="0 0 24 24">
|
|
52
|
+
<path d="M20.5 1C20 .5 19.3.2 18.6.2H5.4C4.7.2 4 .5 3.5 1s-.8 1.2-.8 1.8v20.9l9.3-4 9.3 4V2.8c0-.6-.3-1.3-.8-1.8m-1.6 19L12 17l-6.9 3V2.7h13.8z" />
|
|
53
|
+
</svg>
|
|
54
|
+
),
|
|
55
|
+
bookmarks: (
|
|
56
|
+
<svg viewBox="0 0 24 24">
|
|
57
|
+
<path d="M15.4 6.5c.1 0 .1 0 .1.1v14l-4.8-2.2-.9-.4-.9.4-4.8 2.2v-14c0-.1 0-.1.1-.1zm0-2.2H4.2C3 4.3 2 5.4 2 6.6V24l7.9-3.6 7.9 3.6V6.6c-.1-1.2-1.1-2.3-2.4-2.3m4.5-2v18.3H22V2.3C22 1 21 0 19.8 0H5.5v2.2h14.3s.1 0 .1.1" />
|
|
58
|
+
</svg>
|
|
59
|
+
),
|
|
60
|
+
'bookmark-saved': (
|
|
61
|
+
<svg viewBox="0 0 24 24">
|
|
62
|
+
<path d="m16.8 7.9-3.6-3.6 1.5-1.5 2 2 5-4.8 1.5 1.5zm.2 3.5v8.8l-6.9-2.9-6.9 2.9V2.9h6.7V.5H3.5c-.7 0-1.4.3-1.9.8S.8 2.4.8 3.1V24l9.3-4 9.3 4V11.4z" />
|
|
63
|
+
</svg>
|
|
64
|
+
),
|
|
50
65
|
branch: (
|
|
51
66
|
<svg viewBox="0 0 642 514">
|
|
52
67
|
<path
|
|
@@ -60,6 +75,11 @@ const indicons = {
|
|
|
60
75
|
<path d="M100 50c0 27.6-22.4 50-50 50S0 77.6 0 50 22.4 0 50 0s50 22.4 50 50zM78 30.7c-.7-1-1.9-1.5-3.5-1.5-1.2 0-2.3.5-3.3 1.5C65 37 45.3 56.6 42.4 59.4L28.8 48c-1-.9-2.2-1.3-3.5-1.2-1.3.1-2.5.7-3.3 1.8-.9 1-1.3 2.2-1.2 3.5.1 1.3.7 2.5 1.8 3.3l16.8 14.2c.9.7 2 1.1 3.1 1.1 1.3 0 2.5-.5 3.4-1.4 6.8-6.6 28.7-28.7 32-32 1.8-1.7 1.8-4.6.1-6.6z" />
|
|
61
76
|
</svg>
|
|
62
77
|
),
|
|
78
|
+
'circle-help': (
|
|
79
|
+
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
80
|
+
<path d="M12 24C5.4 24 0 18.6 0 12S5.4 0 12 0s12 5.4 12 12-5.4 12-12 12m0-22C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m.1 17.5H12c-.6 0-1-.4-1-1v-.1c0-.6.4-1 1-1h.1c.6 0 1 .4 1 1v.1c0 .6-.5 1-1 1m.9-3.9v-1.2c0-.2.1-.3.3-.4 2.5-.7 4-3.2 3.4-5.8-.4-1.7-1.8-3.1-3.5-3.5-2.5-.6-5.1.9-5.8 3.4-.1.5.2 1.1.7 1.2.5.2 1.1-.2 1.2-.7.4-1.3 1.7-2.4 3.4-2 1 .2 1.8 1.1 2 2 .4 1.7-.7 3-2 3.4-1 .3-1.7 1.2-1.7 2.3v1.2c0 .6.4 1 1 1s1-.3 1-.9" />
|
|
81
|
+
</svg>
|
|
82
|
+
),
|
|
63
83
|
check: (
|
|
64
84
|
<svg viewBox="0 0 100 100" fill="currentColor">
|
|
65
85
|
<path d="M96.4 18.5c-1.4-1.6-3.4-2.4-6.3-2.4-2.1 0-4.3 1-6 2.7-10.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c.6-.1 1-.2 1.5-.2m0-2.8c-2.9 0-5.3-2.4-5.3-5.3S9.1 6.8 12 6.8s5.3 2.4 5.3 5.3-2.4 5.3-5.3 5.3m0-8.7c-1.8 0-3.3 1.5-3.3 3.3s1.5 3.3 3.3 3.3 3.3-1.5 3.3-3.3-1.5-3.3-3.3-3.3" />
|
|
172
|
+
</svg>
|
|
173
|
+
),
|
|
174
|
+
collection: (
|
|
175
|
+
<svg viewBox="0 0 24 24">
|
|
176
|
+
<path d="M21 24H3c-1.7 0-3-1.4-3-3V11c0-1.7 1.4-3 3-3h18c1.7 0 3 1.4 3 3v10c0 1.6-1.4 3-3 3M3 9.9c-.6 0-1 .5-1 1v10c0 .6.5 1 1 1h18c.6 0 1-.5 1-1v-10c0-.6-.5-1-1-1zM21.6 5c0-.6-.5-1-1-1H3.3c-.6 0-1 .5-1 1s.5 1 1 1h17.3c.5 0 1-.5 1-1m-2.5-4c0-.6-.5-1-1-1H5.9c-.6 0-1 .5-1 1s.5 1 1 1h12.2c.5 0 1-.4 1-1" />
|
|
177
|
+
</svg>
|
|
178
|
+
),
|
|
179
|
+
compare: (
|
|
180
|
+
<svg viewBox="0 0 24 24">
|
|
181
|
+
<path d="M24 5.5c0 .6-.4 1-1 1H3.4l2.8 2.8c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3s-.5-.1-.7-.3L.3 6.2c-.4-.4-.4-1 0-1.4L4.8.3c.4-.4 1-.4 1.4 0s.4 1 0 1.4L3.4 4.5H23c.6 0 1 .4 1 1m-23 14h19.6l-2.8 2.8c-.4.4-.4 1 0 1.4s1 .4 1.4 0l4.5-4.5c.4-.4.4-1 0-1.4l-4.5-4.5c-.2-.2-.4-.3-.7-.3s-.5.1-.7.3c-.4.4-.4 1 0 1.4l2.8 2.8H1c-.6 0-1 .4-1 1s.4 1 1 1" />
|
|
182
|
+
</svg>
|
|
183
|
+
),
|
|
149
184
|
'company-name': (
|
|
150
185
|
<svg viewBox="0 0 50 50" fill="currentColor">
|
|
151
186
|
<path d="m8.05 41.15v-26.9h10.7v-5.75l5.25-5 5.25 5v13.95h10.7v18.7zm2.25-2.25h5.95v-5.95h-5.95zm0-8.25h5.95v-5.95h-5.95zm0-8.2h5.95v-5.95h-5.95zm10.7 16.45h6v-5.95h-6zm0-8.25h6v-5.95h-6zm0-8.2h6v-5.95h-6zm0-8.2h6v-5.95h-6zm10.75 24.65h5.95v-5.95h-5.95zm0-8.25h5.95v-5.95h-5.95z" />
|
|
@@ -181,6 +216,19 @@ const indicons = {
|
|
|
181
216
|
<path d="M96.9 75H31.2v-3.1c0-1.7-1.4-3.1-3.1-3.1h-6.2c-1.7 0-3.1 1.4-3.1 3.1V75H3.1C1.4 75 0 76.4 0 78.1v6.2c0 1.7 1.4 3.1 3.1 3.1h15.6v3.1c0 1.7 1.4 3.1 3.1 3.1H28c1.7 0 3.1-1.4 3.1-3.1v-3.1h65.6c1.7 0 3.1-1.4 3.1-3.1v-6.2c.2-1.7-1.2-3.1-2.9-3.1zm0-31.2H81.2v-3.1c0-1.7-1.4-3.1-3.1-3.1h-6.2c-1.7 0-3.1 1.4-3.1 3.1v3.1H3.1c-1.7 0-3.1 1.4-3.1 3.1v6.2c0 1.7 1.4 3.1 3.1 3.1h65.6v3.1c0 1.7 1.4 3.1 3.1 3.1H78c1.7 0 3.1-1.4 3.1-3.1v-3.1h15.6c1.7 0 3.1-1.4 3.1-3.1v-6.2c.2-1.7-1.2-3.1-2.9-3.1zm0-31.3H56.2V9.4c0-1.7-1.4-3.1-3.1-3.1h-6.2c-1.7 0-3.1 1.4-3.1 3.1v3.1H3.1c-1.7 0-3.1 1.4-3.1 3.1v6.2C0 23.6 1.4 25 3.1 25h40.6v3.1c0 1.7 1.4 3.1 3.1 3.1H53c1.7 0 3.1-1.4 3.1-3.1V25h40.6c1.7 0 3.1-1.4 3.1-3.1v-6.2c.2-1.8-1.2-3.2-2.9-3.2z" />
|
|
182
217
|
</svg>
|
|
183
218
|
),
|
|
219
|
+
'choose-library': (
|
|
220
|
+
<svg id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 100 100">
|
|
221
|
+
<style>{`.layer1 { fill: #efeaf5; } .layer2 { fill: #c1afd5; }`}</style>
|
|
222
|
+
<path
|
|
223
|
+
d="M89.9 100H46.5c-5.5 0-9.9-4.4-9.9-9.9s4.4-9.9 9.9-9.9h.7c.9-8.5 8.1-15.1 16.8-15.1 5.3 0 10.3 2.5 13.5 6.7q1.8-.6 3.6-.6c5.3 0 9.8 3.9 10.6 9.1 4.7.8 8.3 4.9 8.3 9.8-.1 5.5-4.6 9.9-10.1 9.9M46.5 84.2c-3.3 0-5.9 2.7-5.9 5.9 0 3.3 2.7 5.9 5.9 5.9H90c3.3 0 5.9-2.7 5.9-5.9 0-3.3-2.6-5.9-5.9-5.9h-.2q-.9 0-1.5-.6c-.6-.6-.6-.9-.6-1.5v-.2c0-3.7-3-6.7-6.7-6.7q-1.8 0-3.3.9c-.9.5-2.2.2-2.7-.7-2.3-3.9-6.5-6.3-11-6.3-7.1 0-12.8 5.8-12.8 12.8v.6c0 .7-.3 1.3-.8 1.7s-1.2.5-1.9.3-1.3-.3-2-.3M57.4 37.3H10.5C4.7 37.3 0 32.6 0 26.8s4.7-10.5 10.5-10.5h.9C12.3 7.2 20 0 29.3 0 35 0 40.4 2.8 43.8 7.3c1.3-.5 2.6-.7 4-.7 5.7 0 10.5 4.2 11.3 9.8 5 .8 8.9 5.2 8.9 10.4 0 5.8-4.8 10.5-10.6 10.5M10.5 20.2c-3.6 0-6.5 2.9-6.5 6.5s2.9 6.5 6.5 6.5h46.9c3.6 0 6.5-2.9 6.5-6.5s-2.9-6.5-6.5-6.5h-.2q-.9 0-1.5-.6c-.6-.6-.6-.9-.6-1.5v-.2c0-4.1-3.3-7.4-7.4-7.4-1.3 0-2.5.3-3.7 1-.9.5-2.2.2-2.7-.7-2.6-4.3-7.1-6.9-12-6.9-7.7 0-14 6.3-14 14v.6c0 .7-.3 1.3-.8 1.7s-1.2.5-1.9.3c-.6-.2-1.4-.3-2.1-.3"
|
|
224
|
+
className="layer1"
|
|
225
|
+
/>
|
|
226
|
+
<path
|
|
227
|
+
d="M25.5 77.7c-1.4 0-2.3-.9-2.3-2.3V24.6c0-1.4.9-2.3 2.3-2.3s2.3.9 2.3 2.3v50.7c0 1.4-1.1 2.4-2.3 2.4m13.9 0c-1.4 0-2.3-.9-2.3-2.3V24.6c0-1.4.9-2.3 2.3-2.3s2.3.9 2.3 2.3v50.7c0 1.4-1.2 2.4-2.3 2.4m38.9-3.5L53.2 23.7c-.5-1.2-1.8-1.6-3-1.2-1.4.7-1.8 2.1-1.2 3.2l25.1 50.5c.5 1.2 1.8 1.6 3 1.2 1.2-.7 1.7-2 1.2-3.2"
|
|
228
|
+
className="layer2"
|
|
229
|
+
/>
|
|
230
|
+
</svg>
|
|
231
|
+
),
|
|
184
232
|
crowdlabel: (
|
|
185
233
|
<svg viewBox="0 0 100 100" fill="currentColor">
|
|
186
234
|
<path d="M55 .2C78.6 2.6 97.4 21.4 99.8 45H89.7C87.4 26.9 73.1 12.6 55 10.3V.2zM10.3 45C12.6 26.9 26.9 12.6 45 10.3V.2C21.4 2.6 2.6 21.4.2 45h10.1zm79.4 10C87.4 73.1 73.1 87.4 55 89.7v10.1C78.6 97.4 97.4 78.6 99.8 55H89.7zM45 89.7C26.9 87.4 12.6 73.1 10.3 55H.2C2.6 78.6 21.4 97.4 45 99.8V89.7zM71 45H55V29c0-2.8-2.2-5-5-5s-5 2.2-5 5v16H29c-2.8 0-5 2.2-5 5s2.2 5 5 5h16v16c0 2.8 2.2 5 5 5s5-2.2 5-5V55h16c2.8 0 5-2.2 5-5s-2.3-5-5-5z" />
|
|
@@ -315,11 +363,28 @@ const indicons = {
|
|
|
315
363
|
<path d="M5.9 46H40c3.3 0 6-2.7 6-6V5.9c0-2.5-2.3-4.4-4.8-3.9C21.5 5.9 5.9 21.5 1.9 41.2c-.5 2.5 1.4 4.8 4 4.8zM36 13.9V36H13.9C18 26 26 18 36 13.9zM62 56c-3.3 0-6 2.7-6 6v34.2c0 2.5 2.3 4.4 4.8 3.9 19.8-4 35.4-19.6 39.3-39.3.5-2.5-1.4-4.8-3.9-4.8H62zm4 32.1V66h22.1C84 76 76 84 66 88.1zM40 56H5.9c-2.5 0-4.4 2.3-3.9 4.8 4 19.8 19.6 35.4 39.3 39.3 2.5.5 4.8-1.4 4.8-3.9V62c-.1-3.3-2.8-6-6.1-6zM13.9 66H36v22.1C26 84 18 76 13.9 66zM62 46h34.2c2.5 0 4.4-2.3 3.9-4.8-4-19.8-19.6-35.4-39.3-39.3-2.5-.5-4.8 1.4-4.8 4V40c0 3.3 2.7 6 6 6zm26.1-10H66V13.9C76 18 84 26 88.1 36z" />
|
|
316
364
|
</svg>
|
|
317
365
|
),
|
|
366
|
+
'find-documents': (
|
|
367
|
+
<svg viewBox="0 0 100 100">
|
|
368
|
+
<path
|
|
369
|
+
fill="#efeaf5"
|
|
370
|
+
d="M46.4 .8c-.8-.6-1.8-.8-2.6-.8H12.4C10 0 8 2.6 8 5v60c0 2.4 2 5 4.4 5h46.9c2.4 0 4.4-2.6 4.4-5V19.8c0-.8-.2-1.8-.8-2.4zM58.4 64.3H13.5V5.5H43v12c0 2 1.4 3.4 3.4 3.4h12"
|
|
371
|
+
/>
|
|
372
|
+
<path
|
|
373
|
+
fill="#c1afd5"
|
|
374
|
+
d="M91.3 95.6 74.6 78.9C78 74.7 80 69.4 80 63.8 80.2 50.7 69.5 40 56.3 40c-13.1.2-23.8 10.9-23.8 24s10.7 23.8 23.8 23.8c5.7 0 10.7-2 14.9-5.2l16.7 16.7c.4.4 1.2.8 1.8.8.8 0 1.2-.2 1.8-.8.8-1.3.8-2.7-.2-3.7m-35-12.9c-10.4 0-18.9-8.4-18.9-18.6s8.4-18.9 18.9-18.9 18.9 8.4 18.9 18.9-8.5 18.6-18.9 18.6"
|
|
375
|
+
/>
|
|
376
|
+
</svg>
|
|
377
|
+
),
|
|
318
378
|
graphiql: (
|
|
319
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.6,85.1c-1.6-1.8-4-2.9-6.6-2.9 c-2.5,0-4.8,1-6.4,2.7L23,73c0-0.1,0.1-0.2,0.1-0.3h53.8c0,0.2,0.1,0.4,0.2,0.6L56.6,85.1z" />
|
|
321
381
|
</svg>
|
|
322
382
|
),
|
|
383
|
+
'grid-view': (
|
|
384
|
+
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
385
|
+
<path d="M8.9 2.4v6.5H2.4V2.4zM9.4 0H1.9C.9 0 0 .9 0 1.9v7.4c0 1.1.9 1.9 1.9 1.9h7.4c1.1 0 1.9-.9 1.9-1.9V1.9c.1-1-.8-1.9-1.8-1.9m12.2 2.4v6.5h-6.5V2.4zm.5-2.4h-7.4c-1.1 0-1.9.9-1.9 1.9v7.4c0 1.1.9 1.9 1.9 1.9h7.4c1.1 0 1.9-.9 1.9-1.9V1.9c0-1-.9-1.9-1.9-1.9M8.9 15.1v6.5H2.4v-6.5zm.5-2.4H1.9c-1.1 0-1.9.9-1.9 1.9V22c0 1.1.9 2 1.9 2h7.4c1.1 0 1.9-.9 1.9-1.9v-7.4c.1-1.1-.8-2-1.8-2m12.2 2.4v6.5h-6.5v-6.5zm.5-2.4h-7.4c-1.1 0-1.9.9-1.9 1.9V22c0 1.1.9 1.9 1.9 1.9h7.4c1.1 0 1.9-.9 1.9-1.9v-7.4c0-1-.9-1.9-1.9-1.9" />
|
|
386
|
+
</svg>
|
|
387
|
+
),
|
|
323
388
|
happy: (
|
|
324
389
|
<svg viewBox="0 0 100 100" fill="currentColor">
|
|
325
390
|
<path d="M100 50c0 27.6-22.4 50-50 50S0 77.6 0 50 22.4 0 50 0s50 22.4 50 50zm-78.6-7.4c-.1-3.1 2.5-5.7 5.7-5.7 3.1 0 5.7 2.6 5.7 5.7 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5C37.7 36.7 32.8 32 27 32s-10.6 4.8-10.6 10.6c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5zM73 32c-5.9 0-10.6 4.8-10.6 10.6 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5c0-3.1 2.6-5.7 5.7-5.7s5.7 2.6 5.7 5.7c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5C83.7 36.7 78.9 32 73 32zm4.8 24.6c-1.4-.6-3 0-3.5 1.4-4.2 9.7-13.7 16-24.3 16-10.6 0-20.1-6.3-24.3-16.1-.6-1.4-2.1-2-3.5-1.4-1.4.6-2 2.1-1.4 3.5 5.1 11.7 16.5 19.3 29.3 19.3 12.7 0 24.2-7.5 29.1-19.3.6-1.2-.1-2.8-1.4-3.4z" />
|
|
@@ -358,8 +423,8 @@ const indicons = {
|
|
|
358
423
|
</svg>
|
|
359
424
|
),
|
|
360
425
|
'indico-o': (
|
|
361
|
-
<svg viewBox="0 0
|
|
362
|
-
<path d="
|
|
426
|
+
<svg viewBox="0 0 24 24">
|
|
427
|
+
<path d="M13.8 10.2h-3.6v3.6h3.6zm-8.9 0c.9-3.1 3.7-5.4 7.1-5.4s6.2 2.3 7.1 5.5H24C23.1 4.5 18 0 12 0S.9 4.5.1 10.2zM19 13.8c-.8 3.1-3.6 5.4-7 5.4s-6.2-2.3-7-5.4H.1C1 19.6 6 24 12 24s11-4.4 11.9-10.2z" />
|
|
363
428
|
</svg>
|
|
364
429
|
),
|
|
365
430
|
info: (
|
|
@@ -379,8 +444,8 @@ const indicons = {
|
|
|
379
444
|
</svg>
|
|
380
445
|
),
|
|
381
446
|
key: (
|
|
382
|
-
<svg viewBox="0 0
|
|
383
|
-
<path d="
|
|
447
|
+
<svg viewBox="0 0 24 24">
|
|
448
|
+
<path d="M19.5 7c-.7.7-1.9.7-2.7 0-.8-.8-.8-2 0-2.8.7-.7 1.9-.7 2.7 0 .8.8.8 2 0 2.8m2.8-4.6c-2.7-3-7.4-3.2-10.2-.3-2 1.9-2.5 4.5-1.9 6.9L.6 18.7c-.3.3-.4.6-.4 1l-.2 3c0 .5.4.8.8.8l3.7-.3c.3 0 .6-.2.9-.4v-3.3h3.1v-3.1h3.7c1.6-1.5 2.7-2.6 2.7-2.6 2.5.7 5.4 0 7.2-2.1 2.5-2.6 2.5-6.7.2-9.3" />
|
|
384
449
|
</svg>
|
|
385
450
|
),
|
|
386
451
|
label: (
|
|
@@ -398,11 +463,26 @@ const indicons = {
|
|
|
398
463
|
<path d="M85 100H15c-2.7 0-5-2.2-5-5V5c0-2.7 2.2-5 5-5h69c2.7 0 6 2.2 6 5v90c0 2.8-2.2 5-5 5zM46 52H21v4h25v-4zm0 20H21v4h25v-4zm0-10H21v4h25v-4zm0-30H21v4h25v-4zm0-10H21v4h25v-4zm0 20H21v4h25v-4zm8-6h25v-4H54v4zm0-10h25v-4H54v4zm0 20h25v-4H54v4zm0 20h25v-4H54v4zm0 10h25v-4H54v4zm0-20h25v-4H54v4z" />
|
|
399
464
|
</svg>
|
|
400
465
|
),
|
|
466
|
+
'list-view': (
|
|
467
|
+
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
468
|
+
<path d="M0 2.4V0h24v2.4zm0 7.2V7.2h24v2.4zm0 7.2v-2.4h24v2.4zM0 24v-2.4h24V24z" />
|
|
469
|
+
</svg>
|
|
470
|
+
),
|
|
471
|
+
libraries: (
|
|
472
|
+
<svg viewBox="0 0 26 26" fill="currentColor">
|
|
473
|
+
<path d="M1 24c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v22c0 .6-.5 1-1 1m6 0c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v22c0 .6-.5 1-1 1m16.9-1.5L13 .6c-.2-.5-.8-.7-1.3-.5-.6.3-.8.9-.5 1.4l10.9 21.9c.2.5.8.7 1.3.5.5-.3.7-.9.5-1.4" />
|
|
474
|
+
</svg>
|
|
475
|
+
),
|
|
401
476
|
location: (
|
|
402
477
|
<svg viewBox="0 0 50 50" fill="currentColor">
|
|
403
478
|
<path d="m22.85 43v-8.75h-11l-5.15-5.1 5.15-5.15h11v-4.35h-14.5v-10.3h14.5v-4.35h2.3v4.35h11l5.15 5.15-5.15 5.15h-11v4.35h14.5v10.25h-14.5v8.75zm-12.2-25.65h24.55l2.9-2.85-2.9-2.85h-24.55zm2.15 14.65h24.55v-5.75h-24.55l-2.9 2.9zm-2.15-14.65v-5.7 5.7zm26.7 14.65v-5.75 5.75z" />
|
|
404
479
|
</svg>
|
|
405
480
|
),
|
|
481
|
+
logout: (
|
|
482
|
+
<svg viewBox="0 0 24 24">
|
|
483
|
+
<path d="M13.8 24h-10C1.7 24 0 22.3 0 20.2V3.8C0 1.8 1.6.1 3.7 0h10.1c2.1 0 3.8 1.7 3.8 3.8v1.5c0 .6-.4 1-1 1s-1-.4-1-1V3.8c0-1-.8-1.8-1.8-1.8h-10c-1 .1-1.8.9-1.8 1.8v16.4c0 1 .8 1.8 1.8 1.8h10c1 0 1.8-.8 1.8-1.8v-1.5c0-.6.4-1 1-1s1 .4 1 1v1.5c0 2.1-1.7 3.8-3.8 3.8m9.9-12.7-3.9-3.9c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4l2.2 2.2H8.2c-.6 0-1 .4-1 1s.4 1 1 1h12.4l-2.2 2.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3s.5-.1.7-.3l3.9-4c.4-.4.4-1 0-1.4" />
|
|
484
|
+
</svg>
|
|
485
|
+
),
|
|
406
486
|
lock: (
|
|
407
487
|
<svg viewBox="0 0 100 100" fill="currentColor">
|
|
408
488
|
<path d="M79 46.2V29C79 13 66 0 50 0S21 13 21 29v17.2c-5.7 1-10 5.9-10 11.8v30c0 6.6 5.4 12 12 12h54c6.6 0 12-5.4 12-12V58c0-5.9-4.3-10.9-10-11.8zM49.2 14c8.7-.4 15.8 6.5 15.8 15v17H35V29.4c0-8 6.2-15 14.2-15.4zm.8 71c-4.4 0-8-3.6-8-8v-8c0-4.4 3.6-8 8-8s8 3.6 8 8v8c0 4.4-3.6 8-8 8z" />
|
|
@@ -433,6 +513,43 @@ const indicons =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-1.3-.3-2-.3M57.4 37.3H10.5C4.7 37.3 0 32.6 0 26.8s4.7-10.5 10.5-10.5h.9C12.3 7.2 20 0 29.3 0 35 0 40.4 2.8 43.8 7.3c1.3-.5 2.6-.7 4-.7 5.7 0 10.5 4.2 11.3 9.8 5 .8 8.9 5.2 8.9 10.4 0 5.8-4.8 10.5-10.6 10.5M10.5 20.2c-3.6 0-6.5 2.9-6.5 6.5s2.9 6.5 6.5 6.5h46.9c3.6 0 6.5-2.9 6.5-6.5s-2.9-6.5-6.5-6.5h-.2q-.9 0-1.5-.6c-.6-.6-.6-.9-.6-1.5v-.2c0-4.1-3.3-7.4-7.4-7.4-1.3 0-2.5.3-3.7 1-.9.5-2.2.2-2.7-.7-2.6-4.3-7.1-6.9-12-6.9-7.7 0-14 6.3-14 14v.6c0 .7-.3 1.3-.8 1.7s-1.2.5-1.9.3c-.6-.2-1.4-.3-2.1-.3"
|
|
533
|
+
/>
|
|
534
|
+
|
|
535
|
+
<path
|
|
536
|
+
fill="#73b0fa"
|
|
537
|
+
d="M25.5 77.7c-1.4 0-2.3-.9-2.3-2.3V24.6c0-1.4.9-2.3 2.3-2.3s2.3.9 2.3 2.3v50.7c0 1.4-1.1 2.4-2.3 2.4m13.9 0c-1.4 0-2.3-.9-2.3-2.3V24.6c0-1.4.9-2.3 2.3-2.3s2.3.9 2.3 2.3v50.7c0 1.4-1.2 2.4-2.3 2.4m38.9-3.5L53.2 23.7c-.5-1.2-1.8-1.6-3-1.2-1.4.7-1.8 2.1-1.2 3.2l25.1 50.5c.5 1.2 1.8 1.6 3 1.2 1.2-.7 1.7-2 1.2-3.2"
|
|
538
|
+
/>
|
|
539
|
+
</svg>
|
|
540
|
+
),
|
|
541
|
+
no_results: (
|
|
542
|
+
<svg viewBox="0 0 100 100">
|
|
543
|
+
<path
|
|
544
|
+
fill="#efeaf5"
|
|
545
|
+
d="M89.9 100H46.5c-5.5 0-9.9-4.4-9.9-9.9s4.4-9.9 9.9-9.9h.7c.9-8.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4.7l15 15c.4.4 1.1.7 1.6.7.7 0 1.1-.2 1.6-.7.8-1.1.8-2.4-.1-3.3M44.5 59.4c-9.4 0-17-7.6-17-16.7s7.6-17 17-17 17 7.6 17 17-7.6 16.7-17 16.7"
|
|
550
|
+
/>
|
|
551
|
+
</svg>
|
|
552
|
+
),
|
|
436
553
|
'no-format': (
|
|
437
554
|
<svg viewBox="0 0 50 50" fill="currentColor">
|
|
438
555
|
<path d="m24 43q-3.95 0-7.425-1.5t-6.05-4.075-4.05-6.05-1.475-7.475q0-3.95 1.475-7.4t4.05-6.025 6.05-4.025 7.425-1.45 7.425 1.45 6.05 4.025 4.05 6.025 1.475 7.4q0 4-1.475 7.475t-4.05 6.05-6.05 4.075-7.425 1.5zm7.35-26h7.95q-1.75-3.8-4.875-6.225t-7.275-3.225q1.45 1.9 2.475 4.25t1.725 5.2zm-12.35 0h10.1q-0.65-2.8-1.975-5.3t-3.125-4.45q-1.7 1.55-2.875 3.85t-2.125 5.9zm-11.05 11.7h8.25q-0.15-1.4-0.2-2.55t-0.05-2.25q0-1.2 0.05-2.275t0.25-2.325h-8.3q-0.35 1.15-0.525 2.225t-0.175 2.375q0 1.35 0.175 2.475t0.525 2.325zm12.9 11.7q-1.45-1.8-2.525-4.225t-1.675-5.225h-7.95q1.9 3.9 4.8 6.125t7.35 3.325zm-12.15-23.4h7.95q0.65-2.75 1.675-5.075t2.475-4.325q-4.15 0.8-7.225 3.175t-4.875 6.225zm15.3 23.85q1.85-2.05 3.05-4.4t2-5.5h-10.05q0.75 3.1 1.95 5.5t3.05 4.4zm-5.45-12.15h10.95q0.2-1.55 0.275-2.6t0.075-2.2q0-1.05-0.075-2.075t-0.275-2.525h-10.95q-0.2 1.5-0.275 2.525t-0.075 2.075q0 1.15 0.075 2.2t0.275 2.6zm8.65 11.7q3.95-0.9 7.125-3.35t4.975-6.1h-7.9q-0.75 2.8-1.8 5.2t-2.4 4.25zm4.55-11.7h8.3q0.35-1.2 0.525-2.325t0.175-2.475q0-1.3-0.175-2.375t-0.525-2.225h-8.25q0.15 1.65 0.225 2.675t0.075 1.925q0 1.15-0.075 2.225t-0.275 2.575z" />
|
|
@@ -506,6 +623,11 @@ const indicons = {
|
|
|
506
623
|
<path d="m25.8 43q-0.45 0-0.875-0.15t-0.825-0.5l-18.4-18.45q-0.4-0.35-0.55-0.775t-0.15-0.925v-14.95q0-0.95 0.65-1.6t1.6-0.65h14.95q0.45 0 0.925 0.15t0.825 0.5l18.35 18.35q0.8 0.75 0.8 1.7t-0.75 1.7l-14.95 14.95q-0.3 0.3-0.725 0.475t-0.875 0.175zm0.05-2.2 14.95-14.95-18.55-18.6h-15v14.95zm-13.4-26.15q0.9 0 1.55-0.675t0.65-1.575-0.65-1.55-1.55-0.65-1.55 0.65-0.65 1.55 0.65 1.575 1.55 0.675z" />
|
|
507
624
|
</svg>
|
|
508
625
|
),
|
|
626
|
+
'preview-view': (
|
|
627
|
+
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
628
|
+
<path d="M21.6 2.4v6.5H2.4V2.4zm.5-2.4H1.9C.9 0 0 .9 0 1.9v7.4c0 1.1.9 1.9 1.9 1.9h20.2c1.1 0 1.9-.9 1.9-1.9V1.9c0-1-.9-1.9-1.9-1.9m-.5 15.1v6.5H2.4v-6.5zm.5-2.4H1.9c-1.1 0-1.9.9-1.9 1.9V22c0 1.1.9 2 1.9 2h20.2c1.1 0 1.9-.9 1.9-1.9v-7.4c0-1.1-.9-2-1.9-2" />
|
|
629
|
+
</svg>
|
|
630
|
+
),
|
|
509
631
|
'radio-button': (
|
|
510
632
|
<svg viewBox="0 0 102 102" fill="currentColor">
|
|
511
633
|
<g transform="translate(1 1)">
|
|
@@ -538,6 +660,11 @@ const indicons = {
|
|
|
538
660
|
<path d="M84.6 84.3L62.2 49.6c-.3-.7-.7-1-.7-1.7V37c2.1 0 3.5-1.4 3.5-3.5S63.6 30 61.5 30h-21c-1.7 0-3.5 1.4-3.5 3.5s1.4 3.5 3.5 3.5v10.8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
667
|
+
),
|
|
541
668
|
retrain: (
|
|
542
669
|
<svg viewBox="0 0 100 100" fill="currentColor">
|
|
543
670
|
<path d="M98.4 20.3l-26 17.2c-1 .7-2.4-.1-2.4-1.3V26H21v25.1c0 .3-.2.7-.5.8-1.9 1.2-8.9 5.6-12 7.6-.7.4-1.5-.1-1.5-.8V16c0-2.2 1.8-4 4-4h59V1.8c0-1.2 1.4-2 2.4-1.3l26 17.2c1 .6 1 2 0 2.6zM79 48.9V74H30V63.8c0-1.2-1.4-2-2.4-1.3l-26 17.2c-1 .6-1 2 0 2.6l26 17.2c1 .7 2.4-.1 2.4-1.3V88h59c2.2 0 4-1.8 4-4V41.3c0-.8-.8-1.2-1.5-.8-3.1 2-10.2 6.4-12 7.6-.3.2-.5.5-.5.8z" />
|
|
@@ -553,6 +680,11 @@ const indicons = {
|
|
|
553
680
|
<path d="M39.4.4C17.9.4.4 17.9.4 39.4s17.5 39 39 39c8.8 0 16.9-2.9 23.4-7.8-.3 1.9.2 3.8 1.7 5.2l22 22c1.2 1.2 2.7 1.8 4.3 1.8s3.1-.6 4.3-1.8l2.8-2.8c2.4-2.4 2.4-6.2 0-8.5l-22-22c-1.2-1.2-2.7-1.8-4.2-1.8-.3 0-.7 0-1 .1 4.9-6.5 7.8-14.6 7.8-23.4C78.4 17.9 61 .4 39.4.4zm0 63c-13.2 0-24-10.8-24-24s10.8-24 24-24 24 10.8 24 24c0 13.3-10.7 24-24 24z" />
|
|
554
681
|
</svg>
|
|
555
682
|
),
|
|
683
|
+
'search-thin': (
|
|
684
|
+
<svg viewBox="0 0 24 24">
|
|
685
|
+
<path d="M23.7 22.3 17 15.6c1.4-1.7 2.2-3.8 2.2-6.1 0-5.3-4.3-9.6-9.6-9.6C4.3 0 0 4.3 0 9.6s4.3 9.6 9.6 9.6c2.3 0 4.3-.8 6-2.1l6.7 6.7c.2.2.5.3.7.3.3 0 .5-.1.7-.3.4-.5.4-1.1 0-1.5M9.6 17.1C5.4 17.1 2 13.7 2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ewBox="0 0
|
|
571
|
-
<path
|
|
572
|
-
d="M58.1,74.2H45.2l0,0c-1.8,0-3.2,1.4-3.2,3.2l0,0v3.2l0,0
|
|
573
|
-
c0,1.8,1.4,3.2,3.2,3.2h12.9l0,0c1.8,0,3.2-1.4,3.2-3.2v-3.2l0,0C61.3,75.6,59.8,74.2,58.1,74.2L58.1,74.2z M29.8,75.8H21V8.1l0,0
|
|
574
|
-
c0-1.8-1.4-3.2-3.2-3.2h-3.2l0,0c-1.8,0-3.2,1.4-3.2,3.2l0,0v67.7h-9l0,0c-1.3,0-2.4,1.1-2.4,2.4c0,0.6,0.2,1.2,0.7,1.7l13.7,14.5
|
|
575
|
-
l0,0c0.9,1,2.4,1,3.4,0.1l0.1-0.1l13.7-14.5l0,0c0.9-1,0.9-2.5-0.1-3.4C31,76,30.5,75.8,29.8,75.8L29.8,75.8z M83.9,35.5H45.2l0,0
|
|
576
|
-
c-1.8,0-3.2,1.4-3.2,3.2l0,0v3.2l0,0c0,1.8,1.4,3.2,3.2,3.2h38.7l0,0c1.8,0,3.2-1.4,3.2-3.2v-3.2l0,0C87.1,36.9,85.7,35.5,83.9,35.5
|
|
577
|
-
L83.9,35.5z M96.8,16.1H45.2l0,0c-1.8,0-3.2,1.4-3.2,3.2l0,0v3.2l0,0c0,1.8,1.4,3.2,3.2,3.2h51.6l0,0c1.8,0,3.2-1.4,3.2-3.2v-3.2
|
|
578
|
-
l0,0C100,17.6,98.6,16.1,96.8,16.1L96.8,16.1z M71,54.8H45.2l0,0c-1.8,0-3.2,1.4-3.2,3.2l0,0v3.2l0,0c0,1.8,1.4,3.2,3.2,3.2H71l0,0
|
|
579
|
-
c1.8,0,3.2-1.4,3.2-3.2V58l0,0C74.2,56.3,72.7,54.8,71,54.8L71,54.8z"
|
|
580
|
-
/>
|
|
702
|
+
<svg viewBox="0 0 24 24">
|
|
703
|
+
<path d="M13.9 17.8h-3.1c-.4 0-.8.3-.8.8v.8c0 .4.3.8.8.8h3.1c.4 0 .8-.3.8-.8v-.8c0-.5-.3-.8-.8-.8m-6.7.4H5V1.9c0-.4-.3-.8-.8-.8h-.7c-.4 0-.8.3-.8.8v16.2H.6c-.3 0-.6.3-.6.6 0 .1 0 .3.2.4l3.3 3.5c.2.2.6.2.8 0l3.3-3.5c.2-.2.2-.6 0-.8-.2-.1-.3-.1-.4-.1m12.9-9.7h-9.3c-.4 0-.8.3-.8.8v.7c0 .4.3.8.8.8h9.3c.4 0 .8-.3.8-.8v-.7c0-.5-.3-.8-.8-.8m3.1-4.7H10.8c-.4 0-.8.3-.8.8v.8c0 .4.3.8.8.8h12.4c.4 0 .8-.3.8-.8v-.8c0-.4-.3-.8-.8-.8M17 13.1h-6.2c-.4 0-.8.3-.8.8v.8c0 .4.3.8.8.8H17c.4 0 .8-.3.8-.8v-.8c0-.4-.4-.8-.8-.8" />
|
|
581
704
|
</svg>
|
|
582
705
|
),
|
|
583
706
|
split: (
|
|
@@ -76,7 +76,7 @@ const createdDocProcItems = mockDocProcReport.reports.map((u) => (
|
|
|
76
76
|
</div>
|
|
77
77
|
));
|
|
78
78
|
|
|
79
|
-
function StoryRender(props) {
|
|
79
|
+
function StoryRender(props: any) {
|
|
80
80
|
const [sortValue, setSortValue] = useState<string>(props?.sortBy?.value);
|
|
81
81
|
const [arrowDesc, setArrowDesc] = useState<boolean>(props?.sortBy?.descending);
|
|
82
82
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
import { LoadingAwareContainer } from './LoadingAwareContainer';
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
component: LoadingAwareContainer,
|
|
8
|
+
title: 'LoadingAwareContainer',
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: { control: { disable: true } },
|
|
11
|
+
style: { control: { disable: true } },
|
|
12
|
+
},
|
|
13
|
+
} satisfies Meta<typeof LoadingAwareContainer>;
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof LoadingAwareContainer>;
|
|
17
|
+
|
|
18
|
+
function StoryRender(props: any) {
|
|
19
|
+
return (
|
|
20
|
+
<LoadingAwareContainer
|
|
21
|
+
isLoading={props.isLoading}
|
|
22
|
+
style={{ width: '50vw', height: '50vh', border: '1px solid white' }}
|
|
23
|
+
>
|
|
24
|
+
<p>Some basic content.</p>
|
|
25
|
+
</LoadingAwareContainer>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const Loading: Story = {
|
|
30
|
+
args: {
|
|
31
|
+
isLoading: true,
|
|
32
|
+
},
|
|
33
|
+
render: (args) => {
|
|
34
|
+
return <StoryRender {...args} />;
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const Complete: Story = {
|
|
39
|
+
args: {
|
|
40
|
+
isLoading: false,
|
|
41
|
+
},
|
|
42
|
+
render: (args) => {
|
|
43
|
+
return <StoryRender {...args} />;
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
export const StyledStatusContainer = styled.div`
|
|
4
|
+
position: absolute;
|
|
5
|
+
height: 0;
|
|
6
|
+
width: 0;
|
|
7
|
+
opacity: 0;
|
|
8
|
+
`;
|
|
9
|
+
|
|
10
|
+
export const StyledLoadingAwareContainer = styled.div`
|
|
11
|
+
&.loading {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// TODO: This component's migration was fast-tracked for Insights. Assess for potential refactor and documentation.
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
import { LoadingIndicator } from '@/components';
|
|
7
|
+
|
|
8
|
+
import { StyledLoadingAwareContainer, StyledStatusContainer } from './LoadingAwareContainer.styles';
|
|
9
|
+
|
|
10
|
+
type Props = {
|
|
11
|
+
children: React.ReactNode | React.ReactNode[];
|
|
12
|
+
className?: string;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* A functional container for content that is yet to load or will change; displays a loading indicator and announces
|
|
19
|
+
* to Assistive Technology as needed.
|
|
20
|
+
*
|
|
21
|
+
* todo: this is an extremely simple version of this component; as I get more familiar with LoadingIndicator use cases, this will be refactored. - jm 9/1/2020
|
|
22
|
+
*/
|
|
23
|
+
export function LoadingAwareContainer(props: Props): React.ReactElement {
|
|
24
|
+
const { children, className, isLoading, style } = props;
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<StyledLoadingAwareContainer
|
|
28
|
+
className={classNames({ loading: isLoading }, className)}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
<StyledStatusContainer role="status">{isLoading && 'Loading'}</StyledStatusContainer>
|
|
32
|
+
|
|
33
|
+
{isLoading ? <LoadingIndicator /> : <>{children}</>}
|
|
34
|
+
</StyledLoadingAwareContainer>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LoadingAwareContainer } from './LoadingAwareContainer';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
import { Drawer } from '@/components/Navigation/Drawer';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { footerItems, navigationItems } from './__mocks__/mocks';
|
|
6
|
+
import { MemoryRouter } from 'react-router-dom';
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof Drawer> = {
|
|
9
|
+
component: Drawer,
|
|
10
|
+
tags: ['autodocs'],
|
|
11
|
+
title: 'Navigation/Drawer',
|
|
12
|
+
decorators: [
|
|
13
|
+
(Story) => (
|
|
14
|
+
<MemoryRouter initialEntries={['/']}>
|
|
15
|
+
<div style={{ width: '100%', display: 'flex', height: '800px' }}>
|
|
16
|
+
<div style={{ width: '50px', position: 'relative' }}>
|
|
17
|
+
<div style={{ position: 'absolute' }}>
|
|
18
|
+
<Story />
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div style={{ width: '100%', height: '60px' }}>
|
|
22
|
+
This text is to help illustrate the ability to expand the drawer over content without
|
|
23
|
+
shifting it in any way. Simply add a position relative div and place this in a position
|
|
24
|
+
absolute div.
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</MemoryRouter>
|
|
28
|
+
),
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default meta;
|
|
33
|
+
|
|
34
|
+
type Story = StoryObj<typeof Drawer>;
|
|
35
|
+
|
|
36
|
+
export const Normal: Story = {
|
|
37
|
+
args: {
|
|
38
|
+
logoText: 'INDICO INSIGHTS',
|
|
39
|
+
logoIcon: 'indico-o',
|
|
40
|
+
$expandedWidth: '245',
|
|
41
|
+
navigationItems: navigationItems,
|
|
42
|
+
footerItems: footerItems,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
$collapsedWidth?: string;
|
|
5
|
+
$expandedWidth?: string;
|
|
6
|
+
};
|
|
7
|
+
const fullViewportHeightMinusOffset = 'calc(100% - 42px)';
|
|
8
|
+
|
|
9
|
+
export const StyledDrawer = styled.div<Props>`
|
|
10
|
+
color: #444444;
|
|
11
|
+
background-color: white;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
height: 100vh;
|
|
14
|
+
padding: 30px 4px 10px 4px;
|
|
15
|
+
transition: width 0.2s ease-in-out;
|
|
16
|
+
box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
width: 100%;
|
|
19
|
+
max-width: ${(props: Props) => (props.$expandedWidth ? `${props.$expandedWidth}px` : '300px')};
|
|
20
|
+
a:active,
|
|
21
|
+
a:visited,
|
|
22
|
+
a:link {
|
|
23
|
+
color: #444444;
|
|
24
|
+
}
|
|
25
|
+
a {
|
|
26
|
+
color: #444444;
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.drawer__wrapper {
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.drawer__header {
|
|
36
|
+
margin-bottom: 30px;
|
|
37
|
+
color: black;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding-left: 10px;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
|
|
43
|
+
.drawer__header__text {
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
transition: opacity 0.2s ease-in-out;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
span {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
p {
|
|
54
|
+
font-size: 20px;
|
|
55
|
+
font-weight: 500;
|
|
56
|
+
margin: 0 0 0 12px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.drawer__content {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
height: ${fullViewportHeightMinusOffset};
|
|
65
|
+
padding-bottom: 10px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.drawer--open {
|
|
69
|
+
width: ${(props: Props) => (props.$expandedWidth ? `${props.$expandedWidth}px` : '245px')};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.drawer--closed {
|
|
73
|
+
width: ${(props: Props) => (props.$collapsedWidth ? `${props.$collapsedWidth}px` : '50px')};
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
## TODO
|
|
3
|
+
-Documentation
|
|
4
|
+
-Split header block to its own component.
|
|
5
|
+
-Add support for horizontal lines between list items.
|
|
6
|
+
-Use variables for styles
|
|
7
|
+
-Add toggle options other than mouseover
|
|
8
|
+
-Add easy color support
|
|
9
|
+
-Add documentation
|
|
10
|
+
-Icons should ideally have a size enum
|
|
11
|
+
-Combine headerComponent, logoText and logoIcon props into one prop and functionality
|
|
12
|
+
*/
|
|
13
|
+
import React from 'react';
|
|
14
|
+
|
|
15
|
+
import classNames from 'classnames';
|
|
16
|
+
|
|
17
|
+
import { IconName, PermafrostComponent } from '@/types';
|
|
18
|
+
|
|
19
|
+
import { StyledDrawer } from './Drawer.styles';
|
|
20
|
+
import { Icon } from '../../Icon';
|
|
21
|
+
import { DrawerLinkList } from './DrawerLinkList';
|
|
22
|
+
|
|
23
|
+
import { ListItem } from './types';
|
|
24
|
+
|
|
25
|
+
type Props = PermafrostComponent & {
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
logoText?: string;
|
|
28
|
+
logoIcon?: IconName;
|
|
29
|
+
headerComponent?: React.ReactNode;
|
|
30
|
+
navigationItems?: ListItem[];
|
|
31
|
+
footerItems?: ListItem[];
|
|
32
|
+
$expandedWidth?: string;
|
|
33
|
+
$collapsedWidth?: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const Drawer = (props: Props) => {
|
|
37
|
+
const {
|
|
38
|
+
id,
|
|
39
|
+
className,
|
|
40
|
+
style = {},
|
|
41
|
+
logoText,
|
|
42
|
+
logoIcon,
|
|
43
|
+
navigationItems,
|
|
44
|
+
footerItems,
|
|
45
|
+
headerComponent,
|
|
46
|
+
$expandedWidth,
|
|
47
|
+
$collapsedWidth,
|
|
48
|
+
...restOfProps
|
|
49
|
+
} = props;
|
|
50
|
+
|
|
51
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
52
|
+
const drawerClasses = classNames('drawer', className, {
|
|
53
|
+
'drawer--open': isOpen,
|
|
54
|
+
'drawer--closed': !isOpen,
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const handleMouseOver = () => {
|
|
58
|
+
setIsOpen(true);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const handleMouseOut = () => {
|
|
62
|
+
setIsOpen(false);
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<StyledDrawer
|
|
67
|
+
id={id}
|
|
68
|
+
data-cy={props['data-cy']}
|
|
69
|
+
data-testid={props['data-testid']}
|
|
70
|
+
style={style}
|
|
71
|
+
{...restOfProps}
|
|
72
|
+
className={drawerClasses}
|
|
73
|
+
onMouseOver={handleMouseOver}
|
|
74
|
+
onMouseOut={handleMouseOut}
|
|
75
|
+
aria-expanded={isOpen}
|
|
76
|
+
$expandedWidth={$expandedWidth}
|
|
77
|
+
$collapsedWidth={$collapsedWidth}
|
|
78
|
+
>
|
|
79
|
+
<div className="drawer__wrapper">
|
|
80
|
+
<div className="drawer__header">
|
|
81
|
+
{headerComponent ? (
|
|
82
|
+
headerComponent
|
|
83
|
+
) : (
|
|
84
|
+
<span>
|
|
85
|
+
{logoIcon ? <Icon name={logoIcon} size={[24]} data-testid="logo-icon" /> : null}
|
|
86
|
+
<p data-testid="logo-text" aria-hidden={!isOpen}>
|
|
87
|
+
{logoText}
|
|
88
|
+
</p>
|
|
89
|
+
</span>
|
|
90
|
+
)}
|
|
91
|
+
</div>
|
|
92
|
+
<div className="drawer__content">
|
|
93
|
+
{navigationItems?.length ? (
|
|
94
|
+
<div className="drawer__navigation" data-testid="drawer-navigation">
|
|
95
|
+
<DrawerLinkList isOpen={isOpen} listItems={navigationItems} />
|
|
96
|
+
</div>
|
|
97
|
+
) : null}
|
|
98
|
+
|
|
99
|
+
{footerItems?.length ? (
|
|
100
|
+
<div className="drawer__footer" data-testid="drawer-footer">
|
|
101
|
+
<DrawerLinkList isOpen={isOpen} listItems={footerItems} />
|
|
102
|
+
</div>
|
|
103
|
+
) : null}
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</StyledDrawer>
|
|
107
|
+
);
|
|
108
|
+
};
|