@cube-dev/ui-kit 0.121.4 → 0.121.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +21 -0
- package/dist/_internal/hooks/use-chained-callback.js +1 -1
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.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 +2 -2
- package/dist/components/content/Item/Item.js.map +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 +2 -2
- package/dist/components/content/Result/Result.js.map +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.js +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 +4 -4
- package/dist/components/fields/Switch/Switch.js.map +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.d.ts +2 -2
- package/dist/components/fields/TextInput/TextInputBase.js +14 -6
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +3 -3
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +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.d.ts +2 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +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.d.ts +1 -0
- package/dist/tokens/index.js +3 -2
- package/dist/tokens/index.js.map +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/tokens/typography.d.ts +35 -0
- package/dist/tokens/typography.js +238 -0
- package/dist/tokens/typography.js.map +1 -0
- 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 +1 -1
- package/docs/Utilities.md +183 -0
- package/docs/components/Block.md +11 -0
- package/docs/components/CollectionItem.md +37 -8
- package/docs/components/GridProvider.md +15 -0
- package/docs/components/Root.md +8 -0
- package/docs/components/actions/Action.md +12 -0
- package/docs/components/actions/Banner.md +28 -2
- package/docs/components/actions/Button.md +10 -1
- package/docs/components/actions/ButtonGroup.md +11 -0
- package/docs/components/actions/ButtonSplit.md +11 -1
- package/docs/components/actions/CommandMenu.md +44 -17
- package/docs/components/actions/ItemButton.md +14 -37
- package/docs/components/actions/Link.md +9 -5
- package/docs/components/actions/Menu.md +11 -13
- package/docs/components/actions/MenuTrigger.md +17 -0
- package/docs/components/actions/SubMenuTrigger.md +17 -0
- package/docs/components/actions/use-anchored-menu.md +11 -0
- package/docs/components/actions/use-context-menu.md +11 -0
- package/docs/components/content/ActiveZone.md +18 -0
- package/docs/components/content/Alert.md +12 -0
- package/docs/components/content/Avatar.md +11 -0
- package/docs/components/content/Badge.md +20 -9
- package/docs/components/content/Card.md +11 -0
- package/docs/components/content/Content.md +12 -0
- package/docs/components/content/CopyPasteBlock.md +8 -0
- package/docs/components/content/CopySnippet.md +19 -5
- package/docs/components/content/Disclosure.md +5 -1
- package/docs/components/content/Divider.md +12 -0
- package/docs/components/content/Footer.md +12 -0
- package/docs/components/content/Header.md +12 -0
- package/docs/components/content/HotKeys.md +7 -14
- package/docs/components/content/ItemBadge.md +1 -0
- package/docs/components/content/ItemCard.md +20 -5
- package/docs/components/content/Layout.md +8 -1
- package/docs/components/content/Paragraph.md +20 -1
- package/docs/components/content/Placeholder.md +11 -0
- package/docs/components/content/Result.md +12 -0
- package/docs/components/content/Skeleton.md +15 -0
- package/docs/components/content/Tag.md +20 -9
- package/docs/components/content/Text.md +8 -0
- package/docs/components/content/TextItem.md +15 -9
- package/docs/components/content/Title.md +16 -0
- package/docs/components/fields/Checkbox.md +8 -3
- package/docs/components/fields/ComboBox.md +11 -5
- package/docs/components/fields/DatePicker.md +16 -15
- package/docs/components/fields/FileInput.md +13 -31
- package/docs/components/fields/FilterListBox.md +16 -1
- package/docs/components/fields/FilterPicker.md +34 -7
- package/docs/components/fields/HueSlider.md +16 -2
- package/docs/components/fields/ListBox.md +9 -1
- package/docs/components/fields/NumberInput.md +14 -6
- package/docs/components/fields/PasswordInput.md +10 -2
- package/docs/components/fields/Picker.md +29 -12
- package/docs/components/fields/RadioGroup.md +8 -1
- package/docs/components/fields/SearchInput.md +12 -2
- package/docs/components/fields/Select.md +14 -2
- package/docs/components/fields/Slider.md +34 -0
- package/docs/components/fields/Switch.md +3 -1
- package/docs/components/fields/TextArea.md +43 -0
- package/docs/components/fields/TextInput.md +10 -2
- package/docs/components/fields/TextInputMapper.md +30 -0
- package/docs/components/form/Field.md +9 -1
- package/docs/components/form/Form.md +9 -1
- package/docs/components/layout/Flex.md +11 -0
- package/docs/components/layout/Flow.md +11 -0
- package/docs/components/layout/Grid.md +11 -0
- package/docs/components/layout/Panel.md +11 -0
- package/docs/components/layout/Prefix.md +11 -0
- package/docs/components/layout/ResizablePanel.md +17 -0
- package/docs/components/layout/Space.md +11 -0
- package/docs/components/layout/Suffix.md +11 -0
- package/docs/components/navigation/Tabs.md +6 -1
- package/docs/components/organisms/FileTabs.md +12 -0
- package/docs/components/organisms/StatsCard.md +11 -0
- package/docs/components/other/CloudLogo.md +12 -0
- package/docs/components/overlays/AlertDialog.md +16 -0
- package/docs/components/overlays/Dialog.md +6 -3
- package/docs/components/overlays/DialogContainer.md +9 -0
- package/docs/components/overlays/DialogForm.md +29 -16
- package/docs/components/overlays/DialogTrigger.md +11 -0
- package/docs/components/overlays/Tooltip.md +27 -84
- package/docs/components/overlays/TooltipProvider.md +24 -4
- package/docs/components/overlays/TooltipTrigger.md +14 -0
- package/docs/components/portal/Portal.md +4 -0
- package/docs/components/status/LoadingAnimation.md +11 -0
- package/docs/components/status/Spin.md +11 -0
- package/docs/tasty/adoption.md +286 -0
- package/docs/tasty/comparison.md +413 -0
- package/docs/tasty/configuration.md +41 -10
- package/docs/tasty/debug.md +1 -1
- package/docs/tasty/design-system.md +401 -0
- package/docs/tasty/{usage.md → dsl.md} +254 -409
- package/docs/tasty/getting-started.md +201 -0
- package/docs/tasty/injector.md +2 -2
- package/docs/tasty/methodology.md +501 -0
- package/docs/tasty/runtime.md +291 -0
- package/docs/tasty/ssr.md +382 -0
- package/docs/tasty/styles.md +2 -2
- package/docs/tasty/tasty-static.md +58 -13
- package/package.json +8 -9
|
@@ -53,6 +53,10 @@ A versatile selection component that combines a trigger button with a dropdown l
|
|
|
53
53
|
- **`shouldFlip`** `boolean` — Whether to flip the popover placement when it overflows
|
|
54
54
|
- **`containerPadding`** `number` — Minimum padding between the popover and viewport edges
|
|
55
55
|
- **`onSelectionChange`** `(keys: Key | Key[] | 'all' | null) => void` — Callback when selection changes
|
|
56
|
+
- **`onClear`** `() => void` — Callback called when the clear button is pressed
|
|
57
|
+
- **`onOpenChange`** `(isOpen: boolean) => void` — Callback called when the popover open state changes
|
|
58
|
+
- **`filter`** `((textValue: string, inputValue: string) => boolean) | false` — Custom filter function for items. Pass `false` to disable filtering.
|
|
59
|
+
- **`emptyLabel`** `ReactNode` — Content shown when no items match the filter or the collection is empty
|
|
56
60
|
|
|
57
61
|
### Base Properties
|
|
58
62
|
|
|
@@ -96,23 +100,39 @@ Customizes the popover Dialog that contains the ListBox. See [Dialog documentati
|
|
|
96
100
|
**Sub-elements:**
|
|
97
101
|
- None for Dialog in popover mode
|
|
98
102
|
|
|
103
|
+
#### listStyles
|
|
104
|
+
|
|
105
|
+
Customizes the list container element within the ListBox.
|
|
106
|
+
|
|
107
|
+
#### optionStyles
|
|
108
|
+
|
|
109
|
+
Customizes individual option elements within the ListBox.
|
|
110
|
+
|
|
111
|
+
#### sectionStyles
|
|
112
|
+
|
|
113
|
+
Customizes section wrapper elements within the ListBox.
|
|
114
|
+
|
|
115
|
+
#### headingStyles
|
|
116
|
+
|
|
117
|
+
Customizes section heading elements within the ListBox.
|
|
118
|
+
|
|
99
119
|
#### headerStyles
|
|
100
120
|
|
|
101
121
|
Customizes the header area when `header` prop is provided.
|
|
102
122
|
|
|
103
|
-
**Sub-elements:**
|
|
104
|
-
- None
|
|
105
|
-
|
|
106
123
|
#### footerStyles
|
|
107
124
|
|
|
108
125
|
Customizes the footer area when `footer` prop is provided.
|
|
109
126
|
|
|
110
|
-
**Sub-elements:**
|
|
111
|
-
- None
|
|
112
|
-
|
|
113
127
|
### Style Properties
|
|
114
128
|
|
|
115
|
-
These properties allow direct style application without using the `styles` prop:
|
|
129
|
+
These properties allow direct style application without using the `styles` prop:
|
|
130
|
+
|
|
131
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
132
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
133
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
134
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`
|
|
135
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
116
136
|
|
|
117
137
|
### Modifiers
|
|
118
138
|
|
|
@@ -524,12 +544,9 @@ The component automatically manages ARIA attributes:
|
|
|
524
544
|
|
|
525
545
|
- **`aria-label`** — Labels the trigger when no visible label exists
|
|
526
546
|
- **`aria-labelledby`** — Associates the label with the trigger
|
|
527
|
-
- **`aria-expanded`** — Indicates whether the popover is open (true/false)
|
|
528
|
-
- **`aria-haspopup`** — Indicates the button controls a listbox (listbox)
|
|
529
547
|
- **`aria-describedby`** — Associates help text and error messages
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
- **`aria-disabled`** — Indicates disabled state
|
|
548
|
+
|
|
549
|
+
The following ARIA attributes are automatically managed by React Aria and do not need to be set manually: `aria-expanded`, `aria-haspopup`, `aria-invalid`, `aria-required`, `aria-disabled`.
|
|
533
550
|
|
|
534
551
|
### Best Practices for Accessibility
|
|
535
552
|
|
|
@@ -51,7 +51,14 @@ Customizes the radio group container specifically.
|
|
|
51
51
|
|
|
52
52
|
### Style Properties
|
|
53
53
|
|
|
54
|
-
These properties allow direct style application without using the `styles` prop:
|
|
54
|
+
These properties allow direct style application without using the `styles` prop:
|
|
55
|
+
|
|
56
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
57
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
58
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
59
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
60
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
61
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
55
62
|
|
|
56
63
|
### Modifiers
|
|
57
64
|
|
|
@@ -19,9 +19,15 @@ A search input provides a specialized text field for search functionality, featu
|
|
|
19
19
|
- **`value`** `string` — The search value in controlled mode
|
|
20
20
|
- **`defaultValue`** `string` — The default search value in uncontrolled mode
|
|
21
21
|
- **`placeholder`** `string` — Placeholder text when input is empty
|
|
22
|
+
- **`icon`** `ReactElement` — Icon element rendered before the input (default: search icon)
|
|
23
|
+
- **`prefix`** `ReactNode` — Content rendered before the input
|
|
22
24
|
- **`suffix`** — Input decoration after the main input (before clear button)
|
|
25
|
+
- **`suffixPosition`** `'before' | 'after'` (default: `after`) — Position of suffix relative to validation/loading state icons
|
|
23
26
|
- **`isClearable`** `boolean` (default: `false`) — Whether the search input shows a clear button
|
|
24
27
|
- **`size`** `'small' | 'medium' | 'large'` (default: `medium`) — Input size
|
|
28
|
+
- **`autocomplete`** `string` — HTML autocomplete attribute for browser autofill behavior
|
|
29
|
+
- **`inputProps`** `Props` — Direct props passed to the native input element
|
|
30
|
+
- **`wrapperProps`** `Props` — Direct props passed to the input wrapper element
|
|
25
31
|
- **`onChange`** `function` — Callback fired when the search value changes
|
|
26
32
|
- **`onSubmit`** `function` — Callback fired when search is submitted
|
|
27
33
|
- **`onClear`** `function` — Callback fired when search is cleared
|
|
@@ -55,9 +61,13 @@ Customizes the search input field specifically.
|
|
|
55
61
|
|
|
56
62
|
### Style Properties
|
|
57
63
|
|
|
58
|
-
|
|
64
|
+
These properties allow direct style application without using the `styles` prop:
|
|
59
65
|
|
|
60
|
-
`display`, `font`, `preset`, `hide`, `
|
|
66
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
67
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
68
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
69
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
70
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
61
71
|
|
|
62
72
|
### Modifiers
|
|
63
73
|
|
|
@@ -45,9 +45,15 @@ A select allows users to choose a single option from a list of predefined choice
|
|
|
45
45
|
- **`listBoxStyles`** `Styles` — Styles for the dropdown list container
|
|
46
46
|
- **`optionStyles`** `Styles` — Styles for individual option items
|
|
47
47
|
- **`overlayStyles`** `Styles` — Styles for the dropdown overlay wrapper
|
|
48
|
-
- **`wrapperStyles`** `Styles` — Styles for the outer wrapper element
|
|
49
48
|
- **`triggerStyles`** `Styles` — Styles for the trigger button element
|
|
50
49
|
- **`inputProps`** `Props` — Additional props for the input element
|
|
50
|
+
- **`triggerDescription`** `ReactNode` — Description text displayed within the trigger button (different from field-level description)
|
|
51
|
+
- **`descriptionPlacement`** `'inline' | 'block'` — Controls how the trigger description is positioned
|
|
52
|
+
- **`hotkeys`** `string` — Keyboard shortcut that triggers the select when pressed
|
|
53
|
+
- **`containerPadding`** `number` (default: `8`) — Minimum padding in pixels between the popover and viewport edges
|
|
54
|
+
- **`isOpen`** `boolean` — Whether the dropdown is open (controlled)
|
|
55
|
+
- **`defaultOpen`** `boolean` — Whether the dropdown is open by default (uncontrolled)
|
|
56
|
+
- **`selectionMode`** `'single'` — Selection mode for the select
|
|
51
57
|
- **`onSelectionChange`** `(key: Key) => void` — Callback fired when the selected option changes
|
|
52
58
|
- **`onOpenChange`** `(isOpen: boolean) => void` — Callback fired when the dropdown opens or closes
|
|
53
59
|
- **`onFocus`** `(e: FocusEvent) => void` — Callback fired when the select receives focus
|
|
@@ -129,7 +135,13 @@ Customizes individual option items in the dropdown.
|
|
|
129
135
|
|
|
130
136
|
### Style Properties
|
|
131
137
|
|
|
132
|
-
These properties allow direct style application without using the `styles` prop:
|
|
138
|
+
These properties allow direct style application without using the `styles` prop:
|
|
139
|
+
|
|
140
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
141
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
142
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
143
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`
|
|
144
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
133
145
|
|
|
134
146
|
### Modifiers
|
|
135
147
|
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
The Slider component allows users to select a numeric value from a range by dragging a thumb along a track. It provides an intuitive way to input values that fall within a specific range.
|
|
6
6
|
|
|
7
|
+
### Style Properties
|
|
8
|
+
|
|
9
|
+
These properties allow direct style application without using the `styles` prop:
|
|
10
|
+
|
|
11
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
12
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
13
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`
|
|
14
|
+
|
|
7
15
|
## Examples
|
|
8
16
|
|
|
9
17
|
### With Label
|
|
@@ -18,6 +26,32 @@ The Slider component allows users to select a numeric value from a range by drag
|
|
|
18
26
|
|
|
19
27
|
## Properties
|
|
20
28
|
|
|
29
|
+
- **`value`** `number` — The current value in controlled mode
|
|
30
|
+
- **`defaultValue`** `number` — The default value in uncontrolled mode
|
|
31
|
+
- **`minValue`** `number` (default: `0`) — The minimum allowed value
|
|
32
|
+
- **`maxValue`** `number` (default: `100`) — The maximum allowed value
|
|
33
|
+
- **`step`** `number` (default: `1`) — The step increment between values
|
|
34
|
+
- **`orientation`** `'horizontal' | 'vertical'` (default: `'horizontal'`) — The orientation of the slider
|
|
35
|
+
- **`gradation`** `string[]` — Labels for gradation marks along the track
|
|
36
|
+
- **`showValueLabel`** `boolean` — Whether the value label is displayed (defaults to `true` when `label` is present)
|
|
37
|
+
- **`getValueLabel`** `(value: number) => string` — Custom function to format the value label
|
|
38
|
+
- **`formatOptions`** `Intl.NumberFormatOptions` — Number format options for the value label display
|
|
39
|
+
- **`inputWidth`** `string` — Width of the input area
|
|
40
|
+
- **`trackStyles`** `Styles` — Custom styles for the track element
|
|
41
|
+
- **`thumbStyles`** `Styles` — Custom styles for the thumb element
|
|
42
|
+
- **`thumbTokens`** `Tokens` — Custom tokens for the thumb element (e.g., `#slider-thumb` for fill color)
|
|
43
|
+
- **`inputStyles`** `Styles` — Custom styles for the input element
|
|
44
|
+
- **`onChange`** `(value: number) => void` — Callback fired when the value changes during drag
|
|
45
|
+
- **`onChangeEnd`** `(value: number) => void` — Callback fired when the value changes on drag end
|
|
46
|
+
|
|
47
|
+
### Base Properties
|
|
48
|
+
|
|
49
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
50
|
+
|
|
51
|
+
### Field Properties
|
|
52
|
+
|
|
53
|
+
Supports all [Field properties](../../FieldProperties.md)
|
|
54
|
+
|
|
21
55
|
## Sub-elements
|
|
22
56
|
|
|
23
57
|
The Slider component renders the following sub-elements that can be customized via the `styles` prop:
|
|
@@ -53,7 +53,9 @@ Customizes the field wrapper element when the switch is used with labels or vali
|
|
|
53
53
|
|
|
54
54
|
These properties allow direct style application without using the `styles` prop:
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
57
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
58
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
57
59
|
|
|
58
60
|
### Modifiers
|
|
59
61
|
|
|
@@ -14,6 +14,16 @@ The TextArea component is a multi-line text input that allows users to enter and
|
|
|
14
14
|
|
|
15
15
|
### Auto Size with Max Rows
|
|
16
16
|
|
|
17
|
+
### Style Properties
|
|
18
|
+
|
|
19
|
+
These properties allow direct style application without using the `styles` prop:
|
|
20
|
+
|
|
21
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
22
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
23
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
24
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
25
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
26
|
+
|
|
17
27
|
## Variants
|
|
18
28
|
|
|
19
29
|
### Sizes
|
|
@@ -24,6 +34,39 @@ The TextArea component is a multi-line text input that allows users to enter and
|
|
|
24
34
|
|
|
25
35
|
## Properties
|
|
26
36
|
|
|
37
|
+
- **`autoSize`** `boolean` (default: `false`) — Whether the textarea should automatically resize based on content
|
|
38
|
+
- **`maxRows`** `number` (default: `10`) — Maximum number of visible rows when `autoSize` is enabled
|
|
39
|
+
- **`rows`** `number` (default: `3`) — Number of visible text rows
|
|
40
|
+
- **`value`** `string` — The text value in controlled mode
|
|
41
|
+
- **`defaultValue`** `string` — The default text value in uncontrolled mode
|
|
42
|
+
- **`placeholder`** `string` — Placeholder text when input is empty
|
|
43
|
+
- **`icon`** `ReactElement` — Icon element rendered before the input
|
|
44
|
+
- **`prefix`** `ReactNode` — Input decoration before the main input
|
|
45
|
+
- **`suffix`** `ReactNode` — Input decoration after the main input
|
|
46
|
+
- **`suffixPosition`** `'before' | 'after'` (default: `'before'`) — Position of suffix relative to validation/loading state icons
|
|
47
|
+
- **`resize`** `string` — CSS resize value (e.g. `'vertical'`, `'none'`)
|
|
48
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `'medium'`) — Input size
|
|
49
|
+
- **`autocomplete`** `string` — Browser autocomplete attribute value
|
|
50
|
+
- **`maxLength`** `number` — Maximum number of characters allowed
|
|
51
|
+
- **`minLength`** `number` — Minimum number of characters required
|
|
52
|
+
- **`inputProps`** `Props` — Direct HTML props passed to the inner textarea element
|
|
53
|
+
- **`wrapperProps`** `Props` — Additional HTML props passed to the input wrapper container
|
|
54
|
+
- **`inputRef`** `RefObject<HTMLTextAreaElement>` — Ref to the inner textarea element
|
|
55
|
+
- **`wrapperRef`** `RefObject<HTMLDivElement>` — Ref to the input wrapper container
|
|
56
|
+
- **`loadingIndicator`** `ReactNode` — Custom loading indicator element
|
|
57
|
+
- **`inputStyles`** `Styles` — Custom styles for the textarea element
|
|
58
|
+
- **`onChange`** `function` — Callback fired when the input value changes
|
|
59
|
+
- **`onBlur`** `function` — Callback fired when the input loses focus
|
|
60
|
+
- **`onFocus`** `function` — Callback fired when the input receives focus
|
|
61
|
+
|
|
62
|
+
### Base Properties
|
|
63
|
+
|
|
64
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
65
|
+
|
|
66
|
+
### Field Properties
|
|
67
|
+
|
|
68
|
+
Supports all [Field properties](../../FieldProperties.md)
|
|
69
|
+
|
|
27
70
|
## Sub-elements
|
|
28
71
|
|
|
29
72
|
The TextArea component renders the following sub-elements that can be customized via the `styles` prop:
|
|
@@ -31,6 +31,10 @@ A text input component that allows users to input custom text entries with a key
|
|
|
31
31
|
- **`autocomplete`** `string` — Browser autocomplete attribute value
|
|
32
32
|
- **`maxLength`** `number` — Maximum number of characters allowed
|
|
33
33
|
- **`minLength`** `number` — Minimum number of characters required
|
|
34
|
+
- **`inputProps`** `Props` — Direct HTML props passed to the inner input element
|
|
35
|
+
- **`inputRef`** `RefObject<HTMLInputElement | HTMLTextAreaElement>` — Ref to the inner input element
|
|
36
|
+
- **`wrapperRef`** `RefObject<HTMLDivElement>` — Ref to the input wrapper container
|
|
37
|
+
- **`loadingIndicator`** `ReactNode` — Custom loading indicator element
|
|
34
38
|
- **`onChange`** `function` — Callback fired when the input value changes
|
|
35
39
|
- **`onBlur`** `function` — Callback fired when the input loses focus
|
|
36
40
|
- **`onFocus`** `function` — Callback fired when the input receives focus
|
|
@@ -67,9 +71,13 @@ Additional HTML props passed to the input wrapper container.
|
|
|
67
71
|
|
|
68
72
|
### Style Properties
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
These properties allow direct style application without using the `styles` prop:
|
|
71
75
|
|
|
72
|
-
`display`, `font`, `preset`, `hide`, `
|
|
76
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
77
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
78
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
79
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
80
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
73
81
|
|
|
74
82
|
### Modifiers
|
|
75
83
|
|
|
@@ -4,6 +4,24 @@ The TextInputMapper component allows users to create and manage key-value pairs
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
+
- **`value`** `Record<string, string>` — The key-value pairs in controlled mode
|
|
8
|
+
- **`onChange`** `(value: Record<string, string> | undefined) => void` — Callback fired when mappings change
|
|
9
|
+
- **`actionLabel`** `string` (default: `'Mapping'`) — Label text for the add mapping button
|
|
10
|
+
- **`KeyComponent`** `ComponentType` — Custom component for rendering key inputs
|
|
11
|
+
- **`ValueComponent`** `ComponentType` — Custom component for rendering value inputs
|
|
12
|
+
- **`keyProps`** `Partial<CubeTextInputMapperInputProps>` — Additional props passed to each key input
|
|
13
|
+
- **`valueProps`** `Partial<CubeTextInputMapperInputProps>` — Additional props passed to each value input
|
|
14
|
+
- **`allowsCustomValue`** `boolean` — Whether custom (free-form) values are allowed in combobox inputs
|
|
15
|
+
- **`size`** `'small' | 'medium' | 'large'` (default: `'medium'`) — Size of the input fields and buttons
|
|
16
|
+
|
|
17
|
+
### Base Properties
|
|
18
|
+
|
|
19
|
+
Supports [Base properties](../../BaseProperties.md)
|
|
20
|
+
|
|
21
|
+
### Field Properties
|
|
22
|
+
|
|
23
|
+
Supports all [Field properties](../../FieldProperties.md)
|
|
24
|
+
|
|
7
25
|
## Sub-elements
|
|
8
26
|
|
|
9
27
|
The TextInputMapper component is a complex compound component that doesn't expose styled sub-elements via the `styles` prop. Instead, it uses internal layout components and delegates styling to its key and value input components.
|
|
@@ -32,3 +50,15 @@ The TextInputMapper component follows WAI-ARIA guidelines:
|
|
|
32
50
|
- Set appropriate validation on both key and value inputs
|
|
33
51
|
- Use `allowsCustomValue` when users need flexibility in value selection
|
|
34
52
|
- Provide clear feedback when validation fails on individual pairs
|
|
53
|
+
|
|
54
|
+
### Style Properties
|
|
55
|
+
|
|
56
|
+
These properties allow direct style application without using the `styles` prop:
|
|
57
|
+
|
|
58
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
59
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
60
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
61
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
62
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
63
|
+
- **Text:** `textTransform`, `fontWeight`, `fontStyle`
|
|
64
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
@@ -59,7 +59,14 @@ Customizes the field label specifically.
|
|
|
59
59
|
|
|
60
60
|
### Style Properties
|
|
61
61
|
|
|
62
|
-
These properties allow direct style application without using the `styles` prop:
|
|
62
|
+
These properties allow direct style application without using the `styles` prop:
|
|
63
|
+
|
|
64
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
65
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
66
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
67
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
68
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
69
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
63
70
|
|
|
64
71
|
### Field Properties
|
|
65
72
|
|
|
@@ -85,6 +92,7 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
85
92
|
- **`isRequired`** `boolean` — Whether the field is required
|
|
86
93
|
- **`isDisabled`** `boolean` — Whether the field is disabled
|
|
87
94
|
- **`isLoading`** `boolean` — Whether the field is in loading state
|
|
95
|
+
- **`isReadOnly`** `boolean` — Whether the field is read-only
|
|
88
96
|
- **`isHidden`** `boolean` — Whether the field is hidden
|
|
89
97
|
- **`validationState`** `'valid' | 'invalid'` — Validation state of the field
|
|
90
98
|
|
|
@@ -34,6 +34,7 @@ These properties are inherited by all input components within the form:
|
|
|
34
34
|
- **`labelStyles`** `Styles` — Styles applied to field labels
|
|
35
35
|
- **`requiredMark`** `boolean` (default: `true`) — Whether to show required field indicators
|
|
36
36
|
- **`necessityIndicator`** `'icon' | 'label'` (default: `icon`) — Type of necessity indicator
|
|
37
|
+
- **`necessityLabel`** `ReactNode` — Custom label to replace the default necessity indicator text
|
|
37
38
|
- **`isReadOnly`** `boolean` (default: `false`) — Whether fields are read-only by default
|
|
38
39
|
- **`validationState`** `'valid' | 'invalid'` — Validation state for all fields
|
|
39
40
|
- **`validateTrigger`** `'onBlur' | 'onChange' | 'onSubmit'` (default: `onBlur`) — When to trigger validation
|
|
@@ -61,7 +62,14 @@ The Form component does not expose styled sub-elements via the `styles` prop. It
|
|
|
61
62
|
|
|
62
63
|
### Style Properties
|
|
63
64
|
|
|
64
|
-
These properties allow direct style application without using the `styles` prop:
|
|
65
|
+
These properties allow direct style application without using the `styles` prop:
|
|
66
|
+
|
|
67
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
68
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
69
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
70
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
71
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
72
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
65
73
|
|
|
66
74
|
### Modifiers
|
|
67
75
|
|
|
@@ -21,6 +21,17 @@ No component-specific props. Use style props directly.
|
|
|
21
21
|
|
|
22
22
|
Supports [Base properties](../../BaseProperties.md).
|
|
23
23
|
|
|
24
|
+
### Style Properties
|
|
25
|
+
|
|
26
|
+
These properties allow direct style application without using the `styles` prop:
|
|
27
|
+
|
|
28
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
29
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
30
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
31
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
32
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
33
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
34
|
+
|
|
24
35
|
## Examples
|
|
25
36
|
|
|
26
37
|
### Row with gap
|
|
@@ -21,6 +21,17 @@ No component-specific props. Use style props directly.
|
|
|
21
21
|
|
|
22
22
|
Supports [Base properties](../../BaseProperties.md).
|
|
23
23
|
|
|
24
|
+
### Style Properties
|
|
25
|
+
|
|
26
|
+
These properties allow direct style application without using the `styles` prop:
|
|
27
|
+
|
|
28
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
29
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
30
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
31
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
32
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
33
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
34
|
+
|
|
24
35
|
## Examples
|
|
25
36
|
|
|
26
37
|
```jsx
|
|
@@ -24,6 +24,17 @@ A CSS Grid layout container. Arranges children in a grid with configurable colum
|
|
|
24
24
|
|
|
25
25
|
Supports [Base properties](../../BaseProperties.md).
|
|
26
26
|
|
|
27
|
+
### Style Properties
|
|
28
|
+
|
|
29
|
+
These properties allow direct style application without using the `styles` prop:
|
|
30
|
+
|
|
31
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
32
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
33
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
34
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
35
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
36
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
37
|
+
|
|
27
38
|
## Examples
|
|
28
39
|
|
|
29
40
|
### Two columns
|
|
@@ -37,6 +37,17 @@ A section container with optional stretched, floating, or card styling. Renders
|
|
|
37
37
|
|
|
38
38
|
Supports [Base properties](../../BaseProperties.md).
|
|
39
39
|
|
|
40
|
+
### Style Properties
|
|
41
|
+
|
|
42
|
+
These properties allow direct style application without using the `styles` prop:
|
|
43
|
+
|
|
44
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
45
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
46
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
47
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
48
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
49
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
50
|
+
|
|
40
51
|
## Examples
|
|
41
52
|
|
|
42
53
|
### Basic panel
|
|
@@ -25,6 +25,17 @@ An absolutely positioned prefix slot, typically used inside input-like component
|
|
|
25
25
|
|
|
26
26
|
Supports [Base properties](../../BaseProperties.md).
|
|
27
27
|
|
|
28
|
+
### Style Properties
|
|
29
|
+
|
|
30
|
+
These properties allow direct style application without using the `styles` prop:
|
|
31
|
+
|
|
32
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
33
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
34
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
35
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
36
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
37
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
38
|
+
|
|
28
39
|
## Examples
|
|
29
40
|
|
|
30
41
|
```jsx
|
|
@@ -23,11 +23,28 @@ A `Panel` with a draggable resize handle. Users can adjust the panel size by dra
|
|
|
23
23
|
- **`maxSize`** `string | number` (default: `'min(50%, 400px)'` for uncontrolled) — Maximum size constraint
|
|
24
24
|
- **`isDisabled`** `boolean` — Disable resizing
|
|
25
25
|
- **`handlerStyles`** `Styles` — Custom styles for the resize handle
|
|
26
|
+
- **`isStretched`** `boolean` — Position the panel absolutely to fill its container
|
|
27
|
+
- **`isCard`** `boolean` — Apply card styling with border and rounded corners
|
|
28
|
+
- **`isFloating`** `boolean` — Position the panel as a floating overlay
|
|
29
|
+
- **`innerStyles`** `Styles` — Custom styles for the panel's inner content element
|
|
30
|
+
- **`isFlex`** `boolean` — Use flex layout instead of grid for the inner content
|
|
31
|
+
- **`extra`** `ReactNode` — Additional content rendered outside the inner element (e.g., overlays)
|
|
26
32
|
|
|
27
33
|
### Base Properties
|
|
28
34
|
|
|
29
35
|
Extends [Panel](#) and supports [Base properties](../../BaseProperties.md).
|
|
30
36
|
|
|
37
|
+
### Style Properties
|
|
38
|
+
|
|
39
|
+
These properties allow direct style application without using the `styles` prop:
|
|
40
|
+
|
|
41
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
42
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
43
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
44
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
45
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
46
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
47
|
+
|
|
31
48
|
## Examples
|
|
32
49
|
|
|
33
50
|
### Resizable sidebar
|
|
@@ -23,6 +23,17 @@ A flex container that adds consistent gap between children. Supports horizontal
|
|
|
23
23
|
|
|
24
24
|
Supports [Base properties](../../BaseProperties.md).
|
|
25
25
|
|
|
26
|
+
### Style Properties
|
|
27
|
+
|
|
28
|
+
These properties allow direct style application without using the `styles` prop:
|
|
29
|
+
|
|
30
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
31
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
32
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
33
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
34
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
35
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
36
|
+
|
|
26
37
|
## Examples
|
|
27
38
|
|
|
28
39
|
### Horizontal (default)
|
|
@@ -25,6 +25,17 @@ An absolutely positioned suffix slot, typically used inside input-like component
|
|
|
25
25
|
|
|
26
26
|
Supports [Base properties](../../BaseProperties.md).
|
|
27
27
|
|
|
28
|
+
### Style Properties
|
|
29
|
+
|
|
30
|
+
These properties allow direct style application without using the `styles` prop:
|
|
31
|
+
|
|
32
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
33
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
34
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
35
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
36
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
37
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
38
|
+
|
|
28
39
|
## Examples
|
|
29
40
|
|
|
30
41
|
```jsx
|
|
@@ -44,6 +44,7 @@ An accessible tabbed interface for organizing content into multiple panels, show
|
|
|
44
44
|
- **`showScrollArrows`** `boolean | 'auto'` (default: `false`) — Show scroll navigation arrows
|
|
45
45
|
- **`tabPickerPosition`** `'prefix' | 'suffix'` (default: `suffix`) — Position of the tab picker
|
|
46
46
|
- **`scrollArrowsPosition`** `'prefix' | 'suffix'` (default: `suffix`) — Position of the scroll arrows
|
|
47
|
+
- **`tabListPadding`** `string` — Inline padding for the tab list container (e.g., `"2x"`)
|
|
47
48
|
- **`tabListStyles`** `Styles` — Custom styles for the tab list container
|
|
48
49
|
- **`prefixStyles`** `Styles` — Custom styles for the prefix slot
|
|
49
50
|
- **`suffixStyles`** `Styles` — Custom styles for the suffix slot
|
|
@@ -69,7 +70,11 @@ Customizes the root element of the Tabs component.
|
|
|
69
70
|
|
|
70
71
|
### Style Properties
|
|
71
72
|
|
|
72
|
-
These properties allow direct style application without using the `styles` prop:
|
|
73
|
+
These properties allow direct style application without using the `styles` prop:
|
|
74
|
+
|
|
75
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
76
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
77
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`
|
|
73
78
|
|
|
74
79
|
### Modifiers
|
|
75
80
|
|
|
@@ -28,6 +28,18 @@ A tab bar for file-like items with close buttons and dirty state indicators. Des
|
|
|
28
28
|
|
|
29
29
|
Supports [Base properties](../../BaseProperties.md).
|
|
30
30
|
|
|
31
|
+
### Style Properties
|
|
32
|
+
|
|
33
|
+
These properties allow direct style application without using the `styles` prop:
|
|
34
|
+
|
|
35
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
36
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
37
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
38
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
39
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
40
|
+
- **Text:** `textTransform`, `fontWeight`, `fontStyle`
|
|
41
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
42
|
+
|
|
31
43
|
## Examples
|
|
32
44
|
|
|
33
45
|
```jsx
|
|
@@ -29,6 +29,17 @@ Extends Card with:
|
|
|
29
29
|
|
|
30
30
|
Extends [Card](../content/Card.md) and supports [Base properties](../../BaseProperties.md).
|
|
31
31
|
|
|
32
|
+
### Style Properties
|
|
33
|
+
|
|
34
|
+
These properties allow direct style application without using the `styles` prop:
|
|
35
|
+
|
|
36
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
37
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
38
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
39
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
40
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
41
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
42
|
+
|
|
32
43
|
## Examples
|
|
33
44
|
|
|
34
45
|
```jsx
|
|
@@ -24,6 +24,18 @@ Extends [Button](../actions/Button.md) props (`onPress`, `to`, `href`, etc.).
|
|
|
24
24
|
|
|
25
25
|
Supports [Base properties](../../BaseProperties.md).
|
|
26
26
|
|
|
27
|
+
### Style Properties
|
|
28
|
+
|
|
29
|
+
These properties allow direct style application without using the `styles` prop:
|
|
30
|
+
|
|
31
|
+
- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
|
|
32
|
+
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
|
|
33
|
+
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
|
|
34
|
+
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
|
|
35
|
+
- **Color:** `color`, `fill`, `fade`, `image`
|
|
36
|
+
- **Text:** `textTransform`, `fontWeight`, `fontStyle`
|
|
37
|
+
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`
|
|
38
|
+
|
|
27
39
|
## Examples
|
|
28
40
|
|
|
29
41
|
```jsx
|