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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AMVX4DDT.js";
|
|
5
5
|
import {
|
|
6
6
|
Avatar
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6RA7LJ3K.js";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-ZWBJUJTR.js";
|
|
@@ -57,7 +57,9 @@ function EmailChips({
|
|
|
57
57
|
onChange,
|
|
58
58
|
taken,
|
|
59
59
|
disabled,
|
|
60
|
-
label
|
|
60
|
+
label,
|
|
61
|
+
describedBy,
|
|
62
|
+
invalid
|
|
61
63
|
}) {
|
|
62
64
|
const [text, setText] = useState("");
|
|
63
65
|
const [armed, setArmed] = useState(false);
|
|
@@ -145,8 +147,14 @@ function EmailChips({
|
|
|
145
147
|
{
|
|
146
148
|
ref: input,
|
|
147
149
|
id,
|
|
150
|
+
name: "emails",
|
|
148
151
|
type: "email",
|
|
149
152
|
multiple: true,
|
|
153
|
+
autoComplete: "off",
|
|
154
|
+
autoCapitalize: "none",
|
|
155
|
+
spellCheck: false,
|
|
156
|
+
"aria-describedby": describedBy,
|
|
157
|
+
"aria-invalid": invalid || void 0,
|
|
150
158
|
value: text,
|
|
151
159
|
disabled,
|
|
152
160
|
placeholder: chips.length ? "" : "name@company.com, another@company.com",
|
|
@@ -166,7 +174,7 @@ function EmailChips({
|
|
|
166
174
|
setArmed(false);
|
|
167
175
|
if (text.trim()) add(text);
|
|
168
176
|
},
|
|
169
|
-
className: "h-7 min-w-[140px] flex-1 bg-transparent px-1 text-[13.5px] text-ink outline-none placeholder:text-mute"
|
|
177
|
+
className: "h-7 min-w-[140px] flex-1 bg-transparent px-1 text-[16px] sm:text-[13.5px] text-ink outline-none placeholder:text-mute"
|
|
170
178
|
}
|
|
171
179
|
)
|
|
172
180
|
]
|
|
@@ -194,6 +202,7 @@ function TeamMembers({
|
|
|
194
202
|
const [inviteRole, setInviteRole] = useState(defaultInviteRole ?? roles[roles.length - 1]?.value ?? "");
|
|
195
203
|
const [sending, setSending] = useState(false);
|
|
196
204
|
const [inviteMsg, setInviteMsg] = useState("");
|
|
205
|
+
const inviteMsgId = useId();
|
|
197
206
|
const [removing, setRemoving] = useState([]);
|
|
198
207
|
const [resent, setResent] = useState([]);
|
|
199
208
|
const [status, setStatus] = useState("");
|
|
@@ -272,7 +281,12 @@ function TeamMembers({
|
|
|
272
281
|
const good = chips.filter((c) => !c.problem);
|
|
273
282
|
const bad = chips.length - good.length;
|
|
274
283
|
const send = async () => {
|
|
275
|
-
if (
|
|
284
|
+
if (sending) return;
|
|
285
|
+
if (!good.length || bad) {
|
|
286
|
+
if (!bad) setInviteMsg("Add an email address first, like name@company.com.");
|
|
287
|
+
root.current?.querySelector('[data-tm-focus="invite-input"] input')?.focus();
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
276
290
|
const emails = good.map((c) => c.email);
|
|
277
291
|
setSending(true);
|
|
278
292
|
setInviteMsg("");
|
|
@@ -341,13 +355,27 @@ function TeamMembers({
|
|
|
341
355
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-start", children: [
|
|
342
356
|
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1", "data-tm-focus": "invite-input", tabIndex: -1, onFocus: (e) => {
|
|
343
357
|
if (e.target === e.currentTarget) e.currentTarget.querySelector("input")?.focus();
|
|
344
|
-
}, children: /* @__PURE__ */ jsx(
|
|
358
|
+
}, children: /* @__PURE__ */ jsx(
|
|
359
|
+
EmailChips,
|
|
360
|
+
{
|
|
361
|
+
chips,
|
|
362
|
+
onChange: (next) => {
|
|
363
|
+
setChips(next);
|
|
364
|
+
if (next.length) setInviteMsg("");
|
|
365
|
+
},
|
|
366
|
+
taken,
|
|
367
|
+
disabled: sending,
|
|
368
|
+
label: "Email addresses to invite",
|
|
369
|
+
describedBy: inviteMsgId,
|
|
370
|
+
invalid: bad > 0
|
|
371
|
+
}
|
|
372
|
+
) }),
|
|
345
373
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
|
|
346
|
-
/* @__PURE__ */ jsx(Select, { label: "Role for new invites", size: "md", options: roles, value: inviteRole, onChange: setInviteRole, disabled: sending, className: "w-[124px] bg-paper" }),
|
|
347
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "accent", loading: sending,
|
|
374
|
+
/* @__PURE__ */ jsx(Select, { label: "Role for new invites", name: "role", size: "md", options: roles, value: inviteRole, onChange: setInviteRole, disabled: sending, className: "w-[124px] bg-paper" }),
|
|
375
|
+
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "accent", loading: sending, children: "Invite" })
|
|
348
376
|
] })
|
|
349
377
|
] }),
|
|
350
|
-
/* @__PURE__ */ jsx("p", { className: "mt-2 min-h-4 px-1 text-[12px] text-mute", "aria-live": "polite", children: bad > 0 ? `Remove ${bad} address${bad > 1 ? "es" : ""} that can't be invited.` : inviteMsg || "Separate addresses with a comma, space or Enter." })
|
|
378
|
+
/* @__PURE__ */ jsx("p", { id: inviteMsgId, className: "mt-2 min-h-4 px-1 text-[12px] text-mute", "aria-live": "polite", children: bad > 0 ? `Remove ${bad} address${bad > 1 ? "es" : ""} that can't be invited.` : inviteMsg || "Separate addresses with a comma, space or Enter." })
|
|
351
379
|
]
|
|
352
380
|
}
|
|
353
381
|
),
|
|
@@ -17,7 +17,7 @@ var panel = (origin) => cx(
|
|
|
17
17
|
"shadow-[0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_12px_32px_-8px_rgb(0_0_0/0.22),0_4px_8px_-4px_rgb(0_0_0/0.08)]",
|
|
18
18
|
origin,
|
|
19
19
|
"transition-[opacity,transform] duration-[220ms] ease-[cubic-bezier(.16,1,.3,1)] data-[starting-style]:opacity-0 data-[starting-style]:[transform:translateY(-4px)_scale(.97)]",
|
|
20
|
-
"data-[ending-style]:opacity-0 data-[ending-style]:scale-[.98] data-[ending-style]:duration-[120ms] data-[ending-style]:ease-
|
|
20
|
+
"data-[ending-style]:opacity-0 data-[ending-style]:scale-[.98] data-[ending-style]:duration-[120ms] data-[ending-style]:ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:!transition-none"
|
|
21
21
|
);
|
|
22
22
|
var row = "flex cursor-pointer select-none items-center gap-2.5 rounded-md px-2.5 py-2 text-[14px] text-ink-2 outline-none transition-colors duration-150";
|
|
23
23
|
function Chevron() {
|
|
@@ -147,12 +147,16 @@ function SearchSelect({ options, value, defaultValue, onChange, placeholder = "S
|
|
|
147
147
|
setQ(e.target.value);
|
|
148
148
|
setActive(0);
|
|
149
149
|
},
|
|
150
|
-
|
|
150
|
+
type: "search",
|
|
151
|
+
autoComplete: "off",
|
|
152
|
+
spellCheck: false,
|
|
153
|
+
placeholder: "Search\u2026",
|
|
154
|
+
"aria-label": "Search options",
|
|
151
155
|
role: "combobox",
|
|
152
156
|
"aria-expanded": true,
|
|
153
157
|
"aria-controls": `${uid}-list`,
|
|
154
158
|
"aria-activedescendant": shown[active] ? `${uid}-o-${active}` : void 0,
|
|
155
|
-
className: "h-9 min-w-0 flex-1 bg-transparent text-[14px] text-ink outline-none placeholder:text-mute"
|
|
159
|
+
className: "h-9 min-w-0 flex-1 bg-transparent text-[16px] sm:text-[14px] text-ink outline-none placeholder:text-mute [&::-webkit-search-cancel-button]:hidden"
|
|
156
160
|
}
|
|
157
161
|
)
|
|
158
162
|
] }),
|
|
@@ -36,7 +36,7 @@ function Tooltip({ content, side = "top", delay = 500, shortcut, children, class
|
|
|
36
36
|
"z-50 flex w-max max-w-[240px] select-none items-center gap-2 rounded-lg bg-ink px-2.5 py-1.5 text-[12px] font-medium leading-snug text-paper",
|
|
37
37
|
"shadow-[0_6px_20px_-6px_rgb(0_0_0/0.35)] origin-[var(--radix-tooltip-content-transform-origin)]",
|
|
38
38
|
"data-[side=top]:[--kit-tip-from:translateY(4px)] data-[side=bottom]:[--kit-tip-from:translateY(-4px)] data-[side=left]:[--kit-tip-from:translateX(4px)] data-[side=right]:[--kit-tip-from:translateX(-4px)]",
|
|
39
|
-
"animate-[kit-tip-in_.2s_cubic-bezier(.16,1,.3,1)_both] data-[state=closed]:animate-[kit-tip-out_.
|
|
39
|
+
"animate-[kit-tip-in_.2s_cubic-bezier(.16,1,.3,1)_both] data-[state=closed]:animate-[kit-tip-out_.1s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:!animate-none",
|
|
40
40
|
className
|
|
41
41
|
),
|
|
42
42
|
children: [
|
|
@@ -154,7 +154,7 @@ function ShipmentTracker() {
|
|
|
154
154
|
onClick: () => go(i),
|
|
155
155
|
tabIndex: i === s.stage ? 0 : -1,
|
|
156
156
|
"aria-current": i === s.stage ? "step" : void 0,
|
|
157
|
-
"aria-label": `${st.label}${
|
|
157
|
+
"aria-label": `${st.label}, ${i < s.stage ? `done, ${st.time}` : reached ? st.time : "not yet"}`,
|
|
158
158
|
className: "group absolute top-1/2 -ml-3 -mt-3 flex h-6 w-6 items-center justify-center rounded-full outline-none focus-visible:ring-2 focus-visible:ring-brand/60",
|
|
159
159
|
style: { left: `${i / LAST * 100}%` },
|
|
160
160
|
children: /* @__PURE__ */ jsx("span", { className: `relative h-2.5 w-2.5 rounded-full bg-paper-2 ${RING} transition-transform duration-300 group-hover:scale-125`, children: /* @__PURE__ */ jsx(
|
|
@@ -33,7 +33,7 @@ function BubbleWrap() {
|
|
|
33
33
|
"span",
|
|
34
34
|
{
|
|
35
35
|
"data-bubble": i,
|
|
36
|
-
className: `h-8 w-8 rounded-full transition-
|
|
36
|
+
className: `h-8 w-8 rounded-full transition-[scale,background-color,border-color,box-shadow] duration-200 ease-[cubic-bezier(.5,1.8,.4,.8)] sm:h-9 sm:w-9 ${p ? "scale-[.82] border border-dashed border-line bg-transparent" : "cursor-pointer bg-paper-2 shadow-[inset_-3px_-4px_8px_rgba(0,0,0,.45),inset_3px_3px_6px_rgba(233,233,228,.12)] hover:scale-105"}`
|
|
37
37
|
},
|
|
38
38
|
i
|
|
39
39
|
))
|
|
@@ -46,7 +46,7 @@ var ErrorText = ({ id, children }) => /* @__PURE__ */ jsxs("p", { id, role: "ale
|
|
|
46
46
|
] }),
|
|
47
47
|
children
|
|
48
48
|
] });
|
|
49
|
-
function Field({ label, type, value, onChange, onBlur, error, shake, autoComplete, placeholder, describedBy, start, end, children }) {
|
|
49
|
+
function Field({ label, name, type, inputMode, plain, value, onChange, onBlur, error, shake, autoComplete, placeholder, describedBy, start, end, children }) {
|
|
50
50
|
const id = useId();
|
|
51
51
|
const box = useShake(!!error, shake);
|
|
52
52
|
const described = [error ? `${id}-err` : "", describedBy ?? ""].filter(Boolean).join(" ") || void 0;
|
|
@@ -58,16 +58,20 @@ function Field({ label, type, value, onChange, onBlur, error, shake, autoComplet
|
|
|
58
58
|
"input",
|
|
59
59
|
{
|
|
60
60
|
id,
|
|
61
|
+
name,
|
|
61
62
|
type,
|
|
63
|
+
inputMode,
|
|
62
64
|
value,
|
|
63
65
|
autoComplete,
|
|
66
|
+
autoCapitalize: plain ? void 0 : "none",
|
|
67
|
+
spellCheck: false,
|
|
64
68
|
placeholder,
|
|
65
69
|
onChange: (e) => onChange(e.target.value),
|
|
66
70
|
onBlur,
|
|
67
71
|
"aria-invalid": !!error || void 0,
|
|
68
72
|
"aria-describedby": described,
|
|
69
73
|
className: cx(
|
|
70
|
-
"h-11 w-full rounded-[9px] bg-paper px-3.5 text-[14.5px] text-ink outline-none transition-shadow duration-200 placeholder:text-mute focus-visible:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_14%,transparent)]",
|
|
74
|
+
"h-11 w-full rounded-[9px] bg-paper px-3.5 text-[16px] sm:text-[14.5px] text-ink outline-none transition-shadow duration-200 placeholder:text-mute focus-visible:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_14%,transparent)]",
|
|
71
75
|
!!start && "pl-11",
|
|
72
76
|
!!end && "pr-11",
|
|
73
77
|
error ? "shadow-[inset_0_0_0_1.5px_var(--ink)]" : RING
|
|
@@ -129,11 +133,12 @@ function SignUpCard({
|
|
|
129
133
|
const level = password ? score : 0;
|
|
130
134
|
const errors = {
|
|
131
135
|
name: !name.trim() ? "Enter your name." : "",
|
|
132
|
-
email: !email.trim() ? "Enter your email." : !validEmail(email) ? "
|
|
133
|
-
password: !password ? "Choose a password." :
|
|
136
|
+
email: !email.trim() ? "Enter your email." : !validEmail(email) ? "Enter an email like name@company.com." : "",
|
|
137
|
+
password: !password ? "Choose a password." : !passed[0] ? "Use at least 8 characters." : score < minStrength ? "Add a number, a symbol or mixed case." : "",
|
|
134
138
|
terms: terms ? "" : "Accept the terms to continue."
|
|
135
139
|
};
|
|
136
140
|
const show = (k) => touched[k] ? errors[k] : "";
|
|
141
|
+
const untouchIf = (k, fixed) => touched[k] && fixed && setTouched((t) => ({ ...t, [k]: false }));
|
|
137
142
|
const termsBox = useShake(!!show("terms"), shake);
|
|
138
143
|
const submit = async (e) => {
|
|
139
144
|
e.preventDefault();
|
|
@@ -142,6 +147,9 @@ function SignUpCard({
|
|
|
142
147
|
setFormError("");
|
|
143
148
|
if (errors.name || errors.email || errors.password || errors.terms) {
|
|
144
149
|
setShake((n) => n + 1);
|
|
150
|
+
const key = ["name", "email", "password", "terms"].find((k) => errors[k]);
|
|
151
|
+
const first = key && e.currentTarget.elements.namedItem(key);
|
|
152
|
+
if (first instanceof HTMLElement) first.focus();
|
|
145
153
|
return;
|
|
146
154
|
}
|
|
147
155
|
setState("loading");
|
|
@@ -191,11 +199,16 @@ function SignUpCard({
|
|
|
191
199
|
Field,
|
|
192
200
|
{
|
|
193
201
|
label: "Full name",
|
|
202
|
+
name: "name",
|
|
194
203
|
type: "text",
|
|
204
|
+
plain: true,
|
|
195
205
|
autoComplete: "name",
|
|
196
206
|
placeholder: "Maya Lindqvist",
|
|
197
207
|
value: name,
|
|
198
|
-
onChange:
|
|
208
|
+
onChange: (v) => {
|
|
209
|
+
setName(v);
|
|
210
|
+
untouchIf("name", !!v.trim());
|
|
211
|
+
},
|
|
199
212
|
onBlur: () => name && setTouched((t) => ({ ...t, name: true })),
|
|
200
213
|
error: show("name"),
|
|
201
214
|
shake,
|
|
@@ -206,11 +219,16 @@ function SignUpCard({
|
|
|
206
219
|
Field,
|
|
207
220
|
{
|
|
208
221
|
label: "Work email",
|
|
222
|
+
name: "email",
|
|
209
223
|
type: "email",
|
|
224
|
+
inputMode: "email",
|
|
210
225
|
autoComplete: "email",
|
|
211
226
|
placeholder: "you@company.com",
|
|
212
227
|
value: email,
|
|
213
|
-
onChange:
|
|
228
|
+
onChange: (v) => {
|
|
229
|
+
setEmail(v);
|
|
230
|
+
untouchIf("email", validEmail(v));
|
|
231
|
+
},
|
|
214
232
|
onBlur: () => email && setTouched((t) => ({ ...t, email: true })),
|
|
215
233
|
error: show("email"),
|
|
216
234
|
shake
|
|
@@ -220,11 +238,16 @@ function SignUpCard({
|
|
|
220
238
|
Field,
|
|
221
239
|
{
|
|
222
240
|
label: "Password",
|
|
241
|
+
name: "password",
|
|
223
242
|
type: reveal ? "text" : "password",
|
|
224
243
|
autoComplete: "new-password",
|
|
225
|
-
placeholder: "Make it hard to guess",
|
|
244
|
+
placeholder: "Make it hard to guess\u2026",
|
|
226
245
|
value: password,
|
|
227
|
-
onChange:
|
|
246
|
+
onChange: (v) => {
|
|
247
|
+
setPassword(v);
|
|
248
|
+
const ok = RULES.map((r) => r.test(v));
|
|
249
|
+
untouchIf("password", ok[0] && ok.filter(Boolean).length >= minStrength);
|
|
250
|
+
},
|
|
228
251
|
onBlur: () => password && setTouched((t) => ({ ...t, password: true })),
|
|
229
252
|
error: show("password"),
|
|
230
253
|
shake,
|
|
@@ -289,8 +312,12 @@ function SignUpCard({
|
|
|
289
312
|
"input",
|
|
290
313
|
{
|
|
291
314
|
type: "checkbox",
|
|
315
|
+
name: "terms",
|
|
292
316
|
checked: terms,
|
|
293
|
-
onChange: (e) =>
|
|
317
|
+
onChange: (e) => {
|
|
318
|
+
setTerms(e.target.checked);
|
|
319
|
+
untouchIf("terms", e.target.checked);
|
|
320
|
+
},
|
|
294
321
|
"aria-invalid": !!show("terms") || void 0,
|
|
295
322
|
"aria-describedby": show("terms") ? `${id}-terms-err` : void 0,
|
|
296
323
|
className: cx(
|
|
@@ -158,10 +158,11 @@ function CtaFooter({
|
|
|
158
158
|
"select",
|
|
159
159
|
{
|
|
160
160
|
id: langId,
|
|
161
|
+
name: "language",
|
|
161
162
|
defaultValue: languages[0]?.value,
|
|
162
163
|
onChange: (e) => onLanguageChange?.(e.target.value),
|
|
163
164
|
className: cx(
|
|
164
|
-
"h-9 w-full cursor-pointer appearance-none rounded-[8px] bg-paper-2 pl-3 pr-8 text-[13px] text-ink transition-shadow duration-300 hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]",
|
|
165
|
+
"h-9 w-full cursor-pointer appearance-none rounded-[8px] bg-paper-2 pl-3 pr-8 text-[16px] sm:text-[13px] text-ink transition-shadow duration-300 hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]",
|
|
165
166
|
ring
|
|
166
167
|
),
|
|
167
168
|
children: languages.map((l) => /* @__PURE__ */ jsx("option", { value: l.value, children: l.label }, l.value))
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/kit/countdown.tsx
|
|
4
|
+
import { useEffect, useRef, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
|
+
var KEYFRAMES = `@keyframes asta-cd-in { from { transform: translateY(-62%); opacity: 0 } }
|
|
8
|
+
@keyframes asta-cd-out { to { transform: translateY(62%); opacity: 0 } }
|
|
9
|
+
@media (prefers-reduced-motion: reduce) { .asta-cd-a { animation: none !important } .asta-cd-old { display: none } }`;
|
|
10
|
+
var UNIT_MS = { d: 864e5, h: 36e5, m: 6e4, s: 1e3 };
|
|
11
|
+
var NAMES = { d: ["day", "days"], h: ["hour", "hours"], m: ["minute", "minutes"], s: ["second", "seconds"] };
|
|
12
|
+
var SHORT = { d: "Days", h: "Hours", m: "Min", s: "Sec" };
|
|
13
|
+
var toMs = (t) => t instanceof Date ? t.getTime() : typeof t === "string" ? Date.parse(t) : t;
|
|
14
|
+
function split(left, units) {
|
|
15
|
+
let rest = Math.max(0, left);
|
|
16
|
+
return units.map((u) => {
|
|
17
|
+
const n = Math.floor(rest / UNIT_MS[u]);
|
|
18
|
+
rest -= n * UNIT_MS[u];
|
|
19
|
+
return n;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function Digit({ d }) {
|
|
23
|
+
const [state, setState] = useState({ cur: d, prev: "", n: 0 });
|
|
24
|
+
if (state.cur !== d) setState({ cur: d, prev: state.cur, n: state.n + 1 });
|
|
25
|
+
return /* @__PURE__ */ jsxs("span", { className: "relative inline-block h-[1em] w-[0.62em] overflow-hidden text-center leading-[1em]", children: [
|
|
26
|
+
state.n > 0 && /* @__PURE__ */ jsx("span", { className: "asta-cd-a asta-cd-old absolute inset-0 animate-[asta-cd-out_.5s_cubic-bezier(.16,1,.3,1)_both]", children: state.prev }, `o${state.n}`),
|
|
27
|
+
/* @__PURE__ */ jsx("span", { className: cx("asta-cd-a block", state.n > 0 && "animate-[asta-cd-in_.5s_cubic-bezier(.16,1,.3,1)_both]"), children: state.cur }, `n${state.n}`)
|
|
28
|
+
] });
|
|
29
|
+
}
|
|
30
|
+
var SIZE = {
|
|
31
|
+
sm: { num: "text-[15px]", tile: "min-w-[38px] rounded-md px-1.5 py-1.5", label: "text-[9.5px]", gap: "gap-1.5" },
|
|
32
|
+
md: { num: "text-[24px]", tile: "min-w-[56px] rounded-[10px] px-2 py-2.5", label: "text-[10.5px]", gap: "gap-2" },
|
|
33
|
+
lg: { num: "text-[40px]", tile: "min-w-[80px] rounded-xl px-3 py-3.5", label: "text-[11px]", gap: "gap-2.5" }
|
|
34
|
+
};
|
|
35
|
+
function Countdown({ to, units = ["d", "h", "m", "s"], variant = "boxed", size = "md", onComplete, label = "Time left", className }) {
|
|
36
|
+
const target = toMs(to);
|
|
37
|
+
const root = useRef(null);
|
|
38
|
+
const [now, setNow] = useState(null);
|
|
39
|
+
const done = useRef(false);
|
|
40
|
+
const complete = useRef(onComplete);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
complete.current = onComplete;
|
|
43
|
+
});
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
const el = root.current;
|
|
46
|
+
if (!el) return;
|
|
47
|
+
done.current = false;
|
|
48
|
+
let id = 0;
|
|
49
|
+
let visible = true;
|
|
50
|
+
const stop = () => {
|
|
51
|
+
window.clearInterval(id);
|
|
52
|
+
id = 0;
|
|
53
|
+
};
|
|
54
|
+
const tick = () => {
|
|
55
|
+
const t = Date.now();
|
|
56
|
+
setNow(t);
|
|
57
|
+
if (t >= target) {
|
|
58
|
+
stop();
|
|
59
|
+
if (!done.current) {
|
|
60
|
+
done.current = true;
|
|
61
|
+
complete.current?.();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const sync = () => {
|
|
66
|
+
const run = visible && !document.hidden && Date.now() < target;
|
|
67
|
+
if (run && !id) {
|
|
68
|
+
tick();
|
|
69
|
+
id = window.setInterval(tick, 1e3);
|
|
70
|
+
} else if (!run) {
|
|
71
|
+
stop();
|
|
72
|
+
if (Date.now() >= target) tick();
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
const io = new IntersectionObserver(([e]) => {
|
|
76
|
+
visible = e.isIntersecting;
|
|
77
|
+
sync();
|
|
78
|
+
});
|
|
79
|
+
io.observe(el);
|
|
80
|
+
document.addEventListener("visibilitychange", sync);
|
|
81
|
+
sync();
|
|
82
|
+
return () => {
|
|
83
|
+
stop();
|
|
84
|
+
io.disconnect();
|
|
85
|
+
document.removeEventListener("visibilitychange", sync);
|
|
86
|
+
};
|
|
87
|
+
}, [target]);
|
|
88
|
+
const parts = now === null ? units.map(() => 0) : split(target - now, units);
|
|
89
|
+
const ready = now !== null;
|
|
90
|
+
const spoken = units.map((u, i) => i < units.length - 1 || u !== "s" ? `${parts[i]} ${NAMES[u][parts[i] === 1 ? 0 : 1]}` : "").filter(Boolean).join(" ");
|
|
91
|
+
const s = SIZE[size];
|
|
92
|
+
return /* @__PURE__ */ jsxs(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
ref: root,
|
|
96
|
+
role: "timer",
|
|
97
|
+
"aria-label": ready ? `${label}: ${spoken}` : label,
|
|
98
|
+
className: cx("inline-flex items-start font-medium tabular-nums tracking-[-0.03em] text-ink transition-opacity duration-500", variant === "boxed" && s.gap, !ready && "opacity-0", className),
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsx("style", { href: "asta-countdown", precedence: "asta", children: KEYFRAMES }),
|
|
101
|
+
units.map((u, i) => {
|
|
102
|
+
const text = String(parts[i]).padStart(2, "0");
|
|
103
|
+
const digits = /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("inline-flex leading-none", s.num), children: text.split("").map((d, k) => /* @__PURE__ */ jsx(Digit, { d }, text.length - k)) });
|
|
104
|
+
if (variant === "inline")
|
|
105
|
+
return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-start", children: [
|
|
106
|
+
i > 0 && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("-mt-[0.06em] px-[0.08em] leading-none text-mute", s.num), children: ":" }),
|
|
107
|
+
digits
|
|
108
|
+
] }, u);
|
|
109
|
+
return /* @__PURE__ */ jsxs("span", { className: "flex flex-col items-center gap-1.5", children: [
|
|
110
|
+
/* @__PURE__ */ jsx("span", { className: cx("flex justify-center bg-paper-2 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", s.tile), children: digits }),
|
|
111
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cx("font-mono uppercase tracking-wider text-mute", s.label), children: SHORT[u] })
|
|
112
|
+
] }, u);
|
|
113
|
+
})
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
var countdown_default = Countdown;
|
|
119
|
+
|
|
120
|
+
export {
|
|
121
|
+
Countdown,
|
|
122
|
+
countdown_default
|
|
123
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Switch
|
|
4
|
+
} from "./chunk-5A36JYGI.js";
|
|
5
|
+
import {
|
|
6
|
+
Button
|
|
7
|
+
} from "./chunk-WSL4JGEA.js";
|
|
8
|
+
|
|
9
|
+
// components/kit/base/cookie-consent.tsx
|
|
10
|
+
import { useEffect, useId, useRef, useState } from "react";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
13
|
+
var KEYFRAMES = `@keyframes asta-consent-in { from { opacity: 0; transform: translateY(18px) scale(.98) } }
|
|
14
|
+
@keyframes asta-consent-out { to { opacity: 0; transform: translateY(18px) scale(.98) } }
|
|
15
|
+
@keyframes asta-consent-view { from { opacity: 0; transform: translateX(var(--asta-consent-dx, 12px)) } }
|
|
16
|
+
@media (prefers-reduced-motion: reduce) { .asta-consent, .asta-consent-view { animation-duration: 1ms !important } }`;
|
|
17
|
+
var DEFAULT_CONSENT_CATEGORIES = [
|
|
18
|
+
{ id: "necessary", label: "Strictly necessary", description: "Sign-in, security and your cart. The site can't work without these.", required: true },
|
|
19
|
+
{ id: "preferences", label: "Preferences", description: "Remember your language, region and display settings.", defaultOn: true },
|
|
20
|
+
{ id: "analytics", label: "Analytics", description: "Count visits and see which pages help, with no personal profile." },
|
|
21
|
+
{ id: "marketing", label: "Marketing", description: "Measure campaigns and show more relevant ads elsewhere." }
|
|
22
|
+
];
|
|
23
|
+
var POS = { "bottom-left": "left-4 bottom-4", "bottom-right": "right-4 bottom-4", bottom: "inset-x-4 bottom-4 mx-auto" };
|
|
24
|
+
function CookieConsent({
|
|
25
|
+
categories = DEFAULT_CONSENT_CATEGORIES,
|
|
26
|
+
title = "We use cookies",
|
|
27
|
+
message = "Some keep the site working. Others help us understand what's useful. You choose which.",
|
|
28
|
+
policyHref,
|
|
29
|
+
storageKey,
|
|
30
|
+
onConsent,
|
|
31
|
+
position = "bottom-left",
|
|
32
|
+
contained,
|
|
33
|
+
open,
|
|
34
|
+
onOpenChange,
|
|
35
|
+
className
|
|
36
|
+
}) {
|
|
37
|
+
const id = useId();
|
|
38
|
+
const [self, setSelf] = useState(false);
|
|
39
|
+
const [leaving, setLeaving] = useState(false);
|
|
40
|
+
const [view, setView] = useState("summary");
|
|
41
|
+
const [prefs, setPrefs] = useState(() => Object.fromEntries(categories.map((c) => [c.id, !!(c.required || c.defaultOn)])));
|
|
42
|
+
const timer = useRef(void 0);
|
|
43
|
+
const shown = (open ?? self) || leaving;
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (open !== void 0) return;
|
|
46
|
+
let stored = null;
|
|
47
|
+
try {
|
|
48
|
+
stored = storageKey ? localStorage.getItem(storageKey) : null;
|
|
49
|
+
} catch {
|
|
50
|
+
}
|
|
51
|
+
const t = setTimeout(() => setSelf(!stored), 400);
|
|
52
|
+
return () => clearTimeout(t);
|
|
53
|
+
}, [storageKey, open]);
|
|
54
|
+
useEffect(() => () => clearTimeout(timer.current), []);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
if (open) {
|
|
57
|
+
const t = setTimeout(() => setView("summary"), 0);
|
|
58
|
+
return () => clearTimeout(t);
|
|
59
|
+
}
|
|
60
|
+
}, [open]);
|
|
61
|
+
const decide = (consent) => {
|
|
62
|
+
try {
|
|
63
|
+
if (storageKey) localStorage.setItem(storageKey, JSON.stringify({ consent, at: (/* @__PURE__ */ new Date()).toISOString() }));
|
|
64
|
+
} catch {
|
|
65
|
+
}
|
|
66
|
+
onConsent?.(consent);
|
|
67
|
+
setLeaving(true);
|
|
68
|
+
timer.current = setTimeout(() => {
|
|
69
|
+
setLeaving(false);
|
|
70
|
+
setSelf(false);
|
|
71
|
+
setView("summary");
|
|
72
|
+
}, 280);
|
|
73
|
+
onOpenChange?.(false);
|
|
74
|
+
};
|
|
75
|
+
const all = (on) => Object.fromEntries(categories.map((c) => [c.id, c.required ? true : on]));
|
|
76
|
+
if (!shown) return null;
|
|
77
|
+
return /* @__PURE__ */ jsxs(
|
|
78
|
+
"section",
|
|
79
|
+
{
|
|
80
|
+
role: "dialog",
|
|
81
|
+
"aria-modal": "false",
|
|
82
|
+
"aria-labelledby": `${id}-t`,
|
|
83
|
+
"aria-describedby": `${id}-d`,
|
|
84
|
+
className: cx(
|
|
85
|
+
"asta-consent z-50 w-[calc(100%-2rem)] max-w-[400px] rounded-[14px] bg-paper p-5 text-ink",
|
|
86
|
+
"shadow-[0_0_0_1px_color-mix(in_srgb,var(--ink)_9%,transparent),0_24px_48px_-20px_rgb(0_0_0/0.35),0_2px_8px_-2px_rgb(0_0_0/0.08)]",
|
|
87
|
+
contained ? "absolute" : "fixed",
|
|
88
|
+
POS[position],
|
|
89
|
+
leaving ? "pointer-events-none animate-[asta-consent-out_.28s_cubic-bezier(.16,1,.3,1)_both]" : "animate-[asta-consent-in_.5s_cubic-bezier(.16,1,.3,1)_both]",
|
|
90
|
+
className
|
|
91
|
+
),
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ jsx("style", { href: "asta-cookie-consent", precedence: "asta", children: KEYFRAMES }),
|
|
94
|
+
view === "summary" ? /* @__PURE__ */ jsxs("div", { className: "asta-consent-view animate-[asta-consent-view_.35s_cubic-bezier(.16,1,.3,1)_both] [--asta-consent-dx:-12px]", children: [
|
|
95
|
+
/* @__PURE__ */ jsx("h2", { id: `${id}-t`, className: "text-[15px] font-medium tracking-[-0.01em]", children: title }),
|
|
96
|
+
/* @__PURE__ */ jsxs("p", { id: `${id}-d`, className: "mt-1.5 text-[13px] leading-relaxed text-mute", children: [
|
|
97
|
+
message,
|
|
98
|
+
" ",
|
|
99
|
+
policyHref && /* @__PURE__ */ jsx("a", { href: policyHref, className: "text-ink underline decoration-[color-mix(in_srgb,var(--ink)_30%,transparent)] underline-offset-2 hover:decoration-current", children: "Cookie policy" })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-4 flex flex-wrap items-center gap-2", children: [
|
|
102
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", onClick: () => decide(all(true)), children: "Accept all" }),
|
|
103
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "outline", onClick: () => decide(all(false)), children: "Reject all" }),
|
|
104
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", className: "ml-auto", onClick: () => setView("custom"), children: "Customize" })
|
|
105
|
+
] })
|
|
106
|
+
] }, "summary") : /* @__PURE__ */ jsxs("div", { className: "asta-consent-view animate-[asta-consent-view_.35s_cubic-bezier(.16,1,.3,1)_both]", children: [
|
|
107
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
108
|
+
/* @__PURE__ */ jsx(
|
|
109
|
+
"button",
|
|
110
|
+
{
|
|
111
|
+
type: "button",
|
|
112
|
+
onClick: () => setView("summary"),
|
|
113
|
+
"aria-label": "Back",
|
|
114
|
+
className: "-ml-1.5 flex h-7 w-7 items-center justify-center rounded-md text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
115
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M10 3.5 5.5 8l4.5 4.5" }) })
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
/* @__PURE__ */ jsx("h2", { id: `${id}-t`, className: "text-[15px] font-medium tracking-[-0.01em]", children: "Cookie preferences" })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ jsx("p", { id: `${id}-d`, className: "sr-only", children: "Choose which kinds of cookies to allow." }),
|
|
121
|
+
/* @__PURE__ */ jsx("ul", { className: "mt-3 flex flex-col gap-1", children: categories.map((c) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-4 rounded-[10px] bg-paper-2 px-3.5 py-3", children: [
|
|
122
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
123
|
+
/* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-[13px] font-medium", children: [
|
|
124
|
+
c.label,
|
|
125
|
+
c.required && /* @__PURE__ */ jsx("span", { className: "rounded-[4px] bg-paper px-1.5 text-[10.5px] font-normal leading-[18px] text-mute", children: "Always on" })
|
|
126
|
+
] }),
|
|
127
|
+
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-[12px] leading-snug text-mute", children: c.description })
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ jsx(Switch, { size: "sm", checked: prefs[c.id], disabled: c.required, onCheckedChange: (v) => setPrefs((p) => ({ ...p, [c.id]: v })), "aria-label": c.label })
|
|
130
|
+
] }, c.id)) }),
|
|
131
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
132
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "outline", onClick: () => decide(all(false)), children: "Reject all" }),
|
|
133
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", onClick: () => decide(prefs), children: "Save choices" })
|
|
134
|
+
] })
|
|
135
|
+
] }, "custom")
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
var cookie_consent_default = CookieConsent;
|
|
141
|
+
|
|
142
|
+
export {
|
|
143
|
+
DEFAULT_CONSENT_CATEGORIES,
|
|
144
|
+
CookieConsent,
|
|
145
|
+
cookie_consent_default
|
|
146
|
+
};
|
|
@@ -40,7 +40,7 @@ function AiChat({
|
|
|
40
40
|
suggestions = [],
|
|
41
41
|
title = "Assistant",
|
|
42
42
|
greeting = "How can I help?",
|
|
43
|
-
placeholder = "Ask anything",
|
|
43
|
+
placeholder = "Ask anything\u2026",
|
|
44
44
|
className
|
|
45
45
|
}) {
|
|
46
46
|
const [messages, setMessages] = useState(defaultMessages);
|
|
@@ -243,7 +243,9 @@ function AiChat({
|
|
|
243
243
|
{
|
|
244
244
|
ref: area,
|
|
245
245
|
id: inputId,
|
|
246
|
+
name: "prompt",
|
|
246
247
|
rows: 1,
|
|
248
|
+
enterKeyHint: "send",
|
|
247
249
|
value: text,
|
|
248
250
|
placeholder,
|
|
249
251
|
onChange: (e) => setText(e.target.value),
|
|
@@ -256,7 +258,7 @@ function AiChat({
|
|
|
256
258
|
stop();
|
|
257
259
|
}
|
|
258
260
|
},
|
|
259
|
-
className: "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"
|
|
261
|
+
className: "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"
|
|
260
262
|
}
|
|
261
263
|
),
|
|
262
264
|
streaming ? /* @__PURE__ */ jsx(
|
|
@@ -84,7 +84,7 @@ function MarkdownTextarea({ tools = TOOLS.map((t) => t.id), className, rows = 6,
|
|
|
84
84
|
if (!controlled) setInner(e.target.value);
|
|
85
85
|
rest.onChange?.(e);
|
|
86
86
|
},
|
|
87
|
-
className: "block w-full resize-y bg-transparent px-3.5 py-3 font-mono text-[13px] leading-[1.6] text-ink outline-none placeholder:font-sans placeholder:text-mute"
|
|
87
|
+
className: "block w-full resize-y bg-transparent px-3.5 py-3 font-mono text-[16px] sm:text-[13px] leading-[1.6] text-ink outline-none placeholder:font-sans placeholder:text-mute"
|
|
88
88
|
}
|
|
89
89
|
),
|
|
90
90
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-3.5 pb-2.5 text-[11.5px] text-mute", children: [
|