@cube-dev/ui-kit 0.0.0-canary-2c9a2b4 → 0.0.0-canary-575c0e7
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/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.d.ts +6 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Tag/Tag.js.map +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Tree/Tree.js +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/data/DataTable/DataTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableView.js +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/styled.js +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-column-order.js +1 -1
- package/dist/components/data/TableBase/use-container-width.js +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.d.ts +1 -17
- package/dist/components/fields/ColorInput/ColorInput.js +134 -137
- package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.d.ts +1 -17
- package/dist/components/fields/ColorPicker/ColorPicker.js +3 -4
- package/dist/components/fields/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/fields/ComboBox/ComboBox.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.d.ts +1 -17
- package/dist/components/fields/DatePicker/DatePicker.js +77 -81
- package/dist/components/fields/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +2 -17
- package/dist/components/fields/DatePicker/DateRangePicker.js +105 -109
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +2 -17
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +220 -228
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.d.ts +1 -17
- package/dist/components/fields/DatePicker/PeriodPicker.js +85 -89
- package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +0 -9
- package/dist/components/fields/FilterPicker/FilterPicker.js +2 -3
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/Picker/Picker.d.ts +1 -18
- package/dist/components/fields/Picker/Picker.js +3 -4
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +1 -1
- package/dist/components/fields/Select/Select.d.ts +1 -21
- package/dist/components/fields/Select/Select.js +4 -4
- package/dist/components/fields/Select/Select.js.map +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +1 -1
- package/dist/components/form/Form/use-field/use-field.js +1 -1
- package/dist/components/form/Form/use-form.js +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Label.js +1 -1
- package/dist/components/form/validation/ValidationIndicator.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/use-validation-props.js +1 -1
- package/dist/components/form/wrapper.js +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/layout/Board/Board.js +1 -1
- package/dist/components/layout/Board/BoardProvider.js +1 -1
- package/dist/components/layout/Board/BoardResponsive.js +1 -1
- package/dist/components/layout/Board/Widget.js +1 -1
- package/dist/components/layout/Board/WidgetHost.js +1 -1
- package/dist/components/layout/Board/board-context.js +1 -1
- package/dist/components/layout/Board/board-store.js +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js +1 -1
- package/dist/components/layout/Board/grid-core/collision-modes.js +1 -1
- package/dist/components/layout/Board/grid-core/collision.js +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js +1 -1
- package/dist/components/layout/Board/grid-core/constraints.js +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js +1 -1
- package/dist/components/layout/Board/grid-core/layout.js +1 -1
- package/dist/components/layout/Board/grid-core/placement.js +1 -1
- package/dist/components/layout/Board/grid-core/sort.js +1 -1
- package/dist/components/layout/Board/index.js +1 -1
- package/dist/components/layout/Board/responsive-utils.js +1 -1
- package/dist/components/layout/Board/use-board-layout.js +1 -1
- package/dist/components/layout/Board/use-board-registry.js +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
- package/dist/components/layout/Board/use-board-selection.js +1 -1
- package/dist/components/layout/Flex.js +1 -1
- package/dist/components/layout/Flow.js +1 -1
- package/dist/components/layout/Grid.js +1 -1
- package/dist/components/layout/Panel.js +1 -1
- package/dist/components/layout/Prefix.js +1 -1
- package/dist/components/layout/ResizablePanel.js +1 -1
- package/dist/components/layout/Space.js +1 -1
- package/dist/components/layout/Suffix.js +1 -1
- package/dist/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +9 -1
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +6 -5
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +71 -64
- package/dist/components/overlays/Dialog/ModernDialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.d.ts +1 -1
- package/dist/data/item-themes.js +7 -1
- package/dist/data/item-themes.js.map +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +1 -1
- package/dist/i18n/locales/en-US/uikit.js +1 -1
- package/dist/i18n/locales/es-ES/uikit.js +1 -1
- package/dist/i18n/locales/es-MX/uikit.js +1 -1
- package/dist/i18n/locales/fr-FR/uikit.js +1 -1
- package/dist/i18n/locales/it-IT/uikit.js +1 -1
- package/dist/i18n/locales/ja-JP/uikit.js +1 -1
- package/dist/i18n/locales/nb-NO/uikit.js +1 -1
- package/dist/i18n/locales/pt-BR/uikit.js +1 -1
- package/dist/i18n/locales/pt-PT/uikit.js +1 -1
- package/dist/i18n/locales/sv-SE/uikit.js +1 -1
- package/dist/i18n/locales/vi-VN/uikit.js +1 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.js +1 -1
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/resolve.js +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/escapePropagation.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +2 -2
- package/docs/components/content/Tag.md +10 -2
- package/docs/components/fields/ColorInput.md +0 -2
- package/docs/components/fields/ColorPicker.md +0 -2
- package/docs/components/fields/DatePicker.md +0 -2
- package/docs/components/fields/FilterPicker.md +0 -2
- package/docs/components/fields/PeriodPicker.md +0 -2
- package/docs/components/fields/Picker.md +0 -2
- package/docs/components/fields/Select.md +0 -2
- package/docs/components/overlays/Dialog.md +19 -3
- package/docs/components/overlays/DialogForm.md +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-575c0e7 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
@@ -32,7 +32,7 @@ const DateRangeDash = tasty({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
function DateRangeSeparatedPicker(props, ref) {
|
|
35
|
-
const $ = c(
|
|
35
|
+
const $ = c(138);
|
|
36
36
|
const { t } = useI18n();
|
|
37
37
|
let t0;
|
|
38
38
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -185,55 +185,53 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
185
185
|
const t13 = qa || "DateRangeSeparatedPicker";
|
|
186
186
|
const t14 = startFocusProps.isFocused;
|
|
187
187
|
const t15 = startFocusRingProps.focusProps;
|
|
188
|
-
const t16 =
|
|
189
|
-
const t17 = props.
|
|
190
|
-
const t18 = startState.
|
|
191
|
-
|
|
192
|
-
const t20 = startState.setOpen;
|
|
193
|
-
let t21;
|
|
188
|
+
const t16 = startState.isOpen;
|
|
189
|
+
const t17 = props.shouldFlip;
|
|
190
|
+
const t18 = startState.setOpen;
|
|
191
|
+
let t19;
|
|
194
192
|
if ($[29] !== startFocusProps.focusProps || $[30] !== startProps.buttonProps) {
|
|
195
|
-
|
|
193
|
+
t19 = mergeProps$1(startProps.buttonProps, startFocusProps.focusProps);
|
|
196
194
|
$[29] = startFocusProps.focusProps;
|
|
197
195
|
$[30] = startProps.buttonProps;
|
|
198
|
-
$[31] =
|
|
199
|
-
} else
|
|
200
|
-
let
|
|
201
|
-
if ($[32] !== isDisabled || $[33] !== size || $[34] !==
|
|
202
|
-
|
|
196
|
+
$[31] = t19;
|
|
197
|
+
} else t19 = $[31];
|
|
198
|
+
let t20;
|
|
199
|
+
if ($[32] !== isDisabled || $[33] !== size || $[34] !== t19) {
|
|
200
|
+
t20 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
203
201
|
size,
|
|
204
|
-
...
|
|
202
|
+
...t19,
|
|
205
203
|
isDisabled
|
|
206
204
|
});
|
|
207
205
|
$[32] = isDisabled;
|
|
208
206
|
$[33] = size;
|
|
209
|
-
$[34] =
|
|
210
|
-
$[35] =
|
|
211
|
-
} else
|
|
212
|
-
const
|
|
213
|
-
const
|
|
214
|
-
let
|
|
207
|
+
$[34] = t19;
|
|
208
|
+
$[35] = t20;
|
|
209
|
+
} else t20 = $[35];
|
|
210
|
+
const t21 = state.value?.start || state.value?.end || void 0;
|
|
211
|
+
const t22 = state.value?.start && state.value?.end ? state.value : void 0;
|
|
212
|
+
let t23;
|
|
215
213
|
if ($[36] !== onChange) {
|
|
216
|
-
|
|
214
|
+
t23 = (value_0) => onChange(value_0, "start");
|
|
217
215
|
$[36] = onChange;
|
|
218
|
-
$[37] =
|
|
219
|
-
} else
|
|
220
|
-
let
|
|
221
|
-
if ($[38] !== startProps.calendarProps || $[39] !==
|
|
222
|
-
|
|
216
|
+
$[37] = t23;
|
|
217
|
+
} else t23 = $[37];
|
|
218
|
+
let t24;
|
|
219
|
+
if ($[38] !== startProps.calendarProps || $[39] !== t21 || $[40] !== t22 || $[41] !== t23) {
|
|
220
|
+
t24 = /* @__PURE__ */ jsx(_Calendar, {
|
|
223
221
|
...startProps.calendarProps,
|
|
224
|
-
defaultFocusedValue:
|
|
225
|
-
selectedRange:
|
|
226
|
-
onChange:
|
|
222
|
+
defaultFocusedValue: t21,
|
|
223
|
+
selectedRange: t22,
|
|
224
|
+
onChange: t23
|
|
227
225
|
});
|
|
228
226
|
$[38] = startProps.calendarProps;
|
|
229
|
-
$[39] =
|
|
230
|
-
$[40] =
|
|
231
|
-
$[41] =
|
|
232
|
-
$[42] =
|
|
233
|
-
} else
|
|
234
|
-
let
|
|
227
|
+
$[39] = t21;
|
|
228
|
+
$[40] = t22;
|
|
229
|
+
$[41] = t23;
|
|
230
|
+
$[42] = t24;
|
|
231
|
+
} else t24 = $[42];
|
|
232
|
+
let t25;
|
|
235
233
|
if ($[43] !== props.hideTimeZone || $[44] !== props.hourCycle || $[45] !== showTimeField || $[46] !== startState.setTimeValue || $[47] !== startState.timeValue || $[48] !== t || $[49] !== timeGranularity || $[50] !== timeMaxValue || $[51] !== timeMinValue || $[52] !== timePlaceholder) {
|
|
236
|
-
|
|
234
|
+
t25 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
237
235
|
padding: "1x",
|
|
238
236
|
label: t("datePicker.time", "Time"),
|
|
239
237
|
value: startState.timeValue,
|
|
@@ -255,140 +253,136 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
255
253
|
$[50] = timeMaxValue;
|
|
256
254
|
$[51] = timeMinValue;
|
|
257
255
|
$[52] = timePlaceholder;
|
|
258
|
-
$[53] =
|
|
259
|
-
} else
|
|
260
|
-
let
|
|
261
|
-
if ($[54] !== startProps.dialogProps || $[55] !==
|
|
262
|
-
|
|
256
|
+
$[53] = t25;
|
|
257
|
+
} else t25 = $[53];
|
|
258
|
+
let t26;
|
|
259
|
+
if ($[54] !== startProps.dialogProps || $[55] !== t24 || $[56] !== t25) {
|
|
260
|
+
t26 = /* @__PURE__ */ jsxs(Dialog, {
|
|
263
261
|
...startProps.dialogProps,
|
|
264
262
|
width: "max-content",
|
|
265
|
-
children: [
|
|
263
|
+
children: [t24, t25]
|
|
266
264
|
});
|
|
267
265
|
$[54] = startProps.dialogProps;
|
|
268
|
-
$[55] =
|
|
269
|
-
$[56] =
|
|
270
|
-
$[57] =
|
|
271
|
-
} else
|
|
272
|
-
let
|
|
273
|
-
if ($[58] !== props.shouldFlip || $[59] !== startState.isOpen || $[60] !== startState.setOpen || $[61] !==
|
|
274
|
-
|
|
266
|
+
$[55] = t24;
|
|
267
|
+
$[56] = t25;
|
|
268
|
+
$[57] = t26;
|
|
269
|
+
} else t26 = $[57];
|
|
270
|
+
let t27;
|
|
271
|
+
if ($[58] !== props.shouldFlip || $[59] !== startState.isOpen || $[60] !== startState.setOpen || $[61] !== t20 || $[62] !== t26) {
|
|
272
|
+
t27 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
275
273
|
hideArrow: true,
|
|
276
274
|
type: "popover",
|
|
277
275
|
mobileType: "tray",
|
|
278
|
-
placement:
|
|
279
|
-
targetRef
|
|
280
|
-
isOpen:
|
|
281
|
-
shouldFlip:
|
|
282
|
-
onOpenChange:
|
|
283
|
-
children: [
|
|
276
|
+
placement: "bottom right",
|
|
277
|
+
targetRef,
|
|
278
|
+
isOpen: t16,
|
|
279
|
+
shouldFlip: t17,
|
|
280
|
+
onOpenChange: t18,
|
|
281
|
+
children: [t20, t26]
|
|
284
282
|
});
|
|
285
283
|
$[58] = props.shouldFlip;
|
|
286
284
|
$[59] = startState.isOpen;
|
|
287
285
|
$[60] = startState.setOpen;
|
|
288
|
-
$[61] =
|
|
289
|
-
$[62] =
|
|
290
|
-
$[63] =
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
if ($[66] !== startFieldProps || $[67] !== useLocaleProp) {
|
|
296
|
-
t30 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
286
|
+
$[61] = t20;
|
|
287
|
+
$[62] = t26;
|
|
288
|
+
$[63] = t27;
|
|
289
|
+
} else t27 = $[63];
|
|
290
|
+
let t28;
|
|
291
|
+
if ($[64] !== startFieldProps || $[65] !== useLocaleProp) {
|
|
292
|
+
t28 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
297
293
|
useLocale: useLocaleProp,
|
|
298
294
|
...startFieldProps
|
|
299
295
|
});
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
$[
|
|
303
|
-
} else
|
|
304
|
-
let
|
|
305
|
-
if ($[
|
|
306
|
-
|
|
296
|
+
$[64] = startFieldProps;
|
|
297
|
+
$[65] = useLocaleProp;
|
|
298
|
+
$[66] = t28;
|
|
299
|
+
} else t28 = $[66];
|
|
300
|
+
let t29;
|
|
301
|
+
if ($[67] !== isDisabled || $[68] !== isInvalid || $[69] !== isValid || $[70] !== size || $[71] !== startFocusProps.isFocused || $[72] !== startFocusRingProps.focusProps || $[73] !== t27 || $[74] !== t28) {
|
|
302
|
+
t29 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
307
303
|
disableFocusRing: t14,
|
|
308
304
|
isDisabled,
|
|
309
305
|
isInvalid,
|
|
310
306
|
isValid,
|
|
311
307
|
size,
|
|
312
308
|
...t15,
|
|
313
|
-
suffix:
|
|
314
|
-
children:
|
|
309
|
+
suffix: t27,
|
|
310
|
+
children: t28
|
|
315
311
|
});
|
|
316
|
-
$[
|
|
317
|
-
$[
|
|
318
|
-
$[
|
|
319
|
-
$[
|
|
320
|
-
$[
|
|
321
|
-
$[
|
|
312
|
+
$[67] = isDisabled;
|
|
313
|
+
$[68] = isInvalid;
|
|
314
|
+
$[69] = isValid;
|
|
315
|
+
$[70] = size;
|
|
316
|
+
$[71] = startFocusProps.isFocused;
|
|
317
|
+
$[72] = startFocusRingProps.focusProps;
|
|
318
|
+
$[73] = t27;
|
|
319
|
+
$[74] = t28;
|
|
322
320
|
$[75] = t29;
|
|
321
|
+
} else t29 = $[75];
|
|
322
|
+
let t30;
|
|
323
|
+
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
324
|
+
t30 = /* @__PURE__ */ jsx(DateRangeDash, {});
|
|
323
325
|
$[76] = t30;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
$[
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
$[81] = endFocusProps.focusProps;
|
|
348
|
-
$[82] = endProps.buttonProps;
|
|
349
|
-
$[83] = t41;
|
|
350
|
-
} else t41 = $[83];
|
|
351
|
-
let t42;
|
|
352
|
-
if ($[84] !== isDisabled || $[85] !== size || $[86] !== t40 || $[87] !== t41) {
|
|
353
|
-
t42 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
354
|
-
"aria-label": t40,
|
|
326
|
+
} else t30 = $[76];
|
|
327
|
+
const t31 = endFocusProps.isFocused;
|
|
328
|
+
const t32 = endFocusRingProps.focusProps;
|
|
329
|
+
const t33 = endState.isOpen;
|
|
330
|
+
const t34 = props.shouldFlip;
|
|
331
|
+
const t35 = endState.setOpen;
|
|
332
|
+
let t36;
|
|
333
|
+
if ($[77] !== t) {
|
|
334
|
+
t36 = t("datePicker.showEndCalendar", "Show calendar for the end date");
|
|
335
|
+
$[77] = t;
|
|
336
|
+
$[78] = t36;
|
|
337
|
+
} else t36 = $[78];
|
|
338
|
+
let t37;
|
|
339
|
+
if ($[79] !== endFocusProps.focusProps || $[80] !== endProps.buttonProps) {
|
|
340
|
+
t37 = mergeProps$1(endFocusProps.focusProps, endProps.buttonProps);
|
|
341
|
+
$[79] = endFocusProps.focusProps;
|
|
342
|
+
$[80] = endProps.buttonProps;
|
|
343
|
+
$[81] = t37;
|
|
344
|
+
} else t37 = $[81];
|
|
345
|
+
let t38;
|
|
346
|
+
if ($[82] !== isDisabled || $[83] !== size || $[84] !== t36 || $[85] !== t37) {
|
|
347
|
+
t38 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
348
|
+
"aria-label": t36,
|
|
355
349
|
size,
|
|
356
|
-
...
|
|
350
|
+
...t37,
|
|
357
351
|
isDisabled
|
|
358
352
|
});
|
|
359
|
-
$[
|
|
360
|
-
$[
|
|
361
|
-
$[
|
|
362
|
-
$[
|
|
363
|
-
$[
|
|
364
|
-
} else
|
|
365
|
-
const
|
|
366
|
-
const
|
|
367
|
-
let
|
|
368
|
-
if ($[
|
|
369
|
-
|
|
353
|
+
$[82] = isDisabled;
|
|
354
|
+
$[83] = size;
|
|
355
|
+
$[84] = t36;
|
|
356
|
+
$[85] = t37;
|
|
357
|
+
$[86] = t38;
|
|
358
|
+
} else t38 = $[86];
|
|
359
|
+
const t39 = state.value?.end || state.value?.start || void 0;
|
|
360
|
+
const t40 = state.value?.start && state.value?.end ? state.value : void 0;
|
|
361
|
+
let t41;
|
|
362
|
+
if ($[87] !== onChange) {
|
|
363
|
+
t41 = (value_1) => {
|
|
370
364
|
onChange(value_1, "end");
|
|
371
365
|
};
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
} else
|
|
375
|
-
let
|
|
376
|
-
if ($[
|
|
377
|
-
|
|
366
|
+
$[87] = onChange;
|
|
367
|
+
$[88] = t41;
|
|
368
|
+
} else t41 = $[88];
|
|
369
|
+
let t42;
|
|
370
|
+
if ($[89] !== endProps.calendarProps || $[90] !== t39 || $[91] !== t40 || $[92] !== t41) {
|
|
371
|
+
t42 = /* @__PURE__ */ jsx(_Calendar, {
|
|
378
372
|
...endProps.calendarProps,
|
|
379
|
-
defaultFocusedValue:
|
|
380
|
-
selectedRange:
|
|
381
|
-
onChange:
|
|
373
|
+
defaultFocusedValue: t39,
|
|
374
|
+
selectedRange: t40,
|
|
375
|
+
onChange: t41
|
|
382
376
|
});
|
|
383
|
-
$[
|
|
384
|
-
$[
|
|
385
|
-
$[
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
388
|
-
} else
|
|
389
|
-
let
|
|
390
|
-
if ($[
|
|
391
|
-
|
|
377
|
+
$[89] = endProps.calendarProps;
|
|
378
|
+
$[90] = t39;
|
|
379
|
+
$[91] = t40;
|
|
380
|
+
$[92] = t41;
|
|
381
|
+
$[93] = t42;
|
|
382
|
+
} else t42 = $[93];
|
|
383
|
+
let t43;
|
|
384
|
+
if ($[94] !== endState.setTimeValue || $[95] !== endState.timeValue || $[96] !== props.hideTimeZone || $[97] !== props.hourCycle || $[98] !== showTimeField || $[99] !== t || $[100] !== timeGranularity || $[101] !== timeMaxValue || $[102] !== timeMinValue || $[103] !== timePlaceholder) {
|
|
385
|
+
t43 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
392
386
|
padding: "1x",
|
|
393
387
|
label: t("datePicker.time", "Time"),
|
|
394
388
|
value: endState.timeValue,
|
|
@@ -400,119 +394,117 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
400
394
|
hideTimeZone: props.hideTimeZone,
|
|
401
395
|
onChange: endState.setTimeValue
|
|
402
396
|
});
|
|
403
|
-
$[
|
|
404
|
-
$[
|
|
405
|
-
$[
|
|
406
|
-
$[
|
|
407
|
-
$[
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
$[
|
|
411
|
-
$[
|
|
412
|
-
$[
|
|
413
|
-
$[
|
|
414
|
-
} else
|
|
415
|
-
let
|
|
416
|
-
if ($[
|
|
417
|
-
|
|
397
|
+
$[94] = endState.setTimeValue;
|
|
398
|
+
$[95] = endState.timeValue;
|
|
399
|
+
$[96] = props.hideTimeZone;
|
|
400
|
+
$[97] = props.hourCycle;
|
|
401
|
+
$[98] = showTimeField;
|
|
402
|
+
$[99] = t;
|
|
403
|
+
$[100] = timeGranularity;
|
|
404
|
+
$[101] = timeMaxValue;
|
|
405
|
+
$[102] = timeMinValue;
|
|
406
|
+
$[103] = timePlaceholder;
|
|
407
|
+
$[104] = t43;
|
|
408
|
+
} else t43 = $[104];
|
|
409
|
+
let t44;
|
|
410
|
+
if ($[105] !== endProps.dialogProps || $[106] !== t42 || $[107] !== t43) {
|
|
411
|
+
t44 = /* @__PURE__ */ jsxs(Dialog, {
|
|
418
412
|
...endProps.dialogProps,
|
|
419
413
|
width: "max-content",
|
|
420
|
-
children: [
|
|
414
|
+
children: [t42, t43]
|
|
421
415
|
});
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
} else
|
|
427
|
-
let
|
|
428
|
-
if ($[
|
|
429
|
-
|
|
416
|
+
$[105] = endProps.dialogProps;
|
|
417
|
+
$[106] = t42;
|
|
418
|
+
$[107] = t43;
|
|
419
|
+
$[108] = t44;
|
|
420
|
+
} else t44 = $[108];
|
|
421
|
+
let t45;
|
|
422
|
+
if ($[109] !== endState.isOpen || $[110] !== endState.setOpen || $[111] !== props.shouldFlip || $[112] !== t38 || $[113] !== t44) {
|
|
423
|
+
t45 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
430
424
|
hideArrow: true,
|
|
431
425
|
type: "popover",
|
|
432
426
|
mobileType: "tray",
|
|
433
|
-
placement:
|
|
434
|
-
targetRef
|
|
435
|
-
isOpen:
|
|
436
|
-
shouldFlip:
|
|
437
|
-
onOpenChange:
|
|
438
|
-
children: [
|
|
427
|
+
placement: "bottom right",
|
|
428
|
+
targetRef,
|
|
429
|
+
isOpen: t33,
|
|
430
|
+
shouldFlip: t34,
|
|
431
|
+
onOpenChange: t35,
|
|
432
|
+
children: [t38, t44]
|
|
439
433
|
});
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
if ($[119] !== endFieldProps || $[120] !== useLocaleProp) {
|
|
451
|
-
t50 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
434
|
+
$[109] = endState.isOpen;
|
|
435
|
+
$[110] = endState.setOpen;
|
|
436
|
+
$[111] = props.shouldFlip;
|
|
437
|
+
$[112] = t38;
|
|
438
|
+
$[113] = t44;
|
|
439
|
+
$[114] = t45;
|
|
440
|
+
} else t45 = $[114];
|
|
441
|
+
let t46;
|
|
442
|
+
if ($[115] !== endFieldProps || $[116] !== useLocaleProp) {
|
|
443
|
+
t46 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
452
444
|
useLocale: useLocaleProp,
|
|
453
445
|
...endFieldProps
|
|
454
446
|
});
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
} else
|
|
459
|
-
let
|
|
460
|
-
if ($[
|
|
461
|
-
|
|
462
|
-
disableFocusRing:
|
|
447
|
+
$[115] = endFieldProps;
|
|
448
|
+
$[116] = useLocaleProp;
|
|
449
|
+
$[117] = t46;
|
|
450
|
+
} else t46 = $[117];
|
|
451
|
+
let t47;
|
|
452
|
+
if ($[118] !== endFocusProps.isFocused || $[119] !== endFocusRingProps.focusProps || $[120] !== isDisabled || $[121] !== isInvalid || $[122] !== isValid || $[123] !== size || $[124] !== t45 || $[125] !== t46) {
|
|
453
|
+
t47 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
454
|
+
disableFocusRing: t31,
|
|
463
455
|
isDisabled,
|
|
464
456
|
isInvalid,
|
|
465
457
|
isValid,
|
|
466
458
|
size,
|
|
467
|
-
...
|
|
468
|
-
suffix:
|
|
469
|
-
children:
|
|
459
|
+
...t32,
|
|
460
|
+
suffix: t45,
|
|
461
|
+
children: t46
|
|
470
462
|
});
|
|
471
|
-
$[
|
|
472
|
-
$[
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
479
|
-
$[
|
|
480
|
-
} else
|
|
481
|
-
let
|
|
482
|
-
if ($[
|
|
483
|
-
|
|
463
|
+
$[118] = endFocusProps.isFocused;
|
|
464
|
+
$[119] = endFocusRingProps.focusProps;
|
|
465
|
+
$[120] = isDisabled;
|
|
466
|
+
$[121] = isInvalid;
|
|
467
|
+
$[122] = isValid;
|
|
468
|
+
$[123] = size;
|
|
469
|
+
$[124] = t45;
|
|
470
|
+
$[125] = t46;
|
|
471
|
+
$[126] = t47;
|
|
472
|
+
} else t47 = $[126];
|
|
473
|
+
let t48;
|
|
474
|
+
if ($[127] !== groupProps || $[128] !== styles || $[129] !== t13 || $[130] !== t29 || $[131] !== t47) {
|
|
475
|
+
t48 = /* @__PURE__ */ jsxs(DatePickerElement, {
|
|
484
476
|
ref: targetRef,
|
|
485
477
|
...groupProps,
|
|
486
478
|
styles,
|
|
487
479
|
qa: t13,
|
|
488
480
|
"data-input-type": "daterangeseparatedpicker",
|
|
489
481
|
children: [
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
482
|
+
t29,
|
|
483
|
+
t30,
|
|
484
|
+
t47
|
|
493
485
|
]
|
|
494
486
|
});
|
|
495
|
-
$[
|
|
496
|
-
$[
|
|
497
|
-
$[
|
|
498
|
-
$[
|
|
499
|
-
$[
|
|
500
|
-
$[
|
|
501
|
-
} else
|
|
502
|
-
const component =
|
|
503
|
-
let
|
|
504
|
-
if ($[
|
|
505
|
-
|
|
487
|
+
$[127] = groupProps;
|
|
488
|
+
$[128] = styles;
|
|
489
|
+
$[129] = t13;
|
|
490
|
+
$[130] = t29;
|
|
491
|
+
$[131] = t47;
|
|
492
|
+
$[132] = t48;
|
|
493
|
+
} else t48 = $[132];
|
|
494
|
+
const component = t48;
|
|
495
|
+
let t49;
|
|
496
|
+
if ($[133] !== component || $[134] !== domRef || $[135] !== labelProps || $[136] !== props) {
|
|
497
|
+
t49 = wrapWithField(component, domRef, {
|
|
506
498
|
...props,
|
|
507
499
|
labelProps: mergeProps$1(props.labelProps, labelProps)
|
|
508
500
|
});
|
|
509
|
-
$[
|
|
510
|
-
$[
|
|
511
|
-
$[
|
|
512
|
-
$[
|
|
513
|
-
$[
|
|
514
|
-
} else
|
|
515
|
-
return
|
|
501
|
+
$[133] = component;
|
|
502
|
+
$[134] = domRef;
|
|
503
|
+
$[135] = labelProps;
|
|
504
|
+
$[136] = props;
|
|
505
|
+
$[137] = t49;
|
|
506
|
+
} else t49 = $[137];
|
|
507
|
+
return t49;
|
|
516
508
|
}
|
|
517
509
|
const _DateRangeSeparatedPicker = forwardRef(DateRangeSeparatedPicker);
|
|
518
510
|
_DateRangeSeparatedPicker.displayName = "DateRangeSeparatedPicker";
|