@cube-dev/ui-kit 0.0.0-canary-68b1fcb → 0.0.0-canary-dbc4e26
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/components/Action/Action.js +1 -1
- package/dist/components/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/use-alert.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Banner/Banner.d.ts +11 -2
- package/dist/components/Banner/Banner.js +50 -56
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Block/Block.js +1 -1
- package/dist/components/Button/AutoCollapseObserver.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/ButtonSplit/ButtonSplitContext.js +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Calendar/CalendarCell.js +1 -1
- package/dist/components/Calendar/CalendarGrid.js +1 -1
- package/dist/components/Calendar/CalendarHeader.js +1 -1
- package/dist/components/Calendar/CalendarPanel.js +1 -1
- package/dist/components/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/Calendar/PeriodGrid.js +1 -1
- package/dist/components/Calendar/RangeCalendar.js +1 -1
- package/dist/components/Calendar/styled.js +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/Checkbox/CheckboxGroupContext.js +1 -1
- package/dist/components/CollectionItem/CollectionItem.d.ts +1 -1
- package/dist/components/CollectionItem/CollectionItem.js +1 -1
- package/dist/components/ColorInput/ColorInput.js +1 -1
- package/dist/components/ColorPanel/ColorPanel.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/ComboBox/ComboBox.js +2 -2
- package/dist/components/ComboBox/combo-box-options.js +1 -1
- package/dist/components/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/CommandMenu/styled.js +1 -1
- package/dist/components/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/CommandTextArea/caret-position.js +1 -1
- package/dist/components/CommandTextArea/use-caret-anchor.js +1 -1
- package/dist/components/Content/Content.js +1 -1
- package/dist/components/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DatePicker/CalendarPopover.js +1 -1
- package/dist/components/DatePicker/DateInput.js +1 -1
- package/dist/components/DatePicker/DateInputBase.js +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/DatePicker/MonthPicker.js +1 -1
- package/dist/components/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/DatePicker/TimeInput.js +1 -1
- package/dist/components/DatePicker/WeekPicker.js +1 -1
- package/dist/components/DatePicker/YearPicker.js +1 -1
- package/dist/components/DatePicker/parse-date.js +1 -1
- package/dist/components/DatePicker/period.js +1 -1
- package/dist/components/DatePicker/props.js +1 -1
- package/dist/components/DatePicker/utils.js +1 -1
- package/dist/components/Dialog/Dialog.js +2 -2
- package/dist/components/Dialog/DialogContainer.js +1 -1
- package/dist/components/Dialog/DialogContext.js +1 -1
- package/dist/components/Dialog/DialogForm.js +1 -1
- package/dist/components/Dialog/DialogTrigger.js +1 -1
- package/dist/components/Dialog/ModernDialogForm.js +1 -1
- package/dist/components/Dialog/default-button-text.js +1 -1
- package/dist/components/Dialog/use-content-overflow.js +1 -1
- package/dist/components/Dialog/use-dialog-container.js +1 -1
- package/dist/components/Dialog/use-dialog-open-sync.js +1 -1
- package/dist/components/Dialog/use-dismiss-confirmation.js +1 -1
- package/dist/components/Dialog/use-retained-dialog-focus.js +1 -1
- package/dist/components/Disclosure/Disclosure.js +1 -1
- package/dist/components/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/DraggableCollection/DraggableCollection.js +1 -1
- package/dist/components/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/FieldWrapper/field-description.js +1 -1
- package/dist/components/FileInput/FileInput.js +1 -1
- package/dist/components/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/FilterListBox/styled.js +1 -1
- package/dist/components/FilterPicker/FilterPicker.d.ts +2 -2
- package/dist/components/FilterPicker/FilterPicker.js +2 -2
- package/dist/components/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/FilterPicker/FilterTree.js +1 -1
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Flow/Flow.js +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Form/Field.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Form/FormElement.js +1 -1
- package/dist/components/Form/ModernFormRoot.js +1 -1
- package/dist/components/Form/ResetButton.js +1 -1
- package/dist/components/Form/SubmitButton.js +1 -1
- package/dist/components/Form/SubmitError.js +1 -1
- package/dist/components/Form/backend.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/modern/ModernActions.js +1 -1
- package/dist/components/Form/modern/ModernControllerContext.js +1 -1
- package/dist/components/Form/modern/controller.js +1 -1
- package/dist/components/Form/modern/field-binding.js +1 -1
- package/dist/components/Form/modern/field.js +1 -1
- package/dist/components/Form/modern/react.js +1 -1
- package/dist/components/Form/modern/store.js +1 -1
- package/dist/components/Form/modern/validation.js +1 -1
- package/dist/components/Form/modern/values.js +1 -1
- package/dist/components/Form/reset-unbound-controls.js +1 -1
- package/dist/components/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/Form/use-field/use-field-props.js +1 -1
- package/dist/components/Form/use-field/use-field.js +1 -1
- package/dist/components/Form/use-form.js +1 -1
- package/dist/components/Form/validation.js +1 -1
- package/dist/components/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/components/Grid/Grid.js +1 -1
- package/dist/components/GridProvider/GridProvider.js +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/HiddenInput/HiddenInput.js +1 -1
- package/dist/components/HotKeys/HotKeys.js +1 -1
- package/dist/components/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/InlineInput/InlineInput.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Item/Item.d.ts +40 -1
- package/dist/components/Item/Item.js +235 -156
- package/dist/components/Item/Item.js.map +1 -1
- package/dist/components/Item/ItemWithNativeLinks.js +1 -1
- package/dist/components/ItemAction/ItemAction.js +1 -1
- package/dist/components/ItemAction/ItemCloseAction.d.ts +16 -0
- package/dist/components/ItemAction/ItemCloseAction.js +79 -0
- package/dist/components/ItemAction/ItemCloseAction.js.map +1 -0
- package/dist/components/ItemActionsWrapper/ItemActionsWrapper.js +1 -1
- package/dist/components/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/ItemButton/ItemButton.d.ts +2 -2
- package/dist/components/ItemButton/ItemButton.js +1 -1
- package/dist/components/ItemButton/ItemButton.js.map +1 -1
- package/dist/components/ItemCard/ItemCard.d.ts +1 -1
- package/dist/components/ItemCard/ItemCard.js +1 -1
- package/dist/components/ItemTable/ItemTable.js +1 -1
- package/dist/components/ItemTable/ItemTableBulkBar.js +2 -2
- package/dist/components/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/ItemTable/item-table-sections.js +1 -1
- package/dist/components/ItemTable/use-item-table-column-widths.js +1 -1
- package/dist/components/ItemTable/use-item-table-drag-drop.js +1 -1
- package/dist/components/ItemTable/use-item-table-pagination.js +1 -1
- package/dist/components/ItemTable/use-item-table-selection.js +1 -1
- package/dist/components/ItemTable/use-item-table-sort.js +1 -1
- package/dist/components/ItemTable/use-item-table-tree-model.js +1 -1
- package/dist/components/Label/Label.js +1 -1
- package/dist/components/Layout/GridLayout.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/Layout/LayoutBlock.js +1 -1
- package/dist/components/Layout/LayoutCenter.js +1 -1
- package/dist/components/Layout/LayoutContainer.js +1 -1
- package/dist/components/Layout/LayoutContent.js +1 -1
- package/dist/components/Layout/LayoutContext.js +1 -1
- package/dist/components/Layout/LayoutFlex.js +1 -1
- package/dist/components/Layout/LayoutFooter.js +1 -1
- package/dist/components/Layout/LayoutGrid.js +1 -1
- package/dist/components/Layout/LayoutHeader.js +1 -1
- package/dist/components/Layout/LayoutPane.js +1 -1
- package/dist/components/Layout/LayoutPanel.js +1 -1
- package/dist/components/Layout/LayoutPanelHeader.js +2 -2
- package/dist/components/Layout/LayoutPanelTransition.js +1 -1
- package/dist/components/Layout/LayoutResizeHandle.js +1 -1
- package/dist/components/Layout/LayoutToolbar.js +1 -1
- package/dist/components/Layout/index.js +1 -1
- package/dist/components/Layout/use-tiny-scrollbar.js +1 -1
- package/dist/components/Layout/utils.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/ListBox/DraggableListBox.js +1 -1
- package/dist/components/ListBox/ListBox.js +1 -1
- package/dist/components/ListBox/empty-row.js +1 -1
- package/dist/components/ListBox/option-id.js +1 -1
- package/dist/components/ListBox/use-disabled-focus-reset.js +1 -1
- package/dist/components/ListBoxPopover/EmptyLabelStatus.js +1 -1
- package/dist/components/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/ListBoxPopover/list-navigation.js +1 -1
- package/dist/components/ListBoxPopover/use-composite-focus.js +1 -1
- package/dist/components/ListBoxPopover/use-delayed-loading.js +1 -1
- package/dist/components/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuCollectionItem.d.ts +5 -0
- package/dist/components/Menu/MenuCollectionItem.js +1 -1
- package/dist/components/Menu/MenuCollectionItem.js.map +1 -1
- package/dist/components/Menu/MenuContext.js +1 -1
- package/dist/components/Menu/MenuItem.js +2 -2
- package/dist/components/Menu/MenuItem.js.map +1 -1
- package/dist/components/Menu/MenuSection.js +1 -1
- package/dist/components/Menu/MenuTrigger.js +1 -1
- package/dist/components/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/Menu/styled.js +1 -1
- package/dist/components/Menu/touch-context-menu.js +1 -1
- package/dist/components/Menu/use-anchored-menu.js +1 -1
- package/dist/components/Menu/use-context-menu.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/ModalContainmentProvider.js +1 -1
- package/dist/components/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/Modal/Overlay.js +1 -1
- package/dist/components/Modal/Popover.js +1 -1
- package/dist/components/Modal/Tray.js +1 -1
- package/dist/components/Modal/Underlay.js +1 -1
- package/dist/components/NavTabs/NavTabs.d.ts +1 -1
- package/dist/components/NavTabs/NavTabs.js +1 -1
- package/dist/components/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/Notifications/Notification.js +1 -1
- package/dist/components/Notifications/NotificationAction.js +1 -1
- package/dist/components/Notifications/NotificationCard.js +1 -1
- package/dist/components/Notifications/NotificationContext.js +1 -1
- package/dist/components/Notifications/NotificationItem.js +1 -1
- package/dist/components/Notifications/OverlayContainer.js +1 -1
- package/dist/components/Notifications/OverlayProvider.js +1 -1
- package/dist/components/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/Notifications/dismissed-storage.js +1 -1
- package/dist/components/Notifications/format-relative-time.js +1 -1
- package/dist/components/Notifications/index.js +1 -1
- package/dist/components/Notifications/use-live-region.js +1 -1
- package/dist/components/Notifications/use-notification-state.js +1 -1
- package/dist/components/Notifications/use-notifications.js +1 -1
- package/dist/components/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/Notifications/use-persistent-state.js +1 -1
- package/dist/components/Notifications/use-toast-state.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +1 -1
- package/dist/components/NumberInput/StepButton.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/use-pagination.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Paragraph/Paragraph.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/Picker/Picker.d.ts +2 -2
- package/dist/components/Picker/Picker.js +2 -2
- package/dist/components/Picker/Picker.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Portal/Portal.js +1 -1
- package/dist/components/Portal/PortalProvider.js +1 -1
- package/dist/components/Portal/use-portal.js +1 -1
- package/dist/components/Prefix/Prefix.js +1 -1
- package/dist/components/PrismCode/PrismCode.js +1 -1
- package/dist/components/PrismCode/prism-setup.js +1 -1
- package/dist/components/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/RadioGroup/Radio.js +1 -1
- package/dist/components/RadioGroup/RadioContext.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/joined-styles.js +1 -1
- package/dist/components/RenderCache/RenderCache.js +1 -1
- package/dist/components/ResizablePanel/ResizablePanel.js +1 -1
- package/dist/components/Result/Result.js +1 -1
- package/dist/components/Root/Root.js +1 -1
- package/dist/components/SearchComboBox/SearchComboBox.js +2 -2
- package/dist/components/SearchInput/SearchInput.js +2 -2
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Slider/Gradation.js +1 -1
- package/dist/components/Slider/HueSlider.js +1 -1
- package/dist/components/Slider/RangeSlider.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/SliderBase.js +1 -1
- package/dist/components/Slider/SliderThumb.js +1 -1
- package/dist/components/Slider/SliderTrack.js +1 -1
- package/dist/components/Slider/elements.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Space/Space.js +1 -1
- package/dist/components/Spin/Cube.js +1 -1
- package/dist/components/Spin/InternalSpinner.js +1 -1
- package/dist/components/Spin/Spin.js +1 -1
- package/dist/components/Spin/SpinsContainer.js +1 -1
- package/dist/components/StatsCard/StatsCard.js +1 -1
- package/dist/components/Suffix/Suffix.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/TableBase/ColumnResizer.js +1 -1
- package/dist/components/TableBase/RowCollection.js +1 -1
- package/dist/components/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/TableBase/TableRow.js +1 -1
- package/dist/components/TableBase/TableRowLink.js +1 -1
- package/dist/components/TableBase/TableView.js +1 -1
- package/dist/components/TableBase/TreeGridTable.js +1 -1
- package/dist/components/TableBase/column-header.js +1 -1
- package/dist/components/TableBase/column-menu.js +1 -1
- package/dist/components/TableBase/column-styles.js +1 -1
- package/dist/components/TableBase/column-tint.js +1 -1
- package/dist/components/TableBase/row-menu.js +1 -1
- package/dist/components/TableBase/styled.js +1 -1
- package/dist/components/TableBase/table-body-sections.js +1 -1
- package/dist/components/TableBase/table-tree.js +1 -1
- package/dist/components/TableBase/types.js +1 -1
- package/dist/components/TableBase/use-cell-selection.js +0 -0
- package/dist/components/TableBase/use-column-menu.js +1 -1
- package/dist/components/TableBase/use-column-order.js +1 -1
- package/dist/components/TableBase/use-column-window.js +1 -1
- package/dist/components/TableBase/use-container-width.js +1 -1
- package/dist/components/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/TableBase/use-scrollability.js +1 -1
- package/dist/components/TableBase/use-table-columns.js +1 -1
- package/dist/components/TableBase/use-table-search.js +1 -1
- package/dist/components/TableBase/use-table-selection.js +1 -1
- package/dist/components/TableBase/use-table-sort.js +1 -1
- package/dist/components/TableBase/use-table-sorts.js +1 -1
- package/dist/components/TableBase/use-table-storage.js +1 -1
- package/dist/components/TableBase/use-table-tooltip-refresh.js +1 -1
- package/dist/components/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/Tabs/BoardDragActiveProvider.js +1 -1
- package/dist/components/Tabs/DraggableTabList.js +1 -1
- package/dist/components/Tabs/TabButton.js +2 -2
- package/dist/components/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/Tabs/TabPanel.js +1 -1
- package/dist/components/Tabs/TabPicker.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/TabsAction.js +1 -1
- package/dist/components/Tabs/TabsContext.js +1 -1
- package/dist/components/Tabs/popover-placement.js +1 -1
- package/dist/components/Tabs/scroll-tab-into-strip.js +1 -1
- package/dist/components/Tabs/segmented-styles.js +1 -1
- package/dist/components/Tabs/styled.js +1 -1
- package/dist/components/Tabs/types.d.ts +2 -2
- package/dist/components/Tabs/types.js +1 -1
- package/dist/components/Tabs/types.js.map +1 -1
- package/dist/components/Tabs/use-tab-editing.js +1 -1
- package/dist/components/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/TagInput/TagInput.js +2 -2
- package/dist/components/TagInput/TagList.js +1 -1
- package/dist/components/TagInput/use-active-option.js +1 -1
- package/dist/components/TagInput/use-suffix-space.js +1 -1
- package/dist/components/TagInput/use-tag-error.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextInput/TextInput.js +1 -1
- package/dist/components/TextInput/TextInputBase.js +1 -1
- package/dist/components/TextInput/displayed-validation.js +1 -1
- package/dist/components/TextInput/identifier-text-services.js +1 -1
- package/dist/components/TextInput/password-manager-ignore.js +1 -1
- package/dist/components/TextInput/use-auto-size-text-area.js +1 -1
- package/dist/components/TextInputMapper/TextInputMapper.js +2 -2
- package/dist/components/TextItem/TextItem.js +1 -1
- package/dist/components/Title/Title.js +1 -1
- package/dist/components/Toast/AnnouncedToastItem.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/ToastItem.js +2 -2
- package/dist/components/Toast/ToastItem.js.map +1 -1
- package/dist/components/Toast/use-progress-toast.js +1 -1
- package/dist/components/Toast/use-toast.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroupContext.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroupItem.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/TooltipContext.js +1 -1
- package/dist/components/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/Tooltip/last-press.js +1 -1
- package/dist/components/Tooltip/split-trigger-props.js +1 -1
- package/dist/components/Tree/Tree.js +1 -1
- package/dist/components/Tree/TreeNode.js +1 -1
- package/dist/components/Tree/checked-keys.js +1 -1
- package/dist/components/Tree/row-id.js +1 -1
- package/dist/components/Tree/styled.js +1 -1
- package/dist/components/Tree/tree-index.js +1 -1
- package/dist/components/Tree/types.d.ts +1 -1
- package/dist/components/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/Tree/use-load-data.js +1 -1
- package/dist/components/TriggerActions/TriggerActions.js +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/ValidationIndicator/InvalidIcon.js +1 -1
- package/dist/components/ValidationIndicator/ValidIcon.js +1 -1
- package/dist/components/ValidationIndicator/ValidationIndicator.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +17 -1
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/harness/colors-deps.js +1 -1
- package/dist/hooks/use-action.js +1 -1
- package/dist/hooks/use-auto-tooltip.js +1 -1
- package/dist/hooks/use-buffered-value.js +1 -1
- package/dist/hooks/use-combined-refs.js +1 -1
- package/dist/hooks/use-controlled-focus-visible.js +1 -1
- package/dist/hooks/use-debounced-value.js +1 -1
- package/dist/hooks/use-deprecation-warning.js +1 -1
- package/dist/hooks/use-event.js +1 -1
- package/dist/hooks/use-id.js +1 -1
- package/dist/hooks/use-is-darwin.js +1 -1
- package/dist/hooks/use-is-first-render.js +1 -1
- package/dist/hooks/use-key-symbols.js +1 -1
- package/dist/hooks/use-layout-effect.js +1 -1
- package/dist/hooks/use-local-storage.js +1 -1
- package/dist/hooks/use-merge-styles.js +1 -1
- package/dist/hooks/use-open-key.js +1 -1
- package/dist/hooks/use-overlay-escape-guard.js +1 -1
- package/dist/hooks/use-overlay-position.js +1 -1
- package/dist/hooks/use-popover-sync.js +1 -1
- package/dist/hooks/use-qa-props.js +1 -1
- package/dist/hooks/use-scheme.js +1 -1
- package/dist/hooks/use-sync-ref.js +1 -1
- package/dist/hooks/use-timer/Timer.js +1 -1
- package/dist/hooks/use-timer/use-timer.js +1 -1
- package/dist/hooks/use-validation-props.js +1 -1
- package/dist/hooks/use-viewport-size.js +1 -1
- package/dist/hooks/use-warn.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/add-uikit-locale.js +1 -1
- package/dist/i18n/create-formatter.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +2 -1
- package/dist/i18n/locales/en-US/uikit.js +2 -1
- package/dist/i18n/locales/en-US/uikit.json.d.ts +5 -1
- package/dist/i18n/locales/es-ES/uikit.js +2 -1
- package/dist/i18n/locales/es-MX/uikit.js +2 -1
- package/dist/i18n/locales/fr-FR/uikit.js +2 -1
- package/dist/i18n/locales/it-IT/uikit.js +2 -1
- package/dist/i18n/locales/ja-JP/uikit.js +2 -1
- package/dist/i18n/locales/nb-NO/uikit.js +2 -1
- package/dist/i18n/locales/pt-BR/uikit.js +2 -1
- package/dist/i18n/locales/pt-PT/uikit.js +2 -1
- package/dist/i18n/locales/sv-SE/uikit.js +2 -1
- package/dist/i18n/locales/vi-VN/uikit.js +2 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.js +1 -1
- package/dist/i18n/use-formatter.js +1 -1
- package/dist/i18n/use-i18n.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 +3 -2
- package/dist/index.js +4 -3
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/providers/ColorPopoverContext.js +1 -1
- package/dist/providers/EventBusProvider.js +1 -1
- package/dist/providers/ItemActionContext.js +1 -1
- package/dist/providers/Provider.js +1 -1
- package/dist/providers/SlotProvider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-adapter.default.js +1 -1
- package/dist/providers/navigation-url.js +1 -1
- package/dist/providers/use-navigation.js +1 -1
- package/dist/themes/item-themes.js +1 -1
- package/dist/themes/themes.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/actions-run.js +1 -1
- package/dist/utils/chain.js +1 -1
- package/dist/utils/color/channels.js +1 -1
- package/dist/utils/color/color.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/component-base-props.js +1 -1
- package/dist/utils/disabled-behavior.js +1 -1
- package/dist/utils/disabled-props.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/field-chrome.js +1 -1
- package/dist/utils/field-layout.js +1 -1
- package/dist/utils/forward-ref-with-generics.js +1 -1
- package/dist/utils/highlight-text.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/interactions.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/is-text-only.js +1 -1
- package/dist/utils/layout-scale.js +1 -1
- package/dist/utils/legacy-tooltip.js +1 -1
- package/dist/utils/map-props.js +1 -1
- package/dist/utils/merge-props.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/nullable-value.js +1 -1
- package/dist/utils/option-origin-press.js +1 -1
- package/dist/utils/overlay-key-propagation.js +1 -1
- package/dist/utils/pick-base-customization-props.js +1 -1
- package/dist/utils/popover-width.js +1 -1
- package/dist/utils/programmatic-focus.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/resolve-icon.js +1 -1
- package/dist/utils/resolve-validation-props.js +1 -1
- package/dist/utils/search-text-services.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/shared-store.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/virtual-width.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/utils/wrap-node-if-plain.js +1 -1
- package/dist/utils/wrap-with-field.js +1 -1
- package/dist/version.js +2 -2
- package/docs/Usage.md +2 -2
- package/docs/components/Banner.md +30 -3
- package/docs/components/CollectionItem.md +3 -0
- package/docs/components/CommandMenu.md +1 -1
- package/docs/components/FilterListBox.md +19 -2
- package/docs/components/Item.md +57 -2
- package/docs/components/ItemCard.md +3 -0
- package/docs/components/ListBox.md +19 -2
- package/docs/components/Menu.md +1 -1
- package/docs/components/Tabs.md +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/forward-ref-with-generics.tsx
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated Declare a ref prop on a generic component, or preserve an
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { Text as _Text } from "../components/Text/Text.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/utils/highlight-text.tsx
|
package/dist/utils/index.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "./styles.js";
|
|
3
3
|
import { chain } from "./chain.js";
|
|
4
4
|
import { mergeProps } from "./merge-props.js";
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { useLayoutEffect as useLayoutEffect$1 } from "../hooks/use-layout-effect.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { useRef, useState } from "react";
|
package/dist/utils/is-dev-env.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { Children, isValidElement } from "react";
|
|
3
3
|
//#region src/utils/is-text-only.ts
|
|
4
4
|
function isTextOnly(children) {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/layout-scale.ts
|
|
3
3
|
/**
|
|
4
4
|
* How much an element is scaled on screen along an axis by an ancestor's
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { warn } from "./warnings.js";
|
|
3
3
|
//#region src/utils/legacy-tooltip.ts
|
|
4
4
|
let hasWarnedAboutLegacyTooltip = false;
|
package/dist/utils/map-props.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/map-props.ts
|
|
3
3
|
/** Converts AriaButtonProps to CubeButtonProps */
|
|
4
4
|
function ariaToCubeButtonProps(props) {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { mergeIds } from "../hooks/use-id.js";
|
|
3
3
|
import { chain } from "./chain.js";
|
|
4
4
|
import { mergeStyles } from "@tenphi/tasty";
|
package/dist/utils/modules.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/modules.ts
|
|
3
3
|
function extractModule(promise) {
|
|
4
4
|
return promise.then((module) => module.default || module);
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/nullable-value.ts
|
|
3
3
|
function castNullableStringValue(props, emptyValue = "") {
|
|
4
4
|
return castNullableField(props, ["value", "defaultValue"], "string", (v) => String(v), emptyValue);
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/overlay-key-propagation.ts
|
|
3
3
|
/**
|
|
4
4
|
* Keys whose final handling belongs to the overlay around a control, not to
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/pick-base-customization-props.ts
|
|
3
3
|
/** Customization props that can sit under a control's DOM and event wiring. */
|
|
4
4
|
function pickBaseCustomizationProps(props) {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/programmatic-focus.ts
|
|
3
3
|
/**
|
|
4
4
|
* Telling focus the user moved from focus a component moved for them.
|
package/dist/utils/promise.js
CHANGED
package/dist/utils/raf.js
CHANGED
package/dist/utils/random.js
CHANGED
package/dist/utils/range.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/resolve-validation-props.ts
|
|
3
3
|
/**
|
|
4
4
|
* Normalizes the validation props of a field into a pair of booleans.
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/search-text-services.ts
|
|
3
3
|
/**
|
|
4
4
|
* What a search input asks of a phone keyboard: a Search key in place of Return, and no capital
|
package/dist/utils/selection.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { useEvent } from "../hooks/use-event.js";
|
|
3
3
|
import { isDevEnv } from "./is-dev-env.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
package/dist/utils/styles.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { isSelector, mergeStyles } from "@tenphi/tasty";
|
|
3
3
|
//#region src/utils/styles.ts
|
|
4
4
|
function isRecord(value) {
|
package/dist/utils/tree.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/tree.ts
|
|
3
3
|
function toFlatTree(tree, includingFolders) {
|
|
4
4
|
return tree.reduce((result, node) => {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
import { defaultRangeExtractor } from "@tanstack/react-virtual";
|
package/dist/utils/warnings.js
CHANGED
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { isDevEnvOrTest } from "./is-dev-env.js";
|
|
3
3
|
//#region src/utils/warnings.ts
|
|
4
4
|
const SUGGESTED_PROP_MAP = {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { Fragment, isValidElement } from "react";
|
|
3
3
|
//#region src/utils/wrap-node-if-plain.ts
|
|
4
4
|
function wrapNodeIfPlain(children, render) {
|
|
@@ -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-dbc4e26 | Cube Dev Team */
|
|
2
2
|
import { mergeStyleLayers } from "./styles.js";
|
|
3
3
|
import { mergeProps } from "./merge-props.js";
|
|
4
4
|
import { hasFieldContent, warnAboutForceField } from "./field-chrome.js";
|
package/dist/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-dbc4e26 | Cube Dev Team */
|
|
2
2
|
//#region src/version.ts
|
|
3
|
-
const VERSION = "0.0.0-canary-
|
|
3
|
+
const VERSION = "0.0.0-canary-dbc4e26";
|
|
4
4
|
const TASTY_VERSION = "3.19.3";
|
|
5
5
|
if (typeof window !== "undefined") {
|
|
6
6
|
const version = VERSION;
|
package/docs/Usage.md
CHANGED
|
@@ -549,7 +549,7 @@ It follows the system preference alone, with no attribute opt-in.
|
|
|
549
549
|
|
|
550
550
|
### Mobile
|
|
551
551
|
|
|
552
|
-
`<Root>` also registers `@mobile`, a viewport narrower than 920px (`@media(w < 920px)`), the width below which the desktop layout stops fitting. `<Button collapseState>` collapses there. Use it for the same breakpoint in your own styles:
|
|
552
|
+
`<Root>` also registers `@mobile`, a viewport narrower than 920px (`@media(w < 920px)`), the width below which the desktop layout stops fitting. `<Button collapseState>` collapses there, and an `Item`'s `actionsBelowState` (on by default in `Banner`) moves its actions below the text there. Use it for the same breakpoint in your own styles:
|
|
553
553
|
|
|
554
554
|
```tsx
|
|
555
555
|
const Toolbar = tasty({
|
|
@@ -563,7 +563,7 @@ An app that defines `@mobile` itself in `configure({ states })` replaces this on
|
|
|
563
563
|
|
|
564
564
|
### Query Containers
|
|
565
565
|
|
|
566
|
-
A container query, `@(name, w < 600px)` in a style map
|
|
566
|
+
A container query, `@(name, w < 600px)` in a style map, a `Button`'s `collapseState` or an `Item`'s `actionsBelowState`, reads the nearest ancestor with that name. These UI Kit components are named `inline-size` query containers:
|
|
567
567
|
|
|
568
568
|
| Name | Component |
|
|
569
569
|
| --- | --- |
|
|
@@ -16,13 +16,15 @@ Banner displays prominent messages and notifications to users. It supports diffe
|
|
|
16
16
|
### Properties
|
|
17
17
|
|
|
18
18
|
- **`theme`** `'danger' | 'warning' | 'note' | 'success'` (default: `'note'`) — Visual theme of the banner with corresponding icon and colors
|
|
19
|
-
- **`isDismissable`** `boolean` (default: `false`) — Whether the banner shows a dismiss button
|
|
19
|
+
- **`isDismissable`** `boolean` (default: `false`) — Whether the banner shows a dismiss button. It sits in the top-right corner, after the actions
|
|
20
20
|
- **`onDismiss`** `() => void` — Callback fired when the dismiss button is clicked
|
|
21
21
|
- **`icon`** `ReactNode` — Custom icon to display; defaults to a theme-appropriate icon
|
|
22
22
|
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
23
23
|
- **`prefix`** `ReactNode` — Content rendered before the label
|
|
24
24
|
- **`suffix`** `ReactNode` — Content rendered after the label
|
|
25
|
-
- **`actions`** `ReactNode` — Action buttons displayed on the right side of the banner. Use `Banner.Action` for consistent styling
|
|
25
|
+
- **`actions`** `ReactNode` — Action buttons displayed on the right side of the banner, or below the message on a phone. Use `Banner.Action` for consistent styling
|
|
26
|
+
- **`actionsBelowState`** `boolean | string` (default: `true`) — When the actions move to a row of their own below the label and description. `true` means `@mobile` (a viewport narrower than 920px); `false` keeps them at the end; a string is any state or condition, such as `'@(panel, w < 600px)'`. See [Actions on a Narrow Screen](#actions-on-a-narrow-screen)
|
|
27
|
+
- **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Puts the actions below at every width
|
|
26
28
|
- **`description`** `ReactNode` — Secondary text shown below the main content, truncated with ellipsis after two lines
|
|
27
29
|
- **`tooltip`** `string | boolean | object` — Tooltip configuration
|
|
28
30
|
- **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
|
|
@@ -51,6 +53,7 @@ Customizes the root element of the component.
|
|
|
51
53
|
|
|
52
54
|
- `Label` - The main text content area
|
|
53
55
|
- `Actions` - Container for action buttons
|
|
56
|
+
- `PinnedActions` - Container for the dismiss button
|
|
54
57
|
|
|
55
58
|
### Style Properties
|
|
56
59
|
|
|
@@ -136,6 +139,29 @@ Inline link styled with white color and underline. Use for links within the bann
|
|
|
136
139
|
</Banner>
|
|
137
140
|
```
|
|
138
141
|
|
|
142
|
+
### Actions on a Narrow Screen
|
|
143
|
+
|
|
144
|
+
On a phone, a column of actions beside the message would squeeze the label and description to a few characters. So on `@mobile` (a viewport narrower than 920px) the actions move to a row of their own below the message, lined up with the text, and wrap when they don't fit. The dismiss button keeps the top-right corner. The switch is CSS only.
|
|
145
|
+
|
|
146
|
+
```jsx
|
|
147
|
+
<Banner
|
|
148
|
+
theme="danger"
|
|
149
|
+
shape="sharp"
|
|
150
|
+
isDismissable
|
|
151
|
+
description="Please make sure your data model compiles and try again."
|
|
152
|
+
actions={
|
|
153
|
+
<>
|
|
154
|
+
<Banner.Action to="/logs">Check logs</Banner.Action>
|
|
155
|
+
<Banner.Action to="/deploy">Upload updated Cube project</Banner.Action>
|
|
156
|
+
</>
|
|
157
|
+
}
|
|
158
|
+
>
|
|
159
|
+
Last build failed
|
|
160
|
+
</Banner>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
To choose when that happens, pass `actionsBelowState`: `false` keeps the actions at the end at every width, and a condition such as `'@(panel, w < 600px)'` follows a container instead of the viewport. `actionsPlacement="below"` puts them below at every width. The [Item docs](./Item.md#actions-below) show the layout.
|
|
164
|
+
|
|
139
165
|
### Banner with Inline Links
|
|
140
166
|
|
|
141
167
|
```jsx
|
|
@@ -180,7 +206,8 @@ import { IconBell } from '@tabler/icons-react';
|
|
|
180
206
|
### Screen Reader Support
|
|
181
207
|
|
|
182
208
|
- Banner has `role="status"` to announce content changes
|
|
183
|
-
- Dismiss button
|
|
209
|
+
- Dismiss button is named and labelled "Hide banner"
|
|
210
|
+
- Reading and tab order stay the same in both layouts: the message, the actions, then the dismiss button
|
|
184
211
|
|
|
185
212
|
### ARIA Properties
|
|
186
213
|
|
|
@@ -111,6 +111,9 @@ const items = [{
|
|
|
111
111
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'inline' | number | string` — Size of the item. In a list it defaults to the list's `size`, and an item's own value overrides it for that row; a number or a custom length such as `6x` sets the row height
|
|
112
112
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
|
|
113
113
|
- **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
|
|
114
|
+
- **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Where the `actions` sit: at the end, or in a row of their own below the label and description. See [Item](./Item.md#actions-below)
|
|
115
|
+
- **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile`, or any state, media or container condition
|
|
116
|
+
- **`pinnedActions`** `ReactNode` — Controls that keep the end of the first row when the `actions` move below, such as `Item.CloseAction`. Not on `Menu.Item` or `CommandMenu.Item`: a control pinned inside a menu row is one no key reaches
|
|
114
117
|
- **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
|
|
115
118
|
- **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the label element when type is "header" or "card"
|
|
116
119
|
- **`highlight`** `string` — String to highlight within children text
|
|
@@ -100,7 +100,7 @@ The CommandMenu component supports the following modifiers:
|
|
|
100
100
|
|
|
101
101
|
### CommandMenu.Item
|
|
102
102
|
|
|
103
|
-
Individual menu items within the CommandMenu. Each item is rendered using [Item](./Item.md) and supports
|
|
103
|
+
Individual menu items within the CommandMenu. Each item is rendered using [Item](./Item.md) and supports its properties for layout, icons, descriptions, and interactive features, except `pinnedActions`: a control pinned inside a menu row is one no key reaches.
|
|
104
104
|
|
|
105
105
|
For detailed information about all available item properties, see the [Menu.Item documentation](./Menu.md#sub-components) which provides the complete API reference. Key properties include:
|
|
106
106
|
|
|
@@ -127,7 +127,7 @@ Customizes the inner ListBox component.
|
|
|
127
127
|
|
|
128
128
|
#### headerStyles
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
Lays out the header and sets its fill: a container's layout props, the sizing props and `fill`. The border, corner radius, text color and preset are FilterListBox's, and the header's corners follow its box.
|
|
131
131
|
|
|
132
132
|
**Sub-elements:**
|
|
133
133
|
|
|
@@ -135,7 +135,7 @@ Customizes the header area when header prop is provided.
|
|
|
135
135
|
|
|
136
136
|
#### footerStyles
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
Lays out the footer and sets its fill, on the same terms as `headerStyles`.
|
|
139
139
|
|
|
140
140
|
**Sub-elements:**
|
|
141
141
|
|
|
@@ -349,6 +349,23 @@ const categories = [
|
|
|
349
349
|
</FilterListBox>
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
+
### Filled Header and Footer
|
|
353
|
+
|
|
354
|
+
`headerStyles` and `footerStyles` take a fill as well as a layout, and the header and footer round to FilterListBox's own corners.
|
|
355
|
+
|
|
356
|
+
```jsx
|
|
357
|
+
<FilterListBox
|
|
358
|
+
label="Choose a language"
|
|
359
|
+
header="Programming languages"
|
|
360
|
+
footer="5 languages"
|
|
361
|
+
headerStyles={{ fill: '#surface-2' }}
|
|
362
|
+
footerStyles={{ fill: '#surface-2' }}
|
|
363
|
+
>
|
|
364
|
+
<FilterListBox.Item key="javascript">JavaScript</FilterListBox.Item>
|
|
365
|
+
<FilterListBox.Item key="python">Python</FilterListBox.Item>
|
|
366
|
+
</FilterListBox>
|
|
367
|
+
```
|
|
368
|
+
|
|
352
369
|
### With Custom Filter
|
|
353
370
|
|
|
354
371
|
```jsx
|
package/docs/components/Item.md
CHANGED
|
@@ -29,6 +29,9 @@ A foundational component that provides a standardized layout and styling for ite
|
|
|
29
29
|
- **`isLoading`** `boolean` (default: `false`) — Show loading indicator and disable the item
|
|
30
30
|
- **`loadingSlot`** `'auto' | 'icon' | 'rightIcon' | 'prefix' | 'suffix'` (default: `auto`) — Which slot the loading indicator replaces. `'auto'` prefers `icon` if present, then `rightIcon`, then falls back to `icon`
|
|
31
31
|
- **`actions`** `ReactNode | true` — Inline action buttons displayed on the right side. Use `Item.Action` for consistent styling
|
|
32
|
+
- **`actionsPlacement`** `'end' | 'below'` (default: `end`) — Where the `actions` run sits: in a column at the end of the item, or in a row of its own below the label and description, aligned with the label. Ignored with `autoHideActions` and inside a wrapper (`ItemButton`)
|
|
33
|
+
- **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile` (a viewport narrower than 920px), or any state or condition, such as `'@media(w < 600px)'` or `'@(panel, w < 480px)'`. The item does not re-render to switch. Ignored with `autoHideActions` and inside a wrapper (`ItemButton`)
|
|
34
|
+
- **`pinnedActions`** `ReactNode` — Controls that keep the end of the item's first row even when the `actions` move below, such as `Item.CloseAction` or a menu trigger. In the `end` placement they follow the actions
|
|
32
35
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown only on hover, focus, or focus-within
|
|
33
36
|
- **`preserveActionsSpace`** `boolean` (default: `false`) — When true, preserves the actions width when hidden (only changes opacity). Only applies when `autoHideActions` is true
|
|
34
37
|
- **`disableActionsFocus`** `boolean` (default: `false`) — When true, action buttons are not focusable via keyboard
|
|
@@ -56,7 +59,8 @@ Customizes the root element of the component.
|
|
|
56
59
|
- `Description` - The secondary text below or inline with the main content
|
|
57
60
|
- `Prefix` - Additional content displayed before the main content
|
|
58
61
|
- `Suffix` - Additional content displayed after the main content
|
|
59
|
-
- `Actions` - Container for inline action buttons displayed on the right side
|
|
62
|
+
- `Actions` - Container for inline action buttons displayed on the right side, or on a row of its own below with `actionsPlacement="below"`
|
|
63
|
+
- `PinnedActions` - Container for `pinnedActions`, at the end of the first row
|
|
60
64
|
|
|
61
65
|
### Style Properties
|
|
62
66
|
|
|
@@ -98,11 +102,13 @@ The `mods` property accepts the following modifiers:
|
|
|
98
102
|
- **`has-suffix`** `boolean` — Applied when suffix prop is provided
|
|
99
103
|
- **`has-label`** `boolean` — Applied when children or labelProps are provided
|
|
100
104
|
- **`has-start-content`** `boolean` — Applied when icon or prefix is present
|
|
101
|
-
- **`has-end-content`** `boolean` — Applied when rightIcon, suffix, or actions are present
|
|
105
|
+
- **`has-end-content`** `boolean` — Applied when rightIcon, suffix, actions or pinned actions are present
|
|
102
106
|
- **`has-description`** `boolean` — Applied when description is provided
|
|
103
107
|
- **`description`** `'inline' | 'block' | 'none'` — Applied based on the resolved description placement
|
|
104
108
|
- **`has-actions`** `boolean` — Applied when actions prop is provided
|
|
105
109
|
- **`has-actions-content`** `boolean` — Applied when actions have actual content (not just placeholder)
|
|
110
|
+
- **`has-pinned-actions`** `boolean` — Applied when pinnedActions prop is provided
|
|
111
|
+
- **`actions-below`** `boolean` — Applied when `actionsPlacement="below"` takes effect. The styles read the local `@actions-below` state, which `actionsBelowState` widens with its condition
|
|
106
112
|
- **`auto-hide-actions`** `boolean` — Applied when autoHideActions is true
|
|
107
113
|
- **`preserve-actions-space`** `boolean` — Applied when preserveActionsSpace is true
|
|
108
114
|
- **`checkmark`** `boolean` — Applied when using the checkmark icon (icon="checkmark")
|
|
@@ -395,6 +401,55 @@ Use `preserveActionsSpace` together with `autoHideActions` to keep the actions a
|
|
|
395
401
|
</Item>
|
|
396
402
|
```
|
|
397
403
|
|
|
404
|
+
#### Actions Below
|
|
405
|
+
|
|
406
|
+
Use `actionsPlacement="below"` to put the actions in a row of their own below the label and description, so a narrow item gives its text the whole width. The row lines up with the label (or with a block description), and its buttons wrap onto more lines when they don't fit.
|
|
407
|
+
|
|
408
|
+
```jsx
|
|
409
|
+
<Item
|
|
410
|
+
type="card"
|
|
411
|
+
icon={<IconAlertTriangle />}
|
|
412
|
+
description="The deployment resumes once the build finishes."
|
|
413
|
+
actionsPlacement="below"
|
|
414
|
+
actions={
|
|
415
|
+
<>
|
|
416
|
+
<Item.Action type="outline">Open logs</Item.Action>
|
|
417
|
+
<Item.Action type="outline">Retry</Item.Action>
|
|
418
|
+
</>
|
|
419
|
+
}
|
|
420
|
+
>
|
|
421
|
+
Build is running
|
|
422
|
+
</Item>
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
To switch only when space is short, give `actionsBelowState` a condition instead. It works like `Button`'s `collapseState`: the item's CSS switches the layout, so the item does not re-render. `true` means `@mobile`; a string can be any state, media or container condition. A container condition needs that container around the item.
|
|
426
|
+
|
|
427
|
+
```jsx
|
|
428
|
+
{/* On @mobile */}
|
|
429
|
+
<Item actions={actions} actionsBelowState />
|
|
430
|
+
|
|
431
|
+
{/* In a narrow panel */}
|
|
432
|
+
<Item actions={actions} actionsBelowState="@(panel, w < 480px)" />
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
`Banner` moves its actions below on `@mobile` by default.
|
|
436
|
+
|
|
437
|
+
#### Pinned Actions
|
|
438
|
+
|
|
439
|
+
`pinnedActions` hold controls that belong in the corner rather than with the other actions: a close button or a menu trigger. They follow the actions at the end of the item and keep the end of the first row when the actions move below. In reading and tab order they come last.
|
|
440
|
+
|
|
441
|
+
`Item.CloseAction` is an `Item.Action` with a close icon, named "Close" unless `tooltip` or `aria-label` says otherwise:
|
|
442
|
+
|
|
443
|
+
```jsx
|
|
444
|
+
<Item
|
|
445
|
+
actionsBelowState
|
|
446
|
+
actions={<Item.Action type="outline">Retry</Item.Action>}
|
|
447
|
+
pinnedActions={<Item.CloseAction onPress={onClose} />}
|
|
448
|
+
>
|
|
449
|
+
Sync failed
|
|
450
|
+
</Item>
|
|
451
|
+
```
|
|
452
|
+
|
|
398
453
|
### With Tooltip
|
|
399
454
|
|
|
400
455
|
By default, Item shows an auto tooltip when content overflows. The label and a string `description` are both checked, and the tooltip shows the text that is cut off: the label, the description, or both — then the description sits below the label as lighter secondary text. Text the row already shows in full is left out. A description that wraps (`wrapDescription`, on by default for `type="card"` and `type="header"`) only triggers it if a word too long to break overflows. Pass `tooltip={false}` to turn the check off, for example in a very long list that renders every row at once.
|
|
@@ -30,6 +30,9 @@ A card for content with a heading, a body and optional inline actions. It wraps
|
|
|
30
30
|
- **`actions`** `ReactNode` — Inline action buttons displayed on the right side
|
|
31
31
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
|
|
32
32
|
- **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
|
|
33
|
+
- **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Where the `actions` sit: at the end, or in a row of their own below the label and description. See [Item](./Item.md#actions-below)
|
|
34
|
+
- **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile`, or any state, media or container condition
|
|
35
|
+
- **`pinnedActions`** `ReactNode` — Controls that keep the end of the first row when the `actions` move below, such as `Item.CloseAction`
|
|
33
36
|
- **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
|
|
34
37
|
- **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the card title
|
|
35
38
|
- **`highlight`** `string` — String to highlight within children text
|
|
@@ -101,11 +101,11 @@ Customizes section heading elements.
|
|
|
101
101
|
|
|
102
102
|
#### headerStyles
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
Lays out the header and sets its fill: a container's layout props, the sizing props and `fill`. The border, corner radius, text color and preset are the list's, and the header's corners follow the list's in every shape.
|
|
105
105
|
|
|
106
106
|
#### footerStyles
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Lays out the footer and sets its fill, on the same terms as `headerStyles`.
|
|
109
109
|
|
|
110
110
|
### Style Properties
|
|
111
111
|
|
|
@@ -453,6 +453,23 @@ const categories = [
|
|
|
453
453
|
</ListBox>
|
|
454
454
|
```
|
|
455
455
|
|
|
456
|
+
### Filled Header and Footer
|
|
457
|
+
|
|
458
|
+
`headerStyles` and `footerStyles` take a fill as well as a layout, and the header and footer round to the list's inner corners in every shape.
|
|
459
|
+
|
|
460
|
+
```jsx
|
|
461
|
+
<ListBox
|
|
462
|
+
label="Fruits"
|
|
463
|
+
header="Fruits"
|
|
464
|
+
footer="3 fruits"
|
|
465
|
+
headerStyles={{ fill: '#surface-2' }}
|
|
466
|
+
footerStyles={{ fill: '#surface-2' }}
|
|
467
|
+
>
|
|
468
|
+
<ListBox.Item key="apple">Apple</ListBox.Item>
|
|
469
|
+
<ListBox.Item key="banana">Banana</ListBox.Item>
|
|
470
|
+
</ListBox>
|
|
471
|
+
```
|
|
472
|
+
|
|
456
473
|
### Controlled Selection
|
|
457
474
|
|
|
458
475
|
```jsx
|
package/docs/components/Menu.md
CHANGED
|
@@ -147,7 +147,7 @@ The `mods` property accepts the following modifiers you can override:
|
|
|
147
147
|
|
|
148
148
|
### Menu.Item
|
|
149
149
|
|
|
150
|
-
Individual menu items. Each item is rendered using [Item](./Item.md) and supports
|
|
150
|
+
Individual menu items. Each item is rendered using [Item](./Item.md) and supports its properties for layout, icons, descriptions, and interactive features, except `pinnedActions`: a menu item's inline controls are its `actions`, which arrow keys reach.
|
|
151
151
|
|
|
152
152
|
#### Item API
|
|
153
153
|
|
package/docs/components/Tabs.md
CHANGED
|
@@ -197,7 +197,7 @@ DOM order is always "bar then panels" — visual order is controlled internally
|
|
|
197
197
|
|
|
198
198
|
### Tab
|
|
199
199
|
|
|
200
|
-
Each `Tab` renders an [Item](./Item.md) internally, so it inherits most Item props — `icon`, `rightIcon`, `prefix`, `suffix`, `tooltip`, `isLoading`, `loadingSlot`, and all Item style props (like `width`, `fill`, `padding`, etc.). Props that don't apply to tabs (`description`, `hotkeys`, `theme`, `shape`, `variant`, `highlight`, etc.) are omitted.
|
|
200
|
+
Each `Tab` renders an [Item](./Item.md) internally, so it inherits most Item props — `icon`, `rightIcon`, `prefix`, `suffix`, `tooltip`, `isLoading`, `loadingSlot`, and all Item style props (like `width`, `fill`, `padding`, etc.). Props that don't apply to tabs (`description`, `hotkeys`, `theme`, `shape`, `variant`, `highlight`, `actionsPlacement`, `pinnedActions`, etc.) are omitted.
|
|
201
201
|
|
|
202
202
|
```jsx
|
|
203
203
|
<Tab key="unique-id" title="Tab Title">
|
|
@@ -318,7 +318,7 @@ Give every icon-only action an `aria-label` (a `tooltip` string also supplies on
|
|
|
318
318
|
|
|
319
319
|
### Tab Props
|
|
320
320
|
|
|
321
|
-
`Tab` extends [Item](./Item.md), so it accepts all Item props except those that don't apply to tabs (`description`, `hotkeys`, `theme`, `shape`, `variant`, `highlight`, `isSelected`, `htmlType`). This includes `icon`, `rightIcon`, `prefix`, `suffix`, `tooltip`, `isLoading`, `loadingSlot`, and all style props.
|
|
321
|
+
`Tab` extends [Item](./Item.md), so it accepts all Item props except those that don't apply to tabs (`description`, `hotkeys`, `theme`, `shape`, `variant`, `highlight`, `isSelected`, `htmlType`, `actionsPlacement`, `actionsBelowState`, `pinnedActions`). This includes `icon`, `rightIcon`, `prefix`, `suffix`, `tooltip`, `isLoading`, `loadingSlot`, and all style props.
|
|
322
322
|
|
|
323
323
|
In addition, Tab accepts these tab-specific props:
|
|
324
324
|
|