@indico-data/design-system 3.22.0 → 3.23.0-beta.1
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/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 +98 -0
- package/lib/build/generated/iconTypes.d.ts +2 -0
- package/lib/components/alert/Alert.d.ts +2 -0
- package/lib/components/alert/Alert.stories.d.ts +15 -0
- package/lib/components/alert/__tests__/Alert.test.d.ts +1 -0
- package/lib/components/alert/index.d.ts +2 -0
- package/lib/components/alert/types.d.ts +26 -0
- package/lib/components/floatUI/FloatUI.test.d.ts +1 -0
- package/lib/components/forms/timePicker/constants.d.ts +13 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/pill/Pill.d.ts +1 -1
- package/lib/components/pill/Pill.stories.d.ts +3 -0
- package/lib/components/pill/types.d.ts +4 -0
- package/lib/components/tanstackTable/TanstakTable.d.ts +4 -0
- package/lib/index.css +238 -36
- package/lib/index.d.ts +34 -2
- package/lib/index.esm.css +238 -36
- package/lib/index.esm.js +41 -5
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +40 -3
- package/lib/index.js.map +1 -1
- package/lib/legacy/components/Accordion/Accordion.d.ts +9 -0
- package/lib/legacy/components/Accordion/Accordion.stories.d.ts +25 -0
- package/lib/legacy/components/Accordion/Accordion.styles.d.ts +1 -0
- package/lib/legacy/components/Accordion/index.d.ts +1 -0
- package/lib/legacy/components/ListTable/Header/Header.d.ts +21 -0
- package/lib/legacy/components/ListTable/Header/Header.styles.d.ts +1 -0
- package/lib/legacy/components/ListTable/Header/index.d.ts +1 -0
- package/lib/legacy/components/ListTable/ListTable.d.ts +41 -0
- package/lib/legacy/components/ListTable/ListTable.stories.d.ts +54 -0
- package/lib/legacy/components/ListTable/ListTable.styles.d.ts +1 -0
- package/lib/legacy/components/ListTable/index.d.ts +1 -0
- package/lib/legacy/components/ListTable/mock-data/index.d.ts +1 -0
- package/lib/legacy/components/ListTable/mock-data/mock-data.d.ts +54 -0
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.d.ts +15 -0
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +22 -0
- package/lib/legacy/components/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +2 -0
- package/lib/legacy/components/LoadingAwareContainer/index.d.ts +1 -0
- package/lib/legacy/components/Pagination/Pagination.d.ts +18 -0
- package/lib/legacy/components/Pagination/Pagination.stories.d.ts +18 -0
- package/lib/legacy/components/Pagination/Pagination.styles.d.ts +1 -0
- package/lib/legacy/components/Pagination/index.d.ts +1 -0
- package/lib/legacy/components/Toggle/Toggle.d.ts +12 -0
- package/lib/legacy/components/Toggle/Toggle.stories.d.ts +21 -0
- package/lib/legacy/components/Toggle/Toggle.styles.d.ts +1 -0
- package/lib/legacy/components/Toggle/index.d.ts +1 -0
- package/lib/legacy/components/Tooltip/Tooltip.d.ts +15 -0
- package/lib/legacy/components/Tooltip/Tooltip.stories.d.ts +9 -0
- package/lib/legacy/components/Tooltip/Tooltip.styles.d.ts +1 -0
- package/lib/legacy/components/Tooltip/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/Section/Section.d.ts +8 -0
- package/lib/legacy/components/basic-section/Section/Section.stories.d.ts +13 -0
- package/lib/legacy/components/basic-section/Section/Section.styles.d.ts +1 -0
- package/lib/legacy/components/basic-section/Section/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionBlock/SectionBlock.d.ts +9 -0
- package/lib/legacy/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionBlock/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.d.ts +7 -0
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.stories.d.ts +10 -0
- package/lib/legacy/components/basic-section/SectionBody/SectionBody.styles.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionBody/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.d.ts +8 -0
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.stories.d.ts +14 -0
- package/lib/legacy/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionHeader/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionTable/SectionTable.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionTable/SectionTable.styles.d.ts +1 -0
- package/lib/legacy/components/basic-section/SectionTable/index.d.ts +1 -0
- package/lib/legacy/components/basic-section/index.d.ts +5 -0
- package/lib/legacy/components/buttons/Button/Button.d.ts +21 -0
- package/lib/legacy/components/buttons/Button/Button.stories.d.ts +25 -0
- package/lib/legacy/components/buttons/Button/Button.styles.d.ts +1 -0
- package/lib/legacy/components/buttons/Button/index.d.ts +1 -0
- package/lib/legacy/components/buttons/IconButton/IconButton.d.ts +32 -0
- package/lib/legacy/components/buttons/IconButton/IconButton.stories.d.ts +43 -0
- package/lib/legacy/components/buttons/IconButton/IconButton.styles.d.ts +5 -0
- package/lib/legacy/components/buttons/IconButton/index.d.ts +1 -0
- package/lib/legacy/components/buttons/commonStyles.d.ts +9 -0
- package/lib/legacy/components/buttons/index.d.ts +2 -0
- package/lib/legacy/components/buttons/types.d.ts +3 -0
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.d.ts +19 -0
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.stories.d.ts +31 -0
- package/lib/legacy/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +2 -0
- package/lib/legacy/components/dropdowns/BorderSelect/index.d.ts +1 -0
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.d.ts +23 -0
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +46 -0
- package/lib/legacy/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +4 -0
- package/lib/legacy/components/dropdowns/MultiCombobox/index.d.ts +1 -0
- package/lib/legacy/components/dropdowns/Select/Select.d.ts +19 -0
- package/lib/legacy/components/dropdowns/Select/Select.stories.d.ts +34 -0
- package/lib/legacy/components/dropdowns/Select/Select.styles.d.ts +1 -0
- package/lib/legacy/components/dropdowns/Select/index.d.ts +1 -0
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.d.ts +20 -0
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +31 -0
- package/lib/legacy/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +4 -0
- package/lib/legacy/components/dropdowns/SingleCombobox/index.d.ts +1 -0
- package/lib/legacy/components/dropdowns/commonStyles.d.ts +1 -0
- package/lib/legacy/components/dropdowns/index.d.ts +4 -0
- package/lib/legacy/components/dropdowns/types.d.ts +45 -0
- package/lib/legacy/components/dropdowns/useCombobox.d.ts +25 -0
- package/lib/legacy/components/dropdowns/utils.d.ts +20 -0
- package/lib/legacy/components/index.d.ts +2 -0
- package/lib/legacy/components/inputs/EditableInput/EditableInput.d.ts +13 -0
- package/lib/legacy/components/inputs/EditableInput/EditableInput.stories.d.ts +14 -0
- package/lib/legacy/components/inputs/EditableInput/EditableInput.styles.d.ts +1 -0
- package/lib/legacy/components/inputs/EditableInput/index.d.ts +1 -0
- package/lib/legacy/components/inputs/NumberInput/NumberInput.d.ts +23 -0
- package/lib/legacy/components/inputs/NumberInput/NumberInput.stories.d.ts +28 -0
- package/lib/legacy/components/inputs/NumberInput/NumberInput.styles.d.ts +1 -0
- package/lib/legacy/components/inputs/NumberInput/index.d.ts +1 -0
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.d.ts +25 -0
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.stories.d.ts +15 -0
- package/lib/legacy/components/inputs/RadioButtons/RadioButtons.styles.d.ts +13 -0
- package/lib/legacy/components/inputs/RadioButtons/index.d.ts +1 -0
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.d.ts +27 -0
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.stories.d.ts +16 -0
- package/lib/legacy/components/inputs/RadioGroup/RadioGroup.styles.d.ts +1 -0
- package/lib/legacy/components/inputs/RadioGroup/index.d.ts +1 -0
- package/lib/legacy/components/inputs/SearchInput/SearchInput.d.ts +17 -0
- package/lib/legacy/components/inputs/SearchInput/SearchInput.stories.d.ts +30 -0
- package/lib/legacy/components/inputs/SearchInput/SearchInput.styles.d.ts +1 -0
- package/lib/legacy/components/inputs/SearchInput/index.d.ts +1 -0
- package/lib/legacy/components/inputs/TextInput/TextInput.d.ts +24 -0
- package/lib/legacy/components/inputs/TextInput/TextInput.stories.d.ts +62 -0
- package/lib/legacy/components/inputs/TextInput/TextInput.styles.d.ts +2 -0
- package/lib/legacy/components/inputs/TextInput/index.d.ts +1 -0
- package/lib/legacy/components/inputs/index.d.ts +6 -0
- package/lib/legacy/components/inputs/inputsCommon.styles.d.ts +4 -0
- package/lib/legacy/components/loading-indicators/BarSpinner/BarSpinner.d.ts +7 -0
- package/lib/legacy/components/loading-indicators/BarSpinner/BarSpinner.stories.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/BarSpinner/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/CirclePulse/CirclePulse.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/CirclePulse/CirclePulse.stories.d.ts +12 -0
- package/lib/legacy/components/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +7 -0
- package/lib/legacy/components/loading-indicators/CirclePulse/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.stories.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/CircleSpinner/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +11 -0
- package/lib/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +7 -0
- package/lib/legacy/components/loading-indicators/LoadingIndicator/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.stories.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/LoadingList/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.d.ts +12 -0
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/PercentageRing/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +10 -0
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/index.d.ts +1 -0
- package/lib/legacy/components/loading-indicators/RandomLoadingMessage/random-messages.d.ts +2 -0
- package/lib/legacy/components/loading-indicators/index.d.ts +3 -0
- package/lib/legacy/components/modals/ConfirmModal/ConfirmModal.d.ts +17 -0
- package/lib/legacy/components/modals/ConfirmModal/ConfirmModal.stories.d.ts +44 -0
- package/lib/legacy/components/modals/ConfirmModal/ConfirmModal.styles.d.ts +1 -0
- package/lib/legacy/components/modals/ConfirmModal/index.d.ts +1 -0
- package/lib/legacy/components/modals/ModalBase/ModalBase.d.ts +26 -0
- package/lib/legacy/components/modals/ModalBase/ModalBase.stories.d.ts +9 -0
- package/lib/legacy/components/modals/ModalBase/ModalBase.styles.d.ts +4 -0
- package/lib/legacy/components/modals/ModalBase/index.d.ts +2 -0
- package/lib/legacy/components/modals/index.d.ts +2 -0
- package/lib/legacy/components/text-truncate/TextTruncate.d.ts +8 -0
- package/lib/legacy/components/text-truncate/TextTruncate.stories.d.ts +6 -0
- package/lib/legacy/components/text-truncate/TextTruncate.styles.d.ts +1 -0
- package/lib/legacy/components/text-truncate/TextTruncate.test.d.ts +1 -0
- package/lib/legacy/components/text-truncate/index.d.ts +1 -0
- package/lib/legacy/components/user-feedback/Shrug/Shrug.d.ts +14 -0
- package/lib/legacy/components/user-feedback/Shrug/Shrug.stories.d.ts +31 -0
- package/lib/legacy/components/user-feedback/Shrug/Shrug.styles.d.ts +1 -0
- package/lib/legacy/components/user-feedback/Shrug/index.d.ts +1 -0
- package/lib/legacy/components/user-feedback/index.d.ts +1 -0
- package/lib/legacy/styles/globals/buttons.d.ts +1 -0
- package/lib/legacy/styles/globals/forms.d.ts +1 -0
- package/lib/legacy/styles/globals/index.d.ts +1 -0
- package/lib/legacy/styles/globals/layout.d.ts +1 -0
- package/lib/legacy/styles/globals/lists.d.ts +1 -0
- package/lib/legacy/styles/globals/margin-padding.d.ts +1 -0
- package/lib/legacy/styles/globals/media.d.ts +1 -0
- package/lib/legacy/styles/globals/tables.d.ts +1 -0
- package/lib/legacy/styles/globals/typography.d.ts +1 -0
- package/lib/legacy/styles/globals/utility-classes.d.ts +1 -0
- package/lib/legacy/styles/index.d.ts +1 -0
- package/lib/legacy/tokens/animation.d.ts +4 -0
- package/lib/legacy/tokens/breakpoints.d.ts +10 -0
- package/lib/legacy/tokens/colors.d.ts +144 -0
- package/lib/legacy/tokens/index.d.ts +8 -0
- package/lib/legacy/tokens/margin.d.ts +4 -0
- package/lib/legacy/tokens/numbers.d.ts +10 -0
- package/lib/legacy/tokens/padding.d.ts +4 -0
- package/lib/legacy/tokens/spacings.d.ts +5 -0
- package/lib/legacy/tokens/typography.d.ts +61 -0
- package/lib/legacy/utils/color.d.ts +21 -0
- package/lib/legacy/utils/index.d.ts +4 -0
- package/lib/legacy/utils/number.d.ts +21 -0
- package/lib/legacy/utils/string.d.ts +12 -0
- package/lib/src/components/button/Button.d.ts +3 -0
- package/lib/src/components/button/Button.stories.d.ts +23 -0
- package/lib/src/components/button/__tests__/Button.test.d.ts +1 -0
- package/lib/src/components/button/enums.d.ts +5 -0
- package/lib/src/components/button/index.d.ts +1 -0
- package/lib/src/components/button/types.d.ts +23 -0
- package/lib/src/components/card/Card.d.ts +10 -0
- package/lib/src/components/card/Card.stories.d.ts +6 -0
- package/lib/src/components/card/__tests__/Card.test.d.ts +1 -0
- package/lib/src/components/card/index.d.ts +1 -0
- package/lib/src/components/floatUI/FloatUI.d.ts +2 -0
- package/lib/src/components/floatUI/FloatUI.stories.d.ts +8 -0
- package/lib/src/components/floatUI/FloatUI.test.d.ts +1 -0
- package/lib/src/components/floatUI/index.d.ts +1 -0
- package/lib/src/components/floatUI/types.d.ts +13 -0
- package/lib/src/components/forms/checkbox/Checkbox.d.ts +13 -0
- package/lib/src/components/forms/checkbox/Checkbox.stories.d.ts +7 -0
- package/lib/src/components/forms/checkbox/__tests__/Checkbox.test.d.ts +1 -0
- package/lib/src/components/forms/checkbox/index.d.ts +1 -0
- package/lib/src/components/forms/form/Form.d.ts +14 -0
- package/lib/src/components/forms/form/Form.stories.d.ts +8 -0
- package/lib/src/components/forms/form/__tests__/Form.test.d.ts +1 -0
- package/lib/src/components/forms/form/index.d.ts +1 -0
- package/lib/src/components/forms/input/Input.d.ts +19 -0
- package/lib/src/components/forms/input/Input.stories.d.ts +12 -0
- package/lib/src/components/forms/input/__tests__/Input.test.d.ts +1 -0
- package/lib/src/components/forms/input/index.d.ts +1 -0
- package/lib/src/components/forms/numberInput/NumberInput.d.ts +12 -0
- package/lib/src/components/forms/numberInput/NumberInput.stories.d.ts +12 -0
- package/lib/src/components/forms/numberInput/__tests__/NumberInput.test.d.ts +1 -0
- package/lib/src/components/forms/numberInput/index.d.ts +1 -0
- package/lib/src/components/forms/passwordInput/PasswordInput.d.ts +15 -0
- package/lib/src/components/forms/passwordInput/PasswordInput.stories.d.ts +11 -0
- package/lib/src/components/forms/passwordInput/__tests__/PasswordInput.test.d.ts +1 -0
- package/lib/src/components/forms/passwordInput/index.d.ts +1 -0
- package/lib/src/components/forms/radio/Radio.d.ts +12 -0
- package/lib/src/components/forms/radio/Radio.stories.d.ts +6 -0
- package/lib/src/components/forms/radio/__tests__/Radio.test.d.ts +1 -0
- package/lib/src/components/forms/radio/index.d.ts +1 -0
- package/lib/src/components/forms/select/Select.d.ts +6 -0
- package/lib/src/components/forms/select/Select.stories.d.ts +7 -0
- package/lib/src/components/forms/select/__tests__/Select.test.d.ts +1 -0
- package/lib/src/components/forms/select/index.d.ts +1 -0
- package/lib/src/components/forms/select/types.d.ts +6 -0
- package/lib/src/components/forms/subcomponents/DisplayFormError.d.ts +5 -0
- package/lib/src/components/forms/subcomponents/ErrorList.d.ts +6 -0
- package/lib/src/components/forms/subcomponents/Label.d.ts +9 -0
- package/lib/src/components/forms/subcomponents/__tests__/ErrorList.test.d.ts +1 -0
- package/lib/src/components/forms/subcomponents/__tests__/Label.test.d.ts +1 -0
- package/lib/src/components/forms/textarea/Textarea.d.ts +21 -0
- package/lib/src/components/forms/textarea/Textarea.stories.d.ts +11 -0
- package/lib/src/components/forms/textarea/__tests__/Textarea.test.d.ts +1 -0
- package/lib/src/components/forms/textarea/index.d.ts +1 -0
- package/lib/src/components/forms/toggle/Toggle.d.ts +13 -0
- package/lib/src/components/forms/toggle/Toggle.stories.d.ts +6 -0
- package/lib/src/components/forms/toggle/__tests__/Toggle.test.d.ts +1 -0
- package/lib/src/components/forms/toggle/index.d.ts +1 -0
- package/lib/src/components/grid/col/Col.d.ts +2 -0
- package/lib/src/components/grid/col/Col.stories.d.ts +6 -0
- package/lib/src/components/grid/container/Container.d.ts +2 -0
- package/lib/src/components/grid/container/Container.stories.d.ts +10 -0
- package/lib/src/components/grid/index.d.ts +3 -0
- package/lib/src/components/grid/row/Row.d.ts +2 -0
- package/lib/src/components/grid/row/Row.stories.d.ts +6 -0
- package/lib/src/components/icons/Icon.d.ts +2 -0
- package/lib/src/components/icons/Icon.stories.d.ts +10 -0
- package/lib/src/components/icons/__tests__/Icon.test.d.ts +1 -0
- package/lib/src/components/icons/index.d.ts +1 -0
- package/lib/src/components/icons/indicons.d.ts +148 -0
- package/lib/src/components/icons/types.d.ts +10 -0
- package/lib/src/components/index.d.ts +16 -0
- package/lib/src/components/menu/Menu.d.ts +5 -0
- package/lib/src/components/menu/Menu.stories.d.ts +6 -0
- package/lib/src/components/menu/Menu.test.d.ts +1 -0
- package/lib/src/components/menu/index.d.ts +1 -0
- package/lib/src/components/pill/Pill.d.ts +2 -0
- package/lib/src/components/pill/Pill.stories.d.ts +8 -0
- package/lib/src/components/pill/__tests__/Pill.test.d.ts +1 -0
- package/lib/src/components/pill/index.d.ts +1 -0
- package/lib/src/components/pill/types.d.ts +10 -0
- package/lib/src/components/popper/Popper.d.ts +2 -0
- package/lib/src/components/popper/Popper.stories.d.ts +8 -0
- package/lib/src/components/popper/Popper.test.d.ts +1 -0
- package/lib/src/components/popper/PopperContext.d.ts +12 -0
- package/lib/src/components/popper/index.d.ts +1 -0
- package/lib/src/components/popper/types.d.ts +9 -0
- package/lib/src/components/skeleton/Skeleton.d.ts +9 -0
- package/lib/src/components/skeleton/Skeleton.stories.d.ts +9 -0
- package/lib/src/components/skeleton/__tests__/Skeleton.test.d.ts +1 -0
- package/lib/src/components/skeleton/index.d.ts +1 -0
- package/lib/src/components/table/LoadingComponent.d.ts +1 -0
- package/lib/src/components/table/SkeletonTable.d.ts +7 -0
- package/lib/src/components/table/Table.d.ts +2 -0
- package/lib/src/components/table/Table.stories.d.ts +7 -0
- package/lib/src/components/table/index.d.ts +1 -0
- package/lib/src/components/table/sampleData.d.ts +9 -0
- package/lib/src/components/table/types.d.ts +10 -0
- package/lib/src/components/tables/table/LoadingComponent.d.ts +1 -0
- package/lib/src/components/tables/table/Table.d.ts +78 -0
- package/lib/src/components/tables/table/Table.stories.d.ts +6 -0
- package/lib/src/components/tables/table/index.d.ts +1 -0
- package/lib/src/components/tables/table/sampleData.d.ts +8 -0
- package/lib/src/hooks/useClickOutside.d.ts +2 -0
- package/lib/src/index.d.ts +23 -0
- package/lib/src/legacy/components/Accordion/Accordion.d.ts +9 -0
- package/lib/src/legacy/components/Accordion/Accordion.stories.d.ts +25 -0
- package/lib/src/legacy/components/Accordion/Accordion.styles.d.ts +1 -0
- package/lib/src/legacy/components/Accordion/index.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/Header/Header.d.ts +21 -0
- package/lib/src/legacy/components/ListTable/Header/Header.styles.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/Header/index.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/ListTable.d.ts +41 -0
- package/lib/src/legacy/components/ListTable/ListTable.stories.d.ts +54 -0
- package/lib/src/legacy/components/ListTable/ListTable.styles.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/index.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/mock-data/index.d.ts +1 -0
- package/lib/src/legacy/components/ListTable/mock-data/mock-data.d.ts +54 -0
- package/lib/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.d.ts +15 -0
- package/lib/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +22 -0
- package/lib/src/legacy/components/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +2 -0
- package/lib/src/legacy/components/LoadingAwareContainer/index.d.ts +1 -0
- package/lib/src/legacy/components/Navigation/Drawer/Drawer.d.ts +16 -0
- package/lib/src/legacy/components/Navigation/Drawer/Drawer.stories.d.ts +6 -0
- package/lib/src/legacy/components/Navigation/Drawer/DrawerLinkList.d.ts +9 -0
- package/lib/src/legacy/components/Navigation/Drawer/DrawerLinkList.styles.d.ts +2 -0
- package/lib/src/legacy/components/Navigation/Drawer/__mocks__/mocks.d.ts +3 -0
- package/lib/src/legacy/components/Navigation/Drawer/__tests__/DrawerLinkList.test.d.ts +1 -0
- package/lib/src/legacy/components/Navigation/Drawer/index.d.ts +1 -0
- package/lib/src/legacy/components/Navigation/Drawer/types.d.ts +7 -0
- package/lib/src/legacy/components/Navigation/index.d.ts +1 -0
- package/lib/src/legacy/components/Pagination/Pagination.d.ts +18 -0
- package/lib/src/legacy/components/Pagination/Pagination.stories.d.ts +18 -0
- package/lib/src/legacy/components/Pagination/Pagination.styles.d.ts +1 -0
- package/lib/src/legacy/components/Pagination/index.d.ts +1 -0
- package/lib/src/legacy/components/Toggle/Toggle.d.ts +12 -0
- package/lib/src/legacy/components/Toggle/Toggle.stories.d.ts +21 -0
- package/lib/src/legacy/components/Toggle/Toggle.styles.d.ts +1 -0
- package/lib/src/legacy/components/Toggle/index.d.ts +1 -0
- package/lib/src/legacy/components/Tooltip/Tooltip.d.ts +15 -0
- package/lib/src/legacy/components/Tooltip/Tooltip.stories.d.ts +9 -0
- package/lib/src/legacy/components/Tooltip/Tooltip.styles.d.ts +1 -0
- package/lib/src/legacy/components/Tooltip/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/Section/Section.d.ts +8 -0
- package/lib/src/legacy/components/basic-section/Section/Section.stories.d.ts +13 -0
- package/lib/src/legacy/components/basic-section/Section/Section.styles.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/Section/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionBlock/SectionBlock.d.ts +9 -0
- package/lib/src/legacy/components/basic-section/SectionBlock/SectionBlock.styles.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionBlock/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionBody/SectionBody.d.ts +7 -0
- package/lib/src/legacy/components/basic-section/SectionBody/SectionBody.stories.d.ts +10 -0
- package/lib/src/legacy/components/basic-section/SectionBody/SectionBody.styles.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionBody/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionHeader/SectionHeader.d.ts +8 -0
- package/lib/src/legacy/components/basic-section/SectionHeader/SectionHeader.stories.d.ts +14 -0
- package/lib/src/legacy/components/basic-section/SectionHeader/SectionHeader.styles.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionHeader/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionTable/SectionTable.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionTable/SectionTable.styles.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/SectionTable/index.d.ts +1 -0
- package/lib/src/legacy/components/basic-section/index.d.ts +5 -0
- package/lib/src/legacy/components/buttons/Button/Button.d.ts +21 -0
- package/lib/src/legacy/components/buttons/Button/Button.stories.d.ts +25 -0
- package/lib/src/legacy/components/buttons/Button/Button.styles.d.ts +1 -0
- package/lib/src/legacy/components/buttons/Button/index.d.ts +1 -0
- package/lib/src/legacy/components/buttons/IconButton/IconButton.d.ts +32 -0
- package/lib/src/legacy/components/buttons/IconButton/IconButton.stories.d.ts +43 -0
- package/lib/src/legacy/components/buttons/IconButton/IconButton.styles.d.ts +5 -0
- package/lib/src/legacy/components/buttons/IconButton/index.d.ts +1 -0
- package/lib/src/legacy/components/buttons/commonStyles.d.ts +9 -0
- package/lib/src/legacy/components/buttons/index.d.ts +2 -0
- package/lib/src/legacy/components/buttons/types.d.ts +3 -0
- package/lib/src/legacy/components/dropdowns/BorderSelect/BorderSelect.d.ts +19 -0
- package/lib/src/legacy/components/dropdowns/BorderSelect/BorderSelect.stories.d.ts +31 -0
- package/lib/src/legacy/components/dropdowns/BorderSelect/BorderSelect.styles.d.ts +2 -0
- package/lib/src/legacy/components/dropdowns/BorderSelect/index.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.d.ts +23 -0
- package/lib/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +46 -0
- package/lib/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +4 -0
- package/lib/src/legacy/components/dropdowns/MultiCombobox/index.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/Select/Select.d.ts +19 -0
- package/lib/src/legacy/components/dropdowns/Select/Select.stories.d.ts +34 -0
- package/lib/src/legacy/components/dropdowns/Select/Select.styles.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/Select/index.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.d.ts +20 -0
- package/lib/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +31 -0
- package/lib/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +4 -0
- package/lib/src/legacy/components/dropdowns/SingleCombobox/index.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/commonStyles.d.ts +1 -0
- package/lib/src/legacy/components/dropdowns/index.d.ts +4 -0
- package/lib/src/legacy/components/dropdowns/types.d.ts +45 -0
- package/lib/src/legacy/components/dropdowns/useCombobox.d.ts +25 -0
- package/lib/src/legacy/components/dropdowns/utils.d.ts +20 -0
- package/lib/src/legacy/components/index.d.ts +14 -0
- package/lib/src/legacy/components/inputs/DatePicker/DatePicker.d.ts +15 -0
- package/lib/src/legacy/components/inputs/DatePicker/DatePicker.stories.d.ts +6 -0
- package/lib/src/legacy/components/inputs/DatePicker/DatePicker.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/DatePicker/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/EditableInput/EditableInput.d.ts +13 -0
- package/lib/src/legacy/components/inputs/EditableInput/EditableInput.stories.d.ts +14 -0
- package/lib/src/legacy/components/inputs/EditableInput/EditableInput.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/EditableInput/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.d.ts +21 -0
- package/lib/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.stories.d.ts +7 -0
- package/lib/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/NoInputDatePicker/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/NumberInput/NumberInput.d.ts +23 -0
- package/lib/src/legacy/components/inputs/NumberInput/NumberInput.stories.d.ts +28 -0
- package/lib/src/legacy/components/inputs/NumberInput/NumberInput.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/NumberInput/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/RadioButtons/RadioButtons.d.ts +25 -0
- package/lib/src/legacy/components/inputs/RadioButtons/RadioButtons.stories.d.ts +15 -0
- package/lib/src/legacy/components/inputs/RadioButtons/RadioButtons.styles.d.ts +13 -0
- package/lib/src/legacy/components/inputs/RadioButtons/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/RadioGroup/RadioGroup.d.ts +27 -0
- package/lib/src/legacy/components/inputs/RadioGroup/RadioGroup.stories.d.ts +16 -0
- package/lib/src/legacy/components/inputs/RadioGroup/RadioGroup.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/RadioGroup/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/SearchInput/SearchInput.d.ts +17 -0
- package/lib/src/legacy/components/inputs/SearchInput/SearchInput.stories.d.ts +30 -0
- package/lib/src/legacy/components/inputs/SearchInput/SearchInput.styles.d.ts +1 -0
- package/lib/src/legacy/components/inputs/SearchInput/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/TextInput/TextInput.d.ts +24 -0
- package/lib/src/legacy/components/inputs/TextInput/TextInput.stories.d.ts +62 -0
- package/lib/src/legacy/components/inputs/TextInput/TextInput.styles.d.ts +2 -0
- package/lib/src/legacy/components/inputs/TextInput/index.d.ts +1 -0
- package/lib/src/legacy/components/inputs/index.d.ts +8 -0
- package/lib/src/legacy/components/inputs/inputsCommon.styles.d.ts +4 -0
- package/lib/src/legacy/components/loading-indicators/BarSpinner/BarSpinner.d.ts +7 -0
- package/lib/src/legacy/components/loading-indicators/BarSpinner/BarSpinner.stories.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/BarSpinner/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/CirclePulse/CirclePulse.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/CirclePulse/CirclePulse.stories.d.ts +12 -0
- package/lib/src/legacy/components/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +7 -0
- package/lib/src/legacy/components/loading-indicators/CirclePulse/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.stories.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/CircleSpinner/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +11 -0
- package/lib/src/legacy/components/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +7 -0
- package/lib/src/legacy/components/loading-indicators/LoadingIndicator/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/LoadingList/LoadingList.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/LoadingList/LoadingList.stories.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/LoadingList/LoadingList.styles.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/LoadingList/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.d.ts +12 -0
- package/lib/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/PercentageRing/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +10 -0
- package/lib/src/legacy/components/loading-indicators/RandomLoadingMessage/index.d.ts +1 -0
- package/lib/src/legacy/components/loading-indicators/RandomLoadingMessage/random-messages.d.ts +2 -0
- package/lib/src/legacy/components/loading-indicators/index.d.ts +7 -0
- package/lib/src/legacy/components/modals/ConfirmModal/ConfirmModal.d.ts +17 -0
- package/lib/src/legacy/components/modals/ConfirmModal/ConfirmModal.stories.d.ts +44 -0
- package/lib/src/legacy/components/modals/ConfirmModal/ConfirmModal.styles.d.ts +1 -0
- package/lib/src/legacy/components/modals/ConfirmModal/index.d.ts +1 -0
- package/lib/src/legacy/components/modals/ModalBase/ModalBase.d.ts +26 -0
- package/lib/src/legacy/components/modals/ModalBase/ModalBase.stories.d.ts +9 -0
- package/lib/src/legacy/components/modals/ModalBase/ModalBase.styles.d.ts +4 -0
- package/lib/src/legacy/components/modals/ModalBase/index.d.ts +2 -0
- package/lib/src/legacy/components/modals/index.d.ts +2 -0
- package/lib/src/legacy/components/text-truncate/TextTruncate.d.ts +8 -0
- package/lib/src/legacy/components/text-truncate/TextTruncate.stories.d.ts +6 -0
- package/lib/src/legacy/components/text-truncate/TextTruncate.styles.d.ts +1 -0
- package/lib/src/legacy/components/text-truncate/TextTruncate.test.d.ts +1 -0
- package/lib/src/legacy/components/text-truncate/index.d.ts +1 -0
- package/lib/src/legacy/components/user-feedback/Shrug/Shrug.d.ts +14 -0
- package/lib/src/legacy/components/user-feedback/Shrug/Shrug.stories.d.ts +31 -0
- package/lib/src/legacy/components/user-feedback/Shrug/Shrug.styles.d.ts +1 -0
- package/lib/src/legacy/components/user-feedback/Shrug/index.d.ts +1 -0
- package/lib/src/legacy/components/user-feedback/index.d.ts +1 -0
- package/lib/src/legacy/styles/globals/buttons.d.ts +1 -0
- package/lib/src/legacy/styles/globals/forms.d.ts +1 -0
- package/lib/src/legacy/styles/globals/index.d.ts +1 -0
- package/lib/src/legacy/styles/globals/layout.d.ts +1 -0
- package/lib/src/legacy/styles/globals/lists.d.ts +1 -0
- package/lib/src/legacy/styles/globals/margin-padding.d.ts +1 -0
- package/lib/src/legacy/styles/globals/media.d.ts +1 -0
- package/lib/src/legacy/styles/globals/tables.d.ts +1 -0
- package/lib/src/legacy/styles/globals/typography.d.ts +1 -0
- package/lib/src/legacy/styles/globals/utility-classes.d.ts +1 -0
- package/lib/src/legacy/styles/index.d.ts +1 -0
- package/lib/src/legacy/tokens/animation.d.ts +4 -0
- package/lib/src/legacy/tokens/breakpoints.d.ts +10 -0
- package/lib/src/legacy/tokens/colors.d.ts +144 -0
- package/lib/src/legacy/tokens/index.d.ts +8 -0
- package/lib/src/legacy/tokens/margin.d.ts +4 -0
- package/lib/src/legacy/tokens/numbers.d.ts +10 -0
- package/lib/src/legacy/tokens/padding.d.ts +4 -0
- package/lib/src/legacy/tokens/spacings.d.ts +5 -0
- package/lib/src/legacy/tokens/typography.d.ts +61 -0
- package/lib/src/legacy/utils/color.d.ts +21 -0
- package/lib/src/legacy/utils/index.d.ts +4 -0
- package/lib/src/legacy/utils/number.d.ts +21 -0
- package/lib/src/legacy/utils/string.d.ts +12 -0
- package/lib/src/setupTests.d.ts +1 -0
- package/lib/src/storybook/labelArgTypes.d.ts +3 -0
- package/lib/src/stylesAndAnimations/borders/BorderColor.d.ts +3 -0
- package/lib/src/stylesAndAnimations/borders/BorderColor.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/borders/BorderRadius.d.ts +3 -0
- package/lib/src/stylesAndAnimations/borders/BorderRadius.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/borders/BorderStyles.d.ts +3 -0
- package/lib/src/stylesAndAnimations/borders/BorderStyles.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/borders/BorderThickness.d.ts +3 -0
- package/lib/src/stylesAndAnimations/borders/BorderThickness.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/borders/index.d.ts +4 -0
- package/lib/src/stylesAndAnimations/colors/Colors.d.ts +1 -0
- package/lib/src/stylesAndAnimations/colors/Colors.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/colors/Swatch.d.ts +8 -0
- package/lib/src/stylesAndAnimations/colors/UtilityClasses.d.ts +1 -0
- package/lib/src/stylesAndAnimations/colors/UtilityClasses.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/colors/constants.d.ts +5 -0
- package/lib/src/stylesAndAnimations/colors/hooks.d.ts +1 -0
- package/lib/src/stylesAndAnimations/colors/index.d.ts +1 -0
- package/lib/src/stylesAndAnimations/sizing/Sizing.d.ts +2 -0
- package/lib/src/stylesAndAnimations/sizing/Sizing.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/sizing/index.d.ts +1 -0
- package/lib/src/stylesAndAnimations/typography/Typography.d.ts +1 -0
- package/lib/src/stylesAndAnimations/typography/Typography.stories.d.ts +6 -0
- package/lib/src/stylesAndAnimations/typography/index.d.ts +1 -0
- package/lib/src/types.d.ts +19 -0
- package/lib/stylesAndAnimations/colors/ColorSwatch.d.ts +7 -0
- package/lib/stylesAndAnimations/colors/Colors.d.ts +1 -0
- package/lib/stylesAndAnimations/colors/Colors.stories.d.ts +6 -0
- package/lib/stylesAndAnimations/colors/Swatch.d.ts +8 -0
- package/lib/stylesAndAnimations/colors/constants.d.ts +23 -0
- package/lib/stylesAndAnimations/colors/index.d.ts +1 -0
- package/lib/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/alert/Alert.mdx +65 -0
- package/src/components/alert/Alert.stories.tsx +162 -0
- package/src/components/alert/Alert.tsx +68 -0
- package/src/components/alert/__tests__/Alert.test.tsx +52 -0
- package/src/components/alert/index.ts +2 -0
- package/src/components/alert/styles/Alert.scss +139 -0
- package/src/components/alert/styles/_tokens.scss +71 -0
- package/src/components/alert/types.ts +28 -0
- package/src/components/index.ts +1 -0
- package/src/components/pill/Pill.mdx +27 -0
- package/src/components/pill/Pill.stories.tsx +87 -0
- package/src/components/pill/Pill.tsx +36 -0
- package/src/components/pill/__tests__/Pill.test.tsx +93 -0
- package/src/components/pill/styles/Pill.scss +50 -9
- package/src/components/pill/types.ts +4 -0
- package/src/index.ts +1 -0
- package/src/setup/setupIcons.ts +8 -0
- package/src/styles/index.scss +2 -1
- package/src/types.ts +2 -0
package/lib/index.css
CHANGED
|
@@ -6500,21 +6500,21 @@ body div[class*=select__single-value] {
|
|
|
6500
6500
|
border-radius: var(--pf-border-radius-full);
|
|
6501
6501
|
}
|
|
6502
6502
|
.pill--sm {
|
|
6503
|
-
padding: var(--pf-spacing-
|
|
6503
|
+
padding: var(--pf-spacing-micro) var(--pf-spacing-xs);
|
|
6504
6504
|
font-size: var(--pf-font-size-sm);
|
|
6505
6505
|
font-weight: var(--pf-font-weight-semibold);
|
|
6506
6506
|
line-height: 16px;
|
|
6507
6507
|
gap: var(--pf-spacing-xxs);
|
|
6508
6508
|
}
|
|
6509
6509
|
.pill--md {
|
|
6510
|
-
padding: var(--pf-spacing-
|
|
6510
|
+
padding: var(--pf-spacing-micro) var(--pf-spacing-sm);
|
|
6511
6511
|
font-size: var(--pf-font-size-md);
|
|
6512
6512
|
font-weight: var(--pf-font-weight-medium);
|
|
6513
6513
|
line-height: 20px;
|
|
6514
6514
|
gap: var(--pf-spacing-xs);
|
|
6515
6515
|
}
|
|
6516
6516
|
.pill--lg {
|
|
6517
|
-
padding: var(--pf-spacing-
|
|
6517
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-md);
|
|
6518
6518
|
font-size: var(--pf-font-size-md);
|
|
6519
6519
|
font-weight: var(--pf-font-weight-medium);
|
|
6520
6520
|
line-height: 20px;
|
|
@@ -6523,6 +6523,15 @@ body div[class*=select__single-value] {
|
|
|
6523
6523
|
.pill--lg.pill--badge {
|
|
6524
6524
|
border-radius: var(--pf-border-radius-md);
|
|
6525
6525
|
}
|
|
6526
|
+
.pill--sm.pill--pill {
|
|
6527
|
+
padding: var(--pf-spacing-micro) var(--pf-spacing-sm);
|
|
6528
|
+
}
|
|
6529
|
+
.pill--md.pill--pill {
|
|
6530
|
+
padding: var(--pf-spacing-micro) var(--pf-spacing-md);
|
|
6531
|
+
}
|
|
6532
|
+
.pill--lg.pill--pill {
|
|
6533
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-lg);
|
|
6534
|
+
}
|
|
6526
6535
|
.pill--icon-only.pill--sm {
|
|
6527
6536
|
padding: var(--pf-spacing-xxs);
|
|
6528
6537
|
}
|
|
@@ -6533,18 +6542,27 @@ body div[class*=select__single-value] {
|
|
|
6533
6542
|
padding: var(--pf-spacing-sm);
|
|
6534
6543
|
}
|
|
6535
6544
|
.pill--closeable.pill--sm {
|
|
6536
|
-
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-
|
|
6545
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-xs);
|
|
6537
6546
|
}
|
|
6538
6547
|
.pill--closeable.pill--md {
|
|
6539
|
-
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-
|
|
6548
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-sm);
|
|
6540
6549
|
gap: var(--pf-spacing-xxs);
|
|
6541
6550
|
}
|
|
6542
6551
|
.pill--closeable.pill--lg {
|
|
6543
|
-
padding: var(--pf-spacing-xs) var(--pf-spacing-sm) var(--pf-spacing-xs) var(--pf-spacing-
|
|
6552
|
+
padding: var(--pf-spacing-xs) var(--pf-spacing-sm) var(--pf-spacing-xs) var(--pf-spacing-md);
|
|
6544
6553
|
gap: var(--pf-spacing-xxs);
|
|
6545
6554
|
}
|
|
6555
|
+
.pill--closeable.pill--pill.pill--sm {
|
|
6556
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-sm);
|
|
6557
|
+
}
|
|
6558
|
+
.pill--closeable.pill--pill.pill--md {
|
|
6559
|
+
padding: var(--pf-spacing-xxs) var(--pf-spacing-xs) var(--pf-spacing-xxs) var(--pf-spacing-md);
|
|
6560
|
+
}
|
|
6561
|
+
.pill--closeable.pill--pill.pill--lg {
|
|
6562
|
+
padding: var(--pf-spacing-xs) var(--pf-spacing-sm) var(--pf-spacing-xs) var(--pf-spacing-lg);
|
|
6563
|
+
}
|
|
6546
6564
|
.pill--solid-red {
|
|
6547
|
-
background-color: var(--pf-pill-solid-red-bg);
|
|
6565
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-red-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6548
6566
|
color: var(--pf-pill-solid-red-text);
|
|
6549
6567
|
}
|
|
6550
6568
|
.pill--solid-red > .icon {
|
|
@@ -6561,7 +6579,7 @@ body div[class*=select__single-value] {
|
|
|
6561
6579
|
background-color: var(--pf-pill-solid-red-close-hover-bg);
|
|
6562
6580
|
}
|
|
6563
6581
|
.pill--solid-purple {
|
|
6564
|
-
background-color: var(--pf-pill-solid-purple-bg);
|
|
6582
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-purple-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6565
6583
|
color: var(--pf-pill-solid-purple-text);
|
|
6566
6584
|
}
|
|
6567
6585
|
.pill--solid-purple > .icon {
|
|
@@ -6578,7 +6596,7 @@ body div[class*=select__single-value] {
|
|
|
6578
6596
|
background-color: var(--pf-pill-solid-purple-close-hover-bg);
|
|
6579
6597
|
}
|
|
6580
6598
|
.pill--solid-yellow {
|
|
6581
|
-
background-color: var(--pf-pill-solid-yellow-bg);
|
|
6599
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-yellow-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6582
6600
|
color: var(--pf-pill-solid-yellow-text);
|
|
6583
6601
|
}
|
|
6584
6602
|
.pill--solid-yellow > .icon {
|
|
@@ -6595,7 +6613,7 @@ body div[class*=select__single-value] {
|
|
|
6595
6613
|
background-color: var(--pf-pill-solid-yellow-close-hover-bg);
|
|
6596
6614
|
}
|
|
6597
6615
|
.pill--solid-blue {
|
|
6598
|
-
background-color: var(--pf-pill-solid-blue-bg);
|
|
6616
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-blue-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6599
6617
|
color: var(--pf-pill-solid-blue-text);
|
|
6600
6618
|
}
|
|
6601
6619
|
.pill--solid-blue > .icon {
|
|
@@ -6612,7 +6630,7 @@ body div[class*=select__single-value] {
|
|
|
6612
6630
|
background-color: var(--pf-pill-solid-blue-close-hover-bg);
|
|
6613
6631
|
}
|
|
6614
6632
|
.pill--solid-green {
|
|
6615
|
-
background-color: var(--pf-pill-solid-green-bg);
|
|
6633
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-green-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6616
6634
|
color: var(--pf-pill-solid-green-text);
|
|
6617
6635
|
}
|
|
6618
6636
|
.pill--solid-green > .icon {
|
|
@@ -6629,7 +6647,7 @@ body div[class*=select__single-value] {
|
|
|
6629
6647
|
background-color: var(--pf-pill-solid-green-close-hover-bg);
|
|
6630
6648
|
}
|
|
6631
6649
|
.pill--solid-gray {
|
|
6632
|
-
background-color: var(--pf-pill-solid-gray-bg);
|
|
6650
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-gray-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6633
6651
|
color: var(--pf-pill-solid-gray-text);
|
|
6634
6652
|
}
|
|
6635
6653
|
.pill--solid-gray > .icon {
|
|
@@ -6646,7 +6664,7 @@ body div[class*=select__single-value] {
|
|
|
6646
6664
|
background-color: var(--pf-pill-solid-gray-close-hover-bg);
|
|
6647
6665
|
}
|
|
6648
6666
|
.pill--solid-pink {
|
|
6649
|
-
background-color: var(--pf-pill-solid-pink-bg);
|
|
6667
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-pink-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6650
6668
|
color: var(--pf-pill-solid-pink-text);
|
|
6651
6669
|
}
|
|
6652
6670
|
.pill--solid-pink > .icon {
|
|
@@ -6663,7 +6681,7 @@ body div[class*=select__single-value] {
|
|
|
6663
6681
|
background-color: var(--pf-pill-solid-pink-close-hover-bg);
|
|
6664
6682
|
}
|
|
6665
6683
|
.pill--solid-orange {
|
|
6666
|
-
background-color: var(--pf-pill-solid-orange-bg);
|
|
6684
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-orange-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6667
6685
|
color: var(--pf-pill-solid-orange-text);
|
|
6668
6686
|
}
|
|
6669
6687
|
.pill--solid-orange > .icon {
|
|
@@ -6680,7 +6698,7 @@ body div[class*=select__single-value] {
|
|
|
6680
6698
|
background-color: var(--pf-pill-solid-orange-close-hover-bg);
|
|
6681
6699
|
}
|
|
6682
6700
|
.pill--solid-teal {
|
|
6683
|
-
background-color: var(--pf-pill-solid-teal-bg);
|
|
6701
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-teal-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6684
6702
|
color: var(--pf-pill-solid-teal-text);
|
|
6685
6703
|
}
|
|
6686
6704
|
.pill--solid-teal > .icon {
|
|
@@ -6697,7 +6715,7 @@ body div[class*=select__single-value] {
|
|
|
6697
6715
|
background-color: var(--pf-pill-solid-teal-close-hover-bg);
|
|
6698
6716
|
}
|
|
6699
6717
|
.pill--solid-soft {
|
|
6700
|
-
background-color: var(--pf-pill-solid-soft-bg);
|
|
6718
|
+
background-color: color-mix(in srgb, var(--pf-pill-solid-soft-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6701
6719
|
color: var(--pf-pill-solid-soft-text);
|
|
6702
6720
|
}
|
|
6703
6721
|
.pill--solid-soft > .icon {
|
|
@@ -6714,9 +6732,9 @@ body div[class*=select__single-value] {
|
|
|
6714
6732
|
background-color: var(--pf-pill-solid-soft-close-hover-bg);
|
|
6715
6733
|
}
|
|
6716
6734
|
.pill--outline-red {
|
|
6717
|
-
background-color: var(--pf-pill-outline-red-bg);
|
|
6735
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-red-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6718
6736
|
color: var(--pf-pill-outline-red-text);
|
|
6719
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-red-border);
|
|
6737
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-red-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6720
6738
|
}
|
|
6721
6739
|
.pill--outline-red > .icon {
|
|
6722
6740
|
color: var(--pf-pill-outline-red-icon);
|
|
@@ -6732,9 +6750,9 @@ body div[class*=select__single-value] {
|
|
|
6732
6750
|
background-color: var(--pf-pill-outline-red-close-hover-bg);
|
|
6733
6751
|
}
|
|
6734
6752
|
.pill--outline-purple {
|
|
6735
|
-
background-color: var(--pf-pill-outline-purple-bg);
|
|
6753
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-purple-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6736
6754
|
color: var(--pf-pill-outline-purple-text);
|
|
6737
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-purple-border);
|
|
6755
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-purple-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6738
6756
|
}
|
|
6739
6757
|
.pill--outline-purple > .icon {
|
|
6740
6758
|
color: var(--pf-pill-outline-purple-icon);
|
|
@@ -6750,9 +6768,9 @@ body div[class*=select__single-value] {
|
|
|
6750
6768
|
background-color: var(--pf-pill-outline-purple-close-hover-bg);
|
|
6751
6769
|
}
|
|
6752
6770
|
.pill--outline-yellow {
|
|
6753
|
-
background-color: var(--pf-pill-outline-yellow-bg);
|
|
6771
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-yellow-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6754
6772
|
color: var(--pf-pill-outline-yellow-text);
|
|
6755
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-yellow-border);
|
|
6773
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-yellow-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6756
6774
|
}
|
|
6757
6775
|
.pill--outline-yellow > .icon {
|
|
6758
6776
|
color: var(--pf-pill-outline-yellow-icon);
|
|
@@ -6768,9 +6786,9 @@ body div[class*=select__single-value] {
|
|
|
6768
6786
|
background-color: var(--pf-pill-outline-yellow-close-hover-bg);
|
|
6769
6787
|
}
|
|
6770
6788
|
.pill--outline-blue {
|
|
6771
|
-
background-color: var(--pf-pill-outline-blue-bg);
|
|
6789
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-blue-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6772
6790
|
color: var(--pf-pill-outline-blue-text);
|
|
6773
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-blue-border);
|
|
6791
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-blue-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6774
6792
|
}
|
|
6775
6793
|
.pill--outline-blue > .icon {
|
|
6776
6794
|
color: var(--pf-pill-outline-blue-icon);
|
|
@@ -6786,9 +6804,9 @@ body div[class*=select__single-value] {
|
|
|
6786
6804
|
background-color: var(--pf-pill-outline-blue-close-hover-bg);
|
|
6787
6805
|
}
|
|
6788
6806
|
.pill--outline-green {
|
|
6789
|
-
background-color: var(--pf-pill-outline-green-bg);
|
|
6807
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-green-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6790
6808
|
color: var(--pf-pill-outline-green-text);
|
|
6791
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-green-border);
|
|
6809
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-green-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6792
6810
|
}
|
|
6793
6811
|
.pill--outline-green > .icon {
|
|
6794
6812
|
color: var(--pf-pill-outline-green-icon);
|
|
@@ -6804,9 +6822,9 @@ body div[class*=select__single-value] {
|
|
|
6804
6822
|
background-color: var(--pf-pill-outline-green-close-hover-bg);
|
|
6805
6823
|
}
|
|
6806
6824
|
.pill--outline-gray {
|
|
6807
|
-
background-color: var(--pf-pill-outline-gray-bg);
|
|
6825
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-gray-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6808
6826
|
color: var(--pf-pill-outline-gray-text);
|
|
6809
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-gray-border);
|
|
6827
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-gray-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6810
6828
|
}
|
|
6811
6829
|
.pill--outline-gray > .icon {
|
|
6812
6830
|
color: var(--pf-pill-outline-gray-icon);
|
|
@@ -6822,9 +6840,9 @@ body div[class*=select__single-value] {
|
|
|
6822
6840
|
background-color: var(--pf-pill-outline-gray-close-hover-bg);
|
|
6823
6841
|
}
|
|
6824
6842
|
.pill--outline-pink {
|
|
6825
|
-
background-color: var(--pf-pill-outline-pink-bg);
|
|
6843
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-pink-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6826
6844
|
color: var(--pf-pill-outline-pink-text);
|
|
6827
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-pink-border);
|
|
6845
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-pink-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6828
6846
|
}
|
|
6829
6847
|
.pill--outline-pink > .icon {
|
|
6830
6848
|
color: var(--pf-pill-outline-pink-icon);
|
|
@@ -6840,9 +6858,9 @@ body div[class*=select__single-value] {
|
|
|
6840
6858
|
background-color: var(--pf-pill-outline-pink-close-hover-bg);
|
|
6841
6859
|
}
|
|
6842
6860
|
.pill--outline-orange {
|
|
6843
|
-
background-color: var(--pf-pill-outline-orange-bg);
|
|
6861
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-orange-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6844
6862
|
color: var(--pf-pill-outline-orange-text);
|
|
6845
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-orange-border);
|
|
6863
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-orange-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6846
6864
|
}
|
|
6847
6865
|
.pill--outline-orange > .icon {
|
|
6848
6866
|
color: var(--pf-pill-outline-orange-icon);
|
|
@@ -6858,9 +6876,9 @@ body div[class*=select__single-value] {
|
|
|
6858
6876
|
background-color: var(--pf-pill-outline-orange-close-hover-bg);
|
|
6859
6877
|
}
|
|
6860
6878
|
.pill--outline-teal {
|
|
6861
|
-
background-color: var(--pf-pill-outline-teal-bg);
|
|
6879
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-teal-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6862
6880
|
color: var(--pf-pill-outline-teal-text);
|
|
6863
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-teal-border);
|
|
6881
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-teal-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6864
6882
|
}
|
|
6865
6883
|
.pill--outline-teal > .icon {
|
|
6866
6884
|
color: var(--pf-pill-outline-teal-icon);
|
|
@@ -6876,9 +6894,9 @@ body div[class*=select__single-value] {
|
|
|
6876
6894
|
background-color: var(--pf-pill-outline-teal-close-hover-bg);
|
|
6877
6895
|
}
|
|
6878
6896
|
.pill--outline-soft {
|
|
6879
|
-
background-color: var(--pf-pill-outline-soft-bg);
|
|
6897
|
+
background-color: color-mix(in srgb, var(--pf-pill-outline-soft-bg) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6880
6898
|
color: var(--pf-pill-outline-soft-text);
|
|
6881
|
-
box-shadow: inset 0 0 0 1px var(--pf-pill-outline-soft-border);
|
|
6899
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-pill-outline-soft-border) var(--pill-shade-mix, 100%), var(--pill-shade-target, white));
|
|
6882
6900
|
}
|
|
6883
6901
|
.pill--outline-soft > .icon {
|
|
6884
6902
|
color: var(--pf-pill-outline-soft-icon);
|
|
@@ -6914,6 +6932,190 @@ body div[class*=select__single-value] {
|
|
|
6914
6932
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
6915
6933
|
}
|
|
6916
6934
|
|
|
6935
|
+
:root,
|
|
6936
|
+
:root [data-theme=light] {
|
|
6937
|
+
--pf-alert-bordered-warning-bg: var(--pf-yellow-color-150);
|
|
6938
|
+
--pf-alert-bordered-warning-border: var(--pf-yellow-color-400);
|
|
6939
|
+
--pf-alert-bordered-warning-text: var(--pf-yellow-color-600);
|
|
6940
|
+
--pf-alert-bordered-warning-icon: var(--pf-yellow-color-400);
|
|
6941
|
+
--pf-alert-bordered-info-bg: var(--pf-blue-color-150);
|
|
6942
|
+
--pf-alert-bordered-info-border: var(--pf-secondary-color-400);
|
|
6943
|
+
--pf-alert-bordered-info-text: var(--pf-secondary-color-500);
|
|
6944
|
+
--pf-alert-bordered-info-icon: var(--pf-secondary-color-400);
|
|
6945
|
+
--pf-alert-bordered-success-bg: var(--pf-green-color-150);
|
|
6946
|
+
--pf-alert-bordered-success-border: var(--pf-green-color-450);
|
|
6947
|
+
--pf-alert-bordered-success-text: var(--pf-green-color-600);
|
|
6948
|
+
--pf-alert-bordered-success-icon: var(--pf-green-color-500);
|
|
6949
|
+
--pf-alert-bordered-error-bg: var(--pf-red-color-150);
|
|
6950
|
+
--pf-alert-bordered-error-border: var(--pf-red-color-250);
|
|
6951
|
+
--pf-alert-bordered-error-text: var(--pf-red-color-500);
|
|
6952
|
+
--pf-alert-bordered-error-icon: var(--pf-red-color-450);
|
|
6953
|
+
}
|
|
6954
|
+
|
|
6955
|
+
:root [data-theme=dark] {
|
|
6956
|
+
--pf-alert-bordered-warning-bg: var(--pf-yellow-color-800);
|
|
6957
|
+
--pf-alert-bordered-warning-border: var(--pf-yellow-color-500);
|
|
6958
|
+
--pf-alert-bordered-warning-text: var(--pf-yellow-color-300);
|
|
6959
|
+
--pf-alert-bordered-warning-icon: var(--pf-yellow-color-300);
|
|
6960
|
+
--pf-alert-bordered-info-bg: var(--pf-blue-color-700);
|
|
6961
|
+
--pf-alert-bordered-info-border: var(--pf-secondary-color-500);
|
|
6962
|
+
--pf-alert-bordered-info-text: var(--pf-secondary-color-250);
|
|
6963
|
+
--pf-alert-bordered-info-icon: var(--pf-secondary-color-250);
|
|
6964
|
+
--pf-alert-bordered-success-bg: var(--pf-green-color-800);
|
|
6965
|
+
--pf-alert-bordered-success-border: var(--pf-green-color-600);
|
|
6966
|
+
--pf-alert-bordered-success-text: var(--pf-green-color-300);
|
|
6967
|
+
--pf-alert-bordered-success-icon: var(--pf-green-color-300);
|
|
6968
|
+
--pf-alert-bordered-error-bg: var(--pf-red-color-700);
|
|
6969
|
+
--pf-alert-bordered-error-border: var(--pf-red-color-500);
|
|
6970
|
+
--pf-alert-bordered-error-text: var(--pf-red-color-300);
|
|
6971
|
+
--pf-alert-bordered-error-icon: var(--pf-red-color-300);
|
|
6972
|
+
}
|
|
6973
|
+
|
|
6974
|
+
.alert {
|
|
6975
|
+
display: flex;
|
|
6976
|
+
align-items: flex-start;
|
|
6977
|
+
gap: var(--pf-spacing-md);
|
|
6978
|
+
padding: var(--pf-spacing-2xl);
|
|
6979
|
+
border-radius: var(--pf-border-radius-md);
|
|
6980
|
+
background-color: var(--pf-semantic-background-secondary);
|
|
6981
|
+
font-family: var(--pf-font-family);
|
|
6982
|
+
box-shadow: 0 4px 6px -4px var(--pf-semantic-elevation-1), 0 10px 15px -3px var(--pf-semantic-elevation-1);
|
|
6983
|
+
}
|
|
6984
|
+
.alert--small {
|
|
6985
|
+
padding: var(--pf-spacing-sm);
|
|
6986
|
+
align-items: center;
|
|
6987
|
+
box-shadow: none;
|
|
6988
|
+
}
|
|
6989
|
+
.alert--bordered {
|
|
6990
|
+
border: 1px solid var(--alert-border-color);
|
|
6991
|
+
}
|
|
6992
|
+
.alert--soft-warning > .icon {
|
|
6993
|
+
color: var(--pf-semantic-utility-warning-default);
|
|
6994
|
+
}
|
|
6995
|
+
.alert--soft-info > .icon {
|
|
6996
|
+
color: var(--pf-semantic-utility-info-default);
|
|
6997
|
+
}
|
|
6998
|
+
.alert--soft-success > .icon {
|
|
6999
|
+
color: var(--pf-semantic-utility-success-default);
|
|
7000
|
+
}
|
|
7001
|
+
.alert--soft-error > .icon {
|
|
7002
|
+
color: var(--pf-semantic-utility-error-default);
|
|
7003
|
+
}
|
|
7004
|
+
.alert--bordered-warning {
|
|
7005
|
+
--alert-border-color: var(--pf-alert-bordered-warning-border);
|
|
7006
|
+
}
|
|
7007
|
+
.alert--bordered-warning > .icon {
|
|
7008
|
+
color: var(--pf-alert-bordered-warning-icon);
|
|
7009
|
+
}
|
|
7010
|
+
.alert--bordered-warning .alert__title {
|
|
7011
|
+
color: var(--pf-alert-bordered-warning-text);
|
|
7012
|
+
}
|
|
7013
|
+
.alert--tinted.alert--bordered-warning {
|
|
7014
|
+
background-color: var(--pf-alert-bordered-warning-bg);
|
|
7015
|
+
}
|
|
7016
|
+
.alert--bordered-info {
|
|
7017
|
+
--alert-border-color: var(--pf-alert-bordered-info-border);
|
|
7018
|
+
}
|
|
7019
|
+
.alert--bordered-info > .icon {
|
|
7020
|
+
color: var(--pf-alert-bordered-info-icon);
|
|
7021
|
+
}
|
|
7022
|
+
.alert--bordered-info .alert__title {
|
|
7023
|
+
color: var(--pf-alert-bordered-info-text);
|
|
7024
|
+
}
|
|
7025
|
+
.alert--tinted.alert--bordered-info {
|
|
7026
|
+
background-color: var(--pf-alert-bordered-info-bg);
|
|
7027
|
+
}
|
|
7028
|
+
.alert--bordered-success {
|
|
7029
|
+
--alert-border-color: var(--pf-alert-bordered-success-border);
|
|
7030
|
+
}
|
|
7031
|
+
.alert--bordered-success > .icon {
|
|
7032
|
+
color: var(--pf-alert-bordered-success-icon);
|
|
7033
|
+
}
|
|
7034
|
+
.alert--bordered-success .alert__title {
|
|
7035
|
+
color: var(--pf-alert-bordered-success-text);
|
|
7036
|
+
}
|
|
7037
|
+
.alert--tinted.alert--bordered-success {
|
|
7038
|
+
background-color: var(--pf-alert-bordered-success-bg);
|
|
7039
|
+
}
|
|
7040
|
+
.alert--bordered-error {
|
|
7041
|
+
--alert-border-color: var(--pf-alert-bordered-error-border);
|
|
7042
|
+
}
|
|
7043
|
+
.alert--bordered-error > .icon {
|
|
7044
|
+
color: var(--pf-alert-bordered-error-icon);
|
|
7045
|
+
}
|
|
7046
|
+
.alert--bordered-error .alert__title {
|
|
7047
|
+
color: var(--pf-alert-bordered-error-text);
|
|
7048
|
+
}
|
|
7049
|
+
.alert--tinted.alert--bordered-error {
|
|
7050
|
+
background-color: var(--pf-alert-bordered-error-bg);
|
|
7051
|
+
}
|
|
7052
|
+
.alert > .icon {
|
|
7053
|
+
flex-shrink: 0;
|
|
7054
|
+
}
|
|
7055
|
+
.alert__body {
|
|
7056
|
+
flex: 1;
|
|
7057
|
+
min-width: 0;
|
|
7058
|
+
}
|
|
7059
|
+
.alert__title {
|
|
7060
|
+
font-size: var(--pf-font-size-md);
|
|
7061
|
+
font-weight: var(--pf-font-weight-semibold);
|
|
7062
|
+
line-height: 20px;
|
|
7063
|
+
color: var(--pf-semantic-font-regular);
|
|
7064
|
+
margin-bottom: var(--pf-spacing-xxs);
|
|
7065
|
+
}
|
|
7066
|
+
.alert__message {
|
|
7067
|
+
font-size: var(--pf-font-size-md);
|
|
7068
|
+
font-weight: var(--pf-font-weight-regular);
|
|
7069
|
+
line-height: 20px;
|
|
7070
|
+
color: var(--pf-semantic-font-regular);
|
|
7071
|
+
}
|
|
7072
|
+
.alert__message a {
|
|
7073
|
+
color: var(--pf-semantic-font-link);
|
|
7074
|
+
text-decoration: underline;
|
|
7075
|
+
}
|
|
7076
|
+
.alert--has-title .alert__message {
|
|
7077
|
+
color: var(--pf-semantic-font-soft);
|
|
7078
|
+
}
|
|
7079
|
+
.alert__actions {
|
|
7080
|
+
display: flex;
|
|
7081
|
+
align-items: center;
|
|
7082
|
+
gap: var(--pf-spacing-sm);
|
|
7083
|
+
flex-shrink: 0;
|
|
7084
|
+
margin-left: auto;
|
|
7085
|
+
}
|
|
7086
|
+
.alert__action {
|
|
7087
|
+
background: none;
|
|
7088
|
+
border: none;
|
|
7089
|
+
cursor: pointer;
|
|
7090
|
+
font-family: var(--pf-font-family);
|
|
7091
|
+
font-size: var(--pf-font-size-md);
|
|
7092
|
+
font-weight: var(--pf-font-weight-medium);
|
|
7093
|
+
line-height: 20px;
|
|
7094
|
+
color: var(--pf-semantic-font-link);
|
|
7095
|
+
padding: 0;
|
|
7096
|
+
white-space: nowrap;
|
|
7097
|
+
}
|
|
7098
|
+
.alert__action:hover {
|
|
7099
|
+
text-decoration: underline;
|
|
7100
|
+
}
|
|
7101
|
+
.alert__close {
|
|
7102
|
+
display: inline-flex;
|
|
7103
|
+
align-items: center;
|
|
7104
|
+
justify-content: center;
|
|
7105
|
+
flex-shrink: 0;
|
|
7106
|
+
cursor: pointer;
|
|
7107
|
+
border: none;
|
|
7108
|
+
background: transparent;
|
|
7109
|
+
padding: var(--pf-spacing-xxs);
|
|
7110
|
+
border-radius: var(--pf-border-radius-xs);
|
|
7111
|
+
color: var(--pf-semantic-font-soft);
|
|
7112
|
+
line-height: 1;
|
|
7113
|
+
transition: color 0.15s ease, background-color 0.15s ease;
|
|
7114
|
+
}
|
|
7115
|
+
.alert__close:hover {
|
|
7116
|
+
color: var(--pf-semantic-font-regular);
|
|
7117
|
+
}
|
|
7118
|
+
|
|
6917
7119
|
@keyframes moveBg {
|
|
6918
7120
|
0% {
|
|
6919
7121
|
transform: translateX(0);
|
package/lib/index.d.ts
CHANGED
|
@@ -22,6 +22,32 @@ declare const Row: ({ ref: _ref, ...rest }: RowProps) => react_jsx_runtime.JSX.E
|
|
|
22
22
|
|
|
23
23
|
declare const Col: ({ ref: _ref, ...rest }: ColProps) => react_jsx_runtime.JSX.Element;
|
|
24
24
|
|
|
25
|
+
type AlertType = 'warning' | 'info' | 'success' | 'error';
|
|
26
|
+
type AlertVariant = 'soft' | 'bordered';
|
|
27
|
+
type AlertSize = 'small' | 'large';
|
|
28
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
29
|
+
/** Semantic type — controls the icon and accent color */
|
|
30
|
+
type: AlertType;
|
|
31
|
+
/** Visual style: soft (subtle bg) or bordered (colored border) */
|
|
32
|
+
variant?: AlertVariant;
|
|
33
|
+
/** Size: large (banner) or small (compact inline) */
|
|
34
|
+
size?: AlertSize;
|
|
35
|
+
/** When true, the bordered variant uses a type-specific tinted background instead of surface-secondary */
|
|
36
|
+
tinted?: boolean;
|
|
37
|
+
/** Optional title — when provided, renders above the message */
|
|
38
|
+
title?: string;
|
|
39
|
+
/** Alert body / message content */
|
|
40
|
+
children: React$1.ReactNode;
|
|
41
|
+
/** Optional action button label */
|
|
42
|
+
actionText?: string;
|
|
43
|
+
/** Called when the action button is clicked */
|
|
44
|
+
onAction?: () => void;
|
|
45
|
+
/** Called when the close button is clicked — omit to hide the close button */
|
|
46
|
+
onClose?: () => void;
|
|
47
|
+
/** Accessible label for the close button (for i18n) */
|
|
48
|
+
closeAriaLabel?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
25
51
|
/** Customizable text for form Label. */
|
|
26
52
|
interface FormLabelText {
|
|
27
53
|
/** Text appended to aria-label for required fields. Default: "(required)" */
|
|
@@ -249,6 +275,10 @@ interface PillProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
249
275
|
iconRight?: IconName;
|
|
250
276
|
/** When true, renders a small colored dot indicator before the content */
|
|
251
277
|
dot?: boolean;
|
|
278
|
+
/** 1-based shade index within a group. Used with shadeCount to vary background lightness via color-mix(). */
|
|
279
|
+
shade?: number;
|
|
280
|
+
/** Total shades in the group. Background blends lighter (white) below midpoint, darker (black) above. */
|
|
281
|
+
shadeCount?: number;
|
|
252
282
|
/** When provided, renders a close button that calls this handler */
|
|
253
283
|
onClose?: () => void;
|
|
254
284
|
/** Accessible label for the close button (for i18n) */
|
|
@@ -852,7 +882,9 @@ type MenuProps = {
|
|
|
852
882
|
};
|
|
853
883
|
declare function Menu({ children, className, ...rest }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
854
884
|
|
|
855
|
-
declare const Pill: ({ children, color, size, variant, type, iconLeft, iconRight, dot, onClose, closeAriaLabel, className, ...rest }: PillProps) => react_jsx_runtime.JSX.Element;
|
|
885
|
+
declare const Pill: ({ children, color, size, variant, type, iconLeft, iconRight, dot, shade, shadeCount, onClose, closeAriaLabel, className, style, ...rest }: PillProps) => react_jsx_runtime.JSX.Element;
|
|
886
|
+
|
|
887
|
+
declare const Alert: ({ type, variant, size, tinted, title, children, actionText, onAction, onClose, closeAriaLabel, className, ...rest }: AlertProps) => react_jsx_runtime.JSX.Element;
|
|
856
888
|
|
|
857
889
|
type BadgeSizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
858
890
|
interface BadgeProps {
|
|
@@ -1159,4 +1191,4 @@ interface TruncateProps {
|
|
|
1159
1191
|
|
|
1160
1192
|
declare const Truncate: ({ numLines, tooltipOptions, children, ...rest }: TruncateProps) => react_jsx_runtime.JSX.Element;
|
|
1161
1193
|
|
|
1162
|
-
export { Badge, BarSpinner, Button, Card, Checkbox, CirclePulse, Col, ConfirmationModal, Container, DatePicker, FloatUI, Form, Icon, IconTriggerDatePicker, LabeledInput as Input, InputDateRangePicker, Menu, Modal, Pagination, LabeledPasswordInput as PasswordInput, Pill, Radio as RadioInput, Row, LabeledSelect as SelectInput, type SelectOption, type SelectText, SingleInputDatePicker, SingleInputDateTimePicker, Skeleton, Stepper, Table, TanstackTable, LabeledTextarea as Textarea, TimePicker, Toggle as ToggleInput, Tooltip, Truncate, registerFontAwesomeIcons };
|
|
1194
|
+
export { Alert, Badge, BarSpinner, Button, Card, Checkbox, CirclePulse, Col, ConfirmationModal, Container, DatePicker, FloatUI, Form, Icon, IconTriggerDatePicker, LabeledInput as Input, InputDateRangePicker, Menu, Modal, Pagination, LabeledPasswordInput as PasswordInput, Pill, Radio as RadioInput, Row, LabeledSelect as SelectInput, type SelectOption, type SelectText, SingleInputDatePicker, SingleInputDateTimePicker, Skeleton, Stepper, Table, TanstackTable, LabeledTextarea as Textarea, TimePicker, Toggle as ToggleInput, Tooltip, Truncate, registerFontAwesomeIcons };
|