@womp/kookie-ui 0.14.5 → 0.15.1

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 (1206) 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 +1 -8
  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/pane-chrome.js +1 -1
  33. package/dist/cjs/components/_internal/pane-chrome.js.map +4 -4
  34. package/dist/cjs/components/_internal/shell-bottom.js +1 -1
  35. package/dist/cjs/components/_internal/shell-bottom.js.map +2 -2
  36. package/dist/cjs/components/_internal/shell-inspector.js +1 -1
  37. package/dist/cjs/components/_internal/shell-inspector.js.map +2 -2
  38. package/dist/cjs/components/_internal/shell-pane.d.ts +2 -3
  39. package/dist/cjs/components/_internal/shell-pane.d.ts.map +1 -1
  40. package/dist/cjs/components/_internal/shell-pane.js +1 -1
  41. package/dist/cjs/components/_internal/shell-pane.js.map +2 -2
  42. package/dist/cjs/components/_internal/shell-sidebar.d.ts +0 -4
  43. package/dist/cjs/components/_internal/shell-sidebar.d.ts.map +1 -1
  44. package/dist/cjs/components/_internal/shell-sidebar.js +1 -1
  45. package/dist/cjs/components/_internal/shell-sidebar.js.map +4 -4
  46. package/dist/cjs/components/_internal/shell-store.d.ts +4 -4
  47. package/dist/cjs/components/_internal/shell-store.d.ts.map +1 -1
  48. package/dist/cjs/components/_internal/shell-store.js +1 -1
  49. package/dist/cjs/components/_internal/shell-store.js.map +1 -1
  50. package/dist/cjs/components/accordion.d.ts.map +1 -1
  51. package/dist/cjs/components/accordion.js +1 -1
  52. package/dist/cjs/components/accordion.js.map +4 -4
  53. package/dist/cjs/components/accordion.props.d.ts +4 -15
  54. package/dist/cjs/components/accordion.props.d.ts.map +1 -1
  55. package/dist/cjs/components/accordion.props.js +1 -1
  56. package/dist/cjs/components/accordion.props.js.map +4 -4
  57. package/dist/cjs/components/alert-dialog.d.ts.map +1 -1
  58. package/dist/cjs/components/alert-dialog.js +1 -1
  59. package/dist/cjs/components/alert-dialog.js.map +4 -4
  60. package/dist/cjs/components/alert-dialog.props.d.ts +0 -5
  61. package/dist/cjs/components/alert-dialog.props.d.ts.map +1 -1
  62. package/dist/cjs/components/alert-dialog.props.js +1 -1
  63. package/dist/cjs/components/alert-dialog.props.js.map +3 -3
  64. package/dist/cjs/components/avatar.d.ts.map +1 -1
  65. package/dist/cjs/components/avatar.js +1 -1
  66. package/dist/cjs/components/avatar.js.map +4 -4
  67. package/dist/cjs/components/avatar.props.d.ts +2 -17
  68. package/dist/cjs/components/avatar.props.d.ts.map +1 -1
  69. package/dist/cjs/components/avatar.props.js +1 -1
  70. package/dist/cjs/components/avatar.props.js.map +4 -4
  71. package/dist/cjs/components/badge.d.ts.map +1 -1
  72. package/dist/cjs/components/badge.js +1 -1
  73. package/dist/cjs/components/badge.js.map +4 -4
  74. package/dist/cjs/components/badge.props.d.ts +1 -16
  75. package/dist/cjs/components/badge.props.d.ts.map +1 -1
  76. package/dist/cjs/components/badge.props.js +1 -1
  77. package/dist/cjs/components/badge.props.js.map +4 -4
  78. package/dist/cjs/components/blockquote.js.map +1 -1
  79. package/dist/cjs/components/blockquote.props.d.ts +1 -1
  80. package/dist/cjs/components/blockquote.props.js +1 -1
  81. package/dist/cjs/components/blockquote.props.js.map +2 -2
  82. package/dist/cjs/components/button.d.ts +1 -38
  83. package/dist/cjs/components/button.d.ts.map +1 -1
  84. package/dist/cjs/components/button.js +2 -2
  85. package/dist/cjs/components/button.js.map +4 -4
  86. package/dist/cjs/components/button.props.js +1 -1
  87. package/dist/cjs/components/button.props.js.map +4 -4
  88. package/dist/cjs/components/card.d.ts.map +1 -1
  89. package/dist/cjs/components/card.js +1 -1
  90. package/dist/cjs/components/card.js.map +4 -4
  91. package/dist/cjs/components/card.props.d.ts +1 -8
  92. package/dist/cjs/components/card.props.d.ts.map +1 -1
  93. package/dist/cjs/components/card.props.js +1 -1
  94. package/dist/cjs/components/card.props.js.map +4 -4
  95. package/dist/cjs/components/chatbar.d.ts +1 -3
  96. package/dist/cjs/components/chatbar.d.ts.map +1 -1
  97. package/dist/cjs/components/chatbar.js +2 -2
  98. package/dist/cjs/components/chatbar.js.map +4 -4
  99. package/dist/cjs/components/checkbox-cards.d.ts.map +1 -1
  100. package/dist/cjs/components/checkbox-cards.js +1 -1
  101. package/dist/cjs/components/checkbox-cards.js.map +4 -4
  102. package/dist/cjs/components/checkbox-cards.props.d.ts +2 -10
  103. package/dist/cjs/components/checkbox-cards.props.d.ts.map +1 -1
  104. package/dist/cjs/components/checkbox-cards.props.js +1 -1
  105. package/dist/cjs/components/checkbox-cards.props.js.map +4 -4
  106. package/dist/cjs/components/checkbox-group.js +1 -1
  107. package/dist/cjs/components/checkbox-group.js.map +4 -4
  108. package/dist/cjs/components/checkbox-group.props.d.ts +2 -8
  109. package/dist/cjs/components/checkbox-group.props.d.ts.map +1 -1
  110. package/dist/cjs/components/checkbox-group.props.js +1 -1
  111. package/dist/cjs/components/checkbox-group.props.js.map +4 -4
  112. package/dist/cjs/components/checkbox.d.ts.map +1 -1
  113. package/dist/cjs/components/checkbox.js +1 -1
  114. package/dist/cjs/components/checkbox.js.map +4 -4
  115. package/dist/cjs/components/checkbox.props.js +1 -1
  116. package/dist/cjs/components/checkbox.props.js.map +4 -4
  117. package/dist/cjs/components/code.js +1 -1
  118. package/dist/cjs/components/code.js.map +2 -2
  119. package/dist/cjs/components/code.props.d.ts +1 -1
  120. package/dist/cjs/components/code.props.js +1 -1
  121. package/dist/cjs/components/code.props.js.map +2 -2
  122. package/dist/cjs/components/combobox.d.ts.map +1 -1
  123. package/dist/cjs/components/combobox.js +1 -1
  124. package/dist/cjs/components/combobox.js.map +4 -4
  125. package/dist/cjs/components/combobox.props.d.ts +1 -20
  126. package/dist/cjs/components/combobox.props.d.ts.map +1 -1
  127. package/dist/cjs/components/combobox.props.js +1 -1
  128. package/dist/cjs/components/combobox.props.js.map +4 -4
  129. package/dist/cjs/components/context-menu.d.ts.map +1 -1
  130. package/dist/cjs/components/context-menu.js +1 -1
  131. package/dist/cjs/components/context-menu.js.map +4 -4
  132. package/dist/cjs/components/context-menu.props.js +1 -1
  133. package/dist/cjs/components/context-menu.props.js.map +3 -3
  134. package/dist/cjs/components/data-list.js.map +1 -1
  135. package/dist/cjs/components/data-list.props.js.map +1 -1
  136. package/dist/cjs/components/dialog.d.ts.map +1 -1
  137. package/dist/cjs/components/dialog.js +1 -1
  138. package/dist/cjs/components/dialog.js.map +4 -4
  139. package/dist/cjs/components/dialog.props.d.ts +0 -5
  140. package/dist/cjs/components/dialog.props.d.ts.map +1 -1
  141. package/dist/cjs/components/dialog.props.js +1 -1
  142. package/dist/cjs/components/dialog.props.js.map +3 -3
  143. package/dist/cjs/components/dropdown-menu.d.ts.map +1 -1
  144. package/dist/cjs/components/dropdown-menu.js +1 -1
  145. package/dist/cjs/components/dropdown-menu.js.map +4 -4
  146. package/dist/cjs/components/dropdown-menu.props.js +1 -1
  147. package/dist/cjs/components/dropdown-menu.props.js.map +3 -3
  148. package/dist/cjs/components/heading.js.map +1 -1
  149. package/dist/cjs/components/heading.props.js.map +1 -1
  150. package/dist/cjs/components/hover-card.js +1 -1
  151. package/dist/cjs/components/hover-card.js.map +4 -4
  152. package/dist/cjs/components/icon-button.d.ts +1 -1
  153. package/dist/cjs/components/icon-button.d.ts.map +1 -1
  154. package/dist/cjs/components/icon-button.js +2 -2
  155. package/dist/cjs/components/icon-button.js.map +4 -4
  156. package/dist/cjs/components/icon-button.props.js +1 -1
  157. package/dist/cjs/components/icon-button.props.js.map +4 -4
  158. package/dist/cjs/components/image.d.ts +0 -5
  159. package/dist/cjs/components/image.d.ts.map +1 -1
  160. package/dist/cjs/components/image.js +1 -1
  161. package/dist/cjs/components/image.js.map +3 -3
  162. package/dist/cjs/components/index.d.ts +0 -3
  163. package/dist/cjs/components/index.d.ts.map +1 -1
  164. package/dist/cjs/components/index.js +5 -5
  165. package/dist/cjs/components/index.js.map +4 -4
  166. package/dist/cjs/components/kbd.js +1 -1
  167. package/dist/cjs/components/kbd.js.map +4 -4
  168. package/dist/cjs/components/kbd.props.d.ts +2 -4
  169. package/dist/cjs/components/kbd.props.d.ts.map +1 -1
  170. package/dist/cjs/components/kbd.props.js +1 -1
  171. package/dist/cjs/components/kbd.props.js.map +4 -4
  172. package/dist/cjs/components/link.js +1 -1
  173. package/dist/cjs/components/link.js.map +2 -2
  174. package/dist/cjs/components/link.props.d.ts +1 -1
  175. package/dist/cjs/components/link.props.js +1 -1
  176. package/dist/cjs/components/link.props.js.map +2 -2
  177. package/dist/cjs/components/message-scroller.js +2 -2
  178. package/dist/cjs/components/message-scroller.js.map +4 -4
  179. package/dist/cjs/components/notice.js +2 -2
  180. package/dist/cjs/components/notice.js.map +4 -4
  181. package/dist/cjs/components/popover.d.ts.map +1 -1
  182. package/dist/cjs/components/popover.js +1 -1
  183. package/dist/cjs/components/popover.js.map +4 -4
  184. package/dist/cjs/components/popover.props.d.ts +0 -6
  185. package/dist/cjs/components/popover.props.d.ts.map +1 -1
  186. package/dist/cjs/components/popover.props.js +1 -1
  187. package/dist/cjs/components/popover.props.js.map +3 -3
  188. package/dist/cjs/components/progress.js.map +1 -1
  189. package/dist/cjs/components/progress.props.js.map +1 -1
  190. package/dist/cjs/components/radio-cards.d.ts.map +1 -1
  191. package/dist/cjs/components/radio-cards.js +1 -1
  192. package/dist/cjs/components/radio-cards.js.map +4 -4
  193. package/dist/cjs/components/radio-cards.props.d.ts +2 -10
  194. package/dist/cjs/components/radio-cards.props.d.ts.map +1 -1
  195. package/dist/cjs/components/radio-cards.props.js +1 -1
  196. package/dist/cjs/components/radio-cards.props.js.map +4 -4
  197. package/dist/cjs/components/radio-group.js +1 -1
  198. package/dist/cjs/components/radio-group.js.map +4 -4
  199. package/dist/cjs/components/radio-group.props.d.ts +1 -3
  200. package/dist/cjs/components/radio-group.props.d.ts.map +1 -1
  201. package/dist/cjs/components/radio-group.props.js +1 -1
  202. package/dist/cjs/components/radio-group.props.js.map +4 -4
  203. package/dist/cjs/components/radio.d.ts.map +1 -1
  204. package/dist/cjs/components/radio.js +1 -1
  205. package/dist/cjs/components/radio.js.map +4 -4
  206. package/dist/cjs/components/radio.props.js +1 -1
  207. package/dist/cjs/components/radio.props.js.map +4 -4
  208. package/dist/cjs/components/schemas/base-button.schema.d.ts +0 -7
  209. package/dist/cjs/components/schemas/base-button.schema.d.ts.map +1 -1
  210. package/dist/cjs/components/schemas/base-button.schema.js +1 -1
  211. package/dist/cjs/components/schemas/base-button.schema.js.map +2 -2
  212. package/dist/cjs/components/schemas/button.schema.d.ts +7 -73
  213. package/dist/cjs/components/schemas/button.schema.d.ts.map +1 -1
  214. package/dist/cjs/components/schemas/button.schema.js +1 -1
  215. package/dist/cjs/components/schemas/button.schema.js.map +2 -2
  216. package/dist/cjs/components/schemas/icon-button.schema.d.ts +0 -7
  217. package/dist/cjs/components/schemas/icon-button.schema.d.ts.map +1 -1
  218. package/dist/cjs/components/schemas/icon-button.schema.js +1 -1
  219. package/dist/cjs/components/schemas/icon-button.schema.js.map +2 -2
  220. package/dist/cjs/components/schemas/index.js +1 -1
  221. package/dist/cjs/components/schemas/index.js.map +2 -2
  222. package/dist/cjs/components/schemas/shell.schema.d.ts +5 -29
  223. package/dist/cjs/components/schemas/shell.schema.d.ts.map +1 -1
  224. package/dist/cjs/components/schemas/shell.schema.js +1 -1
  225. package/dist/cjs/components/schemas/shell.schema.js.map +2 -2
  226. package/dist/cjs/components/schemas/toggle-button.schema.d.ts +7 -73
  227. package/dist/cjs/components/schemas/toggle-button.schema.d.ts.map +1 -1
  228. package/dist/cjs/components/schemas/toggle-button.schema.js +1 -1
  229. package/dist/cjs/components/schemas/toggle-button.schema.js.map +2 -2
  230. package/dist/cjs/components/schemas/toggle-icon-button.schema.d.ts +0 -7
  231. package/dist/cjs/components/schemas/toggle-icon-button.schema.d.ts.map +1 -1
  232. package/dist/cjs/components/schemas/toggle-icon-button.schema.js +1 -1
  233. package/dist/cjs/components/schemas/toggle-icon-button.schema.js.map +2 -2
  234. package/dist/cjs/components/scroll-area.d.ts.map +1 -1
  235. package/dist/cjs/components/scroll-area.js +1 -1
  236. package/dist/cjs/components/scroll-area.js.map +4 -4
  237. package/dist/cjs/components/segmented-control.d.ts.map +1 -1
  238. package/dist/cjs/components/segmented-control.js +1 -1
  239. package/dist/cjs/components/segmented-control.js.map +4 -4
  240. package/dist/cjs/components/segmented-control.props.d.ts +0 -11
  241. package/dist/cjs/components/segmented-control.props.d.ts.map +1 -1
  242. package/dist/cjs/components/segmented-control.props.js +1 -1
  243. package/dist/cjs/components/segmented-control.props.js.map +3 -3
  244. package/dist/cjs/components/select.d.ts.map +1 -1
  245. package/dist/cjs/components/select.js +1 -1
  246. package/dist/cjs/components/select.js.map +4 -4
  247. package/dist/cjs/components/select.props.d.ts +1 -14
  248. package/dist/cjs/components/select.props.d.ts.map +1 -1
  249. package/dist/cjs/components/select.props.js +1 -1
  250. package/dist/cjs/components/select.props.js.map +4 -4
  251. package/dist/cjs/components/separator.js.map +1 -1
  252. package/dist/cjs/components/separator.props.js.map +1 -1
  253. package/dist/cjs/components/sheet.d.ts +1 -2
  254. package/dist/cjs/components/sheet.d.ts.map +1 -1
  255. package/dist/cjs/components/sheet.js +1 -1
  256. package/dist/cjs/components/sheet.js.map +4 -4
  257. package/dist/cjs/components/shell.context.js +1 -1
  258. package/dist/cjs/components/shell.context.js.map +2 -2
  259. package/dist/cjs/components/shell.hooks.js.map +1 -1
  260. package/dist/cjs/components/shell.js +1 -1
  261. package/dist/cjs/components/shell.js.map +4 -4
  262. package/dist/cjs/components/shell.types.d.ts +1 -1
  263. package/dist/cjs/components/shell.types.d.ts.map +1 -1
  264. package/dist/cjs/components/shell.types.js.map +1 -1
  265. package/dist/cjs/components/sidebar.d.ts +2 -92
  266. package/dist/cjs/components/sidebar.d.ts.map +1 -1
  267. package/dist/cjs/components/sidebar.js +1 -1
  268. package/dist/cjs/components/sidebar.js.map +4 -4
  269. package/dist/cjs/components/slider.js.map +1 -1
  270. package/dist/cjs/components/slider.props.js.map +1 -1
  271. package/dist/cjs/components/switch.d.ts.map +1 -1
  272. package/dist/cjs/components/switch.js +1 -1
  273. package/dist/cjs/components/switch.js.map +3 -3
  274. package/dist/cjs/components/switch.props.d.ts +0 -18
  275. package/dist/cjs/components/switch.props.d.ts.map +1 -1
  276. package/dist/cjs/components/switch.props.js +1 -1
  277. package/dist/cjs/components/switch.props.js.map +3 -3
  278. package/dist/cjs/components/tab-nav.d.ts.map +1 -1
  279. package/dist/cjs/components/tab-nav.js +1 -1
  280. package/dist/cjs/components/tab-nav.js.map +4 -4
  281. package/dist/cjs/components/tab-nav.props.js +1 -1
  282. package/dist/cjs/components/tab-nav.props.js.map +3 -3
  283. package/dist/cjs/components/table.js +1 -1
  284. package/dist/cjs/components/table.js.map +4 -4
  285. package/dist/cjs/components/tabs.d.ts.map +1 -1
  286. package/dist/cjs/components/tabs.js +1 -1
  287. package/dist/cjs/components/tabs.js.map +4 -4
  288. package/dist/cjs/components/tabs.props.js +1 -1
  289. package/dist/cjs/components/tabs.props.js.map +3 -3
  290. package/dist/cjs/components/text-area.d.ts.map +1 -1
  291. package/dist/cjs/components/text-area.js +1 -1
  292. package/dist/cjs/components/text-area.js.map +4 -4
  293. package/dist/cjs/components/text-area.props.d.ts +1 -12
  294. package/dist/cjs/components/text-area.props.d.ts.map +1 -1
  295. package/dist/cjs/components/text-area.props.js +1 -1
  296. package/dist/cjs/components/text-area.props.js.map +4 -4
  297. package/dist/cjs/components/text-field.d.ts.map +1 -1
  298. package/dist/cjs/components/text-field.js +2 -2
  299. package/dist/cjs/components/text-field.js.map +4 -4
  300. package/dist/cjs/components/text-field.props.d.ts +1 -12
  301. package/dist/cjs/components/text-field.props.d.ts.map +1 -1
  302. package/dist/cjs/components/text-field.props.js +1 -1
  303. package/dist/cjs/components/text-field.props.js.map +4 -4
  304. package/dist/cjs/components/text.js.map +1 -1
  305. package/dist/cjs/components/text.props.js.map +1 -1
  306. package/dist/cjs/components/theme-panel.d.ts.map +1 -1
  307. package/dist/cjs/components/theme-panel.js +3 -3
  308. package/dist/cjs/components/theme-panel.js.map +4 -4
  309. package/dist/cjs/components/theme.d.ts +0 -3
  310. package/dist/cjs/components/theme.d.ts.map +1 -1
  311. package/dist/cjs/components/theme.js +1 -1
  312. package/dist/cjs/components/theme.js.map +4 -4
  313. package/dist/cjs/components/theme.props.d.ts +1 -19
  314. package/dist/cjs/components/theme.props.d.ts.map +1 -1
  315. package/dist/cjs/components/theme.props.js +1 -1
  316. package/dist/cjs/components/theme.props.js.map +3 -3
  317. package/dist/cjs/components/toggle-button.d.ts.map +1 -1
  318. package/dist/cjs/components/toggle-button.js +3 -3
  319. package/dist/cjs/components/toggle-button.js.map +4 -4
  320. package/dist/cjs/components/toggle-icon-button.d.ts.map +1 -1
  321. package/dist/cjs/components/toggle-icon-button.js +3 -3
  322. package/dist/cjs/components/toggle-icon-button.js.map +4 -4
  323. package/dist/cjs/components/toolbar.d.ts +1 -1
  324. package/dist/cjs/components/toolbar.d.ts.map +1 -1
  325. package/dist/cjs/components/toolbar.js +2 -2
  326. package/dist/cjs/components/toolbar.js.map +4 -4
  327. package/dist/cjs/components/tooltip.js +1 -1
  328. package/dist/cjs/components/tooltip.js.map +4 -4
  329. package/dist/cjs/components/virtual-menu.js +1 -1
  330. package/dist/cjs/components/virtual-menu.js.map +4 -4
  331. package/dist/cjs/helpers/index.js +4 -4
  332. package/dist/cjs/helpers/index.js.map +3 -3
  333. package/dist/cjs/helpers/map-prop-values.d.ts +1 -4
  334. package/dist/cjs/helpers/map-prop-values.d.ts.map +1 -1
  335. package/dist/cjs/helpers/map-prop-values.js +1 -1
  336. package/dist/cjs/helpers/map-prop-values.js.map +3 -3
  337. package/dist/cjs/hooks/use-breakpoint.js.map +1 -1
  338. package/dist/cjs/hooks/use-thumb-sync.d.ts +13 -0
  339. package/dist/cjs/hooks/use-thumb-sync.d.ts.map +1 -0
  340. package/dist/cjs/hooks/use-thumb-sync.js +2 -0
  341. package/dist/cjs/hooks/use-thumb-sync.js.map +7 -0
  342. package/dist/cjs/index.js +7 -7
  343. package/dist/cjs/index.js.map +4 -4
  344. package/dist/cjs/props/color.prop.d.ts.map +1 -1
  345. package/dist/cjs/props/color.prop.js.map +2 -2
  346. package/dist/cjs/props/index.d.ts +0 -1
  347. package/dist/cjs/props/index.d.ts.map +1 -1
  348. package/dist/cjs/props/index.js +1 -1
  349. package/dist/cjs/props/index.js.map +4 -4
  350. package/dist/esm/chunk-23WDP4JG.js +2 -0
  351. package/dist/esm/chunk-23WDP4JG.js.map +7 -0
  352. package/dist/esm/{chunk-K7BWSYVP.js → chunk-2IPVLV6B.js} +2 -2
  353. package/dist/esm/chunk-2MYYU7ST.js +2 -0
  354. package/dist/esm/chunk-2MYYU7ST.js.map +7 -0
  355. package/dist/esm/{chunk-SQ4BU4GH.js → chunk-2NNB4ZZ5.js} +2 -2
  356. package/dist/esm/chunk-2NNCZM7P.js +2 -0
  357. package/dist/esm/chunk-2NNCZM7P.js.map +7 -0
  358. package/dist/esm/{chunk-5NARBZRI.js → chunk-2PO6TZ7L.js} +2 -2
  359. package/dist/esm/{chunk-5NARBZRI.js.map → chunk-2PO6TZ7L.js.map} +1 -1
  360. package/dist/esm/{chunk-JXVUTFQN.js → chunk-2XSRO44Q.js} +2 -2
  361. package/dist/esm/{chunk-Z4DTHR2S.js → chunk-34KVYDF6.js} +1 -1
  362. package/dist/esm/{chunk-Z4DTHR2S.js.map → chunk-34KVYDF6.js.map} +2 -2
  363. package/dist/esm/{chunk-KXSMY4ZF.js → chunk-35KS5AQE.js} +2 -2
  364. package/dist/esm/chunk-3OABA7AF.js +2 -0
  365. package/dist/esm/chunk-3OABA7AF.js.map +7 -0
  366. package/dist/esm/chunk-3PT3AOD5.js +2 -0
  367. package/dist/esm/chunk-3PT3AOD5.js.map +7 -0
  368. package/dist/esm/{chunk-A2XVR7GL.js → chunk-3PTKPDSA.js} +2 -2
  369. package/dist/esm/chunk-3PTKPDSA.js.map +7 -0
  370. package/dist/esm/chunk-4D7OU2UA.js +2 -0
  371. package/dist/esm/chunk-4D7OU2UA.js.map +7 -0
  372. package/dist/esm/chunk-4EBCFKNC.js +2 -0
  373. package/dist/esm/chunk-4EBCFKNC.js.map +7 -0
  374. package/dist/esm/chunk-5AHQJB6H.js +2 -0
  375. package/dist/esm/{chunk-RWN22S44.js.map → chunk-5AHQJB6H.js.map} +2 -2
  376. package/dist/esm/chunk-5GYIQIPW.js +2 -0
  377. package/dist/esm/chunk-5GYIQIPW.js.map +7 -0
  378. package/dist/esm/chunk-5PG5YGIW.js +2 -0
  379. package/dist/esm/chunk-5PG5YGIW.js.map +7 -0
  380. package/dist/esm/{chunk-34UMKY2L.js → chunk-5RHODJDJ.js} +2 -2
  381. package/dist/esm/chunk-5ROQAZ7J.js +2 -0
  382. package/dist/esm/{chunk-GMHA5CFH.js.map → chunk-5ROQAZ7J.js.map} +2 -2
  383. package/dist/esm/chunk-5SQL4ZRC.js +2 -0
  384. package/dist/esm/chunk-5SQL4ZRC.js.map +7 -0
  385. package/dist/esm/{chunk-YA5DF67M.js → chunk-5YLKKQFK.js} +1 -1
  386. package/dist/esm/chunk-5YLKKQFK.js.map +7 -0
  387. package/dist/esm/{chunk-ZQVYY7UT.js → chunk-672FI4OH.js} +2 -2
  388. package/dist/esm/{chunk-BWVYB64R.js → chunk-6ERCPRXX.js} +2 -2
  389. package/dist/esm/chunk-7BE6N3KY.js +2 -0
  390. package/dist/esm/chunk-7BE6N3KY.js.map +7 -0
  391. package/dist/esm/{chunk-PXUQEA77.js → chunk-7CBZFHSQ.js} +2 -2
  392. package/dist/esm/{chunk-LOLLL7AV.js → chunk-7UW7D77E.js} +2 -2
  393. package/dist/esm/{chunk-62CJL5G7.js → chunk-A2NG5NRN.js} +2 -2
  394. package/dist/esm/chunk-ABQHBDM4.js +2 -0
  395. package/dist/esm/chunk-ABQHBDM4.js.map +7 -0
  396. package/dist/esm/{chunk-43A5GUSI.js → chunk-AMP7O3DM.js} +2 -2
  397. package/dist/esm/{chunk-UBOOUDS4.js → chunk-AO32NT75.js} +2 -2
  398. package/dist/esm/chunk-B72RMGWZ.js +2 -0
  399. package/dist/esm/chunk-B72RMGWZ.js.map +7 -0
  400. package/dist/esm/chunk-BDOMLGLZ.js +2 -0
  401. package/dist/esm/chunk-BDOMLGLZ.js.map +7 -0
  402. package/dist/esm/{chunk-HFVD7W6R.js → chunk-BFLO4IVZ.js} +2 -2
  403. package/dist/esm/chunk-CAUFRKTK.js +2 -0
  404. package/dist/esm/chunk-CAUFRKTK.js.map +7 -0
  405. package/dist/esm/chunk-CJ4UZDW5.js +2 -0
  406. package/dist/esm/chunk-CJ4UZDW5.js.map +7 -0
  407. package/dist/esm/{chunk-O2WPAUQN.js → chunk-CL6LRPCS.js} +2 -2
  408. package/dist/esm/{chunk-UTHTSYSL.js → chunk-CMQMCGGC.js} +2 -2
  409. package/dist/esm/chunk-CMQMCGGC.js.map +7 -0
  410. package/dist/esm/chunk-DD5QHU6R.js +2 -0
  411. package/dist/esm/chunk-DD5QHU6R.js.map +7 -0
  412. package/dist/esm/chunk-DDFONGSM.js +2 -0
  413. package/dist/esm/chunk-DDFONGSM.js.map +7 -0
  414. package/dist/esm/chunk-DIGT74P3.js +2 -0
  415. package/dist/esm/chunk-DIGT74P3.js.map +7 -0
  416. package/dist/esm/{chunk-EUH5MK4Q.js → chunk-DQTJMIRO.js} +2 -2
  417. package/dist/esm/{chunk-GLERJXVS.js → chunk-DSB3TEAQ.js} +2 -2
  418. package/dist/esm/chunk-E5DJILUI.js +2 -0
  419. package/dist/esm/chunk-E5DJILUI.js.map +7 -0
  420. package/dist/esm/chunk-EJG2UNTM.js +2 -0
  421. package/dist/esm/chunk-EJG2UNTM.js.map +7 -0
  422. package/dist/esm/{chunk-HIBX2EXV.js → chunk-ELZEAEN2.js} +2 -2
  423. package/dist/esm/{chunk-IV4YJRVR.js → chunk-EVTNB4TB.js} +2 -2
  424. package/dist/esm/{chunk-LHGT24A5.js → chunk-F2XQYWBE.js} +2 -2
  425. package/dist/esm/chunk-F2XQYWBE.js.map +7 -0
  426. package/dist/esm/chunk-FK6F6ROH.js +2 -0
  427. package/dist/esm/chunk-FK6F6ROH.js.map +7 -0
  428. package/dist/esm/chunk-GS2QSZUR.js +2 -0
  429. package/dist/esm/chunk-GS2QSZUR.js.map +7 -0
  430. package/dist/esm/{chunk-SGUTNJUO.js → chunk-GVLTTTFL.js} +2 -2
  431. package/dist/esm/chunk-HI3JY3DJ.js +2 -0
  432. package/dist/esm/chunk-HI3JY3DJ.js.map +7 -0
  433. package/dist/esm/chunk-HKRQ3E3I.js +2 -0
  434. package/dist/esm/chunk-HKRQ3E3I.js.map +7 -0
  435. package/dist/esm/{chunk-CIKDGYX3.js → chunk-HVQ3SLQC.js} +2 -2
  436. package/dist/esm/chunk-I53SGTKV.js +2 -0
  437. package/dist/esm/chunk-I53SGTKV.js.map +7 -0
  438. package/dist/esm/chunk-IMYZP5OY.js +2 -0
  439. package/dist/esm/chunk-IMYZP5OY.js.map +7 -0
  440. package/dist/esm/{chunk-N6Q3L64W.js → chunk-IYFDCW7Y.js} +2 -2
  441. package/dist/esm/chunk-IYXR46Q6.js +5 -0
  442. package/dist/esm/chunk-IYXR46Q6.js.map +7 -0
  443. package/dist/esm/chunk-JGB6LNTP.js +2 -0
  444. package/dist/esm/chunk-JGB6LNTP.js.map +7 -0
  445. package/dist/esm/chunk-JLHJHYVQ.js +2 -0
  446. package/dist/esm/chunk-JLHJHYVQ.js.map +7 -0
  447. package/dist/esm/{chunk-7FC7HF76.js → chunk-JLI7WHV6.js} +2 -2
  448. package/dist/esm/{chunk-OW4KAIWF.js → chunk-JQURG6CB.js} +2 -2
  449. package/dist/esm/{chunk-EUSMN3K7.js → chunk-K5SC3CZZ.js} +2 -2
  450. package/dist/esm/{chunk-UBWRIE4C.js → chunk-K7J23OPW.js} +2 -2
  451. package/dist/esm/{chunk-SQZ5O7QS.js → chunk-KLIREDPE.js} +2 -2
  452. package/dist/esm/chunk-L6M2MI7Y.js +2 -0
  453. package/dist/esm/chunk-L6M2MI7Y.js.map +7 -0
  454. package/dist/esm/chunk-LRFAOQK6.js +2 -0
  455. package/dist/esm/chunk-LRFAOQK6.js.map +7 -0
  456. package/dist/esm/chunk-LXSARUXD.js +2 -0
  457. package/dist/esm/chunk-LXSARUXD.js.map +7 -0
  458. package/dist/esm/{chunk-ALG6R3ZX.js → chunk-MD3QCXRD.js} +2 -2
  459. package/dist/esm/chunk-MGQ4A2FI.js +2 -0
  460. package/dist/esm/{chunk-CMEKH4I5.js → chunk-MGSHX5N5.js} +2 -2
  461. package/dist/esm/chunk-MGXXNEMQ.js +2 -0
  462. package/dist/esm/chunk-MGXXNEMQ.js.map +7 -0
  463. package/dist/esm/chunk-MLJLEOZ5.js +2 -0
  464. package/dist/esm/chunk-MLJLEOZ5.js.map +7 -0
  465. package/dist/esm/chunk-MNC2O6QW.js +2 -0
  466. package/dist/esm/chunk-MNC2O6QW.js.map +7 -0
  467. package/dist/esm/chunk-MOMYWKIO.js +2 -0
  468. package/dist/esm/chunk-MOMYWKIO.js.map +7 -0
  469. package/dist/esm/{chunk-ADFUYK3U.js → chunk-MQT3YJKY.js} +2 -2
  470. package/dist/esm/chunk-MQT3YJKY.js.map +7 -0
  471. package/dist/esm/{chunk-ZE2GWHPY.js → chunk-MVW2SY4F.js} +2 -2
  472. package/dist/esm/{chunk-KJTEZVOF.js → chunk-O6K6RZXY.js} +2 -2
  473. package/dist/esm/{chunk-JUY7CBSL.js → chunk-PBFSBHBS.js} +2 -2
  474. package/dist/esm/{chunk-3HGHPAH4.js → chunk-PDBVZAUJ.js} +2 -2
  475. package/dist/esm/chunk-PRRJ4WRE.js +2 -0
  476. package/dist/esm/chunk-PRRJ4WRE.js.map +7 -0
  477. package/dist/esm/chunk-PSS45RHX.js +2 -0
  478. package/dist/esm/{chunk-4JNHUPIM.js.map → chunk-PSS45RHX.js.map} +3 -3
  479. package/dist/esm/chunk-PTEAQFHI.js +2 -0
  480. package/dist/esm/chunk-PTEAQFHI.js.map +7 -0
  481. package/dist/esm/chunk-QDW5ZG5E.js +1 -0
  482. package/dist/esm/chunk-QE2EF7A7.js +2 -0
  483. package/dist/esm/chunk-QE2EF7A7.js.map +7 -0
  484. package/dist/esm/{chunk-R2MQMCND.js → chunk-QJFAGWBO.js} +2 -2
  485. package/dist/esm/chunk-QJSSCW3B.js +2 -0
  486. package/dist/esm/chunk-QJSSCW3B.js.map +7 -0
  487. package/dist/esm/chunk-QPNYHS6A.js +2 -0
  488. package/dist/esm/chunk-QPNYHS6A.js.map +7 -0
  489. package/dist/esm/chunk-QWFFYUFH.js +2 -0
  490. package/dist/esm/chunk-QWFFYUFH.js.map +7 -0
  491. package/dist/esm/{chunk-JGR3L4SN.js → chunk-R4CN4Q3G.js} +2 -2
  492. package/dist/esm/chunk-RA4U6VVZ.js +2 -0
  493. package/dist/esm/chunk-RA4U6VVZ.js.map +7 -0
  494. package/dist/esm/{chunk-RUPET4E7.js → chunk-RVHKSNMJ.js} +2 -2
  495. package/dist/esm/{chunk-HJLBVNQE.js → chunk-RYURXQLJ.js} +2 -2
  496. package/dist/esm/{chunk-RUOOCYK4.js → chunk-S53ZQNHK.js} +2 -2
  497. package/dist/esm/chunk-SEKZGBK3.js +2 -0
  498. package/dist/esm/chunk-SEKZGBK3.js.map +7 -0
  499. package/dist/esm/{chunk-5G4WWJ4Z.js → chunk-T5DSQKKF.js} +2 -2
  500. package/dist/esm/{chunk-3XSB7YIM.js → chunk-TBZO22XK.js} +2 -2
  501. package/dist/esm/{chunk-C7UXUTUF.js → chunk-TGRRQHLQ.js} +2 -2
  502. package/dist/esm/{chunk-IVBKTHDM.js → chunk-TPHNDGSV.js} +2 -2
  503. package/dist/esm/chunk-UA6FP7HS.js +2 -0
  504. package/dist/esm/{chunk-6FLLFCBU.js → chunk-UBSLEGQZ.js} +2 -2
  505. package/dist/esm/chunk-UI2EFF6F.js +2 -0
  506. package/dist/esm/chunk-UI2EFF6F.js.map +7 -0
  507. package/dist/esm/chunk-ULSNYQOY.js +2 -0
  508. package/dist/esm/{chunk-XKBLNVOD.js.map → chunk-ULSNYQOY.js.map} +1 -1
  509. package/dist/esm/chunk-UPCRXJB2.js +2 -0
  510. package/dist/esm/chunk-UPCRXJB2.js.map +7 -0
  511. package/dist/esm/chunk-URLG45A4.js +2 -0
  512. package/dist/esm/chunk-URLG45A4.js.map +7 -0
  513. package/dist/esm/{chunk-LJXP6K5Y.js → chunk-V2TPYSZ2.js} +2 -2
  514. package/dist/esm/chunk-V7UP4SLZ.js +2 -0
  515. package/dist/esm/chunk-V7UP4SLZ.js.map +7 -0
  516. package/dist/esm/{chunk-TUKX2BRO.js → chunk-VASXAV62.js} +2 -2
  517. package/dist/esm/chunk-VASXAV62.js.map +7 -0
  518. package/dist/esm/chunk-VSSJTPBV.js +2 -0
  519. package/dist/esm/chunk-VSSJTPBV.js.map +7 -0
  520. package/dist/esm/chunk-W7VAP3WE.js +2 -0
  521. package/dist/esm/chunk-W7VAP3WE.js.map +7 -0
  522. package/dist/esm/chunk-WGNIFXUE.js +2 -0
  523. package/dist/esm/chunk-WGNIFXUE.js.map +7 -0
  524. package/dist/esm/chunk-WNSG5P3U.js +2 -0
  525. package/dist/esm/chunk-WNSG5P3U.js.map +7 -0
  526. package/dist/esm/{chunk-YLLCCUC7.js → chunk-X3UTLDGG.js} +2 -2
  527. package/dist/esm/chunk-XCDXQLWS.js +2 -0
  528. package/dist/esm/chunk-XCDXQLWS.js.map +7 -0
  529. package/dist/esm/{chunk-3UZHKW6I.js → chunk-XHF6RBOE.js} +2 -2
  530. package/dist/esm/{chunk-IPHKKZYE.js → chunk-XHKL4PG7.js} +2 -2
  531. package/dist/esm/chunk-XKAWVGBL.js +2 -0
  532. package/dist/esm/chunk-XKAWVGBL.js.map +7 -0
  533. package/dist/esm/{chunk-PAEHH3WS.js → chunk-XZ5XZS5O.js} +2 -2
  534. package/dist/esm/chunk-Y3FVBAN2.js +2 -0
  535. package/dist/esm/chunk-Y3FVBAN2.js.map +7 -0
  536. package/dist/esm/chunk-Y4IB7KDZ.js +5 -0
  537. package/dist/esm/chunk-Y4IB7KDZ.js.map +7 -0
  538. package/dist/esm/chunk-YKGLZEXX.js +2 -0
  539. package/dist/esm/{chunk-VBAXORVV.js.map → chunk-YKGLZEXX.js.map} +3 -3
  540. package/dist/esm/chunk-YSHEXVBI.js +10 -0
  541. package/dist/esm/chunk-YSHEXVBI.js.map +7 -0
  542. package/dist/esm/chunk-Z2LGVLUB.js +2 -0
  543. package/dist/esm/chunk-Z2LGVLUB.js.map +7 -0
  544. package/dist/esm/chunk-ZMFZYXLB.js +2 -0
  545. package/dist/esm/chunk-ZMFZYXLB.js.map +7 -0
  546. package/dist/esm/components/_internal/base-button.d.ts.map +1 -1
  547. package/dist/esm/components/_internal/base-button.js +1 -1
  548. package/dist/esm/components/_internal/base-button.props.d.ts +1 -8
  549. package/dist/esm/components/_internal/base-button.props.d.ts.map +1 -1
  550. package/dist/esm/components/_internal/base-button.props.js +1 -1
  551. package/dist/esm/components/_internal/base-checkbox.props.d.ts +2 -9
  552. package/dist/esm/components/_internal/base-checkbox.props.d.ts.map +1 -1
  553. package/dist/esm/components/_internal/base-checkbox.props.js +1 -1
  554. package/dist/esm/components/_internal/base-menu.props.d.ts +0 -28
  555. package/dist/esm/components/_internal/base-menu.props.d.ts.map +1 -1
  556. package/dist/esm/components/_internal/base-menu.props.js +1 -1
  557. package/dist/esm/components/_internal/base-menu.utils.d.ts +2 -9
  558. package/dist/esm/components/_internal/base-menu.utils.d.ts.map +1 -1
  559. package/dist/esm/components/_internal/base-menu.utils.js +1 -1
  560. package/dist/esm/components/_internal/base-radio.props.d.ts +1 -8
  561. package/dist/esm/components/_internal/base-radio.props.d.ts.map +1 -1
  562. package/dist/esm/components/_internal/base-radio.props.js +1 -1
  563. package/dist/esm/components/_internal/base-tab-list.props.d.ts +0 -6
  564. package/dist/esm/components/_internal/base-tab-list.props.d.ts.map +1 -1
  565. package/dist/esm/components/_internal/base-tab-list.props.js +1 -1
  566. package/dist/esm/components/_internal/menu-context.js +1 -1
  567. package/dist/esm/components/_internal/pane-chrome.js +1 -1
  568. package/dist/esm/components/_internal/shell-bottom.js +1 -1
  569. package/dist/esm/components/_internal/shell-inspector.js +1 -1
  570. package/dist/esm/components/_internal/shell-pane.d.ts +2 -3
  571. package/dist/esm/components/_internal/shell-pane.d.ts.map +1 -1
  572. package/dist/esm/components/_internal/shell-pane.js +1 -1
  573. package/dist/esm/components/_internal/shell-sidebar.d.ts +0 -4
  574. package/dist/esm/components/_internal/shell-sidebar.d.ts.map +1 -1
  575. package/dist/esm/components/_internal/shell-sidebar.js +1 -1
  576. package/dist/esm/components/_internal/shell-store.d.ts +4 -4
  577. package/dist/esm/components/_internal/shell-store.d.ts.map +1 -1
  578. package/dist/esm/components/_internal/shell-store.js +1 -1
  579. package/dist/esm/components/accordion.d.ts.map +1 -1
  580. package/dist/esm/components/accordion.js +1 -1
  581. package/dist/esm/components/accordion.props.d.ts +4 -15
  582. package/dist/esm/components/accordion.props.d.ts.map +1 -1
  583. package/dist/esm/components/accordion.props.js +1 -1
  584. package/dist/esm/components/alert-dialog.d.ts.map +1 -1
  585. package/dist/esm/components/alert-dialog.js +1 -1
  586. package/dist/esm/components/alert-dialog.props.d.ts +0 -5
  587. package/dist/esm/components/alert-dialog.props.d.ts.map +1 -1
  588. package/dist/esm/components/alert-dialog.props.js +1 -1
  589. package/dist/esm/components/avatar.d.ts.map +1 -1
  590. package/dist/esm/components/avatar.js +1 -1
  591. package/dist/esm/components/avatar.props.d.ts +2 -17
  592. package/dist/esm/components/avatar.props.d.ts.map +1 -1
  593. package/dist/esm/components/avatar.props.js +1 -1
  594. package/dist/esm/components/badge.d.ts.map +1 -1
  595. package/dist/esm/components/badge.js +1 -1
  596. package/dist/esm/components/badge.props.d.ts +1 -16
  597. package/dist/esm/components/badge.props.d.ts.map +1 -1
  598. package/dist/esm/components/badge.props.js +1 -1
  599. package/dist/esm/components/blockquote.js +1 -1
  600. package/dist/esm/components/blockquote.props.d.ts +1 -1
  601. package/dist/esm/components/blockquote.props.js +1 -1
  602. package/dist/esm/components/box.js +1 -1
  603. package/dist/esm/components/button.d.ts +1 -38
  604. package/dist/esm/components/button.d.ts.map +1 -1
  605. package/dist/esm/components/button.js +1 -1
  606. package/dist/esm/components/button.props.js +1 -1
  607. package/dist/esm/components/card.d.ts.map +1 -1
  608. package/dist/esm/components/card.js +1 -1
  609. package/dist/esm/components/card.props.d.ts +1 -8
  610. package/dist/esm/components/card.props.d.ts.map +1 -1
  611. package/dist/esm/components/card.props.js +1 -1
  612. package/dist/esm/components/chatbar.d.ts +1 -3
  613. package/dist/esm/components/chatbar.d.ts.map +1 -1
  614. package/dist/esm/components/chatbar.js +1 -1
  615. package/dist/esm/components/checkbox-cards.d.ts.map +1 -1
  616. package/dist/esm/components/checkbox-cards.js +1 -1
  617. package/dist/esm/components/checkbox-cards.props.d.ts +2 -10
  618. package/dist/esm/components/checkbox-cards.props.d.ts.map +1 -1
  619. package/dist/esm/components/checkbox-cards.props.js +1 -1
  620. package/dist/esm/components/checkbox-group.js +1 -1
  621. package/dist/esm/components/checkbox-group.props.d.ts +2 -8
  622. package/dist/esm/components/checkbox-group.props.d.ts.map +1 -1
  623. package/dist/esm/components/checkbox-group.props.js +1 -1
  624. package/dist/esm/components/checkbox.d.ts.map +1 -1
  625. package/dist/esm/components/checkbox.js +1 -1
  626. package/dist/esm/components/checkbox.props.js +1 -1
  627. package/dist/esm/components/code.js +1 -1
  628. package/dist/esm/components/code.props.d.ts +1 -1
  629. package/dist/esm/components/code.props.js +1 -1
  630. package/dist/esm/components/combobox.d.ts.map +1 -1
  631. package/dist/esm/components/combobox.js +1 -1
  632. package/dist/esm/components/combobox.props.d.ts +1 -20
  633. package/dist/esm/components/combobox.props.d.ts.map +1 -1
  634. package/dist/esm/components/combobox.props.js +1 -1
  635. package/dist/esm/components/container.js +1 -1
  636. package/dist/esm/components/context-menu.d.ts.map +1 -1
  637. package/dist/esm/components/context-menu.js +1 -1
  638. package/dist/esm/components/context-menu.props.js +1 -1
  639. package/dist/esm/components/data-list.js +1 -1
  640. package/dist/esm/components/data-list.props.js +1 -1
  641. package/dist/esm/components/dialog.d.ts.map +1 -1
  642. package/dist/esm/components/dialog.js +1 -1
  643. package/dist/esm/components/dialog.props.d.ts +0 -5
  644. package/dist/esm/components/dialog.props.d.ts.map +1 -1
  645. package/dist/esm/components/dialog.props.js +1 -1
  646. package/dist/esm/components/dropdown-menu.d.ts.map +1 -1
  647. package/dist/esm/components/dropdown-menu.js +1 -1
  648. package/dist/esm/components/dropdown-menu.props.js +1 -1
  649. package/dist/esm/components/em.js +1 -1
  650. package/dist/esm/components/flex.js +1 -1
  651. package/dist/esm/components/grid.js +1 -1
  652. package/dist/esm/components/heading.js +1 -1
  653. package/dist/esm/components/heading.props.js +1 -1
  654. package/dist/esm/components/hover-card.js +1 -1
  655. package/dist/esm/components/icon-button.d.ts +1 -1
  656. package/dist/esm/components/icon-button.d.ts.map +1 -1
  657. package/dist/esm/components/icon-button.js +1 -1
  658. package/dist/esm/components/icon-button.props.js +1 -1
  659. package/dist/esm/components/image.d.ts +0 -5
  660. package/dist/esm/components/image.d.ts.map +1 -1
  661. package/dist/esm/components/image.js +1 -1
  662. package/dist/esm/components/index.d.ts +0 -3
  663. package/dist/esm/components/index.d.ts.map +1 -1
  664. package/dist/esm/components/index.js +1 -1
  665. package/dist/esm/components/inset.js +1 -1
  666. package/dist/esm/components/kbd.js +1 -1
  667. package/dist/esm/components/kbd.props.d.ts +2 -4
  668. package/dist/esm/components/kbd.props.d.ts.map +1 -1
  669. package/dist/esm/components/kbd.props.js +1 -1
  670. package/dist/esm/components/link.js +1 -1
  671. package/dist/esm/components/link.props.d.ts +1 -1
  672. package/dist/esm/components/link.props.js +1 -1
  673. package/dist/esm/components/message-scroller.js +1 -1
  674. package/dist/esm/components/navbar.js +1 -1
  675. package/dist/esm/components/notice.js +1 -1
  676. package/dist/esm/components/popover.d.ts.map +1 -1
  677. package/dist/esm/components/popover.js +1 -1
  678. package/dist/esm/components/popover.props.d.ts +0 -6
  679. package/dist/esm/components/popover.props.d.ts.map +1 -1
  680. package/dist/esm/components/popover.props.js +1 -1
  681. package/dist/esm/components/progress.js +1 -1
  682. package/dist/esm/components/progress.props.js +1 -1
  683. package/dist/esm/components/quote.js +1 -1
  684. package/dist/esm/components/radio-cards.d.ts.map +1 -1
  685. package/dist/esm/components/radio-cards.js +1 -1
  686. package/dist/esm/components/radio-cards.props.d.ts +2 -10
  687. package/dist/esm/components/radio-cards.props.d.ts.map +1 -1
  688. package/dist/esm/components/radio-cards.props.js +1 -1
  689. package/dist/esm/components/radio-group.js +1 -1
  690. package/dist/esm/components/radio-group.props.d.ts +1 -3
  691. package/dist/esm/components/radio-group.props.d.ts.map +1 -1
  692. package/dist/esm/components/radio-group.props.js +1 -1
  693. package/dist/esm/components/radio.d.ts.map +1 -1
  694. package/dist/esm/components/radio.js +1 -1
  695. package/dist/esm/components/radio.props.js +1 -1
  696. package/dist/esm/components/schemas/base-button.schema.d.ts +0 -7
  697. package/dist/esm/components/schemas/base-button.schema.d.ts.map +1 -1
  698. package/dist/esm/components/schemas/base-button.schema.js +1 -1
  699. package/dist/esm/components/schemas/button.schema.d.ts +7 -73
  700. package/dist/esm/components/schemas/button.schema.d.ts.map +1 -1
  701. package/dist/esm/components/schemas/button.schema.js +1 -1
  702. package/dist/esm/components/schemas/icon-button.schema.d.ts +0 -7
  703. package/dist/esm/components/schemas/icon-button.schema.d.ts.map +1 -1
  704. package/dist/esm/components/schemas/icon-button.schema.js +1 -1
  705. package/dist/esm/components/schemas/index.js +1 -1
  706. package/dist/esm/components/schemas/shell.schema.d.ts +5 -29
  707. package/dist/esm/components/schemas/shell.schema.d.ts.map +1 -1
  708. package/dist/esm/components/schemas/shell.schema.js +1 -1
  709. package/dist/esm/components/schemas/toggle-button.schema.d.ts +7 -73
  710. package/dist/esm/components/schemas/toggle-button.schema.d.ts.map +1 -1
  711. package/dist/esm/components/schemas/toggle-button.schema.js +1 -1
  712. package/dist/esm/components/schemas/toggle-icon-button.schema.d.ts +0 -7
  713. package/dist/esm/components/schemas/toggle-icon-button.schema.d.ts.map +1 -1
  714. package/dist/esm/components/schemas/toggle-icon-button.schema.js +1 -1
  715. package/dist/esm/components/scroll-area.d.ts.map +1 -1
  716. package/dist/esm/components/scroll-area.js +1 -1
  717. package/dist/esm/components/section.js +1 -1
  718. package/dist/esm/components/segmented-control.d.ts.map +1 -1
  719. package/dist/esm/components/segmented-control.js +1 -1
  720. package/dist/esm/components/segmented-control.props.d.ts +0 -11
  721. package/dist/esm/components/segmented-control.props.d.ts.map +1 -1
  722. package/dist/esm/components/segmented-control.props.js +1 -1
  723. package/dist/esm/components/select.d.ts.map +1 -1
  724. package/dist/esm/components/select.js +1 -1
  725. package/dist/esm/components/select.props.d.ts +1 -14
  726. package/dist/esm/components/select.props.d.ts.map +1 -1
  727. package/dist/esm/components/select.props.js +1 -1
  728. package/dist/esm/components/separator.js +1 -1
  729. package/dist/esm/components/separator.props.js +1 -1
  730. package/dist/esm/components/sheet.d.ts +1 -2
  731. package/dist/esm/components/sheet.d.ts.map +1 -1
  732. package/dist/esm/components/sheet.js +1 -1
  733. package/dist/esm/components/shell.context.js +1 -1
  734. package/dist/esm/components/shell.hooks.js +1 -1
  735. package/dist/esm/components/shell.js +1 -1
  736. package/dist/esm/components/shell.types.d.ts +1 -1
  737. package/dist/esm/components/shell.types.d.ts.map +1 -1
  738. package/dist/esm/components/shell.types.js +1 -1
  739. package/dist/esm/components/sidebar.d.ts +2 -92
  740. package/dist/esm/components/sidebar.d.ts.map +1 -1
  741. package/dist/esm/components/sidebar.js +1 -1
  742. package/dist/esm/components/skeleton.js +1 -1
  743. package/dist/esm/components/slider.js +1 -1
  744. package/dist/esm/components/slider.props.js +1 -1
  745. package/dist/esm/components/spinner.js +1 -1
  746. package/dist/esm/components/strong.js +1 -1
  747. package/dist/esm/components/switch.d.ts.map +1 -1
  748. package/dist/esm/components/switch.js +1 -1
  749. package/dist/esm/components/switch.props.d.ts +0 -18
  750. package/dist/esm/components/switch.props.d.ts.map +1 -1
  751. package/dist/esm/components/switch.props.js +1 -1
  752. package/dist/esm/components/tab-nav.d.ts.map +1 -1
  753. package/dist/esm/components/tab-nav.js +1 -1
  754. package/dist/esm/components/tab-nav.props.js +1 -1
  755. package/dist/esm/components/table.js +1 -1
  756. package/dist/esm/components/tabs.d.ts.map +1 -1
  757. package/dist/esm/components/tabs.js +1 -1
  758. package/dist/esm/components/tabs.props.js +1 -1
  759. package/dist/esm/components/text-area.d.ts.map +1 -1
  760. package/dist/esm/components/text-area.js +1 -1
  761. package/dist/esm/components/text-area.props.d.ts +1 -12
  762. package/dist/esm/components/text-area.props.d.ts.map +1 -1
  763. package/dist/esm/components/text-area.props.js +1 -1
  764. package/dist/esm/components/text-field.d.ts.map +1 -1
  765. package/dist/esm/components/text-field.js +1 -1
  766. package/dist/esm/components/text-field.props.d.ts +1 -12
  767. package/dist/esm/components/text-field.props.d.ts.map +1 -1
  768. package/dist/esm/components/text-field.props.js +1 -1
  769. package/dist/esm/components/text.js +1 -1
  770. package/dist/esm/components/text.props.js +1 -1
  771. package/dist/esm/components/theme-panel.d.ts.map +1 -1
  772. package/dist/esm/components/theme-panel.js +1 -1
  773. package/dist/esm/components/theme.d.ts +0 -3
  774. package/dist/esm/components/theme.d.ts.map +1 -1
  775. package/dist/esm/components/theme.js +1 -1
  776. package/dist/esm/components/theme.props.d.ts +1 -19
  777. package/dist/esm/components/theme.props.d.ts.map +1 -1
  778. package/dist/esm/components/theme.props.js +1 -1
  779. package/dist/esm/components/toggle-button.d.ts.map +1 -1
  780. package/dist/esm/components/toggle-button.js +1 -1
  781. package/dist/esm/components/toggle-icon-button.d.ts.map +1 -1
  782. package/dist/esm/components/toggle-icon-button.js +1 -1
  783. package/dist/esm/components/toolbar.d.ts +1 -1
  784. package/dist/esm/components/toolbar.d.ts.map +1 -1
  785. package/dist/esm/components/toolbar.js +1 -1
  786. package/dist/esm/components/tooltip.js +1 -1
  787. package/dist/esm/components/virtual-menu.js +1 -1
  788. package/dist/esm/helpers/extract-props.js +1 -1
  789. package/dist/esm/helpers/get-margin-styles.js +1 -1
  790. package/dist/esm/helpers/get-responsive-styles.js +1 -1
  791. package/dist/esm/helpers/index.js +1 -1
  792. package/dist/esm/helpers/map-prop-values.d.ts +1 -4
  793. package/dist/esm/helpers/map-prop-values.d.ts.map +1 -1
  794. package/dist/esm/helpers/map-prop-values.js +1 -1
  795. package/dist/esm/hooks/use-breakpoint.js +1 -1
  796. package/dist/esm/hooks/use-thumb-sync.d.ts +13 -0
  797. package/dist/esm/hooks/use-thumb-sync.d.ts.map +1 -0
  798. package/dist/esm/hooks/use-thumb-sync.js +2 -0
  799. package/dist/esm/index.js +1 -1
  800. package/dist/esm/props/color.prop.d.ts.map +1 -1
  801. package/dist/esm/props/color.prop.js +1 -1
  802. package/dist/esm/props/index.d.ts +0 -1
  803. package/dist/esm/props/index.d.ts.map +1 -1
  804. package/dist/esm/props/index.js +1 -1
  805. package/package.json +1 -2
  806. package/schemas/base-button.json +1 -16
  807. package/schemas/button.json +20 -233
  808. package/schemas/icon-button.json +1 -16
  809. package/schemas/index.json +53 -543
  810. package/schemas/shell-root.json +10 -0
  811. package/schemas/shell-sidebar.json +0 -29
  812. package/schemas/toggle-button.json +20 -233
  813. package/schemas/toggle-icon-button.json +1 -16
  814. package/src/components/_internal/base-button.css +7 -110
  815. package/src/components/_internal/base-button.props.ts +2 -6
  816. package/src/components/_internal/base-button.tsx +1 -6
  817. package/src/components/_internal/base-card.css +12 -54
  818. package/src/components/_internal/base-checkbox.css +9 -120
  819. package/src/components/_internal/base-checkbox.props.ts +3 -7
  820. package/src/components/_internal/base-dialog.css +5 -24
  821. package/src/components/_internal/base-menu.css +5 -44
  822. package/src/components/_internal/base-menu.props.ts +0 -20
  823. package/src/components/_internal/base-menu.utils.tsx +3 -13
  824. package/src/components/_internal/base-radio.css +8 -115
  825. package/src/components/_internal/base-radio.props.ts +2 -6
  826. package/src/components/_internal/base-sidebar-menu.css +0 -35
  827. package/src/components/_internal/base-sidebar.css +0 -37
  828. package/src/components/_internal/base-tab-list.css +8 -14
  829. package/src/components/_internal/base-tab-list.props.ts +3 -6
  830. package/src/components/_internal/shell-pane.tsx +2 -3
  831. package/src/components/_internal/shell-sidebar.tsx +5 -31
  832. package/src/components/_internal/shell-store.tsx +4 -4
  833. package/src/components/accordion.css +42 -95
  834. package/src/components/accordion.props.tsx +6 -13
  835. package/src/components/accordion.tsx +2 -6
  836. package/src/components/alert-dialog.props.tsx +0 -1
  837. package/src/components/alert-dialog.tsx +1 -13
  838. package/src/components/avatar.css +4 -31
  839. package/src/components/avatar.props.tsx +3 -13
  840. package/src/components/avatar.tsx +0 -4
  841. package/src/components/badge.css +1 -38
  842. package/src/components/badge.props.tsx +2 -12
  843. package/src/components/badge.tsx +0 -11
  844. package/src/components/blockquote.props.tsx +1 -1
  845. package/src/components/button.tsx +4 -84
  846. package/src/components/card.props.tsx +2 -6
  847. package/src/components/card.tsx +2 -3
  848. package/src/components/chatbar.css +6 -24
  849. package/src/components/chatbar.tsx +16 -31
  850. package/src/components/checkbox-cards.css +0 -1
  851. package/src/components/checkbox-cards.props.tsx +5 -9
  852. package/src/components/checkbox-cards.tsx +2 -6
  853. package/src/components/checkbox.tsx +0 -2
  854. package/src/components/code.css +20 -0
  855. package/src/components/code.props.tsx +1 -1
  856. package/src/components/combobox.css +14 -13
  857. package/src/components/combobox.props.tsx +2 -15
  858. package/src/components/combobox.tsx +7 -23
  859. package/src/components/context-menu.tsx +9 -18
  860. package/src/components/dialog.props.tsx +0 -3
  861. package/src/components/dialog.tsx +1 -13
  862. package/src/components/dropdown-menu.css +0 -21
  863. package/src/components/dropdown-menu.tsx +9 -20
  864. package/src/components/icon-button.tsx +1 -1
  865. package/src/components/image.css +2 -11
  866. package/src/components/image.tsx +2 -10
  867. package/src/components/index.css +0 -5
  868. package/src/components/index.tsx +0 -3
  869. package/src/components/kbd.css +37 -13
  870. package/src/components/kbd.props.tsx +2 -4
  871. package/src/components/link.props.tsx +1 -1
  872. package/src/components/popover.css +2 -6
  873. package/src/components/popover.props.tsx +3 -6
  874. package/src/components/popover.tsx +2 -6
  875. package/src/components/progress.css +12 -13
  876. package/src/components/radio-cards.css +0 -2
  877. package/src/components/radio-cards.props.tsx +5 -9
  878. package/src/components/radio-cards.tsx +2 -6
  879. package/src/components/radio-group.props.tsx +1 -2
  880. package/src/components/radio.tsx +1 -2
  881. package/src/components/reset.css +3 -16
  882. package/src/components/schemas/base-button.schema.ts +1 -21
  883. package/src/components/schemas/button.schema.ts +15 -94
  884. package/src/components/schemas/shell.schema.ts +2 -3
  885. package/src/components/scroll-area.css +0 -11
  886. package/src/components/scroll-area.tsx +3 -1
  887. package/src/components/segmented-control.css +11 -23
  888. package/src/components/segmented-control.props.tsx +0 -6
  889. package/src/components/segmented-control.tsx +1 -8
  890. package/src/components/select.css +81 -93
  891. package/src/components/select.props.tsx +2 -9
  892. package/src/components/select.tsx +5 -7
  893. package/src/components/sheet.css +0 -71
  894. package/src/components/sheet.tsx +5 -14
  895. package/src/components/shell.context.tsx +2 -2
  896. package/src/components/shell.css +7 -64
  897. package/src/components/shell.tsx +2 -2
  898. package/src/components/shell.types.ts +1 -1
  899. package/src/components/sidebar.css +78 -341
  900. package/src/components/sidebar.tsx +3 -244
  901. package/src/components/slider.css +12 -15
  902. package/src/components/spinner.css +2 -2
  903. package/src/components/switch.css +3 -55
  904. package/src/components/switch.props.tsx +0 -6
  905. package/src/components/switch.tsx +1 -4
  906. package/src/components/tab-nav.tsx +2 -5
  907. package/src/components/tabs.css +0 -2
  908. package/src/components/tabs.tsx +2 -5
  909. package/src/components/text-area.css +6 -13
  910. package/src/components/text-area.props.tsx +2 -9
  911. package/src/components/text-area.tsx +4 -9
  912. package/src/components/text-field.css +36 -44
  913. package/src/components/text-field.props.tsx +2 -9
  914. package/src/components/text-field.tsx +4 -9
  915. package/src/components/theme-panel.tsx +9 -13
  916. package/src/components/theme.props.tsx +1 -17
  917. package/src/components/theme.tsx +1 -26
  918. package/src/components/toggle-button.tsx +1 -1
  919. package/src/components/toggle-icon-button.tsx +6 -6
  920. package/src/components/toolbar.tsx +1 -4
  921. package/src/components/tooltip.css +1 -21
  922. package/src/helpers/map-prop-values.ts +1 -7
  923. package/src/hooks/use-thumb-sync.ts +55 -0
  924. package/src/props/color.prop.ts +1 -2
  925. package/src/props/index.ts +0 -1
  926. package/src/styles/tokens/base.css +0 -1
  927. package/src/styles/tokens/color.css +2 -32
  928. package/src/styles/tokens/constants.css +0 -90
  929. package/styles.css +963 -3146
  930. package/tokens/base.css +2 -110
  931. package/tokens.css +2 -155
  932. package/dist/cjs/components/app-bar.d.ts +0 -50
  933. package/dist/cjs/components/app-bar.d.ts.map +0 -1
  934. package/dist/cjs/components/app-bar.js +0 -2
  935. package/dist/cjs/components/app-bar.js.map +0 -7
  936. package/dist/cjs/components/callout.d.ts +0 -23
  937. package/dist/cjs/components/callout.d.ts.map +0 -1
  938. package/dist/cjs/components/callout.js +0 -2
  939. package/dist/cjs/components/callout.js.map +0 -7
  940. package/dist/cjs/components/callout.props.d.ts +0 -40
  941. package/dist/cjs/components/callout.props.d.ts.map +0 -1
  942. package/dist/cjs/components/callout.props.js +0 -2
  943. package/dist/cjs/components/callout.props.js.map +0 -7
  944. package/dist/cjs/components/sidebar.props.d.ts +0 -62
  945. package/dist/cjs/components/sidebar.props.d.ts.map +0 -1
  946. package/dist/cjs/components/sidebar.props.js +0 -2
  947. package/dist/cjs/components/sidebar.props.js.map +0 -7
  948. package/dist/cjs/components/user-card.d.ts +0 -13
  949. package/dist/cjs/components/user-card.d.ts.map +0 -1
  950. package/dist/cjs/components/user-card.js +0 -2
  951. package/dist/cjs/components/user-card.js.map +0 -7
  952. package/dist/cjs/components/user-card.props.d.ts +0 -60
  953. package/dist/cjs/components/user-card.props.d.ts.map +0 -1
  954. package/dist/cjs/components/user-card.props.js +0 -2
  955. package/dist/cjs/components/user-card.props.js.map +0 -7
  956. package/dist/cjs/helpers/parse-variant.d.ts +0 -8
  957. package/dist/cjs/helpers/parse-variant.d.ts.map +0 -1
  958. package/dist/cjs/helpers/parse-variant.js +0 -2
  959. package/dist/cjs/helpers/parse-variant.js.map +0 -7
  960. package/dist/cjs/helpers/use-deprecation-warning.d.ts +0 -10
  961. package/dist/cjs/helpers/use-deprecation-warning.d.ts.map +0 -1
  962. package/dist/cjs/helpers/use-deprecation-warning.js +0 -2
  963. package/dist/cjs/helpers/use-deprecation-warning.js.map +0 -7
  964. package/dist/esm/chunk-27SCVCQY.js +0 -2
  965. package/dist/esm/chunk-27SCVCQY.js.map +0 -7
  966. package/dist/esm/chunk-2C5WLKEZ.js +0 -2
  967. package/dist/esm/chunk-2C5WLKEZ.js.map +0 -7
  968. package/dist/esm/chunk-2DKLJMUU.js +0 -2
  969. package/dist/esm/chunk-2DKLJMUU.js.map +0 -7
  970. package/dist/esm/chunk-2EQWBT2S.js +0 -2
  971. package/dist/esm/chunk-2T74JEVN.js +0 -2
  972. package/dist/esm/chunk-2T74JEVN.js.map +0 -7
  973. package/dist/esm/chunk-3M73GWN5.js +0 -2
  974. package/dist/esm/chunk-3M73GWN5.js.map +0 -7
  975. package/dist/esm/chunk-3Q3EOUGJ.js +0 -2
  976. package/dist/esm/chunk-3Q3EOUGJ.js.map +0 -7
  977. package/dist/esm/chunk-3TIO3EMN.js +0 -2
  978. package/dist/esm/chunk-3TIO3EMN.js.map +0 -7
  979. package/dist/esm/chunk-3WCSLQNH.js +0 -2
  980. package/dist/esm/chunk-3WCSLQNH.js.map +0 -7
  981. package/dist/esm/chunk-45AMHIBO.js +0 -2
  982. package/dist/esm/chunk-45AMHIBO.js.map +0 -7
  983. package/dist/esm/chunk-47CEZJM2.js +0 -2
  984. package/dist/esm/chunk-47CEZJM2.js.map +0 -7
  985. package/dist/esm/chunk-4BPRLR6C.js +0 -2
  986. package/dist/esm/chunk-4BPRLR6C.js.map +0 -7
  987. package/dist/esm/chunk-4D5LR4H6.js +0 -2
  988. package/dist/esm/chunk-4D5LR4H6.js.map +0 -7
  989. package/dist/esm/chunk-4JNHUPIM.js +0 -2
  990. package/dist/esm/chunk-4WLDX7WZ.js +0 -2
  991. package/dist/esm/chunk-4WLDX7WZ.js.map +0 -7
  992. package/dist/esm/chunk-5JS7ADWX.js +0 -2
  993. package/dist/esm/chunk-5JS7ADWX.js.map +0 -7
  994. package/dist/esm/chunk-5T6K7VPP.js +0 -2
  995. package/dist/esm/chunk-5T6K7VPP.js.map +0 -7
  996. package/dist/esm/chunk-5TXQLK4G.js +0 -2
  997. package/dist/esm/chunk-5TXQLK4G.js.map +0 -7
  998. package/dist/esm/chunk-6JP5PIOO.js +0 -2
  999. package/dist/esm/chunk-6JP5PIOO.js.map +0 -7
  1000. package/dist/esm/chunk-7YIQV7VO.js +0 -2
  1001. package/dist/esm/chunk-7YIQV7VO.js.map +0 -7
  1002. package/dist/esm/chunk-A2XVR7GL.js.map +0 -7
  1003. package/dist/esm/chunk-ADFUYK3U.js.map +0 -7
  1004. package/dist/esm/chunk-ADXZNG4F.js +0 -2
  1005. package/dist/esm/chunk-ADXZNG4F.js.map +0 -7
  1006. package/dist/esm/chunk-ARDKQL7Q.js +0 -2
  1007. package/dist/esm/chunk-ARDKQL7Q.js.map +0 -7
  1008. package/dist/esm/chunk-AVFGMLL4.js +0 -2
  1009. package/dist/esm/chunk-AVFGMLL4.js.map +0 -7
  1010. package/dist/esm/chunk-BBMENJM3.js +0 -10
  1011. package/dist/esm/chunk-BBMENJM3.js.map +0 -7
  1012. package/dist/esm/chunk-BGVGSALM.js +0 -2
  1013. package/dist/esm/chunk-BGVGSALM.js.map +0 -7
  1014. package/dist/esm/chunk-BXX2NVQD.js +0 -5
  1015. package/dist/esm/chunk-BXX2NVQD.js.map +0 -7
  1016. package/dist/esm/chunk-C7EVYSWK.js +0 -1
  1017. package/dist/esm/chunk-CL6P54QT.js +0 -5
  1018. package/dist/esm/chunk-CL6P54QT.js.map +0 -7
  1019. package/dist/esm/chunk-CSUEZWN5.js +0 -2
  1020. package/dist/esm/chunk-CSUEZWN5.js.map +0 -7
  1021. package/dist/esm/chunk-DJA5MCJA.js +0 -2
  1022. package/dist/esm/chunk-DJA5MCJA.js.map +0 -7
  1023. package/dist/esm/chunk-DVSXWSAT.js +0 -2
  1024. package/dist/esm/chunk-DVSXWSAT.js.map +0 -7
  1025. package/dist/esm/chunk-FISGGGPC.js +0 -2
  1026. package/dist/esm/chunk-FISGGGPC.js.map +0 -7
  1027. package/dist/esm/chunk-FNB47XDO.js +0 -2
  1028. package/dist/esm/chunk-FNB47XDO.js.map +0 -7
  1029. package/dist/esm/chunk-GCUGJXI2.js +0 -2
  1030. package/dist/esm/chunk-GCUGJXI2.js.map +0 -7
  1031. package/dist/esm/chunk-GLKN32J3.js +0 -2
  1032. package/dist/esm/chunk-GLKN32J3.js.map +0 -7
  1033. package/dist/esm/chunk-GMHA5CFH.js +0 -2
  1034. package/dist/esm/chunk-GONBMSRL.js +0 -2
  1035. package/dist/esm/chunk-GONBMSRL.js.map +0 -7
  1036. package/dist/esm/chunk-GRRV4I2I.js +0 -2
  1037. package/dist/esm/chunk-GRRV4I2I.js.map +0 -7
  1038. package/dist/esm/chunk-H7LHGT44.js +0 -2
  1039. package/dist/esm/chunk-H7LHGT44.js.map +0 -7
  1040. package/dist/esm/chunk-HNO4X33C.js +0 -2
  1041. package/dist/esm/chunk-HNO4X33C.js.map +0 -7
  1042. package/dist/esm/chunk-IHRLGR6J.js +0 -2
  1043. package/dist/esm/chunk-IHRLGR6J.js.map +0 -7
  1044. package/dist/esm/chunk-IY3GKGDZ.js +0 -2
  1045. package/dist/esm/chunk-IY3GKGDZ.js.map +0 -7
  1046. package/dist/esm/chunk-JTN3KTAS.js +0 -2
  1047. package/dist/esm/chunk-JTN3KTAS.js.map +0 -7
  1048. package/dist/esm/chunk-KJC32RWT.js +0 -2
  1049. package/dist/esm/chunk-KJC32RWT.js.map +0 -7
  1050. package/dist/esm/chunk-LHGT24A5.js.map +0 -7
  1051. package/dist/esm/chunk-O2RISF37.js +0 -2
  1052. package/dist/esm/chunk-O2RISF37.js.map +0 -7
  1053. package/dist/esm/chunk-OB3MHLQL.js +0 -2
  1054. package/dist/esm/chunk-OB3MHLQL.js.map +0 -7
  1055. package/dist/esm/chunk-OJSDBLP7.js +0 -2
  1056. package/dist/esm/chunk-OJSDBLP7.js.map +0 -7
  1057. package/dist/esm/chunk-OUSDYZDE.js +0 -2
  1058. package/dist/esm/chunk-OUSDYZDE.js.map +0 -7
  1059. package/dist/esm/chunk-OVGPUFRI.js +0 -2
  1060. package/dist/esm/chunk-OVGPUFRI.js.map +0 -7
  1061. package/dist/esm/chunk-P3KYZBOB.js +0 -2
  1062. package/dist/esm/chunk-P3KYZBOB.js.map +0 -7
  1063. package/dist/esm/chunk-PLTTQFRQ.js +0 -2
  1064. package/dist/esm/chunk-PLTTQFRQ.js.map +0 -7
  1065. package/dist/esm/chunk-QXEQ2C6A.js +0 -2
  1066. package/dist/esm/chunk-QXEQ2C6A.js.map +0 -7
  1067. package/dist/esm/chunk-ROGC7K5N.js +0 -2
  1068. package/dist/esm/chunk-ROGC7K5N.js.map +0 -7
  1069. package/dist/esm/chunk-RON6FXLO.js +0 -2
  1070. package/dist/esm/chunk-RON6FXLO.js.map +0 -7
  1071. package/dist/esm/chunk-RWN22S44.js +0 -2
  1072. package/dist/esm/chunk-S3GZZXQ7.js +0 -2
  1073. package/dist/esm/chunk-S3GZZXQ7.js.map +0 -7
  1074. package/dist/esm/chunk-SIBSXKFF.js +0 -2
  1075. package/dist/esm/chunk-SIBSXKFF.js.map +0 -7
  1076. package/dist/esm/chunk-SURYYF7I.js +0 -2
  1077. package/dist/esm/chunk-SURYYF7I.js.map +0 -7
  1078. package/dist/esm/chunk-TUKX2BRO.js.map +0 -7
  1079. package/dist/esm/chunk-UE2OBZIS.js +0 -2
  1080. package/dist/esm/chunk-UE2OBZIS.js.map +0 -7
  1081. package/dist/esm/chunk-UGGAAL4V.js +0 -2
  1082. package/dist/esm/chunk-UGGAAL4V.js.map +0 -7
  1083. package/dist/esm/chunk-UK3BFTI2.js +0 -2
  1084. package/dist/esm/chunk-UK3BFTI2.js.map +0 -7
  1085. package/dist/esm/chunk-UTHTSYSL.js.map +0 -7
  1086. package/dist/esm/chunk-V3QVAXH3.js +0 -2
  1087. package/dist/esm/chunk-V3QVAXH3.js.map +0 -7
  1088. package/dist/esm/chunk-V5ZSDDVZ.js +0 -2
  1089. package/dist/esm/chunk-V5ZSDDVZ.js.map +0 -7
  1090. package/dist/esm/chunk-VBAXORVV.js +0 -2
  1091. package/dist/esm/chunk-VJUFYYKP.js +0 -2
  1092. package/dist/esm/chunk-VJUFYYKP.js.map +0 -7
  1093. package/dist/esm/chunk-VUKTURU4.js +0 -2
  1094. package/dist/esm/chunk-VUKTURU4.js.map +0 -7
  1095. package/dist/esm/chunk-WDNTAQ6G.js +0 -2
  1096. package/dist/esm/chunk-WDNTAQ6G.js.map +0 -7
  1097. package/dist/esm/chunk-WHAKQCNV.js +0 -2
  1098. package/dist/esm/chunk-WHAKQCNV.js.map +0 -7
  1099. package/dist/esm/chunk-WTXQB2EV.js +0 -2
  1100. package/dist/esm/chunk-WTXQB2EV.js.map +0 -7
  1101. package/dist/esm/chunk-XILM2OMC.js +0 -2
  1102. package/dist/esm/chunk-XILM2OMC.js.map +0 -7
  1103. package/dist/esm/chunk-XKBLNVOD.js +0 -2
  1104. package/dist/esm/chunk-YA5DF67M.js.map +0 -7
  1105. package/dist/esm/chunk-YBS2IB7Z.js +0 -2
  1106. package/dist/esm/chunk-YBS2IB7Z.js.map +0 -7
  1107. package/dist/esm/chunk-YL62I5SI.js +0 -2
  1108. package/dist/esm/chunk-ZK55O7TN.js +0 -2
  1109. package/dist/esm/chunk-ZK55O7TN.js.map +0 -7
  1110. package/dist/esm/chunk-ZVIWTYHE.js +0 -2
  1111. package/dist/esm/chunk-ZVIWTYHE.js.map +0 -7
  1112. package/dist/esm/components/app-bar.d.ts +0 -50
  1113. package/dist/esm/components/app-bar.d.ts.map +0 -1
  1114. package/dist/esm/components/app-bar.js +0 -2
  1115. package/dist/esm/components/callout.d.ts +0 -23
  1116. package/dist/esm/components/callout.d.ts.map +0 -1
  1117. package/dist/esm/components/callout.js +0 -2
  1118. package/dist/esm/components/callout.js.map +0 -7
  1119. package/dist/esm/components/callout.props.d.ts +0 -40
  1120. package/dist/esm/components/callout.props.d.ts.map +0 -1
  1121. package/dist/esm/components/callout.props.js +0 -2
  1122. package/dist/esm/components/callout.props.js.map +0 -7
  1123. package/dist/esm/components/sidebar.props.d.ts +0 -62
  1124. package/dist/esm/components/sidebar.props.d.ts.map +0 -1
  1125. package/dist/esm/components/sidebar.props.js +0 -2
  1126. package/dist/esm/components/sidebar.props.js.map +0 -7
  1127. package/dist/esm/components/user-card.d.ts +0 -13
  1128. package/dist/esm/components/user-card.d.ts.map +0 -1
  1129. package/dist/esm/components/user-card.js +0 -2
  1130. package/dist/esm/components/user-card.js.map +0 -7
  1131. package/dist/esm/components/user-card.props.d.ts +0 -60
  1132. package/dist/esm/components/user-card.props.d.ts.map +0 -1
  1133. package/dist/esm/components/user-card.props.js +0 -2
  1134. package/dist/esm/components/user-card.props.js.map +0 -7
  1135. package/dist/esm/helpers/parse-variant.d.ts +0 -8
  1136. package/dist/esm/helpers/parse-variant.d.ts.map +0 -1
  1137. package/dist/esm/helpers/parse-variant.js +0 -2
  1138. package/dist/esm/helpers/parse-variant.js.map +0 -7
  1139. package/dist/esm/helpers/use-deprecation-warning.d.ts +0 -10
  1140. package/dist/esm/helpers/use-deprecation-warning.d.ts.map +0 -1
  1141. package/dist/esm/helpers/use-deprecation-warning.js +0 -2
  1142. package/dist/esm/helpers/use-deprecation-warning.js.map +0 -7
  1143. package/src/components/animations.css +0 -155
  1144. package/src/components/app-bar.css +0 -204
  1145. package/src/components/app-bar.tsx +0 -261
  1146. package/src/components/callout.css +0 -160
  1147. package/src/components/callout.props.tsx +0 -29
  1148. package/src/components/callout.tsx +0 -120
  1149. package/src/components/sidebar.props.tsx +0 -56
  1150. package/src/components/user-card.css +0 -29
  1151. package/src/components/user-card.props.tsx +0 -46
  1152. package/src/components/user-card.tsx +0 -106
  1153. package/src/helpers/parse-variant.ts +0 -21
  1154. package/src/helpers/use-deprecation-warning.ts +0 -26
  1155. package/src/styles/tokens/transition.css +0 -189
  1156. /package/dist/esm/{chunk-K7BWSYVP.js.map → chunk-2IPVLV6B.js.map} +0 -0
  1157. /package/dist/esm/{chunk-SQ4BU4GH.js.map → chunk-2NNB4ZZ5.js.map} +0 -0
  1158. /package/dist/esm/{chunk-JXVUTFQN.js.map → chunk-2XSRO44Q.js.map} +0 -0
  1159. /package/dist/esm/{chunk-KXSMY4ZF.js.map → chunk-35KS5AQE.js.map} +0 -0
  1160. /package/dist/esm/{chunk-34UMKY2L.js.map → chunk-5RHODJDJ.js.map} +0 -0
  1161. /package/dist/esm/{chunk-ZQVYY7UT.js.map → chunk-672FI4OH.js.map} +0 -0
  1162. /package/dist/esm/{chunk-BWVYB64R.js.map → chunk-6ERCPRXX.js.map} +0 -0
  1163. /package/dist/esm/{chunk-PXUQEA77.js.map → chunk-7CBZFHSQ.js.map} +0 -0
  1164. /package/dist/esm/{chunk-LOLLL7AV.js.map → chunk-7UW7D77E.js.map} +0 -0
  1165. /package/dist/esm/{chunk-62CJL5G7.js.map → chunk-A2NG5NRN.js.map} +0 -0
  1166. /package/dist/esm/{chunk-43A5GUSI.js.map → chunk-AMP7O3DM.js.map} +0 -0
  1167. /package/dist/esm/{chunk-UBOOUDS4.js.map → chunk-AO32NT75.js.map} +0 -0
  1168. /package/dist/esm/{chunk-HFVD7W6R.js.map → chunk-BFLO4IVZ.js.map} +0 -0
  1169. /package/dist/esm/{chunk-O2WPAUQN.js.map → chunk-CL6LRPCS.js.map} +0 -0
  1170. /package/dist/esm/{chunk-EUH5MK4Q.js.map → chunk-DQTJMIRO.js.map} +0 -0
  1171. /package/dist/esm/{chunk-GLERJXVS.js.map → chunk-DSB3TEAQ.js.map} +0 -0
  1172. /package/dist/esm/{chunk-HIBX2EXV.js.map → chunk-ELZEAEN2.js.map} +0 -0
  1173. /package/dist/esm/{chunk-IV4YJRVR.js.map → chunk-EVTNB4TB.js.map} +0 -0
  1174. /package/dist/esm/{chunk-SGUTNJUO.js.map → chunk-GVLTTTFL.js.map} +0 -0
  1175. /package/dist/esm/{chunk-CIKDGYX3.js.map → chunk-HVQ3SLQC.js.map} +0 -0
  1176. /package/dist/esm/{chunk-N6Q3L64W.js.map → chunk-IYFDCW7Y.js.map} +0 -0
  1177. /package/dist/esm/{chunk-7FC7HF76.js.map → chunk-JLI7WHV6.js.map} +0 -0
  1178. /package/dist/esm/{chunk-OW4KAIWF.js.map → chunk-JQURG6CB.js.map} +0 -0
  1179. /package/dist/esm/{chunk-EUSMN3K7.js.map → chunk-K5SC3CZZ.js.map} +0 -0
  1180. /package/dist/esm/{chunk-UBWRIE4C.js.map → chunk-K7J23OPW.js.map} +0 -0
  1181. /package/dist/esm/{chunk-SQZ5O7QS.js.map → chunk-KLIREDPE.js.map} +0 -0
  1182. /package/dist/esm/{chunk-ALG6R3ZX.js.map → chunk-MD3QCXRD.js.map} +0 -0
  1183. /package/dist/esm/{chunk-2EQWBT2S.js.map → chunk-MGQ4A2FI.js.map} +0 -0
  1184. /package/dist/esm/{chunk-CMEKH4I5.js.map → chunk-MGSHX5N5.js.map} +0 -0
  1185. /package/dist/esm/{chunk-ZE2GWHPY.js.map → chunk-MVW2SY4F.js.map} +0 -0
  1186. /package/dist/esm/{chunk-KJTEZVOF.js.map → chunk-O6K6RZXY.js.map} +0 -0
  1187. /package/dist/esm/{chunk-JUY7CBSL.js.map → chunk-PBFSBHBS.js.map} +0 -0
  1188. /package/dist/esm/{chunk-3HGHPAH4.js.map → chunk-PDBVZAUJ.js.map} +0 -0
  1189. /package/dist/esm/{chunk-C7EVYSWK.js.map → chunk-QDW5ZG5E.js.map} +0 -0
  1190. /package/dist/esm/{chunk-R2MQMCND.js.map → chunk-QJFAGWBO.js.map} +0 -0
  1191. /package/dist/esm/{chunk-JGR3L4SN.js.map → chunk-R4CN4Q3G.js.map} +0 -0
  1192. /package/dist/esm/{chunk-RUPET4E7.js.map → chunk-RVHKSNMJ.js.map} +0 -0
  1193. /package/dist/esm/{chunk-HJLBVNQE.js.map → chunk-RYURXQLJ.js.map} +0 -0
  1194. /package/dist/esm/{chunk-RUOOCYK4.js.map → chunk-S53ZQNHK.js.map} +0 -0
  1195. /package/dist/esm/{chunk-5G4WWJ4Z.js.map → chunk-T5DSQKKF.js.map} +0 -0
  1196. /package/dist/esm/{chunk-3XSB7YIM.js.map → chunk-TBZO22XK.js.map} +0 -0
  1197. /package/dist/esm/{chunk-C7UXUTUF.js.map → chunk-TGRRQHLQ.js.map} +0 -0
  1198. /package/dist/esm/{chunk-IVBKTHDM.js.map → chunk-TPHNDGSV.js.map} +0 -0
  1199. /package/dist/esm/{chunk-YL62I5SI.js.map → chunk-UA6FP7HS.js.map} +0 -0
  1200. /package/dist/esm/{chunk-6FLLFCBU.js.map → chunk-UBSLEGQZ.js.map} +0 -0
  1201. /package/dist/esm/{chunk-LJXP6K5Y.js.map → chunk-V2TPYSZ2.js.map} +0 -0
  1202. /package/dist/esm/{chunk-YLLCCUC7.js.map → chunk-X3UTLDGG.js.map} +0 -0
  1203. /package/dist/esm/{chunk-3UZHKW6I.js.map → chunk-XHF6RBOE.js.map} +0 -0
  1204. /package/dist/esm/{chunk-IPHKKZYE.js.map → chunk-XHKL4PG7.js.map} +0 -0
  1205. /package/dist/esm/{chunk-PAEHH3WS.js.map → chunk-XZ5XZS5O.js.map} +0 -0
  1206. /package/dist/esm/{components/app-bar.js.map → hooks/use-thumb-sync.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/segmented-control.tsx", "../../../src/helpers/use-deprecation-warning.ts", "../../../src/props/radius.prop.ts", "../../../src/components/segmented-control.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": ["'use client';\n\nimport { useDeprecatedPanelBackgroundWarning } from '../helpers/use-deprecation-warning.js';\nimport { warnDeprecated } from '../helpers/warn-deprecated.js';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';\nimport { useControllableState } from 'radix-ui/internal';\n\nimport { segmentedControlRootPropDefs } from './segmented-control.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 SegmentedControlRootOwnProps = GetPropDefTypes<typeof segmentedControlRootPropDefs>;\n\ninterface SegmentedControlRootProps\n extends ComponentPropsWithout<'div', RemovedProps | 'dir'>,\n SegmentedControlRootOwnProps,\n MarginProps {\n value?: string;\n defaultValue?: string;\n onValueChange?(value: string): void;\n}\n\nconst SegmentedControlRoot = React.forwardRef<HTMLDivElement, SegmentedControlRootProps>(\n (props, forwardedRef) => {\n const {\n className,\n children,\n radius,\n value: valueProp,\n defaultValue: defaultValueProp,\n onValueChange: onValueChangeProp,\n material: materialProp,\n panelBackground,\n ...rootProps\n } = extractProps(props, segmentedControlRootPropDefs, marginPropDefs);\n useDeprecatedPanelBackgroundWarning(props.panelBackground);\n const material = materialProp ?? panelBackground;\n\n if (props.variant !== undefined) {\n warnDeprecated('SegmentedControl `variant` is deprecated and will be removed in 0.15.0. It has one value, so it chooses nothing.');\n }\n\n const [value, setValue] = useControllableState({\n prop: valueProp,\n onChange: onValueChangeProp,\n defaultProp: defaultValueProp ?? '',\n });\n\n return (\n <ToggleGroupPrimitive.Root\n data-disabled={props.disabled || undefined}\n data-radius={radius}\n data-panel-background={material}\n data-material={material}\n ref={forwardedRef}\n className={classNames('rt-SegmentedControlRoot', className)}\n onValueChange={(value) => {\n if (value) {\n setValue(value);\n }\n }}\n {...rootProps}\n type=\"single\"\n value={value}\n asChild={false}\n disabled={!!props.disabled}\n >\n {children}\n <div className=\"rt-SegmentedControlIndicator\" />\n </ToggleGroupPrimitive.Root>\n );\n },\n);\n\nSegmentedControlRoot.displayName = 'SegmentedControl.Root';\n\ninterface SegmentedControlItemOwnProps {\n value: string;\n /** When true, applies fixed square width for icon-only segments */\n iconOnly?: boolean;\n}\n\ninterface SegmentedControlItemProps\n extends ComponentPropsWithout<\n typeof ToggleGroupPrimitive.Item,\n RemovedProps | 'disabled' | 'type' | 'value'\n >,\n SegmentedControlItemOwnProps {}\n\nconst SegmentedControlItem = React.forwardRef<HTMLButtonElement, SegmentedControlItemProps>(\n ({ children, className, iconOnly, ...props }, forwardedRef) => (\n <ToggleGroupPrimitive.Item\n ref={forwardedRef}\n className={classNames('rt-reset', 'rt-SegmentedControlItem', className)}\n data-icon-only={iconOnly || undefined}\n {...props}\n disabled={false}\n asChild={false}\n >\n <span className=\"rt-SegmentedControlItemSeparator\" />\n <span className=\"rt-SegmentedControlItemLabel\">\n <span className=\"rt-SegmentedControlItemLabelActive\">{children}</span>\n <span className=\"rt-SegmentedControlItemLabelInactive\" aria-hidden>\n {children}\n </span>\n </span>\n </ToggleGroupPrimitive.Item>\n ),\n);\n\nSegmentedControlItem.displayName = 'SegmentedControl.Item';\n\nexport { SegmentedControlRoot as Root, SegmentedControlItem as Item };\nexport type { SegmentedControlRootProps as RootProps, SegmentedControlItemProps as ItemProps };\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 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 { 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 = ['soft'] as const;\nconst orientations = ['horizontal', 'vertical'] as const;\n\nconst segmentedControlRootPropDefs = {\n disabled: { type: 'boolean', className: 'disabled', default: false },\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'rt-variant', values: variants, default: 'soft' },\n orientation: {\n type: 'enum',\n className: 'rt-r-orientation',\n values: orientations,\n default: 'horizontal',\n responsive: true,\n },\n material: { type: 'enum', values: ['solid', 'translucent'] },\n /** @deprecated Use `material`. Removed in 0.15.0. */\n panelBackground: { type: 'enum', values: ['solid', 'translucent'] },\n ...radiusPropDef,\n} satisfies {\n disabled?: PropDef<boolean>;\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n orientation: PropDef<(typeof orientations)[number]>;\n material: PropDef<'solid' | 'translucent'>;\n panelBackground: PropDef<'solid' | 'translucent'>;\n};\n\nexport { segmentedControlRootPropDefs };\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": "ukBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,UAAAE,EAAA,SAAAC,IAAA,eAAAC,EAAAJ,ICAA,IAAAK,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,CDrBA,IAAA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FC,EAASD,CAAK,CAElB,EACC,GAAGN,EACJ,KAAK,SACL,MAAOM,EACP,QAAS,GACT,SAAU,CAAC,CAAChB,EAAM,UAEjBG,EACD,gBAAC,OAAI,UAAU,+BAA+B,CAChD,CAEJ,CACF,EAEAJ,EAAqB,YAAc,wBAenC,IAAMqB,EAA6B,aACjC,CAAC,CAAE,SAAAjB,EAAU,UAAAD,EAAW,SAAAmB,EAAU,GAAGrB,CAAM,EAAGC,IAC5C,gBAAC,EAAAiB,YAAqB,KAArB,CACC,IAAKjB,EACL,aAAW,EAAAkB,SAAW,WAAY,0BAA2BjB,CAAS,EACtE,iBAAgBmB,GAAY,OAC3B,GAAGrB,EACJ,SAAU,GACV,QAAS,IAET,gBAAC,QAAK,UAAU,mCAAmC,EACnD,gBAAC,QAAK,UAAU,gCACd,gBAAC,QAAK,UAAU,sCAAsCG,CAAS,EAC/D,gBAAC,QAAK,UAAU,uCAAuC,cAAW,IAC/DA,CACH,CACF,CACF,CAEJ,EAEAiB,EAAqB,YAAc",
6
- "names": ["segmented_control_exports", "__export", "SegmentedControlItem", "SegmentedControlRoot", "__toCommonJS", "React", "PANEL_BACKGROUND_MESSAGE", "warned", "warnOnce", "message", "useDeprecatedPanelBackgroundWarning", "panelBackground", "React", "import_classnames", "import_radix_ui", "import_internal", "radii", "radiusPropDef", "sizes", "variants", "orientations", "segmentedControlRootPropDefs", "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", "SegmentedControlRoot", "props", "forwardedRef", "className", "children", "radius", "valueProp", "defaultValueProp", "onValueChangeProp", "materialProp", "panelBackground", "rootProps", "extractProps", "segmentedControlRootPropDefs", "marginPropDefs", "useDeprecatedPanelBackgroundWarning", "material", "value", "setValue", "ToggleGroupPrimitive", "classNames", "SegmentedControlItem", "iconOnly"]
3
+ "sources": ["../../../src/components/segmented-control.tsx", "../../../src/props/radius.prop.ts", "../../../src/components/segmented-control.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": ["'use client';\n\nimport { warnDeprecated } from '../helpers/warn-deprecated.js';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';\nimport { useControllableState } from 'radix-ui/internal';\n\nimport { segmentedControlRootPropDefs } from './segmented-control.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 SegmentedControlRootOwnProps = GetPropDefTypes<typeof segmentedControlRootPropDefs>;\n\ninterface SegmentedControlRootProps\n extends ComponentPropsWithout<'div', RemovedProps | 'dir'>,\n SegmentedControlRootOwnProps,\n MarginProps {\n value?: string;\n defaultValue?: string;\n onValueChange?(value: string): void;\n}\n\nconst SegmentedControlRoot = React.forwardRef<HTMLDivElement, SegmentedControlRootProps>(\n (props, forwardedRef) => {\n const {\n className,\n children,\n radius,\n value: valueProp,\n defaultValue: defaultValueProp,\n onValueChange: onValueChangeProp,\n material: materialProp,\n ...rootProps\n } = extractProps(props, segmentedControlRootPropDefs, marginPropDefs);\n const material = materialProp;\n\n\n const [value, setValue] = useControllableState({\n prop: valueProp,\n onChange: onValueChangeProp,\n defaultProp: defaultValueProp ?? '',\n });\n\n return (\n <ToggleGroupPrimitive.Root\n data-disabled={props.disabled || undefined}\n data-radius={radius}\n data-material={material}\n ref={forwardedRef}\n className={classNames('rt-SegmentedControlRoot', className)}\n onValueChange={(value) => {\n if (value) {\n setValue(value);\n }\n }}\n {...rootProps}\n type=\"single\"\n value={value}\n asChild={false}\n disabled={!!props.disabled}\n >\n {children}\n <div className=\"rt-SegmentedControlIndicator\" />\n </ToggleGroupPrimitive.Root>\n );\n },\n);\n\nSegmentedControlRoot.displayName = 'SegmentedControl.Root';\n\ninterface SegmentedControlItemOwnProps {\n value: string;\n /** When true, applies fixed square width for icon-only segments */\n iconOnly?: boolean;\n}\n\ninterface SegmentedControlItemProps\n extends ComponentPropsWithout<\n typeof ToggleGroupPrimitive.Item,\n RemovedProps | 'disabled' | 'type' | 'value'\n >,\n SegmentedControlItemOwnProps {}\n\nconst SegmentedControlItem = React.forwardRef<HTMLButtonElement, SegmentedControlItemProps>(\n ({ children, className, iconOnly, ...props }, forwardedRef) => (\n <ToggleGroupPrimitive.Item\n ref={forwardedRef}\n className={classNames('rt-reset', 'rt-SegmentedControlItem', className)}\n data-icon-only={iconOnly || undefined}\n {...props}\n disabled={false}\n asChild={false}\n >\n <span className=\"rt-SegmentedControlItemSeparator\" />\n <span className=\"rt-SegmentedControlItemLabel\">\n <span className=\"rt-SegmentedControlItemLabelActive\">{children}</span>\n <span className=\"rt-SegmentedControlItemLabelInactive\" aria-hidden>\n {children}\n </span>\n </span>\n </ToggleGroupPrimitive.Item>\n ),\n);\n\nSegmentedControlItem.displayName = 'SegmentedControl.Item';\n\nexport { SegmentedControlRoot as Root, SegmentedControlItem as Item };\nexport type { SegmentedControlRootProps as RootProps, SegmentedControlItemProps as ItemProps };\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 { 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 orientations = ['horizontal', 'vertical'] as const;\n\nconst segmentedControlRootPropDefs = {\n disabled: { type: 'boolean', className: 'disabled', default: false },\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n orientation: {\n type: 'enum',\n className: 'rt-r-orientation',\n values: orientations,\n default: 'horizontal',\n responsive: true,\n },\n material: { type: 'enum', values: ['solid', 'translucent'] },\n ...radiusPropDef,\n} satisfies {\n disabled?: PropDef<boolean>;\n size: PropDef<(typeof sizes)[number]>;\n orientation: PropDef<(typeof orientations)[number]>;\n material: PropDef<'solid' | 'translucent'>;\n};\n\nexport { segmentedControlRootPropDefs };\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": "ukBAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,UAAAE,EAAA,SAAAC,IAAA,eAAAC,EAAAJ,IAGA,IAAAK,EAAuB,oBACvBC,EAAuB,yBACvBC,EAAoD,oBACpDC,EAAqC,6BCJrC,IAAMC,EAAQ,CAAC,OAAQ,QAAS,SAAU,QAAS,MAAM,EAEnDC,EAAgB,CACpB,OAAQ,CACN,KAAM,OACN,OAAQD,EACR,QAAS,MACX,CACF,ECNA,IAAME,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAe,CAAC,aAAc,UAAU,EAExCC,EAA+B,CACnC,SAAU,CAAE,KAAM,UAAW,UAAW,WAAY,QAAS,EAAM,EACnE,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQF,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,YAAa,CACX,KAAM,OACN,UAAW,mBACX,OAAQC,EACR,QAAS,aACT,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EVlHA,IAAME,EAA6B,aACjC,CAACC,EAAOC,IAAiB,CACvB,GAAM,CACJ,UAAAC,EACA,SAAAC,EACA,OAAAC,EACA,MAAOC,EACP,aAAcC,EACd,cAAeC,EACf,SAAUC,EACV,GAAGC,CACL,EAAIC,EAAaV,EAAOW,EAA8BC,CAAc,EAC9DC,EAAWL,EAGX,CAACM,EAAOC,CAAQ,KAAI,wBAAqB,CAC7C,KAAMV,EACN,SAAUE,EACV,YAAaD,GAAoB,EACnC,CAAC,EAED,OACE,gBAAC,EAAAU,YAAqB,KAArB,CACC,gBAAehB,EAAM,UAAY,OACjC,cAAaI,EACb,gBAAeS,EACf,IAAKZ,EACL,aAAW,EAAAgB,SAAW,0BAA2Bf,CAAS,EAC1D,cAAgBY,GAAU,CACpBA,GACFC,EAASD,CAAK,CAElB,EACC,GAAGL,EACJ,KAAK,SACL,MAAOK,EACP,QAAS,GACT,SAAU,CAAC,CAACd,EAAM,UAEjBG,EACD,gBAAC,OAAI,UAAU,+BAA+B,CAChD,CAEJ,CACF,EAEAJ,EAAqB,YAAc,wBAenC,IAAMmB,EAA6B,aACjC,CAAC,CAAE,SAAAf,EAAU,UAAAD,EAAW,SAAAiB,EAAU,GAAGnB,CAAM,EAAGC,IAC5C,gBAAC,EAAAe,YAAqB,KAArB,CACC,IAAKf,EACL,aAAW,EAAAgB,SAAW,WAAY,0BAA2Bf,CAAS,EACtE,iBAAgBiB,GAAY,OAC3B,GAAGnB,EACJ,SAAU,GACV,QAAS,IAET,gBAAC,QAAK,UAAU,mCAAmC,EACnD,gBAAC,QAAK,UAAU,gCACd,gBAAC,QAAK,UAAU,sCAAsCG,CAAS,EAC/D,gBAAC,QAAK,UAAU,uCAAuC,cAAW,IAC/DA,CACH,CACF,CACF,CAEJ,EAEAe,EAAqB,YAAc",
6
+ "names": ["segmented_control_exports", "__export", "SegmentedControlItem", "SegmentedControlRoot", "__toCommonJS", "React", "import_classnames", "import_radix_ui", "import_internal", "radii", "radiusPropDef", "sizes", "orientations", "segmentedControlRootPropDefs", "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", "SegmentedControlRoot", "props", "forwardedRef", "className", "children", "radius", "valueProp", "defaultValueProp", "onValueChangeProp", "materialProp", "rootProps", "extractProps", "segmentedControlRootPropDefs", "marginPropDefs", "material", "value", "setValue", "ToggleGroupPrimitive", "classNames", "SegmentedControlItem", "iconOnly"]
7
7
  }
@@ -16,12 +16,6 @@ declare const segmentedControlRootPropDefs: {
16
16
  default: "2";
17
17
  responsive: true;
18
18
  };
19
- variant: {
20
- type: "enum";
21
- className: string;
22
- values: readonly ["soft"];
23
- default: "soft";
24
- };
25
19
  orientation: {
26
20
  type: "enum";
27
21
  className: string;
@@ -33,11 +27,6 @@ declare const segmentedControlRootPropDefs: {
33
27
  type: "enum";
34
28
  values: ("solid" | "translucent")[];
35
29
  };
36
- /** @deprecated Use `material`. Removed in 0.15.0. */
37
- panelBackground: {
38
- type: "enum";
39
- values: ("solid" | "translucent")[];
40
- };
41
30
  };
42
31
  export { segmentedControlRootPropDefs };
43
32
  //# sourceMappingURL=segmented-control.props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"segmented-control.props.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control.props.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYhC,qDAAqD;;;;;CAUtD,CAAC;AAEF,OAAO,EAAE,4BAA4B,EAAE,CAAC"}
1
+ {"version":3,"file":"segmented-control.props.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control.props.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBjC,CAAC;AAEF,OAAO,EAAE,4BAA4B,EAAE,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var u=(s,e)=>{for(var o in e)a(s,o,{get:e[o],enumerable:!0})},f=(s,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of l(e))!p.call(s,t)&&t!==o&&a(s,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return s};var d=s=>f(a({},"__esModule",{value:!0}),s);var P={};u(P,{segmentedControlRootPropDefs:()=>D});module.exports=d(P);var m=["none","small","medium","large","full"],n={radius:{type:"enum",values:m,default:void 0}};var c=["1","2","3","4"],v=["soft"],y=["horizontal","vertical"],D={disabled:{type:"boolean",className:"disabled",default:!1},size:{type:"enum",className:"rt-r-size",values:c,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:v,default:"soft"},orientation:{type:"enum",className:"rt-r-orientation",values:y,default:"horizontal",responsive:!0},material:{type:"enum",values:["solid","translucent"]},panelBackground:{type:"enum",values:["solid","translucent"]},...n};
1
+ "use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var f=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},u=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of p(e))!l.call(o,s)&&s!==t&&r(o,s,{get:()=>e[s],enumerable:!(a=n(e,s))||a.enumerable});return o};var d=o=>u(r({},"__esModule",{value:!0}),o);var P={};f(P,{segmentedControlRootPropDefs:()=>D});module.exports=d(P);var m=["none","small","medium","large","full"],i={radius:{type:"enum",values:m,default:void 0}};var c=["1","2","3","4"],y=["horizontal","vertical"],D={disabled:{type:"boolean",className:"disabled",default:!1},size:{type:"enum",className:"rt-r-size",values:c,default:"2",responsive:!0},orientation:{type:"enum",className:"rt-r-orientation",values:y,default:"horizontal",responsive:!0},material:{type:"enum",values:["solid","translucent"]},...i};
2
2
  //# sourceMappingURL=segmented-control.props.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/segmented-control.props.tsx", "../../../src/props/radius.prop.ts"],
4
- "sourcesContent": ["import { 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 = ['soft'] as const;\nconst orientations = ['horizontal', 'vertical'] as const;\n\nconst segmentedControlRootPropDefs = {\n disabled: { type: 'boolean', className: 'disabled', default: false },\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'rt-variant', values: variants, default: 'soft' },\n orientation: {\n type: 'enum',\n className: 'rt-r-orientation',\n values: orientations,\n default: 'horizontal',\n responsive: true,\n },\n material: { type: 'enum', values: ['solid', 'translucent'] },\n /** @deprecated Use `material`. Removed in 0.15.0. */\n panelBackground: { type: 'enum', values: ['solid', 'translucent'] },\n ...radiusPropDef,\n} satisfies {\n disabled?: PropDef<boolean>;\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n orientation: PropDef<(typeof orientations)[number]>;\n material: PropDef<'solid' | 'translucent'>;\n panelBackground: PropDef<'solid' | 'translucent'>;\n};\n\nexport { segmentedControlRootPropDefs };\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"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GCEA,IAAMI,EAAQ,CAAC,OAAQ,QAAS,SAAU,QAAS,MAAM,EAEnDC,EAAgB,CACpB,OAAQ,CACN,KAAM,OACN,OAAQD,EACR,QAAS,MACX,CACF,EDNA,IAAME,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAW,CAAC,MAAM,EAClBC,EAAe,CAAC,aAAc,UAAU,EAExCC,EAA+B,CACnC,SAAU,CAAE,KAAM,UAAW,UAAW,WAAY,QAAS,EAAM,EACnE,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQH,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,QAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,OAAQC,EAAU,QAAS,MAAO,EACpF,YAAa,CACX,KAAM,OACN,UAAW,mBACX,OAAQC,EACR,QAAS,aACT,WAAY,EACd,EACA,SAAU,CAAE,KAAM,OAAQ,OAAQ,CAAC,QAAS,aAAa,CAAE,EAE3D,gBAAiB,CAAE,KAAM,OAAQ,OAAQ,CAAC,QAAS,aAAa,CAAE,EAClE,GAAGE,CACL",
6
- "names": ["segmented_control_props_exports", "__export", "segmentedControlRootPropDefs", "__toCommonJS", "radii", "radiusPropDef", "sizes", "variants", "orientations", "segmentedControlRootPropDefs", "radiusPropDef"]
4
+ "sourcesContent": ["import { 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 orientations = ['horizontal', 'vertical'] as const;\n\nconst segmentedControlRootPropDefs = {\n disabled: { type: 'boolean', className: 'disabled', default: false },\n size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true },\n orientation: {\n type: 'enum',\n className: 'rt-r-orientation',\n values: orientations,\n default: 'horizontal',\n responsive: true,\n },\n material: { type: 'enum', values: ['solid', 'translucent'] },\n ...radiusPropDef,\n} satisfies {\n disabled?: PropDef<boolean>;\n size: PropDef<(typeof sizes)[number]>;\n orientation: PropDef<(typeof orientations)[number]>;\n material: PropDef<'solid' | 'translucent'>;\n};\n\nexport { segmentedControlRootPropDefs };\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"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GCEA,IAAMI,EAAQ,CAAC,OAAQ,QAAS,SAAU,QAAS,MAAM,EAEnDC,EAAgB,CACpB,OAAQ,CACN,KAAM,OACN,OAAQD,EACR,QAAS,MACX,CACF,EDNA,IAAME,EAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3BC,EAAe,CAAC,aAAc,UAAU,EAExCC,EAA+B,CACnC,SAAU,CAAE,KAAM,UAAW,UAAW,WAAY,QAAS,EAAM,EACnE,KAAM,CAAE,KAAM,OAAQ,UAAW,YAAa,OAAQF,EAAO,QAAS,IAAK,WAAY,EAAK,EAC5F,YAAa,CACX,KAAM,OACN,UAAW,mBACX,OAAQC,EACR,QAAS,aACT,WAAY,EACd,EACA,SAAU,CAAE,KAAM,OAAQ,OAAQ,CAAC,QAAS,aAAa,CAAE,EAC3D,GAAGE,CACL",
6
+ "names": ["segmented_control_props_exports", "__export", "segmentedControlRootPropDefs", "__toCommonJS", "radii", "radiusPropDef", "sizes", "orientations", "segmentedControlRootPropDefs", "radiusPropDef"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/select.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAqC,MAAM,UAAU,CAAC;AAKxF,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEzF,KAAK,kBAAkB,GAAG,eAAe,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAErE,KAAK,kBAAkB,GAAG,kBAAkB,CAAC;AAG7C,UAAU,eAAgB,SAAQ,eAAe,CAAC,WAAW,EAAE,kBAAkB;CAAG;AACpF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CASzC,CAAC;AAIF,KAAK,qBAAqB,GAAG,eAAe,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,UAAU,kBACR,SAAQ,qBAAqB,CAAC,OAAO,eAAe,CAAC,OAAO,EAAE,YAAY,CAAC,EACzE,WAAW,EACX,qBAAqB;CAAG;AAC5B,QAAA,MAAM,aAAa,8FAgFlB,CAAC;AAIF,KAAK,qBAAqB,GAAG,eAAe,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,UAAU,kBACR,SAAQ,qBAAqB,CAA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AAIH,UAAU,gBACR,SAAQ,qBAAqB,CAAC,OAAO,eAAe,CAAC,KAAK,EAAE,YAAY,CAAC;CAAG;AAC9E,QAAA,MAAM,WAAW,yFAShB,CAAC;AAIF,UAAU,gBACR,SAAQ,qBAAqB,CAAC,OAAO,eAAe,CAAC,KAAK,EAAE,YAAY,CAAC;CAAG;AAC9E,QAAA,MAAM,WAAW,yFAShB,CAAC;AAIF,UAAU,oBACR,SAAQ,qBAAqB,CAAC,OAAO,eAAe,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAClF,QAAA,MAAM,eAAe,6FASpB,CAAC;AAGF,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,aAAa,IAAI,OAAO,EACxB,aAAa,IAAI,OAAO,EACxB,UAAU,IAAI,IAAI,EAClB,WAAW,IAAI,KAAK,EACpB,WAAW,IAAI,KAAK,EACpB,eAAe,IAAI,SAAS,GAC7B,CAAC;AAEF,YAAY,EACV,eAAe,IAAI,SAAS,EAC5B,kBAAkB,IAAI,YAAY,EAClC,kBAAkB,IAAI,YAAY,EAClC,eAAe,IAAI,SAAS,EAC5B,gBAAgB,IAAI,UAAU,EAC9B,gBAAgB,IAAI,UAAU,EAC9B,oBAAoB,IAAI,cAAc,GACvC,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";"use client";var Oe=Object.create;var j=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var je=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var He=(e,t)=>{for(var o in t)j(e,o,{get:t[o],enumerable:!0})},de=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of je(t))!ze.call(e,n)&&n!==o&&j(e,n,{get:()=>t[n],enumerable:!(a=Ae(t,n))||a.enumerable});return e};var S=(e,t,o)=>(o=e!=null?Oe(We(e)):{},de(t||!e||!e.__esModule?j(o,"default",{value:e,enumerable:!0}):o,e)),$e=e=>de(j({},"__esModule",{value:!0}),e);var ht={};He(ht,{Content:()=>Ve,Group:()=>Ge,Item:()=>Ee,Label:()=>Le,Root:()=>Fe,Separator:()=>Me,Trigger:()=>Be});module.exports=$e(ht);var fe=S(require("react")),Ke="Warning: The `panelBackground` prop is deprecated and will be removed in a future version. Use `material` prop instead.",ue=new Set;function Ue(e){ue.has(e)||(ue.add(e),console.warn(e))}function W(e){fe.useEffect(()=>{},[e])}var s=S(require("react")),R=S(require("classnames")),g=require("radix-ui");var he=S(require("classnames"));var _e=[],Ze=new Set;function qe(e){let t=Object.assign({},...e),o=[],a=[],n=new Set;for(let p in t){let i=t[p],m=i.values??_e,l={key:p,type:i.type,default:i.default,hasDefault:i.default!==void 0,responsive:"responsive"in i,className:i.className,customProperties:i.customProperties,parseValue:i.parseValue,values:m,valueSet:m.length>0?new Set(m):Ze,enumValueSet:i.type==="enum"?new Set([i.default,...m]):void 0};i.className?(o.push(l),n.add(p)):(l.hasDefault||i.type==="enum")&&a.push(l)}return{styling:o,passthrough:a,stylingKeys:n}}var Ye={children:new WeakMap};function ge(e){let t=Ye;for(let o=0;o<e.length;o++){let a=e[o],n=t.children.get(a);n===void 0&&(n={children:new WeakMap},t.children.set(a,n)),t=n}return t.compiled??(t.compiled=qe(e))}var Je=["initial","xs","sm","md","lg","xl"],J=new Set(Je);function Q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Qe=new Set(["initial","xs","sm","md","lg","xl"]);function b(e){if(typeof e!="object"||e===null)return!1;for(let t in e)if(Qe.has(t))return!0;return!1}function z(e,t,o){return t!==void 0?t.has(o):e.includes(o)}function Pe({className:e,customProperties:t,...o}){let a=X({allowArbitraryValues:!0,className:e,...o}),n=Xe({customProperties:t,...o});return[a,n]}function X({allowArbitraryValues:e,value:t,className:o,propValues:a,propValueSet:n,parseValue:p=i=>i}){if(t){if(typeof t=="string")return z(a,n,t)?ye(o,t,p):e?o:void 0;if(b(t)){let i=t,m=[];for(let l in i){if(!Q(i,l)||!J.has(l))continue;let r=i[l];if(r!==void 0){if(z(a,n,r)){let d=ye(o,r,p),y=l==="initial"?d:`${l}:${d}`;m.push(y)}else if(e){let d=l==="initial"?o:`${l}:${o}`;m.push(d)}}}return m.length>0?m.join(" "):""}if(e)return o}}function ye(e,t,o){let a=e?"-":"",n=o(t),p=n?.startsWith("-"),i=p?"-":"",m=p?n?.substring(1):n;return`${i}${e}${a}${m}`}function Xe({customProperties:e,value:t,propValues:o,propValueSet:a,parseValue:n=p=>p}){if(!t||typeof t=="string"&&z(o,a,t))return;let p;if(typeof t=="string"){let i=n(t);p={};for(let m of e)p[m]=i;return p}if(b(t)){let i=t;for(let m in i){if(!Q(i,m)||!J.has(m))continue;let l=i[m];if(l===void 0||z(o,a,l))continue;let r=n(l);p??(p={});for(let d of e){let y=m==="initial"?d:`${d}-${m}`;p[y]=r}}}return p??{}}function ee(...e){let t;for(let o of e)o&&(t===void 0&&(t={}),Object.assign(t,o));return t}function et(e,t){let o=e.initial,a=!1;return t.hasDefault&&o===void 0&&(o=t.default,a=!0),t.enumValueSet!==void 0&&!t.enumValueSet.has(o)&&(o=t.default,a=!0),a?{...e,initial:o}:e}function te(e,...t){let{styling:o,passthrough:a,stylingKeys:n}=ge(t),p={};for(let l in e)n.has(l)||(p[l]=e[l]);for(let l=0;l<a.length;l++){let r=a[l],d=p[r.key];if(d===void 0){r.hasDefault&&(p[r.key]=r.default);continue}r.enumValueSet!==void 0&&!r.enumValueSet.has(d)&&!b(d)&&(p[r.key]=r.default)}let i,m=[];for(let l=0;l<o.length;l++){let r=o[l],d=e[r.key];if(d===void 0&&r.hasDefault&&(d=r.default),r.enumValueSet!==void 0&&!r.enumValueSet.has(d)&&!b(d)&&(d=r.default),!!d){if(b(d)){if(!r.responsive)continue;d=et(d,r)}if(r.type==="enum"){let y=X({allowArbitraryValues:!1,value:d,className:r.className,propValues:r.values,propValueSet:r.valueSet,parseValue:r.parseValue});y&&m.push(y);continue}if(r.type==="string"||r.type==="enum | string"){let[y,h]=Pe({className:r.className,customProperties:r.customProperties,propValues:r.type==="string"?[]:r.values,propValueSet:r.type==="string"?void 0:r.valueSet,parseValue:r.parseValue,value:d});h&&(i=ee(i,h)),y&&m.push(y);continue}if(r.type==="boolean"){m.push(r.className);continue}}}return p.className=(0,he.default)(m.length>0?m.join(" "):void 0,e.className),p.style=ee(i,e.style),p}var w=["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"],ve={m:{type:"enum | string",values:w,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:w,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:w,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:w,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:w,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:w,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:w,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}};var c=S(require("react")),tt=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z"})));tt.displayName="ThickDividerHorizontalIcon";var oe=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z"})));oe.displayName="ThickCheckIcon";var re=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("path",{d:"M0.135232 3.15803C0.324102 2.95657 0.640521 2.94637 0.841971 3.13523L4.5 6.56464L8.158 3.13523C8.3595 2.94637 8.6759 2.95657 8.8648 3.15803C9.0536 3.35949 9.0434 3.67591 8.842 3.86477L4.84197 7.6148C4.64964 7.7951 4.35036 7.7951 4.15803 7.6148L0.158031 3.86477C-0.0434285 3.67591 -0.0536285 3.35949 0.135232 3.15803Z"})));re.displayName="ChevronDownIcon";var ot=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.23826 0.201711C3.54108 -0.0809141 4.01567 -0.0645489 4.29829 0.238264L7.79829 3.98826C8.06724 4.27642 8.06724 4.72359 7.79829 5.01174L4.29829 8.76174C4.01567 9.06455 3.54108 9.08092 3.23826 8.79829C2.93545 8.51567 2.91909 8.04108 3.20171 7.73826L6.22409 4.5L3.20171 1.26174C2.91909 0.958928 2.93545 0.484337 3.23826 0.201711Z"})));ot.displayName="ThickChevronRightIcon";var rt=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.76174 0.201711C5.45892 -0.0809141 4.98433 -0.0645489 4.70171 0.238264L1.20171 3.98826C0.932757 4.27642 0.932757 4.72359 1.20171 5.01174L4.70171 8.76174C4.98433 9.06455 5.45892 9.08092 5.76174 8.79829C6.06455 8.51567 6.08091 8.04108 5.79829 7.73826L2.77591 4.5L5.79829 1.26174C6.08091 0.958928 6.06455 0.484337 5.76174 0.201711Z"})));rt.displayName="ThickChevronLeftIcon";var nt=c.default.forwardRef((e,t)=>c.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},c.default.createElement("circle",{cx:"4.5",cy:"4.5",r:"2"})));nt.displayName="ThickDotIcon";var at=c.default.forwardRef((e,t)=>c.default.createElement("svg",{...e,ref:t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c.default.createElement("path",{d:"M18 6 6 18"}),c.default.createElement("path",{d:"m6 6 12 12"})));at.displayName="CloseIcon";var st=c.default.forwardRef((e,t)=>c.default.createElement("svg",{...e,ref:t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c.default.createElement("path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"})));st.displayName="PaperclipIcon";var it=c.default.forwardRef((e,t)=>c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c.default.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),c.default.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"})));it.displayName="FileIcon";var lt=c.default.forwardRef((e,t)=>c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c.default.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),c.default.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),c.default.createElement("path",{d:"M10 9H8"}),c.default.createElement("path",{d:"M16 13H8"}),c.default.createElement("path",{d:"M16 17H8"})));lt.displayName="FileTextIcon";function Ce(e){return e==="classic"?"raised":(e==="override"&&void 0,e)}var ne=["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"],Se=["auto","gray","mauve","slate","sage","olive","sand"],ae={color:{type:"enum",values:ne,default:void 0}};var se=["none","small","medium","large","full"],Re={radius:{type:"enum",values:se,default:void 0}};var pt=["1","2","3","4"],H={size:{type:"enum",className:"rt-r-size",values:pt,default:"2",responsive:!0}},ct=["raised","surface","soft","outline","ghost","classic"],De={variant:{type:"enum",className:"rt-variant",values:ct,default:"raised",parseValue:Ce},material:{type:"enum",values:["solid","translucent"]},panelBackground:{type:"enum",values:["solid","translucent"]},error:{type:"boolean"},loading:{type:"boolean"},disabled:{type:"boolean"},readOnly:{type:"boolean"},...ae,...Re,placeholder:{type:"ReactNode"}},mt=["solid","soft"],Te={variant:{type:"enum",className:"rt-variant",values:mt,default:"soft"},...ae};var f=S(require("react")),ke=S(require("classnames")),x=require("radix-ui"),K=require("radix-ui/internal");function be(e){switch(e){case"tomato":case"red":case"ruby":case"crimson":case"pink":case"plum":case"purple":case"violet":return"mauve";case"iris":case"indigo":case"blue":case"sky":case"cyan":return"slate";case"teal":case"jade":case"mint":case"green":return"sage";case"grass":case"lime":return"olive";case"yellow":case"amber":case"orange":case"brown":case"gold":case"bronze":return"sand";case"gray":return"gray"}}var ie=S(require("react"));function v(e){let[t,o]=ie.useState(e),[a,n]=ie.useState(e);return Object.is(e,a)||(n(e),o(e)),[t,o]}var we={asChild:{type:"boolean"}};var dt=["inherit","light","dark"],ut=["solid","translucent"],ft=["solid","translucent"],gt=["90%","95%","100%","105%","110%"],xe=["sans","mono","serif"],u={...we,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:dt,default:"inherit"},accentColor:{type:"enum",values:ne,default:"gray"},grayColor:{type:"enum",values:Se,default:"gray"},material:{type:"enum",values:ft,default:"solid"},panelBackground:{type:"enum",values:ut,default:"solid"},radius:{type:"enum",values:se,default:"full"},scaling:{type:"enum",values:gt,default:"100%"},fontFamily:{type:"enum",values:xe,default:"sans"},headingFontFamily:{type:"enum",values:xe}};var P=()=>{},yt={appearance:u.appearance.default,accentColor:u.accentColor.default,grayColor:u.grayColor.default,resolvedGrayColor:u.grayColor.default,material:u.material.default,panelBackground:u.panelBackground.default,radius:u.radius.default,scaling:u.scaling.default,fontFamily:u.fontFamily.default,headingFontFamily:void 0,onAppearanceChange:P,onAccentColorChange:P,onGrayColorChange:P,onMaterialChange:P,onPanelBackgroundChange:P,onRadiusChange:P,onScalingChange:P,onFontFamilyChange:P,onHeadingFontFamilyChange:P},$=f.createContext(void 0);function Ne(){return f.useContext($)??yt}var le=f.forwardRef((e,t)=>{let o=f.useContext($),a=x.Direction.useDirection();return o===void 0?f.createElement(x.Tooltip.Provider,{delayDuration:200},f.createElement(x.Direction.Provider,{dir:a},f.createElement(Ie,{...e,ref:t}))):f.createElement(pe,{...e,ref:t})});le.displayName="Theme";var Ie=f.forwardRef((e,t)=>{let{appearance:o=u.appearance.default,accentColor:a=u.accentColor.default,grayColor:n=u.grayColor.default,material:p=u.material.default,panelBackground:i=u.panelBackground.default,radius:m=u.radius.default,scaling:l=u.scaling.default,fontFamily:r=u.fontFamily.default,headingFontFamily:d,hasBackground:y=u.hasBackground.default,...h}=e;W(e.panelBackground);let[C,D]=v(o),[T,k]=v(a),[B,V]=v(n),E=p!==u.material.default?p:i,[N,G]=v(E),[L,M]=v(N),[I,U]=v(m),[F,_]=v(l),[Z,O]=v(r),[q,A]=v(d);return f.createElement(pe,{...h,ref:t,isRoot:!0,hasBackground:y,appearance:C,accentColor:T,grayColor:B,material:N,panelBackground:L,radius:I,scaling:F,fontFamily:Z,headingFontFamily:q,onAppearanceChange:D,onAccentColorChange:k,onGrayColorChange:V,onMaterialChange:G,onPanelBackgroundChange:M,onRadiusChange:U,onScalingChange:_,onFontFamilyChange:O,onHeadingFontFamilyChange:A})});Ie.displayName="ThemeRoot";function Pt(){if(typeof navigator>"u")return;let e=navigator.userAgent;if(e.includes("Win"))return"windows";if(e.includes("Mac"))return"macos";if(e.includes("Linux"))return"linux"}var pe=f.forwardRef((e,t)=>{let o=f.useContext($),{asChild:a,isRoot:n,hasBackground:p,appearance:i=e.appearance??o?.appearance??u.appearance.default,accentColor:m=e.accentColor??o?.accentColor??u.accentColor.default,grayColor:l=e.grayColor??o?.resolvedGrayColor??u.grayColor.default,material:r=e.material??o?.material??u.material.default,panelBackground:d=e.panelBackground??o?.panelBackground??u.panelBackground.default,radius:y=e.radius??o?.radius??u.radius.default,scaling:h=e.scaling??o?.scaling??u.scaling.default,fontFamily:C=e.fontFamily??o?.fontFamily??u.fontFamily.default,headingFontFamily:D=e.headingFontFamily??o?.headingFontFamily,onAppearanceChange:T=P,onAccentColorChange:k=P,onGrayColorChange:B=P,onMaterialChange:V=P,onPanelBackgroundChange:E=P,onRadiusChange:N=P,onScalingChange:G=P,onFontFamilyChange:L=P,onHeadingFontFamilyChange:M=P,...I}=e,U=a?x.Slot.Root:"div",F=l==="auto"?be(m):l,_=e.appearance==="light"||e.appearance==="dark",Z=p===void 0?n||_:p,O=f.useRef(null),q=(0,K.useComposedRefs)(t,O),A="data-os"in I;return(0,K.useLayoutEffect)(()=>{if(!n||A)return;let Y=O.current;if(!Y)return;let me=Pt();if(me)return Y.setAttribute("data-os",me),()=>Y.removeAttribute("data-os")},[n,A]),f.createElement($.Provider,{value:f.useMemo(()=>({appearance:i,accentColor:m,grayColor:l,resolvedGrayColor:F,material:r,panelBackground:d,radius:y,scaling:h,fontFamily:C,headingFontFamily:D,onAppearanceChange:T,onAccentColorChange:k,onGrayColorChange:B,onMaterialChange:V,onPanelBackgroundChange:E,onRadiusChange:N,onScalingChange:G,onFontFamilyChange:L,onHeadingFontFamilyChange:M}),[i,m,l,F,r,d,y,h,C,D,T,k,B,V,E,N,G,L,M])},f.createElement(U,{"data-is-root-theme":n?"true":"false","data-accent-color":m,"data-gray-color":F,"data-has-background":Z?"true":"false","data-material":r,"data-panel-background":d,"data-radius":y,"data-scaling":h,"data-font-family":C,"data-heading-font-family":D,ref:q,...I,className:(0,ke.default)("radix-themes",{light:i==="light",dark:i==="dark"},I.className)}))});pe.displayName="ThemeImpl";var ce=s.createContext({}),Fe=e=>{let{children:t,size:o=H.size.default,...a}=e;return s.createElement(g.Select.Root,{...a},s.createElement(ce.Provider,{value:s.useMemo(()=>({size:o}),[o])},t))};Fe.displayName="Select.Root";var Be=s.forwardRef((e,t)=>{let o=s.useContext(ce),{children:a,className:n,color:p,radius:i,placeholder:m,error:l,loading:r,disabled:d,readOnly:y,material:h,panelBackground:C,...D}=te({size:o?.size,...e},{size:H.size},De,ve);W(C);let T=h??C,k=s.useMemo(()=>({"aria-invalid":l||void 0,"aria-busy":r||void 0,"aria-disabled":d||void 0,"aria-readonly":y||void 0}),[l,r,d,y]);return s.createElement(g.Select.Trigger,{asChild:!0},s.createElement("button",{"data-accent-color":p,"data-radius":i,"data-panel-background":T,"data-material":T,"data-error":l,"data-loading":r,...D,...k,ref:t,className:(0,R.default)("rt-reset","rt-SelectTrigger",n)},s.createElement("span",{className:"rt-SelectTriggerInner"},s.createElement(g.Select.Value,{placeholder:m},a)),s.createElement(g.Select.Icon,{asChild:!0},r?s.createElement("div",{className:"rt-SelectIcon rt-SelectLoadingIcon","aria-hidden":"true"},s.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},s.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",className:"rt-SelectLoadingIconCircle"}))):s.createElement(re,{className:"rt-SelectIcon"}))))});Be.displayName="Select.Trigger";var Ve=s.forwardRef((e,t)=>{e.variant!==void 0&&void 0;let o=s.useContext(ce),{className:a,children:n,color:p,container:i,...m}=te({size:o?.size,...e},{size:H.size},Te),l=Ne(),r=p||l.accentColor;return s.createElement(g.Select.Portal,{container:i},s.createElement(le,{asChild:!0},s.createElement(g.Select.Content,{"data-accent-color":r,sideOffset:4,...m,asChild:!1,ref:t,className:(0,R.default)("rt-PopperContent","rt-BaseMenuContent","rt-SelectContent",a)},s.createElement(g.ScrollArea.Root,{type:"auto",className:"rt-ScrollAreaRoot"},s.createElement(g.Select.Viewport,{asChild:!0,className:(0,R.default)("rt-BaseMenuViewport","rt-SelectViewport")},s.createElement(g.ScrollArea.Viewport,{className:"rt-ScrollAreaViewport",style:{overflowY:void 0}},n)),s.createElement(g.ScrollArea.Scrollbar,{className:"rt-ScrollAreaScrollbar rt-r-size-1",orientation:"vertical"},s.createElement(g.ScrollArea.Thumb,{className:"rt-ScrollAreaThumb"}))))))});Ve.displayName="Select.Content";var Ee=s.forwardRef((e,t)=>{let{className:o,children:a,...n}=e,p=typeof a!="string";return s.createElement(g.Select.Item,{...n,asChild:!1,ref:t,className:(0,R.default)("rt-reset","rt-BaseMenuItem","rt-SelectItem",{"rt-SelectItemRich":p},o)},s.createElement(g.Select.ItemIndicator,{className:"rt-SelectItemIndicator"},s.createElement(oe,{className:"rt-SelectItemIndicatorIcon"})),s.createElement(g.Select.ItemText,null,a))});Ee.displayName="Select.Item";var Ge=s.forwardRef(({className:e,...t},o)=>s.createElement(g.Select.Group,{...t,asChild:!1,ref:o,className:(0,R.default)("rt-SelectGroup",e)}));Ge.displayName="Select.Group";var Le=s.forwardRef(({className:e,...t},o)=>s.createElement(g.Select.Label,{...t,asChild:!1,ref:o,className:(0,R.default)("rt-BaseMenuLabel","rt-SelectLabel",e)}));Le.displayName="Select.Label";var Me=s.forwardRef(({className:e,...t},o)=>s.createElement(g.Select.Separator,{...t,asChild:!1,ref:o,className:(0,R.default)("rt-BaseMenuSeparator","rt-SelectSeparator",e)}));Me.displayName="Select.Separator";
1
+ "use strict";"use client";var Me=Object.create;var A=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ae=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var Be=(e,t)=>{for(var o in t)A(e,o,{get:t[o],enumerable:!0})},pe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ae(t))!je.call(e,a)&&a!==o&&A(e,a,{get:()=>t[a],enumerable:!(n=Ge(t,a))||n.enumerable});return e};var v=(e,t,o)=>(o=e!=null?Me(Oe(e)):{},pe(t||!e||!e.__esModule?A(o,"default",{value:e,enumerable:!0}):o,e)),He=e=>pe(A({},"__esModule",{value:!0}),e);var mt={};Be(mt,{Content:()=>Ie,Group:()=>ke,Item:()=>Fe,Label:()=>Ve,Root:()=>xe,Separator:()=>Ee,Trigger:()=>Ne});module.exports=He(mt);var l=v(require("react")),S=v(require("classnames")),g=require("radix-ui");var ue=v(require("classnames"));var We=[],ze=new Set;function $e(e){let t=Object.assign({},...e),o=[],n=[],a=new Set;for(let p in t){let s=t[p],c=s.values??We,i={key:p,type:s.type,default:s.default,hasDefault:s.default!==void 0,responsive:"responsive"in s,className:s.className,customProperties:s.customProperties,parseValue:s.parseValue,values:c,valueSet:c.length>0?new Set(c):ze,enumValueSet:s.type==="enum"?new Set([s.default,...c]):void 0};s.className?(o.push(i),a.add(p)):(i.hasDefault||s.type==="enum")&&n.push(i)}return{styling:o,passthrough:n,stylingKeys:a}}var Ke={children:new WeakMap};function ce(e){let t=Ke;for(let o=0;o<e.length;o++){let n=e[o],a=t.children.get(n);a===void 0&&(a={children:new WeakMap},t.children.set(n,a)),t=a}return t.compiled??(t.compiled=$e(e))}var Ue=["initial","xs","sm","md","lg","xl"],q=new Set(Ue);function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var qe=new Set(["initial","xs","sm","md","lg","xl"]);function T(e){if(typeof e!="object"||e===null)return!1;for(let t in e)if(qe.has(t))return!0;return!1}function O(e,t,o){return t!==void 0?t.has(o):e.includes(o)}function fe({className:e,customProperties:t,...o}){let n=_({allowArbitraryValues:!0,className:e,...o}),a=Ze({customProperties:t,...o});return[n,a]}function _({allowArbitraryValues:e,value:t,className:o,propValues:n,propValueSet:a,parseValue:p=s=>s}){if(t){if(typeof t=="string")return O(n,a,t)?me(o,t,p):e?o:void 0;if(T(t)){let s=t,c=[];for(let i in s){if(!Z(s,i)||!q.has(i))continue;let r=s[i];if(r!==void 0){if(O(n,a,r)){let m=me(o,r,p),y=i==="initial"?m:`${i}:${m}`;c.push(y)}else if(e){let m=i==="initial"?o:`${i}:${o}`;c.push(m)}}}return c.length>0?c.join(" "):""}if(e)return o}}function me(e,t,o){let n=e?"-":"",a=o(t),p=a?.startsWith("-"),s=p?"-":"",c=p?a?.substring(1):a;return`${s}${e}${n}${c}`}function Ze({customProperties:e,value:t,propValues:o,propValueSet:n,parseValue:a=p=>p}){if(!t||typeof t=="string"&&O(o,n,t))return;let p;if(typeof t=="string"){let s=a(t);p={};for(let c of e)p[c]=s;return p}if(T(t)){let s=t;for(let c in s){if(!Z(s,c)||!q.has(c))continue;let i=s[c];if(i===void 0||O(o,n,i))continue;let r=a(i);p??(p={});for(let m of e){let y=c==="initial"?m:`${m}-${c}`;p[y]=r}}}return p??{}}function Y(...e){let t;for(let o of e)o&&(t===void 0&&(t={}),Object.assign(t,o));return t}function _e(e,t){let o=e.initial,n=!1;return t.hasDefault&&o===void 0&&(o=t.default,n=!0),t.enumValueSet!==void 0&&!t.enumValueSet.has(o)&&(o=t.default,n=!0),n?{...e,initial:o}:e}function J(e,...t){let{styling:o,passthrough:n,stylingKeys:a}=ce(t),p={};for(let i in e)a.has(i)||(p[i]=e[i]);for(let i=0;i<n.length;i++){let r=n[i],m=p[r.key];if(m===void 0){r.hasDefault&&(p[r.key]=r.default);continue}r.enumValueSet!==void 0&&!r.enumValueSet.has(m)&&!T(m)&&(p[r.key]=r.default)}let s,c=[];for(let i=0;i<o.length;i++){let r=o[i],m=e[r.key];if(m===void 0&&r.hasDefault&&(m=r.default),r.enumValueSet!==void 0&&!r.enumValueSet.has(m)&&!T(m)&&(m=r.default),!!m){if(T(m)){if(!r.responsive)continue;m=_e(m,r)}if(r.type==="enum"){let y=_({allowArbitraryValues:!1,value:m,className:r.className,propValues:r.values,propValueSet:r.valueSet,parseValue:r.parseValue});y&&c.push(y);continue}if(r.type==="string"||r.type==="enum | string"){let[y,P]=fe({className:r.className,customProperties:r.customProperties,propValues:r.type==="string"?[]:r.values,propValueSet:r.type==="string"?void 0:r.valueSet,parseValue:r.parseValue,value:m});P&&(s=Y(s,P)),y&&c.push(y);continue}if(r.type==="boolean"){c.push(r.className);continue}}}return p.className=(0,ue.default)(c.length>0?c.join(" "):void 0,e.className),p.style=Y(s,e.style),p}var D=["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"],de={m:{type:"enum | string",values:D,responsive:!0,className:"rt-r-m",customProperties:["--m"]},mx:{type:"enum | string",values:D,responsive:!0,className:"rt-r-mx",customProperties:["--ml","--mr"]},my:{type:"enum | string",values:D,responsive:!0,className:"rt-r-my",customProperties:["--mt","--mb"]},mt:{type:"enum | string",values:D,responsive:!0,className:"rt-r-mt",customProperties:["--mt"]},mr:{type:"enum | string",values:D,responsive:!0,className:"rt-r-mr",customProperties:["--mr"]},mb:{type:"enum | string",values:D,responsive:!0,className:"rt-r-mb",customProperties:["--mb"]},ml:{type:"enum | string",values:D,responsive:!0,className:"rt-r-ml",customProperties:["--ml"]}};var f=v(require("react")),Ye=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z"})));Ye.displayName="ThickDividerHorizontalIcon";var Q=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z"})));Q.displayName="ThickCheckIcon";var X=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("path",{d:"M0.135232 3.15803C0.324102 2.95657 0.640521 2.94637 0.841971 3.13523L4.5 6.56464L8.158 3.13523C8.3595 2.94637 8.6759 2.95657 8.8648 3.15803C9.0536 3.35949 9.0434 3.67591 8.842 3.86477L4.84197 7.6148C4.64964 7.7951 4.35036 7.7951 4.15803 7.6148L0.158031 3.86477C-0.0434285 3.67591 -0.0536285 3.35949 0.135232 3.15803Z"})));X.displayName="ChevronDownIcon";var Je=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.23826 0.201711C3.54108 -0.0809141 4.01567 -0.0645489 4.29829 0.238264L7.79829 3.98826C8.06724 4.27642 8.06724 4.72359 7.79829 5.01174L4.29829 8.76174C4.01567 9.06455 3.54108 9.08092 3.23826 8.79829C2.93545 8.51567 2.91909 8.04108 3.20171 7.73826L6.22409 4.5L3.20171 1.26174C2.91909 0.958928 2.93545 0.484337 3.23826 0.201711Z"})));Je.displayName="ThickChevronRightIcon";var Qe=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.76174 0.201711C5.45892 -0.0809141 4.98433 -0.0645489 4.70171 0.238264L1.20171 3.98826C0.932757 4.27642 0.932757 4.72359 1.20171 5.01174L4.70171 8.76174C4.98433 9.06455 5.45892 9.08092 5.76174 8.79829C6.06455 8.51567 6.08091 8.04108 5.79829 7.73826L2.77591 4.5L5.79829 1.26174C6.08091 0.958928 6.06455 0.484337 5.76174 0.201711Z"})));Qe.displayName="ThickChevronLeftIcon";var Xe=f.default.forwardRef((e,t)=>f.default.createElement("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",...e,ref:t},f.default.createElement("circle",{cx:"4.5",cy:"4.5",r:"2"})));Xe.displayName="ThickDotIcon";var et=f.default.forwardRef((e,t)=>f.default.createElement("svg",{...e,ref:t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},f.default.createElement("path",{d:"M18 6 6 18"}),f.default.createElement("path",{d:"m6 6 12 12"})));et.displayName="CloseIcon";var tt=f.default.forwardRef((e,t)=>f.default.createElement("svg",{...e,ref:t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},f.default.createElement("path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"})));tt.displayName="PaperclipIcon";var ot=f.default.forwardRef((e,t)=>f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},f.default.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),f.default.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"})));ot.displayName="FileIcon";var rt=f.default.forwardRef((e,t)=>f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},f.default.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),f.default.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),f.default.createElement("path",{d:"M10 9H8"}),f.default.createElement("path",{d:"M16 13H8"}),f.default.createElement("path",{d:"M16 17H8"})));rt.displayName="FileTextIcon";var ee=["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"],ge=["auto","gray","mauve","slate","sage","olive","sand"],te={color:{type:"enum",values:ee,default:void 0}};var oe=["none","small","medium","large","full"],ye={radius:{type:"enum",values:oe,default:void 0}};var nt=["1","2","3","4"],j={size:{type:"enum",className:"rt-r-size",values:nt,default:"2",responsive:!0}},st=["raised","surface","soft","outline","ghost"],he={variant:{type:"enum",className:"rt-variant",values:st,default:"raised"},material:{type:"enum",values:["solid","translucent"]},error:{type:"boolean"},loading:{type:"boolean"},disabled:{type:"boolean"},readOnly:{type:"boolean"},...te,...ye,placeholder:{type:"ReactNode"}},Pe={...te};var d=v(require("react")),Re=v(require("classnames")),b=require("radix-ui"),H=require("radix-ui/internal");function Ce(e){switch(e){case"tomato":case"red":case"ruby":case"crimson":case"pink":case"plum":case"purple":case"violet":return"mauve";case"iris":case"indigo":case"blue":case"sky":case"cyan":return"slate";case"teal":case"jade":case"mint":case"green":return"sage";case"grass":case"lime":return"olive";case"yellow":case"amber":case"orange":case"brown":case"gold":case"bronze":return"sand";case"gray":return"gray"}}var re=v(require("react"));function C(e){let[t,o]=re.useState(e),[n,a]=re.useState(e);return Object.is(e,n)||(a(e),o(e)),[t,o]}var ve={asChild:{type:"boolean"}};var at=["inherit","light","dark"],it=["solid","translucent"],lt=["90%","95%","100%","105%","110%"],Se=["sans","mono","serif"],u={...ve,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:at,default:"inherit"},accentColor:{type:"enum",values:ee,default:"gray"},grayColor:{type:"enum",values:ge,default:"gray"},material:{type:"enum",values:it,default:"solid"},radius:{type:"enum",values:oe,default:"full"},scaling:{type:"enum",values:lt,default:"100%"},fontFamily:{type:"enum",values:Se,default:"sans"},headingFontFamily:{type:"enum",values:Se}};var h=()=>{},pt={appearance:u.appearance.default,accentColor:u.accentColor.default,grayColor:u.grayColor.default,resolvedGrayColor:u.grayColor.default,material:u.material.default,radius:u.radius.default,scaling:u.scaling.default,fontFamily:u.fontFamily.default,headingFontFamily:void 0,onAppearanceChange:h,onAccentColorChange:h,onGrayColorChange:h,onMaterialChange:h,onRadiusChange:h,onScalingChange:h,onFontFamilyChange:h,onHeadingFontFamilyChange:h},B=d.createContext(void 0);function Te(){return d.useContext(B)??pt}var ne=d.forwardRef((e,t)=>{let o=d.useContext(B),n=b.Direction.useDirection();return o===void 0?d.createElement(b.Tooltip.Provider,{delayDuration:200},d.createElement(b.Direction.Provider,{dir:n},d.createElement(De,{...e,ref:t}))):d.createElement(se,{...e,ref:t})});ne.displayName="Theme";var De=d.forwardRef((e,t)=>{let{appearance:o=u.appearance.default,accentColor:n=u.accentColor.default,grayColor:a=u.grayColor.default,material:p=u.material.default,radius:s=u.radius.default,scaling:c=u.scaling.default,fontFamily:i=u.fontFamily.default,headingFontFamily:r,hasBackground:m=u.hasBackground.default,...y}=e,[P,R]=C(o),[w,I]=C(n),[F,k]=C(a),[V,E]=C(p),[L,M]=C(s),[x,z]=C(c),[N,$]=C(i),[K,G]=C(r);return d.createElement(se,{...y,ref:t,isRoot:!0,hasBackground:m,appearance:P,accentColor:w,grayColor:F,material:V,radius:L,scaling:x,fontFamily:N,headingFontFamily:K,onAppearanceChange:R,onAccentColorChange:I,onGrayColorChange:k,onMaterialChange:E,onRadiusChange:M,onScalingChange:z,onFontFamilyChange:$,onHeadingFontFamilyChange:G})});De.displayName="ThemeRoot";function ct(){if(typeof navigator>"u")return;let e=navigator.userAgent;if(e.includes("Win"))return"windows";if(e.includes("Mac"))return"macos";if(e.includes("Linux"))return"linux"}var se=d.forwardRef((e,t)=>{let o=d.useContext(B),{asChild:n,isRoot:a,hasBackground:p,appearance:s=e.appearance??o?.appearance??u.appearance.default,accentColor:c=e.accentColor??o?.accentColor??u.accentColor.default,grayColor:i=e.grayColor??o?.resolvedGrayColor??u.grayColor.default,material:r=e.material??o?.material??u.material.default,radius:m=e.radius??o?.radius??u.radius.default,scaling:y=e.scaling??o?.scaling??u.scaling.default,fontFamily:P=e.fontFamily??o?.fontFamily??u.fontFamily.default,headingFontFamily:R=e.headingFontFamily??o?.headingFontFamily,onAppearanceChange:w=h,onAccentColorChange:I=h,onGrayColorChange:F=h,onMaterialChange:k=h,onRadiusChange:V=h,onScalingChange:E=h,onFontFamilyChange:L=h,onHeadingFontFamilyChange:M=h,...x}=e,z=n?b.Slot.Root:"div",N=i==="auto"?Ce(c):i,$=e.appearance==="light"||e.appearance==="dark",K=p===void 0?a||$:p,G=d.useRef(null),Le=(0,H.useComposedRefs)(t,G),ie="data-os"in x;return(0,H.useLayoutEffect)(()=>{if(!a||ie)return;let U=G.current;if(!U)return;let le=ct();if(le)return U.setAttribute("data-os",le),()=>U.removeAttribute("data-os")},[a,ie]),d.createElement(B.Provider,{value:d.useMemo(()=>({appearance:s,accentColor:c,grayColor:i,resolvedGrayColor:N,material:r,radius:m,scaling:y,fontFamily:P,headingFontFamily:R,onAppearanceChange:w,onAccentColorChange:I,onGrayColorChange:F,onMaterialChange:k,onRadiusChange:V,onScalingChange:E,onFontFamilyChange:L,onHeadingFontFamilyChange:M}),[s,c,i,N,r,m,y,P,R,w,I,F,k,V,E,L,M])},d.createElement(z,{"data-is-root-theme":a?"true":"false","data-accent-color":c,"data-gray-color":N,"data-has-background":K?"true":"false","data-material":r,"data-radius":m,"data-scaling":y,"data-font-family":P,"data-heading-font-family":R,ref:Le,...x,className:(0,Re.default)("radix-themes",{light:s==="light",dark:s==="dark"},x.className)}))});se.displayName="ThemeImpl";var W=v(require("react"));function we(){let[e,t]=W.useState(null);return W.useEffect(()=>{let o=e?.parentElement;if(!e||!o)return;let n=0,a=()=>{n=0;for(let s of o.querySelectorAll(":scope > .rt-ScrollAreaScrollbar > .rt-ScrollAreaThumb")){let c=s.parentElement,i=getComputedStyle(c);if(c.dataset.orientation==="horizontal"){let r=c.clientWidth-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight),m=be(e.scrollLeft,e.scrollWidth-e.offsetWidth,r-s.offsetWidth);s.style.transform=`translate3d(${m}px, 0, 0)`}else{let r=c.clientHeight-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom),m=be(e.scrollTop,e.scrollHeight-e.offsetHeight,r-s.offsetHeight);s.style.transform=`translate3d(0, ${m}px, 0)`}}},p=()=>{n||(n=requestAnimationFrame(a))};return e.addEventListener("scroll",p,{passive:!0}),()=>{n&&cancelAnimationFrame(n),e.removeEventListener("scroll",p)}},[e]),t}function be(e,t,o){return t<=0||o<=0?0:Math.min(Math.max(e,-t),t)/t*o}var ae=l.createContext({}),xe=e=>{let{children:t,size:o=j.size.default,...n}=e;return l.createElement(g.Select.Root,{...n},l.createElement(ae.Provider,{value:l.useMemo(()=>({size:o}),[o])},t))};xe.displayName="Select.Root";var Ne=l.forwardRef((e,t)=>{let o=l.useContext(ae),{children:n,className:a,color:p,radius:s,placeholder:c,error:i,loading:r,disabled:m,readOnly:y,material:P,...R}=J({size:o?.size,...e},{size:j.size},he,de),w=l.useMemo(()=>({"aria-invalid":i||void 0,"aria-busy":r||void 0,"aria-disabled":m||void 0,"aria-readonly":y||void 0}),[i,r,m,y]);return l.createElement(g.Select.Trigger,{asChild:!0},l.createElement("button",{"data-accent-color":p,"data-radius":s,"data-material":P,"data-error":i,"data-loading":r,...R,...w,ref:t,className:(0,S.default)("rt-reset","rt-SelectTrigger",a)},l.createElement("span",{className:"rt-SelectTriggerInner"},l.createElement(g.Select.Value,{placeholder:c},n)),l.createElement(g.Select.Icon,{asChild:!0},r?l.createElement("div",{className:"rt-SelectIcon rt-SelectLoadingIcon","aria-hidden":"true"},l.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},l.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",className:"rt-SelectLoadingIconCircle"}))):l.createElement(X,{className:"rt-SelectIcon"}))))});Ne.displayName="Select.Trigger";var Ie=l.forwardRef((e,t)=>{let o=l.useContext(ae),{className:n,children:a,color:p,container:s,...c}=J({size:o?.size,...e},{size:j.size},Pe),i=Te(),r=p||i.accentColor,m=we();return l.createElement(g.Select.Portal,{container:s},l.createElement(ne,{asChild:!0},l.createElement(g.Select.Content,{"data-accent-color":r,sideOffset:4,...c,asChild:!1,ref:t,className:(0,S.default)("rt-PopperContent","rt-BaseMenuContent","rt-variant-soft","rt-SelectContent",n)},l.createElement(g.ScrollArea.Root,{type:"auto",className:"rt-ScrollAreaRoot"},l.createElement(g.Select.Viewport,{asChild:!0,className:(0,S.default)("rt-BaseMenuViewport","rt-SelectViewport")},l.createElement(g.ScrollArea.Viewport,{ref:m,className:"rt-ScrollAreaViewport",style:{overflowY:void 0}},a)),l.createElement(g.ScrollArea.Scrollbar,{className:"rt-ScrollAreaScrollbar rt-r-size-1",orientation:"vertical"},l.createElement(g.ScrollArea.Thumb,{className:"rt-ScrollAreaThumb"}))))))});Ie.displayName="Select.Content";var Fe=l.forwardRef((e,t)=>{let{className:o,children:n,...a}=e,p=typeof n!="string";return l.createElement(g.Select.Item,{...a,asChild:!1,ref:t,className:(0,S.default)("rt-reset","rt-BaseMenuItem","rt-SelectItem",{"rt-SelectItemRich":p},o)},l.createElement(g.Select.ItemIndicator,{className:"rt-SelectItemIndicator"},l.createElement(Q,{className:"rt-SelectItemIndicatorIcon"})),l.createElement(g.Select.ItemText,null,n))});Fe.displayName="Select.Item";var ke=l.forwardRef(({className:e,...t},o)=>l.createElement(g.Select.Group,{...t,asChild:!1,ref:o,className:(0,S.default)("rt-SelectGroup",e)}));ke.displayName="Select.Group";var Ve=l.forwardRef(({className:e,...t},o)=>l.createElement(g.Select.Label,{...t,asChild:!1,ref:o,className:(0,S.default)("rt-BaseMenuLabel","rt-SelectLabel",e)}));Ve.displayName="Select.Label";var Ee=l.forwardRef(({className:e,...t},o)=>l.createElement(g.Select.Separator,{...t,asChild:!1,ref:o,className:(0,S.default)("rt-BaseMenuSeparator","rt-SelectSeparator",e)}));Ee.displayName="Select.Separator";
2
2
  //# sourceMappingURL=select.js.map