@indico-data/design-system 2.43.1 → 2.45.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/lib/assets/fonts/noto/a.woff2 +0 -0
- package/lib/assets/fonts/noto/b.woff2 +0 -0
- package/lib/assets/fonts/noto/c.woff2 +0 -0
- package/lib/assets/fonts/noto/d.woff2 +0 -0
- package/lib/assets/fonts/noto/e.woff2 +0 -0
- package/lib/assets/fonts/noto/f.woff2 +0 -0
- package/lib/assets/fonts/noto/g.woff2 +0 -0
- package/lib/assets/fonts/noto/h.woff2 +0 -0
- package/lib/assets/fonts/noto/notosans.css +79 -0
- package/lib/components/button/Button.stories.d.ts +11 -13
- package/lib/components/button/enums.d.ts +2 -4
- package/lib/components/button/types.d.ts +6 -7
- package/lib/components/forms/date/iconTriggerDatePicker/IconTriggerDatePicker.d.ts +1 -1
- package/lib/components/forms/date/inputDatePicker/SingleInputDatePicker.d.ts +1 -1
- package/lib/components/forms/input/Input.d.ts +1 -1
- package/lib/index.css +1778 -1019
- package/lib/index.d.ts +148 -885
- package/lib/index.esm.css +1778 -1019
- package/lib/index.esm.js +17829 -24248
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +16041 -22502
- package/lib/index.js.map +1 -1
- package/lib/legacy/components/Tooltip/Tooltip.d.ts +1 -1
- package/lib/legacy/components/index.d.ts +1 -12
- package/lib/legacy/components/loading-indicators/BarSpinner/BarSpinner.d.ts +1 -1
- package/lib/legacy/components/loading-indicators/CirclePulse/CirclePulse.d.ts +1 -1
- package/lib/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.d.ts +1 -1
- package/lib/legacy/components/loading-indicators/index.d.ts +0 -4
- package/lib/legacy/components/modals/ConfirmModal/ConfirmModal.d.ts +1 -1
- package/lib/legacy/components/modals/ModalBase/ModalBase.d.ts +1 -1
- package/lib/stylesAndAnimations/colors/constants.d.ts +0 -1
- package/lib/types.d.ts +1 -3
- package/package.json +1 -1
- package/src/components/button/Button.mdx +28 -78
- package/src/components/button/Button.stories.tsx +312 -176
- package/src/components/button/Button.tsx +23 -16
- package/src/components/button/__tests__/Button.test.tsx +66 -58
- package/src/components/button/enums.ts +2 -6
- package/src/components/button/styles/Button.scss +119 -137
- package/src/components/button/styles/_variables.scss +115 -148
- package/src/components/button/types.ts +6 -8
- package/src/components/card/Card.stories.tsx +1 -1
- package/src/components/card/styles/Card.scss +11 -11
- package/src/components/floatUI/FloatUI.mdx +5 -5
- package/src/components/floatUI/FloatUI.stories.tsx +8 -8
- package/src/components/floatUI/__tests__/FloatUI.test.tsx +3 -3
- package/src/components/floatUI/styles/FloatUI.scss +1 -2
- package/src/components/floatUI/styles/_variables.scss +11 -7
- package/src/components/forms/checkbox/styles/Checkbox.scss +8 -14
- package/src/components/forms/date/datePicker/styles/DatePicker.scss +9 -5
- package/src/components/forms/date/iconTriggerDatePicker/IconTriggerDatePicker.tsx +4 -4
- package/src/components/forms/date/inputDatePicker/SingleInputDatePicker.tsx +1 -1
- package/src/components/forms/form/styles/Form.scss +84 -2
- package/src/components/forms/input/Input.tsx +2 -2
- package/src/components/forms/input/styles/Input.scss +3 -67
- package/src/components/forms/numberInput/NumberInput.tsx +1 -1
- package/src/components/forms/numberInput/styles/NumberInput.scss +4 -67
- package/src/components/forms/passwordInput/PasswordInput.tsx +1 -1
- package/src/components/forms/passwordInput/styles/PasswordInput.scss +3 -67
- package/src/components/forms/radio/styles/Radio.scss +6 -10
- package/src/components/forms/select/styles/Select.scss +30 -44
- package/src/components/forms/textarea/styles/Textarea.scss +1 -49
- package/src/components/forms/toggle/styles/Toggle.scss +13 -12
- package/src/components/grid/styles/Grid.scss +3 -3
- package/src/components/icons/__tests__/Icon.test.tsx +1 -1
- package/src/components/menu/Menu.stories.tsx +3 -3
- package/src/components/menu/Menu.test.tsx +9 -9
- package/src/components/menu/styles/Menu.scss +5 -0
- package/src/components/menu/styles/_variables.scss +11 -6
- package/src/components/pill/styles/Pill.scss +4 -5
- package/src/components/skeleton/styles/Skeleton.scss +2 -2
- package/src/components/table/LoadingComponent.tsx +0 -2
- package/src/components/table/styles/Table.scss +6 -0
- package/src/components/table/styles/_variables.scss +11 -9
- package/src/index.ts +0 -45
- package/src/legacy/components/Tooltip/Tooltip.styles.ts +0 -12
- package/src/legacy/components/Tooltip/Tooltip.tsx +2 -4
- package/src/legacy/components/index.ts +1 -30
- package/src/legacy/components/loading-indicators/BarSpinner/BarSpinner.styles.ts +0 -3
- package/src/legacy/components/loading-indicators/BarSpinner/BarSpinner.tsx +1 -1
- package/src/legacy/components/loading-indicators/CirclePulse/CirclePulse.styles.ts +0 -4
- package/src/legacy/components/loading-indicators/CirclePulse/CirclePulse.tsx +1 -6
- package/src/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.tsx +2 -2
- package/src/legacy/components/loading-indicators/index.ts +0 -4
- package/src/legacy/components/modals/ConfirmModal/ConfirmModal.styles.ts +1 -4
- package/src/legacy/components/modals/ConfirmModal/ConfirmModal.tsx +12 -19
- package/src/legacy/components/modals/ModalBase/ModalBase.styles.tsx +0 -7
- package/src/legacy/components/modals/ModalBase/ModalBase.tsx +1 -1
- package/src/storybookDocs/Permafrost.mdx +92 -0
- package/src/styles/_colors.scss +7 -3
- package/src/styles/_sheets.scss +3 -3
- package/src/styles/assets/fonts/noto/a.woff2 +0 -0
- package/src/styles/assets/fonts/noto/b.woff2 +0 -0
- package/src/styles/assets/fonts/noto/c.woff2 +0 -0
- package/src/styles/assets/fonts/noto/d.woff2 +0 -0
- package/src/styles/assets/fonts/noto/e.woff2 +0 -0
- package/src/styles/assets/fonts/noto/f.woff2 +0 -0
- package/src/styles/assets/fonts/noto/g.woff2 +0 -0
- package/src/styles/assets/fonts/noto/h.woff2 +0 -0
- package/src/styles/assets/fonts/noto/notosans.css +79 -0
- package/src/styles/globals.scss +7 -18
- package/src/styles/index.scss +1 -2
- package/src/styles/storybook.scss +1 -1
- package/src/styles/variables/_borders.scss +7 -7
- package/src/styles/variables/_dropshadows.scss +2 -0
- package/src/styles/variables/_padding.scss +5 -1
- package/src/styles/variables/_typography.scss +7 -1
- package/src/styles/variables/themes/dark.scss +147 -83
- package/src/styles/variables/themes/light.scss +1 -2
- package/src/stylesAndAnimations/colors/Colors.tsx +5 -9
- package/src/stylesAndAnimations/colors/UtilityClasses.tsx +23 -14
- package/src/stylesAndAnimations/colors/constants.ts +183 -114
- package/src/stylesAndAnimations/sizing/Sizing.tsx +2 -2
- package/src/types.ts +1 -7
- package/lib/assets/fonts/mulish/a.woff2 +0 -0
- package/lib/assets/fonts/mulish/b.woff2 +0 -0
- package/lib/assets/fonts/mulish/c.woff2 +0 -0
- package/lib/assets/fonts/mulish/d.woff2 +0 -0
- package/lib/assets/fonts/mulish/mulish.css +0 -98
- package/lib/legacy/components/Accordion/Accordion.d.ts +0 -9
- package/lib/legacy/components/Accordion/Accordion.stories.d.ts +0 -25
- package/lib/legacy/components/Accordion/Accordion.styles.d.ts +0 -1
- package/lib/legacy/components/Accordion/index.d.ts +0 -1
- package/lib/legacy/components/ListTable/Header/Header.d.ts +0 -21
- package/lib/legacy/components/ListTable/Header/Header.styles.d.ts +0 -1
- package/lib/legacy/components/ListTable/Header/index.d.ts +0 -1
- package/lib/legacy/components/ListTable/ListTable.d.ts +0 -41
- package/lib/legacy/components/ListTable/ListTable.stories.d.ts +0 -54
- package/lib/legacy/components/ListTable/ListTable.styles.d.ts +0 -1
- package/lib/legacy/components/ListTable/index.d.ts +0 -1
- package/lib/legacy/components/ListTable/mock-data/index.d.ts +0 -1
- package/lib/legacy/components/ListTable/mock-data/mock-data.d.ts +0 -54
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.d.ts +0 -15
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +0 -22
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +0 -2
- package/lib/legacy/components/LoadingAwareContainer/index.d.ts +0 -1
- package/lib/legacy/components/Pagination/Pagination.d.ts +0 -18
- package/lib/legacy/components/Pagination/Pagination.stories.d.ts +0 -18
- package/lib/legacy/components/Pagination/Pagination.styles.d.ts +0 -1
- package/lib/legacy/components/Pagination/index.d.ts +0 -1
- package/lib/legacy/components/Toggle/Toggle.d.ts +0 -12
- package/lib/legacy/components/Toggle/Toggle.stories.d.ts +0 -21
- package/lib/legacy/components/Toggle/Toggle.styles.d.ts +0 -1
- package/lib/legacy/components/Toggle/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/Section/Section.d.ts +0 -8
- package/lib/legacy/components/basic-section/Section/Section.stories.d.ts +0 -13
- package/lib/legacy/components/basic-section/Section/Section.styles.d.ts +0 -1
- package/lib/legacy/components/basic-section/Section/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionBlock/SectionBlock.d.ts +0 -9
- package/lib/legacy/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionBlock/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.d.ts +0 -7
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.stories.d.ts +0 -10
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.styles.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionBody/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.d.ts +0 -8
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.stories.d.ts +0 -14
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionHeader/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionTable/SectionTable.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionTable/SectionTable.styles.d.ts +0 -1
- package/lib/legacy/components/basic-section/SectionTable/index.d.ts +0 -1
- package/lib/legacy/components/basic-section/index.d.ts +0 -5
- package/lib/legacy/components/buttons/Button/Button.d.ts +0 -21
- package/lib/legacy/components/buttons/Button/Button.stories.d.ts +0 -25
- package/lib/legacy/components/buttons/Button/Button.styles.d.ts +0 -1
- package/lib/legacy/components/buttons/Button/index.d.ts +0 -1
- package/lib/legacy/components/buttons/IconButton/IconButton.d.ts +0 -32
- package/lib/legacy/components/buttons/IconButton/IconButton.stories.d.ts +0 -43
- package/lib/legacy/components/buttons/IconButton/IconButton.styles.d.ts +0 -5
- package/lib/legacy/components/buttons/IconButton/index.d.ts +0 -1
- package/lib/legacy/components/buttons/commonStyles.d.ts +0 -9
- package/lib/legacy/components/buttons/index.d.ts +0 -2
- package/lib/legacy/components/buttons/types.d.ts +0 -3
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.d.ts +0 -19
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.stories.d.ts +0 -31
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +0 -2
- package/lib/legacy/components/dropdowns/BorderSelect/index.d.ts +0 -1
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.d.ts +0 -23
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +0 -46
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +0 -4
- package/lib/legacy/components/dropdowns/MultiCombobox/index.d.ts +0 -1
- package/lib/legacy/components/dropdowns/Select/Select.d.ts +0 -19
- package/lib/legacy/components/dropdowns/Select/Select.stories.d.ts +0 -34
- package/lib/legacy/components/dropdowns/Select/Select.styles.d.ts +0 -1
- package/lib/legacy/components/dropdowns/Select/index.d.ts +0 -1
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.d.ts +0 -20
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +0 -31
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +0 -4
- package/lib/legacy/components/dropdowns/SingleCombobox/index.d.ts +0 -1
- package/lib/legacy/components/dropdowns/commonStyles.d.ts +0 -1
- package/lib/legacy/components/dropdowns/index.d.ts +0 -4
- package/lib/legacy/components/dropdowns/types.d.ts +0 -45
- package/lib/legacy/components/dropdowns/useCombobox.d.ts +0 -25
- package/lib/legacy/components/dropdowns/utils.d.ts +0 -20
- package/lib/legacy/components/inputs/EditableInput/EditableInput.d.ts +0 -13
- package/lib/legacy/components/inputs/EditableInput/EditableInput.stories.d.ts +0 -14
- package/lib/legacy/components/inputs/EditableInput/EditableInput.styles.d.ts +0 -1
- package/lib/legacy/components/inputs/EditableInput/index.d.ts +0 -1
- package/lib/legacy/components/inputs/NumberInput/NumberInput.d.ts +0 -23
- package/lib/legacy/components/inputs/NumberInput/NumberInput.stories.d.ts +0 -28
- package/lib/legacy/components/inputs/NumberInput/NumberInput.styles.d.ts +0 -1
- package/lib/legacy/components/inputs/NumberInput/index.d.ts +0 -1
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.d.ts +0 -25
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.stories.d.ts +0 -15
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.styles.d.ts +0 -13
- package/lib/legacy/components/inputs/RadioButtons/index.d.ts +0 -1
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.d.ts +0 -27
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.stories.d.ts +0 -16
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.styles.d.ts +0 -1
- package/lib/legacy/components/inputs/RadioGroup/index.d.ts +0 -1
- package/lib/legacy/components/inputs/SearchInput/SearchInput.d.ts +0 -17
- package/lib/legacy/components/inputs/SearchInput/SearchInput.stories.d.ts +0 -30
- package/lib/legacy/components/inputs/SearchInput/SearchInput.styles.d.ts +0 -1
- package/lib/legacy/components/inputs/SearchInput/index.d.ts +0 -1
- package/lib/legacy/components/inputs/TextInput/TextInput.d.ts +0 -24
- package/lib/legacy/components/inputs/TextInput/TextInput.stories.d.ts +0 -62
- package/lib/legacy/components/inputs/TextInput/TextInput.styles.d.ts +0 -2
- package/lib/legacy/components/inputs/TextInput/index.d.ts +0 -1
- package/lib/legacy/components/inputs/index.d.ts +0 -6
- package/lib/legacy/components/inputs/inputsCommon.styles.d.ts +0 -4
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +0 -10
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -11
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +0 -7
- package/lib/legacy/components/loading-indicators/LoadingIndicator/index.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.stories.d.ts +0 -10
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/LoadingList/index.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.d.ts +0 -12
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +0 -10
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/PercentageRing/index.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +0 -10
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/index.d.ts +0 -1
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/random-messages.d.ts +0 -2
- package/lib/legacy/components/text-truncate/TextTruncate.d.ts +0 -8
- package/lib/legacy/components/text-truncate/TextTruncate.stories.d.ts +0 -6
- package/lib/legacy/components/text-truncate/TextTruncate.styles.d.ts +0 -1
- package/lib/legacy/components/text-truncate/TextTruncate.test.d.ts +0 -1
- package/lib/legacy/components/text-truncate/index.d.ts +0 -1
- package/lib/legacy/components/user-feedback/Shrug/Shrug.d.ts +0 -14
- package/lib/legacy/components/user-feedback/Shrug/Shrug.stories.d.ts +0 -31
- package/lib/legacy/components/user-feedback/Shrug/Shrug.styles.d.ts +0 -1
- package/lib/legacy/components/user-feedback/Shrug/index.d.ts +0 -1
- package/lib/legacy/components/user-feedback/index.d.ts +0 -1
- package/lib/legacy/styles/globals/buttons.d.ts +0 -1
- package/lib/legacy/styles/globals/forms.d.ts +0 -1
- package/lib/legacy/styles/globals/index.d.ts +0 -1
- package/lib/legacy/styles/globals/layout.d.ts +0 -1
- package/lib/legacy/styles/globals/lists.d.ts +0 -1
- package/lib/legacy/styles/globals/margin-padding.d.ts +0 -1
- package/lib/legacy/styles/globals/media.d.ts +0 -1
- package/lib/legacy/styles/globals/tables.d.ts +0 -1
- package/lib/legacy/styles/globals/typography.d.ts +0 -1
- package/lib/legacy/styles/globals/utility-classes.d.ts +0 -1
- package/lib/legacy/styles/index.d.ts +0 -1
- package/lib/legacy/tokens/animation.d.ts +0 -4
- package/lib/legacy/tokens/breakpoints.d.ts +0 -10
- package/lib/legacy/tokens/colors.d.ts +0 -144
- package/lib/legacy/tokens/index.d.ts +0 -8
- package/lib/legacy/tokens/margin.d.ts +0 -4
- package/lib/legacy/tokens/numbers.d.ts +0 -10
- package/lib/legacy/tokens/padding.d.ts +0 -4
- package/lib/legacy/tokens/spacings.d.ts +0 -5
- package/lib/legacy/tokens/typography.d.ts +0 -61
- package/lib/legacy/utils/color.d.ts +0 -21
- package/lib/legacy/utils/index.d.ts +0 -4
- package/lib/legacy/utils/number.d.ts +0 -21
- package/lib/legacy/utils/string.d.ts +0 -12
- package/src/legacy/components/Accordion/Accordion.stories.tsx +0 -47
- package/src/legacy/components/Accordion/Accordion.styles.ts +0 -35
- package/src/legacy/components/Accordion/Accordion.tsx +0 -30
- package/src/legacy/components/Accordion/index.ts +0 -1
- package/src/legacy/components/ListTable/Header/Header.styles.ts +0 -62
- package/src/legacy/components/ListTable/Header/Header.tsx +0 -66
- package/src/legacy/components/ListTable/Header/index.ts +0 -1
- package/src/legacy/components/ListTable/ListTable.stories.tsx +0 -302
- package/src/legacy/components/ListTable/ListTable.styles.ts +0 -76
- package/src/legacy/components/ListTable/ListTable.tsx +0 -140
- package/src/legacy/components/ListTable/index.ts +0 -1
- package/src/legacy/components/ListTable/mock-data/index.ts +0 -1
- package/src/legacy/components/ListTable/mock-data/mock-data.ts +0 -291
- package/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.stories.tsx +0 -45
- package/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.styles.ts +0 -16
- package/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.tsx +0 -36
- package/src/legacy/components/LoadingAwareContainer/index.ts +0 -1
- package/src/legacy/components/Pagination/Pagination.stories.tsx +0 -45
- package/src/legacy/components/Pagination/Pagination.styles.ts +0 -51
- package/src/legacy/components/Pagination/Pagination.tsx +0 -118
- package/src/legacy/components/Pagination/index.ts +0 -1
- package/src/legacy/components/Toggle/Toggle.stories.tsx +0 -56
- package/src/legacy/components/Toggle/Toggle.styles.ts +0 -86
- package/src/legacy/components/Toggle/Toggle.tsx +0 -69
- package/src/legacy/components/Toggle/index.ts +0 -1
- package/src/legacy/components/basic-section/Section/Section.stories.tsx +0 -14
- package/src/legacy/components/basic-section/Section/Section.styles.ts +0 -8
- package/src/legacy/components/basic-section/Section/Section.tsx +0 -30
- package/src/legacy/components/basic-section/Section/index.ts +0 -1
- package/src/legacy/components/basic-section/SectionBlock/SectionBlock.styles.ts +0 -15
- package/src/legacy/components/basic-section/SectionBlock/SectionBlock.tsx +0 -37
- package/src/legacy/components/basic-section/SectionBlock/index.ts +0 -1
- package/src/legacy/components/basic-section/SectionBody/SectionBody.stories.tsx +0 -16
- package/src/legacy/components/basic-section/SectionBody/SectionBody.styles.ts +0 -18
- package/src/legacy/components/basic-section/SectionBody/SectionBody.tsx +0 -30
- package/src/legacy/components/basic-section/SectionBody/index.ts +0 -1
- package/src/legacy/components/basic-section/SectionHeader/SectionHeader.stories.tsx +0 -17
- package/src/legacy/components/basic-section/SectionHeader/SectionHeader.styles.ts +0 -5
- package/src/legacy/components/basic-section/SectionHeader/SectionHeader.tsx +0 -30
- package/src/legacy/components/basic-section/SectionHeader/index.ts +0 -1
- package/src/legacy/components/basic-section/SectionTable/SectionTable.styles.ts +0 -236
- package/src/legacy/components/basic-section/SectionTable/SectionTable.tsx +0 -233
- package/src/legacy/components/basic-section/SectionTable/index.ts +0 -1
- package/src/legacy/components/basic-section/index.ts +0 -5
- package/src/legacy/components/buttons/Button/Button.stories.tsx +0 -80
- package/src/legacy/components/buttons/Button/Button.styles.ts +0 -99
- package/src/legacy/components/buttons/Button/Button.tsx +0 -74
- package/src/legacy/components/buttons/Button/index.ts +0 -1
- package/src/legacy/components/buttons/IconButton/IconButton.stories.tsx +0 -96
- package/src/legacy/components/buttons/IconButton/IconButton.styles.ts +0 -109
- package/src/legacy/components/buttons/IconButton/IconButton.tsx +0 -114
- package/src/legacy/components/buttons/IconButton/index.ts +0 -1
- package/src/legacy/components/buttons/commonStyles.ts +0 -104
- package/src/legacy/components/buttons/index.ts +0 -2
- package/src/legacy/components/buttons/types.ts +0 -3
- package/src/legacy/components/dropdowns/BorderSelect/BorderSelect.stories.tsx +0 -22
- package/src/legacy/components/dropdowns/BorderSelect/BorderSelect.styles.ts +0 -73
- package/src/legacy/components/dropdowns/BorderSelect/BorderSelect.tsx +0 -85
- package/src/legacy/components/dropdowns/BorderSelect/index.ts +0 -1
- package/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.stories.tsx +0 -147
- package/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.styles.ts +0 -91
- package/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.tsx +0 -123
- package/src/legacy/components/dropdowns/MultiCombobox/index.ts +0 -1
- package/src/legacy/components/dropdowns/Select/Select.stories.tsx +0 -54
- package/src/legacy/components/dropdowns/Select/Select.styles.ts +0 -73
- package/src/legacy/components/dropdowns/Select/Select.tsx +0 -69
- package/src/legacy/components/dropdowns/Select/index.ts +0 -1
- package/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.stories.tsx +0 -61
- package/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.styles.ts +0 -56
- package/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.tsx +0 -103
- package/src/legacy/components/dropdowns/SingleCombobox/index.ts +0 -1
- package/src/legacy/components/dropdowns/commonStyles.ts +0 -65
- package/src/legacy/components/dropdowns/index.ts +0 -4
- package/src/legacy/components/dropdowns/types.ts +0 -45
- package/src/legacy/components/dropdowns/useCombobox.ts +0 -32
- package/src/legacy/components/dropdowns/utils.tsx +0 -25
- package/src/legacy/components/inputs/EditableInput/EditableInput.stories.tsx +0 -26
- package/src/legacy/components/inputs/EditableInput/EditableInput.styles.ts +0 -21
- package/src/legacy/components/inputs/EditableInput/EditableInput.tsx +0 -103
- package/src/legacy/components/inputs/EditableInput/index.ts +0 -1
- package/src/legacy/components/inputs/NumberInput/NumberInput.stories.tsx +0 -72
- package/src/legacy/components/inputs/NumberInput/NumberInput.styles.ts +0 -66
- package/src/legacy/components/inputs/NumberInput/NumberInput.tsx +0 -154
- package/src/legacy/components/inputs/NumberInput/index.ts +0 -1
- package/src/legacy/components/inputs/RadioButtons/RadioButtons.stories.tsx +0 -84
- package/src/legacy/components/inputs/RadioButtons/RadioButtons.styles.ts +0 -82
- package/src/legacy/components/inputs/RadioButtons/RadioButtons.tsx +0 -63
- package/src/legacy/components/inputs/RadioButtons/index.tsx +0 -1
- package/src/legacy/components/inputs/RadioGroup/RadioGroup.stories.tsx +0 -66
- package/src/legacy/components/inputs/RadioGroup/RadioGroup.styles.ts +0 -11
- package/src/legacy/components/inputs/RadioGroup/RadioGroup.tsx +0 -119
- package/src/legacy/components/inputs/RadioGroup/index.ts +0 -1
- package/src/legacy/components/inputs/SearchInput/SearchInput.stories.tsx +0 -37
- package/src/legacy/components/inputs/SearchInput/SearchInput.styles.ts +0 -51
- package/src/legacy/components/inputs/SearchInput/SearchInput.tsx +0 -73
- package/src/legacy/components/inputs/SearchInput/index.ts +0 -1
- package/src/legacy/components/inputs/TextInput/TextInput.stories.tsx +0 -104
- package/src/legacy/components/inputs/TextInput/TextInput.styles.ts +0 -74
- package/src/legacy/components/inputs/TextInput/TextInput.tsx +0 -116
- package/src/legacy/components/inputs/TextInput/index.ts +0 -1
- package/src/legacy/components/inputs/index.ts +0 -6
- package/src/legacy/components/inputs/inputsCommon.styles.ts +0 -57
- package/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.tsx +0 -22
- package/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.ts +0 -81
- package/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.tsx +0 -61
- package/src/legacy/components/loading-indicators/LoadingIndicator/index.ts +0 -1
- package/src/legacy/components/loading-indicators/LoadingList/LoadingList.stories.tsx +0 -14
- package/src/legacy/components/loading-indicators/LoadingList/LoadingList.styles.ts +0 -42
- package/src/legacy/components/loading-indicators/LoadingList/LoadingList.tsx +0 -9
- package/src/legacy/components/loading-indicators/LoadingList/index.ts +0 -1
- package/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.stories.tsx +0 -18
- package/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.styles.ts +0 -27
- package/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.tsx +0 -76
- package/src/legacy/components/loading-indicators/PercentageRing/index.ts +0 -1
- package/src/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.tsx +0 -16
- package/src/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.tsx +0 -18
- package/src/legacy/components/loading-indicators/RandomLoadingMessage/index.ts +0 -1
- package/src/legacy/components/loading-indicators/RandomLoadingMessage/random-messages.js +0 -67
- package/src/legacy/components/text-truncate/TextTruncate.stories.tsx +0 -19
- package/src/legacy/components/text-truncate/TextTruncate.styles.ts +0 -3
- package/src/legacy/components/text-truncate/TextTruncate.test.tsx +0 -17
- package/src/legacy/components/text-truncate/TextTruncate.tsx +0 -23
- package/src/legacy/components/text-truncate/index.ts +0 -1
- package/src/legacy/components/user-feedback/Shrug/Shrug.stories.tsx +0 -38
- package/src/legacy/components/user-feedback/Shrug/Shrug.styles.ts +0 -25
- package/src/legacy/components/user-feedback/Shrug/Shrug.tsx +0 -45
- package/src/legacy/components/user-feedback/Shrug/index.ts +0 -1
- package/src/legacy/components/user-feedback/index.ts +0 -1
- package/src/legacy/styles/globals/buttons.ts +0 -154
- package/src/legacy/styles/globals/forms.ts +0 -53
- package/src/legacy/styles/globals/index.tsx +0 -22
- package/src/legacy/styles/globals/layout.ts +0 -22
- package/src/legacy/styles/globals/lists.ts +0 -23
- package/src/legacy/styles/globals/margin-padding.ts +0 -33
- package/src/legacy/styles/globals/media.ts +0 -13
- package/src/legacy/styles/globals/tables.ts +0 -30
- package/src/legacy/styles/globals/typography.ts +0 -82
- package/src/legacy/styles/globals/utility-classes.ts +0 -76
- package/src/legacy/styles/index.ts +0 -1
- package/src/legacy/tokens/animation.ts +0 -6
- package/src/legacy/tokens/breakpoints.ts +0 -11
- package/src/legacy/tokens/colors.ts +0 -293
- package/src/legacy/tokens/index.ts +0 -20
- package/src/legacy/tokens/margin.ts +0 -5
- package/src/legacy/tokens/numbers.js +0 -41
- package/src/legacy/tokens/padding.ts +0 -5
- package/src/legacy/tokens/spacings.ts +0 -5
- package/src/legacy/tokens/typography.ts +0 -43
- package/src/legacy/utils/color.ts +0 -139
- package/src/legacy/utils/index.ts +0 -5
- package/src/legacy/utils/number.ts +0 -29
- package/src/legacy/utils/string.ts +0 -87
- package/src/styles/assets/fonts/mulish/a.woff2 +0 -0
- package/src/styles/assets/fonts/mulish/b.woff2 +0 -0
- package/src/styles/assets/fonts/mulish/c.woff2 +0 -0
- package/src/styles/assets/fonts/mulish/d.woff2 +0 -0
- package/src/styles/assets/fonts/mulish/mulish.css +0 -98
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Meta } from '@storybook/addon-docs';
|
|
2
|
+
|
|
3
|
+
<Meta title="Getting Started" />
|
|
4
|
+
|
|
5
|
+
# Permafrost
|
|
6
|
+
#### Permafrost is the name of our User Interface Design System and Component Library.
|
|
7
|
+
Permafrost is utilized in Indico's React projects to ensure a consistent look and feel across our products. It leverages many variables and components that are defined in our design system. We also wrap multiple libraries such as `react-day-picker` or `react-select` to ensure a consistent look and feel.
|
|
8
|
+
|
|
9
|
+
<div style={{ marginBottom: '3rem' }} />
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
Indico serves Permafrost as a package on npm. In order to take advantage of it in your project, you can install it by adding the following to your `package.json`:
|
|
13
|
+
|
|
14
|
+
```json
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@indico-data/permafrost": "latest" // or the specific version you want
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
After adding the package, import the CSS file to apply Permafrost’s styles to the components.
|
|
20
|
+
|
|
21
|
+
```css
|
|
22
|
+
@import "@indico-data/permafrost/dist/index.css";
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
### Overriding Variables
|
|
29
|
+
You are able to override any of the variables in the design system. We currently support `light` and `dark` themes. If you would like to override a variable in the dark theme, try this approach:
|
|
30
|
+
|
|
31
|
+
```css
|
|
32
|
+
:root [data-theme='dark'] {
|
|
33
|
+
--pf-primary-color: #262c3a; /* your color here */
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
This pattern applies to all of our variables which you can find in the CSS variables directory in the project.
|
|
38
|
+
|
|
39
|
+
### Theming
|
|
40
|
+
In order to switch between the light and dark themes, you can simply add the `data-theme` attribute to the `html` element. *Note* If no theme is provided, it will default to `:root` which is the dark theme.
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<html data-theme="light">
|
|
44
|
+
<!-- Your app here -->
|
|
45
|
+
</html>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
In the example above, it will leverage the `light` theme to render our styles with the `light mode` variables. It is important to note that while Permafrost natively supports `light` and `dark` values for data-theme, these can be extended and even overridden by your project to support additional themes.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Importing Components
|
|
52
|
+
Using components from Permafrost is as simple as importing them from the package and using them in your project.
|
|
53
|
+
|
|
54
|
+
```tsx
|
|
55
|
+
import {Icon} from '@indico-data/design-system';
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
<Icon name="indico-o" />
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### CSS Only
|
|
62
|
+
We have tried to provide as much support as possible for those who wish to implement Permafrost without using our React components. This is where the CSS only approach comes in. We have wrapped the components in a way that allows you to use the same styles with a different library. In order to use the CSS only approach, you can import the css file that sets the styles for the components.
|
|
63
|
+
|
|
64
|
+
You can do this by going into the project and running the following command:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
yarn build
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This will create an `index.css` file in the `dist` directory that you can then copy and import into your project.
|
|
71
|
+
|
|
72
|
+
#### SASS
|
|
73
|
+
If you prefer to use SASS, you can copy the entire `/styles` directory and import the `index.scss` file into your project.
|
|
74
|
+
|
|
75
|
+
**Note:** This will only give you the styling of our design system, none of the interactivity.
|
|
76
|
+
|
|
77
|
+
### CSS Only Usage
|
|
78
|
+
If you wish to do the CSS only approach, you can do so by applying the CSS classes to your components. For example, if you have an input you wish to have styled with our design system, you can do the following:
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
<input className="input" />
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
We are as generic as possible with our CSS classes, so you can easily override them if needed.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## Testing
|
|
88
|
+
All of our components have been tested with React Testing Library. You can view the tests for each component by looking in the `__tests__` directory in each component. To run them, you can simply run the following command:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
yarn jest
|
|
92
|
+
```
|
package/src/styles/_colors.scss
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
$color-names: 'primary', 'secondary', '
|
|
2
|
-
|
|
3
|
-
$
|
|
1
|
+
$color-names: 'primary', 'secondary', 'tertiary', 'gray', 'red', 'orange', 'yellow', 'green',
|
|
2
|
+
'purple';
|
|
3
|
+
$color-grades: ();
|
|
4
|
+
@for $i from 1 through 20 {
|
|
5
|
+
$color-grades: append($color-grades, #{$i * 50}, comma);
|
|
6
|
+
}
|
|
7
|
+
$utility-color-names: 'success', 'info', 'neutral', 'warning', 'error', 'brand';
|
|
4
8
|
|
|
5
9
|
@each $color-name in $color-names {
|
|
6
10
|
.color-#{$color-name} {
|
package/src/styles/_sheets.scss
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* cyrillic-ext */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Noto Sans';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-stretch: 100%;
|
|
7
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9X6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
8
|
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* cyrillic */
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Noto Sans';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
font-stretch: 100%;
|
|
17
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9e6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
18
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* devanagari */
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Noto Sans';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
font-stretch: 100%;
|
|
27
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9b6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
28
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* greek-ext */
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'Noto Sans';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
font-stretch: 100%;
|
|
37
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9W6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
38
|
+
unicode-range: U+1F00-1FFF;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* greek */
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'Noto Sans';
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
font-stretch: 100%;
|
|
47
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9Z6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
48
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* vietnamese */
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: 'Noto Sans';
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
font-stretch: 100%;
|
|
57
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9V6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
58
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* latin-ext */
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Noto Sans';
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-stretch: 100%;
|
|
67
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9U6VLYyWtZ3rKW9w.woff2) format('woff2');
|
|
68
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* latin */
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: 'Noto Sans';
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
font-stretch: 100%;
|
|
77
|
+
src: url(https://fonts.gstatic.com/s/notosans/v36/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyD9A-9a6VLYyWtZ3rI.woff2) format('woff2');
|
|
78
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
79
|
+
}
|
package/src/styles/globals.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root [data-theme='light']
|
|
2
|
-
:root {
|
|
1
|
+
:root [data-theme='light'] {
|
|
3
2
|
// Globals
|
|
4
3
|
// ***********************************************************************************************************************************
|
|
5
4
|
--pf-white-color: #ffffff;
|
|
@@ -22,25 +21,20 @@
|
|
|
22
21
|
// ***********************************************************************************************************************************
|
|
23
22
|
--pf-link-color: var(--pf-primary-color);
|
|
24
23
|
--pf-active-link-color: var(--pf-primary-color-600);
|
|
25
|
-
|
|
26
|
-
// Borders
|
|
27
|
-
// ***********************************************************************************************************************************
|
|
28
|
-
--pf-border-color: var(--pf-gray-color-200);
|
|
29
|
-
--pf-border-color-light: var(--pf-gray-color-100);
|
|
30
|
-
--pf-horizontal-line-color: var(--pf-gray-color-200);
|
|
31
24
|
}
|
|
32
25
|
|
|
33
|
-
:root [data-theme='dark']
|
|
26
|
+
:root [data-theme='dark'],
|
|
27
|
+
:root {
|
|
34
28
|
// Globals
|
|
35
29
|
// ***********************************************************************************************************************************
|
|
36
30
|
--pf-white-color: #ffffff;
|
|
37
31
|
--pf-black-color: #000000;
|
|
38
|
-
--pf-background-color-light: var(--pf-primary-color
|
|
32
|
+
--pf-background-color-light: var(--pf-primary-color);
|
|
39
33
|
--pf-background-color: var(--pf-primary-color-600);
|
|
40
34
|
--pf-background-color-dark: var(--pf-primary-color-900);
|
|
41
35
|
--pf-background-secondary-color-light: var(--pf-secondary-color-300);
|
|
42
36
|
--pf-background-color-secondary: var(--pf-secondary-color-500);
|
|
43
|
-
--pf-background-color-secondary-dark: var(--pf-secondary-color-
|
|
37
|
+
--pf-background-color-secondary-dark: var(--pf-secondary-color-950);
|
|
44
38
|
|
|
45
39
|
// Fonts
|
|
46
40
|
// ***********************************************************************************************************************************
|
|
@@ -53,12 +47,6 @@
|
|
|
53
47
|
// ***********************************************************************************************************************************
|
|
54
48
|
--pf-link-color: var(--pf-gray-color-300);
|
|
55
49
|
--pf-active-link-color: var(--pf-gray-color-100);
|
|
56
|
-
|
|
57
|
-
// Borders
|
|
58
|
-
// ***********************************************************************************************************************************
|
|
59
|
-
--pf-horizontal-line-color: var(--pf-primary-color-200);
|
|
60
|
-
--pf-border-color: var(--pf-steel-color-600);
|
|
61
|
-
--pf-border-color-light: var(--pf-steel-color-400);
|
|
62
50
|
}
|
|
63
51
|
|
|
64
52
|
// Global Styles
|
|
@@ -73,7 +61,8 @@ body {
|
|
|
73
61
|
font-weight: var(--pf-font-weight-regular);
|
|
74
62
|
}
|
|
75
63
|
|
|
76
|
-
a,
|
|
64
|
+
a,
|
|
65
|
+
.link {
|
|
77
66
|
color: var(--pf-link-color);
|
|
78
67
|
transition: color 0.3s ease-in-out;
|
|
79
68
|
|
package/src/styles/index.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Variables
|
|
2
|
+
@import './assets/fonts/noto/notosans.css';
|
|
2
3
|
@import 'variables/index.scss';
|
|
3
4
|
@import './globals.scss';
|
|
4
5
|
// Components
|
|
@@ -29,5 +30,3 @@
|
|
|
29
30
|
@import 'padding';
|
|
30
31
|
@import 'margin';
|
|
31
32
|
@import 'animations';
|
|
32
|
-
// Fonts
|
|
33
|
-
@import './assets/fonts/mulish/mulish.css';
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
--pf-rounded-shaped: 24px 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:root [data-theme='light']
|
|
19
|
-
:
|
|
20
|
-
--pf-border-color: var(--pf-gray-color-200);
|
|
18
|
+
:root [data-theme='light'] {
|
|
19
|
+
--pf-border-color: var(--pf-gray-color-300);
|
|
21
20
|
--pf-border-color-light: var(--pf-gray-color-100);
|
|
22
21
|
--pf-horizontal-line-color: var(--pf-gray-color-200);
|
|
23
22
|
}
|
|
24
23
|
|
|
25
|
-
:root [data-theme='dark']
|
|
26
|
-
|
|
27
|
-
--pf-
|
|
28
|
-
--pf-border-color
|
|
24
|
+
:root [data-theme='dark'],
|
|
25
|
+
:root {
|
|
26
|
+
--pf-horizontal-line-color: var(--pf-tertiary-color-800);
|
|
27
|
+
--pf-border-color: var(--pf-tertiary-color-800);
|
|
28
|
+
--pf-border-color-light: var(--pf-white-color-100);
|
|
29
29
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--pf-padding-0: 0;
|
|
3
|
+
--pf-padding-0-5: 2px;
|
|
3
4
|
--pf-padding-1: 4px;
|
|
5
|
+
--pf-padding-1-5: 6px;
|
|
4
6
|
--pf-padding-2: 8px;
|
|
7
|
+
--pf-padding-2-5: 10px;
|
|
5
8
|
--pf-padding-3: 12px;
|
|
9
|
+
--pf-padding-3-5: 14px;
|
|
6
10
|
--pf-padding-4: 16px;
|
|
7
11
|
--pf-padding-5: 20px;
|
|
8
12
|
--pf-padding-6: 24px;
|
|
@@ -16,4 +20,4 @@
|
|
|
16
20
|
--pf-padding-14: 56px;
|
|
17
21
|
--pf-padding-15: 60px;
|
|
18
22
|
--pf-padding-16: 64px;
|
|
19
|
-
}
|
|
23
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Family
|
|
3
|
-
--pf-font-family-base: '
|
|
3
|
+
--pf-font-family-base: 'Noto Sans', sans-serif;
|
|
4
4
|
|
|
5
5
|
// Sizes
|
|
6
6
|
--pf-font-size-base: 1rem;
|
|
@@ -30,4 +30,10 @@
|
|
|
30
30
|
--pf-label-size-sm: var(--pf-font-size-overline);
|
|
31
31
|
--pf-label-size-md: var(--pf-font-size-body);
|
|
32
32
|
--pf-label-size-lg: var(--pf-font-size-h2);
|
|
33
|
+
|
|
34
|
+
// Line heights
|
|
35
|
+
--pf-line-height-xs: calc(0.75 * var(--pf-font-size-base));
|
|
36
|
+
--pf-line-height-sm: var(--pf-font-size-base);
|
|
37
|
+
--pf-line-height-md: calc(1.25 * var(--pf-font-size-base));
|
|
38
|
+
--pf-line-height-lg: calc(1.5 * var(--pf-font-size-base));
|
|
33
39
|
}
|
|
@@ -1,102 +1,166 @@
|
|
|
1
|
-
:root [data-theme='dark']
|
|
1
|
+
:root [data-theme='dark'],
|
|
2
|
+
:root {
|
|
2
3
|
// Primary Color
|
|
3
|
-
--pf-primary-color: #
|
|
4
|
-
|
|
5
|
-
--pf-primary-color-
|
|
6
|
-
--pf-primary-color-
|
|
7
|
-
--pf-primary-color-
|
|
8
|
-
--pf-primary-color-
|
|
9
|
-
--pf-primary-color-
|
|
10
|
-
--pf-primary-color-
|
|
11
|
-
--pf-primary-color-
|
|
12
|
-
--pf-primary-color-
|
|
4
|
+
--pf-primary-color: #394c6b;
|
|
5
|
+
|
|
6
|
+
--pf-primary-color-50: #bcc7da;
|
|
7
|
+
--pf-primary-color-100: #7989b5;
|
|
8
|
+
--pf-primary-color-200: #8593b3;
|
|
9
|
+
--pf-primary-color-300: #7488a4;
|
|
10
|
+
--pf-primary-color-400: #5c708c;
|
|
11
|
+
--pf-primary-color-500: #394c6b;
|
|
12
|
+
--pf-primary-color-600: #233346;
|
|
13
|
+
--pf-primary-color-700: #182432;
|
|
14
|
+
--pf-primary-color-800: #101a26;
|
|
13
15
|
--pf-primary-color-900: #141b24;
|
|
14
|
-
--pf-primary-color-
|
|
16
|
+
--pf-primary-color-950: #0c141d;
|
|
15
17
|
|
|
16
18
|
// Secondary Color
|
|
17
|
-
--pf-secondary-color: #
|
|
18
|
-
|
|
19
|
-
--pf-secondary-color-
|
|
20
|
-
--pf-secondary-color-
|
|
21
|
-
--pf-secondary-color-
|
|
22
|
-
--pf-secondary-color-
|
|
23
|
-
--pf-secondary-color-
|
|
24
|
-
--pf-secondary-color-
|
|
25
|
-
--pf-secondary-color-
|
|
26
|
-
--pf-secondary-color-
|
|
27
|
-
--pf-secondary-color-
|
|
19
|
+
--pf-secondary-color: #198bdc;
|
|
20
|
+
|
|
21
|
+
--pf-secondary-color-50: #bddffa;
|
|
22
|
+
--pf-secondary-color-100: #83c5f6;
|
|
23
|
+
--pf-secondary-color-200: #68afee;
|
|
24
|
+
--pf-secondary-color-300: #66a2d5;
|
|
25
|
+
--pf-secondary-color-400: #36a1ea;
|
|
26
|
+
--pf-secondary-color-500: #198bdc;
|
|
27
|
+
--pf-secondary-color-550: #0070f5;
|
|
28
|
+
--pf-secondary-color-600: #2f6a98;
|
|
29
|
+
--pf-secondary-color-700: #0c6ebd;
|
|
30
|
+
--pf-secondary-color-800: #0b5899;
|
|
31
|
+
--pf-secondary-color-900: #002c4e;
|
|
32
|
+
--pf-secondary-color-950: #112341;
|
|
33
|
+
|
|
34
|
+
// Tertiary Color
|
|
35
|
+
--pf-tertiary-color: #40464e;
|
|
36
|
+
|
|
37
|
+
--pf-tertiary-color-50: #dae3eb;
|
|
38
|
+
--pf-tertiary-color-100: #c2d4df;
|
|
39
|
+
--pf-tertiary-color-200: #a3b2c9;
|
|
40
|
+
--pf-tertiary-color-300: #8593b3;
|
|
41
|
+
--pf-tertiary-color-400: #656f82;
|
|
42
|
+
--pf-tertiary-color-450: #4d5667;
|
|
43
|
+
--pf-tertiary-color-500: #40464e;
|
|
44
|
+
--pf-tertiary-color-600: #334154;
|
|
45
|
+
--pf-tertiary-color-700: #3b415b;
|
|
46
|
+
--pf-tertiary-color-800: #344152;
|
|
47
|
+
--pf-tertiary-color-900: #2d3444;
|
|
48
|
+
--pf-tertiary-color-950: #283243;
|
|
28
49
|
|
|
29
50
|
// Gray Color
|
|
30
|
-
--pf-gray-color: #
|
|
51
|
+
--pf-gray-color: #525252;
|
|
31
52
|
|
|
53
|
+
--pf-gray-color-50: #f6f6f6;
|
|
32
54
|
--pf-gray-color-100: #efefef;
|
|
33
|
-
--pf-gray-color-200: #
|
|
34
|
-
--pf-gray-color-300: #
|
|
35
|
-
--pf-gray-color-400: #
|
|
36
|
-
--pf-gray-color-
|
|
37
|
-
--pf-gray-color-
|
|
38
|
-
--pf-gray-color-
|
|
39
|
-
--pf-gray-color-
|
|
40
|
-
--pf-gray-color-
|
|
41
|
-
|
|
42
|
-
// Steel Color
|
|
43
|
-
--pf-steel-color: #3e4751;
|
|
44
|
-
|
|
45
|
-
--pf-steel-color-100: #9aa1b1;
|
|
46
|
-
--pf-steel-color-200: #7c8594;
|
|
47
|
-
--pf-steel-color-300: #6a717e;
|
|
48
|
-
--pf-steel-color-400: #545c67;
|
|
49
|
-
--pf-steel-color-500: #3e4751;
|
|
50
|
-
--pf-steel-color-600: #2d3444;
|
|
51
|
-
--pf-steel-color-700: #232a3a;
|
|
52
|
-
--pf-steel-color-800: #1a202f;
|
|
53
|
-
--pf-steel-color-900: #11161f;
|
|
55
|
+
--pf-gray-color-200: #dcdcdc;
|
|
56
|
+
--pf-gray-color-300: #bdbdbd;
|
|
57
|
+
--pf-gray-color-400: #989898;
|
|
58
|
+
--pf-gray-color-450: #737373;
|
|
59
|
+
--pf-gray-color-500: #525252;
|
|
60
|
+
--pf-gray-color-600: #404040;
|
|
61
|
+
--pf-gray-color-700: #262626;
|
|
62
|
+
--pf-gray-color-800: #171717;
|
|
63
|
+
--pf-gray-color-900: #0a0a0a;
|
|
54
64
|
|
|
55
|
-
//
|
|
56
|
-
--pf-
|
|
57
|
-
|
|
58
|
-
--pf-
|
|
59
|
-
--pf-
|
|
60
|
-
--pf-
|
|
61
|
-
--pf-
|
|
62
|
-
--pf-
|
|
63
|
-
--pf-
|
|
64
|
-
--pf-
|
|
65
|
-
--pf-
|
|
66
|
-
--pf-
|
|
65
|
+
//Red color
|
|
66
|
+
--pf-red-color: #ce6068;
|
|
67
|
+
|
|
68
|
+
--pf-red-color-50: #fcf5f4;
|
|
69
|
+
--pf-red-color-100: #fae9e9;
|
|
70
|
+
--pf-red-color-200: #f4d7d8;
|
|
71
|
+
--pf-red-color-300: #ebb6b8;
|
|
72
|
+
--pf-red-color-400: #df8d91;
|
|
73
|
+
--pf-red-color-500: #ce6068;
|
|
74
|
+
--pf-red-color-600: #b94553;
|
|
75
|
+
--pf-red-color-700: #9b3544;
|
|
76
|
+
--pf-red-color-800: #822f3e;
|
|
77
|
+
--pf-red-color-900: #702b39;
|
|
78
|
+
--pf-red-color-950: #3e131b;
|
|
67
79
|
|
|
68
80
|
//Orange color
|
|
69
|
-
--pf-orange-color: #
|
|
70
|
-
|
|
71
|
-
--pf-orange-color-100: #ffd599;
|
|
72
|
-
--pf-orange-color-200: #ffc676;
|
|
73
|
-
--pf-orange-color-300: #f7b75b;
|
|
74
|
-
--pf-orange-color-400: #f1ab48;
|
|
75
|
-
--pf-orange-color-500: #da9534;
|
|
76
|
-
--pf-orange-color-600: #c7892f;
|
|
77
|
-
--pf-orange-color-700: #a87428;
|
|
78
|
-
--pf-orange-color-800: #825b22;
|
|
79
|
-
--pf-orange-color-900: #68481a;
|
|
81
|
+
--pf-orange-color: #f46325;
|
|
80
82
|
|
|
81
|
-
|
|
82
|
-
--pf-
|
|
83
|
-
|
|
84
|
-
--pf-
|
|
85
|
-
--pf-
|
|
86
|
-
--pf-
|
|
87
|
-
--pf-
|
|
88
|
-
--pf-
|
|
89
|
-
--pf-
|
|
90
|
-
--pf-
|
|
91
|
-
--pf-
|
|
92
|
-
|
|
83
|
+
--pf-orange-color-50: #fff5ed;
|
|
84
|
+
--pf-orange-color-100: #fee9d6;
|
|
85
|
+
--pf-orange-color-200: #fcceac;
|
|
86
|
+
--pf-orange-color-300: #faac77;
|
|
87
|
+
--pf-orange-color-400: #f67e41;
|
|
88
|
+
--pf-orange-color-500: #f46325;
|
|
89
|
+
--pf-orange-color-600: #e54311;
|
|
90
|
+
--pf-orange-color-700: #be3010;
|
|
91
|
+
--pf-orange-color-800: #972815;
|
|
92
|
+
--pf-orange-color-900: #792315;
|
|
93
|
+
--pf-orange-color-950: #420f08;
|
|
94
|
+
|
|
95
|
+
//Yellow color
|
|
96
|
+
--pf-yellow-color: #f29c22;
|
|
97
|
+
|
|
98
|
+
--pf-yellow-color-50: #fbf7eb;
|
|
99
|
+
--pf-yellow-color-100: #f5edcc;
|
|
100
|
+
--pf-yellow-color-200: #ecd99c;
|
|
101
|
+
--pf-yellow-color-300: #deb650;
|
|
102
|
+
--pf-yellow-color-400: #d7a438;
|
|
103
|
+
--pf-yellow-color-500: #f29c22;
|
|
104
|
+
--pf-yellow-color-600: #c88e2a;
|
|
105
|
+
--pf-yellow-color-700: #ac6e22;
|
|
106
|
+
--pf-yellow-color-800: #80670c;
|
|
107
|
+
--pf-yellow-color-900: #463703;
|
|
108
|
+
--pf-yellow-color-950: #312602;
|
|
109
|
+
|
|
110
|
+
//Green Color
|
|
111
|
+
--pf-green-color: #15b77d;
|
|
112
|
+
|
|
113
|
+
--pf-green-color-50: #a9f1ce;
|
|
114
|
+
--pf-green-color-100: #71e4b3;
|
|
115
|
+
--pf-green-color-200: #14b8a6;
|
|
116
|
+
--pf-green-color-300: #03aaaa;
|
|
117
|
+
--pf-green-color-400: #38cf94;
|
|
118
|
+
--pf-green-color-500: #15b77d;
|
|
119
|
+
--pf-green-color-600: #099263;
|
|
120
|
+
--pf-green-color-700: #087950;
|
|
121
|
+
--pf-green-color-800: #085d43;
|
|
122
|
+
--pf-green-color-900: #084c38;
|
|
123
|
+
--pf-green-color-950: #032b20;
|
|
124
|
+
|
|
125
|
+
// Purple Color
|
|
126
|
+
--pf-purple-color: #9776d3;
|
|
127
|
+
|
|
128
|
+
--pf-purple-color-50: #f7f6fc;
|
|
129
|
+
--pf-purple-color-100: #f1edfa;
|
|
130
|
+
--pf-purple-color-200: #e4dff5;
|
|
131
|
+
--pf-purple-color-300: #cfc4ee;
|
|
132
|
+
--pf-purple-color-400: #b6a3e2;
|
|
133
|
+
--pf-purple-color-500: #9776d3;
|
|
134
|
+
--pf-purple-color-600: #8b60c7;
|
|
135
|
+
--pf-purple-color-700: #7a4eb3;
|
|
136
|
+
--pf-purple-color-800: #664196;
|
|
137
|
+
--pf-purple-color-900: #55377b;
|
|
138
|
+
--pf-purple-color-950: #352253;
|
|
139
|
+
|
|
140
|
+
// White color
|
|
141
|
+
--pf-white-color: #ffffff;
|
|
142
|
+
--pf-white-color-1: rgba(255, 255, 255, 0.01);
|
|
143
|
+
--pf-white-color-3: rgba(255, 255, 255, 0.03);
|
|
144
|
+
--pf-white-color-5: rgba(255, 255, 255, 0.05);
|
|
145
|
+
--pf-white-color-10: rgba(255, 255, 255, 0.1);
|
|
146
|
+
--pf-white-color-15: rgba(255, 255, 255, 0.15);
|
|
147
|
+
--pf-white-color-20: rgba(255, 255, 255, 0.2);
|
|
148
|
+
--pf-white-color-30: rgba(255, 255, 255, 0.3);
|
|
149
|
+
--pf-white-color-40: rgba(255, 255, 255, 0.4);
|
|
150
|
+
--pf-white-color-50: rgba(255, 255, 255, 0.5);
|
|
151
|
+
--pf-white-color-60: rgba(255, 255, 255, 0.6);
|
|
152
|
+
--pf-white-color-70: rgba(255, 255, 255, 0.7);
|
|
153
|
+
--pf-white-color-80: rgba(255, 255, 255, 0.8);
|
|
154
|
+
--pf-white-color-90: rgba(255, 255, 255, 0.9);
|
|
155
|
+
--pf-white-color-100: rgba(255, 255, 255, 1);
|
|
93
156
|
|
|
94
157
|
// Utility Colors
|
|
95
158
|
--pf-error-color: var(--pf-red-color);
|
|
96
159
|
--pf-success-color: var(--pf-green-color);
|
|
97
|
-
--pf-warning-color: var(--pf-
|
|
98
|
-
--pf-neutral-color: var(--pf-gray-color);
|
|
99
|
-
--pf-info-color: var(--pf-secondary-color);
|
|
160
|
+
--pf-warning-color: var(--pf-yellow-color-300);
|
|
161
|
+
--pf-neutral-color: var(--pf-gray-color-100);
|
|
162
|
+
--pf-info-color: var(--pf-secondary-color-200);
|
|
163
|
+
--pf-brand-color: var(--pf-secondary-color-550);
|
|
100
164
|
|
|
101
165
|
--pf-link-color: var(--pf-gray-color-300);
|
|
102
166
|
--pf-link-hover-color: var(--pf-gray-color-100);
|