@womp/kookie-ui 0.14.4 → 0.15.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 (1185) hide show
  1. package/README.md +2 -2
  2. package/components.css +711 -2741
  3. package/dist/cjs/components/_internal/base-button.d.ts.map +1 -1
  4. package/dist/cjs/components/_internal/base-button.js +1 -1
  5. package/dist/cjs/components/_internal/base-button.js.map +4 -4
  6. package/dist/cjs/components/_internal/base-button.props.d.ts +2 -9
  7. package/dist/cjs/components/_internal/base-button.props.d.ts.map +1 -1
  8. package/dist/cjs/components/_internal/base-button.props.js +1 -1
  9. package/dist/cjs/components/_internal/base-button.props.js.map +4 -4
  10. package/dist/cjs/components/_internal/base-checkbox.props.d.ts +2 -9
  11. package/dist/cjs/components/_internal/base-checkbox.props.d.ts.map +1 -1
  12. package/dist/cjs/components/_internal/base-checkbox.props.js +1 -1
  13. package/dist/cjs/components/_internal/base-checkbox.props.js.map +4 -4
  14. package/dist/cjs/components/_internal/base-menu.props.d.ts +0 -28
  15. package/dist/cjs/components/_internal/base-menu.props.d.ts.map +1 -1
  16. package/dist/cjs/components/_internal/base-menu.props.js +1 -1
  17. package/dist/cjs/components/_internal/base-menu.props.js.map +3 -3
  18. package/dist/cjs/components/_internal/base-menu.utils.d.ts +2 -9
  19. package/dist/cjs/components/_internal/base-menu.utils.d.ts.map +1 -1
  20. package/dist/cjs/components/_internal/base-menu.utils.js +1 -1
  21. package/dist/cjs/components/_internal/base-menu.utils.js.map +4 -4
  22. package/dist/cjs/components/_internal/base-radio.props.d.ts +1 -8
  23. package/dist/cjs/components/_internal/base-radio.props.d.ts.map +1 -1
  24. package/dist/cjs/components/_internal/base-radio.props.js +1 -1
  25. package/dist/cjs/components/_internal/base-radio.props.js.map +4 -4
  26. package/dist/cjs/components/_internal/base-tab-list.props.d.ts +0 -6
  27. package/dist/cjs/components/_internal/base-tab-list.props.d.ts.map +1 -1
  28. package/dist/cjs/components/_internal/base-tab-list.props.js +1 -1
  29. package/dist/cjs/components/_internal/base-tab-list.props.js.map +3 -3
  30. package/dist/cjs/components/_internal/menu-context.js +1 -1
  31. package/dist/cjs/components/_internal/menu-context.js.map +4 -4
  32. package/dist/cjs/components/_internal/shell-bottom.js +1 -1
  33. package/dist/cjs/components/_internal/shell-bottom.js.map +2 -2
  34. package/dist/cjs/components/_internal/shell-inspector.js +1 -1
  35. package/dist/cjs/components/_internal/shell-inspector.js.map +2 -2
  36. package/dist/cjs/components/_internal/shell-pane.d.ts +2 -3
  37. package/dist/cjs/components/_internal/shell-pane.d.ts.map +1 -1
  38. package/dist/cjs/components/_internal/shell-pane.js +1 -1
  39. package/dist/cjs/components/_internal/shell-pane.js.map +2 -2
  40. package/dist/cjs/components/_internal/shell-sidebar.d.ts +0 -4
  41. package/dist/cjs/components/_internal/shell-sidebar.d.ts.map +1 -1
  42. package/dist/cjs/components/_internal/shell-sidebar.js +1 -1
  43. package/dist/cjs/components/_internal/shell-sidebar.js.map +3 -3
  44. package/dist/cjs/components/_internal/shell-store.d.ts +4 -4
  45. package/dist/cjs/components/_internal/shell-store.d.ts.map +1 -1
  46. package/dist/cjs/components/_internal/shell-store.js +1 -1
  47. package/dist/cjs/components/_internal/shell-store.js.map +1 -1
  48. package/dist/cjs/components/accordion.d.ts.map +1 -1
  49. package/dist/cjs/components/accordion.js +1 -1
  50. package/dist/cjs/components/accordion.js.map +4 -4
  51. package/dist/cjs/components/accordion.props.d.ts +4 -15
  52. package/dist/cjs/components/accordion.props.d.ts.map +1 -1
  53. package/dist/cjs/components/accordion.props.js +1 -1
  54. package/dist/cjs/components/accordion.props.js.map +4 -4
  55. package/dist/cjs/components/alert-dialog.d.ts.map +1 -1
  56. package/dist/cjs/components/alert-dialog.js +1 -1
  57. package/dist/cjs/components/alert-dialog.js.map +4 -4
  58. package/dist/cjs/components/alert-dialog.props.d.ts +0 -5
  59. package/dist/cjs/components/alert-dialog.props.d.ts.map +1 -1
  60. package/dist/cjs/components/alert-dialog.props.js +1 -1
  61. package/dist/cjs/components/alert-dialog.props.js.map +3 -3
  62. package/dist/cjs/components/avatar.d.ts.map +1 -1
  63. package/dist/cjs/components/avatar.js +1 -1
  64. package/dist/cjs/components/avatar.js.map +4 -4
  65. package/dist/cjs/components/avatar.props.d.ts +2 -17
  66. package/dist/cjs/components/avatar.props.d.ts.map +1 -1
  67. package/dist/cjs/components/avatar.props.js +1 -1
  68. package/dist/cjs/components/avatar.props.js.map +4 -4
  69. package/dist/cjs/components/badge.d.ts.map +1 -1
  70. package/dist/cjs/components/badge.js +1 -1
  71. package/dist/cjs/components/badge.js.map +4 -4
  72. package/dist/cjs/components/badge.props.d.ts +1 -16
  73. package/dist/cjs/components/badge.props.d.ts.map +1 -1
  74. package/dist/cjs/components/badge.props.js +1 -1
  75. package/dist/cjs/components/badge.props.js.map +4 -4
  76. package/dist/cjs/components/blockquote.js.map +1 -1
  77. package/dist/cjs/components/blockquote.props.d.ts +1 -1
  78. package/dist/cjs/components/blockquote.props.js +1 -1
  79. package/dist/cjs/components/blockquote.props.js.map +2 -2
  80. package/dist/cjs/components/button.d.ts +2 -39
  81. package/dist/cjs/components/button.d.ts.map +1 -1
  82. package/dist/cjs/components/button.js +2 -2
  83. package/dist/cjs/components/button.js.map +4 -4
  84. package/dist/cjs/components/button.props.js +1 -1
  85. package/dist/cjs/components/button.props.js.map +4 -4
  86. package/dist/cjs/components/card.d.ts.map +1 -1
  87. package/dist/cjs/components/card.js +1 -1
  88. package/dist/cjs/components/card.js.map +4 -4
  89. package/dist/cjs/components/card.props.d.ts +1 -8
  90. package/dist/cjs/components/card.props.d.ts.map +1 -1
  91. package/dist/cjs/components/card.props.js +1 -1
  92. package/dist/cjs/components/card.props.js.map +4 -4
  93. package/dist/cjs/components/chatbar.d.ts +1 -3
  94. package/dist/cjs/components/chatbar.d.ts.map +1 -1
  95. package/dist/cjs/components/chatbar.js +2 -2
  96. package/dist/cjs/components/chatbar.js.map +4 -4
  97. package/dist/cjs/components/checkbox-cards.d.ts.map +1 -1
  98. package/dist/cjs/components/checkbox-cards.js +1 -1
  99. package/dist/cjs/components/checkbox-cards.js.map +4 -4
  100. package/dist/cjs/components/checkbox-cards.props.d.ts +2 -10
  101. package/dist/cjs/components/checkbox-cards.props.d.ts.map +1 -1
  102. package/dist/cjs/components/checkbox-cards.props.js +1 -1
  103. package/dist/cjs/components/checkbox-cards.props.js.map +4 -4
  104. package/dist/cjs/components/checkbox-group.js +1 -1
  105. package/dist/cjs/components/checkbox-group.js.map +4 -4
  106. package/dist/cjs/components/checkbox-group.props.d.ts +2 -8
  107. package/dist/cjs/components/checkbox-group.props.d.ts.map +1 -1
  108. package/dist/cjs/components/checkbox-group.props.js +1 -1
  109. package/dist/cjs/components/checkbox-group.props.js.map +4 -4
  110. package/dist/cjs/components/checkbox.d.ts.map +1 -1
  111. package/dist/cjs/components/checkbox.js +1 -1
  112. package/dist/cjs/components/checkbox.js.map +4 -4
  113. package/dist/cjs/components/checkbox.props.js +1 -1
  114. package/dist/cjs/components/checkbox.props.js.map +4 -4
  115. package/dist/cjs/components/code.js +1 -1
  116. package/dist/cjs/components/code.js.map +2 -2
  117. package/dist/cjs/components/code.props.d.ts +1 -1
  118. package/dist/cjs/components/code.props.js +1 -1
  119. package/dist/cjs/components/code.props.js.map +2 -2
  120. package/dist/cjs/components/combobox.d.ts.map +1 -1
  121. package/dist/cjs/components/combobox.js +1 -1
  122. package/dist/cjs/components/combobox.js.map +4 -4
  123. package/dist/cjs/components/combobox.props.d.ts +1 -20
  124. package/dist/cjs/components/combobox.props.d.ts.map +1 -1
  125. package/dist/cjs/components/combobox.props.js +1 -1
  126. package/dist/cjs/components/combobox.props.js.map +4 -4
  127. package/dist/cjs/components/context-menu.d.ts.map +1 -1
  128. package/dist/cjs/components/context-menu.js +1 -1
  129. package/dist/cjs/components/context-menu.js.map +4 -4
  130. package/dist/cjs/components/context-menu.props.js +1 -1
  131. package/dist/cjs/components/context-menu.props.js.map +3 -3
  132. package/dist/cjs/components/data-list.js.map +1 -1
  133. package/dist/cjs/components/data-list.props.js.map +1 -1
  134. package/dist/cjs/components/dialog.d.ts.map +1 -1
  135. package/dist/cjs/components/dialog.js +1 -1
  136. package/dist/cjs/components/dialog.js.map +4 -4
  137. package/dist/cjs/components/dialog.props.d.ts +0 -5
  138. package/dist/cjs/components/dialog.props.d.ts.map +1 -1
  139. package/dist/cjs/components/dialog.props.js +1 -1
  140. package/dist/cjs/components/dialog.props.js.map +3 -3
  141. package/dist/cjs/components/dropdown-menu.d.ts.map +1 -1
  142. package/dist/cjs/components/dropdown-menu.js +1 -1
  143. package/dist/cjs/components/dropdown-menu.js.map +4 -4
  144. package/dist/cjs/components/dropdown-menu.props.js +1 -1
  145. package/dist/cjs/components/dropdown-menu.props.js.map +3 -3
  146. package/dist/cjs/components/heading.js.map +1 -1
  147. package/dist/cjs/components/heading.props.js.map +1 -1
  148. package/dist/cjs/components/hover-card.js +1 -1
  149. package/dist/cjs/components/hover-card.js.map +4 -4
  150. package/dist/cjs/components/icon-button.d.ts +1 -1
  151. package/dist/cjs/components/icon-button.d.ts.map +1 -1
  152. package/dist/cjs/components/icon-button.js +2 -2
  153. package/dist/cjs/components/icon-button.js.map +4 -4
  154. package/dist/cjs/components/icon-button.props.js +1 -1
  155. package/dist/cjs/components/icon-button.props.js.map +4 -4
  156. package/dist/cjs/components/image.d.ts +0 -5
  157. package/dist/cjs/components/image.d.ts.map +1 -1
  158. package/dist/cjs/components/image.js +1 -1
  159. package/dist/cjs/components/image.js.map +3 -3
  160. package/dist/cjs/components/index.d.ts +0 -3
  161. package/dist/cjs/components/index.d.ts.map +1 -1
  162. package/dist/cjs/components/index.js +5 -5
  163. package/dist/cjs/components/index.js.map +4 -4
  164. package/dist/cjs/components/kbd.js +1 -1
  165. package/dist/cjs/components/kbd.js.map +4 -4
  166. package/dist/cjs/components/kbd.props.d.ts +2 -4
  167. package/dist/cjs/components/kbd.props.d.ts.map +1 -1
  168. package/dist/cjs/components/kbd.props.js +1 -1
  169. package/dist/cjs/components/kbd.props.js.map +4 -4
  170. package/dist/cjs/components/link.js +1 -1
  171. package/dist/cjs/components/link.js.map +2 -2
  172. package/dist/cjs/components/link.props.d.ts +1 -1
  173. package/dist/cjs/components/link.props.js +1 -1
  174. package/dist/cjs/components/link.props.js.map +2 -2
  175. package/dist/cjs/components/message-scroller.js +2 -2
  176. package/dist/cjs/components/message-scroller.js.map +4 -4
  177. package/dist/cjs/components/notice.js +2 -2
  178. package/dist/cjs/components/notice.js.map +4 -4
  179. package/dist/cjs/components/popover.d.ts.map +1 -1
  180. package/dist/cjs/components/popover.js +1 -1
  181. package/dist/cjs/components/popover.js.map +4 -4
  182. package/dist/cjs/components/popover.props.d.ts +0 -6
  183. package/dist/cjs/components/popover.props.d.ts.map +1 -1
  184. package/dist/cjs/components/popover.props.js +1 -1
  185. package/dist/cjs/components/popover.props.js.map +3 -3
  186. package/dist/cjs/components/progress.js.map +1 -1
  187. package/dist/cjs/components/progress.props.js.map +1 -1
  188. package/dist/cjs/components/radio-cards.d.ts.map +1 -1
  189. package/dist/cjs/components/radio-cards.js +1 -1
  190. package/dist/cjs/components/radio-cards.js.map +4 -4
  191. package/dist/cjs/components/radio-cards.props.d.ts +2 -10
  192. package/dist/cjs/components/radio-cards.props.d.ts.map +1 -1
  193. package/dist/cjs/components/radio-cards.props.js +1 -1
  194. package/dist/cjs/components/radio-cards.props.js.map +4 -4
  195. package/dist/cjs/components/radio-group.js +1 -1
  196. package/dist/cjs/components/radio-group.js.map +4 -4
  197. package/dist/cjs/components/radio-group.props.d.ts +1 -3
  198. package/dist/cjs/components/radio-group.props.d.ts.map +1 -1
  199. package/dist/cjs/components/radio-group.props.js +1 -1
  200. package/dist/cjs/components/radio-group.props.js.map +4 -4
  201. package/dist/cjs/components/radio.d.ts.map +1 -1
  202. package/dist/cjs/components/radio.js +1 -1
  203. package/dist/cjs/components/radio.js.map +4 -4
  204. package/dist/cjs/components/radio.props.js +1 -1
  205. package/dist/cjs/components/radio.props.js.map +4 -4
  206. package/dist/cjs/components/schemas/base-button.schema.d.ts +0 -7
  207. package/dist/cjs/components/schemas/base-button.schema.d.ts.map +1 -1
  208. package/dist/cjs/components/schemas/base-button.schema.js +1 -1
  209. package/dist/cjs/components/schemas/base-button.schema.js.map +2 -2
  210. package/dist/cjs/components/schemas/button.schema.d.ts +7 -73
  211. package/dist/cjs/components/schemas/button.schema.d.ts.map +1 -1
  212. package/dist/cjs/components/schemas/button.schema.js +1 -1
  213. package/dist/cjs/components/schemas/button.schema.js.map +2 -2
  214. package/dist/cjs/components/schemas/icon-button.schema.d.ts +0 -7
  215. package/dist/cjs/components/schemas/icon-button.schema.d.ts.map +1 -1
  216. package/dist/cjs/components/schemas/icon-button.schema.js +1 -1
  217. package/dist/cjs/components/schemas/icon-button.schema.js.map +2 -2
  218. package/dist/cjs/components/schemas/index.js +1 -1
  219. package/dist/cjs/components/schemas/index.js.map +2 -2
  220. package/dist/cjs/components/schemas/shell.schema.d.ts +5 -29
  221. package/dist/cjs/components/schemas/shell.schema.d.ts.map +1 -1
  222. package/dist/cjs/components/schemas/shell.schema.js +1 -1
  223. package/dist/cjs/components/schemas/shell.schema.js.map +2 -2
  224. package/dist/cjs/components/schemas/toggle-button.schema.d.ts +7 -73
  225. package/dist/cjs/components/schemas/toggle-button.schema.d.ts.map +1 -1
  226. package/dist/cjs/components/schemas/toggle-button.schema.js +1 -1
  227. package/dist/cjs/components/schemas/toggle-button.schema.js.map +2 -2
  228. package/dist/cjs/components/schemas/toggle-icon-button.schema.d.ts +0 -7
  229. package/dist/cjs/components/schemas/toggle-icon-button.schema.d.ts.map +1 -1
  230. package/dist/cjs/components/schemas/toggle-icon-button.schema.js +1 -1
  231. package/dist/cjs/components/schemas/toggle-icon-button.schema.js.map +2 -2
  232. package/dist/cjs/components/segmented-control.d.ts.map +1 -1
  233. package/dist/cjs/components/segmented-control.js +1 -1
  234. package/dist/cjs/components/segmented-control.js.map +4 -4
  235. package/dist/cjs/components/segmented-control.props.d.ts +0 -11
  236. package/dist/cjs/components/segmented-control.props.d.ts.map +1 -1
  237. package/dist/cjs/components/segmented-control.props.js +1 -1
  238. package/dist/cjs/components/segmented-control.props.js.map +3 -3
  239. package/dist/cjs/components/select.d.ts.map +1 -1
  240. package/dist/cjs/components/select.js +1 -1
  241. package/dist/cjs/components/select.js.map +4 -4
  242. package/dist/cjs/components/select.props.d.ts +1 -14
  243. package/dist/cjs/components/select.props.d.ts.map +1 -1
  244. package/dist/cjs/components/select.props.js +1 -1
  245. package/dist/cjs/components/select.props.js.map +4 -4
  246. package/dist/cjs/components/separator.js.map +1 -1
  247. package/dist/cjs/components/separator.props.js.map +1 -1
  248. package/dist/cjs/components/sheet.d.ts +1 -2
  249. package/dist/cjs/components/sheet.d.ts.map +1 -1
  250. package/dist/cjs/components/sheet.js +1 -1
  251. package/dist/cjs/components/sheet.js.map +4 -4
  252. package/dist/cjs/components/shell.context.js +1 -1
  253. package/dist/cjs/components/shell.context.js.map +2 -2
  254. package/dist/cjs/components/shell.hooks.js.map +1 -1
  255. package/dist/cjs/components/shell.js +1 -1
  256. package/dist/cjs/components/shell.js.map +3 -3
  257. package/dist/cjs/components/shell.types.d.ts +1 -1
  258. package/dist/cjs/components/shell.types.d.ts.map +1 -1
  259. package/dist/cjs/components/shell.types.js.map +1 -1
  260. package/dist/cjs/components/sidebar.d.ts +2 -92
  261. package/dist/cjs/components/sidebar.d.ts.map +1 -1
  262. package/dist/cjs/components/sidebar.js +1 -1
  263. package/dist/cjs/components/sidebar.js.map +4 -4
  264. package/dist/cjs/components/slider.js.map +1 -1
  265. package/dist/cjs/components/slider.props.js.map +1 -1
  266. package/dist/cjs/components/switch.d.ts.map +1 -1
  267. package/dist/cjs/components/switch.js +1 -1
  268. package/dist/cjs/components/switch.js.map +3 -3
  269. package/dist/cjs/components/switch.props.d.ts +0 -18
  270. package/dist/cjs/components/switch.props.d.ts.map +1 -1
  271. package/dist/cjs/components/switch.props.js +1 -1
  272. package/dist/cjs/components/switch.props.js.map +3 -3
  273. package/dist/cjs/components/tab-nav.d.ts.map +1 -1
  274. package/dist/cjs/components/tab-nav.js +1 -1
  275. package/dist/cjs/components/tab-nav.js.map +4 -4
  276. package/dist/cjs/components/tab-nav.props.js +1 -1
  277. package/dist/cjs/components/tab-nav.props.js.map +3 -3
  278. package/dist/cjs/components/tabs.d.ts.map +1 -1
  279. package/dist/cjs/components/tabs.js +1 -1
  280. package/dist/cjs/components/tabs.js.map +4 -4
  281. package/dist/cjs/components/tabs.props.js +1 -1
  282. package/dist/cjs/components/tabs.props.js.map +3 -3
  283. package/dist/cjs/components/text-area.d.ts.map +1 -1
  284. package/dist/cjs/components/text-area.js +1 -1
  285. package/dist/cjs/components/text-area.js.map +4 -4
  286. package/dist/cjs/components/text-area.props.d.ts +1 -12
  287. package/dist/cjs/components/text-area.props.d.ts.map +1 -1
  288. package/dist/cjs/components/text-area.props.js +1 -1
  289. package/dist/cjs/components/text-area.props.js.map +4 -4
  290. package/dist/cjs/components/text-field.d.ts.map +1 -1
  291. package/dist/cjs/components/text-field.js +2 -2
  292. package/dist/cjs/components/text-field.js.map +4 -4
  293. package/dist/cjs/components/text-field.props.d.ts +1 -12
  294. package/dist/cjs/components/text-field.props.d.ts.map +1 -1
  295. package/dist/cjs/components/text-field.props.js +1 -1
  296. package/dist/cjs/components/text-field.props.js.map +4 -4
  297. package/dist/cjs/components/text.js.map +1 -1
  298. package/dist/cjs/components/text.props.js.map +1 -1
  299. package/dist/cjs/components/theme-panel.d.ts.map +1 -1
  300. package/dist/cjs/components/theme-panel.js +3 -3
  301. package/dist/cjs/components/theme-panel.js.map +4 -4
  302. package/dist/cjs/components/theme.d.ts +0 -3
  303. package/dist/cjs/components/theme.d.ts.map +1 -1
  304. package/dist/cjs/components/theme.js +1 -1
  305. package/dist/cjs/components/theme.js.map +4 -4
  306. package/dist/cjs/components/theme.props.d.ts +1 -19
  307. package/dist/cjs/components/theme.props.d.ts.map +1 -1
  308. package/dist/cjs/components/theme.props.js +1 -1
  309. package/dist/cjs/components/theme.props.js.map +3 -3
  310. package/dist/cjs/components/toggle-button.d.ts.map +1 -1
  311. package/dist/cjs/components/toggle-button.js +3 -3
  312. package/dist/cjs/components/toggle-button.js.map +4 -4
  313. package/dist/cjs/components/toggle-icon-button.d.ts.map +1 -1
  314. package/dist/cjs/components/toggle-icon-button.js +3 -3
  315. package/dist/cjs/components/toggle-icon-button.js.map +4 -4
  316. package/dist/cjs/components/toolbar.d.ts +1 -1
  317. package/dist/cjs/components/toolbar.d.ts.map +1 -1
  318. package/dist/cjs/components/toolbar.js +2 -2
  319. package/dist/cjs/components/toolbar.js.map +4 -4
  320. package/dist/cjs/components/tooltip.js +1 -1
  321. package/dist/cjs/components/tooltip.js.map +4 -4
  322. package/dist/cjs/components/virtual-menu.js +1 -1
  323. package/dist/cjs/components/virtual-menu.js.map +4 -4
  324. package/dist/cjs/helpers/index.js +4 -4
  325. package/dist/cjs/helpers/index.js.map +3 -3
  326. package/dist/cjs/helpers/map-prop-values.d.ts +1 -4
  327. package/dist/cjs/helpers/map-prop-values.d.ts.map +1 -1
  328. package/dist/cjs/helpers/map-prop-values.js +1 -1
  329. package/dist/cjs/helpers/map-prop-values.js.map +3 -3
  330. package/dist/cjs/hooks/use-breakpoint.js.map +1 -1
  331. package/dist/cjs/index.js +7 -7
  332. package/dist/cjs/index.js.map +4 -4
  333. package/dist/cjs/props/color.prop.d.ts.map +1 -1
  334. package/dist/cjs/props/color.prop.js.map +2 -2
  335. package/dist/cjs/props/index.d.ts +0 -1
  336. package/dist/cjs/props/index.d.ts.map +1 -1
  337. package/dist/cjs/props/index.js +1 -1
  338. package/dist/cjs/props/index.js.map +4 -4
  339. package/dist/esm/chunk-23WDP4JG.js +2 -0
  340. package/dist/esm/chunk-23WDP4JG.js.map +7 -0
  341. package/dist/esm/{chunk-K7BWSYVP.js → chunk-2IPVLV6B.js} +2 -2
  342. package/dist/esm/{chunk-SQ4BU4GH.js → chunk-2NNB4ZZ5.js} +2 -2
  343. package/dist/esm/{chunk-57XCVY6J.js → chunk-2PO6TZ7L.js} +2 -2
  344. package/dist/esm/{chunk-57XCVY6J.js.map → chunk-2PO6TZ7L.js.map} +1 -1
  345. package/dist/esm/{chunk-JXVUTFQN.js → chunk-2XSRO44Q.js} +2 -2
  346. package/dist/esm/{chunk-Z4DTHR2S.js → chunk-34KVYDF6.js} +1 -1
  347. package/dist/esm/{chunk-Z4DTHR2S.js.map → chunk-34KVYDF6.js.map} +2 -2
  348. package/dist/esm/{chunk-KXSMY4ZF.js → chunk-35KS5AQE.js} +2 -2
  349. package/dist/esm/chunk-3OABA7AF.js +2 -0
  350. package/dist/esm/chunk-3OABA7AF.js.map +7 -0
  351. package/dist/esm/chunk-3PT3AOD5.js +2 -0
  352. package/dist/esm/chunk-3PT3AOD5.js.map +7 -0
  353. package/dist/esm/{chunk-A2XVR7GL.js → chunk-3PTKPDSA.js} +2 -2
  354. package/dist/esm/chunk-3PTKPDSA.js.map +7 -0
  355. package/dist/esm/chunk-4D7OU2UA.js +2 -0
  356. package/dist/esm/chunk-4D7OU2UA.js.map +7 -0
  357. package/dist/esm/chunk-4FQLRQKJ.js +2 -0
  358. package/dist/esm/chunk-4FQLRQKJ.js.map +7 -0
  359. package/dist/esm/chunk-5AHQJB6H.js +2 -0
  360. package/dist/esm/{chunk-RWN22S44.js.map → chunk-5AHQJB6H.js.map} +2 -2
  361. package/dist/esm/chunk-5EAMAW2H.js +2 -0
  362. package/dist/esm/chunk-5EAMAW2H.js.map +7 -0
  363. package/dist/esm/chunk-5GYIQIPW.js +2 -0
  364. package/dist/esm/chunk-5GYIQIPW.js.map +7 -0
  365. package/dist/esm/chunk-5PG5YGIW.js +2 -0
  366. package/dist/esm/chunk-5PG5YGIW.js.map +7 -0
  367. package/dist/esm/{chunk-34UMKY2L.js → chunk-5RHODJDJ.js} +2 -2
  368. package/dist/esm/chunk-5ROQAZ7J.js +2 -0
  369. package/dist/esm/{chunk-GMHA5CFH.js.map → chunk-5ROQAZ7J.js.map} +2 -2
  370. package/dist/esm/chunk-5SQL4ZRC.js +2 -0
  371. package/dist/esm/chunk-5SQL4ZRC.js.map +7 -0
  372. package/dist/esm/{chunk-YA5DF67M.js → chunk-5YLKKQFK.js} +1 -1
  373. package/dist/esm/chunk-5YLKKQFK.js.map +7 -0
  374. package/dist/esm/{chunk-ZQVYY7UT.js → chunk-672FI4OH.js} +2 -2
  375. package/dist/esm/{chunk-T6Z4JUH6.js → chunk-6ERCPRXX.js} +2 -2
  376. package/dist/esm/chunk-7BE6N3KY.js +2 -0
  377. package/dist/esm/chunk-7BE6N3KY.js.map +7 -0
  378. package/dist/esm/{chunk-PXUQEA77.js → chunk-7CBZFHSQ.js} +2 -2
  379. package/dist/esm/{chunk-VJXHEDCE.js → chunk-7UW7D77E.js} +2 -2
  380. package/dist/esm/{chunk-62CJL5G7.js → chunk-A2NG5NRN.js} +2 -2
  381. package/dist/esm/{chunk-RUPET4E7.js → chunk-A6CDNZMT.js} +2 -2
  382. package/dist/esm/chunk-ABQHBDM4.js +2 -0
  383. package/dist/esm/chunk-ABQHBDM4.js.map +7 -0
  384. package/dist/esm/{chunk-43A5GUSI.js → chunk-AMP7O3DM.js} +2 -2
  385. package/dist/esm/{chunk-UBOOUDS4.js → chunk-AO32NT75.js} +2 -2
  386. package/dist/esm/chunk-B72RMGWZ.js +2 -0
  387. package/dist/esm/chunk-B72RMGWZ.js.map +7 -0
  388. package/dist/esm/{chunk-HFVD7W6R.js → chunk-BFLO4IVZ.js} +2 -2
  389. package/dist/esm/{chunk-SQZ5O7QS.js → chunk-BQE543O5.js} +2 -2
  390. package/dist/esm/chunk-C7JXVNMI.js +2 -0
  391. package/dist/esm/chunk-C7JXVNMI.js.map +7 -0
  392. package/dist/esm/chunk-CAUFRKTK.js +2 -0
  393. package/dist/esm/chunk-CAUFRKTK.js.map +7 -0
  394. package/dist/esm/chunk-CJ4UZDW5.js +2 -0
  395. package/dist/esm/chunk-CJ4UZDW5.js.map +7 -0
  396. package/dist/esm/{chunk-O2WPAUQN.js → chunk-CL6LRPCS.js} +2 -2
  397. package/dist/esm/chunk-CYXBQRQK.js +2 -0
  398. package/dist/esm/chunk-CYXBQRQK.js.map +7 -0
  399. package/dist/esm/chunk-DD5QHU6R.js +2 -0
  400. package/dist/esm/chunk-DD5QHU6R.js.map +7 -0
  401. package/dist/esm/chunk-DIGT74P3.js +2 -0
  402. package/dist/esm/chunk-DIGT74P3.js.map +7 -0
  403. package/dist/esm/{chunk-3OQM7SLQ.js → chunk-DQTJMIRO.js} +2 -2
  404. package/dist/esm/{chunk-GLERJXVS.js → chunk-DSB3TEAQ.js} +2 -2
  405. package/dist/esm/chunk-E5DJILUI.js +2 -0
  406. package/dist/esm/chunk-E5DJILUI.js.map +7 -0
  407. package/dist/esm/chunk-EJG2UNTM.js +2 -0
  408. package/dist/esm/chunk-EJG2UNTM.js.map +7 -0
  409. package/dist/esm/{chunk-HIBX2EXV.js → chunk-ELZEAEN2.js} +2 -2
  410. package/dist/esm/{chunk-IV4YJRVR.js → chunk-EVTNB4TB.js} +2 -2
  411. package/dist/esm/{chunk-CYSDGVKF.js → chunk-F2XQYWBE.js} +2 -2
  412. package/dist/esm/chunk-F2XQYWBE.js.map +7 -0
  413. package/dist/esm/chunk-FK6F6ROH.js +2 -0
  414. package/dist/esm/chunk-FK6F6ROH.js.map +7 -0
  415. package/dist/esm/chunk-GS2QSZUR.js +2 -0
  416. package/dist/esm/chunk-GS2QSZUR.js.map +7 -0
  417. package/dist/esm/{chunk-SGUTNJUO.js → chunk-GVLTTTFL.js} +2 -2
  418. package/dist/esm/chunk-HI3JY3DJ.js +2 -0
  419. package/dist/esm/chunk-HI3JY3DJ.js.map +7 -0
  420. package/dist/esm/{chunk-CIKDGYX3.js → chunk-HVQ3SLQC.js} +2 -2
  421. package/dist/esm/chunk-I53SGTKV.js +2 -0
  422. package/dist/esm/chunk-I53SGTKV.js.map +7 -0
  423. package/dist/esm/chunk-IMYZP5OY.js +2 -0
  424. package/dist/esm/chunk-IMYZP5OY.js.map +7 -0
  425. package/dist/esm/{chunk-N6Q3L64W.js → chunk-IYFDCW7Y.js} +2 -2
  426. package/dist/esm/chunk-IYXR46Q6.js +5 -0
  427. package/dist/esm/chunk-IYXR46Q6.js.map +7 -0
  428. package/dist/esm/chunk-JGB6LNTP.js +2 -0
  429. package/dist/esm/chunk-JGB6LNTP.js.map +7 -0
  430. package/dist/esm/chunk-JLHJHYVQ.js +2 -0
  431. package/dist/esm/chunk-JLHJHYVQ.js.map +7 -0
  432. package/dist/esm/{chunk-7FC7HF76.js → chunk-JLI7WHV6.js} +2 -2
  433. package/dist/esm/{chunk-OW4KAIWF.js → chunk-JQURG6CB.js} +2 -2
  434. package/dist/esm/{chunk-GONBMSRL.js → chunk-JZD5FHSU.js} +2 -2
  435. package/dist/esm/{chunk-EUSMN3K7.js → chunk-K5SC3CZZ.js} +2 -2
  436. package/dist/esm/{chunk-UBWRIE4C.js → chunk-K7J23OPW.js} +2 -2
  437. package/dist/esm/{chunk-UTHTSYSL.js → chunk-K7XY7FLD.js} +2 -2
  438. package/dist/esm/chunk-K7XY7FLD.js.map +7 -0
  439. package/dist/esm/chunk-KA5XDSKH.js +2 -0
  440. package/dist/esm/chunk-KA5XDSKH.js.map +7 -0
  441. package/dist/esm/chunk-L6M2MI7Y.js +2 -0
  442. package/dist/esm/chunk-L6M2MI7Y.js.map +7 -0
  443. package/dist/esm/chunk-LRFAOQK6.js +2 -0
  444. package/dist/esm/chunk-LRFAOQK6.js.map +7 -0
  445. package/dist/esm/chunk-LXSARUXD.js +2 -0
  446. package/dist/esm/chunk-LXSARUXD.js.map +7 -0
  447. package/dist/esm/{chunk-7ZCQAMHZ.js → chunk-MD3QCXRD.js} +2 -2
  448. package/dist/esm/chunk-MGQ4A2FI.js +2 -0
  449. package/dist/esm/{chunk-CMEKH4I5.js → chunk-MGSHX5N5.js} +2 -2
  450. package/dist/esm/chunk-MLJLEOZ5.js +2 -0
  451. package/dist/esm/chunk-MLJLEOZ5.js.map +7 -0
  452. package/dist/esm/chunk-MNC2O6QW.js +2 -0
  453. package/dist/esm/chunk-MNC2O6QW.js.map +7 -0
  454. package/dist/esm/chunk-MOMYWKIO.js +2 -0
  455. package/dist/esm/chunk-MOMYWKIO.js.map +7 -0
  456. package/dist/esm/{chunk-T7Q6DQRD.js → chunk-MQT3YJKY.js} +2 -2
  457. package/dist/esm/chunk-MQT3YJKY.js.map +7 -0
  458. package/dist/esm/{chunk-ZE2GWHPY.js → chunk-MVW2SY4F.js} +2 -2
  459. package/dist/esm/{chunk-KJTEZVOF.js → chunk-O6K6RZXY.js} +2 -2
  460. package/dist/esm/{chunk-JUY7CBSL.js → chunk-PBFSBHBS.js} +2 -2
  461. package/dist/esm/{chunk-3HGHPAH4.js → chunk-PDBVZAUJ.js} +2 -2
  462. package/dist/esm/chunk-PRRJ4WRE.js +2 -0
  463. package/dist/esm/chunk-PRRJ4WRE.js.map +7 -0
  464. package/dist/esm/chunk-PSS45RHX.js +2 -0
  465. package/dist/esm/{chunk-4JNHUPIM.js.map → chunk-PSS45RHX.js.map} +3 -3
  466. package/dist/esm/chunk-PTEAQFHI.js +2 -0
  467. package/dist/esm/chunk-PTEAQFHI.js.map +7 -0
  468. package/dist/esm/chunk-QDW5ZG5E.js +1 -0
  469. package/dist/esm/chunk-QE2EF7A7.js +2 -0
  470. package/dist/esm/chunk-QE2EF7A7.js.map +7 -0
  471. package/dist/esm/{chunk-R2MQMCND.js → chunk-QJFAGWBO.js} +2 -2
  472. package/dist/esm/chunk-QJSSCW3B.js +2 -0
  473. package/dist/esm/chunk-QJSSCW3B.js.map +7 -0
  474. package/dist/esm/chunk-QPNYHS6A.js +2 -0
  475. package/dist/esm/chunk-QPNYHS6A.js.map +7 -0
  476. package/dist/esm/chunk-QWFFYUFH.js +2 -0
  477. package/dist/esm/chunk-QWFFYUFH.js.map +7 -0
  478. package/dist/esm/{chunk-TCEQ5VVE.js → chunk-R4CN4Q3G.js} +2 -2
  479. package/dist/esm/chunk-RA4U6VVZ.js +2 -0
  480. package/dist/esm/chunk-RA4U6VVZ.js.map +7 -0
  481. package/dist/esm/{chunk-HJLBVNQE.js → chunk-RYURXQLJ.js} +2 -2
  482. package/dist/esm/{chunk-RUOOCYK4.js → chunk-S53ZQNHK.js} +2 -2
  483. package/dist/esm/chunk-SHFBYYEP.js +2 -0
  484. package/dist/esm/chunk-SHFBYYEP.js.map +7 -0
  485. package/dist/esm/{chunk-5G4WWJ4Z.js → chunk-T5DSQKKF.js} +2 -2
  486. package/dist/esm/{chunk-3XSB7YIM.js → chunk-TBZO22XK.js} +2 -2
  487. package/dist/esm/{chunk-C7UXUTUF.js → chunk-TGRRQHLQ.js} +2 -2
  488. package/dist/esm/{chunk-IVBKTHDM.js → chunk-TPHNDGSV.js} +2 -2
  489. package/dist/esm/chunk-TY3DIJFF.js +10 -0
  490. package/dist/esm/chunk-TY3DIJFF.js.map +7 -0
  491. package/dist/esm/chunk-UA6FP7HS.js +2 -0
  492. package/dist/esm/{chunk-6FLLFCBU.js → chunk-UBSLEGQZ.js} +2 -2
  493. package/dist/esm/chunk-UI2EFF6F.js +2 -0
  494. package/dist/esm/chunk-UI2EFF6F.js.map +7 -0
  495. package/dist/esm/chunk-ULSNYQOY.js +2 -0
  496. package/dist/esm/{chunk-XKBLNVOD.js.map → chunk-ULSNYQOY.js.map} +1 -1
  497. package/dist/esm/chunk-UPCRXJB2.js +2 -0
  498. package/dist/esm/chunk-UPCRXJB2.js.map +7 -0
  499. package/dist/esm/chunk-URLG45A4.js +2 -0
  500. package/dist/esm/chunk-URLG45A4.js.map +7 -0
  501. package/dist/esm/{chunk-LJXP6K5Y.js → chunk-V2TPYSZ2.js} +2 -2
  502. package/dist/esm/chunk-V7UP4SLZ.js +2 -0
  503. package/dist/esm/chunk-V7UP4SLZ.js.map +7 -0
  504. package/dist/esm/{chunk-FMMKOOS7.js → chunk-VASXAV62.js} +2 -2
  505. package/dist/esm/chunk-VASXAV62.js.map +7 -0
  506. package/dist/esm/chunk-VSSJTPBV.js +2 -0
  507. package/dist/esm/chunk-VSSJTPBV.js.map +7 -0
  508. package/dist/esm/chunk-W7VAP3WE.js +2 -0
  509. package/dist/esm/chunk-W7VAP3WE.js.map +7 -0
  510. package/dist/esm/chunk-WGNIFXUE.js +2 -0
  511. package/dist/esm/chunk-WGNIFXUE.js.map +7 -0
  512. package/dist/esm/chunk-WNSG5P3U.js +2 -0
  513. package/dist/esm/chunk-WNSG5P3U.js.map +7 -0
  514. package/dist/esm/{chunk-YLLCCUC7.js → chunk-X3UTLDGG.js} +2 -2
  515. package/dist/esm/chunk-XCDXQLWS.js +2 -0
  516. package/dist/esm/chunk-XCDXQLWS.js.map +7 -0
  517. package/dist/esm/{chunk-3UZHKW6I.js → chunk-XHF6RBOE.js} +2 -2
  518. package/dist/esm/{chunk-IPHKKZYE.js → chunk-XHKL4PG7.js} +2 -2
  519. package/dist/esm/chunk-XKAWVGBL.js +2 -0
  520. package/dist/esm/chunk-XKAWVGBL.js.map +7 -0
  521. package/dist/esm/{chunk-PAEHH3WS.js → chunk-XZ5XZS5O.js} +2 -2
  522. package/dist/esm/chunk-Y3FVBAN2.js +2 -0
  523. package/dist/esm/chunk-Y3FVBAN2.js.map +7 -0
  524. package/dist/esm/chunk-Y4IB7KDZ.js +5 -0
  525. package/dist/esm/chunk-Y4IB7KDZ.js.map +7 -0
  526. package/dist/esm/chunk-YKGLZEXX.js +2 -0
  527. package/dist/esm/{chunk-VBAXORVV.js.map → chunk-YKGLZEXX.js.map} +3 -3
  528. package/dist/esm/chunk-Z2LGVLUB.js +2 -0
  529. package/dist/esm/chunk-Z2LGVLUB.js.map +7 -0
  530. package/dist/esm/chunk-ZMFZYXLB.js +2 -0
  531. package/dist/esm/chunk-ZMFZYXLB.js.map +7 -0
  532. package/dist/esm/components/_internal/base-button.d.ts.map +1 -1
  533. package/dist/esm/components/_internal/base-button.js +1 -1
  534. package/dist/esm/components/_internal/base-button.props.d.ts +2 -9
  535. package/dist/esm/components/_internal/base-button.props.d.ts.map +1 -1
  536. package/dist/esm/components/_internal/base-button.props.js +1 -1
  537. package/dist/esm/components/_internal/base-checkbox.props.d.ts +2 -9
  538. package/dist/esm/components/_internal/base-checkbox.props.d.ts.map +1 -1
  539. package/dist/esm/components/_internal/base-checkbox.props.js +1 -1
  540. package/dist/esm/components/_internal/base-menu.props.d.ts +0 -28
  541. package/dist/esm/components/_internal/base-menu.props.d.ts.map +1 -1
  542. package/dist/esm/components/_internal/base-menu.props.js +1 -1
  543. package/dist/esm/components/_internal/base-menu.utils.d.ts +2 -9
  544. package/dist/esm/components/_internal/base-menu.utils.d.ts.map +1 -1
  545. package/dist/esm/components/_internal/base-menu.utils.js +1 -1
  546. package/dist/esm/components/_internal/base-radio.props.d.ts +1 -8
  547. package/dist/esm/components/_internal/base-radio.props.d.ts.map +1 -1
  548. package/dist/esm/components/_internal/base-radio.props.js +1 -1
  549. package/dist/esm/components/_internal/base-tab-list.props.d.ts +0 -6
  550. package/dist/esm/components/_internal/base-tab-list.props.d.ts.map +1 -1
  551. package/dist/esm/components/_internal/base-tab-list.props.js +1 -1
  552. package/dist/esm/components/_internal/menu-context.js +1 -1
  553. package/dist/esm/components/_internal/pane-chrome.js +1 -1
  554. package/dist/esm/components/_internal/shell-bottom.js +1 -1
  555. package/dist/esm/components/_internal/shell-inspector.js +1 -1
  556. package/dist/esm/components/_internal/shell-pane.d.ts +2 -3
  557. package/dist/esm/components/_internal/shell-pane.d.ts.map +1 -1
  558. package/dist/esm/components/_internal/shell-pane.js +1 -1
  559. package/dist/esm/components/_internal/shell-sidebar.d.ts +0 -4
  560. package/dist/esm/components/_internal/shell-sidebar.d.ts.map +1 -1
  561. package/dist/esm/components/_internal/shell-sidebar.js +1 -1
  562. package/dist/esm/components/_internal/shell-store.d.ts +4 -4
  563. package/dist/esm/components/_internal/shell-store.d.ts.map +1 -1
  564. package/dist/esm/components/_internal/shell-store.js +1 -1
  565. package/dist/esm/components/accordion.d.ts.map +1 -1
  566. package/dist/esm/components/accordion.js +1 -1
  567. package/dist/esm/components/accordion.props.d.ts +4 -15
  568. package/dist/esm/components/accordion.props.d.ts.map +1 -1
  569. package/dist/esm/components/accordion.props.js +1 -1
  570. package/dist/esm/components/alert-dialog.d.ts.map +1 -1
  571. package/dist/esm/components/alert-dialog.js +1 -1
  572. package/dist/esm/components/alert-dialog.props.d.ts +0 -5
  573. package/dist/esm/components/alert-dialog.props.d.ts.map +1 -1
  574. package/dist/esm/components/alert-dialog.props.js +1 -1
  575. package/dist/esm/components/avatar.d.ts.map +1 -1
  576. package/dist/esm/components/avatar.js +1 -1
  577. package/dist/esm/components/avatar.props.d.ts +2 -17
  578. package/dist/esm/components/avatar.props.d.ts.map +1 -1
  579. package/dist/esm/components/avatar.props.js +1 -1
  580. package/dist/esm/components/badge.d.ts.map +1 -1
  581. package/dist/esm/components/badge.js +1 -1
  582. package/dist/esm/components/badge.props.d.ts +1 -16
  583. package/dist/esm/components/badge.props.d.ts.map +1 -1
  584. package/dist/esm/components/badge.props.js +1 -1
  585. package/dist/esm/components/blockquote.js +1 -1
  586. package/dist/esm/components/blockquote.props.d.ts +1 -1
  587. package/dist/esm/components/blockquote.props.js +1 -1
  588. package/dist/esm/components/box.js +1 -1
  589. package/dist/esm/components/button.d.ts +2 -39
  590. package/dist/esm/components/button.d.ts.map +1 -1
  591. package/dist/esm/components/button.js +1 -1
  592. package/dist/esm/components/button.props.js +1 -1
  593. package/dist/esm/components/card.d.ts.map +1 -1
  594. package/dist/esm/components/card.js +1 -1
  595. package/dist/esm/components/card.props.d.ts +1 -8
  596. package/dist/esm/components/card.props.d.ts.map +1 -1
  597. package/dist/esm/components/card.props.js +1 -1
  598. package/dist/esm/components/chatbar.d.ts +1 -3
  599. package/dist/esm/components/chatbar.d.ts.map +1 -1
  600. package/dist/esm/components/chatbar.js +1 -1
  601. package/dist/esm/components/checkbox-cards.d.ts.map +1 -1
  602. package/dist/esm/components/checkbox-cards.js +1 -1
  603. package/dist/esm/components/checkbox-cards.props.d.ts +2 -10
  604. package/dist/esm/components/checkbox-cards.props.d.ts.map +1 -1
  605. package/dist/esm/components/checkbox-cards.props.js +1 -1
  606. package/dist/esm/components/checkbox-group.js +1 -1
  607. package/dist/esm/components/checkbox-group.props.d.ts +2 -8
  608. package/dist/esm/components/checkbox-group.props.d.ts.map +1 -1
  609. package/dist/esm/components/checkbox-group.props.js +1 -1
  610. package/dist/esm/components/checkbox.d.ts.map +1 -1
  611. package/dist/esm/components/checkbox.js +1 -1
  612. package/dist/esm/components/checkbox.props.js +1 -1
  613. package/dist/esm/components/code.js +1 -1
  614. package/dist/esm/components/code.props.d.ts +1 -1
  615. package/dist/esm/components/code.props.js +1 -1
  616. package/dist/esm/components/combobox.d.ts.map +1 -1
  617. package/dist/esm/components/combobox.js +1 -1
  618. package/dist/esm/components/combobox.props.d.ts +1 -20
  619. package/dist/esm/components/combobox.props.d.ts.map +1 -1
  620. package/dist/esm/components/combobox.props.js +1 -1
  621. package/dist/esm/components/container.js +1 -1
  622. package/dist/esm/components/context-menu.d.ts.map +1 -1
  623. package/dist/esm/components/context-menu.js +1 -1
  624. package/dist/esm/components/context-menu.props.js +1 -1
  625. package/dist/esm/components/data-list.js +1 -1
  626. package/dist/esm/components/data-list.props.js +1 -1
  627. package/dist/esm/components/dialog.d.ts.map +1 -1
  628. package/dist/esm/components/dialog.js +1 -1
  629. package/dist/esm/components/dialog.props.d.ts +0 -5
  630. package/dist/esm/components/dialog.props.d.ts.map +1 -1
  631. package/dist/esm/components/dialog.props.js +1 -1
  632. package/dist/esm/components/dropdown-menu.d.ts.map +1 -1
  633. package/dist/esm/components/dropdown-menu.js +1 -1
  634. package/dist/esm/components/dropdown-menu.props.js +1 -1
  635. package/dist/esm/components/em.js +1 -1
  636. package/dist/esm/components/flex.js +1 -1
  637. package/dist/esm/components/grid.js +1 -1
  638. package/dist/esm/components/heading.js +1 -1
  639. package/dist/esm/components/heading.props.js +1 -1
  640. package/dist/esm/components/hover-card.js +1 -1
  641. package/dist/esm/components/icon-button.d.ts +1 -1
  642. package/dist/esm/components/icon-button.d.ts.map +1 -1
  643. package/dist/esm/components/icon-button.js +1 -1
  644. package/dist/esm/components/icon-button.props.js +1 -1
  645. package/dist/esm/components/image.d.ts +0 -5
  646. package/dist/esm/components/image.d.ts.map +1 -1
  647. package/dist/esm/components/image.js +1 -1
  648. package/dist/esm/components/index.d.ts +0 -3
  649. package/dist/esm/components/index.d.ts.map +1 -1
  650. package/dist/esm/components/index.js +1 -1
  651. package/dist/esm/components/inset.js +1 -1
  652. package/dist/esm/components/kbd.js +1 -1
  653. package/dist/esm/components/kbd.props.d.ts +2 -4
  654. package/dist/esm/components/kbd.props.d.ts.map +1 -1
  655. package/dist/esm/components/kbd.props.js +1 -1
  656. package/dist/esm/components/link.js +1 -1
  657. package/dist/esm/components/link.props.d.ts +1 -1
  658. package/dist/esm/components/link.props.js +1 -1
  659. package/dist/esm/components/message-scroller.js +1 -1
  660. package/dist/esm/components/navbar.js +1 -1
  661. package/dist/esm/components/notice.js +1 -1
  662. package/dist/esm/components/popover.d.ts.map +1 -1
  663. package/dist/esm/components/popover.js +1 -1
  664. package/dist/esm/components/popover.props.d.ts +0 -6
  665. package/dist/esm/components/popover.props.d.ts.map +1 -1
  666. package/dist/esm/components/popover.props.js +1 -1
  667. package/dist/esm/components/progress.js +1 -1
  668. package/dist/esm/components/progress.props.js +1 -1
  669. package/dist/esm/components/quote.js +1 -1
  670. package/dist/esm/components/radio-cards.d.ts.map +1 -1
  671. package/dist/esm/components/radio-cards.js +1 -1
  672. package/dist/esm/components/radio-cards.props.d.ts +2 -10
  673. package/dist/esm/components/radio-cards.props.d.ts.map +1 -1
  674. package/dist/esm/components/radio-cards.props.js +1 -1
  675. package/dist/esm/components/radio-group.js +1 -1
  676. package/dist/esm/components/radio-group.props.d.ts +1 -3
  677. package/dist/esm/components/radio-group.props.d.ts.map +1 -1
  678. package/dist/esm/components/radio-group.props.js +1 -1
  679. package/dist/esm/components/radio.d.ts.map +1 -1
  680. package/dist/esm/components/radio.js +1 -1
  681. package/dist/esm/components/radio.props.js +1 -1
  682. package/dist/esm/components/schemas/base-button.schema.d.ts +0 -7
  683. package/dist/esm/components/schemas/base-button.schema.d.ts.map +1 -1
  684. package/dist/esm/components/schemas/base-button.schema.js +1 -1
  685. package/dist/esm/components/schemas/button.schema.d.ts +7 -73
  686. package/dist/esm/components/schemas/button.schema.d.ts.map +1 -1
  687. package/dist/esm/components/schemas/button.schema.js +1 -1
  688. package/dist/esm/components/schemas/icon-button.schema.d.ts +0 -7
  689. package/dist/esm/components/schemas/icon-button.schema.d.ts.map +1 -1
  690. package/dist/esm/components/schemas/icon-button.schema.js +1 -1
  691. package/dist/esm/components/schemas/index.js +1 -1
  692. package/dist/esm/components/schemas/shell.schema.d.ts +5 -29
  693. package/dist/esm/components/schemas/shell.schema.d.ts.map +1 -1
  694. package/dist/esm/components/schemas/shell.schema.js +1 -1
  695. package/dist/esm/components/schemas/toggle-button.schema.d.ts +7 -73
  696. package/dist/esm/components/schemas/toggle-button.schema.d.ts.map +1 -1
  697. package/dist/esm/components/schemas/toggle-button.schema.js +1 -1
  698. package/dist/esm/components/schemas/toggle-icon-button.schema.d.ts +0 -7
  699. package/dist/esm/components/schemas/toggle-icon-button.schema.d.ts.map +1 -1
  700. package/dist/esm/components/schemas/toggle-icon-button.schema.js +1 -1
  701. package/dist/esm/components/scroll-area.js +1 -1
  702. package/dist/esm/components/section.js +1 -1
  703. package/dist/esm/components/segmented-control.d.ts.map +1 -1
  704. package/dist/esm/components/segmented-control.js +1 -1
  705. package/dist/esm/components/segmented-control.props.d.ts +0 -11
  706. package/dist/esm/components/segmented-control.props.d.ts.map +1 -1
  707. package/dist/esm/components/segmented-control.props.js +1 -1
  708. package/dist/esm/components/select.d.ts.map +1 -1
  709. package/dist/esm/components/select.js +1 -1
  710. package/dist/esm/components/select.props.d.ts +1 -14
  711. package/dist/esm/components/select.props.d.ts.map +1 -1
  712. package/dist/esm/components/select.props.js +1 -1
  713. package/dist/esm/components/separator.js +1 -1
  714. package/dist/esm/components/separator.props.js +1 -1
  715. package/dist/esm/components/sheet.d.ts +1 -2
  716. package/dist/esm/components/sheet.d.ts.map +1 -1
  717. package/dist/esm/components/sheet.js +1 -1
  718. package/dist/esm/components/shell.context.js +1 -1
  719. package/dist/esm/components/shell.hooks.js +1 -1
  720. package/dist/esm/components/shell.js +1 -1
  721. package/dist/esm/components/shell.types.d.ts +1 -1
  722. package/dist/esm/components/shell.types.d.ts.map +1 -1
  723. package/dist/esm/components/shell.types.js +1 -1
  724. package/dist/esm/components/sidebar.d.ts +2 -92
  725. package/dist/esm/components/sidebar.d.ts.map +1 -1
  726. package/dist/esm/components/sidebar.js +1 -1
  727. package/dist/esm/components/skeleton.js +1 -1
  728. package/dist/esm/components/slider.js +1 -1
  729. package/dist/esm/components/slider.props.js +1 -1
  730. package/dist/esm/components/spinner.js +1 -1
  731. package/dist/esm/components/strong.js +1 -1
  732. package/dist/esm/components/switch.d.ts.map +1 -1
  733. package/dist/esm/components/switch.js +1 -1
  734. package/dist/esm/components/switch.props.d.ts +0 -18
  735. package/dist/esm/components/switch.props.d.ts.map +1 -1
  736. package/dist/esm/components/switch.props.js +1 -1
  737. package/dist/esm/components/tab-nav.d.ts.map +1 -1
  738. package/dist/esm/components/tab-nav.js +1 -1
  739. package/dist/esm/components/tab-nav.props.js +1 -1
  740. package/dist/esm/components/table.js +1 -1
  741. package/dist/esm/components/tabs.d.ts.map +1 -1
  742. package/dist/esm/components/tabs.js +1 -1
  743. package/dist/esm/components/tabs.props.js +1 -1
  744. package/dist/esm/components/text-area.d.ts.map +1 -1
  745. package/dist/esm/components/text-area.js +1 -1
  746. package/dist/esm/components/text-area.props.d.ts +1 -12
  747. package/dist/esm/components/text-area.props.d.ts.map +1 -1
  748. package/dist/esm/components/text-area.props.js +1 -1
  749. package/dist/esm/components/text-field.d.ts.map +1 -1
  750. package/dist/esm/components/text-field.js +1 -1
  751. package/dist/esm/components/text-field.props.d.ts +1 -12
  752. package/dist/esm/components/text-field.props.d.ts.map +1 -1
  753. package/dist/esm/components/text-field.props.js +1 -1
  754. package/dist/esm/components/text.js +1 -1
  755. package/dist/esm/components/text.props.js +1 -1
  756. package/dist/esm/components/theme-panel.d.ts.map +1 -1
  757. package/dist/esm/components/theme-panel.js +1 -1
  758. package/dist/esm/components/theme.d.ts +0 -3
  759. package/dist/esm/components/theme.d.ts.map +1 -1
  760. package/dist/esm/components/theme.js +1 -1
  761. package/dist/esm/components/theme.props.d.ts +1 -19
  762. package/dist/esm/components/theme.props.d.ts.map +1 -1
  763. package/dist/esm/components/theme.props.js +1 -1
  764. package/dist/esm/components/toggle-button.d.ts.map +1 -1
  765. package/dist/esm/components/toggle-button.js +1 -1
  766. package/dist/esm/components/toggle-icon-button.d.ts.map +1 -1
  767. package/dist/esm/components/toggle-icon-button.js +1 -1
  768. package/dist/esm/components/toolbar.d.ts +1 -1
  769. package/dist/esm/components/toolbar.d.ts.map +1 -1
  770. package/dist/esm/components/toolbar.js +1 -1
  771. package/dist/esm/components/tooltip.js +1 -1
  772. package/dist/esm/components/virtual-menu.js +1 -1
  773. package/dist/esm/helpers/extract-props.js +1 -1
  774. package/dist/esm/helpers/get-margin-styles.js +1 -1
  775. package/dist/esm/helpers/get-responsive-styles.js +1 -1
  776. package/dist/esm/helpers/index.js +1 -1
  777. package/dist/esm/helpers/map-prop-values.d.ts +1 -4
  778. package/dist/esm/helpers/map-prop-values.d.ts.map +1 -1
  779. package/dist/esm/helpers/map-prop-values.js +1 -1
  780. package/dist/esm/hooks/use-breakpoint.js +1 -1
  781. package/dist/esm/index.js +1 -1
  782. package/dist/esm/props/color.prop.d.ts.map +1 -1
  783. package/dist/esm/props/color.prop.js +1 -1
  784. package/dist/esm/props/index.d.ts +0 -1
  785. package/dist/esm/props/index.d.ts.map +1 -1
  786. package/dist/esm/props/index.js +1 -1
  787. package/package.json +1 -2
  788. package/schemas/base-button.json +2 -17
  789. package/schemas/button.json +21 -234
  790. package/schemas/icon-button.json +2 -17
  791. package/schemas/index.json +58 -548
  792. package/schemas/shell-root.json +10 -0
  793. package/schemas/shell-sidebar.json +0 -29
  794. package/schemas/toggle-button.json +21 -234
  795. package/schemas/toggle-icon-button.json +2 -17
  796. package/src/components/_internal/base-button.css +7 -110
  797. package/src/components/_internal/base-button.props.ts +4 -8
  798. package/src/components/_internal/base-button.tsx +1 -6
  799. package/src/components/_internal/base-card.css +12 -54
  800. package/src/components/_internal/base-checkbox.css +9 -120
  801. package/src/components/_internal/base-checkbox.props.ts +3 -7
  802. package/src/components/_internal/base-dialog.css +5 -24
  803. package/src/components/_internal/base-menu.css +5 -44
  804. package/src/components/_internal/base-menu.props.ts +0 -20
  805. package/src/components/_internal/base-menu.utils.tsx +3 -13
  806. package/src/components/_internal/base-radio.css +8 -115
  807. package/src/components/_internal/base-radio.props.ts +2 -6
  808. package/src/components/_internal/base-sidebar-menu.css +0 -35
  809. package/src/components/_internal/base-sidebar.css +0 -37
  810. package/src/components/_internal/base-tab-list.css +8 -14
  811. package/src/components/_internal/base-tab-list.props.ts +3 -6
  812. package/src/components/_internal/shell-pane.tsx +2 -3
  813. package/src/components/_internal/shell-sidebar.tsx +5 -31
  814. package/src/components/_internal/shell-store.tsx +4 -4
  815. package/src/components/accordion.css +42 -95
  816. package/src/components/accordion.props.tsx +6 -13
  817. package/src/components/accordion.tsx +2 -6
  818. package/src/components/alert-dialog.props.tsx +0 -1
  819. package/src/components/alert-dialog.tsx +1 -13
  820. package/src/components/avatar.css +4 -31
  821. package/src/components/avatar.props.tsx +3 -13
  822. package/src/components/avatar.tsx +0 -4
  823. package/src/components/badge.css +1 -38
  824. package/src/components/badge.props.tsx +2 -12
  825. package/src/components/badge.tsx +0 -11
  826. package/src/components/blockquote.props.tsx +1 -1
  827. package/src/components/button.tsx +5 -85
  828. package/src/components/card.props.tsx +2 -6
  829. package/src/components/card.tsx +2 -3
  830. package/src/components/chatbar.css +6 -24
  831. package/src/components/chatbar.tsx +16 -31
  832. package/src/components/checkbox-cards.css +0 -1
  833. package/src/components/checkbox-cards.props.tsx +5 -9
  834. package/src/components/checkbox-cards.tsx +2 -6
  835. package/src/components/checkbox.tsx +0 -2
  836. package/src/components/code.css +20 -0
  837. package/src/components/code.props.tsx +1 -1
  838. package/src/components/combobox.css +14 -13
  839. package/src/components/combobox.props.tsx +2 -15
  840. package/src/components/combobox.tsx +7 -23
  841. package/src/components/context-menu.tsx +9 -18
  842. package/src/components/dialog.props.tsx +0 -3
  843. package/src/components/dialog.tsx +1 -13
  844. package/src/components/dropdown-menu.css +0 -21
  845. package/src/components/dropdown-menu.tsx +9 -20
  846. package/src/components/icon-button.tsx +1 -1
  847. package/src/components/image.css +2 -11
  848. package/src/components/image.tsx +2 -10
  849. package/src/components/index.css +0 -5
  850. package/src/components/index.tsx +0 -3
  851. package/src/components/kbd.css +37 -13
  852. package/src/components/kbd.props.tsx +2 -4
  853. package/src/components/link.props.tsx +1 -1
  854. package/src/components/popover.css +2 -6
  855. package/src/components/popover.props.tsx +3 -6
  856. package/src/components/popover.tsx +2 -6
  857. package/src/components/progress.css +12 -13
  858. package/src/components/radio-cards.css +0 -2
  859. package/src/components/radio-cards.props.tsx +5 -9
  860. package/src/components/radio-cards.tsx +2 -6
  861. package/src/components/radio-group.props.tsx +1 -2
  862. package/src/components/radio.tsx +1 -2
  863. package/src/components/reset.css +3 -16
  864. package/src/components/schemas/base-button.schema.ts +3 -23
  865. package/src/components/schemas/button.schema.ts +15 -94
  866. package/src/components/schemas/shell.schema.ts +2 -3
  867. package/src/components/scroll-area.css +0 -11
  868. package/src/components/segmented-control.css +11 -23
  869. package/src/components/segmented-control.props.tsx +0 -6
  870. package/src/components/segmented-control.tsx +1 -8
  871. package/src/components/select.css +81 -93
  872. package/src/components/select.props.tsx +2 -9
  873. package/src/components/select.tsx +2 -7
  874. package/src/components/sheet.css +0 -71
  875. package/src/components/sheet.tsx +5 -14
  876. package/src/components/shell.context.tsx +2 -2
  877. package/src/components/shell.css +7 -64
  878. package/src/components/shell.tsx +2 -2
  879. package/src/components/shell.types.ts +1 -1
  880. package/src/components/sidebar.css +78 -341
  881. package/src/components/sidebar.tsx +3 -244
  882. package/src/components/slider.css +12 -15
  883. package/src/components/spinner.css +2 -2
  884. package/src/components/switch.css +3 -55
  885. package/src/components/switch.props.tsx +0 -6
  886. package/src/components/switch.tsx +1 -4
  887. package/src/components/tab-nav.tsx +2 -5
  888. package/src/components/tabs.css +0 -2
  889. package/src/components/tabs.tsx +2 -5
  890. package/src/components/text-area.css +6 -13
  891. package/src/components/text-area.props.tsx +2 -9
  892. package/src/components/text-area.tsx +4 -9
  893. package/src/components/text-field.css +36 -44
  894. package/src/components/text-field.props.tsx +2 -9
  895. package/src/components/text-field.tsx +4 -9
  896. package/src/components/theme-panel.tsx +9 -13
  897. package/src/components/theme.props.tsx +1 -17
  898. package/src/components/theme.tsx +1 -26
  899. package/src/components/toggle-button.tsx +1 -1
  900. package/src/components/toggle-icon-button.tsx +6 -6
  901. package/src/components/toolbar.tsx +1 -4
  902. package/src/components/tooltip.css +1 -21
  903. package/src/helpers/map-prop-values.ts +1 -7
  904. package/src/props/color.prop.ts +1 -2
  905. package/src/props/index.ts +0 -1
  906. package/src/styles/tokens/base.css +0 -1
  907. package/src/styles/tokens/color.css +2 -32
  908. package/src/styles/tokens/constants.css +0 -90
  909. package/styles.css +963 -3146
  910. package/tokens/base.css +2 -110
  911. package/tokens.css +2 -155
  912. package/dist/cjs/components/app-bar.d.ts +0 -50
  913. package/dist/cjs/components/app-bar.d.ts.map +0 -1
  914. package/dist/cjs/components/app-bar.js +0 -2
  915. package/dist/cjs/components/app-bar.js.map +0 -7
  916. package/dist/cjs/components/callout.d.ts +0 -23
  917. package/dist/cjs/components/callout.d.ts.map +0 -1
  918. package/dist/cjs/components/callout.js +0 -2
  919. package/dist/cjs/components/callout.js.map +0 -7
  920. package/dist/cjs/components/callout.props.d.ts +0 -40
  921. package/dist/cjs/components/callout.props.d.ts.map +0 -1
  922. package/dist/cjs/components/callout.props.js +0 -2
  923. package/dist/cjs/components/callout.props.js.map +0 -7
  924. package/dist/cjs/components/sidebar.props.d.ts +0 -62
  925. package/dist/cjs/components/sidebar.props.d.ts.map +0 -1
  926. package/dist/cjs/components/sidebar.props.js +0 -2
  927. package/dist/cjs/components/sidebar.props.js.map +0 -7
  928. package/dist/cjs/components/user-card.d.ts +0 -13
  929. package/dist/cjs/components/user-card.d.ts.map +0 -1
  930. package/dist/cjs/components/user-card.js +0 -2
  931. package/dist/cjs/components/user-card.js.map +0 -7
  932. package/dist/cjs/components/user-card.props.d.ts +0 -60
  933. package/dist/cjs/components/user-card.props.d.ts.map +0 -1
  934. package/dist/cjs/components/user-card.props.js +0 -2
  935. package/dist/cjs/components/user-card.props.js.map +0 -7
  936. package/dist/cjs/helpers/parse-variant.d.ts +0 -8
  937. package/dist/cjs/helpers/parse-variant.d.ts.map +0 -1
  938. package/dist/cjs/helpers/parse-variant.js +0 -2
  939. package/dist/cjs/helpers/parse-variant.js.map +0 -7
  940. package/dist/cjs/helpers/use-deprecation-warning.d.ts +0 -10
  941. package/dist/cjs/helpers/use-deprecation-warning.d.ts.map +0 -1
  942. package/dist/cjs/helpers/use-deprecation-warning.js +0 -2
  943. package/dist/cjs/helpers/use-deprecation-warning.js.map +0 -7
  944. package/dist/esm/chunk-27SCVCQY.js +0 -2
  945. package/dist/esm/chunk-27SCVCQY.js.map +0 -7
  946. package/dist/esm/chunk-2C5WLKEZ.js +0 -2
  947. package/dist/esm/chunk-2C5WLKEZ.js.map +0 -7
  948. package/dist/esm/chunk-2D5QJ6MX.js +0 -2
  949. package/dist/esm/chunk-2D5QJ6MX.js.map +0 -7
  950. package/dist/esm/chunk-2DKLJMUU.js +0 -2
  951. package/dist/esm/chunk-2DKLJMUU.js.map +0 -7
  952. package/dist/esm/chunk-2EQWBT2S.js +0 -2
  953. package/dist/esm/chunk-2T74JEVN.js +0 -2
  954. package/dist/esm/chunk-2T74JEVN.js.map +0 -7
  955. package/dist/esm/chunk-3M73GWN5.js +0 -2
  956. package/dist/esm/chunk-3M73GWN5.js.map +0 -7
  957. package/dist/esm/chunk-3Q3EOUGJ.js +0 -2
  958. package/dist/esm/chunk-3Q3EOUGJ.js.map +0 -7
  959. package/dist/esm/chunk-3TIO3EMN.js +0 -2
  960. package/dist/esm/chunk-3TIO3EMN.js.map +0 -7
  961. package/dist/esm/chunk-3WCSLQNH.js +0 -2
  962. package/dist/esm/chunk-3WCSLQNH.js.map +0 -7
  963. package/dist/esm/chunk-45AMHIBO.js +0 -2
  964. package/dist/esm/chunk-45AMHIBO.js.map +0 -7
  965. package/dist/esm/chunk-47CEZJM2.js +0 -2
  966. package/dist/esm/chunk-47CEZJM2.js.map +0 -7
  967. package/dist/esm/chunk-4BPRLR6C.js +0 -2
  968. package/dist/esm/chunk-4BPRLR6C.js.map +0 -7
  969. package/dist/esm/chunk-4D5LR4H6.js +0 -2
  970. package/dist/esm/chunk-4D5LR4H6.js.map +0 -7
  971. package/dist/esm/chunk-4JNHUPIM.js +0 -2
  972. package/dist/esm/chunk-4WLDX7WZ.js +0 -2
  973. package/dist/esm/chunk-4WLDX7WZ.js.map +0 -7
  974. package/dist/esm/chunk-5JS7ADWX.js +0 -2
  975. package/dist/esm/chunk-5JS7ADWX.js.map +0 -7
  976. package/dist/esm/chunk-5T6K7VPP.js +0 -2
  977. package/dist/esm/chunk-5T6K7VPP.js.map +0 -7
  978. package/dist/esm/chunk-5TXQLK4G.js +0 -2
  979. package/dist/esm/chunk-5TXQLK4G.js.map +0 -7
  980. package/dist/esm/chunk-6JP5PIOO.js +0 -2
  981. package/dist/esm/chunk-6JP5PIOO.js.map +0 -7
  982. package/dist/esm/chunk-6SVNBGZ6.js +0 -5
  983. package/dist/esm/chunk-6SVNBGZ6.js.map +0 -7
  984. package/dist/esm/chunk-77TGP2LO.js +0 -2
  985. package/dist/esm/chunk-77TGP2LO.js.map +0 -7
  986. package/dist/esm/chunk-7YIQV7VO.js +0 -2
  987. package/dist/esm/chunk-7YIQV7VO.js.map +0 -7
  988. package/dist/esm/chunk-A2XVR7GL.js.map +0 -7
  989. package/dist/esm/chunk-ADXZNG4F.js +0 -2
  990. package/dist/esm/chunk-ADXZNG4F.js.map +0 -7
  991. package/dist/esm/chunk-AVFGMLL4.js +0 -2
  992. package/dist/esm/chunk-AVFGMLL4.js.map +0 -7
  993. package/dist/esm/chunk-BKES3M4Y.js +0 -2
  994. package/dist/esm/chunk-BKES3M4Y.js.map +0 -7
  995. package/dist/esm/chunk-C7EVYSWK.js +0 -1
  996. package/dist/esm/chunk-CL6P54QT.js +0 -5
  997. package/dist/esm/chunk-CL6P54QT.js.map +0 -7
  998. package/dist/esm/chunk-CSUEZWN5.js +0 -2
  999. package/dist/esm/chunk-CSUEZWN5.js.map +0 -7
  1000. package/dist/esm/chunk-CYSDGVKF.js.map +0 -7
  1001. package/dist/esm/chunk-DJA5MCJA.js +0 -2
  1002. package/dist/esm/chunk-DJA5MCJA.js.map +0 -7
  1003. package/dist/esm/chunk-DVSXWSAT.js +0 -2
  1004. package/dist/esm/chunk-DVSXWSAT.js.map +0 -7
  1005. package/dist/esm/chunk-E7LJHM3S.js +0 -2
  1006. package/dist/esm/chunk-E7LJHM3S.js.map +0 -7
  1007. package/dist/esm/chunk-F7TOKXKZ.js +0 -10
  1008. package/dist/esm/chunk-F7TOKXKZ.js.map +0 -7
  1009. package/dist/esm/chunk-FISGGGPC.js +0 -2
  1010. package/dist/esm/chunk-FISGGGPC.js.map +0 -7
  1011. package/dist/esm/chunk-FMMKOOS7.js.map +0 -7
  1012. package/dist/esm/chunk-FNB47XDO.js +0 -2
  1013. package/dist/esm/chunk-FNB47XDO.js.map +0 -7
  1014. package/dist/esm/chunk-GCUGJXI2.js +0 -2
  1015. package/dist/esm/chunk-GCUGJXI2.js.map +0 -7
  1016. package/dist/esm/chunk-GLKN32J3.js +0 -2
  1017. package/dist/esm/chunk-GLKN32J3.js.map +0 -7
  1018. package/dist/esm/chunk-GMHA5CFH.js +0 -2
  1019. package/dist/esm/chunk-GRRV4I2I.js +0 -2
  1020. package/dist/esm/chunk-GRRV4I2I.js.map +0 -7
  1021. package/dist/esm/chunk-H7LHGT44.js +0 -2
  1022. package/dist/esm/chunk-H7LHGT44.js.map +0 -7
  1023. package/dist/esm/chunk-HNO4X33C.js +0 -2
  1024. package/dist/esm/chunk-HNO4X33C.js.map +0 -7
  1025. package/dist/esm/chunk-IHRLGR6J.js +0 -2
  1026. package/dist/esm/chunk-IHRLGR6J.js.map +0 -7
  1027. package/dist/esm/chunk-IY3GKGDZ.js +0 -2
  1028. package/dist/esm/chunk-IY3GKGDZ.js.map +0 -7
  1029. package/dist/esm/chunk-JTN3KTAS.js +0 -2
  1030. package/dist/esm/chunk-JTN3KTAS.js.map +0 -7
  1031. package/dist/esm/chunk-KJC32RWT.js +0 -2
  1032. package/dist/esm/chunk-KJC32RWT.js.map +0 -7
  1033. package/dist/esm/chunk-O2RISF37.js +0 -2
  1034. package/dist/esm/chunk-O2RISF37.js.map +0 -7
  1035. package/dist/esm/chunk-OB3MHLQL.js +0 -2
  1036. package/dist/esm/chunk-OB3MHLQL.js.map +0 -7
  1037. package/dist/esm/chunk-OJSDBLP7.js +0 -2
  1038. package/dist/esm/chunk-OJSDBLP7.js.map +0 -7
  1039. package/dist/esm/chunk-OUSDYZDE.js +0 -2
  1040. package/dist/esm/chunk-OUSDYZDE.js.map +0 -7
  1041. package/dist/esm/chunk-OVGPUFRI.js +0 -2
  1042. package/dist/esm/chunk-OVGPUFRI.js.map +0 -7
  1043. package/dist/esm/chunk-PLTTQFRQ.js +0 -2
  1044. package/dist/esm/chunk-PLTTQFRQ.js.map +0 -7
  1045. package/dist/esm/chunk-RA2XCS3M.js +0 -2
  1046. package/dist/esm/chunk-RA2XCS3M.js.map +0 -7
  1047. package/dist/esm/chunk-ROGC7K5N.js +0 -2
  1048. package/dist/esm/chunk-ROGC7K5N.js.map +0 -7
  1049. package/dist/esm/chunk-RON6FXLO.js +0 -2
  1050. package/dist/esm/chunk-RON6FXLO.js.map +0 -7
  1051. package/dist/esm/chunk-RWN22S44.js +0 -2
  1052. package/dist/esm/chunk-S3GZZXQ7.js +0 -2
  1053. package/dist/esm/chunk-S3GZZXQ7.js.map +0 -7
  1054. package/dist/esm/chunk-SIBSXKFF.js +0 -2
  1055. package/dist/esm/chunk-SIBSXKFF.js.map +0 -7
  1056. package/dist/esm/chunk-SURYYF7I.js +0 -2
  1057. package/dist/esm/chunk-SURYYF7I.js.map +0 -7
  1058. package/dist/esm/chunk-T7Q6DQRD.js.map +0 -7
  1059. package/dist/esm/chunk-UE2OBZIS.js +0 -2
  1060. package/dist/esm/chunk-UE2OBZIS.js.map +0 -7
  1061. package/dist/esm/chunk-UK3BFTI2.js +0 -2
  1062. package/dist/esm/chunk-UK3BFTI2.js.map +0 -7
  1063. package/dist/esm/chunk-UTHTSYSL.js.map +0 -7
  1064. package/dist/esm/chunk-V3QVAXH3.js +0 -2
  1065. package/dist/esm/chunk-V3QVAXH3.js.map +0 -7
  1066. package/dist/esm/chunk-V5ZSDDVZ.js +0 -2
  1067. package/dist/esm/chunk-V5ZSDDVZ.js.map +0 -7
  1068. package/dist/esm/chunk-VBAXORVV.js +0 -2
  1069. package/dist/esm/chunk-VJUFYYKP.js +0 -2
  1070. package/dist/esm/chunk-VJUFYYKP.js.map +0 -7
  1071. package/dist/esm/chunk-VUKTURU4.js +0 -2
  1072. package/dist/esm/chunk-VUKTURU4.js.map +0 -7
  1073. package/dist/esm/chunk-WDNTAQ6G.js +0 -2
  1074. package/dist/esm/chunk-WDNTAQ6G.js.map +0 -7
  1075. package/dist/esm/chunk-WHAKQCNV.js +0 -2
  1076. package/dist/esm/chunk-WHAKQCNV.js.map +0 -7
  1077. package/dist/esm/chunk-WTXQB2EV.js +0 -2
  1078. package/dist/esm/chunk-WTXQB2EV.js.map +0 -7
  1079. package/dist/esm/chunk-XILM2OMC.js +0 -2
  1080. package/dist/esm/chunk-XILM2OMC.js.map +0 -7
  1081. package/dist/esm/chunk-XKBLNVOD.js +0 -2
  1082. package/dist/esm/chunk-YA5DF67M.js.map +0 -7
  1083. package/dist/esm/chunk-YBS2IB7Z.js +0 -2
  1084. package/dist/esm/chunk-YBS2IB7Z.js.map +0 -7
  1085. package/dist/esm/chunk-YL62I5SI.js +0 -2
  1086. package/dist/esm/chunk-ZK55O7TN.js +0 -2
  1087. package/dist/esm/chunk-ZK55O7TN.js.map +0 -7
  1088. package/dist/esm/chunk-ZVIWTYHE.js +0 -2
  1089. package/dist/esm/chunk-ZVIWTYHE.js.map +0 -7
  1090. package/dist/esm/components/app-bar.d.ts +0 -50
  1091. package/dist/esm/components/app-bar.d.ts.map +0 -1
  1092. package/dist/esm/components/app-bar.js +0 -2
  1093. package/dist/esm/components/app-bar.js.map +0 -7
  1094. package/dist/esm/components/callout.d.ts +0 -23
  1095. package/dist/esm/components/callout.d.ts.map +0 -1
  1096. package/dist/esm/components/callout.js +0 -2
  1097. package/dist/esm/components/callout.js.map +0 -7
  1098. package/dist/esm/components/callout.props.d.ts +0 -40
  1099. package/dist/esm/components/callout.props.d.ts.map +0 -1
  1100. package/dist/esm/components/callout.props.js +0 -2
  1101. package/dist/esm/components/callout.props.js.map +0 -7
  1102. package/dist/esm/components/sidebar.props.d.ts +0 -62
  1103. package/dist/esm/components/sidebar.props.d.ts.map +0 -1
  1104. package/dist/esm/components/sidebar.props.js +0 -2
  1105. package/dist/esm/components/sidebar.props.js.map +0 -7
  1106. package/dist/esm/components/user-card.d.ts +0 -13
  1107. package/dist/esm/components/user-card.d.ts.map +0 -1
  1108. package/dist/esm/components/user-card.js +0 -2
  1109. package/dist/esm/components/user-card.js.map +0 -7
  1110. package/dist/esm/components/user-card.props.d.ts +0 -60
  1111. package/dist/esm/components/user-card.props.d.ts.map +0 -1
  1112. package/dist/esm/components/user-card.props.js +0 -2
  1113. package/dist/esm/components/user-card.props.js.map +0 -7
  1114. package/dist/esm/helpers/parse-variant.d.ts +0 -8
  1115. package/dist/esm/helpers/parse-variant.d.ts.map +0 -1
  1116. package/dist/esm/helpers/parse-variant.js +0 -2
  1117. package/dist/esm/helpers/parse-variant.js.map +0 -7
  1118. package/dist/esm/helpers/use-deprecation-warning.d.ts +0 -10
  1119. package/dist/esm/helpers/use-deprecation-warning.d.ts.map +0 -1
  1120. package/dist/esm/helpers/use-deprecation-warning.js +0 -2
  1121. package/dist/esm/helpers/use-deprecation-warning.js.map +0 -7
  1122. package/src/components/animations.css +0 -155
  1123. package/src/components/app-bar.css +0 -204
  1124. package/src/components/app-bar.tsx +0 -261
  1125. package/src/components/callout.css +0 -160
  1126. package/src/components/callout.props.tsx +0 -29
  1127. package/src/components/callout.tsx +0 -120
  1128. package/src/components/sidebar.props.tsx +0 -56
  1129. package/src/components/user-card.css +0 -29
  1130. package/src/components/user-card.props.tsx +0 -46
  1131. package/src/components/user-card.tsx +0 -106
  1132. package/src/helpers/parse-variant.ts +0 -21
  1133. package/src/helpers/use-deprecation-warning.ts +0 -26
  1134. package/src/styles/tokens/transition.css +0 -189
  1135. /package/dist/esm/{chunk-K7BWSYVP.js.map → chunk-2IPVLV6B.js.map} +0 -0
  1136. /package/dist/esm/{chunk-SQ4BU4GH.js.map → chunk-2NNB4ZZ5.js.map} +0 -0
  1137. /package/dist/esm/{chunk-JXVUTFQN.js.map → chunk-2XSRO44Q.js.map} +0 -0
  1138. /package/dist/esm/{chunk-KXSMY4ZF.js.map → chunk-35KS5AQE.js.map} +0 -0
  1139. /package/dist/esm/{chunk-34UMKY2L.js.map → chunk-5RHODJDJ.js.map} +0 -0
  1140. /package/dist/esm/{chunk-ZQVYY7UT.js.map → chunk-672FI4OH.js.map} +0 -0
  1141. /package/dist/esm/{chunk-T6Z4JUH6.js.map → chunk-6ERCPRXX.js.map} +0 -0
  1142. /package/dist/esm/{chunk-PXUQEA77.js.map → chunk-7CBZFHSQ.js.map} +0 -0
  1143. /package/dist/esm/{chunk-VJXHEDCE.js.map → chunk-7UW7D77E.js.map} +0 -0
  1144. /package/dist/esm/{chunk-62CJL5G7.js.map → chunk-A2NG5NRN.js.map} +0 -0
  1145. /package/dist/esm/{chunk-RUPET4E7.js.map → chunk-A6CDNZMT.js.map} +0 -0
  1146. /package/dist/esm/{chunk-43A5GUSI.js.map → chunk-AMP7O3DM.js.map} +0 -0
  1147. /package/dist/esm/{chunk-UBOOUDS4.js.map → chunk-AO32NT75.js.map} +0 -0
  1148. /package/dist/esm/{chunk-HFVD7W6R.js.map → chunk-BFLO4IVZ.js.map} +0 -0
  1149. /package/dist/esm/{chunk-SQZ5O7QS.js.map → chunk-BQE543O5.js.map} +0 -0
  1150. /package/dist/esm/{chunk-O2WPAUQN.js.map → chunk-CL6LRPCS.js.map} +0 -0
  1151. /package/dist/esm/{chunk-3OQM7SLQ.js.map → chunk-DQTJMIRO.js.map} +0 -0
  1152. /package/dist/esm/{chunk-GLERJXVS.js.map → chunk-DSB3TEAQ.js.map} +0 -0
  1153. /package/dist/esm/{chunk-HIBX2EXV.js.map → chunk-ELZEAEN2.js.map} +0 -0
  1154. /package/dist/esm/{chunk-IV4YJRVR.js.map → chunk-EVTNB4TB.js.map} +0 -0
  1155. /package/dist/esm/{chunk-SGUTNJUO.js.map → chunk-GVLTTTFL.js.map} +0 -0
  1156. /package/dist/esm/{chunk-CIKDGYX3.js.map → chunk-HVQ3SLQC.js.map} +0 -0
  1157. /package/dist/esm/{chunk-N6Q3L64W.js.map → chunk-IYFDCW7Y.js.map} +0 -0
  1158. /package/dist/esm/{chunk-7FC7HF76.js.map → chunk-JLI7WHV6.js.map} +0 -0
  1159. /package/dist/esm/{chunk-OW4KAIWF.js.map → chunk-JQURG6CB.js.map} +0 -0
  1160. /package/dist/esm/{chunk-GONBMSRL.js.map → chunk-JZD5FHSU.js.map} +0 -0
  1161. /package/dist/esm/{chunk-EUSMN3K7.js.map → chunk-K5SC3CZZ.js.map} +0 -0
  1162. /package/dist/esm/{chunk-UBWRIE4C.js.map → chunk-K7J23OPW.js.map} +0 -0
  1163. /package/dist/esm/{chunk-7ZCQAMHZ.js.map → chunk-MD3QCXRD.js.map} +0 -0
  1164. /package/dist/esm/{chunk-2EQWBT2S.js.map → chunk-MGQ4A2FI.js.map} +0 -0
  1165. /package/dist/esm/{chunk-CMEKH4I5.js.map → chunk-MGSHX5N5.js.map} +0 -0
  1166. /package/dist/esm/{chunk-ZE2GWHPY.js.map → chunk-MVW2SY4F.js.map} +0 -0
  1167. /package/dist/esm/{chunk-KJTEZVOF.js.map → chunk-O6K6RZXY.js.map} +0 -0
  1168. /package/dist/esm/{chunk-JUY7CBSL.js.map → chunk-PBFSBHBS.js.map} +0 -0
  1169. /package/dist/esm/{chunk-3HGHPAH4.js.map → chunk-PDBVZAUJ.js.map} +0 -0
  1170. /package/dist/esm/{chunk-C7EVYSWK.js.map → chunk-QDW5ZG5E.js.map} +0 -0
  1171. /package/dist/esm/{chunk-R2MQMCND.js.map → chunk-QJFAGWBO.js.map} +0 -0
  1172. /package/dist/esm/{chunk-TCEQ5VVE.js.map → chunk-R4CN4Q3G.js.map} +0 -0
  1173. /package/dist/esm/{chunk-HJLBVNQE.js.map → chunk-RYURXQLJ.js.map} +0 -0
  1174. /package/dist/esm/{chunk-RUOOCYK4.js.map → chunk-S53ZQNHK.js.map} +0 -0
  1175. /package/dist/esm/{chunk-5G4WWJ4Z.js.map → chunk-T5DSQKKF.js.map} +0 -0
  1176. /package/dist/esm/{chunk-3XSB7YIM.js.map → chunk-TBZO22XK.js.map} +0 -0
  1177. /package/dist/esm/{chunk-C7UXUTUF.js.map → chunk-TGRRQHLQ.js.map} +0 -0
  1178. /package/dist/esm/{chunk-IVBKTHDM.js.map → chunk-TPHNDGSV.js.map} +0 -0
  1179. /package/dist/esm/{chunk-YL62I5SI.js.map → chunk-UA6FP7HS.js.map} +0 -0
  1180. /package/dist/esm/{chunk-6FLLFCBU.js.map → chunk-UBSLEGQZ.js.map} +0 -0
  1181. /package/dist/esm/{chunk-LJXP6K5Y.js.map → chunk-V2TPYSZ2.js.map} +0 -0
  1182. /package/dist/esm/{chunk-YLLCCUC7.js.map → chunk-X3UTLDGG.js.map} +0 -0
  1183. /package/dist/esm/{chunk-3UZHKW6I.js.map → chunk-XHF6RBOE.js.map} +0 -0
  1184. /package/dist/esm/{chunk-IPHKKZYE.js.map → chunk-XHKL4PG7.js.map} +0 -0
  1185. /package/dist/esm/{chunk-PAEHH3WS.js.map → chunk-XZ5XZS5O.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/tabs.tsx", "../../../src/helpers/use-deprecation-warning.ts", "../../../src/props/as-child.prop.ts", "../../../src/props/color.prop.ts", "../../../src/components/_internal/base-tab-list.props.ts", "../../../src/components/tabs.props.tsx", "../../../src/helpers/extract-props.ts", "../../../src/helpers/compile-prop-defs.ts", "../../../src/props/prop-def.ts", "../../../src/helpers/has-own-property.ts", "../../../src/helpers/is-responsive-object.ts", "../../../src/helpers/get-responsive-styles.ts", "../../../src/helpers/merge-styles.ts", "../../../src/props/margin.props.ts"],
4
- "sourcesContent": ["import { useDeprecatedPanelBackgroundWarning } from '../helpers/use-deprecation-warning.js';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nimport { tabsListPropDefs } from './tabs.props.js';\nimport { extractProps } from '../helpers/extract-props.js';\nimport { marginPropDefs } from '../props/margin.props.js';\n\nimport type { tabsContentPropDefs, tabsRootPropDefs } from './tabs.props.js';\nimport type { MarginProps } from '../props/margin.props.js';\nimport type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';\nimport type { GetPropDefTypes } from '../props/prop-def.js';\n\ntype TabsRootElement = React.ElementRef<typeof TabsPrimitive.Root>;\ntype TabsRootOwnProps = GetPropDefTypes<typeof tabsRootPropDefs>;\ninterface TabsRootProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Root, 'asChild' | 'color' | 'defaultChecked'>,\n MarginProps,\n TabsRootOwnProps {}\nconst TabsRoot = React.forwardRef<TabsRootElement, TabsRootProps>((props, forwardedRef) => {\n const { className, ...rootProps } = extractProps(props, marginPropDefs);\n return (\n <TabsPrimitive.Root\n {...rootProps}\n ref={forwardedRef}\n className={classNames('rt-TabsRoot', className)}\n />\n );\n});\nTabsRoot.displayName = 'Tabs.Root';\n\ntype TabsListElement = React.ElementRef<typeof TabsPrimitive.List>;\ntype TabsListOwnProps = GetPropDefTypes<typeof tabsListPropDefs>;\ninterface TabsListProps\n extends ComponentPropsWithout<typeof TabsPrimitive.List, RemovedProps>,\n MarginProps,\n TabsListOwnProps {}\nconst TabsList = React.forwardRef<TabsListElement, TabsListProps>((props, forwardedRef) => {\n const { className, color, material: materialProp, panelBackground, ...listProps } = extractProps(\n props,\n tabsListPropDefs,\n marginPropDefs,\n );\n useDeprecatedPanelBackgroundWarning(props.panelBackground);\n const material = materialProp ?? panelBackground;\n return (\n <TabsPrimitive.List\n data-accent-color={color}\n data-panel-background={material}\n data-material={material}\n {...listProps}\n asChild={false}\n ref={forwardedRef}\n className={classNames('rt-BaseTabList', 'rt-TabsList', className)}\n />\n );\n});\nTabsList.displayName = 'Tabs.List';\n\ntype TabsTriggerElement = React.ElementRef<typeof TabsPrimitive.Trigger>;\ninterface TabsTriggerProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Trigger, RemovedProps> {}\nconst TabsTrigger = React.forwardRef<TabsTriggerElement, TabsTriggerProps>(\n (props, forwardedRef) => {\n const { className, children, ...triggerProps } = props;\n return (\n <TabsPrimitive.Trigger\n {...triggerProps}\n asChild={false}\n ref={forwardedRef}\n className={classNames('rt-reset', 'rt-BaseTabListTrigger', 'rt-TabsTrigger', className)}\n >\n <span className=\"rt-BaseTabListTriggerInner rt-TabsTriggerInner\">{children}</span>\n <span className=\"rt-BaseTabListTriggerInnerHidden rt-TabsTriggerInnerHidden\">\n {children}\n </span>\n </TabsPrimitive.Trigger>\n );\n },\n);\nTabsTrigger.displayName = 'Tabs.Trigger';\n\ntype TabsContentElement = React.ElementRef<typeof TabsPrimitive.Content>;\ntype TabsContentOwnProps = GetPropDefTypes<typeof tabsContentPropDefs>;\ninterface TabsContentProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Content, RemovedProps>,\n MarginProps,\n TabsContentOwnProps {}\nconst TabsContent = React.forwardRef<TabsContentElement, TabsContentProps>(\n (props, forwardedRef) => {\n const { className, ...contentProps } = extractProps(props, marginPropDefs);\n return (\n <TabsPrimitive.Content\n {...contentProps}\n ref={forwardedRef}\n className={classNames('rt-TabsContent', className)}\n aria-live=\"polite\"\n aria-atomic=\"true\"\n />\n );\n },\n);\nTabsContent.displayName = 'Tabs.Content';\n\nexport { TabsRoot as Root, TabsList as List, TabsTrigger as Trigger, TabsContent as Content };\nexport type {\n TabsRootProps as RootProps,\n TabsListProps as ListProps,\n TabsTriggerProps as TriggerProps,\n TabsContentProps as ContentProps,\n};\n", "import * as React from 'react';\n\nconst PANEL_BACKGROUND_MESSAGE = 'Warning: The `panelBackground` prop is deprecated and will be removed in a future version. Use `material` prop instead.';\n\nconst warned = new Set<string>();\n\nfunction warnOnce(message: string) {\n if (warned.has(message)) return;\n warned.add(message);\n console.warn(message);\n}\n\n/**\n * Warns, in development only, that `panelBackground` is deprecated.\n *\n * The `process.env.NODE_ENV` check is a compile-time constant, so a production\n * bundle minifies the effect body away to an empty function instead of reading\n * props and formatting a message per mounted component. The message is also\n * logged once per session rather than once per component instance.\n */\nexport function useDeprecatedPanelBackgroundWarning(panelBackground: unknown) {\n React.useEffect(() => {\n if (process.env.NODE_ENV === 'production') return;\n if (panelBackground !== undefined) warnOnce(PANEL_BACKGROUND_MESSAGE);\n }, [panelBackground]);\n}\n", "import type { PropDef } from './prop-def.js';\n\nconst asChildPropDef = {\n /**\n * Composes the component into its immediate child instead of rendering its own HTML element.\n * You\u2019ll have to provide a single React Element child.\n */\n asChild: {\n type: 'boolean',\n },\n} satisfies {\n asChild: PropDef<boolean>;\n};\n\nexport { asChildPropDef };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code, Callout,\n// UserCard): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\nconst justifyValues = ['start', 'center', 'end'] as const;\nconst panelBackgrounds = ['solid', 'translucent'] as const;\n\nconst baseTabListPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n wrap: {\n type: 'enum',\n className: 'rt-r-fw',\n values: wrapValues,\n responsive: true,\n },\n justify: {\n type: 'enum',\n className: 'rt-r-jc',\n values: justifyValues,\n responsive: true,\n },\n ...colorPropDef,\n material: { type: 'enum', values: panelBackgrounds, default: undefined },\n /** @deprecated Use `material`. Removed in 0.15.0. */\n panelBackground: { type: 'enum', values: panelBackgrounds, default: undefined },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n material: PropDef<(typeof panelBackgrounds)[number] | undefined>;\n panelBackground: PropDef<(typeof panelBackgrounds)[number] | undefined>;\n};\n\nexport { baseTabListPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nconst tabsRootPropDefs = {\n ...asChildPropDef,\n};\n\nconst tabsContentPropDefs = {\n ...asChildPropDef,\n};\n\nexport { baseTabListPropDefs as tabsListPropDefs } from './_internal/base-tab-list.props.js';\nexport { tabsRootPropDefs, tabsContentPropDefs };\n", "import classNames from 'classnames';\n\nimport { getCompiledPropDefs } from './compile-prop-defs.js';\nimport { getResponsiveClassNames, getResponsiveStyles } from './get-responsive-styles.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\nimport { mergeStyles } from './merge-styles.js';\n\nimport type { CompiledPropDef } from './compile-prop-defs.js';\nimport type * as React from 'react';\nimport type { PropDef } from '../props/prop-def.js';\n\ntype PropDefsWithClassName<T> = T extends Record<string, PropDef> ? { [K in keyof T]: T[K] extends { className: string } ? K : never }[keyof T] : never;\n\ntype ResponsiveValue = Record<string, string | undefined>;\n\n/**\n * Fills in the `initial` breakpoint of a responsive value from the prop def's\n * default, and coerces an invalid `initial` enum value back to that default.\n *\n * Returns the value untouched when nothing needs changing, and a copy otherwise\n * \u2014 callers routinely hoist responsive objects to module scope, so mutating the\n * caller's object would corrupt it for every later render.\n */\nfunction normalizeResponsiveValue(value: ResponsiveValue, propDef: CompiledPropDef) {\n let initial = value.initial;\n let changed = false;\n\n if (propDef.hasDefault && initial === undefined) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(initial)) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n return changed ? { ...value, initial } : value;\n}\n\n/**\n * Takes props, checks them against prop defs that have a `className` on them,\n * adds necessary CSS classes and inline styles, and returns the props without\n * the corresponding prop defs that were used to formulate the new `className`\n * and `style` values. Also applies prop def defaults to every prop.\n */\nfunction extractProps<P extends { className?: string; style?: React.CSSProperties; [key: string]: any }, T extends Record<string, PropDef>[]>(\n props: P,\n ...propDefs: T\n): Omit<P & { className?: string; style?: React.CSSProperties }, PropDefsWithClassName<T[number]>> {\n const { styling, passthrough, stylingKeys } = getCompiledPropDefs(propDefs);\n\n // Copy the props that survive to the element rather than spreading and then\n // deleting the styling keys. Deleting off a spread demotes the object to\n // dictionary mode in V8, and this object is on the render path of every\n // component in the library.\n const extractedProps: Record<string, any> = {};\n for (const key in props) {\n if (stylingKeys.has(key)) continue;\n extractedProps[key] = props[key];\n }\n\n for (let i = 0; i < passthrough.length; i++) {\n const propDef = passthrough[i];\n const value = extractedProps[propDef.key];\n\n if (value === undefined) {\n if (propDef.hasDefault) extractedProps[propDef.key] = propDef.default;\n continue;\n }\n\n // Fall back to the default when the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n extractedProps[propDef.key] = propDef.default;\n }\n }\n\n let style: ReturnType<typeof mergeStyles>;\n const classes: string[] = [];\n\n for (let i = 0; i < styling.length; i++) {\n const propDef = styling[i];\n let value = props[propDef.key];\n\n // Apply prop def defaults\n if (value === undefined && propDef.hasDefault) {\n value = propDef.default;\n }\n\n // Apply the default value if the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n value = propDef.default;\n }\n\n if (!value) continue;\n\n if (isResponsiveObject(value)) {\n // Make sure we are not threading through responsive values for non-responsive prop defs\n if (!propDef.responsive) continue;\n value = normalizeResponsiveValue(value, propDef);\n }\n\n if (propDef.type === 'enum') {\n const propClassName = getResponsiveClassNames({\n allowArbitraryValues: false,\n value,\n className: propDef.className!,\n propValues: propDef.values,\n propValueSet: propDef.valueSet,\n parseValue: propDef.parseValue,\n });\n\n if (propClassName) classes.push(propClassName);\n continue;\n }\n\n if (propDef.type === 'string' || propDef.type === 'enum | string') {\n const [propClassNames, propCustomProperties] = getResponsiveStyles({\n className: propDef.className!,\n customProperties: propDef.customProperties!,\n // `string` prop defs have no enum values, so every value is arbitrary\n propValues: propDef.type === 'string' ? [] : propDef.values,\n propValueSet: propDef.type === 'string' ? undefined : propDef.valueSet,\n parseValue: propDef.parseValue,\n value,\n });\n\n if (propCustomProperties) style = mergeStyles(style, propCustomProperties);\n if (propClassNames) classes.push(propClassNames);\n continue;\n }\n\n if (propDef.type === 'boolean') {\n // TODO handle responsive boolean props\n classes.push(propDef.className!);\n continue;\n }\n }\n\n extractedProps.className = classNames(classes.length > 0 ? classes.join(' ') : undefined, props.className);\n extractedProps.style = mergeStyles(style, props.style);\n return extractedProps as ReturnType<typeof extractProps<P, T>>;\n}\n\nexport { extractProps };\n", "import type { PropDef } from '../props/prop-def.js';\n\n/**\n * A prop def pre-processed into the exact shape `extractProps` needs at render\n * time. Everything that can be derived from the static prop def \u2014 enum\n * membership sets, whether the def is responsive, whether it carries a default\n * \u2014 is computed once here instead of on every render.\n */\ninterface CompiledPropDef {\n key: string;\n type: PropDef['type'];\n default: unknown;\n hasDefault: boolean;\n responsive: boolean;\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n /** The prop def's own enum values, kept for the responsive class name helpers. */\n values: readonly string[];\n /** O(1) membership for `values`. */\n valueSet: ReadonlySet<string>;\n /**\n * `values` plus the default, used to coerce invalid enum values back to the\n * default. Only present for `type: 'enum'` \u2014 `'enum | string'` props accept\n * arbitrary strings and must not be coerced.\n */\n enumValueSet?: ReadonlySet<unknown>;\n}\n\ninterface CompiledPropDefs {\n /** Defs that contribute a class name and/or custom properties. */\n styling: CompiledPropDef[];\n /**\n * Defs that pass through to the element but still need a default applied or\n * an invalid enum value coerced. Defs that can do neither are omitted\n * entirely \u2014 they are already correct as passed.\n */\n passthrough: CompiledPropDef[];\n /** Keys consumed by `styling`, so they can be skipped when copying props. */\n stylingKeys: ReadonlySet<string>;\n}\n\nconst EMPTY_VALUES: readonly string[] = [];\nconst EMPTY_SET: ReadonlySet<string> = new Set();\n\nfunction compile(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n const merged: Record<string, PropDef> = Object.assign({}, ...propDefs);\n const styling: CompiledPropDef[] = [];\n const passthrough: CompiledPropDef[] = [];\n const stylingKeys = new Set<string>();\n\n for (const key in merged) {\n // The PropDef union is narrowed per-field below; reading the optional\n // members off the union directly is what the runtime actually needs.\n const def = merged[key] as PropDef & {\n default?: unknown;\n values?: readonly string[];\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n responsive?: true;\n };\n\n const values = def.values ?? EMPTY_VALUES;\n const compiled: CompiledPropDef = {\n key,\n type: def.type,\n default: def.default,\n hasDefault: def.default !== undefined,\n responsive: 'responsive' in def,\n className: def.className,\n customProperties: def.customProperties,\n parseValue: def.parseValue,\n values,\n valueSet: values.length > 0 ? new Set(values) : EMPTY_SET,\n enumValueSet: def.type === 'enum' ? new Set<unknown>([def.default, ...values]) : undefined,\n };\n\n if (def.className) {\n styling.push(compiled);\n stylingKeys.add(key);\n } else if (compiled.hasDefault || def.type === 'enum') {\n // Anything else is copied through untouched, so there is nothing to do.\n passthrough.push(compiled);\n }\n }\n\n return { styling, passthrough, stylingKeys };\n}\n\ninterface CacheNode {\n children: WeakMap<object, CacheNode>;\n compiled?: CompiledPropDefs;\n}\n\nconst cacheRoot: CacheNode = { children: new WeakMap() };\n\n/**\n * Compiles a set of prop defs, memoized on the identity of the prop def objects\n * themselves. Components always pass the same module-level constants, so after\n * the first render of a given component this is a couple of WeakMap lookups\n * instead of merging 50-odd prop defs into a fresh object.\n */\nfunction getCompiledPropDefs(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n let node = cacheRoot;\n\n for (let i = 0; i < propDefs.length; i++) {\n const propDef = propDefs[i];\n let child = node.children.get(propDef);\n if (child === undefined) {\n child = { children: new WeakMap() };\n node.children.set(propDef, child);\n }\n node = child;\n }\n\n return (node.compiled ??= compile(propDefs));\n}\n\nexport { getCompiledPropDefs };\nexport type { CompiledPropDef, CompiledPropDefs };\n", "import type React from 'react';\n\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\ntype Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n\nconst breakpoints = ['initial', 'xs', 'sm', 'md', 'lg', 'xl'] as const;\nconst breakpointSet: Set<string> = new Set(breakpoints);\ntype Breakpoint = (typeof breakpoints)[number];\ntype Responsive<T> = T | Partial<Record<Breakpoint, T>>;\n\ntype BooleanPropDef = {\n type: 'boolean';\n default?: boolean;\n required?: boolean;\n className?: string;\n};\ntype StringPropDef = {\n type: 'string';\n default?: string;\n required?: boolean;\n};\ntype ReactNodePropDef = {\n type: 'ReactNode';\n default?: React.ReactNode;\n required?: boolean;\n};\ntype EnumPropDef<T> = {\n type: 'enum';\n values: readonly T[];\n default?: T;\n required?: boolean;\n};\ntype EnumOrStringPropDef<T> = {\n type: 'enum | string';\n values: readonly T[];\n default?: T | string;\n required?: boolean;\n};\n\ntype NonStylingPropDef = {\n className?: never;\n customProperties?: never;\n parseValue?: never;\n};\n\ntype StylingPropDef = {\n className: string;\n parseValue?: (value: string) => string | undefined;\n};\n\ntype ArbitraryStylingPropDef = {\n className: string;\n customProperties: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n};\n\ntype RegularPropDef<T> =\n | ReactNodePropDef\n | BooleanPropDef\n | (StringPropDef & ArbitraryStylingPropDef)\n | (StringPropDef & NonStylingPropDef)\n | (EnumPropDef<T> & StylingPropDef)\n | (EnumPropDef<T> & NonStylingPropDef)\n | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef)\n | (EnumOrStringPropDef<T> & NonStylingPropDef);\ntype ResponsivePropDef<T = any> = RegularPropDef<T> & { responsive: true };\ntype PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;\n\n// prettier-ignore\ntype GetPropDefType<Def> =\n Def extends BooleanPropDef ? (Def extends ResponsivePropDef ? Responsive<boolean> : boolean)\n : Def extends StringPropDef ? (Def extends ResponsivePropDef ? Responsive<string> : string)\n : Def extends ReactNodePropDef ? (Def extends ResponsivePropDef ? Responsive<React.ReactNode> : React.ReactNode)\n : Def extends EnumOrStringPropDef<infer Type> ?\n Def extends ResponsivePropDef<infer Type extends string> ? Responsive<Union<string, Type>> : Type\n : Def extends EnumPropDef<infer Type> ? (Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type)\n : never;\n\ntype GetPropDefTypes<P> = {\n [K in keyof P]?: GetPropDefType<P[K]>;\n};\n\nexport { breakpoints, breakpointSet };\nexport type {\n PropDef,\n GetPropDefTypes,\n ResponsivePropDef,\n //\n Breakpoint,\n Responsive,\n Union,\n};\n", "/** A util to check whether the object has a key, while inferring the correct key type */\nfunction hasOwnProperty<K extends string | number | symbol>(\n obj: Record<K, unknown>,\n key: string | number | symbol\n): key is K {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexport { hasOwnProperty };\n", "import type { Responsive, Breakpoint } from '../props/prop-def.js';\n\n// Use a Set for O(1) lookup instead of array.includes() which is O(n)\nconst breakpointSet = new Set<string>(['initial', 'xs', 'sm', 'md', 'lg', 'xl']);\n\nexport function isResponsiveObject<Value extends string>(\n obj: Responsive<Value | Omit<string, Value>> | undefined\n): obj is Record<Breakpoint, string> {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n // Use for...in to avoid Object.keys() array allocation\n for (const key in obj) {\n if (breakpointSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n", "import { breakpointSet } from '../props/prop-def.js';\nimport { hasOwnProperty } from './has-own-property.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\n\nimport type { Responsive, Union } from '../props/prop-def.js';\n\n/**\n * Membership test against a prop def's enum values. Callers that already hold a\n * compiled prop def pass `propValueSet` for an O(1) lookup; the handful of call\n * sites that build options inline fall back to scanning the array.\n */\nfunction includesValue(propValues: string[] | readonly string[], propValueSet: ReadonlySet<string> | undefined, value: string): boolean {\n return propValueSet !== undefined ? propValueSet.has(value) : propValues.includes(value);\n}\n\ninterface GetResponsiveStylesOptions {\n className: string;\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveStyles({ className, customProperties, ...args }: GetResponsiveStylesOptions) {\n const responsiveClassNames = getResponsiveClassNames({\n allowArbitraryValues: true,\n className,\n ...args,\n });\n\n const responsiveCustomProperties = getResponsiveCustomProperties({ customProperties, ...args });\n return [responsiveClassNames, responsiveCustomProperties] as const;\n}\n\ninterface GetResponsiveClassNamesOptions {\n allowArbitraryValues?: boolean;\n className: string;\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveClassNames({ allowArbitraryValues, value, className, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveClassNamesOptions): string | undefined {\n if (!value) {\n return undefined;\n }\n\n if (typeof value === 'string') {\n if (includesValue(propValues, propValueSet, value)) {\n return getBaseClassName(className, value, parseValue);\n }\n return allowArbitraryValues ? className : undefined;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n const classNames: string[] = [];\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n if (value !== undefined) {\n if (includesValue(propValues, propValueSet, value)) {\n const baseClassName = getBaseClassName(className, value, parseValue);\n const bpClassName = bp === 'initial' ? baseClassName : `${bp}:${baseClassName}`;\n classNames.push(bpClassName);\n } else if (allowArbitraryValues) {\n const bpClassName = bp === 'initial' ? className : `${bp}:${className}`;\n classNames.push(bpClassName);\n }\n }\n }\n\n return classNames.length > 0 ? classNames.join(' ') : '';\n }\n\n if (allowArbitraryValues) {\n return className;\n }\n}\n\nfunction getBaseClassName(className: string, value: string, parseValue: (value: string) => string | undefined): string {\n const delimiter = className ? '-' : '';\n const matchedValue = parseValue(value);\n const isNegative = matchedValue?.startsWith('-');\n const minus = isNegative ? '-' : '';\n const absoluteValue = isNegative ? matchedValue?.substring(1) : matchedValue;\n return `${minus}${className}${delimiter}${absoluteValue}`;\n}\n\ninterface GetResponsiveCustomPropertiesOptions {\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveCustomProperties({ customProperties, value, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveCustomPropertiesOptions) {\n // Don't generate custom properties if the value is not arbitrary\n if (!value || (typeof value === 'string' && includesValue(propValues, propValueSet, value))) {\n return undefined;\n }\n\n let styles: Record<string, string | undefined> | undefined;\n\n if (typeof value === 'string') {\n const parsed = parseValue(value);\n styles = {};\n for (const customProperty of customProperties) {\n styles[customProperty] = parsed;\n }\n return styles;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n // Don't generate a custom property if the value is not arbitrary\n if (value === undefined || includesValue(propValues, propValueSet, value)) {\n continue;\n }\n\n const parsed = parseValue(value);\n styles ??= {};\n for (const customProperty of customProperties) {\n const bpProperty = bp === 'initial' ? customProperty : `${customProperty}-${bp}`;\n styles[bpProperty] = parsed;\n }\n }\n }\n\n return styles ?? {};\n}\n\nexport { getResponsiveStyles, getResponsiveCustomProperties, getResponsiveClassNames };\n", "type InlineStyle =\n | React.CSSProperties\n | Record<string, string | number | null | undefined>\n | undefined;\n\n// Merges CSS styles like `classNames` merges CSS classes\n// Optimized to avoid object spread in loop - uses Object.assign for in-place mutation\nexport function mergeStyles(...styles: Array<InlineStyle>): InlineStyle {\n let result: Record<string, string | number | null | undefined> | undefined;\n\n for (const style of styles) {\n if (style) {\n if (result === undefined) {\n // First non-empty style - create result object\n result = {};\n }\n Object.assign(result, style);\n }\n }\n\n return result;\n}\n", "import type { PropDef, GetPropDefTypes } from './prop-def.js';\n\n// prettier-ignore\nconst marginValues = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9', '-10', '-11', '-12'] as const;\n\nconst marginPropDefs = {\n /**\n * Sets the CSS **margin** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * m=\"4\"\n * m=\"100px\"\n * m={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin\n */\n m: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-m',\n customProperties: ['--m'],\n },\n /**\n * Sets the CSS **margin-left** and **margin-right** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mx=\"4\"\n * mx=\"100px\"\n * mx={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mx: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mx',\n customProperties: ['--ml', '--mr'],\n },\n /**\n * Sets the CSS **margin-top** and **margin-bottom** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * my=\"4\"\n * my=\"100px\"\n * my={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n my: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-my',\n customProperties: ['--mt', '--mb'],\n },\n /**\n * Sets the CSS **margin-top** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mt=\"4\"\n * mt=\"100px\"\n * mt={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n */\n mt: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mt',\n customProperties: ['--mt'],\n },\n /**\n * Sets the CSS **margin-right** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mr=\"4\"\n * mr=\"100px\"\n * mr={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mr: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mr',\n customProperties: ['--mr'],\n },\n /**\n * Sets the CSS **margin-bottom** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mb=\"4\"\n * mb=\"100px\"\n * mb={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n mb: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mb',\n customProperties: ['--mb'],\n },\n /**\n * Sets the CSS **margin-left** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * ml=\"4\"\n * ml=\"100px\"\n * ml={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n */\n ml: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-ml',\n customProperties: ['--ml'],\n },\n} satisfies {\n m: PropDef<(typeof marginValues)[number]>;\n mx: PropDef<(typeof marginValues)[number]>;\n my: PropDef<(typeof marginValues)[number]>;\n mt: PropDef<(typeof marginValues)[number]>;\n mr: PropDef<(typeof marginValues)[number]>;\n mb: PropDef<(typeof marginValues)[number]>;\n ml: PropDef<(typeof marginValues)[number]>;\n};\n\ntype MarginProps = GetPropDefTypes<typeof marginPropDefs>;\n\nexport { marginPropDefs };\nexport type { MarginProps };\n"],
5
- "mappings": "0jBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,aAAAE,EAAA,SAAAC,EAAA,SAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAN,ICAA,IAAAO,EAAuB,oBAEjBC,EAA2B,0HAE3BC,EAAS,IAAI,IAEnB,SAASC,EAASC,EAAiB,CAC7BF,EAAO,IAAIE,CAAO,IACtBF,EAAO,IAAIE,CAAO,EAClB,QAAQ,KAAKA,CAAO,EACtB,CAUO,SAASC,EAAoCC,EAA0B,CACtE,YAAU,IAAM,CAGtB,EAAG,CAACA,CAAe,CAAC,CACtB,CDxBA,IAAAC,EAAuB,oBACvBC,EAAuB,yBACvBC,EAAsC,oBEDtC,IAAMC,EAAiB,CAKrB,QAAS,CACP,KAAM,SACR,CACF,ECPA,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAAS,OAAQ,OAAQ,KAAK,EAIvP,IAAMC,EAAe,CACnB,MAAO,CACL,KAAM,OACN,OAAQC,EACR,QAAS,MACX,CACF,ECTA,IAAMC,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,GAAa,CAAC,SAAU,OAAQ,cAAc,EAC9CC,GAAgB,CAAC,QAAS,SAAU,KAAK,EACzCC,EAAmB,CAAC,QAAS,aAAa,EAE1CC,EAAsB,CAC1B,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQJ,EAAO,QAA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EAC3E,gBAAC,QAAK,UAAU,8DACbA,CACH,CACF,CAEJ,CACF,EACAD,EAAY,YAAc,eAQ1B,IAAMG,EAAoB,aACxB,CAACnB,EAAOC,IAAiB,CACvB,GAAM,CAAE,UAAAC,EAAW,GAAGkB,CAAa,EAAIhB,EAAaJ,EAAOK,CAAc,EACzE,OACE,gBAAC,EAAAC,KAAc,QAAd,CACE,GAAGc,EACJ,IAAKnB,EACL,aAAW,EAAAM,SAAW,iBAAkBL,CAAS,EACjD,YAAU,SACV,cAAY,OACd,CAEJ,CACF,EACAiB,EAAY,YAAc",
6
- "names": ["tabs_exports", "__export", "TabsContent", "TabsList", "TabsRoot", "TabsTrigger", "__toCommonJS", "React", "PANEL_BACKGROUND_MESSAGE", "warned", "warnOnce", "message", "useDeprecatedPanelBackgroundWarning", "panelBackground", "React", "import_classnames", "import_radix_ui", "asChildPropDef", "accentColors", "colorPropDef", "accentColors", "sizes", "wrapValues", "justifyValues", "panelBackgrounds", "baseTabListPropDefs", "colorPropDef", "tabsRootPropDefs", "asChildPropDef", "tabsContentPropDefs", "import_classnames", "EMPTY_VALUES", "EMPTY_SET", "compile", "propDefs", "merged", "styling", "passthrough", "stylingKeys", "key", "def", "values", "compiled", "cacheRoot", "getCompiledPropDefs", "node", "i", "propDef", "child", "breakpoints", "breakpointSet", "hasOwnProperty", "obj", "key", "breakpointSet", "isResponsiveObject", "obj", "key", "includesValue", "propValues", "propValueSet", "value", "getResponsiveStyles", "className", "customProperties", "args", "responsiveClassNames", "getResponsiveClassNames", "responsiveCustomProperties", "getResponsiveCustomProperties", "allowArbitraryValues", "parseValue", "getBaseClassName", "isResponsiveObject", "object", "classNames", "bp", "hasOwnProperty", "breakpointSet", "baseClassName", "bpClassName", "delimiter", "matchedValue", "isNegative", "minus", "absoluteValue", "styles", "parsed", "customProperty", "bpProperty", "mergeStyles", "styles", "result", "style", "normalizeResponsiveValue", "value", "propDef", "initial", "changed", "extractProps", "props", "propDefs", "styling", "passthrough", "stylingKeys", "getCompiledPropDefs", "extractedProps", "key", "i", "isResponsiveObject", "style", "classes", "propClassName", "getResponsiveClassNames", "propClassNames", "propCustomProperties", "getResponsiveStyles", "mergeStyles", "classNames", "marginValues", "marginPropDefs", "TabsRoot", "props", "forwardedRef", "className", "rootProps", "extractProps", "marginPropDefs", "TabsPrimitive", "classNames", "TabsList", "color", "materialProp", "panelBackground", "listProps", "baseTabListPropDefs", "useDeprecatedPanelBackgroundWarning", "material", "TabsTrigger", "children", "triggerProps", "TabsContent", "contentProps"]
3
+ "sources": ["../../../src/components/tabs.tsx", "../../../src/props/as-child.prop.ts", "../../../src/props/color.prop.ts", "../../../src/components/_internal/base-tab-list.props.ts", "../../../src/components/tabs.props.tsx", "../../../src/helpers/extract-props.ts", "../../../src/helpers/compile-prop-defs.ts", "../../../src/props/prop-def.ts", "../../../src/helpers/has-own-property.ts", "../../../src/helpers/is-responsive-object.ts", "../../../src/helpers/get-responsive-styles.ts", "../../../src/helpers/merge-styles.ts", "../../../src/props/margin.props.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nimport classNames from 'classnames';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nimport { tabsListPropDefs } from './tabs.props.js';\nimport { extractProps } from '../helpers/extract-props.js';\nimport { marginPropDefs } from '../props/margin.props.js';\n\nimport type { tabsContentPropDefs, tabsRootPropDefs } from './tabs.props.js';\nimport type { MarginProps } from '../props/margin.props.js';\nimport type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';\nimport type { GetPropDefTypes } from '../props/prop-def.js';\n\ntype TabsRootElement = React.ElementRef<typeof TabsPrimitive.Root>;\ntype TabsRootOwnProps = GetPropDefTypes<typeof tabsRootPropDefs>;\ninterface TabsRootProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Root, 'asChild' | 'color' | 'defaultChecked'>,\n MarginProps,\n TabsRootOwnProps {}\nconst TabsRoot = React.forwardRef<TabsRootElement, TabsRootProps>((props, forwardedRef) => {\n const { className, ...rootProps } = extractProps(props, marginPropDefs);\n return (\n <TabsPrimitive.Root\n {...rootProps}\n ref={forwardedRef}\n className={classNames('rt-TabsRoot', className)}\n />\n );\n});\nTabsRoot.displayName = 'Tabs.Root';\n\ntype TabsListElement = React.ElementRef<typeof TabsPrimitive.List>;\ntype TabsListOwnProps = GetPropDefTypes<typeof tabsListPropDefs>;\ninterface TabsListProps\n extends ComponentPropsWithout<typeof TabsPrimitive.List, RemovedProps>,\n MarginProps,\n TabsListOwnProps {}\nconst TabsList = React.forwardRef<TabsListElement, TabsListProps>((props, forwardedRef) => {\n const { className, color, material: materialProp, ...listProps } = extractProps(\n props,\n tabsListPropDefs,\n marginPropDefs,\n );\n const material = materialProp;\n return (\n <TabsPrimitive.List\n data-accent-color={color}\n data-material={material}\n {...listProps}\n asChild={false}\n ref={forwardedRef}\n className={classNames('rt-BaseTabList', 'rt-TabsList', className)}\n />\n );\n});\nTabsList.displayName = 'Tabs.List';\n\ntype TabsTriggerElement = React.ElementRef<typeof TabsPrimitive.Trigger>;\ninterface TabsTriggerProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Trigger, RemovedProps> {}\nconst TabsTrigger = React.forwardRef<TabsTriggerElement, TabsTriggerProps>(\n (props, forwardedRef) => {\n const { className, children, ...triggerProps } = props;\n return (\n <TabsPrimitive.Trigger\n {...triggerProps}\n asChild={false}\n ref={forwardedRef}\n className={classNames('rt-reset', 'rt-BaseTabListTrigger', 'rt-TabsTrigger', className)}\n >\n <span className=\"rt-BaseTabListTriggerInner rt-TabsTriggerInner\">{children}</span>\n <span className=\"rt-BaseTabListTriggerInnerHidden rt-TabsTriggerInnerHidden\">\n {children}\n </span>\n </TabsPrimitive.Trigger>\n );\n },\n);\nTabsTrigger.displayName = 'Tabs.Trigger';\n\ntype TabsContentElement = React.ElementRef<typeof TabsPrimitive.Content>;\ntype TabsContentOwnProps = GetPropDefTypes<typeof tabsContentPropDefs>;\ninterface TabsContentProps\n extends ComponentPropsWithout<typeof TabsPrimitive.Content, RemovedProps>,\n MarginProps,\n TabsContentOwnProps {}\nconst TabsContent = React.forwardRef<TabsContentElement, TabsContentProps>(\n (props, forwardedRef) => {\n const { className, ...contentProps } = extractProps(props, marginPropDefs);\n return (\n <TabsPrimitive.Content\n {...contentProps}\n ref={forwardedRef}\n className={classNames('rt-TabsContent', className)}\n aria-live=\"polite\"\n aria-atomic=\"true\"\n />\n );\n },\n);\nTabsContent.displayName = 'Tabs.Content';\n\nexport { TabsRoot as Root, TabsList as List, TabsTrigger as Trigger, TabsContent as Content };\nexport type {\n TabsRootProps as RootProps,\n TabsListProps as ListProps,\n TabsTriggerProps as TriggerProps,\n TabsContentProps as ContentProps,\n};\n", "import type { PropDef } from './prop-def.js';\n\nconst asChildPropDef = {\n /**\n * Composes the component into its immediate child instead of rendering its own HTML element.\n * You\u2019ll have to provide a single React Element child.\n */\n asChild: {\n type: 'boolean',\n },\n} satisfies {\n asChild: PropDef<boolean>;\n};\n\nexport { asChildPropDef };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\nconst justifyValues = ['start', 'center', 'end'] as const;\nconst materials = ['solid', 'translucent'] as const;\n\nconst baseTabListPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n wrap: {\n type: 'enum',\n className: 'rt-r-fw',\n values: wrapValues,\n responsive: true,\n },\n justify: {\n type: 'enum',\n className: 'rt-r-jc',\n values: justifyValues,\n responsive: true,\n },\n ...colorPropDef,\n material: { type: 'enum', values: materials, default: undefined },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n material: PropDef<(typeof materials)[number] | undefined>;\n};\n\nexport { baseTabListPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nconst tabsRootPropDefs = {\n ...asChildPropDef,\n};\n\nconst tabsContentPropDefs = {\n ...asChildPropDef,\n};\n\nexport { baseTabListPropDefs as tabsListPropDefs } from './_internal/base-tab-list.props.js';\nexport { tabsRootPropDefs, tabsContentPropDefs };\n", "import classNames from 'classnames';\n\nimport { getCompiledPropDefs } from './compile-prop-defs.js';\nimport { getResponsiveClassNames, getResponsiveStyles } from './get-responsive-styles.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\nimport { mergeStyles } from './merge-styles.js';\n\nimport type { CompiledPropDef } from './compile-prop-defs.js';\nimport type * as React from 'react';\nimport type { PropDef } from '../props/prop-def.js';\n\ntype PropDefsWithClassName<T> = T extends Record<string, PropDef> ? { [K in keyof T]: T[K] extends { className: string } ? K : never }[keyof T] : never;\n\ntype ResponsiveValue = Record<string, string | undefined>;\n\n/**\n * Fills in the `initial` breakpoint of a responsive value from the prop def's\n * default, and coerces an invalid `initial` enum value back to that default.\n *\n * Returns the value untouched when nothing needs changing, and a copy otherwise\n * \u2014 callers routinely hoist responsive objects to module scope, so mutating the\n * caller's object would corrupt it for every later render.\n */\nfunction normalizeResponsiveValue(value: ResponsiveValue, propDef: CompiledPropDef) {\n let initial = value.initial;\n let changed = false;\n\n if (propDef.hasDefault && initial === undefined) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(initial)) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n return changed ? { ...value, initial } : value;\n}\n\n/**\n * Takes props, checks them against prop defs that have a `className` on them,\n * adds necessary CSS classes and inline styles, and returns the props without\n * the corresponding prop defs that were used to formulate the new `className`\n * and `style` values. Also applies prop def defaults to every prop.\n */\nfunction extractProps<P extends { className?: string; style?: React.CSSProperties; [key: string]: any }, T extends Record<string, PropDef>[]>(\n props: P,\n ...propDefs: T\n): Omit<P & { className?: string; style?: React.CSSProperties }, PropDefsWithClassName<T[number]>> {\n const { styling, passthrough, stylingKeys } = getCompiledPropDefs(propDefs);\n\n // Copy the props that survive to the element rather than spreading and then\n // deleting the styling keys. Deleting off a spread demotes the object to\n // dictionary mode in V8, and this object is on the render path of every\n // component in the library.\n const extractedProps: Record<string, any> = {};\n for (const key in props) {\n if (stylingKeys.has(key)) continue;\n extractedProps[key] = props[key];\n }\n\n for (let i = 0; i < passthrough.length; i++) {\n const propDef = passthrough[i];\n const value = extractedProps[propDef.key];\n\n if (value === undefined) {\n if (propDef.hasDefault) extractedProps[propDef.key] = propDef.default;\n continue;\n }\n\n // Fall back to the default when the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n extractedProps[propDef.key] = propDef.default;\n }\n }\n\n let style: ReturnType<typeof mergeStyles>;\n const classes: string[] = [];\n\n for (let i = 0; i < styling.length; i++) {\n const propDef = styling[i];\n let value = props[propDef.key];\n\n // Apply prop def defaults\n if (value === undefined && propDef.hasDefault) {\n value = propDef.default;\n }\n\n // Apply the default value if the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n value = propDef.default;\n }\n\n if (!value) continue;\n\n if (isResponsiveObject(value)) {\n // Make sure we are not threading through responsive values for non-responsive prop defs\n if (!propDef.responsive) continue;\n value = normalizeResponsiveValue(value, propDef);\n }\n\n if (propDef.type === 'enum') {\n const propClassName = getResponsiveClassNames({\n allowArbitraryValues: false,\n value,\n className: propDef.className!,\n propValues: propDef.values,\n propValueSet: propDef.valueSet,\n parseValue: propDef.parseValue,\n });\n\n if (propClassName) classes.push(propClassName);\n continue;\n }\n\n if (propDef.type === 'string' || propDef.type === 'enum | string') {\n const [propClassNames, propCustomProperties] = getResponsiveStyles({\n className: propDef.className!,\n customProperties: propDef.customProperties!,\n // `string` prop defs have no enum values, so every value is arbitrary\n propValues: propDef.type === 'string' ? [] : propDef.values,\n propValueSet: propDef.type === 'string' ? undefined : propDef.valueSet,\n parseValue: propDef.parseValue,\n value,\n });\n\n if (propCustomProperties) style = mergeStyles(style, propCustomProperties);\n if (propClassNames) classes.push(propClassNames);\n continue;\n }\n\n if (propDef.type === 'boolean') {\n // TODO handle responsive boolean props\n classes.push(propDef.className!);\n continue;\n }\n }\n\n extractedProps.className = classNames(classes.length > 0 ? classes.join(' ') : undefined, props.className);\n extractedProps.style = mergeStyles(style, props.style);\n return extractedProps as ReturnType<typeof extractProps<P, T>>;\n}\n\nexport { extractProps };\n", "import type { PropDef } from '../props/prop-def.js';\n\n/**\n * A prop def pre-processed into the exact shape `extractProps` needs at render\n * time. Everything that can be derived from the static prop def \u2014 enum\n * membership sets, whether the def is responsive, whether it carries a default\n * \u2014 is computed once here instead of on every render.\n */\ninterface CompiledPropDef {\n key: string;\n type: PropDef['type'];\n default: unknown;\n hasDefault: boolean;\n responsive: boolean;\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n /** The prop def's own enum values, kept for the responsive class name helpers. */\n values: readonly string[];\n /** O(1) membership for `values`. */\n valueSet: ReadonlySet<string>;\n /**\n * `values` plus the default, used to coerce invalid enum values back to the\n * default. Only present for `type: 'enum'` \u2014 `'enum | string'` props accept\n * arbitrary strings and must not be coerced.\n */\n enumValueSet?: ReadonlySet<unknown>;\n}\n\ninterface CompiledPropDefs {\n /** Defs that contribute a class name and/or custom properties. */\n styling: CompiledPropDef[];\n /**\n * Defs that pass through to the element but still need a default applied or\n * an invalid enum value coerced. Defs that can do neither are omitted\n * entirely \u2014 they are already correct as passed.\n */\n passthrough: CompiledPropDef[];\n /** Keys consumed by `styling`, so they can be skipped when copying props. */\n stylingKeys: ReadonlySet<string>;\n}\n\nconst EMPTY_VALUES: readonly string[] = [];\nconst EMPTY_SET: ReadonlySet<string> = new Set();\n\nfunction compile(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n const merged: Record<string, PropDef> = Object.assign({}, ...propDefs);\n const styling: CompiledPropDef[] = [];\n const passthrough: CompiledPropDef[] = [];\n const stylingKeys = new Set<string>();\n\n for (const key in merged) {\n // The PropDef union is narrowed per-field below; reading the optional\n // members off the union directly is what the runtime actually needs.\n const def = merged[key] as PropDef & {\n default?: unknown;\n values?: readonly string[];\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n responsive?: true;\n };\n\n const values = def.values ?? EMPTY_VALUES;\n const compiled: CompiledPropDef = {\n key,\n type: def.type,\n default: def.default,\n hasDefault: def.default !== undefined,\n responsive: 'responsive' in def,\n className: def.className,\n customProperties: def.customProperties,\n parseValue: def.parseValue,\n values,\n valueSet: values.length > 0 ? new Set(values) : EMPTY_SET,\n enumValueSet: def.type === 'enum' ? new Set<unknown>([def.default, ...values]) : undefined,\n };\n\n if (def.className) {\n styling.push(compiled);\n stylingKeys.add(key);\n } else if (compiled.hasDefault || def.type === 'enum') {\n // Anything else is copied through untouched, so there is nothing to do.\n passthrough.push(compiled);\n }\n }\n\n return { styling, passthrough, stylingKeys };\n}\n\ninterface CacheNode {\n children: WeakMap<object, CacheNode>;\n compiled?: CompiledPropDefs;\n}\n\nconst cacheRoot: CacheNode = { children: new WeakMap() };\n\n/**\n * Compiles a set of prop defs, memoized on the identity of the prop def objects\n * themselves. Components always pass the same module-level constants, so after\n * the first render of a given component this is a couple of WeakMap lookups\n * instead of merging 50-odd prop defs into a fresh object.\n */\nfunction getCompiledPropDefs(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n let node = cacheRoot;\n\n for (let i = 0; i < propDefs.length; i++) {\n const propDef = propDefs[i];\n let child = node.children.get(propDef);\n if (child === undefined) {\n child = { children: new WeakMap() };\n node.children.set(propDef, child);\n }\n node = child;\n }\n\n return (node.compiled ??= compile(propDefs));\n}\n\nexport { getCompiledPropDefs };\nexport type { CompiledPropDef, CompiledPropDefs };\n", "import type React from 'react';\n\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\ntype Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n\nconst breakpoints = ['initial', 'xs', 'sm', 'md', 'lg', 'xl'] as const;\nconst breakpointSet: Set<string> = new Set(breakpoints);\ntype Breakpoint = (typeof breakpoints)[number];\ntype Responsive<T> = T | Partial<Record<Breakpoint, T>>;\n\ntype BooleanPropDef = {\n type: 'boolean';\n default?: boolean;\n required?: boolean;\n className?: string;\n};\ntype StringPropDef = {\n type: 'string';\n default?: string;\n required?: boolean;\n};\ntype ReactNodePropDef = {\n type: 'ReactNode';\n default?: React.ReactNode;\n required?: boolean;\n};\ntype EnumPropDef<T> = {\n type: 'enum';\n values: readonly T[];\n default?: T;\n required?: boolean;\n};\ntype EnumOrStringPropDef<T> = {\n type: 'enum | string';\n values: readonly T[];\n default?: T | string;\n required?: boolean;\n};\n\ntype NonStylingPropDef = {\n className?: never;\n customProperties?: never;\n parseValue?: never;\n};\n\ntype StylingPropDef = {\n className: string;\n parseValue?: (value: string) => string | undefined;\n};\n\ntype ArbitraryStylingPropDef = {\n className: string;\n customProperties: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n};\n\ntype RegularPropDef<T> =\n | ReactNodePropDef\n | BooleanPropDef\n | (StringPropDef & ArbitraryStylingPropDef)\n | (StringPropDef & NonStylingPropDef)\n | (EnumPropDef<T> & StylingPropDef)\n | (EnumPropDef<T> & NonStylingPropDef)\n | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef)\n | (EnumOrStringPropDef<T> & NonStylingPropDef);\ntype ResponsivePropDef<T = any> = RegularPropDef<T> & { responsive: true };\ntype PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;\n\n// prettier-ignore\ntype GetPropDefType<Def> =\n Def extends BooleanPropDef ? (Def extends ResponsivePropDef ? Responsive<boolean> : boolean)\n : Def extends StringPropDef ? (Def extends ResponsivePropDef ? Responsive<string> : string)\n : Def extends ReactNodePropDef ? (Def extends ResponsivePropDef ? Responsive<React.ReactNode> : React.ReactNode)\n : Def extends EnumOrStringPropDef<infer Type> ?\n Def extends ResponsivePropDef<infer Type extends string> ? Responsive<Union<string, Type>> : Type\n : Def extends EnumPropDef<infer Type> ? (Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type)\n : never;\n\ntype GetPropDefTypes<P> = {\n [K in keyof P]?: GetPropDefType<P[K]>;\n};\n\nexport { breakpoints, breakpointSet };\nexport type {\n PropDef,\n GetPropDefTypes,\n ResponsivePropDef,\n //\n Breakpoint,\n Responsive,\n Union,\n};\n", "/** A util to check whether the object has a key, while inferring the correct key type */\nfunction hasOwnProperty<K extends string | number | symbol>(\n obj: Record<K, unknown>,\n key: string | number | symbol\n): key is K {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexport { hasOwnProperty };\n", "import type { Responsive, Breakpoint } from '../props/prop-def.js';\n\n// Use a Set for O(1) lookup instead of array.includes() which is O(n)\nconst breakpointSet = new Set<string>(['initial', 'xs', 'sm', 'md', 'lg', 'xl']);\n\nexport function isResponsiveObject<Value extends string>(\n obj: Responsive<Value | Omit<string, Value>> | undefined\n): obj is Record<Breakpoint, string> {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n // Use for...in to avoid Object.keys() array allocation\n for (const key in obj) {\n if (breakpointSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n", "import { breakpointSet } from '../props/prop-def.js';\nimport { hasOwnProperty } from './has-own-property.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\n\nimport type { Responsive, Union } from '../props/prop-def.js';\n\n/**\n * Membership test against a prop def's enum values. Callers that already hold a\n * compiled prop def pass `propValueSet` for an O(1) lookup; the handful of call\n * sites that build options inline fall back to scanning the array.\n */\nfunction includesValue(propValues: string[] | readonly string[], propValueSet: ReadonlySet<string> | undefined, value: string): boolean {\n return propValueSet !== undefined ? propValueSet.has(value) : propValues.includes(value);\n}\n\ninterface GetResponsiveStylesOptions {\n className: string;\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveStyles({ className, customProperties, ...args }: GetResponsiveStylesOptions) {\n const responsiveClassNames = getResponsiveClassNames({\n allowArbitraryValues: true,\n className,\n ...args,\n });\n\n const responsiveCustomProperties = getResponsiveCustomProperties({ customProperties, ...args });\n return [responsiveClassNames, responsiveCustomProperties] as const;\n}\n\ninterface GetResponsiveClassNamesOptions {\n allowArbitraryValues?: boolean;\n className: string;\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveClassNames({ allowArbitraryValues, value, className, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveClassNamesOptions): string | undefined {\n if (!value) {\n return undefined;\n }\n\n if (typeof value === 'string') {\n if (includesValue(propValues, propValueSet, value)) {\n return getBaseClassName(className, value, parseValue);\n }\n return allowArbitraryValues ? className : undefined;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n const classNames: string[] = [];\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n if (value !== undefined) {\n if (includesValue(propValues, propValueSet, value)) {\n const baseClassName = getBaseClassName(className, value, parseValue);\n const bpClassName = bp === 'initial' ? baseClassName : `${bp}:${baseClassName}`;\n classNames.push(bpClassName);\n } else if (allowArbitraryValues) {\n const bpClassName = bp === 'initial' ? className : `${bp}:${className}`;\n classNames.push(bpClassName);\n }\n }\n }\n\n return classNames.length > 0 ? classNames.join(' ') : '';\n }\n\n if (allowArbitraryValues) {\n return className;\n }\n}\n\nfunction getBaseClassName(className: string, value: string, parseValue: (value: string) => string | undefined): string {\n const delimiter = className ? '-' : '';\n const matchedValue = parseValue(value);\n const isNegative = matchedValue?.startsWith('-');\n const minus = isNegative ? '-' : '';\n const absoluteValue = isNegative ? matchedValue?.substring(1) : matchedValue;\n return `${minus}${className}${delimiter}${absoluteValue}`;\n}\n\ninterface GetResponsiveCustomPropertiesOptions {\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveCustomProperties({ customProperties, value, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveCustomPropertiesOptions) {\n // Don't generate custom properties if the value is not arbitrary\n if (!value || (typeof value === 'string' && includesValue(propValues, propValueSet, value))) {\n return undefined;\n }\n\n let styles: Record<string, string | undefined> | undefined;\n\n if (typeof value === 'string') {\n const parsed = parseValue(value);\n styles = {};\n for (const customProperty of customProperties) {\n styles[customProperty] = parsed;\n }\n return styles;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n // Don't generate a custom property if the value is not arbitrary\n if (value === undefined || includesValue(propValues, propValueSet, value)) {\n continue;\n }\n\n const parsed = parseValue(value);\n styles ??= {};\n for (const customProperty of customProperties) {\n const bpProperty = bp === 'initial' ? customProperty : `${customProperty}-${bp}`;\n styles[bpProperty] = parsed;\n }\n }\n }\n\n return styles ?? {};\n}\n\nexport { getResponsiveStyles, getResponsiveCustomProperties, getResponsiveClassNames };\n", "type InlineStyle =\n | React.CSSProperties\n | Record<string, string | number | null | undefined>\n | undefined;\n\n// Merges CSS styles like `classNames` merges CSS classes\n// Optimized to avoid object spread in loop - uses Object.assign for in-place mutation\nexport function mergeStyles(...styles: Array<InlineStyle>): InlineStyle {\n let result: Record<string, string | number | null | undefined> | undefined;\n\n for (const style of styles) {\n if (style) {\n if (result === undefined) {\n // First non-empty style - create result object\n result = {};\n }\n Object.assign(result, style);\n }\n }\n\n return result;\n}\n", "import type { PropDef, GetPropDefTypes } from './prop-def.js';\n\n// prettier-ignore\nconst marginValues = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9', '-10', '-11', '-12'] as const;\n\nconst marginPropDefs = {\n /**\n * Sets the CSS **margin** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * m=\"4\"\n * m=\"100px\"\n * m={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin\n */\n m: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-m',\n customProperties: ['--m'],\n },\n /**\n * Sets the CSS **margin-left** and **margin-right** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mx=\"4\"\n * mx=\"100px\"\n * mx={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mx: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mx',\n customProperties: ['--ml', '--mr'],\n },\n /**\n * Sets the CSS **margin-top** and **margin-bottom** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * my=\"4\"\n * my=\"100px\"\n * my={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n my: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-my',\n customProperties: ['--mt', '--mb'],\n },\n /**\n * Sets the CSS **margin-top** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mt=\"4\"\n * mt=\"100px\"\n * mt={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n */\n mt: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mt',\n customProperties: ['--mt'],\n },\n /**\n * Sets the CSS **margin-right** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mr=\"4\"\n * mr=\"100px\"\n * mr={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mr: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mr',\n customProperties: ['--mr'],\n },\n /**\n * Sets the CSS **margin-bottom** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mb=\"4\"\n * mb=\"100px\"\n * mb={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n mb: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mb',\n customProperties: ['--mb'],\n },\n /**\n * Sets the CSS **margin-left** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * ml=\"4\"\n * ml=\"100px\"\n * ml={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n */\n ml: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-ml',\n customProperties: ['--ml'],\n },\n} satisfies {\n m: PropDef<(typeof marginValues)[number]>;\n mx: PropDef<(typeof marginValues)[number]>;\n my: PropDef<(typeof marginValues)[number]>;\n mt: PropDef<(typeof marginValues)[number]>;\n mr: PropDef<(typeof marginValues)[number]>;\n mb: PropDef<(typeof marginValues)[number]>;\n ml: PropDef<(typeof marginValues)[number]>;\n};\n\ntype MarginProps = GetPropDefTypes<typeof marginPropDefs>;\n\nexport { marginPropDefs };\nexport type { MarginProps };\n"],
5
+ "mappings": "0jBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,aAAAE,EAAA,SAAAC,EAAA,SAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAN,IAAA,IAAAO,EAAuB,oBACvBC,EAAuB,yBACvBC,EAAsC,oBCAtC,IAAMC,EAAiB,CAKrB,QAAS,CACP,KAAM,SACR,CACF,ECPA,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAAS,OAAQ,OAAQ,KAAK,EAIvP,IAAMC,EAAe,CACnB,MAAO,CACL,KAAM,OACN,OAAQC,EACR,QAAS,MACX,CACF,ECTA,IAAMC,EAAQ,CAAC,IAAK,IAAK,IAAK,GA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BAAkBL,CAAS,GAEtF,gBAAC,QAAK,UAAU,kDAAkDa,CAAS,EAC3E,gBAAC,QAAK,UAAU,8DACbA,CACH,CACF,CAEJ,CACF,EACAD,EAAY,YAAc,eAQ1B,IAAMG,EAAoB,aACxB,CAACjB,EAAOC,IAAiB,CACvB,GAAM,CAAE,UAAAC,EAAW,GAAGgB,CAAa,EAAId,EAAaJ,EAAOK,CAAc,EACzE,OACE,gBAAC,EAAAC,KAAc,QAAd,CACE,GAAGY,EACJ,IAAKjB,EACL,aAAW,EAAAM,SAAW,iBAAkBL,CAAS,EACjD,YAAU,SACV,cAAY,OACd,CAEJ,CACF,EACAe,EAAY,YAAc",
6
+ "names": ["tabs_exports", "__export", "TabsContent", "TabsList", "TabsRoot", "TabsTrigger", "__toCommonJS", "React", "import_classnames", "import_radix_ui", "asChildPropDef", "accentColors", "colorPropDef", "accentColors", "sizes", "wrapValues", "justifyValues", "materials", "baseTabListPropDefs", "colorPropDef", "tabsRootPropDefs", "asChildPropDef", "tabsContentPropDefs", "import_classnames", "EMPTY_VALUES", "EMPTY_SET", "compile", "propDefs", "merged", "styling", "passthrough", "stylingKeys", "key", "def", "values", "compiled", "cacheRoot", "getCompiledPropDefs", "node", "i", "propDef", "child", "breakpoints", "breakpointSet", "hasOwnProperty", "obj", "key", "breakpointSet", "isResponsiveObject", "obj", "key", "includesValue", "propValues", "propValueSet", "value", "getResponsiveStyles", "className", "customProperties", "args", "responsiveClassNames", "getResponsiveClassNames", "responsiveCustomProperties", "getResponsiveCustomProperties", "allowArbitraryValues", "parseValue", "getBaseClassName", "isResponsiveObject", "object", "classNames", "bp", "hasOwnProperty", "breakpointSet", "baseClassName", "bpClassName", "delimiter", "matchedValue", "isNegative", "minus", "absoluteValue", "styles", "parsed", "customProperty", "bpProperty", "mergeStyles", "styles", "result", "style", "normalizeResponsiveValue", "value", "propDef", "initial", "changed", "extractProps", "props", "propDefs", "styling", "passthrough", "stylingKeys", "getCompiledPropDefs", "extractedProps", "key", "i", "isResponsiveObject", "style", "classes", "propClassName", "getResponsiveClassNames", "propClassNames", "propCustomProperties", "getResponsiveStyles", "mergeStyles", "classNames", "marginValues", "marginPropDefs", "TabsRoot", "props", "forwardedRef", "className", "rootProps", "extractProps", "marginPropDefs", "TabsPrimitive", "classNames", "TabsList", "color", "materialProp", "listProps", "baseTabListPropDefs", "material", "TabsTrigger", "children", "triggerProps", "TabsContent", "contentProps"]
7
7
  }
@@ -1,2 +1,2 @@
1
- "use strict";var t=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var m=(o,e)=>{for(var r in e)t(o,r,{get:e[r],enumerable:!0})},d=(o,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of c(e))!i.call(o,s)&&s!==r&&t(o,s,{get:()=>e[s],enumerable:!(n=u(e,s))||n.enumerable});return o};var y=o=>d(t({},"__esModule",{value:!0}),o);var w={};m(w,{tabsContentPropDefs:()=>C,tabsListPropDefs:()=>l,tabsRootPropDefs:()=>v});module.exports=y(w);var a={asChild:{type:"boolean"}};var b=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"];var p={color:{type:"enum",values:b,default:void 0}};var D=["1","2","3","4"],P=["nowrap","wrap","wrap-reverse"],g=["start","center","end"],f=["solid","translucent"],l={size:{type:"enum",className:"rt-r-size",values:D,default:"2",responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:P,responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:g,responsive:!0},...p,material:{type:"enum",values:f,default:void 0},panelBackground:{type:"enum",values:f,default:void 0}};var v={...a},C={...a};
1
+ "use strict";var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var u=(o,e)=>{for(var r in e)t(o,r,{get:e[r],enumerable:!0})},m=(o,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of c(e))!i.call(o,s)&&s!==r&&t(o,s,{get:()=>e[s],enumerable:!(n=l(e,s))||n.enumerable});return o};var y=o=>m(t({},"__esModule",{value:!0}),o);var w={};u(w,{tabsContentPropDefs:()=>g,tabsListPropDefs:()=>f,tabsRootPropDefs:()=>v});module.exports=y(w);var a={asChild:{type:"boolean"}};var d=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"];var p={color:{type:"enum",values:d,default:void 0}};var b=["1","2","3","4"],D=["nowrap","wrap","wrap-reverse"],P=["start","center","end"],C=["solid","translucent"],f={size:{type:"enum",className:"rt-r-size",values:b,default:"2",responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:D,responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:P,responsive:!0},...p,material:{type:"enum",values:C,default:void 0}};var v={...a},g={...a};
2
2
  //# sourceMappingURL=tabs.props.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/tabs.props.tsx", "../../../src/props/as-child.prop.ts", "../../../src/props/color.prop.ts", "../../../src/components/_internal/base-tab-list.props.ts"],
4
- "sourcesContent": ["import { asChildPropDef } from '../props/as-child.prop.js';\n\nconst tabsRootPropDefs = {\n ...asChildPropDef,\n};\n\nconst tabsContentPropDefs = {\n ...asChildPropDef,\n};\n\nexport { baseTabListPropDefs as tabsListPropDefs } from './_internal/base-tab-list.props.js';\nexport { tabsRootPropDefs, tabsContentPropDefs };\n", "import type { PropDef } from './prop-def.js';\n\nconst asChildPropDef = {\n /**\n * Composes the component into its immediate child instead of rendering its own HTML element.\n * You\u2019ll have to provide a single React Element child.\n */\n asChild: {\n type: 'boolean',\n },\n} satisfies {\n asChild: PropDef<boolean>;\n};\n\nexport { asChildPropDef };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code, Callout,\n// UserCard): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\nconst justifyValues = ['start', 'center', 'end'] as const;\nconst panelBackgrounds = ['solid', 'translucent'] as const;\n\nconst baseTabListPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n wrap: {\n type: 'enum',\n className: 'rt-r-fw',\n values: wrapValues,\n responsive: true,\n },\n justify: {\n type: 'enum',\n className: 'rt-r-jc',\n values: justifyValues,\n responsive: true,\n },\n ...colorPropDef,\n material: { type: 'enum', values: panelBackgrounds, default: undefined },\n /** @deprecated Use `material`. Removed in 0.15.0. */\n panelBackground: { type: 'enum', values: panelBackgrounds, default: undefined },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n material: PropDef<(typeof panelBackgrounds)[number] | undefined>;\n panelBackground: PropDef<(typeof panelBackgrounds)[number] | undefined>;\n};\n\nexport { baseTabListPropDefs };\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,EAAA,qBAAAC,EAAA,qBAAAC,IAAA,eAAAC,EAAAL,GCEA,IAAMM,EAAiB,CAKrB,QAAS,CACP,KAAM,SACR,CACF,ECPA,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAAS,OAAQ,OAAQ,KAAK,EAIvP,IAAMC,EAAe,CACnB,MAAO,CACL,KAAM,OACN,OAAQC,EACR,QAAS,MACX,CACF,ECTA,IAAMC,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAa,CAAC,SAAU,OAAQ,cAAc,EAC9CC,EAAgB,CAAC,QAAS,SAAU,KAAK,EACzCC,EAAmB,CAAC,QAAS,aAAa,EAE1CC,EAAsB,CAC1B,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQJ,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,KAAM,CACJ,KAAM,OACN,UAAW,UACX,OAAQC,EACR,WAAY,EACd,EACA,QAAS,CACP,KAAM,OACN,UAAW,UACX,OAAQC,EACR,WAAY,EACd,EACA,GAAGG,EACH,SAAU,CAAE,KAAM,OAAQ,OAAQF,EAAkB,QAAS,MAAU,EAEvE,gBAAiB,CAAE,KAAM,OAAQ,OAAQA,EAAkB,QAAS,MAAU,CAChF,EHzBA,IAAMG,EAAmB,CACvB,GAAGC,CACL,EAEMC,EAAsB,CAC1B,GAAGD,CACL",
6
- "names": ["tabs_props_exports", "__export", "tabsContentPropDefs", "baseTabListPropDefs", "tabsRootPropDefs", "__toCommonJS", "asChildPropDef", "accentColors", "colorPropDef", "accentColors", "sizes", "wrapValues", "justifyValues", "panelBackgrounds", "baseTabListPropDefs", "colorPropDef", "tabsRootPropDefs", "asChildPropDef", "tabsContentPropDefs"]
4
+ "sourcesContent": ["import { asChildPropDef } from '../props/as-child.prop.js';\n\nconst tabsRootPropDefs = {\n ...asChildPropDef,\n};\n\nconst tabsContentPropDefs = {\n ...asChildPropDef,\n};\n\nexport { baseTabListPropDefs as tabsListPropDefs } from './_internal/base-tab-list.props.js';\nexport { tabsRootPropDefs, tabsContentPropDefs };\n", "import type { PropDef } from './prop-def.js';\n\nconst asChildPropDef = {\n /**\n * Composes the component into its immediate child instead of rendering its own HTML element.\n * You\u2019ll have to provide a single React Element child.\n */\n asChild: {\n type: 'boolean',\n },\n} satisfies {\n asChild: PropDef<boolean>;\n};\n\nexport { asChildPropDef };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\nconst justifyValues = ['start', 'center', 'end'] as const;\nconst materials = ['solid', 'translucent'] as const;\n\nconst baseTabListPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n wrap: {\n type: 'enum',\n className: 'rt-r-fw',\n values: wrapValues,\n responsive: true,\n },\n justify: {\n type: 'enum',\n className: 'rt-r-jc',\n values: justifyValues,\n responsive: true,\n },\n ...colorPropDef,\n material: { type: 'enum', values: materials, default: undefined },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n material: PropDef<(typeof materials)[number] | undefined>;\n};\n\nexport { baseTabListPropDefs };\n"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,EAAA,qBAAAC,EAAA,qBAAAC,IAAA,eAAAC,EAAAL,GCEA,IAAMM,EAAiB,CAKrB,QAAS,CACP,KAAM,SACR,CACF,ECPA,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAAS,OAAQ,OAAQ,KAAK,EAIvP,IAAMC,EAAe,CACnB,MAAO,CACL,KAAM,OACN,OAAQC,EACR,QAAS,MACX,CACF,ECTA,IAAMC,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAa,CAAC,SAAU,OAAQ,cAAc,EAC9CC,EAAgB,CAAC,QAAS,SAAU,KAAK,EACzCC,EAAY,CAAC,QAAS,aAAa,EAEnCC,EAAsB,CAC1B,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQJ,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,KAAM,CACJ,KAAM,OACN,UAAW,UACX,OAAQC,EACR,WAAY,EACd,EACA,QAAS,CACP,KAAM,OACN,UAAW,UACX,OAAQC,EACR,WAAY,EACd,EACA,GAAGG,EACH,SAAU,CAAE,KAAM,OAAQ,OAAQF,EAAW,QAAS,MAAU,CAClE,EHvBA,IAAMG,EAAmB,CACvB,GAAGC,CACL,EAEMC,EAAsB,CAC1B,GAAGD,CACL",
6
+ "names": ["tabs_props_exports", "__export", "tabsContentPropDefs", "baseTabListPropDefs", "tabsRootPropDefs", "__toCommonJS", "asChildPropDef", "accentColors", "colorPropDef", "accentColors", "sizes", "wrapValues", "justifyValues", "materials", "baseTabListPropDefs", "colorPropDef", "tabsRootPropDefs", "asChildPropDef", "tabsContentPropDefs"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../src/components/text-area.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5D,KAAK,gBAAgB,GAAG,eAAe,CAAC,OAAO,gBAAgB,CAAC,GAAG;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,UAAU,aACR,SAAQ,qBAAqB,CAAC,UAAU,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC,EACxE,WAAW,EACX,gBAAgB;CAAG;AAEvB,QAAA,MAAM,QAAQ,2FAqEZ,CAAC;AAIH,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../src/components/text-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5D,KAAK,gBAAgB,GAAG,eAAe,CAAC,OAAO,gBAAgB,CAAC,GAAG;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,UAAU,aACR,SAAQ,qBAAqB,CAAC,UAAU,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC,EACxE,WAAW,EACX,gBAAgB;CAAG;AAEvB,QAAA,MAAM,QAAQ,2FAiEZ,CAAC;AAIH,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";var K=Object.create;var P=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var W=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var L=(r,e)=>{for(var t in e)P(r,t,{get:e[t],enumerable:!0})},N=(r,e,t,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q(e))!_.call(r,i)&&i!==t&&P(r,i,{get:()=>e[i],enumerable:!(p=U(e,i))||p.enumerable});return r};var b=(r,e,t)=>(t=r!=null?K(W(r)):{},N(e||!r||!r.__esModule?P(t,"default",{value:r,enumerable:!0}):t,r)),Y=r=>N(P({},"__esModule",{value:!0}),r);var le={};L(le,{TextArea:()=>$});module.exports=Y(le);var d=b(require("react")),I=b(require("classnames"));function C(r){return r==="classic"?"raised":(r==="override"&&void 0,r)}var F=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"];var V={color:{type:"enum",values:F,default:void 0}};var H=["none","small","medium","large","full"],k={radius:{type:"enum",values:H,default:void 0}};var J=["1","2","3","4"],Q=["raised","surface","soft","outline","ghost","classic"],X=["none","vertical","horizontal","both"],Z=["solid","translucent"],ee=["solid","translucent"],w={size:{type:"enum",className:"rt-r-size",values:J,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:Q,default:"raised",parseValue:C},resize:{type:"enum",className:"rt-r-resize",values:X,responsive:!0},panelBackground:{type:"enum",values:Z,default:void 0},material:{type:"enum",values:ee,default:void 0},error:{type:"boolean",default:!1},errorMessage:{type:"string",default:void 0},isInvalid:{type:"boolean"},required:{type:"boolean",default:!1},"aria-describedby":{type:"string",default:void 0},"aria-labelledby":{type:"string",default:void 0},...V,...k};var M=b(require("classnames"));var re=[],te=new Set;function se(r){let e=Object.assign({},...r),t=[],p=[],i=new Set;for(let a in e){let o=e[a],l=o.values??re,n={key:a,type:o.type,default:o.default,hasDefault:o.default!==void 0,responsive:"responsive"in o,className:o.className,customProperties:o.customProperties,parseValue:o.parseValue,values:l,valueSet:l.length>0?new Set(l):te,enumValueSet:o.type==="enum"?new Set([o.default,...l]):void 0};o.className?(t.push(n),i.add(a)):(n.hasDefault||o.type==="enum")&&p.push(n)}return{styling:t,passthrough:p,stylingKeys:i}}var ne={children:new WeakMap};function j(r){let e=ne;for(let t=0;t<r.length;t++){let p=r[t],i=e.children.get(p);i===void 0&&(i={children:new WeakMap},e.children.set(p,i)),e=i}return e.compiled??(e.compiled=se(r))}var oe=["initial","xs","sm","md","lg","xl"],R=new Set(oe);function S(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var ie=new Set(["initial","xs","sm","md","lg","xl"]);function m(r){if(typeof r!="object"||r===null)return!1;for(let e in r)if(ie.has(e))return!0;return!1}function v(r,e,t){return e!==void 0?e.has(t):r.includes(t)}function O({className:r,customProperties:e,...t}){let p=x({allowArbitraryValues:!0,className:r,...t}),i=ae({customProperties:e,...t});return[p,i]}function x({allowArbitraryValues:r,value:e,className:t,propValues:p,propValueSet:i,parseValue:a=o=>o}){if(e){if(typeof e=="string")return v(p,i,e)?A(t,e,a):r?t:void 0;if(m(e)){let o=e,l=[];for(let n in o){if(!S(o,n)||!R.has(n))continue;let s=o[n];if(s!==void 0){if(v(p,i,s)){let f=A(t,s,a),u=n==="initial"?f:`${n}:${f}`;l.push(u)}else if(r){let f=n==="initial"?t:`${n}:${t}`;l.push(f)}}}return l.length>0?l.join(" "):""}if(r)return t}}function A(r,e,t){let p=r?"-":"",i=t(e),a=i?.startsWith("-"),o=a?"-":"",l=a?i?.substring(1):i;return`${o}${r}${p}${l}`}function ae({customProperties:r,value:e,propValues:t,propValueSet:p,parseValue:i=a=>a}){if(!e||typeof e=="string"&&v(t,p,e))return;let a;if(typeof e=="string"){let o=i(e);a={};for(let l of r)a[l]=o;return a}if(m(e)){let o=e;for(let l in o){if(!S(o,l)||!R.has(l))continue;let n=o[l];if(n===void 0||v(t,p,n))continue;let s=i(n);a??(a={});for(let f of r){let u=l==="initial"?f:`${f}-${l}`;a[u]=s}}}return a??{}}function T(...r){let e;for(let t of r)t&&(e===void 0&&(e={}),Object.assign(e,t));return e}function pe(r,e){let t=r.initial,p=!1;return e.hasDefault&&t===void 0&&(t=e.default,p=!0),e.enumValueSet!==void 0&&!e.enumValueSet.has(t)&&(t=e.default,p=!0),p?{...r,initial:t}:r}function E(r,...e){let{styling:t,passthrough:p,stylingKeys:i}=j(e),a={};for(let n in r)i.has(n)||(a[n]=r[n]);for(let n=0;n<p.length;n++){let s=p[n],f=a[s.key];if(f===void 0){s.hasDefault&&(a[s.key]=s.default);continue}s.enumValueSet!==void 0&&!s.enumValueSet.has(f)&&!m(f)&&(a[s.key]=s.default)}let o,l=[];for(let n=0;n<t.length;n++){let s=t[n],f=r[s.key];if(f===void 0&&s.hasDefault&&(f=s.default),s.enumValueSet!==void 0&&!s.enumValueSet.has(f)&&!m(f)&&(f=s.default),!!f){if(m(f)){if(!s.responsive)continue;f=pe(f,s)}if(s.type==="enum"){let u=x({allowArbitraryValues:!1,value:f,className:s.className,propValues:s.values,propValueSet:s.valueSet,parseValue:s.parseValue});u&&l.push(u);continue}if(s.type==="string"||s.type==="enum | string"){let[u,y]=O({className:s.className,customProperties:s.customProperties,propValues:s.type==="string"?[]:s.values,propValueSet:s.type==="string"?void 0:s.valueSet,parseValue:s.parseValue,value:f});y&&(o=T(o,y)),u&&l.push(u);continue}if(s.type==="boolean"){l.push(s.className);continue}}}return a.className=(0,M.default)(l.length>0?l.join(" "):void 0,r.className),a.style=T(o,r.style),a}var c=["0","1","2","3","4","5","6","7","8","9","10","11","12","-1","-2","-3","-4","-5","-6","-7","-8","-9","-10","-11","-12"],B={m:{type:"enum | string",values:c,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:c,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:c,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}};var $=d.forwardRef((r,e)=>{let{className:t,color:p,radius:i,panelBackground:a,material:o,style:l,...n}=E(r,w,B),s=o||a,f=d.useId(),{"aria-describedby":u,"aria-labelledby":y}=n,D=n.error||n.isInvalid;n.isInvalid!==void 0&&n.isInvalid!==!1&&void 0;let h=d.useMemo(()=>{let g=[];return n.errorMessage&&g.push(f),u&&g.push(u),g.length>0?g.join(" "):void 0},[n.errorMessage,u,f]),z=d.useMemo(()=>({"aria-invalid":D,"aria-describedby":h,"aria-labelledby":y}),[D,h,y]),{error:fe,errorMessage:ue,isInvalid:de,required:me,"aria-describedby":ce,"aria-labelledby":ye,...G}=n;return d.createElement("div",{"data-accent-color":p,"data-radius":i,"data-panel-background":s,"data-material":s,className:(0,I.default)("rt-TextAreaRoot",t,{"rt-error":D}),style:l},d.createElement("textarea",{className:"rt-reset rt-TextAreaInput",ref:e,...G,...z}),n.errorMessage&&d.createElement("div",{id:f,className:"rt-TextAreaErrorMessage",role:"alert"},n.errorMessage))});$.displayName="TextArea";
1
+ "use strict";var K=Object.create;var P=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var U=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var I=(r,e)=>{for(var t in e)P(r,t,{get:e[t],enumerable:!0})},N=(r,e,t,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q(e))!W.call(r,i)&&i!==t&&P(r,i,{get:()=>e[i],enumerable:!(l=B(e,i))||l.enumerable});return r};var v=(r,e,t)=>(t=r!=null?K(U(r)):{},N(e||!r||!r.__esModule?P(t,"default",{value:r,enumerable:!0}):t,r)),_=r=>N(P({},"__esModule",{value:!0}),r);var ie={};I(ie,{TextArea:()=>$});module.exports=_(ie);var d=v(require("react")),E=v(require("classnames"));var L=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"];var h={color:{type:"enum",values:L,default:void 0}};var Y=["none","small","medium","large","full"],C={radius:{type:"enum",values:Y,default:void 0}};var F=["1","2","3","4"],H=["raised","surface","soft","outline","ghost"],J=["none","vertical","horizontal","both"],Q=["solid","translucent"],V={size:{type:"enum",className:"rt-r-size",values:F,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:H,default:"raised"},resize:{type:"enum",className:"rt-r-resize",values:J,responsive:!0},material:{type:"enum",values:Q,default:void 0},error:{type:"boolean",default:!1},errorMessage:{type:"string",default:void 0},required:{type:"boolean",default:!1},"aria-describedby":{type:"string",default:void 0},"aria-labelledby":{type:"string",default:void 0},...h,...C};var O=v(require("classnames"));var X=[],Z=new Set;function ee(r){let e=Object.assign({},...r),t=[],l=[],i=new Set;for(let a in e){let o=e[a],n=o.values??X,p={key:a,type:o.type,default:o.default,hasDefault:o.default!==void 0,responsive:"responsive"in o,className:o.className,customProperties:o.customProperties,parseValue:o.parseValue,values:n,valueSet:n.length>0?new Set(n):Z,enumValueSet:o.type==="enum"?new Set([o.default,...n]):void 0};o.className?(t.push(p),i.add(a)):(p.hasDefault||o.type==="enum")&&l.push(p)}return{styling:t,passthrough:l,stylingKeys:i}}var re={children:new WeakMap};function k(r){let e=re;for(let t=0;t<r.length;t++){let l=r[t],i=e.children.get(l);i===void 0&&(i={children:new WeakMap},e.children.set(l,i)),e=i}return e.compiled??(e.compiled=ee(r))}var te=["initial","xs","sm","md","lg","xl"],b=new Set(te);function R(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var se=new Set(["initial","xs","sm","md","lg","xl"]);function m(r){if(typeof r!="object"||r===null)return!1;for(let e in r)if(se.has(e))return!0;return!1}function D(r,e,t){return e!==void 0?e.has(t):r.includes(t)}function A({className:r,customProperties:e,...t}){let l=S({allowArbitraryValues:!0,className:r,...t}),i=ne({customProperties:e,...t});return[l,i]}function S({allowArbitraryValues:r,value:e,className:t,propValues:l,propValueSet:i,parseValue:a=o=>o}){if(e){if(typeof e=="string")return D(l,i,e)?j(t,e,a):r?t:void 0;if(m(e)){let o=e,n=[];for(let p in o){if(!R(o,p)||!b.has(p))continue;let s=o[p];if(s!==void 0){if(D(l,i,s)){let f=j(t,s,a),u=p==="initial"?f:`${p}:${f}`;n.push(u)}else if(r){let f=p==="initial"?t:`${p}:${t}`;n.push(f)}}}return n.length>0?n.join(" "):""}if(r)return t}}function j(r,e,t){let l=r?"-":"",i=t(e),a=i?.startsWith("-"),o=a?"-":"",n=a?i?.substring(1):i;return`${o}${r}${l}${n}`}function ne({customProperties:r,value:e,propValues:t,propValueSet:l,parseValue:i=a=>a}){if(!e||typeof e=="string"&&D(t,l,e))return;let a;if(typeof e=="string"){let o=i(e);a={};for(let n of r)a[n]=o;return a}if(m(e)){let o=e;for(let n in o){if(!R(o,n)||!b.has(n))continue;let p=o[n];if(p===void 0||D(t,l,p))continue;let s=i(p);a??(a={});for(let f of r){let u=n==="initial"?f:`${f}-${n}`;a[u]=s}}}return a??{}}function x(...r){let e;for(let t of r)t&&(e===void 0&&(e={}),Object.assign(e,t));return e}function oe(r,e){let t=r.initial,l=!1;return e.hasDefault&&t===void 0&&(t=e.default,l=!0),e.enumValueSet!==void 0&&!e.enumValueSet.has(t)&&(t=e.default,l=!0),l?{...r,initial:t}:r}function w(r,...e){let{styling:t,passthrough:l,stylingKeys:i}=k(e),a={};for(let p in r)i.has(p)||(a[p]=r[p]);for(let p=0;p<l.length;p++){let s=l[p],f=a[s.key];if(f===void 0){s.hasDefault&&(a[s.key]=s.default);continue}s.enumValueSet!==void 0&&!s.enumValueSet.has(f)&&!m(f)&&(a[s.key]=s.default)}let o,n=[];for(let p=0;p<t.length;p++){let s=t[p],f=r[s.key];if(f===void 0&&s.hasDefault&&(f=s.default),s.enumValueSet!==void 0&&!s.enumValueSet.has(f)&&!m(f)&&(f=s.default),!!f){if(m(f)){if(!s.responsive)continue;f=oe(f,s)}if(s.type==="enum"){let u=S({allowArbitraryValues:!1,value:f,className:s.className,propValues:s.values,propValueSet:s.valueSet,parseValue:s.parseValue});u&&n.push(u);continue}if(s.type==="string"||s.type==="enum | string"){let[u,y]=A({className:s.className,customProperties:s.customProperties,propValues:s.type==="string"?[]:s.values,propValueSet:s.type==="string"?void 0:s.valueSet,parseValue:s.parseValue,value:f});y&&(o=x(o,y)),u&&n.push(u);continue}if(s.type==="boolean"){n.push(s.className);continue}}}return a.className=(0,O.default)(n.length>0?n.join(" "):void 0,r.className),a.style=x(o,r.style),a}var c=["0","1","2","3","4","5","6","7","8","9","10","11","12","-1","-2","-3","-4","-5","-6","-7","-8","-9","-10","-11","-12"],M={m:{type:"enum | string",values:c,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:c,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:c,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:c,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}};var $=d.forwardRef((r,e)=>{let{className:t,color:l,radius:i,material:a,style:o,...n}=w(r,V,M),p=a,s=d.useId(),{"aria-describedby":f,"aria-labelledby":u}=n,y=n.error,T=d.useMemo(()=>{let g=[];return n.errorMessage&&g.push(s),f&&g.push(f),g.length>0?g.join(" "):void 0},[n.errorMessage,f,s]),z=d.useMemo(()=>({"aria-invalid":y,"aria-describedby":T,"aria-labelledby":u}),[y,T,u]),{error:ae,errorMessage:pe,required:le,"aria-describedby":fe,"aria-labelledby":ue,...G}=n;return d.createElement("div",{"data-accent-color":l,"data-radius":i,"data-material":p,className:(0,E.default)("rt-TextAreaRoot",t,{"rt-error":y}),style:o},d.createElement("textarea",{className:"rt-reset rt-TextAreaInput",ref:e,...G,...z}),n.errorMessage&&d.createElement("div",{id:s,className:"rt-TextAreaErrorMessage",role:"alert"},n.errorMessage))});$.displayName="TextArea";
2
2
  //# sourceMappingURL=text-area.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/text-area.tsx", "../../../src/helpers/parse-variant.ts", "../../../src/props/color.prop.ts", "../../../src/props/radius.prop.ts", "../../../src/components/text-area.props.tsx", "../../../src/helpers/extract-props.ts", "../../../src/helpers/compile-prop-defs.ts", "../../../src/props/prop-def.ts", "../../../src/helpers/has-own-property.ts", "../../../src/helpers/is-responsive-object.ts", "../../../src/helpers/get-responsive-styles.ts", "../../../src/helpers/merge-styles.ts", "../../../src/props/margin.props.ts"],
4
- "sourcesContent": ["import { warnDeprecated } from '../helpers/warn-deprecated.js';\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nimport { textAreaPropDefs } from './text-area.props.js';\nimport { extractProps } from '../helpers/extract-props.js';\nimport { marginPropDefs } from '../props/margin.props.js';\n\nimport type { MarginProps } from '../props/margin.props.js';\nimport type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';\nimport type { GetPropDefTypes } from '../props/prop-def.js';\n\ntype TextAreaElement = React.ElementRef<'textarea'>;\ntype TextAreaOwnProps = GetPropDefTypes<typeof textAreaPropDefs> & {\n defaultValue?: string;\n value?: string;\n};\ninterface TextAreaProps\n extends ComponentPropsWithout<'textarea', RemovedProps | 'size' | 'value'>,\n MarginProps,\n TextAreaOwnProps {}\n\nconst TextArea = React.forwardRef<TextAreaElement, TextAreaProps>((props, forwardedRef) => {\n const { className, color, radius, panelBackground, material, style, ...textAreaProps } =\n extractProps(props, textAreaPropDefs, marginPropDefs);\n const effectiveMaterial = material || panelBackground;\n\n // Generate unique IDs for accessibility\n const errorId = React.useId();\n\n const { 'aria-describedby': ariaDescribedby, 'aria-labelledby': ariaLabelledby } = textAreaProps;\n\n // Determine invalid state\n const isInvalid = textAreaProps.error || textAreaProps.isInvalid;\n if (textAreaProps.isInvalid !== undefined && textAreaProps.isInvalid !== false) {\n warnDeprecated('`isInvalid` is deprecated and will be removed in 0.15.0. Use `error`, the one name every field uses for an invalid value.');\n }\n\n // Build aria-describedby string\n const describedBy = React.useMemo(() => {\n const parts = [];\n if (textAreaProps.errorMessage) parts.push(errorId);\n if (ariaDescribedby) parts.push(ariaDescribedby);\n return parts.length > 0 ? parts.join(' ') : undefined;\n }, [textAreaProps.errorMessage, ariaDescribedby, errorId]);\n\n // Build aria attributes\n const ariaProps = React.useMemo(\n () => ({\n 'aria-invalid': isInvalid,\n 'aria-describedby': describedBy,\n 'aria-labelledby': ariaLabelledby,\n }),\n [isInvalid, describedBy, ariaLabelledby],\n );\n\n // Filter out our custom props to avoid DOM warnings\n const {\n error,\n errorMessage,\n isInvalid: _isInvalid,\n required,\n 'aria-describedby': _ariaDescribedby,\n 'aria-labelledby': _ariaLabelledby,\n ...nativeTextAreaProps\n } = textAreaProps;\n\n return (\n <div\n data-accent-color={color}\n data-radius={radius}\n data-panel-background={effectiveMaterial}\n data-material={effectiveMaterial}\n className={classNames('rt-TextAreaRoot', className, {\n 'rt-error': isInvalid,\n })}\n style={style}\n >\n <textarea\n className=\"rt-reset rt-TextAreaInput\"\n ref={forwardedRef}\n {...nativeTextAreaProps}\n {...ariaProps}\n />\n {textAreaProps.errorMessage && (\n <div id={errorId} className=\"rt-TextAreaErrorMessage\" role=\"alert\">\n {textAreaProps.errorMessage}\n </div>\n )}\n </div>\n );\n});\n\nTextArea.displayName = 'TextArea';\n\nexport { TextArea };\nexport type { TextAreaProps };\n", "import { warnDeprecated } from './warn-deprecated.js';\n\n/**\n * `classic` was renamed `raised` in 0.14.0. The old name still renders, as `raised`, with a\n * one-time warning in development. Button's `override` is not a look but a way out of the\n * styles, so it warns too. Both are removed in 0.15.0.\n */\nfunction parseVariant(value: string): string {\n if (value === 'classic') {\n warnDeprecated('`variant=\"classic\"` is deprecated and will be removed in 0.15.0. Use `variant=\"raised\"`.');\n return 'raised';\n }\n if (value === 'override') {\n warnDeprecated(\n '`variant=\"override\"` is deprecated and will be removed in 0.15.0. Style the component with `className`, `style` or its CSS variables instead.',\n );\n }\n return value;\n}\n\nexport { parseVariant };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code, Callout,\n// UserCard): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import type { PropDef } from './prop-def.js';\n\nconst radii = ['none', 'small', 'medium', 'large', 'full'] as const;\n\nconst radiusPropDef = {\n radius: {\n type: 'enum',\n values: radii,\n default: undefined,\n },\n} satisfies {\n radius: PropDef<(typeof radii)[number]>;\n};\n\nexport { radiusPropDef, radii };\n", "import { parseVariant } from '../helpers/parse-variant.js';\nimport { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'surface', 'soft', 'outline', 'ghost', 'classic'] as const;\nconst resizeValues = ['none', 'vertical', 'horizontal', 'both'] as const;\nconst panelBackgrounds = ['solid', 'translucent'] as const;\nconst materials = ['solid', 'translucent'] as const;\n\n// prettier-ignore\nconst textAreaPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'rt-variant', values: variants, default: 'raised', parseValue: parseVariant },\n resize: { type: 'enum', className: 'rt-r-resize', values: resizeValues, responsive: true },\n panelBackground: { type: 'enum', values: panelBackgrounds, default: undefined },\n material: { type: 'enum', values: materials, default: undefined },\n // Error and validation props\n error: { type: 'boolean', default: false },\n errorMessage: { type: 'string', default: undefined },\n /** @deprecated Use `error`. Removed in 0.15.0. */\n isInvalid: { type: 'boolean' },\n required: { type: 'boolean', default: false },\n // Accessibility props\n 'aria-describedby': { type: 'string', default: undefined },\n 'aria-labelledby': { type: 'string', default: undefined },\n ...colorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n resize: PropDef<(typeof resizeValues)[number]>;\n panelBackground: PropDef<(typeof panelBackgrounds)[number] | undefined>;\n material: PropDef<(typeof materials)[number] | undefined>;\n error: PropDef<boolean>;\n errorMessage: PropDef<string | undefined>;\n isInvalid: PropDef<boolean>;\n required: PropDef<boolean>;\n 'aria-describedby': PropDef<string | undefined>;\n 'aria-labelledby': PropDef<string | undefined>;\n};\n\nexport { textAreaPropDefs };\n", "import classNames from 'classnames';\n\nimport { getCompiledPropDefs } from './compile-prop-defs.js';\nimport { getResponsiveClassNames, getResponsiveStyles } from './get-responsive-styles.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\nimport { mergeStyles } from './merge-styles.js';\n\nimport type { CompiledPropDef } from './compile-prop-defs.js';\nimport type * as React from 'react';\nimport type { PropDef } from '../props/prop-def.js';\n\ntype PropDefsWithClassName<T> = T extends Record<string, PropDef> ? { [K in keyof T]: T[K] extends { className: string } ? K : never }[keyof T] : never;\n\ntype ResponsiveValue = Record<string, string | undefined>;\n\n/**\n * Fills in the `initial` breakpoint of a responsive value from the prop def's\n * default, and coerces an invalid `initial` enum value back to that default.\n *\n * Returns the value untouched when nothing needs changing, and a copy otherwise\n * \u2014 callers routinely hoist responsive objects to module scope, so mutating the\n * caller's object would corrupt it for every later render.\n */\nfunction normalizeResponsiveValue(value: ResponsiveValue, propDef: CompiledPropDef) {\n let initial = value.initial;\n let changed = false;\n\n if (propDef.hasDefault && initial === undefined) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(initial)) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n return changed ? { ...value, initial } : value;\n}\n\n/**\n * Takes props, checks them against prop defs that have a `className` on them,\n * adds necessary CSS classes and inline styles, and returns the props without\n * the corresponding prop defs that were used to formulate the new `className`\n * and `style` values. Also applies prop def defaults to every prop.\n */\nfunction extractProps<P extends { className?: string; style?: React.CSSProperties; [key: string]: any }, T extends Record<string, PropDef>[]>(\n props: P,\n ...propDefs: T\n): Omit<P & { className?: string; style?: React.CSSProperties }, PropDefsWithClassName<T[number]>> {\n const { styling, passthrough, stylingKeys } = getCompiledPropDefs(propDefs);\n\n // Copy the props that survive to the element rather than spreading and then\n // deleting the styling keys. Deleting off a spread demotes the object to\n // dictionary mode in V8, and this object is on the render path of every\n // component in the library.\n const extractedProps: Record<string, any> = {};\n for (const key in props) {\n if (stylingKeys.has(key)) continue;\n extractedProps[key] = props[key];\n }\n\n for (let i = 0; i < passthrough.length; i++) {\n const propDef = passthrough[i];\n const value = extractedProps[propDef.key];\n\n if (value === undefined) {\n if (propDef.hasDefault) extractedProps[propDef.key] = propDef.default;\n continue;\n }\n\n // Fall back to the default when the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n extractedProps[propDef.key] = propDef.default;\n }\n }\n\n let style: ReturnType<typeof mergeStyles>;\n const classes: string[] = [];\n\n for (let i = 0; i < styling.length; i++) {\n const propDef = styling[i];\n let value = props[propDef.key];\n\n // Apply prop def defaults\n if (value === undefined && propDef.hasDefault) {\n value = propDef.default;\n }\n\n // Apply the default value if the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n value = propDef.default;\n }\n\n if (!value) continue;\n\n if (isResponsiveObject(value)) {\n // Make sure we are not threading through responsive values for non-responsive prop defs\n if (!propDef.responsive) continue;\n value = normalizeResponsiveValue(value, propDef);\n }\n\n if (propDef.type === 'enum') {\n const propClassName = getResponsiveClassNames({\n allowArbitraryValues: false,\n value,\n className: propDef.className!,\n propValues: propDef.values,\n propValueSet: propDef.valueSet,\n parseValue: propDef.parseValue,\n });\n\n if (propClassName) classes.push(propClassName);\n continue;\n }\n\n if (propDef.type === 'string' || propDef.type === 'enum | string') {\n const [propClassNames, propCustomProperties] = getResponsiveStyles({\n className: propDef.className!,\n customProperties: propDef.customProperties!,\n // `string` prop defs have no enum values, so every value is arbitrary\n propValues: propDef.type === 'string' ? [] : propDef.values,\n propValueSet: propDef.type === 'string' ? undefined : propDef.valueSet,\n parseValue: propDef.parseValue,\n value,\n });\n\n if (propCustomProperties) style = mergeStyles(style, propCustomProperties);\n if (propClassNames) classes.push(propClassNames);\n continue;\n }\n\n if (propDef.type === 'boolean') {\n // TODO handle responsive boolean props\n classes.push(propDef.className!);\n continue;\n }\n }\n\n extractedProps.className = classNames(classes.length > 0 ? classes.join(' ') : undefined, props.className);\n extractedProps.style = mergeStyles(style, props.style);\n return extractedProps as ReturnType<typeof extractProps<P, T>>;\n}\n\nexport { extractProps };\n", "import type { PropDef } from '../props/prop-def.js';\n\n/**\n * A prop def pre-processed into the exact shape `extractProps` needs at render\n * time. Everything that can be derived from the static prop def \u2014 enum\n * membership sets, whether the def is responsive, whether it carries a default\n * \u2014 is computed once here instead of on every render.\n */\ninterface CompiledPropDef {\n key: string;\n type: PropDef['type'];\n default: unknown;\n hasDefault: boolean;\n responsive: boolean;\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n /** The prop def's own enum values, kept for the responsive class name helpers. */\n values: readonly string[];\n /** O(1) membership for `values`. */\n valueSet: ReadonlySet<string>;\n /**\n * `values` plus the default, used to coerce invalid enum values back to the\n * default. Only present for `type: 'enum'` \u2014 `'enum | string'` props accept\n * arbitrary strings and must not be coerced.\n */\n enumValueSet?: ReadonlySet<unknown>;\n}\n\ninterface CompiledPropDefs {\n /** Defs that contribute a class name and/or custom properties. */\n styling: CompiledPropDef[];\n /**\n * Defs that pass through to the element but still need a default applied or\n * an invalid enum value coerced. Defs that can do neither are omitted\n * entirely \u2014 they are already correct as passed.\n */\n passthrough: CompiledPropDef[];\n /** Keys consumed by `styling`, so they can be skipped when copying props. */\n stylingKeys: ReadonlySet<string>;\n}\n\nconst EMPTY_VALUES: readonly string[] = [];\nconst EMPTY_SET: ReadonlySet<string> = new Set();\n\nfunction compile(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n const merged: Record<string, PropDef> = Object.assign({}, ...propDefs);\n const styling: CompiledPropDef[] = [];\n const passthrough: CompiledPropDef[] = [];\n const stylingKeys = new Set<string>();\n\n for (const key in merged) {\n // The PropDef union is narrowed per-field below; reading the optional\n // members off the union directly is what the runtime actually needs.\n const def = merged[key] as PropDef & {\n default?: unknown;\n values?: readonly string[];\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n responsive?: true;\n };\n\n const values = def.values ?? EMPTY_VALUES;\n const compiled: CompiledPropDef = {\n key,\n type: def.type,\n default: def.default,\n hasDefault: def.default !== undefined,\n responsive: 'responsive' in def,\n className: def.className,\n customProperties: def.customProperties,\n parseValue: def.parseValue,\n values,\n valueSet: values.length > 0 ? new Set(values) : EMPTY_SET,\n enumValueSet: def.type === 'enum' ? new Set<unknown>([def.default, ...values]) : undefined,\n };\n\n if (def.className) {\n styling.push(compiled);\n stylingKeys.add(key);\n } else if (compiled.hasDefault || def.type === 'enum') {\n // Anything else is copied through untouched, so there is nothing to do.\n passthrough.push(compiled);\n }\n }\n\n return { styling, passthrough, stylingKeys };\n}\n\ninterface CacheNode {\n children: WeakMap<object, CacheNode>;\n compiled?: CompiledPropDefs;\n}\n\nconst cacheRoot: CacheNode = { children: new WeakMap() };\n\n/**\n * Compiles a set of prop defs, memoized on the identity of the prop def objects\n * themselves. Components always pass the same module-level constants, so after\n * the first render of a given component this is a couple of WeakMap lookups\n * instead of merging 50-odd prop defs into a fresh object.\n */\nfunction getCompiledPropDefs(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n let node = cacheRoot;\n\n for (let i = 0; i < propDefs.length; i++) {\n const propDef = propDefs[i];\n let child = node.children.get(propDef);\n if (child === undefined) {\n child = { children: new WeakMap() };\n node.children.set(propDef, child);\n }\n node = child;\n }\n\n return (node.compiled ??= compile(propDefs));\n}\n\nexport { getCompiledPropDefs };\nexport type { CompiledPropDef, CompiledPropDefs };\n", "import type React from 'react';\n\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\ntype Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n\nconst breakpoints = ['initial', 'xs', 'sm', 'md', 'lg', 'xl'] as const;\nconst breakpointSet: Set<string> = new Set(breakpoints);\ntype Breakpoint = (typeof breakpoints)[number];\ntype Responsive<T> = T | Partial<Record<Breakpoint, T>>;\n\ntype BooleanPropDef = {\n type: 'boolean';\n default?: boolean;\n required?: boolean;\n className?: string;\n};\ntype StringPropDef = {\n type: 'string';\n default?: string;\n required?: boolean;\n};\ntype ReactNodePropDef = {\n type: 'ReactNode';\n default?: React.ReactNode;\n required?: boolean;\n};\ntype EnumPropDef<T> = {\n type: 'enum';\n values: readonly T[];\n default?: T;\n required?: boolean;\n};\ntype EnumOrStringPropDef<T> = {\n type: 'enum | string';\n values: readonly T[];\n default?: T | string;\n required?: boolean;\n};\n\ntype NonStylingPropDef = {\n className?: never;\n customProperties?: never;\n parseValue?: never;\n};\n\ntype StylingPropDef = {\n className: string;\n parseValue?: (value: string) => string | undefined;\n};\n\ntype ArbitraryStylingPropDef = {\n className: string;\n customProperties: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n};\n\ntype RegularPropDef<T> =\n | ReactNodePropDef\n | BooleanPropDef\n | (StringPropDef & ArbitraryStylingPropDef)\n | (StringPropDef & NonStylingPropDef)\n | (EnumPropDef<T> & StylingPropDef)\n | (EnumPropDef<T> & NonStylingPropDef)\n | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef)\n | (EnumOrStringPropDef<T> & NonStylingPropDef);\ntype ResponsivePropDef<T = any> = RegularPropDef<T> & { responsive: true };\ntype PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;\n\n// prettier-ignore\ntype GetPropDefType<Def> =\n Def extends BooleanPropDef ? (Def extends ResponsivePropDef ? Responsive<boolean> : boolean)\n : Def extends StringPropDef ? (Def extends ResponsivePropDef ? Responsive<string> : string)\n : Def extends ReactNodePropDef ? (Def extends ResponsivePropDef ? Responsive<React.ReactNode> : React.ReactNode)\n : Def extends EnumOrStringPropDef<infer Type> ?\n Def extends ResponsivePropDef<infer Type extends string> ? Responsive<Union<string, Type>> : Type\n : Def extends EnumPropDef<infer Type> ? (Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type)\n : never;\n\ntype GetPropDefTypes<P> = {\n [K in keyof P]?: GetPropDefType<P[K]>;\n};\n\nexport { breakpoints, breakpointSet };\nexport type {\n PropDef,\n GetPropDefTypes,\n ResponsivePropDef,\n //\n Breakpoint,\n Responsive,\n Union,\n};\n", "/** A util to check whether the object has a key, while inferring the correct key type */\nfunction hasOwnProperty<K extends string | number | symbol>(\n obj: Record<K, unknown>,\n key: string | number | symbol\n): key is K {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexport { hasOwnProperty };\n", "import type { Responsive, Breakpoint } from '../props/prop-def.js';\n\n// Use a Set for O(1) lookup instead of array.includes() which is O(n)\nconst breakpointSet = new Set<string>(['initial', 'xs', 'sm', 'md', 'lg', 'xl']);\n\nexport function isResponsiveObject<Value extends string>(\n obj: Responsive<Value | Omit<string, Value>> | undefined\n): obj is Record<Breakpoint, string> {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n // Use for...in to avoid Object.keys() array allocation\n for (const key in obj) {\n if (breakpointSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n", "import { breakpointSet } from '../props/prop-def.js';\nimport { hasOwnProperty } from './has-own-property.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\n\nimport type { Responsive, Union } from '../props/prop-def.js';\n\n/**\n * Membership test against a prop def's enum values. Callers that already hold a\n * compiled prop def pass `propValueSet` for an O(1) lookup; the handful of call\n * sites that build options inline fall back to scanning the array.\n */\nfunction includesValue(propValues: string[] | readonly string[], propValueSet: ReadonlySet<string> | undefined, value: string): boolean {\n return propValueSet !== undefined ? propValueSet.has(value) : propValues.includes(value);\n}\n\ninterface GetResponsiveStylesOptions {\n className: string;\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveStyles({ className, customProperties, ...args }: GetResponsiveStylesOptions) {\n const responsiveClassNames = getResponsiveClassNames({\n allowArbitraryValues: true,\n className,\n ...args,\n });\n\n const responsiveCustomProperties = getResponsiveCustomProperties({ customProperties, ...args });\n return [responsiveClassNames, responsiveCustomProperties] as const;\n}\n\ninterface GetResponsiveClassNamesOptions {\n allowArbitraryValues?: boolean;\n className: string;\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveClassNames({ allowArbitraryValues, value, className, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveClassNamesOptions): string | undefined {\n if (!value) {\n return undefined;\n }\n\n if (typeof value === 'string') {\n if (includesValue(propValues, propValueSet, value)) {\n return getBaseClassName(className, value, parseValue);\n }\n return allowArbitraryValues ? className : undefined;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n const classNames: string[] = [];\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n if (value !== undefined) {\n if (includesValue(propValues, propValueSet, value)) {\n const baseClassName = getBaseClassName(className, value, parseValue);\n const bpClassName = bp === 'initial' ? baseClassName : `${bp}:${baseClassName}`;\n classNames.push(bpClassName);\n } else if (allowArbitraryValues) {\n const bpClassName = bp === 'initial' ? className : `${bp}:${className}`;\n classNames.push(bpClassName);\n }\n }\n }\n\n return classNames.length > 0 ? classNames.join(' ') : '';\n }\n\n if (allowArbitraryValues) {\n return className;\n }\n}\n\nfunction getBaseClassName(className: string, value: string, parseValue: (value: string) => string | undefined): string {\n const delimiter = className ? '-' : '';\n const matchedValue = parseValue(value);\n const isNegative = matchedValue?.startsWith('-');\n const minus = isNegative ? '-' : '';\n const absoluteValue = isNegative ? matchedValue?.substring(1) : matchedValue;\n return `${minus}${className}${delimiter}${absoluteValue}`;\n}\n\ninterface GetResponsiveCustomPropertiesOptions {\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveCustomProperties({ customProperties, value, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveCustomPropertiesOptions) {\n // Don't generate custom properties if the value is not arbitrary\n if (!value || (typeof value === 'string' && includesValue(propValues, propValueSet, value))) {\n return undefined;\n }\n\n let styles: Record<string, string | undefined> | undefined;\n\n if (typeof value === 'string') {\n const parsed = parseValue(value);\n styles = {};\n for (const customProperty of customProperties) {\n styles[customProperty] = parsed;\n }\n return styles;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n // Don't generate a custom property if the value is not arbitrary\n if (value === undefined || includesValue(propValues, propValueSet, value)) {\n continue;\n }\n\n const parsed = parseValue(value);\n styles ??= {};\n for (const customProperty of customProperties) {\n const bpProperty = bp === 'initial' ? customProperty : `${customProperty}-${bp}`;\n styles[bpProperty] = parsed;\n }\n }\n }\n\n return styles ?? {};\n}\n\nexport { getResponsiveStyles, getResponsiveCustomProperties, getResponsiveClassNames };\n", "type InlineStyle =\n | React.CSSProperties\n | Record<string, string | number | null | undefined>\n | undefined;\n\n// Merges CSS styles like `classNames` merges CSS classes\n// Optimized to avoid object spread in loop - uses Object.assign for in-place mutation\nexport function mergeStyles(...styles: Array<InlineStyle>): InlineStyle {\n let result: Record<string, string | number | null | undefined> | undefined;\n\n for (const style of styles) {\n if (style) {\n if (result === undefined) {\n // First non-empty style - create result object\n result = {};\n }\n Object.assign(result, style);\n }\n }\n\n return result;\n}\n", "import type { PropDef, GetPropDefTypes } from './prop-def.js';\n\n// prettier-ignore\nconst marginValues = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9', '-10', '-11', '-12'] as const;\n\nconst marginPropDefs = {\n /**\n * Sets the CSS **margin** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * m=\"4\"\n * m=\"100px\"\n * m={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin\n */\n m: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-m',\n customProperties: ['--m'],\n },\n /**\n * Sets the CSS **margin-left** and **margin-right** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mx=\"4\"\n * mx=\"100px\"\n * mx={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mx: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mx',\n customProperties: ['--ml', '--mr'],\n },\n /**\n * Sets the CSS **margin-top** and **margin-bottom** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * my=\"4\"\n * my=\"100px\"\n * my={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n my: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-my',\n customProperties: ['--mt', '--mb'],\n },\n /**\n * Sets the CSS **margin-top** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mt=\"4\"\n * mt=\"100px\"\n * mt={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n */\n mt: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mt',\n customProperties: ['--mt'],\n },\n /**\n * Sets the CSS **margin-right** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mr=\"4\"\n * mr=\"100px\"\n * mr={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mr: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mr',\n customProperties: ['--mr'],\n },\n /**\n * Sets the CSS **margin-bottom** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mb=\"4\"\n * mb=\"100px\"\n * mb={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n mb: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mb',\n customProperties: ['--mb'],\n },\n /**\n * Sets the CSS **margin-left** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * ml=\"4\"\n * ml=\"100px\"\n * ml={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n */\n ml: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-ml',\n customProperties: ['--ml'],\n },\n} satisfies {\n m: PropDef<(typeof marginValues)[number]>;\n mx: PropDef<(typeof marginValues)[number]>;\n my: PropDef<(typeof marginValues)[number]>;\n mt: PropDef<(typeof marginValues)[number]>;\n mr: PropDef<(typeof marginValues)[number]>;\n mb: PropDef<(typeof marginValues)[number]>;\n ml: PropDef<(typeof marginValues)[number]>;\n};\n\ntype MarginProps = GetPropDefTypes<typeof marginPropDefs>;\n\nexport { marginPropDefs };\nexport type { MarginProps };\n"],
5
- "mappings": "0jBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,cAAAE,IAAA,eAAAC,EAAAH,IACA,IAAAI,EAAuB,oBACvBC,EAAuB,yBCKvB,SAASC,EAAaC,EAAuB,CAC3C,OAAIA,IAAU,UAEL,UAELA,IAAU,YACZ,OAIKA,EACT,CCfA,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAA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,EAAgB,QAAM,EAEtB,CAAE,mBAAoBC,EAAiB,kBAAmBC,CAAe,EAAIP,EAG7EQ,EAAYR,EAAc,OAASA,EAAc,UACnDA,EAAc,YAAc,QAAaA,EAAc,YAAc,IACvE,OAIF,IAAMS,EAAoB,UAAQ,IAAM,CACtC,IAAMC,EAAQ,CAAC,EACf,OAAIV,EAAc,cAAcU,EAAM,KAAKL,CAAO,EAC9CC,GAAiBI,EAAM,KAAKJ,CAAe,EACxCI,EAAM,OAAS,EAAIA,EAAM,KAAK,GAAG,EAAI,MAC9C,EAAG,CAACV,EAAc,aAAcM,EAAiBD,CAAO,CAAC,EAGnDM,EAAkB,UACtB,KAAO,CACL,eAAgBH,EAChB,mBAAoBC,EACpB,kBAAmBF,CACrB,GACA,CAACC,EAAWC,EAAaF,CAAc,CACzC,EAGM,CACJ,MAAAK,GACA,aAAAC,GACA,UAAWC,GACX,SAAAC,GACA,mBAAoBC,GACpB,kBAAmBC,GACnB,GAAGC,CACL,EAAIlB,EAEJ,OACE,gBAAC,OACC,oBAAmBL,EACnB,cAAaC,EACb,wBAAuBQ,EACvB,gBAAeA,EACf,aAAW,EAAAe,SAAW,kBAAmBzB,EAAW,CAClD,WAAYc,CACd,CAAC,EACD,MAAOT,GAEP,gBAAC,YACC,UAAU,4BACV,IAAKN,EACJ,GAAGyB,EACH,GAAGP,EACN,EACCX,EAAc,cACb,gBAAC,OAAI,GAAIK,EAAS,UAAU,0BAA0B,KAAK,SACxDL,EAAc,YACjB,CAEJ,CAEJ,CAAC,EAEDT,EAAS,YAAc",
6
- "names": ["text_area_exports", "__export", "TextArea", "__toCommonJS", "React", "import_classnames", "parseVariant", "value", "accentColors", "colorPropDef", "accentColors", "radii", "radiusPropDef", "sizes", "variants", "resizeValues", "panelBackgrounds", "materials", "textAreaPropDefs", "parseVariant", "colorPropDef", "radiusPropDef", "import_classnames", "EMPTY_VALUES", "EMPTY_SET", "compile", "propDefs", "merged", "styling", "passthrough", "stylingKeys", "key", "def", "values", "compiled", "cacheRoot", "getCompiledPropDefs", "node", "i", "propDef", "child", "breakpoints", "breakpointSet", "hasOwnProperty", "obj", "key", "breakpointSet", "isResponsiveObject", "obj", "key", "includesValue", "propValues", "propValueSet", "value", "getResponsiveStyles", "className", "customProperties", "args", "responsiveClassNames", "getResponsiveClassNames", "responsiveCustomProperties", "getResponsiveCustomProperties", "allowArbitraryValues", "parseValue", "getBaseClassName", "isResponsiveObject", "object", "classNames", "bp", "hasOwnProperty", "breakpointSet", "baseClassName", "bpClassName", "delimiter", "matchedValue", "isNegative", "minus", "absoluteValue", "styles", "parsed", "customProperty", "bpProperty", "mergeStyles", "styles", "result", "style", "normalizeResponsiveValue", "value", "propDef", "initial", "changed", "extractProps", "props", "propDefs", "styling", "passthrough", "stylingKeys", "getCompiledPropDefs", "extractedProps", "key", "i", "isResponsiveObject", "style", "classes", "propClassName", "getResponsiveClassNames", "propClassNames", "propCustomProperties", "getResponsiveStyles", "mergeStyles", "classNames", "marginValues", "marginPropDefs", "TextArea", "props", "forwardedRef", "className", "color", "radius", "panelBackground", "material", "style", "textAreaProps", "extractProps", "textAreaPropDefs", "marginPropDefs", "effectiveMaterial", "errorId", "ariaDescribedby", "ariaLabelledby", "isInvalid", "describedBy", "parts", "ariaProps", "error", "errorMessage", "_isInvalid", "required", "_ariaDescribedby", "_ariaLabelledby", "nativeTextAreaProps", "classNames"]
3
+ "sources": ["../../../src/components/text-area.tsx", "../../../src/props/color.prop.ts", "../../../src/props/radius.prop.ts", "../../../src/components/text-area.props.tsx", "../../../src/helpers/extract-props.ts", "../../../src/helpers/compile-prop-defs.ts", "../../../src/props/prop-def.ts", "../../../src/helpers/has-own-property.ts", "../../../src/helpers/is-responsive-object.ts", "../../../src/helpers/get-responsive-styles.ts", "../../../src/helpers/merge-styles.ts", "../../../src/props/margin.props.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nimport classNames from 'classnames';\n\nimport { textAreaPropDefs } from './text-area.props.js';\nimport { extractProps } from '../helpers/extract-props.js';\nimport { marginPropDefs } from '../props/margin.props.js';\n\nimport type { MarginProps } from '../props/margin.props.js';\nimport type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';\nimport type { GetPropDefTypes } from '../props/prop-def.js';\n\ntype TextAreaElement = React.ElementRef<'textarea'>;\ntype TextAreaOwnProps = GetPropDefTypes<typeof textAreaPropDefs> & {\n defaultValue?: string;\n value?: string;\n};\ninterface TextAreaProps\n extends ComponentPropsWithout<'textarea', RemovedProps | 'size' | 'value'>,\n MarginProps,\n TextAreaOwnProps {}\n\nconst TextArea = React.forwardRef<TextAreaElement, TextAreaProps>((props, forwardedRef) => {\n const { className, color, radius, material, style, ...textAreaProps } =\n extractProps(props, textAreaPropDefs, marginPropDefs);\n const effectiveMaterial = material;\n\n // Generate unique IDs for accessibility\n const errorId = React.useId();\n\n const { 'aria-describedby': ariaDescribedby, 'aria-labelledby': ariaLabelledby } = textAreaProps;\n\n // Determine invalid state\n const isInvalid = textAreaProps.error;\n\n // Build aria-describedby string\n const describedBy = React.useMemo(() => {\n const parts = [];\n if (textAreaProps.errorMessage) parts.push(errorId);\n if (ariaDescribedby) parts.push(ariaDescribedby);\n return parts.length > 0 ? parts.join(' ') : undefined;\n }, [textAreaProps.errorMessage, ariaDescribedby, errorId]);\n\n // Build aria attributes\n const ariaProps = React.useMemo(\n () => ({\n 'aria-invalid': isInvalid,\n 'aria-describedby': describedBy,\n 'aria-labelledby': ariaLabelledby,\n }),\n [isInvalid, describedBy, ariaLabelledby],\n );\n\n // Filter out our custom props to avoid DOM warnings\n const {\n error,\n errorMessage,\n \n required,\n 'aria-describedby': _ariaDescribedby,\n 'aria-labelledby': _ariaLabelledby,\n ...nativeTextAreaProps\n } = textAreaProps;\n\n return (\n <div\n data-accent-color={color}\n data-radius={radius}\n data-material={effectiveMaterial}\n className={classNames('rt-TextAreaRoot', className, {\n 'rt-error': isInvalid,\n })}\n style={style}\n >\n <textarea\n className=\"rt-reset rt-TextAreaInput\"\n ref={forwardedRef}\n {...nativeTextAreaProps}\n {...ariaProps}\n />\n {textAreaProps.errorMessage && (\n <div id={errorId} className=\"rt-TextAreaErrorMessage\" role=\"alert\">\n {textAreaProps.errorMessage}\n </div>\n )}\n </div>\n );\n});\n\nTextArea.displayName = 'TextArea';\n\nexport { TextArea };\nexport type { TextAreaProps };\n", "import type { PropDef } from './prop-def.js';\n\n// prettier-ignore\nconst accentColors = ['gray', 'gold', 'bronze', 'brown', 'yellow', 'amber', 'orange', 'tomato', 'red', 'ruby', 'crimson', 'pink', 'plum', 'purple', 'violet', 'iris', 'indigo', 'blue', 'cyan', 'teal', 'jade', 'green', 'grass', 'lime', 'mint', 'sky'] as const;\n\nconst grayColors = ['auto', 'gray', 'mauve', 'slate', 'sage', 'olive', 'sand'] as const;\n\nconst colorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: undefined as (typeof accentColors)[number] | undefined,\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// 1. When used on components that compose Text, sets the color of the text to the current accent.\n// 2. Re-declares the accent role tokens (`--accent-ink`, `--accent-solid`, ...) that descendants read.\nconst accentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: '' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\n// For components whose colour comes from their content (Badge, Avatar, Code): they rest gray, and `color` picks a category when it means something.\nconst grayAccentColorPropDef = {\n color: {\n type: 'enum',\n values: accentColors,\n default: 'gray' as (typeof accentColors)[number],\n },\n} satisfies {\n color: PropDef<(typeof accentColors)[number]>;\n};\n\nexport {\n accentColorPropDef,\n grayAccentColorPropDef,\n colorPropDef,\n //\n accentColors,\n grayColors,\n};\n", "import type { PropDef } from './prop-def.js';\n\nconst radii = ['none', 'small', 'medium', 'large', 'full'] as const;\n\nconst radiusPropDef = {\n radius: {\n type: 'enum',\n values: radii,\n default: undefined,\n },\n} satisfies {\n radius: PropDef<(typeof radii)[number]>;\n};\n\nexport { radiusPropDef, radii };\n", "import { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'surface', 'soft', 'outline', 'ghost'] as const;\nconst resizeValues = ['none', 'vertical', 'horizontal', 'both'] as const;\nconst materials = ['solid', 'translucent'] as const;\n\n// prettier-ignore\nconst textAreaPropDefs = {\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'rt-variant', values: variants, default: 'raised' },\n resize: { type: 'enum', className: 'rt-r-resize', values: resizeValues, responsive: true },\n material: { type: 'enum', values: materials, default: undefined },\n // Error and validation props\n error: { type: 'boolean', default: false },\n errorMessage: { type: 'string', default: undefined },\n required: { type: 'boolean', default: false },\n // Accessibility props\n 'aria-describedby': { type: 'string', default: undefined },\n 'aria-labelledby': { type: 'string', default: undefined },\n ...colorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n resize: PropDef<(typeof resizeValues)[number]>;\n material: PropDef<(typeof materials)[number] | undefined>;\n error: PropDef<boolean>;\n errorMessage: PropDef<string | undefined>;\n required: PropDef<boolean>;\n 'aria-describedby': PropDef<string | undefined>;\n 'aria-labelledby': PropDef<string | undefined>;\n};\n\nexport { textAreaPropDefs };\n", "import classNames from 'classnames';\n\nimport { getCompiledPropDefs } from './compile-prop-defs.js';\nimport { getResponsiveClassNames, getResponsiveStyles } from './get-responsive-styles.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\nimport { mergeStyles } from './merge-styles.js';\n\nimport type { CompiledPropDef } from './compile-prop-defs.js';\nimport type * as React from 'react';\nimport type { PropDef } from '../props/prop-def.js';\n\ntype PropDefsWithClassName<T> = T extends Record<string, PropDef> ? { [K in keyof T]: T[K] extends { className: string } ? K : never }[keyof T] : never;\n\ntype ResponsiveValue = Record<string, string | undefined>;\n\n/**\n * Fills in the `initial` breakpoint of a responsive value from the prop def's\n * default, and coerces an invalid `initial` enum value back to that default.\n *\n * Returns the value untouched when nothing needs changing, and a copy otherwise\n * \u2014 callers routinely hoist responsive objects to module scope, so mutating the\n * caller's object would corrupt it for every later render.\n */\nfunction normalizeResponsiveValue(value: ResponsiveValue, propDef: CompiledPropDef) {\n let initial = value.initial;\n let changed = false;\n\n if (propDef.hasDefault && initial === undefined) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(initial)) {\n initial = propDef.default as string | undefined;\n changed = true;\n }\n\n return changed ? { ...value, initial } : value;\n}\n\n/**\n * Takes props, checks them against prop defs that have a `className` on them,\n * adds necessary CSS classes and inline styles, and returns the props without\n * the corresponding prop defs that were used to formulate the new `className`\n * and `style` values. Also applies prop def defaults to every prop.\n */\nfunction extractProps<P extends { className?: string; style?: React.CSSProperties; [key: string]: any }, T extends Record<string, PropDef>[]>(\n props: P,\n ...propDefs: T\n): Omit<P & { className?: string; style?: React.CSSProperties }, PropDefsWithClassName<T[number]>> {\n const { styling, passthrough, stylingKeys } = getCompiledPropDefs(propDefs);\n\n // Copy the props that survive to the element rather than spreading and then\n // deleting the styling keys. Deleting off a spread demotes the object to\n // dictionary mode in V8, and this object is on the render path of every\n // component in the library.\n const extractedProps: Record<string, any> = {};\n for (const key in props) {\n if (stylingKeys.has(key)) continue;\n extractedProps[key] = props[key];\n }\n\n for (let i = 0; i < passthrough.length; i++) {\n const propDef = passthrough[i];\n const value = extractedProps[propDef.key];\n\n if (value === undefined) {\n if (propDef.hasDefault) extractedProps[propDef.key] = propDef.default;\n continue;\n }\n\n // Fall back to the default when the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n extractedProps[propDef.key] = propDef.default;\n }\n }\n\n let style: ReturnType<typeof mergeStyles>;\n const classes: string[] = [];\n\n for (let i = 0; i < styling.length; i++) {\n const propDef = styling[i];\n let value = props[propDef.key];\n\n // Apply prop def defaults\n if (value === undefined && propDef.hasDefault) {\n value = propDef.default;\n }\n\n // Apply the default value if the value is not a valid enum value\n if (propDef.enumValueSet !== undefined && !propDef.enumValueSet.has(value) && !isResponsiveObject(value)) {\n value = propDef.default;\n }\n\n if (!value) continue;\n\n if (isResponsiveObject(value)) {\n // Make sure we are not threading through responsive values for non-responsive prop defs\n if (!propDef.responsive) continue;\n value = normalizeResponsiveValue(value, propDef);\n }\n\n if (propDef.type === 'enum') {\n const propClassName = getResponsiveClassNames({\n allowArbitraryValues: false,\n value,\n className: propDef.className!,\n propValues: propDef.values,\n propValueSet: propDef.valueSet,\n parseValue: propDef.parseValue,\n });\n\n if (propClassName) classes.push(propClassName);\n continue;\n }\n\n if (propDef.type === 'string' || propDef.type === 'enum | string') {\n const [propClassNames, propCustomProperties] = getResponsiveStyles({\n className: propDef.className!,\n customProperties: propDef.customProperties!,\n // `string` prop defs have no enum values, so every value is arbitrary\n propValues: propDef.type === 'string' ? [] : propDef.values,\n propValueSet: propDef.type === 'string' ? undefined : propDef.valueSet,\n parseValue: propDef.parseValue,\n value,\n });\n\n if (propCustomProperties) style = mergeStyles(style, propCustomProperties);\n if (propClassNames) classes.push(propClassNames);\n continue;\n }\n\n if (propDef.type === 'boolean') {\n // TODO handle responsive boolean props\n classes.push(propDef.className!);\n continue;\n }\n }\n\n extractedProps.className = classNames(classes.length > 0 ? classes.join(' ') : undefined, props.className);\n extractedProps.style = mergeStyles(style, props.style);\n return extractedProps as ReturnType<typeof extractProps<P, T>>;\n}\n\nexport { extractProps };\n", "import type { PropDef } from '../props/prop-def.js';\n\n/**\n * A prop def pre-processed into the exact shape `extractProps` needs at render\n * time. Everything that can be derived from the static prop def \u2014 enum\n * membership sets, whether the def is responsive, whether it carries a default\n * \u2014 is computed once here instead of on every render.\n */\ninterface CompiledPropDef {\n key: string;\n type: PropDef['type'];\n default: unknown;\n hasDefault: boolean;\n responsive: boolean;\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n /** The prop def's own enum values, kept for the responsive class name helpers. */\n values: readonly string[];\n /** O(1) membership for `values`. */\n valueSet: ReadonlySet<string>;\n /**\n * `values` plus the default, used to coerce invalid enum values back to the\n * default. Only present for `type: 'enum'` \u2014 `'enum | string'` props accept\n * arbitrary strings and must not be coerced.\n */\n enumValueSet?: ReadonlySet<unknown>;\n}\n\ninterface CompiledPropDefs {\n /** Defs that contribute a class name and/or custom properties. */\n styling: CompiledPropDef[];\n /**\n * Defs that pass through to the element but still need a default applied or\n * an invalid enum value coerced. Defs that can do neither are omitted\n * entirely \u2014 they are already correct as passed.\n */\n passthrough: CompiledPropDef[];\n /** Keys consumed by `styling`, so they can be skipped when copying props. */\n stylingKeys: ReadonlySet<string>;\n}\n\nconst EMPTY_VALUES: readonly string[] = [];\nconst EMPTY_SET: ReadonlySet<string> = new Set();\n\nfunction compile(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n const merged: Record<string, PropDef> = Object.assign({}, ...propDefs);\n const styling: CompiledPropDef[] = [];\n const passthrough: CompiledPropDef[] = [];\n const stylingKeys = new Set<string>();\n\n for (const key in merged) {\n // The PropDef union is narrowed per-field below; reading the optional\n // members off the union directly is what the runtime actually needs.\n const def = merged[key] as PropDef & {\n default?: unknown;\n values?: readonly string[];\n className?: string;\n customProperties?: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n responsive?: true;\n };\n\n const values = def.values ?? EMPTY_VALUES;\n const compiled: CompiledPropDef = {\n key,\n type: def.type,\n default: def.default,\n hasDefault: def.default !== undefined,\n responsive: 'responsive' in def,\n className: def.className,\n customProperties: def.customProperties,\n parseValue: def.parseValue,\n values,\n valueSet: values.length > 0 ? new Set(values) : EMPTY_SET,\n enumValueSet: def.type === 'enum' ? new Set<unknown>([def.default, ...values]) : undefined,\n };\n\n if (def.className) {\n styling.push(compiled);\n stylingKeys.add(key);\n } else if (compiled.hasDefault || def.type === 'enum') {\n // Anything else is copied through untouched, so there is nothing to do.\n passthrough.push(compiled);\n }\n }\n\n return { styling, passthrough, stylingKeys };\n}\n\ninterface CacheNode {\n children: WeakMap<object, CacheNode>;\n compiled?: CompiledPropDefs;\n}\n\nconst cacheRoot: CacheNode = { children: new WeakMap() };\n\n/**\n * Compiles a set of prop defs, memoized on the identity of the prop def objects\n * themselves. Components always pass the same module-level constants, so after\n * the first render of a given component this is a couple of WeakMap lookups\n * instead of merging 50-odd prop defs into a fresh object.\n */\nfunction getCompiledPropDefs(propDefs: readonly Record<string, PropDef>[]): CompiledPropDefs {\n let node = cacheRoot;\n\n for (let i = 0; i < propDefs.length; i++) {\n const propDef = propDefs[i];\n let child = node.children.get(propDef);\n if (child === undefined) {\n child = { children: new WeakMap() };\n node.children.set(propDef, child);\n }\n node = child;\n }\n\n return (node.compiled ??= compile(propDefs));\n}\n\nexport { getCompiledPropDefs };\nexport type { CompiledPropDef, CompiledPropDefs };\n", "import type React from 'react';\n\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\ntype Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n\nconst breakpoints = ['initial', 'xs', 'sm', 'md', 'lg', 'xl'] as const;\nconst breakpointSet: Set<string> = new Set(breakpoints);\ntype Breakpoint = (typeof breakpoints)[number];\ntype Responsive<T> = T | Partial<Record<Breakpoint, T>>;\n\ntype BooleanPropDef = {\n type: 'boolean';\n default?: boolean;\n required?: boolean;\n className?: string;\n};\ntype StringPropDef = {\n type: 'string';\n default?: string;\n required?: boolean;\n};\ntype ReactNodePropDef = {\n type: 'ReactNode';\n default?: React.ReactNode;\n required?: boolean;\n};\ntype EnumPropDef<T> = {\n type: 'enum';\n values: readonly T[];\n default?: T;\n required?: boolean;\n};\ntype EnumOrStringPropDef<T> = {\n type: 'enum | string';\n values: readonly T[];\n default?: T | string;\n required?: boolean;\n};\n\ntype NonStylingPropDef = {\n className?: never;\n customProperties?: never;\n parseValue?: never;\n};\n\ntype StylingPropDef = {\n className: string;\n parseValue?: (value: string) => string | undefined;\n};\n\ntype ArbitraryStylingPropDef = {\n className: string;\n customProperties: `--${string}`[];\n parseValue?: (value: string) => string | undefined;\n};\n\ntype RegularPropDef<T> =\n | ReactNodePropDef\n | BooleanPropDef\n | (StringPropDef & ArbitraryStylingPropDef)\n | (StringPropDef & NonStylingPropDef)\n | (EnumPropDef<T> & StylingPropDef)\n | (EnumPropDef<T> & NonStylingPropDef)\n | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef)\n | (EnumOrStringPropDef<T> & NonStylingPropDef);\ntype ResponsivePropDef<T = any> = RegularPropDef<T> & { responsive: true };\ntype PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;\n\n// prettier-ignore\ntype GetPropDefType<Def> =\n Def extends BooleanPropDef ? (Def extends ResponsivePropDef ? Responsive<boolean> : boolean)\n : Def extends StringPropDef ? (Def extends ResponsivePropDef ? Responsive<string> : string)\n : Def extends ReactNodePropDef ? (Def extends ResponsivePropDef ? Responsive<React.ReactNode> : React.ReactNode)\n : Def extends EnumOrStringPropDef<infer Type> ?\n Def extends ResponsivePropDef<infer Type extends string> ? Responsive<Union<string, Type>> : Type\n : Def extends EnumPropDef<infer Type> ? (Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type)\n : never;\n\ntype GetPropDefTypes<P> = {\n [K in keyof P]?: GetPropDefType<P[K]>;\n};\n\nexport { breakpoints, breakpointSet };\nexport type {\n PropDef,\n GetPropDefTypes,\n ResponsivePropDef,\n //\n Breakpoint,\n Responsive,\n Union,\n};\n", "/** A util to check whether the object has a key, while inferring the correct key type */\nfunction hasOwnProperty<K extends string | number | symbol>(\n obj: Record<K, unknown>,\n key: string | number | symbol\n): key is K {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexport { hasOwnProperty };\n", "import type { Responsive, Breakpoint } from '../props/prop-def.js';\n\n// Use a Set for O(1) lookup instead of array.includes() which is O(n)\nconst breakpointSet = new Set<string>(['initial', 'xs', 'sm', 'md', 'lg', 'xl']);\n\nexport function isResponsiveObject<Value extends string>(\n obj: Responsive<Value | Omit<string, Value>> | undefined\n): obj is Record<Breakpoint, string> {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n // Use for...in to avoid Object.keys() array allocation\n for (const key in obj) {\n if (breakpointSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n", "import { breakpointSet } from '../props/prop-def.js';\nimport { hasOwnProperty } from './has-own-property.js';\nimport { isResponsiveObject } from './is-responsive-object.js';\n\nimport type { Responsive, Union } from '../props/prop-def.js';\n\n/**\n * Membership test against a prop def's enum values. Callers that already hold a\n * compiled prop def pass `propValueSet` for an O(1) lookup; the handful of call\n * sites that build options inline fall back to scanning the array.\n */\nfunction includesValue(propValues: string[] | readonly string[], propValueSet: ReadonlySet<string> | undefined, value: string): boolean {\n return propValueSet !== undefined ? propValueSet.has(value) : propValues.includes(value);\n}\n\ninterface GetResponsiveStylesOptions {\n className: string;\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveStyles({ className, customProperties, ...args }: GetResponsiveStylesOptions) {\n const responsiveClassNames = getResponsiveClassNames({\n allowArbitraryValues: true,\n className,\n ...args,\n });\n\n const responsiveCustomProperties = getResponsiveCustomProperties({ customProperties, ...args });\n return [responsiveClassNames, responsiveCustomProperties] as const;\n}\n\ninterface GetResponsiveClassNamesOptions {\n allowArbitraryValues?: boolean;\n className: string;\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveClassNames({ allowArbitraryValues, value, className, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveClassNamesOptions): string | undefined {\n if (!value) {\n return undefined;\n }\n\n if (typeof value === 'string') {\n if (includesValue(propValues, propValueSet, value)) {\n return getBaseClassName(className, value, parseValue);\n }\n return allowArbitraryValues ? className : undefined;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n const classNames: string[] = [];\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n if (value !== undefined) {\n if (includesValue(propValues, propValueSet, value)) {\n const baseClassName = getBaseClassName(className, value, parseValue);\n const bpClassName = bp === 'initial' ? baseClassName : `${bp}:${baseClassName}`;\n classNames.push(bpClassName);\n } else if (allowArbitraryValues) {\n const bpClassName = bp === 'initial' ? className : `${bp}:${className}`;\n classNames.push(bpClassName);\n }\n }\n }\n\n return classNames.length > 0 ? classNames.join(' ') : '';\n }\n\n if (allowArbitraryValues) {\n return className;\n }\n}\n\nfunction getBaseClassName(className: string, value: string, parseValue: (value: string) => string | undefined): string {\n const delimiter = className ? '-' : '';\n const matchedValue = parseValue(value);\n const isNegative = matchedValue?.startsWith('-');\n const minus = isNegative ? '-' : '';\n const absoluteValue = isNegative ? matchedValue?.substring(1) : matchedValue;\n return `${minus}${className}${delimiter}${absoluteValue}`;\n}\n\ninterface GetResponsiveCustomPropertiesOptions {\n customProperties: `--${string}`[];\n value: Responsive<Union> | Responsive<string> | undefined;\n propValues: string[] | readonly string[];\n propValueSet?: ReadonlySet<string>;\n parseValue?: (value: string) => string | undefined;\n}\n\nfunction getResponsiveCustomProperties({ customProperties, value, propValues, propValueSet, parseValue = (value) => value }: GetResponsiveCustomPropertiesOptions) {\n // Don't generate custom properties if the value is not arbitrary\n if (!value || (typeof value === 'string' && includesValue(propValues, propValueSet, value))) {\n return undefined;\n }\n\n let styles: Record<string, string | undefined> | undefined;\n\n if (typeof value === 'string') {\n const parsed = parseValue(value);\n styles = {};\n for (const customProperty of customProperties) {\n styles[customProperty] = parsed;\n }\n return styles;\n }\n\n if (isResponsiveObject(value)) {\n const object = value;\n\n for (const bp in object) {\n // Make sure we are not iterating over keys that aren't breakpoints\n if (!hasOwnProperty(object, bp) || !breakpointSet.has(bp)) {\n continue;\n }\n\n const value = object[bp];\n\n // Don't generate a custom property if the value is not arbitrary\n if (value === undefined || includesValue(propValues, propValueSet, value)) {\n continue;\n }\n\n const parsed = parseValue(value);\n styles ??= {};\n for (const customProperty of customProperties) {\n const bpProperty = bp === 'initial' ? customProperty : `${customProperty}-${bp}`;\n styles[bpProperty] = parsed;\n }\n }\n }\n\n return styles ?? {};\n}\n\nexport { getResponsiveStyles, getResponsiveCustomProperties, getResponsiveClassNames };\n", "type InlineStyle =\n | React.CSSProperties\n | Record<string, string | number | null | undefined>\n | undefined;\n\n// Merges CSS styles like `classNames` merges CSS classes\n// Optimized to avoid object spread in loop - uses Object.assign for in-place mutation\nexport function mergeStyles(...styles: Array<InlineStyle>): InlineStyle {\n let result: Record<string, string | number | null | undefined> | undefined;\n\n for (const style of styles) {\n if (style) {\n if (result === undefined) {\n // First non-empty style - create result object\n result = {};\n }\n Object.assign(result, style);\n }\n }\n\n return result;\n}\n", "import type { PropDef, GetPropDefTypes } from './prop-def.js';\n\n// prettier-ignore\nconst marginValues = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9', '-10', '-11', '-12'] as const;\n\nconst marginPropDefs = {\n /**\n * Sets the CSS **margin** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * m=\"4\"\n * m=\"100px\"\n * m={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin\n */\n m: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-m',\n customProperties: ['--m'],\n },\n /**\n * Sets the CSS **margin-left** and **margin-right** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mx=\"4\"\n * mx=\"100px\"\n * mx={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mx: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mx',\n customProperties: ['--ml', '--mr'],\n },\n /**\n * Sets the CSS **margin-top** and **margin-bottom** properties.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * my=\"4\"\n * my=\"100px\"\n * my={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n my: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-my',\n customProperties: ['--mt', '--mb'],\n },\n /**\n * Sets the CSS **margin-top** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mt=\"4\"\n * mt=\"100px\"\n * mt={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\n */\n mt: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mt',\n customProperties: ['--mt'],\n },\n /**\n * Sets the CSS **margin-right** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mr=\"4\"\n * mr=\"100px\"\n * mr={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\n */\n mr: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mr',\n customProperties: ['--mr'],\n },\n /**\n * Sets the CSS **margin-bottom** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * mb=\"4\"\n * mb=\"100px\"\n * mb={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\n */\n mb: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-mb',\n customProperties: ['--mb'],\n },\n /**\n * Sets the CSS **margin-left** property.\n * Supports space scale values, CSS strings, and responsive objects.\n *\n * @example\n * ml=\"4\"\n * ml=\"100px\"\n * ml={{ sm: '6', lg: '9' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\n */\n ml: {\n type: 'enum | string',\n values: marginValues,\n responsive: true,\n className: 'rt-r-ml',\n customProperties: ['--ml'],\n },\n} satisfies {\n m: PropDef<(typeof marginValues)[number]>;\n mx: PropDef<(typeof marginValues)[number]>;\n my: PropDef<(typeof marginValues)[number]>;\n mt: PropDef<(typeof marginValues)[number]>;\n mr: PropDef<(typeof marginValues)[number]>;\n mb: PropDef<(typeof marginValues)[number]>;\n ml: PropDef<(typeof marginValues)[number]>;\n};\n\ntype MarginProps = GetPropDefTypes<typeof marginPropDefs>;\n\nexport { marginPropDefs };\nexport type { MarginProps };\n"],
5
+ "mappings": "0jBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,cAAAE,IAAA,eAAAC,EAAAH,IAAA,IAAAI,EAAuB,oBACvBC,EAAuB,yBCEvB,IAAMC,EAAe,CAAC,OAAQ,OAAQ,SAAU,QAAS,SAAU,QAAS,SAAU,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAAQ,SAAU,SAAU,OAAQ,SAAU,OAAQ,OAAQ,OAAQ,OAAQ,QAAS,QAAS,OAAQ,OAAQ,KAAK,EAIvP,IAAMC,EAAe,CACnB,MAAO,CACL,KAAM,OACN,OAAQC,EACR,QAAS,MACX,CACF,ECXA,IAAMC,EAAQ,CAAC,OAAQ,QAAS,SAAU,QAAS,MAAM,EAEnDC,EAAgB,CACpB,OAAQ,CACN,KAAM,OACN,OAAQD,EACR,QAAS,MACX,CACF,ECLA,IAAME,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAW,CAAC,SAAU,UAAW,OAAQ,UAAW,OAAO,EAC3DC,EAAe,CAAC,OAAQ,WAAY,aAAc,MAAM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IjB,EAEJ,OACE,gBAAC,OACC,oBAAmBJ,EACnB,cAAaC,EACb,gBAAeO,EACf,aAAW,EAAAc,SAAW,kBAAmBvB,EAAW,CAClD,WAAYa,CACd,CAAC,EACD,MAAOT,GAEP,gBAAC,YACC,UAAU,4BACV,IAAKL,EACJ,GAAGuB,EACH,GAAGN,EACN,EACCX,EAAc,cACb,gBAAC,OAAI,GAAIK,EAAS,UAAU,0BAA0B,KAAK,SACxDL,EAAc,YACjB,CAEJ,CAEJ,CAAC,EAEDR,EAAS,YAAc",
6
+ "names": ["text_area_exports", "__export", "TextArea", "__toCommonJS", "React", "import_classnames", "accentColors", "colorPropDef", "accentColors", "radii", "radiusPropDef", "sizes", "variants", "resizeValues", "materials", "textAreaPropDefs", "colorPropDef", "radiusPropDef", "import_classnames", "EMPTY_VALUES", "EMPTY_SET", "compile", "propDefs", "merged", "styling", "passthrough", "stylingKeys", "key", "def", "values", "compiled", "cacheRoot", "getCompiledPropDefs", "node", "i", "propDef", "child", "breakpoints", "breakpointSet", "hasOwnProperty", "obj", "key", "breakpointSet", "isResponsiveObject", "obj", "key", "includesValue", "propValues", "propValueSet", "value", "getResponsiveStyles", "className", "customProperties", "args", "responsiveClassNames", "getResponsiveClassNames", "responsiveCustomProperties", "getResponsiveCustomProperties", "allowArbitraryValues", "parseValue", "getBaseClassName", "isResponsiveObject", "object", "classNames", "bp", "hasOwnProperty", "breakpointSet", "baseClassName", "bpClassName", "delimiter", "matchedValue", "isNegative", "minus", "absoluteValue", "styles", "parsed", "customProperty", "bpProperty", "mergeStyles", "styles", "result", "style", "normalizeResponsiveValue", "value", "propDef", "initial", "changed", "extractProps", "props", "propDefs", "styling", "passthrough", "stylingKeys", "getCompiledPropDefs", "extractedProps", "key", "i", "isResponsiveObject", "style", "classes", "propClassName", "getResponsiveClassNames", "propClassNames", "propCustomProperties", "getResponsiveStyles", "mergeStyles", "classNames", "marginValues", "marginPropDefs", "TextArea", "props", "forwardedRef", "className", "color", "radius", "material", "style", "textAreaProps", "extractProps", "textAreaPropDefs", "marginPropDefs", "effectiveMaterial", "errorId", "ariaDescribedby", "ariaLabelledby", "isInvalid", "describedBy", "parts", "ariaProps", "error", "errorMessage", "required", "_ariaDescribedby", "_ariaLabelledby", "nativeTextAreaProps", "classNames"]
7
7
  }