@cube-dev/ui-kit 0.121.5 → 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 +15 -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 +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 +11 -1
- package/docs/tasty/styles.md +2 -2
- package/docs/tasty/tasty-static.md +58 -13
- package/package.json +8 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.121.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.121.6 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconAlertTriangle } from "@tabler/icons-react";
|
package/dist/icons/wrap-icon.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -337,6 +337,7 @@ import { SPACE_TOKENS } from "./tokens/spacing.js";
|
|
|
337
337
|
import { SHADOW_TOKENS } from "./tokens/shadows.js";
|
|
338
338
|
import { LAYOUT_TOKENS } from "./tokens/layout.js";
|
|
339
339
|
import { BASE_TOKENS } from "./tokens/base.js";
|
|
340
|
+
import { TYPOGRAPHY_PRESETS, TypographyPreset } from "./tokens/typography.js";
|
|
340
341
|
import { TOKENS } from "./tokens/index.js";
|
|
341
342
|
import { AllBaseProps, BaseProps, BasePropsWithoutChildren, BaseStyleProps, BlockStyleProps, ColorStyleProps, ContainerStyleProps, DimensionStyleProps, FlowStyleProps, OuterStyleProps, PositionStyleProps, Props, ShortGridStyles, TagName, TextStyleProps } from "@tenphi/tasty";
|
|
342
343
|
import * as react from "react";
|
|
@@ -356,5 +357,5 @@ declare const Typography: {
|
|
|
356
357
|
Paragraph: react.ForwardRefExoticComponent<CubeParagraphProps & react.RefAttributes<HTMLElement>>;
|
|
357
358
|
};
|
|
358
359
|
//#endregion
|
|
359
|
-
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, Avatar, Axis, BASE_TOKENS, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerActionProps, BannerLink, BannerLinkProps, BannerProps, BannerTheme, BarChartIcon, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, BellFilledIcon, BellIcon, Block, type BlockStyleProps, BooleanIcon, Button, ButtonGroup, ButtonMods, ButtonSplit, ButtonSplitAction, ButtonSplitContext, ButtonSplitContextValue, ButtonVariant, COLOR_TOKENS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, _CloudLogo as CloudLogo, CodeIcon, _CollectionItem as CollectionItem, type ColorStyleProps, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, type CommandMenuItem, type ContainerStyleProps, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeActionProps, type CubeActiveZoneProps, type CubeAlertDialogProps, CubeAlertProps, type CubeAvatarProps, type CubeBadgeProps, type CubeBlockProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeComboBoxProps, type CubeCommandMenuProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, CubeDateInputProps, CubeDatePickerProps, CubeDateRangePickerProps, CubeDateRangeSeparatedPickerProps, type CubeDialogContainerProps, type CubeDialogFormProps, type CubeDialogFormRef, type CubeDialogProps, type CubeDialogTriggerProps, type CubeDisclosureContentProps, type CubeDisclosureGroupProps, type CubeDisclosureItemProps, type CubeDisclosureProps, type CubeDisclosureTriggerProps, type CubeDividerProps, CubeFieldWrapperProps, CubeFileInputProps, type CubeFileTabProps, CubeFilterListBoxProps, CubeFilterPickerProps, type CubeFlexProps, type CubeFlowProps, type CubeFooterProps, CubeFormInstance, CubeFormProps, type CubeGridLayoutProps, type CubeGridProps, type CubeGridProviderProps, type CubeHeaderProps, CubeHotKeysProps, CubeHueSliderProps, CubeIcon, CubeIconProps, CubeItemActionProps, type CubeItemBadgeProps, type CubeItemProps as CubeItemBaseProps, CubeItemButtonProps, CubeItemButtonProps as ItemButtonProps, type CubeItemCardProps, type CubeItemProps, CubeLabelProps, type CubeLayoutContentProps, type CubeLayoutFooterProps, type CubeLayoutHeaderProps, type CubeLayoutPaneProps, type CubeLayoutPanelHeaderProps, type CubeLayoutPanelProps, type CubeLayoutProps, type CubeLayoutToolbarProps, type CubeListBoxProps, CubeLoadingAnimationProps, type CubeMenuProps, CubeMenuSectionProps, type CubeMenuTriggerProps, CubeNumberInputProps, type CubePanelProps, type CubeParagraphProps, CubePasswordInputProps, CubePauseIcon, CubePickerProps, type CubePlaceholderProps, CubePlayIcon, type CubePrefixProps, type CubePrismCodeProps, type CubePrismDiffCodeProps, CubeRadioGroupProps, CubeRadioProps, CubeRangeSliderProps, CubeResetButtonProps, type CubeResizablePanelProps, type CubeResultProps, type CubeResultStatus, type CubeRootProps, type CubeSearchInputProps, type CubeSelectBaseProps, type CubeSelectProps, type CubeSkeletonProps, CubeSliderBaseProps, CubeSliderProps, type CubeSpaceProps, CubeSpinProps, type CubeStatsCard, CubeSubMenuTriggerProps, CubeSubmitButtonProps, CubeAlertProps as CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTabsActionProps, CubeTabsProps, type CubeTagProps, CubeTextAreaProps, CubeTextInputBaseProps, CubeTextInputMapperInputProps, CubeTextInputMapperProps, CubeTextInputProps, type CubeTextItemProps, type CubeTextProps, CubeTimeInputProps, type CubeTitleProps, type CubeTooltipProps, type CubeTooltipProviderProps, type CubeTooltipTriggerProps, CubeUseActionProps, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DangerIcon, DashboardIcon, DatabaseIcon, DateFieldBase, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, type DimensionStyleProps, DirectionIcon, DirectionIconProps, _Disclosure as Disclosure, type DisclosureStateContext, DismissReason, DisplayTransition, type DisplayTransitionProps, Divider, DonutIcon, DownIcon, DynamicIcon, EditIcon, EventBusContextValue, EventBusListener, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldBaseProps, FieldCoreProps, FieldReturnValue, FieldTypes, FieldWrapper, Fields, _FileInput as FileInput, FileTabs, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormContext, ForwardIcon, Granularity, Grid, GridLayout, GridProvider, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, IconRenderFn, InfoCircleIcon, InfoIcon, Input, _Item as Item, ItemAction, CubeItemActionProps as ItemActionProps, ItemActionProvider, ItemActionProviderProps, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, _Label as Label, LabelPosition, Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, NotAllowedIcon, Notification, NotificationAction, NotificationActionProps, NotificationBaseOptions, NotificationCard, NotificationCardProps, NotificationComponent, NotificationHandle, NotificationItem, NotificationItemProps, NotificationOptions, NotificationProps, NotificationType, NotificationsApi, Number123Icon, NumberIcon, _NumberInput as NumberInput, type OuterStyleProps, OverlayNotificationOptions, OverlayProvider, OverlayProviderProps, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, type Path, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, PersistentNotificationItem, PersistentNotificationsList, PersistentNotificationsListProps, Picker, PieChartIcon, Placeholder, PlacementAxis, PlayCircleIcon, PlayIcon, PlusIcon, Portal, type PortalProps, type PositionStyleProps, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, ProgressToastEmpty, ProgressToastOptions, type Props, Provider, type ProviderProps, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, RangeValue, type RelativeRoutingType, ReloadIcon, RenderCache, RenderCacheProps, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, ResolvedIcon, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SchemeIcon, type ScrollbarType, SearchFieldProps, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SettingsIcon, ShieldFilledIcon, ShieldIcon, type ShortGridStyles, SizeKey, SizeName, Skeleton, SlashIcon, __Slider as Slider, SliderState, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StoredNotificationOptions, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, _Switch as Switch, SwitchIcon, TOKENS, Tab, TabSize, TabType, TableIcon, Tabs, TabsAction, TabsActionPosition, _Tag as Tag, type TagName, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, type TextStyleProps, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, type To, Toast, ToastApi, ToastComponent, ToastData, ToastItem, ToastItemProps, ToastProgressProps, ToastProps, ToastType, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, TrashIcon, Typography, UnlockIcon, UpIcon, UseAnchoredMenuReturn, UseContextMenuReturn, UseControlledFocusVisibleResult, UseFieldParams, UseFieldProps, UseFieldPropsParams, UserGroupIcon, UserIcon, UserLockIcon, ValidateTrigger, ValidationResult, ValidationRule, ValidationRuleBase, ValidationState, ViewIcon, WarningFilledIcon, WarningIcon, chain, chainRaf, copy, defaultNavigationAdapter, extractFieldWrapperProps, extractModule, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getThemeIcon, isTextOnly, mergeProps, mergeRefs, modAttrs, openLink, parseAbsoluteDate, parseTo, performClickHandler, propDeprecationWarning, random, range, resolveIcon, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useItemActionContext, useLayoutEffect, useLocalStorage, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePersistentNotifications, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useViewportSize, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
360
|
+
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, Avatar, Axis, BASE_TOKENS, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerActionProps, BannerLink, BannerLinkProps, BannerProps, BannerTheme, BarChartIcon, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, BellFilledIcon, BellIcon, Block, type BlockStyleProps, BooleanIcon, Button, ButtonGroup, ButtonMods, ButtonSplit, ButtonSplitAction, ButtonSplitContext, ButtonSplitContextValue, ButtonVariant, COLOR_TOKENS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, _CloudLogo as CloudLogo, CodeIcon, _CollectionItem as CollectionItem, type ColorStyleProps, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, type CommandMenuItem, type ContainerStyleProps, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeActionProps, type CubeActiveZoneProps, type CubeAlertDialogProps, CubeAlertProps, type CubeAvatarProps, type CubeBadgeProps, type CubeBlockProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeComboBoxProps, type CubeCommandMenuProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, CubeDateInputProps, CubeDatePickerProps, CubeDateRangePickerProps, CubeDateRangeSeparatedPickerProps, type CubeDialogContainerProps, type CubeDialogFormProps, type CubeDialogFormRef, type CubeDialogProps, type CubeDialogTriggerProps, type CubeDisclosureContentProps, type CubeDisclosureGroupProps, type CubeDisclosureItemProps, type CubeDisclosureProps, type CubeDisclosureTriggerProps, type CubeDividerProps, CubeFieldWrapperProps, CubeFileInputProps, type CubeFileTabProps, CubeFilterListBoxProps, CubeFilterPickerProps, type CubeFlexProps, type CubeFlowProps, type CubeFooterProps, CubeFormInstance, CubeFormProps, type CubeGridLayoutProps, type CubeGridProps, type CubeGridProviderProps, type CubeHeaderProps, CubeHotKeysProps, CubeHueSliderProps, CubeIcon, CubeIconProps, CubeItemActionProps, type CubeItemBadgeProps, type CubeItemProps as CubeItemBaseProps, CubeItemButtonProps, CubeItemButtonProps as ItemButtonProps, type CubeItemCardProps, type CubeItemProps, CubeLabelProps, type CubeLayoutContentProps, type CubeLayoutFooterProps, type CubeLayoutHeaderProps, type CubeLayoutPaneProps, type CubeLayoutPanelHeaderProps, type CubeLayoutPanelProps, type CubeLayoutProps, type CubeLayoutToolbarProps, type CubeListBoxProps, CubeLoadingAnimationProps, type CubeMenuProps, CubeMenuSectionProps, type CubeMenuTriggerProps, CubeNumberInputProps, type CubePanelProps, type CubeParagraphProps, CubePasswordInputProps, CubePauseIcon, CubePickerProps, type CubePlaceholderProps, CubePlayIcon, type CubePrefixProps, type CubePrismCodeProps, type CubePrismDiffCodeProps, CubeRadioGroupProps, CubeRadioProps, CubeRangeSliderProps, CubeResetButtonProps, type CubeResizablePanelProps, type CubeResultProps, type CubeResultStatus, type CubeRootProps, type CubeSearchInputProps, type CubeSelectBaseProps, type CubeSelectProps, type CubeSkeletonProps, CubeSliderBaseProps, CubeSliderProps, type CubeSpaceProps, CubeSpinProps, type CubeStatsCard, CubeSubMenuTriggerProps, CubeSubmitButtonProps, CubeAlertProps as CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTabsActionProps, CubeTabsProps, type CubeTagProps, CubeTextAreaProps, CubeTextInputBaseProps, CubeTextInputMapperInputProps, CubeTextInputMapperProps, CubeTextInputProps, type CubeTextItemProps, type CubeTextProps, CubeTimeInputProps, type CubeTitleProps, type CubeTooltipProps, type CubeTooltipProviderProps, type CubeTooltipTriggerProps, CubeUseActionProps, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DangerIcon, DashboardIcon, DatabaseIcon, DateFieldBase, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, type DimensionStyleProps, DirectionIcon, DirectionIconProps, _Disclosure as Disclosure, type DisclosureStateContext, DismissReason, DisplayTransition, type DisplayTransitionProps, Divider, DonutIcon, DownIcon, DynamicIcon, EditIcon, EventBusContextValue, EventBusListener, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldBaseProps, FieldCoreProps, FieldReturnValue, FieldTypes, FieldWrapper, Fields, _FileInput as FileInput, FileTabs, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormContext, ForwardIcon, Granularity, Grid, GridLayout, GridProvider, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, IconRenderFn, InfoCircleIcon, InfoIcon, Input, _Item as Item, ItemAction, CubeItemActionProps as ItemActionProps, ItemActionProvider, ItemActionProviderProps, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, _Label as Label, LabelPosition, Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, NotAllowedIcon, Notification, NotificationAction, NotificationActionProps, NotificationBaseOptions, NotificationCard, NotificationCardProps, NotificationComponent, NotificationHandle, NotificationItem, NotificationItemProps, NotificationOptions, NotificationProps, NotificationType, NotificationsApi, Number123Icon, NumberIcon, _NumberInput as NumberInput, type OuterStyleProps, OverlayNotificationOptions, OverlayProvider, OverlayProviderProps, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, type Path, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, PersistentNotificationItem, PersistentNotificationsList, PersistentNotificationsListProps, Picker, PieChartIcon, Placeholder, PlacementAxis, PlayCircleIcon, PlayIcon, PlusIcon, Portal, type PortalProps, type PositionStyleProps, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, ProgressToastEmpty, ProgressToastOptions, type Props, Provider, type ProviderProps, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, RangeValue, type RelativeRoutingType, ReloadIcon, RenderCache, RenderCacheProps, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, ResolvedIcon, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SchemeIcon, type ScrollbarType, SearchFieldProps, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SettingsIcon, ShieldFilledIcon, ShieldIcon, type ShortGridStyles, SizeKey, SizeName, Skeleton, SlashIcon, __Slider as Slider, SliderState, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StoredNotificationOptions, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, _Switch as Switch, SwitchIcon, TOKENS, TYPOGRAPHY_PRESETS, Tab, TabSize, TabType, TableIcon, Tabs, TabsAction, TabsActionPosition, _Tag as Tag, type TagName, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, type TextStyleProps, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, type To, Toast, ToastApi, ToastComponent, ToastData, ToastItem, ToastItemProps, ToastProgressProps, ToastProps, ToastType, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, TrashIcon, Typography, TypographyPreset, UnlockIcon, UpIcon, UseAnchoredMenuReturn, UseContextMenuReturn, UseControlledFocusVisibleResult, UseFieldParams, UseFieldProps, UseFieldPropsParams, UserGroupIcon, UserIcon, UserLockIcon, ValidateTrigger, ValidationResult, ValidationRule, ValidationRuleBase, ValidationState, ViewIcon, WarningFilledIcon, WarningIcon, chain, chainRaf, copy, defaultNavigationAdapter, extractFieldWrapperProps, extractModule, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getThemeIcon, isTextOnly, mergeProps, mergeRefs, modAttrs, openLink, parseAbsoluteDate, parseTo, performClickHandler, propDeprecationWarning, random, range, resolveIcon, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useItemActionContext, useLayoutEffect, useLocalStorage, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePersistentNotifications, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useViewportSize, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
360
361
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.121.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.121.6 | Cube Dev Team */
|
|
2
2
|
import { chain } from "./utils/react/chain.js";
|
|
3
3
|
import { forwardRefWithGenerics } from "./utils/react/forwardRefWithGenerics.js";
|
|
4
4
|
import { isTextOnly } from "./utils/react/isTextOnly.js";
|
|
@@ -206,6 +206,7 @@ import { LAYOUT_TOKENS } from "./tokens/layout.js";
|
|
|
206
206
|
import { SHADOW_TOKENS } from "./tokens/shadows.js";
|
|
207
207
|
import { SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS } from "./tokens/sizes.js";
|
|
208
208
|
import { SPACE_TOKENS } from "./tokens/spacing.js";
|
|
209
|
+
import { TYPOGRAPHY_PRESETS } from "./tokens/typography.js";
|
|
209
210
|
import { TOKENS } from "./tokens/index.js";
|
|
210
211
|
import { DialogContainer } from "./components/overlays/Dialog/DialogContainer.js";
|
|
211
212
|
import { Content } from "./components/content/Content.js";
|
|
@@ -315,5 +316,5 @@ const Typography = {
|
|
|
315
316
|
};
|
|
316
317
|
|
|
317
318
|
//#endregion
|
|
318
|
-
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, AreaChartIcon, Avatar, BASE_TOKENS, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerLink, BarChartIcon, BellFilledIcon, BellIcon, Block, BooleanIcon, Button, ButtonGroup, ButtonSplit, ButtonSplitContext, COLOR_TOKENS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, _CloudLogo as CloudLogo, CodeIcon, _CollectionItem as CollectionItem, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeIcon, CubePauseIcon, CubePlayIcon, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DangerIcon, DashboardIcon, DatabaseIcon, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, DirectionIcon, _Disclosure as Disclosure, DisplayTransition, Divider, DonutIcon, DownIcon, EditIcon, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldWrapper, _FileInput as FileInput, FileTabs, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormContext, ForwardIcon, Grid, GridLayout, GridProvider, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, InfoCircleIcon, InfoIcon, Input, _Item as Item, ItemAction, ItemActionProvider, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, _Label as Label, Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuItem, MenuSection, _MenuTrigger as MenuTrigger, MoreIcon, NotAllowedIcon, Notification, NotificationAction, NotificationCard, NotificationItem, Number123Icon, NumberIcon, _NumberInput as NumberInput, OverlayProvider, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, PersistentNotificationsList, Picker, PieChartIcon, Placeholder, PlayCircleIcon, PlayIcon, PlusIcon, Portal, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, Provider, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, ReloadIcon, RenderCache, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SchemeIcon, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SettingsIcon, ShieldFilledIcon, ShieldIcon, Skeleton, SlashIcon, __Slider as Slider, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, _Switch as Switch, SwitchIcon, TOKENS, Tab, TableIcon, Tabs, TabsAction, _Tag as Tag, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, Toast, ToastItem, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, TrashIcon, Typography, UnlockIcon, UpIcon, UserGroupIcon, UserIcon, UserLockIcon, ViewIcon, WarningFilledIcon, WarningIcon, chain, chainRaf, copy, defaultNavigationAdapter, extractFieldWrapperProps, extractModule, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getThemeIcon, isTextOnly, mergeProps, mergeRefs, modAttrs, openLink, parseAbsoluteDate, parseTo, performClickHandler, propDeprecationWarning, random, range, resolveIcon, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useItemActionContext, useLayoutEffect, useLocalStorage, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePersistentNotifications, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useViewportSize, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
319
|
+
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, AreaChartIcon, Avatar, BASE_TOKENS, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerLink, BarChartIcon, BellFilledIcon, BellIcon, Block, BooleanIcon, Button, ButtonGroup, ButtonSplit, ButtonSplitContext, COLOR_TOKENS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, _CloudLogo as CloudLogo, CodeIcon, _CollectionItem as CollectionItem, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeIcon, CubePauseIcon, CubePlayIcon, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DangerIcon, DashboardIcon, DatabaseIcon, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, DirectionIcon, _Disclosure as Disclosure, DisplayTransition, Divider, DonutIcon, DownIcon, EditIcon, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldWrapper, _FileInput as FileInput, FileTabs, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormContext, ForwardIcon, Grid, GridLayout, GridProvider, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, InfoCircleIcon, InfoIcon, Input, _Item as Item, ItemAction, ItemActionProvider, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, _Label as Label, Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuItem, MenuSection, _MenuTrigger as MenuTrigger, MoreIcon, NotAllowedIcon, Notification, NotificationAction, NotificationCard, NotificationItem, Number123Icon, NumberIcon, _NumberInput as NumberInput, OverlayProvider, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, PersistentNotificationsList, Picker, PieChartIcon, Placeholder, PlayCircleIcon, PlayIcon, PlusIcon, Portal, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, Provider, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, ReloadIcon, RenderCache, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SchemeIcon, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SettingsIcon, ShieldFilledIcon, ShieldIcon, Skeleton, SlashIcon, __Slider as Slider, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, _Switch as Switch, SwitchIcon, TOKENS, TYPOGRAPHY_PRESETS, Tab, TableIcon, Tabs, TabsAction, _Tag as Tag, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, Toast, ToastItem, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, TrashIcon, Typography, UnlockIcon, UpIcon, UserGroupIcon, UserIcon, UserLockIcon, ViewIcon, WarningFilledIcon, WarningIcon, chain, chainRaf, copy, defaultNavigationAdapter, extractFieldWrapperProps, extractModule, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getThemeIcon, isTextOnly, mergeProps, mergeRefs, modAttrs, openLink, parseAbsoluteDate, parseTo, performClickHandler, propDeprecationWarning, random, range, resolveIcon, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useItemActionContext, useLayoutEffect, useLocalStorage, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePersistentNotifications, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useViewportSize, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
319
320
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Text"],"sources":["../src/index.ts"],"sourcesContent":["import { CubeParagraphProps, Paragraph } from './components/content/Paragraph';\nimport { CubeTextProps, Text } from './components/content/Text';\nimport { CubeTextItemProps, TextItem } from './components/content/TextItem';\nimport { CubeTitleProps, Title } from './components/content/Title';\n\nimport './version';\n\nexport { Section } from 'react-stately';\nexport type { MenuTriggerState } from 'react-stately';\n\nexport * from '@internationalized/date';\n\n// generic components\nexport { CollectionItem } from './components/CollectionItem';\nexport { Block } from './components/Block';\nexport type { CubeBlockProps } from './components/Block';\nexport { Item } from './components/content/Item/Item';\nexport type { CubeItemProps } from './components/content/Item/Item';\n// @deprecated Use `Item` instead\nexport { ItemBase } from './components/content/Item/Item';\n// @deprecated Use `CubeItemProps` instead\nexport type { CubeItemBaseProps } from './components/content/Item/Item';\nexport { ItemCard } from './components/content/ItemCard/ItemCard';\nexport type { CubeItemCardProps } from './components/content/ItemCard/ItemCard';\nexport { ItemBadge } from './components/content/ItemBadge/ItemBadge';\nexport type { CubeItemBadgeProps } from './components/content/ItemBadge/ItemBadge';\nexport { ActiveZone } from './components/content/ActiveZone/ActiveZone';\nexport type { CubeActiveZoneProps } from './components/content/ActiveZone/ActiveZone';\nexport * from './components/content/CopySnippet';\nexport * from './components/content/CopyPasteBlock';\nexport { Grid } from './components/layout/Grid';\nexport type { CubeGridProps } from './components/layout/Grid';\nexport { Flex } from './components/layout/Flex';\nexport type { CubeFlexProps } from './components/layout/Flex';\nexport { Link } from './components/actions/Link/Link';\nexport { Space } from './components/layout/Space';\nexport type { CubeSpaceProps } from './components/layout/Space';\nexport { Flow } from './components/layout/Flow';\nexport type { CubeFlowProps } from './components/layout/Flow';\nexport { Panel } from './components/layout/Panel';\nexport type { CubePanelProps } from './components/layout/Panel';\nexport { ResizablePanel } from './components/layout/ResizablePanel';\nexport type { CubeResizablePanelProps } from './components/layout/ResizablePanel';\nexport { Root } from './components/Root';\nexport type { CubeRootProps } from './components/Root';\nexport { DisplayTransition } from './components/helpers/DisplayTransition/DisplayTransition';\nexport type { DisplayTransitionProps } from './components/helpers/DisplayTransition/DisplayTransition';\n\n// Navigation types and helpers\nexport type {\n NavigationAdapter,\n NavigateLike,\n Path,\n To,\n NavigateArg,\n NavigateOptions,\n RelativeRoutingType,\n} from './providers/navigation.types';\nexport { defaultNavigationAdapter } from './providers/navigationAdapter.default';\nexport { PrismCode } from './components/content/PrismCode/PrismCode';\nexport type { CubePrismCodeProps } from './components/content/PrismCode/PrismCode';\nexport { PrismDiffCode } from './components/content/PrismDiffCode/PrismDiffCode';\nexport type { CubePrismDiffCodeProps } from './components/content/PrismDiffCode/PrismDiffCode';\nexport { Prefix } from './components/layout/Prefix';\nexport type { CubePrefixProps } from './components/layout/Prefix';\nexport { Suffix } from './components/layout/Suffix';\nexport type { CubeSuffixProps } from './components/layout/Suffix';\nexport { Divider } from './components/content/Divider';\nexport type { CubeDividerProps } from './components/content/Divider';\nexport { Disclosure } from './components/content/Disclosure';\nexport type {\n CubeDisclosureProps,\n CubeDisclosureTriggerProps,\n CubeDisclosureContentProps,\n CubeDisclosureGroupProps,\n CubeDisclosureItemProps,\n DisclosureStateContext,\n} from './components/content/Disclosure';\nexport { GridProvider } from './components/GridProvider';\nexport type { CubeGridProviderProps } from './components/GridProvider';\nexport { Content } from './components/content/Content';\nexport type { CubeContentProps } from './components/content/Content';\nexport { Header } from './components/content/Header';\nexport type { CubeHeaderProps } from './components/content/Header';\nexport { Footer } from './components/content/Footer';\nexport type { CubeFooterProps } from './components/content/Footer';\nexport { Result } from './components/content/Result/Result';\nexport type {\n CubeResultProps,\n CubeResultStatus,\n} from './components/content/Result/Result';\nexport { Layout, GridLayout } from './components/content/Layout';\nexport type {\n CubeLayoutProps,\n CubeGridLayoutProps,\n CubeLayoutToolbarProps,\n CubeLayoutHeaderProps,\n CubeLayoutFooterProps,\n CubeLayoutContentProps,\n CubeLayoutPaneProps,\n CubeLayoutPanelProps,\n CubeLayoutPanelHeaderProps,\n ScrollbarType,\n} from './components/content/Layout';\n\n// atoms\nexport * from './components/status';\nexport { Card } from './components/content/Card/Card';\nexport type { CubeCardProps } from './components/content/Card/Card';\nexport * from './components/actions';\nexport { Placeholder } from './components/content/Placeholder/Placeholder';\nexport type { CubePlaceholderProps } from './components/content/Placeholder/Placeholder';\nexport { Skeleton } from './components/content/Skeleton/Skeleton';\nexport type { CubeSkeletonProps } from './components/content/Skeleton/Skeleton';\nexport { CloudLogo } from './components/other/CloudLogo/CloudLogo';\nexport { Badge } from './components/content/Badge/Badge';\nexport type { CubeBadgeProps } from './components/content/Badge/Badge';\nexport { Tag } from './components/content/Tag/Tag';\nexport type { CubeTagProps } from './components/content/Tag/Tag';\nexport * from './components/content/HotKeys';\nexport type { CubeSearchInputProps } from './components/fields/SearchInput/SearchInput';\nexport type { CubeListBoxProps } from './components/fields/ListBox';\nexport { ListBox } from './components/fields/ListBox';\nexport { Menu } from './components/actions/Menu/Menu';\nexport type { CubeMenuProps } from './components/actions/Menu/Menu';\nexport { MenuTrigger } from './components/actions/Menu/MenuTrigger';\nexport { SubMenuTrigger } from './components/actions/Menu/SubMenuTrigger';\nexport type { CubeMenuTriggerProps } from './components/actions/Menu/MenuTrigger';\nexport { CommandMenu } from './components/actions/CommandMenu';\nexport type {\n CubeCommandMenuProps,\n CommandMenuItem,\n} from './components/actions/CommandMenu';\nexport { Select, ListBoxPopup } from './components/fields/Select/Select';\nexport type {\n CubeSelectProps,\n CubeSelectBaseProps,\n} from './components/fields/Select/Select';\n\nexport { Avatar } from './components/content/Avatar/Avatar';\nexport type { CubeAvatarProps } from './components/content/Avatar/Avatar';\nexport {\n Dialog,\n DialogTrigger,\n DialogContainer,\n DialogForm,\n useDialogContainer,\n} from './components/overlays/Dialog';\nexport type {\n CubeDialogTriggerProps,\n CubeDialogContainerProps,\n CubeDialogProps,\n CubeDialogFormRef,\n CubeDialogFormProps,\n} from './components/overlays/Dialog';\nexport { Tooltip } from './components/overlays/Tooltip/Tooltip';\nexport type { CubeTooltipProps } from './components/overlays/Tooltip/Tooltip';\nexport { TooltipTrigger } from './components/overlays/Tooltip/TooltipTrigger';\nexport type { CubeTooltipTriggerProps } from './components/overlays/Tooltip/TooltipTrigger';\nexport { TooltipProvider } from './components/overlays/Tooltip/TooltipProvider';\nexport type { CubeTooltipProviderProps } from './components/overlays/Tooltip/TooltipProvider';\n\nexport * from './components/content/Alert';\n\n// navigation\nexport * from './components/navigation';\n\n// molecules\nexport { FileTabs } from './components/organisms/FileTabs/FileTabs';\nexport type { CubeFileTabProps } from './components/organisms/FileTabs/FileTabs';\nexport { StatsCard } from './components/organisms/StatsCard/StatsCard';\nexport type { CubeStatsCard } from './components/organisms/StatsCard/StatsCard';\nexport {\n AlertDialog,\n useAlertDialogAPI,\n} from './components/overlays/AlertDialog';\nexport type { CubeAlertDialogProps } from './components/overlays/AlertDialog';\n\nexport * from '@tenphi/tasty';\n\nexport const Typography = {\n Text: Text,\n Title,\n Paragraph,\n};\n\nexport { Text, TextItem, Title, Paragraph };\nexport type {\n CubeTextProps,\n CubeTextItemProps,\n CubeTitleProps,\n CubeParagraphProps,\n};\n\nexport { Provider, useProviderProps } from './provider';\nexport type { ProviderProps } from './provider';\nexport { Portal } from './components/portal';\nexport type { PortalProps } from './components/portal';\nexport * from './components/fields';\n\nexport type {\n TagName,\n AllBaseProps,\n BaseProps,\n BaseStyleProps,\n DimensionStyleProps,\n ColorStyleProps,\n OuterStyleProps,\n PositionStyleProps,\n TextStyleProps,\n BlockStyleProps,\n ContainerStyleProps,\n BasePropsWithoutChildren,\n Props,\n FlowStyleProps,\n ShortGridStyles,\n} from '@tenphi/tasty';\n\nexport * from './utils';\nexport { default as copy } from 'clipboard-copy';\nexport * from '@react-aria/ssr';\nexport * from './components/overlays/Toast';\nexport * from './components/overlays/Notifications';\nexport * from './shared';\nexport * from './icons';\nexport * from './components/form';\nexport * from './tokens';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Text"],"sources":["../src/index.ts"],"sourcesContent":["import { CubeParagraphProps, Paragraph } from './components/content/Paragraph';\nimport { CubeTextProps, Text } from './components/content/Text';\nimport { CubeTextItemProps, TextItem } from './components/content/TextItem';\nimport { CubeTitleProps, Title } from './components/content/Title';\n\nimport './version';\n\nexport { Section } from 'react-stately';\nexport type { MenuTriggerState } from 'react-stately';\n\nexport * from '@internationalized/date';\n\n// generic components\nexport { CollectionItem } from './components/CollectionItem';\nexport { Block } from './components/Block';\nexport type { CubeBlockProps } from './components/Block';\nexport { Item } from './components/content/Item/Item';\nexport type { CubeItemProps } from './components/content/Item/Item';\n// @deprecated Use `Item` instead\nexport { ItemBase } from './components/content/Item/Item';\n// @deprecated Use `CubeItemProps` instead\nexport type { CubeItemBaseProps } from './components/content/Item/Item';\nexport { ItemCard } from './components/content/ItemCard/ItemCard';\nexport type { CubeItemCardProps } from './components/content/ItemCard/ItemCard';\nexport { ItemBadge } from './components/content/ItemBadge/ItemBadge';\nexport type { CubeItemBadgeProps } from './components/content/ItemBadge/ItemBadge';\nexport { ActiveZone } from './components/content/ActiveZone/ActiveZone';\nexport type { CubeActiveZoneProps } from './components/content/ActiveZone/ActiveZone';\nexport * from './components/content/CopySnippet';\nexport * from './components/content/CopyPasteBlock';\nexport { Grid } from './components/layout/Grid';\nexport type { CubeGridProps } from './components/layout/Grid';\nexport { Flex } from './components/layout/Flex';\nexport type { CubeFlexProps } from './components/layout/Flex';\nexport { Link } from './components/actions/Link/Link';\nexport { Space } from './components/layout/Space';\nexport type { CubeSpaceProps } from './components/layout/Space';\nexport { Flow } from './components/layout/Flow';\nexport type { CubeFlowProps } from './components/layout/Flow';\nexport { Panel } from './components/layout/Panel';\nexport type { CubePanelProps } from './components/layout/Panel';\nexport { ResizablePanel } from './components/layout/ResizablePanel';\nexport type { CubeResizablePanelProps } from './components/layout/ResizablePanel';\nexport { Root } from './components/Root';\nexport type { CubeRootProps } from './components/Root';\nexport { DisplayTransition } from './components/helpers/DisplayTransition/DisplayTransition';\nexport type { DisplayTransitionProps } from './components/helpers/DisplayTransition/DisplayTransition';\n\n// Navigation types and helpers\nexport type {\n NavigationAdapter,\n NavigateLike,\n Path,\n To,\n NavigateArg,\n NavigateOptions,\n RelativeRoutingType,\n} from './providers/navigation.types';\nexport { defaultNavigationAdapter } from './providers/navigationAdapter.default';\nexport { PrismCode } from './components/content/PrismCode/PrismCode';\nexport type { CubePrismCodeProps } from './components/content/PrismCode/PrismCode';\nexport { PrismDiffCode } from './components/content/PrismDiffCode/PrismDiffCode';\nexport type { CubePrismDiffCodeProps } from './components/content/PrismDiffCode/PrismDiffCode';\nexport { Prefix } from './components/layout/Prefix';\nexport type { CubePrefixProps } from './components/layout/Prefix';\nexport { Suffix } from './components/layout/Suffix';\nexport type { CubeSuffixProps } from './components/layout/Suffix';\nexport { Divider } from './components/content/Divider';\nexport type { CubeDividerProps } from './components/content/Divider';\nexport { Disclosure } from './components/content/Disclosure';\nexport type {\n CubeDisclosureProps,\n CubeDisclosureTriggerProps,\n CubeDisclosureContentProps,\n CubeDisclosureGroupProps,\n CubeDisclosureItemProps,\n DisclosureStateContext,\n} from './components/content/Disclosure';\nexport { GridProvider } from './components/GridProvider';\nexport type { CubeGridProviderProps } from './components/GridProvider';\nexport { Content } from './components/content/Content';\nexport type { CubeContentProps } from './components/content/Content';\nexport { Header } from './components/content/Header';\nexport type { CubeHeaderProps } from './components/content/Header';\nexport { Footer } from './components/content/Footer';\nexport type { CubeFooterProps } from './components/content/Footer';\nexport { Result } from './components/content/Result/Result';\nexport type {\n CubeResultProps,\n CubeResultStatus,\n} from './components/content/Result/Result';\nexport { Layout, GridLayout } from './components/content/Layout';\nexport type {\n CubeLayoutProps,\n CubeGridLayoutProps,\n CubeLayoutToolbarProps,\n CubeLayoutHeaderProps,\n CubeLayoutFooterProps,\n CubeLayoutContentProps,\n CubeLayoutPaneProps,\n CubeLayoutPanelProps,\n CubeLayoutPanelHeaderProps,\n ScrollbarType,\n} from './components/content/Layout';\n\n// atoms\nexport * from './components/status';\nexport { Card } from './components/content/Card/Card';\nexport type { CubeCardProps } from './components/content/Card/Card';\nexport * from './components/actions';\nexport { Placeholder } from './components/content/Placeholder/Placeholder';\nexport type { CubePlaceholderProps } from './components/content/Placeholder/Placeholder';\nexport { Skeleton } from './components/content/Skeleton/Skeleton';\nexport type { CubeSkeletonProps } from './components/content/Skeleton/Skeleton';\nexport { CloudLogo } from './components/other/CloudLogo/CloudLogo';\nexport { Badge } from './components/content/Badge/Badge';\nexport type { CubeBadgeProps } from './components/content/Badge/Badge';\nexport { Tag } from './components/content/Tag/Tag';\nexport type { CubeTagProps } from './components/content/Tag/Tag';\nexport * from './components/content/HotKeys';\nexport type { CubeSearchInputProps } from './components/fields/SearchInput/SearchInput';\nexport type { CubeListBoxProps } from './components/fields/ListBox';\nexport { ListBox } from './components/fields/ListBox';\nexport { Menu } from './components/actions/Menu/Menu';\nexport type { CubeMenuProps } from './components/actions/Menu/Menu';\nexport { MenuTrigger } from './components/actions/Menu/MenuTrigger';\nexport { SubMenuTrigger } from './components/actions/Menu/SubMenuTrigger';\nexport type { CubeMenuTriggerProps } from './components/actions/Menu/MenuTrigger';\nexport { CommandMenu } from './components/actions/CommandMenu';\nexport type {\n CubeCommandMenuProps,\n CommandMenuItem,\n} from './components/actions/CommandMenu';\nexport { Select, ListBoxPopup } from './components/fields/Select/Select';\nexport type {\n CubeSelectProps,\n CubeSelectBaseProps,\n} from './components/fields/Select/Select';\n\nexport { Avatar } from './components/content/Avatar/Avatar';\nexport type { CubeAvatarProps } from './components/content/Avatar/Avatar';\nexport {\n Dialog,\n DialogTrigger,\n DialogContainer,\n DialogForm,\n useDialogContainer,\n} from './components/overlays/Dialog';\nexport type {\n CubeDialogTriggerProps,\n CubeDialogContainerProps,\n CubeDialogProps,\n CubeDialogFormRef,\n CubeDialogFormProps,\n} from './components/overlays/Dialog';\nexport { Tooltip } from './components/overlays/Tooltip/Tooltip';\nexport type { CubeTooltipProps } from './components/overlays/Tooltip/Tooltip';\nexport { TooltipTrigger } from './components/overlays/Tooltip/TooltipTrigger';\nexport type { CubeTooltipTriggerProps } from './components/overlays/Tooltip/TooltipTrigger';\nexport { TooltipProvider } from './components/overlays/Tooltip/TooltipProvider';\nexport type { CubeTooltipProviderProps } from './components/overlays/Tooltip/TooltipProvider';\n\nexport * from './components/content/Alert';\n\n// navigation\nexport * from './components/navigation';\n\n// molecules\nexport { FileTabs } from './components/organisms/FileTabs/FileTabs';\nexport type { CubeFileTabProps } from './components/organisms/FileTabs/FileTabs';\nexport { StatsCard } from './components/organisms/StatsCard/StatsCard';\nexport type { CubeStatsCard } from './components/organisms/StatsCard/StatsCard';\nexport {\n AlertDialog,\n useAlertDialogAPI,\n} from './components/overlays/AlertDialog';\nexport type { CubeAlertDialogProps } from './components/overlays/AlertDialog';\n\nexport * from '@tenphi/tasty';\n\nexport const Typography = {\n Text: Text,\n Title,\n Paragraph,\n};\n\nexport { Text, TextItem, Title, Paragraph };\nexport type {\n CubeTextProps,\n CubeTextItemProps,\n CubeTitleProps,\n CubeParagraphProps,\n};\n\nexport { Provider, useProviderProps } from './provider';\nexport type { ProviderProps } from './provider';\nexport { Portal } from './components/portal';\nexport type { PortalProps } from './components/portal';\nexport * from './components/fields';\n\nexport type {\n TagName,\n AllBaseProps,\n BaseProps,\n BaseStyleProps,\n DimensionStyleProps,\n ColorStyleProps,\n OuterStyleProps,\n PositionStyleProps,\n TextStyleProps,\n BlockStyleProps,\n ContainerStyleProps,\n BasePropsWithoutChildren,\n Props,\n FlowStyleProps,\n ShortGridStyles,\n} from '@tenphi/tasty';\n\nexport * from './utils';\nexport { default as copy } from 'clipboard-copy';\nexport * from '@react-aria/ssr';\nexport * from './components/overlays/Toast';\nexport * from './components/overlays/Notifications';\nexport * from './shared';\nexport * from './icons';\nexport * from './components/form';\nexport * from './tokens';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoLA,MAAa,aAAa;CACxB,MAAMA;CACN;CACA;CACD"}
|
package/dist/provider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.121.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.121.6 | Cube Dev Team */
|
|
2
2
|
import { EventBusProvider } from "./utils/react/useEventBus.js";
|
|
3
3
|
import { defaultNavigationAdapter } from "./providers/navigationAdapter.default.js";
|
|
4
4
|
import { createContext, useContext, useMemo } from "react";
|
package/dist/tokens/base.js
CHANGED
package/dist/tokens/colors.js
CHANGED
package/dist/tokens/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { SPACE_TOKENS } from "./spacing.js";
|
|
|
5
5
|
import { SHADOW_TOKENS } from "./shadows.js";
|
|
6
6
|
import { LAYOUT_TOKENS } from "./layout.js";
|
|
7
7
|
import { BASE_TOKENS } from "./base.js";
|
|
8
|
+
import { TYPOGRAPHY_PRESETS, TypographyPreset } from "./typography.js";
|
|
8
9
|
import { Styles } from "@tenphi/tasty";
|
|
9
10
|
|
|
10
11
|
//#region src/tokens/index.d.ts
|
package/dist/tokens/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.121.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.121.6 | Cube Dev Team */
|
|
2
2
|
import { BASE_TOKENS } from "./base.js";
|
|
3
3
|
import { COLOR_TOKENS } from "./colors.js";
|
|
4
4
|
import { LAYOUT_TOKENS } from "./layout.js";
|
|
5
5
|
import { SHADOW_TOKENS } from "./shadows.js";
|
|
6
6
|
import { SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS } from "./sizes.js";
|
|
7
7
|
import { SPACE_TOKENS } from "./spacing.js";
|
|
8
|
+
import { TYPOGRAPHY_PRESETS } from "./typography.js";
|
|
8
9
|
import { generateTypographyTokens } from "@tenphi/tasty";
|
|
9
10
|
|
|
10
11
|
//#region src/tokens/index.ts
|
|
@@ -44,7 +45,7 @@ const TOKENS = {
|
|
|
44
45
|
...SIZE_TOKENS,
|
|
45
46
|
...SHADOW_TOKENS,
|
|
46
47
|
...LAYOUT_TOKENS,
|
|
47
|
-
...generateTypographyTokens(),
|
|
48
|
+
...generateTypographyTokens(TYPOGRAPHY_PRESETS),
|
|
48
49
|
...COLOR_TOKENS
|
|
49
50
|
};
|
|
50
51
|
|
package/dist/tokens/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/tokens/index.ts"],"sourcesContent":["/**\n * Design tokens for the Cube UI Kit.\n *\n * This module exports all design tokens used throughout the design system.\n * All token keys use $ prefix for CSS custom properties.\n *\n * Categories:\n * - Colors: Base color palette with -color and -color-rgb variants\n * - Typography: Font presets for headings, text, paragraphs, etc.\n * - Sizes: Component size values (XS, SM, MD, LG, XL)\n * - Spacing: Space tokens using gap multipliers\n * - Shadows: Shadow definitions for elevation\n * - Layout: Common layout dimensions\n * - Base: Core design system values\n */\n\nimport { generateTypographyTokens } from '@tenphi/tasty';\n\nimport { BASE_TOKENS } from './base';\nimport { COLOR_TOKENS } from './colors';\nimport { LAYOUT_TOKENS } from './layout';\nimport { SHADOW_TOKENS } from './shadows';\nimport { SIZE_NAME_TO_KEY, SIZE_TOKENS, SIZES } from './sizes';\nimport { SPACE_TOKENS } from './spacing';\n\nimport type { Styles } from '@tenphi/tasty';\nimport type { SizeKey, SizeName } from './sizes';\n\n/**\n * All design tokens combined into a single Styles object.\n * Keys use $ prefix for CSS custom properties.\n *\n * Ready for use with useGlobalStyles('body', TOKENS).\n *\n * Includes:\n * - Base tokens ($gap, $radius, etc.)\n * - Space tokens ($space-xs, $space-sm, etc.)\n * - Size tokens ($size-xs, $size-sm, etc.)\n * - Shadow tokens ($shadow, $item-shadow, etc.)\n * - Layout tokens ($max-content-width, $topbar-height, etc.)\n * - Typography tokens ($h1-font-size, $t3-line-height, etc.)\n * - Color tokens ($purple-color, $purple-color-rgb, etc.)\n */\nexport const TOKENS: Styles = {\n ...BASE_TOKENS,\n ...SPACE_TOKENS,\n ...SIZE_TOKENS,\n ...SHADOW_TOKENS,\n ...LAYOUT_TOKENS,\n ...generateTypographyTokens(),\n ...COLOR_TOKENS,\n};\n\n// Re-export category modules for direct access\nexport { COLOR_TOKENS } from './colors';\nexport { SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS } from './sizes';\nexport type { SizeKey, SizeName } from './sizes';\nexport { SPACE_TOKENS } from './spacing';\nexport { SHADOW_TOKENS } from './shadows';\nexport { LAYOUT_TOKENS } from './layout';\nexport { BASE_TOKENS } from './base';\
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/tokens/index.ts"],"sourcesContent":["/**\n * Design tokens for the Cube UI Kit.\n *\n * This module exports all design tokens used throughout the design system.\n * All token keys use $ prefix for CSS custom properties.\n *\n * Categories:\n * - Colors: Base color palette with -color and -color-rgb variants\n * - Typography: Font presets for headings, text, paragraphs, etc.\n * - Sizes: Component size values (XS, SM, MD, LG, XL)\n * - Spacing: Space tokens using gap multipliers\n * - Shadows: Shadow definitions for elevation\n * - Layout: Common layout dimensions\n * - Base: Core design system values\n */\n\nimport { generateTypographyTokens } from '@tenphi/tasty';\n\nimport { BASE_TOKENS } from './base';\nimport { COLOR_TOKENS } from './colors';\nimport { LAYOUT_TOKENS } from './layout';\nimport { SHADOW_TOKENS } from './shadows';\nimport { SIZE_NAME_TO_KEY, SIZE_TOKENS, SIZES } from './sizes';\nimport { SPACE_TOKENS } from './spacing';\nimport { TYPOGRAPHY_PRESETS } from './typography';\n\nimport type { Styles } from '@tenphi/tasty';\nimport type { SizeKey, SizeName } from './sizes';\n\n/**\n * All design tokens combined into a single Styles object.\n * Keys use $ prefix for CSS custom properties.\n *\n * Ready for use with useGlobalStyles('body', TOKENS).\n *\n * Includes:\n * - Base tokens ($gap, $radius, etc.)\n * - Space tokens ($space-xs, $space-sm, etc.)\n * - Size tokens ($size-xs, $size-sm, etc.)\n * - Shadow tokens ($shadow, $item-shadow, etc.)\n * - Layout tokens ($max-content-width, $topbar-height, etc.)\n * - Typography tokens ($h1-font-size, $t3-line-height, etc.)\n * - Color tokens ($purple-color, $purple-color-rgb, etc.)\n */\nexport const TOKENS: Styles = {\n ...BASE_TOKENS,\n ...SPACE_TOKENS,\n ...SIZE_TOKENS,\n ...SHADOW_TOKENS,\n ...LAYOUT_TOKENS,\n ...generateTypographyTokens(TYPOGRAPHY_PRESETS),\n ...COLOR_TOKENS,\n};\n\n// Re-export category modules for direct access\nexport { COLOR_TOKENS } from './colors';\nexport { SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS } from './sizes';\nexport type { SizeKey, SizeName } from './sizes';\nexport { SPACE_TOKENS } from './spacing';\nexport { SHADOW_TOKENS } from './shadows';\nexport { LAYOUT_TOKENS } from './layout';\nexport { BASE_TOKENS } from './base';\nexport { TYPOGRAPHY_PRESETS } from './typography';\nexport type { TypographyPreset } from './typography';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,SAAiB;CAC5B,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG,yBAAyB,mBAAmB;CAC/C,GAAG;CACJ"}
|
package/dist/tokens/layout.js
CHANGED
package/dist/tokens/shadows.js
CHANGED
package/dist/tokens/sizes.js
CHANGED
package/dist/tokens/spacing.js
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/tokens/typography.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Typography preset configuration.
|
|
5
|
+
* Each preset defines font properties that get expanded into CSS custom properties.
|
|
6
|
+
*/
|
|
7
|
+
interface TypographyPreset {
|
|
8
|
+
fontSize: string;
|
|
9
|
+
lineHeight: string;
|
|
10
|
+
letterSpacing?: string;
|
|
11
|
+
fontWeight: string | number;
|
|
12
|
+
boldFontWeight?: string | number;
|
|
13
|
+
iconSize?: string;
|
|
14
|
+
textTransform?: string;
|
|
15
|
+
fontFamily?: string;
|
|
16
|
+
fontStyle?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Typography presets for headings, text, and special styles.
|
|
20
|
+
*
|
|
21
|
+
* Naming conventions:
|
|
22
|
+
* - `h1`-`h6`: Headings (bold by default)
|
|
23
|
+
* - `t1`-`t4`: Text styles (regular weight)
|
|
24
|
+
* - `t1m`-`t4m`: Text styles medium weight
|
|
25
|
+
* - `m1`-`m3`: Markdown/prose styles (larger line-height)
|
|
26
|
+
* - `p1`-`p4`: Paragraph styles
|
|
27
|
+
* - `c1`-`c2`: Caption/uppercase styles
|
|
28
|
+
* - `tag`: Tag/badge typography
|
|
29
|
+
* - `strong`, `em`: Inline semantic styles
|
|
30
|
+
* - `default`: Base text style
|
|
31
|
+
*/
|
|
32
|
+
declare const TYPOGRAPHY_PRESETS: Record<string, TypographyPreset>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { TYPOGRAPHY_PRESETS, TypographyPreset };
|
|
35
|
+
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.121.6 | Cube Dev Team */
|
|
2
|
+
//#region src/tokens/typography.ts
|
|
3
|
+
/**
|
|
4
|
+
* Typography presets for headings, text, and special styles.
|
|
5
|
+
*
|
|
6
|
+
* Naming conventions:
|
|
7
|
+
* - `h1`-`h6`: Headings (bold by default)
|
|
8
|
+
* - `t1`-`t4`: Text styles (regular weight)
|
|
9
|
+
* - `t1m`-`t4m`: Text styles medium weight
|
|
10
|
+
* - `m1`-`m3`: Markdown/prose styles (larger line-height)
|
|
11
|
+
* - `p1`-`p4`: Paragraph styles
|
|
12
|
+
* - `c1`-`c2`: Caption/uppercase styles
|
|
13
|
+
* - `tag`: Tag/badge typography
|
|
14
|
+
* - `strong`, `em`: Inline semantic styles
|
|
15
|
+
* - `default`: Base text style
|
|
16
|
+
*/
|
|
17
|
+
const TYPOGRAPHY_PRESETS = {
|
|
18
|
+
text: {
|
|
19
|
+
fontSize: "14px",
|
|
20
|
+
lineHeight: "20px",
|
|
21
|
+
letterSpacing: "0",
|
|
22
|
+
fontWeight: "400"
|
|
23
|
+
},
|
|
24
|
+
h1: {
|
|
25
|
+
fontSize: "36px",
|
|
26
|
+
lineHeight: "44px",
|
|
27
|
+
letterSpacing: "-0.01em",
|
|
28
|
+
fontWeight: "600",
|
|
29
|
+
boldFontWeight: "700",
|
|
30
|
+
iconSize: "40px"
|
|
31
|
+
},
|
|
32
|
+
h2: {
|
|
33
|
+
fontSize: "24px",
|
|
34
|
+
lineHeight: "32px",
|
|
35
|
+
letterSpacing: "0em",
|
|
36
|
+
fontWeight: "600",
|
|
37
|
+
boldFontWeight: "700",
|
|
38
|
+
iconSize: "28px"
|
|
39
|
+
},
|
|
40
|
+
h3: {
|
|
41
|
+
fontSize: "20px",
|
|
42
|
+
lineHeight: "28px",
|
|
43
|
+
letterSpacing: "0em",
|
|
44
|
+
fontWeight: "600",
|
|
45
|
+
boldFontWeight: "700",
|
|
46
|
+
iconSize: "24px"
|
|
47
|
+
},
|
|
48
|
+
h4: {
|
|
49
|
+
fontSize: "18px",
|
|
50
|
+
lineHeight: "24px",
|
|
51
|
+
letterSpacing: "0",
|
|
52
|
+
fontWeight: "600",
|
|
53
|
+
boldFontWeight: "700",
|
|
54
|
+
iconSize: "22px"
|
|
55
|
+
},
|
|
56
|
+
h5: {
|
|
57
|
+
fontSize: "16px",
|
|
58
|
+
lineHeight: "22px",
|
|
59
|
+
letterSpacing: "0",
|
|
60
|
+
fontWeight: "600",
|
|
61
|
+
boldFontWeight: "700",
|
|
62
|
+
iconSize: "20px"
|
|
63
|
+
},
|
|
64
|
+
h6: {
|
|
65
|
+
fontSize: "14px",
|
|
66
|
+
lineHeight: "20px",
|
|
67
|
+
letterSpacing: "0.01em",
|
|
68
|
+
fontWeight: "600",
|
|
69
|
+
boldFontWeight: "700",
|
|
70
|
+
iconSize: "20px"
|
|
71
|
+
},
|
|
72
|
+
t1: {
|
|
73
|
+
fontSize: "18px",
|
|
74
|
+
lineHeight: "24px",
|
|
75
|
+
letterSpacing: "0",
|
|
76
|
+
fontWeight: "400",
|
|
77
|
+
boldFontWeight: "600",
|
|
78
|
+
iconSize: "20px"
|
|
79
|
+
},
|
|
80
|
+
t2: {
|
|
81
|
+
fontSize: "16px",
|
|
82
|
+
lineHeight: "22px",
|
|
83
|
+
letterSpacing: "0",
|
|
84
|
+
fontWeight: "400",
|
|
85
|
+
boldFontWeight: "600",
|
|
86
|
+
iconSize: "20px"
|
|
87
|
+
},
|
|
88
|
+
t2m: {
|
|
89
|
+
fontSize: "16px",
|
|
90
|
+
lineHeight: "22px",
|
|
91
|
+
letterSpacing: "0",
|
|
92
|
+
fontWeight: "500",
|
|
93
|
+
boldFontWeight: "600",
|
|
94
|
+
iconSize: "20px"
|
|
95
|
+
},
|
|
96
|
+
t3: {
|
|
97
|
+
fontSize: "14px",
|
|
98
|
+
lineHeight: "20px",
|
|
99
|
+
letterSpacing: "0",
|
|
100
|
+
fontWeight: "400",
|
|
101
|
+
boldFontWeight: "600",
|
|
102
|
+
iconSize: "18px"
|
|
103
|
+
},
|
|
104
|
+
t3m: {
|
|
105
|
+
fontSize: "14px",
|
|
106
|
+
lineHeight: "20px",
|
|
107
|
+
letterSpacing: "0",
|
|
108
|
+
fontWeight: "500",
|
|
109
|
+
boldFontWeight: "600",
|
|
110
|
+
iconSize: "18px"
|
|
111
|
+
},
|
|
112
|
+
t4: {
|
|
113
|
+
fontSize: "12px",
|
|
114
|
+
lineHeight: "18px",
|
|
115
|
+
letterSpacing: "0",
|
|
116
|
+
fontWeight: "500",
|
|
117
|
+
boldFontWeight: "600",
|
|
118
|
+
iconSize: "16px"
|
|
119
|
+
},
|
|
120
|
+
t4m: {
|
|
121
|
+
fontSize: "12px",
|
|
122
|
+
lineHeight: "18px",
|
|
123
|
+
letterSpacing: "0",
|
|
124
|
+
fontWeight: "600",
|
|
125
|
+
boldFontWeight: "700",
|
|
126
|
+
iconSize: "16px"
|
|
127
|
+
},
|
|
128
|
+
m1: {
|
|
129
|
+
fontSize: "18px",
|
|
130
|
+
lineHeight: "32px",
|
|
131
|
+
letterSpacing: "0",
|
|
132
|
+
fontWeight: "400",
|
|
133
|
+
boldFontWeight: "600",
|
|
134
|
+
iconSize: "22px"
|
|
135
|
+
},
|
|
136
|
+
m2: {
|
|
137
|
+
fontSize: "16px",
|
|
138
|
+
lineHeight: "28px",
|
|
139
|
+
letterSpacing: "0",
|
|
140
|
+
fontWeight: "400",
|
|
141
|
+
boldFontWeight: "600",
|
|
142
|
+
iconSize: "20px"
|
|
143
|
+
},
|
|
144
|
+
m3: {
|
|
145
|
+
fontSize: "14px",
|
|
146
|
+
lineHeight: "24px",
|
|
147
|
+
letterSpacing: "0",
|
|
148
|
+
fontWeight: "400",
|
|
149
|
+
boldFontWeight: "600",
|
|
150
|
+
iconSize: "20px"
|
|
151
|
+
},
|
|
152
|
+
p1: {
|
|
153
|
+
fontSize: "18px",
|
|
154
|
+
lineHeight: "28px",
|
|
155
|
+
letterSpacing: "0",
|
|
156
|
+
fontWeight: "400",
|
|
157
|
+
boldFontWeight: "600",
|
|
158
|
+
iconSize: "22px"
|
|
159
|
+
},
|
|
160
|
+
p2: {
|
|
161
|
+
fontSize: "16px",
|
|
162
|
+
lineHeight: "24px",
|
|
163
|
+
letterSpacing: "0",
|
|
164
|
+
fontWeight: "400",
|
|
165
|
+
boldFontWeight: "600",
|
|
166
|
+
iconSize: "20px"
|
|
167
|
+
},
|
|
168
|
+
p3: {
|
|
169
|
+
fontSize: "14px",
|
|
170
|
+
lineHeight: "22px",
|
|
171
|
+
letterSpacing: "0",
|
|
172
|
+
fontWeight: "400",
|
|
173
|
+
boldFontWeight: "600",
|
|
174
|
+
iconSize: "18px"
|
|
175
|
+
},
|
|
176
|
+
p4: {
|
|
177
|
+
fontSize: "12px",
|
|
178
|
+
lineHeight: "20px",
|
|
179
|
+
letterSpacing: "0",
|
|
180
|
+
fontWeight: "500",
|
|
181
|
+
boldFontWeight: "600",
|
|
182
|
+
iconSize: "16px"
|
|
183
|
+
},
|
|
184
|
+
c1: {
|
|
185
|
+
fontSize: "14px",
|
|
186
|
+
lineHeight: "20px",
|
|
187
|
+
letterSpacing: "0",
|
|
188
|
+
fontWeight: "600",
|
|
189
|
+
boldFontWeight: "700",
|
|
190
|
+
textTransform: "uppercase",
|
|
191
|
+
iconSize: "18px"
|
|
192
|
+
},
|
|
193
|
+
c2: {
|
|
194
|
+
fontSize: "12px",
|
|
195
|
+
lineHeight: "18px",
|
|
196
|
+
letterSpacing: "0.01em",
|
|
197
|
+
fontWeight: "600",
|
|
198
|
+
boldFontWeight: "700",
|
|
199
|
+
textTransform: "uppercase",
|
|
200
|
+
iconSize: "16px"
|
|
201
|
+
},
|
|
202
|
+
tag: {
|
|
203
|
+
fontSize: "12px",
|
|
204
|
+
lineHeight: "18px",
|
|
205
|
+
letterSpacing: "0.01em",
|
|
206
|
+
fontWeight: "600",
|
|
207
|
+
boldFontWeight: "700",
|
|
208
|
+
iconSize: "16px"
|
|
209
|
+
},
|
|
210
|
+
strong: {
|
|
211
|
+
fontSize: "inherit",
|
|
212
|
+
lineHeight: "inherit",
|
|
213
|
+
letterSpacing: "inherit",
|
|
214
|
+
fontFamily: "inherit",
|
|
215
|
+
fontStyle: "inherit",
|
|
216
|
+
fontWeight: "var(--bold-font-weight, var(--default-bold-font-weight, 600))"
|
|
217
|
+
},
|
|
218
|
+
em: {
|
|
219
|
+
fontSize: "inherit",
|
|
220
|
+
lineHeight: "inherit",
|
|
221
|
+
letterSpacing: "inherit",
|
|
222
|
+
fontFamily: "inherit",
|
|
223
|
+
fontStyle: "italic",
|
|
224
|
+
fontWeight: "inherit"
|
|
225
|
+
},
|
|
226
|
+
default: {
|
|
227
|
+
fontSize: "var(--t3-font-size)",
|
|
228
|
+
lineHeight: "var(--t3-line-height)",
|
|
229
|
+
letterSpacing: "var(--t3-letter-spacing)",
|
|
230
|
+
fontWeight: "var(--t3-font-weight)",
|
|
231
|
+
boldFontWeight: "600",
|
|
232
|
+
iconSize: "inherit"
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
//#endregion
|
|
237
|
+
export { TYPOGRAPHY_PRESETS };
|
|
238
|
+
//# sourceMappingURL=typography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.js","names":[],"sources":["../../src/tokens/typography.ts"],"sourcesContent":["/**\n * Typography preset configuration.\n * Each preset defines font properties that get expanded into CSS custom properties.\n */\nexport interface TypographyPreset {\n fontSize: string;\n lineHeight: string;\n letterSpacing?: string;\n fontWeight: string | number;\n boldFontWeight?: string | number;\n iconSize?: string;\n textTransform?: string;\n fontFamily?: string;\n fontStyle?: string;\n}\n\n/**\n * Typography presets for headings, text, and special styles.\n *\n * Naming conventions:\n * - `h1`-`h6`: Headings (bold by default)\n * - `t1`-`t4`: Text styles (regular weight)\n * - `t1m`-`t4m`: Text styles medium weight\n * - `m1`-`m3`: Markdown/prose styles (larger line-height)\n * - `p1`-`p4`: Paragraph styles\n * - `c1`-`c2`: Caption/uppercase styles\n * - `tag`: Tag/badge typography\n * - `strong`, `em`: Inline semantic styles\n * - `default`: Base text style\n */\nexport const TYPOGRAPHY_PRESETS: Record<string, TypographyPreset> = {\n // Text (basic)\n text: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '400',\n },\n\n // Headings (h1-h6)\n h1: {\n fontSize: '36px',\n lineHeight: '44px',\n letterSpacing: '-0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '40px',\n },\n h2: {\n fontSize: '24px',\n lineHeight: '32px',\n letterSpacing: '0em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '28px',\n },\n h3: {\n fontSize: '20px',\n lineHeight: '28px',\n letterSpacing: '0em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '24px',\n },\n h4: {\n fontSize: '18px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '22px',\n },\n h5: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '20px',\n },\n h6: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '20px',\n },\n\n // Text styles (t1-t4)\n t1: {\n fontSize: '18px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t2: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t2m: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t3: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n t3m: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n t4: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '16px',\n },\n t4m: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '16px',\n },\n\n // Markdown/prose styles (m1-m3)\n m1: {\n fontSize: '18px',\n lineHeight: '32px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '22px',\n },\n m2: {\n fontSize: '16px',\n lineHeight: '28px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n m3: {\n fontSize: '14px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n\n // Paragraph styles (p1-p4)\n p1: {\n fontSize: '18px',\n lineHeight: '28px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '22px',\n },\n p2: {\n fontSize: '16px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n p3: {\n fontSize: '14px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n p4: {\n fontSize: '12px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '16px',\n },\n\n // Caption/uppercase styles (c1-c2)\n c1: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n textTransform: 'uppercase',\n iconSize: '18px',\n },\n c2: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n textTransform: 'uppercase',\n iconSize: '16px',\n },\n\n // Tag typography\n tag: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '16px',\n },\n\n // Inline semantic styles\n strong: {\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit',\n fontFamily: 'inherit',\n fontStyle: 'inherit',\n fontWeight: 'var(--bold-font-weight, var(--default-bold-font-weight, 600))',\n },\n em: {\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit',\n fontFamily: 'inherit',\n fontStyle: 'italic',\n fontWeight: 'inherit',\n },\n\n // Default text style (references t3)\n default: {\n fontSize: 'var(--t3-font-size)',\n lineHeight: 'var(--t3-line-height)',\n letterSpacing: 'var(--t3-letter-spacing)',\n fontWeight: 'var(--t3-font-weight)',\n boldFontWeight: '600',\n iconSize: 'inherit',\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;AA8BA,MAAa,qBAAuD;CAElE,MAAM;EACJ,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACb;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,UAAU;EACX;CAGD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,QAAQ;EACN,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,WAAW;EACX,YAAY;EACb;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,WAAW;EACX,YAAY;EACb;CAGD,SAAS;EACP,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACF"}
|
package/dist/utils/is-dev-env.js
CHANGED
package/dist/utils/modules.js
CHANGED
package/dist/utils/promise.js
CHANGED
package/dist/utils/raf.js
CHANGED
package/dist/utils/random.js
CHANGED