asta-ui 0.9.3 → 0.9.4

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 (448) hide show
  1. package/css/asta.css +2 -2
  2. package/css/asta.js +248 -1
  3. package/css/components.css +722 -44
  4. package/css/runtime/core.css +5 -5
  5. package/css/runtime/data.css +2 -2
  6. package/css/runtime/modules.css +49 -0
  7. package/css/runtime/modules.js +245 -0
  8. package/css/runtime/overlays.css +22 -9
  9. package/css/src/blocks.css +3 -3
  10. package/css/src/core.css +8 -8
  11. package/css/src/data.css +3 -3
  12. package/css/src/display.css +6 -5
  13. package/css/src/forms.css +6 -6
  14. package/css/src/modules.css +616 -0
  15. package/css/src/overlays.css +3 -3
  16. package/css/tokens.css +6 -2
  17. package/dist/ai-chat.js +1 -1
  18. package/dist/avatar-group.js +2 -2
  19. package/dist/avatar.js +1 -1
  20. package/dist/base/ai-chat.js +1 -1
  21. package/dist/base/avatar-group.js +2 -2
  22. package/dist/base/avatar.js +1 -1
  23. package/dist/base/billing.d.ts +2 -0
  24. package/dist/base/billing.js +11 -0
  25. package/dist/base/bubble-wrap.js +1 -1
  26. package/dist/base/candlestick.js +1 -1
  27. package/dist/base/card-checkout.js +1 -1
  28. package/dist/base/chart-card.d.ts +2 -0
  29. package/dist/base/chart-card.js +11 -0
  30. package/dist/base/chat-thread.js +1 -1
  31. package/dist/base/checkbox.js +1 -1
  32. package/dist/base/checkout.js +3 -3
  33. package/dist/base/color-picker.js +1 -1
  34. package/dist/base/combo-lock.js +1 -1
  35. package/dist/base/combobox-aui-046.js +1 -1
  36. package/dist/base/combobox-aui-047.js +1 -1
  37. package/dist/base/combobox.js +1 -1
  38. package/dist/base/command-palette.js +1 -1
  39. package/dist/base/comments.js +2 -2
  40. package/dist/base/context-menu.js +1 -1
  41. package/dist/base/cookie-consent.d.ts +2 -0
  42. package/dist/base/cookie-consent.js +13 -0
  43. package/dist/base/countdown.d.ts +2 -0
  44. package/dist/base/countdown.js +9 -0
  45. package/dist/base/data-table.js +1 -1
  46. package/dist/base/dialog.js +1 -1
  47. package/dist/base/dropdown-menu.js +1 -1
  48. package/dist/base/field.js +1 -1
  49. package/dist/base/file-manager.d.ts +2 -0
  50. package/dist/base/file-manager.js +19 -0
  51. package/dist/base/flash-sale.d.ts +2 -0
  52. package/dist/base/flash-sale.js +7 -0
  53. package/dist/base/footer-aui-027.js +1 -1
  54. package/dist/base/footer-aui-028.js +1 -1
  55. package/dist/base/footer.js +1 -1
  56. package/dist/base/hover-card.js +1 -1
  57. package/dist/base/inbox.d.ts +2 -0
  58. package/dist/base/inbox.js +11 -0
  59. package/dist/base/inline-edit.js +1 -1
  60. package/dist/base/input-aui-029.js +1 -1
  61. package/dist/base/input-aui-030.js +1 -1
  62. package/dist/base/input-aui-031.js +1 -1
  63. package/dist/base/input-aui-032.js +1 -1
  64. package/dist/base/input-aui-033.js +1 -1
  65. package/dist/base/input-aui-034.js +1 -1
  66. package/dist/base/input.js +1 -1
  67. package/dist/base/invoice.d.ts +2 -0
  68. package/dist/base/invoice.js +10 -0
  69. package/dist/base/kanban.js +2 -2
  70. package/dist/base/menubar.d.ts +2 -0
  71. package/dist/base/menubar.js +9 -0
  72. package/dist/base/meter.d.ts +2 -0
  73. package/dist/base/meter.js +9 -0
  74. package/dist/base/morse-tap.js +1 -1
  75. package/dist/base/navbar-aui-009.js +1 -1
  76. package/dist/base/navbar-aui-011.js +1 -1
  77. package/dist/base/navbar-aui-012.js +1 -1
  78. package/dist/base/navbar-aui-013.js +1 -1
  79. package/dist/base/navbar.js +1 -1
  80. package/dist/base/notification-center.js +3 -3
  81. package/dist/base/number-input.js +1 -1
  82. package/dist/base/order-book.js +1 -1
  83. package/dist/base/otp-input-aui-041.js +1 -1
  84. package/dist/base/otp-input-aui-042.js +1 -1
  85. package/dist/base/otp-input.js +1 -1
  86. package/dist/base/password-input-aui-039.js +1 -1
  87. package/dist/base/password-input-aui-040.js +1 -1
  88. package/dist/base/password-input.js +1 -1
  89. package/dist/base/payment-received.js +1 -1
  90. package/dist/base/phone-input.d.ts +2 -0
  91. package/dist/base/phone-input.js +13 -0
  92. package/dist/base/popover.js +1 -1
  93. package/dist/base/price-alert.d.ts +2 -0
  94. package/dist/base/price-alert.js +7 -0
  95. package/dist/base/price-chart.js +1 -1
  96. package/dist/base/properties-panel.js +1 -1
  97. package/dist/base/radio-group.js +1 -1
  98. package/dist/base/select-aui-045.js +1 -1
  99. package/dist/base/select.js +1 -1
  100. package/dist/base/settings-panel.js +1 -1
  101. package/dist/base/shipment-tracker.js +1 -1
  102. package/dist/base/sidebar.js +2 -2
  103. package/dist/base/sign-in-aui-015.js +1 -1
  104. package/dist/base/sign-in-aui-016.js +1 -1
  105. package/dist/base/sign-in-aui-017.js +1 -1
  106. package/dist/base/sign-in-aui-018.js +1 -1
  107. package/dist/base/sign-in-aui-019.js +1 -1
  108. package/dist/base/sign-in-aui-020.js +1 -1
  109. package/dist/base/sign-in.js +1 -1
  110. package/dist/base/snap-grid.js +1 -1
  111. package/dist/base/sortable-list.d.ts +2 -0
  112. package/dist/base/sortable-list.js +9 -0
  113. package/dist/base/split-bill.d.ts +2 -0
  114. package/dist/base/split-bill.js +7 -0
  115. package/dist/base/stat-card.js +1 -1
  116. package/dist/base/tag-input-aui-048.js +1 -1
  117. package/dist/base/tag-input-aui-049.js +1 -1
  118. package/dist/base/tag-input.js +1 -1
  119. package/dist/base/team-members.js +3 -3
  120. package/dist/base/testimonials.d.ts +2 -0
  121. package/dist/base/testimonials.js +10 -0
  122. package/dist/base/textarea-aui-001.js +1 -1
  123. package/dist/base/textarea-aui-002.js +1 -1
  124. package/dist/base/textarea-aui-003.js +1 -1
  125. package/dist/base/textarea-aui-004.js +1 -1
  126. package/dist/base/textarea-aui-005.js +1 -1
  127. package/dist/base/textarea-aui-006.js +1 -1
  128. package/dist/base/textarea-aui-007.js +1 -1
  129. package/dist/base/textarea-aui-008.js +1 -1
  130. package/dist/base/textarea-aui-035.js +1 -1
  131. package/dist/base/textarea-aui-036.js +1 -1
  132. package/dist/base/textarea-aui-037.js +1 -1
  133. package/dist/base/textarea-aui-038.js +1 -1
  134. package/dist/base/textarea.js +1 -1
  135. package/dist/base/token-swap.js +1 -1
  136. package/dist/base/tooltip.js +1 -1
  137. package/dist/base/trade-ticket.js +1 -1
  138. package/dist/base/watchlist.d.ts +2 -0
  139. package/dist/base/watchlist.js +7 -0
  140. package/dist/base.js +166 -90
  141. package/dist/billing.d.ts +2 -0
  142. package/dist/billing.js +11 -0
  143. package/dist/bubble-wrap.js +1 -1
  144. package/dist/candlestick.js +1 -1
  145. package/dist/card-checkout.js +1 -1
  146. package/dist/chart-card.d.ts +2 -0
  147. package/dist/chart-card.js +11 -0
  148. package/dist/chat-thread.js +1 -1
  149. package/dist/checkbox.js +1 -1
  150. package/dist/checkout.js +3 -3
  151. package/dist/{chunk-7TK42PS3.js → chunk-25RCKHWV.js} +19 -4
  152. package/dist/{chunk-4L4EKC46.js → chunk-2EBWWZPS.js} +1 -1
  153. package/dist/chunk-2F5CE6ZB.js +269 -0
  154. package/dist/{chunk-SATIWCJQ.js → chunk-2LM3VHNO.js} +3 -2
  155. package/dist/{chunk-5VQV2I7C.js → chunk-2PPF4GK5.js} +9 -6
  156. package/dist/{chunk-ZRGPSYW6.js → chunk-2PQIPQGO.js} +10 -6
  157. package/dist/{chunk-HB7DFNZP.js → chunk-3PQTSFOS.js} +1 -1
  158. package/dist/{chunk-VPZP6TCT.js → chunk-3UQIYJTI.js} +7 -3
  159. package/dist/{chunk-FY6BRODJ.js → chunk-3ZFF6VC5.js} +4 -2
  160. package/dist/{chunk-V3SPSN3A.js → chunk-45KDL3JM.js} +1 -1
  161. package/dist/{chunk-EVSTTLOT.js → chunk-4SLC3EK6.js} +18 -4
  162. package/dist/{chunk-VWYHP4SB.js → chunk-4WCMPLE3.js} +13 -4
  163. package/dist/chunk-5DLY6FGD.js +160 -0
  164. package/dist/{chunk-SRGDJSW7.js → chunk-5GGS6VP5.js} +1 -0
  165. package/dist/chunk-5N2G462S.js +338 -0
  166. package/dist/{chunk-FKHNK5VC.js → chunk-6C52ZQRB.js} +2 -1
  167. package/dist/{chunk-VVAL2JZJ.js → chunk-6MPEI6V5.js} +2 -2
  168. package/dist/{chunk-HNO6EUGJ.js → chunk-6RA7LJ3K.js} +7 -1
  169. package/dist/{chunk-RRHQBGRO.js → chunk-77RFV2MG.js} +7 -2
  170. package/dist/{chunk-RIWKIBEP.js → chunk-7MBTBYTJ.js} +3 -3
  171. package/dist/{chunk-XIU7K2YE.js → chunk-ADZI4ROA.js} +1 -1
  172. package/dist/{chunk-SAJ4D3Z2.js → chunk-AMVX4DDT.js} +7 -3
  173. package/dist/{chunk-7JNO265Q.js → chunk-B4XRAVHL.js} +33 -17
  174. package/dist/{chunk-MDI73RL6.js → chunk-B7MVYR7C.js} +7 -4
  175. package/dist/{chunk-OFPZUTBI.js → chunk-BEV2X4YL.js} +2 -1
  176. package/dist/chunk-BG2W2KVE.js +200 -0
  177. package/dist/chunk-BKHH2CJA.js +146 -0
  178. package/dist/{chunk-XRVVZA2Y.js → chunk-CACW5LH3.js} +1 -1
  179. package/dist/{chunk-I2WXKWTQ.js → chunk-CBJUY4WE.js} +10 -5
  180. package/dist/{chunk-746WX2DF.js → chunk-CSTI5CTF.js} +8 -2
  181. package/dist/{chunk-3KS5EN3Q.js → chunk-D2JJSUXI.js} +1 -1
  182. package/dist/chunk-D4AYULMF.js +338 -0
  183. package/dist/{chunk-4XM6DKEO.js → chunk-DD2TBHSJ.js} +2 -1
  184. package/dist/{chunk-B5OESWCR.js → chunk-DPLH3EGO.js} +1 -1
  185. package/dist/{chunk-5TSQZY34.js → chunk-DU3CZ3K7.js} +1 -1
  186. package/dist/{chunk-YON5SU2G.js → chunk-DWA62IYV.js} +5 -2
  187. package/dist/{chunk-FUNXYRSG.js → chunk-DWZT455C.js} +24 -9
  188. package/dist/{chunk-WSTQ6WZO.js → chunk-ECGJ6D5D.js} +3 -2
  189. package/dist/{chunk-3JNUC3FU.js → chunk-EN6XBXW5.js} +1 -1
  190. package/dist/{chunk-GJ3R6IZL.js → chunk-EOZDJA7Z.js} +1 -1
  191. package/dist/{chunk-KXWC2UHE.js → chunk-FBIGYEFN.js} +6 -3
  192. package/dist/{chunk-RS3XHHDE.js → chunk-FDE3S2YK.js} +1 -1
  193. package/dist/{chunk-DRX3KRNL.js → chunk-FFRJW5O7.js} +3 -2
  194. package/dist/{chunk-UEOEWP7L.js → chunk-FIPWA5KL.js} +3 -2
  195. package/dist/chunk-FLCT7THQ.js +75 -0
  196. package/dist/{chunk-RTAHGY6P.js → chunk-FOJRZASV.js} +7 -1
  197. package/dist/{chunk-CA7YQ5BJ.js → chunk-FQ4YUKAE.js} +3 -3
  198. package/dist/{chunk-33N6SZB5.js → chunk-FXXR3FM3.js} +6 -3
  199. package/dist/{chunk-BGVAXPHD.js → chunk-G7WTEBMX.js} +21 -6
  200. package/dist/{chunk-HPVPHWDM.js → chunk-IATF2OTU.js} +1 -1
  201. package/dist/{chunk-CLCP2GFW.js → chunk-IDXERBKL.js} +3 -3
  202. package/dist/{chunk-NB7X26PY.js → chunk-IF6CWIUB.js} +1 -1
  203. package/dist/{chunk-WVIV4JBH.js → chunk-ITGWD7ZY.js} +2 -2
  204. package/dist/{chunk-2LZM435Z.js → chunk-IVCHYE55.js} +7 -1
  205. package/dist/{chunk-BH2DLHFW.js → chunk-JE2MAZGR.js} +3 -2
  206. package/dist/{chunk-W57O4RLL.js → chunk-JF4BKHFK.js} +37 -9
  207. package/dist/{chunk-QDRBMWRX.js → chunk-JLCSRNI2.js} +7 -3
  208. package/dist/{chunk-7L4YE6HM.js → chunk-JNNMKFEQ.js} +1 -1
  209. package/dist/{chunk-GDTSCUHY.js → chunk-JRD6FENH.js} +1 -1
  210. package/dist/{chunk-F5I6EK7F.js → chunk-JSS4QASL.js} +1 -1
  211. package/dist/{chunk-B5F775GP.js → chunk-JWBGI7FN.js} +1 -1
  212. package/dist/{chunk-WTNNS7AX.js → chunk-JX7V6EFT.js} +36 -9
  213. package/dist/{chunk-7SNVRPED.js → chunk-KEMC4RIF.js} +2 -1
  214. package/dist/chunk-KVARQNGF.js +123 -0
  215. package/dist/chunk-LDTCIVDX.js +146 -0
  216. package/dist/{chunk-45VUWOHQ.js → chunk-LKRE4HLZ.js} +4 -2
  217. package/dist/{chunk-ZN3W5PAI.js → chunk-LOHFV5JF.js} +1 -1
  218. package/dist/chunk-LS6CFF6X.js +80 -0
  219. package/dist/{chunk-I5NZSWDW.js → chunk-MAKFUH34.js} +33 -17
  220. package/dist/{chunk-OQU6KGVR.js → chunk-MDB4RFMV.js} +1 -1
  221. package/dist/{chunk-FDHU3RWR.js → chunk-MJJU6OLM.js} +1 -1
  222. package/dist/{chunk-PIC5ZIR3.js → chunk-MPH64VG7.js} +1 -1
  223. package/dist/{chunk-AYSC7AIC.js → chunk-MVE7RJJ6.js} +1 -1
  224. package/dist/{chunk-2SQQFICY.js → chunk-N3X4T5OR.js} +25 -8
  225. package/dist/{chunk-CNY76NHF.js → chunk-NFJDL44V.js} +7 -3
  226. package/dist/{chunk-FJGGXXTT.js → chunk-NPVUFQGC.js} +1 -1
  227. package/dist/{chunk-QSLS3ENY.js → chunk-NVLYF4UL.js} +1 -1
  228. package/dist/chunk-O626XQW2.js +165 -0
  229. package/dist/chunk-OH5VAD27.js +224 -0
  230. package/dist/{chunk-TIAKMX7U.js → chunk-OIOZQP2H.js} +1 -1
  231. package/dist/{chunk-56BEMYK3.js → chunk-OU3EEX4Y.js} +1 -1
  232. package/dist/{chunk-6AZKJUL4.js → chunk-OUIOJROO.js} +1 -1
  233. package/dist/{chunk-OLNMOTAD.js → chunk-PAXDHYBX.js} +18 -4
  234. package/dist/chunk-PIE76JKF.js +224 -0
  235. package/dist/{chunk-6B6NTRMC.js → chunk-PIXHOFUT.js} +7 -2
  236. package/dist/{chunk-FATLQKRY.js → chunk-PZ2ZUHC3.js} +3 -3
  237. package/dist/chunk-Q5A5OTLI.js +192 -0
  238. package/dist/{chunk-TXRLBMFL.js → chunk-QASSYLQQ.js} +3 -2
  239. package/dist/{chunk-TCID6NNE.js → chunk-QJXVIEB5.js} +1 -1
  240. package/dist/{chunk-K5PWBSVO.js → chunk-QWOO4V7N.js} +2 -2
  241. package/dist/chunk-RGVRHFKY.js +213 -0
  242. package/dist/{chunk-J6GK2V2C.js → chunk-RQNXELUL.js} +2 -1
  243. package/dist/{chunk-KQCXQY5K.js → chunk-RXOVKEYG.js} +2 -1
  244. package/dist/{chunk-NICNFGHT.js → chunk-S2VTHA6G.js} +2 -2
  245. package/dist/chunk-SCQ6A4ZG.js +247 -0
  246. package/dist/{chunk-EVCUN45S.js → chunk-SMZVKQKM.js} +3 -2
  247. package/dist/{chunk-GERWW3CA.js → chunk-SR4NYQWO.js} +2 -2
  248. package/dist/{chunk-DQWKBQBT.js → chunk-TAAAYFBT.js} +2 -2
  249. package/dist/{chunk-S2DJLW6B.js → chunk-TBMUSER2.js} +1 -1
  250. package/dist/chunk-TMOEFAXQ.js +165 -0
  251. package/dist/chunk-TXC6CCSA.js +75 -0
  252. package/dist/chunk-UC55XR76.js +193 -0
  253. package/dist/{chunk-5U4H2CXC.js → chunk-UJYZZSII.js} +11 -4
  254. package/dist/chunk-UOOGRGEC.js +185 -0
  255. package/dist/{chunk-ZBF2UYXP.js → chunk-USDST2TI.js} +1 -1
  256. package/dist/{chunk-W7RITVDV.js → chunk-UX6CWJT7.js} +1 -1
  257. package/dist/{chunk-U7BYEW3Y.js → chunk-UZF7SCRT.js} +13 -5
  258. package/dist/{chunk-Q7OHWQP2.js → chunk-V7JUJQNR.js} +1 -0
  259. package/dist/{chunk-WWQV7LE7.js → chunk-VNUX5LOC.js} +24 -9
  260. package/dist/{chunk-CTO36MY2.js → chunk-VS3GQ4JR.js} +2 -2
  261. package/dist/{chunk-UMDVPRJW.js → chunk-VTTXURIB.js} +1 -1
  262. package/dist/{chunk-6NNHSXFD.js → chunk-W2S6JDBM.js} +1 -1
  263. package/dist/{chunk-3XMVXIOF.js → chunk-W5M3EHJL.js} +4 -2
  264. package/dist/chunk-X2VID7XY.js +228 -0
  265. package/dist/{chunk-H7D6G3GQ.js → chunk-X4JYOCFA.js} +7 -1
  266. package/dist/{chunk-6VQTFRSP.js → chunk-XKA3LTJZ.js} +37 -9
  267. package/dist/{chunk-7GKCX4IE.js → chunk-XUZH4Y52.js} +1 -1
  268. package/dist/{chunk-UAP47MSR.js → chunk-Y4JOW2UW.js} +11 -5
  269. package/dist/{chunk-T4SOPNM5.js → chunk-YCXZ3TYF.js} +1 -1
  270. package/dist/{chunk-2KJNBHUV.js → chunk-YF3XSH54.js} +2 -1
  271. package/dist/{chunk-66OZ7CBK.js → chunk-YJAZHJY3.js} +1 -1
  272. package/dist/{chunk-4WK3F76T.js → chunk-YLILJ2FH.js} +1 -1
  273. package/dist/{chunk-FGQPCDXI.js → chunk-YNPG4WOS.js} +1 -1
  274. package/dist/chunk-YPFZXGPT.js +160 -0
  275. package/dist/{chunk-KYFZ5TTK.js → chunk-YRPLUNP4.js} +3 -1
  276. package/dist/{chunk-P3USWDWR.js → chunk-YVGC7QT7.js} +4 -2
  277. package/dist/{chunk-4ZJEAWNG.js → chunk-Z2DF2YL5.js} +4 -2
  278. package/dist/{chunk-JAQANAOP.js → chunk-ZUH7XRX7.js} +19 -4
  279. package/dist/{chunk-UWQ26LYZ.js → chunk-ZYI6J34Q.js} +2 -2
  280. package/dist/{chunk-BOJCW7Z7.js → chunk-ZZ25XSK2.js} +3 -2
  281. package/dist/color-picker.js +1 -1
  282. package/dist/combo-lock.js +1 -1
  283. package/dist/combobox-aui-046.js +1 -1
  284. package/dist/combobox-aui-047.js +1 -1
  285. package/dist/combobox.js +1 -1
  286. package/dist/command-palette.js +1 -1
  287. package/dist/comments.js +2 -2
  288. package/dist/context-menu.js +1 -1
  289. package/dist/cookie-consent.d.ts +2 -0
  290. package/dist/cookie-consent.js +13 -0
  291. package/dist/countdown.d.ts +2 -0
  292. package/dist/countdown.js +9 -0
  293. package/dist/data-table.js +1 -1
  294. package/dist/dialog.js +1 -1
  295. package/dist/dropdown-menu.js +1 -1
  296. package/dist/field.js +1 -1
  297. package/dist/file-manager.d.ts +2 -0
  298. package/dist/file-manager.js +19 -0
  299. package/dist/flash-sale.d.ts +2 -0
  300. package/dist/flash-sale.js +7 -0
  301. package/dist/footer-aui-027.js +1 -1
  302. package/dist/footer-aui-028.js +1 -1
  303. package/dist/footer.js +1 -1
  304. package/dist/hover-card.js +1 -1
  305. package/dist/inbox.d.ts +2 -0
  306. package/dist/inbox.js +11 -0
  307. package/dist/index.js +166 -90
  308. package/dist/inline-edit.js +1 -1
  309. package/dist/input-aui-029.js +1 -1
  310. package/dist/input-aui-030.js +1 -1
  311. package/dist/input-aui-031.js +1 -1
  312. package/dist/input-aui-032.js +1 -1
  313. package/dist/input-aui-033.js +1 -1
  314. package/dist/input-aui-034.js +1 -1
  315. package/dist/input.js +1 -1
  316. package/dist/invoice.d.ts +2 -0
  317. package/dist/invoice.js +10 -0
  318. package/dist/kanban.js +2 -2
  319. package/dist/menubar.d.ts +2 -0
  320. package/dist/menubar.js +9 -0
  321. package/dist/meter.d.ts +2 -0
  322. package/dist/meter.js +9 -0
  323. package/dist/morse-tap.js +1 -1
  324. package/dist/navbar-aui-009.js +1 -1
  325. package/dist/navbar-aui-011.js +1 -1
  326. package/dist/navbar-aui-012.js +1 -1
  327. package/dist/navbar-aui-013.js +1 -1
  328. package/dist/navbar.js +1 -1
  329. package/dist/notification-center.js +3 -3
  330. package/dist/number-input.js +1 -1
  331. package/dist/order-book.js +1 -1
  332. package/dist/otp-input-aui-041.js +1 -1
  333. package/dist/otp-input-aui-042.js +1 -1
  334. package/dist/otp-input.js +1 -1
  335. package/dist/password-input-aui-039.js +1 -1
  336. package/dist/password-input-aui-040.js +1 -1
  337. package/dist/password-input.js +1 -1
  338. package/dist/payment-received.js +1 -1
  339. package/dist/phone-input.d.ts +2 -0
  340. package/dist/phone-input.js +13 -0
  341. package/dist/popover.js +1 -1
  342. package/dist/price-alert.d.ts +2 -0
  343. package/dist/price-alert.js +7 -0
  344. package/dist/price-chart.js +1 -1
  345. package/dist/properties-panel.js +1 -1
  346. package/dist/radio-group.js +1 -1
  347. package/dist/select-aui-045.js +1 -1
  348. package/dist/select.js +1 -1
  349. package/dist/settings-panel.js +1 -1
  350. package/dist/shipment-tracker.js +1 -1
  351. package/dist/sidebar.js +2 -2
  352. package/dist/sign-in-aui-015.js +1 -1
  353. package/dist/sign-in-aui-016.js +1 -1
  354. package/dist/sign-in-aui-017.js +1 -1
  355. package/dist/sign-in-aui-018.js +1 -1
  356. package/dist/sign-in-aui-019.js +1 -1
  357. package/dist/sign-in-aui-020.js +1 -1
  358. package/dist/sign-in.js +1 -1
  359. package/dist/snap-grid.js +1 -1
  360. package/dist/sortable-list.d.ts +2 -0
  361. package/dist/sortable-list.js +9 -0
  362. package/dist/split-bill.d.ts +2 -0
  363. package/dist/split-bill.js +7 -0
  364. package/dist/stat-card.js +1 -1
  365. package/dist/styles.css +2 -2
  366. package/dist/tag-input-aui-048.js +1 -1
  367. package/dist/tag-input-aui-049.js +1 -1
  368. package/dist/tag-input.js +1 -1
  369. package/dist/team-members.js +3 -3
  370. package/dist/testimonials.d.ts +2 -0
  371. package/dist/testimonials.js +10 -0
  372. package/dist/textarea-aui-001.js +1 -1
  373. package/dist/textarea-aui-002.js +1 -1
  374. package/dist/textarea-aui-003.js +1 -1
  375. package/dist/textarea-aui-004.js +1 -1
  376. package/dist/textarea-aui-005.js +1 -1
  377. package/dist/textarea-aui-006.js +1 -1
  378. package/dist/textarea-aui-007.js +1 -1
  379. package/dist/textarea-aui-008.js +1 -1
  380. package/dist/textarea-aui-035.js +1 -1
  381. package/dist/textarea-aui-036.js +1 -1
  382. package/dist/textarea-aui-037.js +1 -1
  383. package/dist/textarea-aui-038.js +1 -1
  384. package/dist/textarea.js +1 -1
  385. package/dist/token-swap.js +1 -1
  386. package/dist/tooltip.js +1 -1
  387. package/dist/trade-ticket.js +1 -1
  388. package/dist/types/components/kit/base/billing.d.ts +53 -0
  389. package/dist/types/components/kit/base/cookie-consent.d.ts +37 -0
  390. package/dist/types/components/kit/base/file-manager.d.ts +41 -0
  391. package/dist/types/components/kit/base/inbox.d.ts +33 -0
  392. package/dist/types/components/kit/base/invoice.d.ts +45 -0
  393. package/dist/types/components/kit/base/testimonials.d.ts +25 -0
  394. package/dist/types/components/kit/billing.d.ts +53 -0
  395. package/dist/types/components/kit/chart-card.d.ts +43 -0
  396. package/dist/types/components/kit/cookie-consent.d.ts +37 -0
  397. package/dist/types/components/kit/countdown.d.ts +21 -0
  398. package/dist/types/components/kit/file-manager.d.ts +41 -0
  399. package/dist/types/components/kit/inbox.d.ts +33 -0
  400. package/dist/types/components/kit/invoice.d.ts +45 -0
  401. package/dist/types/components/kit/menubar.d.ts +41 -0
  402. package/dist/types/components/kit/meter.d.ts +32 -0
  403. package/dist/types/components/kit/number-input.d.ts +3 -1
  404. package/dist/types/components/kit/phone-input.d.ts +42 -0
  405. package/dist/types/components/kit/sortable-list.d.ts +25 -0
  406. package/dist/types/components/kit/tag-input.d.ts +3 -1
  407. package/dist/types/components/kit/testimonials.d.ts +25 -0
  408. package/dist/types/components/lab/blocks/FlashSale.d.ts +2 -0
  409. package/dist/types/components/lab/blocks/PriceAlert.d.ts +2 -0
  410. package/dist/types/components/lab/blocks/SplitBill.d.ts +2 -0
  411. package/dist/types/components/lab/blocks/Watchlist.d.ts +2 -0
  412. package/dist/types/packages/asta-ui/src/base/billing.d.ts +2 -0
  413. package/dist/types/packages/asta-ui/src/base/chart-card.d.ts +2 -0
  414. package/dist/types/packages/asta-ui/src/base/cookie-consent.d.ts +2 -0
  415. package/dist/types/packages/asta-ui/src/base/countdown.d.ts +2 -0
  416. package/dist/types/packages/asta-ui/src/base/file-manager.d.ts +2 -0
  417. package/dist/types/packages/asta-ui/src/base/flash-sale.d.ts +2 -0
  418. package/dist/types/packages/asta-ui/src/base/inbox.d.ts +2 -0
  419. package/dist/types/packages/asta-ui/src/base/invoice.d.ts +2 -0
  420. package/dist/types/packages/asta-ui/src/base/menubar.d.ts +2 -0
  421. package/dist/types/packages/asta-ui/src/base/meter.d.ts +2 -0
  422. package/dist/types/packages/asta-ui/src/base/phone-input.d.ts +2 -0
  423. package/dist/types/packages/asta-ui/src/base/price-alert.d.ts +2 -0
  424. package/dist/types/packages/asta-ui/src/base/sortable-list.d.ts +2 -0
  425. package/dist/types/packages/asta-ui/src/base/split-bill.d.ts +2 -0
  426. package/dist/types/packages/asta-ui/src/base/testimonials.d.ts +2 -0
  427. package/dist/types/packages/asta-ui/src/base/watchlist.d.ts +2 -0
  428. package/dist/types/packages/asta-ui/src/base.d.ts +29 -1
  429. package/dist/types/packages/asta-ui/src/billing.d.ts +2 -0
  430. package/dist/types/packages/asta-ui/src/chart-card.d.ts +2 -0
  431. package/dist/types/packages/asta-ui/src/cookie-consent.d.ts +2 -0
  432. package/dist/types/packages/asta-ui/src/countdown.d.ts +2 -0
  433. package/dist/types/packages/asta-ui/src/file-manager.d.ts +2 -0
  434. package/dist/types/packages/asta-ui/src/flash-sale.d.ts +2 -0
  435. package/dist/types/packages/asta-ui/src/inbox.d.ts +2 -0
  436. package/dist/types/packages/asta-ui/src/index.d.ts +29 -1
  437. package/dist/types/packages/asta-ui/src/invoice.d.ts +2 -0
  438. package/dist/types/packages/asta-ui/src/menubar.d.ts +2 -0
  439. package/dist/types/packages/asta-ui/src/meter.d.ts +2 -0
  440. package/dist/types/packages/asta-ui/src/phone-input.d.ts +2 -0
  441. package/dist/types/packages/asta-ui/src/price-alert.d.ts +2 -0
  442. package/dist/types/packages/asta-ui/src/sortable-list.d.ts +2 -0
  443. package/dist/types/packages/asta-ui/src/split-bill.d.ts +2 -0
  444. package/dist/types/packages/asta-ui/src/testimonials.d.ts +2 -0
  445. package/dist/types/packages/asta-ui/src/watchlist.d.ts +2 -0
  446. package/dist/watchlist.d.ts +2 -0
  447. package/dist/watchlist.js +7 -0
  448. package/package.json +1 -1
@@ -14,8 +14,8 @@
14
14
  opacity: 0;
15
15
  transform: translateY(12px) scale(0.96);
16
16
  transition:
17
- opacity 0.26s ease-in,
18
- transform 0.32s cubic-bezier(0.7, 0, 0.84, 0),
17
+ opacity 0.2s ease-out,
18
+ transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
19
19
  overlay 0.32s allow-discrete,
20
20
  display 0.32s allow-discrete;
21
21
  }
@@ -38,7 +38,7 @@
38
38
  background: rgb(10 10 10 / 0.38);
39
39
  opacity: 0;
40
40
  transition:
41
- opacity 0.26s ease-in,
41
+ opacity 0.2s ease-out,
42
42
  overlay 0.32s allow-discrete,
43
43
  display 0.32s allow-discrete;
44
44
  }
@@ -69,8 +69,8 @@
69
69
  transform: translateY(-4px) scale(0.97);
70
70
  transform-origin: top;
71
71
  transition:
72
- opacity 0.14s ease-in,
73
- transform 0.16s ease-in;
72
+ opacity 0.14s ease-out,
73
+ transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
74
74
  }
75
75
  [data-asta-menu][data-open] > [role="menu"] {
76
76
  opacity: 1;
@@ -256,8 +256,8 @@
256
256
  transform: translateY(-4px) scale(0.98);
257
257
  transform-origin: top right;
258
258
  transition:
259
- opacity 0.14s ease-in,
260
- transform 0.16s ease-in;
259
+ opacity 0.14s ease-out,
260
+ transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
261
261
  }
262
262
  [data-asta-nc][data-align="start"] [data-asta-nc-panel] { transform-origin: top left; }
263
263
  [data-asta-nc][data-open] [data-asta-nc-panel] {
@@ -433,6 +433,52 @@
433
433
  .asta-inline-tick { animation-name: none !important; opacity: 1; }
434
434
  }
435
435
 
436
+ /* ---- runtime/modules.css ---- */
437
+ /* Modules: countdown, phone input, sortable list, cookie consent, inbox, testimonials.
438
+ * Only what Tailwind classes can't express. Motion is transform and opacity only, with the kit's easing. */
439
+
440
+ /* ---------- Countdown: the digit that changed rolls in ---------- */
441
+
442
+ .asta-countdown-value[data-tick] {
443
+ animation: asta-mod-roll 0.45s cubic-bezier(0.16, 1, 0.3, 1);
444
+ }
445
+
446
+ /* ---------- Cookie consent: views slide in ---------- */
447
+
448
+ .asta-consent[data-view="custom"] .asta-consent-custom,
449
+ .asta-consent[data-view="summary"] .asta-consent-summary {
450
+ animation: asta-mod-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
451
+ }
452
+
453
+ /* ---------- Inbox: the opened message rises in ---------- */
454
+
455
+ .asta-inbox-pane[data-fresh] {
456
+ animation: asta-mod-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
457
+ }
458
+
459
+ /* ---------- Testimonials: still grid for reduced motion ---------- */
460
+
461
+ @media (prefers-reduced-motion: reduce) {
462
+ .asta-countdown-value[data-tick],
463
+ .asta-consent-custom,
464
+ .asta-consent-summary,
465
+ .asta-inbox-pane[data-fresh] {
466
+ animation: none !important;
467
+ }
468
+ .asta-testimonials-row {
469
+ mask-image: none !important;
470
+ }
471
+ .asta-testimonials-track {
472
+ animation: none !important;
473
+ width: auto !important;
474
+ flex-wrap: wrap;
475
+ row-gap: 12px;
476
+ }
477
+ .asta-testimonials-track > li[aria-hidden="true"] {
478
+ display: none;
479
+ }
480
+ }
481
+
436
482
  /* ---- runtime/overlays.css ---- */
437
483
  /* Overlays: what Tailwind can't say. Keyframes, @starting-style, ::backdrop and top-layer transitions. */
438
484
 
@@ -441,8 +487,8 @@
441
487
  opacity: 0;
442
488
  transform: translate(var(--asta-nx, 0px), var(--asta-ny, -4px)) scale(0.96);
443
489
  transition:
444
- opacity 0.14s ease-in,
445
- transform 0.16s ease-in,
490
+ opacity 0.14s ease-out,
491
+ transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
446
492
  overlay 0.16s allow-discrete,
447
493
  display 0.16s allow-discrete;
448
494
  }
@@ -477,7 +523,7 @@
477
523
  .asta-dialog.asta-drawer {
478
524
  transform: translateX(calc(100% + 16px));
479
525
  transition:
480
- transform 0.3s cubic-bezier(0.7, 0, 0.84, 0),
526
+ transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
481
527
  overlay 0.32s allow-discrete,
482
528
  display 0.32s allow-discrete;
483
529
  }
@@ -500,11 +546,24 @@
500
546
  }
501
547
  :root:has(dialog.asta-drawer[open]) { overflow: hidden; }
502
548
 
503
- /* Command palette drops in from above. */
504
- .asta-dialog.asta-cmd { transform: translateY(-8px) scale(0.97); }
505
- .asta-dialog.asta-cmd[open]:not([data-closing]) { transform: none; }
549
+ /* Command palette: opened from the keyboard many times a day, so it only fades, in 120ms. No movement. */
550
+ .asta-dialog.asta-cmd,
551
+ .asta-dialog.asta-cmd[open]:not([data-closing]) {
552
+ transform: none;
553
+ transition:
554
+ opacity 0.12s ease-out,
555
+ overlay 0.12s allow-discrete,
556
+ display 0.12s allow-discrete;
557
+ }
558
+ .asta-dialog.asta-cmd::backdrop,
559
+ .asta-dialog.asta-cmd[open]:not([data-closing])::backdrop {
560
+ transition:
561
+ opacity 0.12s ease-out,
562
+ overlay 0.12s allow-discrete,
563
+ display 0.12s allow-discrete;
564
+ }
506
565
  @starting-style {
507
- .asta-dialog.asta-cmd[open] { transform: translateY(-8px) scale(0.97); }
566
+ .asta-dialog.asta-cmd[open] { transform: none; }
508
567
  }
509
568
 
510
569
  /* Navbar: the background scales between panel sizes, new content slides in from the side you moved toward. */
@@ -521,10 +580,10 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
521
580
  [data-asta-announce-msg][data-state="cur"],
522
581
  [data-asta-announce-msg][data-state="in"] { opacity: 1; pointer-events: auto; }
523
582
  [data-asta-announce-msg][data-state="in"] { animation: asta-announce-in 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
524
- [data-asta-announce-msg][data-state="out"] { animation: asta-announce-out 0.4s cubic-bezier(0.7, 0, 0.84, 0); }
583
+ [data-asta-announce-msg][data-state="out"] { animation: asta-announce-out 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
525
584
  [data-asta-announce][data-state="closed"] {
526
585
  pointer-events: none;
527
- animation: asta-announce-close 0.36s cubic-bezier(0.7, 0, 0.84, 0) forwards;
586
+ animation: asta-announce-close 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
528
587
  }
529
588
 
530
589
  /* Stepper: the next panel comes from the side you're heading. */
@@ -634,16 +693,16 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
634
693
  * input. A disabled input dims the whole field. */
635
694
  .asta-input {
636
695
  @apply relative flex w-full items-center bg-paper text-ink transition-shadow duration-200;
637
- @apply h-10 rounded-lg px-3 text-[14px] gap-2.5;
696
+ @apply h-10 rounded-lg px-3 text-[16px] sm:text-[14px] gap-2.5;
638
697
  @apply 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)];
639
698
  @apply focus-within:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)];
640
699
  @apply has-[input:disabled]:pointer-events-none has-[input:disabled]:opacity-50;
641
700
  }
642
701
  .asta-input-sm {
643
- @apply h-8 rounded-md px-2.5 text-[13px] gap-2;
702
+ @apply h-8 rounded-md px-2.5 text-[16px] sm:text-[13px] gap-2;
644
703
  }
645
704
  .asta-input-lg {
646
- @apply h-12 rounded-[9px] px-4 text-[15px] gap-3;
705
+ @apply h-12 rounded-[9px] px-4 text-[16px] sm:text-[15px] gap-3;
647
706
  }
648
707
  .asta-input-error,
649
708
  .asta-input:has(> input[aria-invalid="true"]) {
@@ -653,7 +712,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
653
712
  @apply shadow-[inset_0_0_0_1px_#30a46c] hover: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.16)];
654
713
  }
655
714
  .asta-input-control {
656
- @apply h-full min-w-0 flex-1 bg-transparent outline-none placeholder:text-mute;
715
+ @apply h-full min-w-0 flex-1 bg-transparent outline-none placeholder:text-mute [&::-webkit-search-cancel-button]:hidden;
657
716
  }
658
717
  .asta-input-icon {
659
718
  @apply flex shrink-0 text-mute transition-colors [&_svg]:h-4 [&_svg]:w-4;
@@ -715,7 +774,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
715
774
  @apply shadow-[inset_0_0_0_1px_#e5484d] hover: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.16)];
716
775
  }
717
776
  .asta-textarea-control {
718
- @apply block w-full resize-none bg-transparent px-3.5 py-3 text-[14px] leading-[1.55] outline-none placeholder:text-mute disabled:cursor-not-allowed;
777
+ @apply block w-full resize-none bg-transparent px-3.5 py-3 text-[16px] sm:text-[14px] leading-[1.55] outline-none placeholder:text-mute disabled:cursor-not-allowed;
719
778
  }
720
779
  .asta-textarea-auto {
721
780
  @apply [field-sizing:content] overflow-y-auto min-h-[calc(3lh+24px)] max-h-[calc(10lh+24px)];
@@ -731,11 +790,11 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
731
790
  @apply w-full cursor-pointer appearance-none truncate bg-paper text-ink outline-none transition-shadow duration-200;
732
791
  @apply disabled:cursor-not-allowed disabled:opacity-45;
733
792
  @apply [&:has(option[value='']:checked)]:text-mute [&_option]:bg-paper [&_option]:text-ink;
734
- @apply h-10 rounded-lg pl-3 pr-9 text-[14px];
793
+ @apply h-10 rounded-lg pl-3 pr-9 text-[16px] sm:text-[14px];
735
794
  @apply 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)];
736
795
  @apply focus:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_3px_color-mix(in_srgb,var(--brand)_18%,transparent)];
737
796
  .asta-select-sm > & {
738
- @apply h-8 rounded-md pl-2.5 pr-8 text-[13px];
797
+ @apply h-8 rounded-md pl-2.5 pr-8 text-[16px] sm:text-[13px];
739
798
  }
740
799
  .asta-select-error > &,
741
800
  &[aria-invalid="true"] {
@@ -1015,7 +1074,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1015
1074
  * The open/close motion lives in the runtime part of components.css. data-asta-autoopen opens it on load.
1016
1075
  * Drawer and command palette are dialogs too, with their own panel classes. */
1017
1076
  .asta-dialog:not(.asta-drawer, .asta-cmd) {
1018
- @apply m-auto w-[calc(100%-2rem)] max-w-[400px] rounded-2xl bg-paper p-6 text-ink outline-none;
1077
+ @apply m-auto w-[calc(100%-2rem)] max-w-[400px] overscroll-contain rounded-2xl bg-paper p-6 text-ink outline-none;
1019
1078
  @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent),0_24px_60px_-20px_rgb(0_0_0/0.45)];
1020
1079
  }
1021
1080
  .asta-dialog-close {
@@ -1684,7 +1743,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1684
1743
  @apply focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_3px_color-mix(in_srgb,var(--brand)_14%,transparent)];
1685
1744
  }
1686
1745
  .asta-ai-chat-input {
1687
- @apply block max-h-36 min-h-[36px] flex-1 resize-none bg-transparent py-2 text-[14px] leading-relaxed text-ink outline-none [field-sizing:content] placeholder:text-mute;
1746
+ @apply block max-h-36 min-h-[36px] flex-1 resize-none bg-transparent py-2 text-[16px] sm:text-[14px] leading-relaxed text-ink outline-none [field-sizing:content] placeholder:text-mute;
1688
1747
  }
1689
1748
  .asta-ai-chat-send {
1690
1749
  @apply relative grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-brand text-white outline-none transition-[opacity,transform] duration-200 active:scale-95 disabled:opacity-35;
@@ -1953,7 +2012,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1953
2012
  @apply grid h-full w-6 shrink-0 cursor-ew-resize touch-none select-none place-items-center text-[11px] text-mute [&>svg]:h-3.5 [&>svg]:w-3.5;
1954
2013
  }
1955
2014
  .asta-prop-input {
1956
- @apply h-full min-w-0 flex-1 bg-transparent pr-1.5 font-mono text-[11.5px] tabular-nums outline-none;
2015
+ @apply h-full min-w-0 flex-1 bg-transparent pr-1.5 font-mono text-[16px] sm:text-[11.5px] tabular-nums outline-none;
1957
2016
  }
1958
2017
  .asta-prop-unit {
1959
2018
  @apply shrink-0 pr-2 text-[11px] text-mute;
@@ -1965,7 +2024,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1965
2024
  }
1966
2025
  }
1967
2026
  .asta-prop-hex {
1968
- @apply h-full min-w-0 flex-1 bg-transparent px-2 font-mono text-[11.5px] uppercase outline-none;
2027
+ @apply h-full min-w-0 flex-1 bg-transparent px-2 font-mono text-[16px] sm:text-[11.5px] uppercase outline-none;
1969
2028
  }
1970
2029
 
1971
2030
  /* ---- Settings panel ----
@@ -2201,7 +2260,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2201
2260
  }
2202
2261
  }
2203
2262
  .asta-data-table-search-input {
2204
- @apply h-full min-w-0 flex-1 bg-transparent text-[13.5px] text-ink outline-none placeholder:text-mute [&::-webkit-search-cancel-button]:hidden;
2263
+ @apply h-full min-w-0 flex-1 bg-transparent text-[16px] sm:text-[13.5px] text-ink outline-none placeholder:text-mute [&::-webkit-search-cancel-button]:hidden;
2205
2264
  }
2206
2265
  .asta-data-table-actions {
2207
2266
  @apply ml-auto flex items-center gap-2;
@@ -2836,7 +2895,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2836
2895
  @apply text-[11.5px] tabular-nums text-mute;
2837
2896
  }
2838
2897
  .asta-notification-center-body {
2839
- @apply mt-2 min-h-0 flex-1 overflow-y-auto pb-2 [scrollbar-width:thin];
2898
+ @apply mt-2 min-h-0 flex-1 overflow-y-auto overscroll-contain pb-2 [scrollbar-width:thin];
2840
2899
  }
2841
2900
  .asta-notification-center-day {
2842
2901
  @apply px-4 pb-1 pt-3 text-[11.5px] font-medium text-mute;
@@ -2978,7 +3037,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2978
3037
  @apply focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_3px_color-mix(in_srgb,var(--brand)_14%,transparent)];
2979
3038
  }
2980
3039
  .asta-comments-input {
2981
- @apply block max-h-40 min-h-[44px] w-full resize-none bg-transparent px-3 pt-2.5 text-[14px] leading-relaxed text-ink outline-none [field-sizing:content] placeholder:text-mute;
3040
+ @apply block max-h-40 min-h-[44px] w-full resize-none bg-transparent px-3 pt-2.5 text-[16px] sm:text-[14px] leading-relaxed text-ink outline-none [field-sizing:content] placeholder:text-mute;
2982
3041
  }
2983
3042
  .asta-comments-submit {
2984
3043
  @apply flex items-center justify-end gap-1.5 px-2 pb-2;
@@ -3243,7 +3302,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3243
3302
  * <span class="asta-avatar-face asta-avatar-brand">AL<img class="asta-avatar-img" src="…" alt=""></span>
3244
3303
  * <span class="asta-avatar-status" data-status="online" aria-hidden="true"></span></span>
3245
3304
  * Sizes: xs sm (md) lg xl. Shape: asta-avatar-square. Fills on the face: (ink) brand soft tint gray.
3246
- * Status: online away busy offline. */
3305
+ * Status: online away busy offline. Each has a shape as well as a colour: solid, crescent, bar, ring. */
3247
3306
  .asta-avatar {
3248
3307
  @apply relative inline-flex h-10 w-10 shrink-0;
3249
3308
  }
@@ -3267,15 +3326,16 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3267
3326
  @apply absolute inset-0 h-full w-full object-cover;
3268
3327
  }
3269
3328
  .asta-avatar-status {
3270
- @apply absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full bg-mute shadow-[0_0_0_2px_var(--paper)];
3329
+ @apply absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full shadow-[0_0_0_2px_var(--paper)];
3330
+ background: radial-gradient(closest-side, var(--paper) 48%, var(--mute) 56%);
3271
3331
  &[data-status="online"] {
3272
- @apply bg-[#30a46c];
3332
+ background: #30a46c;
3273
3333
  }
3274
3334
  &[data-status="away"] {
3275
- @apply bg-[#f5a524];
3335
+ background: radial-gradient(closest-side at 30% 30%, var(--paper) 92%, #f5a524 100%);
3276
3336
  }
3277
3337
  &[data-status="busy"] {
3278
- @apply bg-[#e5484d];
3338
+ background: linear-gradient(var(--paper), var(--paper)) center / 60% 20% no-repeat, #e5484d;
3279
3339
  }
3280
3340
  }
3281
3341
  .asta-avatar-xs {
@@ -3850,7 +3910,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3850
3910
  }
3851
3911
  }
3852
3912
  .asta-combobox-input {
3853
- @apply h-8 min-w-[6rem] flex-1 bg-transparent px-1.5 text-[14px] text-ink outline-none placeholder:text-mute disabled:cursor-not-allowed;
3913
+ @apply h-8 min-w-[6rem] flex-1 bg-transparent px-1.5 text-[16px] sm:text-[14px] text-ink outline-none placeholder:text-mute disabled:cursor-not-allowed;
3854
3914
  }
3855
3915
  .asta-combobox-toggle {
3856
3916
  @apply ml-auto flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink;
@@ -3996,7 +4056,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3996
4056
  @apply text-[13px] text-mute;
3997
4057
  }
3998
4058
  .asta-color-picker-hex {
3999
- @apply h-full w-full min-w-0 bg-transparent pl-1 pr-2.5 font-mono text-[13px] uppercase tracking-[0.02em] text-ink outline-none placeholder:text-mute;
4059
+ @apply h-full w-full min-w-0 bg-transparent pl-1 pr-2.5 font-mono text-[16px] sm:text-[13px] uppercase tracking-[0.02em] text-ink outline-none placeholder:text-mute;
4000
4060
  }
4001
4061
  .asta-color-picker-hint {
4002
4062
  @apply w-14 text-[12px] text-mute opacity-0 transition-opacity duration-200 data-[on]:opacity-100;
@@ -4298,7 +4358,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4298
4358
  }
4299
4359
  }
4300
4360
  .asta-password-input {
4301
- @apply h-full min-w-0 flex-1 bg-transparent text-[14px] tracking-[0.01em] text-ink outline-none placeholder:text-mute;
4361
+ @apply h-full min-w-0 flex-1 bg-transparent text-[16px] sm:text-[14px] tracking-[0.01em] text-ink outline-none placeholder:text-mute;
4302
4362
  }
4303
4363
  .asta-password-toggle {
4304
4364
  @apply flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-mute outline-none transition-colors duration-200 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50;
@@ -4395,7 +4455,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4395
4455
  }
4396
4456
  }
4397
4457
  .asta-tag-input-field {
4398
- @apply h-8 min-w-[4rem] flex-1 bg-transparent px-2 text-[14px] text-ink outline-none placeholder:text-mute disabled:cursor-not-allowed;
4458
+ @apply h-8 min-w-[4rem] flex-1 bg-transparent px-2 text-[16px] sm:text-[14px] text-ink outline-none placeholder:text-mute disabled:cursor-not-allowed;
4399
4459
  }
4400
4460
  .asta-tag-input-hint {
4401
4461
  @apply mt-2 text-[12px] text-mute;
@@ -4638,10 +4698,10 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4638
4698
  * Sizes: asta-inline-edit-sm, (md), asta-inline-edit-lg. An empty value: asta-inline-edit-empty on the view. Keep the
4639
4699
  * plain "hidden" class on the tick: asta.js toggles it. */
4640
4700
  .asta-inline-edit {
4641
- @apply relative inline-flex max-w-full items-center gap-1.5 text-[14.5px];
4701
+ @apply relative inline-flex max-w-full items-center gap-1.5 text-[16px] sm:text-[14.5px];
4642
4702
  }
4643
4703
  .asta-inline-edit-sm {
4644
- @apply text-[13px];
4704
+ @apply text-[16px] sm:text-[13px];
4645
4705
  }
4646
4706
  .asta-inline-edit-lg {
4647
4707
  @apply text-[20px] font-medium tracking-[-0.02em];
@@ -4687,6 +4747,624 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4687
4747
  }
4688
4748
  }
4689
4749
 
4750
+ /* ---- css/src/modules.css ---- */
4751
+ /* Modules: countdown, meter, menubar, phone input, sortable list, cookie consent, chart card, invoice, inbox,
4752
+ * file manager, billing and testimonials. Class lists mirror the React kit. Embedded controls use the core classes
4753
+ * (asta-btn, asta-avatar, asta-dropdown, asta-tree-view, asta-breadcrumb, asta-file-card, asta-switch). The runtime
4754
+ * CSS and asta.js key on the data-asta-* attributes, so keep them in the markup. Modifiers come after the base class. */
4755
+
4756
+ /* ---- Countdown ----
4757
+ * <div class="asta-countdown" role="timer" data-asta-countdown="2026-12-01T00:00:00Z" aria-label="Time left">
4758
+ * <span class="asta-countdown-unit"><span class="asta-countdown-value" data-unit="d">03</span><span class="asta-countdown-label">Days</span></span>
4759
+ * <span class="asta-countdown-sep" aria-hidden="true">:</span> … </div>
4760
+ * asta.js ticks it every second (paused off screen) and sets data-done at zero. Variant asta-countdown-inline; sizes -sm, -lg. */
4761
+ .asta-countdown {
4762
+ @apply inline-flex items-start gap-2 text-ink;
4763
+ }
4764
+ .asta-countdown-unit {
4765
+ @apply flex flex-col items-center gap-1.5;
4766
+ }
4767
+ .asta-countdown-value {
4768
+ @apply min-w-[2.1em] rounded-lg bg-paper-2 px-2 py-1.5 text-center text-[26px] font-medium leading-none tracking-[-0.03em] tabular-nums;
4769
+ }
4770
+ .asta-countdown-label {
4771
+ @apply font-mono text-[10px] uppercase tracking-wider text-mute;
4772
+ }
4773
+ .asta-countdown-sep {
4774
+ @apply pt-1.5 text-[22px] leading-none text-mute;
4775
+ }
4776
+ .asta-countdown-sm .asta-countdown-value {
4777
+ @apply text-[16px];
4778
+ }
4779
+ .asta-countdown-lg .asta-countdown-value {
4780
+ @apply text-[40px];
4781
+ }
4782
+ .asta-countdown-inline {
4783
+ @apply items-baseline gap-0;
4784
+ & .asta-countdown-unit {
4785
+ @apply flex-row items-baseline gap-0.5;
4786
+ }
4787
+ & .asta-countdown-value {
4788
+ @apply min-w-0 bg-transparent p-0 text-[18px];
4789
+ }
4790
+ & .asta-countdown-label {
4791
+ @apply font-sans text-[12px] normal-case tracking-normal;
4792
+ }
4793
+ & .asta-countdown-sep {
4794
+ @apply px-1 pt-0 text-[16px];
4795
+ }
4796
+ }
4797
+ .asta-countdown[data-done] .asta-countdown-value {
4798
+ @apply text-mute;
4799
+ }
4800
+
4801
+ /* ---- Meter ----
4802
+ * <div class="asta-meter" role="meter" aria-valuenow="62" aria-valuemax="100" aria-label="Storage">
4803
+ * <div class="asta-meter-head"><span class="asta-meter-label">Storage</span><a class="asta-meter-action">Upgrade</a></div>
4804
+ * <div class="asta-meter-track"><span class="asta-meter-fill" style="--value:.62"></span></div>
4805
+ * <div class="asta-meter-foot"><span><b>62 GB</b> of 100 GB</span><span>62% used</span></div></div>
4806
+ * Parts of the bar: <span class="asta-meter-fill asta-meter-fill-2" style="--start:.4;--value:.15">. Add data-warn near the limit. */
4807
+ .asta-meter {
4808
+ @apply flex w-full flex-col gap-2 text-ink;
4809
+ }
4810
+ .asta-meter-head {
4811
+ @apply flex items-baseline justify-between gap-3;
4812
+ }
4813
+ .asta-meter-label {
4814
+ @apply text-[13.5px] font-medium;
4815
+ }
4816
+ .asta-meter-action {
4817
+ @apply text-[12.5px] font-medium text-brand hover:underline;
4818
+ }
4819
+ .asta-meter-track {
4820
+ @apply relative h-2 overflow-hidden rounded-full bg-[color-mix(in_srgb,var(--ink)_7%,transparent)];
4821
+ }
4822
+ .asta-meter-sm .asta-meter-track {
4823
+ @apply h-1.5;
4824
+ }
4825
+ .asta-meter-fill {
4826
+ @apply absolute inset-0 origin-left bg-brand transition-transform duration-700 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
4827
+ transform: translateX(calc(var(--start, 0) * 100%)) scaleX(var(--value, 0));
4828
+ }
4829
+ .asta-meter-fill-2 {
4830
+ @apply bg-ink;
4831
+ }
4832
+ .asta-meter-fill-3 {
4833
+ @apply bg-[color-mix(in_srgb,var(--brand)_40%,var(--paper))];
4834
+ }
4835
+ .asta-meter-fill-4 {
4836
+ @apply bg-[color-mix(in_srgb,var(--ink)_30%,var(--paper))];
4837
+ }
4838
+ .asta-meter[data-warn] .asta-meter-fill {
4839
+ @apply bg-ink;
4840
+ }
4841
+ .asta-meter-foot {
4842
+ @apply flex items-baseline justify-between gap-3 text-[12.5px] text-mute;
4843
+ & b {
4844
+ @apply font-medium text-ink;
4845
+ }
4846
+ }
4847
+ .asta-meter-legend {
4848
+ @apply flex flex-wrap gap-x-4 gap-y-1 text-[12px] text-mute;
4849
+ }
4850
+ .asta-meter-legend-dot {
4851
+ @apply mr-1.5 inline-block h-2 w-2 rounded-full bg-brand align-middle;
4852
+ }
4853
+
4854
+ /* ---- Menubar ----
4855
+ * <div role="menubar" class="asta-menubar" aria-label="App">
4856
+ * <div class="asta-dropdown" data-asta-dropdown><button class="asta-menubar-trigger" data-asta-dropdown-trigger aria-haspopup="menu" aria-expanded="false">File</button>
4857
+ * <div role="menu" popover="manual" data-asta-mpanel class="asta-float asta-dropdown-panel">…asta-menu-item…</div></div> … </div>
4858
+ * Each menu is an asta-dropdown, so asta.js handles opening, keyboard nav and aria-checked. */
4859
+ .asta-menubar {
4860
+ @apply inline-flex items-center gap-0.5 rounded-[10px] bg-paper p-1 text-ink;
4861
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
4862
+ }
4863
+ .asta-menubar-trigger {
4864
+ @apply inline-flex h-7 cursor-pointer items-center rounded-md px-2.5 text-[13px] font-medium text-ink-2 outline-none transition-colors duration-150;
4865
+ @apply 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;
4866
+ }
4867
+
4868
+ /* ---- Phone input ----
4869
+ * <div class="asta-phone" data-asta-phone><label class="asta-label" for="ph">Phone</label>
4870
+ * <div class="asta-phone-control"><select class="asta-phone-country" aria-label="Country"><option value="+1" data-mask="(###) ###-####">US +1</option>…</select>
4871
+ * <input id="ph" class="asta-phone-input" type="tel" inputmode="tel" autocomplete="tel-national" name="phone"><span class="asta-phone-check" aria-hidden="true">…</span></div>
4872
+ * <input type="hidden" name="phone_e164"></div>
4873
+ * asta.js formats digits with the selected mask, fills phone_e164 and sets data-valid when the number is complete. */
4874
+ .asta-phone {
4875
+ @apply flex w-full flex-col gap-1.5;
4876
+ }
4877
+ .asta-phone-control {
4878
+ @apply flex h-10 items-center rounded-[9px] bg-paper text-ink transition-shadow duration-150;
4879
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] focus-within:shadow-[inset_0_0_0_1.5px_var(--brand),0_0_0_3px_color-mix(in_srgb,var(--brand)_18%,transparent)];
4880
+ }
4881
+ .asta-phone-country {
4882
+ @apply h-full cursor-pointer appearance-none rounded-l-[9px] bg-transparent bg-[length:10px] bg-[right_8px_center] bg-no-repeat pl-3 pr-6 text-[16px] sm:text-[13.5px] font-medium outline-none;
4883
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
4884
+ }
4885
+ .asta-phone-input {
4886
+ @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[16px] sm:text-[14px] tabular-nums outline-none placeholder:text-mute;
4887
+ }
4888
+ .asta-phone-check {
4889
+ @apply mr-3 grid h-5 w-5 shrink-0 scale-50 place-items-center rounded-full bg-brand text-paper opacity-0 transition-[transform,opacity] duration-300 ease-[cubic-bezier(.16,1,.3,1)];
4890
+ & svg {
4891
+ @apply h-3 w-3;
4892
+ }
4893
+ .asta-phone[data-valid] & {
4894
+ @apply scale-100 opacity-100;
4895
+ }
4896
+ }
4897
+
4898
+ /* ---- Sortable list ----
4899
+ * <ol class="asta-sortable" data-asta-sortable aria-label="Priorities">
4900
+ * <li class="asta-sortable-item" data-id="a"><button type="button" class="asta-sortable-handle" aria-label="Reorder Checkout redesign">⋮⋮</button>
4901
+ * <span class="asta-sortable-text">Checkout redesign</span><input type="hidden" name="order[]" value="a"></li> … </ol>
4902
+ * asta.js: drag the handle, or focus it and press Space, the arrows, then Space again (Esc cancels). Fires "asta:reorder". */
4903
+ .asta-sortable {
4904
+ @apply flex w-full flex-col gap-1.5;
4905
+ }
4906
+ .asta-sortable-item {
4907
+ @apply relative flex items-center gap-3 rounded-[10px] bg-paper px-2.5 py-2.5 text-[13.5px] text-ink transition-[transform,box-shadow] duration-200 ease-[cubic-bezier(.16,1,.3,1)];
4908
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
4909
+ &[data-dragging] {
4910
+ @apply z-10 scale-[1.02] shadow-[inset_0_0_0_1.5px_var(--brand),0_14px_30px_-14px_rgb(0_0_0/0.35)];
4911
+ }
4912
+ }
4913
+ .asta-sortable-handle {
4914
+ @apply grid h-7 w-6 shrink-0 cursor-grab touch-none place-items-center rounded-md text-mute outline-none hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 active:cursor-grabbing;
4915
+ }
4916
+ .asta-sortable-text {
4917
+ @apply min-w-0 flex-1 truncate font-medium;
4918
+ }
4919
+ .asta-sortable-meta {
4920
+ @apply shrink-0 text-[12px] text-mute;
4921
+ }
4922
+
4923
+ /* ---- Cookie consent ----
4924
+ * <div class="asta-consent" data-asta-consent="consent" role="dialog" aria-label="Cookies">
4925
+ * <div class="asta-consent-summary"><p class="asta-consent-title">…</p><p class="asta-consent-text">…</p>
4926
+ * <div class="asta-consent-actions"><button data-asta-consent-customize>Customize</button><button data-asta-consent-reject>Reject</button><button data-asta-consent-accept>Accept all</button></div></div>
4927
+ * <form class="asta-consent-custom">…asta-consent-row with asta-switch…<button data-asta-consent-save>Save</button></form></div>
4928
+ * asta.js stores the choice in localStorage under the data-asta-consent key, hides the banner and fires "asta:consent".
4929
+ * Add asta-consent-contained to place it inside a positioned parent instead of the viewport. */
4930
+ .asta-consent {
4931
+ @apply fixed inset-x-4 bottom-4 z-50 w-auto max-w-[420px] rounded-[14px] bg-paper p-5 text-ink sm:left-auto;
4932
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_24px_60px_-24px_rgb(0_0_0/0.4)];
4933
+ @apply transition-[opacity,transform] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
4934
+ &[data-state="closed"] {
4935
+ @apply pointer-events-none translate-y-3 opacity-0;
4936
+ }
4937
+ }
4938
+ .asta-consent-contained {
4939
+ @apply absolute inset-x-3 bottom-3;
4940
+ }
4941
+ .asta-consent-title {
4942
+ @apply text-[14.5px] font-medium tracking-[-0.01em];
4943
+ }
4944
+ .asta-consent-text {
4945
+ @apply mt-1.5 text-[13px] leading-relaxed text-ink-2;
4946
+ & a {
4947
+ @apply text-ink underline underline-offset-2;
4948
+ }
4949
+ }
4950
+ .asta-consent-actions {
4951
+ @apply mt-4 flex flex-wrap gap-2 [&>*:last-child]:ml-auto;
4952
+ }
4953
+ .asta-consent-custom {
4954
+ @apply hidden flex-col gap-1;
4955
+ .asta-consent[data-view="custom"] & {
4956
+ @apply flex;
4957
+ }
4958
+ }
4959
+ .asta-consent[data-view="custom"] .asta-consent-summary {
4960
+ @apply hidden;
4961
+ }
4962
+ .asta-consent-row {
4963
+ @apply flex items-start justify-between gap-4 rounded-lg px-1 py-2.5;
4964
+ }
4965
+ .asta-consent-row-text {
4966
+ @apply min-w-0 text-[13px];
4967
+ & span {
4968
+ @apply block text-[12px] text-mute;
4969
+ }
4970
+ }
4971
+
4972
+ /* ---- Chart card ----
4973
+ * <div class="asta-chart-card"><div class="asta-chart-card-head"><div><p class="asta-chart-card-title">Revenue</p>
4974
+ * <p class="asta-chart-card-value">$48,250 <span class="asta-chart-card-delta"><span aria-hidden="true">▲</span><span class="asta-sr-only">Up</span> 12.4%</span></p></div>…actions…</div>
4975
+ * <div class="asta-chart" style="--h:200px"><svg class="asta-chart-svg" viewBox="0 0 600 200" preserveAspectRatio="none">
4976
+ * <path class="asta-chart-area" d="…"/><path class="asta-chart-line" d="…"/></svg></div>
4977
+ * <div class="asta-chart-axis"><span>Mon</span>…</div></div>
4978
+ * Down: data-down on the delta, ▼ and "Down". The arrow carries the direction, so it never rests on colour alone.
4979
+ * Draw the paths on the server. Bars: <div class="asta-chart-bars"><span class="asta-chart-bar" style="--v:.7"></span>…</div>. */
4980
+ .asta-chart-card {
4981
+ @apply flex w-full flex-col gap-4 rounded-[14px] bg-paper p-5 text-ink;
4982
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
4983
+ }
4984
+ .asta-chart-card-head {
4985
+ @apply flex flex-wrap items-start justify-between gap-3;
4986
+ }
4987
+ .asta-chart-card-title {
4988
+ @apply text-[13px] text-ink-2;
4989
+ }
4990
+ .asta-chart-card-value {
4991
+ @apply mt-1 flex items-baseline gap-2 text-[26px] font-medium leading-none tracking-[-0.035em] tabular-nums;
4992
+ }
4993
+ .asta-chart-card-delta {
4994
+ @apply text-[12.5px] font-medium tracking-normal text-brand;
4995
+ &[data-down] {
4996
+ @apply text-mute;
4997
+ }
4998
+ }
4999
+ .asta-chart {
5000
+ @apply relative w-full;
5001
+ height: var(--h, 200px);
5002
+ background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 0 1px, transparent 1px 25%);
5003
+ }
5004
+ .asta-chart-svg {
5005
+ @apply absolute inset-0 h-full w-full overflow-visible;
5006
+ }
5007
+ .asta-chart-line {
5008
+ @apply fill-none stroke-brand [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2] [vector-effect:non-scaling-stroke];
5009
+ }
5010
+ .asta-chart-line-muted {
5011
+ @apply stroke-mute [stroke-dasharray:4_4];
5012
+ }
5013
+ .asta-chart-area {
5014
+ @apply fill-[color-mix(in_srgb,var(--brand)_12%,transparent)] stroke-none;
5015
+ }
5016
+ .asta-chart-bars {
5017
+ @apply absolute inset-0 flex items-end justify-around gap-[3%] px-[2%];
5018
+ }
5019
+ .asta-chart-bar {
5020
+ @apply relative h-full max-w-[28px] flex-1 overflow-hidden rounded-t-[5px];
5021
+ &::after {
5022
+ @apply absolute inset-0 origin-bottom rounded-t-[5px] bg-[color-mix(in_srgb,var(--brand)_45%,var(--paper))] content-[''] transition-transform duration-700 ease-[cubic-bezier(.16,1,.3,1)];
5023
+ transform: scaleY(var(--v, 0));
5024
+ }
5025
+ &[aria-current]::after {
5026
+ @apply bg-brand;
5027
+ }
5028
+ }
5029
+ .asta-chart-axis {
5030
+ @apply flex justify-between text-[11px] text-mute;
5031
+ }
5032
+
5033
+ /* ---- Invoice ----
5034
+ * <article class="asta-invoice" aria-label="Invoice INV-0142"><header class="asta-invoice-head">…brand…
5035
+ * <div><h2 class="asta-invoice-title">Invoice <span class="asta-invoice-status">Due</span></h2><p class="asta-invoice-number">INV-0142</p></div></header>
5036
+ * <div class="asta-invoice-parties">…<p class="asta-invoice-label">Billed to</p>…</div>
5037
+ * <table class="asta-invoice-items">…</table><dl class="asta-invoice-totals">…</dl><footer class="asta-invoice-foot">…</footer></article>
5038
+ * Status variants: asta-invoice-status-paid, -overdue, -draft. Narrow containers fold quantity and price away. */
5039
+ .asta-invoice {
5040
+ @apply @container flex w-full flex-col gap-7 rounded-[14px] bg-paper p-5 text-ink @min-[560px]:p-8;
5041
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_18px_44px_-28px_rgb(0_0_0/0.3)];
5042
+ }
5043
+ .asta-invoice-head {
5044
+ @apply flex flex-wrap items-start justify-between gap-4;
5045
+ & > :last-child {
5046
+ @apply text-right;
5047
+ }
5048
+ }
5049
+ .asta-invoice-title {
5050
+ @apply flex items-center justify-end gap-2 text-[20px] font-medium tracking-[-0.03em];
5051
+ }
5052
+ .asta-invoice-status {
5053
+ @apply inline-flex h-6 items-center gap-1 rounded-md bg-paper-2 px-2 text-[11.5px] font-medium tracking-normal;
5054
+ }
5055
+ .asta-invoice-status-paid {
5056
+ @apply bg-[color-mix(in_srgb,var(--brand)_12%,transparent)] text-brand;
5057
+ }
5058
+ .asta-invoice-status-overdue {
5059
+ @apply bg-ink text-paper;
5060
+ }
5061
+ .asta-invoice-status-draft {
5062
+ @apply bg-transparent text-mute shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_16%,transparent)];
5063
+ }
5064
+ .asta-invoice-number {
5065
+ @apply mt-1.5 font-mono text-[12px] text-mute;
5066
+ }
5067
+ .asta-invoice-parties {
5068
+ @apply grid gap-5 text-[13px] text-mute @min-[560px]:grid-cols-[1fr_1fr_auto] @min-[560px]:gap-8;
5069
+ & b {
5070
+ @apply mt-1.5 block font-medium text-ink;
5071
+ }
5072
+ }
5073
+ .asta-invoice-label {
5074
+ @apply font-mono text-[10.5px] uppercase tracking-wider text-mute;
5075
+ }
5076
+ .asta-invoice-items {
5077
+ @apply w-full border-separate border-spacing-0 text-[13.5px];
5078
+ & th {
5079
+ @apply px-3 pb-2 text-right font-mono text-[10.5px] font-normal uppercase tracking-wider text-mute first:pl-1 first:text-left;
5080
+ }
5081
+ & td {
5082
+ @apply px-3 py-2.5 text-right tabular-nums text-ink-2 first:rounded-l-lg first:text-left first:text-ink last:rounded-r-lg last:font-medium last:text-ink;
5083
+ }
5084
+ & tbody tr:nth-child(odd) td {
5085
+ @apply bg-paper-2;
5086
+ }
5087
+ & td small {
5088
+ @apply block text-[12px] text-mute;
5089
+ }
5090
+ & .asta-invoice-num {
5091
+ @apply hidden @min-[560px]:table-cell;
5092
+ }
5093
+ }
5094
+ .asta-invoice-totals {
5095
+ @apply ml-auto grid w-full max-w-[300px] grid-cols-[1fr_auto] gap-x-4 gap-y-1.5 text-[13px];
5096
+ & dt {
5097
+ @apply text-mute;
5098
+ }
5099
+ & dd {
5100
+ @apply text-right tabular-nums;
5101
+ }
5102
+ }
5103
+ .asta-invoice-total {
5104
+ @apply pt-1.5 font-medium text-ink;
5105
+ & + dd {
5106
+ @apply pt-1.5 text-[22px] font-medium tracking-[-0.03em];
5107
+ }
5108
+ }
5109
+ .asta-invoice-foot {
5110
+ @apply flex flex-col gap-4 text-[12.5px] leading-relaxed text-mute @min-[560px]:flex-row @min-[560px]:items-end @min-[560px]:justify-between;
5111
+ & > p {
5112
+ @apply max-w-[360px];
5113
+ }
5114
+ }
5115
+
5116
+ /* ---- Inbox ----
5117
+ * <div class="asta-inbox" data-asta-inbox data-view="list"><section class="asta-inbox-list"><input class="asta-inbox-search" …>
5118
+ * <ul><li><button class="asta-inbox-row" data-unread aria-current="true"><span class="asta-avatar asta-avatar-sm">…</span>
5119
+ * <span class="asta-inbox-row-text"><span class="asta-inbox-row-from">Ingrid <time>9:41</time></span><span class="asta-inbox-row-subject">…</span><span class="asta-inbox-row-preview">…</span></span></button></li>…</ul></section>
5120
+ * <section class="asta-inbox-pane" id="inbox-pane">…asta-inbox-subject, asta-inbox-meta, asta-inbox-body, asta-inbox-reply…</section></div>
5121
+ * Load the message with htmx (hx-get, hx-target="#inbox-pane"). asta.js moves aria-current, clears data-unread, and on narrow
5122
+ * containers flips data-view to "message"; [data-asta-inbox-back] goes back. */
5123
+ .asta-inbox {
5124
+ @apply @container relative w-full overflow-hidden rounded-[14px] bg-paper text-ink;
5125
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
5126
+ height: var(--h, 560px);
5127
+ }
5128
+ .asta-inbox-inner {
5129
+ @apply grid h-full @min-[640px]:grid-cols-[minmax(260px,340px)_1fr];
5130
+ }
5131
+ .asta-inbox-list {
5132
+ @apply flex min-h-0 flex-col gap-2 p-3 @min-[640px]:shadow-[1px_0_0_color-mix(in_srgb,var(--ink)_8%,transparent)];
5133
+ .asta-inbox[data-view="message"] & {
5134
+ @apply @max-[639px]:hidden;
5135
+ }
5136
+ & ul {
5137
+ @apply -mx-1 min-h-0 flex-1 overflow-y-auto overscroll-contain;
5138
+ }
5139
+ }
5140
+ .asta-inbox-search {
5141
+ @apply h-9 w-full rounded-lg bg-paper-2 px-3 text-[16px] sm:text-[13px] text-ink outline-none placeholder:text-mute focus:shadow-[inset_0_0_0_1px_var(--brand)] [&::-webkit-search-cancel-button]:hidden;
5142
+ }
5143
+ .asta-inbox-row {
5144
+ @apply relative flex w-full cursor-pointer gap-3 rounded-[10px] px-2.5 py-2.5 text-left outline-none transition-colors hover:bg-paper-2/60 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-brand/50;
5145
+ @apply aria-[current=true]:bg-paper-2;
5146
+ &[data-unread]::before {
5147
+ @apply absolute left-1 top-3 h-2 w-2 rounded-full bg-brand content-[''];
5148
+ }
5149
+ }
5150
+ .asta-inbox-row-text {
5151
+ @apply min-w-0 flex-1 text-[12.5px];
5152
+ & > span:not(.asta-inbox-row-from) {
5153
+ @apply block truncate;
5154
+ }
5155
+ }
5156
+ .asta-inbox-row-from {
5157
+ @apply flex justify-between gap-2 text-[13px] font-medium text-ink-2;
5158
+ & time {
5159
+ @apply shrink-0 text-[11px] font-normal tabular-nums text-mute;
5160
+ }
5161
+ .asta-inbox-row[data-unread] & {
5162
+ @apply font-semibold text-ink;
5163
+ }
5164
+ }
5165
+ .asta-inbox-row-subject {
5166
+ @apply text-ink-2;
5167
+ }
5168
+ .asta-inbox-row-preview {
5169
+ @apply text-[12px] text-mute;
5170
+ }
5171
+ .asta-inbox-pane {
5172
+ @apply flex min-h-0 min-w-0 flex-col overflow-y-auto px-5 py-4 @min-[640px]:px-7;
5173
+ .asta-inbox[data-view="list"] & {
5174
+ @apply @max-[639px]:hidden;
5175
+ }
5176
+ }
5177
+ .asta-inbox-back {
5178
+ @apply mb-2 inline-flex h-8 items-center gap-1 self-start rounded-md px-2 text-[13px] text-mute hover:bg-paper-2 hover:text-ink @min-[640px]:hidden;
5179
+ }
5180
+ .asta-inbox-subject {
5181
+ @apply text-[18px] font-medium leading-snug tracking-[-0.02em];
5182
+ }
5183
+ .asta-inbox-meta {
5184
+ @apply mt-4 flex items-center gap-3 text-[12px] text-mute;
5185
+ & b {
5186
+ @apply block text-[13.5px] font-medium text-ink;
5187
+ }
5188
+ }
5189
+ .asta-inbox-body {
5190
+ @apply mt-5 flex max-w-[60ch] flex-col gap-3 text-[13.5px] leading-relaxed text-ink-2;
5191
+ }
5192
+ .asta-inbox-reply {
5193
+ @apply mt-auto flex flex-col gap-2 rounded-xl bg-paper-2 p-2.5 pt-3;
5194
+ & textarea {
5195
+ @apply w-full resize-none bg-transparent px-1.5 text-[16px] sm:text-[13px] leading-relaxed text-ink outline-none placeholder:text-mute;
5196
+ }
5197
+ & > div {
5198
+ @apply flex items-center justify-between gap-2 px-1.5 text-[11.5px] text-mute;
5199
+ }
5200
+ }
5201
+
5202
+ /* ---- File manager ----
5203
+ * <div class="asta-files"><aside class="asta-files-side">…asta-tree-view…<div class="asta-files-storage">…asta-meter…</div></aside>
5204
+ * <section class="asta-files-main"><div class="asta-files-toolbar">…asta-breadcrumb… <input class="asta-files-search"> …asta-segmented…</div>
5205
+ * <ul class="asta-files-grid"><li>…asta-file-card…</li></ul></section></div>
5206
+ * Use asta-files-list instead of asta-files-grid for rows (asta-file-row). Under 640px of container width the sidebar folds away. */
5207
+ .asta-files {
5208
+ @apply @container w-full overflow-hidden rounded-[14px] bg-paper text-ink;
5209
+ @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
5210
+ }
5211
+ .asta-files-inner {
5212
+ @apply grid min-h-[480px] @min-[640px]:grid-cols-[220px_1fr];
5213
+ }
5214
+ .asta-files-side {
5215
+ @apply hidden flex-col gap-4 bg-paper-2/60 p-3 @min-[640px]:flex;
5216
+ }
5217
+ .asta-files-storage {
5218
+ @apply mt-auto rounded-[10px] bg-paper p-3 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)];
5219
+ }
5220
+ .asta-files-main {
5221
+ @apply flex min-w-0 flex-col gap-3 p-3 @min-[640px]:p-4;
5222
+ }
5223
+ .asta-files-toolbar {
5224
+ @apply flex flex-wrap items-center gap-2;
5225
+ & > :first-child {
5226
+ @apply min-w-0 flex-[1_1_100%] @min-[520px]:flex-1;
5227
+ }
5228
+ }
5229
+ .asta-files-search {
5230
+ @apply h-8 min-w-0 flex-1 rounded-lg bg-paper-2 px-3 text-[16px] sm:text-[13px] text-ink outline-none placeholder:text-mute focus:shadow-[inset_0_0_0_1px_var(--brand)] [&::-webkit-search-cancel-button]:hidden;
5231
+ }
5232
+ .asta-files-grid {
5233
+ @apply grid grid-cols-2 gap-3 @min-[520px]:grid-cols-3 @min-[860px]:grid-cols-4;
5234
+ }
5235
+ .asta-files-list {
5236
+ @apply flex flex-col gap-0.5;
5237
+ }
5238
+ .asta-files-bar {
5239
+ @apply flex items-center gap-2 rounded-[10px] bg-ink py-1.5 pl-3.5 pr-1.5 text-[12.5px] text-paper shadow-[0_12px_28px_-12px_rgb(0_0_0/0.5)];
5240
+ & > :first-child {
5241
+ @apply mr-auto truncate tabular-nums;
5242
+ }
5243
+ }
5244
+
5245
+ /* ---- Billing ----
5246
+ * <div class="asta-billing"><section class="asta-billing-group"><div><h3 class="asta-billing-title">Plan</h3><p class="asta-billing-hint">…</p></div>
5247
+ * <div class="asta-billing-plans"><label class="asta-billing-plan"><input type="radio" name="plan" value="team" checked>
5248
+ * <span class="asta-billing-plan-name">Team <span class="asta-billing-plan-current">Current</span></span><span class="asta-billing-plan-price">$48<small>/mo</small></span>…</label>…</div></section>
5249
+ * <section class="asta-billing-group">…asta-billing-row / asta-billing-invoices…</section></div>
5250
+ * Plan cards are real radios: post the form, or hx-post on change for a proration preview. */
5251
+ .asta-billing {
5252
+ @apply @container flex w-full flex-col text-ink;
5253
+ }
5254
+ .asta-billing-group {
5255
+ @apply grid gap-3 py-6 first:pt-0 @min-[720px]:grid-cols-[220px_1fr] @min-[720px]:gap-10;
5256
+ }
5257
+ .asta-billing-title {
5258
+ @apply text-[14px] font-medium tracking-[-0.01em];
5259
+ }
5260
+ .asta-billing-hint {
5261
+ @apply mt-1 text-[12.5px] leading-relaxed text-mute;
5262
+ }
5263
+ .asta-billing-plans {
5264
+ @apply grid gap-2 @min-[560px]:grid-cols-3;
5265
+ }
5266
+ .asta-billing-plan {
5267
+ @apply relative flex cursor-pointer flex-col gap-1 rounded-[12px] bg-paper-2 p-4 transition-[box-shadow,background-color] duration-200;
5268
+ @apply hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent)];
5269
+ @apply has-checked:bg-paper has-checked:shadow-[inset_0_0_0_2px_var(--brand)] has-focus-visible:ring-2 has-focus-visible:ring-brand/50;
5270
+ & input {
5271
+ @apply sr-only;
5272
+ }
5273
+ & ul {
5274
+ @apply mt-2 flex flex-col gap-1 text-[12px] text-ink-2;
5275
+ }
5276
+ & li::before {
5277
+ @apply mr-1.5 text-brand content-['✓'];
5278
+ }
5279
+ }
5280
+ .asta-billing-plan-name {
5281
+ @apply flex items-center justify-between gap-2 text-[13.5px] font-medium;
5282
+ }
5283
+ .asta-billing-plan-current {
5284
+ @apply rounded-md bg-ink px-1.5 py-0.5 text-[10.5px] font-medium text-paper;
5285
+ }
5286
+ .asta-billing-plan-price {
5287
+ @apply text-[22px] font-medium tracking-[-0.03em] tabular-nums;
5288
+ & small {
5289
+ @apply text-[12.5px] font-normal tracking-normal text-mute;
5290
+ }
5291
+ }
5292
+ .asta-billing-usage {
5293
+ @apply grid gap-3 @min-[560px]:grid-cols-2;
5294
+ & > * {
5295
+ @apply rounded-[12px] bg-paper-2 p-4;
5296
+ }
5297
+ }
5298
+ .asta-billing-row {
5299
+ @apply flex items-center gap-3 rounded-[10px] bg-paper-2 px-4 py-3 text-[12px] text-mute;
5300
+ & b {
5301
+ @apply block text-[13.5px] font-medium text-ink;
5302
+ }
5303
+ & > :nth-child(2) {
5304
+ @apply min-w-0 flex-1;
5305
+ }
5306
+ }
5307
+ .asta-billing-invoices {
5308
+ @apply flex flex-col gap-1;
5309
+ & li {
5310
+ @apply flex items-center gap-3 rounded-[10px] px-4 py-2.5 text-[13px] odd:bg-paper-2;
5311
+ }
5312
+ & li > :first-child {
5313
+ @apply w-[92px] shrink-0 tabular-nums text-ink-2;
5314
+ }
5315
+ & code {
5316
+ @apply hidden min-w-0 flex-1 truncate font-mono text-[12px] text-mute @min-[480px]:block;
5317
+ }
5318
+ & b {
5319
+ @apply ml-auto font-medium tabular-nums @min-[480px]:ml-0;
5320
+ }
5321
+ }
5322
+
5323
+ /* ---- Testimonials ----
5324
+ * <section class="asta-testimonials" aria-label="What customers say"><div class="asta-testimonials-row"><ul class="asta-testimonials-track" style="--speed:60s">
5325
+ * <li><figure class="asta-testimonial"><blockquote>…</blockquote><figcaption>…asta-avatar… <span><b>Name</b>Role</span></figcaption></figure></li>…
5326
+ * (the same items again with aria-hidden="true")</ul></div>…a second row with asta-testimonials-track-reverse…</section>
5327
+ * Pure CSS: rows pause on hover and focus, and anyone who prefers reduced motion gets a wrapped, still grid.
5328
+ * asta-testimonials-grid shows the cards as a grid from the start (one copy, no rows). */
5329
+ .asta-testimonials {
5330
+ @apply @container flex w-full flex-col gap-3;
5331
+ }
5332
+ .asta-testimonials-row {
5333
+ @apply overflow-hidden [mask-image:linear-gradient(90deg,transparent,#000_8%,#000_92%,transparent)];
5334
+ }
5335
+ .asta-testimonials-track {
5336
+ @apply flex w-max;
5337
+ animation: asta-tm-left var(--speed, 60s) linear infinite;
5338
+ .asta-testimonials-row:hover &,
5339
+ .asta-testimonials-row:focus-within & {
5340
+ animation-play-state: paused;
5341
+ }
5342
+ & > li {
5343
+ @apply w-[300px] shrink-0 pr-3 sm:w-[340px];
5344
+ }
5345
+ }
5346
+ .asta-testimonials-track-reverse {
5347
+ animation-name: asta-tm-right;
5348
+ }
5349
+ .asta-testimonial {
5350
+ @apply flex h-full flex-col justify-between gap-5 rounded-[12px] bg-paper-2 p-5 text-ink;
5351
+ & blockquote {
5352
+ @apply text-[14px] leading-relaxed;
5353
+ }
5354
+ & figcaption {
5355
+ @apply flex items-center gap-3 text-[12px] text-mute;
5356
+ }
5357
+ & figcaption b {
5358
+ @apply block text-[13px] font-medium text-ink;
5359
+ }
5360
+ }
5361
+ .asta-testimonial-stars {
5362
+ @apply mb-3 flex gap-0.5 text-[13px] leading-none tracking-[2px] text-brand;
5363
+ }
5364
+ .asta-testimonials-grid {
5365
+ @apply grid gap-3 @min-[560px]:grid-cols-2 @min-[860px]:grid-cols-3;
5366
+ }
5367
+
4690
5368
  /* ---- css/src/overlays.css ---- */
4691
5369
  /* Overlays: drawer, popover, hover card, dropdown and context menus, command palette, navbar, sidebar,
4692
5370
  * workspace switcher, footer, announcement bar, stepper and tool dock.
@@ -4894,7 +5572,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4894
5572
  }
4895
5573
  }
4896
5574
  .asta-cmd-input {
4897
- @apply h-12 min-w-0 flex-1 bg-transparent text-[15px] text-ink outline-none placeholder:text-mute;
5575
+ @apply h-12 min-w-0 flex-1 bg-transparent text-[16px] text-ink outline-none placeholder:text-mute sm:text-[15px];
4898
5576
  }
4899
5577
  .asta-cmd-esc {
4900
5578
  @apply rounded-md bg-paper-2 px-1.5 font-sans text-[11px] leading-5 text-mute;
@@ -5182,7 +5860,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5182
5860
  /* Phone sheet: <details class="asta-navbar-sec"><summary>Product <svg/></summary><div class="asta-nav-sec
5183
5861
  * asta-navbar-sec-links"><a class="asta-navbar-sheet-link">…</a></div></details> */
5184
5862
  .asta-navbar-sheet {
5185
- @apply absolute inset-x-0 top-full max-h-[calc(100svh-3.5rem)] overflow-y-auto bg-paper px-3 pb-6 pt-2 @min-[560px]:hidden;
5863
+ @apply absolute inset-x-0 top-full max-h-[calc(100svh-3.5rem)] overflow-y-auto overscroll-contain bg-paper px-3 pb-6 pt-2 @min-[560px]:hidden;
5186
5864
  & > ul {
5187
5865
  @apply flex flex-col;
5188
5866
  }
@@ -5548,7 +6226,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5548
6226
  }
5549
6227
  }
5550
6228
  .asta-newsletter-input {
5551
- @apply min-w-0 flex-1 bg-transparent text-[14px] text-paper outline-none placeholder:text-paper/40;
6229
+ @apply min-w-0 flex-1 bg-transparent text-[16px] sm:text-[14px] text-paper outline-none placeholder:text-paper/40;
5552
6230
  }
5553
6231
  .asta-newsletter-done {
5554
6232
  @apply pointer-events-none absolute inset-0 flex translate-y-2 items-center gap-2 pl-1 text-[14px] text-paper opacity-0 transition-[opacity,transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)];