asta-ui 0.9.7 → 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 (641) hide show
  1. package/bin/asta-ui.mjs +43 -7
  2. package/css/asta.css +2 -2
  3. package/css/asta.js +192 -45
  4. package/css/components.css +92 -81
  5. package/css/runtime/agent.js +31 -10
  6. package/css/runtime/assist.js +0 -1
  7. package/css/runtime/blocks.js +15 -3
  8. package/css/runtime/core.js +3 -3
  9. package/css/runtime/forms.js +2 -2
  10. package/css/runtime/modules.js +30 -9
  11. package/css/runtime/overlays.js +110 -16
  12. package/css/src/assist.css +4 -4
  13. package/css/src/blocks.css +12 -12
  14. package/css/src/controls.css +3 -3
  15. package/css/src/core.css +23 -23
  16. package/css/src/data.css +10 -10
  17. package/css/src/display.css +5 -5
  18. package/css/src/forms.css +3 -3
  19. package/css/src/overlays.css +32 -21
  20. package/css/tokens.css +3 -0
  21. package/dist/accordion.js +1 -1
  22. package/dist/add-to-cart.js +2 -1
  23. package/dist/agent-plan.js +1 -1
  24. package/dist/agent-team.js +1 -1
  25. package/dist/ai-chat.js +1 -1
  26. package/dist/alert.js +1 -1
  27. package/dist/announcement-bar.js +1 -1
  28. package/dist/api-keys.js +2 -2
  29. package/dist/autonomy-dial.js +2 -1
  30. package/dist/avatar-group.js +2 -2
  31. package/dist/avatar.js +1 -1
  32. package/dist/badge.js +1 -1
  33. package/dist/base/accordion.js +1 -1
  34. package/dist/base/add-to-cart.js +2 -1
  35. package/dist/base/agent-plan.js +1 -1
  36. package/dist/base/agent-team.js +1 -1
  37. package/dist/base/ai-chat.js +1 -1
  38. package/dist/base/alert.js +1 -1
  39. package/dist/base/announcement-bar.js +1 -1
  40. package/dist/base/api-keys.js +2 -2
  41. package/dist/base/autonomy-dial.js +2 -1
  42. package/dist/base/avatar-group.js +2 -2
  43. package/dist/base/avatar.js +1 -1
  44. package/dist/base/badge.js +1 -1
  45. package/dist/base/billing.js +3 -3
  46. package/dist/base/booking-slots.js +2 -1
  47. package/dist/base/breadcrumb.js +1 -1
  48. package/dist/base/button-aui-064.d.ts +2 -0
  49. package/dist/base/button-aui-064.js +11 -0
  50. package/dist/base/button-aui-065.d.ts +2 -0
  51. package/dist/base/button-aui-065.js +9 -0
  52. package/dist/base/button-aui-066.d.ts +2 -0
  53. package/dist/base/button-aui-066.js +11 -0
  54. package/dist/base/button-aui-067.d.ts +2 -0
  55. package/dist/base/button-aui-067.js +9 -0
  56. package/dist/base/button-aui-068.d.ts +2 -0
  57. package/dist/base/button-aui-068.js +9 -0
  58. package/dist/base/button.js +1 -1
  59. package/dist/base/candlestick.js +1 -1
  60. package/dist/base/card-checkout.js +2 -1
  61. package/dist/base/carousel.js +1 -1
  62. package/dist/base/cart-drawer.js +2 -1
  63. package/dist/base/change-ledger.js +2 -1
  64. package/dist/base/chart-card.js +1 -1
  65. package/dist/base/chat-thread.js +2 -1
  66. package/dist/base/checkbox-aui-052.js +1 -1
  67. package/dist/base/checkbox-aui-053.js +1 -1
  68. package/dist/base/checkbox-aui-054.js +1 -1
  69. package/dist/base/checkbox.js +1 -1
  70. package/dist/base/checkout.js +3 -4
  71. package/dist/base/citations.js +1 -1
  72. package/dist/base/combobox-aui-046.js +1 -1
  73. package/dist/base/combobox-aui-047.js +1 -1
  74. package/dist/base/combobox.js +1 -1
  75. package/dist/base/command-palette.js +1 -1
  76. package/dist/base/comments.js +3 -3
  77. package/dist/base/context-menu.js +1 -1
  78. package/dist/base/context-meter.js +2 -2
  79. package/dist/base/cookie-consent.js +2 -2
  80. package/dist/base/copy-button.js +1 -1
  81. package/dist/base/data-table.js +1 -1
  82. package/dist/base/date-picker-aui-050.js +1 -1
  83. package/dist/base/date-picker-aui-051.js +1 -1
  84. package/dist/base/date-picker.js +1 -1
  85. package/dist/base/dialog.js +1 -1
  86. package/dist/base/drawer.js +1 -1
  87. package/dist/base/dropdown-menu.js +2 -2
  88. package/dist/base/elastic-string.js +2 -1
  89. package/dist/base/empty-state.js +2 -2
  90. package/dist/base/event-calendar.js +1 -1
  91. package/dist/base/fallback-chain.js +1 -1
  92. package/dist/base/field.js +1 -1
  93. package/dist/base/file-card.js +1 -1
  94. package/dist/base/file-manager.js +7 -7
  95. package/dist/base/file-upload.js +1 -1
  96. package/dist/base/flash-sale.js +1 -1
  97. package/dist/base/footer-aui-026.js +1 -1
  98. package/dist/base/footer-aui-027.js +1 -1
  99. package/dist/base/footer-aui-028.js +1 -1
  100. package/dist/base/footer.js +2 -2
  101. package/dist/base/gravity-pills.js +1 -1
  102. package/dist/base/hold-to-confirm.js +1 -1
  103. package/dist/base/image-compare.js +1 -1
  104. package/dist/base/inbox.js +3 -3
  105. package/dist/base/ink-trail.js +2 -1
  106. package/dist/base/inline-edit.js +1 -1
  107. package/dist/base/input-aui-029.js +1 -1
  108. package/dist/base/input-aui-030.js +1 -1
  109. package/dist/base/input-aui-031.js +1 -1
  110. package/dist/base/input-aui-032.js +1 -1
  111. package/dist/base/input-aui-033.js +1 -1
  112. package/dist/base/input.js +1 -1
  113. package/dist/base/invoice.js +2 -2
  114. package/dist/base/kanban.js +2 -2
  115. package/dist/base/menubar.js +1 -1
  116. package/dist/base/meter.js +1 -1
  117. package/dist/base/model-picker.js +1 -1
  118. package/dist/base/motion-button.js +1 -1
  119. package/dist/base/navbar-aui-009.js +1 -1
  120. package/dist/base/navbar-aui-010.js +1 -1
  121. package/dist/base/navbar-aui-011.js +1 -1
  122. package/dist/base/navbar-aui-012.js +1 -1
  123. package/dist/base/navbar-aui-013.js +1 -1
  124. package/dist/base/navbar-aui-014.js +1 -1
  125. package/dist/base/navbar.js +2 -2
  126. package/dist/base/needle-field.js +1 -1
  127. package/dist/base/notification-center.js +3 -3
  128. package/dist/base/notification-stack.js +2 -1
  129. package/dist/base/now-playing.js +2 -1
  130. package/dist/base/number-input.js +1 -1
  131. package/dist/base/onboarding.js +2 -2
  132. package/dist/base/otp-input-aui-041.js +1 -1
  133. package/dist/base/otp-input-aui-042.js +1 -1
  134. package/dist/base/pagination.js +1 -1
  135. package/dist/base/password-input-aui-040.js +1 -1
  136. package/dist/base/password-input.js +1 -1
  137. package/dist/base/pay-methods.js +2 -1
  138. package/dist/base/payment-received.js +2 -1
  139. package/dist/base/payment-status.js +2 -1
  140. package/dist/base/phone-input.js +1 -1
  141. package/dist/base/pixel-reveal.js +1 -1
  142. package/dist/base/plan-switcher.js +2 -1
  143. package/dist/base/popover.js +1 -1
  144. package/dist/base/price-alert.js +1 -1
  145. package/dist/base/price-chart.js +2 -1
  146. package/dist/base/pricing-aui-021.js +1 -1
  147. package/dist/base/pricing-aui-022.js +1 -1
  148. package/dist/base/pricing-aui-023.js +1 -1
  149. package/dist/base/pricing-aui-024.js +1 -1
  150. package/dist/base/pricing.js +2 -2
  151. package/dist/base/prompt-composer.js +1 -1
  152. package/dist/base/properties-panel.js +1 -1
  153. package/dist/base/radio-group-aui-055.js +1 -1
  154. package/dist/base/radio-group-aui-056.js +1 -1
  155. package/dist/base/radio-group-aui-057.js +1 -1
  156. package/dist/base/radio-group.js +1 -1
  157. package/dist/base/range-slider.js +1 -1
  158. package/dist/base/rating.js +1 -1
  159. package/dist/base/scramble-text.js +1 -1
  160. package/dist/base/scrub-input.js +1 -1
  161. package/dist/base/seat-picker.js +2 -1
  162. package/dist/base/segmented-control.js +1 -1
  163. package/dist/base/select-aui-043.js +1 -1
  164. package/dist/base/select-aui-044.js +1 -1
  165. package/dist/base/select-aui-045.js +1 -1
  166. package/dist/base/select.js +1 -1
  167. package/dist/base/settings-panel.js +2 -2
  168. package/dist/base/shipment-tracker.js +2 -1
  169. package/dist/base/sidebar.js +2 -2
  170. package/dist/base/sign-in-aui-015.js +1 -1
  171. package/dist/base/sign-in-aui-016.js +1 -1
  172. package/dist/base/sign-in-aui-017.js +1 -1
  173. package/dist/base/sign-in-aui-018.js +1 -1
  174. package/dist/base/sign-in-aui-019.js +1 -1
  175. package/dist/base/sign-in-aui-020.js +1 -1
  176. package/dist/base/sign-in.js +2 -2
  177. package/dist/base/skeleton.js +1 -1
  178. package/dist/base/slider-aui-062.js +1 -1
  179. package/dist/base/slider-aui-063.js +1 -1
  180. package/dist/base/slider.js +1 -1
  181. package/dist/base/snap-grid.js +1 -1
  182. package/dist/base/sortable-list.js +1 -1
  183. package/dist/base/spinner.js +1 -1
  184. package/dist/base/split-bill.js +1 -1
  185. package/dist/base/split-flap.js +2 -1
  186. package/dist/base/stat-card.js +1 -1
  187. package/dist/base/stepper.js +1 -1
  188. package/dist/base/switch-aui-058.js +1 -1
  189. package/dist/base/switch-aui-059.js +1 -1
  190. package/dist/base/switch-aui-060.js +1 -1
  191. package/dist/base/tabs.js +1 -1
  192. package/dist/base/tag-input-aui-048.js +1 -1
  193. package/dist/base/tag-input-aui-049.js +1 -1
  194. package/dist/base/tag-input.js +1 -1
  195. package/dist/base/team-members.js +4 -4
  196. package/dist/base/testimonials.js +2 -2
  197. package/dist/base/textarea-aui-002.js +1 -1
  198. package/dist/base/textarea-aui-003.js +1 -1
  199. package/dist/base/textarea-aui-005.js +1 -1
  200. package/dist/base/textarea-aui-006.js +1 -1
  201. package/dist/base/textarea-aui-007.js +1 -1
  202. package/dist/base/textarea-aui-008.js +1 -1
  203. package/dist/base/textarea-aui-036.js +1 -1
  204. package/dist/base/textarea-aui-037.js +1 -1
  205. package/dist/base/textarea-aui-038.js +1 -1
  206. package/dist/base/textarea.js +1 -1
  207. package/dist/base/thinking.js +1 -1
  208. package/dist/base/toast.js +1 -1
  209. package/dist/base/token-swap.js +2 -1
  210. package/dist/base/tool-approval.js +1 -1
  211. package/dist/base/tool-dock.js +1 -1
  212. package/dist/base/trace-waterfall.js +1 -1
  213. package/dist/base/trade-ticket.js +2 -1
  214. package/dist/base/tree-view.js +1 -1
  215. package/dist/base/variant-picker.js +2 -1
  216. package/dist/base/watchlist.js +1 -1
  217. package/dist/base/wishlist.js +2 -1
  218. package/dist/base/workspace-switcher.js +1 -1
  219. package/dist/base.js +227 -192
  220. package/dist/billing.js +3 -3
  221. package/dist/booking-slots.js +2 -1
  222. package/dist/breadcrumb.js +1 -1
  223. package/dist/button-aui-064.d.ts +2 -0
  224. package/dist/button-aui-064.js +11 -0
  225. package/dist/button-aui-065.d.ts +2 -0
  226. package/dist/button-aui-065.js +9 -0
  227. package/dist/button-aui-066.d.ts +2 -0
  228. package/dist/button-aui-066.js +11 -0
  229. package/dist/button-aui-067.d.ts +2 -0
  230. package/dist/button-aui-067.js +9 -0
  231. package/dist/button-aui-068.d.ts +2 -0
  232. package/dist/button-aui-068.js +9 -0
  233. package/dist/button.js +1 -1
  234. package/dist/candlestick.js +1 -1
  235. package/dist/card-checkout.js +2 -1
  236. package/dist/carousel.js +1 -1
  237. package/dist/cart-drawer.js +2 -1
  238. package/dist/change-ledger.js +2 -1
  239. package/dist/chart-card.js +1 -1
  240. package/dist/chat-thread.js +2 -1
  241. package/dist/checkbox-aui-052.js +1 -1
  242. package/dist/checkbox-aui-053.js +1 -1
  243. package/dist/checkbox-aui-054.js +1 -1
  244. package/dist/checkbox.js +1 -1
  245. package/dist/checkout.js +3 -4
  246. package/dist/{chunk-2F5CE6ZB.js → chunk-27W3F7NE.js} +7 -6
  247. package/dist/{chunk-TLODJONC.js → chunk-2DA4SEGX.js} +3 -3
  248. package/dist/{chunk-EKPTPTKK.js → chunk-2DECQKLI.js} +2 -2
  249. package/dist/chunk-2GLBURQR.js +85 -0
  250. package/dist/{chunk-YRPLUNP4.js → chunk-2H25OHYS.js} +18 -14
  251. package/dist/{chunk-VTTXURIB.js → chunk-32GWAA4A.js} +4 -3
  252. package/dist/{chunk-QASSYLQQ.js → chunk-3AJ4EBSV.js} +6 -5
  253. package/dist/{chunk-H4NFBYKY.js → chunk-3G2L5A4O.js} +8 -2
  254. package/dist/{chunk-OKCSTMX3.js → chunk-3LJ72YR4.js} +4 -1
  255. package/dist/{chunk-LOHFV5JF.js → chunk-3MH5O4HX.js} +7 -7
  256. package/dist/{chunk-ECGJ6D5D.js → chunk-3N7SRANH.js} +9 -5
  257. package/dist/{chunk-6RA7LJ3K.js → chunk-3OCWR4L3.js} +13 -8
  258. package/dist/{chunk-57PESBSZ.js → chunk-3PSV752Q.js} +1 -1
  259. package/dist/{chunk-QJXVIEB5.js → chunk-3QC5SYGC.js} +5 -5
  260. package/dist/{chunk-UJYZZSII.js → chunk-4ATDGYSC.js} +13 -9
  261. package/dist/{chunk-3UQIYJTI.js → chunk-4EX6JZ7C.js} +11 -4
  262. package/dist/{chunk-XYQI4ZYV.js → chunk-4GWJFDSU.js} +1 -1
  263. package/dist/{chunk-5OHHGQV6.js → chunk-4IPMVLH7.js} +4 -4
  264. package/dist/{chunk-JLCSRNI2.js → chunk-4MBIQUM2.js} +7 -7
  265. package/dist/{chunk-NIYIT2QU.js → chunk-4N2KNDOB.js} +3 -3
  266. package/dist/{chunk-SDOWCCM2.js → chunk-4P6EPSHA.js} +12 -7
  267. package/dist/{chunk-MDB4RFMV.js → chunk-4YF2XZY5.js} +6 -6
  268. package/dist/{chunk-7MBTBYTJ.js → chunk-56PRVZWW.js} +6 -6
  269. package/dist/{chunk-YJAZHJY3.js → chunk-56VKEODT.js} +1 -1
  270. package/dist/{chunk-3RMCFFW2.js → chunk-5CAZEFDX.js} +8 -8
  271. package/dist/{chunk-5DLY6FGD.js → chunk-5EYHX66O.js} +18 -9
  272. package/dist/{chunk-NZRQL3SA.js → chunk-5JLFPVXB.js} +6 -3
  273. package/dist/{chunk-UOOGRGEC.js → chunk-5SK7NMOG.js} +2 -1
  274. package/dist/{chunk-W5M3EHJL.js → chunk-5UARATD2.js} +12 -9
  275. package/dist/{chunk-Z2DF2YL5.js → chunk-5WVRC4BW.js} +1 -1
  276. package/dist/{chunk-ZWBJUJTR.js → chunk-5ZQ6PMJT.js} +2 -2
  277. package/dist/{chunk-6MPEI6V5.js → chunk-67BNR73B.js} +5 -5
  278. package/dist/{chunk-EN6XBXW5.js → chunk-6ZGHPBHD.js} +3 -2
  279. package/dist/{chunk-C2G5BUEG.js → chunk-74WYX24P.js} +23 -14
  280. package/dist/{chunk-PZ2ZUHC3.js → chunk-76NMSRFH.js} +19 -6
  281. package/dist/{chunk-FLCT7THQ.js → chunk-7AN76PIT.js} +2 -2
  282. package/dist/chunk-7DQJUZFY.js +139 -0
  283. package/dist/{chunk-77RFV2MG.js → chunk-7GUFM5QQ.js} +16 -11
  284. package/dist/{chunk-5RPJPL2V.js → chunk-7HI4HJFN.js} +62 -26
  285. package/dist/{chunk-IVCHYE55.js → chunk-7IOMROVG.js} +13 -8
  286. package/dist/{chunk-DU3CZ3K7.js → chunk-7RECQQQP.js} +19 -5
  287. package/dist/{chunk-UX6CWJT7.js → chunk-7TCU6IJX.js} +1 -1
  288. package/dist/{chunk-N3X4T5OR.js → chunk-A4CMX7CD.js} +26 -17
  289. package/dist/{chunk-ITGWD7ZY.js → chunk-A7TELQOW.js} +3 -3
  290. package/dist/{chunk-RQNXELUL.js → chunk-AAE4SLAV.js} +5 -2
  291. package/dist/{chunk-LDTCIVDX.js → chunk-AF2WLL3H.js} +2 -2
  292. package/dist/{chunk-YNPG4WOS.js → chunk-AIUW7VNA.js} +8 -5
  293. package/dist/{chunk-U6N7CZYN.js → chunk-AM63372L.js} +3 -3
  294. package/dist/{chunk-OBU2UOYI.js → chunk-B2GAISZU.js} +2 -3
  295. package/dist/{chunk-JX7V6EFT.js → chunk-B2SLXW63.js} +19 -15
  296. package/dist/{chunk-ZZ25XSK2.js → chunk-B3WWWKHW.js} +2 -1
  297. package/dist/{chunk-FFRJW5O7.js → chunk-B6KIW23F.js} +6 -5
  298. package/dist/{chunk-2LM3VHNO.js → chunk-BBILYMCF.js} +8 -4
  299. package/dist/{chunk-BIYNJDPD.js → chunk-BLZYUAE7.js} +6 -3
  300. package/dist/{chunk-CSTI5CTF.js → chunk-BNODQM6D.js} +14 -8
  301. package/dist/{chunk-TMOEFAXQ.js → chunk-BQL7HJSV.js} +27 -4
  302. package/dist/{chunk-FOJRZASV.js → chunk-BWAOBM2E.js} +32 -8
  303. package/dist/chunk-C5NGITT4.js +90 -0
  304. package/dist/{chunk-W2S6JDBM.js → chunk-CGMVTIMW.js} +13 -13
  305. package/dist/{chunk-DWA62IYV.js → chunk-CZKYSTF5.js} +7 -4
  306. package/dist/{chunk-EXX6YSUX.js → chunk-D3GC3QHM.js} +8 -6
  307. package/dist/{chunk-LKRE4HLZ.js → chunk-DAWISPMI.js} +84 -39
  308. package/dist/{chunk-SCQ6A4ZG.js → chunk-DSMKE64O.js} +10 -3
  309. package/dist/{chunk-OXLBH4QM.js → chunk-DXFIPXJJ.js} +6 -3
  310. package/dist/{chunk-RFVKRVTD.js → chunk-DY5Z45NW.js} +7 -4
  311. package/dist/{chunk-MAKFUH34.js → chunk-E6HAVXWS.js} +32 -18
  312. package/dist/{chunk-CZCZB5YP.js → chunk-E7Q7EP4K.js} +1 -1
  313. package/dist/{chunk-4YNUJFTL.js → chunk-EHBCXGBF.js} +7 -7
  314. package/dist/{chunk-Y4JOW2UW.js → chunk-EQVJUIF4.js} +14 -10
  315. package/dist/{chunk-PIXHOFUT.js → chunk-ET4NNKVK.js} +18 -11
  316. package/dist/{chunk-R3LWG23K.js → chunk-FC54ZZOS.js} +9 -14
  317. package/dist/{chunk-NPVUFQGC.js → chunk-FDI2X6DY.js} +1 -1
  318. package/dist/{chunk-F4CWSZXK.js → chunk-FEQPNCG7.js} +9 -6
  319. package/dist/{chunk-JNNMKFEQ.js → chunk-FGN7KDKD.js} +1 -1
  320. package/dist/{chunk-KEMMI76V.js → chunk-FJNJ2TLR.js} +2 -3
  321. package/dist/{chunk-Q5A5OTLI.js → chunk-FOHY7LPU.js} +1 -1
  322. package/dist/chunk-FS2PZKJY.js +43 -0
  323. package/dist/{chunk-BEV2X4YL.js → chunk-FZ3GCVH2.js} +53 -12
  324. package/dist/{chunk-D6LGKFZH.js → chunk-G23AGEY4.js} +1 -1
  325. package/dist/{chunk-SUWA7DM6.js → chunk-GPGIY2ZG.js} +8 -7
  326. package/dist/{chunk-EAHHWF3V.js → chunk-GQZPSVLB.js} +144 -46
  327. package/dist/{chunk-ZUH7XRX7.js → chunk-GTRJUSVK.js} +4 -3
  328. package/dist/{chunk-BV5HEXB5.js → chunk-GU5KNBTL.js} +12 -10
  329. package/dist/{chunk-FT66LAUZ.js → chunk-GUZHEEYG.js} +8 -7
  330. package/dist/{chunk-LS6CFF6X.js → chunk-GX4ZHNG7.js} +5 -1
  331. package/dist/{chunk-JAQKJBVJ.js → chunk-H3LVWLBS.js} +8 -7
  332. package/dist/{chunk-7UMBKY3H.js → chunk-H46UXFHV.js} +1 -1
  333. package/dist/{chunk-B4XRAVHL.js → chunk-HBKB2GXI.js} +32 -18
  334. package/dist/{chunk-DD2TBHSJ.js → chunk-HJ2FWSSM.js} +9 -9
  335. package/dist/{chunk-IS2VTYDA.js → chunk-HJD3NQST.js} +6 -3
  336. package/dist/{chunk-XNL5BLUR.js → chunk-HJMROSE4.js} +26 -14
  337. package/dist/{chunk-UXRTPEH7.js → chunk-HRQUTQSW.js} +9 -7
  338. package/dist/{chunk-WSL4JGEA.js → chunk-HSDMCZMX.js} +2 -2
  339. package/dist/{chunk-WO36QUH3.js → chunk-IDEK35SZ.js} +4 -1
  340. package/dist/{chunk-QYI7LQBQ.js → chunk-ITC5UU7V.js} +1 -1
  341. package/dist/{chunk-MPH64VG7.js → chunk-IUOKOPNY.js} +7 -6
  342. package/dist/{chunk-PAXDHYBX.js → chunk-IVTOFG7I.js} +79 -16
  343. package/dist/{chunk-MSBN2O66.js → chunk-J65FSZ6X.js} +1 -1
  344. package/dist/{chunk-YPFZXGPT.js → chunk-JZJWB5CQ.js} +18 -9
  345. package/dist/{chunk-TL32C2SQ.js → chunk-K3ASWIQF.js} +8 -2
  346. package/dist/{chunk-UTGEGGSE.js → chunk-K3SP537A.js} +12 -11
  347. package/dist/{chunk-ANL6VX4X.js → chunk-K5QMUHOG.js} +13 -10
  348. package/dist/{chunk-DNROUJ62.js → chunk-KCASF2IV.js} +17 -12
  349. package/dist/{chunk-FQ4YUKAE.js → chunk-KE33WVT2.js} +6 -6
  350. package/dist/{chunk-5N2G462S.js → chunk-KEPRNTOF.js} +8 -8
  351. package/dist/{chunk-JF4BKHFK.js → chunk-KKDIIZQG.js} +14 -8
  352. package/dist/{chunk-ZKMEKSJZ.js → chunk-KSNSN42X.js} +9 -4
  353. package/dist/{chunk-MUDW65ZT.js → chunk-KSZLBV3P.js} +36 -10
  354. package/dist/{chunk-HVFB44HO.js → chunk-KUK3UZ7M.js} +11 -8
  355. package/dist/{chunk-5GGS6VP5.js → chunk-L4G2YUXT.js} +1 -2
  356. package/dist/{chunk-NVLYF4UL.js → chunk-L7SG34PT.js} +69 -27
  357. package/dist/{chunk-SPKSRH6G.js → chunk-LGGGLQAD.js} +10 -9
  358. package/dist/{chunk-CDQNLDO6.js → chunk-LLI33GKW.js} +4 -4
  359. package/dist/{chunk-QWOO4V7N.js → chunk-LO4TYPLL.js} +8 -2
  360. package/dist/{chunk-DWPGFNNF.js → chunk-LUDI3KWR.js} +144 -46
  361. package/dist/{chunk-TXC6CCSA.js → chunk-M32LPQKJ.js} +2 -2
  362. package/dist/{chunk-OFYGJUKP.js → chunk-M4NEGTL3.js} +5 -2
  363. package/dist/{chunk-4SLC3EK6.js → chunk-M6UUAF25.js} +79 -16
  364. package/dist/{chunk-N6FMS47F.js → chunk-MEIRPHQO.js} +26 -21
  365. package/dist/{chunk-YVGC7QT7.js → chunk-MG6TUMH7.js} +5 -5
  366. package/dist/{chunk-W6YVDJHX.js → chunk-MQYV5MKH.js} +11 -7
  367. package/dist/{chunk-OIIMYSVT.js → chunk-MTI7DQ4F.js} +7 -7
  368. package/dist/{chunk-D4AYULMF.js → chunk-MUURQUEM.js} +8 -8
  369. package/dist/chunk-MVGUQ36E.js +75 -0
  370. package/dist/{chunk-D2JJSUXI.js → chunk-MXHFJ3XF.js} +6 -3
  371. package/dist/{chunk-IATF2OTU.js → chunk-MYPRORYG.js} +14 -5
  372. package/dist/{chunk-PZJYDIJI.js → chunk-N3MCZYXP.js} +1 -1
  373. package/dist/{chunk-B7MVYR7C.js → chunk-NBNAXWLN.js} +10 -6
  374. package/dist/{chunk-KEMC4RIF.js → chunk-NNAJQJSC.js} +6 -3
  375. package/dist/{chunk-KFPGQ5RT.js → chunk-O2CID2IT.js} +11 -11
  376. package/dist/{chunk-ISZ7O2Q6.js → chunk-O6GCB7HD.js} +10 -9
  377. package/dist/{chunk-EG7NXGDD.js → chunk-OFUEFWOK.js} +19 -6
  378. package/dist/{chunk-ZQV2GAWY.js → chunk-OJNEZ5AY.js} +10 -9
  379. package/dist/{chunk-DPLH3EGO.js → chunk-OOK5CF2D.js} +91 -39
  380. package/dist/{chunk-TAAAYFBT.js → chunk-OR6R6OXI.js} +3 -3
  381. package/dist/{chunk-FBIGYEFN.js → chunk-OSM5E2YR.js} +6 -6
  382. package/dist/{chunk-37JQA6PI.js → chunk-PHI4NQLJ.js} +1 -1
  383. package/dist/{chunk-XKA3LTJZ.js → chunk-Q2QV62WV.js} +14 -8
  384. package/dist/{chunk-2PPF4GK5.js → chunk-QEV4RIZR.js} +60 -30
  385. package/dist/{chunk-44DNL43W.js → chunk-QHDDNBEI.js} +11 -11
  386. package/dist/{chunk-RSUZHZCG.js → chunk-QKAFDPXO.js} +12 -11
  387. package/dist/{chunk-O626XQW2.js → chunk-QKMSLSS6.js} +27 -4
  388. package/dist/{chunk-VS3GQ4JR.js → chunk-QLIA6OT4.js} +7 -5
  389. package/dist/{chunk-3PQTSFOS.js → chunk-QMH6X4OV.js} +1 -1
  390. package/dist/{chunk-FIPWA5KL.js → chunk-QRU57VKP.js} +27 -9
  391. package/dist/{chunk-ANZANDQM.js → chunk-QSGSKHZL.js} +5 -5
  392. package/dist/{chunk-LBXIMJFU.js → chunk-QSQFJRFC.js} +5 -6
  393. package/dist/chunk-QVKVPYNA.js +41 -0
  394. package/dist/{chunk-5TMFFW3Y.js → chunk-QYMPXHK5.js} +4 -1
  395. package/dist/{chunk-EAUUUVUR.js → chunk-QZPBZONY.js} +8 -7
  396. package/dist/chunk-RDV5ETG2.js +105 -0
  397. package/dist/{chunk-CBJUY4WE.js → chunk-RJ6FURDA.js} +5 -5
  398. package/dist/{chunk-24O5V2PQ.js → chunk-RJWEBYP2.js} +12 -3
  399. package/dist/{chunk-DUGKLVQJ.js → chunk-RKCW27UM.js} +0 -1
  400. package/dist/{chunk-WNPMHOXE.js → chunk-RQ673YJJ.js} +1 -1
  401. package/dist/{chunk-6322OCI4.js → chunk-RVVYQ6J5.js} +20 -9
  402. package/dist/{chunk-P37H477M.js → chunk-S4Q2HPP5.js} +8 -5
  403. package/dist/chunk-SDBQOVMA.js +53 -0
  404. package/dist/{chunk-3ZFF6VC5.js → chunk-SK6M4GOD.js} +11 -10
  405. package/dist/{chunk-SR4NYQWO.js → chunk-SL6HYI6T.js} +9 -3
  406. package/dist/{chunk-AMVX4DDT.js → chunk-STEGNOAK.js} +7 -7
  407. package/dist/{chunk-BG2W2KVE.js → chunk-T2GLXMC7.js} +10 -3
  408. package/dist/{chunk-H4URFOQC.js → chunk-TAN5UNTZ.js} +36 -5
  409. package/dist/{chunk-7RCBOTWL.js → chunk-TCCKCLEZ.js} +9 -14
  410. package/dist/{chunk-LPTY5WXM.js → chunk-TLPJA7QP.js} +6 -3
  411. package/dist/{chunk-XUZH4Y52.js → chunk-TN3ATHN7.js} +23 -22
  412. package/dist/{chunk-45KDL3JM.js → chunk-TOGS33KA.js} +11 -8
  413. package/dist/{chunk-YF3XSH54.js → chunk-TQKGGJ4W.js} +9 -3
  414. package/dist/{chunk-OH5VAD27.js → chunk-TXHOOVX7.js} +35 -17
  415. package/dist/{chunk-X4JYOCFA.js → chunk-UHNZ3I66.js} +20 -18
  416. package/dist/{chunk-VUDTGRS3.js → chunk-UHW53LWK.js} +1 -2
  417. package/dist/{chunk-45IXJ7W7.js → chunk-UINHBFRO.js} +12 -10
  418. package/dist/{chunk-F526V5BA.js → chunk-UNE53KA2.js} +6 -3
  419. package/dist/{chunk-4WCMPLE3.js → chunk-UQWPG5BH.js} +9 -5
  420. package/dist/{chunk-RBTX7TVA.js → chunk-URXTC4RD.js} +8 -7
  421. package/dist/{chunk-VWYX5IRP.js → chunk-USBGON3T.js} +38 -16
  422. package/dist/{chunk-FK2LKLRN.js → chunk-VDSYL3LA.js} +0 -1
  423. package/dist/{chunk-ADZI4ROA.js → chunk-VDUU5243.js} +1 -0
  424. package/dist/{chunk-JRD6FENH.js → chunk-VTZDMX2U.js} +18 -9
  425. package/dist/{chunk-F7LAUVDJ.js → chunk-VYFSYD3Z.js} +5 -2
  426. package/dist/{chunk-WRB66XD3.js → chunk-VYO4JJVI.js} +3 -1
  427. package/dist/{chunk-25RCKHWV.js → chunk-W3AUNR4J.js} +4 -3
  428. package/dist/{chunk-FT7WZV3D.js → chunk-W42RQZ2S.js} +17 -5
  429. package/dist/{chunk-E4MX3E3B.js → chunk-W723JZDF.js} +22 -7
  430. package/dist/{chunk-U7VX6A6K.js → chunk-WA4HAXEF.js} +40 -15
  431. package/dist/{chunk-ZGMBQZDV.js → chunk-WGHJKPVG.js} +29 -16
  432. package/dist/{chunk-UBTYMAKF.js → chunk-WIX5IGDH.js} +5 -8
  433. package/dist/{chunk-4GF7WTR3.js → chunk-WSN6SDBH.js} +1 -1
  434. package/dist/{chunk-FDE3S2YK.js → chunk-WSYMYSW3.js} +5 -5
  435. package/dist/{chunk-JWBGI7FN.js → chunk-WVXAVILO.js} +91 -39
  436. package/dist/{chunk-VNUX5LOC.js → chunk-WYFRNK6S.js} +9 -9
  437. package/dist/{chunk-2PQIPQGO.js → chunk-XDIWPIKO.js} +14 -10
  438. package/dist/{chunk-JE2MAZGR.js → chunk-XILRY6LB.js} +1 -1
  439. package/dist/{chunk-EOZDJA7Z.js → chunk-XKJ3KMMO.js} +13 -8
  440. package/dist/{chunk-Z5GNX2S3.js → chunk-XN2OBKPK.js} +1 -1
  441. package/dist/{chunk-SDL3JXFN.js → chunk-XSNQN67K.js} +1 -1
  442. package/dist/{chunk-BKHH2CJA.js → chunk-XWQNDAL5.js} +2 -2
  443. package/dist/{chunk-V7JUJQNR.js → chunk-XXOJGQF6.js} +1 -2
  444. package/dist/{chunk-ZE7BT2K4.js → chunk-Y3QA2RIG.js} +70 -13
  445. package/dist/{chunk-PIE76JKF.js → chunk-Y5NPX36Y.js} +35 -17
  446. package/dist/{chunk-JVTDNOHQ.js → chunk-YGRYE53G.js} +8 -8
  447. package/dist/{chunk-IDXERBKL.js → chunk-YSUGZLB5.js} +7 -3
  448. package/dist/{chunk-RGVRHFKY.js → chunk-YTQSVOA7.js} +5 -3
  449. package/dist/{chunk-UZF7SCRT.js → chunk-YV5WZJGS.js} +15 -11
  450. package/dist/{chunk-PSTMF66E.js → chunk-YVRTO4XC.js} +9 -6
  451. package/dist/{chunk-6HPSPZTF.js → chunk-YXEAYRUY.js} +10 -9
  452. package/dist/{chunk-GBOJUMMY.js → chunk-YXFUOERB.js} +6 -6
  453. package/dist/{chunk-DWZT455C.js → chunk-Z3PHHGUZ.js} +9 -9
  454. package/dist/{chunk-RXOVKEYG.js → chunk-Z77R5OHW.js} +3 -3
  455. package/dist/{chunk-G7WTEBMX.js → chunk-ZGJUXBLD.js} +11 -7
  456. package/dist/{chunk-IF6CWIUB.js → chunk-ZIC4VJ2T.js} +1 -1
  457. package/dist/{chunk-X2VID7XY.js → chunk-ZIL4N5BT.js} +2 -2
  458. package/dist/{chunk-FXXR3FM3.js → chunk-ZLIFMMAH.js} +10 -7
  459. package/dist/{chunk-72UKXOMW.js → chunk-ZMP7XCON.js} +22 -7
  460. package/dist/{chunk-UC55XR76.js → chunk-ZYZHLWFL.js} +8 -2
  461. package/dist/citations.js +1 -1
  462. package/dist/combobox-aui-046.js +1 -1
  463. package/dist/combobox-aui-047.js +1 -1
  464. package/dist/combobox.js +1 -1
  465. package/dist/command-palette.js +1 -1
  466. package/dist/comments.js +3 -3
  467. package/dist/context-menu.js +1 -1
  468. package/dist/context-meter.js +2 -2
  469. package/dist/cookie-consent.js +2 -2
  470. package/dist/copy-button.js +1 -1
  471. package/dist/data-table.js +1 -1
  472. package/dist/date-picker-aui-050.js +1 -1
  473. package/dist/date-picker-aui-051.js +1 -1
  474. package/dist/date-picker.js +1 -1
  475. package/dist/dialog.js +1 -1
  476. package/dist/drawer.js +1 -1
  477. package/dist/dropdown-menu.js +2 -2
  478. package/dist/elastic-string.js +2 -1
  479. package/dist/empty-state.js +2 -2
  480. package/dist/event-calendar.js +1 -1
  481. package/dist/fallback-chain.js +1 -1
  482. package/dist/field.js +1 -1
  483. package/dist/file-card.js +1 -1
  484. package/dist/file-manager.js +7 -7
  485. package/dist/file-upload.js +1 -1
  486. package/dist/flash-sale.js +1 -1
  487. package/dist/footer-aui-026.js +1 -1
  488. package/dist/footer-aui-027.js +1 -1
  489. package/dist/footer-aui-028.js +1 -1
  490. package/dist/footer.js +2 -2
  491. package/dist/gravity-pills.js +1 -1
  492. package/dist/hold-to-confirm.js +1 -1
  493. package/dist/image-compare.js +1 -1
  494. package/dist/inbox.js +3 -3
  495. package/dist/index.js +228 -193
  496. package/dist/ink-trail.js +2 -1
  497. package/dist/inline-edit.js +1 -1
  498. package/dist/input-aui-029.js +1 -1
  499. package/dist/input-aui-030.js +1 -1
  500. package/dist/input-aui-031.js +1 -1
  501. package/dist/input-aui-032.js +1 -1
  502. package/dist/input-aui-033.js +1 -1
  503. package/dist/input.js +1 -1
  504. package/dist/invoice.js +2 -2
  505. package/dist/kanban.js +2 -2
  506. package/dist/menubar.js +1 -1
  507. package/dist/meter.js +1 -1
  508. package/dist/model-picker.js +1 -1
  509. package/dist/motion-button.js +1 -1
  510. package/dist/navbar-aui-009.js +1 -1
  511. package/dist/navbar-aui-010.js +1 -1
  512. package/dist/navbar-aui-011.js +1 -1
  513. package/dist/navbar-aui-012.js +1 -1
  514. package/dist/navbar-aui-013.js +1 -1
  515. package/dist/navbar-aui-014.js +1 -1
  516. package/dist/navbar.js +2 -2
  517. package/dist/needle-field.js +1 -1
  518. package/dist/notification-center.js +3 -3
  519. package/dist/notification-stack.js +2 -1
  520. package/dist/now-playing.js +2 -1
  521. package/dist/number-input.js +1 -1
  522. package/dist/onboarding.js +2 -2
  523. package/dist/otp-input-aui-041.js +1 -1
  524. package/dist/otp-input-aui-042.js +1 -1
  525. package/dist/pagination.js +1 -1
  526. package/dist/password-input-aui-040.js +1 -1
  527. package/dist/password-input.js +1 -1
  528. package/dist/pay-methods.js +2 -1
  529. package/dist/payment-received.js +2 -1
  530. package/dist/payment-status.js +2 -1
  531. package/dist/phone-input.js +1 -1
  532. package/dist/pixel-reveal.js +1 -1
  533. package/dist/plan-switcher.js +2 -1
  534. package/dist/popover.js +1 -1
  535. package/dist/price-alert.js +1 -1
  536. package/dist/price-chart.js +2 -1
  537. package/dist/pricing-aui-021.js +1 -1
  538. package/dist/pricing-aui-022.js +1 -1
  539. package/dist/pricing-aui-023.js +1 -1
  540. package/dist/pricing-aui-024.js +1 -1
  541. package/dist/pricing.js +2 -2
  542. package/dist/prompt-composer.js +1 -1
  543. package/dist/properties-panel.js +1 -1
  544. package/dist/radio-group-aui-055.js +1 -1
  545. package/dist/radio-group-aui-056.js +1 -1
  546. package/dist/radio-group-aui-057.js +1 -1
  547. package/dist/radio-group.js +1 -1
  548. package/dist/range-slider.js +1 -1
  549. package/dist/rating.js +1 -1
  550. package/dist/scramble-text.js +1 -1
  551. package/dist/scrub-input.js +1 -1
  552. package/dist/seat-picker.js +2 -1
  553. package/dist/segmented-control.js +1 -1
  554. package/dist/select-aui-043.js +1 -1
  555. package/dist/select-aui-044.js +1 -1
  556. package/dist/select-aui-045.js +1 -1
  557. package/dist/select.js +1 -1
  558. package/dist/settings-panel.js +2 -2
  559. package/dist/shipment-tracker.js +2 -1
  560. package/dist/sidebar.js +2 -2
  561. package/dist/sign-in-aui-015.js +1 -1
  562. package/dist/sign-in-aui-016.js +1 -1
  563. package/dist/sign-in-aui-017.js +1 -1
  564. package/dist/sign-in-aui-018.js +1 -1
  565. package/dist/sign-in-aui-019.js +1 -1
  566. package/dist/sign-in-aui-020.js +1 -1
  567. package/dist/sign-in.js +2 -2
  568. package/dist/skeleton.js +1 -1
  569. package/dist/slider-aui-062.js +1 -1
  570. package/dist/slider-aui-063.js +1 -1
  571. package/dist/slider.js +1 -1
  572. package/dist/snap-grid.js +1 -1
  573. package/dist/sortable-list.js +1 -1
  574. package/dist/spinner.js +1 -1
  575. package/dist/split-bill.js +1 -1
  576. package/dist/split-flap.js +2 -1
  577. package/dist/stat-card.js +1 -1
  578. package/dist/stepper.js +1 -1
  579. package/dist/styles.css +3 -0
  580. package/dist/switch-aui-058.js +1 -1
  581. package/dist/switch-aui-059.js +1 -1
  582. package/dist/switch-aui-060.js +1 -1
  583. package/dist/tabs.js +1 -1
  584. package/dist/tag-input-aui-048.js +1 -1
  585. package/dist/tag-input-aui-049.js +1 -1
  586. package/dist/tag-input.js +1 -1
  587. package/dist/team-members.js +4 -4
  588. package/dist/testimonials.js +2 -2
  589. package/dist/textarea-aui-002.js +1 -1
  590. package/dist/textarea-aui-003.js +1 -1
  591. package/dist/textarea-aui-005.js +1 -1
  592. package/dist/textarea-aui-006.js +1 -1
  593. package/dist/textarea-aui-007.js +1 -1
  594. package/dist/textarea-aui-008.js +1 -1
  595. package/dist/textarea-aui-036.js +1 -1
  596. package/dist/textarea-aui-037.js +1 -1
  597. package/dist/textarea-aui-038.js +1 -1
  598. package/dist/textarea.js +1 -1
  599. package/dist/thinking.js +1 -1
  600. package/dist/toast.js +1 -1
  601. package/dist/token-swap.js +2 -1
  602. package/dist/tool-approval.js +1 -1
  603. package/dist/tool-dock.js +1 -1
  604. package/dist/tooltip.js +1 -1
  605. package/dist/trace-waterfall.js +1 -1
  606. package/dist/trade-ticket.js +2 -1
  607. package/dist/tree-view.js +1 -1
  608. package/dist/types/components/kit/accordion.d.ts +4 -3
  609. package/dist/types/components/kit/api-keys.d.ts +1 -1
  610. package/dist/types/components/kit/base/navbar.d.ts +2 -0
  611. package/dist/types/components/kit/base/pricing.d.ts +4 -1
  612. package/dist/types/components/kit/navbar.d.ts +2 -0
  613. package/dist/types/components/kit/pricing.d.ts +4 -1
  614. package/dist/types/components/kit/variants/button-aui-064.d.ts +21 -0
  615. package/dist/types/components/kit/variants/button-aui-065.d.ts +26 -0
  616. package/dist/types/components/kit/variants/button-aui-066.d.ts +19 -0
  617. package/dist/types/components/kit/variants/button-aui-067.d.ts +23 -0
  618. package/dist/types/components/kit/variants/button-aui-068.d.ts +28 -0
  619. package/dist/types/components/lab/lab-hooks.d.ts +12 -0
  620. package/dist/types/packages/asta-ui/src/base/accordion.d.ts +2 -2
  621. package/dist/types/packages/asta-ui/src/base/button-aui-064.d.ts +2 -0
  622. package/dist/types/packages/asta-ui/src/base/button-aui-065.d.ts +2 -0
  623. package/dist/types/packages/asta-ui/src/base/button-aui-066.d.ts +2 -0
  624. package/dist/types/packages/asta-ui/src/base/button-aui-067.d.ts +2 -0
  625. package/dist/types/packages/asta-ui/src/base/button-aui-068.d.ts +2 -0
  626. package/dist/types/packages/asta-ui/src/base.d.ts +12 -2
  627. package/dist/types/packages/asta-ui/src/button-aui-064.d.ts +2 -0
  628. package/dist/types/packages/asta-ui/src/button-aui-065.d.ts +2 -0
  629. package/dist/types/packages/asta-ui/src/button-aui-066.d.ts +2 -0
  630. package/dist/types/packages/asta-ui/src/button-aui-067.d.ts +2 -0
  631. package/dist/types/packages/asta-ui/src/button-aui-068.d.ts +2 -0
  632. package/dist/types/packages/asta-ui/src/index.d.ts +10 -0
  633. package/dist/variant-picker.js +2 -1
  634. package/dist/watchlist.js +1 -1
  635. package/dist/wishlist.js +2 -1
  636. package/dist/workspace-switcher.js +1 -1
  637. package/package.json +1 -1
  638. package/dist/chunk-2Z5Z4YYZ.js +0 -57
  639. package/dist/chunk-B7V4ZTKI.js +0 -53
  640. package/dist/chunk-XTP6ITUJ.js +0 -55
  641. package/dist/types/components/kit/base/accordion.d.ts +0 -19
@@ -40,9 +40,10 @@ function useShake(active, key) {
40
40
  return ref;
41
41
  }
42
42
  var ErrorText = ({ id, children }) => /* @__PURE__ */ jsxs("p", { id, role: "alert", className: "flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui020-in .3s ${EASE} both` }, children: [
43
- /* @__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: [
44
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
45
- /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
43
+ /* @__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: [
44
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
45
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
46
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
46
47
  ] }),
47
48
  children
48
49
  ] });
@@ -94,9 +95,9 @@ function LiveAvatar({ name }) {
94
95
  letters.length ? "bg-brand text-paper" : "bg-paper-2 text-mute"
95
96
  ),
96
97
  "aria-hidden": true,
97
- children: letters.length ? letters.map((l, i) => /* @__PURE__ */ jsx("span", { className: "inline-block", style: { animation: `aui020-letter .35s ${EASE} both` }, children: l }, `${i}-${l}`)) : /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
98
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "5.5", r: "2.5" }),
99
- /* @__PURE__ */ jsx("path", { d: "M3 13.5c.8-2.3 2.7-3.5 5-3.5s4.2 1.2 5 3.5" })
98
+ children: letters.length ? letters.map((l, i) => /* @__PURE__ */ jsx("span", { className: "inline-block", style: { animation: `aui020-letter .35s ${EASE} both` }, children: l }, `${i}-${l}`)) : /* @__PURE__ */ jsxs("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: [
99
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "8.5", r: "3.75" }),
100
+ /* @__PURE__ */ jsx("path", { d: "M5 20a7 7 0 0 1 14 0" })
100
101
  ] })
101
102
  }
102
103
  );
@@ -260,10 +261,10 @@ function SignUpCard({
260
261
  "aria-label": reveal ? "Hide password" : "Show password",
261
262
  "aria-pressed": reveal,
262
263
  className: "flex h-9 w-9 items-center justify-center rounded-[8px] text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
263
- children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
264
- /* @__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 8Z" }),
265
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "2" }),
266
- !reveal && /* @__PURE__ */ jsx("path", { d: "M2.5 13.5l11-11" })
264
+ 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: [
265
+ /* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
266
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75" }),
267
+ !reveal && /* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15" })
267
268
  ] })
268
269
  }
269
270
  ),
@@ -295,7 +296,7 @@ function SignUpCard({
295
296
  {
296
297
  className: "absolute inset-0 flex items-center justify-center rounded-full bg-ink text-paper transition-[transform,opacity] duration-300",
297
298
  style: { transform: `scale(${passed[i] ? 1 : 0.3})`, opacity: passed[i] ? 1 : 0, transitionTimingFunction: EASE },
298
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m3 6.2 2 2L9 4" }) })
299
+ children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) })
299
300
  }
300
301
  ) }),
301
302
  r.label,
@@ -329,16 +330,16 @@ function SignUpCard({
329
330
  /* @__PURE__ */ jsx(
330
331
  "svg",
331
332
  {
332
- viewBox: "0 0 12 12",
333
+ viewBox: "0 0 24 24",
333
334
  className: "pointer-events-none absolute inset-0 m-auto h-3 w-3 scale-50 text-paper opacity-0 transition-[transform,opacity] duration-300 peer-checked:scale-100 peer-checked:opacity-100",
334
335
  style: { transitionTimingFunction: EASE },
335
336
  fill: "none",
336
337
  stroke: "currentColor",
337
- strokeWidth: "2",
338
+ strokeWidth: "4",
338
339
  strokeLinecap: "round",
339
340
  strokeLinejoin: "round",
340
341
  "aria-hidden": true,
341
- children: /* @__PURE__ */ jsx("path", { d: "m3 6.2 2 2L9 4" })
342
+ children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" })
342
343
  }
343
344
  )
344
345
  ] }),
@@ -369,7 +370,10 @@ function SignUpCard({
369
370
  children: [
370
371
  state === "loading" && /* @__PURE__ */ jsx(Spinner, {}),
371
372
  state === "loading" ? "Creating your account" : "Create account",
372
- state !== "loading" && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M3 8h10M9 4l4 4-4 4" }) })
373
+ state !== "loading" && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
374
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
375
+ /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
376
+ ] })
373
377
  ]
374
378
  }
375
379
  ) }),
@@ -90,7 +90,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
90
90
  )) }) }) }) })
91
91
  ] }),
92
92
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
93
- /* @__PURE__ */ jsxs("span", { className: cx("text-[11.5px] tabular-nums transition-colors duration-300", over ? "text-[#e5484d]" : "text-mute"), "aria-live": "polite", children: [
93
+ /* @__PURE__ */ jsxs("span", { className: cx("text-[11.5px] tabular-nums transition-colors duration-300", over ? "text-ink" : "text-mute"), "aria-live": "polite", children: [
94
94
  tokens.toLocaleString(),
95
95
  " / ",
96
96
  maxTokens.toLocaleString(),
@@ -103,6 +103,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
103
103
  onClick: submit,
104
104
  disabled: !busy && !ready,
105
105
  className: cx(
106
+ // perf-ok: the fill grows inside one button; nothing outside it reflows.
106
107
  "relative flex h-8 items-center gap-1.5 overflow-hidden rounded-full px-3.5 text-[13px] font-medium transition-[background-color,color,transform,width] duration-300 ease-[cubic-bezier(.16,1,.3,1)] active:scale-95 motion-reduce:transition-none",
107
108
  busy ? "bg-paper-2 text-ink" : ready ? "bg-ink text-paper" : "bg-paper-2 text-mute"
108
109
  ),
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  Avatar
4
- } from "./chunk-IVCHYE55.js";
4
+ } from "./chunk-7IOMROVG.js";
5
5
  import {
6
6
  Button
7
- } from "./chunk-WSL4JGEA.js";
7
+ } from "./chunk-HSDMCZMX.js";
8
8
 
9
9
  // components/kit/base/comments.tsx
10
10
  import { useId, useRef, useState } from "react";
@@ -81,15 +81,16 @@ function Like({ count, liked, pop, onToggle }) {
81
81
  /* @__PURE__ */ jsx(
82
82
  "svg",
83
83
  {
84
- viewBox: "0 0 16 16",
84
+ viewBox: "0 0 24 24",
85
85
  className: "h-3.5 w-3.5",
86
86
  fill: liked ? "currentColor" : "none",
87
87
  stroke: "currentColor",
88
- strokeWidth: "1.5",
88
+ strokeWidth: "2.25",
89
+ strokeLinecap: "round",
89
90
  strokeLinejoin: "round",
90
91
  "aria-hidden": true,
91
92
  style: pop && liked ? { animation: `kit-cm-pop .45s ${CURVE}` } : void 0,
92
- children: /* @__PURE__ */ jsx("path", { d: "M8 13.5S2.5 10.3 2.5 6.4A2.9 2.9 0 0 1 8 5a2.9 2.9 0 0 1 5.5 1.4c0 3.9-5.5 7.1-5.5 7.1Z" })
93
+ children: /* @__PURE__ */ jsx("path", { d: "M12 19.5s-7.5-4.4-7.5-10A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 7.5 2.5c0 5.6-7.5 10-7.5 10Z" })
93
94
  },
94
95
  liked ? "on" : "off"
95
96
  ),
@@ -70,7 +70,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
70
70
  children: [
71
71
  /* @__PURE__ */ jsx("span", { className: "h-2 w-2 rounded-full bg-brand", "aria-hidden": true }),
72
72
  current?.label,
73
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3 w-3 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/m:rotate-180", fill: "none", stroke: "currentColor", strokeWidth: "1.8", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
73
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/m:rotate-180", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
74
74
  ]
75
75
  }
76
76
  ),
@@ -91,7 +91,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
91
91
  /* @__PURE__ */ jsx("span", { className: "block text-[13px] text-ink", children: m.label }),
92
92
  m.detail && /* @__PURE__ */ jsx("span", { className: "block text-[11.5px] text-mute", children: m.detail })
93
93
  ] }),
94
- /* @__PURE__ */ jsx(Menu.ItemIndicator, { children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" }) }) })
94
+ /* @__PURE__ */ jsx(Menu.ItemIndicator, { children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }) })
95
95
  ]
96
96
  },
97
97
  m.id
@@ -100,7 +100,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
100
100
  ) })
101
101
  ] }),
102
102
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
103
- /* @__PURE__ */ jsxs("span", { className: cx("text-[11.5px] tabular-nums transition-colors duration-300", over ? "text-[#e5484d]" : "text-mute"), "aria-live": "polite", children: [
103
+ /* @__PURE__ */ jsxs("span", { className: cx("text-[11.5px] tabular-nums transition-colors duration-300", over ? "text-ink" : "text-mute"), "aria-live": "polite", children: [
104
104
  tokens.toLocaleString(),
105
105
  " / ",
106
106
  maxTokens.toLocaleString(),
@@ -113,6 +113,7 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
113
113
  onClick: submit,
114
114
  disabled: !busy && !ready,
115
115
  className: cx(
116
+ // perf-ok: the fill grows inside one button; nothing outside it reflows.
116
117
  "relative flex h-8 items-center gap-1.5 overflow-hidden rounded-full px-3.5 text-[13px] font-medium transition-[background-color,color,transform,width] duration-300 ease-[cubic-bezier(.16,1,.3,1)] active:scale-95 motion-reduce:transition-none",
117
118
  busy ? "bg-paper-2 text-ink" : ready ? "bg-ink text-paper" : "bg-paper-2 text-mute"
118
119
  ),
@@ -124,7 +125,10 @@ function PromptBox({ models, defaultModel, placeholder = "Ask anything\u2026", m
124
125
  "Stop"
125
126
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
126
127
  "Generate",
127
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M3 8h10M9 4l4 4-4 4" }) })
128
+ /* @__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: [
129
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
130
+ /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
131
+ ] })
128
132
  ] })
129
133
  }
130
134
  )
@@ -99,7 +99,7 @@ function PlanRadio({ plans = PLANS, value, defaultValue = "team", onChange, seat
99
99
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute inset-0 rounded-[12px] bg-paper-2 opacity-0 transition-opacity duration-300 group-hover/plan:opacity-60" }),
100
100
  /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "relative grid h-[18px] w-[18px] shrink-0 place-items-center rounded-full shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_24%,transparent)]", children: [
101
101
  /* @__PURE__ */ jsx("span", { className: "absolute inset-0 rounded-full bg-brand transition-[transform,opacity] duration-300", style: { opacity: on ? 1 : 0, transform: on ? "scale(1)" : "scale(0.5)", transitionTimingFunction: SPRING } }),
102
- /* @__PURE__ */ jsx("span", { className: "relative h-1.5 w-1.5 rounded-full bg-white transition-transform duration-300", style: { transform: on ? "scale(1)" : "scale(0)", transitionTimingFunction: SPRING, transitionDelay: on ? "80ms" : "0ms" } })
102
+ /* @__PURE__ */ jsx("span", { className: "relative h-1.5 w-1.5 rounded-full bg-on-brand transition-transform duration-300", style: { transform: on ? "scale(1)" : "scale(0)", transitionTimingFunction: SPRING, transitionDelay: on ? "80ms" : "0ms" } })
103
103
  ] }),
104
104
  /* @__PURE__ */ jsxs("span", { className: "relative min-w-0 flex-1", children: [
105
105
  /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
@@ -134,14 +134,17 @@ function PlanRadio({ plans = PLANS, value, defaultValue = "team", onChange, seat
134
134
  {
135
135
  type: "button",
136
136
  onClick: () => onContinue?.(plan.value),
137
- className: "group/cta relative inline-flex h-10 items-center gap-1.5 rounded-[8px] bg-brand pl-4 pr-3.5 text-[13.5px] font-medium text-white shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_6px_16px_-8px_var(--brand)] outline-none transition-transform duration-200 active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
137
+ className: "group/cta relative inline-flex h-10 items-center gap-1.5 rounded-[8px] bg-brand pl-4 pr-3.5 text-[13.5px] font-medium text-on-brand shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_6px_16px_-8px_var(--brand)] outline-none transition-transform duration-200 active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
138
138
  children: [
139
139
  /* @__PURE__ */ jsx("span", { children: "Continue with" }),
140
140
  /* @__PURE__ */ jsxs("span", { className: "relative block h-5 overflow-hidden", "aria-live": "polite", children: [
141
141
  /* @__PURE__ */ jsx("span", { className: "invisible block h-5 leading-5", children: plans.reduce((a, p) => p.name.length > a.length ? p.name : a, "") }),
142
142
  /* @__PURE__ */ jsx("span", { className: "absolute inset-x-0 top-0 flex flex-col transition-transform duration-500", style: { transform: `translateY(${-index * 20}px)`, transitionTimingFunction: EASE }, children: plans.map((p, i) => /* @__PURE__ */ jsx("span", { "aria-hidden": i !== index, className: "block h-5 text-left leading-5", children: p.name }, p.value)) })
143
143
  ] }),
144
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover/cta:translate-x-0.5", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M3 8h9.5M8.5 4l4 4-4 4" }) })
144
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover/cta:translate-x-0.5", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
145
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
146
+ /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
147
+ ] })
145
148
  ]
146
149
  }
147
150
  )
@@ -43,14 +43,20 @@ var RESULTS = [
43
43
  var isMac = () => typeof navigator === "undefined" || /Mac|iPhone|iPad/.test(navigator.platform);
44
44
  var at = (n) => ({ "--i": n });
45
45
  var initials = (name) => name.split(/\s+/).map((p) => p[0]).slice(0, 2).join("").toUpperCase();
46
- var Chevrons = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 6 3-3 3 3M5 10l3 3 3-3" }) });
47
- var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "ml-auto h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7" }) });
48
- var SearchIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-4 w-4 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
49
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
50
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3" })
46
+ var Chevrons = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
47
+ /* @__PURE__ */ jsx("path", { d: "m8 9 4-4 4 4" }),
48
+ /* @__PURE__ */ jsx("path", { d: "m8 15 4 4 4-4" })
51
49
  ] });
52
- var Bell = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M4 11.5V7a4 4 0 0 1 8 0v4.5l1 1.5H3l1-1.5ZM6.5 14a1.6 1.6 0 0 0 3 0" }) });
53
- var GroupIcon = ({ group }) => /* @__PURE__ */ jsx("span", { className: cx("grid h-7 w-7 shrink-0 place-items-center rounded-[7px] bg-paper text-ink-2", RING), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: group === "People" ? /* @__PURE__ */ jsx("path", { d: "M8 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM3 13.5c.6-2.4 2.6-3.8 5-3.8s4.4 1.4 5 3.8" }) : group === "Actions" ? /* @__PURE__ */ jsx("path", { d: "M8 3v10M3 8h10" }) : /* @__PURE__ */ jsx("path", { d: "M2.5 4.5h4l1.5 1.5h5.5v6.5h-11Z" }) }) });
50
+ var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "ml-auto h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "2.85", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) });
51
+ var SearchIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
52
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
53
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
54
+ ] });
55
+ var Bell = () => /* @__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: [
56
+ /* @__PURE__ */ jsx("path", { d: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3Z" }),
57
+ /* @__PURE__ */ jsx("path", { d: "M10 19.5a2 2 0 0 0 4 0" })
58
+ ] });
59
+ var GroupIcon = ({ group }) => /* @__PURE__ */ jsx("span", { className: cx("grid h-7 w-7 shrink-0 place-items-center rounded-[7px] bg-paper text-ink-2", RING), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: group === "People" ? /* @__PURE__ */ jsx("path", { d: "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" }) : group === "Actions" ? /* @__PURE__ */ jsx("path", { d: "M12 5v14M5 12h14" }) : /* @__PURE__ */ jsx("path", { d: "M3.5 7A1.5 1.5 0 0 1 5 5.5h4.5l2 2.5H19a1.5 1.5 0 0 1 1.5 1.5v8A1.5 1.5 0 0 1 19 19H5a1.5 1.5 0 0 1-1.5-1.5Z" }) }) });
54
60
  function Mark({ name, size = "h-6 w-6 text-[11px]" }) {
55
61
  return /* @__PURE__ */ jsx("span", { className: cx("grid shrink-0 place-items-center rounded-[6px] bg-ink font-semibold text-paper", size), children: name[0]?.toUpperCase() });
56
62
  }
@@ -449,7 +455,7 @@ function AppNavbar({
449
455
  children: [
450
456
  /* @__PURE__ */ jsx(Bell, {}),
451
457
  "Notifications",
452
- unread > 0 && /* @__PURE__ */ jsxs("span", { className: "ml-auto rounded-full bg-brand px-2 py-0.5 text-[11.5px] font-medium text-white", children: [
458
+ unread > 0 && /* @__PURE__ */ jsxs("span", { className: "ml-auto rounded-full bg-brand px-2 py-0.5 text-[11.5px] font-medium text-on-brand", children: [
453
459
  unread,
454
460
  " new"
455
461
  ] })
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "./chunk-WSL4JGEA.js";
4
+ } from "./chunk-HSDMCZMX.js";
5
5
 
6
6
  // components/kit/base/invoice.tsx
7
- import { 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) } }
@@ -21,7 +21,15 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
21
21
  const [state, setState] = useState(status);
22
22
  const [paying, setPaying] = useState(false);
23
23
  const [paidOn, setPaidOn] = useState(null);
24
- const money = (n) => new Intl.NumberFormat(locale, { style: "currency", currency }).format(n);
24
+ const [error, setError] = useState(null);
25
+ const errorEl = useRef(null);
26
+ useEffect(() => {
27
+ if (error) errorEl.current?.focus();
28
+ }, [error]);
29
+ const money = useMemo(() => {
30
+ const f = new Intl.NumberFormat(locale, { style: "currency", currency });
31
+ return (n) => f.format(n);
32
+ }, [locale, currency]);
25
33
  const subtotal = items.reduce((a, it) => a + it.quantity * it.unitPrice, 0);
26
34
  const taxed = Math.max(0, subtotal - discount);
27
35
  const tax = Math.round(taxed * taxRate * 100) / 100;
@@ -31,10 +39,14 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
31
39
  const pay = async () => {
32
40
  if (!onPay || paying) return;
33
41
  setPaying(true);
42
+ setError(null);
34
43
  try {
35
44
  await onPay();
36
45
  setPaidOn((/* @__PURE__ */ new Date()).toLocaleDateString(locale, { month: "short", day: "numeric", year: "numeric" }));
37
46
  setState("paid");
47
+ } catch (e) {
48
+ const why = e instanceof Error && e.message ? ` ${e.message.replace(/\.?$/, ".")}` : "";
49
+ setError(`The payment didn't go through.${why} Check your payment details and try again.`);
38
50
  } finally {
39
51
  setPaying(false);
40
52
  }
@@ -53,7 +65,10 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
53
65
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
54
66
  /* @__PURE__ */ jsx("h2", { className: "text-[20px] font-medium tracking-[-0.03em]", children: "Invoice" }),
55
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: [
56
- 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,
57
72
  s.label
58
73
  ] }, state)
59
74
  ] }),
@@ -151,6 +166,14 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
151
166
  ] })
152
167
  ] })
153
168
  ] }),
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: [
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
+ ] }),
175
+ error
176
+ ] }),
154
177
  /* @__PURE__ */ jsx("p", { className: "sr-only", "aria-live": "polite", children: paid && paidOn ? `Invoice ${number} paid on ${paidOn}.` : "" })
155
178
  ] })
156
179
  ]
@@ -29,7 +29,7 @@ function Candlestick() {
29
29
  const canvas = useRef(null);
30
30
  const wrap = useRef(null);
31
31
  const [ohlc, setOhlc] = useState(null);
32
- const S = useRef({ data: seed(), born: 0, lo: 0, hi: 0, hx: -1, hy: -1, raf: 0, last: 0, prev: 0, target: 0, onScreen: true });
32
+ const S = useRef({ data: seed(), born: 0, lo: 0, hi: 0, hx: -1, hy: -1, raf: 0, last: 0, prev: 0, target: 0, onScreen: true, rect: null });
33
33
  useEffect(() => {
34
34
  const cv = canvas.current;
35
35
  const el = wrap.current;
@@ -51,16 +51,37 @@ function Candlestick() {
51
51
  ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
52
52
  const cs = getComputedStyle(el);
53
53
  colors = { ink: cs.getPropertyValue("--color-ink").trim() || colors.ink, mute: cs.getPropertyValue("--color-mute").trim() || colors.mute, paper: cs.getPropertyValue("--color-paper").trim() || colors.paper, accent: cs.getPropertyValue("--color-brand").trim() || colors.accent };
54
+ st.rect = r;
55
+ wake();
56
+ };
57
+ const wake = () => {
58
+ if (st.raf || !st.onScreen || document.hidden || !w) return;
59
+ st.prev = 0;
60
+ st.raf = requestAnimationFrame(draw);
61
+ };
62
+ const sync = () => {
63
+ cancelAnimationFrame(st.raf);
64
+ st.raf = 0;
65
+ wake();
66
+ };
67
+ const forget = () => {
68
+ st.rect = null;
54
69
  };
55
70
  const ro = new ResizeObserver(resize);
56
71
  ro.observe(el);
57
- const io = new IntersectionObserver(([e]) => st.onScreen = e.isIntersecting);
72
+ const io = new IntersectionObserver(([e]) => {
73
+ st.onScreen = e.isIntersecting;
74
+ sync();
75
+ });
58
76
  io.observe(el);
59
- resize();
77
+ document.addEventListener("visibilitychange", sync);
78
+ window.addEventListener("scroll", forget, { capture: true, passive: true });
60
79
  st.born = performance.now();
61
- const draw = (now) => {
62
- st.raf = requestAnimationFrame(draw);
80
+ resize();
81
+ function draw(now) {
82
+ st.raf = 0;
63
83
  if (!st.onScreen || document.hidden || !w) return;
84
+ st.raf = requestAnimationFrame(draw);
64
85
  const d = st.data;
65
86
  const dt = Math.min(64, now - (st.prev || now));
66
87
  st.prev = now;
@@ -173,16 +194,19 @@ function Candlestick() {
173
194
  const c = vis[Math.max(0, Math.min(vis.length - 1, i))];
174
195
  if (c) setOhlc((o) => o === c ? o : c);
175
196
  }
176
- };
177
- st.raf = requestAnimationFrame(draw);
197
+ }
178
198
  return () => {
179
199
  cancelAnimationFrame(st.raf);
200
+ st.raf = 0;
180
201
  ro.disconnect();
181
202
  io.disconnect();
203
+ document.removeEventListener("visibilitychange", sync);
204
+ window.removeEventListener("scroll", forget, { capture: true });
182
205
  };
183
206
  }, []);
184
207
  const move = (e) => {
185
- const r = wrap.current.getBoundingClientRect();
208
+ var _a;
209
+ const r = (_a = S.current).rect ?? (_a.rect = wrap.current.getBoundingClientRect());
186
210
  S.current.hx = e.clientX - r.left;
187
211
  S.current.hy = e.clientY - r.top;
188
212
  };
@@ -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"
@@ -41,7 +41,7 @@ function TagInput({ value, defaultValue = [], onChange, max = 8, placeholder = "
41
41
  return /* @__PURE__ */ jsxs("div", { className: cx("w-full", className), children: [
42
42
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-baseline justify-between", children: [
43
43
  /* @__PURE__ */ jsx("label", { htmlFor: id, className: "text-[13px] font-medium text-ink", children: label }),
44
- /* @__PURE__ */ jsxs("span", { className: cx("font-mono text-[11px] tabular-nums transition-colors", full ? "text-[#e5484d]" : "text-mute"), "aria-live": "polite", children: [
44
+ /* @__PURE__ */ jsxs("span", { className: cx("font-mono text-[11px] tabular-nums transition-colors", full ? "text-ink" : "text-mute"), "aria-live": "polite", children: [
45
45
  tags.length,
46
46
  "/",
47
47
  max
@@ -71,7 +71,7 @@ function TagInput({ value, defaultValue = [], onChange, max = 8, placeholder = "
71
71
  "data-kit-tag": true,
72
72
  className: cx(
73
73
  "flex h-8 items-center gap-1 rounded-md pl-3 pr-1 text-[13px] transition-colors duration-200",
74
- last && armed ? "bg-[#e5484d] text-white" : "bg-paper-2 text-ink"
74
+ last && armed ? "bg-ink text-paper" : "bg-paper-2 text-ink"
75
75
  ),
76
76
  style: { animation: shaking ? "kit-tag-shake .4s ease" : "kit-tag-in .35s cubic-bezier(.16,1,.3,1)" },
77
77
  children: [
@@ -87,9 +87,12 @@ function TagInput({ value, defaultValue = [], onChange, max = 8, placeholder = "
87
87
  "aria-label": `Remove ${t}`,
88
88
  className: cx(
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
- last && armed ? "hover:bg-white/20" : "text-mute hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink"
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
  ]