@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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Title
|
|
2
|
+
|
|
3
|
+
A heading component for section titles. Renders as `h1`–`h6` based on the `level` prop.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Page and section headings
|
|
8
|
+
- Hierarchical content structure
|
|
9
|
+
- Accessible heading levels for document outline
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `1`) — Heading level (maps to `h1`–`h6` tag and corresponding preset `h1`–`h6`)
|
|
14
|
+
- **`ellipsis`** `boolean` — Truncate overflow with ellipsis
|
|
15
|
+
- **`nowrap`** `boolean` — Prevent text wrapping
|
|
16
|
+
|
|
17
|
+
### Style Defaults
|
|
18
|
+
|
|
19
|
+
- `display` — `block`
|
|
20
|
+
- `color` — `#dark`
|
|
21
|
+
- `margin` — `0`
|
|
22
|
+
- `gridArea` — `title`
|
|
23
|
+
|
|
24
|
+
### Base Properties
|
|
25
|
+
|
|
26
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
27
|
+
|
|
28
|
+
### Variants
|
|
29
|
+
|
|
30
|
+
- `Title.Danger` — Error or destructive heading
|
|
31
|
+
- `Title.Success` — Success or positive heading
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
```jsx
|
|
36
|
+
<Title level={1}>Page Title</Title>
|
|
37
|
+
|
|
38
|
+
<Title level={2}>Section Heading</Title>
|
|
39
|
+
|
|
40
|
+
<Title level={3} ellipsis>
|
|
41
|
+
Long heading that truncates
|
|
42
|
+
</Title>
|
|
43
|
+
|
|
44
|
+
<Title.Danger level={4}>Error State</Title.Danger>
|
|
45
|
+
```
|
|
@@ -33,7 +33,7 @@ Checkboxes allow users to select multiple items from a list of individual items,
|
|
|
33
33
|
|
|
34
34
|
### Base Properties
|
|
35
35
|
|
|
36
|
-
Supports [Base properties](../../
|
|
36
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
37
37
|
|
|
38
38
|
### Styling Properties
|
|
39
39
|
|
|
@@ -55,17 +55,15 @@ The Checkbox component supports all standard style properties:
|
|
|
55
55
|
|
|
56
56
|
The `mods` property accepts the following modifiers you can override:
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
| side-label | `boolean` | Whether the label is positioned to the side |
|
|
68
|
-
| inside-form | `boolean` | Whether the checkbox is inside a form field |
|
|
58
|
+
- **`checked`** `boolean` — Whether the checkbox is checked
|
|
59
|
+
- **`indeterminate`** `boolean` — Whether the checkbox is in an indeterminate state
|
|
60
|
+
- **`invalid`** `boolean` — Whether the checkbox has validation errors
|
|
61
|
+
- **`valid`** `boolean` — Whether the checkbox is valid
|
|
62
|
+
- **`disabled`** `boolean` — Whether the checkbox is disabled
|
|
63
|
+
- **`hovered`** `boolean` — Whether the checkbox is being hovered
|
|
64
|
+
- **`focused`** `boolean` — Whether the checkbox has focus
|
|
65
|
+
- **`side-label`** `boolean` — Whether the label is positioned to the side
|
|
66
|
+
- **`inside-form`** `boolean` — Whether the checkbox is inside a form field
|
|
69
67
|
|
|
70
68
|
## Examples
|
|
71
69
|
|
|
@@ -17,6 +17,45 @@ A combobox component that combines a text input with a dropdown list, allowing u
|
|
|
17
17
|
|
|
18
18
|
### Properties
|
|
19
19
|
|
|
20
|
+
- **`children`** `ReactNode` — ComboBox.Item elements that define the available options
|
|
21
|
+
- **`placeholder`** `string` — Placeholder text when input is empty
|
|
22
|
+
- **`icon`** `ReactNode` — Icon element rendered before the input
|
|
23
|
+
- **`inputValue`** `string` — The current text value in controlled mode
|
|
24
|
+
- **`defaultInputValue`** `string` — The default text value in uncontrolled mode
|
|
25
|
+
- **`label`** `string` — Label text for the combo box
|
|
26
|
+
- **`description`** `string` — Description text displayed below the input
|
|
27
|
+
- **`message`** `string` — Message text displayed below the input (validation message)
|
|
28
|
+
- **`selectedKey`** `string` — The currently selected key (controlled)
|
|
29
|
+
- **`defaultSelectedKey`** `string` — The key of the initially selected item (uncontrolled)
|
|
30
|
+
- **`allowsCustomValue`** `boolean` (default: `false`) — Whether the combo box allows custom values to be entered
|
|
31
|
+
- **`shouldCommitOnBlur`** `boolean` (default: `true`) — Whether to commit custom value on blur in allowsCustomValue mode
|
|
32
|
+
- **`clearOnBlur`** `boolean` (default: `false`) — Whether to clear selection and input on blur (only applies to non-custom-value mode)
|
|
33
|
+
- **`isClearable`** `boolean` (default: `false`) — Whether the combo box is clearable using ESC keyboard button or clear button inside the input
|
|
34
|
+
- **`sortSelectedToTop`** `boolean` (default: `true when items provided, false otherwise`) — Whether to sort selected item to the top when popover opens (only works with items prop)
|
|
35
|
+
- **`popoverTrigger`** `'focus' | 'input' | 'manual'` (default: `input`) — How the popover is triggered
|
|
36
|
+
- **`isLoading`** `boolean` (default: `false`) — Whether the ComboBox is in a loading state
|
|
37
|
+
- **`filter`** `((textValue: string, inputValue: string) => boolean) | false` — Custom filter function or false to disable filtering. If not provided, uses default contains filter
|
|
38
|
+
- **`hideTrigger`** `boolean` (default: `false`) — Whether to hide the trigger button
|
|
39
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — ComboBox size
|
|
40
|
+
- **`isDisabled`** `boolean` (default: `false`) — Whether the input is disabled
|
|
41
|
+
- **`isReadOnly`** `boolean` (default: `false`) — Whether the input can be selected but not changed
|
|
42
|
+
- **`isRequired`** `boolean` (default: `false`) — Whether user input is required before form submission
|
|
43
|
+
- **`validationState`** `'valid' | 'invalid'` — Whether the input should display valid or invalid visual styling
|
|
44
|
+
- **`autoFocus`** `boolean` (default: `false`) — Whether the element should receive focus on render
|
|
45
|
+
- **`necessityIndicator`** `'label' | 'icon'` — How the required state should be indicated
|
|
46
|
+
- **`onSelectionChange`** `(key: Key | null) => void` — Callback fired when the selected option changes
|
|
47
|
+
- **`onInputChange`** `(value: string) => void` — Callback fired when the input text changes
|
|
48
|
+
- **`onOpenChange`** `(isOpen: boolean) => void` — Callback fired when the popover opens or closes
|
|
49
|
+
- **`prefix`** `ReactNode` — Content rendered before the input
|
|
50
|
+
- **`suffix`** `ReactNode` — Content rendered after the input
|
|
51
|
+
- **`suffixPosition`** `'before' | 'after'` (default: `before`) — Position of suffix relative to validation/loading icons
|
|
52
|
+
- **`onClear`** `() => void` — Callback fired when the clear action is triggered
|
|
53
|
+
- **`direction`** `'top' | 'bottom'` (default: `bottom`) — Preferred direction for the dropdown
|
|
54
|
+
- **`shouldFlip`** `boolean` (default: `true`) — Whether the dropdown should flip to fit in viewport
|
|
55
|
+
- **`overlayOffset`** `number` (default: `8`) — Distance between input and dropdown in pixels
|
|
56
|
+
- **`onFocus`** `() => void` — Callback fired when focus enters the ComboBox
|
|
57
|
+
- **`onBlur`** `() => void` — Callback fired when focus leaves the ComboBox
|
|
58
|
+
|
|
20
59
|
#### Notable Properties
|
|
21
60
|
|
|
22
61
|
**defaultInputValue** - Sets the initial input value in uncontrolled mode. This is useful when you want to display a specific text in the input field on mount without selecting any option. When both `defaultInputValue` and `defaultSelectedKey` are provided, `defaultInputValue` takes priority. The value can be changed by the user and is not enforced after initial render.
|
|
@@ -38,7 +77,7 @@ A combobox component that combines a text input with a dropdown list, allowing u
|
|
|
38
77
|
|
|
39
78
|
### Base Properties
|
|
40
79
|
|
|
41
|
-
Supports [Base properties](../../
|
|
80
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
42
81
|
|
|
43
82
|
### Styling Properties
|
|
44
83
|
|
|
@@ -93,16 +132,14 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
93
132
|
|
|
94
133
|
The `mods` property accepts the following modifiers you can override:
|
|
95
134
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| suffix | `boolean` | Applied when suffix content is present |
|
|
105
|
-
| clearable | `boolean` | Applied when the clear button is visible |
|
|
135
|
+
- **`invalid`** `boolean` — Applied when validation state is invalid
|
|
136
|
+
- **`valid`** `boolean` — Applied when validation state is valid
|
|
137
|
+
- **`disabled`** `boolean` — Applied when the combobox is disabled
|
|
138
|
+
- **`focused`** `boolean` — Applied when the input has focus
|
|
139
|
+
- **`loading`** `boolean` — Applied when the combobox is in loading state
|
|
140
|
+
- **`prefix`** `boolean` — Applied when prefix content is present
|
|
141
|
+
- **`suffix`** `boolean` — Applied when suffix content is present
|
|
142
|
+
- **`clearable`** `boolean` — Applied when the clear button is visible
|
|
106
143
|
|
|
107
144
|
## Variants
|
|
108
145
|
|
|
@@ -41,7 +41,7 @@ A date picker combines a text input with a calendar interface, allowing users to
|
|
|
41
41
|
|
|
42
42
|
### Base Properties
|
|
43
43
|
|
|
44
|
-
Supports [Base properties](../../
|
|
44
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
45
45
|
|
|
46
46
|
### Styling Properties
|
|
47
47
|
|
|
@@ -78,15 +78,13 @@ The DatePicker component supports all standard style properties:
|
|
|
78
78
|
|
|
79
79
|
The `mods` property accepts the following modifiers you can override:
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
| hovered | `boolean` | Whether the date picker is being hovered |
|
|
89
|
-
| inside-form | `boolean` | Whether the date picker is inside a form field |
|
|
81
|
+
- **`opened`** `boolean` — Whether the calendar is open
|
|
82
|
+
- **`focused`** `boolean` — Whether the input has focus
|
|
83
|
+
- **`disabled`** `boolean` — Whether the date picker is disabled
|
|
84
|
+
- **`invalid`** `boolean` — Whether the date picker has validation errors
|
|
85
|
+
- **`valid`** `boolean` — Whether the date picker is valid
|
|
86
|
+
- **`hovered`** `boolean` — Whether the date picker is being hovered
|
|
87
|
+
- **`inside-form`** `boolean` — Whether the date picker is inside a form field
|
|
90
88
|
|
|
91
89
|
## Variants
|
|
92
90
|
|
|
@@ -33,7 +33,7 @@ A file input component that allows users to select and upload files through a cu
|
|
|
33
33
|
|
|
34
34
|
### Base Properties
|
|
35
35
|
|
|
36
|
-
Supports [Base properties](../../
|
|
36
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
37
37
|
|
|
38
38
|
### Styling Properties
|
|
39
39
|
|
|
@@ -57,14 +57,12 @@ The FileInput component supports all standard style properties:
|
|
|
57
57
|
|
|
58
58
|
The `mods` property accepts the following modifiers you can override:
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
| focused | `boolean` | Whether the file input has focus |
|
|
67
|
-
| inside-form | `boolean` | Whether the file input is inside a form field |
|
|
60
|
+
- **`drag-hover`** `boolean` — Whether files are being dragged over the component
|
|
61
|
+
- **`disabled`** `boolean` — Whether the file input is disabled
|
|
62
|
+
- **`invalid`** `boolean` — Whether the file input has validation errors
|
|
63
|
+
- **`valid`** `boolean` — Whether the file input is valid
|
|
64
|
+
- **`focused`** `boolean` — Whether the file input has focus
|
|
65
|
+
- **`inside-form`** `boolean` — Whether the file input is inside a form field
|
|
68
66
|
|
|
69
67
|
## Examples
|
|
70
68
|
|
|
@@ -18,9 +18,40 @@ A searchable list selection component that combines a ListBox with an integrated
|
|
|
18
18
|
|
|
19
19
|
### Properties
|
|
20
20
|
|
|
21
|
+
- **`selectedKey`** `string` — The selected key in controlled mode
|
|
22
|
+
- **`defaultSelectedKey`** `string` — The default selected key in uncontrolled mode
|
|
23
|
+
- **`selectedKeys`** `string[] | 'all'` — The selected keys in controlled multiple mode
|
|
24
|
+
- **`defaultSelectedKeys`** `string[] | 'all'` — The default selected keys in uncontrolled multiple mode
|
|
25
|
+
- **`selectionMode`** `'single' | 'multiple'` (default: `single`) — Selection mode
|
|
26
|
+
- **`disallowEmptySelection`** `boolean` (default: `false`) — Whether to disallow empty selection
|
|
27
|
+
- **`disabledKeys`** `Key[]` — Array of keys for disabled items
|
|
28
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — FilterListBox size
|
|
29
|
+
- **`searchPlaceholder`** `string` (default: `Search...`) — Placeholder text in the search input
|
|
30
|
+
- **`autoFocus`** `boolean` — Whether the search input should have autofocus
|
|
31
|
+
- **`filter`** `((textValue: string, inputValue: string) => boolean) | false` — Custom filter function or `false` to disable filtering
|
|
32
|
+
- **`emptyLabel`** `ReactNode` (default: `No items` / `No results found`) — Label displayed when no items match
|
|
33
|
+
- **`allowsCustomValue`** `boolean` (default: `false`) — Whether to allow custom values not in the options list
|
|
34
|
+
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection
|
|
35
|
+
- **`shouldFocusWrap`** `boolean` (default: `false`) — Whether keyboard navigation should wrap around
|
|
36
|
+
- **`isDisabled`** `boolean` (default: `false`) — Whether the FilterListBox is disabled
|
|
37
|
+
- **`isLoading`** `boolean` (default: `false`) — Whether the FilterListBox is in loading state
|
|
38
|
+
- **`isRequired`** `boolean` (default: `false`) — Whether selection is required
|
|
39
|
+
- **`validationState`** `'valid' | 'invalid'` — Validation state
|
|
40
|
+
- **`label`** `string` — Label text
|
|
41
|
+
- **`description`** `string` — Field description
|
|
42
|
+
- **`header`** `ReactNode` — Custom header content
|
|
43
|
+
- **`footer`** `ReactNode` — Custom footer content
|
|
44
|
+
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show "Select All" option in multiple mode
|
|
45
|
+
- **`selectAllLabel`** `string` (default: `All`) — Label for the "Select All" option
|
|
46
|
+
- **`searchValue`** `string` — Controlled search input value
|
|
47
|
+
- **`onSearchChange`** `(value: string) => void` — Callback when search input changes
|
|
48
|
+
- **`onSelectionChange`** `(keys: Key | Key[] | 'all' | null) => void` — Callback when selection changes
|
|
49
|
+
- **`onEscape`** `() => void` — Callback when Escape key is pressed
|
|
50
|
+
- **`onOptionClick`** `(key: Key) => void` — Callback when an option is clicked
|
|
51
|
+
|
|
21
52
|
### Base Properties
|
|
22
53
|
|
|
23
|
-
Supports [Base properties](../../
|
|
54
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
24
55
|
|
|
25
56
|
### Styling Properties
|
|
26
57
|
|
|
@@ -93,15 +124,13 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
93
124
|
|
|
94
125
|
The `mods` property accepts the following modifiers you can override:
|
|
95
126
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
| `searchable` | `boolean` | Always true for FilterListBox |
|
|
104
|
-
| `prefix` | `boolean` | Applied when loading icon is shown |
|
|
127
|
+
- `invalid` `boolean` — Applied when `validationState="invalid"`
|
|
128
|
+
- `valid` `boolean` — Applied when `validationState="valid"`
|
|
129
|
+
- `disabled` `boolean` — Applied when `isDisabled={true}`
|
|
130
|
+
- `focused` `boolean` — Applied when the FilterListBox has focus
|
|
131
|
+
- `loading` `boolean` — Applied when `isLoading={true}`
|
|
132
|
+
- `searchable` `boolean` — Always true for FilterListBox
|
|
133
|
+
- `prefix` `boolean` — Applied when loading icon is shown
|
|
105
134
|
|
|
106
135
|
## Sub-components
|
|
107
136
|
|
|
@@ -113,24 +142,20 @@ Individual items within the FilterListBox. Each item is rendered using [Item](..
|
|
|
113
142
|
|
|
114
143
|
For detailed information about all available item properties, see [Item documentation](../content/Item.md). Key properties include:
|
|
115
144
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
| styles | `Styles` | Custom styling for the item |
|
|
124
|
-
| qa | `string` | QA identifier for testing |
|
|
145
|
+
- **`key`** `string \| number` — Unique identifier for the item (required)
|
|
146
|
+
- **`children`** `ReactNode` — The main content/label for the option
|
|
147
|
+
- **`textValue`** `string` — Searchable text value (use for complex content)
|
|
148
|
+
- **`description`** `ReactNode` — Secondary text below the main content
|
|
149
|
+
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
150
|
+
- **`styles`** `Styles` — Custom styling for the item
|
|
151
|
+
- **`qa`** `string` — QA identifier for testing
|
|
125
152
|
|
|
126
153
|
### FilterListBox.Section
|
|
127
154
|
|
|
128
155
|
Groups related items together with an optional heading.
|
|
129
156
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
| title | `ReactNode` | - | Optional heading text for the section |
|
|
133
|
-
| children | `FilterListBox.Item[]` | - | Collection of FilterListBox.Item components |
|
|
157
|
+
- **`title`** `ReactNode` — Optional heading text for the section
|
|
158
|
+
- **`children`** `FilterListBox.Item[]` — Collection of FilterListBox.Item components
|
|
134
159
|
|
|
135
160
|
## Variants
|
|
136
161
|
|
|
@@ -17,9 +17,57 @@ A versatile selection component that combines a trigger button with a searchable
|
|
|
17
17
|
|
|
18
18
|
### Properties
|
|
19
19
|
|
|
20
|
+
- **`selectedKey`** `string` — The selected key in controlled mode
|
|
21
|
+
- **`defaultSelectedKey`** `string` — The default selected key in uncontrolled mode
|
|
22
|
+
- **`selectedKeys`** `string[] | 'all'` — The selected keys in controlled multiple mode. Use "all" to select all items or an array of keys.
|
|
23
|
+
- **`defaultSelectedKeys`** `string[] | 'all'` — The default selected keys in uncontrolled multiple mode. Use "all" to select all items or an array of keys.
|
|
24
|
+
- **`selectionMode`** `'single' | 'multiple'` (default: `single`) — Selection mode for the picker
|
|
25
|
+
- **`allowsCustomValue`** `boolean` (default: `false`) — Whether to allow entering custom values that are not present in the predefined options
|
|
26
|
+
- **`isClearable`** `boolean` (default: `false`) — Whether the filter picker is clearable using a clear button in the rightIcon slot
|
|
27
|
+
- **`disallowEmptySelection`** `boolean` (default: `false`) — Whether to disallow empty selection
|
|
28
|
+
- **`disabledKeys`** `Key[]` — Array of keys for disabled items
|
|
29
|
+
- **`items`** `Iterable<T>` — Array of items to render when using the render function pattern for large datasets with dynamic content
|
|
30
|
+
- **`placeholder`** `string` — Placeholder text when no selection is made
|
|
31
|
+
- **`icon`** `ReactNode` — Icon to show in the trigger button
|
|
32
|
+
- **`type`** `'outline' | 'clear' | 'primary' | 'secondary' | 'neutral'` (default: `outline`) — Button styling type
|
|
33
|
+
- **`theme`** `'default' | 'special'` (default: `default`) — Button theme
|
|
34
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Size of the picker component
|
|
35
|
+
- **`searchPlaceholder`** `string` — Placeholder text in the search input
|
|
36
|
+
- **`autoFocus`** `boolean` (default: `false`) — Whether the search input should have autofocus
|
|
37
|
+
- **`emptyLabel`** `string` — Custom label to display when no results are found after filtering
|
|
38
|
+
- **`filter`** `((textValue: string, inputValue: string) => boolean) | false` — Custom filter function for determining if an option should be included in search results
|
|
39
|
+
- **`header`** `ReactNode` — Custom header content
|
|
40
|
+
- **`footer`** `ReactNode` — Custom footer content
|
|
41
|
+
- **`renderSummary`** `((args: { selectedLabels, selectedKeys, selectionMode }) => ReactNode) | false` — Custom renderer for the summary shown inside the trigger when there is a selection
|
|
42
|
+
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection mode
|
|
43
|
+
- **`shouldFocusWrap`** `boolean` (default: `false`) — Whether keyboard navigation should wrap around
|
|
44
|
+
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show the "Select All" option in multiple selection mode
|
|
45
|
+
- **`selectAllLabel`** `string` (default: `All`) — Label for the "Select All" option
|
|
46
|
+
- **`isDisabled`** `boolean` (default: `false`) — Whether the picker is disabled
|
|
47
|
+
- **`isLoading`** `boolean` (default: `false`) — Whether the picker is in loading state
|
|
48
|
+
- **`isRequired`** `boolean` (default: `false`) — Whether the field is required
|
|
49
|
+
- **`validationState`** `'valid' | 'invalid'` — Validation state of the picker
|
|
50
|
+
- **`label`** `string` — Label text
|
|
51
|
+
- **`description`** `string` — Field description
|
|
52
|
+
- **`message`** `string` — Help or error message
|
|
53
|
+
- **`listBoxStyles`** `Styles` — Custom styles for the dropdown list container within the popover
|
|
54
|
+
- **`popoverStyles`** `Styles` — Custom styles for the popover dialog that contains the FilterListBox
|
|
55
|
+
- **`triggerStyles`** `Styles` — Custom styles for the trigger button element
|
|
56
|
+
- **`triggerTooltip`** `string | TooltipProps` — Tooltip for the trigger button (separate from field tooltip)
|
|
57
|
+
- **`triggerDescription`** `string` — Description for the trigger button (separate from field description)
|
|
58
|
+
- **`prefix`** `ReactNode` — Content to show before the trigger button text
|
|
59
|
+
- **`suffix`** `ReactNode` — Content to show after the trigger button text
|
|
60
|
+
- **`hotkeys`** `string` — Keyboard shortcut that triggers the picker when pressed
|
|
61
|
+
- **`htmlType`** `'button' | 'submit' | 'reset'` (default: `button`) — HTML button type
|
|
62
|
+
- **`headerStyles`** `Styles` — Custom styles for the header area when header prop is provided
|
|
63
|
+
- **`footerStyles`** `Styles` — Custom styles for the footer area when footer prop is provided
|
|
64
|
+
- **`onSelectionChange`** `(keys: Key | Key[] | 'all' | null) => void` — Callback when selection changes
|
|
65
|
+
- **`onEscape`** `() => void` — Callback when Escape key is pressed
|
|
66
|
+
- **`onOptionClick`** `(key: Key) => void` — Callback when an option is clicked (non-checkbox area)
|
|
67
|
+
|
|
20
68
|
### Base Properties
|
|
21
69
|
|
|
22
|
-
Supports [Base properties](../../
|
|
70
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
23
71
|
|
|
24
72
|
### Styling Properties
|
|
25
73
|
|
|
@@ -73,10 +121,8 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
73
121
|
|
|
74
122
|
The `mods` property accepts the following modifiers you can override:
|
|
75
123
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
| `placeholder` | `boolean` | Applied when no selection is made |
|
|
79
|
-
| `selected` | `boolean` | Applied when items are selected |
|
|
124
|
+
- **`placeholder`** `boolean` — Applied when no selection is made
|
|
125
|
+
- **`selected`** `boolean` — Applied when items are selected
|
|
80
126
|
|
|
81
127
|
## Sub-components
|
|
82
128
|
|
|
@@ -88,19 +134,17 @@ Individual items within the FilterPicker dropdown. Each item is rendered using [
|
|
|
88
134
|
|
|
89
135
|
For detailed information about all available item properties, see [Item documentation](../content/Item.md). Key properties include:
|
|
90
136
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| styles | `Styles` | Custom styling for the item |
|
|
103
|
-
| qa | `string` | QA identifier for testing |
|
|
137
|
+
- **`key`** `string \| number` — Unique identifier for the item (required)
|
|
138
|
+
- **`children`** `ReactNode` — The main content/label for the option
|
|
139
|
+
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
140
|
+
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
141
|
+
- **`description`** `ReactNode` — Secondary text below the main content
|
|
142
|
+
- **`descriptionPlacement`** `'inline' \| 'block'` — How the description is positioned
|
|
143
|
+
- **`prefix`** `ReactNode` — Content before the main text
|
|
144
|
+
- **`suffix`** `ReactNode` — Content after the main text
|
|
145
|
+
- **`tooltip`** `string \| boolean \| object` — Tooltip configuration
|
|
146
|
+
- **`styles`** `Styles` — Custom styling for the item
|
|
147
|
+
- **`qa`** `string` — QA identifier for testing
|
|
104
148
|
|
|
105
149
|
#### Example with Rich Items
|
|
106
150
|
|
|
@@ -129,10 +173,8 @@ For detailed information about all available item properties, see [Item document
|
|
|
129
173
|
|
|
130
174
|
Groups related items together with an optional heading.
|
|
131
175
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
| title | `ReactNode` | - | Optional heading text for the section |
|
|
135
|
-
| children | `FilterPicker.Item[]` | - | Collection of FilterPicker.Item components |
|
|
176
|
+
- **`title`** `ReactNode` — Optional heading text for the section
|
|
177
|
+
- **`children`** `FilterPicker.Item[]` — Collection of FilterPicker.Item components
|
|
136
178
|
|
|
137
179
|
## Content Patterns
|
|
138
180
|
|
|
@@ -30,7 +30,7 @@ The HueSlider component allows users to select a hue value (0-359 degrees) from
|
|
|
30
30
|
|
|
31
31
|
### Base Properties
|
|
32
32
|
|
|
33
|
-
Supports [Base properties](
|
|
33
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
34
34
|
|
|
35
35
|
### Styling Properties
|
|
36
36
|
|
|
@@ -60,10 +60,8 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
60
60
|
|
|
61
61
|
The `mods` property accepts the following modifiers you can override:
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
| horizontal | `boolean` | Whether the slider is horizontal (default) or vertical |
|
|
66
|
-
| disabled | `boolean` | Whether the slider is disabled |
|
|
63
|
+
- **`horizontal`** `boolean` — Whether the slider is horizontal (default) or vertical
|
|
64
|
+
- **`disabled`** `boolean` — Whether the slider is disabled
|
|
67
65
|
|
|
68
66
|
## Examples
|
|
69
67
|
|
|
@@ -20,9 +20,38 @@ A versatile list selection component that allows users to select one or more ite
|
|
|
20
20
|
|
|
21
21
|
### Properties
|
|
22
22
|
|
|
23
|
+
- **`selectedKey`** `string` — The selected key in controlled mode
|
|
24
|
+
- **`defaultSelectedKey`** `string` — The default selected key in uncontrolled mode
|
|
25
|
+
- **`selectedKeys`** `string[] | 'all'` — The selected keys in controlled multiple mode. Use "all" to select all items or an array of keys.
|
|
26
|
+
- **`defaultSelectedKeys`** `string[] | 'all'` — The default selected keys in uncontrolled multiple mode. Use "all" to select all items or an array of keys.
|
|
27
|
+
- **`selectionMode`** `'single' | 'multiple'` (default: `single`) — Selection mode
|
|
28
|
+
- **`disallowEmptySelection`** `boolean` (default: `false`) — Whether to disallow empty selection
|
|
29
|
+
- **`disabledKeys`** `Key[]` — Array of keys for disabled items
|
|
30
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — ListBox size
|
|
31
|
+
- **`shape`** `'card' | 'plain' | 'popover'` (default: `card`) — Visual shape of the ListBox
|
|
32
|
+
- **`filter`** `(nodes: Iterable<Node>) => Iterable<Node>` — Filter function for the list items
|
|
33
|
+
- **`emptyLabel`** `ReactNode` (default: `No items`) — Label shown when no items are available
|
|
34
|
+
- **`header`** `ReactNode` — Custom header content
|
|
35
|
+
- **`footer`** `ReactNode` — Custom footer content
|
|
36
|
+
- **`focusOnHover`** `boolean` (default: `true`) — Whether moving the pointer over an option will move DOM focus to that option
|
|
37
|
+
- **`shouldUseVirtualFocus`** `boolean` (default: `false`) — Whether to use virtual focus instead of DOM focus
|
|
38
|
+
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection mode
|
|
39
|
+
- **`shouldFocusWrap`** `boolean` (default: `false`) — Whether keyboard navigation should wrap around
|
|
40
|
+
- **`isDisabled`** `boolean` (default: `false`) — Whether the ListBox is disabled
|
|
41
|
+
- **`isRequired`** `boolean` (default: `false`) — Whether selection is required
|
|
42
|
+
- **`validationState`** `'valid' | 'invalid'` — Validation state
|
|
43
|
+
- **`label`** `string` — Label text
|
|
44
|
+
- **`description`** `string` — Field description
|
|
45
|
+
- **`message`** `string` — Help or error message
|
|
46
|
+
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show the "Select All" option in multiple selection mode
|
|
47
|
+
- **`selectAllLabel`** `string` (default: `Select All`) — Label for the "Select All" option
|
|
48
|
+
- **`onSelectionChange`** `(keys: Key | Key[] | 'all' | null) => void` — Callback when selection changes
|
|
49
|
+
- **`onEscape`** `() => void` — Callback when Escape key is pressed
|
|
50
|
+
- **`onOptionClick`** `(key: Key) => void` — Callback when an option is clicked (non-checkbox area)
|
|
51
|
+
|
|
23
52
|
### Base Properties
|
|
24
53
|
|
|
25
|
-
Supports [Base properties](../../
|
|
54
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
26
55
|
|
|
27
56
|
### Styling Properties
|
|
28
57
|
|
|
@@ -72,15 +101,13 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
72
101
|
|
|
73
102
|
The `mods` property accepts the following modifiers you can override:
|
|
74
103
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
| `footer` | `boolean` | Applied when footer prop is provided |
|
|
83
|
-
| `selectAll` | `boolean` | Applied when `showSelectAll={true}` in multiple selection mode |
|
|
104
|
+
- **`invalid`** `boolean` — Applied when `validationState="invalid"`
|
|
105
|
+
- **`valid`** `boolean` — Applied when `validationState="valid"`
|
|
106
|
+
- **`disabled`** `boolean` — Applied when `isDisabled={true}`
|
|
107
|
+
- **`focused`** `boolean` — Applied when the ListBox has focus
|
|
108
|
+
- **`header`** `boolean` — Applied when header prop is provided or `showSelectAll={true}`
|
|
109
|
+
- **`footer`** `boolean` — Applied when footer prop is provided
|
|
110
|
+
- **`selectAll`** `boolean` — Applied when `showSelectAll={true}` in multiple selection mode
|
|
84
111
|
|
|
85
112
|
## Key Properties
|
|
86
113
|
|
|
@@ -174,21 +201,19 @@ Individual items within the ListBox. Each item is rendered using [Item](../conte
|
|
|
174
201
|
|
|
175
202
|
ListBox.Item is built using [Item](../content/Item.md), which provides rich layout and interaction capabilities. All Item properties are supported:
|
|
176
203
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
| styles | `Styles` | Custom styling for the item |
|
|
191
|
-
| qa | `string` | QA identifier for testing |
|
|
204
|
+
- **`key`** `string \| number` — Unique identifier for the item (required)
|
|
205
|
+
- **`children`** `ReactNode` — The main content/label for the option
|
|
206
|
+
- **`textValue`** `string` — Text representation for complex JSX content (for screen readers and search)
|
|
207
|
+
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
208
|
+
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
209
|
+
- **`description`** `ReactNode` — Secondary text below the main content
|
|
210
|
+
- **`descriptionPlacement`** `'inline' \| 'block'` (default: `'block'`) — How the description is positioned
|
|
211
|
+
- **`prefix`** `ReactNode` — Content displayed at the start (before icon)
|
|
212
|
+
- **`suffix`** `ReactNode` — Content displayed at the end (after content)
|
|
213
|
+
- **`hotkeys`** `string` — Keyboard shortcut hint (e.g., `'ctrl+a'`) displayed as suffix
|
|
214
|
+
- **`tooltip`** `string \| object` — Tooltip shown on hover. Object: `{ title, description, placement }`
|
|
215
|
+
- **`styles`** `Styles` — Custom styling for the item
|
|
216
|
+
- **`qa`** `string` — QA identifier for testing
|
|
192
217
|
|
|
193
218
|
#### Example with Rich Items
|
|
194
219
|
|
|
@@ -217,10 +242,8 @@ ListBox.Item is built using [Item](../content/Item.md), which provides rich layo
|
|
|
217
242
|
|
|
218
243
|
Groups related items together with an optional heading.
|
|
219
244
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
| title | `ReactNode` | - | Optional heading text for the section |
|
|
223
|
-
| children | `ListBox.Item[]` | - | Collection of ListBox.Item components |
|
|
245
|
+
- **`title`** `ReactNode` — Optional heading text for the section
|
|
246
|
+
- **`children`** `ListBox.Item[]` — Collection of ListBox.Item components
|
|
224
247
|
|
|
225
248
|
## Variants
|
|
226
249
|
|
|
@@ -38,7 +38,7 @@ A number input component that allows users to enter numeric values and increment
|
|
|
38
38
|
|
|
39
39
|
### Base Properties
|
|
40
40
|
|
|
41
|
-
Supports [Base properties](../../
|
|
41
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
42
42
|
|
|
43
43
|
### Styling Properties
|
|
44
44
|
|
|
@@ -72,15 +72,13 @@ The NumberInput component supports all standard style properties:
|
|
|
72
72
|
|
|
73
73
|
The `mods` prop accepts the following modifiers you can override:
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
| prefix | `boolean` | Indicates presence of prefix content. |
|
|
83
|
-
| suffix | `boolean` | Indicates presence of suffix content. |
|
|
75
|
+
- **`focused`** `boolean` — Forces focus ring appearance.
|
|
76
|
+
- **`disabled`** `boolean` — Forces disabled appearance.
|
|
77
|
+
- **`invalid`** `boolean` — Forces invalid state styling.
|
|
78
|
+
- **`valid`** `boolean` — Forces valid state styling.
|
|
79
|
+
- **`loading`** `boolean` — Displays loading spinner.
|
|
80
|
+
- **`prefix`** `boolean` — Indicates presence of prefix content.
|
|
81
|
+
- **`suffix`** `boolean` — Indicates presence of suffix content.
|
|
84
82
|
|
|
85
83
|
## Variants
|
|
86
84
|
|