@d4gger/design-system 3.0.1 → 4.0.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 (450) hide show
  1. package/README.md +19 -0
  2. package/dist/components/accordion.css +9 -2
  3. package/dist/components/alert/Alert.cjs +11 -7
  4. package/dist/components/alert/Alert.cjs.map +2 -2
  5. package/dist/components/alert/Alert.d.cts.map +1 -1
  6. package/dist/components/alert/Alert.d.mts.map +1 -1
  7. package/dist/components/alert/Alert.d.ts.map +1 -1
  8. package/dist/components/alert/Alert.js +12 -8
  9. package/dist/components/alert/Alert.js.map +2 -2
  10. package/dist/components/alert.css +13 -0
  11. package/dist/components/article-nodes.css +16 -1
  12. package/dist/components/articleNodes/ArticleNodes.cjs +46 -5
  13. package/dist/components/articleNodes/ArticleNodes.cjs.map +2 -2
  14. package/dist/components/articleNodes/ArticleNodes.d.cts +7 -3
  15. package/dist/components/articleNodes/ArticleNodes.d.cts.map +1 -1
  16. package/dist/components/articleNodes/ArticleNodes.d.mts +7 -3
  17. package/dist/components/articleNodes/ArticleNodes.d.mts.map +1 -1
  18. package/dist/components/articleNodes/ArticleNodes.d.ts +7 -3
  19. package/dist/components/articleNodes/ArticleNodes.d.ts.map +1 -1
  20. package/dist/components/articleNodes/ArticleNodes.js +46 -5
  21. package/dist/components/articleNodes/ArticleNodes.js.map +2 -2
  22. package/dist/components/articleNodes/articleExtensions.cjs +21 -4
  23. package/dist/components/articleNodes/articleExtensions.cjs.map +2 -2
  24. package/dist/components/articleNodes/articleExtensions.d.cts +8 -2
  25. package/dist/components/articleNodes/articleExtensions.d.cts.map +1 -1
  26. package/dist/components/articleNodes/articleExtensions.d.mts +8 -2
  27. package/dist/components/articleNodes/articleExtensions.d.mts.map +1 -1
  28. package/dist/components/articleNodes/articleExtensions.d.ts +8 -2
  29. package/dist/components/articleNodes/articleExtensions.d.ts.map +1 -1
  30. package/dist/components/articleNodes/articleExtensions.js +21 -4
  31. package/dist/components/articleNodes/articleExtensions.js.map +2 -2
  32. package/dist/components/articleNodes/articleNodeViews.cjs +154 -0
  33. package/dist/components/articleNodes/articleNodeViews.cjs.map +7 -0
  34. package/dist/components/articleNodes/articleNodeViews.d.cts +3 -0
  35. package/dist/components/articleNodes/articleNodeViews.d.cts.map +1 -0
  36. package/dist/components/articleNodes/articleNodeViews.d.mts +3 -0
  37. package/dist/components/articleNodes/articleNodeViews.d.mts.map +1 -0
  38. package/dist/components/articleNodes/articleNodeViews.d.ts +3 -0
  39. package/dist/components/articleNodes/articleNodeViews.d.ts.map +1 -0
  40. package/dist/components/articleNodes/articleNodeViews.js +124 -0
  41. package/dist/components/articleNodes/articleNodeViews.js.map +7 -0
  42. package/dist/components/articleNodes/articleNodes.props.cjs.map +1 -1
  43. package/dist/components/articleNodes/articleNodes.props.d.cts +25 -2
  44. package/dist/components/articleNodes/articleNodes.props.d.cts.map +1 -1
  45. package/dist/components/articleNodes/articleNodes.props.d.mts +25 -2
  46. package/dist/components/articleNodes/articleNodes.props.d.mts.map +1 -1
  47. package/dist/components/articleNodes/articleNodes.props.d.ts +25 -2
  48. package/dist/components/articleNodes/articleNodes.props.d.ts.map +1 -1
  49. package/dist/components/banner.css +5 -4
  50. package/dist/components/blockquote.css +7 -4
  51. package/dist/components/bottom-dock.css +132 -0
  52. package/dist/components/bottomDock/BottomDock.cjs +140 -0
  53. package/dist/components/bottomDock/BottomDock.cjs.map +7 -0
  54. package/dist/components/bottomDock/BottomDock.d.cts +25 -0
  55. package/dist/components/bottomDock/BottomDock.d.cts.map +1 -0
  56. package/dist/components/bottomDock/BottomDock.d.mts +25 -0
  57. package/dist/components/bottomDock/BottomDock.d.mts.map +1 -0
  58. package/dist/components/bottomDock/BottomDock.d.ts +25 -0
  59. package/dist/components/bottomDock/BottomDock.d.ts.map +1 -0
  60. package/dist/components/bottomDock/BottomDock.js +110 -0
  61. package/dist/components/bottomDock/BottomDock.js.map +7 -0
  62. package/dist/components/bottomDock/bottomDock.props.cjs +49 -0
  63. package/dist/components/bottomDock/bottomDock.props.cjs.map +7 -0
  64. package/dist/components/bottomDock/bottomDock.props.d.cts +29 -0
  65. package/dist/components/bottomDock/bottomDock.props.d.cts.map +1 -0
  66. package/dist/components/bottomDock/bottomDock.props.d.mts +29 -0
  67. package/dist/components/bottomDock/bottomDock.props.d.mts.map +1 -0
  68. package/dist/components/bottomDock/bottomDock.props.d.ts +29 -0
  69. package/dist/components/bottomDock/bottomDock.props.d.ts.map +1 -0
  70. package/dist/components/bottomDock/bottomDock.props.js +29 -0
  71. package/dist/components/bottomDock/bottomDock.props.js.map +7 -0
  72. package/dist/components/breadcrumb.css +24 -3
  73. package/dist/components/callout.css +20 -7
  74. package/dist/components/card.css +8 -0
  75. package/dist/components/code.css +29 -13
  76. package/dist/components/collapsible/Collapsible.cjs +4 -0
  77. package/dist/components/collapsible/Collapsible.cjs.map +2 -2
  78. package/dist/components/collapsible/Collapsible.d.cts.map +1 -1
  79. package/dist/components/collapsible/Collapsible.d.mts.map +1 -1
  80. package/dist/components/collapsible/Collapsible.d.ts.map +1 -1
  81. package/dist/components/collapsible/Collapsible.js +4 -0
  82. package/dist/components/collapsible/Collapsible.js.map +2 -2
  83. package/dist/components/collapsible.css +10 -1
  84. package/dist/components/command.css +0 -2
  85. package/dist/components/comment-thread.css +15 -7
  86. package/dist/components/commentThread/CommentThread.cjs +45 -17
  87. package/dist/components/commentThread/CommentThread.cjs.map +2 -2
  88. package/dist/components/commentThread/CommentThread.d.cts +6 -6
  89. package/dist/components/commentThread/CommentThread.d.cts.map +1 -1
  90. package/dist/components/commentThread/CommentThread.d.mts +6 -6
  91. package/dist/components/commentThread/CommentThread.d.mts.map +1 -1
  92. package/dist/components/commentThread/CommentThread.d.ts +6 -6
  93. package/dist/components/commentThread/CommentThread.d.ts.map +1 -1
  94. package/dist/components/commentThread/CommentThread.js +45 -17
  95. package/dist/components/commentThread/CommentThread.js.map +2 -2
  96. package/dist/components/commentThread/commentThread.props.cjs.map +1 -1
  97. package/dist/components/commentThread/commentThread.props.d.cts +24 -0
  98. package/dist/components/commentThread/commentThread.props.d.cts.map +1 -1
  99. package/dist/components/commentThread/commentThread.props.d.mts +24 -0
  100. package/dist/components/commentThread/commentThread.props.d.mts.map +1 -1
  101. package/dist/components/commentThread/commentThread.props.d.ts +24 -0
  102. package/dist/components/commentThread/commentThread.props.d.ts.map +1 -1
  103. package/dist/components/config-drawer.css +7 -3
  104. package/dist/components/configDrawer/ConfigDrawer.cjs +1 -1
  105. package/dist/components/configDrawer/ConfigDrawer.cjs.map +2 -2
  106. package/dist/components/configDrawer/ConfigDrawer.js +1 -1
  107. package/dist/components/configDrawer/ConfigDrawer.js.map +2 -2
  108. package/dist/components/context-menu.css +3 -1
  109. package/dist/components/contextMenu/ContextMenu.cjs +37 -6
  110. package/dist/components/contextMenu/ContextMenu.cjs.map +2 -2
  111. package/dist/components/contextMenu/ContextMenu.d.cts +1 -1
  112. package/dist/components/contextMenu/ContextMenu.d.cts.map +1 -1
  113. package/dist/components/contextMenu/ContextMenu.d.mts +1 -1
  114. package/dist/components/contextMenu/ContextMenu.d.mts.map +1 -1
  115. package/dist/components/contextMenu/ContextMenu.d.ts +1 -1
  116. package/dist/components/contextMenu/ContextMenu.d.ts.map +1 -1
  117. package/dist/components/contextMenu/ContextMenu.js +37 -6
  118. package/dist/components/contextMenu/ContextMenu.js.map +2 -2
  119. package/dist/components/drawer.css +23 -6
  120. package/dist/components/dropdownMenu/DropdownMenu.cjs +10 -5
  121. package/dist/components/dropdownMenu/DropdownMenu.cjs.map +2 -2
  122. package/dist/components/dropdownMenu/DropdownMenu.d.cts.map +1 -1
  123. package/dist/components/dropdownMenu/DropdownMenu.d.mts.map +1 -1
  124. package/dist/components/dropdownMenu/DropdownMenu.d.ts.map +1 -1
  125. package/dist/components/dropdownMenu/DropdownMenu.js +10 -5
  126. package/dist/components/dropdownMenu/DropdownMenu.js.map +2 -2
  127. package/dist/components/file-upload.css +36 -9
  128. package/dist/components/floating-panel.css +49 -18
  129. package/dist/components/floatingPanel/FloatingPanel.cjs +156 -58
  130. package/dist/components/floatingPanel/FloatingPanel.cjs.map +2 -2
  131. package/dist/components/floatingPanel/FloatingPanel.d.cts.map +1 -1
  132. package/dist/components/floatingPanel/FloatingPanel.d.mts.map +1 -1
  133. package/dist/components/floatingPanel/FloatingPanel.d.ts.map +1 -1
  134. package/dist/components/floatingPanel/FloatingPanel.js +156 -58
  135. package/dist/components/floatingPanel/FloatingPanel.js.map +2 -2
  136. package/dist/components/grid/Grid.cjs +24 -35
  137. package/dist/components/grid/Grid.cjs.map +2 -2
  138. package/dist/components/grid/Grid.d.cts.map +1 -1
  139. package/dist/components/grid/Grid.d.mts.map +1 -1
  140. package/dist/components/grid/Grid.d.ts.map +1 -1
  141. package/dist/components/grid/Grid.js +24 -35
  142. package/dist/components/grid/Grid.js.map +2 -2
  143. package/dist/components/heading/Heading.cjs +1 -8
  144. package/dist/components/heading/Heading.cjs.map +2 -2
  145. package/dist/components/heading/Heading.d.cts.map +1 -1
  146. package/dist/components/heading/Heading.d.mts.map +1 -1
  147. package/dist/components/heading/Heading.d.ts.map +1 -1
  148. package/dist/components/heading/Heading.js +1 -8
  149. package/dist/components/heading/Heading.js.map +2 -2
  150. package/dist/components/heading/heading.props.cjs +9 -9
  151. package/dist/components/heading/heading.props.cjs.map +2 -2
  152. package/dist/components/heading/heading.props.d.cts +42 -43
  153. package/dist/components/heading/heading.props.d.cts.map +1 -1
  154. package/dist/components/heading/heading.props.d.mts +42 -43
  155. package/dist/components/heading/heading.props.d.mts.map +1 -1
  156. package/dist/components/heading/heading.props.d.ts +42 -43
  157. package/dist/components/heading/heading.props.d.ts.map +1 -1
  158. package/dist/components/heading/heading.props.js +9 -9
  159. package/dist/components/heading/heading.props.js.map +2 -2
  160. package/dist/components/heading.css +127 -104
  161. package/dist/components/hover-card.css +5 -2
  162. package/dist/components/icon/Icon.cjs +3 -0
  163. package/dist/components/icon/Icon.cjs.map +2 -2
  164. package/dist/components/icon/Icon.d.cts +5 -1
  165. package/dist/components/icon/Icon.d.cts.map +1 -1
  166. package/dist/components/icon/Icon.d.mts +5 -1
  167. package/dist/components/icon/Icon.d.mts.map +1 -1
  168. package/dist/components/icon/Icon.d.ts +5 -1
  169. package/dist/components/icon/Icon.d.ts.map +1 -1
  170. package/dist/components/icon/Icon.js +4 -0
  171. package/dist/components/icon/Icon.js.map +2 -2
  172. package/dist/components/icon/icons.cjs +2 -0
  173. package/dist/components/icon/icons.cjs.map +2 -2
  174. package/dist/components/icon/icons.d.cts +5 -0
  175. package/dist/components/icon/icons.d.cts.map +1 -1
  176. package/dist/components/icon/icons.d.mts +5 -0
  177. package/dist/components/icon/icons.d.mts.map +1 -1
  178. package/dist/components/icon/icons.d.ts +5 -0
  179. package/dist/components/icon/icons.d.ts.map +1 -1
  180. package/dist/components/icon/icons.js +2 -0
  181. package/dist/components/icon/icons.js.map +2 -2
  182. package/dist/components/index.cjs +1 -0
  183. package/dist/components/index.cjs.map +2 -2
  184. package/dist/components/index.d.cts +1 -0
  185. package/dist/components/index.d.cts.map +1 -1
  186. package/dist/components/index.d.mts +1 -0
  187. package/dist/components/index.d.mts.map +1 -1
  188. package/dist/components/index.d.ts +1 -0
  189. package/dist/components/index.d.ts.map +1 -1
  190. package/dist/components/index.js +1 -0
  191. package/dist/components/index.js.map +2 -2
  192. package/dist/components/label.css +3 -0
  193. package/dist/components/link.css +33 -97
  194. package/dist/components/notification-center.css +49 -9
  195. package/dist/components/notificationCenter/NotificationCenter.cjs +21 -16
  196. package/dist/components/notificationCenter/NotificationCenter.cjs.map +2 -2
  197. package/dist/components/notificationCenter/NotificationCenter.d.cts.map +1 -1
  198. package/dist/components/notificationCenter/NotificationCenter.d.mts.map +1 -1
  199. package/dist/components/notificationCenter/NotificationCenter.d.ts.map +1 -1
  200. package/dist/components/notificationCenter/NotificationCenter.js +22 -17
  201. package/dist/components/notificationCenter/NotificationCenter.js.map +2 -2
  202. package/dist/components/pills/Pills.cjs +1 -1
  203. package/dist/components/pills/Pills.cjs.map +2 -2
  204. package/dist/components/pills/Pills.js +2 -2
  205. package/dist/components/pills/Pills.js.map +2 -2
  206. package/dist/components/pills.css +6 -0
  207. package/dist/components/popover.css +45 -6
  208. package/dist/components/prose.css +3 -3
  209. package/dist/components/qr-code.css +5 -2
  210. package/dist/components/qrCode/QrCode.cjs +14 -11
  211. package/dist/components/qrCode/QrCode.cjs.map +2 -2
  212. package/dist/components/qrCode/QrCode.d.cts.map +1 -1
  213. package/dist/components/qrCode/QrCode.d.mts.map +1 -1
  214. package/dist/components/qrCode/QrCode.d.ts.map +1 -1
  215. package/dist/components/qrCode/QrCode.js +14 -11
  216. package/dist/components/qrCode/QrCode.js.map +2 -2
  217. package/dist/components/resizable.css +20 -4
  218. package/dist/components/rich-text-editor.css +50 -14
  219. package/dist/components/richTextEditor/EditorTools.cjs +226 -0
  220. package/dist/components/richTextEditor/EditorTools.cjs.map +7 -0
  221. package/dist/components/richTextEditor/EditorTools.d.cts +22 -0
  222. package/dist/components/richTextEditor/EditorTools.d.cts.map +1 -0
  223. package/dist/components/richTextEditor/EditorTools.d.mts +22 -0
  224. package/dist/components/richTextEditor/EditorTools.d.mts.map +1 -0
  225. package/dist/components/richTextEditor/EditorTools.d.ts +22 -0
  226. package/dist/components/richTextEditor/EditorTools.d.ts.map +1 -0
  227. package/dist/components/richTextEditor/EditorTools.js +196 -0
  228. package/dist/components/richTextEditor/EditorTools.js.map +7 -0
  229. package/dist/components/richTextEditor/MentionSuggestions.cjs +96 -0
  230. package/dist/components/richTextEditor/MentionSuggestions.cjs.map +7 -0
  231. package/dist/components/richTextEditor/MentionSuggestions.d.cts +7 -0
  232. package/dist/components/richTextEditor/MentionSuggestions.d.cts.map +1 -0
  233. package/dist/components/richTextEditor/MentionSuggestions.d.mts +7 -0
  234. package/dist/components/richTextEditor/MentionSuggestions.d.mts.map +1 -0
  235. package/dist/components/richTextEditor/MentionSuggestions.d.ts +7 -0
  236. package/dist/components/richTextEditor/MentionSuggestions.d.ts.map +1 -0
  237. package/dist/components/richTextEditor/MentionSuggestions.js +66 -0
  238. package/dist/components/richTextEditor/MentionSuggestions.js.map +7 -0
  239. package/dist/components/richTextEditor/RichTextEditor.cjs +53 -206
  240. package/dist/components/richTextEditor/RichTextEditor.cjs.map +3 -3
  241. package/dist/components/richTextEditor/RichTextEditor.d.cts +17 -7
  242. package/dist/components/richTextEditor/RichTextEditor.d.cts.map +1 -1
  243. package/dist/components/richTextEditor/RichTextEditor.d.mts +17 -7
  244. package/dist/components/richTextEditor/RichTextEditor.d.mts.map +1 -1
  245. package/dist/components/richTextEditor/RichTextEditor.d.ts +17 -7
  246. package/dist/components/richTextEditor/RichTextEditor.d.ts.map +1 -1
  247. package/dist/components/richTextEditor/RichTextEditor.js +53 -206
  248. package/dist/components/richTextEditor/RichTextEditor.js.map +3 -3
  249. package/dist/components/richTextEditor/editorTokens.cjs +75 -0
  250. package/dist/components/richTextEditor/editorTokens.cjs.map +7 -0
  251. package/dist/components/richTextEditor/editorTokens.d.cts +21 -0
  252. package/dist/components/richTextEditor/editorTokens.d.cts.map +1 -0
  253. package/dist/components/richTextEditor/editorTokens.d.mts +21 -0
  254. package/dist/components/richTextEditor/editorTokens.d.mts.map +1 -0
  255. package/dist/components/richTextEditor/editorTokens.d.ts +21 -0
  256. package/dist/components/richTextEditor/editorTokens.d.ts.map +1 -0
  257. package/dist/components/richTextEditor/editorTokens.js +55 -0
  258. package/dist/components/richTextEditor/editorTokens.js.map +7 -0
  259. package/dist/components/scroll-area.css +12 -0
  260. package/dist/components/scrollArea/ScrollArea.cjs +12 -1
  261. package/dist/components/scrollArea/ScrollArea.cjs.map +2 -2
  262. package/dist/components/scrollArea/ScrollArea.d.cts.map +1 -1
  263. package/dist/components/scrollArea/ScrollArea.d.mts.map +1 -1
  264. package/dist/components/scrollArea/ScrollArea.d.ts.map +1 -1
  265. package/dist/components/scrollArea/ScrollArea.js +12 -1
  266. package/dist/components/scrollArea/ScrollArea.js.map +2 -2
  267. package/dist/components/segmentedControl/SegmentedControl.cjs +2 -2
  268. package/dist/components/segmentedControl/SegmentedControl.cjs.map +2 -2
  269. package/dist/components/segmentedControl/SegmentedControl.d.cts.map +1 -1
  270. package/dist/components/segmentedControl/SegmentedControl.d.mts.map +1 -1
  271. package/dist/components/segmentedControl/SegmentedControl.d.ts.map +1 -1
  272. package/dist/components/segmentedControl/SegmentedControl.js +2 -2
  273. package/dist/components/segmentedControl/SegmentedControl.js.map +2 -2
  274. package/dist/components/separator.css +3 -9
  275. package/dist/components/sidebar/Sidebar.cjs +12 -4
  276. package/dist/components/sidebar/Sidebar.cjs.map +2 -2
  277. package/dist/components/sidebar/Sidebar.d.cts +4 -1
  278. package/dist/components/sidebar/Sidebar.d.cts.map +1 -1
  279. package/dist/components/sidebar/Sidebar.d.mts +4 -1
  280. package/dist/components/sidebar/Sidebar.d.mts.map +1 -1
  281. package/dist/components/sidebar/Sidebar.d.ts +4 -1
  282. package/dist/components/sidebar/Sidebar.d.ts.map +1 -1
  283. package/dist/components/sidebar/Sidebar.js +12 -4
  284. package/dist/components/sidebar/Sidebar.js.map +2 -2
  285. package/dist/components/sidebar/sidebar.props.cjs +8 -1
  286. package/dist/components/sidebar/sidebar.props.cjs.map +2 -2
  287. package/dist/components/sidebar/sidebar.props.d.cts +9 -1
  288. package/dist/components/sidebar/sidebar.props.d.cts.map +1 -1
  289. package/dist/components/sidebar/sidebar.props.d.mts +9 -1
  290. package/dist/components/sidebar/sidebar.props.d.mts.map +1 -1
  291. package/dist/components/sidebar/sidebar.props.d.ts +9 -1
  292. package/dist/components/sidebar/sidebar.props.d.ts.map +1 -1
  293. package/dist/components/sidebar/sidebar.props.js +8 -1
  294. package/dist/components/sidebar/sidebar.props.js.map +2 -2
  295. package/dist/components/sidebar.css +28 -0
  296. package/dist/components/sonner.css +78 -16
  297. package/dist/components/stepper.css +23 -12
  298. package/dist/components/tab-nav.css +25 -13
  299. package/dist/components/tabNav/TabNav.cjs +1 -4
  300. package/dist/components/tabNav/TabNav.cjs.map +2 -2
  301. package/dist/components/tabNav/TabNav.d.cts.map +1 -1
  302. package/dist/components/tabNav/TabNav.d.mts.map +1 -1
  303. package/dist/components/tabNav/TabNav.d.ts.map +1 -1
  304. package/dist/components/tabNav/TabNav.js +1 -4
  305. package/dist/components/tabNav/TabNav.js.map +2 -2
  306. package/dist/components/table-of-contents.css +12 -2
  307. package/dist/components/tableOfContents/TableOfContents.cjs +11 -4
  308. package/dist/components/tableOfContents/TableOfContents.cjs.map +2 -2
  309. package/dist/components/tableOfContents/TableOfContents.d.cts.map +1 -1
  310. package/dist/components/tableOfContents/TableOfContents.d.mts.map +1 -1
  311. package/dist/components/tableOfContents/TableOfContents.d.ts.map +1 -1
  312. package/dist/components/tableOfContents/TableOfContents.js +11 -4
  313. package/dist/components/tableOfContents/TableOfContents.js.map +2 -2
  314. package/dist/components/tabs/Tabs.cjs +39 -54
  315. package/dist/components/tabs/Tabs.cjs.map +2 -2
  316. package/dist/components/tabs/Tabs.d.cts.map +1 -1
  317. package/dist/components/tabs/Tabs.d.mts.map +1 -1
  318. package/dist/components/tabs/Tabs.d.ts.map +1 -1
  319. package/dist/components/tabs/Tabs.js +39 -54
  320. package/dist/components/tabs/Tabs.js.map +2 -2
  321. package/dist/components/tabs.css +52 -7
  322. package/dist/components/text/text.props.cjs +9 -9
  323. package/dist/components/text/text.props.cjs.map +2 -2
  324. package/dist/components/text/text.props.d.cts +42 -43
  325. package/dist/components/text/text.props.d.cts.map +1 -1
  326. package/dist/components/text/text.props.d.mts +42 -43
  327. package/dist/components/text/text.props.d.mts.map +1 -1
  328. package/dist/components/text/text.props.d.ts +42 -43
  329. package/dist/components/text/text.props.d.ts.map +1 -1
  330. package/dist/components/text/text.props.js +9 -9
  331. package/dist/components/text/text.props.js.map +2 -2
  332. package/dist/components/text/typography.props.cjs +32 -0
  333. package/dist/components/text/typography.props.cjs.map +7 -0
  334. package/dist/components/text/typography.props.d.cts +3 -0
  335. package/dist/components/text/typography.props.d.cts.map +1 -0
  336. package/dist/components/text/typography.props.d.mts +3 -0
  337. package/dist/components/text/typography.props.d.mts.map +1 -0
  338. package/dist/components/text/typography.props.d.ts +3 -0
  339. package/dist/components/text/typography.props.d.ts.map +1 -0
  340. package/dist/components/text/typography.props.js +12 -0
  341. package/dist/components/text/typography.props.js.map +7 -0
  342. package/dist/components/text-field.css +1 -0
  343. package/dist/components/text.css +41 -6
  344. package/dist/components/theme-panel.css +6 -0
  345. package/dist/components/toast/Toast.cjs +3 -1
  346. package/dist/components/toast/Toast.cjs.map +2 -2
  347. package/dist/components/toast/Toast.d.cts.map +1 -1
  348. package/dist/components/toast/Toast.d.mts.map +1 -1
  349. package/dist/components/toast/Toast.d.ts.map +1 -1
  350. package/dist/components/toast/Toast.js +3 -1
  351. package/dist/components/toast/Toast.js.map +2 -2
  352. package/dist/components/toast.css +36 -36
  353. package/dist/components/toggle-tip.css +58 -9
  354. package/dist/components/toggleTip/ToggleTip.cjs +9 -5
  355. package/dist/components/toggleTip/ToggleTip.cjs.map +2 -2
  356. package/dist/components/toggleTip/ToggleTip.d.cts.map +1 -1
  357. package/dist/components/toggleTip/ToggleTip.d.mts.map +1 -1
  358. package/dist/components/toggleTip/ToggleTip.d.ts.map +1 -1
  359. package/dist/components/toggleTip/ToggleTip.js +9 -5
  360. package/dist/components/toggleTip/ToggleTip.js.map +2 -2
  361. package/dist/components/toolbar/Toolbar.cjs +10 -7
  362. package/dist/components/toolbar/Toolbar.cjs.map +2 -2
  363. package/dist/components/toolbar/Toolbar.js +10 -7
  364. package/dist/components/toolbar/Toolbar.js.map +2 -2
  365. package/dist/components/toolbar.css +58 -4
  366. package/dist/components/tooltip.css +9 -5
  367. package/dist/components/tree-view.css +17 -3
  368. package/dist/components/treeView/TreeView.cjs +76 -21
  369. package/dist/components/treeView/TreeView.cjs.map +2 -2
  370. package/dist/components/treeView/TreeView.d.cts.map +1 -1
  371. package/dist/components/treeView/TreeView.d.mts.map +1 -1
  372. package/dist/components/treeView/TreeView.d.ts.map +1 -1
  373. package/dist/components/treeView/TreeView.js +76 -21
  374. package/dist/components/treeView/TreeView.js.map +2 -2
  375. package/dist/components.css +1 -0
  376. package/dist/docs/README.md +1 -0
  377. package/dist/docs/component-contract.md +4 -3
  378. package/dist/docs/component-index.json +9 -1
  379. package/dist/docs/components/accordion.md +5 -36
  380. package/dist/docs/components/alert.md +17 -10
  381. package/dist/docs/components/article-nodes.md +59 -2
  382. package/dist/docs/components/aspect-ratio.md +3 -26
  383. package/dist/docs/components/banner.md +7 -7
  384. package/dist/docs/components/blockquote.md +15 -14
  385. package/dist/docs/components/bottom-dock.md +146 -0
  386. package/dist/docs/components/box.md +3 -34
  387. package/dist/docs/components/breadcrumb.md +13 -8
  388. package/dist/docs/components/callout.md +18 -7
  389. package/dist/docs/components/card.md +9 -2
  390. package/dist/docs/components/code.md +33 -220
  391. package/dist/docs/components/collapsible.md +11 -35
  392. package/dist/docs/components/command.md +2 -0
  393. package/dist/docs/components/comment-thread.md +51 -1
  394. package/dist/docs/components/config-drawer.md +72 -171
  395. package/dist/docs/components/container.md +2 -0
  396. package/dist/docs/components/context-menu.md +19 -5
  397. package/dist/docs/components/dialog.md +3 -1
  398. package/dist/docs/components/drawer.md +17 -6
  399. package/dist/docs/components/dropdown-menu.md +11 -2
  400. package/dist/docs/components/em.md +1 -1
  401. package/dist/docs/components/file-upload.md +13 -7
  402. package/dist/docs/components/floating-panel.md +79 -285
  403. package/dist/docs/components/form.md +4 -0
  404. package/dist/docs/components/grid.md +11 -60
  405. package/dist/docs/components/heading.md +35 -32
  406. package/dist/docs/components/hover-card.md +9 -1
  407. package/dist/docs/components/kbd.md +2 -0
  408. package/dist/docs/components/label.md +11 -9
  409. package/dist/docs/components/link.md +31 -209
  410. package/dist/docs/components/notification-center.md +24 -14
  411. package/dist/docs/components/page-header.md +2 -0
  412. package/dist/docs/components/pagination.md +4 -0
  413. package/dist/docs/components/pills.md +13 -4
  414. package/dist/docs/components/popover.md +10 -3
  415. package/dist/docs/components/prose.md +9 -0
  416. package/dist/docs/components/qr-code.md +12 -12
  417. package/dist/docs/components/quote.md +9 -4
  418. package/dist/docs/components/resizable.md +26 -18
  419. package/dist/docs/components/rich-text-editor.md +68 -18
  420. package/dist/docs/components/scroll-area.md +17 -9
  421. package/dist/docs/components/section.md +3 -38
  422. package/dist/docs/components/segmented-control.md +1 -1
  423. package/dist/docs/components/segmented-meter.md +9 -0
  424. package/dist/docs/components/separator.md +10 -46
  425. package/dist/docs/components/sidebar.md +17 -3
  426. package/dist/docs/components/sonner.md +25 -16
  427. package/dist/docs/components/stepper.md +8 -33
  428. package/dist/docs/components/strong.md +1 -1
  429. package/dist/docs/components/tab-nav.md +33 -96
  430. package/dist/docs/components/table-of-contents.md +8 -2
  431. package/dist/docs/components/tabs.md +19 -50
  432. package/dist/docs/components/text-field.md +1 -0
  433. package/dist/docs/components/text.md +34 -28
  434. package/dist/docs/components/theme-panel.md +3 -28
  435. package/dist/docs/components/theme.md +7 -3
  436. package/dist/docs/components/toast.md +27 -13
  437. package/dist/docs/components/toggle-tip.md +58 -241
  438. package/dist/docs/components/toolbar.md +16 -39
  439. package/dist/docs/components/tooltip.md +13 -7
  440. package/dist/docs/components/tree-view.md +22 -55
  441. package/dist/generated/tokens.cjs +1 -0
  442. package/dist/generated/tokens.cjs.map +2 -2
  443. package/dist/generated/tokens.d.cts.map +1 -1
  444. package/dist/generated/tokens.d.mts.map +1 -1
  445. package/dist/generated/tokens.d.ts.map +1 -1
  446. package/dist/generated/tokens.js +1 -0
  447. package/dist/generated/tokens.js.map +2 -2
  448. package/dist/styles.css +1632 -1300
  449. package/dist/tokens.css +344 -362
  450. package/package.json +1 -1
@@ -13,31 +13,30 @@ declare const textPropDefs: {
13
13
  type: "enum";
14
14
  className: string;
15
15
  values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
16
- responsive: true;
17
16
  };
18
- weight: {
17
+ weight: Omit<{
19
18
  type: "enum";
20
19
  className: string;
21
20
  values: readonly ["light", "regular", "medium", "bold"];
22
21
  responsive: true;
23
- };
22
+ }, "responsive">;
24
23
  truncate: {
25
24
  type: "boolean";
26
25
  className: string;
27
26
  };
28
- wrap: {
27
+ wrap: Omit<{
29
28
  type: "enum";
30
29
  className: string;
31
30
  values: readonly ["wrap", "nowrap", "pretty", "balance"];
32
31
  responsive: true;
33
- };
34
- align: {
32
+ }, "responsive">;
33
+ align: Omit<{
35
34
  type: "enum";
36
35
  className: string;
37
36
  values: readonly ["left", "center", "right", "justify"];
38
37
  responsive: true;
39
- };
40
- padding: {
38
+ }, "responsive">;
39
+ padding: Omit<{
41
40
  type: "enum | string";
42
41
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
43
42
  default: undefined;
@@ -45,8 +44,8 @@ declare const textPropDefs: {
45
44
  customProperties: readonly [`--${string}`];
46
45
  parseValue: ((value: string) => string | number | undefined) | undefined;
47
46
  responsive: true;
48
- };
49
- p: {
47
+ }, "responsive">;
48
+ p: Omit<{
50
49
  type: "enum | string";
51
50
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
52
51
  className: string;
@@ -54,8 +53,8 @@ declare const textPropDefs: {
54
53
  customProperties: readonly [`--${string}`];
55
54
  parseValue: ((value: string) => string | number | undefined) | undefined;
56
55
  responsive: true;
57
- };
58
- px: {
56
+ }, "responsive">;
57
+ px: Omit<{
59
58
  type: "enum | string";
60
59
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
61
60
  className: string;
@@ -63,8 +62,8 @@ declare const textPropDefs: {
63
62
  customProperties: readonly [`--${string}`];
64
63
  parseValue: ((value: string) => string | number | undefined) | undefined;
65
64
  responsive: true;
66
- };
67
- py: {
65
+ }, "responsive">;
66
+ py: Omit<{
68
67
  type: "enum | string";
69
68
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
70
69
  className: string;
@@ -72,8 +71,8 @@ declare const textPropDefs: {
72
71
  customProperties: readonly [`--${string}`];
73
72
  parseValue: ((value: string) => string | number | undefined) | undefined;
74
73
  responsive: true;
75
- };
76
- pt: {
74
+ }, "responsive">;
75
+ pt: Omit<{
77
76
  type: "enum | string";
78
77
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
79
78
  className: string;
@@ -81,8 +80,8 @@ declare const textPropDefs: {
81
80
  customProperties: readonly [`--${string}`];
82
81
  parseValue: ((value: string) => string | number | undefined) | undefined;
83
82
  responsive: true;
84
- };
85
- pr: {
83
+ }, "responsive">;
84
+ pr: Omit<{
86
85
  type: "enum | string";
87
86
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
88
87
  className: string;
@@ -90,8 +89,8 @@ declare const textPropDefs: {
90
89
  customProperties: readonly [`--${string}`];
91
90
  parseValue: ((value: string) => string | number | undefined) | undefined;
92
91
  responsive: true;
93
- };
94
- pb: {
92
+ }, "responsive">;
93
+ pb: Omit<{
95
94
  type: "enum | string";
96
95
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
97
96
  className: string;
@@ -99,8 +98,8 @@ declare const textPropDefs: {
99
98
  customProperties: readonly [`--${string}`];
100
99
  parseValue: ((value: string) => string | number | undefined) | undefined;
101
100
  responsive: true;
102
- };
103
- pl: {
101
+ }, "responsive">;
102
+ pl: Omit<{
104
103
  type: "enum | string";
105
104
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
106
105
  className: string;
@@ -108,8 +107,8 @@ declare const textPropDefs: {
108
107
  customProperties: readonly [`--${string}`];
109
108
  parseValue: ((value: string) => string | number | undefined) | undefined;
110
109
  responsive: true;
111
- };
112
- margin: {
110
+ }, "responsive">;
111
+ margin: Omit<{
113
112
  type: "enum | string";
114
113
  values: readonly ["auto", "none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
115
114
  default: undefined;
@@ -117,8 +116,8 @@ declare const textPropDefs: {
117
116
  customProperties: readonly [`--${string}`];
118
117
  parseValue: ((value: string) => string | number | undefined) | undefined;
119
118
  responsive: true;
120
- };
121
- m: {
119
+ }, "responsive">;
120
+ m: Omit<{
122
121
  readonly type: "enum | string";
123
122
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
124
123
  readonly className: string;
@@ -126,8 +125,8 @@ declare const textPropDefs: {
126
125
  readonly customProperties: readonly [`--${string}`];
127
126
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
128
127
  readonly responsive: true;
129
- };
130
- mx: {
128
+ }, "responsive">;
129
+ mx: Omit<{
131
130
  readonly type: "enum | string";
132
131
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
133
132
  readonly className: string;
@@ -135,8 +134,8 @@ declare const textPropDefs: {
135
134
  readonly customProperties: readonly [`--${string}`];
136
135
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
137
136
  readonly responsive: true;
138
- };
139
- my: {
137
+ }, "responsive">;
138
+ my: Omit<{
140
139
  readonly type: "enum | string";
141
140
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
142
141
  readonly className: string;
@@ -144,8 +143,8 @@ declare const textPropDefs: {
144
143
  readonly customProperties: readonly [`--${string}`];
145
144
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
146
145
  readonly responsive: true;
147
- };
148
- mt: {
146
+ }, "responsive">;
147
+ mt: Omit<{
149
148
  readonly type: "enum | string";
150
149
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
151
150
  readonly className: string;
@@ -153,8 +152,8 @@ declare const textPropDefs: {
153
152
  readonly customProperties: readonly [`--${string}`];
154
153
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
155
154
  readonly responsive: true;
156
- };
157
- mr: {
155
+ }, "responsive">;
156
+ mr: Omit<{
158
157
  readonly type: "enum | string";
159
158
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
160
159
  readonly className: string;
@@ -162,8 +161,8 @@ declare const textPropDefs: {
162
161
  readonly customProperties: readonly [`--${string}`];
163
162
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
164
163
  readonly responsive: true;
165
- };
166
- mb: {
164
+ }, "responsive">;
165
+ mb: Omit<{
167
166
  readonly type: "enum | string";
168
167
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
169
168
  readonly className: string;
@@ -171,8 +170,8 @@ declare const textPropDefs: {
171
170
  readonly customProperties: readonly [`--${string}`];
172
171
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
173
172
  readonly responsive: true;
174
- };
175
- ml: {
173
+ }, "responsive">;
174
+ ml: Omit<{
176
175
  readonly type: "enum | string";
177
176
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
178
177
  readonly className: string;
@@ -180,24 +179,24 @@ declare const textPropDefs: {
180
179
  readonly customProperties: readonly [`--${string}`];
181
180
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
182
181
  readonly responsive: true;
183
- };
184
- trim: {
182
+ }, "responsive">;
183
+ trim: Omit<{
185
184
  type: "enum";
186
185
  className: string;
187
186
  values: readonly ["normal", "start", "end", "both"];
188
187
  responsive: true;
189
- };
188
+ }, "responsive">;
190
189
  highContrast: {
191
190
  type: "boolean";
192
191
  default: false;
193
192
  };
194
- color: {
193
+ color: Omit<{
195
194
  type: "enum";
196
195
  className: string;
197
196
  values: readonly ["primary", "primary-container", "secondary", "secondary-container", "tertiary", "tertiary-container", "success", "success-container", "error", "error-container", "surface", "surface-raised", "surface-overlay", "surface-sunken", "background", "outline", "outline-variant"];
198
197
  default: undefined;
199
198
  responsive: true;
200
- };
199
+ }, "responsive">;
201
200
  asChild: {
202
201
  type: "boolean";
203
202
  default: false;
@@ -1 +1 @@
1
- {"version":3,"file":"text.props.d.mts","sourceRoot":"","sources":["../../../src/components/text/text.props.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"text.props.d.mts","sourceRoot":"","sources":["../../../src/components/text/text.props.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -13,31 +13,30 @@ declare const textPropDefs: {
13
13
  type: "enum";
14
14
  className: string;
15
15
  values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
16
- responsive: true;
17
16
  };
18
- weight: {
17
+ weight: Omit<{
19
18
  type: "enum";
20
19
  className: string;
21
20
  values: readonly ["light", "regular", "medium", "bold"];
22
21
  responsive: true;
23
- };
22
+ }, "responsive">;
24
23
  truncate: {
25
24
  type: "boolean";
26
25
  className: string;
27
26
  };
28
- wrap: {
27
+ wrap: Omit<{
29
28
  type: "enum";
30
29
  className: string;
31
30
  values: readonly ["wrap", "nowrap", "pretty", "balance"];
32
31
  responsive: true;
33
- };
34
- align: {
32
+ }, "responsive">;
33
+ align: Omit<{
35
34
  type: "enum";
36
35
  className: string;
37
36
  values: readonly ["left", "center", "right", "justify"];
38
37
  responsive: true;
39
- };
40
- padding: {
38
+ }, "responsive">;
39
+ padding: Omit<{
41
40
  type: "enum | string";
42
41
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
43
42
  default: undefined;
@@ -45,8 +44,8 @@ declare const textPropDefs: {
45
44
  customProperties: readonly [`--${string}`];
46
45
  parseValue: ((value: string) => string | number | undefined) | undefined;
47
46
  responsive: true;
48
- };
49
- p: {
47
+ }, "responsive">;
48
+ p: Omit<{
50
49
  type: "enum | string";
51
50
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
52
51
  className: string;
@@ -54,8 +53,8 @@ declare const textPropDefs: {
54
53
  customProperties: readonly [`--${string}`];
55
54
  parseValue: ((value: string) => string | number | undefined) | undefined;
56
55
  responsive: true;
57
- };
58
- px: {
56
+ }, "responsive">;
57
+ px: Omit<{
59
58
  type: "enum | string";
60
59
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
61
60
  className: string;
@@ -63,8 +62,8 @@ declare const textPropDefs: {
63
62
  customProperties: readonly [`--${string}`];
64
63
  parseValue: ((value: string) => string | number | undefined) | undefined;
65
64
  responsive: true;
66
- };
67
- py: {
65
+ }, "responsive">;
66
+ py: Omit<{
68
67
  type: "enum | string";
69
68
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
70
69
  className: string;
@@ -72,8 +71,8 @@ declare const textPropDefs: {
72
71
  customProperties: readonly [`--${string}`];
73
72
  parseValue: ((value: string) => string | number | undefined) | undefined;
74
73
  responsive: true;
75
- };
76
- pt: {
74
+ }, "responsive">;
75
+ pt: Omit<{
77
76
  type: "enum | string";
78
77
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
79
78
  className: string;
@@ -81,8 +80,8 @@ declare const textPropDefs: {
81
80
  customProperties: readonly [`--${string}`];
82
81
  parseValue: ((value: string) => string | number | undefined) | undefined;
83
82
  responsive: true;
84
- };
85
- pr: {
83
+ }, "responsive">;
84
+ pr: Omit<{
86
85
  type: "enum | string";
87
86
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
88
87
  className: string;
@@ -90,8 +89,8 @@ declare const textPropDefs: {
90
89
  customProperties: readonly [`--${string}`];
91
90
  parseValue: ((value: string) => string | number | undefined) | undefined;
92
91
  responsive: true;
93
- };
94
- pb: {
92
+ }, "responsive">;
93
+ pb: Omit<{
95
94
  type: "enum | string";
96
95
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
97
96
  className: string;
@@ -99,8 +98,8 @@ declare const textPropDefs: {
99
98
  customProperties: readonly [`--${string}`];
100
99
  parseValue: ((value: string) => string | number | undefined) | undefined;
101
100
  responsive: true;
102
- };
103
- pl: {
101
+ }, "responsive">;
102
+ pl: Omit<{
104
103
  type: "enum | string";
105
104
  values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
106
105
  className: string;
@@ -108,8 +107,8 @@ declare const textPropDefs: {
108
107
  customProperties: readonly [`--${string}`];
109
108
  parseValue: ((value: string) => string | number | undefined) | undefined;
110
109
  responsive: true;
111
- };
112
- margin: {
110
+ }, "responsive">;
111
+ margin: Omit<{
113
112
  type: "enum | string";
114
113
  values: readonly ["auto", "none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
115
114
  default: undefined;
@@ -117,8 +116,8 @@ declare const textPropDefs: {
117
116
  customProperties: readonly [`--${string}`];
118
117
  parseValue: ((value: string) => string | number | undefined) | undefined;
119
118
  responsive: true;
120
- };
121
- m: {
119
+ }, "responsive">;
120
+ m: Omit<{
122
121
  readonly type: "enum | string";
123
122
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
124
123
  readonly className: string;
@@ -126,8 +125,8 @@ declare const textPropDefs: {
126
125
  readonly customProperties: readonly [`--${string}`];
127
126
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
128
127
  readonly responsive: true;
129
- };
130
- mx: {
128
+ }, "responsive">;
129
+ mx: Omit<{
131
130
  readonly type: "enum | string";
132
131
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
133
132
  readonly className: string;
@@ -135,8 +134,8 @@ declare const textPropDefs: {
135
134
  readonly customProperties: readonly [`--${string}`];
136
135
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
137
136
  readonly responsive: true;
138
- };
139
- my: {
137
+ }, "responsive">;
138
+ my: Omit<{
140
139
  readonly type: "enum | string";
141
140
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
142
141
  readonly className: string;
@@ -144,8 +143,8 @@ declare const textPropDefs: {
144
143
  readonly customProperties: readonly [`--${string}`];
145
144
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
146
145
  readonly responsive: true;
147
- };
148
- mt: {
146
+ }, "responsive">;
147
+ mt: Omit<{
149
148
  readonly type: "enum | string";
150
149
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
151
150
  readonly className: string;
@@ -153,8 +152,8 @@ declare const textPropDefs: {
153
152
  readonly customProperties: readonly [`--${string}`];
154
153
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
155
154
  readonly responsive: true;
156
- };
157
- mr: {
155
+ }, "responsive">;
156
+ mr: Omit<{
158
157
  readonly type: "enum | string";
159
158
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
160
159
  readonly className: string;
@@ -162,8 +161,8 @@ declare const textPropDefs: {
162
161
  readonly customProperties: readonly [`--${string}`];
163
162
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
164
163
  readonly responsive: true;
165
- };
166
- mb: {
164
+ }, "responsive">;
165
+ mb: Omit<{
167
166
  readonly type: "enum | string";
168
167
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
169
168
  readonly className: string;
@@ -171,8 +170,8 @@ declare const textPropDefs: {
171
170
  readonly customProperties: readonly [`--${string}`];
172
171
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
173
172
  readonly responsive: true;
174
- };
175
- ml: {
173
+ }, "responsive">;
174
+ ml: Omit<{
176
175
  readonly type: "enum | string";
177
176
  readonly values: readonly ["none", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
178
177
  readonly className: string;
@@ -180,24 +179,24 @@ declare const textPropDefs: {
180
179
  readonly customProperties: readonly [`--${string}`];
181
180
  readonly parseValue: ((value: string) => string | number | undefined) | undefined;
182
181
  readonly responsive: true;
183
- };
184
- trim: {
182
+ }, "responsive">;
183
+ trim: Omit<{
185
184
  type: "enum";
186
185
  className: string;
187
186
  values: readonly ["normal", "start", "end", "both"];
188
187
  responsive: true;
189
- };
188
+ }, "responsive">;
190
189
  highContrast: {
191
190
  type: "boolean";
192
191
  default: false;
193
192
  };
194
- color: {
193
+ color: Omit<{
195
194
  type: "enum";
196
195
  className: string;
197
196
  values: readonly ["primary", "primary-container", "secondary", "secondary-container", "tertiary", "tertiary-container", "success", "success-container", "error", "error-container", "surface", "surface-raised", "surface-overlay", "surface-sunken", "background", "outline", "outline-variant"];
198
197
  default: undefined;
199
198
  responsive: true;
200
- };
199
+ }, "responsive">;
201
200
  asChild: {
202
201
  type: "boolean";
203
202
  default: false;
@@ -1 +1 @@
1
- {"version":3,"file":"text.props.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.props.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"text.props.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.props.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjB,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -8,20 +8,21 @@ import { textAlignPropDef } from "../../_internal/props/textAlign.prop.js";
8
8
  import { textWrapPropDef } from "../../_internal/props/textWrap.prop.js";
9
9
  import { truncatePropDef } from "../../_internal/props/truncate.prop.js";
10
10
  import { weightPropDef } from "../../_internal/props/weight.prop.js";
11
+ import { scalarTypographyProps } from "./typography.props.js";
11
12
  const textVariants = ["body-large", "body-medium", "body-small", "label-large", "label-medium", "label-small"];
12
13
  const textTones = ["default", "muted", "inverse"];
13
14
  const textSizes = ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
14
15
  const textPropDefs = {
15
16
  ...asChildPropDef,
16
- ...colorPropDef,
17
+ ...scalarTypographyProps(colorPropDef),
17
18
  ...highContrastPropDef,
18
- ...leadingTrimPropDef,
19
- ...marginPropDef,
20
- ...paddingPropDef,
21
- ...textAlignPropDef,
22
- ...textWrapPropDef,
19
+ ...scalarTypographyProps(leadingTrimPropDef),
20
+ ...scalarTypographyProps(marginPropDef),
21
+ ...scalarTypographyProps(paddingPropDef),
22
+ ...scalarTypographyProps(textAlignPropDef),
23
+ ...scalarTypographyProps(textWrapPropDef),
23
24
  ...truncatePropDef,
24
- ...weightPropDef,
25
+ ...scalarTypographyProps(weightPropDef),
25
26
  variant: {
26
27
  type: "enum",
27
28
  values: textVariants,
@@ -35,8 +36,7 @@ const textPropDefs = {
35
36
  size: {
36
37
  type: "enum",
37
38
  className: "dsx-r-text-size",
38
- values: textSizes,
39
- responsive: true
39
+ values: textSizes
40
40
  }
41
41
  };
42
42
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/text/text.props.ts"],
4
- "sourcesContent": ["import { asChildPropDef } from '../../_internal/props/asChild.prop'\nimport { colorPropDef } from '../../_internal/props/color.prop'\nimport { highContrastPropDef } from '../../_internal/props/highContrast.prop'\nimport { leadingTrimPropDef } from '../../_internal/props/leadingTrim.prop'\nimport { marginPropDef } from '../../_internal/props/margin.prop'\nimport { paddingPropDef } from '../../_internal/props/padding.prop'\nimport { textAlignPropDef } from '../../_internal/props/textAlign.prop'\nimport { textWrapPropDef } from '../../_internal/props/textWrap.prop'\nimport { truncatePropDef } from '../../_internal/props/truncate.prop'\nimport { weightPropDef } from '../../_internal/props/weight.prop'\n\nimport type { PropDef } from '../../_internal/props/propDef'\n\nconst textVariants = ['body-large', 'body-medium', 'body-small', 'label-large', 'label-medium', 'label-small'] as const\nconst textTones = ['default', 'muted', 'inverse'] as const\nconst textSizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const\n\nconst textPropDefs = {\n ...asChildPropDef,\n ...colorPropDef,\n ...highContrastPropDef,\n ...leadingTrimPropDef,\n ...marginPropDef,\n ...paddingPropDef,\n ...textAlignPropDef,\n ...textWrapPropDef,\n ...truncatePropDef,\n ...weightPropDef,\n variant: {\n type: 'enum',\n values: textVariants,\n default: 'body-medium',\n },\n tone: {\n type: 'enum',\n values: textTones,\n default: 'default',\n },\n size: {\n type: 'enum',\n className: 'dsx-r-text-size',\n values: textSizes,\n responsive: true,\n },\n} satisfies {\n asChild: PropDef\n align: PropDef<(typeof textAlignPropDef.align.values)[number]>\n color: PropDef<(typeof colorPropDef.color.values)[number]>\n highContrast: PropDef\n m: PropDef\n mb: PropDef\n ml: PropDef\n mr: PropDef\n mt: PropDef\n mx: PropDef\n my: PropDef\n p: PropDef\n pb: PropDef\n pl: PropDef\n pr: PropDef\n pt: PropDef\n px: PropDef\n py: PropDef\n tone: PropDef<(typeof textTones)[number]>\n size: PropDef<(typeof textSizes)[number]>\n trim: PropDef<(typeof leadingTrimPropDef.trim.values)[number]>\n truncate: PropDef\n variant: PropDef<(typeof textVariants)[number]>\n weight: PropDef<(typeof weightPropDef.weight.values)[number]>\n wrap: PropDef<(typeof textWrapPropDef.wrap.values)[number]>\n}\n\nexport { textPropDefs }\n"],
5
- "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAC7B,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAI9B,MAAM,eAAe,CAAC,cAAc,eAAe,cAAc,eAAe,gBAAgB,aAAa;AAC7G,MAAM,YAAY,CAAC,WAAW,SAAS,SAAS;AAChD,MAAM,YAAY,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAE9D,MAAM,eAAe;AAAA,EACnB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,SAAS;AAAA,IACP,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,YAAY;AAAA,EACd;AACF;",
4
+ "sourcesContent": ["import { asChildPropDef } from '../../_internal/props/asChild.prop'\nimport { colorPropDef } from '../../_internal/props/color.prop'\nimport { highContrastPropDef } from '../../_internal/props/highContrast.prop'\nimport { leadingTrimPropDef } from '../../_internal/props/leadingTrim.prop'\nimport { marginPropDef } from '../../_internal/props/margin.prop'\nimport { paddingPropDef } from '../../_internal/props/padding.prop'\nimport { textAlignPropDef } from '../../_internal/props/textAlign.prop'\nimport { textWrapPropDef } from '../../_internal/props/textWrap.prop'\nimport { truncatePropDef } from '../../_internal/props/truncate.prop'\nimport { weightPropDef } from '../../_internal/props/weight.prop'\n\nimport { scalarTypographyProps } from './typography.props'\n\nimport type { PropDef } from '../../_internal/props/propDef'\n\nconst textVariants = ['body-large', 'body-medium', 'body-small', 'label-large', 'label-medium', 'label-small'] as const\nconst textTones = ['default', 'muted', 'inverse'] as const\nconst textSizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const\n\nconst textPropDefs = {\n ...asChildPropDef,\n ...scalarTypographyProps(colorPropDef),\n ...highContrastPropDef,\n ...scalarTypographyProps(leadingTrimPropDef),\n ...scalarTypographyProps(marginPropDef),\n ...scalarTypographyProps(paddingPropDef),\n ...scalarTypographyProps(textAlignPropDef),\n ...scalarTypographyProps(textWrapPropDef),\n ...truncatePropDef,\n ...scalarTypographyProps(weightPropDef),\n variant: {\n type: 'enum',\n values: textVariants,\n default: 'body-medium',\n },\n tone: {\n type: 'enum',\n values: textTones,\n default: 'default',\n },\n size: {\n type: 'enum',\n className: 'dsx-r-text-size',\n values: textSizes,\n },\n} satisfies {\n asChild: PropDef\n align: PropDef<(typeof textAlignPropDef.align.values)[number]>\n color: PropDef<(typeof colorPropDef.color.values)[number]>\n highContrast: PropDef\n m: PropDef\n mb: PropDef\n ml: PropDef\n mr: PropDef\n mt: PropDef\n mx: PropDef\n my: PropDef\n p: PropDef\n pb: PropDef\n pl: PropDef\n pr: PropDef\n pt: PropDef\n px: PropDef\n py: PropDef\n tone: PropDef<(typeof textTones)[number]>\n size: PropDef<(typeof textSizes)[number]>\n trim: PropDef<(typeof leadingTrimPropDef.trim.values)[number]>\n truncate: PropDef\n variant: PropDef<(typeof textVariants)[number]>\n weight: PropDef<(typeof weightPropDef.weight.values)[number]>\n wrap: PropDef<(typeof textWrapPropDef.wrap.values)[number]>\n}\n\nexport { textPropDefs }\n"],
5
+ "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAC7B,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAE9B,SAAS,6BAA6B;AAItC,MAAM,eAAe,CAAC,cAAc,eAAe,cAAc,eAAe,gBAAgB,aAAa;AAC7G,MAAM,YAAY,CAAC,WAAW,SAAS,SAAS;AAChD,MAAM,YAAY,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAE9D,MAAM,eAAe;AAAA,EACnB,GAAG;AAAA,EACH,GAAG,sBAAsB,YAAY;AAAA,EACrC,GAAG;AAAA,EACH,GAAG,sBAAsB,kBAAkB;AAAA,EAC3C,GAAG,sBAAsB,aAAa;AAAA,EACtC,GAAG,sBAAsB,cAAc;AAAA,EACvC,GAAG,sBAAsB,gBAAgB;AAAA,EACzC,GAAG,sBAAsB,eAAe;AAAA,EACxC,GAAG;AAAA,EACH,GAAG,sBAAsB,aAAa;AAAA,EACtC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,WAAW;AAAA,IACX,QAAQ;AAAA,EACV;AACF;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var typography_props_exports = {};
20
+ __export(typography_props_exports, {
21
+ scalarTypographyProps: () => scalarTypographyProps
22
+ });
23
+ module.exports = __toCommonJS(typography_props_exports);
24
+ function scalarTypographyProps(defs) {
25
+ return Object.fromEntries(
26
+ Object.entries(defs).map(([name, def]) => {
27
+ const { responsive: _responsive, ...scalar } = def;
28
+ return [name, scalar];
29
+ })
30
+ );
31
+ }
32
+ //# sourceMappingURL=typography.props.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/text/typography.props.ts"],
4
+ "sourcesContent": ["import type { PropDef } from '../../_internal/props/propDef'\n\n// Shared utilities also serve layout primitives. Typography consumes their\n// scalar forms without changing the responsive layout definitions.\nexport function scalarTypographyProps<T extends Record<string, PropDef>>(defs: T) {\n return Object.fromEntries(\n Object.entries(defs).map(([name, def]) => {\n const { responsive: _responsive, ...scalar } = def as PropDef & { responsive?: true }\n return [name, scalar]\n }),\n ) as { [K in keyof T]: Omit<T[K], 'responsive'> }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,SAAS,sBAAyD,MAAS;AAChF,SAAO,OAAO;AAAA,IACZ,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM;AACxC,YAAM,EAAE,YAAY,aAAa,GAAG,OAAO,IAAI;AAC/C,aAAO,CAAC,MAAM,MAAM;AAAA,IACtB,CAAC;AAAA,EACH;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ import type { PropDef } from '../../_internal/props/propDef.cjs';
2
+ export declare function scalarTypographyProps<T extends Record<string, PropDef>>(defs: T): { [K in keyof T]: Omit<T[K], "responsive">; };
3
+ //# sourceMappingURL=typography.props.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.props.d.cts","sourceRoot":"","sources":["../../../src/components/text/typography.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAI5D,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,GAMzE,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,GAAE,CAClD"}
@@ -0,0 +1,3 @@
1
+ import type { PropDef } from '../../_internal/props/propDef.js';
2
+ export declare function scalarTypographyProps<T extends Record<string, PropDef>>(defs: T): { [K in keyof T]: Omit<T[K], "responsive">; };
3
+ //# sourceMappingURL=typography.props.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.props.d.mts","sourceRoot":"","sources":["../../../src/components/text/typography.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAI5D,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,GAMzE,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,GAAE,CAClD"}
@@ -0,0 +1,3 @@
1
+ import type { PropDef } from '../../_internal/props/propDef.js';
2
+ export declare function scalarTypographyProps<T extends Record<string, PropDef>>(defs: T): { [K in keyof T]: Omit<T[K], "responsive">; };
3
+ //# sourceMappingURL=typography.props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.props.d.ts","sourceRoot":"","sources":["../../../src/components/text/typography.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAI5D,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,GAMzE,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,GAAE,CAClD"}
@@ -0,0 +1,12 @@
1
+ function scalarTypographyProps(defs) {
2
+ return Object.fromEntries(
3
+ Object.entries(defs).map(([name, def]) => {
4
+ const { responsive: _responsive, ...scalar } = def;
5
+ return [name, scalar];
6
+ })
7
+ );
8
+ }
9
+ export {
10
+ scalarTypographyProps
11
+ };
12
+ //# sourceMappingURL=typography.props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/text/typography.props.ts"],
4
+ "sourcesContent": ["import type { PropDef } from '../../_internal/props/propDef'\n\n// Shared utilities also serve layout primitives. Typography consumes their\n// scalar forms without changing the responsive layout definitions.\nexport function scalarTypographyProps<T extends Record<string, PropDef>>(defs: T) {\n return Object.fromEntries(\n Object.entries(defs).map(([name, def]) => {\n const { responsive: _responsive, ...scalar } = def as PropDef & { responsive?: true }\n return [name, scalar]\n }),\n ) as { [K in keyof T]: Omit<T[K], 'responsive'> }\n}\n"],
5
+ "mappings": "AAIO,SAAS,sBAAyD,MAAS;AAChF,SAAO,OAAO;AAAA,IACZ,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM;AACxC,YAAM,EAAE,YAAY,aAAa,GAAG,OAAO,IAAI;AAC/C,aAAO,CAAC,MAAM,MAAM;AAAA,IACtB,CAAC;AAAA,EACH;AACF;",
6
+ "names": []
7
+ }
@@ -40,6 +40,7 @@
40
40
 
41
41
  .dsx-text-field__input {
42
42
  flex: 1;
43
+ min-inline-size: 0;
43
44
  border: 0;
44
45
  background: transparent;
45
46
  color: var(--dsx-color-on-surface);