@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,89 @@
|
|
|
1
|
+
:root [data-theme="dark"] {
|
|
2
|
+
|
|
3
|
+
// Primary Color
|
|
4
|
+
--pf-primary-color: #27374D;
|
|
5
|
+
|
|
6
|
+
--pf-primary-color-100: #E2E4E8;
|
|
7
|
+
--pf-primary-color-200: #B6BAC1;
|
|
8
|
+
--pf-primary-color-300: #898F9A;
|
|
9
|
+
--pf-primary-color-400: #5D6573;
|
|
10
|
+
--pf-primary-color-500: #27374D;
|
|
11
|
+
--pf-primary-color-600: #202C3A;
|
|
12
|
+
--pf-primary-color-700: #192228;
|
|
13
|
+
--pf-primary-color-800: #131816;
|
|
14
|
+
--pf-primary-color-900: #0D0E0E;
|
|
15
|
+
|
|
16
|
+
// Secondary Color
|
|
17
|
+
--pf-secondary-color: #526D82;
|
|
18
|
+
|
|
19
|
+
--pf-secondary-color-100: #E6E9EB;
|
|
20
|
+
--pf-secondary-color-200: #C0C7CD;
|
|
21
|
+
--pf-secondary-color-300: #99A5AF;
|
|
22
|
+
--pf-secondary-color-400: #738491;
|
|
23
|
+
--pf-secondary-color-500: #526D82;
|
|
24
|
+
--pf-secondary-color-600: #3F5866;
|
|
25
|
+
--pf-secondary-color-700: #2C434A;
|
|
26
|
+
--pf-secondary-color-800: #1A2E2E;
|
|
27
|
+
--pf-secondary-color-900: #071919;
|
|
28
|
+
|
|
29
|
+
// Gray Color
|
|
30
|
+
--pf-gray-color: #DDE6ED;
|
|
31
|
+
|
|
32
|
+
--pf-gray-color-100: #F7F9FA;
|
|
33
|
+
--pf-gray-color-200: #EAF2F5;
|
|
34
|
+
--pf-gray-color-300: #DDE6ED;
|
|
35
|
+
--pf-gray-color-400: #D1DAE5;
|
|
36
|
+
--pf-gray-color-500: #C4CFDD;
|
|
37
|
+
--pf-gray-color-600: #B7C3D5;
|
|
38
|
+
--pf-gray-color-700: #AAB8CD;
|
|
39
|
+
--pf-gray-color-800: #9DACB5;
|
|
40
|
+
--pf-gray-color-900: #90A19D;
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
//Green Color
|
|
44
|
+
--pf-green-color: #82DD55;
|
|
45
|
+
|
|
46
|
+
--pf-green-color-100: #F0FFF2;
|
|
47
|
+
--pf-green-color-200: #E1FFD5;
|
|
48
|
+
--pf-green-color-300: #D2FFB8;
|
|
49
|
+
--pf-green-color-400: #C3FF9B;
|
|
50
|
+
--pf-green-color-500: #82DD55;
|
|
51
|
+
--pf-green-color-600: #6FC94A;
|
|
52
|
+
--pf-green-color-700: #5CB53F;
|
|
53
|
+
--pf-green-color-800: #4AA134;
|
|
54
|
+
--pf-green-color-900: #388D29;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
//Orange color
|
|
58
|
+
--pf-orange-color: #EDB95E;
|
|
59
|
+
|
|
60
|
+
--pf-orange-color-100: #FFF7E6;
|
|
61
|
+
--pf-orange-color-200: #FFEDCC;
|
|
62
|
+
--pf-orange-color-300: #FFE4B2;
|
|
63
|
+
--pf-orange-color-400: #FFDA99;
|
|
64
|
+
--pf-orange-color-500: #EDB95E;
|
|
65
|
+
--pf-orange-color-600: #DAA54D;
|
|
66
|
+
--pf-orange-color-700: #C7913D;
|
|
67
|
+
--pf-orange-color-800: #B47D2D;
|
|
68
|
+
--pf-orange-color-900: #A1691D;
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
//Red color
|
|
72
|
+
--pf-red-color: #E23636;
|
|
73
|
+
|
|
74
|
+
--pf-red-color-100: #FDECEC;
|
|
75
|
+
--pf-red-color-200: #FBD1D1;
|
|
76
|
+
--pf-red-color-300: #F9B6B6;
|
|
77
|
+
--pf-red-color-400: #F79B9B;
|
|
78
|
+
--pf-red-color-500: #E23636;
|
|
79
|
+
--pf-red-color-600: #C72F2F;
|
|
80
|
+
--pf-red-color-700: #AC2828;
|
|
81
|
+
--pf-red-color-800: #912121;
|
|
82
|
+
--pf-red-color-900: #761A1A;
|
|
83
|
+
|
|
84
|
+
// Utility Colors
|
|
85
|
+
--pf-error-color: var(--pf-red-color);
|
|
86
|
+
--pf-success-color: var(--pf-green-color);
|
|
87
|
+
--pf-warning-color: var(--pf-orange-color);
|
|
88
|
+
--pf-info-color: var(--pf-gray-color);
|
|
89
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
:root [data-theme='light'],
|
|
2
|
+
:root {
|
|
3
|
+
// Primary Color
|
|
4
|
+
--pf-primary-color: #6833d0;
|
|
5
|
+
|
|
6
|
+
--pf-primary-color-100: #f0ebfa;
|
|
7
|
+
--pf-primary-color-200: #d5c6f2;
|
|
8
|
+
--pf-primary-color-300: #baa1e9;
|
|
9
|
+
--pf-primary-color-400: #8c64db;
|
|
10
|
+
--pf-primary-color-500: #6833d0;
|
|
11
|
+
--pf-primary-color-600: #5e2ebb;
|
|
12
|
+
--pf-primary-color-700: #5329a6;
|
|
13
|
+
--pf-primary-color-800: #492492;
|
|
14
|
+
--pf-primary-color-900: #3e1f7d;
|
|
15
|
+
|
|
16
|
+
// Secondary Color
|
|
17
|
+
--pf-secondary-color: #0070f5;
|
|
18
|
+
--pf-secondary-color-100: #dceafd;
|
|
19
|
+
--pf-secondary-color-200: #b3d4fc;
|
|
20
|
+
--pf-secondary-color-300: #7ab5fa;
|
|
21
|
+
--pf-secondary-color-400: #4797f5;
|
|
22
|
+
--pf-secondary-color-500: #0070f5;
|
|
23
|
+
--pf-secondary-color-600: #0067e1;
|
|
24
|
+
--pf-secondary-color-700: #005ac4;
|
|
25
|
+
--pf-secondary-color-800: #004eac;
|
|
26
|
+
--pf-secondary-color-900: #004393;
|
|
27
|
+
|
|
28
|
+
//Gray Color
|
|
29
|
+
--pf-gray-color: #444444;
|
|
30
|
+
|
|
31
|
+
--pf-gray-color-100: #eeeeee;
|
|
32
|
+
--pf-gray-color-200: #d0d0d0;
|
|
33
|
+
--pf-gray-color-300: #a9a9a9;
|
|
34
|
+
--pf-gray-color-400: #737373;
|
|
35
|
+
--pf-gray-color-500: #444444;
|
|
36
|
+
--pf-gray-color-600: #373737;
|
|
37
|
+
--pf-gray-color-700: #2c2c2c;
|
|
38
|
+
--pf-gray-color-800: #1f1f1f;
|
|
39
|
+
--pf-gray-color-900: #141414;
|
|
40
|
+
|
|
41
|
+
//Green Color *do success warning etc etc
|
|
42
|
+
--pf-green-color: #008a00;
|
|
43
|
+
--pf-green-color-100: #d6ecd6;
|
|
44
|
+
--pf-green-color-200: #99d099;
|
|
45
|
+
--pf-green-color-300: #66b966;
|
|
46
|
+
--pf-green-color-400: #33a133;
|
|
47
|
+
--pf-green-color-500: #008a00;
|
|
48
|
+
--pf-green-color-600: #007c00;
|
|
49
|
+
--pf-green-color-700: #006e00;
|
|
50
|
+
--pf-green-color-800: #006100;
|
|
51
|
+
--pf-green-color-900: #005300;
|
|
52
|
+
|
|
53
|
+
//Orange color
|
|
54
|
+
--pf-orange-color: #ffa424;
|
|
55
|
+
--pf-orange-color-100: #ffdfb2;
|
|
56
|
+
--pf-orange-color-200: #ffd292;
|
|
57
|
+
--pf-orange-color-300: #ffc471;
|
|
58
|
+
--pf-orange-color-400: #ffb650;
|
|
59
|
+
--pf-orange-color-500: #ffa424;
|
|
60
|
+
--pf-orange-color-600: #f29c22;
|
|
61
|
+
--pf-orange-color-700: #e69420;
|
|
62
|
+
--pf-orange-color-800: #cc831d;
|
|
63
|
+
--pf-orange-color-900: #b37319;
|
|
64
|
+
|
|
65
|
+
//Red color
|
|
66
|
+
--pf-red-color: #e72326;
|
|
67
|
+
--pf-red-color-100: #ffd6d6;
|
|
68
|
+
--pf-red-color-200: #f49ea0;
|
|
69
|
+
--pf-red-color-300: #ef696b;
|
|
70
|
+
--pf-red-color-400: #eb4649;
|
|
71
|
+
--pf-red-color-500: #e72326;
|
|
72
|
+
--pf-red-color-600: #d52023;
|
|
73
|
+
--pf-red-color-700: #c21d20;
|
|
74
|
+
--pf-red-color-800: #b01b1d;
|
|
75
|
+
--pf-red-color-900: #9d181a;
|
|
76
|
+
|
|
77
|
+
//White color
|
|
78
|
+
--pf-white-color: #ffffff;
|
|
79
|
+
|
|
80
|
+
// Utility Colors
|
|
81
|
+
--pf-error-color: var(--pf-red-color);
|
|
82
|
+
--pf-success-color: var(--pf-green-color);
|
|
83
|
+
--pf-warning-color: var(--pf-orange-color);
|
|
84
|
+
--pf-info-color: var(--pf-gray-color);
|
|
85
|
+
--pf-link-color: var(--pf-secondary-color);
|
|
86
|
+
--pf-link-hover-color: var(--pf-secondary-color-400);
|
|
87
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BorderColor } from './BorderColor';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof BorderColor> = {
|
|
5
|
+
title: 'remove/BorderColor',
|
|
6
|
+
component: BorderColor,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof BorderColor>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../styles/_borders.scss';
|
|
3
|
+
import './borders.scss';
|
|
4
|
+
|
|
5
|
+
export const BorderColor = () => {
|
|
6
|
+
return (
|
|
7
|
+
<div className="sb__border-story">
|
|
8
|
+
<div>
|
|
9
|
+
<div className="sb__square bg-gray-800 border border-lg border-primary"></div>
|
|
10
|
+
<p className="text-align--center">border-primary</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<div className="sb__square bg-gray-800 border border-lg border-secondary"></div>
|
|
14
|
+
<p className="text-align--center">border-secondary</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<div className="sb__square bg-gray-800 border border-lg border-gray"></div>
|
|
18
|
+
<p className="text-align--center">border-gray</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div>
|
|
21
|
+
<div className="sb__square bg-gray-800 border border-lg border-green"></div>
|
|
22
|
+
<p className="text-align--center">border-green</p>
|
|
23
|
+
</div>
|
|
24
|
+
<div>
|
|
25
|
+
<div className="sb__square bg-gray-800 border border-lg border-red"></div>
|
|
26
|
+
<p className="text-align--center">border-red</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div>
|
|
29
|
+
<div className="sb__square bg-gray-800 border border-lg border-orange"></div>
|
|
30
|
+
<p className="text-align--center">border-orange</p>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BorderRadius } from './BorderRadius';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof BorderRadius> = {
|
|
5
|
+
title: 'remove/BorderRadius',
|
|
6
|
+
component: BorderRadius,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof BorderRadius>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../styles/_borders.scss';
|
|
3
|
+
import './borders.scss';
|
|
4
|
+
|
|
5
|
+
export const BorderRadius = () => {
|
|
6
|
+
return (
|
|
7
|
+
<div className="sb__border-story">
|
|
8
|
+
<div>
|
|
9
|
+
<div className="sb__square bg-gray-800 rounded"></div>
|
|
10
|
+
<p className="text-align--center">rounded</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<div className="sb__square bg-gray-800 rounded-0"></div>
|
|
14
|
+
<p className="text-align--center">rounded-0</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<div className="sb__square bg-gray-800 rounded-sm"></div>
|
|
18
|
+
<p className="text-align--center">rounded-sm</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div>
|
|
21
|
+
<div className="sb__square bg-gray-800 rounded-md"></div>
|
|
22
|
+
<p className="text-align--center">rounded-md</p>
|
|
23
|
+
</div>
|
|
24
|
+
<div>
|
|
25
|
+
<div className="sb__square bg-gray-800 rounded-lg"></div>
|
|
26
|
+
<p className="text-align--center">rounded-lg</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div>
|
|
29
|
+
<div className="sb__square bg-gray-800 rounded-xl"></div>
|
|
30
|
+
<p className="text-align--center">rounded-xl</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div>
|
|
33
|
+
<div className="sb__square bg-gray-800 rounded-pill"></div>
|
|
34
|
+
<p className="text-align--center">rounded-pill</p>
|
|
35
|
+
</div>
|
|
36
|
+
<div>
|
|
37
|
+
<div className="sb__square bg-gray-800 rounded-circle"></div>
|
|
38
|
+
<p className="text-align--center">rounded-circle</p>
|
|
39
|
+
</div>
|
|
40
|
+
<div>
|
|
41
|
+
<div className="sb__square bg-gray-800 rounded-shaped"></div>
|
|
42
|
+
<p className="text-align--center">rounded-shaped</p>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
);
|
|
46
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BorderStyles } from './BorderStyles';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof BorderStyles> = {
|
|
5
|
+
title: 'remove/BorderStyles',
|
|
6
|
+
component: BorderStyles,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof BorderStyles>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../styles/_borders.scss';
|
|
3
|
+
import './borders.scss';
|
|
4
|
+
|
|
5
|
+
export const BorderStyles = () => {
|
|
6
|
+
return (
|
|
7
|
+
<div className="sb__border-story">
|
|
8
|
+
<div>
|
|
9
|
+
<div className="sb__square bg-gray-800 border-dotted"></div>
|
|
10
|
+
<p className="text-align--center">border-dotted</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<div className="sb__square bg-gray-800 border-dashed"></div>
|
|
14
|
+
<p className="text-align--center">border-dashed</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<div className="sb__square bg-gray-800 border-solid"></div>
|
|
18
|
+
<p className="text-align--center">border-solid</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div>
|
|
21
|
+
<div className="sb__square bg-gray-800 border-double"></div>
|
|
22
|
+
<p className="text-align--center">border-double</p>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BorderThickness } from './BorderThickness';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof BorderThickness> = {
|
|
5
|
+
title: 'remove/BorderThickness',
|
|
6
|
+
component: BorderThickness,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof BorderThickness>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../styles/_borders.scss';
|
|
3
|
+
import './borders.scss';
|
|
4
|
+
|
|
5
|
+
export const BorderThickness = () => {
|
|
6
|
+
return (
|
|
7
|
+
<div className="sb__border-story">
|
|
8
|
+
<div>
|
|
9
|
+
<div className="sb__square bg-gray-800 border-red border"></div>
|
|
10
|
+
<p className="text-align--center">border</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<div className="sb__square bg-gray-800 border-red border-0"></div>
|
|
14
|
+
<p className="text-align--center">border-0</p>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<div className="sb__square bg-gray-800 border-red border-thin"></div>
|
|
18
|
+
<p className="text-align--center">border-thin</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div>
|
|
21
|
+
<div className="sb__square bg-gray-800 border-red border-sm"></div>
|
|
22
|
+
<p className="text-align--center">border-sm</p>
|
|
23
|
+
</div>
|
|
24
|
+
<div>
|
|
25
|
+
<div className="sb__square bg-gray-800 border-red border-md"></div>
|
|
26
|
+
<p className="text-align--center">border-md</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div>
|
|
29
|
+
<div className="sb__square bg-gray-800 border-red border-lg"></div>
|
|
30
|
+
<p className="text-align--center">border-lg</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div>
|
|
33
|
+
<div className="sb__square bg-gray-800 border-red border-xl"></div>
|
|
34
|
+
<p className="text-align--center">border-xl</p>
|
|
35
|
+
</div>
|
|
36
|
+
<div>
|
|
37
|
+
<div className="sb__square bg-gray-800 border-red border-t-xl"></div>
|
|
38
|
+
<p className="text-align--center">border-t-xl</p>
|
|
39
|
+
</div>
|
|
40
|
+
<div>
|
|
41
|
+
<div className="sb__square bg-gray-800 border-red border-b-md"></div>
|
|
42
|
+
<p className="text-align--center">border-b-md</p>
|
|
43
|
+
</div>
|
|
44
|
+
<div>
|
|
45
|
+
<div className="sb__square bg-gray-800 border-red border-r-0"></div>
|
|
46
|
+
<p className="text-align--center">border-r-0</p>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import '../../styles/_borders.scss';
|
|
2
|
+
import { Canvas, Meta, Controls } from '@storybook/blocks';
|
|
3
|
+
import * as BorderColor from './BorderColor.stories';
|
|
4
|
+
import * as BorderStyles from './BorderStyles.stories';
|
|
5
|
+
import * as BorderRadius from './BorderRadius.stories';
|
|
6
|
+
import * as BorderThickness from './BorderThickness.stories';
|
|
7
|
+
|
|
8
|
+
<Meta title="Utility Classes/Borders" />
|
|
9
|
+
|
|
10
|
+
# Borders
|
|
11
|
+
|
|
12
|
+
All borders with the exception of `border-style` come with the default value of `border-style: solid` applied.
|
|
13
|
+
|
|
14
|
+
### Colors
|
|
15
|
+
|
|
16
|
+
The examples below pull from the color variables set. You can apply the classes to an element to apply that border colorList.
|
|
17
|
+
|
|
18
|
+
<Canvas of={BorderColor.Default} />
|
|
19
|
+
|
|
20
|
+
### Styles
|
|
21
|
+
|
|
22
|
+
<Canvas of={BorderStyles.Default} />
|
|
23
|
+
|
|
24
|
+
### Border Radius
|
|
25
|
+
|
|
26
|
+
<Canvas of={BorderRadius.Default} />
|
|
27
|
+
|
|
28
|
+
### Border Thickness
|
|
29
|
+
|
|
30
|
+
The border thickness utility class work similar to our margin and padding, where we follow this pattern `border-{style}` for all the directions and `border-{side}-{style}` for everything else. Below are just some of the combinations you could achieve with this pattern.
|
|
31
|
+
|
|
32
|
+
<Canvas of={BorderThickness.Default} />
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Canvas, Meta, Controls } from '@storybook/blocks';
|
|
2
|
+
import * as Colors from './Colors.stories';
|
|
3
|
+
|
|
4
|
+
<Meta title="Styles And Animations/Colors And Swatches" />
|
|
5
|
+
# Colors
|
|
6
|
+
|
|
7
|
+
Click on the swatch to copy the color to your clipboard.
|
|
8
|
+
<Canvas of={Colors.Default} />
|
|
9
|
+
|
|
10
|
+
## CSS Variable Syntax
|
|
11
|
+
|
|
12
|
+
In order to use or override a color listed above, you would use the following syntax.
|
|
13
|
+
|
|
14
|
+
### Using A Variable
|
|
15
|
+
|
|
16
|
+
The syntax for invoking a variable in your CSS code follows this pattern.
|
|
17
|
+
|
|
18
|
+
```css
|
|
19
|
+
.myElement {
|
|
20
|
+
color: var(--pf-primary-color-100);
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Overriding A Variable
|
|
25
|
+
|
|
26
|
+
The syntax for overriding a variable in your CSS code follows this pattern.
|
|
27
|
+
|
|
28
|
+
```css
|
|
29
|
+
:root {
|
|
30
|
+
--pf-primary-color-100: #ff0000;
|
|
31
|
+
}
|
|
32
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Colors } from './Colors';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Colors> = {
|
|
5
|
+
title: 'remove/colors',
|
|
6
|
+
component: Colors,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof Colors>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Container, Row, Col } from 'react-grid-system';
|
|
3
|
+
import { colorList, darkThemeColors, lightThemeColors, shades } from './constants';
|
|
4
|
+
import { Swatch } from './Swatch';
|
|
5
|
+
import { useTheme } from './hooks'; // import the custom hook
|
|
6
|
+
|
|
7
|
+
export const Colors = () => {
|
|
8
|
+
const theme = useTheme(); // use the custom hook
|
|
9
|
+
|
|
10
|
+
const themeColors = theme === 'dark' ? darkThemeColors : lightThemeColors;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<Container>
|
|
14
|
+
<Row>
|
|
15
|
+
{colorList.map((color) => {
|
|
16
|
+
return (
|
|
17
|
+
<Col sm={4} key={color}>
|
|
18
|
+
<h1 className="text-capitalize my-5">{color}</h1>
|
|
19
|
+
{Array.from({ length: shades }, (_, i) => (i + 1) * 100).map((shade) => {
|
|
20
|
+
const colorValue = themeColors[color][shade];
|
|
21
|
+
return <Swatch key={shade} color={color} shade={shade} colorValue={colorValue} />;
|
|
22
|
+
})}
|
|
23
|
+
</Col>
|
|
24
|
+
);
|
|
25
|
+
})}
|
|
26
|
+
</Row>
|
|
27
|
+
</Container>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './swatches.scss';
|
|
3
|
+
import { Row, Col } from 'react-grid-system';
|
|
4
|
+
interface Props {
|
|
5
|
+
color: string;
|
|
6
|
+
shade: number;
|
|
7
|
+
colorValue: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Swatch = ({ color, shade, colorValue }: Props) => {
|
|
11
|
+
const handleCopy = (colorValue: string) => {
|
|
12
|
+
navigator.clipboard.writeText(colorValue);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<Row className="sb__swatch" key={shade} onClick={() => handleCopy(colorValue)}>
|
|
17
|
+
<Col xs="content">
|
|
18
|
+
<div className={`sb__swatch__block bg-${color}-${shade}`}></div>
|
|
19
|
+
</Col>
|
|
20
|
+
<Col className="sb__swatch__description">
|
|
21
|
+
{shade} - {colorValue}
|
|
22
|
+
</Col>
|
|
23
|
+
</Row>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '../../styles/_colors.scss';
|
|
2
|
+
import { Canvas, Meta, Controls } from '@storybook/blocks';
|
|
3
|
+
import * as UtilityClasses from './UtilityClasses.stories';
|
|
4
|
+
|
|
5
|
+
{' '}
|
|
6
|
+
<Meta title="Utility Classes/Colors" />
|
|
7
|
+
# Color Utility Classes
|
|
8
|
+
|
|
9
|
+
The following pattern is to be used as a method of styling your elements with the colors listed below. We support ***100 to 900*** for our variable ranges.
|
|
10
|
+
<Canvas of={UtilityClasses.Default} />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { UtilityClasses } from './UtilityClasses';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof UtilityClasses> = {
|
|
5
|
+
title: 'remove/UtilityClasses',
|
|
6
|
+
component: UtilityClasses,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof UtilityClasses>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export const UtilityClasses = () => {
|
|
4
|
+
return (
|
|
5
|
+
<>
|
|
6
|
+
<h1>Backgrounds</h1>
|
|
7
|
+
<br />
|
|
8
|
+
<div className="bg-primary pa-2">
|
|
9
|
+
<span className="color-gray-100">bg-primary</span>
|
|
10
|
+
</div>
|
|
11
|
+
<div className="bg-primary-100 pa-2">bg-primary-100</div>
|
|
12
|
+
<div className="bg-primary-200 pa-2">bg-primary-200</div>
|
|
13
|
+
<div className="bg-primary-300 pa-2">bg-primary-300</div>
|
|
14
|
+
<div className="bg-primary-400 pa-2">bg-primary-400</div>
|
|
15
|
+
<div className="bg-primary-500 pa-2">bg-primary-500</div>
|
|
16
|
+
<div className="bg-primary-600 pa-2">
|
|
17
|
+
<span className="color-gray-10">bg-primary-600</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div className="bg-primary-700 pa-2">
|
|
20
|
+
<span className="color-gray-100">bg-primary-700</span>
|
|
21
|
+
</div>
|
|
22
|
+
<div className="bg-primary-800 pa-2">
|
|
23
|
+
<span className="color-gray-100">bg-primary-800</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div className="bg-primary-900 pa-2">
|
|
26
|
+
<span className="color-gray-100">bg-primary-900</span>
|
|
27
|
+
</div>
|
|
28
|
+
<br />
|
|
29
|
+
<p>
|
|
30
|
+
The above code will apply the background color of the element to the primary color 100.
|
|
31
|
+
Omitting the number will default to 500. <strong>NOTE</strong> The background classes here
|
|
32
|
+
have no `color` style, it is added for documentation contrast
|
|
33
|
+
</p>
|
|
34
|
+
<br />
|
|
35
|
+
<h1>Text</h1>
|
|
36
|
+
<ul>
|
|
37
|
+
<li>
|
|
38
|
+
<span className="color-primary">color-primary</span>
|
|
39
|
+
</li>
|
|
40
|
+
<li>
|
|
41
|
+
<span className="color-primary-100">color-primary-100</span>
|
|
42
|
+
</li>
|
|
43
|
+
<li>
|
|
44
|
+
<span className="color-primary-200">color-primary-200</span>
|
|
45
|
+
</li>
|
|
46
|
+
<li>
|
|
47
|
+
<span className="color-primary-300">color-primary-300</span>
|
|
48
|
+
</li>
|
|
49
|
+
<li>
|
|
50
|
+
<span className="color-primary-400">color-primary-400</span>
|
|
51
|
+
</li>
|
|
52
|
+
<li>
|
|
53
|
+
<span className="color-primary-500">color-primary-500</span>
|
|
54
|
+
</li>
|
|
55
|
+
<li>
|
|
56
|
+
<span className="color-primary-600">color-primary-600</span>
|
|
57
|
+
</li>
|
|
58
|
+
<li>
|
|
59
|
+
<span className="color-primary-700">color-primary-700</span>
|
|
60
|
+
</li>
|
|
61
|
+
<li>
|
|
62
|
+
<span className="color-primary-800">color-primary-800</span>
|
|
63
|
+
</li>
|
|
64
|
+
<li>
|
|
65
|
+
<span className="color-primary-900">color-primary-900</span>
|
|
66
|
+
</li>
|
|
67
|
+
</ul>
|
|
68
|
+
<p>
|
|
69
|
+
The above code will apply the text color of the element to the primary color 100. Omitting
|
|
70
|
+
the number will default to 500.
|
|
71
|
+
</p>
|
|
72
|
+
<br />
|
|
73
|
+
<h2>Available Colors</h2>
|
|
74
|
+
<ul>
|
|
75
|
+
<li>
|
|
76
|
+
<span className="color-primary">primary</span>
|
|
77
|
+
</li>
|
|
78
|
+
<li>
|
|
79
|
+
<span className="color-secondary">secondary</span>
|
|
80
|
+
</li>
|
|
81
|
+
<li>
|
|
82
|
+
<span className="color-gray">gray</span>
|
|
83
|
+
</li>
|
|
84
|
+
<li>
|
|
85
|
+
<span className="color-green">green</span>
|
|
86
|
+
</li>
|
|
87
|
+
<li>
|
|
88
|
+
<span className="color-orange">orange</span>
|
|
89
|
+
</li>
|
|
90
|
+
<li>
|
|
91
|
+
<span className="color-red">red</span>
|
|
92
|
+
</li>
|
|
93
|
+
</ul>
|
|
94
|
+
</>
|
|
95
|
+
);
|
|
96
|
+
};
|