@cube-dev/ui-kit 0.138.5 → 0.139.0
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 +53 -0
- package/dist/_internal/hooks/use-chained-callback.js +1 -1
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.d.ts +2 -2
- package/dist/components/actions/Button/Button.js +11 -17
- package/dist/components/actions/Button/Button.js.map +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.d.ts +2 -2
- package/dist/components/actions/ItemAction/ItemAction.js +8 -22
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
- package/dist/components/actions/ItemActionContext.js +2 -2
- package/dist/components/actions/ItemActionContext.js.map +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +3 -3
- 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/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 +3 -3
- package/dist/components/actions/Menu/styled.js.map +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.d.ts +3 -3
- package/dist/components/content/Item/Item.js +19 -25
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.d.ts +2 -2
- package/dist/components/content/ItemBadge/ItemBadge.js +12 -18
- package/dist/components/content/ItemBadge/ItemBadge.js.map +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 +2 -2
- package/dist/components/content/Layout/LayoutHeader.js.map +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Tree/Tree.js +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/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/ComboBox/ComboBox.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/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/intl.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.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/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +3 -3
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/fields/Picker/Picker.js +1 -1
- package/dist/components/fields/RadioGroup/Radio.d.ts +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +40 -12
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +15 -5
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +2 -2
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
- package/dist/components/fields/Select/Select.d.ts +1 -1
- package/dist/components/fields/Select/Select.js +1 -1
- package/dist/components/fields/Select/Select.js.map +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.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/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/index.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/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/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +2 -2
- 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 +2 -2
- package/dist/components/navigation/Tabs/TabPicker.js.map +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +5 -5
- package/dist/components/navigation/Tabs/TabsAction.js.map +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +2 -1
- package/dist/components/navigation/Tabs/styled.js.map +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/FileTabs/FileTabs.js +2 -2
- package/dist/components/organisms/FileTabs/FileTabs.js.map +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/RangeCalendar.js +1 -1
- package/dist/components/other/CloudLogo/CloudLogo.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 +2 -2
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.d.ts +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +4 -3
- package/dist/components/overlays/Notifications/NotificationAction.js.map +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 +3 -2
- package/dist/components/overlays/Toast/useProgressToast.js.map +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.d.ts +1 -1
- package/dist/data/item-themes.js +377 -467
- package/dist/data/item-themes.js.map +1 -1
- package/dist/data/themes.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/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/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/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/palette.js +52 -22
- package/dist/tokens/palette.js.map +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/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/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/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.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/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +2 -2
- package/docs/ComplexLayout.md +2 -2
- package/docs/components/CollectionItem.md +1 -1
- package/docs/components/actions/Banner.md +1 -1
- package/docs/components/actions/Button.md +3 -5
- package/docs/components/actions/ButtonGroup.md +1 -1
- package/docs/components/actions/ButtonSplit.md +1 -2
- package/docs/components/actions/ItemAction.md +5 -5
- package/docs/components/actions/ItemButton.md +4 -6
- package/docs/components/content/Item.md +9 -10
- package/docs/components/content/ItemBadge.md +4 -4
- package/docs/components/content/ItemCard.md +1 -1
- package/docs/components/content/Layout.md +2 -2
- package/docs/components/content/Tag.md +1 -1
- package/docs/components/fields/FilterListBox.md +1 -1
- package/docs/components/fields/FilterPicker.md +3 -5
- package/docs/components/fields/ListBox.md +1 -1
- package/docs/components/fields/Picker.md +3 -5
- package/docs/components/fields/RadioGroup.md +7 -9
- package/docs/components/fields/Select.md +2 -4
- package/package.json +1 -1
package/docs/ComplexLayout.md
CHANGED
|
@@ -50,8 +50,8 @@ Use `Layout.Panel` for side navigation. Panels are absolutely positioned and aut
|
|
|
50
50
|
<Layout.Panel side="left" size={200} isOpen={isOpen}> {/* absolute left, pushes content via insets */}
|
|
51
51
|
<Layout.PanelHeader isClosable title="Menu" onClose={() => setIsOpen(false)} />
|
|
52
52
|
<Layout.Content padding=".5x" gap="1bw"> {/* flex column ↓, scrollable */}
|
|
53
|
-
<ItemButton type="
|
|
54
|
-
<ItemButton type="
|
|
53
|
+
<ItemButton type="clear">Dashboard</ItemButton>
|
|
54
|
+
<ItemButton type="clear">Settings</ItemButton>
|
|
55
55
|
</Layout.Content>
|
|
56
56
|
</Layout.Panel>
|
|
57
57
|
<Layout.Toolbar> {/* flex row →, single item aligns left */}
|
|
@@ -92,7 +92,7 @@ const items = [{
|
|
|
92
92
|
|
|
93
93
|
## Properties
|
|
94
94
|
|
|
95
|
-
- **`icon`** `ReactNode | '
|
|
95
|
+
- **`icon`** `ReactNode | 'checkmark'` — Icon displayed before the content
|
|
96
96
|
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
97
97
|
- **`prefix`** `ReactNode` — Content rendered before the label
|
|
98
98
|
- **`suffix`** `ReactNode` — Content rendered after the label
|
|
@@ -27,7 +27,7 @@ Banner displays prominent messages and notifications to users. It supports diffe
|
|
|
27
27
|
- **`tooltip`** `string | boolean | object` — Tooltip configuration
|
|
28
28
|
- **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
|
|
29
29
|
- **`isDisabled`** `boolean` — Whether the banner is disabled
|
|
30
|
-
- **`isSelected`** `boolean` (default: `false`) — Whether the banner shows as selected with a
|
|
30
|
+
- **`isSelected`** `boolean` (default: `false`) — Whether the banner shows as selected with a checkmark
|
|
31
31
|
- **`isLoading`** `boolean` — Show loading state
|
|
32
32
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
|
|
33
33
|
- **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
|
|
@@ -15,7 +15,7 @@ A versatile action component that triggers commands and navigates users.
|
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
18
|
-
- **`type`** `'primary' | '
|
|
18
|
+
- **`type`** `'primary' | 'outline' | 'outline-2' | 'clear' | 'link'` (default: `outline`) — Visual style variant of the button (`outline-2` is identical to `outline` but uses `#surface-3` as the base fill; not available for the `special` theme)
|
|
19
19
|
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special'` (default: `default`) — Semantic colour palette theme
|
|
20
20
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'inline' | number` (default: `medium`) — Button size. Use `'inline'` for link-type buttons or a number/string for custom sizes (e.g. `64` or `'8x'`)
|
|
21
21
|
- **`icon`** — Icon rendered before the content. Can be: ReactNode, `true` (empty slot), or function `({ loading, selected, ...mods }) => ReactNode | true`
|
|
@@ -78,10 +78,8 @@ The `mods` prop accepts the following modifiers you can override:
|
|
|
78
78
|
### Types. `type` prop
|
|
79
79
|
|
|
80
80
|
- `primary` – Emphasised call-to-action.
|
|
81
|
-
- `
|
|
82
|
-
- `
|
|
83
|
-
- `neutral` – Minimal style that blends with surroundings.
|
|
84
|
-
- `clear` – Text-only variant without background and border.
|
|
81
|
+
- `outline` – Border with transparent background; `isSelected` adds brand-tinted fill.
|
|
82
|
+
- `clear` – No border, transparent background; `isSelected` adds brand-tinted fill.
|
|
85
83
|
- `link` – Styled as a textual link.
|
|
86
84
|
|
|
87
85
|
### Themes. `theme` prop
|
|
@@ -19,7 +19,7 @@ A split button that groups a primary action with a dropdown trigger for secondar
|
|
|
19
19
|
- **`defaultActionKey`** `string` — Initially selected action key (uncontrolled)
|
|
20
20
|
- **`onAction`** `(key: string) => void` — Called when the action button is pressed
|
|
21
21
|
- **`onActionChange`** `(key: string) => void` — Called when the selected action changes via the menu
|
|
22
|
-
- **`type`** `'primary' | '
|
|
22
|
+
- **`type`** `'primary' | 'outline' | 'outline-2' | 'clear'` (default: `'outline'`) — Button type (inherited by children via context)
|
|
23
23
|
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special'` (default: `'default'`) — Button theme (inherited by children via context)
|
|
24
24
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'` (default: `'medium'`) — Button size (inherited by children via context)
|
|
25
25
|
- **`isDisabled`** `boolean` (default: `false`) — Disables all buttons (inherited via context)
|
|
@@ -137,7 +137,6 @@ Different types and themes can be applied. All child buttons inherit the styling
|
|
|
137
137
|
|
|
138
138
|
```jsx
|
|
139
139
|
<Button.Split actions={actions} defaultActionKey="copy" type="primary" />
|
|
140
|
-
<Button.Split actions={actions} defaultActionKey="copy" type="secondary" />
|
|
141
140
|
<Button.Split actions={actions} defaultActionKey="copy" type="outline" />
|
|
142
141
|
<Button.Split actions={actions} defaultActionKey="copy" type="primary" theme="danger" />
|
|
143
142
|
<Button.Split actions={actions} defaultActionKey="copy" type="primary" isDisabled />
|
|
@@ -14,11 +14,11 @@ A compact action button designed for use inside `Item`, `ItemButton`, and `ItemC
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
- **`icon`** `ReactNode | '
|
|
18
|
-
- **`type`** `'primary' | '
|
|
17
|
+
- **`icon`** `ReactNode | 'checkmark'` — Icon element or `'checkmark'` for a selection indicator
|
|
18
|
+
- **`type`** `'primary' | 'outline' | 'clear'` (default: `'clear'`) — Visual type. Inherits from parent context.
|
|
19
19
|
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special'` (default: `'default'`) — Color theme. Inherits from parent context.
|
|
20
20
|
- **`isLoading`** `boolean` (default: `false`) — Shows loading spinner
|
|
21
|
-
- **`isSelected`** `boolean` (default: `false`) — Selected state (works with `icon="
|
|
21
|
+
- **`isSelected`** `boolean` (default: `false`) — Selected state (works with `icon="checkmark"`)
|
|
22
22
|
- **`isDisabled`** `boolean` (default: `false`) — Disables the action. Inherits from parent; use `isDisabled={false}` to override.
|
|
23
23
|
- **`tooltip`** `string | object` — Tooltip content (shown for icon-only buttons)
|
|
24
24
|
- **`onPress`** `() => void` — Press event handler
|
|
@@ -36,10 +36,10 @@ Supports [Base properties](../../BaseProperties.md).
|
|
|
36
36
|
<ItemAction icon={<IconTrash />} tooltip="Delete" theme="danger" />
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### Checkmark action
|
|
40
40
|
|
|
41
41
|
```jsx
|
|
42
|
-
<ItemAction icon="
|
|
42
|
+
<ItemAction icon="checkmark" isSelected={isChecked} onPress={toggle} />
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Inside ItemButton
|
|
@@ -16,7 +16,7 @@ An interactive button component built on top of `Item` that provides all the lay
|
|
|
16
16
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
|
-
- **`type`** `'primary' | '
|
|
19
|
+
- **`type`** `'primary' | 'outline' | 'outline-2' | 'clear'` — Visual type/variant of the button
|
|
20
20
|
- **`theme`** `'default' | 'danger' | 'success' | 'special'` — Color theme of the button
|
|
21
21
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'` (default: `medium`) — Size of the button (does not support `'inline'`)
|
|
22
22
|
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
@@ -26,7 +26,7 @@ An interactive button component built on top of `Item` that provides all the lay
|
|
|
26
26
|
- **`hotkeys`** `string` — Keyboard shortcut that triggers the button (e.g., `"cmd+s"`, `"ctrl+alt+d"`)
|
|
27
27
|
- **`tooltip`** `boolean | string | object` — Tooltip configuration: string for simple text, `true` for auto overflow tooltips, or object for advanced config with optional `auto` property
|
|
28
28
|
- **`isDisabled`** `boolean` — Whether the button is disabled
|
|
29
|
-
- **`isSelected`** `boolean` — Whether the button shows as selected with
|
|
29
|
+
- **`isSelected`** `boolean` — Whether the button shows as selected with a checkmark (pairs with `icon="checkmark"`)
|
|
30
30
|
- **`to`** `string` — URL for link behavior (makes button act as link)
|
|
31
31
|
- **`htmlType`** `'button' | 'submit' | 'reset'` — HTML button type attribute
|
|
32
32
|
- **`description`** `string` — Secondary text shown below the main content
|
|
@@ -60,10 +60,8 @@ Inherits all modifiers from [Item](../content/Item.md) plus:
|
|
|
60
60
|
### Types
|
|
61
61
|
|
|
62
62
|
- `primary` - Primary button with prominent styling for main actions
|
|
63
|
-
- `
|
|
64
|
-
- `
|
|
65
|
-
- `neutral` - Neutral styled button for subtle actions
|
|
66
|
-
- `clear` - Transparent button with minimal visual weight
|
|
63
|
+
- `outline` - Button with border outline; `isSelected` adds brand-tinted fill
|
|
64
|
+
- `clear` - Transparent button with minimal visual weight; `isSelected` adds brand-tinted fill
|
|
67
65
|
- `link` - Link-styled button that looks like a text link
|
|
68
66
|
|
|
69
67
|
### Themes
|
|
@@ -16,13 +16,13 @@ A foundational component that provides a standardized layout and styling for ite
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
18
18
|
- **`children`** `ReactNode` — The content inside the Item
|
|
19
|
-
- **`icon`** — Icon rendered before the content. Can be: ReactNode, `"
|
|
19
|
+
- **`icon`** — Icon rendered before the content. Can be: ReactNode, `"checkmark"`, `true` (empty slot), or function `({ selected, loading, ...mods }) => ReactNode | true`
|
|
20
20
|
- **`rightIcon`** — Icon rendered after the content. Can be: ReactNode, `true` (empty slot), or function `({ selected, loading, ...mods }) => ReactNode | true`
|
|
21
21
|
- **`prefix`** `ReactNode` — Element rendered before the content (after icon)
|
|
22
22
|
- **`suffix`** `ReactNode` — Element rendered after the content (before rightIcon)
|
|
23
23
|
- **`description`** `ReactNode` — Description text displayed with the item
|
|
24
24
|
- **`descriptionPlacement`** `'inline' | 'block'` (default: `inline`) — How the description is positioned relative to the main content. Defaults to `'block'` for `type="card"` and `type="header"`
|
|
25
|
-
- **`type`** `'item' | 'header' | 'primary' | '
|
|
25
|
+
- **`type`** `'item' | 'header' | 'primary' | 'outline' | 'outline-2' | 'clear' | 'link' | 'card'` (default: `item`) — Visual style variant
|
|
26
26
|
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special'` (default: `default`) — Semantic colour palette theme
|
|
27
27
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'inline' | number` (default: `medium`) — Item size. Accepts custom number or string values
|
|
28
28
|
- **`shape`** `'card' | 'button' | 'sharp' | 'pill'` (default: `button`) — Shape of the item border radius. Defaults to `'card'` for `type="card"`
|
|
@@ -79,12 +79,12 @@ The `mods` property accepts the following modifiers:
|
|
|
79
79
|
- **`has-actions-content`** `boolean` — Applied when actions have actual content (not just placeholder)
|
|
80
80
|
- **`auto-hide-actions`** `boolean` — Applied when autoHideActions is true
|
|
81
81
|
- **`preserve-actions-space`** `boolean` — Applied when preserveActionsSpace is true
|
|
82
|
-
- **`
|
|
82
|
+
- **`checkmark`** `boolean` — Applied when using the checkmark icon (icon="checkmark")
|
|
83
83
|
- **`selected`** `boolean` — Applied when isSelected is true
|
|
84
84
|
- **`disabled`** `boolean` — Applied when isDisabled is true or when loading
|
|
85
85
|
- **`loading`** `boolean` — Applied when isLoading is true
|
|
86
86
|
- **`size`** `string` — Applied based on size prop value (xsmall, small, medium, large, xlarge, inline)
|
|
87
|
-
- **`type`** `string` — Applied based on type prop value (item, header, primary,
|
|
87
|
+
- **`type`** `string` — Applied based on type prop value (item, header, primary, outline, outline-2, clear, link, card)
|
|
88
88
|
- **`theme`** `string` — Applied based on theme prop value (default, danger, success, special, warning, note)
|
|
89
89
|
- **`shape`** `string` — Applied based on shape prop value (card, button, sharp, pill)
|
|
90
90
|
|
|
@@ -95,10 +95,9 @@ The `mods` property accepts the following modifiers:
|
|
|
95
95
|
- `item` - Default item appearance (no specific styling)
|
|
96
96
|
- `header` - Header appearance for section headers (only supports `default` theme, defaults to `descriptionPlacement="block"`, uses semantic heading tags via `level` prop)
|
|
97
97
|
- `primary` - Primary styled item with prominent appearance
|
|
98
|
-
- `
|
|
99
|
-
- `outline` -
|
|
100
|
-
- `
|
|
101
|
-
- `clear` - Transparent item with minimal styling
|
|
98
|
+
- `outline` - Item with border outline styling; `isSelected` adds brand-tinted fill
|
|
99
|
+
- `outline-2` - Same as `outline` but uses `#surface-3` as the base fill, designed to sit on `#surface-2` containers without blending in (not available for the `special` theme)
|
|
100
|
+
- `clear` - Transparent item with minimal styling; `isSelected` adds brand-tinted fill
|
|
102
101
|
- `link` - Link-styled item appearance (does not support icons or loading state)
|
|
103
102
|
- `card` - Card appearance for notifications (supports `default`, `success`, `danger`, `warning`, `note` themes; defaults to `shape="card"`, `descriptionPlacement="block"`, uses semantic heading tags via `level` prop, and has `.5x` padding)
|
|
104
103
|
|
|
@@ -203,8 +202,8 @@ The `descriptionPlacement` prop controls where the description appears. It defau
|
|
|
203
202
|
### With Selection State
|
|
204
203
|
|
|
205
204
|
```jsx
|
|
206
|
-
<Item icon="
|
|
207
|
-
Selected item with
|
|
205
|
+
<Item icon="checkmark" isSelected={true}>
|
|
206
|
+
Selected item with checkmark
|
|
208
207
|
</Item>
|
|
209
208
|
```
|
|
210
209
|
|
|
@@ -10,11 +10,11 @@ A non-interactive badge indicator for list items. Similar to `ItemAction` but wi
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- **`icon`** `ReactNode | '
|
|
14
|
-
- **`type`** `'primary' | '
|
|
13
|
+
- **`icon`** `ReactNode | 'checkmark'` — Icon or checkmark display
|
|
14
|
+
- **`type`** `'primary' | 'outline' | 'clear'` (default: `'clear'`) — Visual type. `isSelected` applies brand-tinted fill to `outline` and `clear`. Inherits from parent context.
|
|
15
15
|
- **`theme`** `'default' | 'danger' | 'success' | 'special'` (default: `'default'`) — Color theme. Inherits from parent context.
|
|
16
16
|
- **`isLoading`** `boolean` (default: `false`) — Show loading spinner
|
|
17
|
-
- **`isSelected`** `boolean` (default: `false`) — Selected state (for
|
|
17
|
+
- **`isSelected`** `boolean` (default: `false`) — Selected state (for checkmark)
|
|
18
18
|
- **`tooltip`** `string | object` — Tooltip content shown on hover for icon-only badges. A string shows tooltip text; an object supports `{ title, ...tooltipProps }` for advanced configuration.
|
|
19
19
|
|
|
20
20
|
### Base Properties
|
|
@@ -24,7 +24,7 @@ Supports [Base properties](../../BaseProperties.md).
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
26
|
```jsx
|
|
27
|
-
<ItemBadge icon="
|
|
27
|
+
<ItemBadge icon="checkmark" isSelected />
|
|
28
28
|
|
|
29
29
|
<ItemBadge icon={<IconCheck />} theme="success" />
|
|
30
30
|
|
|
@@ -23,7 +23,7 @@ A convenience wrapper around `Item type="card"` that provides a more natural car
|
|
|
23
23
|
- **`suffix`** `ReactNode` — Content rendered after the label
|
|
24
24
|
- **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip configuration: string for text, `true` for auto overflow tooltips, or object for advanced config
|
|
25
25
|
- **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
|
|
26
|
-
- **`isSelected`** `boolean` (default: `false`) — Whether the card shows as selected with a
|
|
26
|
+
- **`isSelected`** `boolean` (default: `false`) — Whether the card shows as selected with a checkmark
|
|
27
27
|
- **`isLoading`** `boolean` (default: `false`) — Show loading state, replacing an icon slot with a spinner
|
|
28
28
|
- **`actions`** `ReactNode` — Inline action buttons displayed on the right side
|
|
29
29
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
|
|
@@ -696,7 +696,7 @@ function ApplicationShell() {
|
|
|
696
696
|
/>
|
|
697
697
|
<Layout.Content padding=".5x" scrollbar="tiny" gap="1bw">
|
|
698
698
|
{['Dashboard', 'Analytics', 'Reports'].map((item) => (
|
|
699
|
-
<ItemButton key={item} type="
|
|
699
|
+
<ItemButton key={item} type="clear" width="100%">
|
|
700
700
|
{item}
|
|
701
701
|
</ItemButton>
|
|
702
702
|
))}
|
|
@@ -709,7 +709,7 @@ function ApplicationShell() {
|
|
|
709
709
|
breadcrumbs={[['Home', '/'], ['Analytics', '/analytics']]}
|
|
710
710
|
subtitle="Real-time overview of your metrics"
|
|
711
711
|
suffix={
|
|
712
|
-
<Button type="
|
|
712
|
+
<Button type="clear" onPress={() => setSidebarOpen(!sidebarOpen)}>
|
|
713
713
|
☰
|
|
714
714
|
</Button>
|
|
715
715
|
}
|
|
@@ -35,7 +35,7 @@ Tags are compact, inline elements used to label, categorize, or organize items.
|
|
|
35
35
|
- **`description`** `ReactNode` — Secondary text below the main content
|
|
36
36
|
- **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip configuration: string for text, `true` for auto overflow tooltips, or object for advanced config
|
|
37
37
|
- **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
|
|
38
|
-
- **`isSelected`** `boolean` (default: `false`) — Whether the tag shows as selected with a
|
|
38
|
+
- **`isSelected`** `boolean` (default: `false`) — Whether the tag shows as selected with a checkmark
|
|
39
39
|
- **`isLoading`** `boolean` (default: `false`) — Show loading state, replacing an icon slot with a spinner
|
|
40
40
|
- **`actions`** `ReactNode` — Inline action buttons displayed on the right side
|
|
41
41
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
|
|
@@ -30,7 +30,7 @@ A versatile selection component that combines a trigger button with a searchable
|
|
|
30
30
|
- **`items`** `Iterable<T>` — Array of items to render when using the render function pattern for large datasets with dynamic content
|
|
31
31
|
- **`placeholder`** `string` — Placeholder text when no selection is made
|
|
32
32
|
- **`icon`** `ReactNode` — Icon to show in the trigger button
|
|
33
|
-
- **`type`** `'outline' | '
|
|
33
|
+
- **`type`** `'outline' | 'outline-2' | 'clear' | 'primary'` (default: `outline`) — Button styling type
|
|
34
34
|
- **`theme`** `'default' | 'special'` (default: `default`) — Button theme
|
|
35
35
|
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Size of the picker component
|
|
36
36
|
- **`searchPlaceholder`** `string` — Placeholder text in the search input
|
|
@@ -293,11 +293,9 @@ const categories = [
|
|
|
293
293
|
|
|
294
294
|
### Button Types
|
|
295
295
|
|
|
296
|
-
- `outline` - Default outlined button style
|
|
297
|
-
- `clear` - Transparent background button
|
|
296
|
+
- `outline` - Default outlined button style; `isSelected` adds brand-tinted fill
|
|
297
|
+
- `clear` - Transparent background button; `isSelected` adds brand-tinted fill
|
|
298
298
|
- `primary` - Primary brand color button
|
|
299
|
-
- `secondary` - Secondary color button
|
|
300
|
-
- `neutral` - Neutral color button
|
|
301
299
|
|
|
302
300
|
### Sizes
|
|
303
301
|
|
|
@@ -513,7 +513,7 @@ const [selectedKey, setSelectedKey] = useState('apple');
|
|
|
513
513
|
>
|
|
514
514
|
<Space gap="1x" flow="column">
|
|
515
515
|
<Text weight="600">Basic Plan</Text>
|
|
516
|
-
<Badge type="
|
|
516
|
+
<Badge type="disabled">Free</Badge>
|
|
517
517
|
</Space>
|
|
518
518
|
</ListBox.Item>
|
|
519
519
|
<ListBox.Item
|
|
@@ -26,7 +26,7 @@ A versatile selection component that combines a trigger button with a dropdown l
|
|
|
26
26
|
- **`defaultSelectedKeys`** `string[] | 'all'` — The default selected keys in uncontrolled multiple mode
|
|
27
27
|
- **`items`** `Iterable<T>` — Array of items for dynamic content with render function pattern
|
|
28
28
|
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Size of the picker component
|
|
29
|
-
- **`type`** `'outline' | '
|
|
29
|
+
- **`type`** `'outline' | 'outline-2' | 'clear' | 'primary'` (default: `outline`) — Trigger button styling type
|
|
30
30
|
- **`theme`** `'default' | 'danger'` (default: `default`) — Trigger button color theme
|
|
31
31
|
- **`icon`** `ReactNode` — Icon displayed in the trigger button
|
|
32
32
|
- **`rightIcon`** `ReactNode` — Icon displayed on the right side of the trigger button
|
|
@@ -289,11 +289,9 @@ For large datasets or dynamic content, use the `items` prop with a render functi
|
|
|
289
289
|
|
|
290
290
|
The trigger button supports various visual styles via the `type` prop:
|
|
291
291
|
|
|
292
|
-
- **`outline`** (default) — Outlined button with border. Use case: Standard form inputs
|
|
293
|
-
- **`clear`** — Transparent background. Use case: Toolbar actions, compact interfaces
|
|
292
|
+
- **`outline`** (default) — Outlined button with border. Use case: Standard form inputs. `isSelected` adds brand-tinted fill.
|
|
293
|
+
- **`clear`** — Transparent background. Use case: Toolbar actions, compact interfaces. `isSelected` adds brand-tinted fill.
|
|
294
294
|
- **`primary`** — Primary brand color. Use case: Emphasized selections
|
|
295
|
-
- **`secondary`** — Secondary color variant. Use case: Alternative emphasis
|
|
296
|
-
- **`neutral`** — Neutral color scheme. Use case: Subtle selections
|
|
297
295
|
|
|
298
296
|
### Trigger Button Themes
|
|
299
297
|
|
|
@@ -22,7 +22,7 @@ A radio group allows users to select exactly one option from a set of mutually e
|
|
|
22
22
|
- **`type`** `'radio' | 'button' | 'tabs'` (default: `radio`) — Visual type for all radios in the group (button/tabs default to horizontal)
|
|
23
23
|
- **`orientation`** `undefined | 'vertical' | 'horizontal'` (default: `auto`) — Orientation of the radio group (auto-set based on type)
|
|
24
24
|
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'` (default: `xsmall`) — Size for all radio buttons in the group
|
|
25
|
-
- **`buttonType`** `'outline' | '
|
|
25
|
+
- **`buttonType`** `'outline' | 'outline-2' | 'clear' | 'primary'` — Button type for button-style radios (ignored in tabs mode). When set to "primary", selected buttons use primary style and non-selected use outline with brand tint. `outline-2` is identical to `outline` but uses `#surface-3` as its base fill, so it stands out when the radio group sits on a `#surface-2` container
|
|
26
26
|
- **`onChange`** `function` — Callback fired when the selected value changes
|
|
27
27
|
- **`onBlur`** `function` — Callback fired when the radio group loses focus
|
|
28
28
|
- **`onFocus`** `function` — Callback fired when the radio group receives focus
|
|
@@ -75,7 +75,7 @@ The `mods` property accepts the following modifiers you can override:
|
|
|
75
75
|
|
|
76
76
|
- `radio` - Traditional radio button appearance (default)
|
|
77
77
|
- `button` - Button-style radio options with spacing
|
|
78
|
-
- `tabs` - Connected tab-style buttons (compact,
|
|
78
|
+
- `tabs` - Connected tab-style buttons (compact, clear styling)
|
|
79
79
|
|
|
80
80
|
**Default Orientation:**
|
|
81
81
|
- `radio` type: vertical
|
|
@@ -111,14 +111,12 @@ This ensures tab groups remain compact and cohesive.
|
|
|
111
111
|
### Button Type
|
|
112
112
|
|
|
113
113
|
When using `type="button"`, you can customize the button appearance:
|
|
114
|
-
- `outline` - Outlined buttons (default)
|
|
115
|
-
- `
|
|
116
|
-
- `primary` - Primary action buttons with smart styling: selected buttons use primary style, non-selected buttons
|
|
117
|
-
- `clear` - Minimal buttons without background
|
|
114
|
+
- `outline` - Outlined buttons (default); `isSelected` state adds brand-tinted fill
|
|
115
|
+
- `clear` - Minimal buttons without background; `isSelected` state adds brand-tinted fill
|
|
116
|
+
- `primary` - Primary action buttons with smart styling: selected buttons use primary style, non-selected buttons use outline with brand tint
|
|
118
117
|
|
|
119
118
|
**Note:**
|
|
120
|
-
- The `buttonType` prop is ignored when `type="tabs"`. Tabs always use
|
|
121
|
-
- The `secondary` type cannot be used directly. Use `primary` instead, which automatically applies secondary styling to non-selected buttons.
|
|
119
|
+
- The `buttonType` prop is ignored when `type="tabs"`. Tabs always use `clear` styling for visual consistency.
|
|
122
120
|
|
|
123
121
|
## Examples
|
|
124
122
|
|
|
@@ -165,7 +163,7 @@ When using `type="button"`, you can customize the button appearance:
|
|
|
165
163
|
### Custom Button Type
|
|
166
164
|
|
|
167
165
|
```jsx
|
|
168
|
-
{/* Primary buttonType: selected uses primary, non-selected uses
|
|
166
|
+
{/* Primary buttonType: selected uses primary, non-selected uses outline with brand tint */}
|
|
169
167
|
<Radio.Group label="Action" type="button" buttonType="primary">
|
|
170
168
|
<Radio value="save">Save</Radio>
|
|
171
169
|
<Radio value="cancel">Cancel</Radio>
|
|
@@ -218,10 +218,8 @@ Groups related options together with an optional heading.
|
|
|
218
218
|
### Types
|
|
219
219
|
|
|
220
220
|
- `primary` - Primary emphasis styling
|
|
221
|
-
- `
|
|
222
|
-
- `
|
|
223
|
-
- `neutral` - Neutral appearance
|
|
224
|
-
- `clear` - Minimal appearance
|
|
221
|
+
- `outline` - Outlined appearance; `isSelected` adds brand-tinted fill
|
|
222
|
+
- `clear` - Minimal appearance; `isSelected` adds brand-tinted fill
|
|
225
223
|
- `link` - Link-like appearance
|
|
226
224
|
|
|
227
225
|
### Sizes
|