@algolia/satellite 1.0.0-beta.17 → 1.0.0-beta.170
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 +154 -8
- package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
- package/cjs/AnnouncementBadge/AnnouncementBadge.js +51 -0
- package/cjs/AnnouncementBadge/index.d.ts +2 -0
- package/cjs/AnnouncementBadge/index.js +27 -0
- package/cjs/AutoComplete/AutoComplete.d.ts +20 -0
- package/cjs/AutoComplete/AutoComplete.js +455 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/cjs/AutoComplete/AutoComplete.tailwind.js +96 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +35 -0
- package/cjs/AutoComplete/components/AutocompleteContext.d.ts +5 -0
- package/cjs/AutoComplete/components/AutocompleteContext.js +19 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
- package/cjs/AutoComplete/components/DefaultOptionItem.js +36 -0
- package/cjs/AutoComplete/index.d.ts +7 -0
- package/cjs/AutoComplete/index.js +84 -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 +82 -0
- package/cjs/Avatars/ApplicationAvatar.d.ts +13 -0
- package/cjs/Avatars/ApplicationAvatar.js +34 -0
- package/cjs/Avatars/UserAvatar.d.ts +20 -0
- package/cjs/Avatars/UserAvatar.js +55 -0
- package/cjs/Avatars/index.d.ts +3 -0
- package/cjs/Avatars/index.js +39 -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 +33 -0
- package/cjs/Badge/Badge.js +79 -0
- package/cjs/Badge/index.d.ts +2 -0
- package/cjs/Badge/index.js +27 -0
- package/cjs/Banners/Alert/Alert.d.ts +78 -0
- package/cjs/Banners/Alert/Alert.js +139 -0
- package/cjs/Banners/Alert/index.js +27 -0
- package/cjs/Banners/BigBertha/BigBertha.d.ts +41 -0
- package/cjs/Banners/BigBertha/BigBertha.js +61 -0
- package/cjs/Banners/BigBertha/index.d.ts +2 -0
- package/cjs/Banners/BigBertha/index.js +27 -0
- package/cjs/Banners/Promote/Promote.d.ts +51 -0
- package/cjs/Banners/Promote/Promote.js +103 -0
- package/cjs/Banners/Promote/index.d.ts +2 -0
- package/cjs/Banners/Promote/index.js +27 -0
- package/cjs/Banners/index.d.ts +3 -0
- package/cjs/Banners/index.js +38 -0
- package/cjs/Button/Button.d.ts +19 -0
- package/cjs/Button/Button.js +35 -0
- package/cjs/Button/Button.tailwind.d.ts +5 -0
- package/cjs/Button/Button.tailwind.js +153 -0
- package/cjs/Button/ButtonGroup.d.ts +18 -0
- package/cjs/Button/ButtonGroup.js +28 -0
- package/cjs/Button/IconButton.d.ts +10 -0
- package/cjs/Button/IconButton.js +26 -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 +5 -0
- package/cjs/Button/index.js +51 -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 +32 -0
- package/cjs/Card/Card.js +44 -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 +6 -0
- package/cjs/Card/components/CardHeader.js +27 -0
- package/cjs/Card/components/CardTitle.d.ts +6 -0
- package/cjs/Card/components/CardTitle.js +27 -0
- package/cjs/Card/index.d.ts +4 -0
- package/cjs/Card/index.js +51 -0
- package/cjs/Checkbox/Checkbox.d.ts +24 -0
- package/cjs/Checkbox/Checkbox.js +98 -0
- package/cjs/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/cjs/Checkbox/Checkbox.tailwind.js +70 -0
- package/cjs/Checkbox/index.js +27 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +83 -0
- package/cjs/ClickAwayContainer/index.d.ts +1 -0
- package/cjs/ClickAwayContainer/index.js +16 -0
- package/cjs/DatePicker/DatePicker/DatePicker.d.ts +34 -0
- package/cjs/DatePicker/DatePicker/DatePicker.js +164 -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 +3 -0
- package/cjs/DatePicker/DatePicker/index.js +39 -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 +35 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +256 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +38 -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 +4 -0
- package/cjs/DatePicker/DateRangePicker/index.js +51 -0
- package/cjs/DatePicker/components/Calendar.d.ts +17 -0
- package/cjs/DatePicker/components/Calendar.js +55 -0
- package/cjs/DatePicker/components/Display.d.ts +10 -0
- package/cjs/DatePicker/components/Display.js +24 -0
- package/cjs/DatePicker/components/Footer.d.ts +6 -0
- package/cjs/DatePicker/components/Footer.js +19 -0
- package/cjs/DatePicker/components/FooterActions.d.ts +12 -0
- package/cjs/DatePicker/components/FooterActions.js +32 -0
- package/cjs/DatePicker/components/Modal.d.ts +16 -0
- package/cjs/DatePicker/components/Modal.js +67 -0
- package/cjs/DatePicker/components/NavBar.d.ts +10 -0
- package/cjs/DatePicker/components/NavBar.js +123 -0
- package/cjs/DatePicker/components/SidePanel.d.ts +6 -0
- package/cjs/DatePicker/components/SidePanel.js +22 -0
- package/cjs/DatePicker/components/index.d.ts +12 -0
- package/cjs/DatePicker/components/index.js +48 -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 +49 -0
- package/cjs/Dropdown/Dropdown.js +133 -0
- package/cjs/Dropdown/DropdownButton.d.ts +11 -0
- package/cjs/Dropdown/DropdownButton.js +47 -0
- package/cjs/Dropdown/DropdownContext.d.ts +7 -0
- package/cjs/Dropdown/DropdownContext.js +16 -0
- package/cjs/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/cjs/Dropdown/components/DropdownButtonItem.js +44 -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 +7 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +20 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +15 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +36 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +33 -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 +8 -0
- package/cjs/Dropdown/components/DropdownFooterItem.js +29 -0
- package/cjs/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/cjs/Dropdown/components/DropdownLinkItem.js +52 -0
- package/cjs/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/cjs/Dropdown/components/DropdownRadioItem.js +43 -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 +46 -0
- package/cjs/Dropdown/index.d.ts +13 -0
- package/cjs/Dropdown/index.js +159 -0
- package/cjs/Dropdown/useDropdownItemProps.d.ts +21 -0
- package/cjs/Dropdown/useDropdownItemProps.js +38 -0
- package/cjs/Dropzone/Dropzone.d.ts +21 -0
- package/cjs/Dropzone/Dropzone.js +158 -0
- package/cjs/Dropzone/index.d.ts +2 -0
- package/cjs/Dropzone/index.js +27 -0
- package/cjs/EmptyState/EmptyState.d.ts +28 -0
- package/cjs/EmptyState/EmptyState.js +123 -0
- package/cjs/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/cjs/EmptyState/EmptyState.tailwind.js +15 -0
- package/cjs/EmptyState/index.d.ts +3 -0
- package/cjs/EmptyState/index.js +39 -0
- package/cjs/EmptyState/types.d.ts +50 -0
- package/cjs/EmptyState/types.js +5 -0
- package/cjs/Field/Field.d.ts +54 -0
- package/cjs/Field/Field.js +104 -0
- package/cjs/Field/FieldContext.d.ts +16 -0
- package/cjs/Field/FieldContext.js +14 -0
- package/cjs/Field/index.d.ts +5 -0
- package/cjs/Field/index.js +48 -0
- package/cjs/Field/useField.d.ts +2 -0
- package/cjs/Field/useField.js +11 -0
- package/cjs/Flag/Flag.d.ts +6 -0
- package/cjs/Flag/Flag.js +116 -0
- package/cjs/Flag/Flag.tailwind.d.ts +5 -0
- package/cjs/Flag/Flag.tailwind.js +34 -0
- package/cjs/Flag/Flags.d.ts +48 -0
- package/cjs/Flag/Flags.js +90 -0
- package/cjs/Flag/index.d.ts +4 -0
- package/cjs/Flag/index.js +51 -0
- package/cjs/Flag/types.d.ts +27 -0
- package/cjs/Flag/types.js +5 -0
- package/cjs/FlexGrid/FlexGrid.d.ts +40 -0
- package/cjs/FlexGrid/FlexGrid.js +68 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/cjs/FlexGrid/FlexGrid.tailwind.js +71 -0
- package/cjs/FlexGrid/index.d.ts +2 -0
- package/cjs/FlexGrid/index.js +27 -0
- package/cjs/HelpUnderline/HelpUnderline.d.ts +11 -0
- package/cjs/HelpUnderline/HelpUnderline.js +35 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/cjs/HelpUnderline/HelpUnderline.tailwind.js +21 -0
- package/cjs/HelpUnderline/index.js +27 -0
- package/cjs/Input/Input.d.ts +30 -0
- package/cjs/Input/Input.js +215 -0
- package/cjs/Input/Input.tailwind.d.ts +5 -0
- package/cjs/Input/Input.tailwind.js +123 -0
- package/cjs/Input/index.js +27 -0
- package/cjs/Insert/Insert.d.ts +45 -0
- package/cjs/Insert/Insert.js +77 -0
- package/cjs/Insert/index.d.ts +2 -0
- package/cjs/Insert/index.js +27 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/cjs/InstantSearch/InstantSearch.tailwind.js +376 -0
- package/cjs/KeyboardKey/KeyboardKey.d.ts +7 -0
- package/cjs/KeyboardKey/KeyboardKey.js +36 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/cjs/KeyboardKey/KeyboardKey.tailwind.js +29 -0
- package/cjs/KeyboardKey/index.d.ts +2 -0
- package/{components/Input → cjs/KeyboardKey}/index.js +5 -8
- package/cjs/Link/BaseLink.d.ts +8 -0
- package/cjs/Link/BaseLink.js +29 -0
- package/cjs/Link/ButtonLink.d.ts +9 -0
- package/cjs/Link/ButtonLink.js +37 -0
- package/cjs/Link/IconButtonLink.d.ts +9 -0
- package/cjs/Link/IconButtonLink.js +31 -0
- package/cjs/Link/Link.d.ts +13 -0
- package/cjs/Link/Link.js +52 -0
- package/cjs/Link/index.d.ts +5 -0
- package/cjs/Link/index.js +63 -0
- package/cjs/Medallion/Medallion.d.ts +12 -0
- package/cjs/Medallion/Medallion.js +39 -0
- package/cjs/Medallion/Medallion.tailwind.d.ts +5 -0
- package/cjs/Medallion/Medallion.tailwind.js +31 -0
- package/cjs/Medallion/index.d.ts +3 -0
- package/cjs/Medallion/index.js +39 -0
- package/cjs/Medallion/types.d.ts +2 -0
- package/cjs/Medallion/types.js +5 -0
- package/cjs/Modal/Modal.d.ts +56 -0
- package/cjs/Modal/Modal.js +149 -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 +6 -0
- package/cjs/Modal/components/ModalFooter.js +32 -0
- package/cjs/Modal/components/ModalSection.d.ts +10 -0
- package/cjs/Modal/components/ModalSection.js +23 -0
- package/cjs/Modal/index.d.ts +4 -0
- package/cjs/Modal/index.js +51 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.js +82 -0
- package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
- package/cjs/Pagination/CompactPagination/index.js +27 -0
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +15 -0
- package/cjs/Pagination/DotPagination/DotPagination.js +46 -0
- package/cjs/Pagination/DotPagination/index.d.ts +2 -0
- package/cjs/Pagination/DotPagination/index.js +27 -0
- package/cjs/Pagination/Pagination/Pagination.d.ts +22 -0
- package/cjs/Pagination/Pagination/Pagination.js +122 -0
- package/cjs/Pagination/Pagination/index.js +27 -0
- package/cjs/Pagination/index.d.ts +4 -0
- package/cjs/Pagination/index.js +51 -0
- package/cjs/Popover/Popover.d.ts +5 -0
- package/cjs/Popover/Popover.js +137 -0
- package/cjs/Popover/index.d.ts +3 -0
- package/cjs/Popover/index.js +36 -0
- package/cjs/Popover/types.d.ts +74 -0
- package/cjs/Popover/types.js +5 -0
- package/cjs/ProgressBar/ProgressBar.d.ts +16 -0
- package/cjs/ProgressBar/ProgressBar.js +57 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/cjs/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/cjs/ProgressBar/index.d.ts +2 -0
- package/cjs/ProgressBar/index.js +27 -0
- package/cjs/ProgressSpinner/ProgressSpinner.d.ts +9 -0
- package/cjs/ProgressSpinner/ProgressSpinner.js +52 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/cjs/ProgressSpinner/ProgressSpinner.tailwind.js +44 -0
- package/cjs/ProgressSpinner/index.d.ts +2 -0
- package/cjs/ProgressSpinner/index.js +27 -0
- package/cjs/RadioGroup/RadioButton.d.ts +4 -0
- package/cjs/RadioGroup/RadioButton.js +29 -0
- package/cjs/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/cjs/RadioGroup/RadioButton.tailwind.js +61 -0
- package/cjs/RadioGroup/RadioGroup.d.ts +41 -0
- package/cjs/RadioGroup/RadioGroup.js +103 -0
- package/cjs/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/cjs/RadioGroup/RadiogroupContext.js +15 -0
- package/cjs/RadioGroup/index.d.ts +4 -0
- package/cjs/RadioGroup/index.js +51 -0
- package/cjs/RangeSlider/RangeSlider.d.ts +38 -0
- package/cjs/RangeSlider/RangeSlider.js +105 -0
- package/cjs/RangeSlider/index.d.ts +2 -0
- package/cjs/RangeSlider/index.js +27 -0
- package/cjs/Satellite/Satellite.d.ts +11 -0
- package/cjs/Satellite/Satellite.js +61 -0
- package/cjs/Satellite/SatelliteContext.d.ts +11 -0
- package/cjs/Satellite/SatelliteContext.js +23 -0
- package/cjs/Satellite/SatelliteRouter.d.ts +21 -0
- package/cjs/Satellite/SatelliteRouter.js +47 -0
- package/cjs/Satellite/index.d.ts +6 -0
- package/cjs/Satellite/index.js +75 -0
- package/cjs/Satellite/locale.d.ts +33 -0
- package/cjs/Satellite/locale.js +14 -0
- package/cjs/Satellite/useCreatePortal.d.ts +4 -0
- package/cjs/Satellite/useCreatePortal.js +23 -0
- package/cjs/ScrollIndicator/ScrollIndicator.d.ts +14 -0
- package/cjs/ScrollIndicator/ScrollIndicator.js +86 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/cjs/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/cjs/ScrollIndicator/index.d.ts +2 -0
- package/cjs/ScrollIndicator/index.js +27 -0
- package/cjs/Select/Select.d.ts +15 -0
- package/cjs/Select/Select.js +44 -0
- package/cjs/Select/Select.tailwind.d.ts +5 -0
- package/cjs/Select/Select.tailwind.js +76 -0
- package/cjs/Select/index.js +27 -0
- package/cjs/Separator/Separator.d.ts +9 -0
- package/cjs/Separator/Separator.js +39 -0
- package/cjs/Separator/Separator.tailwind.d.ts +5 -0
- package/cjs/Separator/Separator.tailwind.js +54 -0
- package/cjs/Separator/index.d.ts +2 -0
- package/cjs/Separator/index.js +27 -0
- package/cjs/Sidebar/Sidebar.d.ts +36 -0
- package/cjs/Sidebar/Sidebar.js +61 -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/Switch/Switch.d.ts +14 -0
- package/cjs/Switch/Switch.js +86 -0
- package/cjs/Switch/Switch.tailwind.d.ts +5 -0
- package/cjs/Switch/Switch.tailwind.js +25 -0
- package/cjs/Switch/SwitchOption.d.ts +8 -0
- package/cjs/Switch/SwitchOption.js +45 -0
- package/cjs/Switch/index.d.ts +3 -0
- package/cjs/Switch/index.js +39 -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 +69 -0
- package/cjs/Tables/DataTable/DataTable.js +264 -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 +15 -0
- package/cjs/Tables/DataTable/components/Body.js +119 -0
- package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
- package/cjs/Tables/DataTable/components/Footer.js +63 -0
- package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
- package/cjs/Tables/DataTable/components/Header.js +39 -0
- package/cjs/Tables/DataTable/components/HeaderCell.d.ts +12 -0
- package/cjs/Tables/DataTable/components/HeaderCell.js +58 -0
- package/cjs/Tables/DataTable/components/Loader.d.ts +9 -0
- package/cjs/Tables/DataTable/components/Loader.js +47 -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 +3 -0
- package/cjs/Tables/DataTable/index.js +39 -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 +28 -0
- package/cjs/Tables/Table/Table.js +60 -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 +8 -0
- package/cjs/Tables/Table/components/TableFooter.js +26 -0
- package/cjs/Tables/Table/index.d.ts +3 -0
- package/cjs/Tables/Table/index.js +39 -0
- package/cjs/Tables/index.d.ts +3 -0
- package/cjs/Tables/index.js +39 -0
- package/cjs/Tabs/ContentTabs.d.ts +4 -0
- package/cjs/Tabs/ContentTabs.js +60 -0
- package/cjs/Tabs/LinkTabs.d.ts +33 -0
- package/cjs/Tabs/LinkTabs.js +75 -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 +9 -0
- package/cjs/Tabs/components/LinkTab.js +84 -0
- package/cjs/Tabs/index.d.ts +4 -0
- package/cjs/Tabs/index.js +51 -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 +48 -0
- package/cjs/Tag/Tag.js +139 -0
- package/cjs/Tag/Tag.tailwind.d.ts +5 -0
- package/cjs/Tag/Tag.tailwind.js +54 -0
- package/cjs/Tag/index.d.ts +2 -0
- package/cjs/Tag/index.js +27 -0
- package/cjs/TextArea/TextArea.d.ts +5 -0
- package/cjs/TextArea/TextArea.js +28 -0
- package/cjs/TextArea/TextArea.tailwind.d.ts +5 -0
- package/cjs/TextArea/TextArea.tailwind.js +42 -0
- package/cjs/TextArea/index.js +27 -0
- package/cjs/TextWrap/TextWrap.d.ts +8 -0
- package/cjs/TextWrap/TextWrap.js +53 -0
- package/cjs/TextWrap/index.d.ts +2 -0
- package/cjs/TextWrap/index.js +27 -0
- package/cjs/Toggle/Toggle.d.ts +14 -0
- package/cjs/Toggle/Toggle.js +75 -0
- package/cjs/Toggle/Toggle.tailwind.d.ts +5 -0
- package/cjs/Toggle/Toggle.tailwind.js +84 -0
- package/cjs/Toggle/index.d.ts +2 -0
- package/cjs/Toggle/index.js +27 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
- package/cjs/Tooltip/OverflowTooltipWrapper.js +46 -0
- package/cjs/Tooltip/Tooltip.d.ts +24 -0
- package/cjs/Tooltip/Tooltip.js +52 -0
- package/cjs/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/cjs/Tooltip/Tooltip.tailwind.js +47 -0
- package/cjs/Tooltip/TooltipWrapper.d.ts +14 -0
- package/cjs/Tooltip/TooltipWrapper.js +82 -0
- package/{components → cjs}/Tooltip/index.d.ts +1 -0
- package/cjs/Tooltip/index.js +51 -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 +9 -0
- package/cjs/UserContent/UserContent.js +26 -0
- package/cjs/UserContent/UserContent.tailwind.d.ts +5 -0
- package/cjs/UserContent/UserContent.tailwind.js +141 -0
- package/cjs/index.d.ts +49 -0
- package/cjs/index.js +580 -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 +27 -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 +2 -9
- package/cjs/utils/hashCode.d.ts +2 -0
- package/cjs/utils/hashCode.js +21 -0
- package/cjs/utils/index.d.ts +7 -0
- package/{utils → cjs/utils}/index.js +11 -18
- package/cjs/utils/isCssPropertySupported.d.ts +2 -0
- package/cjs/utils/isCssPropertySupported.js +15 -0
- package/cjs/utils/isNil.d.ts +19 -0
- package/cjs/utils/isNil.js +27 -0
- package/cjs/utils/isReactText.d.ts +2 -0
- package/cjs/utils/isReactText.js +9 -0
- package/cjs/utils/isRenderedChild.d.ts +8 -0
- package/cjs/utils/isRenderedChild.js +15 -0
- package/cjs/utils/matchLocation.d.ts +3 -0
- package/cjs/utils/matchLocation.js +12 -0
- package/cjs/utils/onlyText.d.ts +3 -0
- package/cjs/utils/onlyText.js +39 -0
- package/cjs/utils/parseUrl.d.ts +11 -0
- package/cjs/utils/parseUrl.js +21 -0
- package/{utils → cjs/utils}/pluralize.js +8 -9
- package/cjs/utils/prefersReducedMotion.d.ts +6 -0
- package/cjs/utils/prefersReducedMotion.js +13 -0
- package/{utils → cjs/utils}/range.js +2 -5
- package/cjs/utils/toSentenceCase.d.ts +3 -0
- package/cjs/utils/toSentenceCase.js +15 -0
- package/{utils → cjs/utils}/uniqBy.js +2 -7
- package/{utils → cjs/utils}/uniqueId.js +2 -5
- package/cjs/utils/useForwardedRef.d.ts +3 -0
- package/cjs/utils/useForwardedRef.js +24 -0
- package/cjs/utils/useLinkProps.d.ts +7 -0
- package/cjs/utils/useLinkProps.js +53 -0
- package/cjs/utils/useTriggerInputChange.d.ts +8 -0
- package/cjs/utils/useTriggerInputChange.js +27 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.js +44 -0
- package/esm/AnnouncementBadge/index.d.ts +2 -0
- package/esm/AnnouncementBadge/index.js +2 -0
- package/esm/AutoComplete/AutoComplete.d.ts +20 -0
- package/esm/AutoComplete/AutoComplete.js +450 -0
- package/esm/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
- package/esm/AutoComplete/AutoComplete.tailwind.js +97 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
- package/esm/AutoComplete/components/AutoCompleteEmptyState.js +29 -0
- package/esm/AutoComplete/components/AutocompleteContext.d.ts +5 -0
- package/esm/AutoComplete/components/AutocompleteContext.js +13 -0
- package/esm/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
- package/esm/AutoComplete/components/DefaultOptionItem.js +30 -0
- package/esm/AutoComplete/index.d.ts +7 -0
- package/esm/AutoComplete/index.js +7 -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 +13 -0
- package/esm/Avatars/ApplicationAvatar.js +27 -0
- package/esm/Avatars/UserAvatar.d.ts +20 -0
- package/esm/Avatars/UserAvatar.js +49 -0
- package/esm/Avatars/index.d.ts +3 -0
- package/esm/Avatars/index.js +3 -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 +33 -0
- package/esm/Badge/Badge.js +73 -0
- package/esm/Badge/index.d.ts +2 -0
- package/esm/Badge/index.js +2 -0
- package/esm/Banners/Alert/Alert.d.ts +78 -0
- package/esm/Banners/Alert/Alert.js +133 -0
- package/esm/Banners/Alert/index.d.ts +2 -0
- package/esm/Banners/Alert/index.js +2 -0
- package/esm/Banners/BigBertha/BigBertha.d.ts +41 -0
- package/esm/Banners/BigBertha/BigBertha.js +55 -0
- package/esm/Banners/BigBertha/index.d.ts +2 -0
- package/esm/Banners/BigBertha/index.js +2 -0
- package/esm/Banners/Promote/Promote.d.ts +51 -0
- package/esm/Banners/Promote/Promote.js +97 -0
- package/esm/Banners/Promote/index.d.ts +2 -0
- package/esm/Banners/Promote/index.js +2 -0
- package/esm/Banners/index.d.ts +3 -0
- package/esm/Banners/index.js +3 -0
- package/esm/Button/Button.d.ts +19 -0
- package/esm/Button/Button.js +28 -0
- package/esm/Button/Button.tailwind.d.ts +5 -0
- package/esm/Button/Button.tailwind.js +154 -0
- package/esm/Button/ButtonGroup.d.ts +18 -0
- package/esm/Button/ButtonGroup.js +21 -0
- package/esm/Button/IconButton.d.ts +10 -0
- package/esm/Button/IconButton.js +19 -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 +5 -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 +32 -0
- package/esm/Card/Card.js +37 -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 +6 -0
- package/esm/Card/components/CardHeader.js +20 -0
- package/esm/Card/components/CardTitle.d.ts +6 -0
- package/esm/Card/components/CardTitle.js +20 -0
- package/esm/Card/index.d.ts +4 -0
- package/esm/Card/index.js +4 -0
- package/esm/Checkbox/Checkbox.d.ts +24 -0
- package/esm/Checkbox/Checkbox.js +92 -0
- package/esm/Checkbox/Checkbox.tailwind.d.ts +5 -0
- package/esm/Checkbox/Checkbox.tailwind.js +70 -0
- package/esm/Checkbox/index.d.ts +2 -0
- package/esm/Checkbox/index.js +2 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
- package/esm/ClickAwayContainer/ClickAwayContainer.js +76 -0
- package/esm/ClickAwayContainer/index.d.ts +1 -0
- package/esm/ClickAwayContainer/index.js +1 -0
- package/esm/DatePicker/DatePicker/DatePicker.d.ts +34 -0
- package/esm/DatePicker/DatePicker/DatePicker.js +159 -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 +3 -0
- package/esm/DatePicker/DatePicker/index.js +3 -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 +35 -0
- package/esm/DatePicker/DateRangePicker/DateRangePicker.js +251 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +33 -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 +4 -0
- package/esm/DatePicker/DateRangePicker/index.js +4 -0
- package/esm/DatePicker/components/Calendar.d.ts +17 -0
- package/esm/DatePicker/components/Calendar.js +48 -0
- package/esm/DatePicker/components/Display.d.ts +10 -0
- package/esm/DatePicker/components/Display.js +17 -0
- package/esm/DatePicker/components/Footer.d.ts +6 -0
- package/esm/DatePicker/components/Footer.js +12 -0
- package/esm/DatePicker/components/FooterActions.d.ts +12 -0
- package/esm/DatePicker/components/FooterActions.js +26 -0
- package/esm/DatePicker/components/Modal.d.ts +16 -0
- package/esm/DatePicker/components/Modal.js +60 -0
- package/esm/DatePicker/components/NavBar.d.ts +10 -0
- package/esm/DatePicker/components/NavBar.js +117 -0
- package/esm/DatePicker/components/SidePanel.d.ts +6 -0
- package/esm/DatePicker/components/SidePanel.js +15 -0
- package/esm/DatePicker/components/index.d.ts +12 -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 +49 -0
- package/esm/Dropdown/Dropdown.js +127 -0
- package/esm/Dropdown/DropdownButton.d.ts +11 -0
- package/esm/Dropdown/DropdownButton.js +40 -0
- package/esm/Dropdown/DropdownContext.d.ts +7 -0
- package/esm/Dropdown/DropdownContext.js +10 -0
- package/esm/Dropdown/components/DropdownButtonItem.d.ts +14 -0
- package/esm/Dropdown/components/DropdownButtonItem.js +38 -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 +7 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +14 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +29 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +26 -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 +10 -0
- package/esm/Dropdown/components/DropdownFooterItem.d.ts +8 -0
- package/esm/Dropdown/components/DropdownFooterItem.js +22 -0
- package/esm/Dropdown/components/DropdownLinkItem.d.ts +10 -0
- package/esm/Dropdown/components/DropdownLinkItem.js +46 -0
- package/esm/Dropdown/components/DropdownRadioItem.d.ts +8 -0
- package/esm/Dropdown/components/DropdownRadioItem.js +37 -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 +40 -0
- package/esm/Dropdown/index.d.ts +13 -0
- package/esm/Dropdown/index.js +13 -0
- package/esm/Dropdown/useDropdownItemProps.d.ts +21 -0
- package/esm/Dropdown/useDropdownItemProps.js +31 -0
- package/esm/Dropzone/Dropzone.d.ts +21 -0
- package/esm/Dropzone/Dropzone.js +152 -0
- package/esm/Dropzone/index.d.ts +2 -0
- package/esm/Dropzone/index.js +2 -0
- package/esm/EmptyState/EmptyState.d.ts +28 -0
- package/esm/EmptyState/EmptyState.js +117 -0
- package/esm/EmptyState/EmptyState.tailwind.d.ts +5 -0
- package/esm/EmptyState/EmptyState.tailwind.js +14 -0
- package/esm/EmptyState/index.d.ts +3 -0
- package/esm/EmptyState/index.js +3 -0
- package/esm/EmptyState/types.d.ts +50 -0
- package/esm/EmptyState/types.js +1 -0
- package/esm/Field/Field.d.ts +54 -0
- package/esm/Field/Field.js +98 -0
- package/esm/Field/FieldContext.d.ts +16 -0
- package/esm/Field/FieldContext.js +8 -0
- package/esm/Field/index.d.ts +5 -0
- package/esm/Field/index.js +4 -0
- package/esm/Field/useField.d.ts +2 -0
- package/esm/Field/useField.js +5 -0
- package/esm/Flag/Flag.d.ts +6 -0
- package/esm/Flag/Flag.js +110 -0
- package/esm/Flag/Flag.tailwind.d.ts +5 -0
- package/esm/Flag/Flag.tailwind.js +33 -0
- package/esm/Flag/Flags.d.ts +48 -0
- package/esm/Flag/Flags.js +83 -0
- package/esm/Flag/index.d.ts +4 -0
- package/esm/Flag/index.js +4 -0
- package/esm/Flag/types.d.ts +27 -0
- package/esm/Flag/types.js +1 -0
- package/esm/FlexGrid/FlexGrid.d.ts +40 -0
- package/esm/FlexGrid/FlexGrid.js +62 -0
- package/esm/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
- package/esm/FlexGrid/FlexGrid.tailwind.js +69 -0
- package/esm/FlexGrid/index.d.ts +2 -0
- package/esm/FlexGrid/index.js +2 -0
- package/esm/HelpUnderline/HelpUnderline.d.ts +11 -0
- package/esm/HelpUnderline/HelpUnderline.js +28 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
- package/esm/HelpUnderline/HelpUnderline.tailwind.js +20 -0
- package/esm/HelpUnderline/index.d.ts +2 -0
- package/esm/HelpUnderline/index.js +2 -0
- package/esm/Input/Input.d.ts +30 -0
- package/esm/Input/Input.js +209 -0
- package/esm/Input/Input.tailwind.d.ts +5 -0
- package/esm/Input/Input.tailwind.js +124 -0
- package/esm/Input/index.d.ts +2 -0
- package/esm/Input/index.js +2 -0
- package/esm/Insert/Insert.d.ts +45 -0
- package/esm/Insert/Insert.js +71 -0
- package/esm/Insert/index.d.ts +2 -0
- package/esm/Insert/index.js +2 -0
- package/esm/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
- package/esm/InstantSearch/InstantSearch.tailwind.js +377 -0
- package/esm/KeyboardKey/KeyboardKey.d.ts +7 -0
- package/esm/KeyboardKey/KeyboardKey.js +29 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
- package/esm/KeyboardKey/KeyboardKey.tailwind.js +28 -0
- package/esm/KeyboardKey/index.d.ts +2 -0
- package/esm/KeyboardKey/index.js +2 -0
- package/esm/Link/BaseLink.d.ts +8 -0
- package/esm/Link/BaseLink.js +22 -0
- package/esm/Link/ButtonLink.d.ts +9 -0
- package/esm/Link/ButtonLink.js +30 -0
- package/esm/Link/IconButtonLink.d.ts +9 -0
- package/esm/Link/IconButtonLink.js +24 -0
- package/esm/Link/Link.d.ts +13 -0
- package/esm/Link/Link.js +46 -0
- package/esm/Link/index.d.ts +5 -0
- package/esm/Link/index.js +5 -0
- package/esm/Medallion/Medallion.d.ts +12 -0
- package/esm/Medallion/Medallion.js +32 -0
- package/esm/Medallion/Medallion.tailwind.d.ts +5 -0
- package/esm/Medallion/Medallion.tailwind.js +30 -0
- package/esm/Medallion/index.d.ts +3 -0
- package/esm/Medallion/index.js +3 -0
- package/esm/Medallion/types.d.ts +2 -0
- package/esm/Medallion/types.js +1 -0
- package/esm/Modal/Modal.d.ts +56 -0
- package/esm/Modal/Modal.js +140 -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 +6 -0
- package/esm/Modal/components/ModalFooter.js +25 -0
- package/esm/Modal/components/ModalSection.d.ts +10 -0
- package/esm/Modal/components/ModalSection.js +16 -0
- package/esm/Modal/index.d.ts +4 -0
- package/esm/Modal/index.js +4 -0
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
- package/esm/Pagination/CompactPagination/CompactPagination.js +76 -0
- package/esm/Pagination/CompactPagination/index.d.ts +2 -0
- package/esm/Pagination/CompactPagination/index.js +2 -0
- package/esm/Pagination/DotPagination/DotPagination.d.ts +15 -0
- package/esm/Pagination/DotPagination/DotPagination.js +39 -0
- package/esm/Pagination/DotPagination/index.d.ts +2 -0
- package/esm/Pagination/DotPagination/index.js +2 -0
- package/esm/Pagination/Pagination/Pagination.d.ts +22 -0
- package/esm/Pagination/Pagination/Pagination.js +114 -0
- package/esm/Pagination/Pagination/index.d.ts +2 -0
- package/esm/Pagination/Pagination/index.js +2 -0
- package/esm/Pagination/index.d.ts +4 -0
- package/esm/Pagination/index.js +4 -0
- package/esm/Popover/Popover.d.ts +5 -0
- package/esm/Popover/Popover.js +129 -0
- package/esm/Popover/index.d.ts +3 -0
- package/esm/Popover/index.js +3 -0
- package/esm/Popover/types.d.ts +74 -0
- package/esm/Popover/types.js +1 -0
- package/esm/ProgressBar/ProgressBar.d.ts +16 -0
- package/esm/ProgressBar/ProgressBar.js +47 -0
- package/esm/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
- package/esm/ProgressBar/ProgressBar.tailwind.js +25 -0
- package/esm/ProgressBar/index.d.ts +2 -0
- package/esm/ProgressBar/index.js +2 -0
- package/esm/ProgressSpinner/ProgressSpinner.d.ts +9 -0
- package/esm/ProgressSpinner/ProgressSpinner.js +46 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
- package/esm/ProgressSpinner/ProgressSpinner.tailwind.js +43 -0
- package/esm/ProgressSpinner/index.d.ts +2 -0
- package/esm/ProgressSpinner/index.js +2 -0
- package/esm/RadioGroup/RadioButton.d.ts +4 -0
- package/esm/RadioGroup/RadioButton.js +22 -0
- package/esm/RadioGroup/RadioButton.tailwind.d.ts +5 -0
- package/esm/RadioGroup/RadioButton.tailwind.js +62 -0
- package/esm/RadioGroup/RadioGroup.d.ts +41 -0
- package/esm/RadioGroup/RadioGroup.js +97 -0
- package/esm/RadioGroup/RadiogroupContext.d.ts +11 -0
- package/esm/RadioGroup/RadiogroupContext.js +9 -0
- package/esm/RadioGroup/index.d.ts +4 -0
- package/esm/RadioGroup/index.js +4 -0
- package/esm/RangeSlider/RangeSlider.d.ts +38 -0
- package/esm/RangeSlider/RangeSlider.js +101 -0
- package/esm/RangeSlider/index.d.ts +2 -0
- package/esm/RangeSlider/index.js +2 -0
- package/esm/Satellite/Satellite.d.ts +11 -0
- package/esm/Satellite/Satellite.js +54 -0
- package/esm/Satellite/SatelliteContext.d.ts +11 -0
- package/esm/Satellite/SatelliteContext.js +16 -0
- package/esm/Satellite/SatelliteRouter.d.ts +21 -0
- package/esm/Satellite/SatelliteRouter.js +40 -0
- package/esm/Satellite/index.d.ts +6 -0
- package/esm/Satellite/index.js +6 -0
- package/esm/Satellite/locale.d.ts +33 -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 +14 -0
- package/esm/ScrollIndicator/ScrollIndicator.js +79 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
- package/esm/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
- package/esm/ScrollIndicator/index.d.ts +2 -0
- package/esm/ScrollIndicator/index.js +2 -0
- package/esm/Select/Select.d.ts +15 -0
- package/esm/Select/Select.js +37 -0
- package/esm/Select/Select.tailwind.d.ts +5 -0
- package/esm/Select/Select.tailwind.js +77 -0
- package/esm/Select/index.d.ts +2 -0
- package/esm/Select/index.js +2 -0
- package/esm/Separator/Separator.d.ts +9 -0
- package/esm/Separator/Separator.js +29 -0
- package/esm/Separator/Separator.tailwind.d.ts +5 -0
- package/esm/Separator/Separator.tailwind.js +53 -0
- package/esm/Separator/index.d.ts +2 -0
- package/esm/Separator/index.js +2 -0
- package/esm/Sidebar/Sidebar.d.ts +36 -0
- package/esm/Sidebar/Sidebar.js +54 -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/Switch/Switch.d.ts +14 -0
- package/esm/Switch/Switch.js +80 -0
- package/esm/Switch/Switch.tailwind.d.ts +5 -0
- package/esm/Switch/Switch.tailwind.js +24 -0
- package/esm/Switch/SwitchOption.d.ts +8 -0
- package/esm/Switch/SwitchOption.js +39 -0
- package/esm/Switch/index.d.ts +3 -0
- package/esm/Switch/index.js +3 -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 +69 -0
- package/esm/Tables/DataTable/DataTable.js +258 -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 +15 -0
- package/esm/Tables/DataTable/components/Body.js +112 -0
- package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
- package/esm/Tables/DataTable/components/Footer.js +53 -0
- package/esm/Tables/DataTable/components/Header.d.ts +10 -0
- package/esm/Tables/DataTable/components/Header.js +32 -0
- package/esm/Tables/DataTable/components/HeaderCell.d.ts +12 -0
- package/esm/Tables/DataTable/components/HeaderCell.js +52 -0
- package/esm/Tables/DataTable/components/Loader.d.ts +9 -0
- package/esm/Tables/DataTable/components/Loader.js +40 -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 +3 -0
- package/esm/Tables/DataTable/index.js +3 -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 +28 -0
- package/esm/Tables/Table/Table.js +54 -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 +8 -0
- package/esm/Tables/Table/components/TableFooter.js +19 -0
- package/esm/Tables/Table/index.d.ts +3 -0
- package/esm/Tables/Table/index.js +3 -0
- package/esm/Tables/index.d.ts +3 -0
- package/esm/Tables/index.js +3 -0
- package/esm/Tabs/ContentTabs.d.ts +4 -0
- package/esm/Tabs/ContentTabs.js +54 -0
- package/esm/Tabs/LinkTabs.d.ts +33 -0
- package/esm/Tabs/LinkTabs.js +68 -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 +9 -0
- package/esm/Tabs/components/LinkTab.js +78 -0
- package/esm/Tabs/index.d.ts +4 -0
- package/esm/Tabs/index.js +4 -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 +48 -0
- package/esm/Tag/Tag.js +133 -0
- package/esm/Tag/Tag.tailwind.d.ts +5 -0
- package/esm/Tag/Tag.tailwind.js +53 -0
- package/esm/Tag/index.d.ts +2 -0
- package/esm/Tag/index.js +2 -0
- package/esm/TextArea/TextArea.d.ts +5 -0
- package/esm/TextArea/TextArea.js +21 -0
- package/esm/TextArea/TextArea.tailwind.d.ts +5 -0
- package/esm/TextArea/TextArea.tailwind.js +43 -0
- package/esm/TextArea/index.d.ts +2 -0
- package/esm/TextArea/index.js +2 -0
- package/esm/TextWrap/TextWrap.d.ts +8 -0
- package/esm/TextWrap/TextWrap.js +47 -0
- package/esm/TextWrap/index.d.ts +2 -0
- package/esm/TextWrap/index.js +2 -0
- package/esm/Toggle/Toggle.d.ts +14 -0
- package/esm/Toggle/Toggle.js +69 -0
- package/esm/Toggle/Toggle.tailwind.d.ts +5 -0
- package/esm/Toggle/Toggle.tailwind.js +84 -0
- package/esm/Toggle/index.d.ts +2 -0
- package/esm/Toggle/index.js +2 -0
- package/esm/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
- package/esm/Tooltip/OverflowTooltipWrapper.js +39 -0
- package/esm/Tooltip/Tooltip.d.ts +24 -0
- package/esm/Tooltip/Tooltip.js +45 -0
- package/esm/Tooltip/Tooltip.tailwind.d.ts +5 -0
- package/esm/Tooltip/Tooltip.tailwind.js +46 -0
- package/esm/Tooltip/TooltipWrapper.d.ts +14 -0
- package/esm/Tooltip/TooltipWrapper.js +74 -0
- package/esm/Tooltip/index.d.ts +4 -0
- package/esm/Tooltip/index.js +4 -0
- 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 +9 -0
- package/esm/UserContent/UserContent.js +19 -0
- package/esm/UserContent/UserContent.tailwind.d.ts +5 -0
- package/esm/UserContent/UserContent.tailwind.js +141 -0
- package/esm/index.d.ts +49 -0
- package/esm/index.js +49 -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 +27 -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 +18 -0
- package/esm/utils/hashCode.d.ts +2 -0
- package/esm/utils/hashCode.js +15 -0
- package/esm/utils/index.d.ts +7 -0
- package/{utils/index.d.ts → esm/utils/index.js} +2 -2
- package/esm/utils/isCssPropertySupported.d.ts +2 -0
- package/esm/utils/isCssPropertySupported.js +9 -0
- package/esm/utils/isNil.d.ts +19 -0
- package/esm/utils/isNil.js +21 -0
- package/esm/utils/isReactText.d.ts +2 -0
- package/esm/utils/isReactText.js +3 -0
- package/esm/utils/isRenderedChild.d.ts +8 -0
- package/esm/utils/isRenderedChild.js +9 -0
- package/esm/utils/matchLocation.d.ts +3 -0
- package/esm/utils/matchLocation.js +5 -0
- package/esm/utils/onlyText.d.ts +3 -0
- package/esm/utils/onlyText.js +33 -0
- package/esm/utils/parseUrl.d.ts +11 -0
- package/esm/utils/parseUrl.js +15 -0
- package/esm/utils/pluralize.d.ts +6 -0
- package/esm/utils/pluralize.js +16 -0
- package/esm/utils/prefersReducedMotion.d.ts +6 -0
- package/esm/utils/prefersReducedMotion.js +7 -0
- package/esm/utils/range.d.ts +2 -0
- package/esm/utils/range.js +7 -0
- package/esm/utils/toSentenceCase.d.ts +3 -0
- package/esm/utils/toSentenceCase.js +9 -0
- package/esm/utils/uniqBy.d.ts +2 -0
- package/esm/utils/uniqBy.js +13 -0
- package/esm/utils/uniqueId.d.ts +2 -0
- package/esm/utils/uniqueId.js +7 -0
- package/esm/utils/useForwardedRef.d.ts +3 -0
- package/esm/utils/useForwardedRef.js +17 -0
- package/esm/utils/useLinkProps.d.ts +7 -0
- package/esm/utils/useLinkProps.js +46 -0
- package/esm/utils/useTriggerInputChange.d.ts +8 -0
- package/esm/utils/useTriggerInputChange.js +21 -0
- package/package.json +89 -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.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.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.js +0 -27
- package/components/Input/Input.d.ts +0 -25
- package/components/Input/Input.js +0 -134
- 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.js +0 -27
- package/components/RadioGroup/RadioButton.d.ts +0 -4
- 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.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.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/components/Tooltip/index.js +0 -40
- 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
- /package/{components → cjs/Banners}/Alert/index.d.ts +0 -0
- /package/{components → cjs}/Checkbox/index.d.ts +0 -0
- /package/{components → cjs}/HelpUnderline/index.d.ts +0 -0
- /package/{components → cjs}/Input/index.d.ts +0 -0
- /package/{components → cjs/Pagination}/Pagination/index.d.ts +0 -0
- /package/{components → cjs}/Select/index.d.ts +0 -0
- /package/{components → cjs}/TextArea/index.d.ts +0 -0
- /package/{utils → cjs/utils}/pluralize.d.ts +0 -0
- /package/{utils → cjs/utils}/range.d.ts +0 -0
- /package/{utils → cjs/utils}/uniqBy.d.ts +0 -0
- /package/{utils → cjs/utils}/uniqueId.d.ts +0 -0
@@ -0,0 +1,376 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
5
|
+
// @ts-check
|
6
|
+
var plugin = require("tailwindcss/plugin");
|
7
|
+
var disabledColor = require("../styles/disabledColor");
|
8
|
+
var _require = require("../styles/helpers/icons"),
|
9
|
+
toBG = _require.toBG,
|
10
|
+
selectIconBG = _require.selectIconBG;
|
11
|
+
var rgba = require("../styles/rgba");
|
12
|
+
module.exports = plugin(function (_ref) {
|
13
|
+
var addComponents = _ref.addComponents,
|
14
|
+
prefix = _ref.prefix,
|
15
|
+
theme = _ref.theme;
|
16
|
+
addComponents((0, _defineProperty2["default"])({}, prefix(".instantsearch"), {
|
17
|
+
// SearchBox widget
|
18
|
+
// ----------------------------------------
|
19
|
+
".ais-SearchBox-form": {
|
20
|
+
position: "relative",
|
21
|
+
overflow: "hidden",
|
22
|
+
display: "flex",
|
23
|
+
alignItems: "stretch",
|
24
|
+
width: "100%",
|
25
|
+
height: "2.5rem",
|
26
|
+
cursor: "text",
|
27
|
+
fontSize: theme("fontSize.base"),
|
28
|
+
lineHeight: theme("lineHeight.base"),
|
29
|
+
backgroundColor: theme("colors.white"),
|
30
|
+
"&:before": {
|
31
|
+
content: "''",
|
32
|
+
position: "absolute",
|
33
|
+
left: theme("spacing.4"),
|
34
|
+
top: "50%",
|
35
|
+
marginTop: "-".concat(theme("spacing.2")),
|
36
|
+
width: theme("spacing.4"),
|
37
|
+
height: theme("spacing.4"),
|
38
|
+
background: toBG("Search", {
|
39
|
+
color: theme("colors.grey.600"),
|
40
|
+
size: 16
|
41
|
+
})
|
42
|
+
}
|
43
|
+
},
|
44
|
+
".ais-SearchBox-input": {
|
45
|
+
appearance: "none",
|
46
|
+
flex: "1",
|
47
|
+
minWidth: "0px",
|
48
|
+
paddingLeft: theme("spacing.10"),
|
49
|
+
backgroundColor: theme("colors.white"),
|
50
|
+
border: "1px solid ".concat(theme("colors.grey.200")),
|
51
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
52
|
+
boxShadow: "inset 0px 1px 4px 0px ".concat(rgba(theme("colors.grey.500"), 0.3)),
|
53
|
+
caretColor: theme("colors.grey.600"),
|
54
|
+
color: theme("colors.grey.900"),
|
55
|
+
transition: "all 100ms ease-in-out",
|
56
|
+
"&::placeholder": {
|
57
|
+
color: theme("colors.grey.600")
|
58
|
+
},
|
59
|
+
"&:focus": {
|
60
|
+
outline: "none",
|
61
|
+
borderColor: theme("colors.accent.600"),
|
62
|
+
boxShadow: "0px 1px 0px 0px ".concat(theme("colors.shadow.5"))
|
63
|
+
},
|
64
|
+
"&:disabled": {
|
65
|
+
background: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)"),
|
66
|
+
borderColor: disabledColor(theme("colors.grey.200")),
|
67
|
+
boxShadow: "none",
|
68
|
+
cursor: "not-allowed",
|
69
|
+
"&::placeholder": {
|
70
|
+
color: theme("colors.grey.300"),
|
71
|
+
pointerEvents: "none"
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration": {
|
75
|
+
appearance: "none"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
".ais-SearchBox-submit, .ais-SearchBox-reset, .ais-SearchBox-loadingIndicator": {
|
79
|
+
display: "none"
|
80
|
+
},
|
81
|
+
// RefinementList, Menu, HierarchicalMenu widgets
|
82
|
+
// ----------------------------------------
|
83
|
+
".ais-RefinementList-searchBox, .ais-Menu-searchBox": {
|
84
|
+
marginBottom: theme("spacing.2"),
|
85
|
+
"& .ais-SearchBox-form": {
|
86
|
+
height: "2rem"
|
87
|
+
},
|
88
|
+
"& .ais-SearchBox-form:before": {
|
89
|
+
left: theme("spacing.2")
|
90
|
+
},
|
91
|
+
"& .ais-SearchBox-input": {
|
92
|
+
paddingLeft: theme("spacing.8")
|
93
|
+
}
|
94
|
+
},
|
95
|
+
".ais-HierarchicalMenu-list--child": {
|
96
|
+
paddingLeft: theme("spacing.4")
|
97
|
+
},
|
98
|
+
".ais-RefinementList-item, .ais-Menu-item, .ais-HierarchicalMenu-item": {
|
99
|
+
lineHeight: theme("lineHeight.lg"),
|
100
|
+
fontSize: theme("fontSize.base")
|
101
|
+
},
|
102
|
+
".ais-RefinementList-label, .ais-Menu-link, .ais-HierarchicalMenu-link": {
|
103
|
+
display: "flex",
|
104
|
+
flexWrap: "nowrap",
|
105
|
+
alignItems: "center",
|
106
|
+
cursor: "pointer"
|
107
|
+
},
|
108
|
+
".ais-RefinementList-labelText, .ais-Menu-label, .ais-HierarchicalMenu-label": {
|
109
|
+
paddingRight: theme("spacing.3/2"),
|
110
|
+
overflow: "hidden",
|
111
|
+
textOverflow: "ellipsis",
|
112
|
+
whiteSpace: "nowrap"
|
113
|
+
},
|
114
|
+
".ais-Menu-item--selected .ais-Menu-label, .ais-HierarchicalMenu-item--selected > .ais-HierarchicalMenu-link > .ais-HierarchicalMenu-label": {
|
115
|
+
fontWeight: "600"
|
116
|
+
},
|
117
|
+
".ais-RefinementList-checkbox": {
|
118
|
+
opacity: "0",
|
119
|
+
position: "absolute"
|
120
|
+
},
|
121
|
+
".ais-RefinementList-labelText, .ais-HierarchicalMenu-label": {
|
122
|
+
position: "relative",
|
123
|
+
left: "-1px",
|
124
|
+
marginRight: "-1px",
|
125
|
+
paddingLeft: theme("spacing.6"),
|
126
|
+
"&:before": {
|
127
|
+
content: "''",
|
128
|
+
overflow: "hidden",
|
129
|
+
position: "absolute",
|
130
|
+
left: "1px",
|
131
|
+
top: "50%",
|
132
|
+
marginTop: "-".concat(theme("spacing.2")),
|
133
|
+
width: theme("spacing.4"),
|
134
|
+
height: theme("spacing.4"),
|
135
|
+
userSelect: "none"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
".ais-RefinementList-labelText:before": {
|
139
|
+
color: theme("colors.accent.600"),
|
140
|
+
backgroundColor: theme("colors.white"),
|
141
|
+
backgroundPosition: "center",
|
142
|
+
backgroundSize: "180%",
|
143
|
+
border: "1px solid ".concat(theme("colors.grey.200")),
|
144
|
+
boxShadow: "inset 0 1px 4px 0 ".concat(rgba(theme("colors.grey.500"), 0.4)),
|
145
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
146
|
+
transition: "all 250ms cubic-bezier(0.23, 1, 0.32, 1)"
|
147
|
+
},
|
148
|
+
".ais-RefinementList-item:focus-within .ais-RefinementList-labelText:before": {
|
149
|
+
borderColor: "currentColor"
|
150
|
+
},
|
151
|
+
".ais-RefinementList-item--selected .ais-RefinementList-labelText:before": {
|
152
|
+
opacity: "1",
|
153
|
+
borderColor: "currentColor",
|
154
|
+
boxShadow: "inset 0px 1px 0px 0px ".concat(theme("colors.shadow.5")),
|
155
|
+
backgroundImage: toBG("Check", {
|
156
|
+
color: theme("colors.accent.500"),
|
157
|
+
size: 16
|
158
|
+
}),
|
159
|
+
backgroundSize: "100%"
|
160
|
+
},
|
161
|
+
".ais-RefinementList-item--selected:focus-within .ais-RefinementList-labelText:before": {
|
162
|
+
borderColor: "currentColor",
|
163
|
+
boxShadow: "\n inset 0px 1px 0px 0px ".concat(theme("colors.shadow.5"), ",\n 0 0 0 1px currentColor\n ")
|
164
|
+
},
|
165
|
+
".ais-HierarchicalMenu-label:before": {
|
166
|
+
backgroundImage: toBG("ChevronUp", {
|
167
|
+
color: theme("colors.grey.300"),
|
168
|
+
size: 16
|
169
|
+
})
|
170
|
+
},
|
171
|
+
".ais-HierarchicalMenu-item--selected > .ais-HierarchicalMenu-link > .ais-HierarchicalMenu-label:before": {
|
172
|
+
backgroundImage: toBG("ChevronDown", {
|
173
|
+
color: theme("colors.accent.500"),
|
174
|
+
size: 16
|
175
|
+
})
|
176
|
+
},
|
177
|
+
".ais-HierarchicalMenu-link:hover > .ais-HierarchicalMenu-label:before, .ais-RefinementList-label:hover .ais-RefinementList-labelText:before": {
|
178
|
+
color: theme("colors.accent.500")
|
179
|
+
},
|
180
|
+
".ais-HierarchicalMenu-link:hover": {
|
181
|
+
textDecoration: "none"
|
182
|
+
},
|
183
|
+
".ais-HierarchicalMenu-link:hover > .ais-HierarchicalMenu-label": {
|
184
|
+
textDecoration: "underline"
|
185
|
+
},
|
186
|
+
".ais-RefinementList-count, .ais-Menu-count, .ais-HierarchicalMenu-count": {
|
187
|
+
flexShrink: "0",
|
188
|
+
overflow: "hidden",
|
189
|
+
display: "inline-flex",
|
190
|
+
alignItems: "center",
|
191
|
+
justifyItems: "center",
|
192
|
+
marginLeft: theme("spacing.2"),
|
193
|
+
padding: "0 ".concat(theme("spacing.1")),
|
194
|
+
borderRadius: theme("borderRadius.full"),
|
195
|
+
border: "1px solid ".concat(theme("colors.grey.300")),
|
196
|
+
background: theme("colors.grey.100"),
|
197
|
+
fontSize: theme("fontSize.sm"),
|
198
|
+
lineHeight: theme("lineHeight.sm"),
|
199
|
+
fontWeight: theme("fontWeight.normal"),
|
200
|
+
color: theme("colors.grey.900")
|
201
|
+
},
|
202
|
+
".ais-RefinementList-showMore, .ais-Menu-showMore, .ais-HierarchicalMenu-showMore": {
|
203
|
+
appearance: "none",
|
204
|
+
userSelect: "none",
|
205
|
+
position: "relative",
|
206
|
+
display: "inline-flex",
|
207
|
+
alignItems: "center",
|
208
|
+
justifyItems: "center",
|
209
|
+
height: theme("spacing.6"),
|
210
|
+
marginTop: theme("spacing.4"),
|
211
|
+
padding: "0 ".concat(theme("spacing.4")),
|
212
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
213
|
+
background: theme("colors.transparent"),
|
214
|
+
fontSize: theme("fontSize.base"),
|
215
|
+
lineHeight: theme("lineHeight.base"),
|
216
|
+
fontWeight: theme("fontWeight.normal"),
|
217
|
+
color: theme("colors.grey.600"),
|
218
|
+
textDecoration: "none",
|
219
|
+
cursor: "pointer",
|
220
|
+
"&:hover": {
|
221
|
+
background: theme("colors.grey.100"),
|
222
|
+
textDecoration: "none"
|
223
|
+
},
|
224
|
+
"&:focus": {
|
225
|
+
boxShadow: "0 0 0 1px ".concat(theme("colors.accent.600")),
|
226
|
+
outline: "none"
|
227
|
+
},
|
228
|
+
"&:active": {
|
229
|
+
color: theme("colors.accent.600"),
|
230
|
+
background: theme("colors.accent.100"),
|
231
|
+
boxShadow: "none"
|
232
|
+
},
|
233
|
+
"&:disabled": {
|
234
|
+
background: "none",
|
235
|
+
boxShadow: "none",
|
236
|
+
color: theme("colors.grey.300"),
|
237
|
+
cursor: "not-allowed"
|
238
|
+
}
|
239
|
+
},
|
240
|
+
".ais-RefinementList-noResults, .ais-Menu-noResults": {
|
241
|
+
marginTop: theme("spacing.4"),
|
242
|
+
lineHeight: theme("lineHeight.base"),
|
243
|
+
fontSize: theme("fontSize.base"),
|
244
|
+
color: theme("colors.grey.600")
|
245
|
+
},
|
246
|
+
// HitsPerPage and SortBy widgets
|
247
|
+
// ----------------------------------------
|
248
|
+
".ais-HitsPerPage-select, .ais-SortBy-select": {
|
249
|
+
appearance: "none",
|
250
|
+
outline: "none",
|
251
|
+
cursor: "pointer",
|
252
|
+
position: "relative",
|
253
|
+
height: theme("spacing.10"),
|
254
|
+
padding: "0 ".concat(theme("spacing.10"), " 0 ").concat(theme("spacing.4")),
|
255
|
+
width: "100%",
|
256
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
257
|
+
border: "1px solid ".concat(theme("colors.grey.200")),
|
258
|
+
backgroundColor: theme("colors.white"),
|
259
|
+
backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.500")), ",\n linear-gradient(-180deg, ").concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.50"), " 100%)\n "),
|
260
|
+
backgroundRepeat: "no-repeat",
|
261
|
+
backgroundPosition: "right ".concat(theme("spacing.4"), " center, 0 0"),
|
262
|
+
backgroundSize: "10px, auto",
|
263
|
+
boxShadow: "0 1px 0 0 ".concat(theme("colors.shadow.5")),
|
264
|
+
color: theme("colors.grey.900"),
|
265
|
+
// states
|
266
|
+
"&::-moz-focus-inner, &:-moz-focusring": {
|
267
|
+
outline: "none",
|
268
|
+
color: "transparent",
|
269
|
+
textShadow: "0 0 0 ".concat(theme("colors.grey.900"))
|
270
|
+
},
|
271
|
+
"&:focus::-ms-value": {
|
272
|
+
color: theme("colors.grey.900")
|
273
|
+
},
|
274
|
+
"& > option": {
|
275
|
+
textShadow: "none",
|
276
|
+
"&:not(:checked)": {
|
277
|
+
color: theme("colors.grey.900")
|
278
|
+
},
|
279
|
+
"&:disabled": {
|
280
|
+
color: theme("colors.grey.300")
|
281
|
+
}
|
282
|
+
},
|
283
|
+
"&:hover": {
|
284
|
+
backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.500")), ",\n linear-gradient(-180deg, ").concat(theme("colors.grey.50"), " 0%, ").concat(theme("colors.grey.100"), " 100%)\n "),
|
285
|
+
borderColor: theme("colors.grey.200")
|
286
|
+
},
|
287
|
+
"&:focus": {
|
288
|
+
backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.500")), ",\n linear-gradient(-180deg, ").concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)\n "),
|
289
|
+
borderColor: theme("colors.accent.600"),
|
290
|
+
boxShadow: "\n 0 0 0 1px ".concat(theme("colors.accent.600"), ",\n 0 2px 0 0 ").concat(theme("colors.shadow.5"), "\n ")
|
291
|
+
},
|
292
|
+
"&:disabled": {
|
293
|
+
cursor: "not-allowed",
|
294
|
+
color: theme("colors.grey.300"),
|
295
|
+
backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.300")), ",\n linear-gradient(-180deg, ").concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)\n "),
|
296
|
+
borderColor: disabledColor(theme("colors.grey.200")),
|
297
|
+
boxShadow: "none"
|
298
|
+
}
|
299
|
+
},
|
300
|
+
// Buttons inside widgets
|
301
|
+
// ----------------------------------------
|
302
|
+
".ais-InfiniteHits-loadPrevious, .ais-InfiniteHits-loadMore, .ais-ClearRefinements-button, .ais-Pagination-link": {
|
303
|
+
appearance: "none",
|
304
|
+
userSelect: "none",
|
305
|
+
position: "relative",
|
306
|
+
display: "inline-flex",
|
307
|
+
alignItems: "center",
|
308
|
+
justifyItems: "center",
|
309
|
+
height: theme("spacing.8"),
|
310
|
+
padding: "0 ".concat(theme("spacing.4")),
|
311
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
312
|
+
border: "1px solid ".concat(theme("colors.grey.200")),
|
313
|
+
backgroundColor: theme("colors.white"),
|
314
|
+
backgroundImage: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.50"), " 100%)"),
|
315
|
+
boxShadow: "0 1px 0 0 ".concat(theme("colors.shadow.5")),
|
316
|
+
fontSize: theme("fontSize.base"),
|
317
|
+
lineHeight: theme("lineHeight.base"),
|
318
|
+
fontWeight: theme("fontWeight.normal"),
|
319
|
+
color: theme("colors.grey.900"),
|
320
|
+
textDecoration: "none",
|
321
|
+
cursor: "pointer",
|
322
|
+
"&:hover": {
|
323
|
+
borderColor: theme("colors.grey.200"),
|
324
|
+
backgroundImage: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)")
|
325
|
+
},
|
326
|
+
"&:focus": {
|
327
|
+
zIndex: "2",
|
328
|
+
outline: "none",
|
329
|
+
backgroundImage: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)"),
|
330
|
+
borderColor: theme("colors.accent.600"),
|
331
|
+
boxShadow: "\n 0 0 0 1px ".concat(theme("colors.accent.600"), ",\n 0 2px 0 1px ").concat(theme("colors.shadow.5"), "\n ")
|
332
|
+
},
|
333
|
+
"&:active, &.ais-Pagination-link--selected": {
|
334
|
+
zIndex: "1",
|
335
|
+
backgroundImage: theme("color.grey.100"),
|
336
|
+
borderColor: theme("colors.grey.200"),
|
337
|
+
boxShadow: "\n inset 0 1px 4px 0 ".concat(rgba(theme("colors.grey.500"), 0.4), ",\n inset 0 1px 1px 0 ").concat(rgba(theme("colors.grey.500"), 0.4), ",\n 0 1px 0 0 ").concat(theme("colors.shadow.5"), "\n ")
|
338
|
+
}
|
339
|
+
},
|
340
|
+
".ais-InfiniteHits-loadPrevious:disabled, .ais-InfiniteHits-loadMore:disabled, .ais-ClearRefinements-button:disabled, .ais-Pagination-item--disabled .ais-Pagination-link": {
|
341
|
+
backgroundImage: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)"),
|
342
|
+
borderColor: disabledColor(theme("colors.grey.200")),
|
343
|
+
color: theme("colors.grey.300"),
|
344
|
+
boxShadow: "none",
|
345
|
+
cursor: "not-allowed"
|
346
|
+
},
|
347
|
+
".ais-Pagination-item:first-child > .ais-Pagination-link": {
|
348
|
+
borderRadius: "".concat(theme("borderRadius.DEFAULT"), " 0 0 ").concat(theme("borderRadius.DEFAULT"))
|
349
|
+
},
|
350
|
+
".ais-Pagination-item + .ais-Pagination-item > .ais-Pagination-link": {
|
351
|
+
marginLeft: "-1px",
|
352
|
+
borderRadius: "0px"
|
353
|
+
},
|
354
|
+
".ais-Pagination-item:last-child > .ais-Pagination-link": {
|
355
|
+
borderRadius: "0 ".concat(theme("borderRadius.DEFAULT"), " ").concat(theme("borderRadius.DEFAULT"), " 0")
|
356
|
+
},
|
357
|
+
".ais-InfiniteHits-loadPrevious, .ais-InfiniteHits-loadMore": {
|
358
|
+
margin: "".concat(theme("spacing.4"), " auto")
|
359
|
+
},
|
360
|
+
".ais-ClearRefinements-button": {
|
361
|
+
width: "100%"
|
362
|
+
},
|
363
|
+
// Misc
|
364
|
+
// ----------------------------------------
|
365
|
+
".ais-Highlight-highlighted": {
|
366
|
+
backgroundColor: theme("colors.accent.100"),
|
367
|
+
color: theme("colors.accent.900"),
|
368
|
+
fontStyle: "normal"
|
369
|
+
},
|
370
|
+
".ais-Pagination-item": {
|
371
|
+
display: "inline-block"
|
372
|
+
}
|
373
|
+
}), {
|
374
|
+
respectPrefix: false
|
375
|
+
});
|
376
|
+
});
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.KeyboardKey = void 0;
|
8
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
|
+
var _clsx = _interopRequireDefault(require("clsx"));
|
10
|
+
var _react = require("react");
|
11
|
+
var _reactFeather = require("react-feather");
|
12
|
+
var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
14
|
+
var _templateObject;
|
15
|
+
var KEY_MAPPINGS = {
|
16
|
+
up: _reactFeather.ArrowUp,
|
17
|
+
down: _reactFeather.ArrowDown,
|
18
|
+
left: _reactFeather.ArrowLeft,
|
19
|
+
right: _reactFeather.ArrowRight,
|
20
|
+
enter: _reactFeather.CornerDownLeft,
|
21
|
+
escape: "esc"
|
22
|
+
};
|
23
|
+
var KeyboardKey = exports.KeyboardKey = function KeyboardKey(_ref) {
|
24
|
+
var className = _ref.className,
|
25
|
+
value = _ref.value;
|
26
|
+
var mappedValue = KEY_MAPPINGS[value];
|
27
|
+
var displayed = !mappedValue ? value : typeof mappedValue === "string" ? mappedValue : /*#__PURE__*/(0, _react.createElement)(mappedValue, {
|
28
|
+
"aria-label": value,
|
29
|
+
width: "1em",
|
30
|
+
height: "1em"
|
31
|
+
});
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("kbd", {
|
33
|
+
className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["keyboard-key "]))), className),
|
34
|
+
children: displayed
|
35
|
+
});
|
36
|
+
};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
// @ts-check
|
4
|
+
var plugin = require("tailwindcss/plugin");
|
5
|
+
var keyboardKeyPlugin = plugin(function (_ref) {
|
6
|
+
var addComponents = _ref.addComponents,
|
7
|
+
theme = _ref.theme;
|
8
|
+
addComponents({
|
9
|
+
".keyboard-key": {
|
10
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
11
|
+
height: "20px",
|
12
|
+
minWidth: "20px",
|
13
|
+
padding: "0 4px",
|
14
|
+
display: "inline-flex",
|
15
|
+
textAlign: "center",
|
16
|
+
alignItems: "center",
|
17
|
+
justifyContent: "center",
|
18
|
+
fontFamily: theme("fontFamily.mono"),
|
19
|
+
// Matches typo-subdued
|
20
|
+
color: theme("colors.grey.600"),
|
21
|
+
// Should match display-caption
|
22
|
+
fontSize: theme("fontSize.sm"),
|
23
|
+
lineHeight: theme("lineHeight.sm"),
|
24
|
+
background: "linear-gradient(134deg, #e6e7ec 0%, #ffffff 70%)",
|
25
|
+
boxShadow: "\n 2px 1px 4px -2px rgba(35, 38, 59, 0.24),\n inset -0.6px -0.6px 1px #dcdde7, inset 0.6px 0.6px 1px #ffffff\n "
|
26
|
+
}
|
27
|
+
});
|
28
|
+
});
|
29
|
+
module.exports = keyboardKeyPlugin;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -9,19 +7,18 @@ var _exportNames = {};
|
|
9
7
|
Object.defineProperty(exports, "default", {
|
10
8
|
enumerable: true,
|
11
9
|
get: function get() {
|
12
|
-
return
|
10
|
+
return _KeyboardKey.KeyboardKey;
|
13
11
|
}
|
14
12
|
});
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
Object.keys(_Input).forEach(function (key) {
|
13
|
+
var _KeyboardKey = require("./KeyboardKey");
|
14
|
+
Object.keys(_KeyboardKey).forEach(function (key) {
|
19
15
|
if (key === "default" || key === "__esModule") return;
|
20
16
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
17
|
+
if (key in exports && exports[key] === _KeyboardKey[key]) return;
|
21
18
|
Object.defineProperty(exports, key, {
|
22
19
|
enumerable: true,
|
23
20
|
get: function get() {
|
24
|
-
return
|
21
|
+
return _KeyboardKey[key];
|
25
22
|
}
|
26
23
|
});
|
27
24
|
});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { AnchorHTMLAttributes } from "react";
|
2
|
+
export declare type BaseLinkProps = {
|
3
|
+
href: string;
|
4
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement>;
|
5
|
+
export declare const BaseLink: import("react").ForwardRefExoticComponent<{
|
6
|
+
href: string;
|
7
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
8
|
+
export default BaseLink;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = exports.BaseLink = void 0;
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
10
|
+
var _react = require("react");
|
11
|
+
var _useLinkProps = _interopRequireDefault(require("../utils/useLinkProps"));
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
13
|
+
var _excluded = ["href", "onClick"];
|
14
|
+
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; }
|
15
|
+
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) { (0, _defineProperty2["default"])(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; }
|
16
|
+
var BaseLink = exports.BaseLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
17
|
+
var href = _ref.href,
|
18
|
+
onClick = _ref.onClick,
|
19
|
+
anchorProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
20
|
+
var linkProps = (0, _useLinkProps["default"])(_objectSpread(_objectSpread({}, anchorProps), {}, {
|
21
|
+
href: href,
|
22
|
+
onClick: onClick
|
23
|
+
}));
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("a", _objectSpread(_objectSpread(_objectSpread({}, anchorProps), linkProps), {}, {
|
25
|
+
ref: ref
|
26
|
+
}));
|
27
|
+
});
|
28
|
+
BaseLink.displayName = "BaseLink";
|
29
|
+
var _default = exports["default"] = BaseLink;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type PolymorphicButtonProps } from "../Button/PolymorphicButton";
|
3
|
+
export declare type ButtonLinkProps = Omit<PolymorphicButtonProps<"a">, "as" | "ref"> & {
|
4
|
+
href: string;
|
5
|
+
};
|
6
|
+
export declare const ButtonLink: import("react").ForwardRefExoticComponent<Omit<PolymorphicButtonProps<"a">, "ref" | "as"> & {
|
7
|
+
href: string;
|
8
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
9
|
+
export default ButtonLink;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = exports.ButtonLink = void 0;
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
10
|
+
var _react = require("react");
|
11
|
+
var _reactFeather = require("react-feather");
|
12
|
+
var _PolymorphicButton = require("../Button/PolymorphicButton");
|
13
|
+
var _useLinkProps = _interopRequireDefault(require("../utils/useLinkProps"));
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
15
|
+
var _excluded = ["endIcon", "href", "onClick"];
|
16
|
+
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; }
|
17
|
+
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) { (0, _defineProperty2["default"])(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; }
|
18
|
+
var ButtonLink = exports.ButtonLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
19
|
+
var EndIcon = _ref.endIcon,
|
20
|
+
href = _ref.href,
|
21
|
+
onClick = _ref.onClick,
|
22
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
23
|
+
var linkProps = (0, _useLinkProps["default"])(_objectSpread(_objectSpread({}, props), {}, {
|
24
|
+
href: href,
|
25
|
+
onClick: onClick
|
26
|
+
}));
|
27
|
+
if (linkProps.target === "_blank" && EndIcon === undefined) {
|
28
|
+
EndIcon = _reactFeather.ExternalLink;
|
29
|
+
}
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PolymorphicButton.PolymorphicButton, _objectSpread(_objectSpread(_objectSpread({}, props), linkProps), {}, {
|
31
|
+
ref: ref,
|
32
|
+
as: "a",
|
33
|
+
endIcon: EndIcon
|
34
|
+
}));
|
35
|
+
});
|
36
|
+
ButtonLink.displayName = "ButtonLink";
|
37
|
+
var _default = exports["default"] = ButtonLink;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type PolymorphicIconButtonProps } from "../Button/PolymorphicIconButton";
|
3
|
+
export declare type IconButtonLinkProps = Omit<PolymorphicIconButtonProps<"a">, "as" | "ref"> & {
|
4
|
+
href: string;
|
5
|
+
};
|
6
|
+
export declare const IconButtonLink: import("react").ForwardRefExoticComponent<Omit<PolymorphicIconButtonProps<"a">, "ref" | "as"> & {
|
7
|
+
href: string;
|
8
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
9
|
+
export default IconButtonLink;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = exports.IconButtonLink = void 0;
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
10
|
+
var _react = require("react");
|
11
|
+
var _PolymorphicIconButton = require("../Button/PolymorphicIconButton");
|
12
|
+
var _useLinkProps = _interopRequireDefault(require("../utils/useLinkProps"));
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
14
|
+
var _excluded = ["href", "onClick"];
|
15
|
+
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; }
|
16
|
+
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) { (0, _defineProperty2["default"])(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; }
|
17
|
+
var IconButtonLink = exports.IconButtonLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
18
|
+
var href = _ref.href,
|
19
|
+
onClick = _ref.onClick,
|
20
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
21
|
+
var linkProps = (0, _useLinkProps["default"])(_objectSpread(_objectSpread({}, props), {}, {
|
22
|
+
href: href,
|
23
|
+
onClick: onClick
|
24
|
+
}));
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PolymorphicIconButton.PolymorphicIconButton, _objectSpread(_objectSpread(_objectSpread({}, props), linkProps), {}, {
|
26
|
+
as: "a",
|
27
|
+
ref: ref
|
28
|
+
}));
|
29
|
+
});
|
30
|
+
IconButtonLink.displayName = "IconButtonLink";
|
31
|
+
var _default = exports["default"] = IconButtonLink;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { AnchorHTMLAttributes } from "react";
|
2
|
+
import type { IconComponentType } from "../types";
|
3
|
+
export declare type LinkProps = {
|
4
|
+
href: string;
|
5
|
+
startIcon?: IconComponentType;
|
6
|
+
endIcon?: IconComponentType;
|
7
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement>;
|
8
|
+
export declare const Link: import("react").ForwardRefExoticComponent<{
|
9
|
+
href: string;
|
10
|
+
startIcon?: IconComponentType | undefined;
|
11
|
+
endIcon?: IconComponentType | undefined;
|
12
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
13
|
+
export default Link;
|