asta-ui 0.9.2 → 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.
- package/css/asta.css +2 -2
- package/css/asta.js +248 -1
- package/css/components.css +722 -44
- package/css/runtime/core.css +5 -5
- package/css/runtime/data.css +2 -2
- package/css/runtime/modules.css +49 -0
- package/css/runtime/modules.js +245 -0
- package/css/runtime/overlays.css +22 -9
- package/css/src/blocks.css +3 -3
- package/css/src/core.css +8 -8
- package/css/src/data.css +3 -3
- package/css/src/display.css +6 -5
- package/css/src/forms.css +6 -6
- package/css/src/modules.css +616 -0
- package/css/src/overlays.css +3 -3
- package/css/tokens.css +6 -2
- package/dist/ai-chat.js +1 -1
- package/dist/avatar-group.js +2 -2
- package/dist/avatar.js +1 -1
- package/dist/base/ai-chat.js +1 -1
- package/dist/base/avatar-group.js +2 -2
- package/dist/base/avatar.js +1 -1
- package/dist/base/billing.d.ts +2 -0
- package/dist/base/billing.js +11 -0
- package/dist/base/bubble-wrap.js +1 -1
- package/dist/base/candlestick.js +1 -1
- package/dist/base/card-checkout.js +1 -1
- package/dist/base/chart-card.d.ts +2 -0
- package/dist/base/chart-card.js +11 -0
- package/dist/base/chat-thread.js +1 -1
- package/dist/base/checkbox.js +1 -1
- package/dist/base/checkout.js +3 -3
- package/dist/base/color-picker.js +1 -1
- package/dist/base/combo-lock.js +1 -1
- package/dist/base/combobox-aui-046.js +1 -1
- package/dist/base/combobox-aui-047.js +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command-palette.js +1 -1
- package/dist/base/comments.js +2 -2
- package/dist/base/context-menu.js +1 -1
- package/dist/base/cookie-consent.d.ts +2 -0
- package/dist/base/cookie-consent.js +13 -0
- package/dist/base/countdown.d.ts +2 -0
- package/dist/base/countdown.js +9 -0
- package/dist/base/data-table.js +1 -1
- package/dist/base/dialog.js +1 -1
- package/dist/base/dropdown-menu.js +1 -1
- package/dist/base/field.js +1 -1
- package/dist/base/file-manager.d.ts +2 -0
- package/dist/base/file-manager.js +19 -0
- package/dist/base/flash-sale.d.ts +2 -0
- package/dist/base/flash-sale.js +7 -0
- package/dist/base/footer-aui-027.js +1 -1
- package/dist/base/footer-aui-028.js +1 -1
- package/dist/base/footer.js +1 -1
- package/dist/base/hover-card.js +1 -1
- package/dist/base/inbox.d.ts +2 -0
- package/dist/base/inbox.js +11 -0
- package/dist/base/inline-edit.js +1 -1
- package/dist/base/input-aui-029.js +1 -1
- package/dist/base/input-aui-030.js +1 -1
- package/dist/base/input-aui-031.js +1 -1
- package/dist/base/input-aui-032.js +1 -1
- package/dist/base/input-aui-033.js +1 -1
- package/dist/base/input-aui-034.js +1 -1
- package/dist/base/input.js +1 -1
- package/dist/base/invoice.d.ts +2 -0
- package/dist/base/invoice.js +10 -0
- package/dist/base/kanban.js +2 -2
- package/dist/base/menubar.d.ts +2 -0
- package/dist/base/menubar.js +9 -0
- package/dist/base/meter.d.ts +2 -0
- package/dist/base/meter.js +9 -0
- package/dist/base/morse-tap.js +1 -1
- package/dist/base/navbar-aui-009.js +1 -1
- package/dist/base/navbar-aui-011.js +1 -1
- package/dist/base/navbar-aui-012.js +1 -1
- package/dist/base/navbar-aui-013.js +1 -1
- package/dist/base/navbar.js +1 -1
- package/dist/base/notification-center.js +3 -3
- package/dist/base/number-input.js +1 -1
- package/dist/base/order-book.js +1 -1
- package/dist/base/otp-input-aui-041.js +1 -1
- package/dist/base/otp-input-aui-042.js +1 -1
- package/dist/base/otp-input.js +1 -1
- package/dist/base/password-input-aui-039.js +1 -1
- package/dist/base/password-input-aui-040.js +1 -1
- package/dist/base/password-input.js +1 -1
- package/dist/base/payment-received.js +1 -1
- package/dist/base/phone-input.d.ts +2 -0
- package/dist/base/phone-input.js +13 -0
- package/dist/base/popover.js +1 -1
- package/dist/base/price-alert.d.ts +2 -0
- package/dist/base/price-alert.js +7 -0
- package/dist/base/price-chart.js +1 -1
- package/dist/base/properties-panel.js +1 -1
- package/dist/base/radio-group.js +1 -1
- package/dist/base/select-aui-045.js +1 -1
- package/dist/base/select.js +1 -1
- package/dist/base/settings-panel.js +1 -1
- package/dist/base/shipment-tracker.js +1 -1
- package/dist/base/sidebar.js +2 -2
- package/dist/base/sign-in-aui-015.js +1 -1
- package/dist/base/sign-in-aui-016.js +1 -1
- package/dist/base/sign-in-aui-017.js +1 -1
- package/dist/base/sign-in-aui-018.js +1 -1
- package/dist/base/sign-in-aui-019.js +1 -1
- package/dist/base/sign-in-aui-020.js +1 -1
- package/dist/base/sign-in.js +1 -1
- package/dist/base/snap-grid.js +1 -1
- package/dist/base/sortable-list.d.ts +2 -0
- package/dist/base/sortable-list.js +9 -0
- package/dist/base/split-bill.d.ts +2 -0
- package/dist/base/split-bill.js +7 -0
- package/dist/base/stat-card.js +1 -1
- package/dist/base/tag-input-aui-048.js +1 -1
- package/dist/base/tag-input-aui-049.js +1 -1
- package/dist/base/tag-input.js +1 -1
- package/dist/base/team-members.js +3 -3
- package/dist/base/testimonials.d.ts +2 -0
- package/dist/base/testimonials.js +10 -0
- package/dist/base/textarea-aui-001.js +1 -1
- package/dist/base/textarea-aui-002.js +1 -1
- package/dist/base/textarea-aui-003.js +1 -1
- package/dist/base/textarea-aui-004.js +1 -1
- package/dist/base/textarea-aui-005.js +1 -1
- package/dist/base/textarea-aui-006.js +1 -1
- package/dist/base/textarea-aui-007.js +1 -1
- package/dist/base/textarea-aui-008.js +1 -1
- package/dist/base/textarea-aui-035.js +1 -1
- package/dist/base/textarea-aui-036.js +1 -1
- package/dist/base/textarea-aui-037.js +1 -1
- package/dist/base/textarea-aui-038.js +1 -1
- package/dist/base/textarea.js +1 -1
- package/dist/base/token-swap.js +1 -1
- package/dist/base/tooltip.js +1 -1
- package/dist/base/trade-ticket.js +1 -1
- package/dist/base/watchlist.d.ts +2 -0
- package/dist/base/watchlist.js +7 -0
- package/dist/base.js +166 -90
- package/dist/billing.d.ts +2 -0
- package/dist/billing.js +11 -0
- package/dist/bubble-wrap.js +1 -1
- package/dist/candlestick.js +1 -1
- package/dist/card-checkout.js +1 -1
- package/dist/chart-card.d.ts +2 -0
- package/dist/chart-card.js +11 -0
- package/dist/chat-thread.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/checkout.js +3 -3
- package/dist/{chunk-7TK42PS3.js → chunk-25RCKHWV.js} +19 -4
- package/dist/{chunk-4L4EKC46.js → chunk-2EBWWZPS.js} +1 -1
- package/dist/chunk-2F5CE6ZB.js +269 -0
- package/dist/{chunk-SATIWCJQ.js → chunk-2LM3VHNO.js} +3 -2
- package/dist/{chunk-5VQV2I7C.js → chunk-2PPF4GK5.js} +9 -6
- package/dist/{chunk-ZRGPSYW6.js → chunk-2PQIPQGO.js} +10 -6
- package/dist/{chunk-HB7DFNZP.js → chunk-3PQTSFOS.js} +1 -1
- package/dist/{chunk-VPZP6TCT.js → chunk-3UQIYJTI.js} +7 -3
- package/dist/{chunk-FY6BRODJ.js → chunk-3ZFF6VC5.js} +4 -2
- package/dist/{chunk-V3SPSN3A.js → chunk-45KDL3JM.js} +1 -1
- package/dist/{chunk-EVSTTLOT.js → chunk-4SLC3EK6.js} +18 -4
- package/dist/{chunk-VWYHP4SB.js → chunk-4WCMPLE3.js} +13 -4
- package/dist/chunk-5DLY6FGD.js +160 -0
- package/dist/{chunk-SRGDJSW7.js → chunk-5GGS6VP5.js} +1 -0
- package/dist/chunk-5N2G462S.js +338 -0
- package/dist/{chunk-FKHNK5VC.js → chunk-6C52ZQRB.js} +2 -1
- package/dist/{chunk-VVAL2JZJ.js → chunk-6MPEI6V5.js} +2 -2
- package/dist/{chunk-HNO6EUGJ.js → chunk-6RA7LJ3K.js} +7 -1
- package/dist/{chunk-RRHQBGRO.js → chunk-77RFV2MG.js} +7 -2
- package/dist/{chunk-RIWKIBEP.js → chunk-7MBTBYTJ.js} +3 -3
- package/dist/{chunk-XIU7K2YE.js → chunk-ADZI4ROA.js} +1 -1
- package/dist/{chunk-SAJ4D3Z2.js → chunk-AMVX4DDT.js} +7 -3
- package/dist/{chunk-7JNO265Q.js → chunk-B4XRAVHL.js} +33 -17
- package/dist/{chunk-MDI73RL6.js → chunk-B7MVYR7C.js} +7 -4
- package/dist/{chunk-OFPZUTBI.js → chunk-BEV2X4YL.js} +2 -1
- package/dist/chunk-BG2W2KVE.js +200 -0
- package/dist/chunk-BKHH2CJA.js +146 -0
- package/dist/{chunk-XRVVZA2Y.js → chunk-CACW5LH3.js} +1 -1
- package/dist/{chunk-I2WXKWTQ.js → chunk-CBJUY4WE.js} +10 -5
- package/dist/{chunk-746WX2DF.js → chunk-CSTI5CTF.js} +8 -2
- package/dist/{chunk-3KS5EN3Q.js → chunk-D2JJSUXI.js} +1 -1
- package/dist/chunk-D4AYULMF.js +338 -0
- package/dist/{chunk-4XM6DKEO.js → chunk-DD2TBHSJ.js} +2 -1
- package/dist/{chunk-B5OESWCR.js → chunk-DPLH3EGO.js} +1 -1
- package/dist/{chunk-5TSQZY34.js → chunk-DU3CZ3K7.js} +1 -1
- package/dist/{chunk-YON5SU2G.js → chunk-DWA62IYV.js} +5 -2
- package/dist/{chunk-FUNXYRSG.js → chunk-DWZT455C.js} +24 -9
- package/dist/{chunk-WSTQ6WZO.js → chunk-ECGJ6D5D.js} +3 -2
- package/dist/{chunk-3JNUC3FU.js → chunk-EN6XBXW5.js} +1 -1
- package/dist/{chunk-GJ3R6IZL.js → chunk-EOZDJA7Z.js} +1 -1
- package/dist/{chunk-KXWC2UHE.js → chunk-FBIGYEFN.js} +6 -3
- package/dist/{chunk-RS3XHHDE.js → chunk-FDE3S2YK.js} +1 -1
- package/dist/{chunk-DRX3KRNL.js → chunk-FFRJW5O7.js} +3 -2
- package/dist/{chunk-UEOEWP7L.js → chunk-FIPWA5KL.js} +3 -2
- package/dist/chunk-FLCT7THQ.js +75 -0
- package/dist/{chunk-RTAHGY6P.js → chunk-FOJRZASV.js} +7 -1
- package/dist/{chunk-CA7YQ5BJ.js → chunk-FQ4YUKAE.js} +3 -3
- package/dist/{chunk-33N6SZB5.js → chunk-FXXR3FM3.js} +6 -3
- package/dist/{chunk-BGVAXPHD.js → chunk-G7WTEBMX.js} +21 -6
- package/dist/{chunk-HPVPHWDM.js → chunk-IATF2OTU.js} +1 -1
- package/dist/{chunk-CLCP2GFW.js → chunk-IDXERBKL.js} +3 -3
- package/dist/{chunk-NB7X26PY.js → chunk-IF6CWIUB.js} +1 -1
- package/dist/{chunk-WVIV4JBH.js → chunk-ITGWD7ZY.js} +2 -2
- package/dist/{chunk-2LZM435Z.js → chunk-IVCHYE55.js} +7 -1
- package/dist/{chunk-BH2DLHFW.js → chunk-JE2MAZGR.js} +3 -2
- package/dist/{chunk-W57O4RLL.js → chunk-JF4BKHFK.js} +37 -9
- package/dist/{chunk-QDRBMWRX.js → chunk-JLCSRNI2.js} +7 -3
- package/dist/{chunk-7L4YE6HM.js → chunk-JNNMKFEQ.js} +1 -1
- package/dist/{chunk-GDTSCUHY.js → chunk-JRD6FENH.js} +1 -1
- package/dist/{chunk-F5I6EK7F.js → chunk-JSS4QASL.js} +1 -1
- package/dist/{chunk-B5F775GP.js → chunk-JWBGI7FN.js} +1 -1
- package/dist/{chunk-WTNNS7AX.js → chunk-JX7V6EFT.js} +36 -9
- package/dist/{chunk-7SNVRPED.js → chunk-KEMC4RIF.js} +2 -1
- package/dist/chunk-KVARQNGF.js +123 -0
- package/dist/chunk-LDTCIVDX.js +146 -0
- package/dist/{chunk-45VUWOHQ.js → chunk-LKRE4HLZ.js} +4 -2
- package/dist/{chunk-ZN3W5PAI.js → chunk-LOHFV5JF.js} +1 -1
- package/dist/chunk-LS6CFF6X.js +80 -0
- package/dist/{chunk-I5NZSWDW.js → chunk-MAKFUH34.js} +33 -17
- package/dist/{chunk-OQU6KGVR.js → chunk-MDB4RFMV.js} +1 -1
- package/dist/{chunk-FDHU3RWR.js → chunk-MJJU6OLM.js} +1 -1
- package/dist/{chunk-PIC5ZIR3.js → chunk-MPH64VG7.js} +1 -1
- package/dist/{chunk-AYSC7AIC.js → chunk-MVE7RJJ6.js} +1 -1
- package/dist/{chunk-2SQQFICY.js → chunk-N3X4T5OR.js} +25 -8
- package/dist/{chunk-CNY76NHF.js → chunk-NFJDL44V.js} +7 -3
- package/dist/{chunk-FJGGXXTT.js → chunk-NPVUFQGC.js} +1 -1
- package/dist/{chunk-QSLS3ENY.js → chunk-NVLYF4UL.js} +1 -1
- package/dist/chunk-O626XQW2.js +165 -0
- package/dist/chunk-OH5VAD27.js +224 -0
- package/dist/{chunk-TIAKMX7U.js → chunk-OIOZQP2H.js} +1 -1
- package/dist/{chunk-56BEMYK3.js → chunk-OU3EEX4Y.js} +1 -1
- package/dist/{chunk-6AZKJUL4.js → chunk-OUIOJROO.js} +1 -1
- package/dist/{chunk-OLNMOTAD.js → chunk-PAXDHYBX.js} +18 -4
- package/dist/chunk-PIE76JKF.js +224 -0
- package/dist/{chunk-6B6NTRMC.js → chunk-PIXHOFUT.js} +7 -2
- package/dist/{chunk-FATLQKRY.js → chunk-PZ2ZUHC3.js} +3 -3
- package/dist/chunk-Q5A5OTLI.js +192 -0
- package/dist/{chunk-TXRLBMFL.js → chunk-QASSYLQQ.js} +3 -2
- package/dist/{chunk-TCID6NNE.js → chunk-QJXVIEB5.js} +1 -1
- package/dist/{chunk-K5PWBSVO.js → chunk-QWOO4V7N.js} +2 -2
- package/dist/chunk-RGVRHFKY.js +213 -0
- package/dist/{chunk-J6GK2V2C.js → chunk-RQNXELUL.js} +2 -1
- package/dist/{chunk-KQCXQY5K.js → chunk-RXOVKEYG.js} +2 -1
- package/dist/{chunk-NICNFGHT.js → chunk-S2VTHA6G.js} +2 -2
- package/dist/chunk-SCQ6A4ZG.js +247 -0
- package/dist/{chunk-EVCUN45S.js → chunk-SMZVKQKM.js} +3 -2
- package/dist/{chunk-GERWW3CA.js → chunk-SR4NYQWO.js} +2 -2
- package/dist/{chunk-DQWKBQBT.js → chunk-TAAAYFBT.js} +2 -2
- package/dist/{chunk-S2DJLW6B.js → chunk-TBMUSER2.js} +1 -1
- package/dist/chunk-TMOEFAXQ.js +165 -0
- package/dist/chunk-TXC6CCSA.js +75 -0
- package/dist/chunk-UC55XR76.js +193 -0
- package/dist/{chunk-5U4H2CXC.js → chunk-UJYZZSII.js} +11 -4
- package/dist/chunk-UOOGRGEC.js +185 -0
- package/dist/{chunk-ZBF2UYXP.js → chunk-USDST2TI.js} +1 -1
- package/dist/{chunk-W7RITVDV.js → chunk-UX6CWJT7.js} +1 -1
- package/dist/{chunk-U7BYEW3Y.js → chunk-UZF7SCRT.js} +13 -5
- package/dist/{chunk-Q7OHWQP2.js → chunk-V7JUJQNR.js} +1 -0
- package/dist/{chunk-WWQV7LE7.js → chunk-VNUX5LOC.js} +24 -9
- package/dist/{chunk-CTO36MY2.js → chunk-VS3GQ4JR.js} +2 -2
- package/dist/{chunk-UMDVPRJW.js → chunk-VTTXURIB.js} +1 -1
- package/dist/{chunk-6NNHSXFD.js → chunk-W2S6JDBM.js} +1 -1
- package/dist/{chunk-3XMVXIOF.js → chunk-W5M3EHJL.js} +4 -2
- package/dist/chunk-X2VID7XY.js +228 -0
- package/dist/{chunk-H7D6G3GQ.js → chunk-X4JYOCFA.js} +7 -1
- package/dist/{chunk-6VQTFRSP.js → chunk-XKA3LTJZ.js} +37 -9
- package/dist/{chunk-7GKCX4IE.js → chunk-XUZH4Y52.js} +1 -1
- package/dist/{chunk-UAP47MSR.js → chunk-Y4JOW2UW.js} +11 -5
- package/dist/{chunk-T4SOPNM5.js → chunk-YCXZ3TYF.js} +1 -1
- package/dist/{chunk-2KJNBHUV.js → chunk-YF3XSH54.js} +2 -1
- package/dist/{chunk-66OZ7CBK.js → chunk-YJAZHJY3.js} +1 -1
- package/dist/{chunk-4WK3F76T.js → chunk-YLILJ2FH.js} +1 -1
- package/dist/{chunk-FGQPCDXI.js → chunk-YNPG4WOS.js} +1 -1
- package/dist/chunk-YPFZXGPT.js +160 -0
- package/dist/{chunk-KYFZ5TTK.js → chunk-YRPLUNP4.js} +3 -1
- package/dist/{chunk-P3USWDWR.js → chunk-YVGC7QT7.js} +4 -2
- package/dist/{chunk-4ZJEAWNG.js → chunk-Z2DF2YL5.js} +4 -2
- package/dist/{chunk-JAQANAOP.js → chunk-ZUH7XRX7.js} +19 -4
- package/dist/{chunk-UWQ26LYZ.js → chunk-ZYI6J34Q.js} +2 -2
- package/dist/{chunk-BOJCW7Z7.js → chunk-ZZ25XSK2.js} +3 -2
- package/dist/color-picker.js +1 -1
- package/dist/combo-lock.js +1 -1
- package/dist/combobox-aui-046.js +1 -1
- package/dist/combobox-aui-047.js +1 -1
- package/dist/combobox.js +1 -1
- package/dist/command-palette.js +1 -1
- package/dist/comments.js +2 -2
- package/dist/context-menu.js +1 -1
- package/dist/cookie-consent.d.ts +2 -0
- package/dist/cookie-consent.js +13 -0
- package/dist/countdown.d.ts +2 -0
- package/dist/countdown.js +9 -0
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/field.js +1 -1
- package/dist/file-manager.d.ts +2 -0
- package/dist/file-manager.js +19 -0
- package/dist/flash-sale.d.ts +2 -0
- package/dist/flash-sale.js +7 -0
- package/dist/footer-aui-027.js +1 -1
- package/dist/footer-aui-028.js +1 -1
- package/dist/footer.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/inbox.d.ts +2 -0
- package/dist/inbox.js +11 -0
- package/dist/index.js +166 -90
- package/dist/inline-edit.js +1 -1
- package/dist/input-aui-029.js +1 -1
- package/dist/input-aui-030.js +1 -1
- package/dist/input-aui-031.js +1 -1
- package/dist/input-aui-032.js +1 -1
- package/dist/input-aui-033.js +1 -1
- package/dist/input-aui-034.js +1 -1
- package/dist/input.js +1 -1
- package/dist/invoice.d.ts +2 -0
- package/dist/invoice.js +10 -0
- package/dist/kanban.js +2 -2
- package/dist/menubar.d.ts +2 -0
- package/dist/menubar.js +9 -0
- package/dist/meter.d.ts +2 -0
- package/dist/meter.js +9 -0
- package/dist/morse-tap.js +1 -1
- package/dist/navbar-aui-009.js +1 -1
- package/dist/navbar-aui-011.js +1 -1
- package/dist/navbar-aui-012.js +1 -1
- package/dist/navbar-aui-013.js +1 -1
- package/dist/navbar.js +1 -1
- package/dist/notification-center.js +3 -3
- package/dist/number-input.js +1 -1
- package/dist/order-book.js +1 -1
- package/dist/otp-input-aui-041.js +1 -1
- package/dist/otp-input-aui-042.js +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/password-input-aui-039.js +1 -1
- package/dist/password-input-aui-040.js +1 -1
- package/dist/password-input.js +1 -1
- package/dist/payment-received.js +1 -1
- package/dist/phone-input.d.ts +2 -0
- package/dist/phone-input.js +13 -0
- package/dist/popover.js +1 -1
- package/dist/price-alert.d.ts +2 -0
- package/dist/price-alert.js +7 -0
- package/dist/price-chart.js +1 -1
- package/dist/properties-panel.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/select-aui-045.js +1 -1
- package/dist/select.js +1 -1
- package/dist/settings-panel.js +1 -1
- package/dist/shipment-tracker.js +1 -1
- package/dist/sidebar.js +2 -2
- package/dist/sign-in-aui-015.js +1 -1
- package/dist/sign-in-aui-016.js +1 -1
- package/dist/sign-in-aui-017.js +1 -1
- package/dist/sign-in-aui-018.js +1 -1
- package/dist/sign-in-aui-019.js +1 -1
- package/dist/sign-in-aui-020.js +1 -1
- package/dist/sign-in.js +1 -1
- package/dist/snap-grid.js +1 -1
- package/dist/sortable-list.d.ts +2 -0
- package/dist/sortable-list.js +9 -0
- package/dist/split-bill.d.ts +2 -0
- package/dist/split-bill.js +7 -0
- package/dist/stat-card.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/tag-input-aui-048.js +1 -1
- package/dist/tag-input-aui-049.js +1 -1
- package/dist/tag-input.js +1 -1
- package/dist/team-members.js +3 -3
- package/dist/testimonials.d.ts +2 -0
- package/dist/testimonials.js +10 -0
- package/dist/textarea-aui-001.js +1 -1
- package/dist/textarea-aui-002.js +1 -1
- package/dist/textarea-aui-003.js +1 -1
- package/dist/textarea-aui-004.js +1 -1
- package/dist/textarea-aui-005.js +1 -1
- package/dist/textarea-aui-006.js +1 -1
- package/dist/textarea-aui-007.js +1 -1
- package/dist/textarea-aui-008.js +1 -1
- package/dist/textarea-aui-035.js +1 -1
- package/dist/textarea-aui-036.js +1 -1
- package/dist/textarea-aui-037.js +1 -1
- package/dist/textarea-aui-038.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/token-swap.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/trade-ticket.js +1 -1
- package/dist/types/components/kit/base/billing.d.ts +53 -0
- package/dist/types/components/kit/base/cookie-consent.d.ts +37 -0
- package/dist/types/components/kit/base/file-manager.d.ts +41 -0
- package/dist/types/components/kit/base/inbox.d.ts +33 -0
- package/dist/types/components/kit/base/invoice.d.ts +45 -0
- package/dist/types/components/kit/base/testimonials.d.ts +25 -0
- package/dist/types/components/kit/billing.d.ts +53 -0
- package/dist/types/components/kit/chart-card.d.ts +43 -0
- package/dist/types/components/kit/cookie-consent.d.ts +37 -0
- package/dist/types/components/kit/countdown.d.ts +21 -0
- package/dist/types/components/kit/file-manager.d.ts +41 -0
- package/dist/types/components/kit/inbox.d.ts +33 -0
- package/dist/types/components/kit/invoice.d.ts +45 -0
- package/dist/types/components/kit/menubar.d.ts +41 -0
- package/dist/types/components/kit/meter.d.ts +32 -0
- package/dist/types/components/kit/number-input.d.ts +3 -1
- package/dist/types/components/kit/phone-input.d.ts +42 -0
- package/dist/types/components/kit/sortable-list.d.ts +25 -0
- package/dist/types/components/kit/tag-input.d.ts +3 -1
- package/dist/types/components/kit/testimonials.d.ts +25 -0
- package/dist/types/components/lab/blocks/FlashSale.d.ts +2 -0
- package/dist/types/components/lab/blocks/PriceAlert.d.ts +2 -0
- package/dist/types/components/lab/blocks/SplitBill.d.ts +2 -0
- package/dist/types/components/lab/blocks/Watchlist.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/billing.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/chart-card.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/cookie-consent.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/countdown.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/file-manager.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/flash-sale.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/inbox.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/invoice.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/menubar.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/meter.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/phone-input.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/price-alert.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/sortable-list.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/split-bill.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/testimonials.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/watchlist.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base.d.ts +29 -1
- package/dist/types/packages/asta-ui/src/billing.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/chart-card.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/cookie-consent.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/countdown.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/file-manager.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/flash-sale.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/inbox.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/index.d.ts +29 -1
- package/dist/types/packages/asta-ui/src/invoice.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/menubar.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/meter.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/phone-input.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/price-alert.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/sortable-list.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/split-bill.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/testimonials.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/watchlist.d.ts +2 -0
- package/dist/watchlist.d.ts +2 -0
- package/dist/watchlist.js +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
/* Modules: countdown, meter, menubar, phone input, sortable list, cookie consent, chart card, invoice, inbox,
|
|
2
|
+
* file manager, billing and testimonials. Class lists mirror the React kit. Embedded controls use the core classes
|
|
3
|
+
* (asta-btn, asta-avatar, asta-dropdown, asta-tree-view, asta-breadcrumb, asta-file-card, asta-switch). The runtime
|
|
4
|
+
* CSS and asta.js key on the data-asta-* attributes, so keep them in the markup. Modifiers come after the base class. */
|
|
5
|
+
|
|
6
|
+
/* ---- Countdown ----
|
|
7
|
+
* <div class="asta-countdown" role="timer" data-asta-countdown="2026-12-01T00:00:00Z" aria-label="Time left">
|
|
8
|
+
* <span class="asta-countdown-unit"><span class="asta-countdown-value" data-unit="d">03</span><span class="asta-countdown-label">Days</span></span>
|
|
9
|
+
* <span class="asta-countdown-sep" aria-hidden="true">:</span> … </div>
|
|
10
|
+
* asta.js ticks it every second (paused off screen) and sets data-done at zero. Variant asta-countdown-inline; sizes -sm, -lg. */
|
|
11
|
+
.asta-countdown {
|
|
12
|
+
@apply inline-flex items-start gap-2 text-ink;
|
|
13
|
+
}
|
|
14
|
+
.asta-countdown-unit {
|
|
15
|
+
@apply flex flex-col items-center gap-1.5;
|
|
16
|
+
}
|
|
17
|
+
.asta-countdown-value {
|
|
18
|
+
@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;
|
|
19
|
+
}
|
|
20
|
+
.asta-countdown-label {
|
|
21
|
+
@apply font-mono text-[10px] uppercase tracking-wider text-mute;
|
|
22
|
+
}
|
|
23
|
+
.asta-countdown-sep {
|
|
24
|
+
@apply pt-1.5 text-[22px] leading-none text-mute;
|
|
25
|
+
}
|
|
26
|
+
.asta-countdown-sm .asta-countdown-value {
|
|
27
|
+
@apply text-[16px];
|
|
28
|
+
}
|
|
29
|
+
.asta-countdown-lg .asta-countdown-value {
|
|
30
|
+
@apply text-[40px];
|
|
31
|
+
}
|
|
32
|
+
.asta-countdown-inline {
|
|
33
|
+
@apply items-baseline gap-0;
|
|
34
|
+
& .asta-countdown-unit {
|
|
35
|
+
@apply flex-row items-baseline gap-0.5;
|
|
36
|
+
}
|
|
37
|
+
& .asta-countdown-value {
|
|
38
|
+
@apply min-w-0 bg-transparent p-0 text-[18px];
|
|
39
|
+
}
|
|
40
|
+
& .asta-countdown-label {
|
|
41
|
+
@apply font-sans text-[12px] normal-case tracking-normal;
|
|
42
|
+
}
|
|
43
|
+
& .asta-countdown-sep {
|
|
44
|
+
@apply px-1 pt-0 text-[16px];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.asta-countdown[data-done] .asta-countdown-value {
|
|
48
|
+
@apply text-mute;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* ---- Meter ----
|
|
52
|
+
* <div class="asta-meter" role="meter" aria-valuenow="62" aria-valuemax="100" aria-label="Storage">
|
|
53
|
+
* <div class="asta-meter-head"><span class="asta-meter-label">Storage</span><a class="asta-meter-action">Upgrade</a></div>
|
|
54
|
+
* <div class="asta-meter-track"><span class="asta-meter-fill" style="--value:.62"></span></div>
|
|
55
|
+
* <div class="asta-meter-foot"><span><b>62 GB</b> of 100 GB</span><span>62% used</span></div></div>
|
|
56
|
+
* Parts of the bar: <span class="asta-meter-fill asta-meter-fill-2" style="--start:.4;--value:.15">. Add data-warn near the limit. */
|
|
57
|
+
.asta-meter {
|
|
58
|
+
@apply flex w-full flex-col gap-2 text-ink;
|
|
59
|
+
}
|
|
60
|
+
.asta-meter-head {
|
|
61
|
+
@apply flex items-baseline justify-between gap-3;
|
|
62
|
+
}
|
|
63
|
+
.asta-meter-label {
|
|
64
|
+
@apply text-[13.5px] font-medium;
|
|
65
|
+
}
|
|
66
|
+
.asta-meter-action {
|
|
67
|
+
@apply text-[12.5px] font-medium text-brand hover:underline;
|
|
68
|
+
}
|
|
69
|
+
.asta-meter-track {
|
|
70
|
+
@apply relative h-2 overflow-hidden rounded-full bg-[color-mix(in_srgb,var(--ink)_7%,transparent)];
|
|
71
|
+
}
|
|
72
|
+
.asta-meter-sm .asta-meter-track {
|
|
73
|
+
@apply h-1.5;
|
|
74
|
+
}
|
|
75
|
+
.asta-meter-fill {
|
|
76
|
+
@apply absolute inset-0 origin-left bg-brand transition-transform duration-700 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
|
|
77
|
+
transform: translateX(calc(var(--start, 0) * 100%)) scaleX(var(--value, 0));
|
|
78
|
+
}
|
|
79
|
+
.asta-meter-fill-2 {
|
|
80
|
+
@apply bg-ink;
|
|
81
|
+
}
|
|
82
|
+
.asta-meter-fill-3 {
|
|
83
|
+
@apply bg-[color-mix(in_srgb,var(--brand)_40%,var(--paper))];
|
|
84
|
+
}
|
|
85
|
+
.asta-meter-fill-4 {
|
|
86
|
+
@apply bg-[color-mix(in_srgb,var(--ink)_30%,var(--paper))];
|
|
87
|
+
}
|
|
88
|
+
.asta-meter[data-warn] .asta-meter-fill {
|
|
89
|
+
@apply bg-ink;
|
|
90
|
+
}
|
|
91
|
+
.asta-meter-foot {
|
|
92
|
+
@apply flex items-baseline justify-between gap-3 text-[12.5px] text-mute;
|
|
93
|
+
& b {
|
|
94
|
+
@apply font-medium text-ink;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.asta-meter-legend {
|
|
98
|
+
@apply flex flex-wrap gap-x-4 gap-y-1 text-[12px] text-mute;
|
|
99
|
+
}
|
|
100
|
+
.asta-meter-legend-dot {
|
|
101
|
+
@apply mr-1.5 inline-block h-2 w-2 rounded-full bg-brand align-middle;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* ---- Menubar ----
|
|
105
|
+
* <div role="menubar" class="asta-menubar" aria-label="App">
|
|
106
|
+
* <div class="asta-dropdown" data-asta-dropdown><button class="asta-menubar-trigger" data-asta-dropdown-trigger aria-haspopup="menu" aria-expanded="false">File</button>
|
|
107
|
+
* <div role="menu" popover="manual" data-asta-mpanel class="asta-float asta-dropdown-panel">…asta-menu-item…</div></div> … </div>
|
|
108
|
+
* Each menu is an asta-dropdown, so asta.js handles opening, keyboard nav and aria-checked. */
|
|
109
|
+
.asta-menubar {
|
|
110
|
+
@apply inline-flex items-center gap-0.5 rounded-[10px] bg-paper p-1 text-ink;
|
|
111
|
+
@apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
|
|
112
|
+
}
|
|
113
|
+
.asta-menubar-trigger {
|
|
114
|
+
@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;
|
|
115
|
+
@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;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* ---- Phone input ----
|
|
119
|
+
* <div class="asta-phone" data-asta-phone><label class="asta-label" for="ph">Phone</label>
|
|
120
|
+
* <div class="asta-phone-control"><select class="asta-phone-country" aria-label="Country"><option value="+1" data-mask="(###) ###-####">US +1</option>…</select>
|
|
121
|
+
* <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>
|
|
122
|
+
* <input type="hidden" name="phone_e164"></div>
|
|
123
|
+
* asta.js formats digits with the selected mask, fills phone_e164 and sets data-valid when the number is complete. */
|
|
124
|
+
.asta-phone {
|
|
125
|
+
@apply flex w-full flex-col gap-1.5;
|
|
126
|
+
}
|
|
127
|
+
.asta-phone-control {
|
|
128
|
+
@apply flex h-10 items-center rounded-[9px] bg-paper text-ink transition-shadow duration-150;
|
|
129
|
+
@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)];
|
|
130
|
+
}
|
|
131
|
+
.asta-phone-country {
|
|
132
|
+
@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;
|
|
133
|
+
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");
|
|
134
|
+
}
|
|
135
|
+
.asta-phone-input {
|
|
136
|
+
@apply h-full min-w-0 flex-1 bg-transparent px-3 text-[16px] sm:text-[14px] tabular-nums outline-none placeholder:text-mute;
|
|
137
|
+
}
|
|
138
|
+
.asta-phone-check {
|
|
139
|
+
@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)];
|
|
140
|
+
& svg {
|
|
141
|
+
@apply h-3 w-3;
|
|
142
|
+
}
|
|
143
|
+
.asta-phone[data-valid] & {
|
|
144
|
+
@apply scale-100 opacity-100;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* ---- Sortable list ----
|
|
149
|
+
* <ol class="asta-sortable" data-asta-sortable aria-label="Priorities">
|
|
150
|
+
* <li class="asta-sortable-item" data-id="a"><button type="button" class="asta-sortable-handle" aria-label="Reorder Checkout redesign">⋮⋮</button>
|
|
151
|
+
* <span class="asta-sortable-text">Checkout redesign</span><input type="hidden" name="order[]" value="a"></li> … </ol>
|
|
152
|
+
* asta.js: drag the handle, or focus it and press Space, the arrows, then Space again (Esc cancels). Fires "asta:reorder". */
|
|
153
|
+
.asta-sortable {
|
|
154
|
+
@apply flex w-full flex-col gap-1.5;
|
|
155
|
+
}
|
|
156
|
+
.asta-sortable-item {
|
|
157
|
+
@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)];
|
|
158
|
+
@apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
|
|
159
|
+
&[data-dragging] {
|
|
160
|
+
@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)];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
.asta-sortable-handle {
|
|
164
|
+
@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;
|
|
165
|
+
}
|
|
166
|
+
.asta-sortable-text {
|
|
167
|
+
@apply min-w-0 flex-1 truncate font-medium;
|
|
168
|
+
}
|
|
169
|
+
.asta-sortable-meta {
|
|
170
|
+
@apply shrink-0 text-[12px] text-mute;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* ---- Cookie consent ----
|
|
174
|
+
* <div class="asta-consent" data-asta-consent="consent" role="dialog" aria-label="Cookies">
|
|
175
|
+
* <div class="asta-consent-summary"><p class="asta-consent-title">…</p><p class="asta-consent-text">…</p>
|
|
176
|
+
* <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>
|
|
177
|
+
* <form class="asta-consent-custom">…asta-consent-row with asta-switch…<button data-asta-consent-save>Save</button></form></div>
|
|
178
|
+
* asta.js stores the choice in localStorage under the data-asta-consent key, hides the banner and fires "asta:consent".
|
|
179
|
+
* Add asta-consent-contained to place it inside a positioned parent instead of the viewport. */
|
|
180
|
+
.asta-consent {
|
|
181
|
+
@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;
|
|
182
|
+
@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)];
|
|
183
|
+
@apply transition-[opacity,transform] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
|
|
184
|
+
&[data-state="closed"] {
|
|
185
|
+
@apply pointer-events-none translate-y-3 opacity-0;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.asta-consent-contained {
|
|
189
|
+
@apply absolute inset-x-3 bottom-3;
|
|
190
|
+
}
|
|
191
|
+
.asta-consent-title {
|
|
192
|
+
@apply text-[14.5px] font-medium tracking-[-0.01em];
|
|
193
|
+
}
|
|
194
|
+
.asta-consent-text {
|
|
195
|
+
@apply mt-1.5 text-[13px] leading-relaxed text-ink-2;
|
|
196
|
+
& a {
|
|
197
|
+
@apply text-ink underline underline-offset-2;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.asta-consent-actions {
|
|
201
|
+
@apply mt-4 flex flex-wrap gap-2 [&>*:last-child]:ml-auto;
|
|
202
|
+
}
|
|
203
|
+
.asta-consent-custom {
|
|
204
|
+
@apply hidden flex-col gap-1;
|
|
205
|
+
.asta-consent[data-view="custom"] & {
|
|
206
|
+
@apply flex;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
.asta-consent[data-view="custom"] .asta-consent-summary {
|
|
210
|
+
@apply hidden;
|
|
211
|
+
}
|
|
212
|
+
.asta-consent-row {
|
|
213
|
+
@apply flex items-start justify-between gap-4 rounded-lg px-1 py-2.5;
|
|
214
|
+
}
|
|
215
|
+
.asta-consent-row-text {
|
|
216
|
+
@apply min-w-0 text-[13px];
|
|
217
|
+
& span {
|
|
218
|
+
@apply block text-[12px] text-mute;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* ---- Chart card ----
|
|
223
|
+
* <div class="asta-chart-card"><div class="asta-chart-card-head"><div><p class="asta-chart-card-title">Revenue</p>
|
|
224
|
+
* <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>
|
|
225
|
+
* <div class="asta-chart" style="--h:200px"><svg class="asta-chart-svg" viewBox="0 0 600 200" preserveAspectRatio="none">
|
|
226
|
+
* <path class="asta-chart-area" d="…"/><path class="asta-chart-line" d="…"/></svg></div>
|
|
227
|
+
* <div class="asta-chart-axis"><span>Mon</span>…</div></div>
|
|
228
|
+
* Down: data-down on the delta, ▼ and "Down". The arrow carries the direction, so it never rests on colour alone.
|
|
229
|
+
* Draw the paths on the server. Bars: <div class="asta-chart-bars"><span class="asta-chart-bar" style="--v:.7"></span>…</div>. */
|
|
230
|
+
.asta-chart-card {
|
|
231
|
+
@apply flex w-full flex-col gap-4 rounded-[14px] bg-paper p-5 text-ink;
|
|
232
|
+
@apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
|
|
233
|
+
}
|
|
234
|
+
.asta-chart-card-head {
|
|
235
|
+
@apply flex flex-wrap items-start justify-between gap-3;
|
|
236
|
+
}
|
|
237
|
+
.asta-chart-card-title {
|
|
238
|
+
@apply text-[13px] text-ink-2;
|
|
239
|
+
}
|
|
240
|
+
.asta-chart-card-value {
|
|
241
|
+
@apply mt-1 flex items-baseline gap-2 text-[26px] font-medium leading-none tracking-[-0.035em] tabular-nums;
|
|
242
|
+
}
|
|
243
|
+
.asta-chart-card-delta {
|
|
244
|
+
@apply text-[12.5px] font-medium tracking-normal text-brand;
|
|
245
|
+
&[data-down] {
|
|
246
|
+
@apply text-mute;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
.asta-chart {
|
|
250
|
+
@apply relative w-full;
|
|
251
|
+
height: var(--h, 200px);
|
|
252
|
+
background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 0 1px, transparent 1px 25%);
|
|
253
|
+
}
|
|
254
|
+
.asta-chart-svg {
|
|
255
|
+
@apply absolute inset-0 h-full w-full overflow-visible;
|
|
256
|
+
}
|
|
257
|
+
.asta-chart-line {
|
|
258
|
+
@apply fill-none stroke-brand [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2] [vector-effect:non-scaling-stroke];
|
|
259
|
+
}
|
|
260
|
+
.asta-chart-line-muted {
|
|
261
|
+
@apply stroke-mute [stroke-dasharray:4_4];
|
|
262
|
+
}
|
|
263
|
+
.asta-chart-area {
|
|
264
|
+
@apply fill-[color-mix(in_srgb,var(--brand)_12%,transparent)] stroke-none;
|
|
265
|
+
}
|
|
266
|
+
.asta-chart-bars {
|
|
267
|
+
@apply absolute inset-0 flex items-end justify-around gap-[3%] px-[2%];
|
|
268
|
+
}
|
|
269
|
+
.asta-chart-bar {
|
|
270
|
+
@apply relative h-full max-w-[28px] flex-1 overflow-hidden rounded-t-[5px];
|
|
271
|
+
&::after {
|
|
272
|
+
@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)];
|
|
273
|
+
transform: scaleY(var(--v, 0));
|
|
274
|
+
}
|
|
275
|
+
&[aria-current]::after {
|
|
276
|
+
@apply bg-brand;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
.asta-chart-axis {
|
|
280
|
+
@apply flex justify-between text-[11px] text-mute;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* ---- Invoice ----
|
|
284
|
+
* <article class="asta-invoice" aria-label="Invoice INV-0142"><header class="asta-invoice-head">…brand…
|
|
285
|
+
* <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>
|
|
286
|
+
* <div class="asta-invoice-parties">…<p class="asta-invoice-label">Billed to</p>…</div>
|
|
287
|
+
* <table class="asta-invoice-items">…</table><dl class="asta-invoice-totals">…</dl><footer class="asta-invoice-foot">…</footer></article>
|
|
288
|
+
* Status variants: asta-invoice-status-paid, -overdue, -draft. Narrow containers fold quantity and price away. */
|
|
289
|
+
.asta-invoice {
|
|
290
|
+
@apply @container flex w-full flex-col gap-7 rounded-[14px] bg-paper p-5 text-ink @min-[560px]:p-8;
|
|
291
|
+
@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)];
|
|
292
|
+
}
|
|
293
|
+
.asta-invoice-head {
|
|
294
|
+
@apply flex flex-wrap items-start justify-between gap-4;
|
|
295
|
+
& > :last-child {
|
|
296
|
+
@apply text-right;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
.asta-invoice-title {
|
|
300
|
+
@apply flex items-center justify-end gap-2 text-[20px] font-medium tracking-[-0.03em];
|
|
301
|
+
}
|
|
302
|
+
.asta-invoice-status {
|
|
303
|
+
@apply inline-flex h-6 items-center gap-1 rounded-md bg-paper-2 px-2 text-[11.5px] font-medium tracking-normal;
|
|
304
|
+
}
|
|
305
|
+
.asta-invoice-status-paid {
|
|
306
|
+
@apply bg-[color-mix(in_srgb,var(--brand)_12%,transparent)] text-brand;
|
|
307
|
+
}
|
|
308
|
+
.asta-invoice-status-overdue {
|
|
309
|
+
@apply bg-ink text-paper;
|
|
310
|
+
}
|
|
311
|
+
.asta-invoice-status-draft {
|
|
312
|
+
@apply bg-transparent text-mute shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_16%,transparent)];
|
|
313
|
+
}
|
|
314
|
+
.asta-invoice-number {
|
|
315
|
+
@apply mt-1.5 font-mono text-[12px] text-mute;
|
|
316
|
+
}
|
|
317
|
+
.asta-invoice-parties {
|
|
318
|
+
@apply grid gap-5 text-[13px] text-mute @min-[560px]:grid-cols-[1fr_1fr_auto] @min-[560px]:gap-8;
|
|
319
|
+
& b {
|
|
320
|
+
@apply mt-1.5 block font-medium text-ink;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
.asta-invoice-label {
|
|
324
|
+
@apply font-mono text-[10.5px] uppercase tracking-wider text-mute;
|
|
325
|
+
}
|
|
326
|
+
.asta-invoice-items {
|
|
327
|
+
@apply w-full border-separate border-spacing-0 text-[13.5px];
|
|
328
|
+
& th {
|
|
329
|
+
@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;
|
|
330
|
+
}
|
|
331
|
+
& td {
|
|
332
|
+
@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;
|
|
333
|
+
}
|
|
334
|
+
& tbody tr:nth-child(odd) td {
|
|
335
|
+
@apply bg-paper-2;
|
|
336
|
+
}
|
|
337
|
+
& td small {
|
|
338
|
+
@apply block text-[12px] text-mute;
|
|
339
|
+
}
|
|
340
|
+
& .asta-invoice-num {
|
|
341
|
+
@apply hidden @min-[560px]:table-cell;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
.asta-invoice-totals {
|
|
345
|
+
@apply ml-auto grid w-full max-w-[300px] grid-cols-[1fr_auto] gap-x-4 gap-y-1.5 text-[13px];
|
|
346
|
+
& dt {
|
|
347
|
+
@apply text-mute;
|
|
348
|
+
}
|
|
349
|
+
& dd {
|
|
350
|
+
@apply text-right tabular-nums;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
.asta-invoice-total {
|
|
354
|
+
@apply pt-1.5 font-medium text-ink;
|
|
355
|
+
& + dd {
|
|
356
|
+
@apply pt-1.5 text-[22px] font-medium tracking-[-0.03em];
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
.asta-invoice-foot {
|
|
360
|
+
@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;
|
|
361
|
+
& > p {
|
|
362
|
+
@apply max-w-[360px];
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* ---- Inbox ----
|
|
367
|
+
* <div class="asta-inbox" data-asta-inbox data-view="list"><section class="asta-inbox-list"><input class="asta-inbox-search" …>
|
|
368
|
+
* <ul><li><button class="asta-inbox-row" data-unread aria-current="true"><span class="asta-avatar asta-avatar-sm">…</span>
|
|
369
|
+
* <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>
|
|
370
|
+
* <section class="asta-inbox-pane" id="inbox-pane">…asta-inbox-subject, asta-inbox-meta, asta-inbox-body, asta-inbox-reply…</section></div>
|
|
371
|
+
* Load the message with htmx (hx-get, hx-target="#inbox-pane"). asta.js moves aria-current, clears data-unread, and on narrow
|
|
372
|
+
* containers flips data-view to "message"; [data-asta-inbox-back] goes back. */
|
|
373
|
+
.asta-inbox {
|
|
374
|
+
@apply @container relative w-full overflow-hidden rounded-[14px] bg-paper text-ink;
|
|
375
|
+
@apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
|
|
376
|
+
height: var(--h, 560px);
|
|
377
|
+
}
|
|
378
|
+
.asta-inbox-inner {
|
|
379
|
+
@apply grid h-full @min-[640px]:grid-cols-[minmax(260px,340px)_1fr];
|
|
380
|
+
}
|
|
381
|
+
.asta-inbox-list {
|
|
382
|
+
@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)];
|
|
383
|
+
.asta-inbox[data-view="message"] & {
|
|
384
|
+
@apply @max-[639px]:hidden;
|
|
385
|
+
}
|
|
386
|
+
& ul {
|
|
387
|
+
@apply -mx-1 min-h-0 flex-1 overflow-y-auto overscroll-contain;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
.asta-inbox-search {
|
|
391
|
+
@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;
|
|
392
|
+
}
|
|
393
|
+
.asta-inbox-row {
|
|
394
|
+
@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;
|
|
395
|
+
@apply aria-[current=true]:bg-paper-2;
|
|
396
|
+
&[data-unread]::before {
|
|
397
|
+
@apply absolute left-1 top-3 h-2 w-2 rounded-full bg-brand content-[''];
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
.asta-inbox-row-text {
|
|
401
|
+
@apply min-w-0 flex-1 text-[12.5px];
|
|
402
|
+
& > span:not(.asta-inbox-row-from) {
|
|
403
|
+
@apply block truncate;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
.asta-inbox-row-from {
|
|
407
|
+
@apply flex justify-between gap-2 text-[13px] font-medium text-ink-2;
|
|
408
|
+
& time {
|
|
409
|
+
@apply shrink-0 text-[11px] font-normal tabular-nums text-mute;
|
|
410
|
+
}
|
|
411
|
+
.asta-inbox-row[data-unread] & {
|
|
412
|
+
@apply font-semibold text-ink;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
.asta-inbox-row-subject {
|
|
416
|
+
@apply text-ink-2;
|
|
417
|
+
}
|
|
418
|
+
.asta-inbox-row-preview {
|
|
419
|
+
@apply text-[12px] text-mute;
|
|
420
|
+
}
|
|
421
|
+
.asta-inbox-pane {
|
|
422
|
+
@apply flex min-h-0 min-w-0 flex-col overflow-y-auto px-5 py-4 @min-[640px]:px-7;
|
|
423
|
+
.asta-inbox[data-view="list"] & {
|
|
424
|
+
@apply @max-[639px]:hidden;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
.asta-inbox-back {
|
|
428
|
+
@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;
|
|
429
|
+
}
|
|
430
|
+
.asta-inbox-subject {
|
|
431
|
+
@apply text-[18px] font-medium leading-snug tracking-[-0.02em];
|
|
432
|
+
}
|
|
433
|
+
.asta-inbox-meta {
|
|
434
|
+
@apply mt-4 flex items-center gap-3 text-[12px] text-mute;
|
|
435
|
+
& b {
|
|
436
|
+
@apply block text-[13.5px] font-medium text-ink;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
.asta-inbox-body {
|
|
440
|
+
@apply mt-5 flex max-w-[60ch] flex-col gap-3 text-[13.5px] leading-relaxed text-ink-2;
|
|
441
|
+
}
|
|
442
|
+
.asta-inbox-reply {
|
|
443
|
+
@apply mt-auto flex flex-col gap-2 rounded-xl bg-paper-2 p-2.5 pt-3;
|
|
444
|
+
& textarea {
|
|
445
|
+
@apply w-full resize-none bg-transparent px-1.5 text-[16px] sm:text-[13px] leading-relaxed text-ink outline-none placeholder:text-mute;
|
|
446
|
+
}
|
|
447
|
+
& > div {
|
|
448
|
+
@apply flex items-center justify-between gap-2 px-1.5 text-[11.5px] text-mute;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/* ---- File manager ----
|
|
453
|
+
* <div class="asta-files"><aside class="asta-files-side">…asta-tree-view…<div class="asta-files-storage">…asta-meter…</div></aside>
|
|
454
|
+
* <section class="asta-files-main"><div class="asta-files-toolbar">…asta-breadcrumb… <input class="asta-files-search"> …asta-segmented…</div>
|
|
455
|
+
* <ul class="asta-files-grid"><li>…asta-file-card…</li></ul></section></div>
|
|
456
|
+
* Use asta-files-list instead of asta-files-grid for rows (asta-file-row). Under 640px of container width the sidebar folds away. */
|
|
457
|
+
.asta-files {
|
|
458
|
+
@apply @container w-full overflow-hidden rounded-[14px] bg-paper text-ink;
|
|
459
|
+
@apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
|
|
460
|
+
}
|
|
461
|
+
.asta-files-inner {
|
|
462
|
+
@apply grid min-h-[480px] @min-[640px]:grid-cols-[220px_1fr];
|
|
463
|
+
}
|
|
464
|
+
.asta-files-side {
|
|
465
|
+
@apply hidden flex-col gap-4 bg-paper-2/60 p-3 @min-[640px]:flex;
|
|
466
|
+
}
|
|
467
|
+
.asta-files-storage {
|
|
468
|
+
@apply mt-auto rounded-[10px] bg-paper p-3 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)];
|
|
469
|
+
}
|
|
470
|
+
.asta-files-main {
|
|
471
|
+
@apply flex min-w-0 flex-col gap-3 p-3 @min-[640px]:p-4;
|
|
472
|
+
}
|
|
473
|
+
.asta-files-toolbar {
|
|
474
|
+
@apply flex flex-wrap items-center gap-2;
|
|
475
|
+
& > :first-child {
|
|
476
|
+
@apply min-w-0 flex-[1_1_100%] @min-[520px]:flex-1;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
.asta-files-search {
|
|
480
|
+
@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;
|
|
481
|
+
}
|
|
482
|
+
.asta-files-grid {
|
|
483
|
+
@apply grid grid-cols-2 gap-3 @min-[520px]:grid-cols-3 @min-[860px]:grid-cols-4;
|
|
484
|
+
}
|
|
485
|
+
.asta-files-list {
|
|
486
|
+
@apply flex flex-col gap-0.5;
|
|
487
|
+
}
|
|
488
|
+
.asta-files-bar {
|
|
489
|
+
@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)];
|
|
490
|
+
& > :first-child {
|
|
491
|
+
@apply mr-auto truncate tabular-nums;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* ---- Billing ----
|
|
496
|
+
* <div class="asta-billing"><section class="asta-billing-group"><div><h3 class="asta-billing-title">Plan</h3><p class="asta-billing-hint">…</p></div>
|
|
497
|
+
* <div class="asta-billing-plans"><label class="asta-billing-plan"><input type="radio" name="plan" value="team" checked>
|
|
498
|
+
* <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>
|
|
499
|
+
* <section class="asta-billing-group">…asta-billing-row / asta-billing-invoices…</section></div>
|
|
500
|
+
* Plan cards are real radios: post the form, or hx-post on change for a proration preview. */
|
|
501
|
+
.asta-billing {
|
|
502
|
+
@apply @container flex w-full flex-col text-ink;
|
|
503
|
+
}
|
|
504
|
+
.asta-billing-group {
|
|
505
|
+
@apply grid gap-3 py-6 first:pt-0 @min-[720px]:grid-cols-[220px_1fr] @min-[720px]:gap-10;
|
|
506
|
+
}
|
|
507
|
+
.asta-billing-title {
|
|
508
|
+
@apply text-[14px] font-medium tracking-[-0.01em];
|
|
509
|
+
}
|
|
510
|
+
.asta-billing-hint {
|
|
511
|
+
@apply mt-1 text-[12.5px] leading-relaxed text-mute;
|
|
512
|
+
}
|
|
513
|
+
.asta-billing-plans {
|
|
514
|
+
@apply grid gap-2 @min-[560px]:grid-cols-3;
|
|
515
|
+
}
|
|
516
|
+
.asta-billing-plan {
|
|
517
|
+
@apply relative flex cursor-pointer flex-col gap-1 rounded-[12px] bg-paper-2 p-4 transition-[box-shadow,background-color] duration-200;
|
|
518
|
+
@apply hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent)];
|
|
519
|
+
@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;
|
|
520
|
+
& input {
|
|
521
|
+
@apply sr-only;
|
|
522
|
+
}
|
|
523
|
+
& ul {
|
|
524
|
+
@apply mt-2 flex flex-col gap-1 text-[12px] text-ink-2;
|
|
525
|
+
}
|
|
526
|
+
& li::before {
|
|
527
|
+
@apply mr-1.5 text-brand content-['✓'];
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
.asta-billing-plan-name {
|
|
531
|
+
@apply flex items-center justify-between gap-2 text-[13.5px] font-medium;
|
|
532
|
+
}
|
|
533
|
+
.asta-billing-plan-current {
|
|
534
|
+
@apply rounded-md bg-ink px-1.5 py-0.5 text-[10.5px] font-medium text-paper;
|
|
535
|
+
}
|
|
536
|
+
.asta-billing-plan-price {
|
|
537
|
+
@apply text-[22px] font-medium tracking-[-0.03em] tabular-nums;
|
|
538
|
+
& small {
|
|
539
|
+
@apply text-[12.5px] font-normal tracking-normal text-mute;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
.asta-billing-usage {
|
|
543
|
+
@apply grid gap-3 @min-[560px]:grid-cols-2;
|
|
544
|
+
& > * {
|
|
545
|
+
@apply rounded-[12px] bg-paper-2 p-4;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
.asta-billing-row {
|
|
549
|
+
@apply flex items-center gap-3 rounded-[10px] bg-paper-2 px-4 py-3 text-[12px] text-mute;
|
|
550
|
+
& b {
|
|
551
|
+
@apply block text-[13.5px] font-medium text-ink;
|
|
552
|
+
}
|
|
553
|
+
& > :nth-child(2) {
|
|
554
|
+
@apply min-w-0 flex-1;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
.asta-billing-invoices {
|
|
558
|
+
@apply flex flex-col gap-1;
|
|
559
|
+
& li {
|
|
560
|
+
@apply flex items-center gap-3 rounded-[10px] px-4 py-2.5 text-[13px] odd:bg-paper-2;
|
|
561
|
+
}
|
|
562
|
+
& li > :first-child {
|
|
563
|
+
@apply w-[92px] shrink-0 tabular-nums text-ink-2;
|
|
564
|
+
}
|
|
565
|
+
& code {
|
|
566
|
+
@apply hidden min-w-0 flex-1 truncate font-mono text-[12px] text-mute @min-[480px]:block;
|
|
567
|
+
}
|
|
568
|
+
& b {
|
|
569
|
+
@apply ml-auto font-medium tabular-nums @min-[480px]:ml-0;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/* ---- Testimonials ----
|
|
574
|
+
* <section class="asta-testimonials" aria-label="What customers say"><div class="asta-testimonials-row"><ul class="asta-testimonials-track" style="--speed:60s">
|
|
575
|
+
* <li><figure class="asta-testimonial"><blockquote>…</blockquote><figcaption>…asta-avatar… <span><b>Name</b>Role</span></figcaption></figure></li>…
|
|
576
|
+
* (the same items again with aria-hidden="true")</ul></div>…a second row with asta-testimonials-track-reverse…</section>
|
|
577
|
+
* Pure CSS: rows pause on hover and focus, and anyone who prefers reduced motion gets a wrapped, still grid.
|
|
578
|
+
* asta-testimonials-grid shows the cards as a grid from the start (one copy, no rows). */
|
|
579
|
+
.asta-testimonials {
|
|
580
|
+
@apply @container flex w-full flex-col gap-3;
|
|
581
|
+
}
|
|
582
|
+
.asta-testimonials-row {
|
|
583
|
+
@apply overflow-hidden [mask-image:linear-gradient(90deg,transparent,#000_8%,#000_92%,transparent)];
|
|
584
|
+
}
|
|
585
|
+
.asta-testimonials-track {
|
|
586
|
+
@apply flex w-max;
|
|
587
|
+
animation: asta-tm-left var(--speed, 60s) linear infinite;
|
|
588
|
+
.asta-testimonials-row:hover &,
|
|
589
|
+
.asta-testimonials-row:focus-within & {
|
|
590
|
+
animation-play-state: paused;
|
|
591
|
+
}
|
|
592
|
+
& > li {
|
|
593
|
+
@apply w-[300px] shrink-0 pr-3 sm:w-[340px];
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
.asta-testimonials-track-reverse {
|
|
597
|
+
animation-name: asta-tm-right;
|
|
598
|
+
}
|
|
599
|
+
.asta-testimonial {
|
|
600
|
+
@apply flex h-full flex-col justify-between gap-5 rounded-[12px] bg-paper-2 p-5 text-ink;
|
|
601
|
+
& blockquote {
|
|
602
|
+
@apply text-[14px] leading-relaxed;
|
|
603
|
+
}
|
|
604
|
+
& figcaption {
|
|
605
|
+
@apply flex items-center gap-3 text-[12px] text-mute;
|
|
606
|
+
}
|
|
607
|
+
& figcaption b {
|
|
608
|
+
@apply block text-[13px] font-medium text-ink;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
.asta-testimonial-stars {
|
|
612
|
+
@apply mb-3 flex gap-0.5 text-[13px] leading-none tracking-[2px] text-brand;
|
|
613
|
+
}
|
|
614
|
+
.asta-testimonials-grid {
|
|
615
|
+
@apply grid gap-3 @min-[560px]:grid-cols-2 @min-[860px]:grid-cols-3;
|
|
616
|
+
}
|
package/css/src/overlays.css
CHANGED
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
.asta-cmd-input {
|
|
207
|
-
@apply h-12 min-w-0 flex-1 bg-transparent text-[
|
|
207
|
+
@apply h-12 min-w-0 flex-1 bg-transparent text-[16px] text-ink outline-none placeholder:text-mute sm:text-[15px];
|
|
208
208
|
}
|
|
209
209
|
.asta-cmd-esc {
|
|
210
210
|
@apply rounded-md bg-paper-2 px-1.5 font-sans text-[11px] leading-5 text-mute;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
/* Phone sheet: <details class="asta-navbar-sec"><summary>Product <svg/></summary><div class="asta-nav-sec
|
|
493
493
|
* asta-navbar-sec-links"><a class="asta-navbar-sheet-link">…</a></div></details> */
|
|
494
494
|
.asta-navbar-sheet {
|
|
495
|
-
@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;
|
|
495
|
+
@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;
|
|
496
496
|
& > ul {
|
|
497
497
|
@apply flex flex-col;
|
|
498
498
|
}
|
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
860
|
.asta-newsletter-input {
|
|
861
|
-
@apply min-w-0 flex-1 bg-transparent text-[14px] text-paper outline-none placeholder:text-paper/40;
|
|
861
|
+
@apply min-w-0 flex-1 bg-transparent text-[16px] sm:text-[14px] text-paper outline-none placeholder:text-paper/40;
|
|
862
862
|
}
|
|
863
863
|
.asta-newsletter-done {
|
|
864
864
|
@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)];
|
package/css/tokens.css
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--paper-2: #f2f2f0;
|
|
28
28
|
--ink: #0a0a0a;
|
|
29
29
|
--ink-2: #3b3b3a;
|
|
30
|
-
--mute: #
|
|
30
|
+
--mute: #6b6b68;
|
|
31
31
|
--signal: #0a0a0a;
|
|
32
32
|
--brand: #2f54eb;
|
|
33
33
|
--on-signal: #ffffff;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
--paper-2: #151516;
|
|
41
41
|
--ink: #f2f2f0;
|
|
42
42
|
--ink-2: #cfcfcc;
|
|
43
|
-
--mute: #
|
|
43
|
+
--mute: #828285;
|
|
44
44
|
--signal: #f2f2f0;
|
|
45
45
|
--brand: #8aa4ff;
|
|
46
46
|
--on-signal: #0b0b0c;
|
|
@@ -128,6 +128,10 @@
|
|
|
128
128
|
@keyframes asta-upload-row { from { opacity: 0; transform: translateY(8px) } }
|
|
129
129
|
@keyframes asta-upload-msg { from { opacity: 0; transform: translateY(-3px) } }
|
|
130
130
|
@keyframes asta-inline-tick { 0% { opacity: 0; transform: scale(0.6) } 18% { opacity: 1; transform: scale(1) } 80% { opacity: 1; transform: scale(1) } 100% { opacity: 0; transform: scale(1) } }
|
|
131
|
+
@keyframes asta-tm-left { to { transform: translateX(-50%) } }
|
|
132
|
+
@keyframes asta-tm-right { from { transform: translateX(-50%) } to { transform: none } }
|
|
133
|
+
@keyframes asta-mod-roll { from { opacity: 0; transform: translateY(45%) } }
|
|
134
|
+
@keyframes asta-mod-in { from { opacity: 0; transform: translateY(6px) } }
|
|
131
135
|
@keyframes asta-nav-slide {
|
|
132
136
|
from { opacity: 0; transform: translateX(calc(var(--asta-dir, 1) * 24px)); }
|
|
133
137
|
}
|