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