@dxos/react-ui 0.10.0 → 0.11.0

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 (354) hide show
  1. package/dist/lib/chunk-parse-stack.mjs +1566 -0
  2. package/dist/lib/chunk-parse-stack.mjs.map +1 -0
  3. package/dist/lib/index.mjs +5220 -0
  4. package/dist/lib/index.mjs.map +1 -0
  5. package/dist/lib/testing.mjs +144 -0
  6. package/dist/lib/testing.mjs.map +1 -0
  7. package/dist/lib/translations.mjs +38 -0
  8. package/dist/lib/translations.mjs.map +1 -0
  9. package/dist/types/src/components/Avatars/Avatar.d.ts +1 -6
  10. package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
  11. package/dist/types/src/components/Avatars/AvatarContext.d.ts +9 -0
  12. package/dist/types/src/components/Avatars/AvatarContext.d.ts.map +1 -0
  13. package/dist/types/src/components/Avatars/index.d.ts +1 -0
  14. package/dist/types/src/components/Avatars/index.d.ts.map +1 -1
  15. package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  16. package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  17. package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  18. package/dist/types/src/components/Breadcrumb/Breadcrumb.theme.d.ts.map +1 -1
  19. package/dist/types/src/components/Button/Button.d.ts +1 -6
  20. package/dist/types/src/components/Button/Button.d.ts.map +1 -1
  21. package/dist/types/src/components/Button/ButtonGroupContext.d.ts +9 -0
  22. package/dist/types/src/components/Button/ButtonGroupContext.d.ts.map +1 -0
  23. package/dist/types/src/components/Button/IconButton.d.ts.map +1 -1
  24. package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -1
  25. package/dist/types/src/components/Button/IconButton.theme.d.ts +1 -0
  26. package/dist/types/src/components/Button/IconButton.theme.d.ts.map +1 -1
  27. package/dist/types/src/components/Button/SystemIconButton.d.ts +1 -1
  28. package/dist/types/src/components/Button/SystemIconButton.d.ts.map +1 -1
  29. package/dist/types/src/components/Button/index.d.ts +1 -0
  30. package/dist/types/src/components/Button/index.d.ts.map +1 -1
  31. package/dist/types/src/components/Calendar/Calendar.d.ts +0 -2
  32. package/dist/types/src/components/Calendar/Calendar.d.ts.map +1 -1
  33. package/dist/types/src/components/Calendar/index.d.ts +1 -0
  34. package/dist/types/src/components/Calendar/index.d.ts.map +1 -1
  35. package/dist/types/src/components/Calendar/parse-calendar-date.d.ts +3 -0
  36. package/dist/types/src/components/Calendar/parse-calendar-date.d.ts.map +1 -0
  37. package/dist/types/src/components/Card/Card.d.ts +42 -15
  38. package/dist/types/src/components/Card/Card.d.ts.map +1 -1
  39. package/dist/types/src/components/Card/Card.theme.d.ts +0 -1
  40. package/dist/types/src/components/Card/Card.theme.d.ts.map +1 -1
  41. package/dist/types/src/components/Carousel/Carousel.d.ts +2 -4
  42. package/dist/types/src/components/Carousel/Carousel.d.ts.map +1 -1
  43. package/dist/types/src/components/Carousel/CarouselContext.d.ts +8 -0
  44. package/dist/types/src/components/Carousel/CarouselContext.d.ts.map +1 -0
  45. package/dist/types/src/components/Carousel/index.d.ts +1 -0
  46. package/dist/types/src/components/Carousel/index.d.ts.map +1 -1
  47. package/dist/types/src/components/Clipboard/ClipboardContext.d.ts +7 -0
  48. package/dist/types/src/components/Clipboard/ClipboardContext.d.ts.map +1 -0
  49. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts +0 -6
  50. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts.map +1 -1
  51. package/dist/types/src/components/Clipboard/index.d.ts +1 -1
  52. package/dist/types/src/components/Clipboard/index.d.ts.map +1 -1
  53. package/dist/types/src/components/Column/Column.d.ts +7 -12
  54. package/dist/types/src/components/Column/Column.d.ts.map +1 -1
  55. package/dist/types/src/components/Column/Column.stories.d.ts +2 -2
  56. package/dist/types/src/components/Column/Column.theme.d.ts +0 -1
  57. package/dist/types/src/components/Column/Column.theme.d.ts.map +1 -1
  58. package/dist/types/src/components/Column/ColumnContext.d.ts +9 -0
  59. package/dist/types/src/components/Column/ColumnContext.d.ts.map +1 -0
  60. package/dist/types/src/components/Column/index.d.ts +1 -0
  61. package/dist/types/src/components/Column/index.d.ts.map +1 -1
  62. package/dist/types/src/components/Column/withColumn.d.ts +40 -4
  63. package/dist/types/src/components/Column/withColumn.d.ts.map +1 -1
  64. package/dist/types/src/components/DatePicker/DatePicker.d.ts +0 -10
  65. package/dist/types/src/components/DatePicker/DatePicker.d.ts.map +1 -1
  66. package/dist/types/src/components/DatePicker/DatePickerContext.d.ts +13 -0
  67. package/dist/types/src/components/DatePicker/DatePickerContext.d.ts.map +1 -0
  68. package/dist/types/src/components/DatePicker/index.d.ts +1 -0
  69. package/dist/types/src/components/DatePicker/index.d.ts.map +1 -1
  70. package/dist/types/src/components/Dialog/AlertDialog.d.ts +3 -3
  71. package/dist/types/src/components/Dialog/Dialog.d.ts +3 -3
  72. package/dist/types/src/components/ErrorFallback/ErrorStack.d.ts +5 -10
  73. package/dist/types/src/components/ErrorFallback/ErrorStack.d.ts.map +1 -1
  74. package/dist/types/src/components/ErrorFallback/index.d.ts +1 -0
  75. package/dist/types/src/components/ErrorFallback/index.d.ts.map +1 -1
  76. package/dist/types/src/components/ErrorFallback/parse-stack.d.ts +8 -0
  77. package/dist/types/src/components/ErrorFallback/parse-stack.d.ts.map +1 -0
  78. package/dist/types/src/components/Focus/Focus.d.ts +2 -10
  79. package/dist/types/src/components/Focus/Focus.d.ts.map +1 -1
  80. package/dist/types/src/components/Focus/FocusContext.d.ts +10 -0
  81. package/dist/types/src/components/Focus/FocusContext.d.ts.map +1 -0
  82. package/dist/types/src/components/Focus/index.d.ts +1 -0
  83. package/dist/types/src/components/Focus/index.d.ts.map +1 -1
  84. package/dist/types/src/components/Input/Input.d.ts +9 -10
  85. package/dist/types/src/components/Input/Input.d.ts.map +1 -1
  86. package/dist/types/src/components/Input/Input.stories.d.ts +7 -2
  87. package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
  88. package/dist/types/src/components/Input/Input.theme.d.ts +13 -0
  89. package/dist/types/src/components/Input/Input.theme.d.ts.map +1 -1
  90. package/dist/types/src/components/Input/InputTriggerContext.d.ts +15 -0
  91. package/dist/types/src/components/Input/InputTriggerContext.d.ts.map +1 -0
  92. package/dist/types/src/components/Input/SegmentedInput.d.ts.map +1 -1
  93. package/dist/types/src/components/Input/index.d.ts +1 -0
  94. package/dist/types/src/components/Input/index.d.ts.map +1 -1
  95. package/dist/types/src/components/Main/Main.d.ts +2 -35
  96. package/dist/types/src/components/Main/Main.d.ts.map +1 -1
  97. package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
  98. package/dist/types/src/components/Main/Main.theme.d.ts.map +1 -1
  99. package/dist/types/src/components/Main/MainContext.d.ts +38 -0
  100. package/dist/types/src/components/Main/MainContext.d.ts.map +1 -0
  101. package/dist/types/src/components/Main/index.d.ts +1 -0
  102. package/dist/types/src/components/Main/index.d.ts.map +1 -1
  103. package/dist/types/src/components/MediaPlayer/MediaPlayer.d.ts +1 -17
  104. package/dist/types/src/components/MediaPlayer/MediaPlayer.d.ts.map +1 -1
  105. package/dist/types/src/components/MediaPlayer/index.d.ts +1 -0
  106. package/dist/types/src/components/MediaPlayer/index.d.ts.map +1 -1
  107. package/dist/types/src/components/MediaPlayer/media-kind.d.ts +18 -0
  108. package/dist/types/src/components/MediaPlayer/media-kind.d.ts.map +1 -0
  109. package/dist/types/src/components/Menu/DropdownMenu.d.ts +6 -22
  110. package/dist/types/src/components/Menu/DropdownMenu.d.ts.map +1 -1
  111. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts +1 -11
  112. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts.map +1 -1
  113. package/dist/types/src/components/Menu/DropdownMenuContext.d.ts +27 -0
  114. package/dist/types/src/components/Menu/DropdownMenuContext.d.ts.map +1 -0
  115. package/dist/types/src/components/Menu/index.d.ts +1 -0
  116. package/dist/types/src/components/Menu/index.d.ts.map +1 -1
  117. package/dist/types/src/components/Message/Message.d.ts +11 -6
  118. package/dist/types/src/components/Message/Message.d.ts.map +1 -1
  119. package/dist/types/src/components/Message/Message.stories.d.ts +4 -1
  120. package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
  121. package/dist/types/src/components/Message/Message.theme.d.ts.map +1 -1
  122. package/dist/types/src/components/Message/index.d.ts +1 -0
  123. package/dist/types/src/components/Message/index.d.ts.map +1 -1
  124. package/dist/types/src/components/Message/message-icons.d.ts +3 -0
  125. package/dist/types/src/components/Message/message-icons.d.ts.map +1 -0
  126. package/dist/types/src/components/Panel/Panel.d.ts +4 -4
  127. package/dist/types/src/components/Panel/Panel.stories.d.ts.map +1 -1
  128. package/dist/types/src/components/Panel/Panel.theme.d.ts +1 -1
  129. package/dist/types/src/components/Panel/Panel.theme.d.ts.map +1 -1
  130. package/dist/types/src/components/Popover/Popover.d.ts +6 -10
  131. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  132. package/dist/types/src/components/Popover/PopoverContext.d.ts +29 -0
  133. package/dist/types/src/components/Popover/PopoverContext.d.ts.map +1 -0
  134. package/dist/types/src/components/Popover/index.d.ts +1 -0
  135. package/dist/types/src/components/Popover/index.d.ts.map +1 -1
  136. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +2 -2
  137. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +2 -2
  138. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts +3 -16
  139. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts.map +1 -1
  140. package/dist/types/src/components/ScrollContainer/ScrollContainerContext.d.ts +16 -0
  141. package/dist/types/src/components/ScrollContainer/ScrollContainerContext.d.ts.map +1 -0
  142. package/dist/types/src/components/ScrollContainer/index.d.ts +1 -0
  143. package/dist/types/src/components/ScrollContainer/index.d.ts.map +1 -1
  144. package/dist/types/src/components/Slider/Slider.d.ts +25 -0
  145. package/dist/types/src/components/Slider/Slider.d.ts.map +1 -0
  146. package/dist/types/src/components/Slider/Slider.stories.d.ts +29 -0
  147. package/dist/types/src/components/Slider/Slider.stories.d.ts.map +1 -0
  148. package/dist/types/src/components/Slider/Slider.test.d.ts +2 -0
  149. package/dist/types/src/components/Slider/Slider.test.d.ts.map +1 -0
  150. package/dist/types/src/components/Slider/Slider.theme.d.ts +7 -0
  151. package/dist/types/src/components/Slider/Slider.theme.d.ts.map +1 -0
  152. package/dist/types/src/components/Slider/index.d.ts +2 -0
  153. package/dist/types/src/components/Slider/index.d.ts.map +1 -0
  154. package/dist/types/src/components/Splitter/Splitter.d.ts +3 -3
  155. package/dist/types/src/components/Status/Status.d.ts.map +1 -1
  156. package/dist/types/src/components/Toolbar/Toolbar.d.ts +4 -2
  157. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  158. package/dist/types/src/components/Toolbar/Toolbar.theme.d.ts.map +1 -1
  159. package/dist/types/src/components/Tooltip/TextTooltip.d.ts.map +1 -1
  160. package/dist/types/src/components/Tooltip/Tooltip.d.ts +2 -23
  161. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  162. package/dist/types/src/components/Tooltip/TooltipContext.d.ts +35 -0
  163. package/dist/types/src/components/Tooltip/TooltipContext.d.ts.map +1 -0
  164. package/dist/types/src/components/Tooltip/index.d.ts +1 -0
  165. package/dist/types/src/components/Tooltip/index.d.ts.map +1 -1
  166. package/dist/types/src/components/index.d.ts +1 -0
  167. package/dist/types/src/components/index.d.ts.map +1 -1
  168. package/dist/types/src/exemplars/generics.stories.d.ts +1 -1
  169. package/dist/types/src/hooks/useIconHref.d.ts +8 -0
  170. package/dist/types/src/hooks/useIconHref.d.ts.map +1 -1
  171. package/dist/types/src/hooks/useThemeContext.d.ts +2 -1
  172. package/dist/types/src/hooks/useThemeContext.d.ts.map +1 -1
  173. package/dist/types/src/hooks/useThemeContext.test.d.ts +2 -0
  174. package/dist/types/src/hooks/useThemeContext.test.d.ts.map +1 -0
  175. package/dist/types/src/playground/Density.stories.d.ts +11 -0
  176. package/dist/types/src/playground/Density.stories.d.ts.map +1 -0
  177. package/dist/types/src/playground/Elevation.stories.d.ts +14 -0
  178. package/dist/types/src/playground/Elevation.stories.d.ts.map +1 -0
  179. package/dist/types/src/primitives/Container/Container.d.ts +1 -1
  180. package/dist/types/src/primitives/Container/Container.d.ts.map +1 -1
  181. package/dist/types/src/primitives/DensityProvider/DensityContext.d.ts +6 -0
  182. package/dist/types/src/primitives/DensityProvider/DensityContext.d.ts.map +1 -0
  183. package/dist/types/src/primitives/DensityProvider/DensityProvider.d.ts +10 -4
  184. package/dist/types/src/primitives/DensityProvider/DensityProvider.d.ts.map +1 -1
  185. package/dist/types/src/primitives/DensityProvider/index.d.ts +1 -0
  186. package/dist/types/src/primitives/DensityProvider/index.d.ts.map +1 -1
  187. package/dist/types/src/primitives/Flex/Flex.d.ts +1 -1
  188. package/dist/types/src/primitives/Flex/Flex.d.ts.map +1 -1
  189. package/dist/types/src/primitives/Grid/Grid.d.ts +1 -1
  190. package/dist/types/src/primitives/Grid/Grid.d.ts.map +1 -1
  191. package/dist/types/src/primitives/ThemeProvider/IconRegistry.d.ts +15 -0
  192. package/dist/types/src/primitives/ThemeProvider/IconRegistry.d.ts.map +1 -0
  193. package/dist/types/src/primitives/ThemeProvider/ThemeProvider.d.ts +1 -2
  194. package/dist/types/src/primitives/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  195. package/dist/types/src/primitives/ThemeProvider/ThemeProvider.stories.d.ts +1 -1
  196. package/dist/types/src/primitives/ThemeProvider/TranslationsContext.d.ts +112 -0
  197. package/dist/types/src/primitives/ThemeProvider/TranslationsContext.d.ts.map +1 -0
  198. package/dist/types/src/primitives/ThemeProvider/TranslationsProvider.d.ts +0 -109
  199. package/dist/types/src/primitives/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  200. package/dist/types/src/primitives/ThemeProvider/icon-registry.d.ts +34 -0
  201. package/dist/types/src/primitives/ThemeProvider/icon-registry.d.ts.map +1 -0
  202. package/dist/types/src/primitives/ThemeProvider/index.d.ts +3 -1
  203. package/dist/types/src/primitives/ThemeProvider/index.d.ts.map +1 -1
  204. package/dist/types/src/testing/decorators/withTheme.d.ts +1 -1
  205. package/dist/types/src/testing/decorators/withTheme.d.ts.map +1 -1
  206. package/dist/types/src/theme/defaultTheme.d.ts.map +1 -1
  207. package/dist/types/src/theme/index.d.ts +1 -0
  208. package/dist/types/src/theme/index.d.ts.map +1 -1
  209. package/dist/types/src/util/slots.d.ts +6 -3
  210. package/dist/types/src/util/slots.d.ts.map +1 -1
  211. package/dist/types/src/util/slots.stories.d.ts +14 -0
  212. package/dist/types/src/util/slots.stories.d.ts.map +1 -0
  213. package/dist/types/tsconfig.tsbuildinfo +1 -1
  214. package/package.json +25 -27
  215. package/src/components/Avatars/Avatar.tsx +1 -11
  216. package/src/components/Avatars/AvatarContext.ts +16 -0
  217. package/src/components/Avatars/index.ts +2 -0
  218. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +27 -25
  219. package/src/components/Breadcrumb/Breadcrumb.theme.ts +7 -5
  220. package/src/components/Breadcrumb/Breadcrumb.tsx +2 -2
  221. package/src/components/Button/Button.tsx +2 -11
  222. package/src/components/Button/ButtonGroupContext.ts +17 -0
  223. package/src/components/Button/IconButton.stories.tsx +2 -3
  224. package/src/components/Button/IconButton.theme.ts +15 -2
  225. package/src/components/Button/IconButton.tsx +6 -1
  226. package/src/components/Button/SystemIconButton.tsx +23 -16
  227. package/src/components/Button/index.ts +2 -0
  228. package/src/components/Calendar/Calendar.theme.ts +5 -5
  229. package/src/components/Calendar/Calendar.tsx +1 -3
  230. package/src/components/Calendar/index.ts +2 -0
  231. package/src/components/Calendar/parse-calendar-date.ts +9 -0
  232. package/src/components/Card/Card.theme.ts +48 -38
  233. package/src/components/Card/Card.tsx +77 -16
  234. package/src/components/Carousel/Carousel.tsx +4 -11
  235. package/src/components/Carousel/CarouselContext.ts +17 -0
  236. package/src/components/Carousel/index.ts +2 -0
  237. package/src/components/Clipboard/ClipboardContext.ts +20 -0
  238. package/src/components/Clipboard/ClipboardProvider.tsx +2 -12
  239. package/src/components/Clipboard/CopyButton.tsx +1 -1
  240. package/src/components/Clipboard/index.ts +1 -1
  241. package/src/components/Column/Column.stories.tsx +2 -2
  242. package/src/components/Column/Column.theme.ts +2 -11
  243. package/src/components/Column/Column.tsx +35 -57
  244. package/src/components/Column/ColumnContext.ts +22 -0
  245. package/src/components/Column/index.ts +2 -0
  246. package/src/components/Column/withColumn.ts +41 -4
  247. package/src/components/DatePicker/DatePicker.theme.ts +2 -2
  248. package/src/components/DatePicker/DatePicker.tsx +1 -14
  249. package/src/components/DatePicker/DatePickerContext.ts +21 -0
  250. package/src/components/DatePicker/index.ts +2 -0
  251. package/src/components/ErrorFallback/ErrorStack.tsx +8 -28
  252. package/src/components/ErrorFallback/index.ts +1 -0
  253. package/src/components/ErrorFallback/parse-stack.ts +33 -0
  254. package/src/components/Focus/Focus.stories.tsx +6 -6
  255. package/src/components/Focus/Focus.tsx +2 -30
  256. package/src/components/Focus/FocusContext.ts +22 -0
  257. package/src/components/Focus/index.ts +2 -0
  258. package/src/components/Image/Image.tsx +1 -1
  259. package/src/components/Input/Input.stories.tsx +63 -48
  260. package/src/components/Input/Input.theme.ts +33 -27
  261. package/src/components/Input/Input.tsx +46 -43
  262. package/src/components/Input/InputTriggerContext.ts +45 -0
  263. package/src/components/Input/SegmentedInput.tsx +2 -1
  264. package/src/components/Input/index.ts +2 -0
  265. package/src/components/Main/Main.stories.tsx +2 -1
  266. package/src/components/Main/Main.theme.ts +10 -1
  267. package/src/components/Main/Main.tsx +1 -115
  268. package/src/components/Main/MainContext.ts +126 -0
  269. package/src/components/Main/index.ts +2 -0
  270. package/src/components/MediaPlayer/MediaPlayer.tsx +16 -47
  271. package/src/components/MediaPlayer/index.ts +2 -0
  272. package/src/components/MediaPlayer/media-kind.ts +41 -0
  273. package/src/components/Menu/DropdownMenu.tsx +27 -44
  274. package/src/components/Menu/DropdownMenuContext.ts +35 -0
  275. package/src/components/Menu/Menu.theme.ts +3 -3
  276. package/src/components/Menu/index.ts +2 -0
  277. package/src/components/Message/Message.stories.tsx +32 -15
  278. package/src/components/Message/Message.theme.ts +8 -2
  279. package/src/components/Message/Message.tsx +47 -23
  280. package/src/components/Message/index.ts +2 -0
  281. package/src/components/Message/message-icons.ts +16 -0
  282. package/src/components/Panel/Panel.stories.tsx +15 -2
  283. package/src/components/Panel/Panel.theme.ts +15 -6
  284. package/src/components/Popover/Popover.theme.ts +1 -1
  285. package/src/components/Popover/Popover.tsx +22 -37
  286. package/src/components/Popover/PopoverContext.ts +32 -0
  287. package/src/components/Popover/index.ts +2 -0
  288. package/src/components/ScrollContainer/ScrollContainer.stories.tsx +1 -1
  289. package/src/components/ScrollContainer/ScrollContainer.tsx +1 -18
  290. package/src/components/ScrollContainer/ScrollContainerContext.ts +25 -0
  291. package/src/components/ScrollContainer/index.ts +2 -0
  292. package/src/components/Select/Select.theme.ts +2 -2
  293. package/src/components/Slider/Slider.stories.tsx +107 -0
  294. package/src/components/Slider/Slider.test.tsx +105 -0
  295. package/src/components/Slider/Slider.theme.ts +38 -0
  296. package/src/components/Slider/Slider.tsx +64 -0
  297. package/src/components/Slider/index.ts +5 -0
  298. package/src/components/Status/Status.theme.ts +1 -1
  299. package/src/components/Status/Status.tsx +0 -1
  300. package/src/components/Tag/Tag.stories.tsx +1 -1
  301. package/src/components/Toolbar/Toolbar.theme.ts +14 -5
  302. package/src/components/Toolbar/Toolbar.tsx +5 -1
  303. package/src/components/Tooltip/TextTooltip.tsx +2 -1
  304. package/src/components/Tooltip/Tooltip.tsx +12 -35
  305. package/src/components/Tooltip/TooltipContext.ts +41 -0
  306. package/src/components/Tooltip/index.ts +2 -0
  307. package/src/components/index.ts +1 -0
  308. package/src/hooks/useIconHref.ts +26 -5
  309. package/src/hooks/useThemeContext.test.tsx +33 -0
  310. package/src/hooks/useThemeContext.ts +28 -3
  311. package/src/playground/Density.stories.tsx +41 -0
  312. package/src/playground/Elevation.stories.tsx +348 -0
  313. package/src/primitives/DensityProvider/DensityContext.ts +15 -0
  314. package/src/primitives/DensityProvider/DensityProvider.tsx +12 -6
  315. package/src/primitives/DensityProvider/index.ts +1 -0
  316. package/src/primitives/Flex/Flex.stories.tsx +1 -1
  317. package/src/primitives/Grid/Grid.stories.tsx +1 -1
  318. package/src/primitives/ThemeProvider/IconRegistry.tsx +42 -0
  319. package/src/primitives/ThemeProvider/ThemeProvider.tsx +16 -15
  320. package/src/primitives/ThemeProvider/TranslationsContext.ts +24 -0
  321. package/src/primitives/ThemeProvider/TranslationsProvider.tsx +4 -16
  322. package/src/primitives/ThemeProvider/icon-registry.ts +272 -0
  323. package/src/primitives/ThemeProvider/index.ts +9 -1
  324. package/src/testing/decorators/withLayout.tsx +4 -4
  325. package/src/testing/decorators/withLayoutVariants.tsx +3 -3
  326. package/src/testing/decorators/withTheme.tsx +1 -2
  327. package/src/theme/defaultTheme.ts +2 -0
  328. package/src/theme/index.ts +1 -0
  329. package/src/util/slots.stories.tsx +80 -0
  330. package/src/util/slots.ts +14 -5
  331. package/dist/lib/browser/chunk-CMHHVHX3.mjs +0 -46
  332. package/dist/lib/browser/chunk-CMHHVHX3.mjs.map +0 -7
  333. package/dist/lib/browser/chunk-GTHV4WYK.mjs +0 -1499
  334. package/dist/lib/browser/chunk-GTHV4WYK.mjs.map +0 -7
  335. package/dist/lib/browser/index.mjs +0 -5632
  336. package/dist/lib/browser/index.mjs.map +0 -7
  337. package/dist/lib/browser/meta.json +0 -1
  338. package/dist/lib/browser/testing/index.mjs +0 -133
  339. package/dist/lib/browser/testing/index.mjs.map +0 -7
  340. package/dist/lib/browser/translations.mjs +0 -9
  341. package/dist/lib/browser/translations.mjs.map +0 -7
  342. package/dist/lib/node-esm/chunk-3VSKWNCQ.mjs +0 -1501
  343. package/dist/lib/node-esm/chunk-3VSKWNCQ.mjs.map +0 -7
  344. package/dist/lib/node-esm/chunk-P4KFQGJI.mjs +0 -48
  345. package/dist/lib/node-esm/chunk-P4KFQGJI.mjs.map +0 -7
  346. package/dist/lib/node-esm/index.mjs +0 -5633
  347. package/dist/lib/node-esm/index.mjs.map +0 -7
  348. package/dist/lib/node-esm/meta.json +0 -1
  349. package/dist/lib/node-esm/testing/index.mjs +0 -134
  350. package/dist/lib/node-esm/testing/index.mjs.map +0 -7
  351. package/dist/lib/node-esm/translations.mjs +0 -10
  352. package/dist/lib/node-esm/translations.mjs.map +0 -7
  353. package/src/components/Column/AUDIT.md +0 -148
  354. package/src/components/Focus/AUDIT.md +0 -43
@@ -1 +1 @@
1
- {"version":3,"file":"Card.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA8EF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,cAAc,CAiB3C,CAAC"}
1
+ {"version":3,"file":"Card.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIlF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAqFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,cAAc,CAmB3C,CAAC"}
@@ -3,7 +3,7 @@ import { type ThemedClassName } from '../../util';
3
3
  import { type MediaKind } from '../MediaPlayer';
4
4
  /** Slide change behaviour: `none` hard-swaps the active slide, `slide` animates a horizontal track. */
5
5
  export type CarouselTransition = 'none' | 'slide';
6
- type CarouselContextValue = {
6
+ export type CarouselContextValue = {
7
7
  index: number;
8
8
  count: number;
9
9
  transition: CarouselTransition;
@@ -23,8 +23,6 @@ type CarouselContextValue = {
23
23
  next: () => void;
24
24
  prev: () => void;
25
25
  };
26
- /** Returns the current carousel state. Must be used within {@link Carousel.Root}. */
27
- export declare const useCarousel: () => CarouselContextValue;
28
26
  export type CarouselRootProps = PropsWithChildren<{
29
27
  /** Total number of slides; drives auto-advance and indicator counts. */
30
28
  count: number;
@@ -99,7 +97,7 @@ export declare const Carousel: {
99
97
  };
100
98
  Content: React.ForwardRefExoticComponent<Omit<{}, "className"> & {
101
99
  classNames?: import("@dxos/ui-types").ClassNameValue;
102
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
100
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
103
101
  Viewport: {
104
102
  ({ children, classNames }: CarouselViewportProps): React.JSX.Element;
105
103
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAGZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,KAAK,eAAe,EAA+B,MAAM,YAAY,CAAC;AA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;;;AA4CnE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC;IACjD,oDAAoD;IACpD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CACxC,CAAC,CAAC;iCAGsB,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,oBAAoB;;;;AAoBvE,eAAO,MAAM,QAAQ;IACnB,IAAI;kFAtZH,iBAAiB;;;IAuZlB,OAAO;;;IACP,QAAQ;mCAtR0C,qBAAqB;;;IAuRvE,KAAK;+FAtKJ,kBAAkB;;;IAuKnB,QAAQ;yBA9HgC,mBAAmB;;;IA+H3D,IAAI;yBAzGgC,mBAAmB;;;IA0GvD,UAAU;yBA7EgC,uBAAuB;;;IA8EjE,OAAO;mCA5B0C,oBAAoB;;;CA6BtE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type CarouselContextValue } from './Carousel';
2
+ export declare const CAROUSEL_NAME = "Carousel";
3
+ export declare const CarouselProvider: import("react").FC<CarouselContextValue & {
4
+ children: React.ReactNode;
5
+ }>, useCarouselContext: (consumerName: string) => CarouselContextValue;
6
+ /** Returns the current carousel state. Must be used within {@link Carousel.Root}. */
7
+ export declare const useCarousel: () => CarouselContextValue;
8
+ //# sourceMappingURL=CarouselContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/CarouselContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAKvD,eAAO,MAAM,aAAa,aAAa,CAAC;AAExC,eAAO,MAAO,gBAAgB;;IAAE,kBAAkB,gDAAsD,CAAC;AAEzG,qFAAqF;AACrF,eAAO,MAAM,WAAW,QAAO,oBAAyD,CAAC"}
@@ -1,2 +1,3 @@
1
+ export { useCarousel } from './CarouselContext';
1
2
  export * from './Carousel';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,cAAc,YAAY,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type ClipboardContextValue = {
2
+ textValue: string;
3
+ setTextValue: (nextValue: string) => Promise<void>;
4
+ };
5
+ export declare const ClipboardContext: import("react").Context<ClipboardContextValue>;
6
+ export declare const useClipboard: () => ClipboardContextValue;
7
+ //# sourceMappingURL=ClipboardContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClipboardContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardContext.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,gDAG3B,CAAC;AAEH,eAAO,MAAM,YAAY,6BAAqC,CAAC"}
@@ -1,9 +1,3 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
- export type ClipboardContextValue = {
3
- textValue: string;
4
- setTextValue: (nextValue: string) => Promise<void>;
5
- };
6
- export declare const ClipboardContext: React.Context<ClipboardContextValue>;
7
- export declare const useClipboard: () => ClipboardContextValue;
8
2
  export declare const ClipboardProvider: ({ children }: PropsWithChildren<{}>) => React.JSX.Element;
9
3
  //# sourceMappingURL=ClipboardProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClipboardProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAExG,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,sCAG3B,CAAC;AAEH,eAAO,MAAM,YAAY,6BAAqC,CAAC;AAE/D,eAAO,MAAM,iBAAiB,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAOpE,CAAC"}
1
+ {"version":3,"file":"ClipboardProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAI7E,eAAO,MAAM,iBAAiB,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAOpE,CAAC"}
@@ -17,5 +17,5 @@ export declare const Clipboard: {
17
17
  }>) => import("react").JSX.Element;
18
18
  Provider: ({ children }: import("react").PropsWithChildren<{}>) => import("react").JSX.Element;
19
19
  };
20
- export { useClipboard } from './ClipboardProvider';
20
+ export { useClipboard } from './ClipboardContext';
21
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;IACpB,MAAM;IACN,UAAU;;;;;;;;;;;;;;;IACV,QAAQ;CACT,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;IACpB,MAAM;IACN,UAAU;;;;;;;;;;;;;;;IACV,QAAQ;CACT,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
@@ -3,9 +3,9 @@ import { type SlottableProps } from '@dxos/ui-types';
3
3
  type GutterSize = 'sm' | 'md' | 'lg';
4
4
  type ColumnRootProps = {
5
5
  gutter?: GutterSize;
6
+ subgrid?: boolean;
6
7
  };
7
8
  type ColumnRowProps = {};
8
- type ColumnBleedProps = SlottableProps;
9
9
  type ColumnCenterProps = SlottableProps;
10
10
  type ColumnBlockProps = SlottableProps<{
11
11
  end?: boolean;
@@ -17,12 +17,12 @@ export declare const Column: {
17
17
  asChild?: boolean;
18
18
  }, "className"> & {
19
19
  classNames?: import("@dxos/ui-types").ClassNameValue;
20
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
20
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
21
21
  Row: React.ForwardRefExoticComponent<Omit<{
22
22
  asChild?: boolean;
23
23
  }, "className"> & {
24
24
  classNames?: import("@dxos/ui-types").ClassNameValue;
25
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
25
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
26
26
  Block: React.ForwardRefExoticComponent<Omit<Omit<{
27
27
  end?: boolean;
28
28
  compact?: boolean;
@@ -31,21 +31,16 @@ export declare const Column: {
31
31
  asChild?: boolean;
32
32
  }, "className"> & {
33
33
  classNames?: import("@dxos/ui-types").ClassNameValue;
34
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & {
34
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & {
35
35
  asChild?: boolean;
36
36
  }, "className"> & {
37
37
  classNames?: import("@dxos/ui-types").ClassNameValue;
38
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
39
- Bleed: React.ForwardRefExoticComponent<Omit<{
40
- asChild?: boolean;
41
- }, "className"> & {
42
- classNames?: import("@dxos/ui-types").ClassNameValue;
43
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
38
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
44
39
  Center: React.ForwardRefExoticComponent<Omit<{
45
40
  asChild?: boolean;
46
41
  }, "className"> & {
47
42
  classNames?: import("@dxos/ui-types").ClassNameValue;
48
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
43
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
49
44
  };
50
- export type { ColumnBleedProps, ColumnBlockProps, ColumnCenterProps, ColumnRootProps, ColumnRowProps };
45
+ export type { ColumnBlockProps, ColumnCenterProps, ColumnRootProps, ColumnRowProps };
51
46
  //# sourceMappingURL=Column.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAWrD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAQrC,KAAK,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAoD/C,KAAK,cAAc,GAAG,EAAE,CAAC;AA0BzB,KAAK,gBAAgB,GAAG,cAAc,CAAC;AA0BvC,KAAK,iBAAiB,GAAG,cAAc,CAAC;AA0BxC,KAAK,gBAAgB,GAAG,cAAc,CAAC;IAAE,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAgC/F,eAAO,MAAM,MAAM;IACjB,IAAI;;;;;IACJ,GAAG;;;;;IACH,KAAK;cAnCwC,OAAO;kBAAY,OAAO;iBAAW,OAAO;;;;;;;;;;IAoCzF,KAAK;;;;;IACL,MAAM;;;;;CACP,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAYrD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAQrC,KAAK,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AA4DlE,KAAK,cAAc,GAAG,EAAE,CAAC;AA0BzB,KAAK,iBAAiB,GAAG,cAAc,CAAC;AA0BxC,KAAK,gBAAgB,GAAG,cAAc,CAAC;IAAE,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AA4B/F,eAAO,MAAM,MAAM;IACjB,IAAI;;;;;IACJ,GAAG;;;;;IACH,KAAK;cA/BwC,OAAO;kBAAY,OAAO;iBAAW,OAAO;;;;;;;;;;IAgCzF,MAAM;;;;;CACP,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
@@ -15,8 +15,8 @@ export declare const WithScrollArea: {
15
15
  */
16
16
  export declare const WithCenter: Story;
17
17
  /**
18
- * ScrollArea auto-bleeds inside Column.Root (via [.dx-column_&]:col-span-full).
19
- * No Column.Bleed wrapper needed.
18
+ * ScrollArea auto-bleeds inside Column.Root (via `[.dx-column-root_&]:col-span-full` in its theme).
19
+ * No bleed wrapper needed.
20
20
  */
21
21
  export declare const WithScrollAreaAutoBleed: Story;
22
22
  export declare const Experimental: {
@@ -11,7 +11,6 @@ export declare const columnTheme: {
11
11
  root: ComponentFunction<ColumnStyleProps>;
12
12
  row: ComponentFunction<ColumnStyleProps>;
13
13
  block: ComponentFunction<ColumnBlockStyleProps>;
14
- bleed: ComponentFunction<ColumnStyleProps>;
15
14
  center: ComponentFunction<ColumnStyleProps>;
16
15
  };
17
16
  //# sourceMappingURL=Column.theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Column.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,MAAM,qBAAqB,GAAG;IAClC,mFAAmF;IACnF,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAoDF,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC"}
1
+ {"version":3,"file":"Column.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,MAAM,qBAAqB,GAAG;IAClC,mFAAmF;IACnF,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AA4CF,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const ColumnContext: import("react").Context<boolean>;
2
+ /**
3
+ * Whether the caller is already inside a `Column.Root`. A component that would otherwise establish
4
+ * its own gutter grid (a form viewport, say) should use this to place itself in the host's content
5
+ * track instead — nesting a second grid is what makes a form's fields inset differently from the
6
+ * card title above them.
7
+ */
8
+ export declare const useInColumn: () => boolean;
9
+ //# sourceMappingURL=ColumnContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColumnContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/ColumnContext.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa,kCAAuB,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,eAAkC,CAAC"}
@@ -1,3 +1,4 @@
1
+ export { useInColumn } from './ColumnContext';
1
2
  export * from './Column';
2
3
  export * from './withColumn';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
@@ -8,14 +8,50 @@
8
8
  * - ScrollArea.Viewport resets `--dx-col: auto` after consuming `--gutter`.
9
9
  * - Components apply `grid-column: var(--dx-col, auto)` to auto-center in Column
10
10
  * or do nothing outside Column / inside ScrollArea.
11
+ *
12
+ * ## Which one to use
13
+ *
14
+ * Three placement mechanisms coexist because they solve different problems. An earlier plan was to
15
+ * collapse them onto `--dx-col` alone; that was tried and abandoned — the other two are each the
16
+ * only way to express their case (see AUDIT.md §3).
17
+ *
18
+ * | Mechanism | Places | Reach for it when |
19
+ * | ----------------- | ----------------------------- | -------------------------------------------------- |
20
+ * | `center()` | the element itself | one element belongs in the content track |
21
+ * | `placeContent()` | the element's children | a subgrid row mixes gutter slots with content |
22
+ * | `propagate()` | opens the tracks to children | a child must reach the gutters |
23
+ *
24
+ * - **`center()`** is inheritance-based, so it survives a `display: contents` wrapper — the case
25
+ * where a child selector or subgrid silently fails. Prefer it whenever it is sufficient.
26
+ * - **`placeContent()`** needs the element to already be a subgrid row (`col-span-3 grid
27
+ * grid-cols-subgrid`). It reaches grandchildren too, so a wrapper element (a link, a button)
28
+ * doesn't strand its content in column 1.
29
+ * - **`propagate()`** is the only one that lets a *descendant* address the gutters: it spans the
30
+ * element across all tracks and re-exposes them via subgrid, with `.dx-container` exempted so a
31
+ * ScrollArea can span full width and keep its scrollbar in the gutter. `Dialog.Body` depends on
32
+ * this — replacing it with `center()` confines the body's ScrollArea to the content track and
33
+ * pulls the scrollbar 32px inboard.
11
34
  */
12
35
  export declare const withColumn: {
13
- /** Centers element in the Column grid via --dx-col. No-op outside Column or inside ScrollArea. */
36
+ /**
37
+ * Centers element in the Column grid via --dx-col. No-op outside Column or inside ScrollArea.
38
+ */
14
39
  center: () => string;
15
- /** Propagates the Column grid to children via subgrid. No-op outside Column.
16
- * Direct children default to center column unless they are a dx-container (ScrollArea). */
40
+ /**
41
+ * Places a subgrid row's content children in the center track, leaving `.dx-gutter` slots to
42
+ * their own explicit `col-start`. Covers grandchildren too, so a wrapper element (a link, a
43
+ * button) doesn't strand its content in column 1 — and excludes gutters at that depth as well,
44
+ * since a `display: contents` wrapper promotes its children into this grid.
45
+ */
46
+ placeContent: () => string;
47
+ /**
48
+ * Propagates the Column grid to children via subgrid. No-op outside Column.
49
+ * Direct children default to center column unless they are a dx-container (ScrollArea).
50
+ */
17
51
  propagate: () => string;
18
- /** Resets --dx-col after consuming --gutter. Applied by ScrollArea.Viewport. */
52
+ /**
53
+ * Resets --dx-col after consuming --gutter. Applied by ScrollArea.Viewport.
54
+ */
19
55
  consumed: () => string;
20
56
  };
21
57
  //# sourceMappingURL=withColumn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/withColumn.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;IACrB,kGAAkG;IAClG,MAAM;IAEN;gGAC4F;IAC5F,SAAS;IAGT,gFAAgF;IAChF,QAAQ;CACT,CAAC"}
1
+ {"version":3,"file":"withColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/withColumn.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,UAAU;IACrB;;OAEG;IACH,MAAM;IAEN;;;;;OAKG;IACH,YAAY;IAEZ;;;OAGG;IACH,SAAS;IAGT;;OAEG;IACH,QAAQ;CACT,CAAC"}
@@ -7,15 +7,6 @@ type ValueByMode = {
7
7
  single: Date | undefined;
8
8
  range: DateRange | undefined;
9
9
  };
10
- type DatePickerContextValue = {
11
- mode: DatePickerMode;
12
- value: ValueByMode[DatePickerMode];
13
- setValue: (next: ValueByMode[DatePickerMode]) => void;
14
- withTime: boolean;
15
- open: boolean;
16
- onOpenChange: (open: boolean) => void;
17
- };
18
- declare const useDatePickerContext: (consumerName: string) => DatePickerContextValue;
19
10
  export type DatePickerRootProps<M extends DatePickerMode = 'single'> = {
20
11
  mode?: M;
21
12
  value?: ValueByMode[M];
@@ -67,6 +58,5 @@ export declare const DatePicker: {
67
58
  displayName: string;
68
59
  };
69
60
  };
70
- export { useDatePickerContext };
71
61
  export type { ValueByMode };
72
62
  //# sourceMappingURL=DatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,iB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mB,CAAC,CAAC,CAAC;IAkMvB,OAAO;;;iBA/HI,MAAM;sBACD,MAAM;QACpB,+EAA+E;eACxE,OAAO;;;;IA6HhB,OAAO;;;;;;;IACP,QAAQ;0BAtDkC;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE;;;CAuDlE,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type DatePickerMode, type ValueByMode } from './DatePicker';
2
+ export type DatePickerContextValue = {
3
+ mode: DatePickerMode;
4
+ value: ValueByMode[DatePickerMode];
5
+ setValue: (next: ValueByMode[DatePickerMode]) => void;
6
+ withTime: boolean;
7
+ open: boolean;
8
+ onOpenChange: (open: boolean) => void;
9
+ };
10
+ export declare const DatePickerProvider: import("react").FC<DatePickerContextValue & {
11
+ children: React.ReactNode;
12
+ }>, useDatePickerContext: (consumerName: string) => DatePickerContextValue;
13
+ //# sourceMappingURL=DatePickerContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePickerContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/DatePickerContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAKrE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IACnC,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAO,kBAAkB;;IAAE,oBAAoB,kDAAuD,CAAC"}
@@ -1,2 +1,3 @@
1
+ export { useDatePickerContext } from './DatePickerContext';
1
2
  export * from './DatePicker';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,cAAc,cAAc,CAAC"}
@@ -30,19 +30,19 @@ export declare const AlertDialog: {
30
30
  asChild?: boolean;
31
31
  }, "className"> & {
32
32
  classNames?: import("@dxos/ui-types").ClassNameValue;
33
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
33
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
34
34
  Body: ForwardRefExoticComponent<Omit<{
35
35
  asChild?: boolean;
36
36
  }, "className"> & {
37
37
  classNames?: import("@dxos/ui-types").ClassNameValue;
38
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
38
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
39
39
  Title: ForwardRefExoticComponent<AlertDialogTitleProps>;
40
40
  Description: ForwardRefExoticComponent<AlertDialogDescriptionProps>;
41
41
  ActionBar: ForwardRefExoticComponent<Omit<{
42
42
  asChild?: boolean;
43
43
  }, "className"> & {
44
44
  classNames?: import("@dxos/ui-types").ClassNameValue;
45
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
45
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
46
46
  ActionIconButton: ForwardRefExoticComponent<DialogActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
47
47
  Cancel: ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
48
48
  Action: ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
@@ -38,12 +38,12 @@ export declare const Dialog: {
38
38
  asChild?: boolean;
39
39
  }, "className"> & {
40
40
  classNames?: import("@dxos/ui-types").ClassNameValue;
41
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
41
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
42
42
  Body: ForwardRefExoticComponent<Omit<{
43
43
  asChild?: boolean;
44
44
  }, "className"> & {
45
45
  classNames?: import("@dxos/ui-types").ClassNameValue;
46
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
46
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
47
47
  Title: ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps, "className"> & {
48
48
  classNames?: import("@dxos/ui-types").ClassNameValue;
49
49
  } & {
@@ -58,7 +58,7 @@ export declare const Dialog: {
58
58
  asChild?: boolean;
59
59
  }, "className"> & {
60
60
  classNames?: import("@dxos/ui-types").ClassNameValue;
61
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
61
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
62
62
  Close: ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
63
63
  ActionIconButton: ForwardRefExoticComponent<DialogActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
64
64
  };
@@ -1,19 +1,14 @@
1
- import ErrorStackParser from 'error-stack-parser';
2
1
  import React from 'react';
3
- export type ParsedStackFrame = ReturnType<typeof ErrorStackParser.parse>[number];
4
- export type ErrorStackProps = {
2
+ import { ThemedClassName } from '../../util';
3
+ import { type ParsedStackFrame } from './parse-stack';
4
+ export type ErrorStackProps = ThemedClassName<{
5
5
  /** When set, these frames are shown instead of parsing `error`. */
6
6
  frames?: ParsedStackFrame[];
7
7
  /** Used when `frames` is omitted. */
8
8
  error?: Error;
9
- };
10
- /**
11
- * Parses `captureOwnerStack()` output (React dev) into frames for {@link ErrorStack}.
12
- * Prefixes a synthetic Error line when needed so `error-stack-parser` can read V8-style stacks.
13
- */
14
- export declare const parseCaptureOwnerStack: (stack: string | null) => ParsedStackFrame[] | null;
9
+ }>;
15
10
  /**
16
11
  * Renders a parsed error stack trace with tree connector symbols and clickable vscode:// links for local frames.
17
12
  */
18
- export declare const ErrorStack: ({ error, frames: framesProp }: ErrorStackProps) => React.JSX.Element | null;
13
+ export declare const ErrorStack: ({ classNames, error, frames: framesProp }: ErrorStackProps) => React.JSX.Element | null;
19
14
  //# sourceMappingURL=ErrorStack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorStack.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorFallback/ErrorStack.tsx"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF,MAAM,MAAM,eAAe,GAAG;IAC5B,mEAAmE;IACnE,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,qCAAqC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,UAAW,MAAM,GAAG,IAAI,KAAG,gBAAgB,EAAE,GAAG,IAgBlF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,kCAAmC,eAAe,6BAiDxE,CAAC"}
1
+ {"version":3,"file":"ErrorStack.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorFallback/ErrorStack.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKtD,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;IAC5C,mEAAmE;IACnE,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,qCAAqC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,8CAA+C,eAAe,6BAiDpF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export { ErrorBoundary, type ErrorBoundaryProps, type FallbackProps } from '@dxos/react-error-boundary';
2
2
  export * from './ErrorFallback';
3
+ export { type ParsedStackFrame, parseCaptureOwnerStack } from './parse-stack';
3
4
  export * from './ErrorStack';
4
5
  export * from './ThrowError';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorFallback/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAExG,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorFallback/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAExG,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,KAAK,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAC9E,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import ErrorStackParser from 'error-stack-parser';
2
+ export type ParsedStackFrame = ReturnType<typeof ErrorStackParser.parse>[number];
3
+ /**
4
+ * Parses `captureOwnerStack()` output (React dev) into frames for {@link ErrorStack}.
5
+ * Prefixes a synthetic Error line when needed so `error-stack-parser` can read V8-style stacks.
6
+ */
7
+ export declare const parseCaptureOwnerStack: (stack: string | null) => ParsedStackFrame[] | null;
8
+ //# sourceMappingURL=parse-stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-stack.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorFallback/parse-stack.ts"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAKlD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,UAAW,MAAM,GAAG,IAAI,KAAG,gBAAgB,EAAE,GAAG,IAiBlF,CAAC"}
@@ -1,12 +1,5 @@
1
1
  import React, { type KeyboardEvent } from 'react';
2
2
  import { type Axis } from '@dxos/ui-types';
3
- type FocusState = 'active' | 'error';
4
- type ContextValue = {
5
- setFocus?: (state: FocusState | undefined) => void;
6
- /** True when any item within the group has DOM focus. */
7
- groupHasFocus?: boolean;
8
- };
9
- declare const useFocus: () => ContextValue;
10
3
  type GroupProps = {
11
4
  orientation?: Axis;
12
5
  /** Show a subdued ring when unfocused (e.g., as a cell border). */
@@ -24,13 +17,12 @@ export declare const Focus: {
24
17
  asChild?: boolean;
25
18
  }, "className"> & {
26
19
  classNames?: import("@dxos/ui-types").ClassNameValue;
27
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
20
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
28
21
  Item: React.ForwardRefExoticComponent<Omit<ItemProps & {
29
22
  asChild?: boolean;
30
23
  }, "className"> & {
31
24
  classNames?: import("@dxos/ui-types").ClassNameValue;
32
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
25
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
33
26
  };
34
27
  export type { GroupProps as FocusGroupProps, ItemProps as FocusItemProps };
35
- export { useFocus };
36
28
  //# sourceMappingURL=Focus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Focus.d.ts","sourceRoot":"","sources":["../../../../../src/components/Focus/Focus.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,EAEZ,KAAK,aAAa,EAOnB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAS3C,KAAK,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAIrC,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAIF,QAAA,MAAM,QAAQ,oBAAiC,CAAC;AAMhD,KAAK,UAAU,GAAG;IAChB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,mEAAmE;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC5D,CAAC;AAqDF,KAAK,SAAS,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mEAAmE;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAgFF,eAAO,MAAM,KAAK;;;;;;;;;;;CAGjB,CAAC;AAEF,YAAY,EAAE,UAAU,IAAI,eAAe,EAAE,SAAS,IAAI,cAAc,EAAE,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Focus.d.ts","sourceRoot":"","sources":["../../../../../src/components/Focus/Focus.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,EAAmB,KAAK,aAAa,EAAkD,MAAM,OAAO,CAAC;AAEnH,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAU3C,KAAK,UAAU,GAAG;IAChB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,mEAAmE;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC5D,CAAC;AAqDF,KAAK,SAAS,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mEAAmE;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAgFF,eAAO,MAAM,KAAK;;;;;;;;;;;CAGjB,CAAC;AAEF,YAAY,EAAE,UAAU,IAAI,eAAe,EAAE,SAAS,IAAI,cAAc,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type FocusState = 'active' | 'error';
2
+ export declare const FOCUS_STATE_ATTR = "focus-state";
3
+ export type ContextValue = {
4
+ setFocus?: (state: FocusState | undefined) => void;
5
+ /** True when any item within the group has DOM focus. */
6
+ groupHasFocus?: boolean;
7
+ };
8
+ export declare const FocusContext: import("react").Context<ContextValue>;
9
+ export declare const useFocus: () => ContextValue;
10
+ //# sourceMappingURL=FocusContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Focus/FocusContext.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5C,eAAO,MAAM,gBAAgB,gBAAgB,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,YAAY,uCAAkC,CAAC;AAE5D,eAAO,MAAM,QAAQ,oBAAiC,CAAC"}
@@ -1,2 +1,3 @@
1
+ export { useFocus } from './FocusContext';
1
2
  export * from './Focus';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Focus/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Focus/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,cAAc,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
- import React, { type ComponentPropsWithRef, type ForwardRefExoticComponent } from 'react';
2
+ import React, { type ComponentPropsWithRef, type ForwardRefExoticComponent, type ReactNode } from 'react';
3
3
  import { type DescriptionAndValidationProps as DescriptionAndValidationPrimitiveProps, type DescriptionProps as DescriptionPrimitiveProps, type InputRootProps, type InputScopedProps, type LabelProps as LabelPrimitiveProps, type PinInputProps as PinInputPrimitiveProps, type TextAreaProps as TextAreaPrimitiveProps, type TextInputProps as TextInputPrimitiveProps, type ValidationProps as ValidationPrimitiveProps } from '@dxos/react-input';
4
4
  import { type Density, type Elevation, type Size } from '@dxos/ui-types';
5
5
  import { type ThemedClassName } from '../../util';
@@ -11,12 +11,6 @@ type InputSharedProps = Partial<{
11
11
  elevation: Elevation;
12
12
  variant: InputVariant;
13
13
  }>;
14
- type InputTriggerHandler = () => void;
15
- /**
16
- * Field hook. Pass an opener function; while the field is mounted, an `Input.TriggerIcon`
17
- * sibling will call this opener on press. Returns a no-op when used outside `Input.Root`.
18
- */
19
- declare const useInputTrigger: (handler: InputTriggerHandler | undefined) => void;
20
14
  declare function Root(props: InputRootProps): React.JSX.Element;
21
15
  declare namespace Root {
22
16
  var displayName: string;
@@ -40,7 +34,13 @@ type PinInputProps = ThemedClassName<InputSharedProps & Omit<PinInputPrimitivePr
40
34
  type AutoFillProps = {
41
35
  noAutoFill?: boolean;
42
36
  };
43
- type TextInputProps = InputSharedProps & ThemedClassName<TextInputPrimitiveProps> & AutoFillProps;
37
+ type AdornmentProps = {
38
+ /** Content rendered inside the input container before the field (icon or text). */
39
+ start?: ReactNode;
40
+ /** Content rendered inside the input container after the field (icon, text, or button). */
41
+ end?: ReactNode;
42
+ };
43
+ type TextInputProps = InputSharedProps & ThemedClassName<TextInputPrimitiveProps> & AutoFillProps & AdornmentProps;
44
44
  type TextAreaProps = InputSharedProps & ThemedClassName<TextAreaPrimitiveProps>;
45
45
  type CheckboxProps = ThemedClassName<Omit<CheckboxPrimitive.CheckboxProps, 'children'>> & {
46
46
  size?: Size;
@@ -118,13 +118,12 @@ export declare const Input: {
118
118
  Checkbox: ForwardRefExoticComponent<CheckboxProps>;
119
119
  Switch: ForwardRefExoticComponent<Omit<InputScopedProps<SwitchProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
120
120
  Block: ForwardRefExoticComponent<{
121
- children?: React.ReactNode | undefined;
121
+ children?: ReactNode | undefined;
122
122
  } & React.RefAttributes<HTMLDivElement>>;
123
123
  Label: ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
124
124
  Description: ForwardRefExoticComponent<Omit<DescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
125
125
  Validation: ForwardRefExoticComponent<Omit<InputScopedProps<ValidationProps>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
126
126
  DescriptionAndValidation: ForwardRefExoticComponent<Omit<DescriptionAndValidationProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
127
127
  };
128
- export { useInputTrigger };
129
128
  export type { CheckboxProps, DateInputProps, DateTimeInputProps, DescriptionAndValidationProps, DescriptionProps, InputRootProps, InputSharedProps, InputVariant, LabelProps, PinInputProps, SwitchProps, TextAreaProps, TextInputProps, TimeProps, ValidationProps, };
130
129
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,EACZ,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAO/B,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,KAAK,6BAA6B,IAAI,sCAAsC,EAE5E,KAAK,gBAAgB,IAAI,yBAAyB,EAGlD,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAErB,KAAK,UAAU,IAAI,mBAAmB,EAEtC,KAAK,aAAa,IAAI,sBAAsB,EAE5C,KAAK,aAAa,IAAI,sBAAsB,EAE5C,KAAK,cAAc,IAAI,uBAAuB,EAE9C,KAAK,eAAe,IAAI,wBAAwB,EAEjD,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKzE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAc,eAAe,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,EAEL,KAAK,kBAAkB,EAEvB,KAAK,sBAAsB,EAE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