@indico-data/design-system 2.43.1 → 2.44.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 +1775 -1017
- package/lib/index.d.ts +148 -885
- package/lib/index.esm.css +1775 -1017
- 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 +9 -8
- 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 +5 -16
- package/src/styles/index.scss +1 -2
- package/src/styles/storybook.scss +1 -1
- package/src/styles/variables/_borders.scss +6 -6
- 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
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
type Props = PermafrostComponent & {
|
|
4
|
-
accordion?: boolean;
|
|
5
|
-
accordionDefaultOpen?: boolean;
|
|
6
|
-
emptyListMessage?: string;
|
|
7
|
-
error?: any;
|
|
8
|
-
errorMessage?: any;
|
|
9
|
-
headerComponent?: React.ReactNode;
|
|
10
|
-
listHeader: React.ReactNode;
|
|
11
|
-
listItems: React.ReactNode[];
|
|
12
|
-
loading?: any;
|
|
13
|
-
pagination?: {
|
|
14
|
-
currentPage: number;
|
|
15
|
-
limit: number;
|
|
16
|
-
pageInfo: {
|
|
17
|
-
startCursor: number;
|
|
18
|
-
endCursor: number;
|
|
19
|
-
hasNextPage: boolean;
|
|
20
|
-
aggregateCount: number;
|
|
21
|
-
};
|
|
22
|
-
getNextPage: (before: number) => void;
|
|
23
|
-
getPage: (after: number, pageOffset: number) => void;
|
|
24
|
-
getPreviousPage: (after: number) => void;
|
|
25
|
-
};
|
|
26
|
-
sortBy?: {
|
|
27
|
-
descending: boolean;
|
|
28
|
-
items: {
|
|
29
|
-
name: string;
|
|
30
|
-
value: string;
|
|
31
|
-
}[];
|
|
32
|
-
value: string;
|
|
33
|
-
onSort: (value: string) => void;
|
|
34
|
-
updateDescending: () => void;
|
|
35
|
-
};
|
|
36
|
-
subTitle?: string | React.ReactNode;
|
|
37
|
-
title: string;
|
|
38
|
-
totalCount?: number;
|
|
39
|
-
};
|
|
40
|
-
export declare const ListTable: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export default ListTable;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { StoryObj } from '@storybook/react';
|
|
3
|
-
import { ListTable } from './ListTable';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
component: (props: import("../../../types").PermafrostComponent & {
|
|
6
|
-
accordion?: boolean;
|
|
7
|
-
accordionDefaultOpen?: boolean;
|
|
8
|
-
emptyListMessage?: string;
|
|
9
|
-
error?: any;
|
|
10
|
-
errorMessage?: any;
|
|
11
|
-
headerComponent?: React.ReactNode;
|
|
12
|
-
listHeader: React.ReactNode;
|
|
13
|
-
listItems: React.ReactNode[];
|
|
14
|
-
loading?: any;
|
|
15
|
-
pagination?: {
|
|
16
|
-
currentPage: number;
|
|
17
|
-
limit: number;
|
|
18
|
-
pageInfo: {
|
|
19
|
-
startCursor: number;
|
|
20
|
-
endCursor: number;
|
|
21
|
-
hasNextPage: boolean;
|
|
22
|
-
aggregateCount: number;
|
|
23
|
-
};
|
|
24
|
-
getNextPage: (before: number) => void;
|
|
25
|
-
getPage: (after: number, pageOffset: number) => void;
|
|
26
|
-
getPreviousPage: (after: number) => void;
|
|
27
|
-
};
|
|
28
|
-
sortBy?: {
|
|
29
|
-
descending: boolean;
|
|
30
|
-
items: {
|
|
31
|
-
name: string;
|
|
32
|
-
value: string;
|
|
33
|
-
}[];
|
|
34
|
-
value: string;
|
|
35
|
-
onSort: (value: string) => void;
|
|
36
|
-
updateDescending: () => void;
|
|
37
|
-
};
|
|
38
|
-
subTitle?: string | React.ReactNode;
|
|
39
|
-
title: string;
|
|
40
|
-
totalCount?: number;
|
|
41
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
title: string;
|
|
43
|
-
argTypes: {};
|
|
44
|
-
};
|
|
45
|
-
export default meta;
|
|
46
|
-
type Story = StoryObj<typeof ListTable>;
|
|
47
|
-
export declare const Base: Story;
|
|
48
|
-
export declare const WithSortBy: Story;
|
|
49
|
-
export declare const WithSubTitle: Story;
|
|
50
|
-
export declare const WithAccordion: Story;
|
|
51
|
-
export declare const WithHeaderComponent: Story;
|
|
52
|
-
export declare const WithEverything: Story;
|
|
53
|
-
export declare const Loading: Story;
|
|
54
|
-
export declare const Error: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledListTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ListTable } from './ListTable';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { mockUserHeaders, mockDocProcHeaders, mockAllUsers, mockDocProcReport } from './mock-data';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export declare const mockUserHeaders: {
|
|
2
|
-
name: string;
|
|
3
|
-
value: string;
|
|
4
|
-
}[];
|
|
5
|
-
export declare const mockDocProcHeaders: {
|
|
6
|
-
name: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const mockAllUsers: {
|
|
10
|
-
users: ({
|
|
11
|
-
id: number;
|
|
12
|
-
name: string;
|
|
13
|
-
email: string;
|
|
14
|
-
registeredAt: string;
|
|
15
|
-
active: boolean;
|
|
16
|
-
scopes: {
|
|
17
|
-
scope: string;
|
|
18
|
-
__typename: string;
|
|
19
|
-
}[];
|
|
20
|
-
__typename: string;
|
|
21
|
-
} | {
|
|
22
|
-
id: number;
|
|
23
|
-
name: string;
|
|
24
|
-
email: string;
|
|
25
|
-
registeredAt: string;
|
|
26
|
-
active: null;
|
|
27
|
-
scopes: never[];
|
|
28
|
-
__typename: string;
|
|
29
|
-
})[];
|
|
30
|
-
pageInfo: {
|
|
31
|
-
startCursor: number;
|
|
32
|
-
endCursor: number;
|
|
33
|
-
hasNextPage: boolean;
|
|
34
|
-
aggregateCount: number;
|
|
35
|
-
__typename: string;
|
|
36
|
-
};
|
|
37
|
-
__typename: string;
|
|
38
|
-
};
|
|
39
|
-
export declare const mockDocProcReport: {
|
|
40
|
-
reports: {
|
|
41
|
-
id: number;
|
|
42
|
-
name: string;
|
|
43
|
-
status: string;
|
|
44
|
-
createdOn: string;
|
|
45
|
-
}[];
|
|
46
|
-
pageInfo: {
|
|
47
|
-
startCursor: number;
|
|
48
|
-
endCursor: number;
|
|
49
|
-
hasNextPage: boolean;
|
|
50
|
-
aggregateCount: number;
|
|
51
|
-
__typename: string;
|
|
52
|
-
};
|
|
53
|
-
__typename: string;
|
|
54
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children: React.ReactNode | React.ReactNode[];
|
|
4
|
-
className?: string;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* A functional container for content that is yet to load or will change; displays a loading indicator and announces
|
|
10
|
-
* to Assistive Technology as needed.
|
|
11
|
-
*
|
|
12
|
-
* todo: this is an extremely simple version of this component; as I get more familiar with LoadingIndicator use cases, this will be refactored. - jm 9/1/2020
|
|
13
|
-
*/
|
|
14
|
-
export declare function LoadingAwareContainer(props: Props): React.ReactElement;
|
|
15
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { LoadingAwareContainer } from './LoadingAwareContainer';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof LoadingAwareContainer;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
className: {
|
|
8
|
-
control: {
|
|
9
|
-
disable: true;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
style: {
|
|
13
|
-
control: {
|
|
14
|
-
disable: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default meta;
|
|
20
|
-
type Story = StoryObj<typeof LoadingAwareContainer>;
|
|
21
|
-
export declare const Loading: Story;
|
|
22
|
-
export declare const Complete: Story;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const StyledStatusContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export declare const StyledLoadingAwareContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LoadingAwareContainer } from './LoadingAwareContainer';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PermafrostComponent } from '@/types';
|
|
2
|
-
type Props = PermafrostComponent & {
|
|
3
|
-
currentPage: number;
|
|
4
|
-
limit: number;
|
|
5
|
-
pageInfo: {
|
|
6
|
-
aggregateCount: number;
|
|
7
|
-
endCursor: number;
|
|
8
|
-
hasNextPage: boolean;
|
|
9
|
-
startCursor: number;
|
|
10
|
-
};
|
|
11
|
-
quantity: number;
|
|
12
|
-
skip?: number;
|
|
13
|
-
getPage(startCursor: number, endCursor: number): void;
|
|
14
|
-
getNextPage(cursor: number): void;
|
|
15
|
-
getPreviousPage(cursor: number): void;
|
|
16
|
-
};
|
|
17
|
-
export declare function Pagination(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Pagination } from './Pagination';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Pagination;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {};
|
|
7
|
-
args: {
|
|
8
|
-
skip: number;
|
|
9
|
-
limit: number;
|
|
10
|
-
getPage: () => void;
|
|
11
|
-
getNextPage: () => void;
|
|
12
|
-
getPreviousPage: () => void;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof Pagination>;
|
|
17
|
-
export declare const Normal: Story;
|
|
18
|
-
export declare const WithoutPages: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledPagination: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Pagination } from './Pagination';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PermafrostComponent, IconName, IconSizes } from '@/types';
|
|
2
|
-
type Props = {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
onChange: any;
|
|
5
|
-
value: boolean;
|
|
6
|
-
['aria-label']?: string;
|
|
7
|
-
iconSize?: IconSizes;
|
|
8
|
-
checkedIconName?: IconName;
|
|
9
|
-
notCheckedIconName?: IconName;
|
|
10
|
-
} & PermafrostComponent;
|
|
11
|
-
export declare const Toggle: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Toggle } from './Toggle';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: (props: {
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
onChange: any;
|
|
7
|
-
value: boolean;
|
|
8
|
-
"aria-label"?: string;
|
|
9
|
-
iconSize?: import("../../../types").IconSizes;
|
|
10
|
-
checkedIconName?: import("../../../types").IconName;
|
|
11
|
-
notCheckedIconName?: import("../../../types").IconName;
|
|
12
|
-
} & import("../../../types").PermafrostComponent) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
title: string;
|
|
14
|
-
argTypes: {};
|
|
15
|
-
args: {};
|
|
16
|
-
};
|
|
17
|
-
export default meta;
|
|
18
|
-
type Story = StoryObj<typeof Toggle>;
|
|
19
|
-
export declare const Normal: Story;
|
|
20
|
-
export declare const Disabled: Story;
|
|
21
|
-
export declare const Icons: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledToggle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Toggle } from './Toggle';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
type Props = PermafrostComponent & {
|
|
4
|
-
style?: object;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export declare const Section: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Section } from './Section';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: (props: import("../../../../types").PermafrostComponent & {
|
|
5
|
-
style?: object;
|
|
6
|
-
children: import("react").ReactNode;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
title: string;
|
|
9
|
-
argTypes: {};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof Section>;
|
|
13
|
-
export declare const Normal: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Section } from './Section';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
type Props = PermafrostComponent & {
|
|
4
|
-
title?: string;
|
|
5
|
-
style?: object;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export declare const SectionBlock: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledSectionBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SectionBlock } from './SectionBlock';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
export type SectionBodyProps = PermafrostComponent & {
|
|
4
|
-
style?: object;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export declare const SectionBody: (props: SectionBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { SectionBody } from './SectionBody';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: (props: import("./SectionBody").SectionBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {};
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof SectionBody>;
|
|
10
|
-
export declare const Normal: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledSectionBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SectionBody } from './SectionBody';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
type Props = PermafrostComponent & {
|
|
4
|
-
style?: object;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export declare const SectionHeader: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { StoryObj } from '@storybook/react';
|
|
3
|
-
import { SectionHeader } from './SectionHeader';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
component: (props: import("../../../../types").PermafrostComponent & {
|
|
6
|
-
style?: object;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
title: string;
|
|
10
|
-
argTypes: {};
|
|
11
|
-
};
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof SectionHeader>;
|
|
14
|
-
export declare const Normal: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledSectionHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SectionHeader } from './SectionHeader';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SectionTable: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledSectionTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SectionTable } from './SectionTable';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
export type ButtonVariant = 'primary' | 'cta' | 'normal' | 'link-style' | 'no-style' | 'outline';
|
|
4
|
-
export type ButtonProps = PermafrostComponent & {
|
|
5
|
-
'aria-label'?: string;
|
|
6
|
-
'aria-pressed'?: boolean;
|
|
7
|
-
'aria-selected'?: boolean;
|
|
8
|
-
busy?: boolean;
|
|
9
|
-
children: React.ReactNode | React.ReactNode[];
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
onClick: (...args: any[]) => void;
|
|
12
|
-
onFocus?: () => void;
|
|
13
|
-
role?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
tabindex?: 0 | -1;
|
|
16
|
-
type?: 'submit' | 'button' | 'reset';
|
|
17
|
-
variant?: ButtonVariant;
|
|
18
|
-
onMouseEnter?: () => void;
|
|
19
|
-
onMouseLeave?: () => void;
|
|
20
|
-
};
|
|
21
|
-
export declare function Button(props: ButtonProps): React.ReactElement;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Button } from './Button';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Button;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
onClick: {
|
|
8
|
-
action: string;
|
|
9
|
-
};
|
|
10
|
-
className: {
|
|
11
|
-
control: {
|
|
12
|
-
disable: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default meta;
|
|
18
|
-
type Story = StoryObj<typeof Button>;
|
|
19
|
-
export declare const Normal: Story;
|
|
20
|
-
export declare const Primary: Story;
|
|
21
|
-
export declare const CallToAction: Story;
|
|
22
|
-
export declare const LinkStyled: Story;
|
|
23
|
-
export declare const UnStyled: Story;
|
|
24
|
-
export declare const Disabled: Story;
|
|
25
|
-
export declare const Busy: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Button } from './Button';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AriaButtonProps } from '@react-types/button';
|
|
3
|
-
import { IconName, PermafrostComponent } from '@/types';
|
|
4
|
-
import { ButtonSize, IconButtonVariant } from '../types';
|
|
5
|
-
type Props = PermafrostComponent & {
|
|
6
|
-
/**
|
|
7
|
-
* Adjusts vertical alignment of the text label, in relation to the icon
|
|
8
|
-
*/
|
|
9
|
-
adjustAlignment?: number;
|
|
10
|
-
busy?: boolean;
|
|
11
|
-
iconName: IconName;
|
|
12
|
-
iconSide?: 'start' | 'end';
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If element will be an `<a>`, the href URL
|
|
16
|
-
*/
|
|
17
|
-
isLink?: string;
|
|
18
|
-
label?: string;
|
|
19
|
-
size?: ButtonSize;
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
variant?: IconButtonVariant;
|
|
22
|
-
} & AriaButtonProps;
|
|
23
|
-
/**
|
|
24
|
-
* General utility “button with an icon” component. May also be used for links that _look_
|
|
25
|
-
* like buttons, via the `isLink` property.
|
|
26
|
-
*
|
|
27
|
-
* The button handler must be passed in via the `onPress` property (replaces `onClick`).
|
|
28
|
-
*
|
|
29
|
-
* @see {@link https://react-spectrum.adobe.com/blog/building-a-button-part-1.html}
|
|
30
|
-
*/
|
|
31
|
-
export declare function IconButton(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from './IconButton';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof IconButton;
|
|
5
|
-
title: string;
|
|
6
|
-
args: {
|
|
7
|
-
iconSide: "start";
|
|
8
|
-
size: "normal";
|
|
9
|
-
variant: "default";
|
|
10
|
-
};
|
|
11
|
-
argTypes: {
|
|
12
|
-
onPress: {
|
|
13
|
-
action: string;
|
|
14
|
-
};
|
|
15
|
-
isDisabled: {
|
|
16
|
-
control: {
|
|
17
|
-
type: "boolean";
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
adjustAlignment: {
|
|
21
|
-
description: string;
|
|
22
|
-
defaultValue: number;
|
|
23
|
-
};
|
|
24
|
-
className: {
|
|
25
|
-
control: {
|
|
26
|
-
disable: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
style: {
|
|
30
|
-
control: {
|
|
31
|
-
disable: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export default meta;
|
|
37
|
-
type Story = StoryObj<typeof IconButton>;
|
|
38
|
-
export declare const Normal: Story;
|
|
39
|
-
export declare const NoLabel: Story;
|
|
40
|
-
export declare const IconAtEnd: Story;
|
|
41
|
-
export declare const Busy: Story;
|
|
42
|
-
export declare const Disabled: Story;
|
|
43
|
-
export declare const AsLink: Story;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const iconButton: import("styled-components").RuleSet<object>;
|
|
2
|
-
export declare const StyledIconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
-
export declare const StyledIconButtonLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react-router-dom").LinkProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLAnchorElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
|
|
5
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react-router-dom").LinkProps & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IconButton } from './IconButton';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const defaultHeight = "36px";
|
|
2
|
-
export declare const largeHeight = "50px";
|
|
3
|
-
export declare const basicDefaults: import("styled-components").RuleSet<object>;
|
|
4
|
-
export declare const defaults: import("styled-components").RuleSet<object>;
|
|
5
|
-
export declare const sizeLarge: import("styled-components").RuleSet<object>;
|
|
6
|
-
export declare const variantDefault: import("styled-components").RuleSet<object>;
|
|
7
|
-
export declare const variantPrimary: import("styled-components").RuleSet<object>;
|
|
8
|
-
export declare const variantDestructive: import("styled-components").RuleSet<object>;
|
|
9
|
-
export declare const disabledOverrides: import("styled-components").RuleSet<object>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
type Props = PermafrostComponent & {
|
|
4
|
-
defaultValue?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
horizontal?: boolean;
|
|
7
|
-
initialText?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
onChange(e: React.ChangeEvent<HTMLSelectElement>): void;
|
|
10
|
-
options: {
|
|
11
|
-
name: string;
|
|
12
|
-
value: string | number;
|
|
13
|
-
}[];
|
|
14
|
-
style?: object;
|
|
15
|
-
value?: string | number;
|
|
16
|
-
validationErrors?: string[];
|
|
17
|
-
};
|
|
18
|
-
export declare const BorderSelect: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { BorderSelect } from './BorderSelect';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: (props: import("../../../../types").PermafrostComponent & {
|
|
5
|
-
defaultValue?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
horizontal?: boolean;
|
|
8
|
-
initialText?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
onChange(e: import("react").ChangeEvent<HTMLSelectElement>): void;
|
|
11
|
-
options: {
|
|
12
|
-
name: string;
|
|
13
|
-
value: string | number;
|
|
14
|
-
}[];
|
|
15
|
-
style?: object;
|
|
16
|
-
value?: string | number;
|
|
17
|
-
validationErrors?: string[];
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
title: string;
|
|
20
|
-
argTypes: {};
|
|
21
|
-
args: {
|
|
22
|
-
onChange: () => void;
|
|
23
|
-
options: {
|
|
24
|
-
name: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof BorderSelect>;
|
|
31
|
-
export declare const Base: Story;
|