@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
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Dispatch, ReactNode, VFC } from "react";
|
2
|
-
import type {
|
2
|
+
import type { DatePickerCalendarProps } from "../components/Calendar";
|
3
3
|
import type { SharedDatePickerProps } from "../types";
|
4
4
|
import type { DateRangePickerDisplayProps } from "./DateRangePickerDisplay";
|
5
5
|
import type { DateRangePickerReducerAction, DateRangePickerReducerState } from "./dateRangePickerReducer";
|
@@ -21,7 +21,7 @@ export declare type DateRangePickerProps = {
|
|
21
21
|
id?: string;
|
22
22
|
range: DateRangePickerTimeRange | null;
|
23
23
|
displayOnlyRanges?: DateRangePickerTimeRange[];
|
24
|
-
calendarProps?: Pick<
|
24
|
+
calendarProps?: Pick<DatePickerCalendarProps, "fromMonth" | "toMonth" | "disabled" | "numberOfMonths">;
|
25
25
|
stateReducer?: (state: DateRangePickerReducerState, action: DateRangePickerReducerAction, defaultReducer: typeof dateRangePickerReducer) => DateRangePickerReducerState;
|
26
26
|
initialState?: Partial<DateRangePickerReducerState>;
|
27
27
|
onAction?: (action: DateRangePickerReducerAction, state: DateRangePickerReducerState) => void;
|
@@ -37,4 +37,4 @@ export declare type DateRangePickerProps = {
|
|
37
37
|
* See the [Date Range Picker documentation page](https://satellite.algolia.com/layouts/date-range-picker) for more information.
|
38
38
|
*/
|
39
39
|
export declare const DateRangePicker: VFC<DateRangePickerProps>;
|
40
|
-
export
|
40
|
+
export {};
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DateRangePicker = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
@@ -12,13 +12,13 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
12
12
|
var _react = require("react");
|
13
13
|
var _Satellite = require("../../Satellite");
|
14
14
|
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
15
|
-
var _Calendar =
|
16
|
-
var _Footer =
|
17
|
-
var _FooterActions =
|
18
|
-
var _Modal =
|
19
|
-
var _SidePanel =
|
15
|
+
var _Calendar = require("../components/Calendar");
|
16
|
+
var _Footer = require("../components/Footer");
|
17
|
+
var _FooterActions = require("../components/FooterActions");
|
18
|
+
var _Modal = require("../components/Modal");
|
19
|
+
var _SidePanel = require("../components/SidePanel");
|
20
20
|
var _utils = require("../utils");
|
21
|
-
var _DateRangePickerDisplay =
|
21
|
+
var _DateRangePickerDisplay = require("./DateRangePickerDisplay");
|
22
22
|
var _dateRangePickerReducer = require("./dateRangePickerReducer");
|
23
23
|
var _dateRangePickerTimeRange = require("./dateRangePickerTimeRange");
|
24
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
@@ -189,7 +189,7 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
189
189
|
children: renderTarget ? renderTarget({
|
190
190
|
toggle: state.show ? handleClose : handleOpen,
|
191
191
|
isOpen: state.show
|
192
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_DateRangePickerDisplay
|
192
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_DateRangePickerDisplay.DateRangePickerDisplay, {
|
193
193
|
id: id,
|
194
194
|
onClick: state.show ? handleClose : handleOpen,
|
195
195
|
range: initialRange !== null && initialRange !== void 0 ? initialRange : {
|
@@ -199,7 +199,7 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
199
199
|
buttonSize: buttonSize,
|
200
200
|
locale: locale
|
201
201
|
})
|
202
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Modal
|
202
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Modal.DatePickerModal, {
|
203
203
|
className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["date-range-picker"]))),
|
204
204
|
show: state.show,
|
205
205
|
onClickAway: function onClickAway(evt) {
|
@@ -215,7 +215,7 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
215
215
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
216
216
|
className: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["flex"]))),
|
217
217
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
218
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Calendar
|
218
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Calendar.DatePickerCalendar, _objectSpread(_objectSpread(_objectSpread({
|
219
219
|
mode: "default",
|
220
220
|
defaultMonth: (_initialRange$start = initialRange === null || initialRange === void 0 ? void 0 : initialRange.start) !== null && _initialRange$start !== void 0 ? _initialRange$start : undefined,
|
221
221
|
numberOfMonths: 2
|
@@ -227,13 +227,13 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
227
227
|
onDayMouseLeave: handleMouseLeave
|
228
228
|
}, yearProps), {}, {
|
229
229
|
locale: locale
|
230
|
-
})), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Footer
|
230
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Footer.DatePickerFooter, {
|
231
231
|
children: [renderLeftFooter && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
232
232
|
children: renderLeftFooter({
|
233
233
|
state: state,
|
234
234
|
dispatch: dispatch
|
235
235
|
})
|
236
|
-
}), !renderRightPanel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_FooterActions
|
236
|
+
}), !renderRightPanel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_FooterActions.DatePickerFooterActions, {
|
237
237
|
onCancel: handleCancel,
|
238
238
|
onApply: handleApply,
|
239
239
|
disableApply: !isValid,
|
@@ -243,11 +243,11 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
243
243
|
}), renderRightPanel && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
244
244
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
245
245
|
className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["h-full w-px bg-red-800"])))
|
246
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SidePanel
|
246
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SidePanel.DatePickerSidePanel, {
|
247
247
|
children: [renderRightPanel({
|
248
248
|
state: state,
|
249
249
|
dispatch: dispatch
|
250
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FooterActions
|
250
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FooterActions.DatePickerFooterActions, {
|
251
251
|
onCancel: handleCancel,
|
252
252
|
onApply: handleApply,
|
253
253
|
disableApply: !isValid,
|
@@ -258,5 +258,4 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2)
|
|
258
258
|
})
|
259
259
|
})]
|
260
260
|
});
|
261
|
-
};
|
262
|
-
var _default = exports["default"] = DateRangePicker;
|
261
|
+
};
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import type { VFC } from "react";
|
2
2
|
import type { WithRequiredProperty } from "../../types";
|
3
|
-
import type
|
3
|
+
import { type DatePickerDisplayProps } from "../components/Display";
|
4
4
|
import type { DatePickerLocale } from "../types";
|
5
5
|
import type { DateRangePickerTimeRange } from "./dateRangePickerTimeRange";
|
6
6
|
export interface DateRangePickerDisplayProps {
|
7
7
|
id?: string;
|
8
|
-
onClick:
|
8
|
+
onClick: DatePickerDisplayProps["onClick"];
|
9
9
|
range: DateRangePickerTimeRange;
|
10
|
-
buttonSize?:
|
10
|
+
buttonSize?: DatePickerDisplayProps["size"];
|
11
11
|
locale: WithRequiredProperty<DatePickerLocale, "openButton">;
|
12
12
|
}
|
13
|
-
declare const DateRangePickerDisplay: VFC<DateRangePickerDisplayProps>;
|
14
|
-
export default DateRangePickerDisplay;
|
13
|
+
export declare const DateRangePickerDisplay: VFC<DateRangePickerDisplayProps>;
|
@@ -4,21 +4,21 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DateRangePickerDisplay = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
10
|
-
var _Display =
|
10
|
+
var _Display = require("../components/Display");
|
11
11
|
var _utils = require("../utils");
|
12
12
|
var _dateRangePickerTimeRange = require("./dateRangePickerTimeRange");
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
14
14
|
var _templateObject;
|
15
|
-
var DateRangePickerDisplay = function DateRangePickerDisplay(_ref) {
|
15
|
+
var DateRangePickerDisplay = exports.DateRangePickerDisplay = function DateRangePickerDisplay(_ref) {
|
16
16
|
var id = _ref.id,
|
17
17
|
onClick = _ref.onClick,
|
18
18
|
range = _ref.range,
|
19
19
|
buttonSize = _ref.buttonSize,
|
20
20
|
locale = _ref.locale;
|
21
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Display
|
21
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Display.DatePickerDisplay, {
|
22
22
|
id: id,
|
23
23
|
onClick: onClick,
|
24
24
|
size: buttonSize,
|
@@ -34,5 +34,4 @@ var DateRangePickerDisplay = function DateRangePickerDisplay(_ref) {
|
|
34
34
|
})]
|
35
35
|
}) : locale.openButton
|
36
36
|
});
|
37
|
-
};
|
38
|
-
var _default = exports["default"] = DateRangePickerDisplay;
|
37
|
+
};
|
@@ -1,20 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
7
|
-
var _exportNames = {};
|
8
|
-
Object.defineProperty(exports, "default", {
|
9
|
-
enumerable: true,
|
10
|
-
get: function get() {
|
11
|
-
return _DateRangePicker["default"];
|
12
|
-
}
|
13
|
-
});
|
14
6
|
var _dateRangePickerReducer = require("./dateRangePickerReducer");
|
15
7
|
Object.keys(_dateRangePickerReducer).forEach(function (key) {
|
16
8
|
if (key === "default" || key === "__esModule") return;
|
17
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
18
9
|
if (key in exports && exports[key] === _dateRangePickerReducer[key]) return;
|
19
10
|
Object.defineProperty(exports, key, {
|
20
11
|
enumerable: true,
|
@@ -26,7 +17,6 @@ Object.keys(_dateRangePickerReducer).forEach(function (key) {
|
|
26
17
|
var _dateRangePickerTimeRange = require("./dateRangePickerTimeRange");
|
27
18
|
Object.keys(_dateRangePickerTimeRange).forEach(function (key) {
|
28
19
|
if (key === "default" || key === "__esModule") return;
|
29
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
30
20
|
if (key in exports && exports[key] === _dateRangePickerTimeRange[key]) return;
|
31
21
|
Object.defineProperty(exports, key, {
|
32
22
|
enumerable: true,
|
@@ -35,10 +25,9 @@ Object.keys(_dateRangePickerTimeRange).forEach(function (key) {
|
|
35
25
|
}
|
36
26
|
});
|
37
27
|
});
|
38
|
-
var _DateRangePicker =
|
28
|
+
var _DateRangePicker = require("./DateRangePicker");
|
39
29
|
Object.keys(_DateRangePicker).forEach(function (key) {
|
40
30
|
if (key === "default" || key === "__esModule") return;
|
41
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
42
31
|
if (key in exports && exports[key] === _DateRangePicker[key]) return;
|
43
32
|
Object.defineProperty(exports, key, {
|
44
33
|
enumerable: true,
|
@@ -46,6 +35,4 @@ Object.keys(_DateRangePicker).forEach(function (key) {
|
|
46
35
|
return _DateRangePicker[key];
|
47
36
|
}
|
48
37
|
});
|
49
|
-
});
|
50
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
51
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
38
|
+
});
|
@@ -10,8 +10,8 @@ export declare type EditableYearProps = {
|
|
10
10
|
years?: number[];
|
11
11
|
initialDate?: Date;
|
12
12
|
};
|
13
|
-
export declare type
|
13
|
+
export declare type DatePickerCalendarProps = Omit<Omit<DayPickerSingleProps | DayPickerRangeProps | DayPickerDefaultProps, "locale">, ExcludedDayPickerProps> & EditableYearProps & {
|
14
14
|
locale: WithRequiredProperty<DatePickerLocale, "nextMonth" | "previousMonth">;
|
15
15
|
};
|
16
|
-
declare const
|
17
|
-
export
|
16
|
+
export declare const DatePickerCalendar: VFC<DatePickerCalendarProps>;
|
17
|
+
export {};
|
@@ -4,16 +4,16 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DatePickerCalendar = void 0;
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
10
10
|
var _reactDayPicker = require("react-day-picker");
|
11
|
-
var _NavBar =
|
11
|
+
var _NavBar = require("./NavBar");
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
13
13
|
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; }
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
15
15
|
var excludedDayPickerPropsList = ["captionElement", "showOutsideDays", "enableOutsideDaysClick", "fixedWeeks", "labels", "navbarElement", "onTodayButtonClick", "pagedNavigation", "renderDay", "renderWeek", "reverseMonths", "showWeekNumber", "showWeekDays", "weekdayElement", "weekdaysLong", "weekdaysShort"];
|
16
|
-
var
|
16
|
+
var DatePickerCalendar = exports.DatePickerCalendar = function DatePickerCalendar(props) {
|
17
17
|
var curatedProps = Object.fromEntries(Object.entries(props).filter(function (_ref) {
|
18
18
|
var _ref2 = (0, _slicedToArray2["default"])(_ref, 1),
|
19
19
|
key = _ref2[0];
|
@@ -47,9 +47,8 @@ var Calendar = function Calendar(props) {
|
|
47
47
|
fixedWeeks: false,
|
48
48
|
components: {
|
49
49
|
Caption: function Caption(captionProps) {
|
50
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_NavBar
|
50
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_NavBar.NavBar, _objectSpread(_objectSpread({}, captionProps), props));
|
51
51
|
}
|
52
52
|
}
|
53
53
|
}));
|
54
|
-
};
|
55
|
-
var _default = exports["default"] = Calendar;
|
54
|
+
};
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import type { ReactNode, VFC } from "react";
|
2
2
|
import type { ButtonProps, ButtonSize } from "../../Button";
|
3
|
-
export interface
|
3
|
+
export interface DatePickerDisplayProps {
|
4
4
|
id?: string;
|
5
5
|
onClick: ButtonProps["onClick"];
|
6
6
|
children: ReactNode;
|
7
7
|
size?: ButtonSize;
|
8
8
|
}
|
9
|
-
declare const
|
10
|
-
export default Display;
|
9
|
+
export declare const DatePickerDisplay: VFC<DatePickerDisplayProps>;
|
@@ -1,24 +1,22 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
7
|
-
exports
|
8
|
-
var _Button =
|
6
|
+
exports.DatePickerDisplay = void 0;
|
7
|
+
var _Button = require("../../Button");
|
9
8
|
var _Icons = require("../../Icons");
|
10
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
11
|
-
var
|
10
|
+
var DatePickerDisplay = exports.DatePickerDisplay = function DatePickerDisplay(_ref) {
|
12
11
|
var id = _ref.id,
|
13
12
|
size = _ref.size,
|
14
13
|
onClick = _ref.onClick,
|
15
14
|
children = _ref.children;
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
17
16
|
id: id,
|
18
17
|
size: size,
|
19
18
|
startIcon: _Icons.CalendarIcon,
|
20
19
|
onClick: onClick,
|
21
20
|
children: children
|
22
21
|
});
|
23
|
-
};
|
24
|
-
var _default = exports["default"] = Display;
|
22
|
+
};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import type { ReactNode, VFC } from "react";
|
2
|
-
export declare type
|
2
|
+
export declare type DatePickerFooterProps = {
|
3
3
|
children: ReactNode;
|
4
4
|
};
|
5
|
-
declare const
|
6
|
-
export default Footer;
|
5
|
+
export declare const DatePickerFooter: VFC<DatePickerFooterProps>;
|
@@ -4,16 +4,15 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DatePickerFooter = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
11
11
|
var _templateObject;
|
12
|
-
var
|
12
|
+
var DatePickerFooter = exports.DatePickerFooter = function DatePickerFooter(_ref) {
|
13
13
|
var children = _ref.children;
|
14
14
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
15
15
|
className: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["flex items-center justify-between px-4 pb-3 pt-0"]))),
|
16
16
|
children: children
|
17
17
|
});
|
18
|
-
};
|
19
|
-
var _default = exports["default"] = Footer;
|
18
|
+
};
|
@@ -2,11 +2,10 @@ import type { VFC } from "react";
|
|
2
2
|
import type { ButtonProps } from "../../Button";
|
3
3
|
import type { WithRequiredProperty } from "../../types";
|
4
4
|
import type { DatePickerLocale } from "../types";
|
5
|
-
export interface
|
5
|
+
export interface DatePickerFooterActionsProps {
|
6
6
|
onCancel: ButtonProps["onClick"];
|
7
7
|
onApply: ButtonProps["onClick"];
|
8
8
|
disableApply: boolean;
|
9
9
|
locale: WithRequiredProperty<DatePickerLocale, "cancel" | "apply">;
|
10
10
|
}
|
11
|
-
declare const
|
12
|
-
export default FooterActions;
|
11
|
+
export declare const DatePickerFooterActions: VFC<DatePickerFooterActionsProps>;
|
@@ -4,13 +4,13 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DatePickerFooterActions = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _Button = require("../../Button");
|
10
10
|
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
12
12
|
var _templateObject, _templateObject2;
|
13
|
-
var
|
13
|
+
var DatePickerFooterActions = exports.DatePickerFooterActions = function DatePickerFooterActions(_ref) {
|
14
14
|
var onCancel = _ref.onCancel,
|
15
15
|
onApply = _ref.onApply,
|
16
16
|
disableApply = _ref.disableApply,
|
@@ -28,5 +28,4 @@ var FooterActions = function FooterActions(_ref) {
|
|
28
28
|
children: locale.apply
|
29
29
|
})]
|
30
30
|
});
|
31
|
-
};
|
32
|
-
var _default = exports["default"] = FooterActions;
|
31
|
+
};
|
@@ -2,7 +2,7 @@ import type { Placement, StrictModifiers } from "@popperjs/core";
|
|
2
2
|
import type { ReactNode, VFC } from "react";
|
3
3
|
import type { StrictModifier } from "react-popper";
|
4
4
|
import type { ClickAwayContainerProps } from "../../ClickAwayContainer";
|
5
|
-
export interface
|
5
|
+
export interface DatePickerModalProps {
|
6
6
|
children: ReactNode;
|
7
7
|
show: boolean;
|
8
8
|
placement?: Placement;
|
@@ -12,5 +12,4 @@ export interface ModalProps {
|
|
12
12
|
onClickAway?: ClickAwayContainerProps["onClickAway"];
|
13
13
|
}
|
14
14
|
export declare const DEFAULT_DATE_PICKER_MODAL_POPPER_MODIFIERS: StrictModifier[];
|
15
|
-
declare const
|
16
|
-
export default Modal;
|
15
|
+
export declare const DatePickerModal: VFC<DatePickerModalProps>;
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DatePickerModal = exports.DEFAULT_DATE_PICKER_MODAL_POPPER_MODIFIERS = void 0;
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
9
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
10
10
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
@@ -25,7 +25,7 @@ var DEFAULT_DATE_PICKER_MODAL_POPPER_MODIFIERS = exports.DEFAULT_DATE_PICKER_MOD
|
|
25
25
|
offset: [0, 16]
|
26
26
|
}
|
27
27
|
}];
|
28
|
-
var
|
28
|
+
var DatePickerModal = exports.DatePickerModal = function DatePickerModal(_ref) {
|
29
29
|
var show = _ref.show,
|
30
30
|
targetElement = _ref.targetElement,
|
31
31
|
_onClickAway = _ref.onClickAway,
|
@@ -63,5 +63,4 @@ var Modal = function Modal(_ref) {
|
|
63
63
|
children: children
|
64
64
|
}))
|
65
65
|
}));
|
66
|
-
};
|
67
|
-
var _default = exports["default"] = Modal;
|
66
|
+
};
|
@@ -6,5 +6,4 @@ import type { EditableYearProps } from "./Calendar";
|
|
6
6
|
export declare type NavBarProps = CaptionProps & EditableYearProps & {
|
7
7
|
locale: WithRequiredProperty<DatePickerLocale, "nextMonth" | "previousMonth">;
|
8
8
|
};
|
9
|
-
declare const NavBar: VFC<NavBarProps>;
|
10
|
-
export default NavBar;
|
9
|
+
export declare const NavBar: VFC<NavBarProps>;
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.NavBar = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
10
10
|
var _clsx = _interopRequireDefault(require("clsx"));
|
@@ -18,7 +18,7 @@ var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/sa
|
|
18
18
|
var _utils = require("../../utils");
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
20
20
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
21
|
-
var NavBar = function NavBar(props) {
|
21
|
+
var NavBar = exports.NavBar = function NavBar(props) {
|
22
22
|
var _useDayPicker = (0, _reactDayPicker.useDayPicker)(),
|
23
23
|
numberOfMonths = _useDayPicker.numberOfMonths,
|
24
24
|
onMonthChange = _useDayPicker.onMonthChange,
|
@@ -119,5 +119,4 @@ var NavBar = function NavBar(props) {
|
|
119
119
|
className: (0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["w-8"])))
|
120
120
|
})]
|
121
121
|
});
|
122
|
-
};
|
123
|
-
var _default = exports["default"] = NavBar;
|
122
|
+
};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import type { ReactNode, VFC } from "react";
|
2
|
-
export declare type
|
2
|
+
export declare type DatePickerSidePanelProps = {
|
3
3
|
children: ReactNode;
|
4
4
|
};
|
5
|
-
declare const
|
6
|
-
export default SidePanel;
|
5
|
+
export declare const DatePickerSidePanel: VFC<DatePickerSidePanelProps>;
|
@@ -4,12 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports
|
7
|
+
exports.DatePickerSidePanel = void 0;
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
11
11
|
var _templateObject, _templateObject2;
|
12
|
-
var
|
12
|
+
var DatePickerSidePanel = exports.DatePickerSidePanel = function DatePickerSidePanel(_ref) {
|
13
13
|
var children = _ref.children;
|
14
14
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
15
15
|
className: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["min-w-64 flex px-4 py-3"]))),
|
@@ -18,5 +18,4 @@ var SidePanel = function SidePanel(_ref) {
|
|
18
18
|
children: children
|
19
19
|
})
|
20
20
|
});
|
21
|
-
};
|
22
|
-
var _default = exports["default"] = SidePanel;
|
21
|
+
};
|
@@ -1,12 +1,7 @@
|
|
1
|
-
export type {
|
2
|
-
export {
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
8
|
-
export { default as DatePickerFooterActions } from "./FooterActions";
|
9
|
-
export type { ModalProps as DatePickerModalProps } from "./Modal";
|
10
|
-
export { default as DatePickerModal } from "./Modal";
|
11
|
-
export type { SidePanelProps as DatePickerSidePanelProps } from "./SidePanel";
|
12
|
-
export { default as DatePickerSidePanel } from "./SidePanel";
|
1
|
+
export type { DatePickerCalendarProps } from "./Calendar";
|
2
|
+
export { DatePickerCalendar } from "./Calendar";
|
3
|
+
export * from "./Display";
|
4
|
+
export * from "./Footer";
|
5
|
+
export * from "./FooterActions";
|
6
|
+
export * from "./Modal";
|
7
|
+
export * from "./SidePanel";
|
@@ -1,48 +1,75 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
6
|
+
var _exportNames = {
|
7
|
+
DatePickerCalendar: true
|
8
|
+
};
|
7
9
|
Object.defineProperty(exports, "DatePickerCalendar", {
|
8
10
|
enumerable: true,
|
9
11
|
get: function get() {
|
10
|
-
return _Calendar
|
12
|
+
return _Calendar.DatePickerCalendar;
|
11
13
|
}
|
12
14
|
});
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
Object.defineProperty(exports,
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
var _Calendar = require("./Calendar");
|
16
|
+
var _Display = require("./Display");
|
17
|
+
Object.keys(_Display).forEach(function (key) {
|
18
|
+
if (key === "default" || key === "__esModule") return;
|
19
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
20
|
+
if (key in exports && exports[key] === _Display[key]) return;
|
21
|
+
Object.defineProperty(exports, key, {
|
22
|
+
enumerable: true,
|
23
|
+
get: function get() {
|
24
|
+
return _Display[key];
|
25
|
+
}
|
26
|
+
});
|
24
27
|
});
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
var _Footer = require("./Footer");
|
29
|
+
Object.keys(_Footer).forEach(function (key) {
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
31
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
32
|
+
if (key in exports && exports[key] === _Footer[key]) return;
|
33
|
+
Object.defineProperty(exports, key, {
|
34
|
+
enumerable: true,
|
35
|
+
get: function get() {
|
36
|
+
return _Footer[key];
|
37
|
+
}
|
38
|
+
});
|
30
39
|
});
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
40
|
+
var _FooterActions = require("./FooterActions");
|
41
|
+
Object.keys(_FooterActions).forEach(function (key) {
|
42
|
+
if (key === "default" || key === "__esModule") return;
|
43
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
44
|
+
if (key in exports && exports[key] === _FooterActions[key]) return;
|
45
|
+
Object.defineProperty(exports, key, {
|
46
|
+
enumerable: true,
|
47
|
+
get: function get() {
|
48
|
+
return _FooterActions[key];
|
49
|
+
}
|
50
|
+
});
|
36
51
|
});
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
52
|
+
var _Modal = require("./Modal");
|
53
|
+
Object.keys(_Modal).forEach(function (key) {
|
54
|
+
if (key === "default" || key === "__esModule") return;
|
55
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
56
|
+
if (key in exports && exports[key] === _Modal[key]) return;
|
57
|
+
Object.defineProperty(exports, key, {
|
58
|
+
enumerable: true,
|
59
|
+
get: function get() {
|
60
|
+
return _Modal[key];
|
61
|
+
}
|
62
|
+
});
|
42
63
|
});
|
43
|
-
var
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
64
|
+
var _SidePanel = require("./SidePanel");
|
65
|
+
Object.keys(_SidePanel).forEach(function (key) {
|
66
|
+
if (key === "default" || key === "__esModule") return;
|
67
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
68
|
+
if (key in exports && exports[key] === _SidePanel[key]) return;
|
69
|
+
Object.defineProperty(exports, key, {
|
70
|
+
enumerable: true,
|
71
|
+
get: function get() {
|
72
|
+
return _SidePanel[key];
|
73
|
+
}
|
74
|
+
});
|
75
|
+
});
|