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
@@ -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 }) }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  // components/kit/stat-card.tsx
4
- import { useLayoutEffect, useRef } from "react";
4
+ import { useLayoutEffect, useMemo, useRef } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var KEYFRAMES = `@keyframes asta-stat-draw { from { stroke-dashoffset: 1 } }
@@ -31,7 +31,7 @@ function StatCard({ label, value, format, locale = "en-US", prefix = "", suffix
31
31
  const shown = useRef(0);
32
32
  const started = useRef(false);
33
33
  const fmtKey = JSON.stringify(format ?? {});
34
- const fmt = new Intl.NumberFormat(locale, format);
34
+ const fmt = useMemo(() => new Intl.NumberFormat(locale, JSON.parse(fmtKey)), [locale, fmtKey]);
35
35
  const text = `${prefix}${fmt.format(value)}${suffix}`;
36
36
  useLayoutEffect(() => {
37
37
  const node = num.current?.firstChild;
@@ -118,7 +118,10 @@ function StatCard({ label, value, format, locale = "en-US", prefix = "", suffix
118
118
  ] }),
119
119
  delta !== void 0 && /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-1.5 text-[12.5px]", children: [
120
120
  /* @__PURE__ */ jsxs("span", { className: cx("inline-flex items-center gap-0.5 font-medium tabular-nums", up ? "text-brand" : "text-mute"), children: [
121
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: cx("h-3 w-3", !up && delta !== 0 && "rotate-180", delta === 0 && "hidden"), fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M6 9.5v-7M2.75 5.5 6 2.25 9.25 5.5" }) }),
121
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-3 w-3", !up && delta !== 0 && "rotate-180", delta === 0 && "hidden"), fill: "none", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
122
+ /* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
123
+ /* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
124
+ ] }),
122
125
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: up ? "Up" : delta < 0 ? "Down" : "No change" }),
123
126
  `${delta > 0 ? "+" : delta < 0 ? "\u2212" : ""}${Math.abs(delta).toFixed(1)}%`
124
127
  ] }),
@@ -7,7 +7,7 @@ var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var KEYFRAMES = `@keyframes asta-file-star { 0% { transform: scale(.6) } 55% { transform: scale(1.25) } 100% { transform: scale(1) } }
8
8
  @media (prefers-reduced-motion: reduce) { .asta-file-star { animation: none !important } }`;
9
9
  function Star({ on }) {
10
- return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", on && "asta-file-star animate-[asta-file-star_.42s_cubic-bezier(.16,1,.3,1)]"), fill: on ? "currentColor" : "none", stroke: "currentColor", strokeWidth: 1.7, strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m12 3.6 2.6 5.3 5.8.8-4.2 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8-4.2-4.1 5.8-.8z" }) });
10
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", on && "asta-file-star animate-[asta-file-star_.42s_cubic-bezier(.16,1,.3,1)]"), fill: on ? "currentColor" : "none", stroke: "currentColor", strokeWidth: 1.7, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m12 3.8 2.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" }) });
11
11
  }
12
12
  function Thumb({ thumbnail, title }) {
13
13
  if (typeof thumbnail === "string")
@@ -113,7 +113,7 @@ function StatusFooter({
113
113
  /* @__PURE__ */ jsx("span", { className: cx("relative h-2 w-2 rounded-full", live ? "aui-f28-beat bg-brand" : "bg-ink") })
114
114
  ] }),
115
115
  status.label,
116
- status.href && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: cx("h-3 w-3 text-mute transition-transform duration-300 group-hover/st:translate-x-0.5", EASE), fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m6 4 4 4-4 4" }) })
116
+ status.href && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: cx("h-3 w-3 text-mute transition-transform duration-300 group-hover/st:translate-x-0.5", EASE), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) })
117
117
  ] });
118
118
  const pillClass = cx("group/st inline-flex items-center gap-2 rounded-[6px] text-[13px] font-medium text-ink", ring);
119
119
  const shown = hover ?? null;
@@ -199,9 +199,10 @@ function StatusFooter({
199
199
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
200
200
  /* @__PURE__ */ jsxs("div", { className: "relative min-w-0 flex-1 @min-[600px]:flex-none", children: [
201
201
  /* @__PURE__ */ jsx("label", { htmlFor: langId, className: "sr-only", children: "Language" }),
202
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: "pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.4", children: [
203
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "5.8" }),
204
- /* @__PURE__ */ jsx("path", { d: "M2.2 8h11.6M8 2.2c1.7 1.6 2.5 3.5 2.5 5.8S9.7 12.2 8 13.8M8 2.2C6.3 3.8 5.5 5.7 5.5 8s.8 4.2 2.5 5.8" })
202
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: "pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", children: [
203
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
204
+ /* @__PURE__ */ jsx("path", { d: "M3.5 12h17" }),
205
+ /* @__PURE__ */ jsx("path", { d: "M12 3.5c2.5 2.6 3.5 5.5 3.5 8.5s-1 5.9-3.5 8.5C9.5 17.9 8.5 15 8.5 12s1-5.9 3.5-8.5Z" })
205
206
  ] }),
206
207
  /* @__PURE__ */ jsx(
207
208
  "select",
@@ -217,7 +218,7 @@ function StatusFooter({
217
218
  children: languages.map((l) => /* @__PURE__ */ jsx("option", { value: l.value, children: l.label }, l.value))
218
219
  }
219
220
  ),
220
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: "pointer-events-none absolute right-2.5 top-1/2 h-3 w-3 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
221
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: "pointer-events-none absolute right-2.5 top-1/2 h-3 w-3 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
221
222
  ] }),
222
223
  /* @__PURE__ */ jsxs(
223
224
  "button",
@@ -230,7 +231,10 @@ function StatusFooter({
230
231
  ring
231
232
  ),
232
233
  children: [
233
- /* @__PURE__ */ jsx("span", { className: "relative grid h-3.5 w-3.5 place-items-center overflow-hidden", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: cx("h-3.5 w-3.5", fly > 0 && "aui-f28-fly"), fill: "none", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M8 13V3M4 7l4-4 4 4" }) }, fly) }),
234
+ /* @__PURE__ */ jsx("span", { className: "relative grid h-3.5 w-3.5 place-items-center overflow-hidden", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: cx("h-3.5 w-3.5", fly > 0 && "aui-f28-fly"), fill: "none", stroke: "currentColor", strokeWidth: "2.85", strokeLinecap: "round", strokeLinejoin: "round", children: [
235
+ /* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
236
+ /* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
237
+ ] }, fly) }),
234
238
  "Back to top"
235
239
  ]
236
240
  }
@@ -129,7 +129,10 @@ function CtaFooter({
129
129
  ),
130
130
  children: [
131
131
  primary.label,
132
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: cx("h-3.5 w-3.5 transition-transform duration-300 group-hover/cta:translate-x-0.5 motion-reduce:transition-none", EASE), fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M3 8h10M9 4l4 4-4 4" }) })
132
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: cx("h-3.5 w-3.5 transition-transform duration-300 group-hover/cta:translate-x-0.5 motion-reduce:transition-none", EASE), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", children: [
133
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
134
+ /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
135
+ ] })
133
136
  ]
134
137
  }
135
138
  ),
@@ -168,7 +171,7 @@ function CtaFooter({
168
171
  children: languages.map((l) => /* @__PURE__ */ jsx("option", { value: l.value, children: l.label }, l.value))
169
172
  }
170
173
  ),
171
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": true, className: "pointer-events-none absolute right-2.5 top-1/2 h-3 w-3 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
174
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "aria-hidden": true, className: "pointer-events-none absolute right-2.5 top-1/2 h-3 w-3 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
172
175
  ] })
173
176
  ] })
174
177
  ] })
@@ -10,18 +10,18 @@ var KEYFRAMES = `@keyframes asta-ta-in { from { opacity: 0; transform: translate
10
10
  @keyframes asta-ta-menu { from { opacity: 0; transform: translateY(-4px) scale(.96) } }
11
11
  @keyframes asta-ta-spin { to { transform: rotate(360deg) } }
12
12
  @media (prefers-reduced-motion: reduce) { .asta-ta-a, .asta-ta-a * { animation: none !important; transition-duration: 0s !important } }`;
13
- var svg = { viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
13
+ var svg = { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.25, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
14
14
  var KIND = {
15
- sql: /* @__PURE__ */ jsx("path", { d: "M3 4c0-1.1 2.2-2 5-2s5 .9 5 2-2.2 2-5 2-5-.9-5-2Zm0 0v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2" }),
16
- shell: /* @__PURE__ */ jsx("path", { d: "M2.5 3.5h11v9h-11zM5 7l1.8 1.5L5 10M8.5 10.5h2.5" }),
17
- file: /* @__PURE__ */ jsx("path", { d: "M9 2H4.5v12h7V4.5zM9 2v2.5h2.5M6.5 8.5h3M6.5 11h3" }),
18
- web: /* @__PURE__ */ jsx("path", { d: "M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12ZM2 8h12M8 2c1.6 1.7 2.4 3.7 2.4 6S9.6 12.3 8 14c-1.6-1.7-2.4-3.7-2.4-6S6.4 3.7 8 2Z" }),
19
- mail: /* @__PURE__ */ jsx("path", { d: "M2 4h12v8.5H2zM2.5 4.5 8 9l5.5-4.5" })
15
+ sql: /* @__PURE__ */ jsx("path", { d: "M5 6a7 2.5 0 1 0 14 0a7 2.5 0 1 0-14 0M5 6v12c0 1.4 3.1 2.5 7 2.5s7-1.1 7-2.5V6M5 12c0 1.4 3.1 2.5 7 2.5s7-1.1 7-2.5" }),
16
+ shell: /* @__PURE__ */ jsx("path", { d: "M5.5 4.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2ZM7.5 9.5l3 2.5-3 2.5M12.5 15h4" }),
17
+ file: /* @__PURE__ */ jsx("path", { d: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5M9 13h6M9 16.5h4" }),
18
+ web: /* @__PURE__ */ jsx("path", { d: "M3.5 12a8.5 8.5 0 1 0 17 0a8.5 8.5 0 1 0-17 0M3.5 12h17M12 3.5c2.5 2.6 3.5 5.5 3.5 8.5s-1 5.9-3.5 8.5C9.5 17.9 8.5 15 8.5 12s1-5.9 3.5-8.5Z" }),
19
+ mail: /* @__PURE__ */ jsx("path", { d: "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" })
20
20
  };
21
21
  var RISK = {
22
- read: { word: "Read only", icon: /* @__PURE__ */ jsx("path", { d: "M1.5 8S4 3.5 8 3.5 14.5 8 14.5 8 12 12.5 8 12.5 1.5 8 1.5 8ZM8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" }) },
23
- write: { word: "Changes data", icon: /* @__PURE__ */ jsx("path", { d: "M10.5 2.5 13.5 5.5 6 13H3v-3zM9 4l3 3" }) },
24
- destructive: { word: "Can't be undone", icon: /* @__PURE__ */ jsx("path", { d: "M8 2.5 14 13H2zM8 6.5v3M8 11.2h.01" }) }
22
+ read: { word: "Read only", icon: /* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0ZM9.25 12a2.75 2.75 0 1 0 5.5 0a2.75 2.75 0 1 0-5.5 0" }) },
23
+ write: { word: "Changes data", icon: /* @__PURE__ */ jsx("path", { d: "M4.5 19.5 5 16 15.5 5.5a2.1 2.1 0 0 1 3 3L8 19ZM13.5 7.5l3 3" }) },
24
+ destructive: { word: "Can't be undone", icon: /* @__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 0ZM12 9.5v4M12 17h.01" }) }
25
25
  };
26
26
  var fmt = (ms) => ms < 1e3 ? `${Math.max(1, Math.round(ms / 100)) / 10}s` : `${(ms / 1e3).toFixed(1)}s`;
27
27
  function Kbd({ children }) {
@@ -185,7 +185,7 @@ function Card({ call, index, count, onDecide }) {
185
185
  "aria-controls": menu ? menuId : void 0,
186
186
  onClick: () => setMenu(!menu),
187
187
  className: "grid h-8 w-7 place-items-center rounded-r-md bg-ink text-paper shadow-[inset_1px_0_0_color-mix(in_srgb,var(--paper)_22%,transparent)] outline-none transition-[background-color,transform] duration-150 hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))] active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
188
- children: /* @__PURE__ */ jsx("svg", { ...svg, strokeWidth: 1.7, className: cx("h-3.5 w-3.5 transition-transform duration-300", menu && "rotate-180"), style: { transitionTimingFunction: CURVE }, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
188
+ children: /* @__PURE__ */ jsx("svg", { ...svg, strokeWidth: 2.55, className: cx("h-3.5 w-3.5 transition-transform duration-300", menu && "rotate-180"), style: { transitionTimingFunction: CURVE }, children: /* @__PURE__ */ jsx("path", { d: "M6 9.5l6 6 6-6" }) })
189
189
  }
190
190
  ),
191
191
  menu && /* @__PURE__ */ jsx(
@@ -234,7 +234,7 @@ function Receipt({ call, r }) {
234
234
  /* @__PURE__ */ jsx("span", { className: cx("grid h-4 w-4 shrink-0 place-items-center", denied || r.state === "error" ? "text-ink" : "text-brand"), children: r.state === "running" ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 animate-[asta-ta-spin_.8s_linear_infinite]", fill: "none", "aria-hidden": true, children: [
235
235
  /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6", stroke: "currentColor", strokeOpacity: ".2", strokeWidth: "2" }),
236
236
  /* @__PURE__ */ jsx("path", { d: "M14 8a6 6 0 0 0-6-6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
237
- ] }) : /* @__PURE__ */ jsx("svg", { ...svg, strokeWidth: 1.8, className: "h-3.5 w-3.5", children: denied ? /* @__PURE__ */ jsx("path", { d: "M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12ZM3.8 12.2l8.4-8.4" }) : r.state === "error" ? /* @__PURE__ */ jsx("path", { d: "M8 2.5 14 13H2zM8 6.5v3M8 11.2h.01" }) : /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" }) }) }),
237
+ ] }) : /* @__PURE__ */ jsx("svg", { ...svg, strokeWidth: 2.7, className: "h-3.5 w-3.5", children: denied ? /* @__PURE__ */ jsx("path", { d: "M3.5 12a8.5 8.5 0 1 0 17 0a8.5 8.5 0 1 0-17 0M6 6l12 12" }) : r.state === "error" ? /* @__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 0ZM12 9.5v4M12 17h.01" }) : /* @__PURE__ */ jsx("path", { d: "M5 12.5l4.5 4.5L19 7.5" }) }) }),
238
238
  /* @__PURE__ */ jsx("span", { className: "font-medium text-ink", children: word }),
239
239
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "text-mute", children: "\xB7" }),
240
240
  /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate font-mono text-[12px] text-ink-2", children: call.tool }),
@@ -31,10 +31,10 @@ function Checkbox({ checked, defaultChecked = false, onCheckedChange, disabled,
31
31
  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)]"
32
32
  ),
33
33
  children: [
34
- /* @__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(
34
+ /* @__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(
35
35
  "path",
36
36
  {
37
- d: "M3.5 8.5l3 3 6-7",
37
+ d: "m5 12.5 4.5 4.5L19 7.5",
38
38
  pathLength: 1,
39
39
  strokeDasharray: "1",
40
40
  className: "transition-[stroke-dashoffset] ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none",
@@ -27,7 +27,7 @@ function Mark({ text, q }) {
27
27
  text.slice(i + q.length)
28
28
  ] });
29
29
  }
30
- var Icon = ({ d, className }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-4 w-4 shrink-0", className), fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: d });
30
+ var Icon = ({ d, className }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 shrink-0", className), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: d });
31
31
  function SearchField({
32
32
  placeholder = "Search Astabyte\u2026",
33
33
  recent: recentProp = RECENT,
@@ -125,10 +125,10 @@ function SearchField({
125
125
  children: [
126
126
  item.kind === "recent" ? /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsxs(Fragment, { children: [
127
127
  /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "5.75" }),
128
- /* @__PURE__ */ jsx("path", { d: "M8 5v3l2 1.25" })
128
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v4.5l3 1.875" })
129
129
  ] }), className: "text-mute" }) : /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsxs(Fragment, { children: [
130
130
  /* @__PURE__ */ jsx("rect", { x: "2.25", y: "2.25", width: "11.5", height: "11.5", rx: "2.5" }),
131
- /* @__PURE__ */ jsx("path", { d: "M6 8h4M8.5 6 10.5 8l-2 2" })
131
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15M13 6l6 6-6 6" })
132
132
  ] }), className: "text-mute" }),
133
133
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: /* @__PURE__ */ jsx(Mark, { text: item.label, q: q.trim() }) }),
134
134
  item.kind === "recent" ? /* @__PURE__ */ jsx(
@@ -142,13 +142,13 @@ function SearchField({
142
142
  setRecent((r) => r.filter((x) => x !== item.label));
143
143
  },
144
144
  className: "grid h-6 w-6 place-items-center rounded-[6px] text-mute opacity-0 transition-opacity duration-200 hover:text-[var(--aui030-fg)] group-hover/r:opacity-100",
145
- children: /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsx("path", { d: "M4.5 4.5l7 7M11.5 4.5l-7 7" }), className: "h-3 w-3" })
145
+ children: /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsx("path", { d: "M6 6l12 12M18 6 6 18" }), className: "h-3 w-3" })
146
146
  }
147
147
  ) : /* @__PURE__ */ jsx("span", { className: "text-[12px] text-mute", children: item.meta }),
148
148
  /* @__PURE__ */ jsx(
149
149
  Icon,
150
150
  {
151
- d: /* @__PURE__ */ jsx("path", { d: "M3 8h9M8.5 4.5 12 8l-3.5 3.5" }),
151
+ d: /* @__PURE__ */ jsx("path", { d: "M4 12h15M13 6l6 6-6 6" }),
152
152
  className: cx("h-3.5 w-3.5 transition-[transform,opacity] duration-300", i === idx ? "translate-x-0 opacity-100" : "-translate-x-1 opacity-0")
153
153
  }
154
154
  )
@@ -237,7 +237,7 @@ function SearchField({
237
237
  q ? "rotate-0 scale-100 opacity-100" : "pointer-events-none -rotate-90 scale-50 opacity-0"
238
238
  ),
239
239
  style: { transitionTimingFunction: EASE },
240
- children: /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsx("path", { d: "M5 5l6 6M11 5l-6 6" }), className: "h-3 w-3" })
240
+ children: /* @__PURE__ */ jsx(Icon, { d: /* @__PURE__ */ jsx("path", { d: "M6 6l12 12M18 6 6 18" }), className: "h-3 w-3" })
241
241
  }
242
242
  )
243
243
  ] })
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Select
4
- } from "./chunk-JLCSRNI2.js";
4
+ } from "./chunk-4MBIQUM2.js";
5
5
  import {
6
6
  Avatar
7
7
  } from "./chunk-7IOMROVG.js";
@@ -134,7 +134,10 @@ function EmailChips({
134
134
  input.current?.focus();
135
135
  },
136
136
  className: "grid h-5 w-5 place-items-center rounded text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
137
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M3 3l6 6M9 3 3 9" }) })
137
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
138
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
139
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
140
+ ] })
138
141
  }
139
142
  )
140
143
  ]
@@ -427,7 +430,10 @@ function TeamMembers({
427
430
  disabled: m.you,
428
431
  onClick: () => remove(m),
429
432
  className: iconBtn,
430
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M4.5 4.5l7 7M11.5 4.5l-7 7" }) })
433
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
434
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
435
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
436
+ ] })
431
437
  }
432
438
  )
433
439
  ] }) }, m.id);
@@ -437,9 +443,9 @@ function TeamMembers({
437
443
  /* @__PURE__ */ jsx("ul", { children: invites.map((inv) => {
438
444
  const again = resent.includes(inv.id);
439
445
  return /* @__PURE__ */ jsxs("li", { ref: inviteFlip.reg(inv.id), className: "flex h-[52px] items-center gap-3 px-1 sm:px-3", style: { animation: `kit-tm-in .4s ${CURVE}` }, children: [
440
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-8 w-8 shrink-0 place-items-center rounded-full shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.4", strokeLinejoin: "round", "aria-hidden": true, children: [
441
- /* @__PURE__ */ jsx("rect", { x: "2", y: "3.5", width: "12", height: "9", rx: "1.6" }),
442
- /* @__PURE__ */ jsx("path", { d: "m2.5 4.5 5.5 4 5.5-4" })
446
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-8 w-8 shrink-0 place-items-center rounded-full shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] text-mute", children: /* @__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: [
447
+ /* @__PURE__ */ jsx("rect", { x: "3.5", y: "5.5", width: "17", height: "13", rx: "2" }),
448
+ /* @__PURE__ */ jsx("path", { d: "m4 7 8 6 8-6" })
443
449
  ] }) }),
444
450
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
445
451
  /* @__PURE__ */ jsx("p", { className: "truncate text-[13.5px] text-ink", children: inv.email }),
@@ -6,6 +6,7 @@ import {
6
6
  // components/lab/blocks/TradeTicket.tsx
7
7
  import { useEffect, useRef, useState } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
+ var USD2 = new Intl.NumberFormat("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
9
10
  var UP = "var(--brand)";
10
11
  var DOWN = "var(--ink)";
11
12
  var EASE = "cubic-bezier(.16,1,.3,1)";
@@ -141,7 +142,7 @@ function TradeTicket() {
141
142
  ] }),
142
143
  /* @__PURE__ */ jsxs("p", { className: "mt-2 font-mono text-[12px] tabular-nums text-mute", children: [
143
144
  "\u2248 $",
144
- usd.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
145
+ USD2.format(usd)
145
146
  ] })
146
147
  ] }),
147
148
  /* @__PURE__ */ jsxs(
@@ -15,14 +15,14 @@ var KEYFRAMES = `@keyframes asta-pc-orbit { from { transform: translate(-50%, -5
15
15
  }`;
16
16
  var EASE = "cubic-bezier(.16,1,.3,1)";
17
17
  var GLYPH = {
18
- file: "M9 2.5H5A1.5 1.5 0 0 0 3.5 4v8A1.5 1.5 0 0 0 5 13.5h6a1.5 1.5 0 0 0 1.5-1.5V6L9 2.5ZM9 2.5V6h3.5",
19
- doc: "M4.5 2.5h7a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1ZM6 6h4M6 8.5h4M6 11h2.5",
20
- person: "M8 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM3.5 13.5c.6-2.2 2.3-3.5 4.5-3.5s3.9 1.3 4.5 3.5",
21
- command: "m10 3-4 10"
18
+ file: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5",
19
+ doc: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5M9 13h6M9 16.5h4",
20
+ person: "M8.25 8.5a3.75 3.75 0 1 0 7.5 0a3.75 3.75 0 1 0-7.5 0M5 20a7 7 0 0 1 14 0",
21
+ command: "M4.5 7l5 5-5 5M12 17.5h7.5"
22
22
  };
23
- var svg = (d, cls = "h-3.5 w-3.5") => `<svg viewBox="0 0 16 16" class="${cls} shrink-0" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="${d}"/></svg>`;
23
+ var svg = (d, cls = "h-3.5 w-3.5") => `<svg viewBox="0 0 24 24" class="${cls} shrink-0" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="${d}"/></svg>`;
24
24
  function Icon({ d, className = "h-4 w-4" }) {
25
- return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("shrink-0", className), fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
25
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("shrink-0", className), fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
26
26
  }
27
27
  var CHIP = "mx-px inline-flex items-center gap-1 whitespace-nowrap rounded-[5px] px-1.5 align-baseline text-[0.93em] font-medium leading-[1.5] [animation:asta-pc-chip_.2s_cubic-bezier(.16,1,.3,1)]";
28
28
  var CHIP_MENTION = "bg-[color-mix(in_srgb,var(--brand)_11%,transparent)] text-brand";
@@ -380,7 +380,7 @@ function PromptComposer({
380
380
  ed.current?.focus();
381
381
  },
382
382
  className: "grid h-7 w-7 shrink-0 place-items-center rounded-md text-mute outline-none transition-colors hover:bg-paper hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
383
- children: /* @__PURE__ */ jsx(Icon, { d: "m4.5 4.5 7 7M11.5 4.5l-7 7", className: "h-3 w-3" })
383
+ children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3 w-3" })
384
384
  }
385
385
  )
386
386
  ] }, id)) }),
@@ -441,7 +441,7 @@ function PromptComposer({
441
441
  title: "Attach files",
442
442
  onClick: () => picker.current?.click(),
443
443
  className: "grid h-8 w-8 shrink-0 place-items-center rounded-md text-ink-2 outline-none transition-colors duration-150 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-45",
444
- children: /* @__PURE__ */ jsx(Icon, { d: "M13 7.5 8.2 12.3a3 3 0 0 1-4.3-4.2l5-5a2 2 0 0 1 2.8 2.8l-5 5a1 1 0 0 1-1.4-1.4L9.8 5" })
444
+ children: /* @__PURE__ */ jsx(Icon, { d: "M19 11.5l-7.4 7.4a4.5 4.5 0 0 1-6.4-6.4L13 4.7a3 3 0 0 1 4.2 4.2l-7.7 7.7a1.5 1.5 0 0 1-2.1-2.1l7-7" })
445
445
  }
446
446
  ),
447
447
  model,
@@ -468,7 +468,7 @@ function PromptComposer({
468
468
  "aria-label": "Send message",
469
469
  className: "grid h-8 w-8 shrink-0 place-items-center rounded-lg bg-brand text-on-brand outline-none transition-[opacity,transform] duration-150 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",
470
470
  style: { animation: `asta-pc-chip .22s ${EASE}` },
471
- children: /* @__PURE__ */ jsx(Icon, { d: "M8 13V3M3.5 7.5 8 3l4.5 4.5" })
471
+ children: /* @__PURE__ */ jsx(Icon, { d: "M12 20V5M6 11l6-6 6 6" })
472
472
  },
473
473
  "send"
474
474
  )
@@ -477,7 +477,7 @@ function PromptComposer({
477
477
  }
478
478
  ),
479
479
  /* @__PURE__ */ jsx("p", { className: cx("mt-2 flex min-h-[18px] items-center gap-1.5 px-1 text-[12px]", error ? "font-medium text-ink" : "text-mute"), role: error ? "alert" : void 0, children: error ? /* @__PURE__ */ jsxs(Fragment, { children: [
480
- /* @__PURE__ */ jsx(Icon, { d: "M8 2.5 14 13H2zM8 6.5v3M8 11.2h.01", className: "h-3.5 w-3.5" }),
480
+ /* @__PURE__ */ jsx(Icon, { 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 0ZM12 9.5v4M12 17h.01", className: "h-3.5 w-3.5" }),
481
481
  error
482
482
  ] }) : running ? "Astabyte is working. Press Esc or Stop to end the run." : /* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: "Enter to send \xB7 Shift + Enter for a new line \xB7 @ to mention \xB7 / for commands" }) })
483
483
  ] });
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-5ZQ6PMJT.js";
5
5
 
6
6
  // components/kit/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}.` : "" })
@@ -60,12 +60,12 @@ function IconSwitch({
60
60
  children: [
61
61
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute inset-0 rounded-full bg-paper/[0.12] shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--paper)_10%,transparent)]" }),
62
62
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute inset-0 rounded-full bg-brand shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_0_18px_-2px_color-mix(in_srgb,var(--brand)_70%,transparent)] transition-opacity duration-300", style: { opacity: on ? 1 : 0 } }),
63
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute left-[3px] top-[3px] grid h-[30px] w-[30px] place-items-center rounded-full bg-paper text-ink shadow-[0_1px_2px_rgb(0_0_0/0.3),0_4px_10px_-2px_rgb(0_0_0/0.35)] transition-transform duration-500", style: { transform: `translateX(${on ? 28 : 0}px)`, transitionTimingFunction: SPRING }, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", className: "h-[15px] w-[15px] overflow-visible", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", children: [
64
- /* @__PURE__ */ jsxs("g", { style: { transformOrigin: "10px 3px", animation: rings ? `aui059-ring .8s ${EASE} 120ms both` : void 0 }, children: [
65
- /* @__PURE__ */ jsx("path", { d: "M5 13.5V9a5 5 0 0110 0v4.5l1.5 1.5h-13z", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } }),
66
- /* @__PURE__ */ jsx("path", { d: "M8.2 17a2 2 0 003.6 0", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } })
63
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute left-[3px] top-[3px] grid h-[30px] w-[30px] place-items-center rounded-full bg-paper text-ink shadow-[0_1px_2px_rgb(0_0_0/0.3),0_4px_10px_-2px_rgb(0_0_0/0.35)] transition-transform duration-500", style: { transform: `translateX(${on ? 28 : 0}px)`, transitionTimingFunction: SPRING }, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[15px] w-[15px] overflow-visible", fill: "none", stroke: "currentColor", strokeWidth: "2.04", strokeLinecap: "round", strokeLinejoin: "round", children: [
64
+ /* @__PURE__ */ jsxs("g", { style: { transformOrigin: "12px 4.5px", animation: rings ? `aui059-ring .8s ${EASE} 120ms both` : void 0 }, children: [
65
+ /* @__PURE__ */ jsx("path", { d: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3Z", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } }),
66
+ /* @__PURE__ */ jsx("path", { d: "M10 19.5a2 2 0 0 0 4 0", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } })
67
67
  ] }, rings),
68
- /* @__PURE__ */ jsx("path", { d: "M3 3l14 14", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 1 : 0, transitionDuration: on ? "160ms" : "420ms", transitionDelay: on ? "0ms" : "140ms", transitionTimingFunction: EASE } })
68
+ /* @__PURE__ */ jsx("path", { d: "m4 4 16 16", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 1 : 0, transitionDuration: on ? "160ms" : "420ms", transitionDelay: on ? "0ms" : "140ms", transitionTimingFunction: EASE } })
69
69
  ] }) })
70
70
  ]
71
71
  }
@@ -5,7 +5,7 @@ import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var KEYFRAMES = `@keyframes asta-crumb-menu { from { opacity: 0; transform: translateY(-4px) scale(.97) } }`;
8
- var Chevron = () => /* @__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: "m6 3.5 4.5 4.5L6 12.5" }) });
8
+ var Chevron = () => /* @__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: "m9.5 6 6 6-6 6" }) });
9
9
  var LINK = "flex min-w-0 items-center gap-1.5 rounded-md text-mute outline-none transition-colors hover:text-ink focus-visible:text-ink focus-visible:ring-2 focus-visible:ring-brand/50";
10
10
  function Item({ item, current, renderLink }) {
11
11
  const body = /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -74,10 +74,10 @@ function Overflow({ items }) {
74
74
  "flex h-6 w-7 items-center justify-center rounded-md text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
75
75
  open && "bg-paper-2 text-ink"
76
76
  ),
77
- children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "currentColor", "aria-hidden": true, children: [
78
- /* @__PURE__ */ jsx("circle", { cx: "3.5", cy: "8", r: "1.25" }),
79
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "1.25" }),
80
- /* @__PURE__ */ jsx("circle", { cx: "12.5", cy: "8", r: "1.25" })
77
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "currentColor", stroke: "currentColor", strokeWidth: "1.75", "aria-hidden": true, children: [
78
+ /* @__PURE__ */ jsx("circle", { cx: "5.5", cy: "12", r: "1" }),
79
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
80
+ /* @__PURE__ */ jsx("circle", { cx: "18.5", cy: "12", r: "1" })
81
81
  ] })
82
82
  }
83
83
  ),
@@ -131,7 +131,6 @@ function Breadcrumb({ items, separator, collapse = "auto", renderLink, className
131
131
  }
132
132
  setFit(n);
133
133
  };
134
- calc();
135
134
  const ro = new ResizeObserver(calc);
136
135
  ro.observe(wrap.current);
137
136
  return () => ro.disconnect();
@@ -0,0 +1,41 @@
1
+ "use client";
2
+
3
+ // components/kit/variants/button-aui-064.tsx
4
+ import { jsxs } from "react/jsx-runtime";
5
+ var cx = (...c) => c.filter(Boolean).join(" ");
6
+ var TONE = {
7
+ primary: "text-on-brand 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%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.28),inset_0_-1px_0_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--brand)_78%,black),0_2px_4px_-1px_color-mix(in_srgb,var(--brand)_45%,transparent),0_6px_14px_-6px_color-mix(in_srgb,var(--brand)_50%,transparent)] hover:brightness-[1.06]",
8
+ dark: "text-paper bg-[linear-gradient(180deg,color-mix(in_srgb,var(--ink)_72%,var(--paper))_0%,var(--ink)_60%,var(--ink)_100%)] 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.35),0_6px_14px_-6px_rgb(0_0_0/0.4)] hover:brightness-[1.12]",
9
+ outline: "text-ink bg-[linear-gradient(180deg,var(--paper)_0%,color-mix(in_srgb,var(--paper-2)_70%,var(--paper))_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.5),0_0_0_1px_color-mix(in_srgb,var(--ink)_13%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_10px_-6px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:brightness-[0.98]",
10
+ // For dark surfaces: a pale raised button with a deeper drop.
11
+ light: "text-ink bg-[linear-gradient(180deg,var(--paper)_0%,var(--paper-2)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.6),0_0_0_1px_rgb(0_0_0/0.25),0_6px_16px_-6px_rgb(0_0_0/0.5)] hover:brightness-[0.97]",
12
+ ghost: "text-ink-2 hover:bg-paper-2 hover:text-ink"
13
+ };
14
+ var SIZE = {
15
+ sm: "h-8 gap-1.5 rounded-[7px] px-3 text-[13px]",
16
+ md: "h-9 gap-2 rounded-[8px] px-3.5 text-[13.5px]",
17
+ lg: "h-11 gap-2 rounded-[9px] px-5 text-[15px]"
18
+ };
19
+ var ICON_ONLY = { sm: "w-8 px-0", md: "w-9 px-0", lg: "w-11 px-0" };
20
+ function raisedClass({ tone = "primary", size = "md", iconOnly = false } = {}) {
21
+ return cx(
22
+ "relative inline-flex select-none items-center justify-center whitespace-nowrap font-medium transition-[transform,color,background-color] 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 aria-disabled:pointer-events-none aria-disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand [&_svg]:size-4 [&_svg]:shrink-0",
23
+ SIZE[size],
24
+ TONE[tone],
25
+ iconOnly && ICON_ONLY[size]
26
+ );
27
+ }
28
+ function RaisedButton({ tone, size, iconOnly, iconLeft, iconRight, className, children, type = "button", ...rest }) {
29
+ return /* @__PURE__ */ jsxs("button", { type, ...rest, className: cx(raisedClass({ tone, size, iconOnly }), className), children: [
30
+ iconLeft,
31
+ children,
32
+ iconRight
33
+ ] });
34
+ }
35
+ var button_aui_064_default = RaisedButton;
36
+
37
+ export {
38
+ raisedClass,
39
+ RaisedButton,
40
+ button_aui_064_default
41
+ };
@@ -76,7 +76,10 @@ function SegmentRadio({ options = OPTIONS, value, defaultValue = "1w", onChange,
76
76
  className: cx("mb-1 inline-flex h-6 items-center gap-1 rounded-[6px] px-2 text-[12px] font-medium tabular-nums", up ? "bg-[color-mix(in_srgb,var(--brand)_30%,transparent)] text-paper" : "bg-paper/10 text-paper/70"),
77
77
  style: { animation: `aui056-fade .4s ${EASE} both` },
78
78
  children: [
79
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, style: { transform: up ? "none" : "rotate(180deg)" }, children: /* @__PURE__ */ jsx("path", { d: "M6 9.5v-7M2.5 6L6 2.5 9.5 6" }) }),
79
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, style: { transform: up ? "none" : "rotate(180deg)" }, children: [
80
+ /* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
81
+ /* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
82
+ ] }),
80
83
  up ? "+" : "\u2212",
81
84
  Math.abs(opt.change).toFixed(1),
82
85
  "%"