@indico-data/design-system 1.0.57 → 2.0.0
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/.eslintrc.js +1 -1
- package/.harness/pipeline.yaml +14 -0
- package/.storybook/main.ts +6 -3
- package/.storybook/manager-head.html +5 -0
- package/.storybook/manager.ts +6 -0
- package/.storybook/preview.ts +31 -9
- package/.yarnrc.yml +2 -0
- package/README.md +8 -11
- package/lib/components/button/Button.d.ts +2 -0
- package/lib/components/button/Button.stories.d.ts +22 -0
- package/lib/components/button/enums.d.ts +5 -0
- package/lib/components/button/types.d.ts +25 -0
- package/lib/components/grid/col/Col.d.ts +2 -0
- package/lib/components/grid/col/Col.stories.d.ts +7 -0
- package/lib/components/grid/container/Container.d.ts +2 -0
- package/lib/components/grid/container/Container.stories.d.ts +10 -0
- package/lib/components/grid/index.d.ts +3 -0
- package/lib/components/grid/row/Row.d.ts +2 -0
- package/lib/components/grid/row/Row.stories.d.ts +6 -0
- package/lib/components/index.d.ts +2 -18
- package/lib/components/sampleButton/SampleButton.d.ts +6 -0
- package/lib/components/sampleButton/SampleButton.stories.d.ts +6 -0
- package/lib/components/sampleButton/index.d.ts +1 -0
- package/lib/index.css +3491 -0
- package/lib/index.d.ts +272 -18
- package/lib/index.esm.css +3491 -0
- package/lib/index.esm.js +2588 -3051
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2861 -3320
- package/lib/index.js.map +1 -1
- package/lib/{components → legacy/components}/Accordion/Accordion.stories.d.ts +2 -2
- package/lib/legacy/components/Icon/Icon.stories.d.ts +42 -0
- package/lib/{components → legacy/components}/ListTable/ListTable.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/Navigation/Drawer/Drawer.d.ts +3 -2
- package/lib/{components → legacy/components}/Navigation/Drawer/Drawer.stories.d.ts +1 -1
- package/lib/legacy/components/Toggle/Toggle.stories.d.ts +21 -0
- package/lib/{components → legacy/components}/basic-section/Section/Section.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/dropdowns/Select/Select.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +1 -1
- package/lib/legacy/components/index.d.ts +18 -0
- package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.stories.d.ts +1 -1
- package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.styles.d.ts +2 -2
- package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.d.ts +1 -1
- package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.stories.d.ts +2 -2
- package/lib/legacy/components/text-truncate/TextTruncate.stories.d.ts +6 -0
- package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.stories.d.ts +1 -1
- package/lib/stylesAndAnimations/borders/BorderColor.d.ts +3 -0
- package/lib/stylesAndAnimations/borders/BorderColor.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/borders/BorderRadius.d.ts +3 -0
- package/lib/stylesAndAnimations/borders/BorderRadius.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/borders/BorderStyles.d.ts +3 -0
- package/lib/stylesAndAnimations/borders/BorderStyles.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/borders/BorderThickness.d.ts +3 -0
- package/lib/stylesAndAnimations/borders/BorderThickness.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/borders/index.d.ts +4 -0
- package/lib/stylesAndAnimations/colors/Swatch.d.ts +8 -0
- package/lib/stylesAndAnimations/colors/UtilityClasses.d.ts +1 -0
- package/lib/stylesAndAnimations/colors/UtilityClasses.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/colors/colors.d.ts +1 -0
- package/lib/stylesAndAnimations/colors/colors.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/colors/constants.d.ts +4 -0
- package/lib/stylesAndAnimations/colors/hooks.d.ts +1 -0
- package/lib/stylesAndAnimations/colors/index.d.ts +1 -0
- package/lib/stylesAndAnimations/sizing/Sizing.d.ts +2 -0
- package/lib/stylesAndAnimations/sizing/Sizing.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/sizing/index.d.ts +1 -0
- package/lib/stylesAndAnimations/typography/Typography.d.ts +1 -0
- package/lib/stylesAndAnimations/typography/Typography.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/typography/index.d.ts +1 -0
- package/lib/types.d.ts +1 -1
- package/package.json +44 -25
- package/postcss.config.js +6 -0
- package/rollup.config.mjs +8 -3
- package/src/components/button/Button.mdx +98 -0
- package/src/components/button/Button.scss +275 -0
- package/src/components/button/Button.stories.tsx +281 -0
- package/src/components/button/Button.tsx +80 -0
- package/src/components/button/__tests__/Button.test.tsx +108 -0
- package/src/components/button/enums.ts +9 -0
- package/src/components/button/index.ts +1 -0
- package/src/components/button/types.ts +29 -0
- package/src/components/grid/Grid.scss +31 -0
- package/src/components/grid/GridSystem.mdx +138 -0
- package/src/components/grid/col/Col.mdx +44 -0
- package/src/components/grid/col/Col.stories.tsx +25 -0
- package/src/components/grid/col/Col.tsx +5 -0
- package/src/components/grid/container/Container.mdx +43 -0
- package/src/components/grid/container/Container.stories.tsx +117 -0
- package/src/components/grid/container/Container.tsx +5 -0
- package/src/components/grid/index.tsx +3 -0
- package/src/components/grid/row/Row.mdx +56 -0
- package/src/components/grid/row/Row.stories.tsx +99 -0
- package/src/components/grid/row/Row.tsx +5 -0
- package/src/components/index.ts +2 -39
- package/src/index.ts +12 -7
- package/src/{components → legacy/components}/Accordion/Accordion.stories.tsx +2 -2
- package/src/{components → legacy/components}/Accordion/Accordion.tsx +1 -1
- package/src/{components → legacy/components}/Icon/Icon.stories.tsx +1 -1
- package/src/{components → legacy/components}/Icon/storyHelpers.tsx +1 -1
- package/src/{components → legacy/components}/ListTable/Header/Header.styles.ts +1 -1
- package/src/{components → legacy/components}/ListTable/Header/Header.tsx +4 -4
- package/src/{components → legacy/components}/ListTable/ListTable.stories.tsx +2 -2
- package/src/{components → legacy/components}/ListTable/ListTable.styles.ts +1 -1
- package/src/{components → legacy/components}/ListTable/ListTable.tsx +5 -5
- package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.stories.tsx +1 -1
- package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.tsx +1 -1
- package/src/{components/Navigation/Drawer/Drawer.styles.ts → legacy/components/Navigation/Drawer/Drawer.scss} +14 -28
- package/src/{components → legacy/components}/Navigation/Drawer/Drawer.stories.tsx +2 -3
- package/src/{components → legacy/components}/Navigation/Drawer/Drawer.tsx +27 -28
- package/src/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.styles.ts +3 -4
- package/src/legacy/components/Navigation/Drawer/__tests__/Drawer.test.tsx +180 -0
- package/src/{components → legacy/components}/Pagination/Pagination.stories.tsx +1 -1
- package/src/{components → legacy/components}/Pagination/Pagination.styles.ts +1 -1
- package/src/{components → legacy/components}/Pagination/Pagination.tsx +1 -1
- package/src/{components → legacy/components}/Toggle/Toggle.stories.tsx +1 -1
- package/src/{components → legacy/components}/Toggle/Toggle.styles.ts +1 -1
- package/src/{components → legacy/components}/Toggle/Toggle.tsx +1 -1
- package/src/{components → legacy/components}/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/{components → legacy/components}/Wizard/Wizard.stories.tsx +1 -1
- package/src/{components → legacy/components}/Wizard/Wizard.styles.ts +1 -1
- package/src/{components → legacy/components}/Wizard/Wizard.tsx +1 -1
- package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.stories.tsx +2 -2
- package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.styles.ts +21 -37
- package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.tsx +59 -43
- package/src/{components → legacy/components}/basic-section/Section/Section.stories.tsx +1 -1
- package/src/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.styles.ts +1 -1
- package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.stories.tsx +1 -1
- package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.styles.ts +1 -1
- package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.stories.tsx +1 -1
- package/src/{components → legacy/components}/basic-section/SectionTable/SectionTable.styles.ts +2 -2
- package/src/{components → legacy/components}/basic-section/SectionTable/SectionTable.tsx +2 -2
- package/src/{components → legacy/components}/buttons/Button/Button.stories.tsx +1 -1
- package/src/{components → legacy/components}/buttons/Button/Button.styles.ts +1 -1
- package/src/{components → legacy/components}/buttons/Button/Button.tsx +1 -1
- package/src/legacy/components/buttons/Button/index.ts +1 -0
- package/src/{components → legacy/components}/buttons/IconButton/IconButton.stories.tsx +1 -1
- package/src/{components → legacy/components}/buttons/IconButton/IconButton.styles.ts +1 -1
- package/src/{components → legacy/components}/buttons/IconButton/IconButton.tsx +2 -2
- package/src/{components → legacy/components}/buttons/commonStyles.ts +1 -1
- package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.stories.tsx +1 -1
- package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.styles.ts +1 -1
- package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.stories.tsx +2 -2
- package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.styles.ts +1 -1
- package/src/{components → legacy/components}/dropdowns/Select/Select.stories.tsx +1 -1
- package/src/{components → legacy/components}/dropdowns/Select/Select.styles.ts +1 -1
- package/src/{components → legacy/components}/dropdowns/Select/Select.tsx +1 -1
- package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.stories.tsx +1 -1
- package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.styles.ts +1 -1
- package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.tsx +1 -1
- package/src/{components → legacy/components}/dropdowns/commonStyles.ts +1 -1
- package/src/legacy/components/index.ts +37 -0
- package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.stories.tsx +2 -2
- package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.stories.tsx +1 -1
- package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.tsx +2 -2
- package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.stories.tsx +9 -10
- package/src/legacy/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.tsx +127 -0
- package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.stories.tsx +1 -1
- package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.styles.ts +1 -1
- package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.tsx +2 -2
- package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.stories.tsx +2 -2
- package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.styles.ts +1 -1
- package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.tsx +1 -1
- package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.stories.tsx +1 -1
- package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.styles.ts +2 -2
- package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.tsx +4 -4
- package/src/{components → legacy/components}/inputs/TextInput/TextInput.stories.tsx +1 -1
- package/src/{components → legacy/components}/inputs/TextInput/TextInput.styles.ts +1 -1
- package/src/{components → legacy/components}/inputs/inputsCommon.styles.ts +1 -2
- package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.styles.ts +1 -1
- package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.styles.ts +1 -1
- package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.styles.ts +1 -1
- package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.tsx +2 -2
- package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.styles.ts +1 -1
- package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.stories.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.tsx +1 -1
- package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.tsx +1 -1
- package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.stories.tsx +1 -1
- package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.styles.ts +1 -1
- package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.tsx +7 -5
- package/src/{components → legacy/components}/modals/ModalBase/ModalBase.stories.tsx +1 -1
- package/src/{components → legacy/components}/modals/ModalBase/ModalBase.styles.tsx +2 -2
- package/src/legacy/components/text-truncate/TextTruncate.stories.tsx +19 -0
- package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.stories.tsx +1 -1
- package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.styles.ts +1 -1
- package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.tsx +2 -2
- package/src/{styles → legacy/styles}/globals/buttons.ts +1 -1
- package/src/{styles → legacy/styles}/globals/forms.ts +1 -1
- package/src/{styles → legacy/styles}/globals/index.tsx +0 -3
- package/src/{styles → legacy/styles}/globals/margin-padding.ts +1 -1
- package/src/{styles → legacy/styles}/globals/tables.ts +1 -1
- package/src/{styles → legacy/styles}/globals/typography.ts +1 -1
- package/src/{styles → legacy/styles}/globals/utility-classes.ts +1 -1
- package/src/styles/_borders.scss +60 -0
- package/src/styles/_colors.scss +23 -0
- package/src/styles/_margin.scss +41 -0
- package/src/styles/_padding.scss +26 -0
- package/src/styles/_typography.scss +116 -0
- package/src/styles/animations.scss +8 -0
- package/src/styles/index.scss +14 -0
- package/src/styles/variables/_borders.scss +16 -0
- package/src/styles/variables/_colors.scss +2 -0
- package/src/styles/variables/_margin.scss +37 -0
- package/src/styles/variables/_padding.scss +19 -0
- package/src/styles/variables/_typography.scss +31 -0
- package/src/styles/variables/index.scss +5 -0
- package/src/styles/variables/themes/dark.scss +89 -0
- package/src/styles/variables/themes/light.scss +87 -0
- package/src/stylesAndAnimations/borders/BorderColor.stories.tsx +13 -0
- package/src/stylesAndAnimations/borders/BorderColor.tsx +34 -0
- package/src/stylesAndAnimations/borders/BorderRadius.stories.tsx +13 -0
- package/src/stylesAndAnimations/borders/BorderRadius.tsx +46 -0
- package/src/stylesAndAnimations/borders/BorderStyles.stories.tsx +13 -0
- package/src/stylesAndAnimations/borders/BorderStyles.tsx +26 -0
- package/src/stylesAndAnimations/borders/BorderThickness.stories.tsx +13 -0
- package/src/stylesAndAnimations/borders/BorderThickness.tsx +50 -0
- package/src/stylesAndAnimations/borders/Borders.mdx +32 -0
- package/src/stylesAndAnimations/borders/borders.scss +13 -0
- package/src/stylesAndAnimations/borders/index.ts +4 -0
- package/src/stylesAndAnimations/colors/Colors.mdx +32 -0
- package/src/stylesAndAnimations/colors/Colors.stories.tsx +13 -0
- package/src/stylesAndAnimations/colors/Colors.tsx +29 -0
- package/src/stylesAndAnimations/colors/Swatch.tsx +25 -0
- package/src/stylesAndAnimations/colors/UtilityClasses.mdx +10 -0
- package/src/stylesAndAnimations/colors/UtilityClasses.stories.tsx +13 -0
- package/src/stylesAndAnimations/colors/UtilityClasses.tsx +96 -0
- package/src/stylesAndAnimations/colors/constants.ts +151 -0
- package/src/stylesAndAnimations/colors/hooks.tsx +28 -0
- package/src/stylesAndAnimations/colors/index.ts +1 -0
- package/src/stylesAndAnimations/colors/swatches.scss +11 -0
- package/src/stylesAndAnimations/sizing/Sizing.mdx +62 -0
- package/src/stylesAndAnimations/sizing/Sizing.stories.tsx +13 -0
- package/src/stylesAndAnimations/sizing/Sizing.tsx +10 -0
- package/src/stylesAndAnimations/sizing/index.ts +1 -0
- package/src/stylesAndAnimations/typography/Typography.mdx +88 -0
- package/src/stylesAndAnimations/typography/Typography.stories.tsx +13 -0
- package/src/stylesAndAnimations/typography/Typography.tsx +12 -0
- package/src/stylesAndAnimations/typography/index.ts +1 -0
- package/src/types.ts +3 -3
- package/webpack.config.js +17 -2
- package/.storybook/themes.js +0 -24
- package/lib/components/Icon/Icon.stories.d.ts +0 -42
- package/lib/components/Navigation/Drawer/Drawer.styles.d.ts +0 -7
- package/lib/components/Toggle/Toggle.stories.d.ts +0 -21
- package/lib/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.d.ts +0 -1
- package/src/components/Navigation/Drawer/__tests__/Drawer.test.tsx +0 -175
- package/src/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.tsx +0 -126
- package/src/components/text-truncate/TextTruncate.stories.mdx +0 -59
- /package/lib/components/{Navigation/Drawer/__tests__/Drawer.test.d.ts → button/__tests__/Button.test.d.ts} +0 -0
- /package/lib/components/{buttons/Button → button}/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Accordion/Accordion.d.ts +0 -0
- /package/lib/{components → legacy/components}/Accordion/Accordion.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Accordion/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Icon/Icon.d.ts +0 -0
- /package/lib/{components → legacy/components}/Icon/faIcons.d.ts +0 -0
- /package/lib/{components → legacy/components}/Icon/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Icon/indicons.d.ts +0 -0
- /package/lib/{components → legacy/components}/Icon/storyHelpers.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/Header/Header.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/Header/Header.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/Header/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/ListTable.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/ListTable.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/mock-data/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/ListTable/mock-data/mock-data.d.ts +0 -0
- /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.d.ts +0 -0
- /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/LoadingAwareContainer/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/__mocks__/mocks.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/__tests__/DrawerLinkList.test.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/Drawer/types.d.ts +0 -0
- /package/lib/{components → legacy/components}/Navigation/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Pagination/Pagination.d.ts +0 -0
- /package/lib/{components → legacy/components}/Pagination/Pagination.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/Pagination/Pagination.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Pagination/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Toggle/Toggle.d.ts +0 -0
- /package/lib/{components → legacy/components}/Toggle/Toggle.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Toggle/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/lib/{components → legacy/components}/Tooltip/Tooltip.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/Tooltip/Tooltip.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Tooltip/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/Wizard/Wizard.d.ts +0 -0
- /package/lib/{components → legacy/components}/Wizard/Wizard.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/Wizard/Wizard.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/Wizard/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.d.ts +0 -0
- /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/WizardWithSidebar/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/Section/Section.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/Section/Section.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/Section/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBlock/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionBody/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionHeader/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionTable/SectionTable.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionTable/SectionTable.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/SectionTable/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/basic-section/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/Button/Button.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/Button/Button.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/Button/Button.styles.d.ts +0 -0
- /package/{src/components/buttons/Button/index.ts → lib/legacy/components/buttons/Button/index.d.ts} +0 -0
- /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/IconButton/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/commonStyles.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/buttons/types.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/BorderSelect/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/Select/Select.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/Select/Select.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/Select/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/commonStyles.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/types.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/useCombobox.d.ts +0 -0
- /package/lib/{components → legacy/components}/dropdowns/utils.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/DatePicker/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/EditableInput/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/NumberInput/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioButtons/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/RadioGroup/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/SearchInput/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/TextInput/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/inputs/inputsCommon.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/LoadingList/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/random-messages.d.ts +0 -0
- /package/lib/{components → legacy/components}/loading-indicators/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ConfirmModal/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.stories.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/ModalBase/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/modals/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/text-truncate/TextTruncate.d.ts +0 -0
- /package/lib/{components → legacy/components}/text-truncate/TextTruncate.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/text-truncate/TextTruncate.test.d.ts +0 -0
- /package/lib/{components → legacy/components}/text-truncate/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.d.ts +0 -0
- /package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.styles.d.ts +0 -0
- /package/lib/{components → legacy/components}/user-feedback/Shrug/index.d.ts +0 -0
- /package/lib/{components → legacy/components}/user-feedback/index.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/buttons.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/forms.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/index.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/layout.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/lists.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/margin-padding.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/media.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/tables.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/typography.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/globals/utility-classes.d.ts +0 -0
- /package/lib/{styles → legacy/styles}/index.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/animation.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/breakpoints.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/colors.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/index.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/margin.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/numbers.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/padding.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/spacings.d.ts +0 -0
- /package/lib/{tokens → legacy/tokens}/typography.d.ts +0 -0
- /package/lib/{utils → legacy/utils}/color.d.ts +0 -0
- /package/lib/{utils → legacy/utils}/index.d.ts +0 -0
- /package/lib/{utils → legacy/utils}/number.d.ts +0 -0
- /package/lib/{utils → legacy/utils}/string.d.ts +0 -0
- /package/src/{components → legacy/components}/Accordion/Accordion.styles.ts +0 -0
- /package/src/{components → legacy/components}/Accordion/index.ts +0 -0
- /package/src/{components → legacy/components}/Icon/Icon.tsx +0 -0
- /package/src/{components → legacy/components}/Icon/faIcons.tsx +0 -0
- /package/src/{components → legacy/components}/Icon/index.ts +0 -0
- /package/src/{components → legacy/components}/Icon/indicons.tsx +0 -0
- /package/src/{components → legacy/components}/ListTable/Header/index.ts +0 -0
- /package/src/{components → legacy/components}/ListTable/index.ts +0 -0
- /package/src/{components → legacy/components}/ListTable/mock-data/index.ts +0 -0
- /package/src/{components → legacy/components}/ListTable/mock-data/mock-data.ts +0 -0
- /package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.styles.ts +0 -0
- /package/src/{components → legacy/components}/LoadingAwareContainer/index.ts +0 -0
- /package/src/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.tsx +0 -0
- /package/src/{components → legacy/components}/Navigation/Drawer/__mocks__/mocks.ts +0 -0
- /package/src/{components → legacy/components}/Navigation/Drawer/__tests__/DrawerLinkList.test.tsx +0 -0
- /package/src/{components → legacy/components}/Navigation/Drawer/index.ts +0 -0
- /package/src/{components → legacy/components}/Navigation/Drawer/types.ts +0 -0
- /package/src/{components → legacy/components}/Navigation/index.ts +0 -0
- /package/src/{components → legacy/components}/Pagination/index.ts +0 -0
- /package/src/{components → legacy/components}/Toggle/index.ts +0 -0
- /package/src/{components → legacy/components}/Tooltip/Tooltip.styles.ts +0 -0
- /package/src/{components → legacy/components}/Tooltip/Tooltip.tsx +0 -0
- /package/src/{components → legacy/components}/Tooltip/index.ts +0 -0
- /package/src/{components → legacy/components}/Wizard/index.ts +0 -0
- /package/src/{components → legacy/components}/WizardWithSidebar/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/Section/Section.styles.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/Section/Section.tsx +0 -0
- /package/src/{components → legacy/components}/basic-section/Section/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.tsx +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionBlock/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.tsx +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionBody/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.styles.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.tsx +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionHeader/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/SectionTable/index.ts +0 -0
- /package/src/{components → legacy/components}/basic-section/index.ts +0 -0
- /package/src/{components → legacy/components}/buttons/IconButton/index.ts +0 -0
- /package/src/{components → legacy/components}/buttons/index.ts +0 -0
- /package/src/{components → legacy/components}/buttons/types.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.tsx +0 -0
- /package/src/{components → legacy/components}/dropdowns/BorderSelect/index.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.tsx +0 -0
- /package/src/{components → legacy/components}/dropdowns/MultiCombobox/index.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/Select/index.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/SingleCombobox/index.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/index.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/types.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/useCombobox.ts +0 -0
- /package/src/{components → legacy/components}/dropdowns/utils.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.styles.ts +0 -0
- /package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/DatePicker/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.styles.ts +0 -0
- /package/src/{components → legacy/components}/inputs/EditableInput/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.styles.ts +0 -0
- /package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/NoInputDatePicker/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/NumberInput/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/RadioButtons/index.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.styles.ts +0 -0
- /package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/RadioGroup/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/SearchInput/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/TextInput/TextInput.tsx +0 -0
- /package/src/{components → legacy/components}/inputs/TextInput/index.ts +0 -0
- /package/src/{components → legacy/components}/inputs/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.tsx +0 -0
- /package/src/{components → legacy/components}/loading-indicators/BarSpinner/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/CirclePulse/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.tsx +0 -0
- /package/src/{components → legacy/components}/loading-indicators/CircleSpinner/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.tsx +0 -0
- /package/src/{components → legacy/components}/loading-indicators/LoadingList/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.styles.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/PercentageRing/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.tsx +0 -0
- /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/index.ts +0 -0
- /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/random-messages.js +0 -0
- /package/src/{components → legacy/components}/loading-indicators/index.ts +0 -0
- /package/src/{components → legacy/components}/modals/ConfirmModal/index.ts +0 -0
- /package/src/{components → legacy/components}/modals/ModalBase/ModalBase.tsx +0 -0
- /package/src/{components → legacy/components}/modals/ModalBase/index.ts +0 -0
- /package/src/{components → legacy/components}/modals/index.ts +0 -0
- /package/src/{components → legacy/components}/text-truncate/TextTruncate.styles.ts +0 -0
- /package/src/{components → legacy/components}/text-truncate/TextTruncate.test.tsx +0 -0
- /package/src/{components → legacy/components}/text-truncate/TextTruncate.tsx +0 -0
- /package/src/{components → legacy/components}/text-truncate/index.ts +0 -0
- /package/src/{components → legacy/components}/user-feedback/Shrug/index.ts +0 -0
- /package/src/{components → legacy/components}/user-feedback/index.ts +0 -0
- /package/src/{styles → legacy/styles}/globals/layout.ts +0 -0
- /package/src/{styles → legacy/styles}/globals/lists.ts +0 -0
- /package/src/{styles → legacy/styles}/globals/media.ts +0 -0
- /package/src/{styles → legacy/styles}/index.ts +0 -0
- /package/src/{tokens → legacy/tokens}/animation.ts +0 -0
- /package/src/{tokens → legacy/tokens}/breakpoints.ts +0 -0
- /package/src/{tokens → legacy/tokens}/colors.ts +0 -0
- /package/src/{tokens → legacy/tokens}/index.ts +0 -0
- /package/src/{tokens → legacy/tokens}/margin.ts +0 -0
- /package/src/{tokens → legacy/tokens}/numbers.js +0 -0
- /package/src/{tokens → legacy/tokens}/padding.ts +0 -0
- /package/src/{tokens → legacy/tokens}/spacings.ts +0 -0
- /package/src/{tokens → legacy/tokens}/typography.ts +0 -0
- /package/src/{utils → legacy/utils}/color.ts +0 -0
- /package/src/{utils → legacy/utils}/index.ts +0 -0
- /package/src/{utils → legacy/utils}/number.ts +0 -0
- /package/src/{utils → legacy/utils}/string.ts +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
export const colorList = ['primary', 'secondary', 'gray', 'red', 'orange', 'green'];
|
|
2
|
+
export const lightThemeColors = {
|
|
3
|
+
primary: {
|
|
4
|
+
base: '#6833D0',
|
|
5
|
+
100: '#F0EBFA',
|
|
6
|
+
200: '#D5C6F2',
|
|
7
|
+
300: '#BAA1E9',
|
|
8
|
+
400: '#8C64DB',
|
|
9
|
+
500: '#6833D0',
|
|
10
|
+
600: '#5E2EBB',
|
|
11
|
+
700: '#5329A6',
|
|
12
|
+
800: '#492492',
|
|
13
|
+
900: '#3E1F7D',
|
|
14
|
+
},
|
|
15
|
+
secondary: {
|
|
16
|
+
base: '#0070F5',
|
|
17
|
+
100: '#DCEAFD',
|
|
18
|
+
200: '#B3D4FC',
|
|
19
|
+
300: '#7AB5FA',
|
|
20
|
+
400: '#4797F5',
|
|
21
|
+
500: '#0070F5',
|
|
22
|
+
600: '#0067E1',
|
|
23
|
+
700: '#005AC4',
|
|
24
|
+
800: '#004EAC',
|
|
25
|
+
900: '#004393',
|
|
26
|
+
},
|
|
27
|
+
gray: {
|
|
28
|
+
base: '#444444',
|
|
29
|
+
100: '#EEEEEE',
|
|
30
|
+
200: '#D0D0D0',
|
|
31
|
+
300: '#A9A9A9',
|
|
32
|
+
400: '#737373',
|
|
33
|
+
500: '#444444',
|
|
34
|
+
600: '#373737',
|
|
35
|
+
700: '#2C2C2C',
|
|
36
|
+
800: '#1F1F1F',
|
|
37
|
+
900: '#141414',
|
|
38
|
+
},
|
|
39
|
+
green: {
|
|
40
|
+
base: '#008A00',
|
|
41
|
+
100: '#D6ECD6',
|
|
42
|
+
200: '#99D099',
|
|
43
|
+
300: '#66B966',
|
|
44
|
+
400: '#33A133',
|
|
45
|
+
500: '#008A00',
|
|
46
|
+
600: '#007C00',
|
|
47
|
+
700: '#006E00',
|
|
48
|
+
800: '#006100',
|
|
49
|
+
900: '#005300',
|
|
50
|
+
},
|
|
51
|
+
orange: {
|
|
52
|
+
base: '#FFA424',
|
|
53
|
+
100: '#FFDFB2',
|
|
54
|
+
200: '#FFD292',
|
|
55
|
+
300: '#FFC471',
|
|
56
|
+
400: '#FFB650',
|
|
57
|
+
500: '#FFA424',
|
|
58
|
+
600: '#F29C22',
|
|
59
|
+
700: '#E69420',
|
|
60
|
+
800: '#CC831D',
|
|
61
|
+
900: '#B37319',
|
|
62
|
+
},
|
|
63
|
+
red: {
|
|
64
|
+
base: '#E72326',
|
|
65
|
+
100: '#FFD6D6',
|
|
66
|
+
200: '#F49EA0',
|
|
67
|
+
300: '#EF696B',
|
|
68
|
+
400: '#EB4649',
|
|
69
|
+
500: '#E72326',
|
|
70
|
+
600: '#D52023',
|
|
71
|
+
700: '#C21D20',
|
|
72
|
+
800: '#B01B1D',
|
|
73
|
+
900: '#9D181A',
|
|
74
|
+
},
|
|
75
|
+
} as Record<string, any>;
|
|
76
|
+
|
|
77
|
+
export const darkThemeColors = {
|
|
78
|
+
primary: {
|
|
79
|
+
base: '#27374D',
|
|
80
|
+
100: '#E2E4E8',
|
|
81
|
+
200: '#B6BAC1',
|
|
82
|
+
300: '#898F9A',
|
|
83
|
+
400: '#5D6573',
|
|
84
|
+
500: '#27374D',
|
|
85
|
+
600: '#202C3A',
|
|
86
|
+
700: '#192228',
|
|
87
|
+
800: '#131816',
|
|
88
|
+
900: '#0D0E0E',
|
|
89
|
+
},
|
|
90
|
+
secondary: {
|
|
91
|
+
base: '#526D82',
|
|
92
|
+
100: '#E6E9EB',
|
|
93
|
+
200: '#C0C7CD',
|
|
94
|
+
300: '#99A5AF',
|
|
95
|
+
400: '#738491',
|
|
96
|
+
500: '#526D82',
|
|
97
|
+
600: '#3F5866',
|
|
98
|
+
700: '#2C434A',
|
|
99
|
+
800: '#1A2E2E',
|
|
100
|
+
900: '#071919',
|
|
101
|
+
},
|
|
102
|
+
gray: {
|
|
103
|
+
base: '#DDE6ED',
|
|
104
|
+
100: '#F7F9FA',
|
|
105
|
+
200: '#EAF2F5',
|
|
106
|
+
300: '#DDE6ED',
|
|
107
|
+
400: '#D1DAE5',
|
|
108
|
+
500: '#C4CFDD',
|
|
109
|
+
600: '#B7C3D5',
|
|
110
|
+
700: '#AAB8CD',
|
|
111
|
+
800: '#9DACB5',
|
|
112
|
+
900: '#90A19D',
|
|
113
|
+
},
|
|
114
|
+
green: {
|
|
115
|
+
base: '#82DD55',
|
|
116
|
+
100: '#F0FFF2',
|
|
117
|
+
200: '#E1FFD5',
|
|
118
|
+
300: '#D2FFB8',
|
|
119
|
+
400: '#C3FF9B',
|
|
120
|
+
500: '#82DD55',
|
|
121
|
+
600: '#6FC94A',
|
|
122
|
+
700: '#5CB53F',
|
|
123
|
+
800: '#4AA134',
|
|
124
|
+
900: '#388D29',
|
|
125
|
+
},
|
|
126
|
+
orange: {
|
|
127
|
+
base: '#EDB95E',
|
|
128
|
+
100: '#FFF7E6',
|
|
129
|
+
200: '#FFEDCC',
|
|
130
|
+
300: '#FFE4B2',
|
|
131
|
+
400: '#FFDA99',
|
|
132
|
+
500: '#EDB95E',
|
|
133
|
+
600: '#DAA54D',
|
|
134
|
+
700: '#C7913D',
|
|
135
|
+
800: '#B47D2D',
|
|
136
|
+
900: '#A1691D',
|
|
137
|
+
},
|
|
138
|
+
red: {
|
|
139
|
+
base: '#E23636',
|
|
140
|
+
100: '#FDECEC',
|
|
141
|
+
200: '#FBD1D1',
|
|
142
|
+
300: '#F9B6B6',
|
|
143
|
+
400: '#F79B9B',
|
|
144
|
+
500: '#E23636',
|
|
145
|
+
600: '#C72F2F',
|
|
146
|
+
700: '#AC2828',
|
|
147
|
+
800: '#912121',
|
|
148
|
+
900: '#761A1A',
|
|
149
|
+
},
|
|
150
|
+
} as Record<string, any>;
|
|
151
|
+
export const shades = 9;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
|
|
3
|
+
export const useTheme = () => {
|
|
4
|
+
const [theme, setTheme] = useState(document.body.getAttribute('data-theme') || 'light');
|
|
5
|
+
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
const currentTheme = document.body.getAttribute('data-theme') || 'light';
|
|
8
|
+
if (theme !== currentTheme) {
|
|
9
|
+
setTheme(currentTheme);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const observer = new MutationObserver((mutations) => {
|
|
13
|
+
mutations.forEach((mutation) => {
|
|
14
|
+
if (mutation.type === 'attributes' && mutation.attributeName === 'data-theme') {
|
|
15
|
+
setTheme(document.body.getAttribute('data-theme') || 'light');
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
observer.observe(document.body, { attributes: true });
|
|
21
|
+
|
|
22
|
+
return () => {
|
|
23
|
+
observer.disconnect();
|
|
24
|
+
};
|
|
25
|
+
}, [theme]);
|
|
26
|
+
|
|
27
|
+
return theme;
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Colors } from './Colors';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Canvas, Meta, Controls } from '@storybook/blocks';
|
|
2
|
+
import * as Sizing from './Sizing.stories';
|
|
3
|
+
|
|
4
|
+
<Meta title="Utility Classes/Sizing" />
|
|
5
|
+
# Sizing
|
|
6
|
+
The Sizing utility classes follow this pattern of usage.
|
|
7
|
+
|
|
8
|
+
Instructuions: `{property}{direction}-{size}` The property applies the type of spacing:
|
|
9
|
+
|
|
10
|
+
- `m` - applies margin
|
|
11
|
+
- `p` - applies padding
|
|
12
|
+
|
|
13
|
+
### The direction designates the side the property applies to:
|
|
14
|
+
|
|
15
|
+
- `t` - applies the spacing for margin-top and padding-top
|
|
16
|
+
- `b` - applies the spacing for margin-bottom and padding-bottom
|
|
17
|
+
- `l` - applies the spacing for margin-left and padding-left
|
|
18
|
+
- `r` - applies the spacing for margin-right and padding-right
|
|
19
|
+
- `x` - applies the spacing for margin and padding _-left and _-right
|
|
20
|
+
- `y` - applies the spacing for margin and padding _-top and _-bottom
|
|
21
|
+
- `a` - applies the spacing for margin and padding in all directions
|
|
22
|
+
|
|
23
|
+
### The size controls the increment of the property in 4px intervals:
|
|
24
|
+
|
|
25
|
+
- `0` - eliminates all margin and padding by setting it to 0
|
|
26
|
+
- `1` - sets margin or padding 4px
|
|
27
|
+
- `2` - sets margin or padding 8px
|
|
28
|
+
- `3` - sets margin or padding 12px
|
|
29
|
+
- `4` - sets margin or padding 16px
|
|
30
|
+
- `5` - sets margin or padding 20px
|
|
31
|
+
- `6` - sets margin or padding 24px
|
|
32
|
+
- `7` - sets margin or padding 28px
|
|
33
|
+
- `8` - sets margin or padding 32px
|
|
34
|
+
- `9` - sets margin or padding 36px
|
|
35
|
+
- `10` - sets margin or padding 40px
|
|
36
|
+
- `11` - sets margin or padding 44px
|
|
37
|
+
- `12` - sets margin or padding 48px
|
|
38
|
+
- `13` - sets margin or padding 52px
|
|
39
|
+
- `14` - sets margin or padding 56px
|
|
40
|
+
- `15` - sets margin or padding 60px
|
|
41
|
+
- `16` - sets margin or padding 64px
|
|
42
|
+
- `n1` - sets margin to -4px
|
|
43
|
+
- `n2` - sets margin to -8px
|
|
44
|
+
- `n3` - sets margin to -12px
|
|
45
|
+
- `n4` - sets margin to -16px
|
|
46
|
+
- `n5` - sets margin to -20px
|
|
47
|
+
- `n6` - sets margin to -24px
|
|
48
|
+
- `n7` - sets margin to -28px
|
|
49
|
+
- `n8` - sets margin to -32px
|
|
50
|
+
- `n9` - sets margin to -36px
|
|
51
|
+
- `n10` - sets margin to -40px
|
|
52
|
+
- `n11` - sets margin to -44px
|
|
53
|
+
- `n12` - sets margin to -48px
|
|
54
|
+
- `n13` - sets margin to -52px
|
|
55
|
+
- `n14` - sets margin to -56px
|
|
56
|
+
- `n15` - sets margin to -60px
|
|
57
|
+
- `n16` - sets margin to -64px
|
|
58
|
+
- `auto` - sets the spacing to auto
|
|
59
|
+
|
|
60
|
+
#### Example
|
|
61
|
+
|
|
62
|
+
<Canvas of={Sizing.Default} />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Sizing } from './Sizing';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Sizing> = {
|
|
5
|
+
title: 'remove/Sizing',
|
|
6
|
+
component: Sizing,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof Sizing>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Sizing } from './Sizing';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import '../../styles/_typography.scss';
|
|
2
|
+
import { Canvas, Meta, Controls } from '@storybook/blocks';
|
|
3
|
+
import * as Typography from './Typography.stories';
|
|
4
|
+
|
|
5
|
+
<Meta title="Utility Classes/Typography" />
|
|
6
|
+
# Typography
|
|
7
|
+
In order to leverage the typography utility classes, you must follow the pattern of usage laid out below.
|
|
8
|
+
|
|
9
|
+
**Note** Storybook adds padding and margin to text styles, these are not present in the actual
|
|
10
|
+
implementation.
|
|
11
|
+
|
|
12
|
+
## Headings
|
|
13
|
+
|
|
14
|
+
For headings, you can use either the regular `h 1->5` tags, or apply this helper class to the elements you want to style.
|
|
15
|
+
|
|
16
|
+
- <p className="text-h1">`text-h1`: Heading 1</p>
|
|
17
|
+
- <p className="text-h2">`text-h2`: Heading 2</p>
|
|
18
|
+
- <p className="text-h3">`text-h3`: Heading 3</p>
|
|
19
|
+
- <p className="text-h4">`text-h4`: Heading 4</p>
|
|
20
|
+
- <p className="text-h5">`text-h5`: Heading 5</p>
|
|
21
|
+
|
|
22
|
+
## Body Text and Subtitles
|
|
23
|
+
|
|
24
|
+
The body text 1 and p tags are the same font size. From there we increase or decrease accordingly.
|
|
25
|
+
|
|
26
|
+
- <p className="text-body">`text-body`: Body Text</p>
|
|
27
|
+
- <p className="text-body-2">`text-body-2`: Body Text 2</p>
|
|
28
|
+
- <p className="subtitle">`subtitle`: Subtitle</p>
|
|
29
|
+
- <p className="subtitle-2">`subtitle-2`: Subtitle 2</p>
|
|
30
|
+
- <p className="text-caption">`text-caption`: Caption</p>
|
|
31
|
+
- <p className="text-overline">`text-overline`: Overline</p>
|
|
32
|
+
|
|
33
|
+
## Text Transform
|
|
34
|
+
|
|
35
|
+
These classes change the case of the text.
|
|
36
|
+
|
|
37
|
+
- <p>
|
|
38
|
+
`.text-capitalize`:{' '}
|
|
39
|
+
<span className="text-capitalize">Capitalizes the first letter of each word.</span>
|
|
40
|
+
</p>
|
|
41
|
+
- <p>
|
|
42
|
+
`.text-uppercase`: <span className="text-uppercase">Converts all characters to uppercase.</span>
|
|
43
|
+
</p>
|
|
44
|
+
- <p>
|
|
45
|
+
`.text-lowercase`: <span className="text-lowercase">Converts all characters to lowercase.</span>
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
## Text Decoration
|
|
49
|
+
|
|
50
|
+
These classes add a line decoration to the text.
|
|
51
|
+
|
|
52
|
+
- <p className="text-decoration--none">`.text-decoration--none`: Removes all decorations.</p>
|
|
53
|
+
- <p className="text-decoration--underline">`.text-decoration--underline`: Adds an underline.</p>
|
|
54
|
+
- <p className="text-decoration--line-through">
|
|
55
|
+
`.text-decoration--line-through`: Adds a line through the text.
|
|
56
|
+
</p>
|
|
57
|
+
- <p className="text-decoration--overline">
|
|
58
|
+
`.text-decoration--overline`: Adds a line over the text.
|
|
59
|
+
</p>
|
|
60
|
+
|
|
61
|
+
- <p className="text-weight--thin">`.text-weight--thin`: Makes the text thin.</p>
|
|
62
|
+
- <p className="text-weight--light">`.text-weight--light`: Makes the text light.</p>
|
|
63
|
+
- <p className="text-weight--regular">`.text-weight--regular`: Makes the text regular.</p>
|
|
64
|
+
- <p className="text-weight--medium">`.text-weight--medium`: Makes the text medium.</p>
|
|
65
|
+
- <p className="text-weight--bold">`.text-weight--bold`: Makes the text bold.</p>
|
|
66
|
+
- <p className="text-weight--heavy">`.text-weight--heavy`: Makes the text heavy.</p>
|
|
67
|
+
|
|
68
|
+
## Text Alignment
|
|
69
|
+
|
|
70
|
+
These classes change the alignment of the text.
|
|
71
|
+
|
|
72
|
+
- <p className="text-align--left">`.text-align--left`: Aligns the text to the left.</p>
|
|
73
|
+
- <p className="text-align--center">`.text-align--center`: Centers the text.</p>
|
|
74
|
+
- <p className="text-align--right">`.text-align--right`: Aligns the text to the right.</p>
|
|
75
|
+
|
|
76
|
+
## Text Opacity
|
|
77
|
+
|
|
78
|
+
These classes change the opacity of the text. They range from 0 to 100 in 5% increments.
|
|
79
|
+
|
|
80
|
+
- <p className="text-opacity--100">`.text-opacity--0`: Makes the text fully transparent.</p>
|
|
81
|
+
- <p className="text-opacity--100">`.text-opacity--50`: Makes the text 50% opaque.</p>
|
|
82
|
+
- <p className="text-opacity--100">`.text-opacity--100`: Makes the text fully opaque.</p>
|
|
83
|
+
|
|
84
|
+
## Word Wrap
|
|
85
|
+
|
|
86
|
+
This class changes how long words are broken to the next line.
|
|
87
|
+
|
|
88
|
+
- <p className="text-break--word">`.text-break--word`: Breaks words to prevent overflow.</p>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Typography } from './Typography';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Typography> = {
|
|
5
|
+
title: 'remove/typography',
|
|
6
|
+
component: Typography,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof Typography>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Typography } from './Typography';
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faIcons } from '
|
|
2
|
-
import { indicons } from '
|
|
1
|
+
import { faIcons } from './legacy/components/Icon/faIcons';
|
|
2
|
+
import { indicons } from './legacy/components/Icon/indicons';
|
|
3
3
|
|
|
4
4
|
const allIcons = {
|
|
5
5
|
...faIcons,
|
|
@@ -19,6 +19,6 @@ export type ButtonVariant = 'default' | 'primary' | 'destructive';
|
|
|
19
19
|
export type ButtonSize = 'normal' | 'large';
|
|
20
20
|
|
|
21
21
|
// Component types -- TODO -- move to their own files
|
|
22
|
-
import { ListItem } from './components/Navigation/Drawer/types';
|
|
22
|
+
import { ListItem } from './legacy/components/Navigation/Drawer/types';
|
|
23
23
|
|
|
24
24
|
export type { ListItem };
|
package/webpack.config.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
2
2
|
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
3
5
|
process.env.NODE_ENV = 'development';
|
|
4
6
|
const host = process.env.HOST || 'localhost';
|
|
5
7
|
|
|
@@ -26,10 +28,23 @@ module.exports = {
|
|
|
26
28
|
loader: 'babel-loader',
|
|
27
29
|
},
|
|
28
30
|
},
|
|
31
|
+
{
|
|
32
|
+
test: /\.mdx$/,
|
|
33
|
+
use: ['babel-loader', '@mdx-js/loader'],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
test: /\.scss$/,
|
|
37
|
+
use: ['style-loader', {
|
|
38
|
+
loader: 'css-loader',
|
|
39
|
+
options: {
|
|
40
|
+
modules: false,
|
|
41
|
+
},
|
|
42
|
+
}, 'sass-loader'],
|
|
43
|
+
},
|
|
29
44
|
],
|
|
30
45
|
},
|
|
31
46
|
resolve: {
|
|
32
|
-
extensions: ['.mjs', '.js', '.cjs', '.jsx', '.tsx', '.ts'],
|
|
47
|
+
extensions: ['.mjs', '.js', '.cjs', '.jsx', '.tsx', '.ts', '.mdx'],
|
|
33
48
|
modules: ['node_modules'],
|
|
34
49
|
},
|
|
35
50
|
externals: {
|
|
@@ -39,4 +54,4 @@ module.exports = {
|
|
|
39
54
|
'react-select': 'react-select',
|
|
40
55
|
'styled-components': 'styled-components',
|
|
41
56
|
},
|
|
42
|
-
};
|
|
57
|
+
};
|
package/.storybook/themes.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { create } from '@storybook/theming/create';
|
|
2
|
-
|
|
3
|
-
import indicoDataLogo from './indico-data-logo.svg';
|
|
4
|
-
|
|
5
|
-
export const lightTheme = create({
|
|
6
|
-
// UI
|
|
7
|
-
appBorderRadius: 4,
|
|
8
|
-
|
|
9
|
-
// Typography
|
|
10
|
-
fontBase: 'Noto Sans, Avenir Next, Avenir, Noto, sans-serif',
|
|
11
|
-
fontCode: 'monospace',
|
|
12
|
-
|
|
13
|
-
// Form colors
|
|
14
|
-
inputBorderRadius: 4,
|
|
15
|
-
|
|
16
|
-
brandTitle: 'indico',
|
|
17
|
-
brandUrl: 'indicodata.ai',
|
|
18
|
-
|
|
19
|
-
base: 'light',
|
|
20
|
-
|
|
21
|
-
appBg: 'rgba(132,152,182,0.2)',
|
|
22
|
-
|
|
23
|
-
brandImage: indicoDataLogo,
|
|
24
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { Icon } from './Icon';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
component: typeof Icon;
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: {
|
|
8
|
-
ariaLabel: {
|
|
9
|
-
control: {
|
|
10
|
-
disable: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
name: {
|
|
17
|
-
control: {
|
|
18
|
-
type: string;
|
|
19
|
-
options: ("checkbox" | "ellipsis" | "help" | "pointer" | "text" | "zoom-in" | "zoom-out" | "reset" | "menu" | "search" | "split" | "indico-o-white" | "account" | "address" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "bookmark" | "bookmarks" | "bookmark-saved" | "branch" | "calendar" | "check-circle" | "circle-help" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "cog" | "collection" | "compare" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "choose-library" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "document" | "date" | "draggable" | "droplet" | "edit" | "education" | "elmos-fire" | "email" | "enterprise" | "exclamation-circle-stroke" | "extraction" | "eye" | "file" | "fileHappy" | "filter" | "filter-outline" | "folder" | "form" | "gallery" | "find-documents" | "graphiql" | "grid-view" | "happy" | "help-solid" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "label" | "layout-complex" | "layout-simple" | "list-view" | "libraries" | "location" | "logout" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-collections" | "no-libraries" | "no_results" | "no-format" | "object-detection" | "organizations" | "output" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "popup" | "price" | "preview-view" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "search-thin" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "thumbs-down" | "thumbs-up" | "time" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "warning-stroke" | "workflows" | "x-close" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list")[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
24
|
-
id?: string | undefined;
|
|
25
|
-
className?: string | undefined;
|
|
26
|
-
'data-cy'?: string | undefined;
|
|
27
|
-
'data-testid'?: string | undefined;
|
|
28
|
-
ariaLabel?: string | undefined;
|
|
29
|
-
fill?: string | undefined;
|
|
30
|
-
name: "checkbox" | "ellipsis" | "help" | "pointer" | "text" | "zoom-in" | "zoom-out" | "reset" | "menu" | "search" | "split" | "indico-o-white" | "account" | "address" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "bookmark" | "bookmarks" | "bookmark-saved" | "branch" | "calendar" | "check-circle" | "circle-help" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "cog" | "collection" | "compare" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "choose-library" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "document" | "date" | "draggable" | "droplet" | "edit" | "education" | "elmos-fire" | "email" | "enterprise" | "exclamation-circle-stroke" | "extraction" | "eye" | "file" | "fileHappy" | "filter" | "filter-outline" | "folder" | "form" | "gallery" | "find-documents" | "graphiql" | "grid-view" | "happy" | "help-solid" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "label" | "layout-complex" | "layout-simple" | "list-view" | "libraries" | "location" | "logout" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-collections" | "no-libraries" | "no_results" | "no-format" | "object-detection" | "organizations" | "output" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "popup" | "price" | "preview-view" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "search-thin" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "thumbs-down" | "thumbs-up" | "time" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "warning-stroke" | "workflows" | "x-close" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list";
|
|
31
|
-
size?: [string | number] | [string | number, string | number] | undefined;
|
|
32
|
-
style?: any;
|
|
33
|
-
onClick?: (() => void) | undefined;
|
|
34
|
-
ref?: React.Ref<SVGSVGElement> | undefined;
|
|
35
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
type Story = StoryObj<typeof Icon>;
|
|
39
|
-
export declare const General: Story;
|
|
40
|
-
export declare const Indicon: Story;
|
|
41
|
-
export declare const FontAwesome: Story;
|
|
42
|
-
export declare const SizeSpecified: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type Props = {
|
|
3
|
-
$collapsedWidth?: string;
|
|
4
|
-
$expandedWidth?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const StyledDrawer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Props>>;
|
|
7
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Toggle } from './Toggle';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: (props: {
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
onChange: any;
|
|
7
|
-
value: boolean;
|
|
8
|
-
"aria-label"?: string | undefined;
|
|
9
|
-
iconSize?: string | number | undefined;
|
|
10
|
-
checkedIconName?: "checkbox" | "ellipsis" | "help" | "pointer" | "text" | "zoom-in" | "zoom-out" | "reset" | "menu" | "search" | "split" | "indico-o-white" | "account" | "address" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "bookmark" | "bookmarks" | "bookmark-saved" | "branch" | "calendar" | "check-circle" | "circle-help" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "cog" | "collection" | "compare" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "choose-library" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "document" | "date" | "draggable" | "droplet" | "edit" | "education" | "elmos-fire" | "email" | "enterprise" | "exclamation-circle-stroke" | "extraction" | "eye" | "file" | "fileHappy" | "filter" | "filter-outline" | "folder" | "form" | "gallery" | "find-documents" | "graphiql" | "grid-view" | "happy" | "help-solid" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "label" | "layout-complex" | "layout-simple" | "list-view" | "libraries" | "location" | "logout" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-collections" | "no-libraries" | "no_results" | "no-format" | "object-detection" | "organizations" | "output" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "popup" | "price" | "preview-view" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "search-thin" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "thumbs-down" | "thumbs-up" | "time" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "warning-stroke" | "workflows" | "x-close" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list" | undefined;
|
|
11
|
-
notCheckedIconName?: "checkbox" | "ellipsis" | "help" | "pointer" | "text" | "zoom-in" | "zoom-out" | "reset" | "menu" | "search" | "split" | "indico-o-white" | "account" | "address" | "api-doc" | "arrow-dots" | "arrow-down" | "arrow-up-circle" | "arrows-cursor" | "bookmark" | "bookmarks" | "bookmark-saved" | "branch" | "calendar" | "check-circle" | "circle-help" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "classification-document" | "classification-image" | "classification-page" | "classify-and-unbundle" | "clipboard" | "coffee-1" | "coffee-2" | "coffee-fail" | "coffeecup" | "coffeesteam" | "cog" | "collection" | "compare" | "company-name" | "confidence-bar-1" | "confidence-bar-2" | "confidence-bar-3" | "confidence-bar-4" | "confidence-bars" | "configure" | "choose-library" | "crowdlabel" | "currency" | "dashboard" | "data-and-access" | "database" | "document" | "date" | "draggable" | "droplet" | "edit" | "education" | "elmos-fire" | "email" | "enterprise" | "exclamation-circle-stroke" | "extraction" | "eye" | "file" | "fileHappy" | "filter" | "filter-outline" | "folder" | "form" | "gallery" | "find-documents" | "graphiql" | "grid-view" | "happy" | "help-solid" | "highlight" | "highlight-outline" | "indico-logo-white" | "indico-o" | "info" | "kabob" | "key" | "label" | "layout-complex" | "layout-simple" | "list-view" | "libraries" | "location" | "logout" | "lock" | "model-import" | "model-starter" | "moon" | "moonbow" | "no-collections" | "no-libraries" | "no_results" | "no-format" | "object-detection" | "organizations" | "output" | "page-thumbnail" | "pay-as-you-go" | "person" | "phone" | "pin" | "plus" | "popup" | "price" | "preview-view" | "radio-button" | "recruiter" | "regex" | "reject" | "repair" | "research" | "retrain" | "sad" | "search-thin" | "shrug" | "signature" | "sort-down" | "step-forward" | "sun" | "surround" | "surround-outline" | "thumbs-down" | "thumbs-up" | "time" | "trash" | "unlock" | "upload" | "url" | "user" | "wand" | "warning" | "warning-stroke" | "workflows" | "x-close" | "fa-dot-circle" | "fa-file" | "fa-file-alt" | "fa-file-pdf" | "fa-file-word" | "fa-check-square" | "fa-square" | "fa-angle-double-left" | "fa-arrow-circle-right" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-ban" | "fa-caret-down" | "fa-caret-up" | "fa-chart-bar" | "fa-check" | "fa-check-circle" | "fa-circle-notch" | "fa-clipboard" | "fa-clock" | "fa-clone" | "fa-cloud" | "fa-cog" | "fa-cogs" | "fa-coins" | "fa-cube" | "fa-cut" | "fa-download" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-external-link-alt" | "fa-eye-dropper" | "fa-file-download" | "fa-file-export" | "fa-file-upload" | "fa-filter" | "fa-ghost" | "fa-hat-wizard" | "fa-info-circle" | "fa-key" | "fa-keyboard" | "fa-layer-group" | "fa-pencil-alt" | "fa-plus" | "fa-plus-square" | "fa-question-circle" | "fa-robot" | "fa-search" | "fa-sign-out-alt" | "fa-sliders-h" | "fa-sync-alt" | "fa-tag" | "fa-times" | "fa-times-circle" | "fa-tint" | "fa-toggle-off" | "fa-toggle-on" | "fa-trash" | "fa-trash-alt" | "fa-undo" | "fa-user" | "fa-users" | "fa-mouse-pointer" | "fa-step-forward" | "fa-search-minus" | "fa-search-plus" | "fa-table" | "fa-image" | "fa-link" | "fa-list" | undefined;
|
|
12
|
-
} & import("../../types").PermafrostComponent) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
title: string;
|
|
14
|
-
argTypes: {};
|
|
15
|
-
args: {};
|
|
16
|
-
};
|
|
17
|
-
export default meta;
|
|
18
|
-
type Story = StoryObj<typeof Toggle>;
|
|
19
|
-
export declare const Normal: Story;
|
|
20
|
-
export declare const Disabled: Story;
|
|
21
|
-
export declare const Icons: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|