asta-ui 0.9.8 → 0.9.9

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 (471) 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 +16 -5
  5. package/css/runtime/overlays.js +17 -0
  6. package/css/src/overlays.css +16 -5
  7. package/dist/accordion.js +1 -1
  8. package/dist/agent-plan.js +1 -1
  9. package/dist/ai-chat.js +1 -1
  10. package/dist/alert.js +1 -1
  11. package/dist/announcement-bar.js +1 -1
  12. package/dist/api-keys.js +2 -2
  13. package/dist/badge.js +1 -1
  14. package/dist/base/accordion.js +1 -1
  15. package/dist/base/agent-plan.js +1 -1
  16. package/dist/base/ai-chat.js +1 -1
  17. package/dist/base/alert.js +1 -1
  18. package/dist/base/announcement-bar.js +1 -1
  19. package/dist/base/api-keys.js +2 -2
  20. package/dist/base/badge.js +1 -1
  21. package/dist/base/billing.js +2 -2
  22. package/dist/base/breadcrumb.js +1 -1
  23. package/dist/base/button-aui-064.d.ts +2 -0
  24. package/dist/base/button-aui-064.js +11 -0
  25. package/dist/base/button-aui-065.d.ts +2 -0
  26. package/dist/base/button-aui-065.js +9 -0
  27. package/dist/base/button-aui-066.d.ts +2 -0
  28. package/dist/base/button-aui-066.js +11 -0
  29. package/dist/base/button-aui-067.d.ts +2 -0
  30. package/dist/base/button-aui-067.js +9 -0
  31. package/dist/base/button-aui-068.d.ts +2 -0
  32. package/dist/base/button-aui-068.js +9 -0
  33. package/dist/base/carousel.js +1 -1
  34. package/dist/base/chart-card.js +1 -1
  35. package/dist/base/checkbox-aui-052.js +1 -1
  36. package/dist/base/checkbox-aui-053.js +1 -1
  37. package/dist/base/checkbox-aui-054.js +1 -1
  38. package/dist/base/checkbox.js +1 -1
  39. package/dist/base/checkout.js +2 -3
  40. package/dist/base/citations.js +1 -1
  41. package/dist/base/combobox-aui-046.js +1 -1
  42. package/dist/base/combobox-aui-047.js +1 -1
  43. package/dist/base/combobox.js +1 -1
  44. package/dist/base/command-palette.js +1 -1
  45. package/dist/base/comments.js +1 -1
  46. package/dist/base/context-menu.js +1 -1
  47. package/dist/base/context-meter.js +1 -1
  48. package/dist/base/cookie-consent.js +1 -1
  49. package/dist/base/copy-button.js +1 -1
  50. package/dist/base/data-table.js +1 -1
  51. package/dist/base/date-picker-aui-050.js +1 -1
  52. package/dist/base/date-picker-aui-051.js +1 -1
  53. package/dist/base/date-picker.js +1 -1
  54. package/dist/base/dialog.js +1 -1
  55. package/dist/base/drawer.js +1 -1
  56. package/dist/base/dropdown-menu.js +1 -1
  57. package/dist/base/event-calendar.js +1 -1
  58. package/dist/base/field.js +1 -1
  59. package/dist/base/file-card.js +1 -1
  60. package/dist/base/file-manager.js +6 -6
  61. package/dist/base/file-upload.js +1 -1
  62. package/dist/base/footer-aui-027.js +1 -1
  63. package/dist/base/footer-aui-028.js +1 -1
  64. package/dist/base/footer.js +1 -1
  65. package/dist/base/image-compare.js +1 -1
  66. package/dist/base/inbox.js +1 -1
  67. package/dist/base/inline-edit.js +1 -1
  68. package/dist/base/input-aui-029.js +1 -1
  69. package/dist/base/input-aui-030.js +1 -1
  70. package/dist/base/input-aui-031.js +1 -1
  71. package/dist/base/input-aui-032.js +1 -1
  72. package/dist/base/input-aui-033.js +1 -1
  73. package/dist/base/input.js +1 -1
  74. package/dist/base/invoice.js +1 -1
  75. package/dist/base/menubar.js +1 -1
  76. package/dist/base/meter.js +1 -1
  77. package/dist/base/model-picker.js +1 -1
  78. package/dist/base/motion-button.js +1 -1
  79. package/dist/base/navbar-aui-009.js +1 -1
  80. package/dist/base/navbar-aui-010.js +1 -1
  81. package/dist/base/navbar-aui-011.js +1 -1
  82. package/dist/base/navbar-aui-012.js +1 -1
  83. package/dist/base/navbar-aui-013.js +1 -1
  84. package/dist/base/navbar-aui-014.js +1 -1
  85. package/dist/base/navbar.js +1 -1
  86. package/dist/base/notification-center.js +1 -1
  87. package/dist/base/number-input.js +1 -1
  88. package/dist/base/onboarding.js +1 -1
  89. package/dist/base/otp-input-aui-041.js +1 -1
  90. package/dist/base/otp-input-aui-042.js +1 -1
  91. package/dist/base/pagination.js +1 -1
  92. package/dist/base/password-input-aui-040.js +1 -1
  93. package/dist/base/password-input.js +1 -1
  94. package/dist/base/payment-received.js +1 -1
  95. package/dist/base/phone-input.js +1 -1
  96. package/dist/base/price-alert.js +1 -1
  97. package/dist/base/price-chart.js +1 -1
  98. package/dist/base/pricing-aui-021.js +1 -1
  99. package/dist/base/pricing-aui-022.js +1 -1
  100. package/dist/base/pricing-aui-023.js +1 -1
  101. package/dist/base/pricing-aui-024.js +1 -1
  102. package/dist/base/pricing.js +1 -1
  103. package/dist/base/prompt-composer.js +1 -1
  104. package/dist/base/properties-panel.js +1 -1
  105. package/dist/base/radio-group-aui-055.js +1 -1
  106. package/dist/base/radio-group-aui-056.js +1 -1
  107. package/dist/base/radio-group.js +1 -1
  108. package/dist/base/rating.js +1 -1
  109. package/dist/base/segmented-control.js +1 -1
  110. package/dist/base/select-aui-043.js +1 -1
  111. package/dist/base/select-aui-044.js +1 -1
  112. package/dist/base/select-aui-045.js +1 -1
  113. package/dist/base/select.js +1 -1
  114. package/dist/base/settings-panel.js +1 -1
  115. package/dist/base/sidebar.js +1 -1
  116. package/dist/base/sign-in-aui-015.js +1 -1
  117. package/dist/base/sign-in-aui-016.js +1 -1
  118. package/dist/base/sign-in-aui-017.js +1 -1
  119. package/dist/base/sign-in-aui-018.js +1 -1
  120. package/dist/base/sign-in-aui-019.js +1 -1
  121. package/dist/base/sign-in-aui-020.js +1 -1
  122. package/dist/base/sign-in.js +1 -1
  123. package/dist/base/slider-aui-063.js +1 -1
  124. package/dist/base/split-bill.js +1 -1
  125. package/dist/base/stat-card.js +1 -1
  126. package/dist/base/stepper.js +1 -1
  127. package/dist/base/switch-aui-058.js +1 -1
  128. package/dist/base/switch-aui-059.js +1 -1
  129. package/dist/base/switch-aui-060.js +1 -1
  130. package/dist/base/tabs.js +1 -1
  131. package/dist/base/tag-input-aui-048.js +1 -1
  132. package/dist/base/tag-input-aui-049.js +1 -1
  133. package/dist/base/tag-input.js +1 -1
  134. package/dist/base/team-members.js +2 -2
  135. package/dist/base/testimonials.js +1 -1
  136. package/dist/base/textarea-aui-003.js +1 -1
  137. package/dist/base/textarea-aui-005.js +1 -1
  138. package/dist/base/textarea-aui-007.js +1 -1
  139. package/dist/base/textarea-aui-036.js +1 -1
  140. package/dist/base/textarea-aui-037.js +1 -1
  141. package/dist/base/textarea-aui-038.js +1 -1
  142. package/dist/base/thinking.js +1 -1
  143. package/dist/base/toast.js +1 -1
  144. package/dist/base/token-swap.js +1 -1
  145. package/dist/base/tool-approval.js +1 -1
  146. package/dist/base/tool-dock.js +1 -1
  147. package/dist/base/trace-waterfall.js +1 -1
  148. package/dist/base/trade-ticket.js +1 -1
  149. package/dist/base/tree-view.js +1 -1
  150. package/dist/base/watchlist.js +1 -1
  151. package/dist/base/workspace-switcher.js +1 -1
  152. package/dist/base.js +185 -151
  153. package/dist/billing.js +2 -2
  154. package/dist/breadcrumb.js +1 -1
  155. package/dist/button-aui-064.d.ts +2 -0
  156. package/dist/button-aui-064.js +11 -0
  157. package/dist/button-aui-065.d.ts +2 -0
  158. package/dist/button-aui-065.js +9 -0
  159. package/dist/button-aui-066.d.ts +2 -0
  160. package/dist/button-aui-066.js +11 -0
  161. package/dist/button-aui-067.d.ts +2 -0
  162. package/dist/button-aui-067.js +9 -0
  163. package/dist/button-aui-068.d.ts +2 -0
  164. package/dist/button-aui-068.js +9 -0
  165. package/dist/carousel.js +1 -1
  166. package/dist/chart-card.js +1 -1
  167. package/dist/checkbox-aui-052.js +1 -1
  168. package/dist/checkbox-aui-053.js +1 -1
  169. package/dist/checkbox-aui-054.js +1 -1
  170. package/dist/checkbox.js +1 -1
  171. package/dist/checkout.js +2 -3
  172. package/dist/{chunk-2F5CE6ZB.js → chunk-27W3F7NE.js} +7 -6
  173. package/dist/{chunk-66MJ6EEU.js → chunk-2DA4SEGX.js} +2 -2
  174. package/dist/chunk-2GLBURQR.js +85 -0
  175. package/dist/{chunk-X4M6RXNL.js → chunk-2H25OHYS.js} +17 -13
  176. package/dist/{chunk-VTTXURIB.js → chunk-32GWAA4A.js} +4 -3
  177. package/dist/{chunk-ZJLQDN5R.js → chunk-3AJ4EBSV.js} +4 -3
  178. package/dist/{chunk-LOHFV5JF.js → chunk-3MH5O4HX.js} +7 -7
  179. package/dist/{chunk-7PHSPBJK.js → chunk-3N7SRANH.js} +8 -4
  180. package/dist/{chunk-P3XPSBST.js → chunk-3QC5SYGC.js} +3 -3
  181. package/dist/{chunk-UJYZZSII.js → chunk-4ATDGYSC.js} +13 -9
  182. package/dist/{chunk-3UQIYJTI.js → chunk-4EX6JZ7C.js} +11 -4
  183. package/dist/{chunk-CRGCVJLS.js → chunk-4IPMVLH7.js} +2 -2
  184. package/dist/{chunk-JLCSRNI2.js → chunk-4MBIQUM2.js} +7 -7
  185. package/dist/{chunk-NIYIT2QU.js → chunk-4N2KNDOB.js} +3 -3
  186. package/dist/{chunk-SDOWCCM2.js → chunk-4P6EPSHA.js} +12 -7
  187. package/dist/{chunk-SDUD2HI2.js → chunk-4YF2XZY5.js} +3 -3
  188. package/dist/{chunk-VDWLZWAT.js → chunk-56PRVZWW.js} +3 -3
  189. package/dist/{chunk-CMOI7V4H.js → chunk-5EYHX66O.js} +17 -8
  190. package/dist/{chunk-FAHOYAQH.js → chunk-5JLFPVXB.js} +5 -2
  191. package/dist/{chunk-UOOGRGEC.js → chunk-5SK7NMOG.js} +2 -1
  192. package/dist/{chunk-IU4OH5MB.js → chunk-5UARATD2.js} +9 -6
  193. package/dist/{chunk-Z2DF2YL5.js → chunk-5WVRC4BW.js} +1 -1
  194. package/dist/{chunk-6MPEI6V5.js → chunk-67BNR73B.js} +5 -5
  195. package/dist/{chunk-JQX5KR7O.js → chunk-76NMSRFH.js} +4 -1
  196. package/dist/{chunk-MNWZP3S2.js → chunk-7AN76PIT.js} +1 -1
  197. package/dist/chunk-7DQJUZFY.js +139 -0
  198. package/dist/{chunk-77RFV2MG.js → chunk-7GUFM5QQ.js} +16 -11
  199. package/dist/{chunk-MIDBYG4B.js → chunk-7RECQQQP.js} +2 -1
  200. package/dist/{chunk-UX6CWJT7.js → chunk-7TCU6IJX.js} +1 -1
  201. package/dist/{chunk-N3X4T5OR.js → chunk-A4CMX7CD.js} +26 -17
  202. package/dist/{chunk-ZH5A4YKQ.js → chunk-A7TELQOW.js} +2 -2
  203. package/dist/{chunk-MXRBXBE3.js → chunk-AAE4SLAV.js} +4 -1
  204. package/dist/{chunk-L67VH7II.js → chunk-AF2WLL3H.js} +1 -1
  205. package/dist/{chunk-YNPG4WOS.js → chunk-AIUW7VNA.js} +8 -5
  206. package/dist/{chunk-V4O44BPH.js → chunk-AM63372L.js} +1 -1
  207. package/dist/{chunk-YV3D4CPO.js → chunk-B2GAISZU.js} +0 -1
  208. package/dist/{chunk-JX7V6EFT.js → chunk-B2SLXW63.js} +19 -15
  209. package/dist/{chunk-FA4A2EGP.js → chunk-B6KIW23F.js} +4 -3
  210. package/dist/{chunk-JJ473HJ2.js → chunk-BBILYMCF.js} +6 -3
  211. package/dist/{chunk-6OZZ24UL.js → chunk-BLZYUAE7.js} +4 -1
  212. package/dist/{chunk-VEKYE733.js → chunk-BNODQM6D.js} +13 -7
  213. package/dist/{chunk-3PLQKAD7.js → chunk-BQL7HJSV.js} +14 -4
  214. package/dist/chunk-C5NGITT4.js +90 -0
  215. package/dist/{chunk-W2S6JDBM.js → chunk-CGMVTIMW.js} +13 -13
  216. package/dist/{chunk-OUGWYBWG.js → chunk-CZKYSTF5.js} +4 -1
  217. package/dist/{chunk-64UK5LOT.js → chunk-D3GC3QHM.js} +6 -4
  218. package/dist/{chunk-AQV7BK73.js → chunk-DAWISPMI.js} +13 -7
  219. package/dist/{chunk-KATSSAVI.js → chunk-DSMKE64O.js} +2 -1
  220. package/dist/{chunk-MT3VMDV4.js → chunk-DXFIPXJJ.js} +5 -2
  221. package/dist/{chunk-3PLPK7QK.js → chunk-DY5Z45NW.js} +4 -1
  222. package/dist/{chunk-VI6565XF.js → chunk-E6HAVXWS.js} +31 -17
  223. package/dist/{chunk-ZK4DK2SS.js → chunk-E7Q7EP4K.js} +1 -1
  224. package/dist/{chunk-4YNUJFTL.js → chunk-EHBCXGBF.js} +7 -7
  225. package/dist/{chunk-Y4JOW2UW.js → chunk-EQVJUIF4.js} +14 -10
  226. package/dist/{chunk-PIXHOFUT.js → chunk-ET4NNKVK.js} +18 -11
  227. package/dist/{chunk-Z5TG7ZGD.js → chunk-FC54ZZOS.js} +7 -19
  228. package/dist/{chunk-BXNC35OZ.js → chunk-FEQPNCG7.js} +9 -6
  229. package/dist/{chunk-4RBIAKO6.js → chunk-FJNJ2TLR.js} +0 -1
  230. package/dist/{chunk-2RB5T6WP.js → chunk-FZ3GCVH2.js} +2 -1
  231. package/dist/{chunk-D6LGKFZH.js → chunk-G23AGEY4.js} +1 -1
  232. package/dist/{chunk-Q3KZWQWK.js → chunk-GPGIY2ZG.js} +6 -6
  233. package/dist/{chunk-DSLKU6QJ.js → chunk-GQZPSVLB.js} +118 -38
  234. package/dist/{chunk-OFWUA5BO.js → chunk-GTRJUSVK.js} +2 -2
  235. package/dist/{chunk-CTWW5QOS.js → chunk-GU5KNBTL.js} +7 -5
  236. package/dist/{chunk-UACKIMP4.js → chunk-GUZHEEYG.js} +6 -6
  237. package/dist/{chunk-LS6CFF6X.js → chunk-GX4ZHNG7.js} +5 -1
  238. package/dist/{chunk-QEHCINJG.js → chunk-H3LVWLBS.js} +5 -4
  239. package/dist/{chunk-H7OVE6OB.js → chunk-HBKB2GXI.js} +31 -17
  240. package/dist/{chunk-Q6IUIKAE.js → chunk-HJ2FWSSM.js} +8 -8
  241. package/dist/{chunk-IS2VTYDA.js → chunk-HJD3NQST.js} +6 -3
  242. package/dist/{chunk-RJZ37JRF.js → chunk-HJMROSE4.js} +19 -8
  243. package/dist/{chunk-QYI7LQBQ.js → chunk-ITC5UU7V.js} +1 -1
  244. package/dist/{chunk-WOMLNEGP.js → chunk-IUOKOPNY.js} +4 -3
  245. package/dist/{chunk-VIFKQE2H.js → chunk-IVTOFG7I.js} +1 -1
  246. package/dist/{chunk-MSBN2O66.js → chunk-J65FSZ6X.js} +1 -1
  247. package/dist/{chunk-5ZTFP7P6.js → chunk-JZJWB5CQ.js} +17 -8
  248. package/dist/{chunk-DEAQSJ4Z.js → chunk-K5QMUHOG.js} +12 -9
  249. package/dist/{chunk-MBMY2VYS.js → chunk-KCASF2IV.js} +7 -7
  250. package/dist/{chunk-765WRI6C.js → chunk-KE33WVT2.js} +3 -3
  251. package/dist/{chunk-3XHG7P5T.js → chunk-KEPRNTOF.js} +6 -6
  252. package/dist/{chunk-PNN2M3V3.js → chunk-KKDIIZQG.js} +12 -6
  253. package/dist/{chunk-ZKMEKSJZ.js → chunk-KSNSN42X.js} +9 -4
  254. package/dist/{chunk-KCORGXZI.js → chunk-KSZLBV3P.js} +4 -1
  255. package/dist/{chunk-6D4LHBWD.js → chunk-KUK3UZ7M.js} +10 -7
  256. package/dist/{chunk-YUOEZYRP.js → chunk-L4G2YUXT.js} +0 -1
  257. package/dist/{chunk-RPOV3WAK.js → chunk-L7SG34PT.js} +14 -14
  258. package/dist/{chunk-CDQNLDO6.js → chunk-LLI33GKW.js} +4 -4
  259. package/dist/{chunk-QWOO4V7N.js → chunk-LO4TYPLL.js} +8 -2
  260. package/dist/{chunk-DITROAPF.js → chunk-LUDI3KWR.js} +118 -38
  261. package/dist/{chunk-BWYPKOG3.js → chunk-M32LPQKJ.js} +1 -1
  262. package/dist/{chunk-BT77ALVB.js → chunk-M4NEGTL3.js} +4 -1
  263. package/dist/{chunk-XGNTNUAT.js → chunk-M6UUAF25.js} +1 -1
  264. package/dist/{chunk-YVGC7QT7.js → chunk-MG6TUMH7.js} +5 -5
  265. package/dist/{chunk-RAEOJYMR.js → chunk-MQYV5MKH.js} +9 -5
  266. package/dist/{chunk-OIIMYSVT.js → chunk-MTI7DQ4F.js} +7 -7
  267. package/dist/{chunk-6NR46VEH.js → chunk-MUURQUEM.js} +6 -6
  268. package/dist/{chunk-D2JJSUXI.js → chunk-MXHFJ3XF.js} +6 -3
  269. package/dist/{chunk-PZJYDIJI.js → chunk-N3MCZYXP.js} +1 -1
  270. package/dist/{chunk-B7MVYR7C.js → chunk-NBNAXWLN.js} +10 -6
  271. package/dist/{chunk-PLQ6CYRC.js → chunk-NNAJQJSC.js} +5 -2
  272. package/dist/{chunk-KFPGQ5RT.js → chunk-O2CID2IT.js} +11 -11
  273. package/dist/{chunk-GTS6MKPD.js → chunk-OR6R6OXI.js} +2 -2
  274. package/dist/{chunk-FBIGYEFN.js → chunk-OSM5E2YR.js} +6 -6
  275. package/dist/{chunk-FW45BTSS.js → chunk-Q2QV62WV.js} +12 -6
  276. package/dist/{chunk-ALRSHXXA.js → chunk-QEV4RIZR.js} +2 -1
  277. package/dist/{chunk-WDOI4U7K.js → chunk-QHDDNBEI.js} +10 -10
  278. package/dist/{chunk-ALDX2G5E.js → chunk-QKMSLSS6.js} +14 -4
  279. package/dist/{chunk-ANZANDQM.js → chunk-QSGSKHZL.js} +5 -5
  280. package/dist/{chunk-LBXIMJFU.js → chunk-QSQFJRFC.js} +5 -6
  281. package/dist/chunk-QVKVPYNA.js +41 -0
  282. package/dist/{chunk-5TMFFW3Y.js → chunk-QYMPXHK5.js} +4 -1
  283. package/dist/{chunk-EAUUUVUR.js → chunk-QZPBZONY.js} +8 -7
  284. package/dist/chunk-RDV5ETG2.js +105 -0
  285. package/dist/{chunk-FPOH7ETA.js → chunk-RJ6FURDA.js} +5 -5
  286. package/dist/{chunk-ZMCNI37U.js → chunk-RJWEBYP2.js} +11 -2
  287. package/dist/{chunk-DUGKLVQJ.js → chunk-RKCW27UM.js} +0 -1
  288. package/dist/{chunk-633N6IVU.js → chunk-S4Q2HPP5.js} +5 -2
  289. package/dist/chunk-SDBQOVMA.js +53 -0
  290. package/dist/{chunk-IVR3ZIXB.js → chunk-SL6HYI6T.js} +9 -3
  291. package/dist/{chunk-AMVX4DDT.js → chunk-STEGNOAK.js} +7 -7
  292. package/dist/{chunk-ORZVPZQP.js → chunk-T2GLXMC7.js} +2 -1
  293. package/dist/{chunk-HKOPYHLZ.js → chunk-TCCKCLEZ.js} +7 -19
  294. package/dist/{chunk-WBRRSZW4.js → chunk-TLPJA7QP.js} +4 -1
  295. package/dist/{chunk-XUZH4Y52.js → chunk-TN3ATHN7.js} +23 -22
  296. package/dist/{chunk-PZA44CGX.js → chunk-TOGS33KA.js} +10 -7
  297. package/dist/{chunk-YF3XSH54.js → chunk-TQKGGJ4W.js} +9 -3
  298. package/dist/{chunk-MKCLD2HJ.js → chunk-TXHOOVX7.js} +34 -16
  299. package/dist/{chunk-4CIRS3OI.js → chunk-UHNZ3I66.js} +2 -1
  300. package/dist/{chunk-EWSQCTIB.js → chunk-UHW53LWK.js} +0 -1
  301. package/dist/{chunk-ID5GN2VU.js → chunk-UNE53KA2.js} +4 -1
  302. package/dist/{chunk-4WCMPLE3.js → chunk-UQWPG5BH.js} +9 -5
  303. package/dist/{chunk-OSZXWKKH.js → chunk-URXTC4RD.js} +5 -4
  304. package/dist/{chunk-FK2LKLRN.js → chunk-VDSYL3LA.js} +0 -1
  305. package/dist/{chunk-M362TW4G.js → chunk-VYFSYD3Z.js} +4 -1
  306. package/dist/{chunk-YDKATODA.js → chunk-W3AUNR4J.js} +2 -2
  307. package/dist/{chunk-AMFNY7IA.js → chunk-W42RQZ2S.js} +7 -4
  308. package/dist/{chunk-DUXOV6MO.js → chunk-WGHJKPVG.js} +1 -1
  309. package/dist/{chunk-4GF7WTR3.js → chunk-WSN6SDBH.js} +1 -1
  310. package/dist/{chunk-XCKKECIR.js → chunk-WSYMYSW3.js} +3 -3
  311. package/dist/{chunk-2SOX7WUL.js → chunk-WYFRNK6S.js} +4 -4
  312. package/dist/{chunk-2PQIPQGO.js → chunk-XDIWPIKO.js} +14 -10
  313. package/dist/{chunk-JE2MAZGR.js → chunk-XILRY6LB.js} +1 -1
  314. package/dist/{chunk-QJ7QZWXJ.js → chunk-XKJ3KMMO.js} +12 -7
  315. package/dist/{chunk-ZNH7MSLM.js → chunk-XWQNDAL5.js} +1 -1
  316. package/dist/{chunk-N7XJO5Q4.js → chunk-XXOJGQF6.js} +0 -1
  317. package/dist/{chunk-ZO25PAJA.js → chunk-Y5NPX36Y.js} +34 -16
  318. package/dist/{chunk-5OSKT7O3.js → chunk-YGRYE53G.js} +7 -7
  319. package/dist/{chunk-LQR5OD3Z.js → chunk-YSUGZLB5.js} +4 -1
  320. package/dist/{chunk-ZXHMJKJY.js → chunk-YTQSVOA7.js} +1 -1
  321. package/dist/{chunk-G3FPQ3XG.js → chunk-YV5WZJGS.js} +13 -9
  322. package/dist/{chunk-JGZHWQGV.js → chunk-YVRTO4XC.js} +4 -1
  323. package/dist/{chunk-GBOJUMMY.js → chunk-YXFUOERB.js} +6 -6
  324. package/dist/{chunk-DZU5SMC3.js → chunk-Z3PHHGUZ.js} +4 -4
  325. package/dist/{chunk-RXOVKEYG.js → chunk-Z77R5OHW.js} +3 -3
  326. package/dist/{chunk-G7WTEBMX.js → chunk-ZGJUXBLD.js} +11 -7
  327. package/dist/{chunk-IF6CWIUB.js → chunk-ZIC4VJ2T.js} +1 -1
  328. package/dist/{chunk-X2VID7XY.js → chunk-ZIL4N5BT.js} +2 -2
  329. package/dist/{chunk-FXXR3FM3.js → chunk-ZLIFMMAH.js} +10 -7
  330. package/dist/{chunk-IBJA4ZM5.js → chunk-ZMP7XCON.js} +8 -2
  331. package/dist/citations.js +1 -1
  332. package/dist/combobox-aui-046.js +1 -1
  333. package/dist/combobox-aui-047.js +1 -1
  334. package/dist/combobox.js +1 -1
  335. package/dist/command-palette.js +1 -1
  336. package/dist/comments.js +1 -1
  337. package/dist/context-menu.js +1 -1
  338. package/dist/context-meter.js +1 -1
  339. package/dist/cookie-consent.js +1 -1
  340. package/dist/copy-button.js +1 -1
  341. package/dist/data-table.js +1 -1
  342. package/dist/date-picker-aui-050.js +1 -1
  343. package/dist/date-picker-aui-051.js +1 -1
  344. package/dist/date-picker.js +1 -1
  345. package/dist/dialog.js +1 -1
  346. package/dist/drawer.js +1 -1
  347. package/dist/dropdown-menu.js +1 -1
  348. package/dist/event-calendar.js +1 -1
  349. package/dist/field.js +1 -1
  350. package/dist/file-card.js +1 -1
  351. package/dist/file-manager.js +6 -6
  352. package/dist/file-upload.js +1 -1
  353. package/dist/footer-aui-027.js +1 -1
  354. package/dist/footer-aui-028.js +1 -1
  355. package/dist/footer.js +1 -1
  356. package/dist/image-compare.js +1 -1
  357. package/dist/inbox.js +1 -1
  358. package/dist/index.js +186 -152
  359. package/dist/inline-edit.js +1 -1
  360. package/dist/input-aui-029.js +1 -1
  361. package/dist/input-aui-030.js +1 -1
  362. package/dist/input-aui-031.js +1 -1
  363. package/dist/input-aui-032.js +1 -1
  364. package/dist/input-aui-033.js +1 -1
  365. package/dist/input.js +1 -1
  366. package/dist/invoice.js +1 -1
  367. package/dist/menubar.js +1 -1
  368. package/dist/meter.js +1 -1
  369. package/dist/model-picker.js +1 -1
  370. package/dist/motion-button.js +1 -1
  371. package/dist/navbar-aui-009.js +1 -1
  372. package/dist/navbar-aui-010.js +1 -1
  373. package/dist/navbar-aui-011.js +1 -1
  374. package/dist/navbar-aui-012.js +1 -1
  375. package/dist/navbar-aui-013.js +1 -1
  376. package/dist/navbar-aui-014.js +1 -1
  377. package/dist/navbar.js +1 -1
  378. package/dist/notification-center.js +1 -1
  379. package/dist/number-input.js +1 -1
  380. package/dist/onboarding.js +1 -1
  381. package/dist/otp-input-aui-041.js +1 -1
  382. package/dist/otp-input-aui-042.js +1 -1
  383. package/dist/pagination.js +1 -1
  384. package/dist/password-input-aui-040.js +1 -1
  385. package/dist/password-input.js +1 -1
  386. package/dist/payment-received.js +1 -1
  387. package/dist/phone-input.js +1 -1
  388. package/dist/price-alert.js +1 -1
  389. package/dist/price-chart.js +1 -1
  390. package/dist/pricing-aui-021.js +1 -1
  391. package/dist/pricing-aui-022.js +1 -1
  392. package/dist/pricing-aui-023.js +1 -1
  393. package/dist/pricing-aui-024.js +1 -1
  394. package/dist/pricing.js +1 -1
  395. package/dist/prompt-composer.js +1 -1
  396. package/dist/properties-panel.js +1 -1
  397. package/dist/radio-group-aui-055.js +1 -1
  398. package/dist/radio-group-aui-056.js +1 -1
  399. package/dist/radio-group.js +1 -1
  400. package/dist/rating.js +1 -1
  401. package/dist/segmented-control.js +1 -1
  402. package/dist/select-aui-043.js +1 -1
  403. package/dist/select-aui-044.js +1 -1
  404. package/dist/select-aui-045.js +1 -1
  405. package/dist/select.js +1 -1
  406. package/dist/settings-panel.js +1 -1
  407. package/dist/sidebar.js +1 -1
  408. package/dist/sign-in-aui-015.js +1 -1
  409. package/dist/sign-in-aui-016.js +1 -1
  410. package/dist/sign-in-aui-017.js +1 -1
  411. package/dist/sign-in-aui-018.js +1 -1
  412. package/dist/sign-in-aui-019.js +1 -1
  413. package/dist/sign-in-aui-020.js +1 -1
  414. package/dist/sign-in.js +1 -1
  415. package/dist/slider-aui-063.js +1 -1
  416. package/dist/split-bill.js +1 -1
  417. package/dist/stat-card.js +1 -1
  418. package/dist/stepper.js +1 -1
  419. package/dist/switch-aui-058.js +1 -1
  420. package/dist/switch-aui-059.js +1 -1
  421. package/dist/switch-aui-060.js +1 -1
  422. package/dist/tabs.js +1 -1
  423. package/dist/tag-input-aui-048.js +1 -1
  424. package/dist/tag-input-aui-049.js +1 -1
  425. package/dist/tag-input.js +1 -1
  426. package/dist/team-members.js +2 -2
  427. package/dist/testimonials.js +1 -1
  428. package/dist/textarea-aui-003.js +1 -1
  429. package/dist/textarea-aui-005.js +1 -1
  430. package/dist/textarea-aui-007.js +1 -1
  431. package/dist/textarea-aui-008.js +1 -1
  432. package/dist/textarea-aui-036.js +1 -1
  433. package/dist/textarea-aui-037.js +1 -1
  434. package/dist/textarea-aui-038.js +1 -1
  435. package/dist/thinking.js +1 -1
  436. package/dist/toast.js +1 -1
  437. package/dist/token-swap.js +1 -1
  438. package/dist/tool-approval.js +1 -1
  439. package/dist/tool-dock.js +1 -1
  440. package/dist/trace-waterfall.js +1 -1
  441. package/dist/trade-ticket.js +1 -1
  442. package/dist/tree-view.js +1 -1
  443. package/dist/types/components/kit/accordion.d.ts +4 -3
  444. package/dist/types/components/kit/base/navbar.d.ts +2 -0
  445. package/dist/types/components/kit/base/pricing.d.ts +4 -1
  446. package/dist/types/components/kit/navbar.d.ts +2 -0
  447. package/dist/types/components/kit/pricing.d.ts +4 -1
  448. package/dist/types/components/kit/variants/button-aui-064.d.ts +21 -0
  449. package/dist/types/components/kit/variants/button-aui-065.d.ts +26 -0
  450. package/dist/types/components/kit/variants/button-aui-066.d.ts +19 -0
  451. package/dist/types/components/kit/variants/button-aui-067.d.ts +23 -0
  452. package/dist/types/components/kit/variants/button-aui-068.d.ts +28 -0
  453. package/dist/types/packages/asta-ui/src/base/accordion.d.ts +2 -2
  454. package/dist/types/packages/asta-ui/src/base/button-aui-064.d.ts +2 -0
  455. package/dist/types/packages/asta-ui/src/base/button-aui-065.d.ts +2 -0
  456. package/dist/types/packages/asta-ui/src/base/button-aui-066.d.ts +2 -0
  457. package/dist/types/packages/asta-ui/src/base/button-aui-067.d.ts +2 -0
  458. package/dist/types/packages/asta-ui/src/base/button-aui-068.d.ts +2 -0
  459. package/dist/types/packages/asta-ui/src/base.d.ts +12 -2
  460. package/dist/types/packages/asta-ui/src/button-aui-064.d.ts +2 -0
  461. package/dist/types/packages/asta-ui/src/button-aui-065.d.ts +2 -0
  462. package/dist/types/packages/asta-ui/src/button-aui-066.d.ts +2 -0
  463. package/dist/types/packages/asta-ui/src/button-aui-067.d.ts +2 -0
  464. package/dist/types/packages/asta-ui/src/button-aui-068.d.ts +2 -0
  465. package/dist/types/packages/asta-ui/src/index.d.ts +10 -0
  466. package/dist/watchlist.js +1 -1
  467. package/dist/workspace-switcher.js +1 -1
  468. package/package.json +1 -1
  469. package/dist/chunk-B7V4ZTKI.js +0 -53
  470. package/dist/chunk-XTP6ITUJ.js +0 -55
  471. package/dist/types/components/kit/base/accordion.d.ts +0 -19
@@ -0,0 +1,90 @@
1
+ "use client";
2
+
3
+ // components/kit/variants/button-aui-067.tsx
4
+ import { useEffect, useRef, useState } from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ var cx = (...c) => c.filter(Boolean).join(" ");
7
+ var CSS = `
8
+ .aui067 [data-layer] { grid-area: 1 / 1; opacity: 0; transform: translateY(7px); transition: opacity .18s cubic-bezier(.16,1,.3,1), transform .26s cubic-bezier(.16,1,.3,1) }
9
+ .aui067[data-phase=idle] [data-layer=idle], .aui067[data-phase=working] [data-layer=working], .aui067[data-phase=done] [data-layer=done], .aui067[data-phase=failed] [data-layer=failed] { opacity: 1; transform: none }
10
+ .aui067 [data-fill] { opacity: 0; transition: opacity .2s cubic-bezier(.16,1,.3,1) }
11
+ .aui067[data-phase=done] [data-fill=done] { opacity: 1 }
12
+ .aui067-spin { animation: aui067-spin .8s linear infinite }
13
+ .aui067[data-phase=done] .aui067-tick { animation: aui067-tick .36s cubic-bezier(.16,1,.3,1) .05s both }
14
+ @keyframes aui067-spin { to { transform: rotate(360deg) } }
15
+ @keyframes aui067-tick { from { stroke-dashoffset: 14 } to { stroke-dashoffset: 0 } }
16
+ @media (prefers-reduced-motion: reduce) { .aui067 [data-layer] { transform: none !important; transition: opacity .12s } .aui067-spin { animation-duration: 2.4s } .aui067-tick { animation: none !important } }
17
+ `;
18
+ var Spinner = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", fill: "none", "aria-hidden": true, className: "aui067-spin", children: [
19
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6", stroke: "currentColor", strokeOpacity: ".25", strokeWidth: "2" }),
20
+ /* @__PURE__ */ jsx("path", { d: "M14 8a6 6 0 0 0-6-6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
21
+ ] });
22
+ var Tick = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { className: "aui067-tick", d: "m3.5 8.5 3 3 6-7", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round", strokeDasharray: "14" }) });
23
+ var Retry = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M13 8a5 5 0 1 1-1.5-3.5M13 2.5V5h-2.5" }) });
24
+ function StatusButton({ action, children, working = "Working\u2026", done = "Done", failed = "Failed. Retry", icon, resetAfter = 1800, onPhaseChange, disabled, className }) {
25
+ const [phase, setPhase] = useState("idle");
26
+ const timer = useRef(void 0);
27
+ const alive = useRef(true);
28
+ useEffect(() => {
29
+ alive.current = true;
30
+ return () => {
31
+ alive.current = false;
32
+ clearTimeout(timer.current);
33
+ };
34
+ }, []);
35
+ const set = (p) => {
36
+ if (!alive.current) return;
37
+ setPhase(p);
38
+ onPhaseChange?.(p);
39
+ };
40
+ const run = async () => {
41
+ if (phase === "working") return;
42
+ clearTimeout(timer.current);
43
+ set("working");
44
+ try {
45
+ await action();
46
+ set("done");
47
+ timer.current = setTimeout(() => set("idle"), resetAfter);
48
+ } catch {
49
+ set("failed");
50
+ }
51
+ };
52
+ const layer = (p, node, mark) => /* @__PURE__ */ jsxs("span", { "data-layer": p, "aria-hidden": phase !== p, className: "inline-flex items-center justify-center gap-2", children: [
53
+ mark,
54
+ node
55
+ ] });
56
+ return /* @__PURE__ */ jsxs(
57
+ "button",
58
+ {
59
+ type: "button",
60
+ "data-phase": phase,
61
+ disabled,
62
+ "aria-disabled": phase === "working" || void 0,
63
+ onClick: run,
64
+ className: cx(
65
+ "aui067 relative isolate inline-grid h-9 select-none place-items-center overflow-hidden whitespace-nowrap rounded-[8px] px-3.5 text-[13.5px] font-medium outline-none transition-[color,transform] duration-150 ease-[cubic-bezier(.16,1,.3,1)] active:scale-[0.98] motion-reduce:active:scale-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand [&_svg]:size-4 [&_svg]:shrink-0",
66
+ "bg-[linear-gradient(180deg,color-mix(in_srgb,var(--ink)_72%,var(--paper))_0%,var(--ink)_60%)] text-paper shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_0_0_1px_var(--ink),0_2px_4px_-1px_rgb(0_0_0/0.3)]",
67
+ phase === "working" && "cursor-progress",
68
+ phase === "done" && "text-on-brand",
69
+ phase === "failed" && "!text-ink",
70
+ className
71
+ ),
72
+ children: [
73
+ /* @__PURE__ */ jsx("style", { href: "asta-button-aui-067", precedence: "asta", children: CSS }),
74
+ /* @__PURE__ */ jsx("span", { "data-fill": "done", "aria-hidden": true, className: "absolute inset-0 -z-10 bg-[linear-gradient(180deg,color-mix(in_srgb,var(--brand)_78%,white)_0%,var(--brand)_55%,color-mix(in_srgb,var(--brand)_86%,black)_100%)]" }),
75
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("absolute inset-0 -z-10 bg-paper shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_22%,transparent)] transition-opacity duration-200", phase === "failed" ? "opacity-100" : "opacity-0") }),
76
+ layer("idle", children, icon),
77
+ layer("working", working, /* @__PURE__ */ jsx(Spinner, {})),
78
+ layer("done", done, /* @__PURE__ */ jsx(Tick, {})),
79
+ layer("failed", failed, /* @__PURE__ */ jsx(Retry, {})),
80
+ /* @__PURE__ */ jsx("span", { className: "sr-only", "aria-live": "polite", children: phase === "working" ? working : phase === "done" ? done : phase === "failed" ? failed : "" })
81
+ ]
82
+ }
83
+ );
84
+ }
85
+ var button_aui_067_default = StatusButton;
86
+
87
+ export {
88
+ StatusButton,
89
+ button_aui_067_default
90
+ };
@@ -33,23 +33,23 @@ var CSS = `
33
33
  var at = (n) => ({ "--i": n });
34
34
  var reduced = () => typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
35
35
  var PATHS = {
36
- map: "M2.5 4.5 6 3l4 1.5L13.5 3v8.5L10 13l-4-1.5-3.5 1.5ZM6 3v8.5M10 4.5V13",
37
- check: "M3 8.5 6.5 12 13 4.5",
38
- chart: "M3 13V8M6.5 13V4M10 13V9.5M13.5 13V6",
39
- bolt: "M9 2 4 9h4l-1 5 5-7H8Z",
40
- plug: "M6 2.5v3M10 2.5v3M4.5 5.5h7v2a3.5 3.5 0 0 1-7 0ZM8 11v2.5",
41
- book: "M3 3.5h4a1.5 1.5 0 0 1 1.5 1.5v8A1.5 1.5 0 0 0 7 11.5H3ZM13 3.5H9.5A1.5 1.5 0 0 0 8 5v8a1.5 1.5 0 0 1 1.5-1.5H13Z",
42
- grid: "M3 3h4v4H3ZM9 3h4v4H9ZM3 9h4v4H3ZM9 9h4v4H9Z",
43
- play: "M5 3.5v9l7-4.5Z",
44
- users: "M6 7a2.25 2.25 0 1 0 0-4.5A2.25 2.25 0 0 0 6 7ZM2 13c.4-2.2 2-3.5 4-3.5s3.6 1.3 4 3.5M11 3a2 2 0 0 1 0 4M12 9.6c1.2.4 1.9 1.6 2 3.4",
45
- spark: "M8 2v3M8 11v3M2 8h3M11 8h3M4 4l2 2M10 10l2 2M12 4l-2 2M6 10l-2 2",
46
- mail: "M2.5 4h11v8h-11ZM2.5 4.5 8 9l5.5-4.5"
36
+ map: "M3.5 6.5 9 4.5l6 2 5.5-2v13L15 19.5l-6-2-5.5 2ZM9 4.5v13M15 6.5v13",
37
+ check: "M5 12.5l4.5 4.5L19 7.5",
38
+ chart: "M4 20h16M7 16.5v-4M12 16.5V7M17 16.5v-7",
39
+ bolt: "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z",
40
+ plug: "M9 3.5v4M15 3.5v4M6.5 7.5h11V11a5.5 5.5 0 0 1-11 0ZM12 16.5v4",
41
+ book: "M12 6.5c-1.8-1.3-4.5-2-8.5-2v13c4 0 6.7.7 8.5 2 1.8-1.3 4.5-2 8.5-2v-13c-4 0-6.7.7-8.5 2ZM12 6.5v13",
42
+ grid: "M5.5 4h3.5a1.5 1.5 0 0 1 1.5 1.5v3.5a1.5 1.5 0 0 1-1.5 1.5h-3.5a1.5 1.5 0 0 1-1.5-1.5v-3.5a1.5 1.5 0 0 1 1.5-1.5ZM15 4h3.5a1.5 1.5 0 0 1 1.5 1.5v3.5a1.5 1.5 0 0 1-1.5 1.5h-3.5a1.5 1.5 0 0 1-1.5-1.5v-3.5a1.5 1.5 0 0 1 1.5-1.5ZM5.5 13.5h3.5a1.5 1.5 0 0 1 1.5 1.5v3.5a1.5 1.5 0 0 1-1.5 1.5h-3.5a1.5 1.5 0 0 1-1.5-1.5v-3.5a1.5 1.5 0 0 1 1.5-1.5ZM15 13.5h3.5a1.5 1.5 0 0 1 1.5 1.5v3.5a1.5 1.5 0 0 1-1.5 1.5h-3.5a1.5 1.5 0 0 1-1.5-1.5v-3.5a1.5 1.5 0 0 1 1.5-1.5Z",
43
+ play: "M7.5 5v14l11-7Z",
44
+ users: "M6 8.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3.5 19.5a6 6 0 0 1 12 0M15.5 5.2a3.5 3.5 0 0 1 0 6.6M17.5 14a6 6 0 0 1 3 5.5",
45
+ spark: "M12 3.5v3M12 17.5v3M6 6l2.1 2.1M15.9 15.9l2.1 2.1M3.5 12h3M17.5 12h3M6 18l2.1-2.1M15.9 8.1 18 6",
46
+ 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"
47
47
  };
48
48
  function Glyph({ name }) {
49
- return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: PATHS[name] }) });
49
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: PATHS[name] }) });
50
50
  }
51
51
  var Badge = ({ icon, size = "h-6 w-6" }) => /* @__PURE__ */ jsx("span", { className: cx("grid shrink-0 place-items-center rounded-[7px] bg-paper text-brand shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_2px_7px_rgb(0_0_0/0.05)]", size), children: /* @__PURE__ */ jsx(Glyph, { name: icon }) });
52
- var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-3.5 w-3.5", className), fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 4 4 4-4 4" }) });
52
+ var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5", className), fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) });
53
53
  var Logo = () => /* @__PURE__ */ jsxs(Fragment2, { children: [
54
54
  /* @__PURE__ */ jsx("span", { className: "grid h-6 w-6 place-items-center rounded-[7px] bg-ink text-paper", children: /* @__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: "M4 12.5 8 3.5l4 9M5.6 9.2h4.8" }) }) }),
55
55
  "Astabyte"
@@ -89,7 +89,10 @@ function TagInput({ value, defaultValue = [], onChange, max = 8, placeholder = "
89
89
  "flex h-6 w-6 items-center justify-center rounded-[5px] outline-none transition-colors focus-visible:ring-2 focus-visible:ring-brand/50",
90
90
  last && armed ? "hover:bg-paper/20" : "text-mute hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink"
91
91
  ),
92
- children: /* @__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: "m4.5 4.5 7 7M11.5 4.5l-7 7" }) })
92
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
93
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
94
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
95
+ ] })
93
96
  }
94
97
  )
95
98
  ]
@@ -19,13 +19,15 @@ var sameDay = (a, b) => !!a && !!b && day0(a).getTime() === day0(b).getTime();
19
19
  var key = (d) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
20
20
  var clamp = (d, min, max) => min && d < day0(min) ? day0(min) : max && d > day0(max) ? day0(max) : d;
21
21
  function CalendarIcon() {
22
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-4 w-4 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
23
- /* @__PURE__ */ jsx("rect", { x: "2.5", y: "3.5", width: "11", height: "10", rx: "2" }),
24
- /* @__PURE__ */ jsx("path", { d: "M2.5 6.5h11M5.5 2v3M10.5 2v3" })
22
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
23
+ /* @__PURE__ */ jsx("rect", { x: "4", y: "5.5", width: "16", height: "14.5", rx: "2" }),
24
+ /* @__PURE__ */ jsx("path", { d: "M4 10h16" }),
25
+ /* @__PURE__ */ jsx("path", { d: "M8.5 3.5v4" }),
26
+ /* @__PURE__ */ jsx("path", { d: "M15.5 3.5v4" })
25
27
  ] });
26
28
  }
27
29
  function Arrow({ dir }) {
28
- return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: dir === 1 ? "m6 3.5 4.5 4.5L6 12.5" : "m10 3.5L5.5 8l4.5 4.5" }) });
30
+ return /* @__PURE__ */ jsx("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: /* @__PURE__ */ jsx("path", { d: dir === 1 ? "M9.5 6l6 6-6 6" : "M14.5 6l-6 6 6 6" }) });
29
31
  }
30
32
  function DatePicker(props) {
31
33
  const { locale = "en-US", weekStartsOn = 0, min, max, placeholder, label, name, disabled, size = "md", className } = props;
@@ -14,9 +14,9 @@ var KEYFRAMES = `@keyframes kit-ac-tok { from { opacity: 0 } }
14
14
  var seq = 0;
15
15
  var uid = () => `m${Date.now().toString(36)}${(seq++).toString(36)}`;
16
16
  function Mark() {
17
- return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-7 w-7 shrink-0 place-items-center rounded-lg bg-[color-mix(in_srgb,var(--brand)_10%,transparent)] text-brand", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "currentColor", children: [
18
- /* @__PURE__ */ jsx("path", { d: "M8 1.5c.4 2.9 1.6 4.1 4.5 4.5-2.9.4-4.1 1.6-4.5 4.5-.4-2.9-1.6-4.1-4.5-4.5C6.4 5.6 7.6 4.4 8 1.5Z" }),
19
- /* @__PURE__ */ jsx("path", { d: "M12.5 10c.2 1.4.8 2 2.2 2.2-1.4.2-2 .8-2.2 2.2-.2-1.4-.8-2-2.2-2.2 1.4-.2 2-.8 2.2-2.2Z", opacity: ".55" })
17
+ return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-7 w-7 shrink-0 place-items-center rounded-lg bg-[color-mix(in_srgb,var(--brand)_10%,transparent)] text-brand", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "currentColor", children: [
18
+ /* @__PURE__ */ jsx("path", { d: "M12 3.5c.7 4.6 2.4 6.3 7 7-4.6.7-6.3 2.4-7 7-.7-4.6-2.4-6.3-7-7 4.6-.7 6.3-2.4 7-7Z" }),
19
+ /* @__PURE__ */ jsx("path", { d: "M19 16.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5Z", opacity: ".55" })
20
20
  ] }) });
21
21
  }
22
22
  function IconButton({ label, onClick, children }) {
@@ -32,7 +32,7 @@ function IconButton({ label, onClick, children }) {
32
32
  }
33
33
  );
34
34
  }
35
- var svg = { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
35
+ var svg = { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: 2.25, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
36
36
  var Batch = memo(function Batch2({ tokens }) {
37
37
  return tokens.map((t, i) => /* @__PURE__ */ jsx("span", { style: { animation: `kit-ac-tok .5s ${CURVE}` }, children: t }, i));
38
38
  });
@@ -53,8 +53,11 @@ var Message = memo(function Message2({ m, live, waiting, parts, isLast, copied,
53
53
  isLast ? "opacity-100" : "opacity-0 group-hover:opacity-100 focus-within:opacity-100"
54
54
  ),
55
55
  children: [
56
- m.content && /* @__PURE__ */ jsx(IconButton, { label: copied ? "Copied" : "Copy", onClick: () => onCopy(m), children: copied ? /* @__PURE__ */ createElement("svg", { ...svg, key: "ok", style: { animation: `kit-ac-pop .3s ${CURVE}` } }, /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" })) : /* @__PURE__ */ createElement("svg", { ...svg, key: "copy" }, /* @__PURE__ */ jsx("rect", { x: "5.5", y: "5.5", width: "8", height: "8", rx: "1.8" }), /* @__PURE__ */ jsx("path", { d: "M10.5 5.5V4a1.5 1.5 0 0 0-1.5-1.5H4A1.5 1.5 0 0 0 2.5 4v5A1.5 1.5 0 0 0 4 10.5h1.5" })) }),
57
- isLast && /* @__PURE__ */ jsx(IconButton, { label: "Regenerate", onClick: onRegenerate, children: /* @__PURE__ */ jsx("svg", { ...svg, children: /* @__PURE__ */ jsx("path", { d: "M13 8a5 5 0 1 1-1.5-3.6M13 2.5v2.5h-2.5" }) }) })
56
+ m.content && /* @__PURE__ */ jsx(IconButton, { label: copied ? "Copied" : "Copy", onClick: () => onCopy(m), children: copied ? /* @__PURE__ */ createElement("svg", { ...svg, key: "ok", style: { animation: `kit-ac-pop .3s ${CURVE}` } }, /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" })) : /* @__PURE__ */ createElement("svg", { ...svg, key: "copy" }, /* @__PURE__ */ jsx("rect", { x: "8.5", y: "8.5", width: "11", height: "11", rx: "2" }), /* @__PURE__ */ jsx("path", { d: "M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2" })) }),
57
+ isLast && /* @__PURE__ */ jsx(IconButton, { label: "Regenerate", onClick: onRegenerate, children: /* @__PURE__ */ jsxs("svg", { ...svg, children: [
58
+ /* @__PURE__ */ jsx("path", { d: "M19.5 12a7.5 7.5 0 1 1-2.2-5.3" }),
59
+ /* @__PURE__ */ jsx("path", { d: "M19.5 4.5v3.5H16" })
60
+ ] }) })
58
61
  ]
59
62
  }
60
63
  )
@@ -319,7 +322,10 @@ function AiChat({
319
322
  disabled: !text.trim(),
320
323
  className: "grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-brand text-on-brand outline-none transition-[opacity,transform] duration-200 active:scale-95 disabled:opacity-35 focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
321
324
  style: { animation: `kit-ac-pop .3s ${CURVE}` },
322
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M8 13V3M3.5 7.5 8 3l4.5 4.5" }) })
325
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
326
+ /* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
327
+ /* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
328
+ ] })
323
329
  },
324
330
  "send"
325
331
  )
@@ -43,7 +43,8 @@ var PATH = [
43
43
  2466.2
44
44
  ];
45
45
  var FIRST = WINDOW;
46
- var money = (n) => `$${n.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
46
+ var USD2 = new Intl.NumberFormat("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
47
+ var money = (n) => `$${USD2.format(n)}`;
47
48
  function Roll({ value, instant }) {
48
49
  const chars = value.split("");
49
50
  return /* @__PURE__ */ jsx("span", { className: "inline-flex items-start leading-[1.1em] tabular-nums", "aria-label": value, children: chars.map((c, i) => {
@@ -85,7 +85,7 @@ function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, onCreate
85
85
  /* @__PURE__ */ jsx(Logo, { ws: current, size: "sm" }),
86
86
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate text-[13.5px] font-medium text-ink", children: current.name }),
87
87
  current.plan && /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-[5px] bg-[color-mix(in_srgb,var(--brand)_12%,transparent)] px-1.5 py-0.5 text-[11px] font-medium text-brand", children: current.plan }),
88
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }) })
88
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
89
89
  ]
90
90
  }
91
91
  ),
@@ -147,7 +147,10 @@ function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, onCreate
147
147
  onClick: () => choose(workspaces.length),
148
148
  className: cx("mt-1 flex cursor-pointer items-center gap-2.5 rounded-[8px] px-2 py-1.5 text-[13px] text-ink-2 transition-colors duration-100", active === workspaces.length && "bg-[color-mix(in_srgb,var(--ink)_6%,transparent)] text-ink"),
149
149
  children: [
150
- /* @__PURE__ */ jsx("span", { className: "grid h-8 w-8 place-items-center rounded-[8px] shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M12 5v14M5 12h14" }) }) }),
150
+ /* @__PURE__ */ jsx("span", { className: "grid h-8 w-8 place-items-center rounded-[8px] shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
151
+ /* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
152
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" })
153
+ ] }) }),
151
154
  createLabel
152
155
  ]
153
156
  }
@@ -152,7 +152,10 @@ function Drawer({ open, onOpenChange, side = "right", title, description, childr
152
152
  "aria-label": "Close",
153
153
  onClick: () => onOpenChange(false),
154
154
  className: "-mr-1.5 -mt-1 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg text-mute outline-none transition-colors duration-200 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
155
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 4 8 8M12 4l-8 8" }) })
155
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
156
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
157
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
158
+ ] })
156
159
  }
157
160
  )
158
161
  ] }),
@@ -1,13 +1,10 @@
1
1
  "use client";
2
- import {
3
- Select
4
- } from "./chunk-JLCSRNI2.js";
5
2
  import {
6
3
  Button
7
4
  } from "./chunk-HSDMCZMX.js";
8
5
  import {
9
6
  Input
10
- } from "./chunk-G3FPQ3XG.js";
7
+ } from "./chunk-YV5WZJGS.js";
11
8
 
12
9
  // components/kit/base/checkout.tsx
13
10
  import { useEffect, useId, useMemo, useRef, useState } from "react";
@@ -104,9 +101,10 @@ function Labeled({ id, label, error, children, className }) {
104
101
  /* @__PURE__ */ jsx("label", { htmlFor: id, className: "mb-1.5 block text-[12.5px] text-ink-2", children: label }),
105
102
  children,
106
103
  error && /* @__PURE__ */ jsxs("p", { id: `${id}-err`, className: "mt-1.5 flex items-center gap-1.5 text-[12px] text-ink-2", style: { animation: `kit-co-up .3s ${CURVE}` }, children: [
107
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
108
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6" }),
109
- /* @__PURE__ */ jsx("path", { d: "M8 5v3.5M8 11h0" })
104
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
105
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
106
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
107
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
110
108
  ] }),
111
109
  error
112
110
  ] })
@@ -114,17 +112,21 @@ function Labeled({ id, label, error, children, className }) {
114
112
  }
115
113
  var INVALID = "!shadow-[inset_0_0_0_1.5px_var(--ink)]";
116
114
  function CardGlyph() {
117
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 14", className: "h-3.5 w-5", fill: "none", stroke: "currentColor", strokeWidth: "1.3", "aria-hidden": true, children: [
118
- /* @__PURE__ */ jsx("rect", { x: ".75", y: ".75", width: "18.5", height: "12.5", rx: "2.2" }),
119
- /* @__PURE__ */ jsx("path", { d: "M.75 4.5h18.5M4 9.5h4", strokeLinecap: "round" })
115
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-5", fill: "none", stroke: "currentColor", strokeWidth: "2.23", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
116
+ /* @__PURE__ */ jsx("rect", { x: "3", y: "5.5", width: "18", height: "13", rx: "2" }),
117
+ /* @__PURE__ */ jsx("path", { d: "M3 10h18" }),
118
+ /* @__PURE__ */ jsx("path", { d: "M6.5 15h3" })
120
119
  ] });
121
120
  }
122
121
  function Stepper({ name, qty, onChange, disabled }) {
123
122
  const btn = "grid h-6 w-6 place-items-center rounded-md text-ink-2 outline-none transition-colors duration-200 hover:bg-paper hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-35 disabled:hover:bg-transparent";
124
123
  return /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-1", role: "group", "aria-label": `Quantity of ${name}`, children: [
125
- /* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "Fewer", disabled: disabled || qty <= 1, onClick: () => onChange(qty - 1), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M2.5 6h7" }) }) }),
124
+ /* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "Fewer", disabled: disabled || qty <= 1, onClick: () => onChange(qty - 1), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) }) }),
126
125
  /* @__PURE__ */ jsx("span", { className: "w-5 text-center text-[12.5px] tabular-nums text-ink", "aria-live": "polite", children: qty }),
127
- /* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "More", disabled: disabled || qty >= 99, onClick: () => onChange(qty + 1), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M2.5 6h7M6 2.5v7" }) }) })
126
+ /* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "More", disabled: disabled || qty >= 99, onClick: () => onChange(qty + 1), children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
127
+ /* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
128
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" })
129
+ ] }) })
128
130
  ] });
129
131
  }
130
132
  function Checkout({
@@ -259,7 +261,7 @@ function Checkout({
259
261
  return /* @__PURE__ */ jsxs("div", { className: cx("kit-co grid w-full gap-8 md:grid-cols-[minmax(0,1fr)_340px] md:gap-10", className), children: [
260
262
  /* @__PURE__ */ jsx("style", { href: "asta-checkout", precedence: "asta", children: KEYFRAMES }),
261
263
  /* @__PURE__ */ jsx("div", { className: "min-w-0", children: state === "done" ? /* @__PURE__ */ jsxs("div", { className: "flex h-full min-h-[420px] flex-col items-start justify-center", role: "status", style: { animation: `kit-co-up .5s ${CURVE}` }, children: [
262
- /* @__PURE__ */ jsx("span", { className: "grid h-12 w-12 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `kit-co-pop .55s ${CURVE} .1s both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-5 w-5", 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" }) }) }),
264
+ /* @__PURE__ */ jsx("span", { className: "grid h-12 w-12 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `kit-co-pop .55s ${CURVE} .1s both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-5 w-5", 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" }) }) }),
263
265
  /* @__PURE__ */ jsx("h3", { className: "mt-6 text-[24px] font-medium tracking-[-0.03em] text-ink", children: "Payment received" }),
264
266
  /* @__PURE__ */ jsxs("p", { className: "mt-2 max-w-[360px] text-[14px] leading-relaxed text-mute", children: [
265
267
  "We charged ",
@@ -289,10 +291,22 @@ function Checkout({
289
291
  /* @__PURE__ */ jsx(Labeled, { id: id("city"), label: "City", error: shown("city"), children: input("city", { autoComplete: "address-level2" }) }),
290
292
  /* @__PURE__ */ jsx(Labeled, { id: id("postal"), label: "Postal code", error: shown("postal"), children: input("postal", { autoComplete: "postal-code", autoCapitalize: "characters" }) })
291
293
  ] }),
292
- /* @__PURE__ */ jsxs("div", { children: [
293
- /* @__PURE__ */ jsx("p", { className: "mb-1.5 text-[12.5px] text-ink-2", children: "Country" }),
294
- /* @__PURE__ */ jsx(Select, { label: "Country", name: "country", options: countries, value: d.country, onChange: (v) => set("country", v), disabled: locked })
295
- ] }),
294
+ /* @__PURE__ */ jsx(Labeled, { id: id("country"), label: "Country", children: /* @__PURE__ */ jsxs("div", { className: cx("relative", locked && "pointer-events-none opacity-50"), children: [
295
+ /* @__PURE__ */ jsx(
296
+ "select",
297
+ {
298
+ id: id("country"),
299
+ name: "country",
300
+ autoComplete: "country",
301
+ value: d.country,
302
+ onChange: (e) => set("country", e.target.value),
303
+ disabled: locked,
304
+ className: "h-10 w-full appearance-none rounded-lg bg-paper pl-3 pr-9 text-[16px] text-ink outline-none transition-shadow duration-200 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_24%,transparent)] focus-visible:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)] sm:text-[14px]",
305
+ children: countries.map((c) => /* @__PURE__ */ jsx("option", { value: c.value, children: c.label }, c.value))
306
+ }
307
+ ),
308
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
309
+ ] }) }),
296
310
  /* @__PURE__ */ jsx("div", { role: "radiogroup", "aria-label": "Shipping speed", className: "mt-1 grid gap-2 sm:grid-cols-2", children: shippingOptions.map((s) => {
297
311
  const on = s.id === d.shipping;
298
312
  return /* @__PURE__ */ jsxs(
@@ -131,7 +131,7 @@ function Circle({ on }) {
131
131
  return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "relative grid h-[18px] w-[18px] shrink-0 place-items-center", children: [
132
132
  /* @__PURE__ */ jsx("span", { className: "absolute inset-0 rounded-full shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_24%,transparent)] transition-opacity duration-200 group-hover/task:shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_42%,transparent)]", style: { opacity: on ? 0 : 1 } }),
133
133
  /* @__PURE__ */ jsx("span", { className: "absolute inset-0 rounded-full bg-brand transition-[transform,opacity] duration-500", style: { transform: on ? "scale(1)" : "scale(0.3)", opacity: on ? 1 : 0, transitionTimingFunction: SPRING } }),
134
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "relative h-[11px] w-[11px] text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "2.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M3.5 8.5l3 3 6-7", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 0 : 1, transitionDuration: on ? "380ms" : "100ms", transitionDelay: on ? "100ms" : "0ms", transitionTimingFunction: EASE } }) })
134
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "relative h-[11px] w-[11px] text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "3.9", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 0 : 1, transitionDuration: on ? "380ms" : "100ms", transitionDelay: on ? "100ms" : "0ms", transitionTimingFunction: EASE } }) })
135
135
  ] });
136
136
  }
137
137
  var checkbox_aui_053_default = TaskCheckbox;
@@ -19,12 +19,12 @@ function Speaker({ level }) {
19
19
  const on = !muted && level > i * 33;
20
20
  return { opacity: on ? 1 : 0, transform: on ? "scale(1)" : "scale(.6)", transformOrigin: "6px 10px", transition: `transform 360ms ${SPRING} ${i * 40}ms, opacity 240ms ${EASE} ${i * 40}ms` };
21
21
  };
22
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", className: "h-[18px] w-[18px]", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
23
- /* @__PURE__ */ jsx("path", { d: "M3 7.5h2.5L9.5 4v12l-4-3.5H3z", fill: "currentColor", fillOpacity: "0.12" }),
24
- /* @__PURE__ */ jsx("path", { d: "M12 8a2.8 2.8 0 010 4", style: wave(0) }),
25
- /* @__PURE__ */ jsx("path", { d: "M13.8 6.2a5.4 5.4 0 010 7.6", style: wave(1) }),
26
- /* @__PURE__ */ jsx("path", { d: "M15.6 4.4a8 8 0 010 11.2", style: wave(2) }),
27
- /* @__PURE__ */ jsx("g", { style: { opacity: muted ? 1 : 0, transform: muted ? "scale(1)" : "scale(.4)", transformOrigin: "15px 10px", transition: `transform 360ms ${SPRING}, opacity 200ms ${EASE}` }, children: /* @__PURE__ */ jsx("path", { d: "M13 8l4 4M17 8l-4 4" }) })
22
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[18px] w-[18px]", fill: "none", stroke: "currentColor", strokeWidth: "1.92", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
23
+ /* @__PURE__ */ jsx("path", { d: "M4 9.5h3.5L12 5.5v13l-4.5-4H4Z", fill: "currentColor", fillOpacity: "0.12" }),
24
+ /* @__PURE__ */ jsx("path", { d: "M15.5 9a4 4 0 0 1 0 6", style: wave(0) }),
25
+ /* @__PURE__ */ jsx("path", { d: "M17.3 7.2a6.6 6.6 0 0 1 0 9.6", style: wave(1) }),
26
+ /* @__PURE__ */ jsx("path", { d: "M19.1 5.3a9.6 9.6 0 0 1 0 13.4", style: wave(2) }),
27
+ /* @__PURE__ */ jsx("g", { style: { opacity: muted ? 1 : 0, transform: muted ? "scale(1)" : "scale(.4)", transformOrigin: "18px 12px", transition: `transform 360ms ${SPRING}, opacity 200ms ${EASE}` }, children: /* @__PURE__ */ jsx("path", { d: "m15.5 9.5 5 5M20.5 9.5l-5 5" }) })
28
28
  ] });
29
29
  }
30
30
  function VolumeSlider({ value, defaultValue = 64, onValueChange, title = "Slow Tide", artist = "Mira Sol", art = "/lab/art/hoarfrost.webp", disabled, name, className }) {
@@ -98,7 +98,7 @@ function VolumeSlider({ value, defaultValue = 64, onValueChange, title = "Slow T
98
98
  onClick: () => setPlaying((p) => !p),
99
99
  className: "grid h-10 w-10 shrink-0 place-items-center rounded-full bg-ink text-paper outline-none transition-transform duration-200 hover:scale-105 active:scale-95 focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
100
100
  style: rise(2),
101
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "currentColor", "aria-hidden": true, children: playing ? /* @__PURE__ */ jsx("path", { d: "M4 3h2.6v10H4zM9.4 3H12v10H9.4z" }) : /* @__PURE__ */ jsx("path", { d: "M5 3l8 5-8 5z" }) })
101
+ children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "currentColor", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: playing ? /* @__PURE__ */ jsx("path", { d: "M8.5 5.5v13M15.5 5.5v13", strokeWidth: "3.75" }) : /* @__PURE__ */ jsx("path", { d: "M7.5 5v14l11-7Z" }) })
102
102
  }
103
103
  )
104
104
  ] }),
@@ -105,9 +105,9 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
105
105
  children: [
106
106
  /* @__PURE__ */ jsx(D.Title, { className: "sr-only", children: "Command palette" }),
107
107
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5 px-4 shadow-[inset_0_-1px_0_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
108
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-4 w-4 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", "aria-hidden": true, children: [
109
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
110
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3", strokeLinecap: "round" })
108
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
109
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
110
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5", strokeLinecap: "round" })
111
111
  ] }),
112
112
  /* @__PURE__ */ jsx(
113
113
  "input",
@@ -168,18 +168,21 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
168
168
  ),
169
169
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: /* @__PURE__ */ jsx(Highlight, { text: c.label, hits }) }),
170
170
  c.shortcut && /* @__PURE__ */ jsx("kbd", { className: "font-sans text-[11.5px] text-mute", children: c.shortcut }),
171
- on && /* @__PURE__ */ jsx(
171
+ on && /* @__PURE__ */ jsxs(
172
172
  "svg",
173
173
  {
174
- viewBox: "0 0 16 16",
174
+ viewBox: "0 0 24 24",
175
175
  className: "h-3.5 w-3.5 text-mute",
176
176
  fill: "none",
177
177
  stroke: "currentColor",
178
- strokeWidth: "1.6",
178
+ strokeWidth: "2.4",
179
179
  strokeLinecap: "round",
180
180
  strokeLinejoin: "round",
181
181
  "aria-hidden": true,
182
- children: /* @__PURE__ */ jsx("path", { d: "M13 4v4.5a1.5 1.5 0 0 1-1.5 1.5H3.5M6 7l-2.5 3L6 13" })
182
+ children: [
183
+ /* @__PURE__ */ jsx("path", { d: "M19 5v6.5a2.5 2.5 0 0 1-2.5 2.5H5" }),
184
+ /* @__PURE__ */ jsx("path", { d: "m9 10-4 4 4 4" })
185
+ ]
183
186
  }
184
187
  )
185
188
  ]
@@ -189,9 +192,10 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
189
192
  })
190
193
  ] }, s.group)),
191
194
  flat.length === 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center px-4 py-10 text-center", role: "status", children: [
192
- /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full 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: [
193
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
194
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3M5.5 7h3" })
195
+ /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full 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: [
196
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
197
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5" }),
198
+ /* @__PURE__ */ jsx("path", { d: "M8 10.5h5" })
195
199
  ] }) }),
196
200
  /* @__PURE__ */ jsxs("p", { className: "mt-3 text-[14px] text-ink", children: [
197
201
  "No results for \u201C",
@@ -33,7 +33,10 @@ function useShake(active, key) {
33
33
  }, [active, key]);
34
34
  return ref;
35
35
  }
36
- var Plane = ({ className, style }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className, style, fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M14.5 1.5 7 9M14.5 1.5 10 14.5 7 9 1.5 6l13-4.5Z" }) });
36
+ var Plane = ({ className, style }) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className, style, fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
37
+ /* @__PURE__ */ jsx("path", { d: "M20.5 3.5 10 14" }),
38
+ /* @__PURE__ */ jsx("path", { d: "m20.5 3.5-6.5 17-4-6.5-6.5-4Z" })
39
+ ] });
37
40
  function MagicLinkSignIn({
38
41
  brand = "Astabyte",
39
42
  title = "Sign in with email",
@@ -146,9 +149,9 @@ function MagicLinkSignIn({
146
149
  /* @__PURE__ */ jsxs("div", { className: "mt-6", style: rise(3), children: [
147
150
  /* @__PURE__ */ jsx("label", { htmlFor: `${id}-email`, className: "text-[13px] font-medium text-ink", children: "Work email" }),
148
151
  /* @__PURE__ */ jsxs("div", { ref: box, className: "relative mt-1.5", children: [
149
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.4", strokeLinejoin: "round", "aria-hidden": true, children: [
150
- /* @__PURE__ */ jsx("rect", { x: "1.75", y: "3.25", width: "12.5", height: "9.5", rx: "1.75" }),
151
- /* @__PURE__ */ jsx("path", { d: "m2.5 4.5 5.5 4 5.5-4" })
152
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
153
+ /* @__PURE__ */ jsx("rect", { x: "3.5", y: "5.5", width: "17", height: "13", rx: "2" }),
154
+ /* @__PURE__ */ jsx("path", { d: "m4 7 8 6 8-6" })
152
155
  ] }),
153
156
  /* @__PURE__ */ jsx(
154
157
  "input",
@@ -179,9 +182,10 @@ function MagicLinkSignIn({
179
182
  )
180
183
  ] }),
181
184
  shown ? /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "mt-2 flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui015-in .3s ${EASE} both` }, children: [
182
- /* @__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: [
183
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
184
- /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
185
+ /* @__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: [
186
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
187
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
188
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
185
189
  ] }),
186
190
  shown
187
191
  ] }) : /* @__PURE__ */ jsx("p", { id: `${id}-hint`, className: "mt-2 text-[12.5px] text-mute", children: "Use the address your team invited." })
@@ -210,9 +214,9 @@ function MagicLinkSignIn({
210
214
  }
211
215
  ) }),
212
216
  /* @__PURE__ */ jsxs("p", { className: "mt-5 flex items-center justify-center gap-1.5 text-[12px] text-mute", style: rise(5), children: [
213
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.4", "aria-hidden": true, children: [
214
- /* @__PURE__ */ jsx("rect", { x: "3", y: "7", width: "10", height: "7", rx: "1.5" }),
215
- /* @__PURE__ */ jsx("path", { d: "M5.5 7V5a2.5 2.5 0 0 1 5 0v2" })
217
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
218
+ /* @__PURE__ */ jsx("rect", { x: "5", y: "10.5", width: "14", height: "9.5", rx: "2" }),
219
+ /* @__PURE__ */ jsx("path", { d: "M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5" })
216
220
  ] }),
217
221
  "Links work once and expire in 15 minutes."
218
222
  ] })
@@ -258,7 +262,10 @@ function MagicLinkSignIn({
258
262
  ),
259
263
  children: [
260
264
  "Open mail",
261
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:-translate-y-px group-hover:translate-x-px", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M5 11 11 5M6 5h5v5" }) })
265
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:-translate-y-px group-hover:translate-x-px", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
266
+ /* @__PURE__ */ jsx("path", { d: "M7 17 17 7" }),
267
+ /* @__PURE__ */ jsx("path", { d: "M9 7h8v8" })
268
+ ] })
262
269
  ]
263
270
  }
264
271
  ),