@cube-dev/ui-kit 0.121.0 → 0.121.2

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.
Files changed (516) hide show
  1. package/dist/CHANGELOG.md +12 -0
  2. package/dist/_internal/hooks/use-chained-callback.js +1 -1
  3. package/dist/_internal/hooks/use-debounced-value.js +1 -1
  4. package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
  5. package/dist/_internal/hooks/use-event.js +1 -1
  6. package/dist/_internal/hooks/use-is-first-render.js +1 -1
  7. package/dist/_internal/hooks/use-sync-ref.js +1 -1
  8. package/dist/_internal/hooks/use-timer/timer.js +1 -1
  9. package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
  10. package/dist/_internal/hooks/use-warn.js +1 -1
  11. package/dist/components/Block.js +1 -1
  12. package/dist/components/CollectionItem.js +1 -1
  13. package/dist/components/GlobalStyles.js +1 -1
  14. package/dist/components/GridProvider.js +1 -1
  15. package/dist/components/HiddenInput.js +1 -1
  16. package/dist/components/Root.js +1 -1
  17. package/dist/components/actions/Action/Action.js +1 -1
  18. package/dist/components/actions/Banner/Banner.js +1 -1
  19. package/dist/components/actions/Button/Button.js +1 -1
  20. package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  21. package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
  22. package/dist/components/actions/ButtonSplit/context.js +1 -1
  23. package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
  24. package/dist/components/actions/CommandMenu/styled.js +1 -1
  25. package/dist/components/actions/ItemAction/ItemAction.js +1 -1
  26. package/dist/components/actions/ItemActionContext.js +1 -1
  27. package/dist/components/actions/ItemButton/ItemButton.js +1 -1
  28. package/dist/components/actions/Link/Link.js +1 -1
  29. package/dist/components/actions/Menu/Menu.js +1 -1
  30. package/dist/components/actions/Menu/MenuItem.js +1 -1
  31. package/dist/components/actions/Menu/MenuSection.js +1 -1
  32. package/dist/components/actions/Menu/MenuTrigger.js +1 -1
  33. package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
  34. package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
  35. package/dist/components/actions/Menu/context.js +1 -1
  36. package/dist/components/actions/Menu/styled.js +1 -1
  37. package/dist/components/actions/index.js +1 -1
  38. package/dist/components/actions/use-action.js +1 -1
  39. package/dist/components/actions/use-anchored-menu.js +1 -1
  40. package/dist/components/actions/use-context-menu.js +1 -1
  41. package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
  42. package/dist/components/content/Alert/Alert.js +1 -1
  43. package/dist/components/content/Alert/use-alert.js +1 -1
  44. package/dist/components/content/Avatar/Avatar.js +1 -1
  45. package/dist/components/content/Badge/Badge.js +1 -1
  46. package/dist/components/content/Card/Card.js +1 -1
  47. package/dist/components/content/Content.js +1 -1
  48. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
  49. package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
  50. package/dist/components/content/Disclosure/Disclosure.js +1 -1
  51. package/dist/components/content/Divider.js +1 -1
  52. package/dist/components/content/Footer.js +1 -1
  53. package/dist/components/content/Header.js +1 -1
  54. package/dist/components/content/HotKeys/HotKeys.js +1 -1
  55. package/dist/components/content/Item/Item.js +1 -1
  56. package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
  57. package/dist/components/content/ItemCard/ItemCard.js +1 -1
  58. package/dist/components/content/Layout/GridLayout.js +1 -1
  59. package/dist/components/content/Layout/Layout.js +1 -1
  60. package/dist/components/content/Layout/LayoutBlock.js +1 -1
  61. package/dist/components/content/Layout/LayoutCenter.js +1 -1
  62. package/dist/components/content/Layout/LayoutContainer.js +1 -1
  63. package/dist/components/content/Layout/LayoutContent.js +1 -1
  64. package/dist/components/content/Layout/LayoutContext.js +1 -1
  65. package/dist/components/content/Layout/LayoutFlex.js +1 -1
  66. package/dist/components/content/Layout/LayoutFooter.js +1 -1
  67. package/dist/components/content/Layout/LayoutGrid.js +1 -1
  68. package/dist/components/content/Layout/LayoutHeader.js +1 -1
  69. package/dist/components/content/Layout/LayoutPane.js +1 -1
  70. package/dist/components/content/Layout/LayoutPanel.js +1 -1
  71. package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
  72. package/dist/components/content/Layout/LayoutToolbar.js +1 -1
  73. package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
  74. package/dist/components/content/Layout/index.js +1 -1
  75. package/dist/components/content/Layout/utils.js +1 -1
  76. package/dist/components/content/Paragraph.js +1 -1
  77. package/dist/components/content/Placeholder/Placeholder.js +1 -1
  78. package/dist/components/content/PrismCode/PrismCode.js +1 -1
  79. package/dist/components/content/PrismCode/prismSetup.js +1 -1
  80. package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
  81. package/dist/components/content/Result/Result.js +1 -1
  82. package/dist/components/content/Skeleton/Skeleton.js +1 -1
  83. package/dist/components/content/Tag/Tag.js +1 -1
  84. package/dist/components/content/Text.js +1 -1
  85. package/dist/components/content/TextItem/TextItem.js +1 -1
  86. package/dist/components/content/Title.js +1 -1
  87. package/dist/components/content/highlightText.js +1 -1
  88. package/dist/components/content/use-auto-tooltip.js +1 -1
  89. package/dist/components/fields/Checkbox/Checkbox.js +1 -1
  90. package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
  91. package/dist/components/fields/Checkbox/context.js +1 -1
  92. package/dist/components/fields/ComboBox/ComboBox.js +1 -1
  93. package/dist/components/fields/DatePicker/DateInput.js +1 -1
  94. package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
  95. package/dist/components/fields/DatePicker/DatePicker.js +1 -1
  96. package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
  97. package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
  98. package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
  99. package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
  100. package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
  101. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
  102. package/dist/components/fields/DatePicker/TimeInput.js +1 -1
  103. package/dist/components/fields/DatePicker/intl.js +1 -1
  104. package/dist/components/fields/DatePicker/parseDate.js +1 -1
  105. package/dist/components/fields/DatePicker/props.js +1 -1
  106. package/dist/components/fields/DatePicker/utils.js +1 -1
  107. package/dist/components/fields/FileInput/FileInput.js +1 -1
  108. package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
  109. package/dist/components/fields/FilterPicker/FilterPicker.js +1 -1
  110. package/dist/components/fields/Input/Input.js +1 -1
  111. package/dist/components/fields/ListBox/ListBox.js +1 -1
  112. package/dist/components/fields/NumberInput/NumberInput.js +1 -1
  113. package/dist/components/fields/NumberInput/StepButton.js +1 -1
  114. package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
  115. package/dist/components/fields/Picker/Picker.js +1 -1
  116. package/dist/components/fields/RadioGroup/Radio.js +1 -1
  117. package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
  118. package/dist/components/fields/RadioGroup/context.js +1 -1
  119. package/dist/components/fields/SearchInput/SearchInput.js +1 -1
  120. package/dist/components/fields/Select/Select.d.ts +8 -2
  121. package/dist/components/fields/Select/Select.js +1 -1
  122. package/dist/components/fields/Select/Select.js.map +1 -1
  123. package/dist/components/fields/Slider/Gradation.js +1 -1
  124. package/dist/components/fields/Slider/HueSlider.js +1 -1
  125. package/dist/components/fields/Slider/RangeSlider.js +1 -1
  126. package/dist/components/fields/Slider/Slider.js +1 -1
  127. package/dist/components/fields/Slider/SliderBase.js +1 -1
  128. package/dist/components/fields/Slider/SliderThumb.js +1 -1
  129. package/dist/components/fields/Slider/SliderTrack.js +1 -1
  130. package/dist/components/fields/Slider/elements.js +1 -1
  131. package/dist/components/fields/Slider/index.js +1 -1
  132. package/dist/components/fields/Switch/Switch.js +1 -1
  133. package/dist/components/fields/TextArea/TextArea.js +1 -1
  134. package/dist/components/fields/TextInput/TextInput.js +1 -1
  135. package/dist/components/fields/TextInput/TextInputBase.js +1 -1
  136. package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
  137. package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
  138. package/dist/components/form/FieldWrapper/extract-field-wrapper-props.js +1 -1
  139. package/dist/components/form/Form/Field.js +1 -1
  140. package/dist/components/form/Form/Form.js +1 -1
  141. package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
  142. package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
  143. package/dist/components/form/Form/SubmitError.js +1 -1
  144. package/dist/components/form/Form/index.js +1 -1
  145. package/dist/components/form/Form/use-field/use-field-props.js +1 -1
  146. package/dist/components/form/Form/use-field/use-field.js +1 -1
  147. package/dist/components/form/Form/use-form.js +1 -1
  148. package/dist/components/form/Form/validation.js +1 -1
  149. package/dist/components/form/Label.js +1 -1
  150. package/dist/components/form/wrapper.js +1 -1
  151. package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
  152. package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
  153. package/dist/components/layout/Flex.js +1 -1
  154. package/dist/components/layout/Flow.js +1 -1
  155. package/dist/components/layout/Grid.js +1 -1
  156. package/dist/components/layout/Panel.js +1 -1
  157. package/dist/components/layout/Prefix.js +1 -1
  158. package/dist/components/layout/ResizablePanel.js +1 -1
  159. package/dist/components/layout/Space.js +1 -1
  160. package/dist/components/layout/Suffix.js +1 -1
  161. package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
  162. package/dist/components/navigation/Tabs/EditableTitle.js +1 -1
  163. package/dist/components/navigation/Tabs/TabButton.js +1 -1
  164. package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
  165. package/dist/components/navigation/Tabs/TabPanel.js +1 -1
  166. package/dist/components/navigation/Tabs/TabPicker.js +1 -1
  167. package/dist/components/navigation/Tabs/Tabs.js +1 -1
  168. package/dist/components/navigation/Tabs/TabsAction.js +1 -1
  169. package/dist/components/navigation/Tabs/TabsContext.js +1 -1
  170. package/dist/components/navigation/Tabs/styled.js +1 -1
  171. package/dist/components/navigation/Tabs/types.js +1 -1
  172. package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
  173. package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
  174. package/dist/components/organisms/FileTabs/FileTabs.js +1 -1
  175. package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
  176. package/dist/components/other/Calendar/Calendar.js +1 -1
  177. package/dist/components/other/Calendar/CalendarCell.js +1 -1
  178. package/dist/components/other/Calendar/CalendarGrid.js +1 -1
  179. package/dist/components/other/Calendar/RangeCalendar.js +1 -1
  180. package/dist/components/other/CloudLogo/CloudLogo.js +1 -1
  181. package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
  182. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
  183. package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
  184. package/dist/components/overlays/Dialog/Dialog.js +1 -1
  185. package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
  186. package/dist/components/overlays/Dialog/DialogForm.js +1 -1
  187. package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
  188. package/dist/components/overlays/Dialog/context.js +1 -1
  189. package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
  190. package/dist/components/overlays/Modal/Modal.js +1 -1
  191. package/dist/components/overlays/Modal/OpenTransition.js +1 -1
  192. package/dist/components/overlays/Modal/Overlay.js +1 -1
  193. package/dist/components/overlays/Modal/Popover.js +1 -1
  194. package/dist/components/overlays/Modal/Tray.js +1 -1
  195. package/dist/components/overlays/Modal/Underlay.js +1 -1
  196. package/dist/components/overlays/Notifications/Notification.js +1 -1
  197. package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
  198. package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
  199. package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
  200. package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
  201. package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
  202. package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
  203. package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
  204. package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
  205. package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
  206. package/dist/components/overlays/Notifications/index.js +1 -1
  207. package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
  208. package/dist/components/overlays/Notifications/use-notifications.js +1 -1
  209. package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
  210. package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
  211. package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
  212. package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
  213. package/dist/components/overlays/Toast/ToastItem.js +1 -1
  214. package/dist/components/overlays/Toast/index.js +1 -1
  215. package/dist/components/overlays/Toast/useProgressToast.js +1 -1
  216. package/dist/components/overlays/Toast/useToast.js +1 -1
  217. package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
  218. package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
  219. package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
  220. package/dist/components/overlays/Tooltip/context.js +1 -1
  221. package/dist/components/portal/Portal.js +1 -1
  222. package/dist/components/portal/PortalProvider.js +1 -1
  223. package/dist/components/portal/usePortal.js +1 -1
  224. package/dist/components/shared/InvalidIcon.js +1 -1
  225. package/dist/components/shared/ValidIcon.js +1 -1
  226. package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  227. package/dist/components/status/Spin/Cube.js +1 -1
  228. package/dist/components/status/Spin/InternalSpinner.js +1 -1
  229. package/dist/components/status/Spin/Spin.js +1 -1
  230. package/dist/components/status/Spin/SpinsContainer.js +1 -1
  231. package/dist/data/item-themes.js +1 -1
  232. package/dist/data/themes.js +1 -1
  233. package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
  234. package/dist/icons/AdjustmentsIcon.js +1 -1
  235. package/dist/icons/AiIcon.js +1 -1
  236. package/dist/icons/AreaChartIcon.js +1 -1
  237. package/dist/icons/BackwardIcon.js +1 -1
  238. package/dist/icons/BarChartIcon.js +1 -1
  239. package/dist/icons/BellFilledIcon.js +1 -1
  240. package/dist/icons/BellIcon.js +1 -1
  241. package/dist/icons/BooleanIcon.js +1 -1
  242. package/dist/icons/CalendarEditIcon.js +1 -1
  243. package/dist/icons/CalendarIcon.js +1 -1
  244. package/dist/icons/CaretDownIcon.js +1 -1
  245. package/dist/icons/CaretUpIcon.js +1 -1
  246. package/dist/icons/ChartAreaStackedIcon.js +1 -1
  247. package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
  248. package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
  249. package/dist/icons/ChartBarGroupedIcon.js +1 -1
  250. package/dist/icons/ChartBarHorizontalIcon.js +1 -1
  251. package/dist/icons/ChartBarLineIcon.js +1 -1
  252. package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
  253. package/dist/icons/ChartBarStackedIcon.js +1 -1
  254. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
  255. package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
  256. package/dist/icons/ChartBoxPlot2Icon.js +1 -1
  257. package/dist/icons/ChartBoxPlotIcon.js +1 -1
  258. package/dist/icons/ChartBubbleIcon.js +1 -1
  259. package/dist/icons/ChartDonut2Icon.js +1 -1
  260. package/dist/icons/ChartFunnelIcon.js +1 -1
  261. package/dist/icons/ChartHeatmapIcon.js +1 -1
  262. package/dist/icons/ChartKPIIcon.js +1 -1
  263. package/dist/icons/ChartPie2Icon.js +1 -1
  264. package/dist/icons/ChartScatterIcon.js +1 -1
  265. package/dist/icons/CheckCircleFilledIcon.js +1 -1
  266. package/dist/icons/CheckCircleIcon.js +1 -1
  267. package/dist/icons/CheckIcon.js +1 -1
  268. package/dist/icons/CircleFilledIcon.js +1 -1
  269. package/dist/icons/ClearIcon.js +1 -1
  270. package/dist/icons/CloseCircleFilledIcon.js +1 -1
  271. package/dist/icons/CloseCircleIcon.js +1 -1
  272. package/dist/icons/CloseIcon.js +1 -1
  273. package/dist/icons/CodeIcon.js +1 -1
  274. package/dist/icons/ColumnTotalIcon.js +1 -1
  275. package/dist/icons/CopyIcon.js +1 -1
  276. package/dist/icons/CountIcon.js +1 -1
  277. package/dist/icons/CubeIcon.js +1 -1
  278. package/dist/icons/CubePauseIcon.js +1 -1
  279. package/dist/icons/CubePlayIcon.js +1 -1
  280. package/dist/icons/CurrencyDollarIcon.js +1 -1
  281. package/dist/icons/DangerIcon.js +1 -1
  282. package/dist/icons/DashboardIcon.js +1 -1
  283. package/dist/icons/DatabaseIcon.js +1 -1
  284. package/dist/icons/DecimalDecreaseIcon.js +1 -1
  285. package/dist/icons/DecimalIncreaseIcon.js +1 -1
  286. package/dist/icons/DirectionIcon.js +1 -1
  287. package/dist/icons/DonutIcon.js +1 -1
  288. package/dist/icons/DownIcon.js +1 -1
  289. package/dist/icons/EditIcon.js +1 -1
  290. package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
  291. package/dist/icons/ExclamationCircleIcon.js +1 -1
  292. package/dist/icons/ExclamationIcon.js +1 -1
  293. package/dist/icons/EyeIcon.js +1 -1
  294. package/dist/icons/EyeInvisibleIcon.js +1 -1
  295. package/dist/icons/FilterIcon.js +1 -1
  296. package/dist/icons/FolderFilledIcon.js +1 -1
  297. package/dist/icons/FolderIcon.js +1 -1
  298. package/dist/icons/FolderOpenFilledIcon.js +1 -1
  299. package/dist/icons/FolderOpenIcon.js +1 -1
  300. package/dist/icons/ForwardIcon.js +1 -1
  301. package/dist/icons/HierarchyIcon.js +1 -1
  302. package/dist/icons/HierarchyOpenIcon.js +1 -1
  303. package/dist/icons/Icon.js +1 -1
  304. package/dist/icons/InfoCircleIcon.js +1 -1
  305. package/dist/icons/InfoIcon.js +1 -1
  306. package/dist/icons/KeyIcon.js +1 -1
  307. package/dist/icons/LeftIcon.js +1 -1
  308. package/dist/icons/LineChartIcon.js +1 -1
  309. package/dist/icons/LoadingIcon.js +1 -1
  310. package/dist/icons/LockFilledIcon.js +1 -1
  311. package/dist/icons/LockIcon.js +1 -1
  312. package/dist/icons/MoreIcon.js +1 -1
  313. package/dist/icons/NotAllowedIcon.js +1 -1
  314. package/dist/icons/Number123Icon.js +1 -1
  315. package/dist/icons/NumberIcon.js +1 -1
  316. package/dist/icons/PauseCircleFilledIcon.js +1 -1
  317. package/dist/icons/PauseCircleIcon.js +1 -1
  318. package/dist/icons/PauseIcon.js +1 -1
  319. package/dist/icons/PercentageIcon.js +1 -1
  320. package/dist/icons/PieChartIcon.js +1 -1
  321. package/dist/icons/PlayCircleIcon.js +1 -1
  322. package/dist/icons/PlayIcon.js +1 -1
  323. package/dist/icons/PlusIcon.js +1 -1
  324. package/dist/icons/ProgressBarIcon.js +1 -1
  325. package/dist/icons/ReloadIcon.js +1 -1
  326. package/dist/icons/ReportIcon.js +1 -1
  327. package/dist/icons/ReturnIcon.js +1 -1
  328. package/dist/icons/RightIcon.js +1 -1
  329. package/dist/icons/RowTotalsIcon.js +1 -1
  330. package/dist/icons/SchemeIcon.js +1 -1
  331. package/dist/icons/SearchIcon.js +1 -1
  332. package/dist/icons/SemanticQueryIcon.js +1 -1
  333. package/dist/icons/SettingsIcon.js +1 -1
  334. package/dist/icons/ShieldFilledIcon.js +1 -1
  335. package/dist/icons/ShieldIcon.js +1 -1
  336. package/dist/icons/SlashIcon.js +1 -1
  337. package/dist/icons/SparklesIcon.js +1 -1
  338. package/dist/icons/SqlIcon.js +1 -1
  339. package/dist/icons/StatsIcon.js +1 -1
  340. package/dist/icons/StopIcon.js +1 -1
  341. package/dist/icons/StringIcon.js +1 -1
  342. package/dist/icons/SubtotalsIcon.js +1 -1
  343. package/dist/icons/SwitchIcon.js +1 -1
  344. package/dist/icons/TableIcon.js +1 -1
  345. package/dist/icons/ThumbsDownIcon.js +1 -1
  346. package/dist/icons/ThumbsUpIcon.js +1 -1
  347. package/dist/icons/ThunderboltCrossedIcon.js +1 -1
  348. package/dist/icons/ThunderboltFilledIcon.js +1 -1
  349. package/dist/icons/ThunderboltIcon.js +1 -1
  350. package/dist/icons/TimeIcon.js +1 -1
  351. package/dist/icons/TrashIcon.js +1 -1
  352. package/dist/icons/UnlockIcon.js +1 -1
  353. package/dist/icons/UpIcon.js +1 -1
  354. package/dist/icons/UserGroupIcon.js +1 -1
  355. package/dist/icons/UserIcon.js +1 -1
  356. package/dist/icons/UserLockIcon.js +1 -1
  357. package/dist/icons/ViewIcon.js +1 -1
  358. package/dist/icons/WarningFilledIcon.js +1 -1
  359. package/dist/icons/WarningIcon.js +1 -1
  360. package/dist/icons/wrap-icon.js +1 -1
  361. package/dist/index.js +1 -1
  362. package/dist/provider.js +1 -1
  363. package/dist/providers/TrackingProvider.js +1 -1
  364. package/dist/providers/navigationAdapter.default.js +1 -1
  365. package/dist/tokens/base.js +1 -1
  366. package/dist/tokens/colors.js +1 -1
  367. package/dist/tokens/index.js +1 -1
  368. package/dist/tokens/layout.js +1 -1
  369. package/dist/tokens/shadows.js +1 -1
  370. package/dist/tokens/sizes.js +1 -1
  371. package/dist/tokens/spacing.js +1 -1
  372. package/dist/utils/ResizeSensor.js +1 -1
  373. package/dist/utils/is-dev-env.js +1 -1
  374. package/dist/utils/modules.js +1 -1
  375. package/dist/utils/promise.js +1 -1
  376. package/dist/utils/raf.js +1 -1
  377. package/dist/utils/random.js +1 -1
  378. package/dist/utils/range.js +1 -1
  379. package/dist/utils/react/RenderCache.js +1 -1
  380. package/dist/utils/react/Slots.js +1 -1
  381. package/dist/utils/react/chain.js +1 -1
  382. package/dist/utils/react/forwardRefWithGenerics.js +1 -1
  383. package/dist/utils/react/index.js +1 -1
  384. package/dist/utils/react/interactions.js +1 -1
  385. package/dist/utils/react/isTextOnly.js +1 -1
  386. package/dist/utils/react/mapProps.js +1 -1
  387. package/dist/utils/react/mergeProps.js +1 -1
  388. package/dist/utils/react/nullableValue.js +1 -1
  389. package/dist/utils/react/resolveIcon.js +1 -1
  390. package/dist/utils/react/sharedStore.js +1 -1
  391. package/dist/utils/react/useCombinedRefs.js +1 -1
  392. package/dist/utils/react/useControlledFocusVisible.js +1 -1
  393. package/dist/utils/react/useEventBus.js +1 -1
  394. package/dist/utils/react/useId.js +1 -1
  395. package/dist/utils/react/useIsDarwin.js +1 -1
  396. package/dist/utils/react/useKeySymbols.js +1 -1
  397. package/dist/utils/react/useLayoutEffect.js +1 -1
  398. package/dist/utils/react/useLocalStorage.js +1 -1
  399. package/dist/utils/react/useMergeStyles.js +1 -1
  400. package/dist/utils/react/useQaProps.js +1 -1
  401. package/dist/utils/react/useViewportSize.js +1 -1
  402. package/dist/utils/react/wrapNodeIfPlain.js +1 -1
  403. package/dist/utils/tree.js +1 -1
  404. package/dist/utils/warnings.js +1 -1
  405. package/dist/version.js +2 -2
  406. package/docs/BaseProperties.md +78 -0
  407. package/docs/ComplexLayout.md +459 -0
  408. package/docs/CreateComponent.md +410 -0
  409. package/docs/FieldProperties.md +117 -0
  410. package/docs/Introduction.md +122 -0
  411. package/docs/RenderCache.md +177 -0
  412. package/docs/Result.md +42 -0
  413. package/docs/SimpleLayout.md +26 -0
  414. package/docs/Typography.md +38 -0
  415. package/docs/components/Block.md +33 -0
  416. package/docs/components/CollectionItem.md +293 -0
  417. package/docs/components/GridProvider.md +38 -0
  418. package/docs/components/Root.md +50 -0
  419. package/docs/components/actions/Action.md +47 -0
  420. package/docs/components/actions/Banner.md +195 -0
  421. package/docs/components/actions/Button.md +209 -0
  422. package/docs/components/actions/ButtonGroup.md +46 -0
  423. package/docs/components/actions/ButtonSplit.md +199 -0
  424. package/docs/components/actions/CommandMenu.md +422 -0
  425. package/docs/components/actions/ItemAction.md +60 -0
  426. package/docs/components/actions/ItemButton.md +316 -0
  427. package/docs/components/actions/Link.md +325 -0
  428. package/docs/components/actions/Menu.md +485 -0
  429. package/docs/components/actions/MenuTrigger.md +47 -0
  430. package/docs/components/actions/SubMenuTrigger.md +38 -0
  431. package/docs/components/actions/use-anchored-menu.md +209 -0
  432. package/docs/components/actions/use-context-menu.md +218 -0
  433. package/docs/components/content/ActiveZone.md +37 -0
  434. package/docs/components/content/Alert.md +40 -0
  435. package/docs/components/content/Avatar.md +37 -0
  436. package/docs/components/content/Badge.md +194 -0
  437. package/docs/components/content/Card.md +40 -0
  438. package/docs/components/content/Content.md +44 -0
  439. package/docs/components/content/CopyPasteBlock.md +36 -0
  440. package/docs/components/content/CopySnippet.md +43 -0
  441. package/docs/components/content/Disclosure.md +181 -0
  442. package/docs/components/content/Divider.md +39 -0
  443. package/docs/components/content/Footer.md +35 -0
  444. package/docs/components/content/Header.md +35 -0
  445. package/docs/components/content/HotKeys.md +352 -0
  446. package/docs/components/content/Item.md +499 -0
  447. package/docs/components/content/ItemBadge.md +31 -0
  448. package/docs/components/content/ItemCard.md +131 -0
  449. package/docs/components/content/Layout.md +843 -0
  450. package/docs/components/content/Paragraph.md +32 -0
  451. package/docs/components/content/Placeholder.md +37 -0
  452. package/docs/components/content/PrismCode.md +36 -0
  453. package/docs/components/content/PrismDiffCode.md +29 -0
  454. package/docs/components/content/Result.md +46 -0
  455. package/docs/components/content/Skeleton.md +35 -0
  456. package/docs/components/content/Tag.md +165 -0
  457. package/docs/components/content/Text.md +54 -0
  458. package/docs/components/content/TextItem.md +217 -0
  459. package/docs/components/content/Title.md +45 -0
  460. package/docs/components/fields/Checkbox.md +176 -0
  461. package/docs/components/fields/ComboBox.md +651 -0
  462. package/docs/components/fields/DatePicker.md +227 -0
  463. package/docs/components/fields/FileInput.md +194 -0
  464. package/docs/components/fields/FilterListBox.md +726 -0
  465. package/docs/components/fields/FilterPicker.md +776 -0
  466. package/docs/components/fields/HueSlider.md +175 -0
  467. package/docs/components/fields/ListBox.md +714 -0
  468. package/docs/components/fields/NumberInput.md +180 -0
  469. package/docs/components/fields/PasswordInput.md +214 -0
  470. package/docs/components/fields/Picker.md +906 -0
  471. package/docs/components/fields/RadioGroup.md +310 -0
  472. package/docs/components/fields/SearchInput.md +224 -0
  473. package/docs/components/fields/Select.md +576 -0
  474. package/docs/components/fields/Slider.md +53 -0
  475. package/docs/components/fields/Switch.md +169 -0
  476. package/docs/components/fields/TextArea.md +61 -0
  477. package/docs/components/fields/TextInput.md +205 -0
  478. package/docs/components/fields/TextInputMapper.md +34 -0
  479. package/docs/components/form/Field.md +333 -0
  480. package/docs/components/form/Form.md +644 -0
  481. package/docs/components/form/FormInstance.md +307 -0
  482. package/docs/components/helpers/DisplayTransition.md +268 -0
  483. package/docs/components/helpers/IconSwitch.md +160 -0
  484. package/docs/components/layout/Flex.md +51 -0
  485. package/docs/components/layout/Flow.md +32 -0
  486. package/docs/components/layout/Grid.md +46 -0
  487. package/docs/components/layout/Panel.md +65 -0
  488. package/docs/components/layout/Prefix.md +37 -0
  489. package/docs/components/layout/ResizablePanel.md +69 -0
  490. package/docs/components/layout/Space.md +44 -0
  491. package/docs/components/layout/Suffix.md +39 -0
  492. package/docs/components/navigation/Tabs.md +726 -0
  493. package/docs/components/organisms/FileTabs.md +39 -0
  494. package/docs/components/organisms/StatsCard.md +40 -0
  495. package/docs/components/other/CloudLogo.md +33 -0
  496. package/docs/components/overlays/AlertDialog.md +51 -0
  497. package/docs/components/overlays/Dialog.md +200 -0
  498. package/docs/components/overlays/DialogContainer.md +201 -0
  499. package/docs/components/overlays/DialogForm.md +295 -0
  500. package/docs/components/overlays/DialogTrigger.md +191 -0
  501. package/docs/components/overlays/Notifications.md +402 -0
  502. package/docs/components/overlays/Toast.md +289 -0
  503. package/docs/components/overlays/Tooltip.md +400 -0
  504. package/docs/components/overlays/TooltipProvider.md +42 -0
  505. package/docs/components/overlays/TooltipTrigger.md +42 -0
  506. package/docs/components/overlays/UseDialogContainer.md +597 -0
  507. package/docs/components/portal/Portal.md +29 -0
  508. package/docs/components/status/LoadingAnimation.md +27 -0
  509. package/docs/components/status/Spin.md +35 -0
  510. package/docs/tasty/configuration.md +211 -0
  511. package/docs/tasty/debug.md +505 -0
  512. package/docs/tasty/injector.md +528 -0
  513. package/docs/tasty/styles.md +567 -0
  514. package/docs/tasty/tasty-static.md +376 -0
  515. package/docs/tasty/usage.md +695 -0
  516. package/package.json +4 -8
@@ -0,0 +1,32 @@
1
+ # Paragraph
2
+
3
+ A block-level text component for body content. Renders as `<p>` and extends `Text` with paragraph-specific defaults.
4
+
5
+ ## When to Use
6
+
7
+ - Body text and descriptions
8
+ - Multi-line content that should flow as paragraphs
9
+
10
+ ## Properties
11
+
12
+ Extends Text properties including `preset`, `color`, `weight`, `transform`, `ellipsis`, `nowrap`.
13
+
14
+ ### Style Defaults
15
+
16
+ - `display` — `block`
17
+ - `preset` — `p3`
18
+ - `color` — `#dark-02`
19
+
20
+ ### Base Properties
21
+
22
+ Supports [Base properties](../../BaseProperties.md).
23
+
24
+ ## Examples
25
+
26
+ ```jsx
27
+ <Paragraph>This is a paragraph of body text.</Paragraph>
28
+
29
+ <Paragraph preset="p2" color="#minor">
30
+ Secondary paragraph with custom styling.
31
+ </Paragraph>
32
+ ```
@@ -0,0 +1,37 @@
1
+ # Placeholder
2
+
3
+ A loading placeholder with optional shimmer animation. Used for skeleton-style loading states.
4
+
5
+ ## When to Use
6
+
7
+ - Content loading states
8
+ - Skeleton screens
9
+ - Placeholder for images or text while loading
10
+
11
+ ## Properties
12
+
13
+ - **`size`** `string` (default: `'2x'`) — Placeholder height
14
+ - **`circle`** `boolean` — Circular shape with `aspect-ratio: 1/1` (e.g. for avatars)
15
+ - **`isStatic`** `boolean` — Disable shimmer animation
16
+
17
+ ### Style Defaults
18
+
19
+ - `display` — `block`
20
+ - `fill` — `#dark.10`
21
+ - `height` — `2x`
22
+ - `radius` — `1r` (switches to `round` when `circle`)
23
+ - `opacity` — `.35`
24
+
25
+ ### Base Properties
26
+
27
+ Supports [Base properties](../../BaseProperties.md).
28
+
29
+ ## Examples
30
+
31
+ ```jsx
32
+ <Placeholder width="200px" height="24px" />
33
+
34
+ <Placeholder circle size="4x" />
35
+
36
+ <Placeholder isStatic width="100%" />
37
+ ```
@@ -0,0 +1,36 @@
1
+ # PrismCode
2
+
3
+ Syntax-highlighted code block using Prism. Supports multiple languages.
4
+
5
+ ## When to Use
6
+
7
+ - Documentation code examples
8
+ - Displaying code in UI
9
+ - Technical content with syntax highlighting
10
+
11
+ ## Properties
12
+
13
+ - **`code`** `string` (default: `''`) — The code snippet to highlight
14
+ - **`language`** `string` (default: `'javascript'`) — Language for syntax highlighting (`javascript`, `typescript`, `json`, `yaml`, `bash`, `sql`, `css`, `html`, etc.)
15
+
16
+ ### Style Defaults
17
+
18
+ - `margin` — `0`
19
+ - `padding` — `0`
20
+ - `overflow` — `auto`
21
+ - `scrollbar` — `styled`
22
+
23
+ ### Base Properties
24
+
25
+ Supports [Base properties](../../BaseProperties.md).
26
+
27
+ ## Examples
28
+
29
+ ```jsx
30
+ <PrismCode code="const x = 1;" language="javascript" />
31
+
32
+ <PrismCode
33
+ code={'function hello() {\n return "world";\n}'}
34
+ language="typescript"
35
+ />
36
+ ```
@@ -0,0 +1,29 @@
1
+ # PrismDiffCode
2
+
3
+ Displays a diff view of two code snippets with syntax highlighting. Highlights added and removed lines.
4
+
5
+ ## When to Use
6
+
7
+ - Showing code changes
8
+ - Before/after comparisons
9
+ - Code review displays
10
+
11
+ ## Properties
12
+
13
+ - **`original`** `string` (required) — Original code
14
+ - **`modified`** `string` (required) — Modified code
15
+ - **`language`** `string` — Syntax highlighting language
16
+
17
+ ### Base Properties
18
+
19
+ Supports [Base properties](../../BaseProperties.md).
20
+
21
+ ## Examples
22
+
23
+ ```jsx
24
+ <PrismDiffCode
25
+ original="const x = 1;"
26
+ modified="const x = 2;"
27
+ language="javascript"
28
+ />
29
+ ```
@@ -0,0 +1,46 @@
1
+ # Result
2
+
3
+ An empty state or result display with icon, title, and optional content. Supports status presets with built-in icons.
4
+
5
+ ## When to Use
6
+
7
+ - Empty states (no data, no results)
8
+ - Success/error feedback after actions
9
+ - 404, 403, 500 error pages
10
+ - Informational messages
11
+
12
+ ## Properties
13
+
14
+ - **`status`** `'success' | 'error' | 'info' | 'warning' | 404 | 403 | 500` (default: `'info'`) — Predefined status with corresponding icon
15
+ - **`title`** `ReactNode` — Main title text
16
+ - **`subtitle`** `ReactNode` — Secondary text below title
17
+ - **`icon`** `ReactNode` — Custom icon (overrides status icon)
18
+ - **`isCompact`** `boolean` — Compact horizontal layout
19
+
20
+ ### Style Defaults
21
+
22
+ - `display` — `flex` (switches to `grid` when `isCompact`)
23
+ - `flow` — `column`
24
+ - `placeContent` — `center` (switches to `start` when `isCompact`)
25
+ - `placeItems` — `center` (switches to `start` when `isCompact`)
26
+ - `gap` — `3x` (switches to `2x 1x` when `isCompact`)
27
+ - `padding` — `6x 4x` (switches to `0` when `isCompact`)
28
+ - `textAlign` — `center` (switches to `left` when `isCompact`)
29
+
30
+ ### Base Properties
31
+
32
+ Supports [Base properties](../../BaseProperties.md).
33
+
34
+ ## Examples
35
+
36
+ ```jsx
37
+ <Result status="success" title="Saved" subtitle="Your changes have been saved." />
38
+
39
+ <Result status="error" title="Something went wrong" subtitle="Please try again." />
40
+
41
+ <Result status={404} title="Page not found" />
42
+
43
+ <Result status="info" title="No items" subtitle="Add your first item to get started.">
44
+ <Button>Add Item</Button>
45
+ </Result>
46
+ ```
@@ -0,0 +1,35 @@
1
+ # Skeleton
2
+
3
+ A skeleton loading indicator with preset layouts. Composes `Placeholder` components to mimic content structure.
4
+
5
+ ## When to Use
6
+
7
+ - Loading states for complex layouts
8
+ - Progressive content loading
9
+ - Replacing spinners with content-aware placeholders
10
+
11
+ ## Properties
12
+
13
+ - **`layout`** `'page' | 'content' | 'topbar' | 'menu' | 'stats' | 'tabs' | 'table' | 'chart'` (default: `'page'`) — Preset layout pattern
14
+ - **`lines`** `number` (default: `5`) — Number of placeholder lines (for page, content, menu, tabs layouts)
15
+ - **`rows`** `number` (default: `5`) — Number of table rows (for table layout)
16
+ - **`columns`** `number` (default: `5`) — Number of columns (for table and chart layouts)
17
+ - **`tabs`** `number` (default: `3`) — Number of tabs (for tabs layout)
18
+ - **`cards`** `number` (default: `3`) — Number of stat cards (for stats layout)
19
+ - **`isStatic`** `boolean` (default: `false`) — Disable shimmer animation
20
+
21
+ ### Base Properties
22
+
23
+ Supports [Base properties](../../BaseProperties.md).
24
+
25
+ ## Examples
26
+
27
+ ```jsx
28
+ <Skeleton layout="content" lines={5} />
29
+
30
+ <Skeleton layout="page" />
31
+
32
+ <Skeleton layout="table" rows={5} columns={4} />
33
+
34
+ <Skeleton layout="chart" columns={8} />
35
+ ```
@@ -0,0 +1,165 @@
1
+ # Tag
2
+
3
+ Tags are compact, inline elements used to label, categorize, or organize items. They provide visual metadata and can optionally be dismissed by users.
4
+
5
+ ## When to Use
6
+
7
+ - **Categorization**: Label items with topics, categories, or types
8
+ - **Filtering**: Display active filters or search criteria
9
+ - **Status**: Show status indicators or states
10
+ - **User Input**: Display selected items in multi-select scenarios
11
+ - **Metadata**: Show additional information about content
12
+
13
+ ## When Not to Use
14
+
15
+ - **Navigation**: Use `Button` or `Link` for navigation actions
16
+ - **Actions**: Use `Button` for primary or secondary actions
17
+ - **Long text**: Tags should contain short, scannable text
18
+ - **Complex content**: For multi-line or detailed content, use `Badge` or `Card`
19
+
20
+ ## Component
21
+
22
+ ---
23
+
24
+ ### Properties
25
+
26
+ - **`children`** `ReactNode` — Tag content
27
+ - **`icon`** `ReactNode` — Icon to display before the tag content
28
+ - **`theme`** `'default' | 'danger' | 'success' | 'warning' | 'note' | 'special' | 'disabled'` (default: `default`) — Visual theme of the tag
29
+ - **`type`** `string` — Deprecated: Use theme instead
30
+ - **`size`** `string` (default: `inline`) — Size of the tag
31
+ - **`isClosable`** `boolean` (default: `false`) — Whether the tag can be closed
32
+ - **`onClose`** `() => void` — Handler called when close button is pressed
33
+ - **`closeButtonStyles`** `Styles` — Custom styles for the close button
34
+
35
+ ### Base Properties
36
+
37
+ Tag extends from `Item` component and supports all base design system properties including:
38
+ - Layout props: `width`, `height`, `margin`, `padding`
39
+ - Color props: `fill`, `color`, `border`
40
+ - Typography props: `preset`, `fontSize`, `fontWeight`
41
+ - Other Item props: `tooltip`, `isDisabled`, `qa`
42
+
43
+ ## Examples
44
+
45
+ ### Themes
46
+
47
+ Tags support multiple themes for different semantic meanings:
48
+
49
+ Available themes:
50
+ - **Default**: Neutral, for general categorization
51
+ - **Warning**: Yellow/amber, caution or attention needed
52
+ - **Note**: Violet, informational content
53
+ - **Success**: Green, positive states or completed actions
54
+ - **Danger**: Red, errors or destructive actions
55
+ - **Special**: Purple, highlighted or premium features
56
+ - **Disabled**: Gray, inactive or unavailable items
57
+
58
+ ### With Icons
59
+
60
+ Icons can be added to provide additional visual context:
61
+
62
+ ```jsx
63
+ import { IconCoin } from '@tabler/icons-react';
64
+
65
+ <Tag icon={<IconCoin />}>With Icon</Tag>
66
+ ```
67
+
68
+ ### Closable Tags
69
+
70
+ Tags can be made dismissible with the `isClosable` prop:
71
+
72
+ All themes support the closable variant:
73
+
74
+ ```jsx
75
+ <Tag isClosable onClose={() => console.log('Tag closed')}>
76
+ Closable Tag
77
+ </Tag>
78
+ ```
79
+
80
+ ### Closable with Icons
81
+
82
+ Combine icons with closable functionality:
83
+
84
+ ### Sizes
85
+
86
+ Tags support multiple sizes inherited from the Item component:
87
+
88
+ - **inline** (default): Compact size that fits inline with text
89
+ - **xsmall**: Extra small button-like size
90
+ - **small**: Small button-like size
91
+ - **medium**: Medium button-like size
92
+ - **large**: Large button-like size
93
+
94
+ ### Custom Styles
95
+
96
+ Apply custom styling using the `styles` prop:
97
+
98
+ ```jsx
99
+ <Tag
100
+ styles={{
101
+ fill: '#purple.10',
102
+ color: '#purple',
103
+ border: '#purple.30',
104
+ }}
105
+ >
106
+ Custom Tag
107
+ </Tag>
108
+ ```
109
+
110
+ ## Best Practices
111
+
112
+ ### Content
113
+
114
+ - Keep tag text short and scannable (1-3 words ideal)
115
+ - Use sentence case for tag labels
116
+ - Use consistent terminology across similar tags
117
+ - Avoid punctuation unless necessary
118
+
119
+ ### Interaction
120
+
121
+ - Only make tags closable when users can dismiss them
122
+ - Provide feedback when a tag is closed (e.g., update list)
123
+ - Consider confirmation for destructive closures
124
+ - Ensure close buttons are accessible via keyboard
125
+
126
+ ### Visual Design
127
+
128
+ - Use theme consistently for semantic meaning
129
+ - Don't mix too many themes in the same group
130
+ - Maintain adequate spacing between tags
131
+ - Consider wrapping behavior for multiple tags
132
+
133
+ ### Accessibility
134
+
135
+ - Tags have `role="status"` for screen readers
136
+ - Close buttons include `aria-label="Close"`
137
+ - All themes maintain sufficient color contrast
138
+ - Keyboard navigation is fully supported via Item
139
+
140
+ ## Related Components
141
+
142
+ - **Badge**: For numerical indicators or counts
143
+ - **Chip**: For interactive selection chips
144
+ - **Button**: For actions and navigation
145
+ - **Item**: Base component that Tag extends from
146
+
147
+ ## Migration from Legacy Tag
148
+
149
+ The Tag component now extends from `Item`, providing enhanced functionality:
150
+
151
+ ```jsx
152
+ // Old API still works
153
+ <Tag type="success">Legacy</Tag>
154
+
155
+ // New API (preferred)
156
+ <Tag theme="success">Modern</Tag>
157
+
158
+ // New features from Item
159
+ <Tag tooltip="Additional info" isDisabled>
160
+ With Tooltip
161
+ </Tag>
162
+ ```
163
+
164
+ The `type` prop is deprecated in favor of `theme` for consistency with other components.
165
+
@@ -0,0 +1,54 @@
1
+ # Text
2
+
3
+ A flexible text component for inline or block text. Renders as `<span>` by default with support for typography presets, ellipsis, and semantic variants.
4
+
5
+ ## When to Use
6
+
7
+ - Inline text within other components
8
+ - Labels, captions, and short text content
9
+ - Text that needs ellipsis truncation or custom typography
10
+
11
+ ## Properties
12
+
13
+ - **`as`** `TagName` (default: `'span'`) — HTML element to render
14
+ - **`monospace`** `boolean` — Use monospace font
15
+ - **`ellipsis`** `boolean` — Truncate overflow with ellipsis (sets `display: block`, `nowrap`, `overflow: hidden`)
16
+ - **`nowrap`** `boolean` — Prevent text wrapping
17
+ - **`block`** `boolean` — Display as block element
18
+ - **`italic`** `string` — Font style (maps to `fontStyle`)
19
+ - **`weight`** `string | number` — Font weight (maps to `fontWeight`)
20
+ - **`transform`** `string` — Text transform (maps to `textTransform`)
21
+
22
+ ### Style Defaults
23
+
24
+ - `display` — `inline` (switches to `block` when `ellipsis` or `block`)
25
+ - `margin` — `0`
26
+ - `padding` — `0`
27
+
28
+ ### Base Properties
29
+
30
+ Supports [Base properties](../../BaseProperties.md).
31
+
32
+ ### Variants
33
+
34
+ - `Text.Minor` — Muted/secondary text color
35
+ - `Text.Danger` — Error or destructive text
36
+ - `Text.Success` — Success or positive text
37
+ - `Text.Strong` — Bold emphasis
38
+ - `Text.Emphasis` — Italic emphasis
39
+ - `Text.Placeholder` — Placeholder-style text
40
+ - `Text.Highlight` — Highlighted text (mark element)
41
+
42
+ ## Examples
43
+
44
+ ```jsx
45
+ <Text>Inline text</Text>
46
+
47
+ <Text ellipsis style={{ maxWidth: 200 }}>
48
+ Long text that will be truncated with ellipsis
49
+ </Text>
50
+
51
+ <Text.Minor>Secondary information</Text.Minor>
52
+
53
+ <Text.Danger>Error message</Text.Danger>
54
+ ```
@@ -0,0 +1,217 @@
1
+ # TextItem
2
+
3
+ A text component with built-in overflow handling and auto-tooltips. When text is truncated, a tooltip automatically appears on hover showing the full content. Also supports text highlighting for search results.
4
+
5
+ ## When to Use
6
+
7
+ - Display text that may overflow its container with automatic tooltip fallback
8
+ - Show search results with highlighted matching terms
9
+ - Labels or descriptions in constrained layouts (sidebars, tables, lists)
10
+ - Any text that needs ellipsis truncation with accessible full-text disclosure
11
+
12
+ ## Component
13
+
14
+ ---
15
+
16
+ ### Properties
17
+
18
+ - **`children`** `ReactNode` — Text content
19
+ - **`highlight`** `string` — String to highlight within children
20
+ - **`highlightCaseSensitive`** `boolean` (default: `false`) — Whether highlight matching is case-sensitive
21
+ - **`tooltip`** `string | boolean | TooltipProviderProps` (default: `true`) — Tooltip configuration. Use true for auto tooltip on overflow, string for custom tooltip text.
22
+ - **`tooltipPlacement`** `Placement` (default: `top`) — Default tooltip placement
23
+
24
+ ### Base Properties
25
+
26
+ Supports [Base properties](../../BaseProperties.md) and all Text properties including `preset`, `color`, `weight`, `transform`, `ellipsis`, `nowrap`.
27
+
28
+ ### Styling Properties
29
+
30
+ #### styles
31
+
32
+ Customizes the root text element. Inherits all styling capabilities from the Text component.
33
+
34
+ #### highlightStyles
35
+
36
+ Customizes the appearance of highlighted text portions.
37
+
38
+ ### Style Properties
39
+
40
+ These properties allow direct style application: `preset`, `color`, `weight`, `transform`, and all standard text/color style props.
41
+
42
+ ## Examples
43
+
44
+ ### Basic Usage
45
+
46
+ ```jsx
47
+ <TextItem>Simple text content</TextItem>
48
+ ```
49
+
50
+ ### Overflow with Auto-Tooltip
51
+
52
+ When text overflows its container, hovering reveals a tooltip with the full content:
53
+
54
+ ```jsx
55
+ <Block width="200px">
56
+ <TextItem>
57
+ This is a very long text that will be truncated with ellipsis
58
+ and show a tooltip on hover
59
+ </TextItem>
60
+ </Block>
61
+ ```
62
+
63
+ ### Text Highlighting
64
+
65
+ Highlight matching text within the content - useful for search results:
66
+
67
+ ```jsx
68
+ <TextItem highlight="search">
69
+ Search results with highlighted text matching your query
70
+ </TextItem>
71
+ ```
72
+
73
+ ### Custom Highlight Styles
74
+
75
+ Customize the appearance of highlighted text with `highlightStyles`:
76
+
77
+ ```jsx
78
+ <TextItem
79
+ highlight="important"
80
+ highlightStyles={{ fill: '#purple.20', color: '#purple' }}
81
+ >
82
+ This important text has custom highlight styling
83
+ </TextItem>
84
+ ```
85
+
86
+ ### Case-Sensitive Highlighting
87
+
88
+ By default, highlighting is case-insensitive. Enable case-sensitive matching with `highlightCaseSensitive`:
89
+
90
+ ```jsx
91
+ {/* Case-insensitive (default) - matches TEXT, text, Text */}
92
+ <TextItem highlight="text">
93
+ TEXT and text and Text are all highlighted
94
+ </TextItem>
95
+
96
+ {/* Case-sensitive - only matches exact case */}
97
+ <TextItem highlight="text" highlightCaseSensitive>
98
+ TEXT and text and Text - only lowercase is highlighted
99
+ </TextItem>
100
+ ```
101
+
102
+ ### Multiple Highlights
103
+
104
+ All occurrences of the highlight string are highlighted:
105
+
106
+ ```jsx
107
+ <TextItem highlight="fox">
108
+ The quick brown fox jumps over the lazy fox
109
+ </TextItem>
110
+ ```
111
+
112
+ ### Custom Tooltip
113
+
114
+ Override the auto-tooltip with custom content:
115
+
116
+ ```jsx
117
+ <TextItem tooltip="Custom tooltip text that differs from the content">
118
+ Short text
119
+ </TextItem>
120
+ ```
121
+
122
+ ### Disabled Tooltip
123
+
124
+ Disable the tooltip entirely:
125
+
126
+ ```jsx
127
+ <TextItem tooltip={false}>
128
+ This text will truncate but won't show a tooltip
129
+ </TextItem>
130
+ ```
131
+
132
+ ### Tooltip Placement
133
+
134
+ Control where the tooltip appears:
135
+
136
+ ```jsx
137
+ <TextItem tooltipPlacement="bottom">
138
+ Tooltip appears below on hover
139
+ </TextItem>
140
+ ```
141
+
142
+ ### With Text Styles
143
+
144
+ Apply typography and color styles:
145
+
146
+ ```jsx
147
+ <TextItem preset="h3">Heading style</TextItem>
148
+ <TextItem preset="t2" color="#purple">Colored text</TextItem>
149
+ <TextItem weight="bold">Bold text</TextItem>
150
+ ```
151
+
152
+ ### Search Results List
153
+
154
+ Common pattern for filterable lists with highlighted search terms:
155
+
156
+ ```jsx
157
+ const items = ['Apple', 'Application', 'Banana', 'Apply', 'Grape'];
158
+ const searchTerm = 'app';
159
+
160
+ <Space flow="column" gap="0.5x">
161
+ {items.map((item) => (
162
+ <TextItem key={item} highlight={searchTerm}>
163
+ {item}
164
+ </TextItem>
165
+ ))}
166
+ </Space>
167
+ ```
168
+
169
+ ## Accessibility
170
+
171
+ ### Keyboard Navigation
172
+
173
+ - `Tab` - Moves focus to the component (when tooltip is enabled)
174
+ - Tooltip content is accessible via focus, not just hover
175
+
176
+ ### Screen Reader Support
177
+
178
+ - Truncated text is fully accessible via tooltip
179
+ - Highlighted text uses semantic `<mark>` element for screen reader announcement
180
+ - Tooltip content is announced when triggered
181
+
182
+ ### ARIA Properties
183
+
184
+ - Tooltip trigger automatically manages `aria-describedby` for tooltip association
185
+
186
+ ## Best Practices
187
+
188
+ 1. **Do**: Use for text that may exceed container width
189
+ ```jsx
190
+ <Block width="200px">
191
+ <TextItem>Long filename-that-might-overflow.tsx</TextItem>
192
+ </Block>
193
+ ```
194
+
195
+ 2. **Do**: Provide meaningful highlight terms for search
196
+ ```jsx
197
+ <TextItem highlight={userSearchQuery}>{result.title}</TextItem>
198
+ ```
199
+
200
+ 3. **Don't**: Use for multi-line text (this component enforces single-line with ellipsis)
201
+ ```jsx
202
+ {/* Use Text component instead for multi-line content */}
203
+ <Text>Multi-line paragraph content...</Text>
204
+ ```
205
+
206
+ 4. **Don't**: Disable tooltips for important truncated content
207
+ ```jsx
208
+ {/* Users won't be able to see the full text */}
209
+ <TextItem tooltip={false}>Important information that gets cut off...</TextItem>
210
+ ```
211
+
212
+ ## Related Components
213
+
214
+ - Text - Base text component without overflow handling
215
+ - [Item](./Item.md) - Interactive list item with similar overflow behavior
216
+ - [TooltipProvider](../overlays/Tooltip.md) - Standalone tooltip wrapper
217
+
@@ -0,0 +1,45 @@
1
+ # Title
2
+
3
+ A heading component for section titles. Renders as `h1`–`h6` based on the `level` prop.
4
+
5
+ ## When to Use
6
+
7
+ - Page and section headings
8
+ - Hierarchical content structure
9
+ - Accessible heading levels for document outline
10
+
11
+ ## Properties
12
+
13
+ - **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `1`) — Heading level (maps to `h1`–`h6` tag and corresponding preset `h1`–`h6`)
14
+ - **`ellipsis`** `boolean` — Truncate overflow with ellipsis
15
+ - **`nowrap`** `boolean` — Prevent text wrapping
16
+
17
+ ### Style Defaults
18
+
19
+ - `display` — `block`
20
+ - `color` — `#dark`
21
+ - `margin` — `0`
22
+ - `gridArea` — `title`
23
+
24
+ ### Base Properties
25
+
26
+ Supports [Base properties](../../BaseProperties.md).
27
+
28
+ ### Variants
29
+
30
+ - `Title.Danger` — Error or destructive heading
31
+ - `Title.Success` — Success or positive heading
32
+
33
+ ## Examples
34
+
35
+ ```jsx
36
+ <Title level={1}>Page Title</Title>
37
+
38
+ <Title level={2}>Section Heading</Title>
39
+
40
+ <Title level={3} ellipsis>
41
+ Long heading that truncates
42
+ </Title>
43
+
44
+ <Title.Danger level={4}>Error State</Title.Danger>
45
+ ```