@cube-dev/ui-kit 0.205.0 → 0.206.1
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 +26 -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.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/Root.js.map +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +221 -132
- package/dist/components/actions/ItemActionsWrapper.js.map +1 -1
- 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.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuCollectionItem.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.d.ts +2 -1
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/Item/ItemWithNativeLinks.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPanelTransition.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 +3 -2
- package/dist/components/content/PrismCode/PrismCode.js.map +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +8 -2
- package/dist/components/content/PrismCode/prismSetup.js.map +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.d.ts +5 -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/checked-keys.js +1 -1
- package/dist/components/content/Tree/rowId.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +114 -72
- 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/item-table-sections.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 +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableRowLink.js +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.js +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.js +21 -20
- package/dist/components/data/TableBase/styled.js.map +1 -1
- package/dist/components/data/TableBase/table-body-sections.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-column-window.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-tooltip-refresh.js +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +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/comboBoxOptions.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/CalendarPopover.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -2
- package/dist/components/fields/FileInput/FileInput.js.map +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterListBox/styled.js +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +1 -1
- package/dist/components/fields/FilterPicker/FilterTree.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.js +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/Picker/Picker.js +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +108 -118
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +10 -12
- 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.js +1 -1
- package/dist/components/fields/Select/Select.js +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TagInput/TagInput.js +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.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/displayed-validation.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/fields/option-origin-press.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/FieldWrapper/field-description.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/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/field-chrome.js +1 -1
- package/dist/components/form/field-layout.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/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/BoardDragActiveProvider.js +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +190 -187
- 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.js +2 -1
- package/dist/components/navigation/Tabs/Tabs.js.map +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/segmented-styles.js +53 -0
- package/dist/components/navigation/Tabs/segmented-styles.js.map +1 -0
- package/dist/components/navigation/Tabs/styled.js +15 -28
- package/dist/components/navigation/Tabs/styled.js.map +1 -1
- package/dist/components/navigation/Tabs/types.d.ts +4 -4
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/types.js.map +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +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/Dialog/use-dialog-open-sync.js +1 -1
- package/dist/components/overlays/Dialog/use-dismiss-confirmation.js +1 -1
- package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Modal/modal-containment.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/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 +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 +2 -2
- package/dist/components/status/Spin/Cube.js.map +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 +70 -70
- package/dist/data/item-themes.js.map +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +1 -1
- package/dist/i18n/locales/en-US/uikit.js +1 -1
- package/dist/i18n/locales/es-ES/uikit.js +1 -1
- package/dist/i18n/locales/es-MX/uikit.js +1 -1
- package/dist/i18n/locales/fr-FR/uikit.js +1 -1
- package/dist/i18n/locales/it-IT/uikit.js +1 -1
- package/dist/i18n/locales/ja-JP/uikit.js +1 -1
- package/dist/i18n/locales/nb-NO/uikit.js +1 -1
- package/dist/i18n/locales/pt-BR/uikit.js +1 -1
- package/dist/i18n/locales/pt-PT/uikit.js +1 -1
- package/dist/i18n/locales/sv-SE/uikit.js +1 -1
- package/dist/i18n/locales/vi-VN/uikit.js +1 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.js +1 -1
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-url.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/providers/use-navigation.js +1 -1
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/resolve.js +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/overlayKeyPropagation.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.js +7 -5
- package/dist/utils/react/useScheme.js.map +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 +3 -3
- package/docs/Theming.md +1 -1
- package/docs/Usage.md +26 -0
- package/docs/components/content/Item.md +1 -1
- package/docs/components/content/TextItem.md +13 -1
- package/docs/components/data/ItemTable.md +1 -1
- package/docs/components/fields/RadioGroup.md +5 -4
- package/docs/components/navigation/Tabs.md +5 -3
- package/docs/tasty/ai-agents.md +3 -2
- package/docs/tasty/dsl.md +52 -0
- package/docs/tasty/styles.md +27 -15
- package/package.json +6 -3
- package/tasty.config.generated.ts +526 -0
- package/tasty.config.ts +73 -427
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { BASE_STYLES, BLOCK_STYLES, COLOR_STYLES, DIMENSION_STYLES, OUTER_STYLES, tasty } from "@tenphi/tasty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useLayoutEffect as useLayoutEffect$1 } from "../../utils/react/useLayoutEffect.js";
|
|
4
4
|
import { useCombinedRefs } from "../../utils/react/useCombinedRefs.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { mergeProps as mergeProps$1 } from "../../utils/react/mergeProps.js";
|
|
3
3
|
import { useCombinedRefs } from "../../utils/react/useCombinedRefs.js";
|
|
4
4
|
import { useEvent } from "../../_internal/hooks/use-event.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useCombinedRefs } from "../../utils/react/useCombinedRefs.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { useControlledState } from "@react-stately/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { DraggableCollection } from "../../shared/DraggableCollection.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.206.1 | Cube Dev Team */
|
|
2
2
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
3
3
|
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
4
4
|
import { ItemAction } from "../../actions/ItemAction/ItemAction.js";
|
|
@@ -139,7 +139,7 @@ const STRIP_INTERACTION_EVENTS = [
|
|
|
139
139
|
* - Focus and hover states
|
|
140
140
|
*/
|
|
141
141
|
function TabButton(t0) {
|
|
142
|
-
const $ = c(
|
|
142
|
+
const $ = c(205);
|
|
143
143
|
const { item, tabData, isLastTab, hasPanel: t1 } = t0;
|
|
144
144
|
const hasPanel = t1 === void 0 ? true : t1;
|
|
145
145
|
const { t } = useI18n();
|
|
@@ -473,10 +473,12 @@ function TabButton(t0) {
|
|
|
473
473
|
$[93] = t28;
|
|
474
474
|
} else t28 = $[93];
|
|
475
475
|
const handleKeyDown = useEvent(t28);
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
476
|
+
const t29 = effectiveType === "radio";
|
|
477
|
+
let t30;
|
|
478
|
+
if ($[94] !== effectiveFocusVisible || $[95] !== effectiveType || $[96] !== isActive || $[97] !== isDeletable || $[98] !== isDisabled || $[99] !== isDraggable || $[100] !== isDragging || $[101] !== isDropPending || $[102] !== isEditing || $[103] !== isFocused || $[104] !== isHovered || $[105] !== placement || $[106] !== t29) {
|
|
479
|
+
t30 = {
|
|
479
480
|
type: effectiveType,
|
|
481
|
+
segmented: t29,
|
|
480
482
|
placement,
|
|
481
483
|
active: isActive,
|
|
482
484
|
deletable: isDeletable,
|
|
@@ -502,21 +504,22 @@ function TabButton(t0) {
|
|
|
502
504
|
$[104] = isHovered;
|
|
503
505
|
$[105] = placement;
|
|
504
506
|
$[106] = t29;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
$[107] = t30;
|
|
508
|
+
} else t30 = $[107];
|
|
509
|
+
const mods = t30;
|
|
510
|
+
let t31;
|
|
511
|
+
if ($[108] !== placement) {
|
|
512
|
+
t31 = () => {
|
|
510
513
|
if (ref.current) scrollTabIntoStrip(ref.current, placement);
|
|
511
514
|
};
|
|
512
|
-
$[
|
|
513
|
-
$[
|
|
514
|
-
} else
|
|
515
|
-
const keepActiveTabInStrip = useEvent(
|
|
516
|
-
let t31;
|
|
515
|
+
$[108] = placement;
|
|
516
|
+
$[109] = t31;
|
|
517
|
+
} else t31 = $[109];
|
|
518
|
+
const keepActiveTabInStrip = useEvent(t31);
|
|
517
519
|
let t32;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
+
let t33;
|
|
521
|
+
if ($[110] !== isActive || $[111] !== keepActiveTabInStrip) {
|
|
522
|
+
t32 = () => {
|
|
520
523
|
const tab = ref.current;
|
|
521
524
|
if (!tab || !isActive) return;
|
|
522
525
|
tab.scrollIntoView?.({
|
|
@@ -537,19 +540,19 @@ function TabButton(t0) {
|
|
|
537
540
|
});
|
|
538
541
|
return stopFollowing;
|
|
539
542
|
};
|
|
540
|
-
|
|
541
|
-
$[
|
|
542
|
-
$[
|
|
543
|
-
$[111] = t31;
|
|
543
|
+
t33 = [isActive, keepActiveTabInStrip];
|
|
544
|
+
$[110] = isActive;
|
|
545
|
+
$[111] = keepActiveTabInStrip;
|
|
544
546
|
$[112] = t32;
|
|
547
|
+
$[113] = t33;
|
|
545
548
|
} else {
|
|
546
|
-
t31 = $[111];
|
|
547
549
|
t32 = $[112];
|
|
550
|
+
t33 = $[113];
|
|
548
551
|
}
|
|
549
|
-
useEffect(
|
|
550
|
-
let
|
|
551
|
-
if ($[
|
|
552
|
-
|
|
552
|
+
useEffect(t32, t33);
|
|
553
|
+
let t34;
|
|
554
|
+
if ($[114] !== contextMenuOnly || $[115] !== effectiveMenuTriggerProps || $[116] !== isMenuOpen || $[117] !== menuElement || $[118] !== menuPopoverPlacement) {
|
|
555
|
+
t34 = menuElement && !contextMenuOnly ? /* @__PURE__ */ jsxs(_MenuTrigger, {
|
|
553
556
|
isOpen: isMenuOpen,
|
|
554
557
|
placement: menuPopoverPlacement,
|
|
555
558
|
onOpenChange: setIsMenuOpen,
|
|
@@ -559,41 +562,41 @@ function TabButton(t0) {
|
|
|
559
562
|
...effectiveMenuTriggerProps
|
|
560
563
|
}), menuElement]
|
|
561
564
|
}) : null;
|
|
562
|
-
$[
|
|
563
|
-
$[
|
|
564
|
-
$[
|
|
565
|
-
$[
|
|
566
|
-
$[
|
|
567
|
-
$[
|
|
568
|
-
} else
|
|
569
|
-
const menuAction =
|
|
570
|
-
let
|
|
571
|
-
if ($[
|
|
572
|
-
|
|
565
|
+
$[114] = contextMenuOnly;
|
|
566
|
+
$[115] = effectiveMenuTriggerProps;
|
|
567
|
+
$[116] = isMenuOpen;
|
|
568
|
+
$[117] = menuElement;
|
|
569
|
+
$[118] = menuPopoverPlacement;
|
|
570
|
+
$[119] = t34;
|
|
571
|
+
} else t34 = $[119];
|
|
572
|
+
const menuAction = t34;
|
|
573
|
+
let t35;
|
|
574
|
+
if ($[120] !== handleDelete || $[121] !== showDeleteButton || $[122] !== t) {
|
|
575
|
+
t35 = showDeleteButton ? /* @__PURE__ */ jsx(ItemAction, {
|
|
573
576
|
tabIndex: -1,
|
|
574
577
|
icon: /* @__PURE__ */ jsx(CloseIcon, {}),
|
|
575
578
|
tooltip: t("tabs.close", "Close"),
|
|
576
579
|
onPress: handleDelete
|
|
577
580
|
}) : null;
|
|
578
|
-
$[
|
|
579
|
-
$[
|
|
580
|
-
$[
|
|
581
|
-
$[
|
|
582
|
-
} else
|
|
583
|
-
const deleteAction =
|
|
584
|
-
let
|
|
585
|
-
if ($[
|
|
586
|
-
|
|
581
|
+
$[120] = handleDelete;
|
|
582
|
+
$[121] = showDeleteButton;
|
|
583
|
+
$[122] = t;
|
|
584
|
+
$[123] = t35;
|
|
585
|
+
} else t35 = $[123];
|
|
586
|
+
const deleteAction = t35;
|
|
587
|
+
let t36;
|
|
588
|
+
if ($[124] !== deleteAction || $[125] !== menuAction || $[126] !== tabData.actions) {
|
|
589
|
+
t36 = tabData.actions || menuAction || deleteAction ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
587
590
|
tabData.actions,
|
|
588
591
|
menuAction,
|
|
589
592
|
deleteAction
|
|
590
593
|
] }) : void 0;
|
|
591
|
-
$[
|
|
592
|
-
$[
|
|
593
|
-
$[
|
|
594
|
-
$[
|
|
595
|
-
} else
|
|
596
|
-
const actions =
|
|
594
|
+
$[124] = deleteAction;
|
|
595
|
+
$[125] = menuAction;
|
|
596
|
+
$[126] = tabData.actions;
|
|
597
|
+
$[127] = t36;
|
|
598
|
+
} else t36 = $[127];
|
|
599
|
+
const actions = t36;
|
|
597
600
|
const effectiveSize = tabData.size ?? size ?? "medium";
|
|
598
601
|
const itemSize = effectiveType === "radio" ? RADIO_SIZE_MAP[effectiveSize === "large" ? "large" : "medium"] : effectiveSize;
|
|
599
602
|
const itemShape = effectiveType === "file" ? "sharp" : void 0;
|
|
@@ -603,46 +606,46 @@ function TabButton(t0) {
|
|
|
603
606
|
let qaVal;
|
|
604
607
|
let styles;
|
|
605
608
|
let tabTooltip;
|
|
606
|
-
if ($[
|
|
607
|
-
const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip:
|
|
608
|
-
tabTooltip =
|
|
609
|
-
qa =
|
|
610
|
-
qaVal =
|
|
611
|
-
styles =
|
|
612
|
-
itemStyleProps =
|
|
613
|
-
$[
|
|
614
|
-
$[
|
|
615
|
-
$[
|
|
616
|
-
$[
|
|
617
|
-
$[
|
|
618
|
-
$[
|
|
609
|
+
if ($[128] !== tabData) {
|
|
610
|
+
const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip: t37, qa: t38, qaVal: t39, styles: t40, ...t41 } = tabData;
|
|
611
|
+
tabTooltip = t37;
|
|
612
|
+
qa = t38;
|
|
613
|
+
qaVal = t39;
|
|
614
|
+
styles = t40;
|
|
615
|
+
itemStyleProps = t41;
|
|
616
|
+
$[128] = tabData;
|
|
617
|
+
$[129] = itemStyleProps;
|
|
618
|
+
$[130] = qa;
|
|
619
|
+
$[131] = qaVal;
|
|
620
|
+
$[132] = styles;
|
|
621
|
+
$[133] = tabTooltip;
|
|
619
622
|
} else {
|
|
620
|
-
itemStyleProps = $[
|
|
621
|
-
qa = $[
|
|
622
|
-
qaVal = $[
|
|
623
|
-
styles = $[
|
|
624
|
-
tabTooltip = $[
|
|
623
|
+
itemStyleProps = $[129];
|
|
624
|
+
qa = $[130];
|
|
625
|
+
qaVal = $[131];
|
|
626
|
+
styles = $[132];
|
|
627
|
+
tabTooltip = $[133];
|
|
625
628
|
}
|
|
626
|
-
let t36;
|
|
627
|
-
if ($[133] !== tabData.title) {
|
|
628
|
-
t36 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
|
|
629
|
-
$[133] = tabData.title;
|
|
630
|
-
$[134] = t36;
|
|
631
|
-
} else t36 = $[134];
|
|
632
|
-
const renderTitleDisplay = t36;
|
|
633
629
|
let t37;
|
|
634
|
-
if ($[
|
|
635
|
-
t37 =
|
|
636
|
-
$[
|
|
637
|
-
$[
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
$[139] = t37;
|
|
641
|
-
} else t37 = $[139];
|
|
642
|
-
const tabElementTooltip = t37;
|
|
630
|
+
if ($[134] !== tabData.title) {
|
|
631
|
+
t37 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
|
|
632
|
+
$[134] = tabData.title;
|
|
633
|
+
$[135] = t37;
|
|
634
|
+
} else t37 = $[135];
|
|
635
|
+
const renderTitleDisplay = t37;
|
|
643
636
|
let t38;
|
|
644
|
-
if ($[
|
|
645
|
-
t38 = effectiveIsEditable ?
|
|
637
|
+
if ($[136] !== effectiveIsEditable || $[137] !== isEditing || $[138] !== renderTitleDisplay || $[139] !== tabTooltip) {
|
|
638
|
+
t38 = !effectiveIsEditable ? tabTooltip : !renderTitleDisplay ? false : isEditing ? disableTooltip(tabTooltip) : tabTooltip;
|
|
639
|
+
$[136] = effectiveIsEditable;
|
|
640
|
+
$[137] = isEditing;
|
|
641
|
+
$[138] = renderTitleDisplay;
|
|
642
|
+
$[139] = tabTooltip;
|
|
643
|
+
$[140] = t38;
|
|
644
|
+
} else t38 = $[140];
|
|
645
|
+
const tabElementTooltip = t38;
|
|
646
|
+
let t39;
|
|
647
|
+
if ($[141] !== editTabTitleLabel || $[142] !== effectiveIsEditable || $[143] !== handleCancelEditing || $[144] !== handleEditingChange || $[145] !== handleSubmitEditing || $[146] !== isDisabled || $[147] !== isEditing || $[148] !== renderTitleDisplay || $[149] !== tabData.title || $[150] !== tabTooltip || $[151] !== titleString) {
|
|
648
|
+
t39 = effectiveIsEditable ? /* @__PURE__ */ jsx(InlineInput, {
|
|
646
649
|
ref: inlineInputRef,
|
|
647
650
|
value: titleString,
|
|
648
651
|
isEditing,
|
|
@@ -656,42 +659,42 @@ function TabButton(t0) {
|
|
|
656
659
|
onSubmit: handleSubmitEditing,
|
|
657
660
|
onCancel: handleCancelEditing
|
|
658
661
|
}) : tabData.title;
|
|
659
|
-
$[
|
|
660
|
-
$[
|
|
661
|
-
$[
|
|
662
|
-
$[
|
|
663
|
-
$[
|
|
664
|
-
$[
|
|
665
|
-
$[
|
|
666
|
-
$[
|
|
667
|
-
$[
|
|
668
|
-
$[
|
|
669
|
-
$[
|
|
670
|
-
$[
|
|
671
|
-
} else
|
|
672
|
-
const titleContent =
|
|
662
|
+
$[141] = editTabTitleLabel;
|
|
663
|
+
$[142] = effectiveIsEditable;
|
|
664
|
+
$[143] = handleCancelEditing;
|
|
665
|
+
$[144] = handleEditingChange;
|
|
666
|
+
$[145] = handleSubmitEditing;
|
|
667
|
+
$[146] = isDisabled;
|
|
668
|
+
$[147] = isEditing;
|
|
669
|
+
$[148] = renderTitleDisplay;
|
|
670
|
+
$[149] = tabData.title;
|
|
671
|
+
$[150] = tabTooltip;
|
|
672
|
+
$[151] = titleString;
|
|
673
|
+
$[152] = t39;
|
|
674
|
+
} else t39 = $[152];
|
|
675
|
+
const titleContent = t39;
|
|
673
676
|
const effectiveContainerRef = contextMenuEnabled && processedMenu ? contextMenu.targetRef : containerRef;
|
|
674
|
-
let t39;
|
|
675
|
-
if ($[152] !== processedMenu) {
|
|
676
|
-
t39 = processedMenu ? { "aria-haspopup": "menu" } : {};
|
|
677
|
-
$[152] = processedMenu;
|
|
678
|
-
$[153] = t39;
|
|
679
|
-
} else t39 = $[153];
|
|
680
|
-
const ariaProps = t39;
|
|
681
677
|
let t40;
|
|
682
|
-
if ($[
|
|
683
|
-
t40 = {
|
|
678
|
+
if ($[153] !== processedMenu) {
|
|
679
|
+
t40 = processedMenu ? { "aria-haspopup": "menu" } : {};
|
|
680
|
+
$[153] = processedMenu;
|
|
681
|
+
$[154] = t40;
|
|
682
|
+
} else t40 = $[154];
|
|
683
|
+
const ariaProps = t40;
|
|
684
|
+
let t41;
|
|
685
|
+
if ($[155] !== effectiveAutoHideActions || $[156] !== mods) {
|
|
686
|
+
t41 = {
|
|
684
687
|
...mods,
|
|
685
688
|
"auto-hide-actions": effectiveAutoHideActions
|
|
686
689
|
};
|
|
687
|
-
$[
|
|
688
|
-
$[
|
|
689
|
-
$[
|
|
690
|
-
} else
|
|
691
|
-
const containerMods =
|
|
692
|
-
let
|
|
693
|
-
if ($[
|
|
694
|
-
|
|
690
|
+
$[155] = effectiveAutoHideActions;
|
|
691
|
+
$[156] = mods;
|
|
692
|
+
$[157] = t41;
|
|
693
|
+
} else t41 = $[157];
|
|
694
|
+
const containerMods = t41;
|
|
695
|
+
let t42;
|
|
696
|
+
if ($[158] !== dropState || $[159] !== isDraggable || $[160] !== item.key) {
|
|
697
|
+
t42 = isDraggable && dropState && /* @__PURE__ */ jsx(TabDropIndicator, {
|
|
695
698
|
target: {
|
|
696
699
|
type: "item",
|
|
697
700
|
key: item.key,
|
|
@@ -700,16 +703,16 @@ function TabButton(t0) {
|
|
|
700
703
|
dropState,
|
|
701
704
|
position: "before"
|
|
702
705
|
});
|
|
703
|
-
$[
|
|
704
|
-
$[
|
|
705
|
-
$[
|
|
706
|
-
$[
|
|
707
|
-
} else
|
|
708
|
-
const
|
|
709
|
-
let
|
|
710
|
-
if ($[
|
|
711
|
-
|
|
712
|
-
const { showActions, skipActionsWidthTransition } =
|
|
706
|
+
$[158] = dropState;
|
|
707
|
+
$[159] = isDraggable;
|
|
708
|
+
$[160] = item.key;
|
|
709
|
+
$[161] = t42;
|
|
710
|
+
} else t42 = $[161];
|
|
711
|
+
const t43 = effectiveAutoHideActions && !isActive;
|
|
712
|
+
let t44;
|
|
713
|
+
if ($[162] !== actions || $[163] !== ariaProps || $[164] !== clearSpringLoad || $[165] !== effectiveAutoHideActions || $[166] !== focusProps || $[167] !== handleKeyDown || $[168] !== handleSpringLoadEnter || $[169] !== hoverProps || $[170] !== isActive || $[171] !== isDisabled || $[172] !== item.key || $[173] !== itemShape || $[174] !== itemSize || $[175] !== itemStyleProps || $[176] !== mods || $[177] !== qa || $[178] !== qaVal || $[179] !== styles || $[180] !== tabElementTooltip || $[181] !== tabProps || $[182] !== titleContent) {
|
|
714
|
+
t44 = (t45) => {
|
|
715
|
+
const { showActions, skipActionsWidthTransition } = t45;
|
|
713
716
|
return /* @__PURE__ */ jsx(TabElement, {
|
|
714
717
|
insideWrapper: true,
|
|
715
718
|
preserveActionsSpace: true,
|
|
@@ -740,34 +743,34 @@ function TabButton(t0) {
|
|
|
740
743
|
children: titleContent
|
|
741
744
|
});
|
|
742
745
|
};
|
|
743
|
-
$[
|
|
744
|
-
$[
|
|
745
|
-
$[
|
|
746
|
-
$[
|
|
747
|
-
$[
|
|
748
|
-
$[
|
|
749
|
-
$[
|
|
750
|
-
$[
|
|
751
|
-
$[
|
|
752
|
-
$[
|
|
753
|
-
$[
|
|
754
|
-
$[
|
|
755
|
-
$[
|
|
756
|
-
$[
|
|
757
|
-
$[
|
|
758
|
-
$[
|
|
759
|
-
$[
|
|
760
|
-
$[
|
|
761
|
-
$[
|
|
762
|
-
$[
|
|
763
|
-
$[
|
|
764
|
-
$[
|
|
765
|
-
} else
|
|
766
|
-
let
|
|
767
|
-
if ($[
|
|
768
|
-
|
|
746
|
+
$[162] = actions;
|
|
747
|
+
$[163] = ariaProps;
|
|
748
|
+
$[164] = clearSpringLoad;
|
|
749
|
+
$[165] = effectiveAutoHideActions;
|
|
750
|
+
$[166] = focusProps;
|
|
751
|
+
$[167] = handleKeyDown;
|
|
752
|
+
$[168] = handleSpringLoadEnter;
|
|
753
|
+
$[169] = hoverProps;
|
|
754
|
+
$[170] = isActive;
|
|
755
|
+
$[171] = isDisabled;
|
|
756
|
+
$[172] = item.key;
|
|
757
|
+
$[173] = itemShape;
|
|
758
|
+
$[174] = itemSize;
|
|
759
|
+
$[175] = itemStyleProps;
|
|
760
|
+
$[176] = mods;
|
|
761
|
+
$[177] = qa;
|
|
762
|
+
$[178] = qaVal;
|
|
763
|
+
$[179] = styles;
|
|
764
|
+
$[180] = tabElementTooltip;
|
|
765
|
+
$[181] = tabProps;
|
|
766
|
+
$[182] = titleContent;
|
|
767
|
+
$[183] = t44;
|
|
768
|
+
} else t44 = $[183];
|
|
769
|
+
let t45;
|
|
770
|
+
if ($[184] !== actions || $[185] !== isDisabled || $[186] !== itemSize || $[187] !== mods || $[188] !== t43 || $[189] !== t44) {
|
|
771
|
+
t45 = /* @__PURE__ */ jsx(ItemActionsWrapper, {
|
|
769
772
|
preserveActionsSpace: true,
|
|
770
|
-
autoHideActions:
|
|
773
|
+
autoHideActions: t43,
|
|
771
774
|
type: "clear",
|
|
772
775
|
theme: "default",
|
|
773
776
|
size: itemSize,
|
|
@@ -775,20 +778,20 @@ function TabButton(t0) {
|
|
|
775
778
|
mods,
|
|
776
779
|
actions,
|
|
777
780
|
actionsProps: ACTIONS_EVENT_HANDLERS,
|
|
778
|
-
children:
|
|
781
|
+
children: t44
|
|
779
782
|
});
|
|
780
|
-
$[
|
|
781
|
-
$[
|
|
782
|
-
$[
|
|
783
|
-
$[
|
|
784
|
-
$[187] = t42;
|
|
783
|
+
$[184] = actions;
|
|
784
|
+
$[185] = isDisabled;
|
|
785
|
+
$[186] = itemSize;
|
|
786
|
+
$[187] = mods;
|
|
785
787
|
$[188] = t43;
|
|
786
788
|
$[189] = t44;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
789
|
+
$[190] = t45;
|
|
790
|
+
} else t45 = $[190];
|
|
791
|
+
const t46 = contextMenuEnabled && processedMenu && contextMenu.rendered;
|
|
792
|
+
let t47;
|
|
793
|
+
if ($[191] !== dropState || $[192] !== isDraggable || $[193] !== isLastTab || $[194] !== item.key) {
|
|
794
|
+
t47 = isDraggable && dropState && isLastTab && /* @__PURE__ */ jsx(TabDropIndicator, {
|
|
792
795
|
target: {
|
|
793
796
|
type: "item",
|
|
794
797
|
key: item.key,
|
|
@@ -797,37 +800,37 @@ function TabButton(t0) {
|
|
|
797
800
|
dropState,
|
|
798
801
|
position: "after"
|
|
799
802
|
});
|
|
800
|
-
$[
|
|
801
|
-
$[
|
|
802
|
-
$[
|
|
803
|
-
$[
|
|
804
|
-
$[
|
|
805
|
-
} else
|
|
806
|
-
let
|
|
807
|
-
if ($[
|
|
808
|
-
|
|
803
|
+
$[191] = dropState;
|
|
804
|
+
$[192] = isDraggable;
|
|
805
|
+
$[193] = isLastTab;
|
|
806
|
+
$[194] = item.key;
|
|
807
|
+
$[195] = t47;
|
|
808
|
+
} else t47 = $[195];
|
|
809
|
+
let t48;
|
|
810
|
+
if ($[196] !== containerMods || $[197] !== effectiveContainerRef || $[198] !== effectiveDragProps || $[199] !== itemSize || $[200] !== t42 || $[201] !== t45 || $[202] !== t46 || $[203] !== t47) {
|
|
811
|
+
t48 = /* @__PURE__ */ jsxs(TabContainer, {
|
|
809
812
|
ref: effectiveContainerRef,
|
|
810
813
|
"data-size": itemSize,
|
|
811
814
|
mods: containerMods,
|
|
812
815
|
...effectiveDragProps,
|
|
813
816
|
children: [
|
|
814
|
-
|
|
815
|
-
t44,
|
|
817
|
+
t42,
|
|
816
818
|
t45,
|
|
817
|
-
t46
|
|
819
|
+
t46,
|
|
820
|
+
t47
|
|
818
821
|
]
|
|
819
822
|
});
|
|
820
|
-
$[
|
|
821
|
-
$[
|
|
822
|
-
$[
|
|
823
|
-
$[
|
|
824
|
-
$[
|
|
825
|
-
$[200] = t44;
|
|
823
|
+
$[196] = containerMods;
|
|
824
|
+
$[197] = effectiveContainerRef;
|
|
825
|
+
$[198] = effectiveDragProps;
|
|
826
|
+
$[199] = itemSize;
|
|
827
|
+
$[200] = t42;
|
|
826
828
|
$[201] = t45;
|
|
827
829
|
$[202] = t46;
|
|
828
830
|
$[203] = t47;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
+
$[204] = t48;
|
|
832
|
+
} else t48 = $[204];
|
|
833
|
+
return t48;
|
|
831
834
|
}
|
|
832
835
|
//#endregion
|
|
833
836
|
export { TabButton };
|