@cube-dev/ui-kit 0.0.0-canary-d688797 → 0.0.0-canary-bdfccbd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/hooks/use-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.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +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 +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/Item/Item.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/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/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/ListBox.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/Picker/Picker.js +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +1 -1
- package/dist/components/fields/Select/Select.d.ts +8 -2
- 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/EditableTitle.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/FileTabs/FileTabs.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/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 +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/OpenTransition.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.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/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/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.js +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/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/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/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.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/useQaProps.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.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/BaseProperties.md +78 -0
- package/docs/ComplexLayout.md +31 -41
- package/docs/RenderCache.md +5 -0
- package/docs/Result.md +8 -1
- package/docs/components/Block.md +33 -0
- package/docs/components/CollectionItem.md +14 -20
- package/docs/components/GridProvider.md +38 -0
- package/docs/components/Root.md +50 -0
- package/docs/components/actions/Action.md +47 -0
- package/docs/components/actions/Banner.md +11 -5
- package/docs/components/actions/Button.md +45 -19
- package/docs/components/actions/ButtonGroup.md +46 -0
- package/docs/components/actions/ButtonSplit.md +11 -1
- package/docs/components/actions/CommandMenu.md +17 -25
- package/docs/components/actions/ItemAction.md +60 -0
- package/docs/components/actions/ItemButton.md +25 -13
- package/docs/components/actions/Link.md +1 -1
- package/docs/components/actions/Menu.md +49 -73
- package/docs/components/actions/MenuTrigger.md +47 -0
- package/docs/components/actions/SubMenuTrigger.md +38 -0
- package/docs/components/actions/use-anchored-menu.md +6 -8
- package/docs/components/actions/use-context-menu.md +6 -8
- package/docs/components/content/ActiveZone.md +37 -0
- package/docs/components/content/Alert.md +40 -0
- package/docs/components/content/Avatar.md +37 -0
- package/docs/components/content/Badge.md +7 -0
- package/docs/components/content/Card.md +40 -0
- package/docs/components/content/Content.md +44 -0
- package/docs/components/content/CopyPasteBlock.md +36 -0
- package/docs/components/content/CopySnippet.md +43 -0
- package/docs/components/content/Disclosure.md +14 -10
- package/docs/components/content/Divider.md +39 -0
- package/docs/components/content/Footer.md +35 -0
- package/docs/components/content/Header.md +35 -0
- package/docs/components/content/HotKeys.md +1 -1
- package/docs/components/content/Item.md +46 -35
- package/docs/components/content/ItemBadge.md +31 -0
- package/docs/components/content/ItemCard.md +7 -1
- package/docs/components/content/Layout.md +91 -114
- package/docs/components/content/Paragraph.md +32 -0
- package/docs/components/content/Placeholder.md +37 -0
- package/docs/components/content/PrismCode.md +36 -0
- package/docs/components/content/PrismDiffCode.md +29 -0
- package/docs/components/content/Result.md +46 -0
- package/docs/components/content/Skeleton.md +35 -0
- package/docs/components/content/Tag.md +9 -0
- package/docs/components/content/Text.md +54 -0
- package/docs/components/content/TextItem.md +7 -1
- package/docs/components/content/Title.md +45 -0
- package/docs/components/fields/Checkbox.md +10 -12
- package/docs/components/fields/ComboBox.md +48 -11
- package/docs/components/fields/DatePicker.md +8 -10
- package/docs/components/fields/FileInput.md +7 -9
- package/docs/components/fields/FilterListBox.md +48 -23
- package/docs/components/fields/FilterPicker.md +64 -22
- package/docs/components/fields/HueSlider.md +3 -5
- package/docs/components/fields/ListBox.md +52 -29
- package/docs/components/fields/NumberInput.md +8 -10
- package/docs/components/fields/PasswordInput.md +7 -9
- package/docs/components/fields/Picker.md +93 -70
- package/docs/components/fields/RadioGroup.md +5 -7
- package/docs/components/fields/SearchInput.md +7 -9
- package/docs/components/fields/Select.md +26 -31
- package/docs/components/fields/Switch.md +9 -11
- package/docs/components/fields/TextInput.md +18 -14
- package/docs/components/form/Field.md +21 -29
- package/docs/components/form/Form.md +304 -115
- package/docs/components/form/FormInstance.md +25 -37
- package/docs/components/helpers/DisplayTransition.md +15 -6
- package/docs/components/helpers/IconSwitch.md +5 -1
- package/docs/components/layout/Flex.md +51 -0
- package/docs/components/layout/Flow.md +32 -0
- package/docs/components/layout/Grid.md +46 -0
- package/docs/components/layout/Panel.md +65 -0
- package/docs/components/layout/Prefix.md +37 -0
- package/docs/components/layout/ResizablePanel.md +69 -0
- package/docs/components/layout/Space.md +44 -0
- package/docs/components/layout/Suffix.md +39 -0
- package/docs/components/navigation/Tabs.md +71 -49
- package/docs/components/organisms/FileTabs.md +39 -0
- package/docs/components/organisms/StatsCard.md +40 -0
- package/docs/components/other/CloudLogo.md +33 -0
- package/docs/components/overlays/AlertDialog.md +51 -0
- package/docs/components/overlays/Dialog.md +3 -5
- package/docs/components/overlays/DialogContainer.md +1 -1
- package/docs/components/overlays/DialogForm.md +15 -10
- package/docs/components/overlays/DialogTrigger.md +1 -1
- package/docs/components/overlays/Notifications.md +9 -13
- package/docs/components/overlays/Toast.md +5 -1
- package/docs/components/overlays/Tooltip.md +37 -8
- package/docs/components/overlays/TooltipProvider.md +42 -0
- package/docs/components/overlays/TooltipTrigger.md +42 -0
- package/docs/components/overlays/UseDialogContainer.md +8 -14
- package/docs/components/portal/Portal.md +29 -0
- package/docs/components/status/LoadingAnimation.md +27 -0
- package/docs/components/status/Spin.md +35 -0
- package/package.json +1 -1
|
@@ -16,9 +16,17 @@ An accessible collapsible container that reveals or hides additional content. Bu
|
|
|
16
16
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
|
+
- **`isExpanded`** `boolean` — Controls expanded state in controlled mode
|
|
20
|
+
- **`defaultExpanded`** `boolean` (default: `false`) — Initial expanded state in uncontrolled mode
|
|
21
|
+
- **`onExpandedChange`** `(isExpanded: boolean) => void` — Callback fired when expanded state changes
|
|
22
|
+
- **`isDisabled`** `boolean` (default: `false`) — Disables trigger interactions and force-closes the content
|
|
23
|
+
- **`shape`** `'default' | 'card' | 'sharp'` (default: `default`) — Visual shape variant: default (no styling), card (border/radius), sharp (radius 0)
|
|
24
|
+
- **`transitionDuration`** `number` — Duration for DisplayTransition animation in milliseconds. When undefined, uses default CSS transition timing
|
|
25
|
+
- **`children`** `ReactNode | ((state: DisclosureStateContext) => ReactNode)` — Disclosure.Trigger and Disclosure.Content components
|
|
26
|
+
|
|
19
27
|
### Base Properties
|
|
20
28
|
|
|
21
|
-
Supports [Base properties](
|
|
29
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
22
30
|
|
|
23
31
|
## Compound Components
|
|
24
32
|
|
|
@@ -64,18 +72,14 @@ Direct style application without using the `styles` prop: `width`, `height`, `pa
|
|
|
64
72
|
|
|
65
73
|
The `mods` property accepts the following modifiers:
|
|
66
74
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
| `disabled` | `boolean` | True when interactions are disabled |
|
|
71
|
-
| `shape` | `string` | The current shape variant (`default`, `card`, `sharp`) |
|
|
75
|
+
- **`expanded`** `boolean` — True when the disclosure content is visible
|
|
76
|
+
- **`disabled`** `boolean` — True when interactions are disabled
|
|
77
|
+
- **`shape`** `string` — The current shape variant (`default`, `card`, `sharp`)
|
|
72
78
|
|
|
73
79
|
For `Disclosure.Content`, additional modifiers are available:
|
|
74
80
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
| `shown` | `boolean` | True when content is visible (controls height animation) |
|
|
78
|
-
| `phase` | `string` | Transition phase (`enter`, `entered`, `exit`, `unmounted`) |
|
|
81
|
+
- **`shown`** `boolean` — True when content is visible (controls height animation)
|
|
82
|
+
- **`phase`** `string` — Transition phase (`enter`, `entered`, `exit`, `unmounted`)
|
|
79
83
|
|
|
80
84
|
## Variants
|
|
81
85
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Divider
|
|
2
|
+
|
|
3
|
+
A horizontal separator. Can be a simple line or include centered text with lines on both sides.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Separating sections of content
|
|
8
|
+
- Dividing list items or form sections
|
|
9
|
+
- "Or" or other labels between content blocks
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`children`** `ReactNode` — Optional text to display centered between two lines
|
|
14
|
+
|
|
15
|
+
### Style Defaults
|
|
16
|
+
|
|
17
|
+
- `display` — `block` (switches to `grid` when text is present)
|
|
18
|
+
- `height` — `1bw` (switches to `auto` when text is present)
|
|
19
|
+
- `fill` — `#border` (switches to `none` when text is present)
|
|
20
|
+
- `preset` — `c1`
|
|
21
|
+
- `gridArea` — `divider`
|
|
22
|
+
|
|
23
|
+
### Base Properties
|
|
24
|
+
|
|
25
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
```jsx
|
|
30
|
+
<Divider />
|
|
31
|
+
|
|
32
|
+
<Divider>or</Divider>
|
|
33
|
+
|
|
34
|
+
<Flow gap="1x">
|
|
35
|
+
<Paragraph>Section 1</Paragraph>
|
|
36
|
+
<Divider />
|
|
37
|
+
<Paragraph>Section 2</Paragraph>
|
|
38
|
+
</Flow>
|
|
39
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Footer
|
|
2
|
+
|
|
3
|
+
A footer section for page layouts. Designed to work with `Layout`.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Page footers with links or copyright
|
|
8
|
+
- Bottom bar of application layouts
|
|
9
|
+
- Action bars at the bottom of modals or panels
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
No component-specific props. Use style props directly.
|
|
14
|
+
|
|
15
|
+
### Style Defaults
|
|
16
|
+
|
|
17
|
+
- `display` — `block`
|
|
18
|
+
- `flow` — `column`
|
|
19
|
+
- `gridArea` — `footer`
|
|
20
|
+
|
|
21
|
+
### Base Properties
|
|
22
|
+
|
|
23
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
<Layout>
|
|
29
|
+
<Layout.Header>...</Layout.Header>
|
|
30
|
+
<Layout.Content>...</Layout.Content>
|
|
31
|
+
<Layout.Footer>
|
|
32
|
+
<Text.Minor>© 2024 Company</Text.Minor>
|
|
33
|
+
</Layout.Footer>
|
|
34
|
+
</Layout>
|
|
35
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Header
|
|
2
|
+
|
|
3
|
+
A header section for page layouts. Renders as `<header>` and is designed to work with `Layout`.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Page headers with title and actions
|
|
8
|
+
- Section headers in layouts
|
|
9
|
+
- Top bar of application layouts
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
No component-specific props. Use style props directly.
|
|
14
|
+
|
|
15
|
+
### Style Defaults
|
|
16
|
+
|
|
17
|
+
- `display` — `block`
|
|
18
|
+
- `flow` — `column`
|
|
19
|
+
- `gridArea` — `header`
|
|
20
|
+
|
|
21
|
+
### Base Properties
|
|
22
|
+
|
|
23
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
<Layout>
|
|
29
|
+
<Layout.Header>
|
|
30
|
+
<Title level={3}>Dashboard</Title>
|
|
31
|
+
<Button>Settings</Button>
|
|
32
|
+
</Layout.Header>
|
|
33
|
+
<Layout.Content>...</Layout.Content>
|
|
34
|
+
</Layout>
|
|
35
|
+
```
|
|
@@ -15,20 +15,33 @@ A foundational component that provides a standardized layout and styling for ite
|
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
18
|
-
- **`children`** `
|
|
18
|
+
- **`children`** `ReactNode` — The content inside the Item
|
|
19
19
|
- **`icon`** — Icon rendered before the content. Can be: ReactNode, `"checkbox"`, `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
|
-
- **`prefix`** — Element rendered before the content (after icon)
|
|
22
|
-
- **`suffix`** — Element rendered after the content (before rightIcon)
|
|
23
|
-
- **`description`** `
|
|
24
|
-
- **`descriptionPlacement`** `'inline' | 'block'` (default: `inline`) — How the description is positioned relative to the main content
|
|
25
|
-
- **`
|
|
26
|
-
- **`
|
|
21
|
+
- **`prefix`** `ReactNode` — Element rendered before the content (after icon)
|
|
22
|
+
- **`suffix`** `ReactNode` — Element rendered after the content (before rightIcon)
|
|
23
|
+
- **`description`** `ReactNode` — Description text displayed with the item
|
|
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' | 'secondary' | 'outline' | 'neutral' | 'clear' | 'link' | 'card'` (default: `item`) — Visual style variant
|
|
26
|
+
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special'` (default: `default`) — Semantic colour palette theme
|
|
27
|
+
- **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'inline' | number` (default: `medium`) — Item size. Accepts custom number or string values
|
|
28
|
+
- **`shape`** `'card' | 'button' | 'sharp' | 'pill'` (default: `button`) — Shape of the item border radius. Defaults to `'card'` for `type="card"`
|
|
29
|
+
- **`isSelected`** `boolean` (default: `false`) — Marks the item as selected
|
|
30
|
+
- **`isLoading`** `boolean` (default: `false`) — Show loading indicator and disable the item
|
|
31
|
+
- **`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`
|
|
32
|
+
- **`actions`** `ReactNode | true` — Inline action buttons displayed on the right side. Use `Item.Action` for consistent styling
|
|
27
33
|
- **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown only on hover, focus, or focus-within
|
|
28
|
-
- **`preserveActionsSpace`** `boolean` (default: `false`) — When true, preserves the actions width when hidden (only changes opacity). Only applies when autoHideActions is true
|
|
29
|
-
- **`
|
|
34
|
+
- **`preserveActionsSpace`** `boolean` (default: `false`) — When true, preserves the actions width when hidden (only changes opacity). Only applies when `autoHideActions` is true
|
|
35
|
+
- **`disableActionsFocus`** `boolean` (default: `true`) — When true, action buttons are not focusable via keyboard
|
|
36
|
+
- **`hotkeys`** `string` — Keyboard shortcut displayed as a badge (e.g. `"cmd+s"`)
|
|
37
|
+
- **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip content. `true` enables auto tooltip on overflow, a string shows fixed tooltip text, an object supports advanced configuration `{ title, auto, placement, ...tooltipProps }`
|
|
38
|
+
- **`highlight`** `string` — Text to highlight within the item label
|
|
39
|
+
- **`highlightCaseSensitive`** `boolean` (default: `false`) — Whether highlight matching is case-sensitive
|
|
40
|
+
- **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the Label element when `type="header"` or `type="card"`. Changes the HTML tag to the corresponding heading (h1-h6)
|
|
30
41
|
|
|
31
|
-
|
|
42
|
+
### Base Properties
|
|
43
|
+
|
|
44
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
32
45
|
|
|
33
46
|
## Styling
|
|
34
47
|
|
|
@@ -53,29 +66,27 @@ Direct style application without using the `styles` prop: `width`, `height`, `pa
|
|
|
53
66
|
|
|
54
67
|
The `mods` property accepts the following modifiers:
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
| theme | `string` | Applied based on theme prop value (default, danger, success, special, warning, note) |
|
|
78
|
-
| shape | `string` | Applied based on shape prop value (card, button, sharp, pill) |
|
|
69
|
+
- **`has-icon`** `boolean` — Applied when icon prop is provided
|
|
70
|
+
- **`has-right-icon`** `boolean` — Applied when rightIcon prop is provided
|
|
71
|
+
- **`has-prefix`** `boolean` — Applied when prefix prop is provided
|
|
72
|
+
- **`has-suffix`** `boolean` — Applied when suffix prop is provided
|
|
73
|
+
- **`has-label`** `boolean` — Applied when children or labelProps are provided
|
|
74
|
+
- **`has-start-content`** `boolean` — Applied when icon or prefix is present
|
|
75
|
+
- **`has-end-content`** `boolean` — Applied when rightIcon, suffix, or actions are present
|
|
76
|
+
- **`has-description`** `boolean` — Applied when description is provided
|
|
77
|
+
- **`description`** `'inline' | 'block' | 'none'` — Applied based on the resolved description placement
|
|
78
|
+
- **`has-actions`** `boolean` — Applied when actions prop is provided
|
|
79
|
+
- **`has-actions-content`** `boolean` — Applied when actions have actual content (not just placeholder)
|
|
80
|
+
- **`auto-hide-actions`** `boolean` — Applied when autoHideActions is true
|
|
81
|
+
- **`preserve-actions-space`** `boolean` — Applied when preserveActionsSpace is true
|
|
82
|
+
- **`checkbox`** `boolean` — Applied when using checkbox icon (icon="checkbox")
|
|
83
|
+
- **`selected`** `boolean` — Applied when isSelected is true
|
|
84
|
+
- **`disabled`** `boolean` — Applied when isDisabled is true or when loading
|
|
85
|
+
- **`loading`** `boolean` — Applied when isLoading is true
|
|
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, secondary, outline, neutral, clear, link, card)
|
|
88
|
+
- **`theme`** `string` — Applied based on theme prop value (default, danger, success, special, warning, note)
|
|
89
|
+
- **`shape`** `string` — Applied based on shape prop value (card, button, sharp, pill)
|
|
79
90
|
|
|
80
91
|
## Variants
|
|
81
92
|
|
|
@@ -474,8 +485,8 @@ By default, Item shows an auto tooltip when content overflows.
|
|
|
474
485
|
## Related Components
|
|
475
486
|
|
|
476
487
|
- [ItemButton](../actions/ItemButton.md) - Interactive button built on Item
|
|
477
|
-
- ItemAction - Action button component for inline actions (also available as `Item.Action`, `ItemButton.Action`, `Menu.Item.Action`, etc.)
|
|
478
|
-
- ItemBadge - Badge component for displaying labels or counts (also available as `Item.Badge`)
|
|
488
|
+
- [ItemAction](../actions/ItemAction.md) - Action button component for inline actions (also available as `Item.Action`, `ItemButton.Action`, `Menu.Item.Action`, etc.)
|
|
489
|
+
- [ItemBadge](./ItemBadge.md) - Badge component for displaying labels or counts (also available as `Item.Badge`)
|
|
479
490
|
- [Select](../fields/Select.md) - Dropdown selection component using Item
|
|
480
491
|
- [ComboBox](../fields/ComboBox.md) - Searchable dropdown component using Item
|
|
481
492
|
- [ListBox](../fields/ListBox.md) - List selection component using Item
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# ItemBadge
|
|
2
|
+
|
|
3
|
+
A non-interactive badge indicator for list items. Similar to `ItemAction` but without press behavior (cursor: default).
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Status indicators in list items
|
|
8
|
+
- Visual badges showing state (selected, loading)
|
|
9
|
+
- Non-clickable indicators alongside `ItemAction` buttons
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`icon`** `ReactNode | 'checkbox'` — Icon or checkbox display
|
|
14
|
+
- **`type`** `'primary' | 'secondary' | 'neutral' | 'clear'` (default: `'neutral'`) — Visual type. Inherits from parent context.
|
|
15
|
+
- **`theme`** `'default' | 'danger' | 'success' | 'special'` (default: `'default'`) — Color theme. Inherits from parent context.
|
|
16
|
+
- **`isLoading`** `boolean` (default: `false`) — Show loading spinner
|
|
17
|
+
- **`isSelected`** `boolean` (default: `false`) — Selected state (for checkbox)
|
|
18
|
+
|
|
19
|
+
### Base Properties
|
|
20
|
+
|
|
21
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
```jsx
|
|
26
|
+
<ItemBadge icon="checkbox" isSelected />
|
|
27
|
+
|
|
28
|
+
<ItemBadge icon={<IconCheck />} theme="success" />
|
|
29
|
+
|
|
30
|
+
<ItemBadge isLoading />
|
|
31
|
+
```
|
|
@@ -14,9 +14,15 @@ A convenience wrapper around `Item type="card"` that provides a more natural car
|
|
|
14
14
|
|
|
15
15
|
### Properties
|
|
16
16
|
|
|
17
|
+
- **`title`** `string` — Card heading
|
|
18
|
+
- **`children`** `ReactNode` — Card body content
|
|
19
|
+
- **`icon`** `ReactNode` — Icon rendered before the content
|
|
20
|
+
- **`theme`** `string` (default: `default`) — Card theme
|
|
21
|
+
- **`level`** `number` (default: `3`) — Heading level for the title (h1-h6)
|
|
22
|
+
|
|
17
23
|
### Base Properties
|
|
18
24
|
|
|
19
|
-
Supports [Base properties](../../
|
|
25
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
20
26
|
|
|
21
27
|
### Styling Properties
|
|
22
28
|
|