@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
@@ -18,5 +18,4 @@ export var Label = function Label(_ref) {
|
|
18
18
|
className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["flex items-center h-10 px-4\n border-grey-100 border-b border-t first:border-t-0\n display-subheading"]))), className)
|
19
19
|
}))
|
20
20
|
});
|
21
|
-
};
|
22
|
-
export default Label;
|
21
|
+
};
|
@@ -1,10 +1,16 @@
|
|
1
1
|
import type { IconComponentType } from "Icons";
|
2
2
|
import type { FC } from "react";
|
3
3
|
import type { BaseItemProps } from "../../useMenuItemProps";
|
4
|
+
declare type LinkItemNavigationType = "auto" | "reload" | "newTab";
|
4
5
|
export declare type LinkItemProps = BaseItemProps & {
|
5
6
|
href: string;
|
6
7
|
/** Left aligned icon */
|
7
8
|
startIcon?: IconComponentType;
|
9
|
+
/**
|
10
|
+
* Configures how the link should be opened
|
11
|
+
* @default auto
|
12
|
+
* */
|
13
|
+
navigationType?: LinkItemNavigationType;
|
8
14
|
};
|
9
15
|
export declare const LinkItem: FC<LinkItemProps>;
|
10
|
-
export
|
16
|
+
export {};
|
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
4
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
5
|
-
var _excluded = ["startIcon", "className", "children", "onClick"];
|
5
|
+
var _excluded = ["startIcon", "className", "children", "onClick", "navigationType"];
|
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 * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
@@ -11,7 +11,7 @@ import { useMemo } from "react";
|
|
11
11
|
import { ExternalLinkIcon } from "../../../Icons";
|
12
12
|
import { useSatelliteContext } from "../../../Satellite";
|
13
13
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
14
|
-
import parseURL from "../../../utils/parseUrl";
|
14
|
+
import { parseURL } from "../../../utils/parseUrl";
|
15
15
|
import { useMenuItemProps } from "../../useMenuItemProps";
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -24,16 +24,20 @@ export var LinkItem = function LinkItem(props) {
|
|
24
24
|
className = _props$itemProps.className,
|
25
25
|
children = _props$itemProps.children,
|
26
26
|
onClick = _props$itemProps.onClick,
|
27
|
+
navigationType = _props$itemProps.navigationType,
|
27
28
|
mergedProps = _objectWithoutProperties(_props$itemProps, _excluded);
|
28
29
|
var href = router.transformHref(props.href || "");
|
29
30
|
var parsedLocation = useMemo(function () {
|
30
31
|
return parseURL(href);
|
31
32
|
}, [href]);
|
32
|
-
var isExternalLink = router.
|
33
|
+
var isExternalLink = navigationType === "newTab" || router.shouldOpenInNewTab(parsedLocation);
|
33
34
|
var onItemClick = function onItemClick(event) {
|
35
|
+
if (mergedProps.disabled) return;
|
34
36
|
onClick === null || onClick === void 0 || onClick(event);
|
35
|
-
event.
|
36
|
-
if (
|
37
|
+
if (event.defaultPrevented) return;
|
38
|
+
if (navigationType === "reload") {
|
39
|
+
window.location.assign(href);
|
40
|
+
} else if (isExternalLink) {
|
37
41
|
window.open(href, "_blank");
|
38
42
|
} else {
|
39
43
|
router.push({
|
@@ -56,5 +60,4 @@ export var LinkItem = function LinkItem(props) {
|
|
56
60
|
size: "1em"
|
57
61
|
})]
|
58
62
|
}));
|
59
|
-
};
|
60
|
-
export default LinkItem;
|
63
|
+
};
|
@@ -3,4 +3,3 @@ import type { FC } from "react";
|
|
3
3
|
import type { BaseItemProps } from "../../useMenuItemProps";
|
4
4
|
export declare type RadioItemProps = Pick<DropdownMenuRadioItemProps, "value" | "defaultChecked"> & BaseItemProps<HTMLDivElement>;
|
5
5
|
export declare const RadioItem: FC<RadioItemProps>;
|
6
|
-
export default RadioItem;
|
@@ -9,7 +9,7 @@ import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
9
9
|
import cx from "clsx";
|
10
10
|
import { CheckIcon } from "../../../Icons";
|
11
11
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
12
|
-
import useMenuItemProps from "../../useMenuItemProps";
|
12
|
+
import { useMenuItemProps } from "../../useMenuItemProps";
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
15
15
|
export var RadioItem = function RadioItem(props) {
|
@@ -37,5 +37,4 @@ export var RadioItem = function RadioItem(props) {
|
|
37
37
|
})
|
38
38
|
}));
|
39
39
|
};
|
40
|
-
RadioItem.displayName = "RadioItem";
|
41
|
-
export default RadioItem;
|
40
|
+
RadioItem.displayName = "RadioItem";
|
@@ -11,7 +11,7 @@ import cx from "clsx";
|
|
11
11
|
import { useState } from "react";
|
12
12
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
13
13
|
import { Toggle } from "../../../Toggle";
|
14
|
-
import useMenuItemProps from "../../useMenuItemProps";
|
14
|
+
import { useMenuItemProps } from "../../useMenuItemProps";
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
16
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
17
17
|
export var ToggleItem = function ToggleItem(props) {
|
@@ -59,5 +59,4 @@ export var ToggleItem = function ToggleItem(props) {
|
|
59
59
|
}))]
|
60
60
|
})
|
61
61
|
});
|
62
|
-
};
|
63
|
-
export default ToggleItem;
|
62
|
+
};
|
package/esm/Modal/Modal.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { ReactNode, VFC } from "react";
|
2
2
|
import type { XOR } from "../types";
|
3
|
-
import ModalFooter from "./components/ModalFooter";
|
4
|
-
import ModalSection from "./components/ModalSection";
|
3
|
+
import { ModalFooter } from "./components/ModalFooter";
|
4
|
+
import { ModalSection } from "./components/ModalSection";
|
5
5
|
export declare type ModalSizeVariant = "medium" | "large";
|
6
6
|
export declare type ModalLocale = {
|
7
7
|
dismissText?: string;
|
@@ -58,4 +58,4 @@ declare type ModalSubComponents = {
|
|
58
58
|
* See the [Modal documentation page](https://satellite.algolia.com/components/overlay/modal) for more information.
|
59
59
|
*/
|
60
60
|
export declare const Modal: VFC<ModalProps> & ModalSubComponents;
|
61
|
-
export
|
61
|
+
export {};
|
package/esm/Modal/Modal.js
CHANGED
@@ -7,13 +7,13 @@ import * as Dialog from "@radix-ui/react-dialog";
|
|
7
7
|
import cx from "clsx";
|
8
8
|
import { Fragment } from "react";
|
9
9
|
import { IconButton } from "../Button";
|
10
|
-
import Card from "../Card";
|
10
|
+
import { Card } from "../Card";
|
11
11
|
import { XIcon } from "../Icons";
|
12
12
|
import { useCreatePortal, useLocale } from "../Satellite";
|
13
13
|
import stl from "../styles/helpers/satellitePrefixer";
|
14
14
|
import { prefersReducedMotion } from "../utils/prefersReducedMotion";
|
15
|
-
import ModalFooter from "./components/ModalFooter";
|
16
|
-
import ModalSection from "./components/ModalSection";
|
15
|
+
import { ModalFooter } from "./components/ModalFooter";
|
16
|
+
import { ModalSection } from "./components/ModalSection";
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
18
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
19
19
|
var DEFAULT_MODAL_LOCALE = {
|
@@ -142,5 +142,4 @@ export var Modal = function Modal(_ref) {
|
|
142
142
|
});
|
143
143
|
};
|
144
144
|
Modal.Footer = ModalFooter;
|
145
|
-
Modal.Section = ModalSection;
|
146
|
-
export default Modal;
|
145
|
+
Modal.Section = ModalSection;
|
@@ -6,7 +6,7 @@ var _excluded = ["className", "children"];
|
|
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 cx from "clsx";
|
9
|
-
import FlexGrid from "../../FlexGrid";
|
9
|
+
import { FlexGrid } from "../../FlexGrid";
|
10
10
|
import stl from "../../styles/helpers/satellitePrefixer";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
export var ModalFooter = function ModalFooter(_ref) {
|
@@ -21,5 +21,4 @@ export var ModalFooter = function ModalFooter(_ref) {
|
|
21
21
|
children: children
|
22
22
|
})
|
23
23
|
}));
|
24
|
-
};
|
25
|
-
export default ModalFooter;
|
24
|
+
};
|
package/esm/Modal/index.d.ts
CHANGED
package/esm/Modal/index.js
CHANGED
@@ -33,4 +33,4 @@ export declare const isIndeterminateCompactPaginationProps: (props: CompactPagin
|
|
33
33
|
* See the [Compact Pagination documentation page](https://satellite.algolia.com/components/navigation/compact-pagination) for more information.
|
34
34
|
*/
|
35
35
|
export declare const CompactPagination: VFC<CompactPaginationProps>;
|
36
|
-
export
|
36
|
+
export {};
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./CompactPagination";
|
2
|
-
export { default } from "./CompactPagination";
|
1
|
+
export * from "./CompactPagination";
|
@@ -17,4 +17,3 @@ export declare type DotPaginationProps<T extends number> = {
|
|
17
17
|
* See the [Dot Pagination documentation page](https://satellite.algolia.com/components/navigation/dot-pagination) for more information.
|
18
18
|
*/
|
19
19
|
export declare const DotPagination: <T extends number>({ currentPage, onChange, nbPages, size, locale: propsLocale, }: DotPaginationProps<T>) => JSX.Element;
|
20
|
-
export default DotPagination;
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./DotPagination";
|
2
|
-
export { default } from "./DotPagination";
|
1
|
+
export * from "./DotPagination";
|
@@ -3,11 +3,11 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
3
3
|
var _templateObject;
|
4
4
|
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; }
|
5
5
|
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; }
|
6
|
-
import Button,
|
6
|
+
import { Button, ButtonGroup } from "../../Button";
|
7
7
|
import { ArrowLeftIcon, ArrowRightIcon } from "../../Icons";
|
8
8
|
import { useLocale } from "../../Satellite";
|
9
9
|
import stl from "../../styles/helpers/satellitePrefixer";
|
10
|
-
import range from "../../utils/range";
|
10
|
+
import { range } from "../../utils/range";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -108,5 +108,4 @@ export var Pagination = function Pagination(_ref2) {
|
|
108
108
|
})
|
109
109
|
})]
|
110
110
|
});
|
111
|
-
};
|
112
|
-
export default Pagination;
|
111
|
+
};
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./Pagination";
|
2
|
-
export { default } from "./Pagination";
|
1
|
+
export * from "./Pagination";
|
package/esm/Pagination/index.js
CHANGED
package/esm/Popover/Popover.d.ts
CHANGED
package/esm/Popover/Popover.js
CHANGED
package/esm/Popover/index.d.ts
CHANGED
package/esm/Popover/index.js
CHANGED
@@ -13,4 +13,3 @@ export interface ProgressBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
13
|
* See the [Progress Bar documentation page](https://satellite.algolia.com/components/feedback/progress-bar) for more information.
|
14
14
|
*/
|
15
15
|
export declare const ProgressBar: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
16
|
-
export default ProgressBar;
|
package/esm/ProgressBar/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./ProgressBar";
|
2
|
-
export { default } from "./ProgressBar";
|
1
|
+
export * from "./ProgressBar";
|
@@ -11,4 +11,3 @@ export interface ProgressSpinnerProps extends SVGAttributes<SVGSVGElement> {
|
|
11
11
|
* See the [Progress Spinner documentation page](https://satellite.algolia.com/components/feedback/progress-spinner) for more information.
|
12
12
|
*/
|
13
13
|
export declare const ProgressSpinner: VFC<ProgressSpinnerProps>;
|
14
|
-
export default ProgressSpinner;
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./ProgressSpinner";
|
2
|
-
export { default } from "./ProgressSpinner";
|
1
|
+
export * from "./ProgressSpinner";
|
@@ -1,4 +1,3 @@
|
|
1
1
|
import type { HTMLAttributes, InputHTMLAttributes } from "react";
|
2
2
|
export declare type RadioButtonProps = HTMLAttributes<HTMLInputElement> & Pick<InputHTMLAttributes<HTMLInputElement>, "value" | "name" | "checked" | "defaultChecked" | "onChange" | "required" | "autoFocus" | "disabled">;
|
3
3
|
export declare const RadioButton: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & Pick<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultChecked" | "onChange" | "name" | "autoFocus" | "disabled" | "checked" | "required"> & import("react").RefAttributes<HTMLInputElement>>;
|
4
|
-
export default RadioButton;
|
@@ -28,4 +28,4 @@ export declare const RadioGroupItem: VFC<RadioGroupItemProps>;
|
|
28
28
|
* See the [Radio Group documentation page](https://satellite.algolia.com/components/controls/radio-group) for more information.
|
29
29
|
*/
|
30
30
|
export declare const RadioGroup: VFC<RadioGroupProps> & RadioGroupSubComponents;
|
31
|
-
export
|
31
|
+
export {};
|
@@ -2,10 +2,10 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
3
3
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
4
4
|
import { useState } from "react";
|
5
|
-
import Card from "../Card";
|
5
|
+
import { Card } from "../Card";
|
6
6
|
import stl from "../styles/helpers/satellitePrefixer";
|
7
|
-
import uniqueId from "../utils/uniqueId";
|
8
|
-
import RadioButton from "./RadioButton";
|
7
|
+
import { uniqueId } from "../utils/uniqueId";
|
8
|
+
import { RadioButton } from "./RadioButton";
|
9
9
|
import { RadioGroupContext, useRadioGroupContext } from "./RadiogroupContext";
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -83,5 +83,4 @@ export var RadioGroup = function RadioGroup(_ref2) {
|
|
83
83
|
})
|
84
84
|
});
|
85
85
|
};
|
86
|
-
RadioGroup.Item = RadioGroupItem;
|
87
|
-
export default RadioGroup;
|
86
|
+
RadioGroup.Item = RadioGroupItem;
|
package/esm/RadioGroup/index.js
CHANGED
@@ -95,5 +95,4 @@ var RangeSliderInternal = function RangeSliderInternal(_ref2, ref) {
|
|
95
95
|
* See the [Range Slider documentation page](https://satellite.algolia.com/components/controls/range-slider) for more information.
|
96
96
|
*/
|
97
97
|
export var RangeSlider = /*#__PURE__*/forwardRef(RangeSliderInternal);
|
98
|
-
RangeSlider.displayName = "RangeSlider";
|
99
|
-
export default RangeSlider;
|
98
|
+
RangeSlider.displayName = "RangeSlider";
|
package/esm/RangeSlider/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./RangeSlider";
|
2
|
-
export { default } from "./RangeSlider";
|
1
|
+
export * from "./RangeSlider";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useLayoutEffect } from "react";
|
2
|
-
import SatelliteContext from "./SatelliteContext";
|
2
|
+
import { SatelliteContext } from "./SatelliteContext";
|
3
3
|
import { router as defaultRouter } from "./SatelliteRouter";
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
5
5
|
var DEFAULT_PORTAL_ID = "satellite-portal";
|
@@ -50,5 +50,4 @@ export var Satellite = function Satellite(_ref) {
|
|
50
50
|
},
|
51
51
|
children: children
|
52
52
|
});
|
53
|
-
};
|
54
|
-
export default Satellite;
|
53
|
+
};
|
@@ -12,5 +12,4 @@ export var SatelliteContext = /*#__PURE__*/createContext(DEFAULT_CONTEXT);
|
|
12
12
|
export var useSatelliteContext = function useSatelliteContext() {
|
13
13
|
var context = useContext(SatelliteContext);
|
14
14
|
return _objectSpread(_objectSpread({}, DEFAULT_CONTEXT), context);
|
15
|
-
};
|
16
|
-
export default SatelliteContext;
|
15
|
+
};
|
package/esm/Satellite/index.d.ts
CHANGED
package/esm/Satellite/index.js
CHANGED
package/esm/Satellite/locale.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useContext } from "react";
|
2
|
-
import SatelliteContext from "./SatelliteContext";
|
2
|
+
import { SatelliteContext } from "./SatelliteContext";
|
3
3
|
export var useLocale = function useLocale(componentKey) {
|
4
4
|
var _useContext = useContext(SatelliteContext),
|
5
5
|
locales = _useContext.locales;
|
@@ -16,4 +16,3 @@ export interface ScrollIndicatorProps {
|
|
16
16
|
* See the [Scroll Indicator documentation page](https://satellite.algolia.com/layouts/scroll-indicator) for more information.
|
17
17
|
*/
|
18
18
|
export declare const ScrollIndicator: VFC<ScrollIndicatorProps>;
|
19
|
-
export default ScrollIndicator;
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./ScrollIndicator";
|
2
|
-
export { default } from "./ScrollIndicator";
|
1
|
+
export * from "./ScrollIndicator";
|