@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
|
@@ -15,9 +15,17 @@ A compound component system for building application shells with headers, footer
|
|
|
15
15
|
|
|
16
16
|
### Properties
|
|
17
17
|
|
|
18
|
+
- **`doNotOverflow`** `boolean` (default: `false`) — When true, applies `overflow: hidden` to the root element. By default, overflow is visible.
|
|
19
|
+
- **`innerRef`** `ForwardedRef<HTMLDivElement>` — Ref for the inner content element
|
|
20
|
+
- **`innerProps`** `HTMLAttributes<HTMLDivElement>` — Props to spread on the Inner sub-element
|
|
21
|
+
- **`isGrid`** `boolean` — Enable grid display mode
|
|
22
|
+
- **`columns`** `string` — Grid template columns (when `isGrid` is enabled)
|
|
23
|
+
- **`rows`** `string` — Grid template rows (when `isGrid` is enabled)
|
|
24
|
+
- **`template`** `string` — Grid template shorthand (when `isGrid` is enabled)
|
|
25
|
+
|
|
18
26
|
### Base Properties
|
|
19
27
|
|
|
20
|
-
Supports [Base properties](../../
|
|
28
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
21
29
|
|
|
22
30
|
### Styling Properties
|
|
23
31
|
|
|
@@ -32,29 +40,21 @@ Customizes the root Layout element.
|
|
|
32
40
|
|
|
33
41
|
These properties allow direct style application: `width`, `height`, `padding`, `gap`, `fill`, `border`, `flow`.
|
|
34
42
|
|
|
35
|
-
###
|
|
36
|
-
|
|
37
|
-
| Property | Type | Default | Description |
|
|
38
|
-
|----------|------|---------|-------------|
|
|
39
|
-
| doNotOverflow | `boolean` | `false` | When true, applies `overflow: hidden` to the root element. By default, overflow is visible. |
|
|
40
|
-
|
|
41
|
-
### Inner Element Properties
|
|
43
|
+
### Style Defaults
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
- `position` — `relative`
|
|
46
|
+
- `display` — `block`
|
|
47
|
+
- `overflow` — `visible` (switches to `hidden` when `doNotOverflow`)
|
|
48
|
+
- `flexGrow` — `1`
|
|
49
|
+
- `placeSelf` — `stretch`
|
|
50
|
+
- `$content-padding` — `1x` (inherited by all sub-components for consistent inner padding)
|
|
47
51
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
| isGrid | `boolean` | Enable grid display mode |
|
|
55
|
-
| columns | `string` | Grid template columns |
|
|
56
|
-
| rows | `string` | Grid template rows |
|
|
57
|
-
| template | `string` | Grid template shorthand |
|
|
52
|
+
**Inner element:**
|
|
53
|
+
- `position` — `absolute`
|
|
54
|
+
- `inset` — Adjusts based on registered panel sizes
|
|
55
|
+
- `display` — `flex`
|
|
56
|
+
- `flow` — `column`
|
|
57
|
+
- `transition` — `inset` (only when `hasTransition` is enabled on panels)
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
@@ -74,9 +74,7 @@ A horizontal bar typically placed at the top for navigation and actions.
|
|
|
74
74
|
</Layout.Toolbar>
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|----------|------|---------|-------------|
|
|
79
|
-
| children | `ReactNode` | - | Content split between left and right |
|
|
77
|
+
- **`children`** `ReactNode` — Content split between left and right
|
|
80
78
|
|
|
81
79
|
**Sub-elements:**
|
|
82
80
|
- No sub-elements, styles apply to container
|
|
@@ -100,15 +98,13 @@ A semantic page header with title, breadcrumbs, subtitle, and action areas.
|
|
|
100
98
|
/>
|
|
101
99
|
```
|
|
102
100
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
| extra | `ReactNode` | - | Content on the right side |
|
|
111
|
-
| onBack | `() => void` | - | Callback for the back button. When provided, a back arrow button appears to the left of the title. |
|
|
101
|
+
- **`title`** `ReactNode` — Page/section title
|
|
102
|
+
- **`level`** `1-6` (default: `3`) — Heading level for accessibility
|
|
103
|
+
- **`breadcrumbs`** `[label, href][]` — Navigation breadcrumbs
|
|
104
|
+
- **`subtitle`** `ReactNode` — Text below the title
|
|
105
|
+
- **`suffix`** `ReactNode` — Content next to the title
|
|
106
|
+
- **`extra`** `ReactNode` — Content on the right side
|
|
107
|
+
- **`onBack`** `() => void` — Callback for the back button. When provided, a back arrow button appears to the left of the title.
|
|
112
108
|
|
|
113
109
|
**Sub-elements:**
|
|
114
110
|
- `Back` - Back button container (visible when `onBack` is provided)
|
|
@@ -130,12 +126,10 @@ Scrollable content area with automatic overflow handling and custom scrollbar st
|
|
|
130
126
|
</Layout.Content>
|
|
131
127
|
```
|
|
132
128
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
| innerRef | `ForwardedRef<HTMLDivElement>` | - | Ref for the inner content element |
|
|
138
|
-
| innerProps | `HTMLAttributes<HTMLDivElement>` | - | Props to spread on the Inner sub-element |
|
|
129
|
+
- **`scrollbar`** `'default' | 'thin' | 'tiny' | 'none'` (default: `'thin'`) — Scrollbar style
|
|
130
|
+
- **`children`** `ReactNode` — Content to display
|
|
131
|
+
- **`innerRef`** `ForwardedRef<HTMLDivElement>` — Ref for the inner content element
|
|
132
|
+
- **`innerProps`** `HTMLAttributes<HTMLDivElement>` — Props to spread on the Inner sub-element
|
|
139
133
|
|
|
140
134
|
**Scrollbar types:**
|
|
141
135
|
- `default` - Browser default scrollbar
|
|
@@ -161,11 +155,9 @@ Horizontally centered content area with constrained width. Ideal for forms, arti
|
|
|
161
155
|
</Layout.Container>
|
|
162
156
|
```
|
|
163
157
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
| innerRef | `ForwardedRef<HTMLDivElement>` | - | Ref for the inner content element |
|
|
168
|
-
| innerProps | `HTMLAttributes<HTMLDivElement>` | - | Props to spread on the Inner sub-element |
|
|
158
|
+
- **`children`** `ReactNode` — Content to display
|
|
159
|
+
- **`innerRef`** `ForwardedRef<HTMLDivElement>` — Ref for the inner content element
|
|
160
|
+
- **`innerProps`** `HTMLAttributes<HTMLDivElement>` — Props to spread on the Inner sub-element
|
|
169
161
|
|
|
170
162
|
**Width constraints:**
|
|
171
163
|
- Minimum: `40x` (320px at default gap)
|
|
@@ -189,9 +181,7 @@ Centered content area for both horizontal and vertical alignment. Extends `Layou
|
|
|
189
181
|
</Layout.Center>
|
|
190
182
|
```
|
|
191
183
|
|
|
192
|
-
|
|
193
|
-
|----------|------|---------|-------------|
|
|
194
|
-
| children | `ReactNode` | - | Content to display |
|
|
184
|
+
- **`children`** `ReactNode` — Content to display
|
|
195
185
|
|
|
196
186
|
**Styling differences from Container:**
|
|
197
187
|
- Content is centered both horizontally and vertically
|
|
@@ -216,10 +206,8 @@ Footer area with support for inverted content order (primary actions on right).
|
|
|
216
206
|
</Layout.Footer>
|
|
217
207
|
```
|
|
218
208
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
| invertOrder | `boolean` | `false` | Reverse child order (primary on right) |
|
|
222
|
-
| children | `ReactNode` | - | Footer content |
|
|
209
|
+
- **`invertOrder`** `boolean` (default: `false`) — Reverse child order (primary on right)
|
|
210
|
+
- **`children`** `ReactNode` — Footer content
|
|
223
211
|
|
|
224
212
|
---
|
|
225
213
|
|
|
@@ -246,47 +234,42 @@ Collapsible side panel with resizing, transitions, and multiple rendering modes.
|
|
|
246
234
|
</Layout.Panel>
|
|
247
235
|
```
|
|
248
236
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
| innerRef | `ForwardedRef<HTMLDivElement>` | - | Ref for the inner content element |
|
|
271
|
-
| innerProps | `HTMLAttributes<HTMLDivElement>` | - | Props to spread on the Inner sub-element |
|
|
237
|
+
- **`side`** `'left' | 'right' | 'top' | 'bottom'` (default: `'left'`) — Panel position
|
|
238
|
+
- **`mode`** `'default' | 'sticky' | 'overlay' | 'dialog'` (default: `'default'`) — Panel rendering mode
|
|
239
|
+
- **`size`** `number` — Controlled panel size (px)
|
|
240
|
+
- **`defaultSize`** `number` (default: `280`) — Initial uncontrolled size
|
|
241
|
+
- **`minSize`** `number` (default: `200`) — Minimum size constraint
|
|
242
|
+
- **`maxSize`** `number` — Maximum size constraint
|
|
243
|
+
- **`isResizable`** `boolean` (default: `false`) — Enable drag-to-resize
|
|
244
|
+
- **`isOpen`** `boolean` — Controlled open state
|
|
245
|
+
- **`defaultIsOpen`** `boolean` (default: `true`) — Initial open state
|
|
246
|
+
- **`onOpenChange`** `(isOpen: boolean) => void` — Open state callback
|
|
247
|
+
- **`onSizeChange`** `(size: number) => void` — Size change callback
|
|
248
|
+
- **`sizeStorageKey`** `string` — localStorage key for persisting size
|
|
249
|
+
- **`hasTransition`** `boolean` (default: `false`) — Enable slide animation
|
|
250
|
+
- **`isDismissable`** `boolean` (default: `true`) — Allow dismissing overlay/dialog by click or Escape
|
|
251
|
+
- **`overlayStyles`** `Styles` — Styles for the overlay backdrop in overlay mode
|
|
252
|
+
- **`isDialogOpen`** `boolean` — Controlled dialog state (mode="dialog")
|
|
253
|
+
- **`defaultIsDialogOpen`** `boolean` (default: `false`) — Initial dialog state
|
|
254
|
+
- **`onDialogOpenChange`** `(isOpen: boolean) => void` — Dialog state callback
|
|
255
|
+
- **`dialogProps`** `CubeDialogContainerProps` — Props for dialog mode
|
|
256
|
+
- **`innerRef`** `ForwardedRef<HTMLDivElement>` — Ref for the inner content element
|
|
257
|
+
- **`innerProps`** `HTMLAttributes<HTMLDivElement>` — Props to spread on the Inner sub-element
|
|
272
258
|
|
|
273
259
|
**Panel Modes:**
|
|
274
260
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
| `overlay` | Yes | Yes | Panel with dismissable backdrop overlay |
|
|
280
|
-
| `dialog` | No | Via Dialog | Panel renders as a modal dialog |
|
|
261
|
+
- `default` — Standard panel that pushes content aside (propagates size, no overlay)
|
|
262
|
+
- `sticky` — Panel floats over content without affecting layout (no size propagation, no overlay)
|
|
263
|
+
- `overlay` — Panel with dismissable backdrop overlay (propagates size, with overlay)
|
|
264
|
+
- `dialog` — Panel renders as a modal dialog (no size propagation, overlay via Dialog)
|
|
281
265
|
|
|
282
266
|
**Modifiers:**
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
| offscreen | `boolean` | Panel is collapsed |
|
|
267
|
+
|
|
268
|
+
- `side` `'left' | 'right' | 'top' | 'bottom'` — Panel position
|
|
269
|
+
- `drag` `boolean` — Currently being resized
|
|
270
|
+
- `horizontal` `boolean` — Left or right panel
|
|
271
|
+
- `has-transition` `boolean` — Transition enabled
|
|
272
|
+
- `offscreen` `boolean` — Panel is collapsed
|
|
290
273
|
|
|
291
274
|
---
|
|
292
275
|
|
|
@@ -308,19 +291,17 @@ Resizable inline section within a layout. Unlike Layout.Panel (which is absolute
|
|
|
308
291
|
</Layout.Pane>
|
|
309
292
|
```
|
|
310
293
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
| innerRef | `ForwardedRef<HTMLDivElement>` | - | Ref for the inner content element |
|
|
323
|
-
| innerProps | `HTMLAttributes<HTMLDivElement>` | - | Props to spread on the Inner sub-element |
|
|
294
|
+
- **`resizeEdge`** `'right' | 'bottom'` (default: `'right'`) — Edge where resize handler appears
|
|
295
|
+
- **`isResizable`** `boolean` (default: `false`) — Enable resize functionality
|
|
296
|
+
- **`size`** `number | string` — Controlled size (width for right edge, height for bottom edge)
|
|
297
|
+
- **`defaultSize`** `number | string` (default: `200`) — Default size for uncontrolled state
|
|
298
|
+
- **`minSize`** `number | string` — Minimum size constraint
|
|
299
|
+
- **`maxSize`** `number | string` — Maximum size constraint
|
|
300
|
+
- **`onSizeChange`** `(size: number) => void` — Size change callback
|
|
301
|
+
- **`scrollbar`** `ScrollbarType` (default: `'thin'`) — Scrollbar style
|
|
302
|
+
- **`children`** `ReactNode` — Content to display
|
|
303
|
+
- **`innerRef`** `ForwardedRef<HTMLDivElement>` — Ref for the inner content element
|
|
304
|
+
- **`innerProps`** `HTMLAttributes<HTMLDivElement>` — Props to spread on the Inner sub-element
|
|
324
305
|
|
|
325
306
|
**Sub-elements:**
|
|
326
307
|
- `Inner` - Scrollable inner container
|
|
@@ -344,13 +325,11 @@ Header for panels with optional close button.
|
|
|
344
325
|
/>
|
|
345
326
|
```
|
|
346
327
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
| onClose | `() => void` | - | Close button handler |
|
|
353
|
-
| actions | `ReactNode` | - | Custom actions (replaces close) |
|
|
328
|
+
- **`title`** `ReactNode` — Panel title
|
|
329
|
+
- **`level`** `1-6` (default: `2`) — Heading level
|
|
330
|
+
- **`isClosable`** `boolean` (default: `false`) — Show close button
|
|
331
|
+
- **`onClose`** `() => void` — Close button handler
|
|
332
|
+
- **`actions`** `ReactNode` — Custom actions (replaces close)
|
|
354
333
|
|
|
355
334
|
---
|
|
356
335
|
|
|
@@ -373,12 +352,10 @@ A variant of Layout that enables CSS Grid for the content area.
|
|
|
373
352
|
</GridLayout>
|
|
374
353
|
```
|
|
375
354
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
| template | `string` | Grid template shorthand |
|
|
381
|
-
| gap | `string` | Grid gap |
|
|
355
|
+
- **`columns`** `string` — Grid template columns
|
|
356
|
+
- **`rows`** `string` — Grid template rows
|
|
357
|
+
- **`template`** `string` — Grid template shorthand
|
|
358
|
+
- **`gap`** `string` — Grid gap
|
|
382
359
|
|
|
383
360
|
---
|
|
384
361
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Paragraph
|
|
2
|
+
|
|
3
|
+
A block-level text component for body content. Renders as `<p>` and extends `Text` with paragraph-specific defaults.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Body text and descriptions
|
|
8
|
+
- Multi-line content that should flow as paragraphs
|
|
9
|
+
|
|
10
|
+
## Properties
|
|
11
|
+
|
|
12
|
+
Extends Text properties including `preset`, `color`, `weight`, `transform`, `ellipsis`, `nowrap`.
|
|
13
|
+
|
|
14
|
+
### Style Defaults
|
|
15
|
+
|
|
16
|
+
- `display` — `block`
|
|
17
|
+
- `preset` — `p3`
|
|
18
|
+
- `color` — `#dark-02`
|
|
19
|
+
|
|
20
|
+
### Base Properties
|
|
21
|
+
|
|
22
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
<Paragraph>This is a paragraph of body text.</Paragraph>
|
|
28
|
+
|
|
29
|
+
<Paragraph preset="p2" color="#minor">
|
|
30
|
+
Secondary paragraph with custom styling.
|
|
31
|
+
</Paragraph>
|
|
32
|
+
```
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Placeholder
|
|
2
|
+
|
|
3
|
+
A loading placeholder with optional shimmer animation. Used for skeleton-style loading states.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Content loading states
|
|
8
|
+
- Skeleton screens
|
|
9
|
+
- Placeholder for images or text while loading
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`size`** `string` (default: `'2x'`) — Placeholder height
|
|
14
|
+
- **`circle`** `boolean` — Circular shape with `aspect-ratio: 1/1` (e.g. for avatars)
|
|
15
|
+
- **`isStatic`** `boolean` — Disable shimmer animation
|
|
16
|
+
|
|
17
|
+
### Style Defaults
|
|
18
|
+
|
|
19
|
+
- `display` — `block`
|
|
20
|
+
- `fill` — `#dark.10`
|
|
21
|
+
- `height` — `2x`
|
|
22
|
+
- `radius` — `1r` (switches to `round` when `circle`)
|
|
23
|
+
- `opacity` — `.35`
|
|
24
|
+
|
|
25
|
+
### Base Properties
|
|
26
|
+
|
|
27
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
```jsx
|
|
32
|
+
<Placeholder width="200px" height="24px" />
|
|
33
|
+
|
|
34
|
+
<Placeholder circle size="4x" />
|
|
35
|
+
|
|
36
|
+
<Placeholder isStatic width="100%" />
|
|
37
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# PrismCode
|
|
2
|
+
|
|
3
|
+
Syntax-highlighted code block using Prism. Supports multiple languages.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Documentation code examples
|
|
8
|
+
- Displaying code in UI
|
|
9
|
+
- Technical content with syntax highlighting
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`code`** `string` (default: `''`) — The code snippet to highlight
|
|
14
|
+
- **`language`** `string` (default: `'javascript'`) — Language for syntax highlighting (`javascript`, `typescript`, `json`, `yaml`, `bash`, `sql`, `css`, `html`, etc.)
|
|
15
|
+
|
|
16
|
+
### Style Defaults
|
|
17
|
+
|
|
18
|
+
- `margin` — `0`
|
|
19
|
+
- `padding` — `0`
|
|
20
|
+
- `overflow` — `auto`
|
|
21
|
+
- `scrollbar` — `styled`
|
|
22
|
+
|
|
23
|
+
### Base Properties
|
|
24
|
+
|
|
25
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
```jsx
|
|
30
|
+
<PrismCode code="const x = 1;" language="javascript" />
|
|
31
|
+
|
|
32
|
+
<PrismCode
|
|
33
|
+
code={'function hello() {\n return "world";\n}'}
|
|
34
|
+
language="typescript"
|
|
35
|
+
/>
|
|
36
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# PrismDiffCode
|
|
2
|
+
|
|
3
|
+
Displays a diff view of two code snippets with syntax highlighting. Highlights added and removed lines.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Showing code changes
|
|
8
|
+
- Before/after comparisons
|
|
9
|
+
- Code review displays
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`original`** `string` (required) — Original code
|
|
14
|
+
- **`modified`** `string` (required) — Modified code
|
|
15
|
+
- **`language`** `string` — Syntax highlighting language
|
|
16
|
+
|
|
17
|
+
### Base Properties
|
|
18
|
+
|
|
19
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
```jsx
|
|
24
|
+
<PrismDiffCode
|
|
25
|
+
original="const x = 1;"
|
|
26
|
+
modified="const x = 2;"
|
|
27
|
+
language="javascript"
|
|
28
|
+
/>
|
|
29
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Result
|
|
2
|
+
|
|
3
|
+
An empty state or result display with icon, title, and optional content. Supports status presets with built-in icons.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Empty states (no data, no results)
|
|
8
|
+
- Success/error feedback after actions
|
|
9
|
+
- 404, 403, 500 error pages
|
|
10
|
+
- Informational messages
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
- **`status`** `'success' | 'error' | 'info' | 'warning' | 404 | 403 | 500` (default: `'info'`) — Predefined status with corresponding icon
|
|
15
|
+
- **`title`** `ReactNode` — Main title text
|
|
16
|
+
- **`subtitle`** `ReactNode` — Secondary text below title
|
|
17
|
+
- **`icon`** `ReactNode` — Custom icon (overrides status icon)
|
|
18
|
+
- **`isCompact`** `boolean` — Compact horizontal layout
|
|
19
|
+
|
|
20
|
+
### Style Defaults
|
|
21
|
+
|
|
22
|
+
- `display` — `flex` (switches to `grid` when `isCompact`)
|
|
23
|
+
- `flow` — `column`
|
|
24
|
+
- `placeContent` — `center` (switches to `start` when `isCompact`)
|
|
25
|
+
- `placeItems` — `center` (switches to `start` when `isCompact`)
|
|
26
|
+
- `gap` — `3x` (switches to `2x 1x` when `isCompact`)
|
|
27
|
+
- `padding` — `6x 4x` (switches to `0` when `isCompact`)
|
|
28
|
+
- `textAlign` — `center` (switches to `left` when `isCompact`)
|
|
29
|
+
|
|
30
|
+
### Base Properties
|
|
31
|
+
|
|
32
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
33
|
+
|
|
34
|
+
## Examples
|
|
35
|
+
|
|
36
|
+
```jsx
|
|
37
|
+
<Result status="success" title="Saved" subtitle="Your changes have been saved." />
|
|
38
|
+
|
|
39
|
+
<Result status="error" title="Something went wrong" subtitle="Please try again." />
|
|
40
|
+
|
|
41
|
+
<Result status={404} title="Page not found" />
|
|
42
|
+
|
|
43
|
+
<Result status="info" title="No items" subtitle="Add your first item to get started.">
|
|
44
|
+
<Button>Add Item</Button>
|
|
45
|
+
</Result>
|
|
46
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Skeleton
|
|
2
|
+
|
|
3
|
+
A skeleton loading indicator with preset layouts. Composes `Placeholder` components to mimic content structure.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Loading states for complex layouts
|
|
8
|
+
- Progressive content loading
|
|
9
|
+
- Replacing spinners with content-aware placeholders
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`layout`** `'page' | 'content' | 'topbar' | 'menu' | 'stats' | 'tabs' | 'table' | 'chart'` (default: `'page'`) — Preset layout pattern
|
|
14
|
+
- **`lines`** `number` (default: `5`) — Number of placeholder lines (for page, content, menu, tabs layouts)
|
|
15
|
+
- **`rows`** `number` (default: `5`) — Number of table rows (for table layout)
|
|
16
|
+
- **`columns`** `number` (default: `5`) — Number of columns (for table and chart layouts)
|
|
17
|
+
- **`tabs`** `number` (default: `3`) — Number of tabs (for tabs layout)
|
|
18
|
+
- **`cards`** `number` (default: `3`) — Number of stat cards (for stats layout)
|
|
19
|
+
- **`isStatic`** `boolean` (default: `false`) — Disable shimmer animation
|
|
20
|
+
|
|
21
|
+
### Base Properties
|
|
22
|
+
|
|
23
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
<Skeleton layout="content" lines={5} />
|
|
29
|
+
|
|
30
|
+
<Skeleton layout="page" />
|
|
31
|
+
|
|
32
|
+
<Skeleton layout="table" rows={5} columns={4} />
|
|
33
|
+
|
|
34
|
+
<Skeleton layout="chart" columns={8} />
|
|
35
|
+
```
|
|
@@ -23,6 +23,15 @@ Tags are compact, inline elements used to label, categorize, or organize items.
|
|
|
23
23
|
|
|
24
24
|
### Properties
|
|
25
25
|
|
|
26
|
+
- **`children`** `ReactNode` — Tag content
|
|
27
|
+
- **`icon`** `ReactNode` — Icon to display before the tag content
|
|
28
|
+
- **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special' | 'disabled'` (default: `default`) — Visual theme of the tag
|
|
29
|
+
- **`type`** `string` — Deprecated: Use theme instead
|
|
30
|
+
- **`size`** `string` (default: `inline`) — Size of the tag
|
|
31
|
+
- **`isClosable`** `boolean` (default: `false`) — Whether the tag can be closed
|
|
32
|
+
- **`onClose`** `() => void` — Handler called when close button is pressed
|
|
33
|
+
- **`closeButtonStyles`** `Styles` — Custom styles for the close button
|
|
34
|
+
|
|
26
35
|
### Base Properties
|
|
27
36
|
|
|
28
37
|
Tag extends from `Item` component and supports all base design system properties including:
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Text
|
|
2
|
+
|
|
3
|
+
A flexible text component for inline or block text. Renders as `<span>` by default with support for typography presets, ellipsis, and semantic variants.
|
|
4
|
+
|
|
5
|
+
## When to Use
|
|
6
|
+
|
|
7
|
+
- Inline text within other components
|
|
8
|
+
- Labels, captions, and short text content
|
|
9
|
+
- Text that needs ellipsis truncation or custom typography
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- **`as`** `TagName` (default: `'span'`) — HTML element to render
|
|
14
|
+
- **`monospace`** `boolean` — Use monospace font
|
|
15
|
+
- **`ellipsis`** `boolean` — Truncate overflow with ellipsis (sets `display: block`, `nowrap`, `overflow: hidden`)
|
|
16
|
+
- **`nowrap`** `boolean` — Prevent text wrapping
|
|
17
|
+
- **`block`** `boolean` — Display as block element
|
|
18
|
+
- **`italic`** `string` — Font style (maps to `fontStyle`)
|
|
19
|
+
- **`weight`** `string | number` — Font weight (maps to `fontWeight`)
|
|
20
|
+
- **`transform`** `string` — Text transform (maps to `textTransform`)
|
|
21
|
+
|
|
22
|
+
### Style Defaults
|
|
23
|
+
|
|
24
|
+
- `display` — `inline` (switches to `block` when `ellipsis` or `block`)
|
|
25
|
+
- `margin` — `0`
|
|
26
|
+
- `padding` — `0`
|
|
27
|
+
|
|
28
|
+
### Base Properties
|
|
29
|
+
|
|
30
|
+
Supports [Base properties](../../BaseProperties.md).
|
|
31
|
+
|
|
32
|
+
### Variants
|
|
33
|
+
|
|
34
|
+
- `Text.Minor` — Muted/secondary text color
|
|
35
|
+
- `Text.Danger` — Error or destructive text
|
|
36
|
+
- `Text.Success` — Success or positive text
|
|
37
|
+
- `Text.Strong` — Bold emphasis
|
|
38
|
+
- `Text.Emphasis` — Italic emphasis
|
|
39
|
+
- `Text.Placeholder` — Placeholder-style text
|
|
40
|
+
- `Text.Highlight` — Highlighted text (mark element)
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
```jsx
|
|
45
|
+
<Text>Inline text</Text>
|
|
46
|
+
|
|
47
|
+
<Text ellipsis style={{ maxWidth: 200 }}>
|
|
48
|
+
Long text that will be truncated with ellipsis
|
|
49
|
+
</Text>
|
|
50
|
+
|
|
51
|
+
<Text.Minor>Secondary information</Text.Minor>
|
|
52
|
+
|
|
53
|
+
<Text.Danger>Error message</Text.Danger>
|
|
54
|
+
```
|
|
@@ -15,9 +15,15 @@ A text component with built-in overflow handling and auto-tooltips. When text is
|
|
|
15
15
|
|
|
16
16
|
### Properties
|
|
17
17
|
|
|
18
|
+
- **`children`** `ReactNode` — Text content
|
|
19
|
+
- **`highlight`** `string` — String to highlight within children
|
|
20
|
+
- **`highlightCaseSensitive`** `boolean` (default: `false`) — Whether highlight matching is case-sensitive
|
|
21
|
+
- **`tooltip`** `string | boolean | TooltipProviderProps` (default: `true`) — Tooltip configuration. Use true for auto tooltip on overflow, string for custom tooltip text.
|
|
22
|
+
- **`tooltipPlacement`** `Placement` (default: `top`) — Default tooltip placement
|
|
23
|
+
|
|
18
24
|
### Base Properties
|
|
19
25
|
|
|
20
|
-
Supports [Base properties](../../
|
|
26
|
+
Supports [Base properties](../../BaseProperties.md) and all Text properties including `preset`, `color`, `weight`, `transform`, `ellipsis`, `nowrap`.
|
|
21
27
|
|
|
22
28
|
### Styling Properties
|
|
23
29
|
|