asta-ui 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/asta-ui.mjs +43 -7
- package/css/asta.css +2 -2
- package/css/asta.js +18 -1
- package/css/components.css +16 -5
- package/css/runtime/overlays.js +17 -0
- package/css/src/overlays.css +16 -5
- package/dist/accordion.js +1 -1
- package/dist/agent-plan.js +1 -1
- package/dist/ai-chat.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/announcement-bar.js +1 -1
- package/dist/api-keys.js +2 -2
- package/dist/badge.js +1 -1
- package/dist/base/accordion.js +1 -1
- package/dist/base/agent-plan.js +1 -1
- package/dist/base/ai-chat.js +1 -1
- package/dist/base/alert.js +1 -1
- package/dist/base/announcement-bar.js +1 -1
- package/dist/base/api-keys.js +2 -2
- package/dist/base/badge.js +1 -1
- package/dist/base/billing.js +2 -2
- package/dist/base/breadcrumb.js +1 -1
- package/dist/base/button-aui-064.d.ts +2 -0
- package/dist/base/button-aui-064.js +11 -0
- package/dist/base/button-aui-065.d.ts +2 -0
- package/dist/base/button-aui-065.js +9 -0
- package/dist/base/button-aui-066.d.ts +2 -0
- package/dist/base/button-aui-066.js +11 -0
- package/dist/base/button-aui-067.d.ts +2 -0
- package/dist/base/button-aui-067.js +9 -0
- package/dist/base/button-aui-068.d.ts +2 -0
- package/dist/base/button-aui-068.js +9 -0
- package/dist/base/carousel.js +1 -1
- package/dist/base/chart-card.js +1 -1
- package/dist/base/checkbox-aui-052.js +1 -1
- package/dist/base/checkbox-aui-053.js +1 -1
- package/dist/base/checkbox-aui-054.js +1 -1
- package/dist/base/checkbox.js +1 -1
- package/dist/base/checkout.js +2 -3
- package/dist/base/citations.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 +1 -1
- package/dist/base/context-menu.js +1 -1
- package/dist/base/context-meter.js +1 -1
- package/dist/base/cookie-consent.js +1 -1
- package/dist/base/copy-button.js +1 -1
- package/dist/base/data-table.js +1 -1
- package/dist/base/date-picker-aui-050.js +1 -1
- package/dist/base/date-picker-aui-051.js +1 -1
- package/dist/base/date-picker.js +1 -1
- package/dist/base/dialog.js +1 -1
- package/dist/base/drawer.js +1 -1
- package/dist/base/dropdown-menu.js +1 -1
- package/dist/base/event-calendar.js +1 -1
- package/dist/base/field.js +1 -1
- package/dist/base/file-card.js +1 -1
- package/dist/base/file-manager.js +6 -6
- package/dist/base/file-upload.js +1 -1
- 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/image-compare.js +1 -1
- package/dist/base/inbox.js +1 -1
- 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.js +1 -1
- package/dist/base/invoice.js +1 -1
- package/dist/base/menubar.js +1 -1
- package/dist/base/meter.js +1 -1
- package/dist/base/model-picker.js +1 -1
- package/dist/base/motion-button.js +1 -1
- package/dist/base/navbar-aui-009.js +1 -1
- package/dist/base/navbar-aui-010.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-aui-014.js +1 -1
- package/dist/base/navbar.js +1 -1
- package/dist/base/notification-center.js +1 -1
- package/dist/base/number-input.js +1 -1
- package/dist/base/onboarding.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/pagination.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.js +1 -1
- package/dist/base/price-alert.js +1 -1
- package/dist/base/price-chart.js +1 -1
- package/dist/base/pricing-aui-021.js +1 -1
- package/dist/base/pricing-aui-022.js +1 -1
- package/dist/base/pricing-aui-023.js +1 -1
- package/dist/base/pricing-aui-024.js +1 -1
- package/dist/base/pricing.js +1 -1
- package/dist/base/prompt-composer.js +1 -1
- package/dist/base/properties-panel.js +1 -1
- package/dist/base/radio-group-aui-055.js +1 -1
- package/dist/base/radio-group-aui-056.js +1 -1
- package/dist/base/radio-group.js +1 -1
- package/dist/base/rating.js +1 -1
- package/dist/base/segmented-control.js +1 -1
- package/dist/base/select-aui-043.js +1 -1
- package/dist/base/select-aui-044.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/sidebar.js +1 -1
- 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/slider-aui-063.js +1 -1
- package/dist/base/split-bill.js +1 -1
- package/dist/base/stat-card.js +1 -1
- package/dist/base/stepper.js +1 -1
- package/dist/base/switch-aui-058.js +1 -1
- package/dist/base/switch-aui-059.js +1 -1
- package/dist/base/switch-aui-060.js +1 -1
- package/dist/base/tabs.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 +2 -2
- package/dist/base/testimonials.js +1 -1
- package/dist/base/textarea-aui-003.js +1 -1
- package/dist/base/textarea-aui-005.js +1 -1
- package/dist/base/textarea-aui-007.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/thinking.js +1 -1
- package/dist/base/toast.js +1 -1
- package/dist/base/token-swap.js +1 -1
- package/dist/base/tool-approval.js +1 -1
- package/dist/base/tool-dock.js +1 -1
- package/dist/base/trace-waterfall.js +1 -1
- package/dist/base/trade-ticket.js +1 -1
- package/dist/base/tree-view.js +1 -1
- package/dist/base/watchlist.js +1 -1
- package/dist/base/workspace-switcher.js +1 -1
- package/dist/base.js +185 -151
- package/dist/billing.js +2 -2
- package/dist/breadcrumb.js +1 -1
- package/dist/button-aui-064.d.ts +2 -0
- package/dist/button-aui-064.js +11 -0
- package/dist/button-aui-065.d.ts +2 -0
- package/dist/button-aui-065.js +9 -0
- package/dist/button-aui-066.d.ts +2 -0
- package/dist/button-aui-066.js +11 -0
- package/dist/button-aui-067.d.ts +2 -0
- package/dist/button-aui-067.js +9 -0
- package/dist/button-aui-068.d.ts +2 -0
- package/dist/button-aui-068.js +9 -0
- package/dist/carousel.js +1 -1
- package/dist/chart-card.js +1 -1
- package/dist/checkbox-aui-052.js +1 -1
- package/dist/checkbox-aui-053.js +1 -1
- package/dist/checkbox-aui-054.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/checkout.js +2 -3
- package/dist/{chunk-2F5CE6ZB.js → chunk-27W3F7NE.js} +7 -6
- package/dist/{chunk-66MJ6EEU.js → chunk-2DA4SEGX.js} +2 -2
- package/dist/chunk-2GLBURQR.js +85 -0
- package/dist/{chunk-X4M6RXNL.js → chunk-2H25OHYS.js} +17 -13
- package/dist/{chunk-VTTXURIB.js → chunk-32GWAA4A.js} +4 -3
- package/dist/{chunk-ZJLQDN5R.js → chunk-3AJ4EBSV.js} +4 -3
- package/dist/{chunk-LOHFV5JF.js → chunk-3MH5O4HX.js} +7 -7
- package/dist/{chunk-7PHSPBJK.js → chunk-3N7SRANH.js} +8 -4
- package/dist/{chunk-P3XPSBST.js → chunk-3QC5SYGC.js} +3 -3
- package/dist/{chunk-UJYZZSII.js → chunk-4ATDGYSC.js} +13 -9
- package/dist/{chunk-3UQIYJTI.js → chunk-4EX6JZ7C.js} +11 -4
- package/dist/{chunk-CRGCVJLS.js → chunk-4IPMVLH7.js} +2 -2
- package/dist/{chunk-JLCSRNI2.js → chunk-4MBIQUM2.js} +7 -7
- package/dist/{chunk-NIYIT2QU.js → chunk-4N2KNDOB.js} +3 -3
- package/dist/{chunk-SDOWCCM2.js → chunk-4P6EPSHA.js} +12 -7
- package/dist/{chunk-SDUD2HI2.js → chunk-4YF2XZY5.js} +3 -3
- package/dist/{chunk-VDWLZWAT.js → chunk-56PRVZWW.js} +3 -3
- package/dist/{chunk-CMOI7V4H.js → chunk-5EYHX66O.js} +17 -8
- package/dist/{chunk-FAHOYAQH.js → chunk-5JLFPVXB.js} +5 -2
- package/dist/{chunk-UOOGRGEC.js → chunk-5SK7NMOG.js} +2 -1
- package/dist/{chunk-IU4OH5MB.js → chunk-5UARATD2.js} +9 -6
- package/dist/{chunk-Z2DF2YL5.js → chunk-5WVRC4BW.js} +1 -1
- package/dist/{chunk-6MPEI6V5.js → chunk-67BNR73B.js} +5 -5
- package/dist/{chunk-JQX5KR7O.js → chunk-76NMSRFH.js} +4 -1
- package/dist/{chunk-MNWZP3S2.js → chunk-7AN76PIT.js} +1 -1
- package/dist/chunk-7DQJUZFY.js +139 -0
- package/dist/{chunk-77RFV2MG.js → chunk-7GUFM5QQ.js} +16 -11
- package/dist/{chunk-MIDBYG4B.js → chunk-7RECQQQP.js} +2 -1
- package/dist/{chunk-UX6CWJT7.js → chunk-7TCU6IJX.js} +1 -1
- package/dist/{chunk-N3X4T5OR.js → chunk-A4CMX7CD.js} +26 -17
- package/dist/{chunk-ZH5A4YKQ.js → chunk-A7TELQOW.js} +2 -2
- package/dist/{chunk-MXRBXBE3.js → chunk-AAE4SLAV.js} +4 -1
- package/dist/{chunk-L67VH7II.js → chunk-AF2WLL3H.js} +1 -1
- package/dist/{chunk-YNPG4WOS.js → chunk-AIUW7VNA.js} +8 -5
- package/dist/{chunk-V4O44BPH.js → chunk-AM63372L.js} +1 -1
- package/dist/{chunk-YV3D4CPO.js → chunk-B2GAISZU.js} +0 -1
- package/dist/{chunk-JX7V6EFT.js → chunk-B2SLXW63.js} +19 -15
- package/dist/{chunk-FA4A2EGP.js → chunk-B6KIW23F.js} +4 -3
- package/dist/{chunk-JJ473HJ2.js → chunk-BBILYMCF.js} +6 -3
- package/dist/{chunk-6OZZ24UL.js → chunk-BLZYUAE7.js} +4 -1
- package/dist/{chunk-VEKYE733.js → chunk-BNODQM6D.js} +13 -7
- package/dist/{chunk-3PLQKAD7.js → chunk-BQL7HJSV.js} +14 -4
- package/dist/chunk-C5NGITT4.js +90 -0
- package/dist/{chunk-W2S6JDBM.js → chunk-CGMVTIMW.js} +13 -13
- package/dist/{chunk-OUGWYBWG.js → chunk-CZKYSTF5.js} +4 -1
- package/dist/{chunk-64UK5LOT.js → chunk-D3GC3QHM.js} +6 -4
- package/dist/{chunk-AQV7BK73.js → chunk-DAWISPMI.js} +13 -7
- package/dist/{chunk-KATSSAVI.js → chunk-DSMKE64O.js} +2 -1
- package/dist/{chunk-MT3VMDV4.js → chunk-DXFIPXJJ.js} +5 -2
- package/dist/{chunk-3PLPK7QK.js → chunk-DY5Z45NW.js} +4 -1
- package/dist/{chunk-VI6565XF.js → chunk-E6HAVXWS.js} +31 -17
- package/dist/{chunk-ZK4DK2SS.js → chunk-E7Q7EP4K.js} +1 -1
- package/dist/{chunk-4YNUJFTL.js → chunk-EHBCXGBF.js} +7 -7
- package/dist/{chunk-Y4JOW2UW.js → chunk-EQVJUIF4.js} +14 -10
- package/dist/{chunk-PIXHOFUT.js → chunk-ET4NNKVK.js} +18 -11
- package/dist/{chunk-Z5TG7ZGD.js → chunk-FC54ZZOS.js} +7 -19
- package/dist/{chunk-BXNC35OZ.js → chunk-FEQPNCG7.js} +9 -6
- package/dist/{chunk-4RBIAKO6.js → chunk-FJNJ2TLR.js} +0 -1
- package/dist/{chunk-2RB5T6WP.js → chunk-FZ3GCVH2.js} +2 -1
- package/dist/{chunk-D6LGKFZH.js → chunk-G23AGEY4.js} +1 -1
- package/dist/{chunk-Q3KZWQWK.js → chunk-GPGIY2ZG.js} +6 -6
- package/dist/{chunk-DSLKU6QJ.js → chunk-GQZPSVLB.js} +118 -38
- package/dist/{chunk-OFWUA5BO.js → chunk-GTRJUSVK.js} +2 -2
- package/dist/{chunk-CTWW5QOS.js → chunk-GU5KNBTL.js} +7 -5
- package/dist/{chunk-UACKIMP4.js → chunk-GUZHEEYG.js} +6 -6
- package/dist/{chunk-LS6CFF6X.js → chunk-GX4ZHNG7.js} +5 -1
- package/dist/{chunk-QEHCINJG.js → chunk-H3LVWLBS.js} +5 -4
- package/dist/{chunk-H7OVE6OB.js → chunk-HBKB2GXI.js} +31 -17
- package/dist/{chunk-Q6IUIKAE.js → chunk-HJ2FWSSM.js} +8 -8
- package/dist/{chunk-IS2VTYDA.js → chunk-HJD3NQST.js} +6 -3
- package/dist/{chunk-RJZ37JRF.js → chunk-HJMROSE4.js} +19 -8
- package/dist/{chunk-QYI7LQBQ.js → chunk-ITC5UU7V.js} +1 -1
- package/dist/{chunk-WOMLNEGP.js → chunk-IUOKOPNY.js} +4 -3
- package/dist/{chunk-VIFKQE2H.js → chunk-IVTOFG7I.js} +1 -1
- package/dist/{chunk-MSBN2O66.js → chunk-J65FSZ6X.js} +1 -1
- package/dist/{chunk-5ZTFP7P6.js → chunk-JZJWB5CQ.js} +17 -8
- package/dist/{chunk-DEAQSJ4Z.js → chunk-K5QMUHOG.js} +12 -9
- package/dist/{chunk-MBMY2VYS.js → chunk-KCASF2IV.js} +7 -7
- package/dist/{chunk-765WRI6C.js → chunk-KE33WVT2.js} +3 -3
- package/dist/{chunk-3XHG7P5T.js → chunk-KEPRNTOF.js} +6 -6
- package/dist/{chunk-PNN2M3V3.js → chunk-KKDIIZQG.js} +12 -6
- package/dist/{chunk-ZKMEKSJZ.js → chunk-KSNSN42X.js} +9 -4
- package/dist/{chunk-KCORGXZI.js → chunk-KSZLBV3P.js} +4 -1
- package/dist/{chunk-6D4LHBWD.js → chunk-KUK3UZ7M.js} +10 -7
- package/dist/{chunk-YUOEZYRP.js → chunk-L4G2YUXT.js} +0 -1
- package/dist/{chunk-RPOV3WAK.js → chunk-L7SG34PT.js} +14 -14
- package/dist/{chunk-CDQNLDO6.js → chunk-LLI33GKW.js} +4 -4
- package/dist/{chunk-QWOO4V7N.js → chunk-LO4TYPLL.js} +8 -2
- package/dist/{chunk-DITROAPF.js → chunk-LUDI3KWR.js} +118 -38
- package/dist/{chunk-BWYPKOG3.js → chunk-M32LPQKJ.js} +1 -1
- package/dist/{chunk-BT77ALVB.js → chunk-M4NEGTL3.js} +4 -1
- package/dist/{chunk-XGNTNUAT.js → chunk-M6UUAF25.js} +1 -1
- package/dist/{chunk-YVGC7QT7.js → chunk-MG6TUMH7.js} +5 -5
- package/dist/{chunk-RAEOJYMR.js → chunk-MQYV5MKH.js} +9 -5
- package/dist/{chunk-OIIMYSVT.js → chunk-MTI7DQ4F.js} +7 -7
- package/dist/{chunk-6NR46VEH.js → chunk-MUURQUEM.js} +6 -6
- package/dist/{chunk-D2JJSUXI.js → chunk-MXHFJ3XF.js} +6 -3
- package/dist/{chunk-PZJYDIJI.js → chunk-N3MCZYXP.js} +1 -1
- package/dist/{chunk-B7MVYR7C.js → chunk-NBNAXWLN.js} +10 -6
- package/dist/{chunk-PLQ6CYRC.js → chunk-NNAJQJSC.js} +5 -2
- package/dist/{chunk-KFPGQ5RT.js → chunk-O2CID2IT.js} +11 -11
- package/dist/{chunk-GTS6MKPD.js → chunk-OR6R6OXI.js} +2 -2
- package/dist/{chunk-FBIGYEFN.js → chunk-OSM5E2YR.js} +6 -6
- package/dist/{chunk-FW45BTSS.js → chunk-Q2QV62WV.js} +12 -6
- package/dist/{chunk-ALRSHXXA.js → chunk-QEV4RIZR.js} +2 -1
- package/dist/{chunk-WDOI4U7K.js → chunk-QHDDNBEI.js} +10 -10
- package/dist/{chunk-ALDX2G5E.js → chunk-QKMSLSS6.js} +14 -4
- package/dist/{chunk-ANZANDQM.js → chunk-QSGSKHZL.js} +5 -5
- package/dist/{chunk-LBXIMJFU.js → chunk-QSQFJRFC.js} +5 -6
- package/dist/chunk-QVKVPYNA.js +41 -0
- package/dist/{chunk-5TMFFW3Y.js → chunk-QYMPXHK5.js} +4 -1
- package/dist/{chunk-EAUUUVUR.js → chunk-QZPBZONY.js} +8 -7
- package/dist/chunk-RDV5ETG2.js +105 -0
- package/dist/{chunk-FPOH7ETA.js → chunk-RJ6FURDA.js} +5 -5
- package/dist/{chunk-ZMCNI37U.js → chunk-RJWEBYP2.js} +11 -2
- package/dist/{chunk-DUGKLVQJ.js → chunk-RKCW27UM.js} +0 -1
- package/dist/{chunk-633N6IVU.js → chunk-S4Q2HPP5.js} +5 -2
- package/dist/chunk-SDBQOVMA.js +53 -0
- package/dist/{chunk-IVR3ZIXB.js → chunk-SL6HYI6T.js} +9 -3
- package/dist/{chunk-AMVX4DDT.js → chunk-STEGNOAK.js} +7 -7
- package/dist/{chunk-ORZVPZQP.js → chunk-T2GLXMC7.js} +2 -1
- package/dist/{chunk-HKOPYHLZ.js → chunk-TCCKCLEZ.js} +7 -19
- package/dist/{chunk-WBRRSZW4.js → chunk-TLPJA7QP.js} +4 -1
- package/dist/{chunk-XUZH4Y52.js → chunk-TN3ATHN7.js} +23 -22
- package/dist/{chunk-PZA44CGX.js → chunk-TOGS33KA.js} +10 -7
- package/dist/{chunk-YF3XSH54.js → chunk-TQKGGJ4W.js} +9 -3
- package/dist/{chunk-MKCLD2HJ.js → chunk-TXHOOVX7.js} +34 -16
- package/dist/{chunk-4CIRS3OI.js → chunk-UHNZ3I66.js} +2 -1
- package/dist/{chunk-EWSQCTIB.js → chunk-UHW53LWK.js} +0 -1
- package/dist/{chunk-ID5GN2VU.js → chunk-UNE53KA2.js} +4 -1
- package/dist/{chunk-4WCMPLE3.js → chunk-UQWPG5BH.js} +9 -5
- package/dist/{chunk-OSZXWKKH.js → chunk-URXTC4RD.js} +5 -4
- package/dist/{chunk-FK2LKLRN.js → chunk-VDSYL3LA.js} +0 -1
- package/dist/{chunk-M362TW4G.js → chunk-VYFSYD3Z.js} +4 -1
- package/dist/{chunk-YDKATODA.js → chunk-W3AUNR4J.js} +2 -2
- package/dist/{chunk-AMFNY7IA.js → chunk-W42RQZ2S.js} +7 -4
- package/dist/{chunk-DUXOV6MO.js → chunk-WGHJKPVG.js} +1 -1
- package/dist/{chunk-4GF7WTR3.js → chunk-WSN6SDBH.js} +1 -1
- package/dist/{chunk-XCKKECIR.js → chunk-WSYMYSW3.js} +3 -3
- package/dist/{chunk-2SOX7WUL.js → chunk-WYFRNK6S.js} +4 -4
- package/dist/{chunk-2PQIPQGO.js → chunk-XDIWPIKO.js} +14 -10
- package/dist/{chunk-JE2MAZGR.js → chunk-XILRY6LB.js} +1 -1
- package/dist/{chunk-QJ7QZWXJ.js → chunk-XKJ3KMMO.js} +12 -7
- package/dist/{chunk-ZNH7MSLM.js → chunk-XWQNDAL5.js} +1 -1
- package/dist/{chunk-N7XJO5Q4.js → chunk-XXOJGQF6.js} +0 -1
- package/dist/{chunk-ZO25PAJA.js → chunk-Y5NPX36Y.js} +34 -16
- package/dist/{chunk-5OSKT7O3.js → chunk-YGRYE53G.js} +7 -7
- package/dist/{chunk-LQR5OD3Z.js → chunk-YSUGZLB5.js} +4 -1
- package/dist/{chunk-ZXHMJKJY.js → chunk-YTQSVOA7.js} +1 -1
- package/dist/{chunk-G3FPQ3XG.js → chunk-YV5WZJGS.js} +13 -9
- package/dist/{chunk-JGZHWQGV.js → chunk-YVRTO4XC.js} +4 -1
- package/dist/{chunk-GBOJUMMY.js → chunk-YXFUOERB.js} +6 -6
- package/dist/{chunk-DZU5SMC3.js → chunk-Z3PHHGUZ.js} +4 -4
- package/dist/{chunk-RXOVKEYG.js → chunk-Z77R5OHW.js} +3 -3
- package/dist/{chunk-G7WTEBMX.js → chunk-ZGJUXBLD.js} +11 -7
- package/dist/{chunk-IF6CWIUB.js → chunk-ZIC4VJ2T.js} +1 -1
- package/dist/{chunk-X2VID7XY.js → chunk-ZIL4N5BT.js} +2 -2
- package/dist/{chunk-FXXR3FM3.js → chunk-ZLIFMMAH.js} +10 -7
- package/dist/{chunk-IBJA4ZM5.js → chunk-ZMP7XCON.js} +8 -2
- package/dist/citations.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 +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/context-meter.js +1 -1
- package/dist/cookie-consent.js +1 -1
- package/dist/copy-button.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/date-picker-aui-050.js +1 -1
- package/dist/date-picker-aui-051.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/dialog.js +1 -1
- package/dist/drawer.js +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/event-calendar.js +1 -1
- package/dist/field.js +1 -1
- package/dist/file-card.js +1 -1
- package/dist/file-manager.js +6 -6
- package/dist/file-upload.js +1 -1
- package/dist/footer-aui-027.js +1 -1
- package/dist/footer-aui-028.js +1 -1
- package/dist/footer.js +1 -1
- package/dist/image-compare.js +1 -1
- package/dist/inbox.js +1 -1
- package/dist/index.js +186 -152
- 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.js +1 -1
- package/dist/invoice.js +1 -1
- package/dist/menubar.js +1 -1
- package/dist/meter.js +1 -1
- package/dist/model-picker.js +1 -1
- package/dist/motion-button.js +1 -1
- package/dist/navbar-aui-009.js +1 -1
- package/dist/navbar-aui-010.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-aui-014.js +1 -1
- package/dist/navbar.js +1 -1
- package/dist/notification-center.js +1 -1
- package/dist/number-input.js +1 -1
- package/dist/onboarding.js +1 -1
- package/dist/otp-input-aui-041.js +1 -1
- package/dist/otp-input-aui-042.js +1 -1
- package/dist/pagination.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.js +1 -1
- package/dist/price-alert.js +1 -1
- package/dist/price-chart.js +1 -1
- package/dist/pricing-aui-021.js +1 -1
- package/dist/pricing-aui-022.js +1 -1
- package/dist/pricing-aui-023.js +1 -1
- package/dist/pricing-aui-024.js +1 -1
- package/dist/pricing.js +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/properties-panel.js +1 -1
- package/dist/radio-group-aui-055.js +1 -1
- package/dist/radio-group-aui-056.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rating.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/select-aui-043.js +1 -1
- package/dist/select-aui-044.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/sidebar.js +1 -1
- 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/slider-aui-063.js +1 -1
- package/dist/split-bill.js +1 -1
- package/dist/stat-card.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/switch-aui-058.js +1 -1
- package/dist/switch-aui-059.js +1 -1
- package/dist/switch-aui-060.js +1 -1
- package/dist/tabs.js +1 -1
- 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 +2 -2
- package/dist/testimonials.js +1 -1
- package/dist/textarea-aui-003.js +1 -1
- package/dist/textarea-aui-005.js +1 -1
- package/dist/textarea-aui-007.js +1 -1
- package/dist/textarea-aui-008.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/thinking.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/token-swap.js +1 -1
- package/dist/tool-approval.js +1 -1
- package/dist/tool-dock.js +1 -1
- package/dist/trace-waterfall.js +1 -1
- package/dist/trade-ticket.js +1 -1
- package/dist/tree-view.js +1 -1
- package/dist/types/components/kit/accordion.d.ts +4 -3
- package/dist/types/components/kit/base/navbar.d.ts +2 -0
- package/dist/types/components/kit/base/pricing.d.ts +4 -1
- package/dist/types/components/kit/navbar.d.ts +2 -0
- package/dist/types/components/kit/pricing.d.ts +4 -1
- package/dist/types/components/kit/variants/button-aui-064.d.ts +21 -0
- package/dist/types/components/kit/variants/button-aui-065.d.ts +26 -0
- package/dist/types/components/kit/variants/button-aui-066.d.ts +19 -0
- package/dist/types/components/kit/variants/button-aui-067.d.ts +23 -0
- package/dist/types/components/kit/variants/button-aui-068.d.ts +28 -0
- package/dist/types/packages/asta-ui/src/base/accordion.d.ts +2 -2
- package/dist/types/packages/asta-ui/src/base/button-aui-064.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/button-aui-065.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/button-aui-066.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/button-aui-067.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base/button-aui-068.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/base.d.ts +12 -2
- package/dist/types/packages/asta-ui/src/button-aui-064.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/button-aui-065.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/button-aui-066.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/button-aui-067.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/button-aui-068.d.ts +2 -0
- package/dist/types/packages/asta-ui/src/index.d.ts +10 -0
- package/dist/watchlist.js +1 -1
- package/dist/workspace-switcher.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-B7V4ZTKI.js +0 -53
- package/dist/chunk-XTP6ITUJ.js +0 -55
- package/dist/types/components/kit/base/accordion.d.ts +0 -19
package/dist/billing.js
CHANGED
package/dist/breadcrumb.js
CHANGED
package/dist/carousel.js
CHANGED
package/dist/chart-card.js
CHANGED
package/dist/checkbox-aui-052.js
CHANGED
package/dist/checkbox-aui-053.js
CHANGED
package/dist/checkbox-aui-054.js
CHANGED
package/dist/checkbox.js
CHANGED
package/dist/checkout.js
CHANGED
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Checkout,
|
|
4
4
|
checkout_default
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-AMVX4DDT.js";
|
|
5
|
+
} from "./chunk-HBKB2GXI.js";
|
|
7
6
|
import "./chunk-5ZQ6PMJT.js";
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YV5WZJGS.js";
|
|
9
8
|
export {
|
|
10
9
|
Checkout,
|
|
11
10
|
checkout_default as default
|
|
@@ -168,7 +168,7 @@ function PhoneInput({
|
|
|
168
168
|
"+",
|
|
169
169
|
country.dial
|
|
170
170
|
] }),
|
|
171
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
171
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3 w-3 text-mute transition-transform duration-200", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
|
|
172
172
|
]
|
|
173
173
|
}
|
|
174
174
|
),
|
|
@@ -192,7 +192,7 @@ function PhoneInput({
|
|
|
192
192
|
className: "h-full min-w-0 flex-1 bg-transparent px-3 text-[16px] sm:text-[14px] tabular-nums text-ink outline-none placeholder:text-mute"
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
|
-
/* @__PURE__ */ jsx("span", { className: "flex w-9 shrink-0 justify-center text-brand", children: valid && /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
195
|
+
/* @__PURE__ */ jsx("span", { className: "flex w-9 shrink-0 justify-center text-brand", children: valid && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "asta-phone-a h-4 w-4 animate-[asta-phone-ok_.35s_cubic-bezier(.16,1,.3,1)_both]", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", role: "img", "aria-label": "Complete number", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }) })
|
|
196
196
|
]
|
|
197
197
|
}
|
|
198
198
|
),
|
|
@@ -241,7 +241,7 @@ function PhoneInput({
|
|
|
241
241
|
"+",
|
|
242
242
|
c.dial
|
|
243
243
|
] }),
|
|
244
|
-
c.code === country.code && /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
244
|
+
c.code === country.code && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) })
|
|
245
245
|
]
|
|
246
246
|
},
|
|
247
247
|
c.code
|
|
@@ -250,9 +250,10 @@ function PhoneInput({
|
|
|
250
250
|
] })
|
|
251
251
|
] }),
|
|
252
252
|
message ? /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "flex items-start gap-1.5 text-[12px] text-ink-2", children: [
|
|
253
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
254
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
255
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
253
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
254
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
255
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
256
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
256
257
|
] }),
|
|
257
258
|
message
|
|
258
259
|
] }) : hint && /* @__PURE__ */ jsx("p", { id: `${id}-hint`, className: "text-[12px] text-mute", children: hint }),
|
|
@@ -19,10 +19,10 @@ function Mark({ index, state }) {
|
|
|
19
19
|
),
|
|
20
20
|
children: [
|
|
21
21
|
/* @__PURE__ */ jsx("span", { className: cx("transition-[opacity,transform] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none", done ? "scale-50 opacity-0" : "scale-100 opacity-100"), children: index + 1 }),
|
|
22
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
22
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "absolute h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
|
|
23
23
|
"path",
|
|
24
24
|
{
|
|
25
|
-
d: "
|
|
25
|
+
d: "m5 12.5 4.5 4.5L19 7.5",
|
|
26
26
|
pathLength: 1,
|
|
27
27
|
strokeDasharray: 1,
|
|
28
28
|
strokeDashoffset: done ? 0 : 1,
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/kit/accordion.tsx
|
|
4
|
+
import { useId, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
|
+
function Accordion({ items, type = "single", defaultOpen = [], className }) {
|
|
8
|
+
const [open, setOpen] = useState(() => type === "single" ? defaultOpen.slice(0, 1) : defaultOpen);
|
|
9
|
+
const uid = useId();
|
|
10
|
+
const toggle = (id) => setOpen((o) => o.includes(id) ? o.filter((x) => x !== id) : type === "single" ? [id] : [...o, id]);
|
|
11
|
+
const move = (e) => {
|
|
12
|
+
const step = e.key === "ArrowDown" ? 1 : e.key === "ArrowUp" ? -1 : 0;
|
|
13
|
+
if (!step && e.key !== "Home" && e.key !== "End") return;
|
|
14
|
+
const root = e.currentTarget.closest("[data-kit-accordion]");
|
|
15
|
+
if (!root) return;
|
|
16
|
+
const all = [...root.querySelectorAll("[data-kit-acc-trigger]")].filter((b) => b.closest("[data-kit-accordion]") === root);
|
|
17
|
+
const i = all.indexOf(e.currentTarget);
|
|
18
|
+
const n = e.key === "Home" ? 0 : e.key === "End" ? all.length - 1 : (i + step + all.length) % all.length;
|
|
19
|
+
e.preventDefault();
|
|
20
|
+
all[n]?.focus();
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ jsx("div", { "data-kit-accordion": true, className: cx("flex w-full flex-col gap-1.5", className), children: items.map((it) => {
|
|
23
|
+
const on = open.includes(it.id);
|
|
24
|
+
const t = `${uid}-${it.id}-t`;
|
|
25
|
+
const p = `${uid}-${it.id}-p`;
|
|
26
|
+
return /* @__PURE__ */ jsxs(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
"data-state": on ? "open" : "closed",
|
|
30
|
+
className: cx(
|
|
31
|
+
"group/acc rounded-xl bg-paper-2 transition-[background-color,box-shadow] duration-300",
|
|
32
|
+
"data-[state=open]:bg-paper data-[state=open]:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_8px_24px_-14px_rgb(0_0_0/0.25)]"
|
|
33
|
+
),
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ jsx("h3", { children: /* @__PURE__ */ jsxs(
|
|
36
|
+
"button",
|
|
37
|
+
{
|
|
38
|
+
id: t,
|
|
39
|
+
type: "button",
|
|
40
|
+
"data-kit-acc-trigger": true,
|
|
41
|
+
"aria-expanded": on,
|
|
42
|
+
"aria-controls": p,
|
|
43
|
+
onClick: () => toggle(it.id),
|
|
44
|
+
onKeyDown: move,
|
|
45
|
+
className: "group flex w-full items-center justify-between gap-4 rounded-xl px-4 py-3.5 text-left text-[14.5px] font-medium tracking-[-0.01em] text-ink outline-none focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
46
|
+
children: [
|
|
47
|
+
it.title,
|
|
48
|
+
/* @__PURE__ */ jsxs(
|
|
49
|
+
"span",
|
|
50
|
+
{
|
|
51
|
+
"aria-hidden": true,
|
|
52
|
+
className: "relative flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-paper text-ink-2 transition-colors duration-300 group-hover:text-ink group-data-[state=open]/acc:bg-ink group-data-[state=open]/acc:text-paper",
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "absolute h-[1.5px] w-2.5 rounded-full bg-current" }),
|
|
55
|
+
/* @__PURE__ */ jsx("span", { className: "absolute h-2.5 w-[1.5px] rounded-full bg-current transition-transform duration-500 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/acc:rotate-90 group-data-[state=open]/acc:scale-y-0 motion-reduce:transition-none" })
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
) }),
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
id: p,
|
|
66
|
+
role: "region",
|
|
67
|
+
"aria-labelledby": t,
|
|
68
|
+
inert: !on,
|
|
69
|
+
className: "grid transition-[grid-template-rows] duration-[450ms] ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none",
|
|
70
|
+
style: { gridTemplateRows: on ? "1fr" : "0fr" },
|
|
71
|
+
children: /* @__PURE__ */ jsx("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: cx("px-4 pb-4 text-[14px] leading-relaxed text-ink-2 transition-opacity duration-300", on ? "opacity-100" : "opacity-0"), children: it.content }) })
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
it.id
|
|
77
|
+
);
|
|
78
|
+
}) });
|
|
79
|
+
}
|
|
80
|
+
var accordion_default = Accordion;
|
|
81
|
+
|
|
82
|
+
export {
|
|
83
|
+
Accordion,
|
|
84
|
+
accordion_default
|
|
85
|
+
};
|
|
@@ -24,10 +24,10 @@ function Check({ state, onToggle, label }) {
|
|
|
24
24
|
on || mixed ? "bg-brand shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_1px_2px_rgb(0_0_0/0.2)]" : "bg-paper shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_22%,transparent)] hover:shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_40%,transparent)]"
|
|
25
25
|
),
|
|
26
26
|
children: [
|
|
27
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
27
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "col-start-1 row-start-1 h-3 w-3 text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
|
|
28
28
|
"path",
|
|
29
29
|
{
|
|
30
|
-
d: "
|
|
30
|
+
d: "m5 12.5 4.5 4.5L19 7.5",
|
|
31
31
|
pathLength: 1,
|
|
32
32
|
strokeDasharray: "1",
|
|
33
33
|
className: "transition-[stroke-dashoffset] ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none",
|
|
@@ -40,7 +40,7 @@ function Check({ state, onToggle, label }) {
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
var ALIGN = { left: "text-left justify-start", center: "text-center justify-center", right: "text-right justify-end" };
|
|
43
|
-
var Chevron = ({ dir }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
43
|
+
var Chevron = ({ dir }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: dir === "left" ? "M14.5 6l-6 6 6 6" : "M9.5 6l6 6-6 6" }) });
|
|
44
44
|
function DataTable({
|
|
45
45
|
columns,
|
|
46
46
|
data,
|
|
@@ -109,9 +109,9 @@ function DataTable({
|
|
|
109
109
|
/* @__PURE__ */ jsx("style", { href: "asta-data-table", precedence: "asta", children: KEYFRAMES }),
|
|
110
110
|
(searchable || actions) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
111
111
|
searchable && /* @__PURE__ */ jsxs("label", { className: "flex h-9 min-w-0 flex-1 items-center gap-2 rounded-lg bg-paper px-3 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] transition-shadow duration-200 focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)] sm:max-w-[280px]", children: [
|
|
112
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
113
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
114
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
112
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
113
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
114
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ jsx(
|
|
117
117
|
"input",
|
|
@@ -157,10 +157,10 @@ function DataTable({
|
|
|
157
157
|
),
|
|
158
158
|
children: [
|
|
159
159
|
c.header,
|
|
160
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ jsxs(
|
|
161
161
|
"svg",
|
|
162
162
|
{
|
|
163
|
-
viewBox: "0 0
|
|
163
|
+
viewBox: "0 0 24 24",
|
|
164
164
|
className: cx(
|
|
165
165
|
"h-3 w-3 transition-[transform,opacity] duration-300 ease-[cubic-bezier(.16,1,.3,1)]",
|
|
166
166
|
active ? "opacity-100" : "opacity-0 group-hover/sort:opacity-40 group-focus-visible/sort:opacity-40",
|
|
@@ -168,11 +168,14 @@ function DataTable({
|
|
|
168
168
|
),
|
|
169
169
|
fill: "none",
|
|
170
170
|
stroke: "currentColor",
|
|
171
|
-
strokeWidth: "
|
|
171
|
+
strokeWidth: "2.7",
|
|
172
172
|
strokeLinecap: "round",
|
|
173
173
|
strokeLinejoin: "round",
|
|
174
174
|
"aria-hidden": true,
|
|
175
|
-
children:
|
|
175
|
+
children: [
|
|
176
|
+
/* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
|
|
177
|
+
/* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
|
|
178
|
+
]
|
|
176
179
|
}
|
|
177
180
|
)
|
|
178
181
|
]
|
|
@@ -184,9 +187,10 @@ function DataTable({
|
|
|
184
187
|
})
|
|
185
188
|
] }) }),
|
|
186
189
|
/* @__PURE__ */ jsx("tbody", { children: view.length === 0 ? /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: cols, className: "px-4 py-14 text-center", children: q ? /* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-[260px] flex-col items-center gap-1.5", children: [
|
|
187
|
-
/* @__PURE__ */ jsx("span", { className: "grid h-10 w-10 place-items-center rounded-[10px] bg-paper-2 text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
188
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
189
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
190
|
+
/* @__PURE__ */ jsx("span", { className: "grid h-10 w-10 place-items-center rounded-[10px] bg-paper-2 text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
191
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
192
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" }),
|
|
193
|
+
/* @__PURE__ */ jsx("path", { d: "M8 10.5h5" })
|
|
190
194
|
] }) }),
|
|
191
195
|
/* @__PURE__ */ jsx("p", { className: "mt-1.5 text-[14px] font-medium text-ink", children: "No matches" }),
|
|
192
196
|
/* @__PURE__ */ jsxs("p", { className: "text-[13px] text-mute", children: [
|
|
@@ -98,9 +98,10 @@ function FloatingInput({
|
|
|
98
98
|
className: cx("mt-1.5 flex items-center gap-1.5 pl-1 text-[12.5px] leading-snug", error ? "text-ink" : "text-mute"),
|
|
99
99
|
style: { animation: "aui029-in .3s cubic-bezier(.16,1,.3,1) both" },
|
|
100
100
|
children: [
|
|
101
|
-
error && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
102
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
103
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
101
|
+
error && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
102
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
103
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
104
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
104
105
|
] }),
|
|
105
106
|
msg
|
|
106
107
|
]
|
|
@@ -81,15 +81,16 @@ function Like({ count, liked, pop, onToggle }) {
|
|
|
81
81
|
/* @__PURE__ */ jsx(
|
|
82
82
|
"svg",
|
|
83
83
|
{
|
|
84
|
-
viewBox: "0 0
|
|
84
|
+
viewBox: "0 0 24 24",
|
|
85
85
|
className: "h-3.5 w-3.5",
|
|
86
86
|
fill: liked ? "currentColor" : "none",
|
|
87
87
|
stroke: "currentColor",
|
|
88
|
-
strokeWidth: "
|
|
88
|
+
strokeWidth: "2.25",
|
|
89
|
+
strokeLinecap: "round",
|
|
89
90
|
strokeLinejoin: "round",
|
|
90
91
|
"aria-hidden": true,
|
|
91
92
|
style: pop && liked ? { animation: `kit-cm-pop .45s ${CURVE}` } : void 0,
|
|
92
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
93
|
+
children: /* @__PURE__ */ jsx("path", { d: "M12 19.5s-7.5-4.4-7.5-10A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 7.5 2.5c0 5.6-7.5 10-7.5 10Z" })
|
|
93
94
|
},
|
|
94
95
|
liked ? "on" : "off"
|
|
95
96
|
),
|
|
@@ -5,12 +5,12 @@ import { useRef, useState } from "react";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
7
|
var TOOLS = [
|
|
8
|
-
{ id: "bold", label: "Bold", key: "b", before: "**", after: "**", d: "
|
|
9
|
-
{ id: "italic", label: "Italic", key: "i", before: "_", after: "_", d: "M10
|
|
10
|
-
{ id: "code", label: "Code", key: "e", before: "`", after: "`", d: "
|
|
11
|
-
{ id: "link", label: "Link", key: "k", before: "[", after: "](https://)", d: "
|
|
12
|
-
{ id: "quote", label: "Quote", before: "> ", after: "", line: true, d: "
|
|
13
|
-
{ id: "list", label: "List", before: "- ", after: "", line: true, d: "
|
|
8
|
+
{ id: "bold", label: "Bold", key: "b", before: "**", after: "**", d: "M7 4.5h5.5a3.75 3.75 0 0 1 0 7.5H7ZM7 12h6.5a3.75 3.75 0 0 1 0 7.5H7Z" },
|
|
9
|
+
{ id: "italic", label: "Italic", key: "i", before: "_", after: "_", d: "M10 4.5h8M6 19.5h8M14 4.5l-4 15" },
|
|
10
|
+
{ id: "code", label: "Code", key: "e", before: "`", after: "`", d: "M8.5 7l-5 5 5 5M15.5 7l5 5-5 5" },
|
|
11
|
+
{ id: "link", label: "Link", key: "k", before: "[", after: "](https://)", d: "M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1" },
|
|
12
|
+
{ id: "quote", label: "Quote", before: "> ", after: "", line: true, d: "M9.5 11.5h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3.5-1.5 5.5-5 6.5M19 11.5h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3.5-1.5 5.5-5 6.5" },
|
|
13
|
+
{ id: "list", label: "List", before: "- ", after: "", line: true, d: "M9 6.5h11M9 12h11M9 17.5h11M4.5 6.5h.01M4.5 12h.01M4.5 17.5h.01" }
|
|
14
14
|
];
|
|
15
15
|
function MarkdownTextarea({ tools = TOOLS.map((t) => t.id), className, rows = 6, ...rest }) {
|
|
16
16
|
const area = useRef(null);
|
|
@@ -69,7 +69,7 @@ function MarkdownTextarea({ tools = TOOLS.map((t) => t.id), className, rows = 6,
|
|
|
69
69
|
"grid h-7 w-7 place-items-center rounded-md text-mute transition-[background-color,color,transform] duration-200 ease-[cubic-bezier(.16,1,.3,1)] hover:bg-paper hover:text-ink active:scale-90 motion-reduce:transition-none",
|
|
70
70
|
flash === t.id && "scale-90 bg-paper text-brand"
|
|
71
71
|
),
|
|
72
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
72
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: t.d }) })
|
|
73
73
|
},
|
|
74
74
|
t.id
|
|
75
75
|
)) }),
|
|
@@ -127,7 +127,10 @@ function EmailTagInput({
|
|
|
127
127
|
},
|
|
128
128
|
"aria-label": `Remove ${e}`,
|
|
129
129
|
className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-[5px] text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
130
|
-
children: /* @__PURE__ */
|
|
130
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
131
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
132
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
133
|
+
] })
|
|
131
134
|
}
|
|
132
135
|
)
|
|
133
136
|
]
|
|
@@ -178,9 +181,10 @@ function EmailTagInput({
|
|
|
178
181
|
),
|
|
179
182
|
name && list.filter(isEmailAddress).map((e) => /* @__PURE__ */ jsx("input", { type: "hidden", name, value: e }, e)),
|
|
180
183
|
/* @__PURE__ */ jsx("p", { id: `${id}-status`, "aria-live": "polite", className: "mt-2 flex h-5 items-center gap-1.5 overflow-hidden pl-1 text-[12px] text-mute", children: /* @__PURE__ */ jsxs("span", { className: cx("flex items-center gap-1.5", bad.length > 0 && "text-ink"), style: { animation: `aui048-line .4s ${EASE} both` }, children: [
|
|
181
|
-
bad.length > 0 && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
182
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
183
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
184
|
+
bad.length > 0 && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
185
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
186
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
187
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
184
188
|
] }),
|
|
185
189
|
status
|
|
186
190
|
] }, status) })
|
|
@@ -14,15 +14,15 @@ function DropdownMenu({ children, groups, align = "start", variant = "outline",
|
|
|
14
14
|
/* @__PURE__ */ jsx(
|
|
15
15
|
"svg",
|
|
16
16
|
{
|
|
17
|
-
viewBox: "0 0
|
|
17
|
+
viewBox: "0 0 24 24",
|
|
18
18
|
className: "-mr-1 h-3.5 w-3.5 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[popup-open]/trigger:rotate-180",
|
|
19
19
|
fill: "none",
|
|
20
20
|
stroke: "currentColor",
|
|
21
|
-
strokeWidth: "
|
|
21
|
+
strokeWidth: "2.55",
|
|
22
22
|
strokeLinecap: "round",
|
|
23
23
|
strokeLinejoin: "round",
|
|
24
24
|
"aria-hidden": true,
|
|
25
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
25
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
|
|
26
26
|
}
|
|
27
27
|
)
|
|
28
28
|
] }),
|
|
@@ -24,7 +24,10 @@ var rise = (i, on = true) => on ? { animation: `aui018-rise .6s ${EASE} ${80 + i
|
|
|
24
24
|
var validEmail = (v) => /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(v.trim());
|
|
25
25
|
var wait = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
26
26
|
var Spinner = () => /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent" });
|
|
27
|
-
var Arrow = () => /* @__PURE__ */
|
|
27
|
+
var Arrow = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
28
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
29
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
30
|
+
] });
|
|
28
31
|
function Field({ label, name, type, inputMode, value, onChange, error, shake, autoComplete, placeholder, inputRef, onKeyUp, hint, end }) {
|
|
29
32
|
const id = useId();
|
|
30
33
|
const box = useRef(null);
|
|
@@ -69,9 +72,10 @@ function Field({ label, name, type, inputMode, value, onChange, error, shake, au
|
|
|
69
72
|
end && /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 right-1 flex items-center", children: end })
|
|
70
73
|
] }),
|
|
71
74
|
hasError && /* @__PURE__ */ jsxs("p", { id: `${id}-err`, role: "alert", className: "flex items-center gap-1.5 text-[12.5px] text-ink", style: { animation: `aui018-in .3s ${EASE} both` }, children: [
|
|
72
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
73
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
74
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
75
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
76
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
77
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
78
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
75
79
|
] }),
|
|
76
80
|
error
|
|
77
81
|
] })
|
|
@@ -232,7 +236,7 @@ function StepSignIn({ brand = "Astabyte", title = "Sign in to Astabyte", subtitl
|
|
|
232
236
|
RING
|
|
233
237
|
),
|
|
234
238
|
children: [
|
|
235
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
239
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "ml-1 h-4 w-4 shrink-0 text-mute transition-transform duration-300 group-hover:-translate-x-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m14.5 6-6 6 6 6" }) }),
|
|
236
240
|
/* @__PURE__ */ jsxs("span", { className: "relative flex h-9 w-9 shrink-0", "aria-hidden": true, children: [
|
|
237
241
|
step === 1 && /* @__PURE__ */ jsx("span", { className: "absolute inset-0 rounded-full bg-brand", style: { animation: `aui018-halo .9s ${EASE} 350ms both` } }),
|
|
238
242
|
/* @__PURE__ */ jsx(
|
|
@@ -283,10 +287,10 @@ function StepSignIn({ brand = "Astabyte", title = "Sign in to Astabyte", subtitl
|
|
|
283
287
|
"aria-label": reveal ? "Hide password" : "Show password",
|
|
284
288
|
"aria-pressed": reveal,
|
|
285
289
|
className: "flex h-9 w-9 items-center justify-center rounded-[8px] text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
286
|
-
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
287
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
288
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
289
|
-
!reveal && /* @__PURE__ */ jsx("path", { d: "
|
|
290
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
291
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
|
|
292
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75" }),
|
|
293
|
+
!reveal && /* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15" })
|
|
290
294
|
] })
|
|
291
295
|
}
|
|
292
296
|
)
|