asta-ui 0.9.8 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/bin/asta-ui.mjs +43 -7
  2. package/css/asta.css +2 -2
  3. package/css/asta.js +18 -1
  4. package/css/components.css +21 -10
  5. package/css/runtime/overlays.js +17 -0
  6. package/css/src/core.css +5 -5
  7. package/css/src/overlays.css +16 -5
  8. package/dist/accordion.js +1 -1
  9. package/dist/agent-plan.js +1 -1
  10. package/dist/ai-chat.js +1 -1
  11. package/dist/alert.js +1 -1
  12. package/dist/announcement-bar.js +1 -1
  13. package/dist/api-keys.js +2 -2
  14. package/dist/badge.js +1 -1
  15. package/dist/base/accordion.js +1 -1
  16. package/dist/base/agent-plan.js +1 -1
  17. package/dist/base/ai-chat.js +1 -1
  18. package/dist/base/alert.js +1 -1
  19. package/dist/base/announcement-bar.js +1 -1
  20. package/dist/base/api-keys.js +2 -2
  21. package/dist/base/badge.js +1 -1
  22. package/dist/base/billing.js +3 -3
  23. package/dist/base/breadcrumb.js +1 -1
  24. package/dist/base/button-aui-064.d.ts +2 -0
  25. package/dist/base/button-aui-064.js +11 -0
  26. package/dist/base/button-aui-065.d.ts +2 -0
  27. package/dist/base/button-aui-065.js +9 -0
  28. package/dist/base/button-aui-066.d.ts +2 -0
  29. package/dist/base/button-aui-066.js +11 -0
  30. package/dist/base/button-aui-067.d.ts +2 -0
  31. package/dist/base/button-aui-067.js +9 -0
  32. package/dist/base/button-aui-068.d.ts +2 -0
  33. package/dist/base/button-aui-068.js +9 -0
  34. package/dist/base/button.js +1 -1
  35. package/dist/base/carousel.js +1 -1
  36. package/dist/base/chart-card.js +1 -1
  37. package/dist/base/checkbox-aui-052.js +1 -1
  38. package/dist/base/checkbox-aui-053.js +1 -1
  39. package/dist/base/checkbox-aui-054.js +1 -1
  40. package/dist/base/checkbox.js +1 -1
  41. package/dist/base/checkout.js +3 -4
  42. package/dist/base/citations.js +1 -1
  43. package/dist/base/combobox-aui-046.js +1 -1
  44. package/dist/base/combobox-aui-047.js +1 -1
  45. package/dist/base/combobox.js +1 -1
  46. package/dist/base/command-palette.js +1 -1
  47. package/dist/base/comments.js +2 -2
  48. package/dist/base/context-menu.js +1 -1
  49. package/dist/base/context-meter.js +1 -1
  50. package/dist/base/cookie-consent.js +2 -2
  51. package/dist/base/copy-button.js +1 -1
  52. package/dist/base/data-table.js +1 -1
  53. package/dist/base/date-picker-aui-050.js +1 -1
  54. package/dist/base/date-picker-aui-051.js +1 -1
  55. package/dist/base/date-picker.js +1 -1
  56. package/dist/base/dialog.js +1 -1
  57. package/dist/base/drawer.js +1 -1
  58. package/dist/base/dropdown-menu.js +2 -2
  59. package/dist/base/empty-state.js +2 -2
  60. package/dist/base/event-calendar.js +1 -1
  61. package/dist/base/field.js +1 -1
  62. package/dist/base/file-card.js +1 -1
  63. package/dist/base/file-manager.js +7 -7
  64. package/dist/base/file-upload.js +1 -1
  65. package/dist/base/footer-aui-027.js +1 -1
  66. package/dist/base/footer-aui-028.js +1 -1
  67. package/dist/base/footer.js +2 -2
  68. package/dist/base/image-compare.js +1 -1
  69. package/dist/base/inbox.js +2 -2
  70. package/dist/base/inline-edit.js +1 -1
  71. package/dist/base/input-aui-029.js +1 -1
  72. package/dist/base/input-aui-030.js +1 -1
  73. package/dist/base/input-aui-031.js +1 -1
  74. package/dist/base/input-aui-032.js +1 -1
  75. package/dist/base/input-aui-033.js +1 -1
  76. package/dist/base/input.js +1 -1
  77. package/dist/base/invoice.js +2 -2
  78. package/dist/base/menubar.js +1 -1
  79. package/dist/base/meter.js +1 -1
  80. package/dist/base/model-picker.js +1 -1
  81. package/dist/base/motion-button.js +1 -1
  82. package/dist/base/navbar-aui-009.js +1 -1
  83. package/dist/base/navbar-aui-010.js +1 -1
  84. package/dist/base/navbar-aui-011.js +1 -1
  85. package/dist/base/navbar-aui-012.js +1 -1
  86. package/dist/base/navbar-aui-013.js +1 -1
  87. package/dist/base/navbar-aui-014.js +1 -1
  88. package/dist/base/navbar.js +2 -2
  89. package/dist/base/notification-center.js +1 -1
  90. package/dist/base/number-input.js +1 -1
  91. package/dist/base/onboarding.js +2 -2
  92. package/dist/base/otp-input-aui-041.js +1 -1
  93. package/dist/base/otp-input-aui-042.js +1 -1
  94. package/dist/base/pagination.js +1 -1
  95. package/dist/base/password-input-aui-040.js +1 -1
  96. package/dist/base/password-input.js +1 -1
  97. package/dist/base/payment-received.js +1 -1
  98. package/dist/base/phone-input.js +1 -1
  99. package/dist/base/price-alert.js +1 -1
  100. package/dist/base/price-chart.js +1 -1
  101. package/dist/base/pricing-aui-021.js +1 -1
  102. package/dist/base/pricing-aui-022.js +1 -1
  103. package/dist/base/pricing-aui-023.js +1 -1
  104. package/dist/base/pricing-aui-024.js +1 -1
  105. package/dist/base/pricing.js +2 -2
  106. package/dist/base/prompt-composer.js +1 -1
  107. package/dist/base/properties-panel.js +1 -1
  108. package/dist/base/radio-group-aui-055.js +1 -1
  109. package/dist/base/radio-group-aui-056.js +1 -1
  110. package/dist/base/radio-group.js +1 -1
  111. package/dist/base/rating.js +1 -1
  112. package/dist/base/segmented-control.js +1 -1
  113. package/dist/base/select-aui-043.js +1 -1
  114. package/dist/base/select-aui-044.js +1 -1
  115. package/dist/base/select-aui-045.js +1 -1
  116. package/dist/base/select.js +1 -1
  117. package/dist/base/settings-panel.js +2 -2
  118. package/dist/base/sidebar.js +1 -1
  119. package/dist/base/sign-in-aui-015.js +1 -1
  120. package/dist/base/sign-in-aui-016.js +1 -1
  121. package/dist/base/sign-in-aui-017.js +1 -1
  122. package/dist/base/sign-in-aui-018.js +1 -1
  123. package/dist/base/sign-in-aui-019.js +1 -1
  124. package/dist/base/sign-in-aui-020.js +1 -1
  125. package/dist/base/sign-in.js +2 -2
  126. package/dist/base/slider-aui-063.js +1 -1
  127. package/dist/base/split-bill.js +1 -1
  128. package/dist/base/stat-card.js +1 -1
  129. package/dist/base/stepper.js +1 -1
  130. package/dist/base/switch-aui-058.js +1 -1
  131. package/dist/base/switch-aui-059.js +1 -1
  132. package/dist/base/switch-aui-060.js +1 -1
  133. package/dist/base/tabs.js +1 -1
  134. package/dist/base/tag-input-aui-048.js +1 -1
  135. package/dist/base/tag-input-aui-049.js +1 -1
  136. package/dist/base/tag-input.js +1 -1
  137. package/dist/base/team-members.js +3 -3
  138. package/dist/base/testimonials.js +1 -1
  139. package/dist/base/textarea-aui-003.js +1 -1
  140. package/dist/base/textarea-aui-005.js +1 -1
  141. package/dist/base/textarea-aui-007.js +1 -1
  142. package/dist/base/textarea-aui-036.js +1 -1
  143. package/dist/base/textarea-aui-037.js +1 -1
  144. package/dist/base/textarea-aui-038.js +1 -1
  145. package/dist/base/thinking.js +1 -1
  146. package/dist/base/toast.js +1 -1
  147. package/dist/base/token-swap.js +1 -1
  148. package/dist/base/tool-approval.js +1 -1
  149. package/dist/base/tool-dock.js +1 -1
  150. package/dist/base/trace-waterfall.js +1 -1
  151. package/dist/base/trade-ticket.js +1 -1
  152. package/dist/base/tree-view.js +1 -1
  153. package/dist/base/watchlist.js +1 -1
  154. package/dist/base/workspace-switcher.js +1 -1
  155. package/dist/base.js +187 -153
  156. package/dist/billing.js +3 -3
  157. package/dist/breadcrumb.js +1 -1
  158. package/dist/button-aui-064.d.ts +2 -0
  159. package/dist/button-aui-064.js +11 -0
  160. package/dist/button-aui-065.d.ts +2 -0
  161. package/dist/button-aui-065.js +9 -0
  162. package/dist/button-aui-066.d.ts +2 -0
  163. package/dist/button-aui-066.js +11 -0
  164. package/dist/button-aui-067.d.ts +2 -0
  165. package/dist/button-aui-067.js +9 -0
  166. package/dist/button-aui-068.d.ts +2 -0
  167. package/dist/button-aui-068.js +9 -0
  168. package/dist/button.js +1 -1
  169. package/dist/carousel.js +1 -1
  170. package/dist/chart-card.js +1 -1
  171. package/dist/checkbox-aui-052.js +1 -1
  172. package/dist/checkbox-aui-053.js +1 -1
  173. package/dist/checkbox-aui-054.js +1 -1
  174. package/dist/checkbox.js +1 -1
  175. package/dist/checkout.js +3 -4
  176. package/dist/{chunk-5ZQ6PMJT.js → chunk-22ILG5VV.js} +2 -2
  177. package/dist/{chunk-2F5CE6ZB.js → chunk-27W3F7NE.js} +7 -6
  178. package/dist/{chunk-66MJ6EEU.js → chunk-2DA4SEGX.js} +2 -2
  179. package/dist/chunk-2GLBURQR.js +85 -0
  180. package/dist/{chunk-X4M6RXNL.js → chunk-2H25OHYS.js} +17 -13
  181. package/dist/{chunk-FA4A2EGP.js → chunk-2RUX5OTU.js} +5 -4
  182. package/dist/{chunk-3PLQKAD7.js → chunk-2U3WJCWO.js} +15 -5
  183. package/dist/{chunk-VTTXURIB.js → chunk-32GWAA4A.js} +4 -3
  184. package/dist/{chunk-3XHG7P5T.js → chunk-3F4MIHEK.js} +7 -7
  185. package/dist/{chunk-LOHFV5JF.js → chunk-3MH5O4HX.js} +7 -7
  186. package/dist/{chunk-7PHSPBJK.js → chunk-3N7SRANH.js} +8 -4
  187. package/dist/{chunk-UJYZZSII.js → chunk-4ATDGYSC.js} +13 -9
  188. package/dist/{chunk-3UQIYJTI.js → chunk-4EX6JZ7C.js} +11 -4
  189. package/dist/{chunk-CRGCVJLS.js → chunk-4IPMVLH7.js} +2 -2
  190. package/dist/{chunk-JLCSRNI2.js → chunk-4MBIQUM2.js} +7 -7
  191. package/dist/{chunk-NIYIT2QU.js → chunk-4N2KNDOB.js} +3 -3
  192. package/dist/{chunk-SDOWCCM2.js → chunk-4P6EPSHA.js} +12 -7
  193. package/dist/{chunk-SDUD2HI2.js → chunk-4YF2XZY5.js} +3 -3
  194. package/dist/{chunk-VDWLZWAT.js → chunk-56PRVZWW.js} +3 -3
  195. package/dist/{chunk-VI6565XF.js → chunk-5CD5RMFF.js} +32 -18
  196. package/dist/{chunk-FAHOYAQH.js → chunk-5JLFPVXB.js} +5 -2
  197. package/dist/{chunk-UOOGRGEC.js → chunk-5SK7NMOG.js} +2 -1
  198. package/dist/{chunk-IU4OH5MB.js → chunk-5UARATD2.js} +9 -6
  199. package/dist/{chunk-Z2DF2YL5.js → chunk-5WVRC4BW.js} +1 -1
  200. package/dist/{chunk-6MPEI6V5.js → chunk-67BNR73B.js} +5 -5
  201. package/dist/{chunk-JQX5KR7O.js → chunk-76NMSRFH.js} +4 -1
  202. package/dist/{chunk-MNWZP3S2.js → chunk-7AN76PIT.js} +1 -1
  203. package/dist/chunk-7DQJUZFY.js +139 -0
  204. package/dist/{chunk-3PSV752Q.js → chunk-7E5ZWVOH.js} +1 -1
  205. package/dist/{chunk-77RFV2MG.js → chunk-7GUFM5QQ.js} +16 -11
  206. package/dist/{chunk-MIDBYG4B.js → chunk-7RECQQQP.js} +2 -1
  207. package/dist/{chunk-UX6CWJT7.js → chunk-7TCU6IJX.js} +1 -1
  208. package/dist/{chunk-CMOI7V4H.js → chunk-7YF3BCAH.js} +18 -9
  209. package/dist/{chunk-N3X4T5OR.js → chunk-A4CMX7CD.js} +26 -17
  210. package/dist/{chunk-ZH5A4YKQ.js → chunk-A7TELQOW.js} +2 -2
  211. package/dist/{chunk-MXRBXBE3.js → chunk-AAE4SLAV.js} +4 -1
  212. package/dist/{chunk-YNPG4WOS.js → chunk-AIUW7VNA.js} +8 -5
  213. package/dist/{chunk-V4O44BPH.js → chunk-AM63372L.js} +1 -1
  214. package/dist/{chunk-YV3D4CPO.js → chunk-B2GAISZU.js} +0 -1
  215. package/dist/{chunk-JX7V6EFT.js → chunk-B2SLXW63.js} +19 -15
  216. package/dist/{chunk-JJ473HJ2.js → chunk-BBILYMCF.js} +6 -3
  217. package/dist/{chunk-6OZZ24UL.js → chunk-BLZYUAE7.js} +4 -1
  218. package/dist/{chunk-VEKYE733.js → chunk-BNODQM6D.js} +13 -7
  219. package/dist/{chunk-2SOX7WUL.js → chunk-BT7K6WI5.js} +5 -5
  220. package/dist/{chunk-ZO25PAJA.js → chunk-BTSLCG3J.js} +35 -17
  221. package/dist/chunk-C5NGITT4.js +90 -0
  222. package/dist/{chunk-W2S6JDBM.js → chunk-CGMVTIMW.js} +13 -13
  223. package/dist/{chunk-VIFKQE2H.js → chunk-CYU52LAD.js} +2 -2
  224. package/dist/{chunk-OUGWYBWG.js → chunk-CZKYSTF5.js} +4 -1
  225. package/dist/{chunk-64UK5LOT.js → chunk-D3GC3QHM.js} +6 -4
  226. package/dist/{chunk-AQV7BK73.js → chunk-DAWISPMI.js} +13 -7
  227. package/dist/{chunk-DITROAPF.js → chunk-DQNJLPQZ.js} +119 -39
  228. package/dist/{chunk-KATSSAVI.js → chunk-DSMKE64O.js} +2 -1
  229. package/dist/{chunk-HKOPYHLZ.js → chunk-DUAMPG7T.js} +8 -20
  230. package/dist/{chunk-MT3VMDV4.js → chunk-DXFIPXJJ.js} +5 -2
  231. package/dist/{chunk-3PLPK7QK.js → chunk-DY5Z45NW.js} +4 -1
  232. package/dist/{chunk-MKCLD2HJ.js → chunk-E4ZM7ZFL.js} +35 -17
  233. package/dist/{chunk-ZK4DK2SS.js → chunk-E7Q7EP4K.js} +1 -1
  234. package/dist/{chunk-4YNUJFTL.js → chunk-EHBCXGBF.js} +7 -7
  235. package/dist/{chunk-Y4JOW2UW.js → chunk-EQVJUIF4.js} +14 -10
  236. package/dist/{chunk-PIXHOFUT.js → chunk-ET4NNKVK.js} +18 -11
  237. package/dist/{chunk-BXNC35OZ.js → chunk-FEQPNCG7.js} +9 -6
  238. package/dist/{chunk-4RBIAKO6.js → chunk-FJNJ2TLR.js} +0 -1
  239. package/dist/{chunk-2RB5T6WP.js → chunk-FZ3GCVH2.js} +2 -1
  240. package/dist/{chunk-D6LGKFZH.js → chunk-G23AGEY4.js} +1 -1
  241. package/dist/{chunk-Q3KZWQWK.js → chunk-GPGIY2ZG.js} +6 -6
  242. package/dist/{chunk-CTWW5QOS.js → chunk-GU5KNBTL.js} +7 -5
  243. package/dist/{chunk-UACKIMP4.js → chunk-GUZHEEYG.js} +6 -6
  244. package/dist/{chunk-LS6CFF6X.js → chunk-GX4ZHNG7.js} +5 -1
  245. package/dist/{chunk-DZU5SMC3.js → chunk-HGQK3XJB.js} +5 -5
  246. package/dist/{chunk-Q6IUIKAE.js → chunk-HJ2FWSSM.js} +8 -8
  247. package/dist/{chunk-IS2VTYDA.js → chunk-HJD3NQST.js} +6 -3
  248. package/dist/{chunk-RJZ37JRF.js → chunk-HJMROSE4.js} +19 -8
  249. package/dist/{chunk-P3XPSBST.js → chunk-HKNI3L5Q.js} +4 -4
  250. package/dist/{chunk-6NR46VEH.js → chunk-HON5QYW7.js} +7 -7
  251. package/dist/{chunk-OSZXWKKH.js → chunk-IS35SPLR.js} +6 -5
  252. package/dist/{chunk-QYI7LQBQ.js → chunk-ITC5UU7V.js} +1 -1
  253. package/dist/{chunk-WOMLNEGP.js → chunk-IUOKOPNY.js} +4 -3
  254. package/dist/{chunk-MSBN2O66.js → chunk-J65FSZ6X.js} +1 -1
  255. package/dist/{chunk-ZJLQDN5R.js → chunk-JIQIQ7IZ.js} +5 -4
  256. package/dist/{chunk-DSLKU6QJ.js → chunk-JZNZUL3S.js} +119 -39
  257. package/dist/{chunk-DEAQSJ4Z.js → chunk-K5QMUHOG.js} +12 -9
  258. package/dist/{chunk-MBMY2VYS.js → chunk-KCASF2IV.js} +7 -7
  259. package/dist/{chunk-765WRI6C.js → chunk-KE33WVT2.js} +3 -3
  260. package/dist/{chunk-ZNH7MSLM.js → chunk-KMYHXVOF.js} +2 -2
  261. package/dist/{chunk-ZKMEKSJZ.js → chunk-KSNSN42X.js} +9 -4
  262. package/dist/{chunk-KCORGXZI.js → chunk-KSZLBV3P.js} +4 -1
  263. package/dist/{chunk-6D4LHBWD.js → chunk-KUK3UZ7M.js} +10 -7
  264. package/dist/{chunk-PNN2M3V3.js → chunk-KY6XHDJY.js} +13 -7
  265. package/dist/{chunk-YUOEZYRP.js → chunk-L4G2YUXT.js} +0 -1
  266. package/dist/{chunk-RPOV3WAK.js → chunk-L7SG34PT.js} +14 -14
  267. package/dist/{chunk-5ZTFP7P6.js → chunk-LBUUCJQE.js} +18 -9
  268. package/dist/{chunk-CDQNLDO6.js → chunk-LLI33GKW.js} +4 -4
  269. package/dist/{chunk-QWOO4V7N.js → chunk-LO4TYPLL.js} +8 -2
  270. package/dist/{chunk-BWYPKOG3.js → chunk-M32LPQKJ.js} +1 -1
  271. package/dist/{chunk-BT77ALVB.js → chunk-M4NEGTL3.js} +4 -1
  272. package/dist/{chunk-YVGC7QT7.js → chunk-MG6TUMH7.js} +5 -5
  273. package/dist/{chunk-RAEOJYMR.js → chunk-MQYV5MKH.js} +9 -5
  274. package/dist/{chunk-OIIMYSVT.js → chunk-MTI7DQ4F.js} +7 -7
  275. package/dist/{chunk-D2JJSUXI.js → chunk-MXHFJ3XF.js} +6 -3
  276. package/dist/{chunk-PZJYDIJI.js → chunk-N3MCZYXP.js} +1 -1
  277. package/dist/{chunk-YDKATODA.js → chunk-N3ZDCARL.js} +3 -3
  278. package/dist/{chunk-B7MVYR7C.js → chunk-NBNAXWLN.js} +10 -6
  279. package/dist/{chunk-PLQ6CYRC.js → chunk-NNAJQJSC.js} +5 -2
  280. package/dist/{chunk-KFPGQ5RT.js → chunk-O2CID2IT.js} +11 -11
  281. package/dist/{chunk-GTS6MKPD.js → chunk-OR6R6OXI.js} +2 -2
  282. package/dist/{chunk-FBIGYEFN.js → chunk-OSM5E2YR.js} +6 -6
  283. package/dist/{chunk-QEHCINJG.js → chunk-PFKHMDTK.js} +6 -5
  284. package/dist/{chunk-ALRSHXXA.js → chunk-QEV4RIZR.js} +2 -1
  285. package/dist/{chunk-WDOI4U7K.js → chunk-QHDDNBEI.js} +10 -10
  286. package/dist/{chunk-XCKKECIR.js → chunk-QIZHAGI4.js} +4 -4
  287. package/dist/{chunk-H7OVE6OB.js → chunk-QJH5ZLJ7.js} +32 -18
  288. package/dist/{chunk-ANZANDQM.js → chunk-QSGSKHZL.js} +5 -5
  289. package/dist/{chunk-LBXIMJFU.js → chunk-QSQFJRFC.js} +5 -6
  290. package/dist/chunk-QVKVPYNA.js +41 -0
  291. package/dist/{chunk-5TMFFW3Y.js → chunk-QYMPXHK5.js} +4 -1
  292. package/dist/{chunk-EAUUUVUR.js → chunk-QZPBZONY.js} +8 -7
  293. package/dist/{chunk-L67VH7II.js → chunk-R74CPGM2.js} +2 -2
  294. package/dist/chunk-RDV5ETG2.js +105 -0
  295. package/dist/{chunk-FPOH7ETA.js → chunk-RJ6FURDA.js} +5 -5
  296. package/dist/{chunk-ZMCNI37U.js → chunk-RJWEBYP2.js} +11 -2
  297. package/dist/{chunk-DUGKLVQJ.js → chunk-RKCW27UM.js} +0 -1
  298. package/dist/{chunk-633N6IVU.js → chunk-S4Q2HPP5.js} +5 -2
  299. package/dist/chunk-SDBQOVMA.js +53 -0
  300. package/dist/{chunk-IVR3ZIXB.js → chunk-SL6HYI6T.js} +9 -3
  301. package/dist/{chunk-AMVX4DDT.js → chunk-STEGNOAK.js} +7 -7
  302. package/dist/{chunk-ORZVPZQP.js → chunk-T2GLXMC7.js} +2 -1
  303. package/dist/{chunk-FW45BTSS.js → chunk-TKXFGPCY.js} +13 -7
  304. package/dist/{chunk-WBRRSZW4.js → chunk-TLPJA7QP.js} +4 -1
  305. package/dist/{chunk-XUZH4Y52.js → chunk-TN3ATHN7.js} +23 -22
  306. package/dist/{chunk-PZA44CGX.js → chunk-TOGS33KA.js} +10 -7
  307. package/dist/{chunk-YF3XSH54.js → chunk-TQKGGJ4W.js} +9 -3
  308. package/dist/{chunk-OFWUA5BO.js → chunk-TSYFDGCR.js} +3 -3
  309. package/dist/{chunk-4CIRS3OI.js → chunk-UHNZ3I66.js} +2 -1
  310. package/dist/{chunk-EWSQCTIB.js → chunk-UHW53LWK.js} +0 -1
  311. package/dist/{chunk-ID5GN2VU.js → chunk-UNE53KA2.js} +4 -1
  312. package/dist/{chunk-4WCMPLE3.js → chunk-UQWPG5BH.js} +9 -5
  313. package/dist/{chunk-ALDX2G5E.js → chunk-V5SXW6U7.js} +15 -5
  314. package/dist/{chunk-FK2LKLRN.js → chunk-VDSYL3LA.js} +0 -1
  315. package/dist/{chunk-M362TW4G.js → chunk-VYFSYD3Z.js} +4 -1
  316. package/dist/{chunk-AMFNY7IA.js → chunk-W42RQZ2S.js} +7 -4
  317. package/dist/{chunk-HSDMCZMX.js → chunk-W5ZXNQUJ.js} +2 -2
  318. package/dist/{chunk-DUXOV6MO.js → chunk-WGHJKPVG.js} +1 -1
  319. package/dist/{chunk-Z5TG7ZGD.js → chunk-WQM3JDLU.js} +8 -20
  320. package/dist/{chunk-4GF7WTR3.js → chunk-WSN6SDBH.js} +1 -1
  321. package/dist/{chunk-2PQIPQGO.js → chunk-XDIWPIKO.js} +14 -10
  322. package/dist/{chunk-JE2MAZGR.js → chunk-XILRY6LB.js} +1 -1
  323. package/dist/{chunk-QJ7QZWXJ.js → chunk-XKJ3KMMO.js} +12 -7
  324. package/dist/{chunk-XGNTNUAT.js → chunk-XQQ2USYE.js} +2 -2
  325. package/dist/{chunk-N7XJO5Q4.js → chunk-XXOJGQF6.js} +0 -1
  326. package/dist/{chunk-XSNQN67K.js → chunk-YE6GLSZ4.js} +1 -1
  327. package/dist/{chunk-5OSKT7O3.js → chunk-YGRYE53G.js} +7 -7
  328. package/dist/{chunk-LQR5OD3Z.js → chunk-YSUGZLB5.js} +4 -1
  329. package/dist/{chunk-ZXHMJKJY.js → chunk-YTQSVOA7.js} +1 -1
  330. package/dist/{chunk-G3FPQ3XG.js → chunk-YV5WZJGS.js} +13 -9
  331. package/dist/{chunk-JGZHWQGV.js → chunk-YVRTO4XC.js} +4 -1
  332. package/dist/{chunk-GBOJUMMY.js → chunk-YXFUOERB.js} +6 -6
  333. package/dist/{chunk-RXOVKEYG.js → chunk-Z77R5OHW.js} +3 -3
  334. package/dist/{chunk-G7WTEBMX.js → chunk-ZGJUXBLD.js} +11 -7
  335. package/dist/{chunk-IF6CWIUB.js → chunk-ZIC4VJ2T.js} +1 -1
  336. package/dist/{chunk-X2VID7XY.js → chunk-ZIL4N5BT.js} +2 -2
  337. package/dist/{chunk-FXXR3FM3.js → chunk-ZLIFMMAH.js} +10 -7
  338. package/dist/{chunk-IBJA4ZM5.js → chunk-ZMP7XCON.js} +8 -2
  339. package/dist/citations.js +1 -1
  340. package/dist/combobox-aui-046.js +1 -1
  341. package/dist/combobox-aui-047.js +1 -1
  342. package/dist/combobox.js +1 -1
  343. package/dist/command-palette.js +1 -1
  344. package/dist/comments.js +2 -2
  345. package/dist/context-menu.js +1 -1
  346. package/dist/context-meter.js +1 -1
  347. package/dist/cookie-consent.js +2 -2
  348. package/dist/copy-button.js +1 -1
  349. package/dist/data-table.js +1 -1
  350. package/dist/date-picker-aui-050.js +1 -1
  351. package/dist/date-picker-aui-051.js +1 -1
  352. package/dist/date-picker.js +1 -1
  353. package/dist/dialog.js +1 -1
  354. package/dist/drawer.js +1 -1
  355. package/dist/dropdown-menu.js +2 -2
  356. package/dist/empty-state.js +2 -2
  357. package/dist/event-calendar.js +1 -1
  358. package/dist/field.js +1 -1
  359. package/dist/file-card.js +1 -1
  360. package/dist/file-manager.js +7 -7
  361. package/dist/file-upload.js +1 -1
  362. package/dist/footer-aui-027.js +1 -1
  363. package/dist/footer-aui-028.js +1 -1
  364. package/dist/footer.js +2 -2
  365. package/dist/image-compare.js +1 -1
  366. package/dist/inbox.js +2 -2
  367. package/dist/index.js +188 -154
  368. package/dist/inline-edit.js +1 -1
  369. package/dist/input-aui-029.js +1 -1
  370. package/dist/input-aui-030.js +1 -1
  371. package/dist/input-aui-031.js +1 -1
  372. package/dist/input-aui-032.js +1 -1
  373. package/dist/input-aui-033.js +1 -1
  374. package/dist/input.js +1 -1
  375. package/dist/invoice.js +2 -2
  376. package/dist/menubar.js +1 -1
  377. package/dist/meter.js +1 -1
  378. package/dist/model-picker.js +1 -1
  379. package/dist/motion-button.js +1 -1
  380. package/dist/navbar-aui-009.js +1 -1
  381. package/dist/navbar-aui-010.js +1 -1
  382. package/dist/navbar-aui-011.js +1 -1
  383. package/dist/navbar-aui-012.js +1 -1
  384. package/dist/navbar-aui-013.js +1 -1
  385. package/dist/navbar-aui-014.js +1 -1
  386. package/dist/navbar.js +2 -2
  387. package/dist/notification-center.js +1 -1
  388. package/dist/number-input.js +1 -1
  389. package/dist/onboarding.js +2 -2
  390. package/dist/otp-input-aui-041.js +1 -1
  391. package/dist/otp-input-aui-042.js +1 -1
  392. package/dist/pagination.js +1 -1
  393. package/dist/password-input-aui-040.js +1 -1
  394. package/dist/password-input.js +1 -1
  395. package/dist/payment-received.js +1 -1
  396. package/dist/phone-input.js +1 -1
  397. package/dist/price-alert.js +1 -1
  398. package/dist/price-chart.js +1 -1
  399. package/dist/pricing-aui-021.js +1 -1
  400. package/dist/pricing-aui-022.js +1 -1
  401. package/dist/pricing-aui-023.js +1 -1
  402. package/dist/pricing-aui-024.js +1 -1
  403. package/dist/pricing.js +2 -2
  404. package/dist/prompt-composer.js +1 -1
  405. package/dist/properties-panel.js +1 -1
  406. package/dist/radio-group-aui-055.js +1 -1
  407. package/dist/radio-group-aui-056.js +1 -1
  408. package/dist/radio-group.js +1 -1
  409. package/dist/rating.js +1 -1
  410. package/dist/segmented-control.js +1 -1
  411. package/dist/select-aui-043.js +1 -1
  412. package/dist/select-aui-044.js +1 -1
  413. package/dist/select-aui-045.js +1 -1
  414. package/dist/select.js +1 -1
  415. package/dist/settings-panel.js +2 -2
  416. package/dist/sidebar.js +1 -1
  417. package/dist/sign-in-aui-015.js +1 -1
  418. package/dist/sign-in-aui-016.js +1 -1
  419. package/dist/sign-in-aui-017.js +1 -1
  420. package/dist/sign-in-aui-018.js +1 -1
  421. package/dist/sign-in-aui-019.js +1 -1
  422. package/dist/sign-in-aui-020.js +1 -1
  423. package/dist/sign-in.js +2 -2
  424. package/dist/slider-aui-063.js +1 -1
  425. package/dist/split-bill.js +1 -1
  426. package/dist/stat-card.js +1 -1
  427. package/dist/stepper.js +1 -1
  428. package/dist/switch-aui-058.js +1 -1
  429. package/dist/switch-aui-059.js +1 -1
  430. package/dist/switch-aui-060.js +1 -1
  431. package/dist/tabs.js +1 -1
  432. package/dist/tag-input-aui-048.js +1 -1
  433. package/dist/tag-input-aui-049.js +1 -1
  434. package/dist/tag-input.js +1 -1
  435. package/dist/team-members.js +3 -3
  436. package/dist/testimonials.js +1 -1
  437. package/dist/textarea-aui-003.js +1 -1
  438. package/dist/textarea-aui-005.js +1 -1
  439. package/dist/textarea-aui-007.js +1 -1
  440. package/dist/textarea-aui-008.js +1 -1
  441. package/dist/textarea-aui-036.js +1 -1
  442. package/dist/textarea-aui-037.js +1 -1
  443. package/dist/textarea-aui-038.js +1 -1
  444. package/dist/thinking.js +1 -1
  445. package/dist/toast.js +1 -1
  446. package/dist/token-swap.js +1 -1
  447. package/dist/tool-approval.js +1 -1
  448. package/dist/tool-dock.js +1 -1
  449. package/dist/trace-waterfall.js +1 -1
  450. package/dist/trade-ticket.js +1 -1
  451. package/dist/tree-view.js +1 -1
  452. package/dist/types/components/kit/accordion.d.ts +4 -3
  453. package/dist/types/components/kit/base/navbar.d.ts +2 -0
  454. package/dist/types/components/kit/base/pricing.d.ts +4 -1
  455. package/dist/types/components/kit/navbar.d.ts +2 -0
  456. package/dist/types/components/kit/pricing.d.ts +4 -1
  457. package/dist/types/components/kit/variants/button-aui-064.d.ts +21 -0
  458. package/dist/types/components/kit/variants/button-aui-065.d.ts +26 -0
  459. package/dist/types/components/kit/variants/button-aui-066.d.ts +19 -0
  460. package/dist/types/components/kit/variants/button-aui-067.d.ts +23 -0
  461. package/dist/types/components/kit/variants/button-aui-068.d.ts +28 -0
  462. package/dist/types/packages/asta-ui/src/base/accordion.d.ts +2 -2
  463. package/dist/types/packages/asta-ui/src/base/button-aui-064.d.ts +2 -0
  464. package/dist/types/packages/asta-ui/src/base/button-aui-065.d.ts +2 -0
  465. package/dist/types/packages/asta-ui/src/base/button-aui-066.d.ts +2 -0
  466. package/dist/types/packages/asta-ui/src/base/button-aui-067.d.ts +2 -0
  467. package/dist/types/packages/asta-ui/src/base/button-aui-068.d.ts +2 -0
  468. package/dist/types/packages/asta-ui/src/base.d.ts +12 -2
  469. package/dist/types/packages/asta-ui/src/button-aui-064.d.ts +2 -0
  470. package/dist/types/packages/asta-ui/src/button-aui-065.d.ts +2 -0
  471. package/dist/types/packages/asta-ui/src/button-aui-066.d.ts +2 -0
  472. package/dist/types/packages/asta-ui/src/button-aui-067.d.ts +2 -0
  473. package/dist/types/packages/asta-ui/src/button-aui-068.d.ts +2 -0
  474. package/dist/types/packages/asta-ui/src/index.d.ts +10 -0
  475. package/dist/watchlist.js +1 -1
  476. package/dist/workspace-switcher.js +1 -1
  477. package/package.json +1 -1
  478. package/dist/chunk-B7V4ZTKI.js +0 -53
  479. package/dist/chunk-XTP6ITUJ.js +0 -55
  480. package/dist/types/components/kit/base/accordion.d.ts +0 -19
package/dist/billing.js CHANGED
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  Billing,
4
4
  billing_default
5
- } from "./chunk-5ZTFP7P6.js";
6
- import "./chunk-LS6CFF6X.js";
7
- import "./chunk-5ZQ6PMJT.js";
5
+ } from "./chunk-LBUUCJQE.js";
6
+ import "./chunk-GX4ZHNG7.js";
7
+ import "./chunk-22ILG5VV.js";
8
8
  export {
9
9
  Billing,
10
10
  billing_default as default
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  Breadcrumb,
4
4
  breadcrumb_default
5
- } from "./chunk-LBXIMJFU.js";
5
+ } from "./chunk-QSQFJRFC.js";
6
6
  export {
7
7
  Breadcrumb,
8
8
  breadcrumb_default as default
@@ -0,0 +1,2 @@
1
+ export * from "./types/packages/asta-ui/src/button-aui-064";
2
+ export { default } from "./types/packages/asta-ui/src/button-aui-064";
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import {
3
+ RaisedButton,
4
+ button_aui_064_default,
5
+ raisedClass
6
+ } from "./chunk-QVKVPYNA.js";
7
+ export {
8
+ RaisedButton,
9
+ button_aui_064_default as default,
10
+ raisedClass
11
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types/packages/asta-ui/src/button-aui-065";
2
+ export { default } from "./types/packages/asta-ui/src/button-aui-065";
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ SplitButton,
4
+ button_aui_065_default
5
+ } from "./chunk-7DQJUZFY.js";
6
+ export {
7
+ SplitButton,
8
+ button_aui_065_default as default
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types/packages/asta-ui/src/button-aui-066";
2
+ export { default } from "./types/packages/asta-ui/src/button-aui-066";
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import {
3
+ ButtonGroup,
4
+ GroupButton,
5
+ button_aui_066_default
6
+ } from "./chunk-SDBQOVMA.js";
7
+ export {
8
+ ButtonGroup,
9
+ GroupButton,
10
+ button_aui_066_default as default
11
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types/packages/asta-ui/src/button-aui-067";
2
+ export { default } from "./types/packages/asta-ui/src/button-aui-067";
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ StatusButton,
4
+ button_aui_067_default
5
+ } from "./chunk-C5NGITT4.js";
6
+ export {
7
+ StatusButton,
8
+ button_aui_067_default as default
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./types/packages/asta-ui/src/button-aui-068";
2
+ export { default } from "./types/packages/asta-ui/src/button-aui-068";
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ IconToolbar,
4
+ button_aui_068_default
5
+ } from "./chunk-RDV5ETG2.js";
6
+ export {
7
+ IconToolbar,
8
+ button_aui_068_default as default
9
+ };
package/dist/button.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  Spinner,
5
5
  buttonClass,
6
6
  button_default
7
- } from "./chunk-5ZQ6PMJT.js";
7
+ } from "./chunk-22ILG5VV.js";
8
8
  export {
9
9
  Button,
10
10
  Spinner,
package/dist/carousel.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  Carousel,
4
4
  carousel_default
5
- } from "./chunk-4GF7WTR3.js";
5
+ } from "./chunk-WSN6SDBH.js";
6
6
  export {
7
7
  Carousel,
8
8
  carousel_default as default
@@ -3,7 +3,7 @@ import {
3
3
  Chart,
4
4
  ChartCard,
5
5
  chart_card_default
6
- } from "./chunk-X2VID7XY.js";
6
+ } from "./chunk-ZIL4N5BT.js";
7
7
  export {
8
8
  Chart,
9
9
  ChartCard,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CheckboxCard,
4
4
  checkbox_aui_052_default
5
- } from "./chunk-5OSKT7O3.js";
5
+ } from "./chunk-YGRYE53G.js";
6
6
  export {
7
7
  CheckboxCard,
8
8
  checkbox_aui_052_default as default
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  TaskCheckbox,
4
4
  checkbox_aui_053_default
5
- } from "./chunk-ZK4DK2SS.js";
5
+ } from "./chunk-E7Q7EP4K.js";
6
6
  export {
7
7
  TaskCheckbox,
8
8
  checkbox_aui_053_default as default
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  TreeCheckbox,
4
4
  checkbox_aui_054_default
5
- } from "./chunk-CRGCVJLS.js";
5
+ } from "./chunk-4IPMVLH7.js";
6
6
  export {
7
7
  TreeCheckbox,
8
8
  checkbox_aui_054_default as default
package/dist/checkbox.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  Checkbox,
4
4
  checkbox_default
5
- } from "./chunk-GTS6MKPD.js";
5
+ } from "./chunk-OR6R6OXI.js";
6
6
  export {
7
7
  Checkbox,
8
8
  checkbox_default as default
package/dist/checkout.js CHANGED
@@ -2,10 +2,9 @@
2
2
  import {
3
3
  Checkout,
4
4
  checkout_default
5
- } from "./chunk-H7OVE6OB.js";
6
- import "./chunk-AMVX4DDT.js";
7
- import "./chunk-5ZQ6PMJT.js";
8
- import "./chunk-G3FPQ3XG.js";
5
+ } from "./chunk-QJH5ZLJ7.js";
6
+ import "./chunk-22ILG5VV.js";
7
+ import "./chunk-YV5WZJGS.js";
9
8
  export {
10
9
  Checkout,
11
10
  checkout_default as default
@@ -5,12 +5,12 @@ import { Slot } from "radix-ui";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var BASE = "group/btn relative inline-flex shrink-0 select-none items-center [&_svg]:shrink-0 justify-center whitespace-nowrap font-medium tracking-[-0.01em] outline-none transition-[background-color,color,box-shadow,transform,opacity] duration-200 ease-out active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper disabled:pointer-events-none disabled:opacity-45 aria-disabled:pointer-events-none aria-disabled:opacity-45";
8
- var LIFT = "shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_1px_2px_rgb(0_0_0/0.16),0_6px_14px_-8px_rgb(0_0_0/0.45)]";
8
+ var LIFT = "bg-[image:linear-gradient(rgb(255_255_255/0.12),transparent)] shadow-[inset_0_1px_0_rgb(255_255_255/0.2),inset_0_0_0_1px_rgb(0_0_0/0.22),0_1px_2px_color-mix(in_srgb,var(--ink)_16%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_26%,transparent)]";
9
9
  var VARIANT = {
10
10
  solid: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))]`,
11
11
  accent: `bg-brand text-on-brand ${LIFT} hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)]`,
12
12
  danger: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))]`,
13
- outline: "bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent),0_1px_2px_rgb(0_0_0/0.05)] hover:bg-paper-2 hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_24%,transparent),0_1px_2px_rgb(0_0_0/0.05)]",
13
+ outline: "bg-paper text-ink shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_11%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_9%,transparent)] hover:bg-[color-mix(in_srgb,var(--ink)_3%,var(--paper))] hover:shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_8%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_12%,transparent)]",
14
14
  soft: "bg-paper-2 text-ink hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))]",
15
15
  ghost: "text-ink-2 hover:bg-paper-2 hover:text-ink",
16
16
  // Underline grows from the left on hover.
@@ -168,7 +168,7 @@ function PhoneInput({
168
168
  "+",
169
169
  country.dial
170
170
  ] }),
171
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-3 w-3 text-mute transition-transform duration-200", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
171
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3 w-3 text-mute transition-transform duration-200", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
172
172
  ]
173
173
  }
174
174
  ),
@@ -192,7 +192,7 @@ function PhoneInput({
192
192
  className: "h-full min-w-0 flex-1 bg-transparent px-3 text-[16px] sm:text-[14px] tabular-nums text-ink outline-none placeholder:text-mute"
193
193
  }
194
194
  ),
195
- /* @__PURE__ */ jsx("span", { className: "flex w-9 shrink-0 justify-center text-brand", children: valid && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "asta-phone-a h-4 w-4 animate-[asta-phone-ok_.35s_cubic-bezier(.16,1,.3,1)_both]", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", role: "img", "aria-label": "Complete number", children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" }) }) })
195
+ /* @__PURE__ */ jsx("span", { className: "flex w-9 shrink-0 justify-center text-brand", children: valid && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "asta-phone-a h-4 w-4 animate-[asta-phone-ok_.35s_cubic-bezier(.16,1,.3,1)_both]", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", role: "img", "aria-label": "Complete number", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }) })
196
196
  ]
197
197
  }
198
198
  ),
@@ -241,7 +241,7 @@ function PhoneInput({
241
241
  "+",
242
242
  c.dial
243
243
  ] }),
244
- c.code === country.code && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" }) })
244
+ c.code === country.code && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) })
245
245
  ]
246
246
  },
247
247
  c.code
@@ -250,9 +250,10 @@ function PhoneInput({
250
250
  ] })
251
251
  ] }),
252
252
  message ? /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "flex items-start gap-1.5 text-[12px] text-ink-2", children: [
253
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
254
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6" }),
255
- /* @__PURE__ */ jsx("path", { d: "M8 5v3.5M8 11h0" })
253
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
254
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
255
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
256
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
256
257
  ] }),
257
258
  message
258
259
  ] }) : hint && /* @__PURE__ */ jsx("p", { id: `${id}-hint`, className: "text-[12px] text-mute", children: hint }),
@@ -19,10 +19,10 @@ function Mark({ index, state }) {
19
19
  ),
20
20
  children: [
21
21
  /* @__PURE__ */ jsx("span", { className: cx("transition-[opacity,transform] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none", done ? "scale-50 opacity-0" : "scale-100 opacity-100"), children: index + 1 }),
22
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "absolute h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
22
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "absolute h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
23
23
  "path",
24
24
  {
25
- d: "m3.5 8.5 3 3 6-7",
25
+ d: "m5 12.5 4.5 4.5L19 7.5",
26
26
  pathLength: 1,
27
27
  strokeDasharray: 1,
28
28
  strokeDashoffset: done ? 0 : 1,
@@ -0,0 +1,85 @@
1
+ "use client";
2
+
3
+ // components/kit/accordion.tsx
4
+ import { useId, useState } from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ var cx = (...c) => c.filter(Boolean).join(" ");
7
+ function Accordion({ items, type = "single", defaultOpen = [], className }) {
8
+ const [open, setOpen] = useState(() => type === "single" ? defaultOpen.slice(0, 1) : defaultOpen);
9
+ const uid = useId();
10
+ const toggle = (id) => setOpen((o) => o.includes(id) ? o.filter((x) => x !== id) : type === "single" ? [id] : [...o, id]);
11
+ const move = (e) => {
12
+ const step = e.key === "ArrowDown" ? 1 : e.key === "ArrowUp" ? -1 : 0;
13
+ if (!step && e.key !== "Home" && e.key !== "End") return;
14
+ const root = e.currentTarget.closest("[data-kit-accordion]");
15
+ if (!root) return;
16
+ const all = [...root.querySelectorAll("[data-kit-acc-trigger]")].filter((b) => b.closest("[data-kit-accordion]") === root);
17
+ const i = all.indexOf(e.currentTarget);
18
+ const n = e.key === "Home" ? 0 : e.key === "End" ? all.length - 1 : (i + step + all.length) % all.length;
19
+ e.preventDefault();
20
+ all[n]?.focus();
21
+ };
22
+ return /* @__PURE__ */ jsx("div", { "data-kit-accordion": true, className: cx("flex w-full flex-col gap-1.5", className), children: items.map((it) => {
23
+ const on = open.includes(it.id);
24
+ const t = `${uid}-${it.id}-t`;
25
+ const p = `${uid}-${it.id}-p`;
26
+ return /* @__PURE__ */ jsxs(
27
+ "div",
28
+ {
29
+ "data-state": on ? "open" : "closed",
30
+ className: cx(
31
+ "group/acc rounded-xl bg-paper-2 transition-[background-color,box-shadow] duration-300",
32
+ "data-[state=open]:bg-paper data-[state=open]:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_8px_24px_-14px_rgb(0_0_0/0.25)]"
33
+ ),
34
+ children: [
35
+ /* @__PURE__ */ jsx("h3", { children: /* @__PURE__ */ jsxs(
36
+ "button",
37
+ {
38
+ id: t,
39
+ type: "button",
40
+ "data-kit-acc-trigger": true,
41
+ "aria-expanded": on,
42
+ "aria-controls": p,
43
+ onClick: () => toggle(it.id),
44
+ onKeyDown: move,
45
+ className: "group flex w-full items-center justify-between gap-4 rounded-xl px-4 py-3.5 text-left text-[14.5px] font-medium tracking-[-0.01em] text-ink outline-none focus-visible:ring-2 focus-visible:ring-brand/50",
46
+ children: [
47
+ it.title,
48
+ /* @__PURE__ */ jsxs(
49
+ "span",
50
+ {
51
+ "aria-hidden": true,
52
+ className: "relative flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-paper text-ink-2 transition-colors duration-300 group-hover:text-ink group-data-[state=open]/acc:bg-ink group-data-[state=open]/acc:text-paper",
53
+ children: [
54
+ /* @__PURE__ */ jsx("span", { className: "absolute h-[1.5px] w-2.5 rounded-full bg-current" }),
55
+ /* @__PURE__ */ jsx("span", { className: "absolute h-2.5 w-[1.5px] rounded-full bg-current transition-transform duration-500 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/acc:rotate-90 group-data-[state=open]/acc:scale-y-0 motion-reduce:transition-none" })
56
+ ]
57
+ }
58
+ )
59
+ ]
60
+ }
61
+ ) }),
62
+ /* @__PURE__ */ jsx(
63
+ "div",
64
+ {
65
+ id: p,
66
+ role: "region",
67
+ "aria-labelledby": t,
68
+ inert: !on,
69
+ className: "grid transition-[grid-template-rows] duration-[450ms] ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none",
70
+ style: { gridTemplateRows: on ? "1fr" : "0fr" },
71
+ children: /* @__PURE__ */ jsx("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: cx("px-4 pb-4 text-[14px] leading-relaxed text-ink-2 transition-opacity duration-300", on ? "opacity-100" : "opacity-0"), children: it.content }) })
72
+ }
73
+ )
74
+ ]
75
+ },
76
+ it.id
77
+ );
78
+ }) });
79
+ }
80
+ var accordion_default = Accordion;
81
+
82
+ export {
83
+ Accordion,
84
+ accordion_default
85
+ };
@@ -24,10 +24,10 @@ function Check({ state, onToggle, label }) {
24
24
  on || mixed ? "bg-brand shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_1px_2px_rgb(0_0_0/0.2)]" : "bg-paper shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_22%,transparent)] hover:shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_40%,transparent)]"
25
25
  ),
26
26
  children: [
27
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "col-start-1 row-start-1 h-3 w-3 text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
27
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "col-start-1 row-start-1 h-3 w-3 text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
28
28
  "path",
29
29
  {
30
- d: "M3.5 8.5l3 3 6-7",
30
+ d: "m5 12.5 4.5 4.5L19 7.5",
31
31
  pathLength: 1,
32
32
  strokeDasharray: "1",
33
33
  className: "transition-[stroke-dashoffset] ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none",
@@ -40,7 +40,7 @@ function Check({ state, onToggle, label }) {
40
40
  );
41
41
  }
42
42
  var ALIGN = { left: "text-left justify-start", center: "text-center justify-center", right: "text-right justify-end" };
43
- var Chevron = ({ dir }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: dir === "left" ? "M10 3.5 5.5 8l4.5 4.5" : "M6 3.5 10.5 8 6 12.5" }) });
43
+ var Chevron = ({ dir }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: dir === "left" ? "M14.5 6l-6 6 6 6" : "M9.5 6l6 6-6 6" }) });
44
44
  function DataTable({
45
45
  columns,
46
46
  data,
@@ -109,9 +109,9 @@ function DataTable({
109
109
  /* @__PURE__ */ jsx("style", { href: "asta-data-table", precedence: "asta", children: KEYFRAMES }),
110
110
  (searchable || actions) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
111
111
  searchable && /* @__PURE__ */ jsxs("label", { className: "flex h-9 min-w-0 flex-1 items-center gap-2 rounded-lg bg-paper px-3 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] transition-shadow duration-200 focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)] sm:max-w-[280px]", children: [
112
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", "aria-hidden": true, children: [
113
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
114
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3" })
112
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
113
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
114
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
115
115
  ] }),
116
116
  /* @__PURE__ */ jsx(
117
117
  "input",
@@ -157,10 +157,10 @@ function DataTable({
157
157
  ),
158
158
  children: [
159
159
  c.header,
160
- /* @__PURE__ */ jsx(
160
+ /* @__PURE__ */ jsxs(
161
161
  "svg",
162
162
  {
163
- viewBox: "0 0 16 16",
163
+ viewBox: "0 0 24 24",
164
164
  className: cx(
165
165
  "h-3 w-3 transition-[transform,opacity] duration-300 ease-[cubic-bezier(.16,1,.3,1)]",
166
166
  active ? "opacity-100" : "opacity-0 group-hover/sort:opacity-40 group-focus-visible/sort:opacity-40",
@@ -168,11 +168,14 @@ function DataTable({
168
168
  ),
169
169
  fill: "none",
170
170
  stroke: "currentColor",
171
- strokeWidth: "1.8",
171
+ strokeWidth: "2.7",
172
172
  strokeLinecap: "round",
173
173
  strokeLinejoin: "round",
174
174
  "aria-hidden": true,
175
- children: /* @__PURE__ */ jsx("path", { d: "M8 12.5v-9M4.5 7 8 3.5 11.5 7" })
175
+ children: [
176
+ /* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
177
+ /* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
178
+ ]
176
179
  }
177
180
  )
178
181
  ]
@@ -184,9 +187,10 @@ function DataTable({
184
187
  })
185
188
  ] }) }),
186
189
  /* @__PURE__ */ jsx("tbody", { children: view.length === 0 ? /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: cols, className: "px-4 py-14 text-center", children: q ? /* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-[260px] flex-col items-center gap-1.5", children: [
187
- /* @__PURE__ */ jsx("span", { className: "grid h-10 w-10 place-items-center rounded-[10px] bg-paper-2 text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
188
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
189
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3M5.5 7h3" })
190
+ /* @__PURE__ */ jsx("span", { className: "grid h-10 w-10 place-items-center rounded-[10px] bg-paper-2 text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
191
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
192
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5" }),
193
+ /* @__PURE__ */ jsx("path", { d: "M8 10.5h5" })
190
194
  ] }) }),
191
195
  /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-[14px] font-medium text-ink", children: "No matches" }),
192
196
  /* @__PURE__ */ jsxs("p", { className: "text-[13px] text-mute", children: [
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-7IOMROVG.js";
5
5
  import {
6
6
  Button
7
- } from "./chunk-HSDMCZMX.js";
7
+ } from "./chunk-W5ZXNQUJ.js";
8
8
 
9
9
  // components/kit/base/comments.tsx
10
10
  import { useId, useRef, useState } from "react";
@@ -81,15 +81,16 @@ function Like({ count, liked, pop, onToggle }) {
81
81
  /* @__PURE__ */ jsx(
82
82
  "svg",
83
83
  {
84
- viewBox: "0 0 16 16",
84
+ viewBox: "0 0 24 24",
85
85
  className: "h-3.5 w-3.5",
86
86
  fill: liked ? "currentColor" : "none",
87
87
  stroke: "currentColor",
88
- strokeWidth: "1.5",
88
+ strokeWidth: "2.25",
89
+ strokeLinecap: "round",
89
90
  strokeLinejoin: "round",
90
91
  "aria-hidden": true,
91
92
  style: pop && liked ? { animation: `kit-cm-pop .45s ${CURVE}` } : void 0,
92
- children: /* @__PURE__ */ jsx("path", { d: "M8 13.5S2.5 10.3 2.5 6.4A2.9 2.9 0 0 1 8 5a2.9 2.9 0 0 1 5.5 1.4c0 3.9-5.5 7.1-5.5 7.1Z" })
93
+ children: /* @__PURE__ */ jsx("path", { d: "M12 19.5s-7.5-4.4-7.5-10A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 7.5 2.5c0 5.6-7.5 10-7.5 10Z" })
93
94
  },
94
95
  liked ? "on" : "off"
95
96
  ),
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "./chunk-HSDMCZMX.js";
4
+ } from "./chunk-W5ZXNQUJ.js";
5
5
 
6
6
  // components/kit/base/invoice.tsx
7
- import { useEffect, useRef, useState } from "react";
7
+ import { useEffect, useMemo, useRef, useState } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  var cx = (...c) => c.filter(Boolean).join(" ");
10
10
  var KEYFRAMES = `@keyframes asta-invoice-in { from { opacity: 0; transform: translateY(4px) } }
@@ -26,7 +26,10 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
26
26
  useEffect(() => {
27
27
  if (error) errorEl.current?.focus();
28
28
  }, [error]);
29
- const money = (n) => new Intl.NumberFormat(locale, { style: "currency", currency }).format(n);
29
+ const money = useMemo(() => {
30
+ const f = new Intl.NumberFormat(locale, { style: "currency", currency });
31
+ return (n) => f.format(n);
32
+ }, [locale, currency]);
30
33
  const subtotal = items.reduce((a, it) => a + it.quantity * it.unitPrice, 0);
31
34
  const taxed = Math.max(0, subtotal - discount);
32
35
  const tax = Math.round(taxed * taxRate * 100) / 100;
@@ -62,7 +65,10 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
62
65
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
63
66
  /* @__PURE__ */ jsx("h2", { className: "text-[20px] font-medium tracking-[-0.03em]", children: "Invoice" }),
64
67
  /* @__PURE__ */ jsxs("span", { className: cx("asta-invoice-a inline-flex h-6 animate-[asta-invoice-pop_.45s_cubic-bezier(.16,1,.3,1)_both] items-center gap-1 rounded-md px-2 text-[11.5px] font-medium", s.cls), children: [
65
- paid ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7", pathLength: 1, strokeDasharray: 1, className: "asta-invoice-a animate-[asta-invoice-draw_.5s_cubic-bezier(.16,1,.3,1)_.15s_both]" }) }) : state === "overdue" ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M8 4.5v4M8 11.2h.01" }) }) : null,
68
+ paid ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: 1, className: "asta-invoice-a animate-[asta-invoice-draw_.5s_cubic-bezier(.16,1,.3,1)_.15s_both]" }) }) : state === "overdue" ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", "aria-hidden": true, children: [
69
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
70
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
71
+ ] }) : null,
66
72
  s.label
67
73
  ] }, state)
68
74
  ] }),
@@ -161,7 +167,11 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
161
167
  ] })
162
168
  ] }),
163
169
  error && !paid && /* @__PURE__ */ jsxs("p", { ref: errorEl, role: "alert", tabIndex: -1, className: "-mt-3 flex items-start gap-1.5 text-[12.5px] font-medium text-ink outline-none @min-[560px]:justify-end", children: [
164
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M8 2.5 14 13H2zM8 6.5v3M8 11.2h.01" }) }),
170
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
171
+ /* @__PURE__ */ jsx("path", { d: "M10.3 4.6 3 17.5A2 2 0 0 0 4.7 20.5h14.6a2 2 0 0 0 1.7-3L13.7 4.6a2 2 0 0 0-3.4 0Z" }),
172
+ /* @__PURE__ */ jsx("path", { d: "M12 9.5v4" }),
173
+ /* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
174
+ ] }),
165
175
  error
166
176
  ] }),
167
177
  /* @__PURE__ */ jsx("p", { className: "sr-only", "aria-live": "polite", children: paid && paidOn ? `Invoice ${number} paid on ${paidOn}.` : "" })
@@ -98,9 +98,10 @@ function FloatingInput({
98
98
  className: cx("mt-1.5 flex items-center gap-1.5 pl-1 text-[12.5px] leading-snug", error ? "text-ink" : "text-mute"),
99
99
  style: { animation: "aui029-in .3s cubic-bezier(.16,1,.3,1) both" },
100
100
  children: [
101
- error && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
102
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
103
- /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
101
+ error && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
102
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
103
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
104
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
104
105
  ] }),
105
106
  msg
106
107
  ]
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3OCWR4L3.js";
5
5
  import {
6
6
  Button
7
- } from "./chunk-5ZQ6PMJT.js";
7
+ } from "./chunk-22ILG5VV.js";
8
8
 
9
9
  // components/kit/inbox.tsx
10
10
  import { useEffect, useLayoutEffect, useRef, useState } from "react";
@@ -15,10 +15,10 @@ var KEYFRAMES = `@keyframes asta-inbox-in { from { opacity: 0; transform: transl
15
15
  @keyframes asta-inbox-bar { from { opacity: 0; transform: translateY(100%) } }
16
16
  @keyframes asta-inbox-star { 0% { transform: scale(1) } 40% { transform: scale(1.35) rotate(-12deg) } 100% { transform: scale(1) } }
17
17
  @media (prefers-reduced-motion: reduce) { .asta-inbox-a { animation: none !important; transition: none !important } }`;
18
- var Icon = ({ d, className = "h-4 w-4", fill }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className, fill: fill ? "currentColor" : "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
19
- var STAR = "m8 2.2 1.75 3.55 3.9.57-2.82 2.75.67 3.9L8 11.12l-3.5 1.85.67-3.9L2.35 6.32l3.9-.57z";
20
- var ARCHIVE = "M2.5 3.5h11v3h-11zM3.5 6.5v6h9v-6M6.5 9h3";
21
- var MAIL = "M2.5 4h11v8h-11zM2.5 4.5 8 9l5.5-4.5";
18
+ var Icon = ({ d, className = "h-4 w-4", fill }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, fill: fill ? "currentColor" : "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
19
+ var STAR = "M12 3.8l2.5 5.1 5.6.8-4 4 .9 5.6-5-2.7-5 2.7.9-5.6-4-4 5.6-.8Z";
20
+ var ARCHIVE = "M4 4.5h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-16a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1ZM5 8.5v10A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5v-10M10 12h4";
21
+ var MAIL = "M5.5 5.5h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2ZM4 7l8 6 8-6";
22
22
  function Inbox({ messages, onArchive, onReply, height = 560, className }) {
23
23
  const [list, setList] = useState(messages);
24
24
  const [sel, setSel] = useState(messages[0]?.id ?? null);
@@ -147,7 +147,7 @@ function Inbox({ messages, onArchive, onReply, height = 560, className }) {
147
147
  ] })
148
148
  ] }),
149
149
  /* @__PURE__ */ jsxs("label", { className: "flex h-9 items-center gap-2 rounded-lg bg-paper-2 px-2.5 text-mute focus-within:shadow-[inset_0_0_0_1px_var(--brand)]", children: [
150
- /* @__PURE__ */ jsx(Icon, { d: "M7 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm3.6-1.4L14 14", className: "h-3.5 w-3.5 shrink-0" }),
150
+ /* @__PURE__ */ jsx(Icon, { d: "M4.5 10.5a6 6 0 1 0 12 0a6 6 0 1 0-12 0M15 15l5 5", className: "h-3.5 w-3.5 shrink-0" }),
151
151
  /* @__PURE__ */ jsx(
152
152
  "input",
153
153
  {
@@ -263,7 +263,7 @@ function Inbox({ messages, onArchive, onReply, height = 560, className }) {
263
263
  style: { transitionTimingFunction: EASE },
264
264
  children: open ? /* @__PURE__ */ jsxs("div", { className: "asta-inbox-a flex min-h-0 flex-1 animate-[asta-inbox-in_.35s_cubic-bezier(.16,1,.3,1)_both] flex-col", children: [
265
265
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 px-3 py-2.5", children: [
266
- /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setView("list"), "aria-label": "Back to inbox", className: cx(ghost, "@min-[640px]:hidden"), children: /* @__PURE__ */ jsx(Icon, { d: "M10 3.5 5.5 8l4.5 4.5" }) }),
266
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setView("list"), "aria-label": "Back to inbox", className: cx(ghost, "@min-[640px]:hidden"), children: /* @__PURE__ */ jsx(Icon, { d: "M14.5 6l-6 6 6 6" }) }),
267
267
  /* @__PURE__ */ jsxs("div", { className: "ml-auto flex items-center gap-0.5", children: [
268
268
  /* @__PURE__ */ jsx("button", { type: "button", onClick: () => archive(open.id), "aria-label": "Archive (e)", title: "Archive \xB7 e", className: ghost, children: /* @__PURE__ */ jsx(Icon, { d: ARCHIVE }) }),
269
269
  /* @__PURE__ */ jsx("button", { type: "button", onClick: () => patch(open.id, { unread: !open.unread }), "aria-label": open.unread ? "Mark as read (u)" : "Mark as unread (u)", title: "Mark unread \xB7 u", className: ghost, children: /* @__PURE__ */ jsx(Icon, { d: MAIL }) }),