@photon-ai/pho-ui 4.18.4 → 4.18.5

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 (369) hide show
  1. package/README.md +1 -1
  2. package/dist/chunks/{IconAlertCircleFilled-VxKU8TYK.js → IconAlertCircleFilled-D6mUlVaE.js} +2 -2
  3. package/dist/chunks/IconAlertCircleFilled-D6mUlVaE.js.map +1 -0
  4. package/dist/chunks/{IconArrowUpRight-DGgKzQwV.js → IconArrowUpRight-OK8Fp0KQ.js} +2 -2
  5. package/dist/chunks/IconArrowUpRight-OK8Fp0KQ.js.map +1 -0
  6. package/dist/chunks/{IconCheck-D2WuculQ.js → IconCheck-DwSMn1wK.js} +2 -2
  7. package/dist/chunks/IconCheck-DwSMn1wK.js.map +1 -0
  8. package/dist/chunks/{IconChevronDown-CZilB71T.js → IconChevronDown-Cd68NnX2.js} +2 -2
  9. package/dist/chunks/IconChevronDown-Cd68NnX2.js.map +1 -0
  10. package/dist/chunks/{IconChevronLeft-CSWMKQ4C.js → IconChevronLeft-CptqhdxO.js} +2 -2
  11. package/dist/chunks/IconChevronLeft-CptqhdxO.js.map +1 -0
  12. package/dist/chunks/{IconChevronRight-CzoJnYNI.js → IconChevronRight-BNkXCTk6.js} +2 -2
  13. package/dist/chunks/IconChevronRight-BNkXCTk6.js.map +1 -0
  14. package/dist/chunks/{IconChevronUp-CrpWSgIl.js → IconChevronUp-Bxllwz8J.js} +2 -2
  15. package/dist/chunks/IconChevronUp-Bxllwz8J.js.map +1 -0
  16. package/dist/chunks/{IconInfoCircle-L0zfhg7R.js → IconInfoCircle-CTAynhe8.js} +2 -2
  17. package/dist/chunks/IconInfoCircle-CTAynhe8.js.map +1 -0
  18. package/dist/chunks/{IconSearch-BKAHkLyX.js → IconSearch-DkcWWZ1H.js} +2 -2
  19. package/dist/chunks/IconSearch-DkcWWZ1H.js.map +1 -0
  20. package/dist/chunks/{IconX-pZ9vrtSr.js → IconX-DnPlFC68.js} +2 -2
  21. package/dist/chunks/IconX-DnPlFC68.js.map +1 -0
  22. package/dist/chunks/animated-height-zr7BmFY1.js.map +1 -1
  23. package/dist/chunks/{avatar-BkmGDIqf.js → avatar-PgBOfszL.js} +4 -4
  24. package/dist/chunks/avatar-PgBOfszL.js.map +1 -0
  25. package/dist/chunks/{badge-DlLJPLeZ.js → badge-CVViIYj_.js} +2 -2
  26. package/dist/chunks/badge-CVViIYj_.js.map +1 -0
  27. package/dist/chunks/{bar-chart-CNCmuhQV.js → bar-chart-ZNuOoH7c.js} +2 -2
  28. package/dist/chunks/bar-chart-ZNuOoH7c.js.map +1 -0
  29. package/dist/chunks/{basic-page-D_Wgu2pJ.js → basic-page-BKvtEQkZ.js} +20 -20
  30. package/dist/chunks/basic-page-BKvtEQkZ.js.map +1 -0
  31. package/dist/chunks/{box-search-C9EVZgcb.js → box-search-CMl5bQ7Y.js} +5 -5
  32. package/dist/chunks/box-search-CMl5bQ7Y.js.map +1 -0
  33. package/dist/chunks/{bubble-eaoLJP4N.js → bubble-D88Edlgj.js} +2 -2
  34. package/dist/chunks/bubble-D88Edlgj.js.map +1 -0
  35. package/dist/chunks/{button-C9VqBBIr.js → button-CLfWdqm-.js} +3 -3
  36. package/dist/chunks/button-CLfWdqm-.js.map +1 -0
  37. package/dist/chunks/{calendar-4OFiCLAv.js → calendar-DDWITGo4.js} +7 -7
  38. package/dist/chunks/calendar-DDWITGo4.js.map +1 -0
  39. package/dist/chunks/{card-N-tvFsuV.js → card-zyRAihYE.js} +2 -2
  40. package/dist/chunks/{card-N-tvFsuV.js.map → card-zyRAihYE.js.map} +1 -1
  41. package/dist/chunks/{chart-B5wjhkBu.js → chart-Btnw7KXV.js} +3 -3
  42. package/dist/chunks/chart-Btnw7KXV.js.map +1 -0
  43. package/dist/chunks/{chat-Bu8UyIbT.js → chat-ZUzGmTWE.js} +11 -11
  44. package/dist/chunks/chat-ZUzGmTWE.js.map +1 -0
  45. package/dist/chunks/{checkbox-CwvoEJhd.js → checkbox-DpWLbKVS.js} +2 -2
  46. package/dist/chunks/checkbox-DpWLbKVS.js.map +1 -0
  47. package/dist/chunks/choice-card-_Ocs0iUj.js.map +1 -1
  48. package/dist/chunks/chrome-Ds7WykBJ.js.map +1 -1
  49. package/dist/chunks/{close-button-GvqWbLl0.js → close-button-Ck4rY1Fp.js} +3 -3
  50. package/dist/chunks/close-button-Ck4rY1Fp.js.map +1 -0
  51. package/dist/chunks/{cn-ChIgwEl3.js → cn-CPbhpG1q.js} +162 -83
  52. package/dist/chunks/cn-CPbhpG1q.js.map +1 -0
  53. package/dist/chunks/{code-block-DekLMMtV.js → code-block-Yxg2wZGJ.js} +10 -10
  54. package/dist/chunks/code-block-Yxg2wZGJ.js.map +1 -0
  55. package/dist/chunks/{collapsible-Dv306QOT.js → collapsible-C2tn_b1Q.js} +2 -2
  56. package/dist/chunks/collapsible-C2tn_b1Q.js.map +1 -0
  57. package/dist/chunks/{combobox-BJusx5b2.js → combobox-OQOi5hlB.js} +2 -2
  58. package/dist/chunks/combobox-OQOi5hlB.js.map +1 -0
  59. package/dist/chunks/{copy-button-BmGshaq9.js → copy-button-BLvirhXk.js} +4 -4
  60. package/dist/chunks/copy-button-BLvirhXk.js.map +1 -0
  61. package/dist/chunks/{createReactComponent-BqCmnqfX.js → createReactComponent-yKZn9MIX.js} +6 -6
  62. package/dist/chunks/createReactComponent-yKZn9MIX.js.map +1 -0
  63. package/dist/chunks/{data-table-T4QKnrxQ.js → data-table-CAz_8HQw.js} +8 -8
  64. package/dist/chunks/data-table-CAz_8HQw.js.map +1 -0
  65. package/dist/chunks/{date-picker-CZbcNIe-.js → date-picker-vJQrTol9.js} +5 -5
  66. package/dist/chunks/date-picker-vJQrTol9.js.map +1 -0
  67. package/dist/chunks/{description-list-BRRQ0oF6.js → description-list-Duhhralt.js} +3 -3
  68. package/dist/chunks/description-list-Duhhralt.js.map +1 -0
  69. package/dist/chunks/{dialog-12foDiQb.js → dialog-CCfeyQBG.js} +5 -5
  70. package/dist/chunks/dialog-CCfeyQBG.js.map +1 -0
  71. package/dist/chunks/{error-D5SzZ0ev.js → error-yAVi4cBu.js} +8 -8
  72. package/dist/chunks/error-yAVi4cBu.js.map +1 -0
  73. package/dist/chunks/{filter-bar-upeYW4dQ.js → filter-bar-qqCZf1x4.js} +9 -9
  74. package/dist/chunks/filter-bar-qqCZf1x4.js.map +1 -0
  75. package/dist/chunks/{form-AiHbbw4m.js → form-CXT6ayt0.js} +2 -2
  76. package/dist/chunks/{form-AiHbbw4m.js.map → form-CXT6ayt0.js.map} +1 -1
  77. package/dist/chunks/{ghost-search-8PzP73zS.js → ghost-search-CMUI2UH0.js} +4 -4
  78. package/dist/chunks/ghost-search-CMUI2UH0.js.map +1 -0
  79. package/dist/chunks/{input-fFWvPJOf.js → input-DWnb33UF.js} +4 -4
  80. package/dist/chunks/input-DWnb33UF.js.map +1 -0
  81. package/dist/chunks/{input-group-fc9_jD4d.js → input-group-C3upo2OU.js} +39 -37
  82. package/dist/chunks/input-group-C3upo2OU.js.map +1 -0
  83. package/dist/chunks/is-react-component-DSnjtBmo.js.map +1 -1
  84. package/dist/chunks/{kbd-DNI10uy7.js → kbd-DWDs_6U1.js} +2 -2
  85. package/dist/chunks/kbd-DWDs_6U1.js.map +1 -0
  86. package/dist/chunks/{line-chart-BODTNBrX.js → line-chart-pOwE2_Oz.js} +2 -2
  87. package/dist/chunks/line-chart-pOwE2_Oz.js.map +1 -0
  88. package/dist/chunks/link-provider-DXzDQ08N.js.map +1 -1
  89. package/dist/chunks/{log-list-tNuCFGlP.js → log-list-QbSYHZu3.js} +8 -8
  90. package/dist/chunks/log-list-QbSYHZu3.js.map +1 -0
  91. package/dist/chunks/{menu-CoMrYnd1.js → menu-CC3fhf83.js} +3 -3
  92. package/dist/chunks/menu-CC3fhf83.js.map +1 -0
  93. package/dist/chunks/{message-Dz2-numf.js → message-DRAWQlW-.js} +2 -2
  94. package/dist/chunks/message-DRAWQlW-.js.map +1 -0
  95. package/dist/chunks/{popover-BhBJO346.js → popover-B0NBrYV5.js} +2 -2
  96. package/dist/chunks/popover-B0NBrYV5.js.map +1 -0
  97. package/dist/chunks/popup-anchor-C3_iXdbh.js.map +1 -1
  98. package/dist/chunks/resolve-variant-CcD8iG5l.js.map +1 -1
  99. package/dist/chunks/{scroll-area-DSwD9th7.js → scroll-area-Dhl5hqay.js} +2 -2
  100. package/dist/chunks/scroll-area-Dhl5hqay.js.map +1 -0
  101. package/dist/chunks/{select-DU_0zVbn.js → select-xhSvDNbw.js} +3 -3
  102. package/dist/chunks/select-xhSvDNbw.js.map +1 -0
  103. package/dist/chunks/{sidebar-BP39w1iA.js → sidebar-CgaSEWVr.js} +11 -11
  104. package/dist/chunks/sidebar-CgaSEWVr.js.map +1 -0
  105. package/dist/chunks/{skeleton-DwjSl4vC.js → skeleton-CqZlGphn.js} +2 -2
  106. package/dist/chunks/skeleton-CqZlGphn.js.map +1 -0
  107. package/dist/chunks/{spinner-BzLUo4Xk.js → spinner-BSutFL4l.js} +2 -2
  108. package/dist/chunks/spinner-BSutFL4l.js.map +1 -0
  109. package/dist/chunks/{stat-hnNqjWVG.js → stat-BXBfMQ9Q.js} +4 -4
  110. package/dist/chunks/stat-BXBfMQ9Q.js.map +1 -0
  111. package/dist/chunks/{status-view-C8tabjDu.js → status-view-I_Y6eEyX.js} +2 -2
  112. package/dist/chunks/status-view-I_Y6eEyX.js.map +1 -0
  113. package/dist/chunks/{toast-BACxYsv6.js → toast-DrLKzrDJ.js} +7 -7
  114. package/dist/chunks/toast-DrLKzrDJ.js.map +1 -0
  115. package/dist/chunks/{toggle-o84tawXy.js → toggle-Ca4SS3YD.js} +2 -2
  116. package/dist/chunks/toggle-Ca4SS3YD.js.map +1 -0
  117. package/dist/chunks/{tooltip-BTF7GChl.js → tooltip-4J1PUJmB.js} +2 -2
  118. package/dist/chunks/tooltip-4J1PUJmB.js.map +1 -0
  119. package/dist/chunks/{trace-DyjsBY-S.js → trace-D9F0sne7.js} +11 -11
  120. package/dist/chunks/trace-D9F0sne7.js.map +1 -0
  121. package/dist/chunks/use-copy-D6JwKUll.js.map +1 -1
  122. package/dist/chunks/use-press-pulse-IbNstUT0.js.map +1 -1
  123. package/dist/components/accordion.js +1 -1
  124. package/dist/components/accordion.js.map +1 -1
  125. package/dist/components/autocomplete.js +1 -1
  126. package/dist/components/autocomplete.js.map +1 -1
  127. package/dist/components/avatar.js +1 -1
  128. package/dist/components/badge.js +1 -1
  129. package/dist/components/bar-chart.js +1 -1
  130. package/dist/components/bubble.js +1 -1
  131. package/dist/components/button.js +2 -2
  132. package/dist/components/calendar.js +1 -1
  133. package/dist/components/card.js +1 -1
  134. package/dist/components/chart.js +1 -1
  135. package/dist/components/chat.js +1 -1
  136. package/dist/components/checkbox.js +1 -1
  137. package/dist/components/code-block.js +1 -1
  138. package/dist/components/collapsible.js +1 -1
  139. package/dist/components/combobox.js +1 -1
  140. package/dist/components/command.js +4 -4
  141. package/dist/components/command.js.map +1 -1
  142. package/dist/components/context-menu.js +2 -2
  143. package/dist/components/context-menu.js.map +1 -1
  144. package/dist/components/copy-button.js +1 -1
  145. package/dist/components/data-table.js +2 -2
  146. package/dist/components/date-picker.js +1 -1
  147. package/dist/components/description-list.js +1 -1
  148. package/dist/components/dialog.js +1 -1
  149. package/dist/components/drawer.js +1 -1
  150. package/dist/components/drawer.js.map +1 -1
  151. package/dist/components/error.js +1 -1
  152. package/dist/components/field.js +1 -1
  153. package/dist/components/field.js.map +1 -1
  154. package/dist/components/fieldset.js +1 -1
  155. package/dist/components/fieldset.js.map +1 -1
  156. package/dist/components/filter-bar.js +1 -1
  157. package/dist/components/form.js +1 -1
  158. package/dist/components/input-group.js +1 -1
  159. package/dist/components/input.js +1 -1
  160. package/dist/components/kbd.js +1 -1
  161. package/dist/components/line-chart.js +1 -1
  162. package/dist/components/log-list.js +1 -1
  163. package/dist/components/menu.js +1 -1
  164. package/dist/components/menubar.js +1 -1
  165. package/dist/components/menubar.js.map +1 -1
  166. package/dist/components/message.js +1 -1
  167. package/dist/components/meter.js +1 -1
  168. package/dist/components/meter.js.map +1 -1
  169. package/dist/components/navigation-menu.js +1 -1
  170. package/dist/components/navigation-menu.js.map +1 -1
  171. package/dist/components/notification.js +4 -4
  172. package/dist/components/notification.js.map +1 -1
  173. package/dist/components/number-field.js +1 -1
  174. package/dist/components/number-field.js.map +1 -1
  175. package/dist/components/otp-field.js +1 -1
  176. package/dist/components/otp-field.js.map +1 -1
  177. package/dist/components/phone-input.js +35 -45
  178. package/dist/components/phone-input.js.map +1 -1
  179. package/dist/components/popover.js +1 -1
  180. package/dist/components/preview-card.js +1 -1
  181. package/dist/components/preview-card.js.map +1 -1
  182. package/dist/components/progress.js +1 -1
  183. package/dist/components/progress.js.map +1 -1
  184. package/dist/components/radio-group.js +1 -1
  185. package/dist/components/radio-group.js.map +1 -1
  186. package/dist/components/scope.js +10 -10
  187. package/dist/components/scope.js.map +1 -1
  188. package/dist/components/scroll-area.js +1 -1
  189. package/dist/components/select.js +1 -1
  190. package/dist/components/separator.js +1 -1
  191. package/dist/components/separator.js.map +1 -1
  192. package/dist/components/skeleton.js +1 -1
  193. package/dist/components/slider.js +1 -1
  194. package/dist/components/slider.js.map +1 -1
  195. package/dist/components/spinner.js +1 -1
  196. package/dist/components/stat.js +1 -1
  197. package/dist/components/status-view.js +1 -1
  198. package/dist/components/switch.js +1 -1
  199. package/dist/components/switch.js.map +1 -1
  200. package/dist/components/tabs.js +1 -1
  201. package/dist/components/tabs.js.map +1 -1
  202. package/dist/components/theme-toggle.js +2 -2
  203. package/dist/components/theme-toggle.js.map +1 -1
  204. package/dist/components/toast.js +1 -1
  205. package/dist/components/toggle-group.js +1 -1
  206. package/dist/components/toggle-group.js.map +1 -1
  207. package/dist/components/toggle.js +1 -1
  208. package/dist/components/toolbar.js +1 -1
  209. package/dist/components/toolbar.js.map +1 -1
  210. package/dist/components/tooltip.js +1 -1
  211. package/dist/components/trace.js +1 -1
  212. package/dist/icons.js.map +1 -1
  213. package/dist/index.js +27 -27
  214. package/dist/motion.js.map +1 -1
  215. package/dist/sections/basic-page.js +2 -2
  216. package/dist/sections/sidebar.js +1 -1
  217. package/dist/src/components/accordion/accordion.d.ts +5 -5
  218. package/dist/src/components/autocomplete/autocomplete.d.ts +9 -9
  219. package/dist/src/components/avatar/avatar.d.ts +3 -3
  220. package/dist/src/components/badge/badge.d.ts +1 -1
  221. package/dist/src/components/bar-chart/bar-chart.d.ts +1 -1
  222. package/dist/src/components/bubble/bubble.d.ts +3 -3
  223. package/dist/src/components/button/button.d.ts +4 -4
  224. package/dist/src/components/button/close-button.d.ts +1 -1
  225. package/dist/src/components/calendar/calendar.d.ts +1 -1
  226. package/dist/src/components/card/card.d.ts +7 -7
  227. package/dist/src/components/chart/chart.d.ts +1 -1
  228. package/dist/src/components/chart/legend.d.ts +2 -2
  229. package/dist/src/components/chart/shell.d.ts +1 -1
  230. package/dist/src/components/chart/skeleton.d.ts +1 -1
  231. package/dist/src/components/chart/tooltip.d.ts +1 -1
  232. package/dist/src/components/chat/chat.d.ts +17 -17
  233. package/dist/src/components/checkbox/check-glyph.d.ts +1 -1
  234. package/dist/src/components/checkbox/checkbox-card.d.ts +1 -1
  235. package/dist/src/components/checkbox/checkbox-group.d.ts +1 -1
  236. package/dist/src/components/checkbox/checkbox.d.ts +1 -1
  237. package/dist/src/components/code-block/code-block.d.ts +1 -1
  238. package/dist/src/components/code-block/languages.d.ts +27 -27
  239. package/dist/src/components/collapsible/collapsible.d.ts +2 -2
  240. package/dist/src/components/combobox/combobox.d.ts +15 -15
  241. package/dist/src/components/command/command.d.ts +12 -12
  242. package/dist/src/components/context-menu/context-menu.d.ts +48 -0
  243. package/dist/src/components/copy-button/copy-button.d.ts +1 -1
  244. package/dist/src/components/data-table/data-table.d.ts +1 -1
  245. package/dist/src/components/date-picker/date-picker.d.ts +1 -1
  246. package/dist/src/components/description-list/description-list.d.ts +2 -2
  247. package/dist/src/components/dialog/dialog.d.ts +11 -11
  248. package/dist/src/components/drawer/drawer.d.ts +6 -6
  249. package/dist/src/components/error/error.d.ts +2 -2
  250. package/dist/src/components/field/field.d.ts +6 -6
  251. package/dist/src/components/fieldset/fieldset.d.ts +2 -2
  252. package/dist/src/components/filter-bar/filter-bar.d.ts +1 -1
  253. package/dist/src/components/form/form.d.ts +1 -1
  254. package/dist/src/components/input/input.d.ts +1 -1
  255. package/dist/src/components/input-group/box-search.d.ts +1 -1
  256. package/dist/src/components/input-group/input-group.d.ts +6 -5
  257. package/dist/src/components/kbd/kbd.d.ts +1 -1
  258. package/dist/src/components/line-chart/line-chart.d.ts +1 -1
  259. package/dist/src/components/log-list/log-list.d.ts +7 -7
  260. package/dist/src/components/menu/menu-pending.d.ts +3 -4
  261. package/dist/src/components/menu/menu.d.ts +81 -0
  262. package/dist/src/components/menubar/menubar.d.ts +1 -1
  263. package/dist/src/components/message/message.d.ts +7 -7
  264. package/dist/src/components/meter/meter.d.ts +5 -5
  265. package/dist/src/components/navigation-menu/navigation-menu.d.ts +8 -8
  266. package/dist/src/components/notification/notification.d.ts +1 -1
  267. package/dist/src/components/number-field/number-field.d.ts +6 -6
  268. package/dist/src/components/otp-field/otp-field.d.ts +1 -1
  269. package/dist/src/components/phone-input/phone-input.d.ts +2 -2
  270. package/dist/src/components/popover/popover.d.ts +4 -4
  271. package/dist/src/components/preview-card/preview-card.d.ts +3 -3
  272. package/dist/src/components/progress/progress.d.ts +5 -5
  273. package/dist/src/components/radio-group/radio-card.d.ts +1 -1
  274. package/dist/src/components/radio-group/radio-group.d.ts +2 -2
  275. package/dist/src/components/scope/scope.d.ts +1 -1
  276. package/dist/src/components/scroll-area/scroll-area-edges.d.ts +1 -1
  277. package/dist/src/components/scroll-area/scroll-area.d.ts +5 -5
  278. package/dist/src/components/select/select.d.ts +9 -9
  279. package/dist/src/components/separator/separator.d.ts +1 -1
  280. package/dist/src/components/slider/slider.d.ts +7 -7
  281. package/dist/src/components/spinner/spinner.d.ts +1 -1
  282. package/dist/src/components/stat/stat.d.ts +2 -2
  283. package/dist/src/components/status-view/status-view.d.ts +1 -1
  284. package/dist/src/components/switch/switch.d.ts +1 -1
  285. package/dist/src/components/tabs/tabs.d.ts +4 -4
  286. package/dist/src/components/theme-toggle/theme-toggle.d.ts +1 -1
  287. package/dist/src/components/toast/toast.d.ts +7 -7
  288. package/dist/src/components/toggle/toggle.d.ts +1 -1
  289. package/dist/src/components/toggle-group/toggle-group.d.ts +1 -1
  290. package/dist/src/components/toolbar/toolbar.d.ts +6 -6
  291. package/dist/src/components/tooltip/tooltip.d.ts +3 -3
  292. package/dist/src/components/trace/span-primitive.d.ts +3 -3
  293. package/dist/src/components/trace/trace.d.ts +3 -3
  294. package/dist/src/icons/discord.d.ts +1 -1
  295. package/dist/src/icons/github.d.ts +1 -1
  296. package/dist/src/icons/google.d.ts +1 -1
  297. package/dist/src/icons/imessage.d.ts +1 -1
  298. package/dist/src/icons/photon-mark.d.ts +1 -1
  299. package/dist/src/icons/reddit.d.ts +1 -1
  300. package/dist/src/icons/slack.d.ts +1 -1
  301. package/dist/src/icons/telegram.d.ts +1 -1
  302. package/dist/src/icons/whatsapp.d.ts +1 -1
  303. package/dist/src/icons/x.d.ts +1 -1
  304. package/dist/src/icons/youtube.d.ts +1 -1
  305. package/dist/src/index.d.ts +1 -1
  306. package/dist/src/sections/basic-page/basic-page.d.ts +46 -46
  307. package/dist/src/sections/sidebar/sidebar.d.ts +11 -11
  308. package/dist/src/utils/animated-height.d.ts +1 -1
  309. package/dist/src/utils/ghost-search.d.ts +1 -1
  310. package/dist/src/utils/link-provider.d.ts +1 -1
  311. package/dist/src/utils/popup-anchor.d.ts +1 -1
  312. package/dist/utils.js +1 -1
  313. package/package.json +24 -24
  314. package/src/styles/pho.css +1 -1
  315. package/src/styles/theme.css +1 -1
  316. package/dist/chunks/IconAlertCircleFilled-VxKU8TYK.js.map +0 -1
  317. package/dist/chunks/IconArrowUpRight-DGgKzQwV.js.map +0 -1
  318. package/dist/chunks/IconCheck-D2WuculQ.js.map +0 -1
  319. package/dist/chunks/IconChevronDown-CZilB71T.js.map +0 -1
  320. package/dist/chunks/IconChevronLeft-CSWMKQ4C.js.map +0 -1
  321. package/dist/chunks/IconChevronRight-CzoJnYNI.js.map +0 -1
  322. package/dist/chunks/IconChevronUp-CrpWSgIl.js.map +0 -1
  323. package/dist/chunks/IconInfoCircle-L0zfhg7R.js.map +0 -1
  324. package/dist/chunks/IconSearch-BKAHkLyX.js.map +0 -1
  325. package/dist/chunks/IconX-pZ9vrtSr.js.map +0 -1
  326. package/dist/chunks/avatar-BkmGDIqf.js.map +0 -1
  327. package/dist/chunks/badge-DlLJPLeZ.js.map +0 -1
  328. package/dist/chunks/bar-chart-CNCmuhQV.js.map +0 -1
  329. package/dist/chunks/basic-page-D_Wgu2pJ.js.map +0 -1
  330. package/dist/chunks/box-search-C9EVZgcb.js.map +0 -1
  331. package/dist/chunks/bubble-eaoLJP4N.js.map +0 -1
  332. package/dist/chunks/button-C9VqBBIr.js.map +0 -1
  333. package/dist/chunks/calendar-4OFiCLAv.js.map +0 -1
  334. package/dist/chunks/chart-B5wjhkBu.js.map +0 -1
  335. package/dist/chunks/chat-Bu8UyIbT.js.map +0 -1
  336. package/dist/chunks/checkbox-CwvoEJhd.js.map +0 -1
  337. package/dist/chunks/close-button-GvqWbLl0.js.map +0 -1
  338. package/dist/chunks/cn-ChIgwEl3.js.map +0 -1
  339. package/dist/chunks/code-block-DekLMMtV.js.map +0 -1
  340. package/dist/chunks/collapsible-Dv306QOT.js.map +0 -1
  341. package/dist/chunks/combobox-BJusx5b2.js.map +0 -1
  342. package/dist/chunks/copy-button-BmGshaq9.js.map +0 -1
  343. package/dist/chunks/createReactComponent-BqCmnqfX.js.map +0 -1
  344. package/dist/chunks/data-table-T4QKnrxQ.js.map +0 -1
  345. package/dist/chunks/date-picker-CZbcNIe-.js.map +0 -1
  346. package/dist/chunks/description-list-BRRQ0oF6.js.map +0 -1
  347. package/dist/chunks/dialog-12foDiQb.js.map +0 -1
  348. package/dist/chunks/error-D5SzZ0ev.js.map +0 -1
  349. package/dist/chunks/filter-bar-upeYW4dQ.js.map +0 -1
  350. package/dist/chunks/ghost-search-8PzP73zS.js.map +0 -1
  351. package/dist/chunks/input-fFWvPJOf.js.map +0 -1
  352. package/dist/chunks/input-group-fc9_jD4d.js.map +0 -1
  353. package/dist/chunks/kbd-DNI10uy7.js.map +0 -1
  354. package/dist/chunks/line-chart-BODTNBrX.js.map +0 -1
  355. package/dist/chunks/log-list-tNuCFGlP.js.map +0 -1
  356. package/dist/chunks/menu-CoMrYnd1.js.map +0 -1
  357. package/dist/chunks/message-Dz2-numf.js.map +0 -1
  358. package/dist/chunks/popover-BhBJO346.js.map +0 -1
  359. package/dist/chunks/scroll-area-DSwD9th7.js.map +0 -1
  360. package/dist/chunks/select-DU_0zVbn.js.map +0 -1
  361. package/dist/chunks/sidebar-BP39w1iA.js.map +0 -1
  362. package/dist/chunks/skeleton-DwjSl4vC.js.map +0 -1
  363. package/dist/chunks/spinner-BzLUo4Xk.js.map +0 -1
  364. package/dist/chunks/stat-hnNqjWVG.js.map +0 -1
  365. package/dist/chunks/status-view-C8tabjDu.js.map +0 -1
  366. package/dist/chunks/toast-BACxYsv6.js.map +0 -1
  367. package/dist/chunks/toggle-o84tawXy.js.map +0 -1
  368. package/dist/chunks/tooltip-BTF7GChl.js.map +0 -1
  369. package/dist/chunks/trace-DyjsBY-S.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-DpWLbKVS.js","names":["Checkbox","BaseCheckbox","CheckboxGroup","BaseCheckboxGroup","BaseCheckbox","usePressPulse","CHOICE_CARD_PRESS_SCALE","CHOICE_CARD_PRESS_TRANSITION","CHOICE_CARD_BASE","jsx","jsxs","motion","Checkbox","CheckboxGroup","CHECK_PATH","MINUS_PATH","DRAW_TRANSITION","DrawnCheckGlyph","indeterminate","className","BOX","ICON","Checkbox$1","label","size","disabled","props","motionProps","onPointerDown","boxMotionProps","box","cn","CheckboxGroup$1","CardCopy","title","description","CheckboxCard","icon","hasIcon"],"sources":["../../src/components/checkbox/check-glyph.tsx","../../src/components/checkbox/checkbox.tsx","../../src/components/checkbox/checkbox-group.tsx","../../src/components/checkbox/checkbox-card.tsx"],"sourcesContent":["import { motion } from \"motion/react\";\n\n// Tabler's IconCheck / IconMinus paths, redrawn as a single animatable\n// `motion.path` — same 24×24 outline geometry, round caps/joins. Tabler\n// draws at stroke 2 for a 24px icon; the box shows this one at 12–14px,\n// where 2 thins to a hair, so it strokes at 3 and reads with the same\n// weight the icons around it have.\nconst CHECK_PATH = \"M5 12l5 5l10 -10\";\nconst MINUS_PATH = \"M5 12l14 0\";\n\nconst DRAW_TRANSITION = { duration: 0.22, ease: \"easeOut\" } as const;\n\n/**\n * The checkbox glyph, stroked on rather than popped in solid — same\n * considered-motion spirit as Button's press/wake effects. Re-keyed per\n * state (check vs. dash) so every appearance draws fresh from empty instead\n * of resuming a stroke left mid-way by whatever the glyph showed before.\n */\nexport function DrawnCheckGlyph({\n indeterminate,\n className,\n}: {\n indeterminate?: boolean;\n className?: string;\n}) {\n return (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={3}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n aria-hidden=\"true\"\n >\n <motion.path\n key={indeterminate ? \"minus\" : \"check\"}\n d={indeterminate ? MINUS_PATH : CHECK_PATH}\n initial={{ pathLength: 0 }}\n animate={{ pathLength: 1 }}\n transition={DRAW_TRANSITION}\n />\n </svg>\n );\n}\n","import { type ComponentProps, type ReactNode } from \"react\";\nimport { Checkbox as BaseCheckbox } from \"@base-ui/react/checkbox\";\nimport { motion } from \"motion/react\";\nimport { DrawnCheckGlyph } from \"./check-glyph\";\nimport { cn } from \"../../utils/cn\";\nimport { usePressPulse } from \"../../utils/use-press-pulse\";\n\nexport type CheckboxSize = \"sm\" | \"md\";\n\nconst BOX: Record<CheckboxSize, string> = { sm: \"size-4\", md: \"size-5\" };\nconst ICON: Record<CheckboxSize, string> = { sm: \"size-3\", md: \"size-3.5\" };\n\nexport interface CheckboxProps extends Omit<\n ComponentProps<typeof BaseCheckbox.Root>,\n \"className\"\n> {\n className?: string;\n /** Text rendered beside the box; the whole row toggles the checkbox. */\n label?: ReactNode;\n /** Size variant. @default \"md\" */\n size?: CheckboxSize;\n}\n\n/**\n * Checkbox built on Base UI `Checkbox`. Supports checked, unchecked, and\n * `indeterminate` states; pass `label` for a clickable text row, or omit it\n * and provide an `aria-label`. For a set of related options that submit\n * together, wrap them in `CheckboxGroup`.\n *\n * Animation is the Effect Button family scaled to a toggle, kept restrained:\n * a quick shallow press pulse on pointer-down (always plays out), the\n * fill/stroke easing between states, and the glyph popping in.\n */\nexport function Checkbox({\n className,\n label,\n size = \"md\",\n disabled,\n indeterminate,\n ...props\n}: CheckboxProps) {\n const { motionProps } = usePressPulse({\n scale: 0.94,\n disabled: Boolean(disabled),\n });\n // With a label, the whole row is the hit target — press-trigger from there\n // (pointerdown bubbles up from the label text too) so the box still\n // animates when the text, not the box itself, is what's clicked.\n const { onPointerDown, ...boxMotionProps } = motionProps;\n\n const box = (\n <BaseCheckbox.Root\n disabled={disabled}\n indeterminate={indeterminate}\n render={\n <motion.span\n {...boxMotionProps}\n onPointerDown={label ? undefined : onPointerDown}\n />\n }\n className={cn(\n // Flat field surface with the input-strength ring; the glyph only shows\n // on the brand-solid checked fill, so it must be on-brand (not white —\n // brand-solid is white in dark mode).\n \"group/cb outline-pho-brand bg-pho-primary ring-pho-primary text-pho-on-brand flex shrink-0 cursor-pointer items-center justify-center rounded-sm ring-1 ring-inset focus-visible:outline-2 focus-visible:outline-offset-2\",\n // Fill and stroke ease between states (stroke dissolves into the\n // fill on tick). Transform stays out — Motion owns the press pulse.\n \"transition-[background-color,box-shadow,color,outline-color] duration-150 ease-out\",\n // group-hover covers hovering the label text, not just the box itself.\n \"hover:bg-pho-primary-hover hover:ring-pho-ink group-hover:bg-pho-primary-hover group-hover:ring-pho-ink\",\n \"data-[checked]:bg-pho-brand-solid data-[checked]:ring-transparent\",\n \"data-[indeterminate]:bg-pho-brand-solid data-[indeterminate]:ring-transparent\",\n \"data-[checked]:hover:bg-pho-brand-solid-hover data-[checked]:group-hover:bg-pho-brand-solid-hover\",\n \"data-[indeterminate]:hover:bg-pho-brand-solid-hover data-[indeterminate]:group-hover:bg-pho-brand-solid-hover\",\n \"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50\",\n BOX[size],\n className,\n )}\n {...props}\n >\n {/* The glyph draws itself on (see DrawnCheckGlyph) — no separate\n pop-in needed. A quick fade covers the exit, since an unmount\n can't play the stroke backwards. */}\n <BaseCheckbox.Indicator\n className={cn(\n \"flex items-center justify-center transition-opacity duration-100 ease-out\",\n \"data-[ending-style]:opacity-0\",\n )}\n >\n <DrawnCheckGlyph indeterminate={indeterminate} className={ICON[size]} />\n </BaseCheckbox.Indicator>\n </BaseCheckbox.Root>\n );\n\n if (!label) return box;\n return (\n <label\n className=\"group flex cursor-pointer items-center gap-2 select-none\"\n onPointerDown={onPointerDown}\n >\n {box}\n <span className=\"text-pho-secondary text-base\">{label}</span>\n </label>\n );\n}\n\nCheckbox.displayName = \"Checkbox\";\n","import { type ComponentProps } from \"react\";\nimport { CheckboxGroup as BaseCheckboxGroup } from \"@base-ui/react/checkbox-group\";\nimport { cn } from \"../../utils/cn\";\n\nexport interface CheckboxGroupProps extends Omit<\n ComponentProps<typeof BaseCheckboxGroup>,\n \"className\"\n> {\n className?: string;\n}\n\n/**\n * Groups related `Checkbox`es and tracks their values as one. Built on Base UI\n * `CheckboxGroup` — supports a parent \"select all\" checkbox via `allValues`.\n * Control with `value` / `onValueChange` or leave uncontrolled with\n * `defaultValue`.\n */\nexport function CheckboxGroup({ className, ...props }: CheckboxGroupProps) {\n return (\n <BaseCheckboxGroup\n className={cn(\"flex flex-col gap-3\", className)}\n {...props}\n />\n );\n}\n\nCheckboxGroup.displayName = \"CheckboxGroup\";\n","import { type ComponentProps, type ReactNode } from \"react\";\nimport { Checkbox as BaseCheckbox } from \"@base-ui/react/checkbox\";\nimport { motion } from \"motion/react\";\nimport { DrawnCheckGlyph } from \"./check-glyph\";\nimport { cn } from \"../../utils/cn\";\nimport { usePressPulse } from \"../../utils/use-press-pulse\";\nimport {\n CHOICE_CARD_BASE,\n CHOICE_CARD_WITH_ICON,\n CHOICE_CARD_PRESS_SCALE,\n CHOICE_CARD_PRESS_TRANSITION,\n} from \"../../utils/choice-card\";\n\nexport interface CheckboxCardProps extends Omit<\n ComponentProps<typeof BaseCheckbox.Root>,\n \"className\" | \"title\"\n> {\n className?: string;\n /** Tile heading. */\n title: ReactNode;\n /** Supporting copy shown below the title. */\n description?: ReactNode;\n /** Glyph stacked above the title. When set, it replaces the checkbox box. */\n icon?: ReactNode;\n}\n\nfunction CardCopy({\n title,\n description,\n}: {\n title: ReactNode;\n description?: ReactNode;\n}) {\n return (\n <span className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-pho-primary block font-medium\">{title}</span>\n {description ? (\n <span className=\"text-pho-description block\">{description}</span>\n ) : null}\n </span>\n );\n}\n\n/**\n * A `Checkbox` styled as a bordered, selectable tile — title, optional\n * description, and either a stacked icon above them or the checkbox box at\n * the end of the title row. The tile is a\n * `<label>` around the control so clicks (including on the icon/title) are a\n * trusted activation of the hidden input Base UI renders beside the root.\n */\nexport function CheckboxCard({\n className,\n title,\n description,\n icon,\n disabled,\n indeterminate,\n ...props\n}: CheckboxCardProps) {\n const { motionProps } = usePressPulse({\n scale: CHOICE_CARD_PRESS_SCALE,\n disabled: Boolean(disabled),\n transition: CHOICE_CARD_PRESS_TRANSITION,\n });\n const hasIcon = icon != null;\n\n return (\n <motion.label\n {...motionProps}\n className={cn(\n CHOICE_CARD_BASE,\n hasIcon && CHOICE_CARD_WITH_ICON,\n className,\n )}\n data-disabled={disabled ? \"\" : undefined}\n >\n {hasIcon ? (\n <span\n aria-hidden\n className=\"text-pho-secondary flex size-6 shrink-0 items-center justify-center [&>svg]:size-6\"\n >\n {icon}\n </span>\n ) : null}\n <CardCopy title={title} description={description} />\n {/* The box sits at the end of the title row, centered on the title's\n line and the same half step from the right edge, square in the\n corner; with an icon it is the hidden control the label\n activates. */}\n <BaseCheckbox.Root\n disabled={disabled}\n indeterminate={indeterminate}\n className={\n hasIcon\n ? \"sr-only\"\n : cn(\n \"bg-pho-primary ring-pho-primary text-pho-on-brand mt-0.5 mr-0.5 flex size-4 shrink-0 items-center justify-center rounded-sm ring-1 ring-inset\",\n \"group-hover:bg-pho-primary-hover group-hover:ring-pho-ink transition-[background-color,box-shadow,color] duration-150 ease-out\",\n \"data-[checked]:bg-pho-brand-solid data-[checked]:group-hover:bg-pho-brand-solid-hover data-[checked]:ring-transparent\",\n \"data-[indeterminate]:bg-pho-brand-solid data-[indeterminate]:group-hover:bg-pho-brand-solid-hover data-[indeterminate]:ring-transparent\",\n )\n }\n {...props}\n >\n {hasIcon ? null : (\n <BaseCheckbox.Indicator\n className={cn(\n \"flex items-center justify-center transition-opacity duration-100 ease-out\",\n \"data-[ending-style]:opacity-0\",\n )}\n >\n <DrawnCheckGlyph\n indeterminate={indeterminate}\n className=\"size-2.5\"\n />\n </BaseCheckbox.Indicator>\n )}\n </BaseCheckbox.Root>\n </motion.label>\n );\n}\n\nCheckboxCard.displayName = \"CheckboxCard\";\n"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"choice-card-_Ocs0iUj.js","names":[],"sources":["../../src/utils/choice-card.ts"],"sourcesContent":["import type { Transition } from \"motion/react\";\nimport { CONTROL_PRESS_SPRING } from \"./use-press-pulse\";\n\n/**\n * Shared surface for `RadioCard` / `CheckboxCard` — a bordered, selectable\n * tile. Applied to the radio/checkbox root itself so the whole tile is the\n * hit target. Hover fills (`bg-pho-ghost-hover`); selected uses the brand\n * ring. Press feedback lives on this surface (see `usePressPulse`).\n *\n * The side padding is `--choice-card-inset`, 12px unless the page says\n * otherwise, and the padding above and below is three quarters of it: a\n * `BasicPage.Stack` sets it to the page's text edge (20px), so tiles\n * standing on the page as its surfaces reach the column's edge as a card\n * does and start their words on the headings' line; a card, sheet or\n * callout sets it back, so tiles inside one stay compact.\n */\nexport const CHOICE_CARD_BASE =\n \"group outline-pho-brand flex flex-1 cursor-pointer items-start gap-2.5 rounded-base px-[var(--choice-card-inset,0.75rem)] py-[calc(var(--choice-card-inset,0.75rem)*0.75)] text-base text-pho-secondary ring-1 ring-pho-primary ring-inset transition-[box-shadow,background-color] duration-150 ease-out select-none hover:bg-pho-ghost-hover data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[disabled]:hover:bg-transparent data-[checked]:ring-2 data-[checked]:ring-pho-brand has-[[data-checked]]:ring-2 has-[[data-checked]]:ring-pho-brand focus-visible:outline-2 focus-visible:outline-offset-2 has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2\";\n\n/** Stacked icon above the copy — tighter than the checkbox/radio row gap. */\nexport const CHOICE_CARD_WITH_ICON = \"flex-col gap-1.5\";\n\n/** Same press as Select's default trigger — field-sized, not Button's whileTap. */\nexport const CHOICE_CARD_PRESS_SCALE = 0.98;\nexport const CHOICE_CARD_PRESS_TRANSITION: Transition = CONTROL_PRESS_SPRING;\n\n/** Selection pop for a radio dot / checkbox glyph — quick and slightly bouncy. */\nexport const CHOICE_INDICATOR_POP_TRANSITION: Transition = {\n type: \"spring\",\n stiffness: 500,\n damping: 30,\n mass: 0.5,\n};\n"],"mappings":";;AAgBA,IAAa,IACX,qqBAGW,IAAwB,oBAGxB,IAA0B,MAC1B,IAA2C,GAG3C,IAA8C;AAAA,EACzD,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR"}
1
+ {"version":3,"file":"choice-card-_Ocs0iUj.js","names":["CONTROL_PRESS_SPRING","CHOICE_CARD_BASE","CHOICE_CARD_WITH_ICON","CHOICE_CARD_PRESS_SCALE","CHOICE_CARD_PRESS_TRANSITION","CHOICE_INDICATOR_POP_TRANSITION"],"sources":["../../src/utils/choice-card.ts"],"sourcesContent":["import type { Transition } from \"motion/react\";\nimport { CONTROL_PRESS_SPRING } from \"./use-press-pulse\";\n\n/**\n * Shared surface for `RadioCard` / `CheckboxCard` — a bordered, selectable\n * tile. Applied to the radio/checkbox root itself so the whole tile is the\n * hit target. Hover fills (`bg-pho-ghost-hover`); selected uses the brand\n * ring. Press feedback lives on this surface (see `usePressPulse`).\n *\n * The side padding is `--choice-card-inset`, 12px unless the page says\n * otherwise, and the padding above and below is three quarters of it: a\n * `BasicPage.Stack` sets it to the page's text edge (20px), so tiles\n * standing on the page as its surfaces reach the column's edge as a card\n * does and start their words on the headings' line; a card, sheet or\n * callout sets it back, so tiles inside one stay compact.\n */\nexport const CHOICE_CARD_BASE =\n \"group outline-pho-brand flex flex-1 cursor-pointer items-start gap-2.5 rounded-base px-[var(--choice-card-inset,0.75rem)] py-[calc(var(--choice-card-inset,0.75rem)*0.75)] text-base text-pho-secondary ring-1 ring-pho-primary ring-inset transition-[box-shadow,background-color] duration-150 ease-out select-none hover:bg-pho-ghost-hover data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[disabled]:hover:bg-transparent data-[checked]:ring-2 data-[checked]:ring-pho-brand has-[[data-checked]]:ring-2 has-[[data-checked]]:ring-pho-brand focus-visible:outline-2 focus-visible:outline-offset-2 has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2\";\n\n/** Stacked icon above the copy — tighter than the checkbox/radio row gap. */\nexport const CHOICE_CARD_WITH_ICON = \"flex-col gap-1.5\";\n\n/** Same press as Select's default trigger — field-sized, not Button's whileTap. */\nexport const CHOICE_CARD_PRESS_SCALE = 0.98;\nexport const CHOICE_CARD_PRESS_TRANSITION: Transition = CONTROL_PRESS_SPRING;\n\n/** Selection pop for a radio dot / checkbox glyph — quick and slightly bouncy. */\nexport const CHOICE_INDICATOR_POP_TRANSITION: Transition = {\n type: \"spring\",\n stiffness: 500,\n damping: 30,\n mass: 0.5,\n};\n"],"mappings":";;AAgBA,IAAaC,IACX,qqBAGWC,IAAwB,oBAGxBC,IAA0B,MAC1BC,IAA2CJ,GAG3CK,IAA8C;AAAA,EACzD,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR"}
@@ -1 +1 @@
1
- {"version":3,"file":"chrome-Ds7WykBJ.js","names":[],"sources":["../../src/components/data-table/chrome.ts"],"sourcesContent":["/**\n * The table chrome `DataTable` and `Trace.Logs` share, kept apart from\n * `data-table.tsx` so a consumer of the classes alone (the trace's log\n * list) does not carry the table engine into its chunk.\n *\n * - The frame is `BasicPage.Card`'s box minus its dividers; rows draw\n * their own.\n * - A header cell is description ink at the row's size, regular weight,\n * 40px tall on every size: a label row, not a banner. Its padding is the\n * cell's own (`px-5` in a table, the row's in a grid), so it stays out.\n * - The body's top border is the line under the header; the rows divide\n * themselves.\n */\n\n/** Same chrome as `BasicPage.Card`, minus its dividers — rows draw their own. */\nexport const DATA_TABLE_SURFACE =\n \"rounded-base border border-pho-secondary bg-pho-primary\";\n\n/** A header cell: ink, height, weight. Pad it where it sits. */\nexport const DATA_TABLE_HEADER_CELL =\n \"text-pho-description h-10 text-left align-middle font-normal whitespace-nowrap\";\n\n/** The body: the line under the header, and one between every two rows. */\nexport const DATA_TABLE_BODY =\n \"divide-pho-secondary border-pho-secondary divide-y border-t\";\n\nexport type DataTableSize = \"sm\" | \"base\" | \"lg\";\n\n/**\n * The type each size sets on the table, so cells and header move together:\n * 13px dense, the body's 14px, 16px for rows that carry two lines.\n */\nexport const DATA_TABLE_TEXT: Record<DataTableSize, string> = {\n sm: \"text-xs\",\n base: \"text-base\",\n lg: \"text-md\",\n};\n"],"mappings":";AAeA,IAAa,IACX,2DAGW,IACX,kFAGW,IACX,+DAQW,IAAiD;AAAA,EAC5D,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,IAAI;AACN"}
1
+ {"version":3,"file":"chrome-Ds7WykBJ.js","names":["DATA_TABLE_SURFACE","DATA_TABLE_HEADER_CELL","DATA_TABLE_BODY","DATA_TABLE_TEXT"],"sources":["../../src/components/data-table/chrome.ts"],"sourcesContent":["/**\n * The table chrome `DataTable` and `Trace.Logs` share, kept apart from\n * `data-table.tsx` so a consumer of the classes alone (the trace's log\n * list) does not carry the table engine into its chunk.\n *\n * - The frame is `BasicPage.Card`'s box minus its dividers; rows draw\n * their own.\n * - A header cell is description ink at the row's size, regular weight,\n * 40px tall on every size: a label row, not a banner. Its padding is the\n * cell's own (`px-5` in a table, the row's in a grid), so it stays out.\n * - The body's top border is the line under the header; the rows divide\n * themselves.\n */\n\n/** Same chrome as `BasicPage.Card`, minus its dividers — rows draw their own. */\nexport const DATA_TABLE_SURFACE =\n \"rounded-base border border-pho-secondary bg-pho-primary\";\n\n/** A header cell: ink, height, weight. Pad it where it sits. */\nexport const DATA_TABLE_HEADER_CELL =\n \"text-pho-description h-10 text-left align-middle font-normal whitespace-nowrap\";\n\n/** The body: the line under the header, and one between every two rows. */\nexport const DATA_TABLE_BODY =\n \"divide-pho-secondary border-pho-secondary divide-y border-t\";\n\nexport type DataTableSize = \"sm\" | \"base\" | \"lg\";\n\n/**\n * The type each size sets on the table, so cells and header move together:\n * 13px dense, the body's 14px, 16px for rows that carry two lines.\n */\nexport const DATA_TABLE_TEXT: Record<DataTableSize, string> = {\n sm: \"text-xs\",\n base: \"text-base\",\n lg: \"text-md\",\n};\n"],"mappings":";AAeA,IAAaA,IACX,2DAGWC,IACX,kFAGWC,IACX,+DAQWC,IAAiD;AAAA,EAC5D,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,IAAI;AACN"}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as r } from "./cn-ChIgwEl3.js";
2
+ import { t as r } from "./cn-CPbhpG1q.js";
3
3
  import { t as n } from "./resolve-variant-CcD8iG5l.js";
4
- import { t as a } from "./IconX-pZ9vrtSr.js";
4
+ import { t as a } from "./IconX-DnPlFC68.js";
5
5
  import "react";
6
6
  import { jsx as e } from "react/jsx-runtime";
7
7
  var l = {
@@ -26,4 +26,4 @@ export {
26
26
  u as t
27
27
  };
28
28
 
29
- //# sourceMappingURL=close-button-GvqWbLl0.js.map
29
+ //# sourceMappingURL=close-button-Ck4rY1Fp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-button-Ck4rY1Fp.js","names":["cn","resolveVariant","IconX","jsx","CLOSE_SIZES","CloseButton","size","label","className","props"],"sources":["../../src/components/button/close-button.tsx"],"sourcesContent":["import { type ButtonHTMLAttributes } from \"react\";\nimport { IconX } from \"@tabler/icons-react\";\nimport { cn } from \"../../utils/cn\";\nimport { resolveVariant, type VariantMap } from \"../../utils/resolve-variant\";\n\n// `rounded-base` (12px) at every size; base classes already apply squircle.\nconst CLOSE_SIZES = {\n sm: { classes: \"size-9 rounded-base *:size-5\" },\n md: { classes: \"size-10 rounded-base *:size-5\" },\n lg: { classes: \"size-11 rounded-base *:size-6\" },\n} satisfies VariantMap;\n\nexport interface CloseButtonProps extends Omit<\n ButtonHTMLAttributes<HTMLButtonElement>,\n \"color\"\n> {\n /** Size variant. @default \"sm\" */\n size?: keyof typeof CLOSE_SIZES;\n /** Accessible label. @default \"Close\" */\n label?: string;\n}\n\n/**\n * Icon-only dismiss control — a squircle chip that fills on hover. Adapts to\n * light/dark automatically via semantic tokens. Used by Dialog and dismissible\n * surfaces.\n */\nexport function CloseButton({\n size = \"sm\",\n label,\n className,\n ...props\n}: CloseButtonProps) {\n return (\n <button\n type=\"button\"\n aria-label={label || \"Close\"}\n {...props}\n className={cn(\n \"squircle text-pho-secondary outline-pho-brand hover:bg-pho-ghost-hover hover:text-pho-secondary-hover inline-flex cursor-pointer items-center justify-center p-2 transition duration-100 ease-linear focus-visible:outline-2 focus-visible:outline-offset-2\",\n resolveVariant(CLOSE_SIZES, size),\n className,\n )}\n >\n <IconX aria-hidden=\"true\" className=\"transition-inherit-all shrink-0\" />\n </button>\n );\n}\n\nCloseButton.displayName = \"CloseButton\";\n"],"mappings":";;;;;;AAMA,IAAMI,IAAc;AAAA,EAClB,IAAI,EAAE,SAAS,+BAA+B;AAAA,EAC9C,IAAI,EAAE,SAAS,gCAAgC;AAAA,EAC/C,IAAI,EAAE,SAAS,gCAAgC;AACjD;AAiBA,SAAgBC,EAAY,EAC1B,MAAAC,IAAO,MACP,OAAAC,GACA,WAAAC,GACA,GAAGC,EAAA,GACgB;AACnB,SACE,gBAAAN,EAAC,UAAD;AAAA,IACE,MAAK;AAAA,IACL,cAAYI,KAAS;AAAA,IACrB,GAAIE;AAAA,IACJ,WAAWT,EACT,+PACAC,EAAeG,GAAaE,CAAI,GAChCE,CACF;AAAA,IAEA,UAAA,gBAAAL,EAACD,GAAD;AAAA,MAAO,eAAY;AAAA,MAAO,WAAU;AAAA,IAAmC,CAAA;AAAA,EACjE,CAAA;AAEZ;AAEAG,EAAY,cAAc"}
@@ -29,13 +29,13 @@ var $e = (e, t) => {
29
29
  return {
30
30
  getClassGroupId: (d) => {
31
31
  if (d.startsWith("[") && d.endsWith("]")) return qe(d);
32
- const b = d.split(ee), u = b[0] === "" && b.length > 1 ? 1 : 0;
33
- return Ie(b, u, t);
32
+ const u = d.split(ee), b = u[0] === "" && u.length > 1 ? 1 : 0;
33
+ return Ie(u, b, t);
34
34
  },
35
- getConflictingClassGroupIds: (d, b) => {
36
- if (b) {
37
- const u = o[d], p = r[d];
38
- return u ? p ? $e(p, u) : u : p || xe;
35
+ getConflictingClassGroupIds: (d, u) => {
36
+ if (u) {
37
+ const b = o[d], p = r[d];
38
+ return b ? p ? $e(p, b) : b : p || xe;
39
39
  }
40
40
  return r[d] || xe;
41
41
  }
@@ -44,14 +44,14 @@ var $e = (e, t) => {
44
44
  if (e.length - t === 0) return r.classGroupId;
45
45
  const o = e[t], n = r.nextPart.get(o);
46
46
  if (n) {
47
- const u = Ie(e, t + 1, n);
48
- if (u) return u;
47
+ const b = Ie(e, t + 1, n);
48
+ if (b) return b;
49
49
  }
50
50
  const l = r.validators;
51
51
  if (l === null) return;
52
- const d = t === 0 ? e.join(ee) : e.slice(t).join(ee), b = l.length;
53
- for (let u = 0; u < b; u++) {
54
- const p = l[u];
52
+ const d = t === 0 ? e.join(ee) : e.slice(t).join(ee), u = l.length;
53
+ for (let b = 0; b < u; b++) {
54
+ const p = l[b];
55
55
  if (p.validator(d)) return p.classGroupId;
56
56
  }
57
57
  }, qe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
@@ -71,22 +71,22 @@ var $e = (e, t) => {
71
71
  const n = e.length;
72
72
  for (let l = 0; l < n; l++) {
73
73
  const d = e[l];
74
- Qe(d, t, r, o);
74
+ Ke(d, t, r, o);
75
75
  }
76
- }, Qe = (e, t, r, o) => {
76
+ }, Ke = (e, t, r, o) => {
77
77
  if (typeof e == "string") {
78
- He(e, t, r);
78
+ Qe(e, t, r);
79
79
  return;
80
80
  }
81
81
  if (typeof e == "function") {
82
- Ke(e, t, r, o);
82
+ He(e, t, r, o);
83
83
  return;
84
84
  }
85
85
  Ze(e, t, r, o);
86
- }, He = (e, t, r) => {
86
+ }, Qe = (e, t, r) => {
87
87
  const o = e === "" ? t : Re(t, e);
88
88
  o.classGroupId = r;
89
- }, Ke = (e, t, r, o) => {
89
+ }, He = (e, t, r, o) => {
90
90
  if (er(e)) {
91
91
  ce(e(o), t, r, o);
92
92
  return;
@@ -95,16 +95,16 @@ var $e = (e, t) => {
95
95
  }, Ze = (e, t, r, o) => {
96
96
  const n = Object.entries(e), l = n.length;
97
97
  for (let d = 0; d < l; d++) {
98
- const [b, u] = n[d];
99
- ce(u, Re(t, b), r, o);
98
+ const [u, b] = n[d];
99
+ ce(b, Re(t, u), r, o);
100
100
  }
101
101
  }, Re = (e, t) => {
102
102
  let r = e;
103
103
  const o = t.split(ee), n = o.length;
104
104
  for (let l = 0; l < n; l++) {
105
105
  const d = o[l];
106
- let b = r.nextPart.get(d);
107
- b || (b = Me(), r.nextPart.set(d, b)), r = b;
106
+ let u = r.nextPart.get(d);
107
+ u || (u = Me(), r.nextPart.set(d, u)), r = u;
108
108
  }
109
109
  return r;
110
110
  }, er = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, rr = (e) => {
@@ -139,13 +139,13 @@ var $e = (e, t) => {
139
139
  const { prefix: t, experimentalParseClassName: r } = e;
140
140
  let o = (n) => {
141
141
  const l = [];
142
- let d = 0, b = 0, u = 0, p;
142
+ let d = 0, u = 0, b = 0, p;
143
143
  const z = n.length;
144
144
  for (let k = 0; k < z; k++) {
145
145
  const C = n[k];
146
- if (d === 0 && b === 0) {
146
+ if (d === 0 && u === 0) {
147
147
  if (C === ke) {
148
- l.push(n.slice(u, k)), u = k + 1;
148
+ l.push(n.slice(b, k)), b = k + 1;
149
149
  continue;
150
150
  }
151
151
  if (C === "/") {
@@ -153,12 +153,12 @@ var $e = (e, t) => {
153
153
  continue;
154
154
  }
155
155
  }
156
- C === "[" ? d++ : C === "]" ? d-- : C === "(" ? b++ : C === ")" && b--;
156
+ C === "[" ? d++ : C === "]" ? d-- : C === "(" ? u++ : C === ")" && u--;
157
157
  }
158
- const h = l.length === 0 ? n : n.slice(u);
158
+ const h = l.length === 0 ? n : n.slice(b);
159
159
  let T = h, S = !1;
160
160
  h.endsWith(ie) ? (T = h.slice(0, -1), S = !0) : h.startsWith(ie) && (T = h.slice(1), S = !0);
161
- const B = p && p > u ? p - u : void 0;
161
+ const B = p && p > b ? p - b : void 0;
162
162
  return we(l, S, T, B);
163
163
  };
164
164
  if (t) {
@@ -181,8 +181,8 @@ var $e = (e, t) => {
181
181
  const o = [];
182
182
  let n = [];
183
183
  for (let l = 0; l < r.length; l++) {
184
- const d = r[l], b = d[0] === "[", u = t.has(d);
185
- b || u ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(d)) : n.push(d);
184
+ const d = r[l], u = d[0] === "[", b = t.has(d);
185
+ u || b ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(d)) : n.push(d);
186
186
  }
187
187
  return n.length > 0 && (n.sort(), o.push(...n)), o;
188
188
  };
@@ -197,10 +197,10 @@ var $e = (e, t) => {
197
197
  if (r) for (let o = 0; o < r.length; o++) t[r[o]] = !0;
198
198
  return t;
199
199
  }, ir = /\s+/, lr = (e, t) => {
200
- const { parseClassName: r, getClassGroupId: o, getConflictingClassGroupIds: n, sortModifiers: l, postfixLookupClassGroupIds: d } = t, b = [], u = e.trim().split(ir);
200
+ const { parseClassName: r, getClassGroupId: o, getConflictingClassGroupIds: n, sortModifiers: l, postfixLookupClassGroupIds: d } = t, u = [], b = e.trim().split(ir);
201
201
  let p = "";
202
- for (let z = u.length - 1; z >= 0; z -= 1) {
203
- const h = u[z], { isExternal: T, modifiers: S, hasImportantModifier: B, baseClassName: k, maybePostfixModifierPosition: C } = r(h);
202
+ for (let z = b.length - 1; z >= 0; z -= 1) {
203
+ const h = b[z], { isExternal: T, modifiers: S, hasImportantModifier: B, baseClassName: k, maybePostfixModifierPosition: C } = r(h);
204
204
  if (T) {
205
205
  p = h + (p.length > 0 ? " " + p : p);
206
206
  continue;
@@ -223,12 +223,12 @@ var $e = (e, t) => {
223
223
  L = !1;
224
224
  }
225
225
  const $ = S.length === 0 ? "" : S.length === 1 ? S[0] : l(S).join(":"), E = B ? $ + ie : $, O = E + w;
226
- if (b.indexOf(O) > -1) continue;
227
- b.push(O);
226
+ if (u.indexOf(O) > -1) continue;
227
+ u.push(O);
228
228
  const j = n(w, L);
229
229
  for (let A = 0; A < j.length; ++A) {
230
230
  const i = j[A];
231
- b.push(E + i);
231
+ u.push(E + i);
232
232
  }
233
233
  p = h + (p.length > 0 ? " " + p : p);
234
234
  }
@@ -244,27 +244,27 @@ var $e = (e, t) => {
244
244
  return r;
245
245
  }, ye = (e, ...t) => {
246
246
  let r, o, n, l;
247
- const d = (u) => {
247
+ const d = (b) => {
248
248
  const p = t.reduce((z, h) => h(z), e());
249
- return r = ar(p), o = r.cache.get, n = r.cache.set, l = b, b(u);
250
- }, b = (u) => {
251
- const p = o(u);
249
+ return r = ar(p), o = r.cache.get, n = r.cache.set, l = u, u(b);
250
+ }, u = (b) => {
251
+ const p = o(b);
252
252
  if (p) return p;
253
- const z = lr(u, r);
254
- return n(u, z), z;
253
+ const z = lr(b, r);
254
+ return n(b, z), z;
255
255
  };
256
- return l = d, (...u) => l(cr(...u));
256
+ return l = d, (...b) => l(cr(...b));
257
257
  }, dr = [], f = (e) => {
258
258
  const t = (r) => r[e] || dr;
259
- return t.isThemeGetter = !0, t;
260
- }, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ur = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, br = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, fr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => mr.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), ne = (e) => e.endsWith("%") && m(e.slice(0, -1)), I = (e) => pr.test(e), Ne = () => !0, hr = (e) => ur.test(e) && !br.test(e), de = () => !1, vr = (e) => fr.test(e), xr = (e) => gr.test(e), kr = (e) => !s(e) && !a(e), wr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), yr = (e) => P(e, Ee, de), s = (e) => Te.test(e), W = (e) => P(e, Oe, hr), ze = (e) => P(e, Rr, m), zr = (e) => P(e, Fe, Ne), Cr = (e) => P(e, je, de), Ce = (e) => P(e, We, de), Ar = (e) => P(e, Ve, xr), Q = (e) => P(e, _e, vr), a = (e) => Le.test(e), U = (e) => V(e, Oe), Gr = (e) => V(e, je), Ae = (e) => V(e, We), Sr = (e) => V(e, Ee), Mr = (e) => V(e, Ve), H = (e) => V(e, _e, !0), Ir = (e) => V(e, Fe, !0), P = (e, t, r) => {
259
+ return t.isThemeGetter = !0, t.themeKey = e, t;
260
+ }, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, br = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ur = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, fr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => mr.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), ne = (e) => e.endsWith("%") && m(e.slice(0, -1)), I = (e) => pr.test(e), Ne = () => !0, hr = (e) => br.test(e) && !ur.test(e), de = () => !1, vr = (e) => fr.test(e), xr = (e) => gr.test(e), kr = (e) => !s(e) && !a(e), wr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), yr = (e) => P(e, Ee, de), s = (e) => Te.test(e), W = (e) => P(e, Oe, hr), ze = (e) => P(e, Rr, m), zr = (e) => P(e, Fe, Ne), Cr = (e) => P(e, je, de), Ce = (e) => P(e, We, de), Ar = (e) => P(e, Ve, xr), K = (e) => P(e, _e, vr), a = (e) => Le.test(e), U = (e) => V(e, Oe), Gr = (e) => V(e, je), Ae = (e) => V(e, We), Sr = (e) => V(e, Ee), Mr = (e) => V(e, Ve), Q = (e) => V(e, _e, !0), Ir = (e) => V(e, Fe, !0), P = (e, t, r) => {
261
261
  const o = Te.exec(e);
262
262
  return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
263
263
  }, V = (e, t, r = !1) => {
264
264
  const o = Le.exec(e);
265
265
  return o ? o[1] ? t(o[1]) : r : !1;
266
266
  }, We = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", Ee = (e) => e === "length" || e === "size" || e === "bg-size", Oe = (e) => e === "length", Rr = (e) => e === "number", je = (e) => e === "family-name", Fe = (e) => e === "number" || e === "weight", _e = (e) => e === "shadow", Ge = () => {
267
- const e = f("color"), t = f("font"), r = f("text"), o = f("font-weight"), n = f("tracking"), l = f("leading"), d = f("breakpoint"), b = f("container"), u = f("spacing"), p = f("radius"), z = f("shadow"), h = f("inset-shadow"), T = f("text-shadow"), S = f("drop-shadow"), B = f("blur"), k = f("perspective"), C = f("aspect"), L = f("ease"), w = f("animate"), $ = () => [
267
+ const e = f("color"), t = f("font"), r = f("text"), o = f("font-weight"), n = f("tracking"), l = f("leading"), d = f("breakpoint"), u = f("container"), b = f("spacing"), p = f("radius"), z = f("shadow"), h = f("inset-shadow"), T = f("text-shadow"), S = f("drop-shadow"), B = f("blur"), k = f("perspective"), C = f("aspect"), L = f("ease"), w = f("animate"), $ = () => [
268
268
  "auto",
269
269
  "avoid",
270
270
  "all",
@@ -304,7 +304,7 @@ var $e = (e, t) => {
304
304
  ], i = () => [
305
305
  a,
306
306
  s,
307
- u
307
+ b
308
308
  ], y = () => [
309
309
  R,
310
310
  "full",
@@ -332,7 +332,7 @@ var $e = (e, t) => {
332
332
  "auto",
333
333
  a,
334
334
  s
335
- ], ue = () => [
335
+ ], be = () => [
336
336
  "auto",
337
337
  "min",
338
338
  "max",
@@ -372,6 +372,7 @@ var $e = (e, t) => {
372
372
  "fit",
373
373
  ...i()
374
374
  ], oe = () => [
375
+ u,
375
376
  R,
376
377
  "screen",
377
378
  "full",
@@ -398,7 +399,7 @@ var $e = (e, t) => {
398
399
  e,
399
400
  a,
400
401
  s
401
- ], be = () => [
402
+ ], ue = () => [
402
403
  ...E(),
403
404
  Ae,
404
405
  Ce,
@@ -567,9 +568,10 @@ var $e = (e, t) => {
567
568
  "container-named": [wr],
568
569
  columns: [{ columns: [
569
570
  m,
571
+ "auto",
570
572
  s,
571
573
  a,
572
- b
574
+ u
573
575
  ] }],
574
576
  "break-after": [{ "break-after": $() }],
575
577
  "break-before": [{ "break-before": $() }],
@@ -674,7 +676,7 @@ var $e = (e, t) => {
674
676
  R,
675
677
  "full",
676
678
  "auto",
677
- b,
679
+ u,
678
680
  ...i()
679
681
  ] }],
680
682
  "flex-direction": [{ flex: [
@@ -731,8 +733,8 @@ var $e = (e, t) => {
731
733
  "row-dense",
732
734
  "col-dense"
733
735
  ] }],
734
- "auto-cols": [{ "auto-cols": ue() }],
735
- "auto-rows": [{ "auto-rows": ue() }],
736
+ "auto-cols": [{ "auto-cols": be() }],
737
+ "auto-rows": [{ "auto-rows": be() }],
736
738
  gap: [{ gap: i() }],
737
739
  "gap-x": [{ "gap-x": i() }],
738
740
  "gap-y": [{ "gap-y": i() }],
@@ -783,18 +785,18 @@ var $e = (e, t) => {
783
785
  "min-block-size": [{ "min-block": ["auto", ...te()] }],
784
786
  "max-block-size": [{ "max-block": ["none", ...te()] }],
785
787
  w: [{ w: [
786
- b,
788
+ u,
787
789
  "screen",
788
790
  ...N()
789
791
  ] }],
790
792
  "min-w": [{ "min-w": [
791
- b,
793
+ u,
792
794
  "screen",
793
795
  "none",
794
796
  ...N()
795
797
  ] }],
796
798
  "max-w": [{ "max-w": [
797
- b,
799
+ u,
798
800
  "screen",
799
801
  "none",
800
802
  "prose",
@@ -815,6 +817,7 @@ var $e = (e, t) => {
815
817
  "max-h": [{ "max-h": [
816
818
  "screen",
817
819
  "lh",
820
+ "none",
818
821
  ...N()
819
822
  ] }],
820
823
  "font-size": [{ text: [
@@ -866,7 +869,11 @@ var $e = (e, t) => {
866
869
  a,
867
870
  ze
868
871
  ] }],
869
- leading: [{ leading: [l, ...i()] }],
872
+ leading: [{ leading: [
873
+ "none",
874
+ l,
875
+ ...i()
876
+ ] }],
870
877
  "list-image": [{ "list-image": [
871
878
  "none",
872
879
  a,
@@ -991,7 +998,7 @@ var $e = (e, t) => {
991
998
  "padding",
992
999
  "content"
993
1000
  ] }],
994
- "bg-position": [{ bg: be() }],
1001
+ "bg-position": [{ bg: ue() }],
995
1002
  "bg-repeat": [{ bg: fe() }],
996
1003
  "bg-size": [{ bg: ge() }],
997
1004
  "bg-image": [{ bg: [
@@ -1018,6 +1025,7 @@ var $e = (e, t) => {
1018
1025
  s
1019
1026
  ],
1020
1027
  conic: [
1028
+ "",
1021
1029
  M,
1022
1030
  a,
1023
1031
  s
@@ -1104,17 +1112,18 @@ var $e = (e, t) => {
1104
1112
  "outline-color": [{ outline: c() }],
1105
1113
  shadow: [{ shadow: [
1106
1114
  "",
1115
+ "inner",
1107
1116
  "none",
1108
1117
  z,
1109
- H,
1110
- Q
1118
+ Q,
1119
+ K
1111
1120
  ] }],
1112
1121
  "shadow-color": [{ shadow: c() }],
1113
1122
  "inset-shadow": [{ "inset-shadow": [
1114
1123
  "none",
1115
1124
  h,
1116
- H,
1117
- Q
1125
+ Q,
1126
+ K
1118
1127
  ] }],
1119
1128
  "inset-shadow-color": [{ "inset-shadow": c() }],
1120
1129
  "ring-w": [{ ring: x() }],
@@ -1127,8 +1136,8 @@ var $e = (e, t) => {
1127
1136
  "text-shadow": [{ "text-shadow": [
1128
1137
  "none",
1129
1138
  T,
1130
- H,
1131
- Q
1139
+ Q,
1140
+ K
1132
1141
  ] }],
1133
1142
  "text-shadow-color": [{ "text-shadow": c() }],
1134
1143
  opacity: [{ opacity: [
@@ -1214,7 +1223,7 @@ var $e = (e, t) => {
1214
1223
  "stroke",
1215
1224
  "view"
1216
1225
  ] }],
1217
- "mask-position": [{ mask: be() }],
1226
+ "mask-position": [{ mask: ue() }],
1218
1227
  "mask-repeat": [{ mask: fe() }],
1219
1228
  "mask-size": [{ mask: ge() }],
1220
1229
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
@@ -1244,8 +1253,8 @@ var $e = (e, t) => {
1244
1253
  "",
1245
1254
  "none",
1246
1255
  S,
1247
- H,
1248
- Q
1256
+ Q,
1257
+ K
1249
1258
  ] }],
1250
1259
  "drop-shadow-color": [{ "drop-shadow": c() }],
1251
1260
  grayscale: [{ grayscale: [
@@ -1571,8 +1580,18 @@ var $e = (e, t) => {
1571
1580
  "bottom",
1572
1581
  "left"
1573
1582
  ],
1574
- "inset-x": ["right", "left"],
1575
- "inset-y": ["top", "bottom"],
1583
+ "inset-x": [
1584
+ "start",
1585
+ "end",
1586
+ "right",
1587
+ "left"
1588
+ ],
1589
+ "inset-y": [
1590
+ "inset-bs",
1591
+ "inset-be",
1592
+ "top",
1593
+ "bottom"
1594
+ ],
1576
1595
  flex: [
1577
1596
  "basis",
1578
1597
  "grow",
@@ -1591,8 +1610,18 @@ var $e = (e, t) => {
1591
1610
  "pb",
1592
1611
  "pl"
1593
1612
  ],
1594
- px: ["pr", "pl"],
1595
- py: ["pt", "pb"],
1613
+ px: [
1614
+ "ps",
1615
+ "pe",
1616
+ "pr",
1617
+ "pl"
1618
+ ],
1619
+ py: [
1620
+ "pbs",
1621
+ "pbe",
1622
+ "pt",
1623
+ "pb"
1624
+ ],
1596
1625
  m: [
1597
1626
  "mx",
1598
1627
  "my",
@@ -1605,8 +1634,18 @@ var $e = (e, t) => {
1605
1634
  "mb",
1606
1635
  "ml"
1607
1636
  ],
1608
- mx: ["mr", "ml"],
1609
- my: ["mt", "mb"],
1637
+ mx: [
1638
+ "ms",
1639
+ "me",
1640
+ "mr",
1641
+ "ml"
1642
+ ],
1643
+ my: [
1644
+ "mbs",
1645
+ "mbe",
1646
+ "mt",
1647
+ "mb"
1648
+ ],
1610
1649
  size: ["w", "h"],
1611
1650
  "font-size": ["leading"],
1612
1651
  "fvn-normal": [
@@ -1657,8 +1696,18 @@ var $e = (e, t) => {
1657
1696
  "border-w-b",
1658
1697
  "border-w-l"
1659
1698
  ],
1660
- "border-w-x": ["border-w-r", "border-w-l"],
1661
- "border-w-y": ["border-w-t", "border-w-b"],
1699
+ "border-w-x": [
1700
+ "border-w-s",
1701
+ "border-w-e",
1702
+ "border-w-r",
1703
+ "border-w-l"
1704
+ ],
1705
+ "border-w-y": [
1706
+ "border-w-bs",
1707
+ "border-w-be",
1708
+ "border-w-t",
1709
+ "border-w-b"
1710
+ ],
1662
1711
  "border-color": [
1663
1712
  "border-color-x",
1664
1713
  "border-color-y",
@@ -1671,8 +1720,18 @@ var $e = (e, t) => {
1671
1720
  "border-color-b",
1672
1721
  "border-color-l"
1673
1722
  ],
1674
- "border-color-x": ["border-color-r", "border-color-l"],
1675
- "border-color-y": ["border-color-t", "border-color-b"],
1723
+ "border-color-x": [
1724
+ "border-color-s",
1725
+ "border-color-e",
1726
+ "border-color-r",
1727
+ "border-color-l"
1728
+ ],
1729
+ "border-color-y": [
1730
+ "border-color-bs",
1731
+ "border-color-be",
1732
+ "border-color-t",
1733
+ "border-color-b"
1734
+ ],
1676
1735
  translate: [
1677
1736
  "translate-x",
1678
1737
  "translate-y",
@@ -1696,8 +1755,18 @@ var $e = (e, t) => {
1696
1755
  "scroll-mb",
1697
1756
  "scroll-ml"
1698
1757
  ],
1699
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1700
- "scroll-my": ["scroll-mt", "scroll-mb"],
1758
+ "scroll-mx": [
1759
+ "scroll-ms",
1760
+ "scroll-me",
1761
+ "scroll-mr",
1762
+ "scroll-ml"
1763
+ ],
1764
+ "scroll-my": [
1765
+ "scroll-mbs",
1766
+ "scroll-mbe",
1767
+ "scroll-mt",
1768
+ "scroll-mb"
1769
+ ],
1701
1770
  "scroll-p": [
1702
1771
  "scroll-px",
1703
1772
  "scroll-py",
@@ -1710,8 +1779,18 @@ var $e = (e, t) => {
1710
1779
  "scroll-pb",
1711
1780
  "scroll-pl"
1712
1781
  ],
1713
- "scroll-px": ["scroll-pr", "scroll-pl"],
1714
- "scroll-py": ["scroll-pt", "scroll-pb"],
1782
+ "scroll-px": [
1783
+ "scroll-ps",
1784
+ "scroll-pe",
1785
+ "scroll-pr",
1786
+ "scroll-pl"
1787
+ ],
1788
+ "scroll-py": [
1789
+ "scroll-pbs",
1790
+ "scroll-pbe",
1791
+ "scroll-pt",
1792
+ "scroll-pb"
1793
+ ],
1715
1794
  touch: [
1716
1795
  "touch-x",
1717
1796
  "touch-y",
@@ -1738,9 +1817,9 @@ var $e = (e, t) => {
1738
1817
  "selection"
1739
1818
  ]
1740
1819
  };
1741
- }, Pr = (e, { cacheSize: t, prefix: r, experimentalParseClassName: o, extend: n = {}, override: l = {} }) => (_(e, "cacheSize", t), _(e, "prefix", r), _(e, "experimentalParseClassName", o), K(e.theme, l.theme), K(e.classGroups, l.classGroups), K(e.conflictingClassGroups, l.conflictingClassGroups), K(e.conflictingClassGroupModifiers, l.conflictingClassGroupModifiers), _(e, "postfixLookupClassGroups", l.postfixLookupClassGroups), _(e, "orderSensitiveModifiers", l.orderSensitiveModifiers), Z(e.theme, n.theme), Z(e.classGroups, n.classGroups), Z(e.conflictingClassGroups, n.conflictingClassGroups), Z(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), le(e, n, "postfixLookupClassGroups"), le(e, n, "orderSensitiveModifiers"), e), _ = (e, t, r) => {
1820
+ }, Pr = (e, { cacheSize: t, prefix: r, experimentalParseClassName: o, extend: n = {}, override: l = {} }) => (_(e, "cacheSize", t), _(e, "prefix", r), _(e, "experimentalParseClassName", o), H(e.theme, l.theme), H(e.classGroups, l.classGroups), H(e.conflictingClassGroups, l.conflictingClassGroups), H(e.conflictingClassGroupModifiers, l.conflictingClassGroupModifiers), _(e, "postfixLookupClassGroups", l.postfixLookupClassGroups), _(e, "orderSensitiveModifiers", l.orderSensitiveModifiers), Z(e.theme, n.theme), Z(e.classGroups, n.classGroups), Z(e.conflictingClassGroups, n.conflictingClassGroups), Z(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), le(e, n, "postfixLookupClassGroups"), le(e, n, "orderSensitiveModifiers"), e), _ = (e, t, r) => {
1742
1821
  r !== void 0 && (e[t] = r);
1743
- }, K = (e, t) => {
1822
+ }, H = (e, t) => {
1744
1823
  if (t) for (const r in t) _(e, r, t[r]);
1745
1824
  }, Z = (e, t) => {
1746
1825
  if (t) for (const r in t) le(e, t, r);
@@ -1763,4 +1842,4 @@ export {
1763
1842
  Nr as t
1764
1843
  };
1765
1844
 
1766
- //# sourceMappingURL=cn-ChIgwEl3.js.map
1845
+ //# sourceMappingURL=cn-CPbhpG1q.js.map