@cube-dev/ui-kit 0.190.7 → 0.190.9
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/CHANGELOG.md +14 -0
- 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.d.ts +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.d.ts +2 -2
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Action/Action.js.map +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.d.ts +2 -2
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/Button/Button.js.map +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.d.ts +18 -5
- package/dist/components/actions/CommandMenu/CommandMenu.js +207 -197
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.d.ts +2 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.d.ts +3 -3
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js.map +1 -1
- package/dist/components/actions/Link/Link.d.ts +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.d.ts +20 -5
- package/dist/components/actions/Menu/Menu.js +51 -41
- package/dist/components/actions/Menu/Menu.js.map +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js.map +1 -1
- package/dist/components/actions/Menu/MenuSection.js +2 -3
- package/dist/components/actions/Menu/MenuSection.js.map +1 -1
- package/dist/components/actions/Menu/MenuTrigger.d.ts +42 -3
- package/dist/components/actions/Menu/MenuTrigger.js +22 -22
- package/dist/components/actions/Menu/MenuTrigger.js.map +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +4 -4
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.d.ts +2 -2
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/context.js.map +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/Menu/styled.js.map +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.d.ts +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.d.ts +4 -5
- package/dist/components/actions/use-action.js +3 -2
- package/dist/components/actions/use-action.js.map +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 +2 -2
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.d.ts +964 -6
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.d.ts +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +69 -67
- package/dist/components/content/Disclosure/Disclosure.js.map +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.d.ts +2 -2
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js.map +1 -1
- package/dist/components/content/Item/Item.d.ts +3 -3
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.d.ts +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.d.ts +2 -2
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.d.ts +2 -2
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/TextItem/TextItem.js.map +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/TreeNode.js.map +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.d.ts +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/content/use-auto-tooltip.js.map +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/ItemTable/use-item-table-column-widths.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-drag-drop.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-pagination.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-selection.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-sort.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-tree-model.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 +3 -2
- package/dist/components/data/TableBase/TableHeaderCell.js.map +1 -1
- package/dist/components/data/TableBase/TableRow.js +2 -2
- package/dist/components/data/TableBase/TableRow.js.map +1 -1
- package/dist/components/data/TableBase/TableView.js +1 -1
- package/dist/components/data/TableBase/TreeGridTable.js +1 -1
- package/dist/components/data/TableBase/column-header.js +1 -1
- package/dist/components/data/TableBase/column-menu.d.ts +2 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-menu.js.map +1 -1
- package/dist/components/data/TableBase/column-styles.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.d.ts +3 -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-menu.js +1 -1
- 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.d.ts +7 -14
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +4 -2
- package/dist/components/fields/Checkbox/CheckboxGroup.js +7 -7
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +34 -29
- package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.js +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/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.d.ts +10 -5
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +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 +3 -3
- package/dist/components/fields/DatePicker/DateInput.js.map +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.d.ts +2 -2
- package/dist/components/fields/DatePicker/DatePicker.js +4 -4
- 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 +8 -5
- package/dist/components/fields/DatePicker/DatePickerInput.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +76 -72
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +357 -323
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +3 -3
- package/dist/components/fields/DatePicker/PeriodPicker.d.ts +6 -5
- package/dist/components/fields/DatePicker/PeriodPicker.js +6 -5
- package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +3 -3
- package/dist/components/fields/DatePicker/TimeInput.d.ts +3 -3
- package/dist/components/fields/DatePicker/TimeInput.js +10 -5
- package/dist/components/fields/DatePicker/TimeInput.js.map +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +3 -3
- package/dist/components/fields/DatePicker/YearPicker.d.ts +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +3 -3
- package/dist/components/fields/DatePicker/index.d.ts +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/props.js.map +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.d.ts +2 -6
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js.map +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +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.d.ts +1 -1
- package/dist/components/fields/ListBox/ListBox.js +5 -10
- package/dist/components/fields/ListBox/ListBox.js.map +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +125 -93
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/index.d.ts +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.d.ts +48 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.d.ts +6 -3
- package/dist/components/fields/NumberInput/NumberInput.js +98 -59
- package/dist/components/fields/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -3
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +5 -2
- package/dist/components/fields/PasswordInput/PasswordInput.js +7 -7
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/fields/Picker/Picker.js +1 -1
- package/dist/components/fields/RadioGroup/Radio.d.ts +596 -17
- package/dist/components/fields/RadioGroup/Radio.js +114 -111
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +5 -3
- package/dist/components/fields/RadioGroup/RadioGroup.js +8 -8
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +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.d.ts +5 -3
- package/dist/components/fields/SearchInput/SearchInput.js +2 -2
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
- package/dist/components/fields/Select/Select.d.ts +5 -4
- package/dist/components/fields/Select/Select.js +7 -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.d.ts +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.d.ts +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.d.ts +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/SliderBase.js.map +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.d.ts +3 -7
- package/dist/components/fields/Switch/Switch.js +7 -7
- package/dist/components/fields/Switch/Switch.js.map +1 -1
- package/dist/components/fields/TagInput/TagInput.js +2 -2
- package/dist/components/fields/TagInput/TagInput.js.map +1 -1
- package/dist/components/fields/TagInput/TagList.js +1 -1
- package/dist/components/fields/TagInput/useActiveOption.js +1 -1
- package/dist/components/fields/TagInput/useTagError.js +1 -1
- package/dist/components/fields/TextArea/TextArea.d.ts +11 -3
- package/dist/components/fields/TextArea/TextArea.js +7 -8
- package/dist/components/fields/TextArea/TextArea.js.map +1 -1
- package/dist/components/fields/TextInput/TextInput.d.ts +10 -3
- package/dist/components/fields/TextInput/TextInput.js +7 -8
- package/dist/components/fields/TextInput/TextInput.js.map +1 -1
- package/dist/components/fields/TextInput/TextInputBase.d.ts +7 -5
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js.map +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/fields/index.d.ts +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.d.ts +2 -2
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js.map +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.d.ts +2 -2
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +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.d.ts +2 -2
- 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/reset-unbound-controls.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/legacy-tooltip.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 +387 -379
- package/dist/components/navigation/Tabs/TabButton.js.map +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.d.ts +2 -2
- package/dist/components/navigation/Tabs/Tabs.js +2 -2
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
- package/dist/components/navigation/Tabs/TabsAction.d.ts +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 +50 -45
- package/dist/components/other/Calendar/CalendarGrid.js.map +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +2 -2
- package/dist/components/other/Calendar/CalendarHeader.js.map +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/RangeCalendar.js.map +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 +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.d.ts +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.d.ts +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +25 -24
- package/dist/components/overlays/Dialog/DialogTrigger.js.map +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/default-button-text.js +1 -1
- package/dist/components/overlays/Dialog/use-content-overflow.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/Modal.js.map +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.d.ts +1 -2
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js.map +1 -1
- package/dist/components/overlays/Modal/Popover.d.ts +2 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Popover.js.map +1 -1
- package/dist/components/overlays/Modal/Tray.d.ts +2 -2
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Tray.js.map +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Modal/index.d.ts +1 -1
- package/dist/components/overlays/Modal/types.d.ts +2 -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 +2 -5
- package/dist/components/overlays/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +2 -5
- package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/overlays/Tooltip/context.js.map +1 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.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 +11 -6
- package/dist/components/shared/DraggableCollection.js.map +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.js +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.d.ts +18 -18
- package/dist/index.js +3 -3
- 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/shared/form.d.ts +4 -21
- 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/mapProps.js.map +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.d.ts +2 -2
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/nullableValue.js.map +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 +12 -1
- package/dist/utils/react/useOverlayEscapeGuard.js.map +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/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.190.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.190.9 | Cube Dev Team */
|
|
2
2
|
import { extractStyles, mergeStyleLayers } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
@@ -31,15 +31,15 @@ const DateRangeDash = tasty({
|
|
|
31
31
|
color: "#dark-03"
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
function DateRangeSeparatedPicker(
|
|
35
|
-
const $ = c(
|
|
34
|
+
function DateRangeSeparatedPicker(rawProps, ref) {
|
|
35
|
+
const $ = c(145);
|
|
36
36
|
const { t } = useI18n();
|
|
37
37
|
let t0;
|
|
38
38
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
39
39
|
t0 = { defaultValidationTrigger: "onBlur" };
|
|
40
40
|
$[0] = t0;
|
|
41
41
|
} else t0 = $[0];
|
|
42
|
-
props = useFieldProps(
|
|
42
|
+
let props = useFieldProps(rawProps, t0);
|
|
43
43
|
let t1;
|
|
44
44
|
if ($[1] !== props) {
|
|
45
45
|
props = Object.assign({}, DEFAULT_DATE_PROPS, props);
|
|
@@ -62,96 +62,110 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
62
62
|
} else t2 = $[5];
|
|
63
63
|
const state = useDateRangePickerState(t2);
|
|
64
64
|
const t3 = state.value?.start;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
const t4 = props.defaultValue?.start;
|
|
66
|
+
let t5;
|
|
67
|
+
if ($[6] !== props || $[7] !== t3 || $[8] !== t4) {
|
|
68
|
+
t5 = {
|
|
68
69
|
...props,
|
|
69
|
-
onChange:
|
|
70
|
-
|
|
70
|
+
onChange: void 0,
|
|
71
|
+
validate: void 0,
|
|
72
|
+
value: t3,
|
|
73
|
+
defaultValue: t4
|
|
71
74
|
};
|
|
72
75
|
$[6] = props;
|
|
73
76
|
$[7] = t3;
|
|
74
77
|
$[8] = t4;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
$[9] = t5;
|
|
79
|
+
} else t5 = $[9];
|
|
80
|
+
const startDateProps = t5;
|
|
81
|
+
const t6 = state.value?.end;
|
|
82
|
+
const t7 = props.defaultValue?.end;
|
|
83
|
+
let t8;
|
|
84
|
+
if ($[10] !== props || $[11] !== t6 || $[12] !== t7) {
|
|
85
|
+
t8 = {
|
|
81
86
|
...props,
|
|
82
|
-
onChange:
|
|
83
|
-
|
|
87
|
+
onChange: void 0,
|
|
88
|
+
validate: void 0,
|
|
89
|
+
value: t6,
|
|
90
|
+
defaultValue: t7
|
|
84
91
|
};
|
|
85
|
-
$[
|
|
86
|
-
$[10] = t5;
|
|
92
|
+
$[10] = props;
|
|
87
93
|
$[11] = t6;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
$[12] = t7;
|
|
95
|
+
$[13] = t8;
|
|
96
|
+
} else t8 = $[13];
|
|
97
|
+
const endDateProps = t8;
|
|
98
|
+
const startState = useDatePickerState(startDateProps);
|
|
99
|
+
const endState = useDatePickerState(endDateProps);
|
|
100
|
+
let t9;
|
|
101
|
+
if ($[14] !== autoFocus) {
|
|
102
|
+
t9 = {
|
|
93
103
|
within: true,
|
|
94
104
|
isTextInput: true,
|
|
95
105
|
autoFocus
|
|
96
106
|
};
|
|
97
|
-
$[
|
|
98
|
-
$[
|
|
99
|
-
} else
|
|
100
|
-
const startFocusRingProps = useFocusRing(
|
|
101
|
-
let
|
|
102
|
-
if ($[
|
|
103
|
-
|
|
107
|
+
$[14] = autoFocus;
|
|
108
|
+
$[15] = t9;
|
|
109
|
+
} else t9 = $[15];
|
|
110
|
+
const startFocusRingProps = useFocusRing(t9);
|
|
111
|
+
let t10;
|
|
112
|
+
if ($[16] !== autoFocus) {
|
|
113
|
+
t10 = {
|
|
104
114
|
within: false,
|
|
105
115
|
isTextInput: false,
|
|
106
116
|
autoFocus
|
|
107
117
|
};
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
110
|
-
} else
|
|
111
|
-
const startFocusProps = useFocusRing(
|
|
112
|
-
let
|
|
113
|
-
if ($[
|
|
114
|
-
|
|
118
|
+
$[16] = autoFocus;
|
|
119
|
+
$[17] = t10;
|
|
120
|
+
} else t10 = $[17];
|
|
121
|
+
const startFocusProps = useFocusRing(t10);
|
|
122
|
+
let t11;
|
|
123
|
+
if ($[18] !== autoFocus) {
|
|
124
|
+
t11 = {
|
|
115
125
|
within: true,
|
|
116
126
|
isTextInput: true,
|
|
117
127
|
autoFocus
|
|
118
128
|
};
|
|
119
|
-
$[
|
|
120
|
-
$[
|
|
121
|
-
} else
|
|
122
|
-
const endFocusRingProps = useFocusRing(
|
|
123
|
-
let
|
|
124
|
-
if ($[
|
|
125
|
-
|
|
129
|
+
$[18] = autoFocus;
|
|
130
|
+
$[19] = t11;
|
|
131
|
+
} else t11 = $[19];
|
|
132
|
+
const endFocusRingProps = useFocusRing(t11);
|
|
133
|
+
let t12;
|
|
134
|
+
if ($[20] !== autoFocus) {
|
|
135
|
+
t12 = {
|
|
126
136
|
within: false,
|
|
127
137
|
isTextInput: false,
|
|
128
138
|
autoFocus
|
|
129
139
|
};
|
|
130
|
-
$[
|
|
131
|
-
$[
|
|
132
|
-
} else
|
|
133
|
-
const endFocusProps = useFocusRing(
|
|
140
|
+
$[20] = autoFocus;
|
|
141
|
+
$[21] = t12;
|
|
142
|
+
} else t12 = $[21];
|
|
143
|
+
const endFocusProps = useFocusRing(t12);
|
|
134
144
|
const domRef = useFocusManagerRef(ref);
|
|
135
145
|
const { groupProps, labelProps, startFieldProps, endFieldProps } = useDateRangePicker(props, state, targetRef);
|
|
136
|
-
const startProps = useDatePicker(
|
|
137
|
-
const endProps = useDatePicker(
|
|
138
|
-
const placeholder = placeholderValue;
|
|
146
|
+
const startProps = useDatePicker(startDateProps, startState, targetRef);
|
|
147
|
+
const endProps = useDatePicker(endDateProps, endState, targetRef);
|
|
148
|
+
const placeholder = placeholderValue ?? void 0;
|
|
139
149
|
const timePlaceholder = placeholder && "hour" in placeholder ? placeholder : void 0;
|
|
140
150
|
const timeMinValue = props.minValue && "hour" in props.minValue ? props.minValue : void 0;
|
|
141
151
|
const timeMaxValue = props.maxValue && "hour" in props.maxValue ? props.maxValue : void 0;
|
|
142
|
-
const timeGranularity = state.granularity === "hour" || state.granularity === "minute" || state.granularity === "second" ? state.granularity :
|
|
152
|
+
const timeGranularity = state.granularity === "hour" || state.granularity === "minute" || state.granularity === "second" ? state.granularity : void 0;
|
|
143
153
|
const showTimeField = !!timeGranularity;
|
|
144
|
-
let
|
|
145
|
-
if ($[
|
|
146
|
-
|
|
154
|
+
let t13;
|
|
155
|
+
if ($[22] !== endProps.calendarProps || $[23] !== endState || $[24] !== startProps.calendarProps || $[25] !== startState || $[26] !== state) {
|
|
156
|
+
t13 = function onChange(value, type) {
|
|
147
157
|
if (type === "start") {
|
|
148
158
|
const newRange = {
|
|
149
159
|
...state.value,
|
|
150
160
|
start: value
|
|
151
161
|
};
|
|
152
162
|
if (newRange.start && newRange.end && newRange.end.compare(newRange.start) < 0) newRange.end = newRange.start;
|
|
153
|
-
state.setValue(
|
|
154
|
-
|
|
163
|
+
if (newRange.end) state.setValue({
|
|
164
|
+
start: newRange.start,
|
|
165
|
+
end: newRange.end
|
|
166
|
+
});
|
|
167
|
+
else state.setDateTime("start", newRange.start);
|
|
168
|
+
startProps.calendarProps.onChange?.(value);
|
|
155
169
|
startState.setOpen(false);
|
|
156
170
|
} else {
|
|
157
171
|
const newRange_0 = {
|
|
@@ -159,71 +173,83 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
159
173
|
end: value
|
|
160
174
|
};
|
|
161
175
|
if (newRange_0.start && newRange_0.end && newRange_0.end.compare(newRange_0.start) < 0) newRange_0.start = newRange_0.end;
|
|
162
|
-
state.setValue(
|
|
163
|
-
|
|
176
|
+
if (newRange_0.start) state.setValue({
|
|
177
|
+
start: newRange_0.start,
|
|
178
|
+
end: newRange_0.end
|
|
179
|
+
});
|
|
180
|
+
else state.setDateTime("end", newRange_0.end);
|
|
181
|
+
endProps.calendarProps.onChange?.(value);
|
|
164
182
|
endState.setOpen(false);
|
|
165
183
|
}
|
|
166
184
|
};
|
|
167
|
-
$[
|
|
168
|
-
$[
|
|
169
|
-
$[
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
173
|
-
} else
|
|
174
|
-
const onChange =
|
|
175
|
-
const
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
const
|
|
179
|
-
const
|
|
180
|
-
const
|
|
181
|
-
const
|
|
182
|
-
const
|
|
183
|
-
let
|
|
184
|
-
if ($[
|
|
185
|
-
|
|
186
|
-
$[
|
|
187
|
-
$[
|
|
188
|
-
$[
|
|
189
|
-
} else
|
|
190
|
-
let
|
|
191
|
-
if ($[
|
|
192
|
-
|
|
185
|
+
$[22] = endProps.calendarProps;
|
|
186
|
+
$[23] = endState;
|
|
187
|
+
$[24] = startProps.calendarProps;
|
|
188
|
+
$[25] = startState;
|
|
189
|
+
$[26] = state;
|
|
190
|
+
$[27] = t13;
|
|
191
|
+
} else t13 = $[27];
|
|
192
|
+
const onChange = t13;
|
|
193
|
+
const t14 = qa || "DateRangeSeparatedPicker";
|
|
194
|
+
const t15 = startFocusProps.isFocused;
|
|
195
|
+
const t16 = startFocusRingProps.focusProps;
|
|
196
|
+
const t17 = props.placement ?? "bottom right";
|
|
197
|
+
const t18 = props.targetRef ?? targetRef;
|
|
198
|
+
const t19 = startState.isOpen;
|
|
199
|
+
const t20 = props.shouldFlip;
|
|
200
|
+
const t21 = startState.setOpen;
|
|
201
|
+
let t22;
|
|
202
|
+
if ($[28] !== startFocusProps.focusProps || $[29] !== startProps.buttonProps) {
|
|
203
|
+
t22 = mergeProps$1(startProps.buttonProps, startFocusProps.focusProps);
|
|
204
|
+
$[28] = startFocusProps.focusProps;
|
|
205
|
+
$[29] = startProps.buttonProps;
|
|
206
|
+
$[30] = t22;
|
|
207
|
+
} else t22 = $[30];
|
|
208
|
+
let t23;
|
|
209
|
+
if ($[31] !== isDisabled || $[32] !== size || $[33] !== t22) {
|
|
210
|
+
t23 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
193
211
|
size,
|
|
194
|
-
...
|
|
212
|
+
...t22,
|
|
195
213
|
isDisabled
|
|
196
214
|
});
|
|
197
|
-
$[
|
|
198
|
-
$[
|
|
199
|
-
$[
|
|
200
|
-
$[
|
|
201
|
-
} else
|
|
202
|
-
const
|
|
203
|
-
const t23 = state.value?.start && state.value?.end ? state.value : void 0;
|
|
204
|
-
let t24;
|
|
205
|
-
if ($[33] !== onChange) {
|
|
206
|
-
t24 = (value_0) => onChange(value_0, "start");
|
|
207
|
-
$[33] = onChange;
|
|
208
|
-
$[34] = t24;
|
|
209
|
-
} else t24 = $[34];
|
|
215
|
+
$[31] = isDisabled;
|
|
216
|
+
$[32] = size;
|
|
217
|
+
$[33] = t22;
|
|
218
|
+
$[34] = t23;
|
|
219
|
+
} else t23 = $[34];
|
|
220
|
+
const t24 = state.value?.start || state.value?.end || void 0;
|
|
210
221
|
let t25;
|
|
211
|
-
if ($[35] !==
|
|
212
|
-
t25 =
|
|
222
|
+
if ($[35] !== state.value) {
|
|
223
|
+
t25 = state.value?.start && state.value?.end ? {
|
|
224
|
+
start: state.value.start,
|
|
225
|
+
end: state.value.end
|
|
226
|
+
} : void 0;
|
|
227
|
+
$[35] = state.value;
|
|
228
|
+
$[36] = t25;
|
|
229
|
+
} else t25 = $[36];
|
|
230
|
+
let t26;
|
|
231
|
+
if ($[37] !== onChange) {
|
|
232
|
+
t26 = (value_0) => onChange(value_0, "start");
|
|
233
|
+
$[37] = onChange;
|
|
234
|
+
$[38] = t26;
|
|
235
|
+
} else t26 = $[38];
|
|
236
|
+
let t27;
|
|
237
|
+
if ($[39] !== startProps.calendarProps || $[40] !== t24 || $[41] !== t25 || $[42] !== t26) {
|
|
238
|
+
t27 = /* @__PURE__ */ jsx(_Calendar, {
|
|
213
239
|
...startProps.calendarProps,
|
|
214
|
-
defaultFocusedValue:
|
|
215
|
-
selectedRange:
|
|
216
|
-
onChange:
|
|
240
|
+
defaultFocusedValue: t24,
|
|
241
|
+
selectedRange: t25,
|
|
242
|
+
onChange: t26
|
|
217
243
|
});
|
|
218
|
-
$[
|
|
219
|
-
$[
|
|
220
|
-
$[
|
|
221
|
-
$[
|
|
222
|
-
$[
|
|
223
|
-
} else
|
|
224
|
-
let
|
|
225
|
-
if ($[
|
|
226
|
-
|
|
244
|
+
$[39] = startProps.calendarProps;
|
|
245
|
+
$[40] = t24;
|
|
246
|
+
$[41] = t25;
|
|
247
|
+
$[42] = t26;
|
|
248
|
+
$[43] = t27;
|
|
249
|
+
} else t27 = $[43];
|
|
250
|
+
let t28;
|
|
251
|
+
if ($[44] !== props.hideTimeZone || $[45] !== props.hourCycle || $[46] !== showTimeField || $[47] !== startState.setTimeValue || $[48] !== startState.timeValue || $[49] !== t || $[50] !== timeGranularity || $[51] !== timeMaxValue || $[52] !== timeMinValue || $[53] !== timePlaceholder) {
|
|
252
|
+
t28 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
227
253
|
padding: "1x",
|
|
228
254
|
label: t("datePicker.time", "Time"),
|
|
229
255
|
value: startState.timeValue,
|
|
@@ -235,150 +261,158 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
235
261
|
hideTimeZone: props.hideTimeZone,
|
|
236
262
|
onChange: startState.setTimeValue
|
|
237
263
|
});
|
|
238
|
-
$[
|
|
239
|
-
$[
|
|
240
|
-
$[
|
|
241
|
-
$[
|
|
242
|
-
$[
|
|
243
|
-
$[
|
|
244
|
-
$[
|
|
245
|
-
$[
|
|
246
|
-
$[
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
249
|
-
} else
|
|
250
|
-
let
|
|
251
|
-
if ($[
|
|
252
|
-
|
|
264
|
+
$[44] = props.hideTimeZone;
|
|
265
|
+
$[45] = props.hourCycle;
|
|
266
|
+
$[46] = showTimeField;
|
|
267
|
+
$[47] = startState.setTimeValue;
|
|
268
|
+
$[48] = startState.timeValue;
|
|
269
|
+
$[49] = t;
|
|
270
|
+
$[50] = timeGranularity;
|
|
271
|
+
$[51] = timeMaxValue;
|
|
272
|
+
$[52] = timeMinValue;
|
|
273
|
+
$[53] = timePlaceholder;
|
|
274
|
+
$[54] = t28;
|
|
275
|
+
} else t28 = $[54];
|
|
276
|
+
let t29;
|
|
277
|
+
if ($[55] !== startProps.dialogProps || $[56] !== t27 || $[57] !== t28) {
|
|
278
|
+
t29 = /* @__PURE__ */ jsxs(Dialog, {
|
|
253
279
|
...startProps.dialogProps,
|
|
254
280
|
width: "max-content",
|
|
255
|
-
children: [
|
|
281
|
+
children: [t27, t28]
|
|
256
282
|
});
|
|
257
|
-
$[
|
|
258
|
-
$[
|
|
259
|
-
$[
|
|
260
|
-
$[
|
|
261
|
-
} else
|
|
262
|
-
let
|
|
263
|
-
if ($[
|
|
264
|
-
|
|
283
|
+
$[55] = startProps.dialogProps;
|
|
284
|
+
$[56] = t27;
|
|
285
|
+
$[57] = t28;
|
|
286
|
+
$[58] = t29;
|
|
287
|
+
} else t29 = $[58];
|
|
288
|
+
let t30;
|
|
289
|
+
if ($[59] !== props.shouldFlip || $[60] !== startState.isOpen || $[61] !== startState.setOpen || $[62] !== t17 || $[63] !== t18 || $[64] !== t23 || $[65] !== t29) {
|
|
290
|
+
t30 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
265
291
|
hideArrow: true,
|
|
266
292
|
type: "popover",
|
|
267
293
|
mobileType: "tray",
|
|
268
|
-
placement:
|
|
269
|
-
targetRef:
|
|
270
|
-
isOpen:
|
|
271
|
-
shouldFlip:
|
|
272
|
-
onOpenChange:
|
|
273
|
-
children: [
|
|
294
|
+
placement: t17,
|
|
295
|
+
targetRef: t18,
|
|
296
|
+
isOpen: t19,
|
|
297
|
+
shouldFlip: t20,
|
|
298
|
+
onOpenChange: t21,
|
|
299
|
+
children: [t23, t29]
|
|
274
300
|
});
|
|
275
|
-
$[
|
|
276
|
-
$[
|
|
277
|
-
$[
|
|
278
|
-
$[
|
|
279
|
-
$[
|
|
280
|
-
$[
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
} else
|
|
284
|
-
let
|
|
285
|
-
if ($[
|
|
286
|
-
|
|
301
|
+
$[59] = props.shouldFlip;
|
|
302
|
+
$[60] = startState.isOpen;
|
|
303
|
+
$[61] = startState.setOpen;
|
|
304
|
+
$[62] = t17;
|
|
305
|
+
$[63] = t18;
|
|
306
|
+
$[64] = t23;
|
|
307
|
+
$[65] = t29;
|
|
308
|
+
$[66] = t30;
|
|
309
|
+
} else t30 = $[66];
|
|
310
|
+
let t31;
|
|
311
|
+
if ($[67] !== startFieldProps || $[68] !== useLocaleProp) {
|
|
312
|
+
t31 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
287
313
|
useLocale: useLocaleProp,
|
|
288
314
|
...startFieldProps
|
|
289
315
|
});
|
|
290
|
-
$[
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
293
|
-
} else
|
|
294
|
-
let
|
|
295
|
-
if ($[
|
|
296
|
-
|
|
297
|
-
disableFocusRing:
|
|
316
|
+
$[67] = startFieldProps;
|
|
317
|
+
$[68] = useLocaleProp;
|
|
318
|
+
$[69] = t31;
|
|
319
|
+
} else t31 = $[69];
|
|
320
|
+
let t32;
|
|
321
|
+
if ($[70] !== isDisabled || $[71] !== isInvalid || $[72] !== isValid || $[73] !== size || $[74] !== startFocusProps.isFocused || $[75] !== startFocusRingProps.focusProps || $[76] !== t30 || $[77] !== t31) {
|
|
322
|
+
t32 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
323
|
+
disableFocusRing: t15,
|
|
298
324
|
isDisabled,
|
|
299
325
|
isInvalid,
|
|
300
326
|
isValid,
|
|
301
327
|
size,
|
|
302
|
-
...
|
|
303
|
-
suffix:
|
|
304
|
-
children:
|
|
328
|
+
...t16,
|
|
329
|
+
suffix: t30,
|
|
330
|
+
children: t31
|
|
305
331
|
});
|
|
306
|
-
$[
|
|
307
|
-
$[
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
313
|
-
$[
|
|
314
|
-
$[
|
|
315
|
-
} else
|
|
316
|
-
let
|
|
317
|
-
if ($[
|
|
318
|
-
|
|
319
|
-
$[
|
|
320
|
-
} else
|
|
321
|
-
const
|
|
322
|
-
const
|
|
323
|
-
const
|
|
324
|
-
const
|
|
325
|
-
const
|
|
326
|
-
const
|
|
327
|
-
const
|
|
328
|
-
let t39;
|
|
329
|
-
if ($[76] !== t) {
|
|
330
|
-
t39 = t("datePicker.showEndCalendar", "Show calendar for the end date");
|
|
331
|
-
$[76] = t;
|
|
332
|
-
$[77] = t39;
|
|
333
|
-
} else t39 = $[77];
|
|
334
|
-
let t40;
|
|
335
|
-
if ($[78] !== endFocusProps.focusProps || $[79] !== endProps.buttonProps) {
|
|
336
|
-
t40 = mergeProps$1(endFocusProps.focusProps, endProps.buttonProps);
|
|
337
|
-
$[78] = endFocusProps.focusProps;
|
|
338
|
-
$[79] = endProps.buttonProps;
|
|
339
|
-
$[80] = t40;
|
|
340
|
-
} else t40 = $[80];
|
|
332
|
+
$[70] = isDisabled;
|
|
333
|
+
$[71] = isInvalid;
|
|
334
|
+
$[72] = isValid;
|
|
335
|
+
$[73] = size;
|
|
336
|
+
$[74] = startFocusProps.isFocused;
|
|
337
|
+
$[75] = startFocusRingProps.focusProps;
|
|
338
|
+
$[76] = t30;
|
|
339
|
+
$[77] = t31;
|
|
340
|
+
$[78] = t32;
|
|
341
|
+
} else t32 = $[78];
|
|
342
|
+
let t33;
|
|
343
|
+
if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
|
|
344
|
+
t33 = /* @__PURE__ */ jsx(DateRangeDash, {});
|
|
345
|
+
$[79] = t33;
|
|
346
|
+
} else t33 = $[79];
|
|
347
|
+
const t34 = endFocusProps.isFocused;
|
|
348
|
+
const t35 = endFocusRingProps.focusProps;
|
|
349
|
+
const t36 = props.placement ?? "bottom right";
|
|
350
|
+
const t37 = props.targetRef ?? targetRef;
|
|
351
|
+
const t38 = endState.isOpen;
|
|
352
|
+
const t39 = props.shouldFlip;
|
|
353
|
+
const t40 = endState.setOpen;
|
|
341
354
|
let t41;
|
|
342
|
-
if ($[
|
|
343
|
-
t41 =
|
|
344
|
-
|
|
355
|
+
if ($[80] !== t) {
|
|
356
|
+
t41 = t("datePicker.showEndCalendar", "Show calendar for the end date");
|
|
357
|
+
$[80] = t;
|
|
358
|
+
$[81] = t41;
|
|
359
|
+
} else t41 = $[81];
|
|
360
|
+
let t42;
|
|
361
|
+
if ($[82] !== endFocusProps.focusProps || $[83] !== endProps.buttonProps) {
|
|
362
|
+
t42 = mergeProps$1(endFocusProps.focusProps, endProps.buttonProps);
|
|
363
|
+
$[82] = endFocusProps.focusProps;
|
|
364
|
+
$[83] = endProps.buttonProps;
|
|
365
|
+
$[84] = t42;
|
|
366
|
+
} else t42 = $[84];
|
|
367
|
+
let t43;
|
|
368
|
+
if ($[85] !== isDisabled || $[86] !== size || $[87] !== t41 || $[88] !== t42) {
|
|
369
|
+
t43 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
370
|
+
"aria-label": t41,
|
|
345
371
|
size,
|
|
346
|
-
...
|
|
372
|
+
...t42,
|
|
347
373
|
isDisabled
|
|
348
374
|
});
|
|
349
|
-
$[
|
|
350
|
-
$[
|
|
351
|
-
$[
|
|
352
|
-
$[
|
|
353
|
-
$[
|
|
354
|
-
} else
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
375
|
+
$[85] = isDisabled;
|
|
376
|
+
$[86] = size;
|
|
377
|
+
$[87] = t41;
|
|
378
|
+
$[88] = t42;
|
|
379
|
+
$[89] = t43;
|
|
380
|
+
} else t43 = $[89];
|
|
381
|
+
const t44 = state.value?.end || state.value?.start || void 0;
|
|
382
|
+
let t45;
|
|
383
|
+
if ($[90] !== state.value) {
|
|
384
|
+
t45 = state.value?.start && state.value?.end ? {
|
|
385
|
+
start: state.value.start,
|
|
386
|
+
end: state.value.end
|
|
387
|
+
} : void 0;
|
|
388
|
+
$[90] = state.value;
|
|
389
|
+
$[91] = t45;
|
|
390
|
+
} else t45 = $[91];
|
|
391
|
+
let t46;
|
|
392
|
+
if ($[92] !== onChange) {
|
|
393
|
+
t46 = (value_1) => {
|
|
360
394
|
onChange(value_1, "end");
|
|
361
395
|
};
|
|
362
|
-
$[
|
|
363
|
-
$[
|
|
364
|
-
} else
|
|
365
|
-
let
|
|
366
|
-
if ($[
|
|
367
|
-
|
|
396
|
+
$[92] = onChange;
|
|
397
|
+
$[93] = t46;
|
|
398
|
+
} else t46 = $[93];
|
|
399
|
+
let t47;
|
|
400
|
+
if ($[94] !== endProps.calendarProps || $[95] !== t44 || $[96] !== t45 || $[97] !== t46) {
|
|
401
|
+
t47 = /* @__PURE__ */ jsx(_Calendar, {
|
|
368
402
|
...endProps.calendarProps,
|
|
369
|
-
defaultFocusedValue:
|
|
370
|
-
selectedRange:
|
|
371
|
-
onChange:
|
|
403
|
+
defaultFocusedValue: t44,
|
|
404
|
+
selectedRange: t45,
|
|
405
|
+
onChange: t46
|
|
372
406
|
});
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
375
|
-
$[
|
|
376
|
-
$[
|
|
377
|
-
$[
|
|
378
|
-
} else
|
|
379
|
-
let
|
|
380
|
-
if ($[
|
|
381
|
-
|
|
407
|
+
$[94] = endProps.calendarProps;
|
|
408
|
+
$[95] = t44;
|
|
409
|
+
$[96] = t45;
|
|
410
|
+
$[97] = t46;
|
|
411
|
+
$[98] = t47;
|
|
412
|
+
} else t47 = $[98];
|
|
413
|
+
let t48;
|
|
414
|
+
if ($[99] !== endState.setTimeValue || $[100] !== endState.timeValue || $[101] !== props.hideTimeZone || $[102] !== props.hourCycle || $[103] !== showTimeField || $[104] !== t || $[105] !== timeGranularity || $[106] !== timeMaxValue || $[107] !== timeMinValue || $[108] !== timePlaceholder) {
|
|
415
|
+
t48 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
382
416
|
padding: "1x",
|
|
383
417
|
label: t("datePicker.time", "Time"),
|
|
384
418
|
value: endState.timeValue,
|
|
@@ -390,119 +424,119 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
390
424
|
hideTimeZone: props.hideTimeZone,
|
|
391
425
|
onChange: endState.setTimeValue
|
|
392
426
|
});
|
|
393
|
-
$[
|
|
394
|
-
$[
|
|
395
|
-
$[
|
|
396
|
-
$[
|
|
397
|
-
$[
|
|
398
|
-
$[
|
|
399
|
-
$[
|
|
400
|
-
$[
|
|
401
|
-
$[
|
|
402
|
-
$[
|
|
403
|
-
$[
|
|
404
|
-
} else
|
|
405
|
-
let
|
|
406
|
-
if ($[
|
|
407
|
-
|
|
427
|
+
$[99] = endState.setTimeValue;
|
|
428
|
+
$[100] = endState.timeValue;
|
|
429
|
+
$[101] = props.hideTimeZone;
|
|
430
|
+
$[102] = props.hourCycle;
|
|
431
|
+
$[103] = showTimeField;
|
|
432
|
+
$[104] = t;
|
|
433
|
+
$[105] = timeGranularity;
|
|
434
|
+
$[106] = timeMaxValue;
|
|
435
|
+
$[107] = timeMinValue;
|
|
436
|
+
$[108] = timePlaceholder;
|
|
437
|
+
$[109] = t48;
|
|
438
|
+
} else t48 = $[109];
|
|
439
|
+
let t49;
|
|
440
|
+
if ($[110] !== endProps.dialogProps || $[111] !== t47 || $[112] !== t48) {
|
|
441
|
+
t49 = /* @__PURE__ */ jsxs(Dialog, {
|
|
408
442
|
...endProps.dialogProps,
|
|
409
443
|
width: "max-content",
|
|
410
|
-
children: [
|
|
444
|
+
children: [t47, t48]
|
|
411
445
|
});
|
|
412
|
-
$[
|
|
413
|
-
$[
|
|
414
|
-
$[
|
|
415
|
-
$[
|
|
416
|
-
} else
|
|
417
|
-
let
|
|
418
|
-
if ($[
|
|
419
|
-
|
|
446
|
+
$[110] = endProps.dialogProps;
|
|
447
|
+
$[111] = t47;
|
|
448
|
+
$[112] = t48;
|
|
449
|
+
$[113] = t49;
|
|
450
|
+
} else t49 = $[113];
|
|
451
|
+
let t50;
|
|
452
|
+
if ($[114] !== endState.isOpen || $[115] !== endState.setOpen || $[116] !== props.shouldFlip || $[117] !== t36 || $[118] !== t37 || $[119] !== t43 || $[120] !== t49) {
|
|
453
|
+
t50 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
420
454
|
hideArrow: true,
|
|
421
455
|
type: "popover",
|
|
422
456
|
mobileType: "tray",
|
|
423
|
-
placement:
|
|
424
|
-
targetRef:
|
|
425
|
-
isOpen:
|
|
426
|
-
shouldFlip:
|
|
427
|
-
onOpenChange:
|
|
428
|
-
children: [
|
|
457
|
+
placement: t36,
|
|
458
|
+
targetRef: t37,
|
|
459
|
+
isOpen: t38,
|
|
460
|
+
shouldFlip: t39,
|
|
461
|
+
onOpenChange: t40,
|
|
462
|
+
children: [t43, t49]
|
|
429
463
|
});
|
|
430
|
-
$[
|
|
431
|
-
$[
|
|
432
|
-
$[
|
|
433
|
-
$[
|
|
434
|
-
$[
|
|
435
|
-
$[
|
|
436
|
-
$[
|
|
437
|
-
$[
|
|
438
|
-
} else
|
|
439
|
-
let
|
|
440
|
-
if ($[
|
|
441
|
-
|
|
464
|
+
$[114] = endState.isOpen;
|
|
465
|
+
$[115] = endState.setOpen;
|
|
466
|
+
$[116] = props.shouldFlip;
|
|
467
|
+
$[117] = t36;
|
|
468
|
+
$[118] = t37;
|
|
469
|
+
$[119] = t43;
|
|
470
|
+
$[120] = t49;
|
|
471
|
+
$[121] = t50;
|
|
472
|
+
} else t50 = $[121];
|
|
473
|
+
let t51;
|
|
474
|
+
if ($[122] !== endFieldProps || $[123] !== useLocaleProp) {
|
|
475
|
+
t51 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
442
476
|
useLocale: useLocaleProp,
|
|
443
477
|
...endFieldProps
|
|
444
478
|
});
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
} else
|
|
449
|
-
let
|
|
450
|
-
if ($[
|
|
451
|
-
|
|
452
|
-
disableFocusRing:
|
|
479
|
+
$[122] = endFieldProps;
|
|
480
|
+
$[123] = useLocaleProp;
|
|
481
|
+
$[124] = t51;
|
|
482
|
+
} else t51 = $[124];
|
|
483
|
+
let t52;
|
|
484
|
+
if ($[125] !== endFocusProps.isFocused || $[126] !== endFocusRingProps.focusProps || $[127] !== isDisabled || $[128] !== isInvalid || $[129] !== isValid || $[130] !== size || $[131] !== t50 || $[132] !== t51) {
|
|
485
|
+
t52 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
486
|
+
disableFocusRing: t34,
|
|
453
487
|
isDisabled,
|
|
454
488
|
isInvalid,
|
|
455
489
|
isValid,
|
|
456
490
|
size,
|
|
457
|
-
...
|
|
458
|
-
suffix:
|
|
459
|
-
children:
|
|
491
|
+
...t35,
|
|
492
|
+
suffix: t50,
|
|
493
|
+
children: t51
|
|
460
494
|
});
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
467
|
-
$[
|
|
468
|
-
$[
|
|
469
|
-
$[
|
|
470
|
-
} else
|
|
471
|
-
let
|
|
472
|
-
if ($[
|
|
473
|
-
|
|
495
|
+
$[125] = endFocusProps.isFocused;
|
|
496
|
+
$[126] = endFocusRingProps.focusProps;
|
|
497
|
+
$[127] = isDisabled;
|
|
498
|
+
$[128] = isInvalid;
|
|
499
|
+
$[129] = isValid;
|
|
500
|
+
$[130] = size;
|
|
501
|
+
$[131] = t50;
|
|
502
|
+
$[132] = t51;
|
|
503
|
+
$[133] = t52;
|
|
504
|
+
} else t52 = $[133];
|
|
505
|
+
let t53;
|
|
506
|
+
if ($[134] !== groupProps || $[135] !== styles || $[136] !== t14 || $[137] !== t32 || $[138] !== t52) {
|
|
507
|
+
t53 = /* @__PURE__ */ jsxs(DatePickerElement, {
|
|
474
508
|
ref: targetRef,
|
|
475
509
|
...groupProps,
|
|
476
510
|
styles,
|
|
477
|
-
qa:
|
|
511
|
+
qa: t14,
|
|
478
512
|
"data-input-type": "daterangeseparatedpicker",
|
|
479
513
|
children: [
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
514
|
+
t32,
|
|
515
|
+
t33,
|
|
516
|
+
t52
|
|
483
517
|
]
|
|
484
518
|
});
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
} else
|
|
492
|
-
const component =
|
|
493
|
-
let
|
|
494
|
-
if ($[
|
|
495
|
-
|
|
519
|
+
$[134] = groupProps;
|
|
520
|
+
$[135] = styles;
|
|
521
|
+
$[136] = t14;
|
|
522
|
+
$[137] = t32;
|
|
523
|
+
$[138] = t52;
|
|
524
|
+
$[139] = t53;
|
|
525
|
+
} else t53 = $[139];
|
|
526
|
+
const component = t53;
|
|
527
|
+
let t54;
|
|
528
|
+
if ($[140] !== component || $[141] !== domRef || $[142] !== labelProps || $[143] !== props) {
|
|
529
|
+
t54 = wrapWithField(component, domRef, {
|
|
496
530
|
...props,
|
|
497
531
|
labelProps: mergeProps$1(props.labelProps, labelProps)
|
|
498
532
|
});
|
|
499
|
-
$[
|
|
500
|
-
$[
|
|
501
|
-
$[
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
} else
|
|
505
|
-
return
|
|
533
|
+
$[140] = component;
|
|
534
|
+
$[141] = domRef;
|
|
535
|
+
$[142] = labelProps;
|
|
536
|
+
$[143] = props;
|
|
537
|
+
$[144] = t54;
|
|
538
|
+
} else t54 = $[144];
|
|
539
|
+
return t54;
|
|
506
540
|
}
|
|
507
541
|
const _DateRangeSeparatedPicker = forwardRef(DateRangeSeparatedPicker);
|
|
508
542
|
_DateRangeSeparatedPicker.displayName = "DateRangeSeparatedPicker";
|