@algolia/satellite 1.0.0-beta.179 → 1.0.0-beta.180
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/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +0 -1
- package/cjs/AnnouncementBadge/AnnouncementBadge.js +2 -3
- package/cjs/AnnouncementBadge/index.d.ts +0 -1
- package/cjs/AnnouncementBadge/index.js +2 -13
- package/cjs/AutoComplete/AutoComplete.d.ts +0 -1
- package/cjs/AutoComplete/AutoComplete.js +10 -11
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +0 -1
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +2 -3
- package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +0 -1
- package/cjs/AutoComplete/components/DefaultOptionItem.js +2 -3
- package/cjs/AutoComplete/index.d.ts +0 -1
- package/cjs/AutoComplete/index.js +2 -11
- package/cjs/AutoComplete/utils.js +3 -4
- package/cjs/Avatars/ApplicationAvatar.d.ts +0 -1
- package/cjs/Avatars/ApplicationAvatar.js +2 -3
- package/cjs/Avatars/UserAvatar.d.ts +0 -1
- package/cjs/Avatars/UserAvatar.js +2 -3
- package/cjs/Avatars/index.d.ts +0 -1
- package/cjs/Avatars/index.js +2 -14
- package/cjs/Avatars/utils.js +3 -3
- package/cjs/Badge/Badge.d.ts +1 -1
- package/cjs/Badge/Badge.js +5 -6
- package/cjs/Badge/index.d.ts +0 -1
- package/cjs/Badge/index.js +2 -13
- package/cjs/Banners/Alert/Alert.d.ts +0 -1
- package/cjs/Banners/Alert/Alert.js +2 -3
- package/cjs/Banners/Alert/index.d.ts +0 -1
- package/cjs/Banners/Alert/index.js +2 -13
- package/cjs/Banners/Promote/Promote.d.ts +1 -1
- package/cjs/Banners/Promote/Promote.js +4 -5
- package/cjs/Banners/Promote/index.d.ts +0 -1
- package/cjs/Banners/Promote/index.js +2 -13
- package/cjs/Banners/SystemNotification/SystemNotification.d.ts +0 -1
- package/cjs/Banners/SystemNotification/SystemNotification.js +2 -3
- package/cjs/Banners/SystemNotification/index.d.ts +0 -1
- package/cjs/Banners/SystemNotification/index.js +2 -13
- package/cjs/Button/Button.d.ts +0 -1
- package/cjs/Button/Button.js +2 -3
- package/cjs/Button/ButtonGroup.d.ts +0 -1
- package/cjs/Button/ButtonGroup.js +2 -3
- package/cjs/Button/IconButton.d.ts +0 -1
- package/cjs/Button/IconButton.js +2 -3
- package/cjs/Button/PolymorphicButton.js +2 -2
- package/cjs/Button/PolymorphicIconButton.js +2 -2
- package/cjs/Button/index.d.ts +0 -1
- package/cjs/Button/index.js +2 -15
- package/cjs/Card/Card.d.ts +3 -3
- package/cjs/Card/Card.js +5 -6
- package/cjs/Card/components/CardHeader.d.ts +0 -1
- package/cjs/Card/components/CardHeader.js +2 -3
- package/cjs/Card/components/CardTitle.d.ts +1 -1
- package/cjs/Card/components/CardTitle.js +2 -3
- package/cjs/Card/index.d.ts +0 -1
- package/cjs/Card/index.js +2 -15
- package/cjs/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/Checkbox/Checkbox.js +4 -5
- package/cjs/Checkbox/index.d.ts +0 -1
- package/cjs/Checkbox/index.js +2 -13
- package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +2 -3
- package/cjs/DatePicker/DatePicker/DatePicker.d.ts +8 -8
- package/cjs/DatePicker/DatePicker/DatePicker.js +15 -16
- package/cjs/DatePicker/DatePicker/index.d.ts +0 -1
- package/cjs/DatePicker/DatePicker/index.js +2 -14
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +15 -16
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +4 -5
- package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +5 -6
- package/cjs/DatePicker/DateRangePicker/index.d.ts +0 -1
- package/cjs/DatePicker/DateRangePicker/index.js +2 -15
- package/cjs/DatePicker/components/Calendar.d.ts +3 -3
- package/cjs/DatePicker/components/Calendar.js +5 -6
- package/cjs/DatePicker/components/Display.d.ts +2 -3
- package/cjs/DatePicker/components/Display.js +5 -7
- package/cjs/DatePicker/components/Footer.d.ts +2 -3
- package/cjs/DatePicker/components/Footer.js +3 -4
- package/cjs/DatePicker/components/FooterActions.d.ts +2 -3
- package/cjs/DatePicker/components/FooterActions.js +3 -4
- package/cjs/DatePicker/components/Modal.d.ts +2 -3
- package/cjs/DatePicker/components/Modal.js +3 -4
- package/cjs/DatePicker/components/NavBar.d.ts +1 -2
- package/cjs/DatePicker/components/NavBar.js +3 -4
- package/cjs/DatePicker/components/SidePanel.d.ts +2 -3
- package/cjs/DatePicker/components/SidePanel.js +3 -4
- package/cjs/DatePicker/components/index.d.ts +7 -12
- package/cjs/DatePicker/components/index.js +61 -34
- package/cjs/DatePicker/types.d.ts +2 -2
- package/cjs/Dropdown/Dropdown.d.ts +8 -8
- package/cjs/Dropdown/Dropdown.js +21 -22
- package/cjs/Dropdown/DropdownButton.d.ts +0 -1
- package/cjs/Dropdown/DropdownButton.js +6 -7
- package/cjs/Dropdown/DropdownContext.d.ts +0 -1
- package/cjs/Dropdown/DropdownContext.js +2 -3
- package/cjs/Dropdown/components/DropdownButtonItem.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownButtonItem.js +4 -5
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +2 -3
- package/cjs/Dropdown/components/DropdownDivider.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownDivider.js +2 -3
- package/cjs/Dropdown/components/DropdownFooterItem.d.ts +1 -1
- package/cjs/Dropdown/components/DropdownFooterItem.js +2 -3
- package/cjs/Dropdown/components/DropdownLinkItem.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownLinkItem.js +6 -7
- package/cjs/Dropdown/components/DropdownRadioItem.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownRadioItem.js +4 -5
- package/cjs/Dropdown/components/DropdownTitle.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownTitle.js +2 -3
- package/cjs/Dropdown/components/DropdownToggleItem.d.ts +0 -1
- package/cjs/Dropdown/components/DropdownToggleItem.js +4 -5
- package/cjs/Dropdown/index.d.ts +0 -1
- package/cjs/Dropdown/index.js +2 -24
- package/cjs/Dropdown/useDropdownItemProps.d.ts +0 -1
- package/cjs/Dropdown/useDropdownItemProps.js +2 -3
- package/cjs/Dropzone/Dropzone.d.ts +0 -1
- package/cjs/Dropzone/Dropzone.js +2 -3
- package/cjs/Dropzone/index.d.ts +0 -1
- package/cjs/Dropzone/index.js +2 -13
- package/cjs/EmptyState/EmptyState.d.ts +0 -1
- package/cjs/EmptyState/EmptyState.js +2 -3
- package/cjs/EmptyState/index.d.ts +0 -1
- package/cjs/EmptyState/index.js +2 -14
- package/cjs/Field/Field.d.ts +0 -1
- package/cjs/Field/Field.js +2 -3
- package/cjs/Field/index.d.ts +0 -1
- package/cjs/Field/index.js +2 -11
- package/cjs/FlexGrid/FlexGrid.d.ts +0 -1
- package/cjs/FlexGrid/FlexGrid.js +4 -5
- package/cjs/FlexGrid/index.d.ts +0 -1
- package/cjs/FlexGrid/index.js +2 -13
- package/cjs/HelpUnderline/HelpUnderline.d.ts +0 -1
- package/cjs/HelpUnderline/HelpUnderline.js +2 -3
- package/cjs/HelpUnderline/index.d.ts +0 -1
- package/cjs/HelpUnderline/index.js +2 -13
- package/cjs/Input/Input.d.ts +0 -1
- package/cjs/Input/Input.js +9 -10
- package/cjs/Input/index.d.ts +0 -1
- package/cjs/Input/index.js +2 -13
- package/cjs/Insert/Insert.d.ts +1 -1
- package/cjs/Insert/Insert.js +6 -7
- package/cjs/Insert/index.d.ts +0 -1
- package/cjs/Insert/index.js +2 -13
- package/cjs/KeyboardKey/index.d.ts +0 -1
- package/cjs/KeyboardKey/index.js +0 -8
- package/cjs/Link/BaseLink.d.ts +0 -1
- package/cjs/Link/BaseLink.js +4 -5
- package/cjs/Link/ButtonLink.d.ts +0 -1
- package/cjs/Link/ButtonLink.js +4 -5
- package/cjs/Link/IconButtonLink.d.ts +0 -1
- package/cjs/Link/IconButtonLink.js +4 -5
- package/cjs/Link/Link.d.ts +0 -1
- package/cjs/Link/Link.js +4 -5
- package/cjs/Link/index.d.ts +0 -1
- package/cjs/Link/index.js +2 -16
- package/cjs/Medallion/Medallion.d.ts +0 -1
- package/cjs/Medallion/Medallion.js +2 -3
- package/cjs/Medallion/index.d.ts +0 -1
- package/cjs/Medallion/index.js +2 -14
- package/cjs/MenuButton/MenuButton.d.ts +0 -1
- package/cjs/MenuButton/MenuButton.js +10 -11
- package/cjs/MenuButton/components/Content.js +2 -2
- package/cjs/MenuButton/components/CustomTrigger.d.ts +0 -1
- package/cjs/MenuButton/components/CustomTrigger.js +2 -3
- package/cjs/MenuButton/components/DefaultTrigger.d.ts +0 -1
- package/cjs/MenuButton/components/DefaultTrigger.js +4 -5
- package/cjs/MenuButton/components/Divider.d.ts +0 -1
- package/cjs/MenuButton/components/Divider.js +2 -3
- package/cjs/MenuButton/components/Label.d.ts +0 -1
- package/cjs/MenuButton/components/Label.js +2 -3
- package/cjs/MenuButton/components/collapsible/CollapsibleItem.d.ts +0 -1
- package/cjs/MenuButton/components/collapsible/CollapsibleItem.js +2 -3
- package/cjs/MenuButton/components/items/Item.d.ts +0 -1
- package/cjs/MenuButton/components/items/Item.js +2 -3
- package/cjs/MenuButton/components/items/LinkItem.d.ts +7 -1
- package/cjs/MenuButton/components/items/LinkItem.js +12 -9
- package/cjs/MenuButton/components/items/RadioItem.d.ts +0 -1
- package/cjs/MenuButton/components/items/RadioItem.js +4 -5
- package/cjs/MenuButton/components/items/ToggleItem.d.ts +0 -1
- package/cjs/MenuButton/components/items/ToggleItem.js +4 -5
- package/cjs/MenuButton/useMenuItemProps.d.ts +0 -1
- package/cjs/MenuButton/useMenuItemProps.js +2 -3
- package/cjs/Modal/Modal.d.ts +3 -3
- package/cjs/Modal/Modal.js +7 -8
- package/cjs/Modal/components/ModalFooter.d.ts +0 -1
- package/cjs/Modal/components/ModalFooter.js +4 -5
- package/cjs/Modal/components/ModalSection.d.ts +0 -1
- package/cjs/Modal/components/ModalSection.js +2 -3
- package/cjs/Modal/index.d.ts +0 -1
- package/cjs/Modal/index.js +2 -15
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +1 -1
- package/cjs/Pagination/CompactPagination/CompactPagination.js +2 -3
- package/cjs/Pagination/CompactPagination/index.d.ts +0 -1
- package/cjs/Pagination/CompactPagination/index.js +2 -13
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +0 -1
- package/cjs/Pagination/DotPagination/DotPagination.js +2 -3
- package/cjs/Pagination/DotPagination/index.d.ts +0 -1
- package/cjs/Pagination/DotPagination/index.js +2 -13
- package/cjs/Pagination/Pagination/Pagination.d.ts +0 -1
- package/cjs/Pagination/Pagination/Pagination.js +9 -13
- package/cjs/Pagination/Pagination/index.d.ts +0 -1
- package/cjs/Pagination/Pagination/index.js +2 -13
- package/cjs/Pagination/index.d.ts +0 -1
- package/cjs/Pagination/index.js +2 -15
- package/cjs/Popover/Popover.d.ts +0 -1
- package/cjs/Popover/Popover.js +2 -3
- package/cjs/Popover/index.d.ts +0 -1
- package/cjs/Popover/index.js +2 -11
- package/cjs/ProgressBar/ProgressBar.d.ts +0 -1
- package/cjs/ProgressBar/ProgressBar.js +2 -3
- package/cjs/ProgressBar/index.d.ts +0 -1
- package/cjs/ProgressBar/index.js +2 -13
- package/cjs/ProgressSpinner/ProgressSpinner.d.ts +0 -1
- package/cjs/ProgressSpinner/ProgressSpinner.js +2 -3
- package/cjs/ProgressSpinner/index.d.ts +0 -1
- package/cjs/ProgressSpinner/index.js +2 -13
- package/cjs/RadioGroup/RadioButton.d.ts +0 -1
- package/cjs/RadioGroup/RadioButton.js +2 -3
- package/cjs/RadioGroup/RadioGroup.d.ts +1 -1
- package/cjs/RadioGroup/RadioGroup.js +8 -9
- package/cjs/RadioGroup/index.d.ts +0 -1
- package/cjs/RadioGroup/index.js +2 -15
- package/cjs/RangeSlider/RangeSlider.d.ts +1 -1
- package/cjs/RangeSlider/RangeSlider.js +2 -3
- package/cjs/RangeSlider/index.d.ts +0 -1
- package/cjs/RangeSlider/index.js +2 -13
- package/cjs/Satellite/Satellite.d.ts +0 -1
- package/cjs/Satellite/Satellite.js +4 -6
- package/cjs/Satellite/SatelliteContext.d.ts +0 -1
- package/cjs/Satellite/SatelliteContext.js +2 -3
- package/cjs/Satellite/index.d.ts +0 -1
- package/cjs/Satellite/index.js +2 -17
- package/cjs/Satellite/locale.js +2 -3
- package/cjs/ScrollIndicator/ScrollIndicator.d.ts +0 -1
- package/cjs/ScrollIndicator/ScrollIndicator.js +2 -3
- package/cjs/ScrollIndicator/index.d.ts +0 -1
- package/cjs/ScrollIndicator/index.js +2 -13
- package/cjs/Select/Select.d.ts +0 -1
- package/cjs/Select/Select.js +2 -3
- package/cjs/Select/index.d.ts +0 -1
- package/cjs/Select/index.js +2 -13
- package/cjs/Separator/Separator.d.ts +0 -1
- package/cjs/Separator/Separator.js +2 -3
- package/cjs/Separator/index.d.ts +0 -1
- package/cjs/Separator/index.js +2 -13
- package/cjs/Sidebar/Sidebar.js +4 -4
- package/cjs/Sidebar/SidebarButtonLink.js +2 -2
- package/cjs/Sidebar/SidebarLink.js +2 -2
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +2 -2
- package/cjs/Stepper/Step.d.ts +0 -1
- package/cjs/Stepper/Step.js +2 -3
- package/cjs/Stepper/Stepper.d.ts +0 -1
- package/cjs/Stepper/Stepper.js +2 -3
- package/cjs/Stepper/index.d.ts +0 -1
- package/cjs/Stepper/index.js +2 -15
- package/cjs/Switch/Switch.d.ts +0 -1
- package/cjs/Switch/Switch.js +4 -5
- package/cjs/Switch/SwitchOption.d.ts +0 -1
- package/cjs/Switch/SwitchOption.js +2 -3
- package/cjs/Switch/index.d.ts +0 -1
- package/cjs/Switch/index.js +2 -14
- package/cjs/Tables/DataTable/DataTable.d.ts +1 -1
- package/cjs/Tables/DataTable/DataTable.js +15 -16
- package/cjs/Tables/DataTable/components/Body.d.ts +2 -3
- package/cjs/Tables/DataTable/components/Body.js +6 -7
- package/cjs/Tables/DataTable/components/Footer.d.ts +2 -3
- package/cjs/Tables/DataTable/components/Footer.js +5 -9
- package/cjs/Tables/DataTable/components/Header.d.ts +2 -3
- package/cjs/Tables/DataTable/components/Header.js +5 -6
- package/cjs/Tables/DataTable/components/HeaderCell.d.ts +2 -3
- package/cjs/Tables/DataTable/components/HeaderCell.js +3 -4
- package/cjs/Tables/DataTable/components/Loader.d.ts +2 -3
- package/cjs/Tables/DataTable/components/Loader.js +8 -9
- package/cjs/Tables/DataTable/index.d.ts +0 -1
- package/cjs/Tables/DataTable/index.js +2 -14
- package/cjs/Tables/Table/Table.d.ts +0 -1
- package/cjs/Tables/Table/Table.js +4 -5
- package/cjs/Tables/Table/components/TableFooter.d.ts +0 -1
- package/cjs/Tables/Table/components/TableFooter.js +2 -3
- package/cjs/Tables/Table/index.d.ts +0 -1
- package/cjs/Tables/Table/index.js +2 -14
- package/cjs/Tables/index.d.ts +0 -1
- package/cjs/Tables/index.js +2 -14
- package/cjs/Tabs/ContentTabs.d.ts +0 -1
- package/cjs/Tabs/ContentTabs.js +4 -5
- package/cjs/Tabs/LinkTabs.d.ts +0 -1
- package/cjs/Tabs/LinkTabs.js +6 -7
- package/cjs/Tabs/components/LinkTab.d.ts +0 -1
- package/cjs/Tabs/components/LinkTab.js +6 -7
- package/cjs/Tabs/index.d.ts +0 -1
- package/cjs/Tabs/index.js +2 -15
- package/cjs/Tag/Tag.d.ts +0 -1
- package/cjs/Tag/Tag.js +2 -3
- package/cjs/Tag/index.d.ts +0 -1
- package/cjs/Tag/index.js +2 -13
- package/cjs/TextArea/TextArea.d.ts +0 -1
- package/cjs/TextArea/TextArea.js +2 -3
- package/cjs/TextArea/index.d.ts +0 -1
- package/cjs/TextArea/index.js +2 -13
- package/cjs/TextWrap/TextWrap.d.ts +0 -1
- package/cjs/TextWrap/TextWrap.js +4 -5
- package/cjs/TextWrap/index.d.ts +0 -1
- package/cjs/TextWrap/index.js +2 -13
- package/cjs/Toast/Toast.d.ts +0 -1
- package/cjs/Toast/Toast.js +6 -7
- package/cjs/Toast/Toasts.d.ts +0 -1
- package/cjs/Toast/Toasts.js +4 -5
- package/cjs/Toast/index.d.ts +0 -1
- package/cjs/Toast/index.js +2 -15
- package/cjs/Toggle/Toggle.d.ts +0 -1
- package/cjs/Toggle/Toggle.js +2 -3
- package/cjs/Toggle/index.d.ts +0 -1
- package/cjs/Toggle/index.js +2 -13
- package/cjs/Tooltip/OverflowTooltipWrapper.js +2 -2
- package/cjs/Tooltip/Tooltip.d.ts +0 -1
- package/cjs/Tooltip/Tooltip.js +2 -3
- package/cjs/Tooltip/TooltipWrapper.js +2 -2
- package/cjs/Tooltip/index.d.ts +0 -1
- package/cjs/Tooltip/index.js +2 -15
- package/cjs/UserContent/UserContent.d.ts +0 -1
- package/cjs/UserContent/UserContent.js +2 -3
- package/cjs/utils/genericChangeHandler.d.ts +1 -1
- package/cjs/utils/genericChangeHandler.js +1 -3
- package/cjs/utils/hashCode.d.ts +0 -1
- package/cjs/utils/hashCode.js +2 -3
- package/cjs/utils/isCssPropertySupported.d.ts +1 -2
- package/cjs/utils/isCssPropertySupported.js +3 -4
- package/cjs/utils/isNil.d.ts +0 -1
- package/cjs/utils/isNil.js +2 -3
- package/cjs/utils/isRenderedChild.d.ts +1 -2
- package/cjs/utils/isRenderedChild.js +3 -4
- package/cjs/utils/matchLocation.d.ts +1 -2
- package/cjs/utils/matchLocation.js +5 -7
- package/cjs/utils/onlyText.d.ts +1 -2
- package/cjs/utils/onlyText.js +3 -4
- package/cjs/utils/parseUrl.d.ts +0 -1
- package/cjs/utils/parseUrl.js +2 -3
- package/cjs/utils/pluralize.d.ts +1 -1
- package/cjs/utils/pluralize.js +1 -3
- package/cjs/utils/range.d.ts +0 -1
- package/cjs/utils/range.js +1 -3
- package/cjs/utils/toSentenceCase.d.ts +0 -1
- package/cjs/utils/toSentenceCase.js +2 -3
- package/cjs/utils/uniqBy.d.ts +0 -1
- package/cjs/utils/uniqBy.js +1 -3
- package/cjs/utils/uniqueId.d.ts +0 -1
- package/cjs/utils/uniqueId.js +1 -3
- package/cjs/utils/useForwardedRef.d.ts +1 -2
- package/cjs/utils/useForwardedRef.js +2 -3
- package/cjs/utils/useLinkProps.d.ts +0 -1
- package/cjs/utils/useLinkProps.js +4 -6
- package/cjs/utils/useTriggerInputChange.d.ts +2 -2
- package/cjs/utils/useTriggerInputChange.js +3 -4
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +0 -1
- package/esm/AnnouncementBadge/AnnouncementBadge.js +1 -2
- package/esm/AnnouncementBadge/index.d.ts +0 -1
- package/esm/AnnouncementBadge/index.js +1 -2
- package/esm/AutoComplete/AutoComplete.d.ts +0 -1
- package/esm/AutoComplete/AutoComplete.js +5 -6
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +0 -1
- package/esm/AutoComplete/components/AutoCompleteEmptyState.js +1 -2
- package/esm/AutoComplete/components/DefaultOptionItem.d.ts +0 -1
- package/esm/AutoComplete/components/DefaultOptionItem.js +1 -2
- package/esm/AutoComplete/index.d.ts +0 -1
- package/esm/AutoComplete/index.js +1 -2
- package/esm/AutoComplete/utils.js +1 -1
- package/esm/Avatars/ApplicationAvatar.d.ts +0 -1
- package/esm/Avatars/ApplicationAvatar.js +1 -2
- package/esm/Avatars/UserAvatar.d.ts +0 -1
- package/esm/Avatars/UserAvatar.js +1 -2
- package/esm/Avatars/index.d.ts +0 -1
- package/esm/Avatars/index.js +1 -2
- package/esm/Avatars/utils.js +1 -1
- package/esm/Badge/Badge.d.ts +1 -1
- package/esm/Badge/Badge.js +2 -3
- package/esm/Badge/index.d.ts +0 -1
- package/esm/Badge/index.js +1 -2
- package/esm/Banners/Alert/Alert.d.ts +0 -1
- package/esm/Banners/Alert/Alert.js +1 -2
- package/esm/Banners/Alert/index.d.ts +0 -1
- package/esm/Banners/Alert/index.js +1 -2
- package/esm/Banners/Promote/Promote.d.ts +1 -1
- package/esm/Banners/Promote/Promote.js +2 -3
- package/esm/Banners/Promote/index.d.ts +0 -1
- package/esm/Banners/Promote/index.js +1 -2
- package/esm/Banners/SystemNotification/SystemNotification.d.ts +0 -1
- package/esm/Banners/SystemNotification/SystemNotification.js +1 -2
- package/esm/Banners/SystemNotification/index.d.ts +0 -1
- package/esm/Banners/SystemNotification/index.js +1 -2
- package/esm/Button/Button.d.ts +0 -1
- package/esm/Button/Button.js +1 -2
- package/esm/Button/ButtonGroup.d.ts +0 -1
- package/esm/Button/ButtonGroup.js +1 -2
- package/esm/Button/IconButton.d.ts +0 -1
- package/esm/Button/IconButton.js +1 -2
- package/esm/Button/PolymorphicButton.js +1 -1
- package/esm/Button/PolymorphicIconButton.js +1 -1
- package/esm/Button/index.d.ts +0 -1
- package/esm/Button/index.js +1 -1
- package/esm/Card/Card.d.ts +3 -3
- package/esm/Card/Card.js +3 -4
- package/esm/Card/components/CardHeader.d.ts +0 -1
- package/esm/Card/components/CardHeader.js +1 -2
- package/esm/Card/components/CardTitle.d.ts +1 -1
- package/esm/Card/components/CardTitle.js +1 -2
- package/esm/Card/index.d.ts +0 -1
- package/esm/Card/index.js +1 -2
- package/esm/Checkbox/Checkbox.d.ts +1 -1
- package/esm/Checkbox/Checkbox.js +2 -3
- package/esm/Checkbox/index.d.ts +0 -1
- package/esm/Checkbox/index.js +1 -2
- package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
- package/esm/ClickAwayContainer/ClickAwayContainer.js +1 -2
- package/esm/DatePicker/DatePicker/DatePicker.d.ts +8 -8
- package/esm/DatePicker/DatePicker/DatePicker.js +14 -15
- package/esm/DatePicker/DatePicker/index.d.ts +0 -1
- package/esm/DatePicker/DatePicker/index.js +1 -2
- package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/esm/DatePicker/DateRangePicker/DateRangePicker.js +13 -14
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +4 -5
- package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +4 -5
- package/esm/DatePicker/DateRangePicker/index.d.ts +0 -1
- package/esm/DatePicker/DateRangePicker/index.js +1 -2
- package/esm/DatePicker/components/Calendar.d.ts +3 -3
- package/esm/DatePicker/components/Calendar.js +3 -4
- package/esm/DatePicker/components/Display.d.ts +2 -3
- package/esm/DatePicker/components/Display.js +3 -4
- package/esm/DatePicker/components/Footer.d.ts +2 -3
- package/esm/DatePicker/components/Footer.js +2 -3
- package/esm/DatePicker/components/FooterActions.d.ts +2 -3
- package/esm/DatePicker/components/FooterActions.js +2 -3
- package/esm/DatePicker/components/Modal.d.ts +2 -3
- package/esm/DatePicker/components/Modal.js +2 -3
- package/esm/DatePicker/components/NavBar.d.ts +1 -2
- package/esm/DatePicker/components/NavBar.js +2 -3
- package/esm/DatePicker/components/SidePanel.d.ts +2 -3
- package/esm/DatePicker/components/SidePanel.js +2 -3
- package/esm/DatePicker/components/index.d.ts +7 -12
- package/esm/DatePicker/components/index.js +6 -6
- package/esm/DatePicker/types.d.ts +2 -2
- package/esm/Dropdown/Dropdown.d.ts +8 -8
- package/esm/Dropdown/Dropdown.js +10 -11
- package/esm/Dropdown/DropdownButton.d.ts +0 -1
- package/esm/Dropdown/DropdownButton.js +3 -4
- package/esm/Dropdown/DropdownContext.d.ts +0 -1
- package/esm/Dropdown/DropdownContext.js +1 -2
- package/esm/Dropdown/components/DropdownButtonItem.d.ts +0 -1
- package/esm/Dropdown/components/DropdownButtonItem.js +2 -3
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +1 -2
- package/esm/Dropdown/components/DropdownDivider.d.ts +0 -1
- package/esm/Dropdown/components/DropdownDivider.js +1 -2
- package/esm/Dropdown/components/DropdownFooterItem.d.ts +1 -1
- package/esm/Dropdown/components/DropdownFooterItem.js +1 -2
- package/esm/Dropdown/components/DropdownLinkItem.d.ts +0 -1
- package/esm/Dropdown/components/DropdownLinkItem.js +3 -4
- package/esm/Dropdown/components/DropdownRadioItem.d.ts +0 -1
- package/esm/Dropdown/components/DropdownRadioItem.js +2 -3
- package/esm/Dropdown/components/DropdownTitle.d.ts +0 -1
- package/esm/Dropdown/components/DropdownTitle.js +1 -2
- package/esm/Dropdown/components/DropdownToggleItem.d.ts +0 -1
- package/esm/Dropdown/components/DropdownToggleItem.js +2 -3
- package/esm/Dropdown/index.d.ts +0 -1
- package/esm/Dropdown/index.js +1 -2
- package/esm/Dropdown/useDropdownItemProps.d.ts +0 -1
- package/esm/Dropdown/useDropdownItemProps.js +1 -2
- package/esm/Dropzone/Dropzone.d.ts +0 -1
- package/esm/Dropzone/Dropzone.js +1 -2
- package/esm/Dropzone/index.d.ts +0 -1
- package/esm/Dropzone/index.js +1 -2
- package/esm/EmptyState/EmptyState.d.ts +0 -1
- package/esm/EmptyState/EmptyState.js +1 -2
- package/esm/EmptyState/index.d.ts +0 -1
- package/esm/EmptyState/index.js +1 -2
- package/esm/Field/Field.d.ts +0 -1
- package/esm/Field/Field.js +1 -2
- package/esm/Field/index.d.ts +0 -1
- package/esm/Field/index.js +1 -2
- package/esm/FlexGrid/FlexGrid.d.ts +0 -1
- package/esm/FlexGrid/FlexGrid.js +2 -3
- package/esm/FlexGrid/index.d.ts +0 -1
- package/esm/FlexGrid/index.js +1 -2
- package/esm/HelpUnderline/HelpUnderline.d.ts +0 -1
- package/esm/HelpUnderline/HelpUnderline.js +1 -2
- package/esm/HelpUnderline/index.d.ts +0 -1
- package/esm/HelpUnderline/index.js +1 -2
- package/esm/Input/Input.d.ts +0 -1
- package/esm/Input/Input.js +4 -5
- package/esm/Input/index.d.ts +0 -1
- package/esm/Input/index.js +1 -2
- package/esm/Insert/Insert.d.ts +1 -1
- package/esm/Insert/Insert.js +3 -4
- package/esm/Insert/index.d.ts +0 -1
- package/esm/Insert/index.js +1 -2
- package/esm/KeyboardKey/index.d.ts +0 -1
- package/esm/KeyboardKey/index.js +1 -2
- package/esm/Link/BaseLink.d.ts +0 -1
- package/esm/Link/BaseLink.js +2 -3
- package/esm/Link/ButtonLink.d.ts +0 -1
- package/esm/Link/ButtonLink.js +2 -3
- package/esm/Link/IconButtonLink.d.ts +0 -1
- package/esm/Link/IconButtonLink.js +2 -3
- package/esm/Link/Link.d.ts +0 -1
- package/esm/Link/Link.js +2 -3
- package/esm/Link/index.d.ts +0 -1
- package/esm/Link/index.js +1 -2
- package/esm/Medallion/Medallion.d.ts +0 -1
- package/esm/Medallion/Medallion.js +1 -2
- package/esm/Medallion/index.d.ts +0 -1
- package/esm/Medallion/index.js +1 -2
- package/esm/MenuButton/MenuButton.d.ts +0 -1
- package/esm/MenuButton/MenuButton.js +5 -6
- package/esm/MenuButton/components/Content.js +1 -1
- package/esm/MenuButton/components/CustomTrigger.d.ts +0 -1
- package/esm/MenuButton/components/CustomTrigger.js +1 -2
- package/esm/MenuButton/components/DefaultTrigger.d.ts +0 -1
- package/esm/MenuButton/components/DefaultTrigger.js +2 -3
- package/esm/MenuButton/components/Divider.d.ts +0 -1
- package/esm/MenuButton/components/Divider.js +1 -2
- package/esm/MenuButton/components/Label.d.ts +0 -1
- package/esm/MenuButton/components/Label.js +1 -2
- package/esm/MenuButton/components/collapsible/CollapsibleItem.d.ts +0 -1
- package/esm/MenuButton/components/collapsible/CollapsibleItem.js +1 -2
- package/esm/MenuButton/components/items/Item.d.ts +0 -1
- package/esm/MenuButton/components/items/Item.js +1 -2
- package/esm/MenuButton/components/items/LinkItem.d.ts +7 -1
- package/esm/MenuButton/components/items/LinkItem.js +10 -7
- package/esm/MenuButton/components/items/RadioItem.d.ts +0 -1
- package/esm/MenuButton/components/items/RadioItem.js +2 -3
- package/esm/MenuButton/components/items/ToggleItem.d.ts +0 -1
- package/esm/MenuButton/components/items/ToggleItem.js +2 -3
- package/esm/MenuButton/useMenuItemProps.d.ts +0 -1
- package/esm/MenuButton/useMenuItemProps.js +1 -2
- package/esm/Modal/Modal.d.ts +3 -3
- package/esm/Modal/Modal.js +4 -5
- package/esm/Modal/components/ModalFooter.d.ts +0 -1
- package/esm/Modal/components/ModalFooter.js +2 -3
- package/esm/Modal/components/ModalSection.d.ts +0 -1
- package/esm/Modal/components/ModalSection.js +1 -2
- package/esm/Modal/index.d.ts +0 -1
- package/esm/Modal/index.js +1 -2
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +1 -1
- package/esm/Pagination/CompactPagination/CompactPagination.js +1 -2
- package/esm/Pagination/CompactPagination/index.d.ts +0 -1
- package/esm/Pagination/CompactPagination/index.js +1 -2
- package/esm/Pagination/DotPagination/DotPagination.d.ts +0 -1
- package/esm/Pagination/DotPagination/DotPagination.js +1 -2
- package/esm/Pagination/DotPagination/index.d.ts +0 -1
- package/esm/Pagination/DotPagination/index.js +1 -2
- package/esm/Pagination/Pagination/Pagination.d.ts +0 -1
- package/esm/Pagination/Pagination/Pagination.js +3 -4
- package/esm/Pagination/Pagination/index.d.ts +0 -1
- package/esm/Pagination/Pagination/index.js +1 -2
- package/esm/Pagination/index.d.ts +0 -1
- package/esm/Pagination/index.js +1 -2
- package/esm/Popover/Popover.d.ts +0 -1
- package/esm/Popover/Popover.js +1 -2
- package/esm/Popover/index.d.ts +0 -1
- package/esm/Popover/index.js +1 -2
- package/esm/ProgressBar/ProgressBar.d.ts +0 -1
- package/esm/ProgressBar/ProgressBar.js +1 -2
- package/esm/ProgressBar/index.d.ts +0 -1
- package/esm/ProgressBar/index.js +1 -2
- package/esm/ProgressSpinner/ProgressSpinner.d.ts +0 -1
- package/esm/ProgressSpinner/ProgressSpinner.js +1 -2
- package/esm/ProgressSpinner/index.d.ts +0 -1
- package/esm/ProgressSpinner/index.js +1 -2
- package/esm/RadioGroup/RadioButton.d.ts +0 -1
- package/esm/RadioGroup/RadioButton.js +1 -2
- package/esm/RadioGroup/RadioGroup.d.ts +1 -1
- package/esm/RadioGroup/RadioGroup.js +4 -5
- package/esm/RadioGroup/index.d.ts +0 -1
- package/esm/RadioGroup/index.js +1 -2
- package/esm/RangeSlider/RangeSlider.d.ts +1 -1
- package/esm/RangeSlider/RangeSlider.js +1 -2
- package/esm/RangeSlider/index.d.ts +0 -1
- package/esm/RangeSlider/index.js +1 -2
- package/esm/Satellite/Satellite.d.ts +0 -1
- package/esm/Satellite/Satellite.js +2 -3
- package/esm/Satellite/SatelliteContext.d.ts +0 -1
- package/esm/Satellite/SatelliteContext.js +1 -2
- package/esm/Satellite/index.d.ts +0 -1
- package/esm/Satellite/index.js +1 -2
- package/esm/Satellite/locale.js +1 -1
- package/esm/ScrollIndicator/ScrollIndicator.d.ts +0 -1
- package/esm/ScrollIndicator/ScrollIndicator.js +1 -2
- package/esm/ScrollIndicator/index.d.ts +0 -1
- package/esm/ScrollIndicator/index.js +1 -2
- package/esm/Select/Select.d.ts +0 -1
- package/esm/Select/Select.js +1 -2
- package/esm/Select/index.d.ts +0 -1
- package/esm/Select/index.js +1 -2
- package/esm/Separator/Separator.d.ts +0 -1
- package/esm/Separator/Separator.js +1 -2
- package/esm/Separator/index.d.ts +0 -1
- package/esm/Separator/index.js +1 -2
- package/esm/Sidebar/Sidebar.js +2 -2
- package/esm/Sidebar/SidebarButtonLink.js +1 -1
- package/esm/Sidebar/SidebarLink.js +1 -1
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +1 -1
- package/esm/Stepper/Step.d.ts +0 -1
- package/esm/Stepper/Step.js +1 -2
- package/esm/Stepper/Stepper.d.ts +0 -1
- package/esm/Stepper/Stepper.js +1 -2
- package/esm/Stepper/index.d.ts +0 -1
- package/esm/Stepper/index.js +1 -2
- package/esm/Switch/Switch.d.ts +0 -1
- package/esm/Switch/Switch.js +2 -3
- package/esm/Switch/SwitchOption.d.ts +0 -1
- package/esm/Switch/SwitchOption.js +1 -2
- package/esm/Switch/index.d.ts +0 -1
- package/esm/Switch/index.js +1 -2
- package/esm/Tables/DataTable/DataTable.d.ts +1 -1
- package/esm/Tables/DataTable/DataTable.js +7 -8
- package/esm/Tables/DataTable/components/Body.d.ts +2 -3
- package/esm/Tables/DataTable/components/Body.js +3 -4
- package/esm/Tables/DataTable/components/Footer.d.ts +2 -3
- package/esm/Tables/DataTable/components/Footer.js +3 -4
- package/esm/Tables/DataTable/components/Header.d.ts +2 -3
- package/esm/Tables/DataTable/components/Header.js +4 -5
- package/esm/Tables/DataTable/components/HeaderCell.d.ts +2 -3
- package/esm/Tables/DataTable/components/HeaderCell.js +2 -3
- package/esm/Tables/DataTable/components/Loader.d.ts +2 -3
- package/esm/Tables/DataTable/components/Loader.js +4 -5
- package/esm/Tables/DataTable/index.d.ts +0 -1
- package/esm/Tables/DataTable/index.js +1 -2
- package/esm/Tables/Table/Table.d.ts +0 -1
- package/esm/Tables/Table/Table.js +2 -3
- package/esm/Tables/Table/components/TableFooter.d.ts +0 -1
- package/esm/Tables/Table/components/TableFooter.js +1 -2
- package/esm/Tables/Table/index.d.ts +0 -1
- package/esm/Tables/Table/index.js +1 -2
- package/esm/Tables/index.d.ts +0 -1
- package/esm/Tables/index.js +1 -2
- package/esm/Tabs/ContentTabs.d.ts +0 -1
- package/esm/Tabs/ContentTabs.js +2 -3
- package/esm/Tabs/LinkTabs.d.ts +0 -1
- package/esm/Tabs/LinkTabs.js +3 -4
- package/esm/Tabs/components/LinkTab.d.ts +0 -1
- package/esm/Tabs/components/LinkTab.js +3 -4
- package/esm/Tabs/index.d.ts +0 -1
- package/esm/Tabs/index.js +1 -2
- package/esm/Tag/Tag.d.ts +0 -1
- package/esm/Tag/Tag.js +1 -2
- package/esm/Tag/index.d.ts +0 -1
- package/esm/Tag/index.js +1 -2
- package/esm/TextArea/TextArea.d.ts +0 -1
- package/esm/TextArea/TextArea.js +1 -2
- package/esm/TextArea/index.d.ts +0 -1
- package/esm/TextArea/index.js +1 -2
- package/esm/TextWrap/TextWrap.d.ts +0 -1
- package/esm/TextWrap/TextWrap.js +2 -3
- package/esm/TextWrap/index.d.ts +0 -1
- package/esm/TextWrap/index.js +1 -2
- package/esm/Toast/Toast.d.ts +0 -1
- package/esm/Toast/Toast.js +3 -4
- package/esm/Toast/Toasts.d.ts +0 -1
- package/esm/Toast/Toasts.js +2 -3
- package/esm/Toast/index.d.ts +0 -1
- package/esm/Toast/index.js +1 -2
- package/esm/Toggle/Toggle.d.ts +0 -1
- package/esm/Toggle/Toggle.js +1 -2
- package/esm/Toggle/index.d.ts +0 -1
- package/esm/Toggle/index.js +1 -2
- package/esm/Tooltip/OverflowTooltipWrapper.js +1 -1
- package/esm/Tooltip/Tooltip.d.ts +0 -1
- package/esm/Tooltip/Tooltip.js +1 -2
- package/esm/Tooltip/TooltipWrapper.js +2 -2
- package/esm/Tooltip/index.d.ts +0 -1
- package/esm/Tooltip/index.js +1 -2
- package/esm/UserContent/UserContent.d.ts +0 -1
- package/esm/UserContent/UserContent.js +1 -2
- package/esm/utils/genericChangeHandler.d.ts +1 -1
- package/esm/utils/genericChangeHandler.js +1 -2
- package/esm/utils/hashCode.d.ts +0 -1
- package/esm/utils/hashCode.js +1 -2
- package/esm/utils/isCssPropertySupported.d.ts +1 -2
- package/esm/utils/isCssPropertySupported.js +2 -3
- package/esm/utils/isNil.d.ts +0 -1
- package/esm/utils/isNil.js +1 -2
- package/esm/utils/isRenderedChild.d.ts +1 -2
- package/esm/utils/isRenderedChild.js +2 -3
- package/esm/utils/matchLocation.d.ts +1 -2
- package/esm/utils/matchLocation.js +3 -4
- package/esm/utils/onlyText.d.ts +1 -2
- package/esm/utils/onlyText.js +2 -3
- package/esm/utils/parseUrl.d.ts +0 -1
- package/esm/utils/parseUrl.js +1 -2
- package/esm/utils/pluralize.d.ts +1 -1
- package/esm/utils/pluralize.js +1 -2
- package/esm/utils/range.d.ts +0 -1
- package/esm/utils/range.js +1 -2
- package/esm/utils/toSentenceCase.d.ts +0 -1
- package/esm/utils/toSentenceCase.js +1 -2
- package/esm/utils/uniqBy.d.ts +0 -1
- package/esm/utils/uniqBy.js +1 -2
- package/esm/utils/uniqueId.d.ts +0 -1
- package/esm/utils/uniqueId.js +1 -2
- package/esm/utils/useForwardedRef.d.ts +1 -2
- package/esm/utils/useForwardedRef.js +2 -3
- package/esm/utils/useLinkProps.d.ts +0 -1
- package/esm/utils/useLinkProps.js +2 -3
- package/esm/utils/useTriggerInputChange.d.ts +2 -2
- package/esm/utils/useTriggerInputChange.js +2 -3
- package/package.json +1 -1
package/esm/TextArea/TextArea.js
CHANGED
package/esm/TextArea/index.d.ts
CHANGED
package/esm/TextArea/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./TextArea";
|
2
|
-
export { default } from "./TextArea";
|
1
|
+
export * from "./TextArea";
|
@@ -10,4 +10,3 @@ export interface TextWrapProps extends Omit<JSX.IntrinsicElements["span"], "chil
|
|
10
10
|
* See the [Text Wrap documentation page](https://satellite.algolia.com/components/misc/text-wrap) for more information.
|
11
11
|
*/
|
12
12
|
export declare const TextWrap: VFC<TextWrapProps>;
|
13
|
-
export default TextWrap;
|
package/esm/TextWrap/TextWrap.js
CHANGED
@@ -6,7 +6,7 @@ var _templateObject;
|
|
6
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
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
8
|
import stl from "../styles/helpers/satellitePrefixer";
|
9
|
-
import isCssPropertySupported from "../utils/isCssPropertySupported";
|
9
|
+
import { isCssPropertySupported } from "../utils/isCssPropertySupported";
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
12
12
|
var BASE_STYLES = isCssPropertySupported("overflowWrap", "anywhere") ? {
|
@@ -49,5 +49,4 @@ export var TextWrap = function TextWrap(_ref) {
|
|
49
49
|
}, "".concat(idx, "-").concat(part));
|
50
50
|
}).filter(Boolean)
|
51
51
|
}));
|
52
|
-
};
|
53
|
-
export default TextWrap;
|
52
|
+
};
|
package/esm/TextWrap/index.d.ts
CHANGED
package/esm/TextWrap/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./TextWrap";
|
2
|
-
export { default } from "./TextWrap";
|
1
|
+
export * from "./TextWrap";
|
package/esm/Toast/Toast.d.ts
CHANGED
@@ -3,4 +3,3 @@ import type { Notification } from "./types";
|
|
3
3
|
export declare type ToastLocale = Notification["locale"];
|
4
4
|
export declare type ToastProps = Omit<Notification, "id" | "content" | "autoDismissAfter"> & Omit<HTMLAttributes<HTMLElement>, "title">;
|
5
5
|
export declare const Toast: FC<ToastProps>;
|
6
|
-
export default Toast;
|
package/esm/Toast/Toast.js
CHANGED
@@ -10,10 +10,10 @@ import cx from "clsx";
|
|
10
10
|
import { IconButton } from "../Button";
|
11
11
|
import { Card } from "../Card";
|
12
12
|
import { CheckIcon, XIcon } from "../Icons";
|
13
|
-
import ProgressSpinner from "../ProgressSpinner";
|
13
|
+
import { ProgressSpinner } from "../ProgressSpinner";
|
14
14
|
import { useLocale } from "../Satellite";
|
15
15
|
import stl from "../styles/helpers/satellitePrefixer";
|
16
|
-
import isRenderedChild from "../utils/isRenderedChild";
|
16
|
+
import { isRenderedChild } from "../utils/isRenderedChild";
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
18
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
19
19
|
var DEFAULT_TOAST_LOCALE = {
|
@@ -98,5 +98,4 @@ export var Toast = function Toast(_ref) {
|
|
98
98
|
})]
|
99
99
|
})
|
100
100
|
}));
|
101
|
-
};
|
102
|
-
export default Toast;
|
101
|
+
};
|
package/esm/Toast/Toasts.d.ts
CHANGED
package/esm/Toast/Toasts.js
CHANGED
@@ -10,7 +10,7 @@ import { CSSTransition, TransitionGroup } from "react-transition-group";
|
|
10
10
|
import { useCreatePortal, useLocale } from "../Satellite";
|
11
11
|
import stl from "../styles/helpers/satellitePrefixer";
|
12
12
|
import { prefersReducedMotion } from "../utils/prefersReducedMotion";
|
13
|
-
import Toast from "./Toast";
|
13
|
+
import { Toast } from "./Toast";
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
15
15
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
16
|
var DEFAULT_TOASTS_LOCALE = {
|
@@ -89,5 +89,4 @@ export var Toasts = function Toasts(_ref) {
|
|
89
89
|
className: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["z-notification bottom-0 right-0 fixed flex flex-col items-end p-4 gap-4"])))
|
90
90
|
})]
|
91
91
|
}));
|
92
|
-
};
|
93
|
-
export default Toasts;
|
92
|
+
};
|
package/esm/Toast/index.d.ts
CHANGED
package/esm/Toast/index.js
CHANGED
package/esm/Toggle/Toggle.d.ts
CHANGED
@@ -10,4 +10,3 @@ export declare type ToggleProps = Omit<HTMLAttributes<HTMLInputElement>, "childr
|
|
10
10
|
export declare const Toggle: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "onChange" | "autoFocus" | "disabled" | "checked" | "required"> & {
|
11
11
|
decorative?: boolean | undefined;
|
12
12
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
13
|
-
export default Toggle;
|
package/esm/Toggle/Toggle.js
CHANGED
package/esm/Toggle/index.d.ts
CHANGED
package/esm/Toggle/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./Toggle";
|
2
|
-
export { default } from "./Toggle";
|
1
|
+
export * from "./Toggle";
|
@@ -9,7 +9,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
9
9
|
import { Slot } from "@radix-ui/react-slot";
|
10
10
|
import { useState } from "react";
|
11
11
|
import stl from "../styles/helpers/satellitePrefixer";
|
12
|
-
import TextWrap from "../TextWrap";
|
12
|
+
import { TextWrap } from "../TextWrap";
|
13
13
|
import { isReactText } from "../utils/isReactText";
|
14
14
|
import { TooltipWrapper } from "./TooltipWrapper";
|
15
15
|
import { isOverflowing } from "./utils";
|
package/esm/Tooltip/Tooltip.d.ts
CHANGED
@@ -9,4 +9,3 @@ export interface TooltipProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivEl
|
|
9
9
|
* See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
|
10
10
|
*/
|
11
11
|
export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "dir" | "slot" | "style" | "title" | "children" | "id" | "variant" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
|
12
|
-
export default Tooltip;
|
package/esm/Tooltip/Tooltip.js
CHANGED
@@ -6,7 +6,7 @@ import { Fragment } from "react";
|
|
6
6
|
import { useCreatePortal } from "../Satellite";
|
7
7
|
import stl from "../styles/helpers/satellitePrefixer";
|
8
8
|
import { isReactText } from "../utils/isReactText";
|
9
|
-
import
|
9
|
+
import { Tooltip as SatelliteTooltip } from "./Tooltip";
|
10
10
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -65,7 +65,7 @@ export var TooltipWrapper = function TooltipWrapper(_ref) {
|
|
65
65
|
align: align,
|
66
66
|
alignOffset: alignOffset,
|
67
67
|
avoidCollisions: avoidCollisions,
|
68
|
-
children: [/*#__PURE__*/_jsx(
|
68
|
+
children: [/*#__PURE__*/_jsx(SatelliteTooltip, {
|
69
69
|
variant: tooltipVariant,
|
70
70
|
children: tooltipContent
|
71
71
|
}), !noArrow && /*#__PURE__*/_jsx(Tooltip.Arrow, {
|
package/esm/Tooltip/index.d.ts
CHANGED
package/esm/Tooltip/index.js
CHANGED
@@ -2,4 +2,4 @@ import type { ChangeEvent, Component } from "react";
|
|
2
2
|
declare type stateUpdater<State> = (state: State, name: string, newValue: any) => Partial<State>;
|
3
3
|
declare type changeHandler = (evt: ChangeEvent<any>) => void;
|
4
4
|
export declare function genericChangeHandler<State>(ctx: Component<any, State>, updater?: stateUpdater<State>): (name: string, attribute?: string) => changeHandler;
|
5
|
-
export
|
5
|
+
export {};
|
package/esm/utils/hashCode.d.ts
CHANGED
package/esm/utils/hashCode.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
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;
|
2
|
-
export default isCssPropertySupported;
|
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;
|
@@ -1,9 +1,8 @@
|
|
1
|
-
var isCssPropertySupported = function isCssPropertySupported(prop, value) {
|
1
|
+
export var isCssPropertySupported = function isCssPropertySupported(prop, value) {
|
2
2
|
if (typeof document === "undefined") {
|
3
3
|
return false;
|
4
4
|
}
|
5
5
|
var div = document.createElement("div");
|
6
6
|
div.style[prop] = value;
|
7
7
|
return div.style[prop] === value;
|
8
|
-
};
|
9
|
-
export default isCssPropertySupported;
|
8
|
+
};
|
package/esm/utils/isNil.d.ts
CHANGED
package/esm/utils/isNil.js
CHANGED
@@ -4,5 +4,4 @@ import type { ReactNode } from "react";
|
|
4
4
|
* See https://reactjs.org/docs/jsx-in-depth.html#booleans-null-and-undefined-are-ignored
|
5
5
|
* @param child
|
6
6
|
*/
|
7
|
-
declare const isRenderedChild: (child: ReactNode) => boolean;
|
8
|
-
export default isRenderedChild;
|
7
|
+
export declare const isRenderedChild: (child: ReactNode) => boolean;
|
@@ -3,7 +3,6 @@
|
|
3
3
|
* See https://reactjs.org/docs/jsx-in-depth.html#booleans-null-and-undefined-are-ignored
|
4
4
|
* @param child
|
5
5
|
*/
|
6
|
-
var isRenderedChild = function isRenderedChild(child) {
|
6
|
+
export var isRenderedChild = function isRenderedChild(child) {
|
7
7
|
return child !== null && typeof child !== "boolean" && typeof child !== "undefined";
|
8
|
-
};
|
9
|
-
export default isRenderedChild;
|
8
|
+
};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import parseURL from "./parseUrl";
|
2
|
-
var matchLocation = function matchLocation(href, location) {
|
1
|
+
import { parseURL } from "./parseUrl";
|
2
|
+
export var matchLocation = function matchLocation(href, location) {
|
3
3
|
return (location.pathname || "").startsWith(parseURL(href).pathname);
|
4
|
-
};
|
5
|
-
export default matchLocation;
|
4
|
+
};
|
package/esm/utils/onlyText.d.ts
CHANGED
package/esm/utils/onlyText.js
CHANGED
@@ -14,7 +14,7 @@ var childToString = function childToString(child) {
|
|
14
14
|
|
15
15
|
// Code stolen from `react-children-utils`
|
16
16
|
// @see https://github.com/fernandopasik/react-children-utilities/blob/main/src/lib/onlyText.ts
|
17
|
-
var onlyText = function onlyText(children) {
|
17
|
+
export var onlyText = function onlyText(children) {
|
18
18
|
if (!(children instanceof Array) && ! /*#__PURE__*/isValidElement(children)) {
|
19
19
|
return childToString(children);
|
20
20
|
}
|
@@ -29,5 +29,4 @@ var onlyText = function onlyText(children) {
|
|
29
29
|
}
|
30
30
|
return text.concat(newText);
|
31
31
|
}, "");
|
32
|
-
};
|
33
|
-
export default onlyText;
|
32
|
+
};
|
package/esm/utils/parseUrl.d.ts
CHANGED
package/esm/utils/parseUrl.js
CHANGED
package/esm/utils/pluralize.d.ts
CHANGED
package/esm/utils/pluralize.js
CHANGED
package/esm/utils/range.d.ts
CHANGED
package/esm/utils/range.js
CHANGED
@@ -5,5 +5,4 @@ export var toSentenceCase = function toSentenceCase(str) {
|
|
5
5
|
var firstChar = str.charAt(0);
|
6
6
|
var remainingChars = str.slice(1).replace(/\s/g, "").replace(/([A-Z]+)/g, "$1").replace(/([A-Z][a-z])/g, " $1").trim();
|
7
7
|
return capitalize("".concat(firstChar).concat(remainingChars));
|
8
|
-
};
|
9
|
-
export default toSentenceCase;
|
8
|
+
};
|
package/esm/utils/uniqBy.d.ts
CHANGED
package/esm/utils/uniqBy.js
CHANGED
package/esm/utils/uniqueId.d.ts
CHANGED
package/esm/utils/uniqueId.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
1
|
import type { MutableRefObject, Ref } from "react";
|
2
|
-
declare function useForwardedRef<T>(externalRef: Ref<T | null> | undefined): [(instance: T | null) => void, MutableRefObject<T | null>];
|
3
|
-
export default useForwardedRef;
|
2
|
+
export declare function useForwardedRef<T>(externalRef: Ref<T | null> | undefined): [(instance: T | null) => void, MutableRefObject<T | null>];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _typeof from "@babel/runtime/helpers/typeof";
|
2
2
|
import { useCallback, useRef } from "react";
|
3
|
-
function useForwardedRef(externalRef) {
|
3
|
+
export function useForwardedRef(externalRef) {
|
4
4
|
var ref = useRef(externalRef && _typeof(externalRef) === "object" ? externalRef.current : null);
|
5
5
|
var refCallback = useCallback(function (value) {
|
6
6
|
ref.current = value;
|
@@ -13,5 +13,4 @@ function useForwardedRef(externalRef) {
|
|
13
13
|
}
|
14
14
|
}, [externalRef]);
|
15
15
|
return [refCallback, ref];
|
16
|
-
}
|
17
|
-
export default useForwardedRef;
|
16
|
+
}
|
@@ -4,4 +4,3 @@ export declare type UseLinkPropsArgs = Pick<AnchorHTMLAttributes<HTMLAnchorEleme
|
|
4
4
|
};
|
5
5
|
export declare type UseLinkProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target" | "rel" | "role" | "tabIndex" | "aria-disabled">;
|
6
6
|
export declare const useLinkProps: (props: UseLinkPropsArgs) => UseLinkProps;
|
7
|
-
export default useLinkProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useMemo } from "react";
|
2
2
|
import { useSatelliteContext } from "../Satellite/SatelliteContext";
|
3
|
-
import parseURL from "./parseUrl";
|
3
|
+
import { parseURL } from "./parseUrl";
|
4
4
|
export var useLinkProps = function useLinkProps(props) {
|
5
5
|
var _props$target, _props$rel;
|
6
6
|
var _useSatelliteContext = useSatelliteContext(),
|
@@ -42,5 +42,4 @@ export var useLinkProps = function useLinkProps(props) {
|
|
42
42
|
role: props.role,
|
43
43
|
tabIndex: props.tabIndex
|
44
44
|
};
|
45
|
-
};
|
46
|
-
export default useLinkProps;
|
45
|
+
};
|
@@ -4,5 +4,5 @@ declare type InputValue = JSX.IntrinsicElements["input"]["value"];
|
|
4
4
|
* Trigger a native input change event.
|
5
5
|
* See https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
|
6
6
|
*/
|
7
|
-
declare const useTriggerInputChange: (inputRef: MutableRefObject<HTMLInputElement | null>) => (value: InputValue) => void;
|
8
|
-
export
|
7
|
+
export declare const useTriggerInputChange: (inputRef: MutableRefObject<HTMLInputElement | null>) => (value: InputValue) => void;
|
8
|
+
export {};
|
@@ -3,7 +3,7 @@ import { useCallback } from "react";
|
|
3
3
|
* Trigger a native input change event.
|
4
4
|
* See https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
|
5
5
|
*/
|
6
|
-
var useTriggerInputChange = function useTriggerInputChange(inputRef) {
|
6
|
+
export var useTriggerInputChange = function useTriggerInputChange(inputRef) {
|
7
7
|
var triggerInputChange = useCallback(function (value) {
|
8
8
|
var input = inputRef.current;
|
9
9
|
if (!input) return;
|
@@ -17,5 +17,4 @@ var useTriggerInputChange = function useTriggerInputChange(inputRef) {
|
|
17
17
|
input.dispatchEvent(ev2);
|
18
18
|
}, [inputRef]);
|
19
19
|
return triggerInputChange;
|
20
|
-
};
|
21
|
-
export default useTriggerInputChange;
|
20
|
+
};
|