@algolia/satellite 2.4.0 → 2.5.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/dist/cjs/Actions/Accordion/Accordion.d.ts +9 -9
- package/dist/cjs/Actions/Accordion/Accordion.tailwind.d.ts +1 -1
- package/dist/cjs/Actions/Button/Button.d.ts +1 -2
- package/dist/cjs/Actions/Button/Button.tailwind.d.ts +1 -1
- package/dist/cjs/Actions/Button/PolymorphicButton.d.ts +2 -2
- package/dist/cjs/Actions/Button/PolymorphicIconButton.d.ts +2 -3
- package/dist/cjs/Actions/Button/types.d.ts +7 -7
- package/dist/cjs/Actions/ButtonLink/ButtonLink.d.ts +2 -3
- package/dist/cjs/Actions/IconButton/IconButton.d.ts +1 -2
- package/dist/cjs/Actions/IconButtonLink/IconButtonLink.d.ts +1 -2
- package/dist/cjs/Actions/IconButtonWithFeedback/IconButtonWithFeedback.d.ts +2 -2
- package/dist/cjs/Actions/SegmentedControl/SegmentedControl.tailwind.d.ts +1 -1
- package/dist/cjs/Actions/SegmentedControl/types.d.ts +1 -1
- package/dist/cjs/Actions/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -3
- package/dist/cjs/Actions/ToggleGroup/ToggleGroup.d.ts +6 -6
- package/dist/cjs/Actions/ToggleGroup/ToggleGroup.tailwind.d.ts +1 -1
- package/dist/cjs/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +1 -1
- package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.d.ts +23 -0
- package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.js +72 -0
- package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.styles.d.ts +65 -0
- package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.styles.js +22 -0
- package/dist/cjs/Chat/ChatContextContainer/index.d.ts +1 -0
- package/dist/cjs/Chat/ChatContextContainer/index.js +16 -0
- package/dist/cjs/Chat/ChatContextContainer/theme.d.ts +57 -0
- package/dist/cjs/Chat/ChatContextContainer/theme.js +73 -0
- package/dist/cjs/Chat/ChatMessage/ChatMessage.d.ts +5 -54
- package/dist/cjs/Chat/ChatMessageError/ChatMessageError.d.ts +6 -6
- package/dist/cjs/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +2 -2
- package/dist/cjs/Chat/ChatMessages/ChatMessages.d.ts +5 -66
- package/dist/cjs/Chat/ChatMessages/ChatMessages.js +0 -1
- package/dist/cjs/Chat/ChatPrompt/ChatPrompt.d.ts +9 -9
- package/dist/cjs/Chat/ChatPrompt/useFocusTyping.d.ts +1 -2
- package/dist/cjs/Chat/helpers.d.ts +28 -0
- package/dist/cjs/Chat/helpers.js +68 -0
- package/dist/cjs/Chat/index.d.ts +4 -1
- package/dist/cjs/Chat/index.js +33 -1
- package/dist/cjs/Chat/types.d.ts +22 -3
- package/dist/cjs/Fields/AutoComplete/AutoComplete.d.ts +1 -2
- package/dist/cjs/Fields/AutoComplete/AutoComplete.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
- package/dist/cjs/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
- package/dist/cjs/Fields/AutoComplete/types.d.ts +8 -8
- package/dist/cjs/Fields/Checkbox/Checkbox.d.ts +3 -3
- package/dist/cjs/Fields/Checkbox/Checkbox.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/DateInput/DateInput.d.ts +2 -3
- package/dist/cjs/Fields/DatePicker/DatePicker/DatePicker.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/DatePicker/datePickerReducer.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/DatePicker.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +0 -1
- package/dist/cjs/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/components/Calendar.d.ts +3 -3
- package/dist/cjs/Fields/DatePicker/components/Footer.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/components/FooterActions.d.ts +0 -1
- package/dist/cjs/Fields/DatePicker/components/NavBar.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/components/SidePanel.d.ts +1 -1
- package/dist/cjs/Fields/DatePicker/types.d.ts +2 -2
- package/dist/cjs/Fields/DateRangeInput/DateRangeInput.d.ts +2 -3
- package/dist/cjs/Fields/Dropzone/Dropzone.d.ts +2 -3
- package/dist/cjs/Fields/Field/FieldContext.d.ts +2 -3
- package/dist/cjs/Fields/Field/useField.d.ts +1 -1
- package/dist/cjs/Fields/FilePicker/FilePicker.d.ts +4 -5
- package/dist/cjs/Fields/Form/Form.d.ts +1 -1
- package/dist/cjs/Fields/Form/FormContext.d.ts +2 -3
- package/dist/cjs/Fields/Input/Input.d.ts +3 -3
- package/dist/cjs/Fields/Input/Input.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/RadioGroup/RadioButton.d.ts +1 -1
- package/dist/cjs/Fields/RadioGroup/RadioButton.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/RadioGroup/RadioGroup.d.ts +5 -5
- package/dist/cjs/Fields/RadioGroup/RadioGroupItem.d.ts +4 -4
- package/dist/cjs/Fields/RangeSlider/RangeSlider.d.ts +5 -5
- package/dist/cjs/Fields/Select/Select.d.ts +1 -1
- package/dist/cjs/Fields/Select/Select.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/SelectableCard/SelectableCard.d.ts +2 -2
- package/dist/cjs/Fields/SelectableCard/SelectableCardGroup.d.ts +2 -2
- package/dist/cjs/Fields/Switch/Switch.d.ts +7 -7
- package/dist/cjs/Fields/Switch/Switch.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/TextArea/TextArea.d.ts +1 -1
- package/dist/cjs/Fields/TextArea/TextArea.tailwind.d.ts +1 -1
- package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +3 -4
- package/dist/cjs/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
- package/dist/cjs/Helpers/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
- package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/InstantSearch/InstantSearch.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/ShimmerText/ShimmerText.d.ts +1 -1
- package/dist/cjs/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/UserContent/UserContent.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/utilities/focusable.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/utilities/overlay.tailwind.d.ts +1 -1
- package/dist/cjs/Helpers/utilities/utilities.tailwind.d.ts +1 -1
- package/dist/cjs/Icons/AlgoliaRecommendIcon.d.ts +0 -1
- package/dist/cjs/Icons/AlgoliaSearchIcon.d.ts +0 -1
- package/dist/cjs/Icons/BulbIcon.d.ts +0 -1
- package/dist/cjs/Icons/ContextIcon.d.ts +0 -1
- package/dist/cjs/Icons/CrawlerIcon.d.ts +0 -1
- package/dist/cjs/Icons/DragHandleIcon.d.ts +0 -1
- package/dist/cjs/Icons/NeuralSearchIcon.d.ts +0 -1
- package/dist/cjs/Icons/NoFiltersIcon.d.ts +0 -1
- package/dist/cjs/Icons/PinIcon.d.ts +0 -1
- package/dist/cjs/Icons/QueryBreakdownIcon.d.ts +0 -1
- package/dist/cjs/Icons/RocketIcon.d.ts +0 -1
- package/dist/cjs/Icons/SettingsCategoryPagesIcon.d.ts +0 -1
- package/dist/cjs/Icons/SettingsConsequencesIcon.d.ts +0 -1
- package/dist/cjs/Icons/TestingIcon.d.ts +0 -1
- package/dist/cjs/Icons/UnpinIcon.d.ts +0 -1
- package/dist/cjs/Icons/WorkspaceSwitcherIcon.d.ts +0 -1
- package/dist/cjs/Icons/index.d.ts +2 -2
- package/dist/cjs/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +3 -3
- package/dist/cjs/Indicators/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +1 -1
- package/dist/cjs/Indicators/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/cjs/Indicators/Avatars/types.d.ts +5 -5
- package/dist/cjs/Indicators/Badge/Badge.d.ts +4 -4
- package/dist/cjs/Indicators/Banners/Alert/Alert.d.ts +2 -2
- package/dist/cjs/Indicators/Banners/Promote/Promote.d.ts +2 -2
- package/dist/cjs/Indicators/EmptyState/types.d.ts +3 -3
- package/dist/cjs/Indicators/KeyboardKey/KeyboardKey.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Medallion/Medallion.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Medallion/types.d.ts +2 -2
- package/dist/cjs/Indicators/ProgressBar/ProgressBar.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
- package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
- package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Separator/Separator.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Tag/Tag.d.ts +2 -2
- package/dist/cjs/Indicators/Tag/Tag.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Toast/Toast.d.ts +2 -2
- package/dist/cjs/Indicators/Toast/Toast.tailwind.d.ts +1 -1
- package/dist/cjs/Indicators/Toast/Toasts.d.ts +1 -1
- package/dist/cjs/Indicators/Toast/types.d.ts +1 -1
- package/dist/cjs/Layout/Card/Card.d.ts +2 -2
- package/dist/cjs/Layout/Card/Card.tailwind.d.ts +1 -1
- package/dist/cjs/Layout/Card/components/CardHeader.d.ts +1 -1
- package/dist/cjs/Layout/Card/components/CardTitle.d.ts +2 -2
- package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.d.ts +6 -6
- package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts +1 -1
- package/dist/cjs/Layout/FlexGrid/FlexGrid.d.ts +4 -4
- package/dist/cjs/Layout/FlexGrid/FlexGrid.tailwind.d.ts +1 -1
- package/dist/cjs/Layout/Insert/Insert.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/Sidebar.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarButtonLink.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarContext.d.ts +1 -2
- package/dist/cjs/Layout/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarHeading.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLink.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +4 -4
- package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/types.d.ts +1 -1
- package/dist/cjs/Layout/Sidebar/SidebarNav.d.ts +2 -2
- package/dist/cjs/Layout/Sidebar/types.d.ts +3 -3
- package/dist/cjs/Layout/Tables/DataTable/DataTable.d.ts +7 -7
- package/dist/cjs/Layout/Tables/DataTable/DataTable.tailwind.d.ts +1 -1
- package/dist/cjs/Layout/Tables/DataTable/types.d.ts +7 -7
- package/dist/cjs/Layout/Tables/Table/Table.d.ts +1 -1
- package/dist/cjs/Layout/Tables/Table/Table.tailwind.d.ts +1 -1
- package/dist/cjs/Layout/Tables/Table/components/TableFooter.d.ts +2 -2
- package/dist/cjs/Navigation/Link/BaseLink.d.ts +1 -1
- package/dist/cjs/Navigation/Link/Link.d.ts +4 -4
- package/dist/cjs/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +6 -6
- package/dist/cjs/Navigation/Pagination/DotPagination/DotPagination.d.ts +3 -3
- package/dist/cjs/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
- package/dist/cjs/Navigation/Stepper/Step.d.ts +1 -1
- package/dist/cjs/Navigation/Stepper/Stepper.d.ts +3 -3
- package/dist/cjs/Navigation/Stepper/StepperContext.d.ts +1 -2
- package/dist/cjs/Navigation/Stepper/types.d.ts +1 -1
- package/dist/cjs/Navigation/Tabs/Tabs.tailwind.d.ts +1 -1
- package/dist/cjs/Navigation/Tabs/types.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/MenuButton.d.ts +16 -17
- package/dist/cjs/Overlay/MenuButton/components/Content.d.ts +1 -2
- package/dist/cjs/Overlay/MenuButton/components/CustomTrigger.d.ts +1 -2
- package/dist/cjs/Overlay/MenuButton/components/DefaultTrigger.d.ts +1 -2
- package/dist/cjs/Overlay/MenuButton/components/Divider.d.ts +0 -1
- package/dist/cjs/Overlay/MenuButton/components/Label.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +0 -1
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +1 -1
- package/dist/cjs/Overlay/MenuButton/components/items/Item.d.ts +4 -5
- package/dist/cjs/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
- package/dist/cjs/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
- package/dist/cjs/Overlay/Modal/Modal.d.ts +4 -4
- package/dist/cjs/Overlay/Modal/Modal.tailwind.d.ts +1 -1
- package/dist/cjs/Overlay/Modal/components/ModalFooter.d.ts +1 -1
- package/dist/cjs/Overlay/Modal/components/ModalSection.d.ts +1 -1
- package/dist/cjs/Overlay/Popover/types.d.ts +4 -4
- package/dist/cjs/Overlay/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/Overlay/Tooltip/Tooltip.tailwind.d.ts +1 -1
- package/dist/cjs/Satellite/SatelliteContext.d.ts +0 -1
- package/dist/cjs/Satellite/locale.d.ts +1 -1
- package/dist/cjs/Satellite/useCreatePortal.d.ts +1 -1
- package/dist/cjs/Typography/Typography.tailwind.d.ts +1 -1
- package/dist/cjs/styles/base.tailwind.d.ts +1 -1
- package/dist/cjs/styles/brandColors.d.ts +6 -6
- package/dist/cjs/styles/colors.d.ts +11 -11
- package/dist/cjs/styles/helpers/satellitePrefixer.d.ts +1 -1
- package/dist/cjs/styles/tailwind.config.d.ts +1 -1
- package/dist/cjs/styles/tailwind.config.js +1 -1
- package/dist/cjs/styles/zIndexes.d.ts +8 -8
- package/dist/cjs/types.d.ts +6 -7
- package/dist/cjs/utils/NumberUnion.d.ts +3 -3
- package/dist/cjs/utils/genericChangeHandler.d.ts +2 -2
- package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/cjs/utils/isRenderedChild.d.ts +1 -1
- package/dist/cjs/utils/matchLocation.d.ts +1 -1
- package/dist/cjs/utils/parseUrl.d.ts +1 -1
- package/dist/cjs/utils/useLinkProps.d.ts +2 -2
- package/dist/cjs/utils/useTimeoutFn.d.ts +1 -1
- package/dist/cjs/utils/useTriggerInputChange.d.ts +1 -1
- package/dist/esm/Actions/Accordion/Accordion.d.ts +9 -9
- package/dist/esm/Actions/Accordion/Accordion.tailwind.d.ts +1 -1
- package/dist/esm/Actions/Button/Button.d.ts +1 -2
- package/dist/esm/Actions/Button/Button.tailwind.d.ts +1 -1
- package/dist/esm/Actions/Button/PolymorphicButton.d.ts +2 -2
- package/dist/esm/Actions/Button/PolymorphicIconButton.d.ts +2 -3
- package/dist/esm/Actions/Button/types.d.ts +7 -7
- package/dist/esm/Actions/ButtonLink/ButtonLink.d.ts +2 -3
- package/dist/esm/Actions/IconButton/IconButton.d.ts +1 -2
- package/dist/esm/Actions/IconButtonLink/IconButtonLink.d.ts +1 -2
- package/dist/esm/Actions/IconButtonWithFeedback/IconButtonWithFeedback.d.ts +2 -2
- package/dist/esm/Actions/SegmentedControl/SegmentedControl.tailwind.d.ts +1 -1
- package/dist/esm/Actions/SegmentedControl/types.d.ts +1 -1
- package/dist/esm/Actions/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/esm/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -3
- package/dist/esm/Actions/ToggleGroup/ToggleGroup.d.ts +6 -6
- package/dist/esm/Actions/ToggleGroup/ToggleGroup.tailwind.d.ts +1 -1
- package/dist/esm/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +1 -1
- package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.d.ts +23 -0
- package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.js +66 -0
- package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.styles.d.ts +65 -0
- package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.styles.js +15 -0
- package/dist/esm/Chat/ChatContextContainer/index.d.ts +1 -0
- package/dist/esm/Chat/ChatContextContainer/index.js +1 -0
- package/dist/esm/Chat/ChatContextContainer/theme.d.ts +57 -0
- package/dist/esm/Chat/ChatContextContainer/theme.js +67 -0
- package/dist/esm/Chat/ChatMessage/ChatMessage.d.ts +5 -54
- package/dist/esm/Chat/ChatMessageError/ChatMessageError.d.ts +6 -6
- package/dist/esm/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +2 -2
- package/dist/esm/Chat/ChatMessages/ChatMessages.d.ts +5 -66
- package/dist/esm/Chat/ChatMessages/ChatMessages.js +0 -1
- package/dist/esm/Chat/ChatPrompt/ChatPrompt.d.ts +9 -9
- package/dist/esm/Chat/ChatPrompt/useFocusTyping.d.ts +1 -2
- package/dist/esm/Chat/helpers.d.ts +28 -0
- package/dist/esm/Chat/helpers.js +60 -0
- package/dist/esm/Chat/index.d.ts +4 -1
- package/dist/esm/Chat/index.js +3 -1
- package/dist/esm/Chat/types.d.ts +22 -3
- package/dist/esm/Fields/AutoComplete/AutoComplete.d.ts +1 -2
- package/dist/esm/Fields/AutoComplete/AutoComplete.tailwind.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
- package/dist/esm/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
- package/dist/esm/Fields/AutoComplete/types.d.ts +8 -8
- package/dist/esm/Fields/Checkbox/Checkbox.d.ts +3 -3
- package/dist/esm/Fields/Checkbox/Checkbox.tailwind.d.ts +1 -1
- package/dist/esm/Fields/DateInput/DateInput.d.ts +2 -3
- package/dist/esm/Fields/DatePicker/DatePicker/DatePicker.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/DatePicker/datePickerReducer.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/DatePicker.tailwind.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +0 -1
- package/dist/esm/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/components/Calendar.d.ts +3 -3
- package/dist/esm/Fields/DatePicker/components/Footer.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/components/FooterActions.d.ts +0 -1
- package/dist/esm/Fields/DatePicker/components/NavBar.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/components/SidePanel.d.ts +1 -1
- package/dist/esm/Fields/DatePicker/types.d.ts +2 -2
- package/dist/esm/Fields/DateRangeInput/DateRangeInput.d.ts +2 -3
- package/dist/esm/Fields/Dropzone/Dropzone.d.ts +2 -3
- package/dist/esm/Fields/Field/FieldContext.d.ts +2 -3
- package/dist/esm/Fields/Field/useField.d.ts +1 -1
- package/dist/esm/Fields/FilePicker/FilePicker.d.ts +4 -5
- package/dist/esm/Fields/Form/Form.d.ts +1 -1
- package/dist/esm/Fields/Form/FormContext.d.ts +2 -3
- package/dist/esm/Fields/Input/Input.d.ts +3 -3
- package/dist/esm/Fields/Input/Input.tailwind.d.ts +1 -1
- package/dist/esm/Fields/RadioGroup/RadioButton.d.ts +1 -1
- package/dist/esm/Fields/RadioGroup/RadioButton.tailwind.d.ts +1 -1
- package/dist/esm/Fields/RadioGroup/RadioGroup.d.ts +5 -5
- package/dist/esm/Fields/RadioGroup/RadioGroupItem.d.ts +4 -4
- package/dist/esm/Fields/RangeSlider/RangeSlider.d.ts +5 -5
- package/dist/esm/Fields/Select/Select.d.ts +1 -1
- package/dist/esm/Fields/Select/Select.tailwind.d.ts +1 -1
- package/dist/esm/Fields/SelectableCard/SelectableCard.d.ts +2 -2
- package/dist/esm/Fields/SelectableCard/SelectableCardGroup.d.ts +2 -2
- package/dist/esm/Fields/Switch/Switch.d.ts +7 -7
- package/dist/esm/Fields/Switch/Switch.tailwind.d.ts +1 -1
- package/dist/esm/Fields/TextArea/TextArea.d.ts +1 -1
- package/dist/esm/Fields/TextArea/TextArea.tailwind.d.ts +1 -1
- package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +3 -4
- package/dist/esm/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
- package/dist/esm/Helpers/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/esm/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
- package/dist/esm/Helpers/HelpUnderline/HelpUnderline.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/InstantSearch/InstantSearch.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/ShimmerText/ShimmerText.d.ts +1 -1
- package/dist/esm/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/UserContent/UserContent.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/utilities/focusable.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/utilities/overlay.tailwind.d.ts +1 -1
- package/dist/esm/Helpers/utilities/utilities.tailwind.d.ts +1 -1
- package/dist/esm/Icons/AlgoliaRecommendIcon.d.ts +0 -1
- package/dist/esm/Icons/AlgoliaSearchIcon.d.ts +0 -1
- package/dist/esm/Icons/BulbIcon.d.ts +0 -1
- package/dist/esm/Icons/ContextIcon.d.ts +0 -1
- package/dist/esm/Icons/CrawlerIcon.d.ts +0 -1
- package/dist/esm/Icons/DragHandleIcon.d.ts +0 -1
- package/dist/esm/Icons/NeuralSearchIcon.d.ts +0 -1
- package/dist/esm/Icons/NoFiltersIcon.d.ts +0 -1
- package/dist/esm/Icons/PinIcon.d.ts +0 -1
- package/dist/esm/Icons/QueryBreakdownIcon.d.ts +0 -1
- package/dist/esm/Icons/RocketIcon.d.ts +0 -1
- package/dist/esm/Icons/SettingsCategoryPagesIcon.d.ts +0 -1
- package/dist/esm/Icons/SettingsConsequencesIcon.d.ts +0 -1
- package/dist/esm/Icons/TestingIcon.d.ts +0 -1
- package/dist/esm/Icons/UnpinIcon.d.ts +0 -1
- package/dist/esm/Icons/WorkspaceSwitcherIcon.d.ts +0 -1
- package/dist/esm/Icons/index.d.ts +2 -2
- package/dist/esm/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +3 -3
- package/dist/esm/Indicators/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +1 -1
- package/dist/esm/Indicators/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/esm/Indicators/Avatars/types.d.ts +5 -5
- package/dist/esm/Indicators/Badge/Badge.d.ts +4 -4
- package/dist/esm/Indicators/Banners/Alert/Alert.d.ts +2 -2
- package/dist/esm/Indicators/Banners/Promote/Promote.d.ts +2 -2
- package/dist/esm/Indicators/EmptyState/types.d.ts +3 -3
- package/dist/esm/Indicators/KeyboardKey/KeyboardKey.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Medallion/Medallion.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Medallion/types.d.ts +2 -2
- package/dist/esm/Indicators/ProgressBar/ProgressBar.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
- package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
- package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Separator/Separator.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Tag/Tag.d.ts +2 -2
- package/dist/esm/Indicators/Tag/Tag.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Toast/Toast.d.ts +2 -2
- package/dist/esm/Indicators/Toast/Toast.tailwind.d.ts +1 -1
- package/dist/esm/Indicators/Toast/Toasts.d.ts +1 -1
- package/dist/esm/Indicators/Toast/types.d.ts +1 -1
- package/dist/esm/Layout/Card/Card.d.ts +2 -2
- package/dist/esm/Layout/Card/Card.tailwind.d.ts +1 -1
- package/dist/esm/Layout/Card/components/CardHeader.d.ts +1 -1
- package/dist/esm/Layout/Card/components/CardTitle.d.ts +2 -2
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.d.ts +6 -6
- package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts +1 -1
- package/dist/esm/Layout/FlexGrid/FlexGrid.d.ts +4 -4
- package/dist/esm/Layout/FlexGrid/FlexGrid.tailwind.d.ts +1 -1
- package/dist/esm/Layout/Insert/Insert.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/Sidebar.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarButtonLink.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarContext.d.ts +1 -2
- package/dist/esm/Layout/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarHeading.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLink.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +4 -4
- package/dist/esm/Layout/Sidebar/SidebarLinksGroup/types.d.ts +1 -1
- package/dist/esm/Layout/Sidebar/SidebarNav.d.ts +2 -2
- package/dist/esm/Layout/Sidebar/types.d.ts +3 -3
- package/dist/esm/Layout/Tables/DataTable/DataTable.d.ts +7 -7
- package/dist/esm/Layout/Tables/DataTable/DataTable.tailwind.d.ts +1 -1
- package/dist/esm/Layout/Tables/DataTable/types.d.ts +7 -7
- package/dist/esm/Layout/Tables/Table/Table.d.ts +1 -1
- package/dist/esm/Layout/Tables/Table/Table.tailwind.d.ts +1 -1
- package/dist/esm/Layout/Tables/Table/components/TableFooter.d.ts +2 -2
- package/dist/esm/Navigation/Link/BaseLink.d.ts +1 -1
- package/dist/esm/Navigation/Link/Link.d.ts +4 -4
- package/dist/esm/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +6 -6
- package/dist/esm/Navigation/Pagination/DotPagination/DotPagination.d.ts +3 -3
- package/dist/esm/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
- package/dist/esm/Navigation/Stepper/Step.d.ts +1 -1
- package/dist/esm/Navigation/Stepper/Stepper.d.ts +3 -3
- package/dist/esm/Navigation/Stepper/StepperContext.d.ts +1 -2
- package/dist/esm/Navigation/Stepper/types.d.ts +1 -1
- package/dist/esm/Navigation/Tabs/Tabs.tailwind.d.ts +1 -1
- package/dist/esm/Navigation/Tabs/types.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/MenuButton.d.ts +16 -17
- package/dist/esm/Overlay/MenuButton/components/Content.d.ts +1 -2
- package/dist/esm/Overlay/MenuButton/components/CustomTrigger.d.ts +1 -2
- package/dist/esm/Overlay/MenuButton/components/DefaultTrigger.d.ts +1 -2
- package/dist/esm/Overlay/MenuButton/components/Divider.d.ts +0 -1
- package/dist/esm/Overlay/MenuButton/components/Label.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +0 -1
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +1 -1
- package/dist/esm/Overlay/MenuButton/components/items/Item.d.ts +4 -5
- package/dist/esm/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
- package/dist/esm/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
- package/dist/esm/Overlay/Modal/Modal.d.ts +4 -4
- package/dist/esm/Overlay/Modal/Modal.tailwind.d.ts +1 -1
- package/dist/esm/Overlay/Modal/components/ModalFooter.d.ts +1 -1
- package/dist/esm/Overlay/Modal/components/ModalSection.d.ts +1 -1
- package/dist/esm/Overlay/Popover/types.d.ts +4 -4
- package/dist/esm/Overlay/Tooltip/Tooltip.d.ts +1 -1
- package/dist/esm/Overlay/Tooltip/Tooltip.tailwind.d.ts +1 -1
- package/dist/esm/Satellite/SatelliteContext.d.ts +0 -1
- package/dist/esm/Satellite/locale.d.ts +1 -1
- package/dist/esm/Satellite/useCreatePortal.d.ts +1 -1
- package/dist/esm/Typography/Typography.tailwind.d.ts +1 -1
- package/dist/esm/styles/base.tailwind.d.ts +1 -1
- package/dist/esm/styles/brandColors.d.ts +6 -6
- package/dist/esm/styles/colors.d.ts +11 -11
- package/dist/esm/styles/helpers/satellitePrefixer.d.ts +1 -1
- package/dist/esm/styles/tailwind.config.d.ts +1 -1
- package/dist/esm/styles/tailwind.config.js +1 -1
- package/dist/esm/styles/zIndexes.d.ts +8 -8
- package/dist/esm/types.d.ts +6 -7
- package/dist/esm/utils/NumberUnion.d.ts +3 -3
- package/dist/esm/utils/genericChangeHandler.d.ts +2 -2
- package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/esm/utils/isRenderedChild.d.ts +1 -1
- package/dist/esm/utils/matchLocation.d.ts +1 -1
- package/dist/esm/utils/parseUrl.d.ts +1 -1
- package/dist/esm/utils/useLinkProps.d.ts +2 -2
- package/dist/esm/utils/useTimeoutFn.d.ts +1 -1
- package/dist/esm/utils/useTriggerInputChange.d.ts +1 -1
- package/dist/satellite.min.css +1 -1
- package/package.json +7 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChangeEvent, HTMLAttributes, InputHTMLAttributes } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type SwitchProps = Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange" | "defaultChecked"> & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Whether the `Toggle` is decorative.
|
|
5
5
|
* Decorative toggles are not using an input element.
|
|
@@ -36,25 +36,25 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<HTML
|
|
|
36
36
|
* Whether the `Toggle` is decorative.
|
|
37
37
|
* Decorative toggles are not using an input element.
|
|
38
38
|
*/
|
|
39
|
-
decorative?: boolean
|
|
39
|
+
decorative?: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* The callback function that is triggered when the `Toggle` is clicked.
|
|
42
42
|
*/
|
|
43
|
-
onChange?: (
|
|
43
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
44
44
|
/**
|
|
45
45
|
* Whether the `Toggle` is required.
|
|
46
46
|
*/
|
|
47
|
-
required?: boolean
|
|
47
|
+
required?: boolean;
|
|
48
48
|
/**
|
|
49
49
|
* Whether the `Toggle` is disabled.
|
|
50
50
|
*/
|
|
51
|
-
disabled?: boolean
|
|
51
|
+
disabled?: boolean;
|
|
52
52
|
/**
|
|
53
53
|
* Whether the `Toggle` is default checked.
|
|
54
54
|
*/
|
|
55
|
-
defaultChecked?: boolean
|
|
55
|
+
defaultChecked?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* Whether the `Toggle` is checked.
|
|
58
58
|
*/
|
|
59
|
-
checked?: boolean
|
|
59
|
+
checked?: boolean;
|
|
60
60
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -21,7 +21,7 @@ export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
21
21
|
*/
|
|
22
22
|
disabled?: boolean;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export type TextareaStatus = "default" | "validated" | "invalid";
|
|
25
25
|
/**
|
|
26
26
|
* The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
|
|
27
27
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { TextAreaProps } from "../../Fields/TextArea";
|
|
3
|
-
export
|
|
2
|
+
export type TextAreaAutoSizeProps = TextAreaProps & {
|
|
4
3
|
/**
|
|
5
4
|
* The maximum number of rows the `TextAreaAutoSize` can expand to when `autoResize` is enabled.
|
|
6
5
|
* If set to 0, the `TextAreaAutoSize` will expand indefinitely.
|
|
@@ -18,9 +17,9 @@ export declare const TextAreaAutoSize: import("react").ForwardRefExoticComponent
|
|
|
18
17
|
* If set to 0, the `TextAreaAutoSize` will expand indefinitely.
|
|
19
18
|
* @default 0
|
|
20
19
|
*/
|
|
21
|
-
maxRows?: number
|
|
20
|
+
maxRows?: number;
|
|
22
21
|
/**
|
|
23
22
|
* The number of rows the `TextAreaAutoSize` should start with.
|
|
24
23
|
*/
|
|
25
|
-
rows?: number
|
|
24
|
+
rows?: number;
|
|
26
25
|
} & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -4,7 +4,7 @@ interface ClickAwayContextType {
|
|
|
4
4
|
unregisterElement(element: HTMLElement): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const useClickAwayContext: () => ClickAwayContextType | null;
|
|
7
|
-
export
|
|
7
|
+
export type ClickAwayContainerProps = PropsWithChildren<{
|
|
8
8
|
/**
|
|
9
9
|
* The element that should be registered in the ClickAway tree.
|
|
10
10
|
* To ensure proper tracking, the element should be tracked in a way that triggers a rerender (use callback refs!)
|
|
@@ -18,7 +18,7 @@ export declare const CODE_EDITOR_DEFAULT_OPTIONS: {
|
|
|
18
18
|
suggest: {};
|
|
19
19
|
wordWrapColumn: number;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
type EditorProps = Omit<MonacoEditorProps, "theme">;
|
|
22
22
|
/**
|
|
23
23
|
* The `CodeEditor` component is used to display and edit code snippets.
|
|
24
24
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { TooltipWrapperProps } from "../../Overlay";
|
|
3
3
|
import type { TooltipWrapperBaseProps } from "../../Overlay/TooltipWrapper/types";
|
|
4
|
-
export
|
|
4
|
+
export type HelpUnderlineProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The class name of the `HelpUnderline`.
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export = helpUnderlinePlugin;
|
|
2
2
|
declare const helpUnderlinePlugin: {
|
|
3
3
|
handler: import("tailwindcss/types/config").PluginCreator;
|
|
4
|
-
config?: Partial<import("tailwindcss/types/config").Config
|
|
4
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HTMLAttributes } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ShimmerTextProps = HTMLAttributes<HTMLDivElement>;
|
|
3
3
|
export declare const ShimmerText: import("react").ForwardRefExoticComponent<ShimmerTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentClass, SVGAttributes, VoidFunctionComponent } from "react";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type IconProps = SVGAttributes<SVGElement>;
|
|
3
|
+
export type IconComponentType = VoidFunctionComponent<IconProps> | ComponentClass<IconProps>;
|
|
4
4
|
export { DragHandleIcon } from "./DragHandleIcon";
|
|
5
5
|
export { NoFiltersIcon } from "./NoFiltersIcon";
|
|
6
6
|
export { CrawlerIcon } from "./CrawlerIcon";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { HTMLAttributes } from "react";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type AnnouncementBadgeSizes = "default" | "small";
|
|
3
|
+
export type AnnouncementBadgeTexts = "new" | "beta" | "internal" | "pilot";
|
|
4
|
+
export type AnnouncementBadgeLocale = {
|
|
5
5
|
[key in AnnouncementBadgeTexts]?: string;
|
|
6
6
|
};
|
|
7
7
|
export interface AnnouncementBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { AvatarSize, MinimalApplication } from "../../../Indicators/Avatars/types";
|
|
3
|
-
|
|
3
|
+
type ApplicationAvatarSize = "small" | AvatarSize;
|
|
4
4
|
export interface ApplicationAvatarProps {
|
|
5
5
|
/**
|
|
6
6
|
* A minimal application object containing `applicationID` and `name`.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { AvatarSize, MinimalUser } from "../../../Indicators/Avatars/types";
|
|
3
|
-
export
|
|
3
|
+
export type UserAvatarLocale = {
|
|
4
4
|
fallbackText?: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type UserAvatarSize = AvatarSize | number;
|
|
7
7
|
export interface UserAvatarProps {
|
|
8
8
|
/**
|
|
9
9
|
* A minimal user object containing `name`, `email` and `avatar`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const AvatarSizes: readonly ["medium", "large", "xlarge"];
|
|
2
|
-
export
|
|
2
|
+
export type AvatarSize = (typeof AvatarSizes)[number];
|
|
3
3
|
export declare function isSize(value: string): value is AvatarSize;
|
|
4
|
-
export
|
|
4
|
+
export type MinimalApplication = {
|
|
5
5
|
/**
|
|
6
6
|
* The application ID.
|
|
7
7
|
*/
|
|
@@ -11,7 +11,7 @@ export declare type MinimalApplication = {
|
|
|
11
11
|
*/
|
|
12
12
|
name?: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type UserAvatarWithName = {
|
|
15
15
|
/**
|
|
16
16
|
* The name of the user.
|
|
17
17
|
*/
|
|
@@ -21,7 +21,7 @@ declare type UserAvatarWithName = {
|
|
|
21
21
|
*/
|
|
22
22
|
email?: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
type UserAvatarWithEmail = {
|
|
25
25
|
/**
|
|
26
26
|
* The email of the user.
|
|
27
27
|
*/
|
|
@@ -31,7 +31,7 @@ declare type UserAvatarWithEmail = {
|
|
|
31
31
|
*/
|
|
32
32
|
name?: string;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type MinimalUser = (UserAvatarWithName | UserAvatarWithEmail) & {
|
|
35
35
|
/**
|
|
36
36
|
* The avatar of the user.
|
|
37
37
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from "react";
|
|
2
2
|
import type { IconComponentType } from "../../Icons";
|
|
3
3
|
import type { AtLeastOne, ColorVariant } from "../../types";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type BadgeSizes = "small" | "medium" | "large";
|
|
5
|
+
export type BadgeVariants = ColorVariant | "pink";
|
|
6
6
|
interface BaseBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
7
7
|
/**
|
|
8
8
|
* The variant of the `Badge`.
|
|
@@ -15,7 +15,7 @@ interface BaseBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
15
15
|
*/
|
|
16
16
|
size?: BadgeSizes;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
type BadgeContentProps = {
|
|
19
19
|
/**
|
|
20
20
|
* The content of the `Badge`.
|
|
21
21
|
*/
|
|
@@ -29,7 +29,7 @@ declare type BadgeContentProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
icon: IconComponentType;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export type BadgeProps = Omit<BaseBadgeProps, "children"> & AtLeastOne<BadgeContentProps>;
|
|
33
33
|
/**
|
|
34
34
|
* The `Badge` component is a visual marker highlighting information or status. It enhances UI, indicates progress, and classifies data.
|
|
35
35
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties, FC, ReactNode } from "react";
|
|
2
2
|
import type { IconComponentType } from "../../../Icons";
|
|
3
3
|
import type { ColorVariant } from "../../../types";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type AlertContextType = "page" | "section";
|
|
5
|
+
export type AlertColorVariant = Exclude<ColorVariant, "blue">;
|
|
6
6
|
export interface AlertProps {
|
|
7
7
|
/**
|
|
8
8
|
* Descriptive title for `Alert`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FC, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
type PromoteVariants = "large" | "compact";
|
|
3
3
|
interface CompactPromoteProps {
|
|
4
4
|
/**
|
|
5
5
|
* The variant of the `Promote`.
|
|
@@ -22,7 +22,7 @@ interface WidePromoteProps {
|
|
|
22
22
|
*/
|
|
23
23
|
illustration?: ReactNode;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type PromoteProps = {
|
|
26
26
|
/**
|
|
27
27
|
* Product context for the banner.
|
|
28
28
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { FlexGridDirection } from "../../Layout";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type EmptyStateUsageContexts = "result" | "feature" | "page";
|
|
4
|
+
export type EmptyStateWidths = "medium" | "large" | "xlarge";
|
|
5
5
|
export interface EmptyStatePropsAll {
|
|
6
6
|
/**
|
|
7
7
|
* Descriptive title for the state.
|
|
@@ -59,5 +59,5 @@ interface EmptyStatePropsUsageContextPage extends Omit<EmptyStatePropsAll, "usag
|
|
|
59
59
|
interface EmptyStatePropsUsageContextDefault extends Omit<EmptyStatePropsUsageContextFeature, "usageContext"> {
|
|
60
60
|
usageContext?: undefined;
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export type EmptyStateProps = EmptyStatePropsUsageContextDefault | EmptyStatePropsUsageContextResult | EmptyStatePropsUsageContextFeature | EmptyStatePropsUsageContextPage;
|
|
63
63
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type MedallionVariant = "accent" | "grey" | "pink" | "purple" | "blue" | "green" | "orange" | "red" | "white";
|
|
2
|
+
export type MedallionSize = "default" | "large";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FC, SVGAttributes } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ProgressSpinnerAlign = "left" | "center" | "right";
|
|
3
3
|
export interface ProgressSpinnerProps extends SVGAttributes<SVGSVGElement> {
|
|
4
4
|
/**
|
|
5
5
|
* The size of the progress spinner.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export = progressSpinnerPlugin;
|
|
2
2
|
declare const progressSpinnerPlugin: {
|
|
3
3
|
handler: import("tailwindcss/types/config").PluginCreator;
|
|
4
|
-
config?: Partial<import("tailwindcss/types/config").Config
|
|
4
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, FC, ReactHTML, ReactNode } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ScrollIndicatorVariant = "light" | "dark";
|
|
3
3
|
export interface ScrollIndicatorProps {
|
|
4
4
|
/**
|
|
5
5
|
* The className to apply to the wrapper element.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export = scrollIndicatorPlugin;
|
|
2
2
|
declare const scrollIndicatorPlugin: {
|
|
3
3
|
handler: import("tailwindcss/types/config").PluginCreator;
|
|
4
|
-
config?: Partial<import("tailwindcss/types/config").Config
|
|
4
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DetailedHTMLProps, HTMLAttributes, MouseEventHandler, ReactNode } from "react";
|
|
2
2
|
import type { ColorVariant } from "../../types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type TagVariants = ColorVariant | "pink";
|
|
4
|
+
export type TagLocale = {
|
|
5
5
|
addButton?: string | ((title: string) => string);
|
|
6
6
|
removeButton?: string | ((title: string) => string);
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FC, HTMLAttributes, PropsWithChildren } from "react";
|
|
2
2
|
import type { Notification } from "./types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ToastLocale = Notification["locale"];
|
|
4
|
+
export type ToastProps = Omit<Notification, "id" | "content" | "autoDismissAfter"> & Omit<HTMLAttributes<HTMLElement>, "title">;
|
|
5
5
|
export declare const Toast: FC<PropsWithChildren<ToastProps>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode, ReactPortal } from "react";
|
|
2
2
|
import type { IconComponentType } from "../../Icons";
|
|
3
3
|
import type { ColorVariant } from "../../types";
|
|
4
|
-
export
|
|
4
|
+
export type Notification = {
|
|
5
5
|
/** Defines an unique ID for the `Toast`. */
|
|
6
6
|
id: string;
|
|
7
7
|
/** Defines the title for the `Toast`. Will be rendered in a heading element. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties, ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { CardHeader } from "./components/CardHeader";
|
|
3
3
|
import { CardTitle } from "./components/CardTitle";
|
|
4
|
-
export
|
|
5
|
-
|
|
4
|
+
export type CardElevation = "100" | "200" | "300" | "400" | "500";
|
|
5
|
+
type CardAs = "section" | "aside" | "main" | "div" | "span";
|
|
6
6
|
export interface CardProps {
|
|
7
7
|
/**
|
|
8
8
|
* The `id` attribute of the `Card`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
|
-
|
|
3
|
-
export
|
|
2
|
+
type Headings = "h2" | "h3" | "h4" | "h5" | "h6";
|
|
3
|
+
export type CardTitleProps = JSX.IntrinsicElements["h2"] & {
|
|
4
4
|
as?: Headings;
|
|
5
5
|
};
|
|
6
6
|
export declare const CardTitle: FC<CardTitleProps>;
|