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
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-5ZQ6PMJT.js";
5
5
 
6
6
  // components/kit/pricing.tsx
7
- import { useLayoutEffect, useRef, useState } from "react";
7
+ import { 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 EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
@@ -27,25 +27,13 @@ function RollingNumber({ value, className = "" }) {
27
27
  }
28
28
  function BillingSwitch({ value, onChange, saving }) {
29
29
  const refs = useRef({ monthly: null, yearly: null });
30
- const box = useRef(null);
31
- const [pill, setPill] = useState(null);
32
- useLayoutEffect(() => {
33
- const measure = () => {
34
- const el = refs.current[value];
35
- if (el) setPill((p) => p && p.x === el.offsetLeft && p.w === el.offsetWidth ? p : { x: el.offsetLeft, w: el.offsetWidth });
36
- };
37
- measure();
38
- const ro = new ResizeObserver(measure);
39
- if (box.current) ro.observe(box.current);
40
- return () => ro.disconnect();
41
- }, [value]);
42
- return /* @__PURE__ */ jsxs("div", { ref: box, role: "radiogroup", "aria-label": "Billing period", className: "relative inline-flex rounded-[10px] bg-paper-2 p-1 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
43
- pill && /* @__PURE__ */ jsx(
30
+ return /* @__PURE__ */ jsxs("div", { role: "radiogroup", "aria-label": "Billing period", className: "relative grid grid-cols-2 rounded-[10px] bg-paper-2 p-1 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
31
+ /* @__PURE__ */ jsx(
44
32
  "span",
45
33
  {
46
34
  "aria-hidden": true,
47
- className: cx("absolute bottom-1 top-1 rounded-[7px] bg-paper shadow-[0_1px_2px_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)] transition-[transform,width] duration-500", EASE),
48
- style: { transform: `translateX(${pill.x - 4}px)`, width: pill.w, left: 4 }
35
+ className: cx("absolute bottom-1 left-1 top-1 w-[calc(50%-4px)] rounded-[7px] bg-paper shadow-[0_1px_2px_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)] transition-transform duration-500 motion-reduce:transition-none", EASE),
36
+ style: { transform: value === "yearly" ? "translateX(100%)" : "none" }
49
37
  }
50
38
  ),
51
39
  ["monthly", "yearly"].map((b) => /* @__PURE__ */ jsxs(
@@ -68,7 +56,7 @@ function BillingSwitch({ value, onChange, saving }) {
68
56
  }
69
57
  },
70
58
  className: cx(
71
- "relative z-10 flex h-8 items-center gap-1.5 rounded-[7px] px-4 text-[13px] font-medium capitalize outline-none transition-colors duration-300 focus-visible:ring-2 focus-visible:ring-brand/50",
59
+ "relative z-10 flex h-8 items-center justify-center gap-1.5 rounded-[7px] px-4 text-[13px] font-medium capitalize outline-none transition-colors duration-300 focus-visible:ring-2 focus-visible:ring-brand/50",
72
60
  value === b ? "text-ink" : "text-mute hover:text-ink"
73
61
  ),
74
62
  children: [
@@ -80,7 +68,7 @@ function BillingSwitch({ value, onChange, saving }) {
80
68
  ))
81
69
  ] });
82
70
  }
83
- var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "mt-[3px] h-3.5 w-3.5 shrink-0", 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" }) });
71
+ var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "mt-[3px] h-3.5 w-3.5 shrink-0", 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" }) });
84
72
  function Pricing({ plans, currency = "$", saving, defaultBilling = "monthly", className }) {
85
73
  const [billing, setBilling] = useState(defaultBilling);
86
74
  return /* @__PURE__ */ jsxs("div", { className: cx("flex w-full flex-col items-center gap-6", className), children: [
@@ -56,11 +56,14 @@ function StatusIcon({ status, small }) {
56
56
  /* @__PURE__ */ jsx("path", { d: "M16 9a7 7 0 0 0-7-7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
57
57
  ] });
58
58
  if (status === "done")
59
- return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-brand text-on-brand animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m3.5 8.5 3 3 6-7", pathLength: 1, strokeDasharray: 1, className: "asta-plan-a animate-[asta-plan-draw_.45s_cubic-bezier(.16,1,.3,1)_.1s_both]" }) }) });
59
+ return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-brand text-on-brand animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: 1, className: "asta-plan-a animate-[asta-plan-draw_.45s_cubic-bezier(.16,1,.3,1)_.1s_both]" }) }) });
60
60
  if (status === "failed")
61
- return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-ink text-paper animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", children: /* @__PURE__ */ jsx("path", { d: "M8 4v5M8 12h.01" }) }) });
61
+ return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-ink text-paper animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", children: [
62
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
63
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
64
+ ] }) });
62
65
  if (status === "skipped")
63
- return /* @__PURE__ */ jsx("span", { className: cx(box, "grid shrink-0 place-items-center rounded-full text-mute shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 8h6" }) }) });
66
+ return /* @__PURE__ */ jsx("span", { className: cx(box, "grid shrink-0 place-items-center rounded-full text-mute shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) }) });
64
67
  return /* @__PURE__ */ jsx("span", { className: cx(box, "shrink-0 rounded-full shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true });
65
68
  }
66
69
  var WORD = { pending: "Pending", running: "Running", done: "Done", skipped: "Skipped", failed: "Failed" };
@@ -150,16 +153,16 @@ function AgentPlan({ title, steps, action, footer, className }) {
150
153
  canOpen && /* @__PURE__ */ jsx(
151
154
  "svg",
152
155
  {
153
- viewBox: "0 0 16 16",
156
+ viewBox: "0 0 24 24",
154
157
  "aria-hidden": true,
155
158
  className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300", open && "rotate-90"),
156
159
  style: { transitionTimingFunction: CURVE },
157
160
  fill: "none",
158
161
  stroke: "currentColor",
159
- strokeWidth: "1.7",
162
+ strokeWidth: "2.55",
160
163
  strokeLinecap: "round",
161
164
  strokeLinejoin: "round",
162
- children: /* @__PURE__ */ jsx("path", { d: "m6 4 4 4-4 4" })
165
+ children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" })
163
166
  }
164
167
  )
165
168
  ] });
@@ -22,7 +22,6 @@ function Tabs({ tabs, value, defaultValue, onChange, variant = "underline", labe
22
22
  prev.current = index;
23
23
  setBar({ l: el.offsetLeft, r: box.scrollWidth - el.offsetLeft - el.offsetWidth, dir });
24
24
  };
25
- measure();
26
25
  const ro = new ResizeObserver(measure);
27
26
  if (list.current) ro.observe(list.current);
28
27
  return () => ro.disconnect();
@@ -6,6 +6,7 @@ import {
6
6
  // components/lab/blocks/PriceChart.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 N = 64;
10
11
  var UP = "var(--brand)";
11
12
  var DOWN = "var(--mute)";
@@ -219,7 +220,7 @@ function PriceChart() {
219
220
  /* @__PURE__ */ jsxs("div", { className: "relative z-10", children: [
220
221
  /* @__PURE__ */ jsx("p", { className: "font-mono text-[11px] uppercase tracking-[0.12em] text-mute", children: "ASTA / USD" }),
221
222
  /* @__PURE__ */ jsxs("div", { className: "mt-2 flex flex-wrap items-center gap-3", children: [
222
- /* @__PURE__ */ jsx("span", { className: "text-[clamp(1.9rem,5.5vw,3rem)] font-medium leading-none tracking-[-0.04em] text-ink", children: /* @__PURE__ */ jsx(Roll, { text: price.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }) }),
223
+ /* @__PURE__ */ jsx("span", { className: "text-[clamp(1.9rem,5.5vw,3rem)] font-medium leading-none tracking-[-0.04em] text-ink", children: /* @__PURE__ */ jsx(Roll, { text: USD2.format(price) }) }),
223
224
  /* @__PURE__ */ jsxs(
224
225
  "span",
225
226
  {
@@ -127,7 +127,7 @@ function SaveState({ status }) {
127
127
  return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "relative block h-5 w-[58px]", children: [
128
128
  /* @__PURE__ */ jsx("span", { className: "absolute inset-0 flex items-center justify-end transition-[transform,opacity] duration-300", style: { opacity: saving ? 1 : 0, transform: saving ? "none" : "translateY(-4px)", transitionTimingFunction: EASE }, children: /* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded-full border-[1.5px] border-[color-mix(in_srgb,var(--ink)_25%,transparent)] border-t-ink", style: { animation: saving ? "aui058-spin .7s linear infinite" : "none" } }) }),
129
129
  /* @__PURE__ */ jsxs("span", { className: "absolute inset-0 flex items-center justify-end gap-1 text-[12px] font-medium text-brand transition-[transform,opacity] duration-500", style: { opacity: saved ? 1 : 0, transform: saved ? "none" : "translateY(4px)", transitionTimingFunction: EASE }, children: [
130
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M3.5 8.5l3 3 6-7", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: saved ? 0 : 1, transitionDuration: saved ? "420ms" : "0ms", transitionDelay: saved ? "80ms" : "0ms", transitionTimingFunction: EASE } }) }),
130
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: saved ? 0 : 1, transitionDuration: saved ? "420ms" : "0ms", transitionDelay: saved ? "80ms" : "0ms", transitionTimingFunction: EASE } }) }),
131
131
  "Saved"
132
132
  ] })
133
133
  ] });
@@ -11,7 +11,7 @@ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
11
11
  var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)]";
12
12
  var HOVER = "hover:bg-[color-mix(in_srgb,var(--ink)_4%,transparent)]";
13
13
  var ON = "bg-[color-mix(in_srgb,var(--ink)_6%,transparent)]";
14
- var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
14
+ var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
15
15
  function Logo({ w, size = "sm" }) {
16
16
  return /* @__PURE__ */ jsx(
17
17
  "span",
@@ -206,7 +206,7 @@ function Sidebar({
206
206
  HOVER
207
207
  ),
208
208
  children: [
209
- /* @__PURE__ */ jsx(Icon, { d: "M2.5 3.5h11v9h-11zM6 3.5v9M10.5 6.5 9 8l1.5 1.5", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
209
+ /* @__PURE__ */ jsx(Icon, { 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-2ZM9.5 4.5v15M15.5 10l-2 2 2 2", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
210
210
  collapsed && /* @__PURE__ */ jsx(Tip, { children: "Expand" })
211
211
  ]
212
212
  }
@@ -264,7 +264,7 @@ function Sidebar({
264
264
  promo.onDismiss?.();
265
265
  },
266
266
  className: "absolute right-2 top-2 z-10 flex h-7 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",
267
- children: /* @__PURE__ */ jsx(Icon, { d: "M4.5 4.5l7 7M11.5 4.5l-7 7", className: "h-3.5 w-3.5" })
267
+ children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3.5 w-3.5" })
268
268
  }
269
269
  )
270
270
  ]
@@ -289,7 +289,7 @@ function Sidebar({
289
289
  )
290
290
  }
291
291
  ),
292
- /* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M9 1.5 3.5 9H8l-1 5.5L12.5 7H8z" }) }) }),
292
+ /* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z" }) }) }),
293
293
  /* @__PURE__ */ jsx(Label, { hidden: collapsed, className: "relative", children: /* @__PURE__ */ jsx("span", { className: "block text-center", children: cta.label }) }),
294
294
  !collapsed && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "w-10 shrink-0" }),
295
295
  collapsed && /* @__PURE__ */ jsx(Tip, { children: cta.label })
@@ -319,7 +319,7 @@ function Sidebar({
319
319
  /* @__PURE__ */ jsx(
320
320
  Icon,
321
321
  {
322
- d: "m5.5 6 2.5-2.5L10.5 6M5.5 10l2.5 2.5 2.5-2.5",
322
+ d: "M8 9l4-4 4 4M8 15l4 4 4-4",
323
323
  className: cx("mr-2 shrink-0 text-mute transition-opacity duration-300", collapsed ? "opacity-0" : "opacity-100")
324
324
  }
325
325
  ),
@@ -359,7 +359,7 @@ function Sidebar({
359
359
  /* @__PURE__ */ jsx("span", { className: "truncate text-[13.5px] text-ink", children: w.name }),
360
360
  w.plan && /* @__PURE__ */ jsx("span", { className: "truncate text-[11.5px] text-mute", children: w.plan })
361
361
  ] }),
362
- on && /* @__PURE__ */ jsx(Icon, { d: "M3.5 8.5l3 3 6-7", className: "shrink-0 text-brand" })
362
+ on && /* @__PURE__ */ jsx(Icon, { d: "M5 12.5l4.5 4.5L19 7.5", className: "shrink-0 text-brand" })
363
363
  ]
364
364
  },
365
365
  w.id
@@ -9,7 +9,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  var cx = (...c) => c.filter(Boolean).join(" ");
10
10
  var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_12%,transparent)]";
11
11
  var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
12
- 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" }) });
12
+ 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" }) });
13
13
  function Preview({ kind }) {
14
14
  const bar = "rounded-full bg-[color-mix(in_srgb,var(--ink)_12%,transparent)] transition-colors duration-500";
15
15
  return /* @__PURE__ */ jsxs(
@@ -144,6 +144,8 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
144
144
  const [scrolled, setScrolled] = useState(false);
145
145
  const [sheet, setSheet] = useState(false);
146
146
  const [section, setSection] = useState(null);
147
+ const [pill, setPill] = useState({ x: 0, w: 0, on: false, glide: false });
148
+ const [current, setCurrent] = useState(null);
147
149
  const root = useRef(null);
148
150
  const content = useRef(null);
149
151
  const triggers = useRef([]);
@@ -190,7 +192,6 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
190
192
  const el = content.current;
191
193
  if (shown === null || !el) return;
192
194
  const measure = () => setSize({ w: el.offsetWidth, h: el.offsetHeight });
193
- measure();
194
195
  const ro = new ResizeObserver(measure);
195
196
  ro.observe(el);
196
197
  if (focusPanel.current) {
@@ -207,6 +208,26 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
207
208
  target.addEventListener("scroll", read, { passive: true });
208
209
  return () => target.removeEventListener("scroll", read);
209
210
  }, [scrollRoot]);
211
+ const anchors = items.map((it) => it.href).filter((h) => !!h && h.startsWith("#") && h.length > 1).join(" ");
212
+ useEffect(() => {
213
+ const els = anchors.split(" ").filter(Boolean).map((h) => document.getElementById(decodeURIComponent(h.slice(1)))).filter((el) => !!el);
214
+ if (!els.length) return;
215
+ const io = new IntersectionObserver(
216
+ (entries) => {
217
+ for (const e of entries) if (e.isIntersecting) setCurrent(`#${e.target.id}`);
218
+ if (entries.every((e) => !e.isIntersecting) && entries.length === els.length) setCurrent(null);
219
+ },
220
+ { root: scrollRoot?.current ?? null, rootMargin: "-45% 0px -50% 0px" }
221
+ );
222
+ els.forEach((el) => io.observe(el));
223
+ return () => io.disconnect();
224
+ }, [anchors, scrollRoot]);
225
+ const glideTo = (el, e) => {
226
+ if (e.pointerType !== "mouse") return;
227
+ const x = el.offsetLeft;
228
+ const w = el.offsetWidth;
229
+ setPill((p) => ({ x, w, on: true, glide: p.on }));
230
+ };
210
231
  useEffect(() => {
211
232
  const down = (e) => {
212
233
  if (!root.current?.contains(e.target)) {
@@ -233,14 +254,14 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
233
254
  useEffect(() => () => clearTimeout(timer.current), []);
234
255
  const menu = shown !== null ? items[shown]?.menu : void 0;
235
256
  const panelX = menu?.list ? Math.max(12, Math.min(anchor.left - 6, anchor.bar - size.w - 12)) : (anchor.bar - size.w) / 2;
236
- const trigger = "flex h-8 items-center gap-1 rounded-md px-2.5 text-[13.5px] font-medium text-ink-2 outline-none transition-colors duration-200 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 aria-expanded:bg-paper-2 aria-expanded:text-ink";
257
+ const trigger = "relative flex h-8 items-center gap-1 rounded-md px-2.5 text-[13.5px] font-medium text-ink-2 outline-none transition-colors duration-200 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 aria-expanded:text-ink";
237
258
  return /* @__PURE__ */ jsxs(
238
259
  "header",
239
260
  {
240
261
  ref: root,
241
262
  className: cx(
242
- "sticky top-0 z-30 w-full bg-paper/85 backdrop-blur-md transition-shadow duration-300",
243
- scrolled || sheet ? "shadow-[0_1px_0_color-mix(in_srgb,var(--ink)_10%,transparent)]" : "",
263
+ "sticky top-0 z-30 w-full transition-colors duration-300",
264
+ sheet && "bg-paper",
244
265
  className
245
266
  ),
246
267
  children: [
@@ -249,43 +270,102 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
249
270
  @keyframes kit-nav-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
250
271
  @media (prefers-reduced-motion: reduce) { .kit-nav-motion, .kit-nav-motion * { animation: none !important; transition-duration: 0s !important; } }
251
272
  ` }),
252
- /* @__PURE__ */ jsxs("div", { "data-kit-nav-bar": true, className: "kit-nav-motion relative flex h-14 items-center gap-3 px-4", children: [
273
+ /* @__PURE__ */ jsxs("div", { "data-kit-nav-bar": true, className: "kit-nav-motion relative isolate flex h-14 items-center gap-3 px-4", children: [
274
+ /* @__PURE__ */ jsx(
275
+ "span",
276
+ {
277
+ "aria-hidden": true,
278
+ className: cx(
279
+ "pointer-events-none absolute inset-x-1.5 inset-y-1.5 -z-10 rounded-[14px] bg-paper/90 backdrop-blur-md transition-[opacity,transform] duration-500",
280
+ "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_9%,transparent),0_1px_2px_rgb(0_0_0/0.04),0_12px_32px_-16px_rgb(0_0_0/0.28)]",
281
+ EASE,
282
+ scrolled && !sheet ? "opacity-100" : "scale-[.985] opacity-0"
283
+ )
284
+ }
285
+ ),
253
286
  /* @__PURE__ */ jsx("a", { href: brandHref, className: "flex flex-1 items-center gap-2 text-[15px] font-semibold tracking-[-0.02em] text-ink outline-none focus-visible:ring-2 focus-visible:ring-brand/50 rounded-md", children: brand }),
254
- /* @__PURE__ */ jsx("nav", { "aria-label": "Main", className: "hidden @min-[560px]:block", onPointerLeave: leave, onPointerEnter: stay, children: /* @__PURE__ */ jsx("ul", { className: "flex items-center gap-0.5", children: items.map((it, i) => /* @__PURE__ */ jsx("li", { children: it.menu ? /* @__PURE__ */ jsxs(
255
- "button",
287
+ /* @__PURE__ */ jsx(
288
+ "nav",
256
289
  {
257
- ref: (el) => {
258
- triggers.current[i] = el;
259
- },
260
- type: "button",
261
- "aria-expanded": open === i,
262
- "aria-controls": panelId,
263
- onPointerEnter: (e) => e.pointerType === "mouse" && enter(i),
264
- onClick: () => {
265
- if (open !== i) return show(i);
266
- if (performance.now() - hoverAt.current > 400) show(null);
267
- },
268
- onKeyDown: (e) => {
269
- if (e.key === "ArrowDown" || (e.key === "Enter" || e.key === " ") && open !== i) {
270
- e.preventDefault();
271
- if (open === i) return content.current?.querySelector("[data-kit-nav-link]")?.focus();
272
- focusPanel.current = true;
273
- show(i);
274
- } else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
275
- e.preventDefault();
276
- const step = e.key === "ArrowRight" ? 1 : -1;
277
- const next = (i + step + items.length) % items.length;
278
- root.current?.querySelectorAll("nav[aria-label=Main] li > *")[next]?.focus();
279
- if (open !== null && items[next].menu) show(next);
280
- }
290
+ "aria-label": "Main",
291
+ className: "hidden @min-[560px]:block",
292
+ onPointerLeave: () => {
293
+ leave();
294
+ setPill((p) => ({ ...p, on: false }));
281
295
  },
282
- className: cx(trigger, "pr-2"),
283
- children: [
284
- it.label,
285
- /* @__PURE__ */ jsx(Chevron, { className: cx("text-mute transition-transform duration-300", EASE, open === i ? "-rotate-90" : "rotate-90") })
286
- ]
296
+ onPointerEnter: stay,
297
+ children: /* @__PURE__ */ jsxs("ul", { className: "relative flex items-center gap-0.5", children: [
298
+ /* @__PURE__ */ jsx("li", { "aria-hidden": true, className: "pointer-events-none absolute left-0 top-0", children: /* @__PURE__ */ jsx(
299
+ "span",
300
+ {
301
+ className: cx(
302
+ "block h-8 rounded-md bg-paper-2",
303
+ // perf-ok: width follows the hovered link. An absolute 32px box, so nothing else lays out.
304
+ pill.glide ? "transition-[transform,width,opacity] duration-300" : "transition-opacity duration-200",
305
+ EASE,
306
+ pill.on || open !== null ? "opacity-100" : "opacity-0"
307
+ ),
308
+ style: { width: pill.w, transform: `translateX(${pill.x}px)` }
309
+ }
310
+ ) }),
311
+ items.map((it, i) => /* @__PURE__ */ jsx("li", { children: it.menu ? /* @__PURE__ */ jsxs(
312
+ "button",
313
+ {
314
+ ref: (el) => {
315
+ triggers.current[i] = el;
316
+ },
317
+ type: "button",
318
+ "aria-expanded": open === i,
319
+ "aria-controls": panelId,
320
+ onPointerEnter: (e) => {
321
+ glideTo(e.currentTarget, e);
322
+ if (e.pointerType === "mouse") enter(i);
323
+ },
324
+ onClick: () => {
325
+ if (open !== i) return show(i);
326
+ if (performance.now() - hoverAt.current > 400) show(null);
327
+ },
328
+ onKeyDown: (e) => {
329
+ if (e.key === "ArrowDown" || (e.key === "Enter" || e.key === " ") && open !== i) {
330
+ e.preventDefault();
331
+ if (open === i) return content.current?.querySelector("[data-kit-nav-link]")?.focus();
332
+ focusPanel.current = true;
333
+ show(i);
334
+ } else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
335
+ e.preventDefault();
336
+ const step = e.key === "ArrowRight" ? 1 : -1;
337
+ const next = (i + step + items.length) % items.length;
338
+ root.current?.querySelectorAll("nav[aria-label=Main] li:not([aria-hidden]) > *")[next]?.focus();
339
+ if (open !== null && items[next].menu) show(next);
340
+ }
341
+ },
342
+ className: cx(trigger, "pr-2"),
343
+ children: [
344
+ it.label,
345
+ /* @__PURE__ */ jsx(Chevron, { className: cx("text-mute transition-transform duration-300", EASE, open === i ? "-rotate-90" : "rotate-90") })
346
+ ]
347
+ }
348
+ ) : /* @__PURE__ */ jsx(
349
+ "a",
350
+ {
351
+ href: it.href,
352
+ "aria-current": current !== null && it.href === current ? "location" : void 0,
353
+ className: cx(
354
+ trigger,
355
+ "aria-[current=location]:text-ink",
356
+ // A small brand dot under the section on screen, with aria-current and a darker label.
357
+ "after:absolute after:bottom-0 after:left-1/2 after:h-1 after:w-1 after:-translate-x-1/2 after:rounded-full after:bg-brand after:opacity-0 after:transition-opacity after:duration-300 aria-[current=location]:after:opacity-100"
358
+ ),
359
+ onPointerEnter: (e) => {
360
+ glideTo(e.currentTarget, e);
361
+ if (openRef.current !== null) show(null);
362
+ },
363
+ children: it.label
364
+ }
365
+ ) }, it.label))
366
+ ] })
287
367
  }
288
- ) : /* @__PURE__ */ jsx("a", { href: it.href, className: trigger, onPointerEnter: () => openRef.current !== null && show(null), children: it.label }) }, it.label)) }) }),
368
+ ),
289
369
  /* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center justify-end gap-1.5", children: [
290
370
  docs && /* @__PURE__ */ jsx(
291
371
  "div",
@@ -200,7 +200,7 @@ var SettingsPanel = forwardRef(function SettingsPanel2({ initial, onSave, langua
200
200
  children: languages.map((l) => /* @__PURE__ */ jsx("option", { children: l }, l))
201
201
  }
202
202
  ),
203
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "pointer-events-none absolute right-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4.5 6.5 3.5 3.5 3.5-3.5" }) })
203
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "pointer-events-none absolute right-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
204
204
  ] })
205
205
  ] })
206
206
  ] })
@@ -223,7 +223,7 @@ var SettingsPanel = forwardRef(function SettingsPanel2({ initial, onSave, langua
223
223
  className: "pointer-events-auto flex items-center gap-2 rounded-[10px] bg-ink py-2 pl-4 pr-2 text-paper shadow-[0_12px_30px_-10px_rgb(0_0_0/0.5)]",
224
224
  children: [
225
225
  /* @__PURE__ */ jsx("span", { className: "flex min-w-0 flex-1 items-center gap-2 text-[13.5px]", "aria-live": "polite", children: status === "saved" ? /* @__PURE__ */ jsxs(Fragment, { children: [
226
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4 shrink-0 text-paper", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M3.5 8.5l3 3 6-7" }) }),
226
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-paper", 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" }) }),
227
227
  "Saved"
228
228
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
229
229
  /* @__PURE__ */ jsx("span", { className: "h-1.5 w-1.5 shrink-0 rounded-full bg-brand" }),
@@ -214,9 +214,11 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
214
214
  open && "!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_30%,transparent)]"
215
215
  ),
216
216
  children: [
217
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: cx("h-4 w-4 shrink-0", sel ? "text-brand" : "text-[color-mix(in_srgb,var(--paper)_50%,transparent)]"), fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: [
218
- /* @__PURE__ */ jsx("rect", { x: "2.5", y: "3.5", width: "11", height: "10", rx: "2" }),
219
- /* @__PURE__ */ jsx("path", { d: "M2.5 6.5h11M5.5 2v3M10.5 2v3" })
217
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 shrink-0", sel ? "text-brand" : "text-[color-mix(in_srgb,var(--paper)_50%,transparent)]"), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
218
+ /* @__PURE__ */ jsx("rect", { x: "4", y: "5.5", width: "16", height: "14.5", rx: "2" }),
219
+ /* @__PURE__ */ jsx("path", { d: "M4 10h16" }),
220
+ /* @__PURE__ */ jsx("path", { d: "M8.5 3.5v4" }),
221
+ /* @__PURE__ */ jsx("path", { d: "M15.5 3.5v4" })
220
222
  ] }),
221
223
  /* @__PURE__ */ jsx("span", { className: "font-mono text-[10.5px] uppercase tracking-[0.08em] text-[color-mix(in_srgb,var(--paper)_50%,transparent)]", children: label }),
222
224
  /* @__PURE__ */ jsxs("span", { className: "text-[13.5px] font-medium tabular-nums tracking-[-0.01em]", children: [
@@ -224,7 +226,7 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
224
226
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: text })
225
227
  ] }),
226
228
  relText && /* @__PURE__ */ jsx("span", { className: "hidden text-[12px] text-[color-mix(in_srgb,var(--paper)_50%,transparent)] sm:inline", children: relText }),
227
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-3.5 w-3.5 shrink-0 text-[color-mix(in_srgb,var(--paper)_50%,transparent)] transition-transform duration-300", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
229
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 shrink-0 text-[color-mix(in_srgb,var(--paper)_50%,transparent)] transition-transform duration-300", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
228
230
  ]
229
231
  }
230
232
  ),
@@ -281,7 +283,7 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
281
283
  flip(d);
282
284
  },
283
285
  className: "flex h-7 w-7 items-center justify-center rounded-[7px] text-[color-mix(in_srgb,var(--paper)_70%,transparent)] outline-none transition-[background-color,transform] duration-150 hover:bg-[color-mix(in_srgb,var(--paper)_10%,transparent)] hover:text-paper focus-visible:ring-2 focus-visible:ring-brand/70 active:scale-90",
284
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: d === 1 ? "m6 3.5 4.5 4.5L6 12.5" : "m10 3.5L5.5 8l4.5 4.5" }) })
286
+ children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: d === 1 ? "M9.5 6l6 6-6 6" : "M14.5 6l-6 6 6 6" }) })
285
287
  },
286
288
  d
287
289
  )) })
@@ -11,7 +11,7 @@ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
11
11
  var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)]";
12
12
  var HOVER = "hover:bg-[color-mix(in_srgb,var(--ink)_4%,transparent)]";
13
13
  var ON = "bg-[color-mix(in_srgb,var(--ink)_6%,transparent)]";
14
- var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
14
+ var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
15
15
  function Logo({ w, size = "sm" }) {
16
16
  return /* @__PURE__ */ jsx(
17
17
  "span",
@@ -206,7 +206,7 @@ function Sidebar({
206
206
  HOVER
207
207
  ),
208
208
  children: [
209
- /* @__PURE__ */ jsx(Icon, { d: "M2.5 3.5h11v9h-11zM6 3.5v9M10.5 6.5 9 8l1.5 1.5", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
209
+ /* @__PURE__ */ jsx(Icon, { 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-2ZM9.5 4.5v15M15.5 10l-2 2 2 2", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
210
210
  collapsed && /* @__PURE__ */ jsx(Tip, { children: "Expand" })
211
211
  ]
212
212
  }
@@ -264,7 +264,7 @@ function Sidebar({
264
264
  promo.onDismiss?.();
265
265
  },
266
266
  className: "absolute right-2 top-2 z-10 flex h-7 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",
267
- children: /* @__PURE__ */ jsx(Icon, { d: "M4.5 4.5l7 7M11.5 4.5l-7 7", className: "h-3.5 w-3.5" })
267
+ children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3.5 w-3.5" })
268
268
  }
269
269
  )
270
270
  ]
@@ -289,7 +289,7 @@ function Sidebar({
289
289
  )
290
290
  }
291
291
  ),
292
- /* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M9 1.5 3.5 9H8l-1 5.5L12.5 7H8z" }) }) }),
292
+ /* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z" }) }) }),
293
293
  /* @__PURE__ */ jsx(Label, { hidden: collapsed, className: "relative", children: /* @__PURE__ */ jsx("span", { className: "block text-center", children: cta.label }) }),
294
294
  !collapsed && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "w-10 shrink-0" }),
295
295
  collapsed && /* @__PURE__ */ jsx(Tip, { children: cta.label })
@@ -319,7 +319,7 @@ function Sidebar({
319
319
  /* @__PURE__ */ jsx(
320
320
  Icon,
321
321
  {
322
- d: "m5.5 6 2.5-2.5L10.5 6M5.5 10l2.5 2.5 2.5-2.5",
322
+ d: "M8 9l4-4 4 4M8 15l4 4 4-4",
323
323
  className: cx("mr-2 shrink-0 text-mute transition-opacity duration-300", collapsed ? "opacity-0" : "opacity-100")
324
324
  }
325
325
  ),
@@ -359,7 +359,7 @@ function Sidebar({
359
359
  /* @__PURE__ */ jsx("span", { className: "truncate text-[13.5px] text-ink", children: w.name }),
360
360
  w.plan && /* @__PURE__ */ jsx("span", { className: "truncate text-[11.5px] text-mute", children: w.plan })
361
361
  ] }),
362
- on && /* @__PURE__ */ jsx(Icon, { d: "M3.5 8.5l3 3 6-7", className: "shrink-0 text-brand" })
362
+ on && /* @__PURE__ */ jsx(Icon, { d: "M5 12.5l4.5 4.5L19 7.5", className: "shrink-0 text-brand" })
363
363
  ]
364
364
  },
365
365
  w.id
@@ -58,7 +58,11 @@ function Meter({ label, value = 0, max, segments, format = (n) => n.toLocaleStri
58
58
  ] })
59
59
  ] }),
60
60
  warn ? /* @__PURE__ */ jsxs("p", { className: "asta-meter-a flex animate-[asta-meter-fade_.4s_cubic-bezier(.16,1,.3,1)_both] items-center gap-1.5 font-medium text-ink", children: [
61
- /* @__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: /* @__PURE__ */ jsx("path", { d: "M8 2.5 14 13H2zM8 6.5v3M8 11.2h.01" }) }),
61
+ /* @__PURE__ */ jsxs("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: [
62
+ /* @__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" }),
63
+ /* @__PURE__ */ jsx("path", { d: "M12 9.5v4" }),
64
+ /* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
65
+ ] }),
62
66
  warning
63
67
  ] }, "warn") : /* @__PURE__ */ jsxs("p", { className: "tabular-nums text-mute", children: [
64
68
  Math.round(share * 100),
@@ -9,7 +9,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  var cx = (...c) => c.filter(Boolean).join(" ");
10
10
  var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
11
11
  var CURVE = "cubic-bezier(.16,1,.3,1)";
12
- var Check = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M4 8.5l2.5 2.5 5.5-6" }) });
12
+ var Check = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, 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" }) });
13
13
  function Mark({ done, current }) {
14
14
  return /* @__PURE__ */ jsxs("span", { className: "relative flex h-5 w-5 shrink-0 items-center justify-center", "aria-hidden": true, children: [
15
15
  /* @__PURE__ */ jsx(
@@ -135,14 +135,15 @@ function Onboarding({ title = "Get set up", subtitle, steps, defaultCompleted =
135
135
  /* @__PURE__ */ jsx(
136
136
  "svg",
137
137
  {
138
- viewBox: "0 0 16 16",
138
+ viewBox: "0 0 24 24",
139
139
  className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300", EASE, isOpen && "rotate-180"),
140
140
  fill: "none",
141
141
  stroke: "currentColor",
142
- strokeWidth: "1.7",
142
+ strokeWidth: "2.55",
143
143
  strokeLinecap: "round",
144
+ strokeLinejoin: "round",
144
145
  "aria-hidden": true,
145
- children: /* @__PURE__ */ jsx("path", { d: "m4.5 6.5 3.5 3.5 3.5-3.5" })
146
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
146
147
  }
147
148
  )
148
149
  ]