@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
|
@@ -35,7 +35,7 @@ A password input is a specialized text field that masks user input to protect se
|
|
|
35
35
|
|
|
36
36
|
### Base Properties
|
|
37
37
|
|
|
38
|
-
Supports [Base properties](../../
|
|
38
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
39
39
|
|
|
40
40
|
### Styling Properties
|
|
41
41
|
|
|
@@ -64,14 +64,12 @@ The PasswordInput component supports all standard style properties:
|
|
|
64
64
|
|
|
65
65
|
The `mods` property accepts the following modifiers you can override:
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| hovered | `boolean` | Whether the password input is being hovered |
|
|
74
|
-
| inside-form | `boolean` | Whether the password input is inside a form field |
|
|
67
|
+
- **`focused`** `boolean` — Whether the input has focus
|
|
68
|
+
- **`disabled`** `boolean` — Whether the password input is disabled
|
|
69
|
+
- **`invalid`** `boolean` — Whether the password input has validation errors
|
|
70
|
+
- **`valid`** `boolean` — Whether the password input is valid
|
|
71
|
+
- **`hovered`** `boolean` — Whether the password input is being hovered
|
|
72
|
+
- **`inside-form`** `boolean` — Whether the password input is inside a form field
|
|
75
73
|
|
|
76
74
|
## Variants
|
|
77
75
|
|
|
@@ -16,9 +16,52 @@ A versatile selection component that combines a trigger button with a dropdown l
|
|
|
16
16
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
|
+
- **`placeholder`** `string` — Placeholder text when no selection is made
|
|
20
|
+
- **`label`** `string` — Label text for the picker field
|
|
21
|
+
- **`description`** `string` — Description text displayed below the label
|
|
22
|
+
- **`message`** `string` — Help or error message
|
|
23
|
+
- **`selectionMode`** `'single' | 'multiple'` (default: `single`) — Selection mode for the picker
|
|
24
|
+
- **`selectedKey`** `string` — The selected key in controlled single mode
|
|
25
|
+
- **`defaultSelectedKey`** `string` — The default selected key in uncontrolled single mode
|
|
26
|
+
- **`selectedKeys`** `string[] | 'all'` — The selected keys in controlled multiple mode
|
|
27
|
+
- **`defaultSelectedKeys`** `string[] | 'all'` — The default selected keys in uncontrolled multiple mode
|
|
28
|
+
- **`items`** `Iterable<T>` — Array of items for dynamic content with render function pattern
|
|
29
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Size of the picker component
|
|
30
|
+
- **`type`** `'outline' | 'clear' | 'primary' | 'secondary' | 'neutral'` (default: `outline`) — Trigger button styling type
|
|
31
|
+
- **`theme`** `'default' | 'danger'` (default: `default`) — Trigger button color theme
|
|
32
|
+
- **`icon`** `ReactNode` — Icon displayed in the trigger button
|
|
33
|
+
- **`rightIcon`** `ReactNode` — Icon displayed on the right side of the trigger button
|
|
34
|
+
- **`prefix`** `ReactNode` — Content before the trigger button text
|
|
35
|
+
- **`suffix`** `ReactNode` — Content after the trigger button text
|
|
36
|
+
- **`hotkeys`** `string` — Keyboard shortcut that triggers the picker when pressed
|
|
37
|
+
- **`shape`** `'rectangle' | 'round'` — Shape of the trigger button
|
|
38
|
+
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection mode
|
|
39
|
+
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show "Select All" option in multiple selection mode
|
|
40
|
+
- **`selectAllLabel`** `ReactNode` (default: `Select All`) — Label for the "Select All" option
|
|
41
|
+
- **`disallowEmptySelection`** `boolean` (default: `false`) — Whether to disallow empty selection
|
|
42
|
+
- **`disabledKeys`** `Key[]` — Array of keys for disabled items
|
|
43
|
+
- **`isClearable`** `boolean` (default: `false`) — Whether the picker shows a clear button when a selection is made
|
|
44
|
+
- **`onClear`** `() => void` — Callback called when the clear button is pressed
|
|
45
|
+
- **`sortSelectedToTop`** `boolean` — Sort selected items to the top when the popover opens (only works with `items` prop)
|
|
46
|
+
- **`renderSummary`** `((args: { selectedLabels, selectedKeys, selectionMode }) => ReactNode) | false` — Custom renderer for the summary shown inside the trigger
|
|
47
|
+
- **`isDisabled`** `boolean` (default: `false`) — Whether the picker is disabled
|
|
48
|
+
- **`isLoading`** `boolean` (default: `false`) — Whether the picker is in loading state
|
|
49
|
+
- **`isRequired`** `boolean` (default: `false`) — Whether the field is required
|
|
50
|
+
- **`validationState`** `'valid' | 'invalid'` — Validation state of the picker
|
|
51
|
+
- **`header`** `ReactNode` — Custom header content in the popover
|
|
52
|
+
- **`footer`** `ReactNode` — Custom footer content in the popover
|
|
53
|
+
- **`listBoxStyles`** `Styles` — Custom styles for the ListBox within the popover
|
|
54
|
+
- **`popoverStyles`** `Styles` — Custom styles for the popover container
|
|
55
|
+
- **`triggerStyles`** `Styles` — Custom styles for the trigger button
|
|
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
|
+
- **`shouldFlip`** `boolean` — Whether to flip the popover placement when it overflows
|
|
59
|
+
- **`containerPadding`** `number` — Minimum padding between the popover and viewport edges
|
|
60
|
+
- **`onSelectionChange`** `(keys: Key | Key[] | 'all' | null) => void` — Callback when selection changes
|
|
61
|
+
|
|
19
62
|
### Base Properties
|
|
20
63
|
|
|
21
|
-
Supports [Base properties](../../
|
|
64
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
22
65
|
|
|
23
66
|
### Styling Properties
|
|
24
67
|
|
|
@@ -76,10 +119,8 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
76
119
|
|
|
77
120
|
The `mods` property accepts the following modifiers you can override:
|
|
78
121
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
| `placeholder` | `boolean` | Applied when no selection is made |
|
|
82
|
-
| `selected` | `boolean` | Applied when items are selected |
|
|
122
|
+
- **`placeholder`** `boolean` — Applied when no selection is made
|
|
123
|
+
- **`selected`** `boolean` — Applied when items are selected
|
|
83
124
|
|
|
84
125
|
## Sub-components
|
|
85
126
|
|
|
@@ -91,21 +132,19 @@ Represents individual selectable items within the Picker dropdown. Each item is
|
|
|
91
132
|
|
|
92
133
|
See [Item documentation](../content/Item.md) for the complete API. Common properties include:
|
|
93
134
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
| `styles` | `Styles` | Custom styling for the item |
|
|
108
|
-
| `qa` | `string` | QA identifier for testing |
|
|
135
|
+
- **`key`** `string \| number` — Unique identifier for the item (required)
|
|
136
|
+
- **`children`** `ReactNode` — The main content/label for the item
|
|
137
|
+
- **`textValue`** `string` — Accessible text for screen readers (required for complex content)
|
|
138
|
+
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
139
|
+
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
140
|
+
- **`description`** `ReactNode` — Secondary text below the main content
|
|
141
|
+
- **`descriptionPlacement`** `'inline' \| 'block'` — How the description is positioned relative to content
|
|
142
|
+
- **`prefix`** `ReactNode` — Content before the main text
|
|
143
|
+
- **`suffix`** `ReactNode` — Content after the main text
|
|
144
|
+
- **`isDisabled`** `boolean` — Whether the item is disabled
|
|
145
|
+
- **`tooltip`** `string \| boolean \| TooltipProps` — Tooltip configuration
|
|
146
|
+
- **`styles`** `Styles` — Custom styling for the item
|
|
147
|
+
- **`qa`** `string` — QA identifier for testing
|
|
109
148
|
|
|
110
149
|
#### Examples with Rich Items
|
|
111
150
|
|
|
@@ -155,10 +194,8 @@ Groups related items together under an optional section heading. Sections provid
|
|
|
155
194
|
|
|
156
195
|
#### Properties
|
|
157
196
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
| `title` | `ReactNode` | - | Section heading text (optional) |
|
|
161
|
-
| `children` | `Picker.Item[]` | - | Collection of Picker.Item components (required) |
|
|
197
|
+
- **`title`** `ReactNode` — Section heading text (optional)
|
|
198
|
+
- **`children`** `Picker.Item[]` — Collection of Picker.Item components (required)
|
|
162
199
|
|
|
163
200
|
#### Example
|
|
164
201
|
|
|
@@ -226,39 +263,31 @@ For large datasets or dynamic content, use the `items` prop with a render functi
|
|
|
226
263
|
|
|
227
264
|
### Selection Modes
|
|
228
265
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
| `single` | Select only one item at a time | Category selection, single choice questions |
|
|
232
|
-
| `multiple` | Select multiple items with checkboxes | Tags, filters, permissions |
|
|
266
|
+
- **`single`** — Select only one item at a time. Use case: Category selection, single choice questions
|
|
267
|
+
- **`multiple`** — Select multiple items with checkboxes. Use case: Tags, filters, permissions
|
|
233
268
|
|
|
234
269
|
### Trigger Button Types
|
|
235
270
|
|
|
236
271
|
The trigger button supports various visual styles via the `type` prop:
|
|
237
272
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
| `secondary` | Secondary color variant | Alternative emphasis |
|
|
244
|
-
| `neutral` | Neutral color scheme | Subtle selections |
|
|
273
|
+
- **`outline`** (default) — Outlined button with border. Use case: Standard form inputs
|
|
274
|
+
- **`clear`** — Transparent background. Use case: Toolbar actions, compact interfaces
|
|
275
|
+
- **`primary`** — Primary brand color. Use case: Emphasized selections
|
|
276
|
+
- **`secondary`** — Secondary color variant. Use case: Alternative emphasis
|
|
277
|
+
- **`neutral`** — Neutral color scheme. Use case: Subtle selections
|
|
245
278
|
|
|
246
279
|
### Trigger Button Themes
|
|
247
280
|
|
|
248
281
|
Control the color scheme with the `theme` prop:
|
|
249
282
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
| `default` | Standard theme (default) |
|
|
253
|
-
| `danger` | Red/destructive color (also applied automatically when `validationState="invalid"`) |
|
|
283
|
+
- **`default`** — Standard theme (default)
|
|
284
|
+
- **`danger`** — Red/destructive color (also applied automatically when `validationState="invalid"`)
|
|
254
285
|
|
|
255
286
|
### Sizes
|
|
256
287
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
| `medium` | ~32px | Standard forms (default) |
|
|
261
|
-
| `large` | ~40px | Emphasized selections, accessibility |
|
|
288
|
+
- **`small`** — ~28px. Use case: Dense interfaces, compact layouts
|
|
289
|
+
- **`medium`** — ~32px (default). Use case: Standard forms
|
|
290
|
+
- **`large`** — ~40px. Use case: Emphasized selections, accessibility
|
|
262
291
|
|
|
263
292
|
## Examples
|
|
264
293
|
|
|
@@ -467,13 +496,11 @@ The Picker component is built with React Aria hooks and provides comprehensive a
|
|
|
467
496
|
|
|
468
497
|
### Keyboard Navigation
|
|
469
498
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
| `Escape` | Closes the popover and returns focus to trigger |
|
|
476
|
-
| `Space` or `Enter` | Selects the focused item (single mode closes popover automatically) |
|
|
499
|
+
- **`Tab`** — Moves focus to/from the trigger button
|
|
500
|
+
- **`Space`** or **`Enter`** — Opens the dropdown popover when focused on trigger
|
|
501
|
+
- **`Arrow Up`** or **`Arrow Down`** — Opens the popover when closed; navigates through items when open
|
|
502
|
+
- **`Escape`** — Closes the popover and returns focus to trigger
|
|
503
|
+
- **`Space`** or **`Enter`** — Selects the focused item (single mode closes popover automatically)
|
|
477
504
|
|
|
478
505
|
**In the popover:**
|
|
479
506
|
- Arrow keys navigate through items
|
|
@@ -496,16 +523,14 @@ The Picker component is built with React Aria hooks and provides comprehensive a
|
|
|
496
523
|
|
|
497
524
|
The component automatically manages ARIA attributes:
|
|
498
525
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
| `aria-required` | Indicates required fields (true when required) |
|
|
508
|
-
| `aria-disabled` | Indicates disabled state |
|
|
526
|
+
- **`aria-label`** — Labels the trigger when no visible label exists
|
|
527
|
+
- **`aria-labelledby`** — Associates the label with the trigger
|
|
528
|
+
- **`aria-expanded`** — Indicates whether the popover is open (true/false)
|
|
529
|
+
- **`aria-haspopup`** — Indicates the button controls a listbox (listbox)
|
|
530
|
+
- **`aria-describedby`** — Associates help text and error messages
|
|
531
|
+
- **`aria-invalid`** — Indicates validation state (true when invalid)
|
|
532
|
+
- **`aria-required`** — Indicates required fields (true when required)
|
|
533
|
+
- **`aria-disabled`** — Indicates disabled state
|
|
509
534
|
|
|
510
535
|
### Best Practices for Accessibility
|
|
511
536
|
|
|
@@ -691,15 +716,13 @@ function MyForm() {
|
|
|
691
716
|
|
|
692
717
|
### Key Form Properties
|
|
693
718
|
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
| `validationState` | Manual validation state control |
|
|
702
|
-
| `message` | Error or help message |
|
|
719
|
+
- **`name`** — Field name in form data (required for form integration)
|
|
720
|
+
- **`rules`** — Validation rules array
|
|
721
|
+
- **`defaultValue`** — Initial value (use with uncontrolled forms)
|
|
722
|
+
- **`value`** — Controlled value (use with controlled forms)
|
|
723
|
+
- **`isRequired`** — Marks field as required and adds visual indicator
|
|
724
|
+
- **`validationState`** — Manual validation state control
|
|
725
|
+
- **`message`** — Error or help message
|
|
703
726
|
|
|
704
727
|
## Advanced Features
|
|
705
728
|
|
|
@@ -35,7 +35,7 @@ A radio group allows users to select exactly one option from a set of mutually e
|
|
|
35
35
|
|
|
36
36
|
### Base Properties
|
|
37
37
|
|
|
38
|
-
Supports [Base properties](../../
|
|
38
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
39
39
|
|
|
40
40
|
### Styling Properties
|
|
41
41
|
|
|
@@ -59,12 +59,10 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
59
59
|
|
|
60
60
|
The `mods` property accepts the following modifiers you can override:
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
| inside-form | `boolean` | Whether the radio group is inside a form field |
|
|
67
|
-
| side-label | `boolean` | Whether the label is positioned at the side |
|
|
62
|
+
- **`horizontal`** `boolean` — Whether the radio group is oriented horizontally
|
|
63
|
+
- **`tabs`** `boolean` — Whether the radio group uses tabs styling
|
|
64
|
+
- **`inside-form`** `boolean` — Whether the radio group is inside a form field
|
|
65
|
+
- **`side-label`** `boolean` — Whether the label is positioned at the side
|
|
68
66
|
|
|
69
67
|
## Variants
|
|
70
68
|
|
|
@@ -35,7 +35,7 @@ A search input provides a specialized text field for search functionality, featu
|
|
|
35
35
|
|
|
36
36
|
### Base Properties
|
|
37
37
|
|
|
38
|
-
Supports [Base properties](../../
|
|
38
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
39
39
|
|
|
40
40
|
### Styling Properties
|
|
41
41
|
|
|
@@ -64,14 +64,12 @@ The SearchInput component supports all standard style properties:
|
|
|
64
64
|
|
|
65
65
|
The `mods` property accepts the following modifiers you can override:
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| hovered | `boolean` | Whether the search input is being hovered |
|
|
74
|
-
| inside-form | `boolean` | Whether the search input is inside a form field |
|
|
67
|
+
- **`focused`** `boolean` — Whether the input has focus
|
|
68
|
+
- **`disabled`** `boolean` — Whether the search input is disabled
|
|
69
|
+
- **`invalid`** `boolean` — Whether the search input has validation errors
|
|
70
|
+
- **`valid`** `boolean` — Whether the search input is valid
|
|
71
|
+
- **`hovered`** `boolean` — Whether the search input is being hovered
|
|
72
|
+
- **`inside-form`** `boolean` — Whether the search input is inside a form field
|
|
75
73
|
|
|
76
74
|
## Variants
|
|
77
75
|
|
|
@@ -20,8 +20,10 @@ A select allows users to choose a single option from a list of predefined choice
|
|
|
20
20
|
- **`defaultSelectedKey`** `string` — The default selected value in uncontrolled mode
|
|
21
21
|
- **`placeholder`** `string` — Placeholder text when no option is selected
|
|
22
22
|
- **`icon`** `ReactElement` — Icon element rendered before the select value
|
|
23
|
+
- **`rightIcon`** `ReactNode` — Icon element rendered after the select value (caret by default)
|
|
23
24
|
- **`prefix`** `ReactNode` — Content rendered before the select value
|
|
24
25
|
- **`suffix`** `ReactNode` — Content rendered after the select value
|
|
26
|
+
- **`shape`** `'card' | 'button' | 'sharp' | 'pill'` (default: `button`) — Shape of the trigger border radius
|
|
25
27
|
- **`suffixPosition`** `string` (default: `before`) — Position of suffix relative to validation icons
|
|
26
28
|
- **`type`** `string` (default: `outline`) — Visual style variant of the select
|
|
27
29
|
- **`theme`** `string` (default: `default`) — Theme variant affecting overall styling
|
|
@@ -74,7 +76,7 @@ A select allows users to choose a single option from a list of predefined choice
|
|
|
74
76
|
|
|
75
77
|
**triggerDescription** - Text description displayed within the trigger button. Different from field-level description provided by FieldWrapper.
|
|
76
78
|
|
|
77
|
-
**descriptionPlacement** - Controls how description is positioned: `inline
|
|
79
|
+
**descriptionPlacement** - Controls how description is positioned: `inline` or `block`.
|
|
78
80
|
|
|
79
81
|
**overlayOffset** - Distance between the select trigger and dropdown in pixels (default: 8).
|
|
80
82
|
|
|
@@ -86,7 +88,7 @@ A select allows users to choose a single option from a list of predefined choice
|
|
|
86
88
|
|
|
87
89
|
### Base Properties
|
|
88
90
|
|
|
89
|
-
Supports [Base properties](../../
|
|
91
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
90
92
|
|
|
91
93
|
### Styling Properties
|
|
92
94
|
|
|
@@ -135,18 +137,15 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
135
137
|
|
|
136
138
|
The `mods` property accepts the following modifiers you can override:
|
|
137
139
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
| loading | `boolean` | Whether the select is in loading state |
|
|
148
|
-
| prefix | `boolean` | Whether prefix content is present |
|
|
149
|
-
| suffix | `boolean` | Whether suffix content is present |
|
|
140
|
+
- `focused` `boolean` — Whether the select has focus
|
|
141
|
+
- `disabled` `boolean` — Whether the select is disabled
|
|
142
|
+
- `invalid` `boolean` — Whether the select has validation errors
|
|
143
|
+
- `valid` `boolean` — Whether the select is valid
|
|
144
|
+
- `placeholder` `boolean` — Whether showing placeholder text
|
|
145
|
+
- `hovered` `boolean` — Whether the select is being hovered
|
|
146
|
+
- `loading` `boolean` — Whether the select is in loading state
|
|
147
|
+
- `prefix` `boolean` — Whether prefix content is present
|
|
148
|
+
- `suffix` `boolean` — Whether suffix content is present
|
|
150
149
|
|
|
151
150
|
## Sub-components
|
|
152
151
|
|
|
@@ -158,19 +157,17 @@ Individual option items within the select dropdown. Each item is rendered using
|
|
|
158
157
|
|
|
159
158
|
For detailed information about all available item properties, see [Item documentation](../content/Item.md). Key properties include:
|
|
160
159
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
| styles | `Styles` | Custom styling for the item |
|
|
173
|
-
| qa | `string` | QA identifier for testing |
|
|
160
|
+
- **`key`** `string \| number` — Unique identifier for the item (required)
|
|
161
|
+
- **`children`** `ReactNode` — The main content/label for the option
|
|
162
|
+
- **`icon`** `ReactNode` — Icon displayed before the content
|
|
163
|
+
- **`rightIcon`** `ReactNode` — Icon displayed after the content
|
|
164
|
+
- **`description`** `ReactNode` — Secondary text below the main content
|
|
165
|
+
- **`descriptionPlacement`** `'inline' \| 'block'` — How the description is positioned
|
|
166
|
+
- **`prefix`** `ReactNode` — Content before the main text
|
|
167
|
+
- **`suffix`** `ReactNode` — Content after the main text
|
|
168
|
+
- **`tooltip`** `string \| boolean \| object` — Tooltip configuration
|
|
169
|
+
- **`styles`** `Styles` — Custom styling for the item
|
|
170
|
+
- **`qa`** `string` — QA identifier for testing
|
|
174
171
|
|
|
175
172
|
#### Example with Rich Items
|
|
176
173
|
|
|
@@ -198,10 +195,8 @@ For detailed information about all available item properties, see [Item document
|
|
|
198
195
|
|
|
199
196
|
Groups related options together with an optional heading.
|
|
200
197
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
| title | `ReactNode` | - | Optional heading text for the section |
|
|
204
|
-
| children | `Select.Item[]` | - | Collection of Select.Item components |
|
|
198
|
+
- **`title`** `ReactNode` — Optional heading text for the section
|
|
199
|
+
- **`children`** `Select.Item[]` — Collection of Select.Item components
|
|
205
200
|
|
|
206
201
|
## Variants
|
|
207
202
|
|
|
@@ -33,7 +33,7 @@ A switch allows users to toggle between two states: on and off. It provides imme
|
|
|
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
|
|
|
@@ -62,16 +62,14 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
62
62
|
|
|
63
63
|
The `mods` property accepts the following modifiers you can override:
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| side-label | `boolean` | Whether the label is positioned to the side |
|
|
74
|
-
| inside-form | `boolean` | Whether the switch is inside a form field |
|
|
65
|
+
- **`checked`** `boolean` — Whether the switch is in the "on" state
|
|
66
|
+
- **`disabled`** `boolean` — Whether the switch is disabled
|
|
67
|
+
- **`invalid`** `boolean` — Whether the switch has validation errors
|
|
68
|
+
- **`valid`** `boolean` — Whether the switch is valid
|
|
69
|
+
- **`focused`** `boolean` — Whether the switch has focus
|
|
70
|
+
- **`hovered`** `boolean` — Whether the switch is being hovered
|
|
71
|
+
- **`side-label`** `boolean` — Whether the label is positioned to the side
|
|
72
|
+
- **`inside-form`** `boolean` — Whether the switch is inside a form field
|
|
75
73
|
|
|
76
74
|
## Variants
|
|
77
75
|
|
|
@@ -19,12 +19,19 @@ A text input component that allows users to input custom text entries with a key
|
|
|
19
19
|
- **`value`** `string` — The text value in controlled mode
|
|
20
20
|
- **`defaultValue`** `string` — The default text value in uncontrolled mode
|
|
21
21
|
- **`placeholder`** `string` — Placeholder text when input is empty
|
|
22
|
+
- **`label`** `ReactNode` — Label text displayed above or beside the input
|
|
22
23
|
- **`icon`** — Icon element rendered before the input
|
|
23
24
|
- **`prefix`** — Input decoration before the main input
|
|
24
25
|
- **`suffix`** — Input decoration after the main input
|
|
26
|
+
- **`suffixPosition`** `'before' | 'after'` (default: `before`) — Position of suffix relative to validation/loading state icons
|
|
25
27
|
- **`type`** `'text' | 'password' | 'email' | 'url' | 'tel' | 'search'` (default: `text`) — Input type
|
|
26
28
|
- **`multiLine`** `boolean` (default: `false`) — Whether the input is multiline (textarea)
|
|
29
|
+
- **`rows`** `number` — Number of visible rows for multiline input
|
|
30
|
+
- **`resize`** `string` — CSS resize value for multiline input (e.g. `'vertical'`, `'none'`)
|
|
27
31
|
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Input size
|
|
32
|
+
- **`autocomplete`** `string` — Browser autocomplete attribute value
|
|
33
|
+
- **`maxLength`** `number` — Maximum number of characters allowed
|
|
34
|
+
- **`minLength`** `number` — Minimum number of characters required
|
|
28
35
|
- **`isDisabled`** `boolean` (default: `false`) — Whether the input is disabled
|
|
29
36
|
- **`isReadOnly`** `boolean` (default: `false`) — Whether the input can be selected but not changed
|
|
30
37
|
- **`isRequired`** `boolean` (default: `false`) — Whether user input is required before form submission
|
|
@@ -37,7 +44,7 @@ A text input component that allows users to input custom text entries with a key
|
|
|
37
44
|
|
|
38
45
|
### Base Properties
|
|
39
46
|
|
|
40
|
-
Supports [Base properties](../../
|
|
47
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
41
48
|
|
|
42
49
|
### Styling Properties
|
|
43
50
|
|
|
@@ -57,9 +64,9 @@ Customizes the root element of the component.
|
|
|
57
64
|
|
|
58
65
|
Customizes the input element itself.
|
|
59
66
|
|
|
60
|
-
####
|
|
67
|
+
#### wrapperProps
|
|
61
68
|
|
|
62
|
-
|
|
69
|
+
Additional HTML props passed to the input wrapper container.
|
|
63
70
|
|
|
64
71
|
### Style Properties
|
|
65
72
|
|
|
@@ -71,15 +78,13 @@ The TextInput component supports all standard style properties:
|
|
|
71
78
|
|
|
72
79
|
The `mods` prop accepts the following modifiers you can override:
|
|
73
80
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
| prefix | `boolean` | Indicates presence of prefix content. |
|
|
82
|
-
| suffix | `boolean` | Indicates presence of suffix content. |
|
|
81
|
+
- **`focused`** `boolean` — Forces focus ring appearance.
|
|
82
|
+
- **`disabled`** `boolean` — Forces disabled appearance.
|
|
83
|
+
- **`invalid`** `boolean` — Forces invalid state styling.
|
|
84
|
+
- **`valid`** `boolean` — Forces valid state styling.
|
|
85
|
+
- **`loading`** `boolean` — Displays loading spinner.
|
|
86
|
+
- **`prefix`** `boolean` — Indicates presence of prefix content.
|
|
87
|
+
- **`suffix`** `boolean` — Indicates presence of suffix content.
|
|
83
88
|
|
|
84
89
|
## Variants
|
|
85
90
|
|
|
@@ -191,8 +196,7 @@ This component supports all [Field properties](../form/Field.md) when used withi
|
|
|
191
196
|
|
|
192
197
|
## Suggested Improvements
|
|
193
198
|
|
|
194
|
-
-
|
|
195
|
-
- Provide `maxLength` indicator with character count
|
|
199
|
+
- Provide `maxLength` indicator with visible character count
|
|
196
200
|
- Support for input masks and formatting
|
|
197
201
|
- Built-in debouncing for onChange events
|
|
198
202
|
|
|
@@ -39,7 +39,7 @@ The Field component is a **legacy wrapper** for form inputs that provides field-
|
|
|
39
39
|
|
|
40
40
|
### Base Properties
|
|
41
41
|
|
|
42
|
-
Supports [Base properties](../../
|
|
42
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
43
43
|
|
|
44
44
|
### Styling Properties
|
|
45
45
|
|
|
@@ -63,43 +63,35 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
63
63
|
|
|
64
64
|
### Field Properties
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
| `defaultValue` | `any` | Default field value |
|
|
75
|
-
| `rules` | `ValidationRule[]` | Validation rules array |
|
|
66
|
+
- **`name`** `string` — Field name for form data
|
|
67
|
+
- **`label`** `ReactNode` — Field label text
|
|
68
|
+
- **`description`** `ReactNode` — Field description text
|
|
69
|
+
- **`extra`** `ReactNode` — Additional information displayed below help text
|
|
70
|
+
- **`tooltip`** `ReactNode` — Tooltip content for the field label
|
|
71
|
+
- **`message`** `ReactNode` — Error or help message
|
|
72
|
+
- **`defaultValue`** `any` — Default field value
|
|
73
|
+
- **`rules`** `ValidationRule[]` — Validation rules array
|
|
76
74
|
|
|
77
75
|
### Presentation Properties
|
|
78
76
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
| `labelProps` | `object` | Additional props for the label element |
|
|
85
|
-
| `labelSuffix` | `ReactNode` | Content to display after the label |
|
|
77
|
+
- **`labelPosition`** `'top' | 'side'` — Position of the field label
|
|
78
|
+
- **`necessityIndicator`** `'icon' | 'label'` — Type of necessity indicator
|
|
79
|
+
- **`necessityLabel`** `string` — Custom necessity label text
|
|
80
|
+
- **`labelProps`** `object` — Additional props for the label element
|
|
81
|
+
- **`labelSuffix`** `ReactNode` — Content to display after the label
|
|
86
82
|
|
|
87
83
|
### State Properties
|
|
88
84
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
| `isHidden` | `boolean` | Whether the field is hidden |
|
|
95
|
-
| `validationState` | `'valid' \| 'invalid'` | Validation state of the field |
|
|
85
|
+
- **`isRequired`** `boolean` — Whether the field is required
|
|
86
|
+
- **`isDisabled`** `boolean` — Whether the field is disabled
|
|
87
|
+
- **`isLoading`** `boolean` — Whether the field is in loading state
|
|
88
|
+
- **`isHidden`** `boolean` — Whether the field is hidden
|
|
89
|
+
- **`validationState`** `'valid' | 'invalid'` — Validation state of the field
|
|
96
90
|
|
|
97
91
|
### Advanced Properties
|
|
98
92
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| `form` | `CubeFormInstance` | Form instance (automatically provided within Form) |
|
|
102
|
-
| `children` | `ReactElement \| (form) => ReactElement` | Field content or render function |
|
|
93
|
+
- **`form`** `CubeFormInstance` — Form instance (automatically provided within Form)
|
|
94
|
+
- **`children`** `ReactElement | (form) => ReactElement` — Field content or render function
|
|
103
95
|
|
|
104
96
|
## Modern Usage (Recommended)
|
|
105
97
|
|