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
@@ -5,12 +5,12 @@ import { useRef, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var TOOLS = [
8
- { id: "bold", label: "Bold", key: "b", before: "**", after: "**", d: "M5 3h4a2.5 2.5 0 0 1 0 5H5zM5 8h4.5a2.5 2.5 0 0 1 0 5H5z" },
9
- { id: "italic", label: "Italic", key: "i", before: "_", after: "_", d: "M10 3H7M9 13H6M9 3 7 13" },
10
- { id: "code", label: "Code", key: "e", before: "`", after: "`", d: "m6 4-4 4 4 4M10 4l4 4-4 4" },
11
- { id: "link", label: "Link", key: "k", before: "[", after: "](https://)", d: "M7 9a3 3 0 0 0 4 0l2-2a3 3 0 0 0-4-4l-.5.5M9 7a3 3 0 0 0-4 0L3 9a3 3 0 0 0 4 4l.5-.5" },
12
- { id: "quote", label: "Quote", before: "> ", after: "", line: true, d: "M3 6h4v4H4l-1 3M9 6h4v4h-3l-1 3" },
13
- { id: "list", label: "List", before: "- ", after: "", line: true, d: "M6 4h8M6 8h8M6 12h8M2.5 4h.01M2.5 8h.01M2.5 12h.01" }
8
+ { id: "bold", label: "Bold", key: "b", before: "**", after: "**", d: "M7 4.5h5.5a3.75 3.75 0 0 1 0 7.5H7ZM7 12h6.5a3.75 3.75 0 0 1 0 7.5H7Z" },
9
+ { id: "italic", label: "Italic", key: "i", before: "_", after: "_", d: "M10 4.5h8M6 19.5h8M14 4.5l-4 15" },
10
+ { id: "code", label: "Code", key: "e", before: "`", after: "`", d: "M8.5 7l-5 5 5 5M15.5 7l5 5-5 5" },
11
+ { id: "link", label: "Link", key: "k", before: "[", after: "](https://)", d: "M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1" },
12
+ { id: "quote", label: "Quote", before: "> ", after: "", line: true, d: "M9.5 11.5h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3.5-1.5 5.5-5 6.5M19 11.5h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3.5-1.5 5.5-5 6.5" },
13
+ { id: "list", label: "List", before: "- ", after: "", line: true, d: "M9 6.5h11M9 12h11M9 17.5h11M4.5 6.5h.01M4.5 12h.01M4.5 17.5h.01" }
14
14
  ];
15
15
  function MarkdownTextarea({ tools = TOOLS.map((t) => t.id), className, rows = 6, ...rest }) {
16
16
  const area = useRef(null);
@@ -69,7 +69,7 @@ function MarkdownTextarea({ tools = TOOLS.map((t) => t.id), className, rows = 6,
69
69
  "grid h-7 w-7 place-items-center rounded-md text-mute transition-[background-color,color,transform] duration-200 ease-[cubic-bezier(.16,1,.3,1)] hover:bg-paper hover:text-ink active:scale-90 motion-reduce:transition-none",
70
70
  flash === t.id && "scale-90 bg-paper text-brand"
71
71
  ),
72
- 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: /* @__PURE__ */ jsx("path", { d: t.d }) })
72
+ 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: /* @__PURE__ */ jsx("path", { d: t.d }) })
73
73
  },
74
74
  t.id
75
75
  )) }),
@@ -93,7 +93,7 @@ function EmailTagInput({
93
93
  ),
94
94
  style: { animation: shaking ? `aui048-shake .42s ${EASE}` : ok ? `aui048-in .45s ${EASE} both` : `aui048-bad .7s ${EASE} both` },
95
95
  children: [
96
- ok ? /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-[10.5px] font-semibold uppercase", mate ? "bg-brand text-white" : "bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_16%,transparent)]"), children: local[0] }) : /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-ink text-[12px] font-semibold text-paper", children: "!" }),
96
+ ok ? /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-[10.5px] font-semibold uppercase", mate ? "bg-brand text-on-brand" : "bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_16%,transparent)]"), children: local[0] }) : /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-ink text-[12px] font-semibold text-paper", children: "!" }),
97
97
  /* @__PURE__ */ jsxs(
98
98
  "button",
99
99
  {
@@ -127,7 +127,10 @@ function EmailTagInput({
127
127
  },
128
128
  "aria-label": `Remove ${e}`,
129
129
  className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-[5px] text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
130
- 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" }) })
130
+ 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: [
131
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
132
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
133
+ ] })
131
134
  }
132
135
  )
133
136
  ]
@@ -178,9 +181,10 @@ function EmailTagInput({
178
181
  ),
179
182
  name && list.filter(isEmailAddress).map((e) => /* @__PURE__ */ jsx("input", { type: "hidden", name, value: e }, e)),
180
183
  /* @__PURE__ */ jsx("p", { id: `${id}-status`, "aria-live": "polite", className: "mt-2 flex h-5 items-center gap-1.5 overflow-hidden pl-1 text-[12px] text-mute", children: /* @__PURE__ */ jsxs("span", { className: cx("flex items-center gap-1.5", bad.length > 0 && "text-ink"), style: { animation: `aui048-line .4s ${EASE} both` }, children: [
181
- bad.length > 0 && /* @__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: [
182
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
183
- /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
184
+ bad.length > 0 && /* @__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: [
185
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
186
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
187
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
184
188
  ] }),
185
189
  status
186
190
  ] }, status) })
@@ -13,14 +13,14 @@ var SIZE = {
13
13
  };
14
14
  var PAPER = "var(--paper)";
15
15
  var STATUS = {
16
- online: "#30a46c",
17
- away: `radial-gradient(closest-side at 30% 30%, ${PAPER} 92%, #f5a524 100%)`,
18
- busy: `linear-gradient(${PAPER}, ${PAPER}) center / 60% 20% no-repeat, #e5484d`,
16
+ online: "var(--brand)",
17
+ away: `radial-gradient(closest-side at 30% 30%, ${PAPER} 92%, var(--ink-2) 100%)`,
18
+ busy: `linear-gradient(${PAPER}, ${PAPER}) center / 60% 20% no-repeat, var(--ink)`,
19
19
  offline: `radial-gradient(closest-side, ${PAPER} 48%, var(--mute) 56%)`
20
20
  };
21
21
  var FILLS = [
22
22
  "bg-ink text-paper",
23
- "bg-brand text-white",
23
+ "bg-brand text-on-brand",
24
24
  "bg-paper-2 text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]",
25
25
  "bg-[color-mix(in_srgb,var(--brand)_14%,var(--paper))] text-brand",
26
26
  "bg-[color-mix(in_srgb,var(--ink)_70%,var(--paper))] text-paper"
@@ -46,6 +46,8 @@ function Avatar({ name, src, size = "md", status, shape = "circle", className })
46
46
  )
47
47
  ] });
48
48
  }
49
+ var FAN_ONLY = "group-hover/av:[transform:translateX(calc(var(--av-i)*14px))]";
50
+ var FAN = `-ml-2.5 ${FAN_ONLY}`;
49
51
  function AvatarGroup({ people, max = 4, size = "md", children }) {
50
52
  const shown = people.slice(0, max);
51
53
  const rest = people.length - shown.length;
@@ -56,9 +58,10 @@ function AvatarGroup({ people, max = 4, size = "md", children }) {
56
58
  {
57
59
  title: p.name,
58
60
  className: cx(
59
- "relative rounded-full shadow-[0_0_0_2px_var(--paper)] transition-[margin,transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)] hover:z-10 hover:-translate-y-1",
60
- i > 0 && "-ml-2.5 group-hover/av:ml-1"
61
+ "relative rounded-full shadow-[0_0_0_2px_var(--paper)] transition-[transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)] hover:z-10 hover:-translate-y-1",
62
+ i > 0 && FAN
61
63
  ),
64
+ style: i > 0 ? { "--av-i": i } : void 0,
62
65
  children: /* @__PURE__ */ jsx(Avatar, { name: p.name, src: p.src, size })
63
66
  },
64
67
  p.name
@@ -67,17 +70,19 @@ function AvatarGroup({ people, max = 4, size = "md", children }) {
67
70
  "span",
68
71
  {
69
72
  className: cx(
70
- "relative -ml-2.5 inline-flex items-center justify-center rounded-full bg-paper-2 font-medium tabular-nums text-ink-2 shadow-[0_0_0_2px_var(--paper)] transition-[margin] duration-500 ease-[cubic-bezier(.16,1,.3,1)] group-hover/av:ml-1",
73
+ "relative inline-flex items-center justify-center rounded-full bg-paper-2 font-medium tabular-nums text-ink-2 shadow-[0_0_0_2px_var(--paper)] transition-[transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)]",
74
+ FAN,
71
75
  s.box,
72
76
  s.text
73
77
  ),
78
+ style: { "--av-i": shown.length },
74
79
  children: [
75
80
  "+",
76
81
  rest
77
82
  ]
78
83
  }
79
84
  ),
80
- children
85
+ children && /* @__PURE__ */ jsx("span", { className: cx("inline-flex items-center transition-[transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)]", FAN_ONLY), style: { "--av-i": shown.length - 1 + (rest > 0 ? 1 : 0) }, children })
81
86
  ] });
82
87
  }
83
88
  var avatar_default = Avatar;
@@ -1,7 +1,7 @@
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/empty-state.tsx
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  buttonClass
4
- } from "./chunk-WSL4JGEA.js";
4
+ } from "./chunk-HSDMCZMX.js";
5
5
 
6
6
  // components/kit/base/dropdown-menu.tsx
7
7
  import { Menu } from "@base-ui/react/menu";
@@ -14,15 +14,15 @@ function DropdownMenu({ children, groups, align = "start", variant = "outline",
14
14
  /* @__PURE__ */ jsx(
15
15
  "svg",
16
16
  {
17
- viewBox: "0 0 16 16",
17
+ viewBox: "0 0 24 24",
18
18
  className: "-mr-1 h-3.5 w-3.5 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[popup-open]/trigger:rotate-180",
19
19
  fill: "none",
20
20
  stroke: "currentColor",
21
- strokeWidth: "1.7",
21
+ strokeWidth: "2.55",
22
22
  strokeLinecap: "round",
23
23
  strokeLinejoin: "round",
24
24
  "aria-hidden": true,
25
- children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" })
25
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
26
26
  }
27
27
  )
28
28
  ] }),
@@ -46,7 +46,7 @@ function DropdownMenu({ children, groups, align = "start", variant = "outline",
46
46
  className: cx(
47
47
  "group/item flex h-9 w-full cursor-pointer select-none items-center gap-2.5 rounded-[10px] px-2.5 text-[13.5px] outline-none transition-colors duration-150",
48
48
  "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-40",
49
- it.danger ? "text-[#e5484d] data-[highlighted]:bg-[#e5484d]/10" : "text-ink data-[highlighted]:bg-paper-2"
49
+ it.danger ? "text-ink data-[highlighted]:bg-paper-2" : "text-ink data-[highlighted]:bg-paper-2"
50
50
  ),
51
51
  children: [
52
52
  it.icon && /* @__PURE__ */ jsx("span", { className: cx("inline-flex h-4 w-4 shrink-0 [&_svg]:h-4 [&_svg]:w-4", !it.danger && "text-mute group-data-[highlighted]/item:text-ink"), children: it.icon }),
@@ -24,7 +24,10 @@ var rise = (i, on = true) => on ? { animation: `aui018-rise .6s ${EASE} ${80 + i
24
24
  var validEmail = (v) => /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(v.trim());
25
25
  var wait = (ms) => new Promise((r) => setTimeout(r, ms));
26
26
  var Spinner = () => /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent" });
27
- var Arrow = () => /* @__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" }) });
27
+ var Arrow = () => /* @__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: [
28
+ /* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
29
+ /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
30
+ ] });
28
31
  function Field({ label, name, type, inputMode, value, onChange, error, shake, autoComplete, placeholder, inputRef, onKeyUp, hint, end }) {
29
32
  const id = useId();
30
33
  const box = useRef(null);
@@ -69,9 +72,10 @@ function Field({ label, name, type, inputMode, value, onChange, error, shake, au
69
72
  end && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-1 flex items-center", children: end })
70
73
  ] }),
71
74
  hasError && /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui018-in .3s ${EASE} both` }, children: [
72
- /* @__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: [
73
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.25" }),
74
- /* @__PURE__ */ jsx("path", { d: "M8 4.8v3.6M8 11h.01" })
75
+ /* @__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: [
76
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
77
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
78
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
75
79
  ] }),
76
80
  error
77
81
  ] })
@@ -232,7 +236,7 @@ function StepSignIn({ brand = "Astabyte", title = "Sign in to Astabyte", subtitl
232
236
  RING
233
237
  ),
234
238
  children: [
235
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "ml-1 h-4 w-4 shrink-0 text-mute 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: "M10 3.5 5.5 8l4.5 4.5" }) }),
239
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "ml-1 h-4 w-4 shrink-0 text-mute 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: /* @__PURE__ */ jsx("path", { d: "m14.5 6-6 6 6 6" }) }),
236
240
  /* @__PURE__ */ jsxs("span", { className: "relative flex h-9 w-9 shrink-0", "aria-hidden": true, children: [
237
241
  step === 1 && /* @__PURE__ */ jsx("span", { className: "absolute inset-0 rounded-full bg-brand", style: { animation: `aui018-halo .9s ${EASE} 350ms both` } }),
238
242
  /* @__PURE__ */ jsx(
@@ -283,10 +287,10 @@ function StepSignIn({ brand = "Astabyte", title = "Sign in to Astabyte", subtitl
283
287
  "aria-label": reveal ? "Hide password" : "Show password",
284
288
  "aria-pressed": reveal,
285
289
  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",
286
- 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: [
287
- /* @__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" }),
288
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "2" }),
289
- !reveal && /* @__PURE__ */ jsx("path", { d: "M2.5 13.5l11-11" })
290
+ 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: [
291
+ /* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
292
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75" }),
293
+ !reveal && /* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15" })
290
294
  ] })
291
295
  }
292
296
  )
@@ -78,9 +78,10 @@ function SlugInput({
78
78
  }
79
79
  ),
80
80
  /* @__PURE__ */ jsxs("div", { className: "mt-3 flex min-h-10 items-center gap-2 rounded-[9px] bg-paper-2 py-1.5 pl-3 pr-1.5 text-[13px]", children: [
81
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.4", "aria-hidden": true, children: [
82
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6" }),
83
- /* @__PURE__ */ jsx("path", { d: "M2 8h12M8 2c1.8 1.7 2.6 3.7 2.6 6S9.8 12.3 8 14M8 2C6.2 3.7 5.4 5.7 5.4 8s.8 4.3 2.6 6" })
81
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
82
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
83
+ /* @__PURE__ */ jsx("path", { d: "M3.5 12h17" }),
84
+ /* @__PURE__ */ jsx("path", { d: "M12 3.5c2.5 2.6 3.5 5.5 3.5 8.5s-1 5.9-3.5 8.5C9.5 17.9 8.5 15 8.5 12s1-5.9 3.5-8.5Z" })
84
85
  ] }),
85
86
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 items-center overflow-hidden whitespace-nowrap", children: [
86
87
  /* @__PURE__ */ jsx("span", { className: "min-w-[3ch] truncate text-mute", children: base }),
@@ -143,7 +144,13 @@ function SlugInput({
143
144
  },
144
145
  "aria-label": custom !== null && !editing ? "Follow the title again" : "Edit slug",
145
146
  className: "grid h-7 w-7 shrink-0 place-items-center rounded-[7px] text-mute outline-none transition-colors duration-200 hover:bg-paper hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
146
- children: custom !== null && !editing ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M6.5 9.5 9.5 6.5M7 4.5l1.3-1.3a2.5 2.5 0 0 1 3.5 3.5L10.5 8M9 11.5l-1.3 1.3a2.5 2.5 0 0 1-3.5-3.5L5.5 8" }) }) : /* @__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: "M10.5 2.5l3 3L6 13H3v-3l7.5-7.5Z" }) })
147
+ children: custom !== null && !editing ? /* @__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: [
148
+ /* @__PURE__ */ jsx("path", { d: "M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1" }),
149
+ /* @__PURE__ */ jsx("path", { d: "M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1" })
150
+ ] }) : /* @__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: [
151
+ /* @__PURE__ */ jsx("path", { d: "M4.5 19.5 5 16 15.5 5.5a2.1 2.1 0 0 1 3 3L8 19Z" }),
152
+ /* @__PURE__ */ jsx("path", { d: "m13.5 7.5 3 3" })
153
+ ] })
147
154
  }
148
155
  )
149
156
  ] }),
@@ -265,7 +265,7 @@ function ScrubInput({ label, title, value, defaultValue = 0, onChange, min = -In
265
265
  )
266
266
  }
267
267
  ),
268
- scrub !== null && scrub !== 1 ? /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "mr-1.5 shrink-0 rounded-[4px] bg-brand px-1 text-[10.5px] font-medium leading-4 tabular-nums text-white", children: [
268
+ scrub !== null && scrub !== 1 ? /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "mr-1.5 shrink-0 rounded-[4px] bg-brand px-1 text-[10.5px] font-medium leading-4 tabular-nums text-on-brand", children: [
269
269
  "\xD7",
270
270
  scrub
271
271
  ] }) : unit && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "shrink-0 pr-2 text-[11.5px] text-mute", children: unit }),
@@ -82,7 +82,7 @@ function TreeCheckbox({
82
82
  onClick: () => set(p.ids),
83
83
  className: cx(
84
84
  "relative h-8 flex-1 rounded-[8px] text-[13px] font-medium outline-none transition-transform duration-200 active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50",
85
- on ? "text-white" : "text-ink"
85
+ on ? "text-paper" : "text-ink"
86
86
  ),
87
87
  children: [
88
88
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute inset-0 rounded-[8px] bg-paper-2 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_6%,transparent)]" }),
@@ -111,7 +111,7 @@ function TreeCheckbox({
111
111
  "aria-label": `${isOpen ? "Collapse" : "Expand"} ${g.label}`,
112
112
  onClick: () => setOpen((o) => o.includes(g.id) ? o.filter((x) => x !== g.id) : [...o, g.id]),
113
113
  className: "relative grid h-7 w-7 shrink-0 place-items-center rounded-[7px] text-mute outline-none transition-colors hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
114
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 transition-transform duration-300", style: { transform: `rotate(${isOpen ? 90 : 0}deg)`, transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M6 3.5L10.5 8 6 12.5" }) })
114
+ children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300", style: { transform: `rotate(${isOpen ? 90 : 0}deg)`, transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) })
115
115
  }
116
116
  ),
117
117
  /* @__PURE__ */ jsxs("label", { htmlFor: gid, className: "relative flex min-w-0 flex-1 cursor-pointer select-none items-center gap-3 rounded-[7px] py-0.5 has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-brand", children: [
@@ -163,8 +163,8 @@ function TriBox({ id, state, onToggle, small }) {
163
163
  style: { opacity: filled ? 1 : 0, transform: filled ? "scale(1)" : "scale(0.6)", transitionTimingFunction: SPRING }
164
164
  }
165
165
  ),
166
- /* @__PURE__ */ jsx("svg", { "aria-hidden": true, viewBox: "0 0 16 16", className: cx("relative text-white", small ? "h-2.5 w-2.5" : "h-3 w-3"), fill: "none", stroke: "currentColor", strokeWidth: "2.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M3.5 8.5l3 3 6-7", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 0 : 1, transitionDuration: on ? "380ms" : "120ms", transitionTimingFunction: EASE } }) }),
167
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute h-[2.2px] w-2 rounded-full bg-white transition-transform duration-300", style: { transform: `scaleX(${mixed ? 1 : 0})`, transitionTimingFunction: EASE } })
166
+ /* @__PURE__ */ jsx("svg", { "aria-hidden": true, viewBox: "0 0 24 24", className: cx("relative text-on-brand", small ? "h-2.5 w-2.5" : "h-3 w-3"), fill: "none", stroke: "currentColor", strokeWidth: "3.9", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 0 : 1, transitionDuration: on ? "380ms" : "120ms", transitionTimingFunction: EASE } }) }),
167
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute h-[2.2px] w-2 rounded-full bg-on-brand transition-transform duration-300", style: { transform: `scaleX(${mixed ? 1 : 0})`, transitionTimingFunction: EASE } })
168
168
  ] });
169
169
  }
170
170
  var checkbox_aui_054_default = TreeCheckbox;
@@ -24,20 +24,20 @@ function Chevron() {
24
24
  return /* @__PURE__ */ jsx(
25
25
  "svg",
26
26
  {
27
- viewBox: "0 0 16 16",
27
+ viewBox: "0 0 24 24",
28
28
  className: "h-4 w-4 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[popup-open]/sel:rotate-180",
29
29
  fill: "none",
30
30
  stroke: "currentColor",
31
- strokeWidth: "1.6",
31
+ strokeWidth: "2.4",
32
32
  strokeLinecap: "round",
33
33
  strokeLinejoin: "round",
34
34
  "aria-hidden": true,
35
- children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" })
35
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
36
36
  }
37
37
  );
38
38
  }
39
39
  function Check({ on }) {
40
- return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: cx("h-4 w-4 shrink-0 text-brand transition-opacity", on ? "opacity-100" : "opacity-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" }) });
40
+ return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 shrink-0 text-brand transition-opacity", on ? "opacity-100" : "opacity-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" }) });
41
41
  }
42
42
  function Shown({ option, placeholder }) {
43
43
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -134,9 +134,9 @@ function SearchSelect({ options, value, defaultValue, onChange, placeholder = "S
134
134
  name && /* @__PURE__ */ jsx("input", { type: "hidden", name, value: current ?? "" }),
135
135
  /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(Popover.Positioner, { align: "start", sideOffset: 6, collisionPadding: 8, className: "z-50 outline-none", children: /* @__PURE__ */ jsxs(Popover.Popup, { initialFocus: search, onKeyDown: onKey, className: cx(panel("origin-[var(--transform-origin)]"), "w-[var(--anchor-width)]"), children: [
136
136
  /* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-center gap-2 rounded-lg bg-paper-2 px-2.5", children: [
137
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", "aria-hidden": true, children: [
138
- /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "4.5" }),
139
- /* @__PURE__ */ jsx("path", { d: "m10.5 10.5 3 3" })
137
+ /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
138
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
139
+ /* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
140
140
  ] }),
141
141
  /* @__PURE__ */ jsx(
142
142
  "input",
@@ -5,10 +5,10 @@ import { useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  var cx = (...c) => c.filter(Boolean).join(" ");
7
7
  var KEYFRAMES = `@keyframes asta-rating-pop { 0% { transform: scale(1) } 40% { transform: scale(1.3) } 100% { transform: scale(1) } }`;
8
- var STAR = "M12 3.2l2.6 5.28 5.83.85-4.22 4.11 1 5.8L12 16.5l-5.21 2.74 1-5.8-4.22-4.11 5.83-.85L12 3.2z";
8
+ var STAR = "m12 3.8 2.5 5.1 5.6.8-4 4 .9 5.6-5-2.7-5 2.7.9-5.6-4-4 5.6-.8Z";
9
9
  function StarIcon({ fill, preview }) {
10
10
  return /* @__PURE__ */ jsxs("span", { className: "relative block h-full w-full", children: [
11
- /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "absolute inset-0 h-full w-full text-[color-mix(in_srgb,var(--ink)_13%,transparent)]", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: STAR, fill: "currentColor", stroke: "currentColor", strokeWidth: "1.6", strokeLinejoin: "round" }) }),
11
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "absolute inset-0 h-full w-full text-[color-mix(in_srgb,var(--ink)_13%,transparent)]", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: STAR, fill: "currentColor", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" }) }),
12
12
  /* @__PURE__ */ jsx(
13
13
  "svg",
14
14
  {
@@ -16,7 +16,7 @@ function StarIcon({ fill, preview }) {
16
16
  className: cx("absolute inset-0 h-full w-full transition-opacity duration-200", preview ? "text-[color-mix(in_srgb,var(--brand)_62%,transparent)]" : "text-brand"),
17
17
  style: { opacity: fill ? 1 : 0, clipPath: fill === 0.5 ? "inset(0 50% 0 0)" : void 0 },
18
18
  "aria-hidden": true,
19
- children: /* @__PURE__ */ jsx("path", { d: STAR, fill: "currentColor", stroke: "currentColor", strokeWidth: "1.6", strokeLinejoin: "round" })
19
+ children: /* @__PURE__ */ jsx("path", { d: STAR, fill: "currentColor", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" })
20
20
  }
21
21
  )
22
22
  ] });
@@ -148,9 +148,10 @@ function FileUpload({ accept, maxSize, maxFiles, multiple = true, onUpload, onCh
148
148
  "shadow-[0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent),0_2px_6px_-2px_rgb(0_0_0/0.12)]",
149
149
  over ? "-translate-y-0.5 scale-105 text-brand" : "text-ink-2 group-hover/drop:-translate-y-0.5"
150
150
  ),
151
- children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", className: "h-5 w-5", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
152
- /* @__PURE__ */ jsx("path", { d: "M10 13V4M6.5 7.5 10 4l3.5 3.5" }),
153
- /* @__PURE__ */ jsx("path", { d: "M4 12.5v2A1.5 1.5 0 0 0 5.5 16h9a1.5 1.5 0 0 0 1.5-1.5v-2" })
151
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-5 w-5", fill: "none", stroke: "currentColor", strokeWidth: "1.92", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
152
+ /* @__PURE__ */ jsx("path", { d: "M12 15V4" }),
153
+ /* @__PURE__ */ jsx("path", { d: "m7 9 5-5 5 5" }),
154
+ /* @__PURE__ */ jsx("path", { d: "M5 19.5h14" })
154
155
  ] })
155
156
  }
156
157
  ),
@@ -182,9 +183,10 @@ function FileUpload({ accept, maxSize, maxFiles, multiple = true, onUpload, onCh
182
183
  }
183
184
  ),
184
185
  error && /* @__PURE__ */ jsxs("p", { id: `${uid}-err`, role: "alert", className: "mt-2 flex items-start gap-1.5 text-[12.5px] leading-snug text-ink animate-[kit-upload-msg_.3s_cubic-bezier(.16,1,.3,1)_both]", children: [
185
- /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": true, children: [
186
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6" }),
187
- /* @__PURE__ */ jsx("path", { d: "M8 5v3.5M8 11h0" })
186
+ /* @__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: [
187
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
188
+ /* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
189
+ /* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
188
190
  ] }),
189
191
  error
190
192
  ] }, error),
@@ -252,7 +254,10 @@ function FileUpload({ accept, maxSize, maxFiles, multiple = true, onUpload, onCh
252
254
  onClick: () => remove(it.id),
253
255
  "aria-label": `Remove ${it.file.name}`,
254
256
  className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-mute outline-none transition-[background-color,color,transform] duration-150 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-90",
255
- children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4.5 4.5 7 7M11.5 4.5l-7 7" }) })
257
+ children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
258
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
259
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
260
+ ] })
256
261
  }
257
262
  )
258
263
  ]
@@ -22,7 +22,7 @@ function ValidatedTextarea({ label, rules, value: valueProp, defaultValue = "",
22
22
  }
23
23
  prev.current = state;
24
24
  }, [state]);
25
- const ring = state === "error" ? "shadow-[inset_0_0_0_1px_#e5484d] focus-within:shadow-[inset_0_0_0_1px_#e5484d,0_0_0_4px_rgb(229_72_77/0.14)]" : state === "success" ? "shadow-[inset_0_0_0_1px_#30a46c] focus-within:shadow-[inset_0_0_0_1px_#30a46c,0_0_0_4px_rgb(48_164_108/0.14)]" : "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_24%,transparent)] focus-within:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)]";
25
+ const ring = state === "error" ? "shadow-[inset_0_0_0_1.5px_var(--ink)] focus-within:shadow-[inset_0_0_0_1.5px_var(--ink),0_0_0_4px_color-mix(in_srgb,var(--ink)_12%,transparent)]" : state === "success" ? "shadow-[inset_0_0_0_1px_var(--brand)] focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_14%,transparent)]" : "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_24%,transparent)] focus-within:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)]";
26
26
  return /* @__PURE__ */ jsxs("div", { className: cx("flex w-full flex-col gap-1.5", className), children: [
27
27
  /* @__PURE__ */ jsx("label", { htmlFor: fid, className: "text-[13px] font-medium text-ink", children: label }),
28
28
  /* @__PURE__ */ jsx("div", { ref: box, className: cx("rounded-xl bg-paper transition-shadow duration-300 motion-reduce:transition-none", ring), children: /* @__PURE__ */ jsx(
@@ -46,20 +46,20 @@ function ValidatedTextarea({ label, rules, value: valueProp, defaultValue = "",
46
46
  className: "block w-full resize-none bg-transparent px-3.5 py-3 text-[16px] sm:text-[14px] leading-[1.55] text-ink outline-none placeholder:text-mute"
47
47
  }
48
48
  ) }),
49
- /* @__PURE__ */ jsx("div", { className: cx("grid transition-[grid-template-rows] duration-400 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none", state === "idle" ? "grid-rows-[0fr]" : "grid-rows-[1fr]"), children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx("ul", { id: `${fid}-rules`, className: "flex flex-col gap-1 pt-1", "aria-live": "polite", children: state === "success" ? /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-[12.5px] text-[#30a46c]", children: [
49
+ /* @__PURE__ */ jsx("div", { className: cx("grid transition-[grid-template-rows] duration-400 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none", state === "idle" ? "grid-rows-[0fr]" : "grid-rows-[1fr]"), children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx("ul", { id: `${fid}-rules`, className: "flex flex-col gap-1 pt-1", "aria-live": "polite", children: state === "success" ? /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 text-[12.5px] text-brand", children: [
50
50
  /* @__PURE__ */ jsx(Check, { on: true }),
51
51
  " ",
52
52
  success
53
- ] }) : rules.map((r, i) => /* @__PURE__ */ jsxs("li", { className: cx("flex items-center gap-2 text-[12.5px] transition-colors duration-300", results[i] ? "text-mute" : "text-[#e5484d]"), children: [
53
+ ] }) : rules.map((r, i) => /* @__PURE__ */ jsxs("li", { className: cx("flex items-center gap-2 text-[12.5px] transition-colors duration-300", results[i] ? "text-mute" : "text-ink"), children: [
54
54
  /* @__PURE__ */ jsx(Check, { on: results[i] }),
55
55
  /* @__PURE__ */ jsx("span", { className: cx("transition-[text-decoration-color] duration-300", results[i] && "line-through decoration-mute/50"), children: r.label })
56
56
  ] }, r.label)) }) }) })
57
57
  ] });
58
58
  }
59
59
  function Check({ on }) {
60
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
61
- /* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6.2", className: cx("transition-opacity duration-300", on ? "opacity-0" : "opacity-100") }),
62
- /* @__PURE__ */ jsx("path", { d: "m5 8.2 2 2 4-4.2", strokeDasharray: "10", strokeDashoffset: on ? 0 : 10, className: "transition-[stroke-dashoffset] duration-300 ease-[cubic-bezier(.16,1,.3,1)]" })
60
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
61
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5", className: cx("transition-opacity duration-300", on ? "opacity-0" : "opacity-100") }),
62
+ /* @__PURE__ */ jsx("path", { d: "m8.5 12 2.5 2.5 4.5-5", strokeDasharray: "11", strokeDashoffset: on ? 0 : 11, className: "transition-[stroke-dashoffset] duration-300 ease-[cubic-bezier(.16,1,.3,1)]" })
63
63
  ] });
64
64
  }
65
65
  var textarea_aui_007_default = ValidatedTextarea;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  Avatar
4
- } from "./chunk-6RA7LJ3K.js";
4
+ } from "./chunk-3OCWR4L3.js";
5
5
  import {
6
6
  Popover
7
- } from "./chunk-IATF2OTU.js";
7
+ } from "./chunk-MYPRORYG.js";
8
8
 
9
9
  // components/kit/notification-center.tsx
10
10
  import { useId, useMemo, useRef, useState } from "react";
@@ -19,9 +19,9 @@ var KEYFRAMES = `@keyframes kit-nc-ring { 0%, 100% { transform: rotate(0) } 15%
19
19
  var DAY = 864e5;
20
20
  var day0 = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime();
21
21
  function BellIcon({ className }) {
22
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", className, fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
23
- /* @__PURE__ */ jsx("path", { d: "M5 8a5 5 0 0 1 10 0c0 4 1.5 5.5 1.5 5.5h-13S5 12 5 8Z" }),
24
- /* @__PURE__ */ jsx("path", { d: "M8.5 16.5a1.6 1.6 0 0 0 3 0" })
22
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className, fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
23
+ /* @__PURE__ */ jsx("path", { d: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3Z" }),
24
+ /* @__PURE__ */ jsx("path", { d: "M10 19.5a2 2 0 0 0 4 0" })
25
25
  ] });
26
26
  }
27
27
  function Panel({
@@ -250,7 +250,7 @@ function NotificationCenter({
250
250
  "span",
251
251
  {
252
252
  "aria-hidden": true,
253
- className: "absolute -right-0.5 -top-0.5 flex h-[18px] min-w-[18px] items-center justify-center overflow-hidden rounded-full bg-brand px-1 text-[10.5px] font-medium tabular-nums text-white shadow-[0_0_0_2px_var(--paper)]",
253
+ className: "absolute -right-0.5 -top-0.5 flex h-[18px] min-w-[18px] items-center justify-center overflow-hidden rounded-full bg-brand px-1 text-[10.5px] font-medium tabular-nums text-on-brand shadow-[0_0_0_2px_var(--paper)]",
254
254
  style: { animation: `kit-nc-badge .35s ${CURVE}` },
255
255
  children: /* @__PURE__ */ jsx("span", { className: "block", style: { animation: `kit-nc-count .35s ${CURVE}` }, children: unread > 99 ? "99+" : unread }, unread)
256
256
  }
@@ -132,7 +132,7 @@ function MentionTextarea({ suggestions, value: valueProp, defaultValue = "", onC
132
132
  onMouseEnter: () => setActive(i),
133
133
  className: cx("flex cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-1.5 transition-colors duration-150", i === active ? "bg-paper-2" : ""),
134
134
  children: [
135
- /* @__PURE__ */ jsx("span", { className: cx("grid h-6 w-6 shrink-0 place-items-center rounded-md text-[11px] font-medium", i === active ? "bg-brand text-white" : "bg-paper-2 text-ink-2"), children: query?.trigger === "@" ? s.label[0] : query?.trigger }),
135
+ /* @__PURE__ */ jsx("span", { className: cx("grid h-6 w-6 shrink-0 place-items-center rounded-md text-[11px] font-medium", i === active ? "bg-brand text-on-brand" : "bg-paper-2 text-ink-2"), children: query?.trigger === "@" ? s.label[0] : query?.trigger }),
136
136
  /* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
137
137
  /* @__PURE__ */ jsx("span", { className: "block truncate text-[13px] text-ink", children: s.label }),
138
138
  s.detail && /* @__PURE__ */ jsx("span", { className: "block truncate text-[11.5px] text-mute", children: s.detail })
@@ -1,4 +1,8 @@
1
1
  "use client";
2
+ import {
3
+ useInView,
4
+ useTakeOver
5
+ } from "./chunk-FS2PZKJY.js";
2
6
 
3
7
  // components/lab/blocks/Wishlist.tsx
4
8
  import { useEffect, useRef, useState } from "react";
@@ -21,14 +25,15 @@ function Wishlist() {
21
25
  const [saved, setSaved] = useState(() => ITEMS.map(() => false));
22
26
  const [count, setCount] = useState(0);
23
27
  const [burst, setBurst] = useState(() => ITEMS.map(() => 0));
24
- const [paused, setPaused] = useState(false);
28
+ const [held, takeOverDemo] = useTakeOver(8e3);
25
29
  const root = useRef(null);
30
+ const visible = useInView(root);
31
+ const paused = held || !visible;
26
32
  const tray = useRef(null);
27
33
  const badge = useRef(null);
28
34
  const hearts = useRef([]);
29
35
  const state = useRef(ITEMS.map(() => false));
30
36
  const busy = useRef(/* @__PURE__ */ new Set());
31
- const idle = useRef(null);
32
37
  const still = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches;
33
38
  const pop = () => {
34
39
  if (still()) return;
@@ -109,12 +114,7 @@ function Wishlist() {
109
114
  });
110
115
  }
111
116
  };
112
- const takeOver = () => {
113
- setPaused(true);
114
- if (idle.current) clearTimeout(idle.current);
115
- idle.current = setTimeout(() => setPaused(false), 8e3);
116
- };
117
- useEffect(() => () => void (idle.current && clearTimeout(idle.current)), []);
117
+ const takeOver = takeOverDemo;
118
118
  useEffect(() => {
119
119
  if (paused || still()) return;
120
120
  let n = 0;