@algolia/satellite 1.0.0-beta.18 → 1.0.0-beta.181
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/README.md +153 -7
- package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +25 -0
- package/cjs/AnnouncementBadge/AnnouncementBadge.js +56 -0
- package/cjs/AnnouncementBadge/index.d.ts +1 -0
- package/cjs/AnnouncementBadge/index.js +16 -0
- package/cjs/AutoComplete/AutoComplete.d.ts +8 -0
- package/cjs/AutoComplete/AutoComplete.js +434 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.js +96 -0
- package/cjs/AutoComplete/components/AutoCompleteContext.d.ts +10 -0
- package/cjs/AutoComplete/components/AutoCompleteContext.js +29 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +12 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +34 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +6 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.js +41 -0
- package/cjs/AutoComplete/index.d.ts +6 -0
- package/cjs/AutoComplete/index.js +75 -0
- package/cjs/AutoComplete/types.d.ts +95 -0
- package/cjs/AutoComplete/types.js +5 -0
- package/cjs/AutoComplete/utils.d.ts +8 -0
- package/cjs/AutoComplete/utils.js +81 -0
- package/cjs/Avatars/ApplicationAvatar.d.ts +16 -0
- package/cjs/Avatars/ApplicationAvatar.js +37 -0
- package/cjs/Avatars/UserAvatar.d.ts +23 -0
- package/cjs/Avatars/UserAvatar.js +58 -0
- package/cjs/Avatars/index.d.ts +2 -0
- package/cjs/Avatars/index.js +27 -0
- package/cjs/Avatars/types.d.ts +17 -0
- package/cjs/Avatars/types.js +5 -0
- package/cjs/Avatars/utils.d.ts +6 -0
- package/cjs/Avatars/utils.js +55 -0
- package/cjs/Badge/Badge.d.ts +24 -0
- package/cjs/Badge/Badge.js +68 -0
- package/cjs/Badge/index.d.ts +1 -0
- package/cjs/Badge/index.js +16 -0
- package/cjs/Banners/Alert/Alert.d.ts +33 -0
- package/cjs/Banners/Alert/Alert.js +93 -0
- package/cjs/Banners/Alert/index.d.ts +1 -0
- package/cjs/Banners/Alert/index.js +16 -0
- package/cjs/Banners/Promote/Promote.d.ts +28 -0
- package/cjs/Banners/Promote/Promote.js +79 -0
- package/cjs/Banners/Promote/index.d.ts +1 -0
- package/cjs/Banners/Promote/index.js +16 -0
- package/cjs/Banners/SystemNotification/SystemNotification.d.ts +12 -0
- package/cjs/Banners/SystemNotification/SystemNotification.js +33 -0
- package/cjs/Banners/SystemNotification/index.d.ts +1 -0
- package/cjs/Banners/SystemNotification/index.js +16 -0
- package/cjs/Banners/index.d.ts +3 -0
- package/cjs/Banners/index.js +38 -0
- package/cjs/Button/Button.d.ts +9 -0
- package/cjs/Button/Button.js +25 -0
- package/cjs/Button/Button.tailwind.d.ts +5 -0
- package/cjs/Button/Button.tailwind.js +154 -0
- package/cjs/Button/ButtonGroup.d.ts +17 -0
- package/cjs/Button/ButtonGroup.js +27 -0
- package/cjs/Button/IconButton.d.ts +9 -0
- package/cjs/Button/IconButton.js +25 -0
- package/cjs/Button/PolymorphicButton.d.ts +12 -0
- package/cjs/Button/PolymorphicButton.js +78 -0
- package/cjs/Button/PolymorphicIconButton.d.ts +29 -0
- package/cjs/Button/PolymorphicIconButton.js +86 -0
- package/cjs/Button/index.d.ts +4 -0
- package/cjs/Button/index.js +38 -0
- package/cjs/Button/styles.d.ts +5 -0
- package/cjs/Button/styles.js +37 -0
- package/cjs/Button/types.d.ts +33 -0
- package/cjs/Button/types.js +11 -0
- package/cjs/Card/Card.d.ts +36 -0
- package/cjs/Card/Card.js +47 -0
- package/cjs/Card/Card.tailwind.d.ts +5 -0
- package/cjs/Card/Card.tailwind.js +36 -0
- package/cjs/Card/components/CardHeader.d.ts +5 -0
- package/cjs/Card/components/CardHeader.js +26 -0
- package/cjs/Card/components/CardTitle.d.ts +7 -0
- package/cjs/Card/components/CardTitle.js +28 -0
- package/cjs/Card/index.d.ts +3 -0
- package/cjs/Card/index.js +38 -0
- package/cjs/Checkbox/Checkbox.d.ts +23 -0
- package/cjs/Checkbox/Checkbox.js +96 -0
- package/cjs/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/cjs/Checkbox/Checkbox.tailwind.js +70 -0
- package/cjs/Checkbox/index.d.ts +1 -0
- package/cjs/Checkbox/index.js +16 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +82 -0
- package/cjs/ClickAwayContainer/index.d.ts +1 -0
- package/cjs/ClickAwayContainer/index.js +16 -0
- package/cjs/DatePicker/DatePicker/DatePicker.d.ts +39 -0
- package/cjs/DatePicker/DatePicker/DatePicker.js +168 -0
- package/cjs/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
- package/cjs/DatePicker/DatePicker/datePickerReducer.js +50 -0
- package/cjs/DatePicker/DatePicker/index.d.ts +2 -0
- package/cjs/DatePicker/DatePicker/index.js +27 -0
- package/cjs/DatePicker/DatePicker.tailwind.d.ts +5 -0
- package/cjs/DatePicker/DatePicker.tailwind.js +184 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +40 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +261 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +13 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +37 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +99 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +15 -0
- package/cjs/DatePicker/DateRangePicker/index.d.ts +3 -0
- package/cjs/DatePicker/DateRangePicker/index.js +38 -0
- package/cjs/DatePicker/components/Calendar.d.ts +17 -0
- package/cjs/DatePicker/components/Calendar.js +54 -0
- package/cjs/DatePicker/components/Display.d.ts +9 -0
- package/cjs/DatePicker/components/Display.js +22 -0
- package/cjs/DatePicker/components/Footer.d.ts +5 -0
- package/cjs/DatePicker/components/Footer.js +18 -0
- package/cjs/DatePicker/components/FooterActions.d.ts +11 -0
- package/cjs/DatePicker/components/FooterActions.js +31 -0
- package/cjs/DatePicker/components/Modal.d.ts +15 -0
- package/cjs/DatePicker/components/Modal.js +66 -0
- package/cjs/DatePicker/components/NavBar.d.ts +9 -0
- package/cjs/DatePicker/components/NavBar.js +122 -0
- package/cjs/DatePicker/components/SidePanel.d.ts +5 -0
- package/cjs/DatePicker/components/SidePanel.js +21 -0
- package/cjs/DatePicker/components/index.d.ts +7 -0
- package/cjs/DatePicker/components/index.js +75 -0
- package/cjs/DatePicker/index.d.ts +3 -0
- package/cjs/DatePicker/index.js +38 -0
- package/cjs/DatePicker/types.d.ts +26 -0
- package/cjs/DatePicker/types.js +5 -0
- package/cjs/DatePicker/utils.d.ts +3 -0
- package/cjs/DatePicker/utils.js +19 -0
- package/cjs/Dropdown/Dropdown.d.ts +40 -0
- package/cjs/Dropdown/Dropdown.js +124 -0
- package/cjs/Dropdown/DropdownButton.d.ts +13 -0
- package/cjs/Dropdown/DropdownButton.js +49 -0
- package/cjs/Dropdown/DropdownContext.d.ts +6 -0
- package/cjs/Dropdown/DropdownContext.js +15 -0
- package/cjs/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/cjs/Dropdown/components/DropdownButtonItem.js +46 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +59 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +21 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +17 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +37 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +34 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/index.js +63 -0
- package/cjs/Dropdown/components/DropdownDivider.d.ts +3 -0
- package/cjs/Dropdown/components/DropdownDivider.js +17 -0
- package/cjs/Dropdown/components/DropdownFooterItem.d.ts +9 -0
- package/cjs/Dropdown/components/DropdownFooterItem.js +29 -0
- package/cjs/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownLinkItem.js +54 -0
- package/cjs/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownRadioItem.js +46 -0
- package/cjs/Dropdown/components/DropdownTitle.d.ts +6 -0
- package/cjs/Dropdown/components/DropdownTitle.js +25 -0
- package/cjs/Dropdown/components/DropdownToggleItem.d.ts +11 -0
- package/cjs/Dropdown/components/DropdownToggleItem.js +49 -0
- package/cjs/Dropdown/index.d.ts +12 -0
- package/cjs/Dropdown/index.js +137 -0
- package/cjs/Dropdown/useDropdownItemProps.d.ts +20 -0
- package/cjs/Dropdown/useDropdownItemProps.js +37 -0
- package/cjs/Dropzone/Dropzone.d.ts +25 -0
- package/cjs/Dropzone/Dropzone.js +163 -0
- package/cjs/Dropzone/index.d.ts +1 -0
- package/cjs/Dropzone/index.js +16 -0
- package/cjs/EmptyState/EmptyState.d.ts +8 -0
- package/cjs/EmptyState/EmptyState.js +98 -0
- package/cjs/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/cjs/EmptyState/EmptyState.tailwind.js +15 -0
- package/cjs/EmptyState/index.d.ts +2 -0
- package/cjs/EmptyState/index.js +27 -0
- package/cjs/EmptyState/types.d.ts +50 -0
- package/cjs/EmptyState/types.js +5 -0
- package/cjs/Field/Field.d.ts +24 -0
- package/cjs/Field/Field.js +74 -0
- package/cjs/Field/FieldContext.d.ts +16 -0
- package/cjs/Field/FieldContext.js +14 -0
- package/cjs/Field/index.d.ts +4 -0
- package/{components/Tooltip → cjs/Field}/index.js +14 -15
- package/cjs/Field/useField.d.ts +2 -0
- package/cjs/Field/useField.js +11 -0
- package/cjs/FlexGrid/FlexGrid.d.ts +44 -0
- package/cjs/FlexGrid/FlexGrid.js +73 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.js +71 -0
- package/cjs/FlexGrid/index.d.ts +1 -0
- package/cjs/FlexGrid/index.js +16 -0
- package/cjs/HelpUnderline/HelpUnderline.d.ts +15 -0
- package/cjs/HelpUnderline/HelpUnderline.js +39 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.js +21 -0
- package/cjs/HelpUnderline/index.d.ts +1 -0
- package/cjs/HelpUnderline/index.js +16 -0
- package/cjs/Icons/AlgoliaRecommendIcon.d.ts +3 -0
- package/cjs/Icons/AlgoliaRecommendIcon.js +46 -0
- package/cjs/Icons/AlgoliaSearchIcon.d.ts +3 -0
- package/cjs/Icons/AlgoliaSearchIcon.js +49 -0
- package/cjs/Icons/BulbIcon.d.ts +3 -0
- package/cjs/Icons/BulbIcon.js +37 -0
- package/cjs/Icons/ContextIcon.d.ts +3 -0
- package/cjs/Icons/ContextIcon.js +51 -0
- package/cjs/Icons/CrawlerIcon.d.ts +3 -0
- package/cjs/Icons/CrawlerIcon.js +40 -0
- package/cjs/Icons/DragHandleIcon.d.ts +3 -0
- package/cjs/Icons/DragHandleIcon.js +58 -0
- package/cjs/Icons/NeuralSearchIcon.d.ts +3 -0
- package/cjs/Icons/NeuralSearchIcon.js +34 -0
- package/cjs/Icons/NoFiltersIcon.d.ts +3 -0
- package/cjs/Icons/NoFiltersIcon.js +59 -0
- package/cjs/Icons/PinIcon.d.ts +3 -0
- package/cjs/Icons/PinIcon.js +60 -0
- package/cjs/Icons/QueryBreakdownIcon.d.ts +3 -0
- package/cjs/Icons/QueryBreakdownIcon.js +39 -0
- package/cjs/Icons/RocketIcon.d.ts +3 -0
- package/cjs/Icons/RocketIcon.js +36 -0
- package/cjs/Icons/SettingsCategoryPagesIcon.d.ts +3 -0
- package/cjs/Icons/SettingsCategoryPagesIcon.js +36 -0
- package/cjs/Icons/SettingsConsequencesIcon.d.ts +3 -0
- package/cjs/Icons/SettingsConsequencesIcon.js +70 -0
- package/cjs/Icons/TestingIcon.d.ts +3 -0
- package/cjs/Icons/TestingIcon.js +36 -0
- package/cjs/Icons/UnpinIcon.d.ts +3 -0
- package/cjs/Icons/UnpinIcon.js +60 -0
- package/cjs/Icons/WorkspaceSwitcherIcon.d.ts +3 -0
- package/cjs/Icons/WorkspaceSwitcherIcon.js +34 -0
- package/cjs/Icons/index.d.ts +20 -0
- package/cjs/Icons/index.js +1846 -0
- package/cjs/Icons/utils.d.ts +1 -0
- package/cjs/Icons/utils.js +10 -0
- package/cjs/Input/Input.d.ts +27 -0
- package/cjs/Input/Input.js +212 -0
- package/cjs/Input/Input.tailwind.d.ts +5 -0
- package/cjs/Input/Input.tailwind.js +123 -0
- package/cjs/Input/index.d.ts +1 -0
- package/cjs/Input/index.js +16 -0
- package/cjs/Insert/Insert.d.ts +19 -0
- package/cjs/Insert/Insert.js +50 -0
- package/cjs/Insert/index.d.ts +1 -0
- package/cjs/Insert/index.js +16 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.js +376 -0
- package/cjs/KeyboardKey/KeyboardKey.d.ts +12 -0
- package/cjs/KeyboardKey/KeyboardKey.js +41 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.js +29 -0
- package/cjs/KeyboardKey/index.d.ts +1 -0
- package/cjs/KeyboardKey/index.js +16 -0
- package/cjs/Link/BaseLink.d.ts +7 -0
- package/cjs/Link/BaseLink.js +28 -0
- package/cjs/Link/ButtonLink.d.ts +13 -0
- package/cjs/Link/ButtonLink.js +41 -0
- package/cjs/Link/IconButtonLink.d.ts +13 -0
- package/cjs/Link/IconButtonLink.js +35 -0
- package/cjs/Link/Link.d.ts +17 -0
- package/cjs/Link/Link.js +56 -0
- package/cjs/Link/index.d.ts +4 -0
- package/cjs/Link/index.js +49 -0
- package/cjs/Medallion/Medallion.d.ts +16 -0
- package/cjs/Medallion/Medallion.js +44 -0
- package/cjs/Medallion/Medallion.tailwind.d.ts +5 -0
- package/cjs/Medallion/Medallion.tailwind.js +31 -0
- package/cjs/Medallion/index.d.ts +2 -0
- package/cjs/Medallion/index.js +27 -0
- package/cjs/Medallion/types.d.ts +2 -0
- package/cjs/Medallion/types.js +5 -0
- package/cjs/MenuButton/MenuButton.d.ts +26 -0
- package/cjs/MenuButton/MenuButton.js +47 -0
- package/cjs/MenuButton/components/Content.d.ts +4 -0
- package/cjs/MenuButton/components/Content.js +39 -0
- package/cjs/MenuButton/components/CustomTrigger.d.ts +4 -0
- package/cjs/MenuButton/components/CustomTrigger.js +23 -0
- package/cjs/MenuButton/components/DefaultTrigger.d.ts +4 -0
- package/cjs/MenuButton/components/DefaultTrigger.js +34 -0
- package/cjs/MenuButton/components/Divider.d.ts +2 -0
- package/cjs/MenuButton/components/Divider.js +20 -0
- package/cjs/MenuButton/components/Label.d.ts +3 -0
- package/cjs/MenuButton/components/Label.js +31 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItem.d.ts +8 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItem.js +63 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +6 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsGroup.js +20 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +7 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsGroupContext.js +15 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +8 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.js +36 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +8 -0
- package/cjs/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.js +33 -0
- package/cjs/MenuButton/components/collapsible/index.d.ts +5 -0
- package/cjs/MenuButton/components/collapsible/index.js +60 -0
- package/cjs/MenuButton/components/items/Item.d.ts +14 -0
- package/cjs/MenuButton/components/items/Item.js +42 -0
- package/cjs/MenuButton/components/items/LinkItem.d.ts +16 -0
- package/cjs/MenuButton/components/items/LinkItem.js +72 -0
- package/cjs/MenuButton/components/items/RadioItem.d.ts +5 -0
- package/cjs/MenuButton/components/items/RadioItem.js +49 -0
- package/cjs/MenuButton/components/items/ToggleItem.d.ts +8 -0
- package/cjs/MenuButton/components/items/ToggleItem.js +71 -0
- package/cjs/MenuButton/components/items/index.d.ts +4 -0
- package/cjs/MenuButton/components/items/index.js +49 -0
- package/cjs/MenuButton/index.d.ts +1 -0
- package/cjs/MenuButton/index.js +16 -0
- package/cjs/MenuButton/useMenuItemProps.d.ts +10 -0
- package/cjs/MenuButton/useMenuItemProps.js +18 -0
- package/cjs/Modal/Modal.d.ts +61 -0
- package/cjs/Modal/Modal.js +154 -0
- package/cjs/Modal/Modal.tailwind.d.ts +5 -0
- package/cjs/Modal/Modal.tailwind.js +81 -0
- package/cjs/Modal/components/ModalFooter.d.ts +5 -0
- package/cjs/Modal/components/ModalFooter.js +31 -0
- package/cjs/Modal/components/ModalSection.d.ts +9 -0
- package/cjs/Modal/components/ModalSection.js +22 -0
- package/cjs/Modal/index.d.ts +3 -0
- package/cjs/Modal/index.js +38 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +36 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.js +87 -0
- package/cjs/Pagination/CompactPagination/index.d.ts +1 -0
- package/cjs/Pagination/CompactPagination/index.js +16 -0
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +19 -0
- package/cjs/Pagination/DotPagination/DotPagination.js +50 -0
- package/cjs/Pagination/DotPagination/index.d.ts +1 -0
- package/cjs/Pagination/DotPagination/index.js +16 -0
- package/cjs/Pagination/Pagination/Pagination.d.ts +19 -0
- package/cjs/Pagination/Pagination/Pagination.js +116 -0
- package/cjs/Pagination/Pagination/index.d.ts +1 -0
- package/cjs/Pagination/Pagination/index.js +16 -0
- package/cjs/Pagination/index.d.ts +3 -0
- package/cjs/Pagination/index.js +38 -0
- package/cjs/Popover/Popover.d.ts +9 -0
- package/cjs/Popover/Popover.js +142 -0
- package/cjs/Popover/index.d.ts +2 -0
- package/{components/Input → cjs/Popover}/index.js +10 -10
- package/cjs/Popover/types.d.ts +74 -0
- package/cjs/Popover/types.js +5 -0
- package/cjs/ProgressBar/ProgressBar.d.ts +15 -0
- package/cjs/ProgressBar/ProgressBar.js +56 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/cjs/ProgressBar/index.d.ts +1 -0
- package/cjs/ProgressBar/index.js +16 -0
- package/cjs/ProgressSpinner/ProgressSpinner.d.ts +13 -0
- package/cjs/ProgressSpinner/ProgressSpinner.js +59 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.js +44 -0
- package/cjs/ProgressSpinner/index.d.ts +1 -0
- package/cjs/ProgressSpinner/index.js +16 -0
- package/cjs/RadioGroup/RadioButton.d.ts +3 -0
- package/cjs/RadioGroup/RadioButton.js +28 -0
- package/cjs/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/cjs/RadioGroup/RadioButton.tailwind.js +61 -0
- package/cjs/RadioGroup/RadioGroup.d.ts +31 -0
- package/cjs/RadioGroup/RadioGroup.js +92 -0
- package/cjs/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/cjs/RadioGroup/RadiogroupContext.js +15 -0
- package/cjs/RadioGroup/index.d.ts +3 -0
- package/cjs/RadioGroup/index.js +38 -0
- package/cjs/RangeSlider/RangeSlider.d.ts +36 -0
- package/cjs/RangeSlider/RangeSlider.js +102 -0
- package/cjs/RangeSlider/index.d.ts +1 -0
- package/cjs/RangeSlider/index.js +16 -0
- package/cjs/Satellite/Satellite.d.ts +10 -0
- package/cjs/Satellite/Satellite.js +59 -0
- package/cjs/Satellite/SatelliteContext.d.ts +10 -0
- package/cjs/Satellite/SatelliteContext.js +22 -0
- package/cjs/Satellite/SatelliteRouter.d.ts +21 -0
- package/cjs/Satellite/SatelliteRouter.js +47 -0
- package/cjs/Satellite/index.d.ts +5 -0
- package/cjs/Satellite/index.js +60 -0
- package/cjs/Satellite/locale.d.ts +37 -0
- package/cjs/Satellite/locale.js +13 -0
- package/cjs/Satellite/useCreatePortal.d.ts +4 -0
- package/cjs/Satellite/useCreatePortal.js +23 -0
- package/cjs/ScrollIndicator/ScrollIndicator.d.ts +18 -0
- package/cjs/ScrollIndicator/ScrollIndicator.js +91 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/cjs/ScrollIndicator/index.d.ts +1 -0
- package/cjs/ScrollIndicator/index.js +16 -0
- package/cjs/Select/Select.d.ts +11 -0
- package/cjs/Select/Select.js +40 -0
- package/cjs/Select/Select.tailwind.d.ts +5 -0
- package/cjs/Select/Select.tailwind.js +76 -0
- package/cjs/Select/index.d.ts +1 -0
- package/cjs/Select/index.js +16 -0
- package/cjs/Separator/Separator.d.ts +13 -0
- package/cjs/Separator/Separator.js +43 -0
- package/cjs/Separator/Separator.tailwind.d.ts +5 -0
- package/cjs/Separator/Separator.tailwind.js +54 -0
- package/cjs/Separator/index.d.ts +1 -0
- package/cjs/Separator/index.js +16 -0
- package/cjs/Sidebar/Sidebar.d.ts +41 -0
- package/cjs/Sidebar/Sidebar.js +67 -0
- package/cjs/Sidebar/SidebarButtonLink.d.ts +20 -0
- package/cjs/Sidebar/SidebarButtonLink.js +84 -0
- package/cjs/Sidebar/SidebarContext.d.ts +9 -0
- package/cjs/Sidebar/SidebarContext.js +15 -0
- package/cjs/Sidebar/SidebarHeader.d.ts +7 -0
- package/cjs/Sidebar/SidebarHeader.js +20 -0
- package/cjs/Sidebar/SidebarHeading.d.ts +8 -0
- package/cjs/Sidebar/SidebarHeading.js +25 -0
- package/cjs/Sidebar/SidebarLink.d.ts +9 -0
- package/cjs/Sidebar/SidebarLink.js +50 -0
- package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
- package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +37 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +36 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +97 -0
- package/cjs/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
- package/cjs/Sidebar/SidebarLinksGroup/index.js +16 -0
- package/cjs/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
- package/cjs/Sidebar/SidebarLinksGroup/types.js +5 -0
- package/cjs/Sidebar/SidebarNav.d.ts +11 -0
- package/cjs/Sidebar/SidebarNav.js +36 -0
- package/cjs/Sidebar/index.d.ts +9 -0
- package/cjs/Sidebar/index.js +111 -0
- package/cjs/Sidebar/types.d.ts +6 -0
- package/cjs/Sidebar/types.js +5 -0
- package/cjs/Stepper/Step.d.ts +6 -0
- package/cjs/Stepper/Step.js +115 -0
- package/cjs/Stepper/Stepper.d.ts +41 -0
- package/cjs/Stepper/Stepper.js +145 -0
- package/cjs/Stepper/StepperContext.d.ts +12 -0
- package/cjs/Stepper/StepperContext.js +15 -0
- package/cjs/Stepper/index.d.ts +3 -0
- package/cjs/Stepper/index.js +38 -0
- package/cjs/Stepper/types.d.ts +26 -0
- package/cjs/Stepper/types.js +5 -0
- package/cjs/Stepper/utils.d.ts +5 -0
- package/cjs/Stepper/utils.js +67 -0
- package/cjs/Switch/Switch.d.ts +18 -0
- package/cjs/Switch/Switch.js +90 -0
- package/cjs/Switch/Switch.tailwind.d.ts +5 -0
- package/cjs/Switch/Switch.tailwind.js +25 -0
- package/cjs/Switch/SwitchOption.d.ts +7 -0
- package/cjs/Switch/SwitchOption.js +44 -0
- package/cjs/Switch/index.d.ts +2 -0
- package/cjs/Switch/index.js +27 -0
- package/cjs/Switch/types.d.ts +7 -0
- package/cjs/Switch/types.js +5 -0
- package/cjs/Switch/utils.d.ts +6 -0
- package/cjs/Switch/utils.js +18 -0
- package/cjs/Tables/DataTable/DataTable.d.ts +55 -0
- package/cjs/Tables/DataTable/DataTable.js +249 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
- package/cjs/Tables/DataTable/components/Body.d.ts +14 -0
- package/cjs/Tables/DataTable/components/Body.js +118 -0
- package/cjs/Tables/DataTable/components/Footer.d.ts +7 -0
- package/cjs/Tables/DataTable/components/Footer.js +59 -0
- package/cjs/Tables/DataTable/components/Header.d.ts +9 -0
- package/cjs/Tables/DataTable/components/Header.js +38 -0
- package/cjs/Tables/DataTable/components/HeaderCell.d.ts +11 -0
- package/cjs/Tables/DataTable/components/HeaderCell.js +57 -0
- package/cjs/Tables/DataTable/components/Loader.d.ts +8 -0
- package/cjs/Tables/DataTable/components/Loader.js +46 -0
- package/cjs/Tables/DataTable/components/index.d.ts +5 -0
- package/cjs/Tables/DataTable/components/index.js +60 -0
- package/cjs/Tables/DataTable/index.d.ts +2 -0
- package/cjs/Tables/DataTable/index.js +27 -0
- package/cjs/Tables/DataTable/types.d.ts +63 -0
- package/cjs/Tables/DataTable/types.js +5 -0
- package/cjs/Tables/DataTable/utils.d.ts +4 -0
- package/cjs/Tables/DataTable/utils.js +20 -0
- package/cjs/Tables/Table/Table.d.ts +13 -0
- package/cjs/Tables/Table/Table.js +45 -0
- package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
- package/cjs/Tables/Table/Table.tailwind.js +39 -0
- package/cjs/Tables/Table/components/TableFooter.d.ts +7 -0
- package/cjs/Tables/Table/components/TableFooter.js +25 -0
- package/cjs/Tables/Table/index.d.ts +2 -0
- package/cjs/Tables/Table/index.js +27 -0
- package/cjs/Tables/index.d.ts +2 -0
- package/cjs/Tables/index.js +27 -0
- package/cjs/Tabs/ContentTabs.d.ts +3 -0
- package/cjs/Tabs/ContentTabs.js +59 -0
- package/cjs/Tabs/LinkTabs.d.ts +9 -0
- package/cjs/Tabs/LinkTabs.js +51 -0
- package/cjs/Tabs/Tabs.tailwind.d.ts +5 -0
- package/cjs/Tabs/Tabs.tailwind.js +72 -0
- package/cjs/Tabs/components/LinkTab.d.ts +8 -0
- package/cjs/Tabs/components/LinkTab.js +83 -0
- package/cjs/Tabs/index.d.ts +3 -0
- package/cjs/Tabs/index.js +38 -0
- package/cjs/Tabs/types.d.ts +34 -0
- package/cjs/Tabs/types.js +5 -0
- package/cjs/Tabs/utils.d.ts +2 -0
- package/cjs/Tabs/utils.js +18 -0
- package/cjs/Tag/Tag.d.ts +30 -0
- package/cjs/Tag/Tag.js +121 -0
- package/cjs/Tag/Tag.tailwind.d.ts +5 -0
- package/cjs/Tag/Tag.tailwind.js +54 -0
- package/cjs/Tag/index.d.ts +1 -0
- package/cjs/Tag/index.js +16 -0
- package/cjs/TextArea/TextArea.d.ts +9 -0
- package/cjs/TextArea/TextArea.js +32 -0
- package/cjs/TextArea/TextArea.tailwind.d.ts +5 -0
- package/cjs/TextArea/TextArea.tailwind.js +42 -0
- package/cjs/TextArea/index.d.ts +1 -0
- package/cjs/TextArea/index.js +16 -0
- package/cjs/TextWrap/TextWrap.d.ts +12 -0
- package/cjs/TextWrap/TextWrap.js +58 -0
- package/cjs/TextWrap/index.d.ts +1 -0
- package/cjs/TextWrap/index.js +16 -0
- package/cjs/Toast/Toast.d.ts +5 -0
- package/cjs/Toast/Toast.js +110 -0
- package/cjs/Toast/Toast.tailwind.d.ts +5 -0
- package/cjs/Toast/Toast.tailwind.js +34 -0
- package/cjs/Toast/Toasts.d.ts +20 -0
- package/cjs/Toast/Toasts.js +101 -0
- package/cjs/Toast/index.d.ts +3 -0
- package/cjs/Toast/index.js +38 -0
- package/cjs/Toast/types.d.ts +34 -0
- package/cjs/Toast/types.js +5 -0
- package/cjs/Toggle/Toggle.d.ts +12 -0
- package/cjs/Toggle/Toggle.js +73 -0
- package/cjs/Toggle/Toggle.tailwind.d.ts +5 -0
- package/cjs/Toggle/Toggle.tailwind.js +84 -0
- package/cjs/Toggle/index.d.ts +1 -0
- package/cjs/Toggle/index.js +16 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +10 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.js +51 -0
- package/cjs/Tooltip/Tooltip.d.ts +11 -0
- package/cjs/Tooltip/Tooltip.js +39 -0
- package/cjs/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/cjs/Tooltip/Tooltip.tailwind.js +47 -0
- package/cjs/Tooltip/TooltipWrapper.d.ts +19 -0
- package/cjs/Tooltip/TooltipWrapper.js +87 -0
- package/cjs/Tooltip/index.d.ts +3 -0
- package/cjs/Tooltip/index.js +38 -0
- package/cjs/Tooltip/types.d.ts +65 -0
- package/cjs/Tooltip/types.js +5 -0
- package/cjs/Tooltip/utils.d.ts +1 -0
- package/cjs/Tooltip/utils.js +9 -0
- package/cjs/Typography/Typography.tailwind.d.ts +5 -0
- package/cjs/Typography/Typography.tailwind.js +170 -0
- package/cjs/UserContent/UserContent.d.ts +13 -0
- package/cjs/UserContent/UserContent.js +30 -0
- package/cjs/UserContent/UserContent.tailwind.d.ts +5 -0
- package/cjs/UserContent/UserContent.tailwind.js +141 -0
- package/cjs/index.d.ts +53 -0
- package/cjs/index.js +628 -0
- package/cjs/package.json +3 -0
- package/cjs/styles/base.tailwind.d.ts +5 -0
- package/cjs/styles/base.tailwind.js +46 -0
- package/cjs/styles/brandColors.d.ts +42 -0
- package/cjs/styles/brandColors.js +48 -0
- package/cjs/styles/colors.d.ts +110 -0
- package/cjs/styles/colors.js +116 -0
- package/cjs/styles/disabledColor.d.ts +6 -0
- package/cjs/styles/disabledColor.js +14 -0
- package/cjs/styles/helpers/icons.d.ts +15 -0
- package/cjs/styles/helpers/icons.js +39 -0
- package/cjs/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
- package/cjs/styles/helpers/makePurgeCssExtractor.js +50 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.js +36 -0
- package/cjs/styles/helpers/prefixTailwindClassName.d.ts +7 -0
- package/cjs/styles/helpers/prefixTailwindClassName.js +28 -0
- package/cjs/styles/helpers/satellitePrefixer.d.ts +3 -0
- package/cjs/styles/helpers/satellitePrefixer.js +8 -0
- package/cjs/styles/rgba.d.ts +8 -0
- package/cjs/styles/rgba.js +15 -0
- package/cjs/styles/tailwind.config.d.ts +2 -0
- package/cjs/styles/tailwind.config.js +146 -0
- package/cjs/styles/zIndexes.d.ts +8 -0
- package/cjs/styles/zIndexes.js +15 -0
- package/cjs/types.d.ts +24 -0
- package/cjs/types.js +5 -0
- package/cjs/utilities/overlay.tailwind.d.ts +5 -0
- package/cjs/utilities/overlay.tailwind.js +107 -0
- package/cjs/utilities/utilities.tailwind.d.ts +5 -0
- package/cjs/utilities/utilities.tailwind.js +27 -0
- package/cjs/utils/NumberUnion.d.ts +5 -0
- package/cjs/utils/NumberUnion.js +5 -0
- package/cjs/utils/clamp.d.ts +1 -0
- package/cjs/utils/clamp.js +9 -0
- package/cjs/utils/event-polyfill.d.ts +0 -0
- package/cjs/utils/event-polyfill.js +25 -0
- package/cjs/utils/formatters.d.ts +25 -0
- package/cjs/utils/formatters.js +44 -0
- package/cjs/utils/genericChangeHandler.d.ts +5 -0
- package/{utils → cjs/utils}/genericChangeHandler.js +1 -10
- package/cjs/utils/getTextFromReactNode.d.ts +4 -0
- package/cjs/utils/getTextFromReactNode.js +20 -0
- package/cjs/utils/hashCode.d.ts +1 -0
- package/cjs/utils/hashCode.js +20 -0
- package/{utils → cjs/utils}/index.d.ts +2 -3
- package/{utils → cjs/utils}/index.js +11 -18
- package/cjs/utils/isCssPropertySupported.d.ts +1 -0
- package/cjs/utils/isCssPropertySupported.js +14 -0
- package/cjs/utils/isNil.d.ts +18 -0
- package/cjs/utils/isNil.js +26 -0
- package/cjs/utils/isReactText.d.ts +2 -0
- package/cjs/utils/isReactText.js +9 -0
- package/cjs/utils/isRenderedChild.d.ts +7 -0
- package/cjs/utils/isRenderedChild.js +14 -0
- package/cjs/utils/matchLocation.d.ts +2 -0
- package/cjs/utils/matchLocation.js +10 -0
- package/cjs/utils/onlyText.d.ts +2 -0
- package/cjs/utils/onlyText.js +38 -0
- package/cjs/utils/parseUrl.d.ts +10 -0
- package/cjs/utils/parseUrl.js +20 -0
- package/{utils → cjs/utils}/pluralize.d.ts +1 -1
- package/{utils → cjs/utils}/pluralize.js +7 -10
- package/cjs/utils/prefersReducedMotion.d.ts +6 -0
- package/cjs/utils/prefersReducedMotion.js +13 -0
- package/{utils → cjs/utils}/range.d.ts +0 -1
- package/{utils → cjs/utils}/range.js +1 -6
- package/cjs/utils/sortObjectAlphabetically.d.ts +1 -0
- package/cjs/utils/sortObjectAlphabetically.js +18 -0
- package/cjs/utils/toSentenceCase.d.ts +2 -0
- package/cjs/utils/toSentenceCase.js +14 -0
- package/{utils → cjs/utils}/uniqBy.d.ts +0 -1
- package/{utils → cjs/utils}/uniqBy.js +1 -8
- package/{utils → cjs/utils}/uniqueId.d.ts +0 -1
- package/{utils → cjs/utils}/uniqueId.js +1 -6
- package/cjs/utils/useForwardedRef.d.ts +2 -0
- package/cjs/utils/useForwardedRef.js +23 -0
- package/cjs/utils/useLinkProps.d.ts +6 -0
- package/cjs/utils/useLinkProps.js +51 -0
- package/cjs/utils/useTriggerInputChange.d.ts +8 -0
- package/cjs/utils/useTriggerInputChange.js +26 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +25 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.js +49 -0
- package/esm/AnnouncementBadge/index.d.ts +1 -0
- package/esm/AnnouncementBadge/index.js +1 -0
- package/esm/AutoComplete/AutoComplete.d.ts +8 -0
- package/esm/AutoComplete/AutoComplete.js +428 -0
- package/esm/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/esm/AutoComplete/AutoComplete.tailwind.js +97 -0
- package/esm/AutoComplete/components/AutoCompleteContext.d.ts +10 -0
- package/esm/AutoComplete/components/AutoCompleteContext.js +23 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +12 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.js +28 -0
- package/esm/AutoComplete/components/DefaultOptionItem.d.ts +6 -0
- package/esm/AutoComplete/components/DefaultOptionItem.js +35 -0
- package/esm/AutoComplete/index.d.ts +6 -0
- package/esm/AutoComplete/index.js +6 -0
- package/esm/AutoComplete/types.d.ts +95 -0
- package/esm/AutoComplete/types.js +1 -0
- package/esm/AutoComplete/utils.d.ts +8 -0
- package/esm/AutoComplete/utils.js +71 -0
- package/esm/Avatars/ApplicationAvatar.d.ts +16 -0
- package/esm/Avatars/ApplicationAvatar.js +30 -0
- package/esm/Avatars/UserAvatar.d.ts +23 -0
- package/esm/Avatars/UserAvatar.js +52 -0
- package/esm/Avatars/index.d.ts +2 -0
- package/esm/Avatars/index.js +2 -0
- package/esm/Avatars/types.d.ts +17 -0
- package/esm/Avatars/types.js +1 -0
- package/esm/Avatars/utils.d.ts +6 -0
- package/esm/Avatars/utils.js +48 -0
- package/esm/Badge/Badge.d.ts +24 -0
- package/esm/Badge/Badge.js +62 -0
- package/esm/Badge/index.d.ts +1 -0
- package/esm/Badge/index.js +1 -0
- package/esm/Banners/Alert/Alert.d.ts +33 -0
- package/esm/Banners/Alert/Alert.js +87 -0
- package/esm/Banners/Alert/index.d.ts +1 -0
- package/esm/Banners/Alert/index.js +1 -0
- package/esm/Banners/Promote/Promote.d.ts +28 -0
- package/esm/Banners/Promote/Promote.js +73 -0
- package/esm/Banners/Promote/index.d.ts +1 -0
- package/esm/Banners/Promote/index.js +1 -0
- package/esm/Banners/SystemNotification/SystemNotification.d.ts +12 -0
- package/esm/Banners/SystemNotification/SystemNotification.js +27 -0
- package/esm/Banners/SystemNotification/index.d.ts +1 -0
- package/esm/Banners/SystemNotification/index.js +1 -0
- package/esm/Banners/index.d.ts +3 -0
- package/esm/Banners/index.js +3 -0
- package/esm/Button/Button.d.ts +9 -0
- package/esm/Button/Button.js +18 -0
- package/esm/Button/Button.tailwind.d.ts +5 -0
- package/esm/Button/Button.tailwind.js +155 -0
- package/esm/Button/ButtonGroup.d.ts +17 -0
- package/esm/Button/ButtonGroup.js +20 -0
- package/esm/Button/IconButton.d.ts +9 -0
- package/esm/Button/IconButton.js +18 -0
- package/esm/Button/PolymorphicButton.d.ts +12 -0
- package/esm/Button/PolymorphicButton.js +69 -0
- package/esm/Button/PolymorphicIconButton.d.ts +29 -0
- package/esm/Button/PolymorphicIconButton.js +81 -0
- package/esm/Button/index.d.ts +4 -0
- package/esm/Button/index.js +4 -0
- package/esm/Button/styles.d.ts +5 -0
- package/esm/Button/styles.js +30 -0
- package/esm/Button/types.d.ts +33 -0
- package/esm/Button/types.js +5 -0
- package/esm/Card/Card.d.ts +36 -0
- package/esm/Card/Card.js +40 -0
- package/esm/Card/Card.tailwind.d.ts +5 -0
- package/esm/Card/Card.tailwind.js +35 -0
- package/esm/Card/components/CardHeader.d.ts +5 -0
- package/esm/Card/components/CardHeader.js +19 -0
- package/esm/Card/components/CardTitle.d.ts +7 -0
- package/esm/Card/components/CardTitle.js +21 -0
- package/esm/Card/index.d.ts +3 -0
- package/esm/Card/index.js +3 -0
- package/esm/Checkbox/Checkbox.d.ts +23 -0
- package/esm/Checkbox/Checkbox.js +90 -0
- package/esm/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/esm/Checkbox/Checkbox.tailwind.js +70 -0
- package/esm/Checkbox/index.d.ts +1 -0
- package/esm/Checkbox/index.js +1 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.js +75 -0
- package/esm/ClickAwayContainer/index.d.ts +1 -0
- package/esm/ClickAwayContainer/index.js +1 -0
- package/esm/DatePicker/DatePicker/DatePicker.d.ts +39 -0
- package/esm/DatePicker/DatePicker/DatePicker.js +163 -0
- package/esm/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
- package/esm/DatePicker/DatePicker/datePickerReducer.js +43 -0
- package/esm/DatePicker/DatePicker/index.d.ts +2 -0
- package/esm/DatePicker/DatePicker/index.js +2 -0
- package/esm/DatePicker/DatePicker.tailwind.d.ts +5 -0
- package/esm/DatePicker/DatePicker.tailwind.js +182 -0
- package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +40 -0
- package/esm/DatePicker/DateRangePicker/DateRangePicker.js +256 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +13 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +32 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.js +92 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
- package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +9 -0
- package/esm/DatePicker/DateRangePicker/index.d.ts +3 -0
- package/esm/DatePicker/DateRangePicker/index.js +3 -0
- package/esm/DatePicker/components/Calendar.d.ts +17 -0
- package/esm/DatePicker/components/Calendar.js +47 -0
- package/esm/DatePicker/components/Display.d.ts +9 -0
- package/esm/DatePicker/components/Display.js +16 -0
- package/esm/DatePicker/components/Footer.d.ts +5 -0
- package/esm/DatePicker/components/Footer.js +11 -0
- package/esm/DatePicker/components/FooterActions.d.ts +11 -0
- package/esm/DatePicker/components/FooterActions.js +25 -0
- package/esm/DatePicker/components/Modal.d.ts +15 -0
- package/esm/DatePicker/components/Modal.js +59 -0
- package/esm/DatePicker/components/NavBar.d.ts +9 -0
- package/esm/DatePicker/components/NavBar.js +116 -0
- package/esm/DatePicker/components/SidePanel.d.ts +5 -0
- package/esm/DatePicker/components/SidePanel.js +14 -0
- package/esm/DatePicker/components/index.d.ts +7 -0
- package/esm/DatePicker/components/index.js +6 -0
- package/esm/DatePicker/index.d.ts +3 -0
- package/esm/DatePicker/index.js +3 -0
- package/esm/DatePicker/types.d.ts +26 -0
- package/esm/DatePicker/types.js +1 -0
- package/esm/DatePicker/utils.d.ts +3 -0
- package/esm/DatePicker/utils.js +12 -0
- package/esm/Dropdown/Dropdown.d.ts +40 -0
- package/esm/Dropdown/Dropdown.js +118 -0
- package/esm/Dropdown/DropdownButton.d.ts +13 -0
- package/esm/Dropdown/DropdownButton.js +42 -0
- package/esm/Dropdown/DropdownContext.d.ts +6 -0
- package/esm/Dropdown/DropdownContext.js +9 -0
- package/esm/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/esm/Dropdown/components/DropdownButtonItem.js +40 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +53 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +8 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +15 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +8 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +11 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +10 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +30 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +10 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +27 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/index.js +5 -0
- package/esm/Dropdown/components/DropdownDivider.d.ts +3 -0
- package/esm/Dropdown/components/DropdownDivider.js +11 -0
- package/esm/Dropdown/components/DropdownFooterItem.d.ts +9 -0
- package/esm/Dropdown/components/DropdownFooterItem.js +22 -0
- package/esm/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/esm/Dropdown/components/DropdownLinkItem.js +48 -0
- package/esm/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/esm/Dropdown/components/DropdownRadioItem.js +40 -0
- package/esm/Dropdown/components/DropdownTitle.d.ts +6 -0
- package/esm/Dropdown/components/DropdownTitle.js +18 -0
- package/esm/Dropdown/components/DropdownToggleItem.d.ts +11 -0
- package/esm/Dropdown/components/DropdownToggleItem.js +43 -0
- package/esm/Dropdown/index.d.ts +12 -0
- package/esm/Dropdown/index.js +12 -0
- package/esm/Dropdown/useDropdownItemProps.d.ts +20 -0
- package/esm/Dropdown/useDropdownItemProps.js +30 -0
- package/esm/Dropzone/Dropzone.d.ts +25 -0
- package/esm/Dropzone/Dropzone.js +157 -0
- package/esm/Dropzone/index.d.ts +1 -0
- package/esm/Dropzone/index.js +1 -0
- package/esm/EmptyState/EmptyState.d.ts +8 -0
- package/esm/EmptyState/EmptyState.js +92 -0
- package/esm/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/esm/EmptyState/EmptyState.tailwind.js +14 -0
- package/esm/EmptyState/index.d.ts +2 -0
- package/esm/EmptyState/index.js +2 -0
- package/esm/EmptyState/types.d.ts +50 -0
- package/esm/EmptyState/types.js +1 -0
- package/esm/Field/Field.d.ts +24 -0
- package/esm/Field/Field.js +68 -0
- package/esm/Field/FieldContext.d.ts +16 -0
- package/esm/Field/FieldContext.js +8 -0
- package/esm/Field/index.d.ts +4 -0
- package/esm/Field/index.js +3 -0
- package/esm/Field/useField.d.ts +2 -0
- package/esm/Field/useField.js +5 -0
- package/esm/FlexGrid/FlexGrid.d.ts +44 -0
- package/esm/FlexGrid/FlexGrid.js +67 -0
- package/esm/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/esm/FlexGrid/FlexGrid.tailwind.js +69 -0
- package/esm/FlexGrid/index.d.ts +1 -0
- package/esm/FlexGrid/index.js +1 -0
- package/esm/HelpUnderline/HelpUnderline.d.ts +15 -0
- package/esm/HelpUnderline/HelpUnderline.js +32 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.js +20 -0
- package/esm/HelpUnderline/index.d.ts +1 -0
- package/esm/HelpUnderline/index.js +1 -0
- package/esm/Icons/AlgoliaRecommendIcon.d.ts +3 -0
- package/esm/Icons/AlgoliaRecommendIcon.js +40 -0
- package/esm/Icons/AlgoliaSearchIcon.d.ts +3 -0
- package/esm/Icons/AlgoliaSearchIcon.js +43 -0
- package/esm/Icons/BulbIcon.d.ts +3 -0
- package/esm/Icons/BulbIcon.js +30 -0
- package/esm/Icons/ContextIcon.d.ts +3 -0
- package/esm/Icons/ContextIcon.js +45 -0
- package/esm/Icons/CrawlerIcon.d.ts +3 -0
- package/esm/Icons/CrawlerIcon.js +34 -0
- package/esm/Icons/DragHandleIcon.d.ts +3 -0
- package/esm/Icons/DragHandleIcon.js +52 -0
- package/esm/Icons/NeuralSearchIcon.d.ts +3 -0
- package/esm/Icons/NeuralSearchIcon.js +27 -0
- package/esm/Icons/NoFiltersIcon.d.ts +3 -0
- package/esm/Icons/NoFiltersIcon.js +53 -0
- package/esm/Icons/PinIcon.d.ts +3 -0
- package/esm/Icons/PinIcon.js +54 -0
- package/esm/Icons/QueryBreakdownIcon.d.ts +3 -0
- package/esm/Icons/QueryBreakdownIcon.js +33 -0
- package/esm/Icons/RocketIcon.d.ts +3 -0
- package/esm/Icons/RocketIcon.js +29 -0
- package/esm/Icons/SettingsCategoryPagesIcon.d.ts +3 -0
- package/esm/Icons/SettingsCategoryPagesIcon.js +29 -0
- package/esm/Icons/SettingsConsequencesIcon.d.ts +3 -0
- package/esm/Icons/SettingsConsequencesIcon.js +64 -0
- package/esm/Icons/TestingIcon.d.ts +3 -0
- package/esm/Icons/TestingIcon.js +29 -0
- package/esm/Icons/UnpinIcon.d.ts +3 -0
- package/esm/Icons/UnpinIcon.js +54 -0
- package/esm/Icons/WorkspaceSwitcherIcon.d.ts +3 -0
- package/esm/Icons/WorkspaceSwitcherIcon.js +27 -0
- package/esm/Icons/index.d.ts +20 -0
- package/esm/Icons/index.js +22 -0
- package/esm/Icons/utils.d.ts +1 -0
- package/esm/Icons/utils.js +4 -0
- package/esm/Input/Input.d.ts +27 -0
- package/esm/Input/Input.js +206 -0
- package/esm/Input/Input.tailwind.d.ts +5 -0
- package/esm/Input/Input.tailwind.js +124 -0
- package/esm/Input/index.d.ts +1 -0
- package/esm/Input/index.js +1 -0
- package/esm/Insert/Insert.d.ts +19 -0
- package/esm/Insert/Insert.js +44 -0
- package/esm/Insert/index.d.ts +1 -0
- package/esm/Insert/index.js +1 -0
- package/esm/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/esm/InstantSearch/InstantSearch.tailwind.js +377 -0
- package/esm/KeyboardKey/KeyboardKey.d.ts +12 -0
- package/esm/KeyboardKey/KeyboardKey.js +34 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.js +28 -0
- package/esm/KeyboardKey/index.d.ts +1 -0
- package/esm/KeyboardKey/index.js +1 -0
- package/esm/Link/BaseLink.d.ts +7 -0
- package/esm/Link/BaseLink.js +21 -0
- package/esm/Link/ButtonLink.d.ts +13 -0
- package/esm/Link/ButtonLink.js +34 -0
- package/esm/Link/IconButtonLink.d.ts +13 -0
- package/esm/Link/IconButtonLink.js +28 -0
- package/esm/Link/Link.d.ts +17 -0
- package/esm/Link/Link.js +50 -0
- package/esm/Link/index.d.ts +4 -0
- package/esm/Link/index.js +4 -0
- package/esm/Medallion/Medallion.d.ts +16 -0
- package/esm/Medallion/Medallion.js +37 -0
- package/esm/Medallion/Medallion.tailwind.d.ts +5 -0
- package/esm/Medallion/Medallion.tailwind.js +30 -0
- package/esm/Medallion/index.d.ts +2 -0
- package/esm/Medallion/index.js +2 -0
- package/esm/Medallion/types.d.ts +2 -0
- package/esm/Medallion/types.js +1 -0
- package/esm/MenuButton/MenuButton.d.ts +26 -0
- package/esm/MenuButton/MenuButton.js +37 -0
- package/esm/MenuButton/components/Content.d.ts +4 -0
- package/esm/MenuButton/components/Content.js +32 -0
- package/esm/MenuButton/components/CustomTrigger.d.ts +4 -0
- package/esm/MenuButton/components/CustomTrigger.js +13 -0
- package/esm/MenuButton/components/DefaultTrigger.d.ts +4 -0
- package/esm/MenuButton/components/DefaultTrigger.js +24 -0
- package/esm/MenuButton/components/Divider.d.ts +2 -0
- package/esm/MenuButton/components/Divider.js +10 -0
- package/esm/MenuButton/components/Label.d.ts +3 -0
- package/esm/MenuButton/components/Label.js +21 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItem.d.ts +8 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItem.js +54 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +6 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsGroup.js +14 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +7 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsGroupContext.js +9 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +8 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.js +29 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +8 -0
- package/esm/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.js +26 -0
- package/esm/MenuButton/components/collapsible/index.d.ts +5 -0
- package/esm/MenuButton/components/collapsible/index.js +5 -0
- package/esm/MenuButton/components/items/Item.d.ts +14 -0
- package/esm/MenuButton/components/items/Item.js +33 -0
- package/esm/MenuButton/components/items/LinkItem.d.ts +16 -0
- package/esm/MenuButton/components/items/LinkItem.js +63 -0
- package/esm/MenuButton/components/items/RadioItem.d.ts +5 -0
- package/esm/MenuButton/components/items/RadioItem.js +40 -0
- package/esm/MenuButton/components/items/ToggleItem.d.ts +8 -0
- package/esm/MenuButton/components/items/ToggleItem.js +62 -0
- package/esm/MenuButton/components/items/index.d.ts +4 -0
- package/esm/MenuButton/components/items/index.js +4 -0
- package/esm/MenuButton/index.d.ts +1 -0
- package/esm/MenuButton/index.js +1 -0
- package/esm/MenuButton/useMenuItemProps.d.ts +10 -0
- package/esm/MenuButton/useMenuItemProps.js +11 -0
- package/esm/Modal/Modal.d.ts +61 -0
- package/esm/Modal/Modal.js +145 -0
- package/esm/Modal/Modal.tailwind.d.ts +5 -0
- package/esm/Modal/Modal.tailwind.js +79 -0
- package/esm/Modal/components/ModalFooter.d.ts +5 -0
- package/esm/Modal/components/ModalFooter.js +24 -0
- package/esm/Modal/components/ModalSection.d.ts +9 -0
- package/esm/Modal/components/ModalSection.js +15 -0
- package/esm/Modal/index.d.ts +3 -0
- package/esm/Modal/index.js +3 -0
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +36 -0
- package/esm/Pagination/CompactPagination/CompactPagination.js +81 -0
- package/esm/Pagination/CompactPagination/index.d.ts +1 -0
- package/esm/Pagination/CompactPagination/index.js +1 -0
- package/esm/Pagination/DotPagination/DotPagination.d.ts +19 -0
- package/esm/Pagination/DotPagination/DotPagination.js +43 -0
- package/esm/Pagination/DotPagination/index.d.ts +1 -0
- package/esm/Pagination/DotPagination/index.js +1 -0
- package/esm/Pagination/Pagination/Pagination.d.ts +19 -0
- package/esm/Pagination/Pagination/Pagination.js +111 -0
- package/esm/Pagination/Pagination/index.d.ts +1 -0
- package/esm/Pagination/Pagination/index.js +1 -0
- package/esm/Pagination/index.d.ts +3 -0
- package/esm/Pagination/index.js +3 -0
- package/esm/Popover/Popover.d.ts +9 -0
- package/esm/Popover/Popover.js +134 -0
- package/esm/Popover/index.d.ts +2 -0
- package/esm/Popover/index.js +2 -0
- package/esm/Popover/types.d.ts +74 -0
- package/esm/Popover/types.js +1 -0
- package/esm/ProgressBar/ProgressBar.d.ts +15 -0
- package/esm/ProgressBar/ProgressBar.js +46 -0
- package/esm/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/esm/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/esm/ProgressBar/index.d.ts +1 -0
- package/esm/ProgressBar/index.js +1 -0
- package/esm/ProgressSpinner/ProgressSpinner.d.ts +13 -0
- package/esm/ProgressSpinner/ProgressSpinner.js +53 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.js +43 -0
- package/esm/ProgressSpinner/index.d.ts +1 -0
- package/esm/ProgressSpinner/index.js +1 -0
- package/esm/RadioGroup/RadioButton.d.ts +3 -0
- package/esm/RadioGroup/RadioButton.js +21 -0
- package/esm/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/esm/RadioGroup/RadioButton.tailwind.js +62 -0
- package/esm/RadioGroup/RadioGroup.d.ts +31 -0
- package/esm/RadioGroup/RadioGroup.js +86 -0
- package/esm/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/esm/RadioGroup/RadiogroupContext.js +9 -0
- package/esm/RadioGroup/index.d.ts +3 -0
- package/esm/RadioGroup/index.js +3 -0
- package/esm/RangeSlider/RangeSlider.d.ts +36 -0
- package/esm/RangeSlider/RangeSlider.js +98 -0
- package/esm/RangeSlider/index.d.ts +1 -0
- package/esm/RangeSlider/index.js +1 -0
- package/esm/Satellite/Satellite.d.ts +10 -0
- package/esm/Satellite/Satellite.js +53 -0
- package/esm/Satellite/SatelliteContext.d.ts +10 -0
- package/esm/Satellite/SatelliteContext.js +15 -0
- package/esm/Satellite/SatelliteRouter.d.ts +21 -0
- package/esm/Satellite/SatelliteRouter.js +40 -0
- package/esm/Satellite/index.d.ts +5 -0
- package/esm/Satellite/index.js +5 -0
- package/esm/Satellite/locale.d.ts +37 -0
- package/esm/Satellite/locale.js +7 -0
- package/esm/Satellite/useCreatePortal.d.ts +4 -0
- package/esm/Satellite/useCreatePortal.js +17 -0
- package/esm/ScrollIndicator/ScrollIndicator.d.ts +18 -0
- package/esm/ScrollIndicator/ScrollIndicator.js +84 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/esm/ScrollIndicator/index.d.ts +1 -0
- package/esm/ScrollIndicator/index.js +1 -0
- package/esm/Select/Select.d.ts +11 -0
- package/esm/Select/Select.js +33 -0
- package/esm/Select/Select.tailwind.d.ts +5 -0
- package/esm/Select/Select.tailwind.js +77 -0
- package/esm/Select/index.d.ts +1 -0
- package/esm/Select/index.js +1 -0
- package/esm/Separator/Separator.d.ts +13 -0
- package/esm/Separator/Separator.js +33 -0
- package/esm/Separator/Separator.tailwind.d.ts +5 -0
- package/esm/Separator/Separator.tailwind.js +53 -0
- package/esm/Separator/index.d.ts +1 -0
- package/esm/Separator/index.js +1 -0
- package/esm/Sidebar/Sidebar.d.ts +41 -0
- package/esm/Sidebar/Sidebar.js +60 -0
- package/esm/Sidebar/SidebarButtonLink.d.ts +20 -0
- package/esm/Sidebar/SidebarButtonLink.js +78 -0
- package/esm/Sidebar/SidebarContext.d.ts +9 -0
- package/esm/Sidebar/SidebarContext.js +9 -0
- package/esm/Sidebar/SidebarHeader.d.ts +7 -0
- package/esm/Sidebar/SidebarHeader.js +13 -0
- package/esm/Sidebar/SidebarHeading.d.ts +8 -0
- package/esm/Sidebar/SidebarHeading.js +18 -0
- package/esm/Sidebar/SidebarLink.d.ts +9 -0
- package/esm/Sidebar/SidebarLink.js +44 -0
- package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
- package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +30 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +30 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +91 -0
- package/esm/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
- package/esm/Sidebar/SidebarLinksGroup/index.js +2 -0
- package/esm/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
- package/esm/Sidebar/SidebarLinksGroup/types.js +1 -0
- package/esm/Sidebar/SidebarNav.d.ts +11 -0
- package/esm/Sidebar/SidebarNav.js +29 -0
- package/esm/Sidebar/index.d.ts +9 -0
- package/esm/Sidebar/index.js +9 -0
- package/esm/Sidebar/types.d.ts +6 -0
- package/esm/Sidebar/types.js +1 -0
- package/esm/Stepper/Step.d.ts +6 -0
- package/esm/Stepper/Step.js +109 -0
- package/esm/Stepper/Stepper.d.ts +41 -0
- package/esm/Stepper/Stepper.js +138 -0
- package/esm/Stepper/StepperContext.d.ts +12 -0
- package/esm/Stepper/StepperContext.js +9 -0
- package/esm/Stepper/index.d.ts +3 -0
- package/esm/Stepper/index.js +3 -0
- package/esm/Stepper/types.d.ts +26 -0
- package/esm/Stepper/types.js +1 -0
- package/esm/Stepper/utils.d.ts +5 -0
- package/esm/Stepper/utils.js +61 -0
- package/esm/Switch/Switch.d.ts +18 -0
- package/esm/Switch/Switch.js +84 -0
- package/esm/Switch/Switch.tailwind.d.ts +5 -0
- package/esm/Switch/Switch.tailwind.js +24 -0
- package/esm/Switch/SwitchOption.d.ts +7 -0
- package/esm/Switch/SwitchOption.js +38 -0
- package/esm/Switch/index.d.ts +2 -0
- package/esm/Switch/index.js +2 -0
- package/esm/Switch/types.d.ts +7 -0
- package/esm/Switch/types.js +1 -0
- package/esm/Switch/utils.d.ts +6 -0
- package/esm/Switch/utils.js +11 -0
- package/esm/Tables/DataTable/DataTable.d.ts +55 -0
- package/esm/Tables/DataTable/DataTable.js +243 -0
- package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/esm/Tables/DataTable/DataTable.tailwind.js +22 -0
- package/esm/Tables/DataTable/components/Body.d.ts +14 -0
- package/esm/Tables/DataTable/components/Body.js +111 -0
- package/esm/Tables/DataTable/components/Footer.d.ts +7 -0
- package/esm/Tables/DataTable/components/Footer.js +52 -0
- package/esm/Tables/DataTable/components/Header.d.ts +9 -0
- package/esm/Tables/DataTable/components/Header.js +31 -0
- package/esm/Tables/DataTable/components/HeaderCell.d.ts +11 -0
- package/esm/Tables/DataTable/components/HeaderCell.js +51 -0
- package/esm/Tables/DataTable/components/Loader.d.ts +8 -0
- package/esm/Tables/DataTable/components/Loader.js +39 -0
- package/esm/Tables/DataTable/components/index.d.ts +5 -0
- package/esm/Tables/DataTable/components/index.js +5 -0
- package/esm/Tables/DataTable/index.d.ts +2 -0
- package/esm/Tables/DataTable/index.js +2 -0
- package/esm/Tables/DataTable/types.d.ts +63 -0
- package/esm/Tables/DataTable/types.js +1 -0
- package/esm/Tables/DataTable/utils.d.ts +4 -0
- package/esm/Tables/DataTable/utils.js +13 -0
- package/esm/Tables/Table/Table.d.ts +13 -0
- package/esm/Tables/Table/Table.js +39 -0
- package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
- package/esm/Tables/Table/Table.tailwind.js +38 -0
- package/esm/Tables/Table/components/TableFooter.d.ts +7 -0
- package/esm/Tables/Table/components/TableFooter.js +18 -0
- package/esm/Tables/Table/index.d.ts +2 -0
- package/esm/Tables/Table/index.js +2 -0
- package/esm/Tables/index.d.ts +2 -0
- package/esm/Tables/index.js +2 -0
- package/esm/Tabs/ContentTabs.d.ts +3 -0
- package/esm/Tabs/ContentTabs.js +53 -0
- package/esm/Tabs/LinkTabs.d.ts +9 -0
- package/esm/Tabs/LinkTabs.js +44 -0
- package/esm/Tabs/Tabs.tailwind.d.ts +5 -0
- package/esm/Tabs/Tabs.tailwind.js +71 -0
- package/esm/Tabs/components/LinkTab.d.ts +8 -0
- package/esm/Tabs/components/LinkTab.js +77 -0
- package/esm/Tabs/index.d.ts +3 -0
- package/esm/Tabs/index.js +3 -0
- package/esm/Tabs/types.d.ts +34 -0
- package/esm/Tabs/types.js +1 -0
- package/esm/Tabs/utils.d.ts +2 -0
- package/esm/Tabs/utils.js +11 -0
- package/esm/Tag/Tag.d.ts +30 -0
- package/esm/Tag/Tag.js +115 -0
- package/esm/Tag/Tag.tailwind.d.ts +5 -0
- package/esm/Tag/Tag.tailwind.js +53 -0
- package/esm/Tag/index.d.ts +1 -0
- package/esm/Tag/index.js +1 -0
- package/esm/TextArea/TextArea.d.ts +9 -0
- package/esm/TextArea/TextArea.js +25 -0
- package/esm/TextArea/TextArea.tailwind.d.ts +5 -0
- package/esm/TextArea/TextArea.tailwind.js +43 -0
- package/esm/TextArea/index.d.ts +1 -0
- package/esm/TextArea/index.js +1 -0
- package/esm/TextWrap/TextWrap.d.ts +12 -0
- package/esm/TextWrap/TextWrap.js +52 -0
- package/esm/TextWrap/index.d.ts +1 -0
- package/esm/TextWrap/index.js +1 -0
- package/esm/Toast/Toast.d.ts +5 -0
- package/esm/Toast/Toast.js +101 -0
- package/esm/Toast/Toast.tailwind.d.ts +5 -0
- package/esm/Toast/Toast.tailwind.js +33 -0
- package/esm/Toast/Toasts.d.ts +20 -0
- package/esm/Toast/Toasts.js +92 -0
- package/esm/Toast/index.d.ts +3 -0
- package/esm/Toast/index.js +3 -0
- package/esm/Toast/types.d.ts +34 -0
- package/esm/Toast/types.js +1 -0
- package/esm/Toggle/Toggle.d.ts +12 -0
- package/esm/Toggle/Toggle.js +67 -0
- package/esm/Toggle/Toggle.tailwind.d.ts +5 -0
- package/esm/Toggle/Toggle.tailwind.js +84 -0
- package/esm/Toggle/index.d.ts +1 -0
- package/esm/Toggle/index.js +1 -0
- package/esm/Tooltip/OverflowTooltipWrapper.d.ts +10 -0
- package/esm/Tooltip/OverflowTooltipWrapper.js +44 -0
- package/esm/Tooltip/Tooltip.d.ts +11 -0
- package/esm/Tooltip/Tooltip.js +32 -0
- package/esm/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/esm/Tooltip/Tooltip.tailwind.js +46 -0
- package/esm/Tooltip/TooltipWrapper.d.ts +19 -0
- package/esm/Tooltip/TooltipWrapper.js +79 -0
- package/esm/Tooltip/index.d.ts +3 -0
- package/{components/Tooltip/index.d.ts → esm/Tooltip/index.js} +1 -1
- package/esm/Tooltip/types.d.ts +65 -0
- package/esm/Tooltip/types.js +1 -0
- package/esm/Tooltip/utils.d.ts +1 -0
- package/esm/Tooltip/utils.js +3 -0
- package/esm/Typography/Typography.tailwind.d.ts +5 -0
- package/esm/Typography/Typography.tailwind.js +169 -0
- package/esm/UserContent/UserContent.d.ts +13 -0
- package/esm/UserContent/UserContent.js +23 -0
- package/esm/UserContent/UserContent.tailwind.d.ts +5 -0
- package/esm/UserContent/UserContent.tailwind.js +141 -0
- package/esm/index.d.ts +53 -0
- package/esm/index.js +53 -0
- package/esm/styles/base.tailwind.d.ts +5 -0
- package/esm/styles/base.tailwind.js +45 -0
- package/esm/styles/brandColors.d.ts +42 -0
- package/esm/styles/brandColors.js +46 -0
- package/esm/styles/colors.d.ts +110 -0
- package/esm/styles/colors.js +114 -0
- package/esm/styles/disabledColor.d.ts +6 -0
- package/esm/styles/disabledColor.js +14 -0
- package/esm/styles/helpers/icons.d.ts +15 -0
- package/esm/styles/helpers/icons.js +40 -0
- package/esm/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
- package/esm/styles/helpers/makePurgeCssExtractor.js +49 -0
- package/esm/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
- package/esm/styles/helpers/makeTailwindPrefixer.js +34 -0
- package/esm/styles/helpers/prefixTailwindClassName.d.ts +7 -0
- package/esm/styles/helpers/prefixTailwindClassName.js +26 -0
- package/esm/styles/helpers/satellitePrefixer.d.ts +3 -0
- package/esm/styles/helpers/satellitePrefixer.js +7 -0
- package/esm/styles/rgba.d.ts +8 -0
- package/esm/styles/rgba.js +14 -0
- package/esm/styles/tailwind.config.d.ts +2 -0
- package/esm/styles/tailwind.config.js +147 -0
- package/esm/styles/zIndexes.d.ts +8 -0
- package/esm/styles/zIndexes.js +13 -0
- package/esm/types.d.ts +24 -0
- package/esm/types.js +1 -0
- package/esm/utilities/overlay.tailwind.d.ts +5 -0
- package/esm/utilities/overlay.tailwind.js +106 -0
- package/esm/utilities/utilities.tailwind.d.ts +5 -0
- package/esm/utilities/utilities.tailwind.js +25 -0
- package/esm/utils/NumberUnion.d.ts +5 -0
- package/esm/utils/NumberUnion.js +1 -0
- package/esm/utils/clamp.d.ts +1 -0
- package/esm/utils/clamp.js +3 -0
- package/esm/utils/event-polyfill.d.ts +0 -0
- package/esm/utils/event-polyfill.js +23 -0
- package/esm/utils/formatters.d.ts +25 -0
- package/esm/utils/formatters.js +36 -0
- package/esm/utils/genericChangeHandler.d.ts +5 -0
- package/esm/utils/genericChangeHandler.js +17 -0
- package/esm/utils/getTextFromReactNode.d.ts +4 -0
- package/esm/utils/getTextFromReactNode.js +15 -0
- package/esm/utils/hashCode.d.ts +1 -0
- package/esm/utils/hashCode.js +14 -0
- package/esm/utils/index.d.ts +7 -0
- package/esm/utils/index.js +7 -0
- package/esm/utils/isCssPropertySupported.d.ts +1 -0
- package/esm/utils/isCssPropertySupported.js +8 -0
- package/esm/utils/isNil.d.ts +18 -0
- package/esm/utils/isNil.js +20 -0
- package/esm/utils/isReactText.d.ts +2 -0
- package/esm/utils/isReactText.js +3 -0
- package/esm/utils/isRenderedChild.d.ts +7 -0
- package/esm/utils/isRenderedChild.js +8 -0
- package/esm/utils/matchLocation.d.ts +2 -0
- package/esm/utils/matchLocation.js +4 -0
- package/esm/utils/onlyText.d.ts +2 -0
- package/esm/utils/onlyText.js +32 -0
- package/esm/utils/parseUrl.d.ts +10 -0
- package/esm/utils/parseUrl.js +14 -0
- package/esm/utils/pluralize.d.ts +6 -0
- package/esm/utils/pluralize.js +15 -0
- package/esm/utils/prefersReducedMotion.d.ts +6 -0
- package/esm/utils/prefersReducedMotion.js +7 -0
- package/esm/utils/range.d.ts +1 -0
- package/esm/utils/range.js +6 -0
- package/esm/utils/sortObjectAlphabetically.d.ts +1 -0
- package/esm/utils/sortObjectAlphabetically.js +11 -0
- package/esm/utils/toSentenceCase.d.ts +2 -0
- package/esm/utils/toSentenceCase.js +8 -0
- package/esm/utils/uniqBy.d.ts +1 -0
- package/esm/utils/uniqBy.js +12 -0
- package/esm/utils/uniqueId.d.ts +1 -0
- package/esm/utils/uniqueId.js +6 -0
- package/esm/utils/useForwardedRef.d.ts +2 -0
- package/esm/utils/useForwardedRef.js +16 -0
- package/esm/utils/useLinkProps.d.ts +6 -0
- package/esm/utils/useLinkProps.js +45 -0
- package/esm/utils/useTriggerInputChange.d.ts +8 -0
- package/esm/utils/useTriggerInputChange.js +20 -0
- package/package.json +92 -49
- package/satellite.min.css +3 -0
- package/scss/colors.scss +139 -0
- package/scss/variables.scss +8 -0
- package/components/Alert/Alert.d.ts +0 -9
- package/components/Alert/Alert.js +0 -49
- package/components/Alert/index.d.ts +0 -2
- package/components/Alert/index.js +0 -27
- package/components/AutoComplete/AutoComplete.d.ts +0 -66
- package/components/AutoComplete/AutoComplete.js +0 -512
- package/components/AutoComplete/index.d.ts +0 -2
- package/components/AutoComplete/index.js +0 -27
- package/components/AutoComplete/types.d.ts +0 -21
- package/components/AutoComplete/types.js +0 -1
- package/components/AutoComplete/utils.d.ts +0 -3
- package/components/AutoComplete/utils.js +0 -35
- package/components/Button/Button.d.ts +0 -13
- package/components/Button/Button.js +0 -59
- package/components/Button/LinkButton.d.ts +0 -9
- package/components/Button/LinkButton.js +0 -52
- package/components/Button/index.d.ts +0 -3
- package/components/Button/index.js +0 -40
- package/components/Card/Card.d.ts +0 -13
- package/components/Card/Card.js +0 -71
- package/components/Card/components/CardHeader.d.ts +0 -3
- package/components/Card/components/CardHeader.js +0 -25
- package/components/Card/components/CardTitle.d.ts +0 -7
- package/components/Card/components/CardTitle.js +0 -30
- package/components/Card/index.d.ts +0 -3
- package/components/Card/index.js +0 -19
- package/components/Checkbox/Checkbox.d.ts +0 -5
- package/components/Checkbox/Checkbox.js +0 -66
- package/components/Checkbox/index.d.ts +0 -2
- package/components/Checkbox/index.js +0 -27
- package/components/Chip/Chip.d.ts +0 -9
- package/components/Chip/Chip.js +0 -77
- package/components/Chip/index.d.ts +0 -2
- package/components/Chip/index.js +0 -21
- package/components/Dropdown/Dropdown.d.ts +0 -27
- package/components/Dropdown/Dropdown.js +0 -163
- package/components/Dropdown/DropdownButton.d.ts +0 -12
- package/components/Dropdown/DropdownButton.js +0 -117
- package/components/Dropdown/components/DropdownDivider.d.ts +0 -6
- package/components/Dropdown/components/DropdownDivider.js +0 -24
- package/components/Dropdown/components/DropdownItem.d.ts +0 -10
- package/components/Dropdown/components/DropdownItem.js +0 -46
- package/components/Dropdown/components/DropdownTitle.d.ts +0 -4
- package/components/Dropdown/components/DropdownTitle.js +0 -34
- package/components/Dropdown/index.d.ts +0 -3
- package/components/Dropdown/index.js +0 -29
- package/components/HelpUnderline/HelpUnderline.d.ts +0 -10
- package/components/HelpUnderline/HelpUnderline.js +0 -39
- package/components/HelpUnderline/index.d.ts +0 -2
- package/components/HelpUnderline/index.js +0 -27
- package/components/Input/Input.d.ts +0 -25
- package/components/Input/Input.js +0 -134
- package/components/Input/index.d.ts +0 -2
- package/components/LoaderIcon/LoaderIcon.d.ts +0 -7
- package/components/LoaderIcon/LoaderIcon.js +0 -65
- package/components/LoaderIcon/index.d.ts +0 -2
- package/components/LoaderIcon/index.js +0 -27
- package/components/MaterialIcon/MaterialIcon.d.ts +0 -12
- package/components/MaterialIcon/MaterialIcon.js +0 -48
- package/components/MaterialIcon/index.d.ts +0 -2
- package/components/MaterialIcon/index.js +0 -27
- package/components/Modal/Modal.d.ts +0 -30
- package/components/Modal/Modal.js +0 -207
- package/components/Modal/components/ModalFooter.d.ts +0 -4
- package/components/Modal/components/ModalFooter.js +0 -34
- package/components/Modal/components/ModalSection.d.ts +0 -6
- package/components/Modal/components/ModalSection.js +0 -38
- package/components/Modal/index.d.ts +0 -2
- package/components/Modal/index.js +0 -21
- package/components/Pagination/Pagination.d.ts +0 -12
- package/components/Pagination/Pagination.js +0 -131
- package/components/Pagination/index.d.ts +0 -2
- package/components/Pagination/index.js +0 -27
- package/components/RadioGroup/RadioButton.d.ts +0 -5
- package/components/RadioGroup/RadioButton.js +0 -35
- package/components/RadioGroup/RadioGroup.d.ts +0 -20
- package/components/RadioGroup/RadioGroup.js +0 -140
- package/components/RadioGroup/index.d.ts +0 -3
- package/components/RadioGroup/index.js +0 -29
- package/components/ScrollIndicator/ScrollIndicator.d.ts +0 -24
- package/components/ScrollIndicator/ScrollIndicator.js +0 -165
- package/components/ScrollIndicator/index.d.ts +0 -2
- package/components/ScrollIndicator/index.js +0 -21
- package/components/Select/Select.d.ts +0 -6
- package/components/Select/Select.js +0 -40
- package/components/Select/index.d.ts +0 -2
- package/components/Select/index.js +0 -27
- package/components/Table/Table.d.ts +0 -6
- package/components/Table/Table.js +0 -36
- package/components/Table/index.d.ts +0 -3
- package/components/Table/index.js +0 -19
- package/components/TextArea/TextArea.d.ts +0 -5
- package/components/TextArea/TextArea.js +0 -34
- package/components/TextArea/index.d.ts +0 -2
- package/components/TextArea/index.js +0 -27
- package/components/Tooltip/Tooltip.d.ts +0 -5
- package/components/Tooltip/Tooltip.js +0 -29
- package/components/Tooltip/TooltipWrapper.d.ts +0 -32
- package/components/Tooltip/TooltipWrapper.js +0 -164
- package/index.d.ts +0 -19
- package/index.js +0 -173
- package/nothing-to-see-here.gif +0 -0
- package/satellite.css +0 -32
- package/satellite.css.map +0 -1
- package/styles/_colors.scss +0 -147
- package/styles/_mixins.scss +0 -72
- package/styles/_variables.scss +0 -71
- package/utils/clamp.d.ts +0 -2
- package/utils/clamp.js +0 -20
- package/utils/genericChangeHandler.d.ts +0 -5
- package/utils/omit.d.ts +0 -2
- package/utils/omit.js +0 -25
@@ -0,0 +1 @@
|
|
1
|
+
export declare const isCssPropertySupported: <P extends number | typeof Symbol.iterator | "filter" | "fill" | "font" | "clipPath" | "marker" | "mask" | "translate" | "color" | "grid" | "all" | "width" | "height" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "offset" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "top" | "left" | "right" | "bottom" | "content" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "clear" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "counterIncrement" | "counterReset" | "counterSet" | "cssFloat" | "cssText" | "emptyCells" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFeatureSettings" | "fontKerning" | "fontOpticalSizing" | "fontSynthesis" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetRotate" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "position" | "quotes" | "resize" | "rowGap" | "rubyPosition" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollbarGutter" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textOrientation" | "textOverflow" | "textShadow" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transformBox" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "userSelect" | "verticalAlign" | "webkitAlignContent" | "webkitAlignItems" | "webkitAlignSelf" | "webkitAnimation" | "webkitAnimationDelay" | "webkitAnimationDirection" | "webkitAnimationDuration" | "webkitAnimationFillMode" | "webkitAnimationIterationCount" | "webkitAnimationName" | "webkitAnimationPlayState" | "webkitAnimationTimingFunction" | "webkitAppearance" | "webkitBackfaceVisibility" | "webkitBackgroundClip" | "webkitBackgroundOrigin" | "webkitBackgroundSize" | "webkitBorderBottomLeftRadius" | "webkitBorderBottomRightRadius" | "webkitBorderRadius" | "webkitBorderTopLeftRadius" | "webkitBorderTopRightRadius" | "webkitBoxAlign" | "webkitBoxFlex" | "webkitBoxOrdinalGroup" | "webkitBoxOrient" | "webkitBoxPack" | "webkitBoxShadow" | "webkitBoxSizing" | "webkitFilter" | "webkitFlex" | "webkitFlexBasis" | "webkitFlexDirection" | "webkitFlexFlow" | "webkitFlexGrow" | "webkitFlexShrink" | "webkitFlexWrap" | "webkitJustifyContent" | "webkitLineClamp" | "webkitMask" | "webkitMaskBoxImage" | "webkitMaskBoxImageOutset" | "webkitMaskBoxImageRepeat" | "webkitMaskBoxImageSlice" | "webkitMaskBoxImageSource" | "webkitMaskBoxImageWidth" | "webkitMaskClip" | "webkitMaskComposite" | "webkitMaskImage" | "webkitMaskOrigin" | "webkitMaskPosition" | "webkitMaskRepeat" | "webkitMaskSize" | "webkitOrder" | "webkitPerspective" | "webkitPerspectiveOrigin" | "webkitTextFillColor" | "webkitTextStroke" | "webkitTextStrokeColor" | "webkitTextStrokeWidth" | "webkitTransform" | "webkitTransformOrigin" | "webkitTransformStyle" | "webkitTransition" | "webkitTransitionDelay" | "webkitTransitionDuration" | "webkitTransitionProperty" | "webkitTransitionTimingFunction" | "webkitUserSelect" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordWrap" | "zIndex" | "getPropertyPriority" | "getPropertyValue" | "item" | "removeProperty" | "setProperty">(prop: P, value: CSSStyleDeclaration[P]) => boolean;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.isCssPropertySupported = void 0;
|
7
|
+
var isCssPropertySupported = exports.isCssPropertySupported = function isCssPropertySupported(prop, value) {
|
8
|
+
if (typeof document === "undefined") {
|
9
|
+
return false;
|
10
|
+
}
|
11
|
+
var div = document.createElement("div");
|
12
|
+
div.style[prop] = value;
|
13
|
+
return div.style[prop] === value;
|
14
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if `value` is `null` or `undefined`.
|
3
|
+
* (code stolen from lodash)
|
4
|
+
*
|
5
|
+
* @param {*} value The value to check.
|
6
|
+
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
7
|
+
* @example
|
8
|
+
*
|
9
|
+
* isNil(null);
|
10
|
+
* // => true
|
11
|
+
*
|
12
|
+
* isNil(void 0);
|
13
|
+
* // => true
|
14
|
+
*
|
15
|
+
* isNil(NaN);
|
16
|
+
* // => false
|
17
|
+
*/
|
18
|
+
export declare const isNil: (value: any) => value is null | undefined;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.isNil = void 0;
|
7
|
+
/**
|
8
|
+
* Checks if `value` is `null` or `undefined`.
|
9
|
+
* (code stolen from lodash)
|
10
|
+
*
|
11
|
+
* @param {*} value The value to check.
|
12
|
+
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
13
|
+
* @example
|
14
|
+
*
|
15
|
+
* isNil(null);
|
16
|
+
* // => true
|
17
|
+
*
|
18
|
+
* isNil(void 0);
|
19
|
+
* // => true
|
20
|
+
*
|
21
|
+
* isNil(NaN);
|
22
|
+
* // => false
|
23
|
+
*/
|
24
|
+
var isNil = exports.isNil = function isNil(value) {
|
25
|
+
return value == null;
|
26
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.isReactText = void 0;
|
7
|
+
var isReactText = exports.isReactText = function isReactText(children) {
|
8
|
+
return typeof children === "string" || typeof children === "number";
|
9
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
/**
|
3
|
+
* Returns whether a React child would be rendered or not.
|
4
|
+
* See https://reactjs.org/docs/jsx-in-depth.html#booleans-null-and-undefined-are-ignored
|
5
|
+
* @param child
|
6
|
+
*/
|
7
|
+
export declare const isRenderedChild: (child: ReactNode) => boolean;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.isRenderedChild = void 0;
|
7
|
+
/**
|
8
|
+
* Returns whether a React child would be rendered or not.
|
9
|
+
* See https://reactjs.org/docs/jsx-in-depth.html#booleans-null-and-undefined-are-ignored
|
10
|
+
* @param child
|
11
|
+
*/
|
12
|
+
var isRenderedChild = exports.isRenderedChild = function isRenderedChild(child) {
|
13
|
+
return child !== null && typeof child !== "boolean" && typeof child !== "undefined";
|
14
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.matchLocation = void 0;
|
7
|
+
var _parseUrl = require("./parseUrl");
|
8
|
+
var matchLocation = exports.matchLocation = function matchLocation(href, location) {
|
9
|
+
return (location.pathname || "").startsWith((0, _parseUrl.parseURL)(href).pathname);
|
10
|
+
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.onlyText = void 0;
|
7
|
+
var _react = require("react");
|
8
|
+
var hasChildren = function hasChildren(element) {
|
9
|
+
return /*#__PURE__*/(0, _react.isValidElement)(element) && Boolean(element.props.children);
|
10
|
+
};
|
11
|
+
var childToString = function childToString(child) {
|
12
|
+
if (typeof child === "undefined" || child === null || typeof child === "boolean") {
|
13
|
+
return "";
|
14
|
+
}
|
15
|
+
if (JSON.stringify(child) === "{}") {
|
16
|
+
return "";
|
17
|
+
}
|
18
|
+
return child.toString();
|
19
|
+
};
|
20
|
+
|
21
|
+
// Code stolen from `react-children-utils`
|
22
|
+
// @see https://github.com/fernandopasik/react-children-utilities/blob/main/src/lib/onlyText.ts
|
23
|
+
var onlyText = exports.onlyText = function onlyText(children) {
|
24
|
+
if (!(children instanceof Array) && ! /*#__PURE__*/(0, _react.isValidElement)(children)) {
|
25
|
+
return childToString(children);
|
26
|
+
}
|
27
|
+
return _react.Children.toArray(children).reduce(function (text, child) {
|
28
|
+
var newText = "";
|
29
|
+
if ( /*#__PURE__*/(0, _react.isValidElement)(child) && hasChildren(child)) {
|
30
|
+
newText = onlyText(child.props.children);
|
31
|
+
} else if ( /*#__PURE__*/(0, _react.isValidElement)(child) && !hasChildren(child)) {
|
32
|
+
newText = "";
|
33
|
+
} else {
|
34
|
+
newText = childToString(child);
|
35
|
+
}
|
36
|
+
return text.concat(newText);
|
37
|
+
}, "");
|
38
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.parseURL = void 0;
|
7
|
+
var parseURL = exports.parseURL = function parseURL(url) {
|
8
|
+
var parser = document.createElement("a");
|
9
|
+
// Let the browser do the work
|
10
|
+
parser.href = url;
|
11
|
+
return {
|
12
|
+
protocol: parser.protocol,
|
13
|
+
host: parser.host,
|
14
|
+
hostname: parser.hostname,
|
15
|
+
port: parser.port,
|
16
|
+
pathname: parser.pathname,
|
17
|
+
search: parser.search,
|
18
|
+
hash: parser.hash
|
19
|
+
};
|
20
|
+
};
|
@@ -4,21 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.pluralize = pluralize;
|
7
|
-
exports["default"] = void 0;
|
8
7
|
var DEFAULT_OPTIONS = {
|
9
8
|
numberFormatter: function numberFormatter(number) {
|
10
9
|
return String(number);
|
11
10
|
}
|
12
11
|
};
|
13
|
-
|
14
12
|
function pluralize(count, word, options) {
|
15
13
|
var _Object$assign = Object.assign({}, DEFAULT_OPTIONS, options),
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
plural = _Object$assign.plural,
|
15
|
+
numberFormatter = _Object$assign.numberFormatter;
|
19
16
|
var formattedNumber = numberFormatter(count);
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
if (count === 1) {
|
18
|
+
return "".concat(formattedNumber, " ").concat(word);
|
19
|
+
}
|
20
|
+
return "".concat(formattedNumber, " ").concat(plural || "".concat(word, "s"));
|
21
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.prefersReducedMotion = void 0;
|
7
|
+
var _window$matchMedia, _window;
|
8
|
+
/**
|
9
|
+
* Checks if the user has `prefers-reduced-motion` enabled
|
10
|
+
*
|
11
|
+
* @returns {boolean}
|
12
|
+
*/
|
13
|
+
var prefersReducedMotion = exports.prefersReducedMotion = typeof window !== "undefined" && ((_window$matchMedia = (_window = window).matchMedia) === null || _window$matchMedia === void 0 ? void 0 : _window$matchMedia.call(_window, "(prefers-reduced-motion: reduce)").matches) === true;
|
@@ -4,14 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.range = range;
|
7
|
-
exports["default"] = void 0;
|
8
|
-
|
9
7
|
function range(start, end) {
|
10
8
|
if (start >= end) throw "Start should be greater than end";
|
11
9
|
return Array(Math.abs(end - start)).fill(undefined).map(function (_, idx) {
|
12
10
|
return start + idx;
|
13
11
|
});
|
14
|
-
}
|
15
|
-
|
16
|
-
var _default = range;
|
17
|
-
exports["default"] = _default;
|
12
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function sortObjectAlphabetically(obj: Record<string, any>): Record<string, any>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.sortObjectAlphabetically = sortObjectAlphabetically;
|
8
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
9
|
+
function sortObjectAlphabetically(obj) {
|
10
|
+
var sortedEntries = Object.entries(obj).sort(function (_ref, _ref2) {
|
11
|
+
var _ref3 = (0, _slicedToArray2["default"])(_ref, 1),
|
12
|
+
keyA = _ref3[0];
|
13
|
+
var _ref4 = (0, _slicedToArray2["default"])(_ref2, 1),
|
14
|
+
keyB = _ref4[0];
|
15
|
+
return keyA.localeCompare(keyB);
|
16
|
+
});
|
17
|
+
return Object.fromEntries(sortedEntries);
|
18
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.toSentenceCase = void 0;
|
8
|
+
var _capitalize = _interopRequireDefault(require("lodash/capitalize"));
|
9
|
+
/** Converts PascalCase and camelCase to Sentence case */
|
10
|
+
var toSentenceCase = exports.toSentenceCase = function toSentenceCase(str) {
|
11
|
+
var firstChar = str.charAt(0);
|
12
|
+
var remainingChars = str.slice(1).replace(/\s/g, "").replace(/([A-Z]+)/g, "$1").replace(/([A-Z][a-z])/g, " $1").trim();
|
13
|
+
return (0, _capitalize["default"])("".concat(firstChar).concat(remainingChars));
|
14
|
+
};
|
@@ -4,22 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.uniqBy = uniqBy;
|
7
|
-
exports["default"] = void 0;
|
8
|
-
|
9
7
|
function uniqBy(arr, identity) {
|
10
8
|
if (!arr) return arr;
|
11
9
|
var memo = [];
|
12
10
|
return arr.filter(function (item) {
|
13
11
|
var id = identity(item);
|
14
|
-
|
15
12
|
if (memo.includes(id)) {
|
16
13
|
return false;
|
17
14
|
}
|
18
|
-
|
19
15
|
memo.push(id);
|
20
16
|
return true;
|
21
17
|
});
|
22
|
-
}
|
23
|
-
|
24
|
-
var _default = uniqBy;
|
25
|
-
exports["default"] = _default;
|
18
|
+
}
|
@@ -4,14 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.uniqueId = uniqueId;
|
7
|
-
exports["default"] = void 0;
|
8
7
|
var counters = {};
|
9
|
-
|
10
8
|
function uniqueId() {
|
11
9
|
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "id";
|
12
10
|
counters[prefix] = counters[prefix] === undefined ? 0 : counters[prefix] + 1;
|
13
11
|
return prefix + counters[prefix];
|
14
|
-
}
|
15
|
-
|
16
|
-
var _default = uniqueId;
|
17
|
-
exports["default"] = _default;
|
12
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.useForwardedRef = useForwardedRef;
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
9
|
+
var _react = require("react");
|
10
|
+
function useForwardedRef(externalRef) {
|
11
|
+
var ref = (0, _react.useRef)(externalRef && (0, _typeof2["default"])(externalRef) === "object" ? externalRef.current : null);
|
12
|
+
var refCallback = (0, _react.useCallback)(function (value) {
|
13
|
+
ref.current = value;
|
14
|
+
if (!externalRef) {
|
15
|
+
return;
|
16
|
+
} else if (typeof externalRef === "function") {
|
17
|
+
externalRef(value);
|
18
|
+
} else {
|
19
|
+
externalRef.current = value;
|
20
|
+
}
|
21
|
+
}, [externalRef]);
|
22
|
+
return [refCallback, ref];
|
23
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { AnchorHTMLAttributes } from "react";
|
2
|
+
export declare type UseLinkPropsArgs = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target" | "rel" | "role" | "tabIndex"> & {
|
3
|
+
disabled?: boolean;
|
4
|
+
};
|
5
|
+
export declare type UseLinkProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target" | "rel" | "role" | "tabIndex" | "aria-disabled">;
|
6
|
+
export declare const useLinkProps: (props: UseLinkPropsArgs) => UseLinkProps;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.useLinkProps = void 0;
|
7
|
+
var _react = require("react");
|
8
|
+
var _SatelliteContext = require("../Satellite/SatelliteContext");
|
9
|
+
var _parseUrl = require("./parseUrl");
|
10
|
+
var useLinkProps = exports.useLinkProps = function useLinkProps(props) {
|
11
|
+
var _props$target, _props$rel;
|
12
|
+
var _useSatelliteContext = (0, _SatelliteContext.useSatelliteContext)(),
|
13
|
+
router = _useSatelliteContext.router;
|
14
|
+
var onClick = function onClick(evt) {
|
15
|
+
if (props.onClick) {
|
16
|
+
props.onClick(evt);
|
17
|
+
}
|
18
|
+
if (!props.href) {
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
var isLeftClick = evt.button === 0;
|
22
|
+
var isModifierKeyPressed = Boolean(evt.metaKey || evt.altKey || evt.ctrlKey || evt.shiftKey);
|
23
|
+
var hasTarget = Boolean(evt.currentTarget.target);
|
24
|
+
if (isLeftClick && !isModifierKeyPressed && !hasTarget && !evt.defaultPrevented && evt.currentTarget.href) {
|
25
|
+
evt.preventDefault();
|
26
|
+
router.push({
|
27
|
+
url: evt.currentTarget.href
|
28
|
+
});
|
29
|
+
}
|
30
|
+
};
|
31
|
+
var href = router.transformHref(props.href || "");
|
32
|
+
var parsedLocation = (0, _react.useMemo)(function () {
|
33
|
+
return (0, _parseUrl.parseURL)(href);
|
34
|
+
}, [href]);
|
35
|
+
var isExternal = router.isExternalLocation(parsedLocation);
|
36
|
+
var target = (_props$target = props.target) !== null && _props$target !== void 0 ? _props$target : router.shouldOpenInNewTab(parsedLocation) ? "_blank" : undefined;
|
37
|
+
var rel = (_props$rel = props.rel) !== null && _props$rel !== void 0 ? _props$rel : isExternal ? "noopener noreferrer" : undefined;
|
38
|
+
return props.disabled ? {
|
39
|
+
role: "link",
|
40
|
+
target: target,
|
41
|
+
tabIndex: -1,
|
42
|
+
"aria-disabled": true
|
43
|
+
} : {
|
44
|
+
target: target,
|
45
|
+
href: href,
|
46
|
+
rel: rel,
|
47
|
+
onClick: onClick,
|
48
|
+
role: props.role,
|
49
|
+
tabIndex: props.tabIndex
|
50
|
+
};
|
51
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { MutableRefObject } from "react";
|
2
|
+
declare type InputValue = JSX.IntrinsicElements["input"]["value"];
|
3
|
+
/**
|
4
|
+
* Trigger a native input change event.
|
5
|
+
* See https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
|
6
|
+
*/
|
7
|
+
export declare const useTriggerInputChange: (inputRef: MutableRefObject<HTMLInputElement | null>) => (value: InputValue) => void;
|
8
|
+
export {};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.useTriggerInputChange = void 0;
|
7
|
+
var _react = require("react");
|
8
|
+
/**
|
9
|
+
* Trigger a native input change event.
|
10
|
+
* See https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
|
11
|
+
*/
|
12
|
+
var useTriggerInputChange = exports.useTriggerInputChange = function useTriggerInputChange(inputRef) {
|
13
|
+
var triggerInputChange = (0, _react.useCallback)(function (value) {
|
14
|
+
var input = inputRef.current;
|
15
|
+
if (!input) return;
|
16
|
+
|
17
|
+
// @ts-ignore
|
18
|
+
var nativeInputValueSetter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value").set;
|
19
|
+
var ev2 = new Event("input", {
|
20
|
+
bubbles: true
|
21
|
+
});
|
22
|
+
nativeInputValueSetter.call(input, value);
|
23
|
+
input.dispatchEvent(ev2);
|
24
|
+
}, [inputRef]);
|
25
|
+
return triggerInputChange;
|
26
|
+
};
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
2
|
+
export declare type AnnouncementBadgeSizes = "default" | "small";
|
3
|
+
export declare type AnnouncementBadgeTexts = "new" | "beta" | "internal" | "pilot";
|
4
|
+
export declare type AnnouncementBadgeLocale = {
|
5
|
+
[key in AnnouncementBadgeTexts]?: string;
|
6
|
+
};
|
7
|
+
export interface AnnouncementBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
8
|
+
/** @default default */
|
9
|
+
size?: AnnouncementBadgeSizes;
|
10
|
+
/**
|
11
|
+
* Define which text to display in the `AnnouncementBadge`
|
12
|
+
* @default new
|
13
|
+
*/
|
14
|
+
text?: AnnouncementBadgeTexts;
|
15
|
+
/** @default accent */
|
16
|
+
variant?: "accent" | "red";
|
17
|
+
locale?: AnnouncementBadgeLocale;
|
18
|
+
children?: never;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* The `AnnouncementBadge` component is used to display a small badge with a text on it.
|
22
|
+
*
|
23
|
+
* See the [Announcement Badge documentation page](https://satellite.algolia.com/components/feedback/announcement-badge) for more information.
|
24
|
+
*/
|
25
|
+
export declare const AnnouncementBadge: import("react").ForwardRefExoticComponent<AnnouncementBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
4
|
+
var _excluded = ["size", "text", "variant", "className", "locale"];
|
5
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
|
+
import cx from "clsx";
|
9
|
+
import { forwardRef } from "react";
|
10
|
+
import { useLocale } from "../Satellite";
|
11
|
+
import stl from "../styles/helpers/satellitePrefixer";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
var DEFAULT_LOCALE = {
|
14
|
+
beta: "beta",
|
15
|
+
internal: "internal",
|
16
|
+
"new": "new",
|
17
|
+
pilot: "pilot"
|
18
|
+
};
|
19
|
+
var DEFAULT_CLASSNAME = stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["capitalize inline-block rounded-full text-white select-none"])));
|
20
|
+
var SIZE_CLASSNAMES = {
|
21
|
+
"default": stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["display-body h-6 leading-md px-2"]))),
|
22
|
+
small: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["display-caption px-1"])))
|
23
|
+
};
|
24
|
+
|
25
|
+
/**
|
26
|
+
* The `AnnouncementBadge` component is used to display a small badge with a text on it.
|
27
|
+
*
|
28
|
+
* See the [Announcement Badge documentation page](https://satellite.algolia.com/components/feedback/announcement-badge) for more information.
|
29
|
+
*/
|
30
|
+
export var AnnouncementBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
31
|
+
var _ref$size = _ref.size,
|
32
|
+
size = _ref$size === void 0 ? "default" : _ref$size,
|
33
|
+
_ref$text = _ref.text,
|
34
|
+
text = _ref$text === void 0 ? "new" : _ref$text,
|
35
|
+
variantProp = _ref.variant,
|
36
|
+
className = _ref.className,
|
37
|
+
propsLocale = _ref.locale,
|
38
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
39
|
+
var contextLocale = useLocale("announcementBadge");
|
40
|
+
var locale = _objectSpread(_objectSpread(_objectSpread({}, DEFAULT_LOCALE), contextLocale), propsLocale);
|
41
|
+
var variant = typeof variantProp === "string" ? variantProp : text === "internal" ? "red" : "accent";
|
42
|
+
return /*#__PURE__*/_jsx("span", _objectSpread(_objectSpread({
|
43
|
+
ref: ref
|
44
|
+
}, props), {}, {
|
45
|
+
className: cx(DEFAULT_CLASSNAME, variant === "red" ? stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["bg-red-600"]))) : stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["bg-accent-600"]))), SIZE_CLASSNAMES[size], className),
|
46
|
+
children: locale[text]
|
47
|
+
}));
|
48
|
+
});
|
49
|
+
AnnouncementBadge.displayName = "AnnouncementBadge";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./AnnouncementBadge";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./AnnouncementBadge";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { AutoCompleteProps, Option } from "./types";
|
3
|
+
/**
|
4
|
+
* The `Autocomplete` component enables users to search and select from a list using real-time input matching.
|
5
|
+
*
|
6
|
+
* See the [Autocomplete documentation page](https://satellite.algolia.com/components/forms/autocomplete) for more information.
|
7
|
+
*/
|
8
|
+
export declare const AutoComplete: <O extends Option = Option>({ locale: localeProp, id, labelId, "aria-label": ariaLabel, name, placeholder, autoFocus, inputValue: inputValueProp, onTextChange, onFocus, onBlur, disabled, clearable, renderValueTemplate, noWrap, separatorKeys, multiple, value, selectOnBlur, onChange, options, optionItemComponent, creatable, createFromInputValue, emptyState, maxResults: maxItems, menuFooter, menuSize, variant, icon: Icon, endItem, className, menuClassName, valuesClassName, internalsRef, }: AutoCompleteProps<O>) => JSX.Element;
|