asta-ui 0.9.8 → 0.10.0
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 +21 -10
- package/css/runtime/overlays.js +17 -0
- package/css/src/core.css +5 -5
- 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 +3 -3
- 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/button.js +1 -1
- 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 +3 -4
- 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 +2 -2
- package/dist/base/context-menu.js +1 -1
- package/dist/base/context-meter.js +1 -1
- package/dist/base/cookie-consent.js +2 -2
- 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 +2 -2
- package/dist/base/empty-state.js +2 -2
- 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 +7 -7
- 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 +2 -2
- package/dist/base/image-compare.js +1 -1
- package/dist/base/inbox.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/base/notification-center.js +1 -1
- package/dist/base/number-input.js +1 -1
- package/dist/base/onboarding.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +187 -153
- package/dist/billing.js +3 -3
- 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/button.js +1 -1
- 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 +3 -4
- package/dist/{chunk-5ZQ6PMJT.js → chunk-22ILG5VV.js} +2 -2
- 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-FA4A2EGP.js → chunk-2RUX5OTU.js} +5 -4
- package/dist/{chunk-3PLQKAD7.js → chunk-2U3WJCWO.js} +15 -5
- package/dist/{chunk-VTTXURIB.js → chunk-32GWAA4A.js} +4 -3
- package/dist/{chunk-3XHG7P5T.js → chunk-3F4MIHEK.js} +7 -7
- package/dist/{chunk-LOHFV5JF.js → chunk-3MH5O4HX.js} +7 -7
- package/dist/{chunk-7PHSPBJK.js → chunk-3N7SRANH.js} +8 -4
- 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-VI6565XF.js → chunk-5CD5RMFF.js} +32 -18
- 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-3PSV752Q.js → chunk-7E5ZWVOH.js} +1 -1
- 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-CMOI7V4H.js → chunk-7YF3BCAH.js} +18 -9
- 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-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-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-2SOX7WUL.js → chunk-BT7K6WI5.js} +5 -5
- package/dist/{chunk-ZO25PAJA.js → chunk-BTSLCG3J.js} +35 -17
- package/dist/chunk-C5NGITT4.js +90 -0
- package/dist/{chunk-W2S6JDBM.js → chunk-CGMVTIMW.js} +13 -13
- package/dist/{chunk-VIFKQE2H.js → chunk-CYU52LAD.js} +2 -2
- 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-DITROAPF.js → chunk-DQNJLPQZ.js} +119 -39
- package/dist/{chunk-KATSSAVI.js → chunk-DSMKE64O.js} +2 -1
- package/dist/{chunk-HKOPYHLZ.js → chunk-DUAMPG7T.js} +8 -20
- package/dist/{chunk-MT3VMDV4.js → chunk-DXFIPXJJ.js} +5 -2
- package/dist/{chunk-3PLPK7QK.js → chunk-DY5Z45NW.js} +4 -1
- package/dist/{chunk-MKCLD2HJ.js → chunk-E4ZM7ZFL.js} +35 -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-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-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-DZU5SMC3.js → chunk-HGQK3XJB.js} +5 -5
- 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-P3XPSBST.js → chunk-HKNI3L5Q.js} +4 -4
- package/dist/{chunk-6NR46VEH.js → chunk-HON5QYW7.js} +7 -7
- package/dist/{chunk-OSZXWKKH.js → chunk-IS35SPLR.js} +6 -5
- package/dist/{chunk-QYI7LQBQ.js → chunk-ITC5UU7V.js} +1 -1
- package/dist/{chunk-WOMLNEGP.js → chunk-IUOKOPNY.js} +4 -3
- package/dist/{chunk-MSBN2O66.js → chunk-J65FSZ6X.js} +1 -1
- package/dist/{chunk-ZJLQDN5R.js → chunk-JIQIQ7IZ.js} +5 -4
- package/dist/{chunk-DSLKU6QJ.js → chunk-JZNZUL3S.js} +119 -39
- 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-ZNH7MSLM.js → chunk-KMYHXVOF.js} +2 -2
- 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-PNN2M3V3.js → chunk-KY6XHDJY.js} +13 -7
- package/dist/{chunk-YUOEZYRP.js → chunk-L4G2YUXT.js} +0 -1
- package/dist/{chunk-RPOV3WAK.js → chunk-L7SG34PT.js} +14 -14
- package/dist/{chunk-5ZTFP7P6.js → chunk-LBUUCJQE.js} +18 -9
- package/dist/{chunk-CDQNLDO6.js → chunk-LLI33GKW.js} +4 -4
- package/dist/{chunk-QWOO4V7N.js → chunk-LO4TYPLL.js} +8 -2
- package/dist/{chunk-BWYPKOG3.js → chunk-M32LPQKJ.js} +1 -1
- package/dist/{chunk-BT77ALVB.js → chunk-M4NEGTL3.js} +4 -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-D2JJSUXI.js → chunk-MXHFJ3XF.js} +6 -3
- package/dist/{chunk-PZJYDIJI.js → chunk-N3MCZYXP.js} +1 -1
- package/dist/{chunk-YDKATODA.js → chunk-N3ZDCARL.js} +3 -3
- 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-QEHCINJG.js → chunk-PFKHMDTK.js} +6 -5
- package/dist/{chunk-ALRSHXXA.js → chunk-QEV4RIZR.js} +2 -1
- package/dist/{chunk-WDOI4U7K.js → chunk-QHDDNBEI.js} +10 -10
- package/dist/{chunk-XCKKECIR.js → chunk-QIZHAGI4.js} +4 -4
- package/dist/{chunk-H7OVE6OB.js → chunk-QJH5ZLJ7.js} +32 -18
- 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-L67VH7II.js → chunk-R74CPGM2.js} +2 -2
- 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-FW45BTSS.js → chunk-TKXFGPCY.js} +13 -7
- 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-OFWUA5BO.js → chunk-TSYFDGCR.js} +3 -3
- 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-ALDX2G5E.js → chunk-V5SXW6U7.js} +15 -5
- package/dist/{chunk-FK2LKLRN.js → chunk-VDSYL3LA.js} +0 -1
- package/dist/{chunk-M362TW4G.js → chunk-VYFSYD3Z.js} +4 -1
- package/dist/{chunk-AMFNY7IA.js → chunk-W42RQZ2S.js} +7 -4
- package/dist/{chunk-HSDMCZMX.js → chunk-W5ZXNQUJ.js} +2 -2
- package/dist/{chunk-DUXOV6MO.js → chunk-WGHJKPVG.js} +1 -1
- package/dist/{chunk-Z5TG7ZGD.js → chunk-WQM3JDLU.js} +8 -20
- package/dist/{chunk-4GF7WTR3.js → chunk-WSN6SDBH.js} +1 -1
- 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-XGNTNUAT.js → chunk-XQQ2USYE.js} +2 -2
- package/dist/{chunk-N7XJO5Q4.js → chunk-XXOJGQF6.js} +0 -1
- package/dist/{chunk-XSNQN67K.js → chunk-YE6GLSZ4.js} +1 -1
- 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-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 +2 -2
- package/dist/context-menu.js +1 -1
- package/dist/context-meter.js +1 -1
- package/dist/cookie-consent.js +2 -2
- 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 +2 -2
- package/dist/empty-state.js +2 -2
- 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 +7 -7
- 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 +2 -2
- package/dist/image-compare.js +1 -1
- package/dist/inbox.js +2 -2
- package/dist/index.js +188 -154
- 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 +2 -2
- 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 +2 -2
- package/dist/notification-center.js +1 -1
- package/dist/number-input.js +1 -1
- package/dist/onboarding.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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
|
@@ -56,11 +56,14 @@ function StatusIcon({ status, small }) {
|
|
|
56
56
|
/* @__PURE__ */ jsx("path", { d: "M16 9a7 7 0 0 0-7-7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
57
57
|
] });
|
|
58
58
|
if (status === "done")
|
|
59
|
-
return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-brand text-on-brand animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
59
|
+
return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-brand text-on-brand animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: 1, className: "asta-plan-a animate-[asta-plan-draw_.45s_cubic-bezier(.16,1,.3,1)_.1s_both]" }) }) });
|
|
60
60
|
if (status === "failed")
|
|
61
|
-
return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-ink text-paper animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ jsx("span", { className: cx(box, "asta-plan-a grid shrink-0 place-items-center rounded-full bg-ink text-paper animate-[asta-plan-pop_.35s_cubic-bezier(.16,1,.3,1)_both]"), "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", children: [
|
|
62
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
63
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
64
|
+
] }) });
|
|
62
65
|
if (status === "skipped")
|
|
63
|
-
return /* @__PURE__ */ jsx("span", { className: cx(box, "grid shrink-0 place-items-center rounded-full text-mute shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
66
|
+
return /* @__PURE__ */ jsx("span", { className: cx(box, "grid shrink-0 place-items-center rounded-full text-mute shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-[70%] w-[70%]", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) }) });
|
|
64
67
|
return /* @__PURE__ */ jsx("span", { className: cx(box, "shrink-0 rounded-full shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_20%,transparent)]"), "aria-hidden": true });
|
|
65
68
|
}
|
|
66
69
|
var WORD = { pending: "Pending", running: "Running", done: "Done", skipped: "Skipped", failed: "Failed" };
|
|
@@ -150,16 +153,16 @@ function AgentPlan({ title, steps, action, footer, className }) {
|
|
|
150
153
|
canOpen && /* @__PURE__ */ jsx(
|
|
151
154
|
"svg",
|
|
152
155
|
{
|
|
153
|
-
viewBox: "0 0
|
|
156
|
+
viewBox: "0 0 24 24",
|
|
154
157
|
"aria-hidden": true,
|
|
155
158
|
className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300", open && "rotate-90"),
|
|
156
159
|
style: { transitionTimingFunction: CURVE },
|
|
157
160
|
fill: "none",
|
|
158
161
|
stroke: "currentColor",
|
|
159
|
-
strokeWidth: "
|
|
162
|
+
strokeWidth: "2.55",
|
|
160
163
|
strokeLinecap: "round",
|
|
161
164
|
strokeLinejoin: "round",
|
|
162
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
165
|
+
children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" })
|
|
163
166
|
}
|
|
164
167
|
)
|
|
165
168
|
] });
|
|
@@ -22,7 +22,6 @@ function Tabs({ tabs, value, defaultValue, onChange, variant = "underline", labe
|
|
|
22
22
|
prev.current = index;
|
|
23
23
|
setBar({ l: el.offsetLeft, r: box.scrollWidth - el.offsetLeft - el.offsetWidth, dir });
|
|
24
24
|
};
|
|
25
|
-
measure();
|
|
26
25
|
const ro = new ResizeObserver(measure);
|
|
27
26
|
if (list.current) ro.observe(list.current);
|
|
28
27
|
return () => ro.disconnect();
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
// components/lab/blocks/PriceChart.tsx
|
|
7
7
|
import { useEffect, useRef, useState } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
var USD2 = new Intl.NumberFormat("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
9
10
|
var N = 64;
|
|
10
11
|
var UP = "var(--brand)";
|
|
11
12
|
var DOWN = "var(--mute)";
|
|
@@ -219,7 +220,7 @@ function PriceChart() {
|
|
|
219
220
|
/* @__PURE__ */ jsxs("div", { className: "relative z-10", children: [
|
|
220
221
|
/* @__PURE__ */ jsx("p", { className: "font-mono text-[11px] uppercase tracking-[0.12em] text-mute", children: "ASTA / USD" }),
|
|
221
222
|
/* @__PURE__ */ jsxs("div", { className: "mt-2 flex flex-wrap items-center gap-3", children: [
|
|
222
|
-
/* @__PURE__ */ jsx("span", { className: "text-[clamp(1.9rem,5.5vw,3rem)] font-medium leading-none tracking-[-0.04em] text-ink", children: /* @__PURE__ */ jsx(Roll, { text:
|
|
223
|
+
/* @__PURE__ */ jsx("span", { className: "text-[clamp(1.9rem,5.5vw,3rem)] font-medium leading-none tracking-[-0.04em] text-ink", children: /* @__PURE__ */ jsx(Roll, { text: USD2.format(price) }) }),
|
|
223
224
|
/* @__PURE__ */ jsxs(
|
|
224
225
|
"span",
|
|
225
226
|
{
|
|
@@ -127,7 +127,7 @@ function SaveState({ status }) {
|
|
|
127
127
|
return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "relative block h-5 w-[58px]", children: [
|
|
128
128
|
/* @__PURE__ */ jsx("span", { className: "absolute inset-0 flex items-center justify-end transition-[transform,opacity] duration-300", style: { opacity: saving ? 1 : 0, transform: saving ? "none" : "translateY(-4px)", transitionTimingFunction: EASE }, children: /* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded-full border-[1.5px] border-[color-mix(in_srgb,var(--ink)_25%,transparent)] border-t-ink", style: { animation: saving ? "aui058-spin .7s linear infinite" : "none" } }) }),
|
|
129
129
|
/* @__PURE__ */ jsxs("span", { className: "absolute inset-0 flex items-center justify-end gap-1 text-[12px] font-medium text-brand transition-[transform,opacity] duration-500", style: { opacity: saved ? 1 : 0, transform: saved ? "none" : "translateY(4px)", transitionTimingFunction: EASE }, children: [
|
|
130
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
130
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: saved ? 0 : 1, transitionDuration: saved ? "420ms" : "0ms", transitionDelay: saved ? "80ms" : "0ms", transitionTimingFunction: EASE } }) }),
|
|
131
131
|
"Saved"
|
|
132
132
|
] })
|
|
133
133
|
] });
|
|
@@ -11,7 +11,7 @@ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
|
|
|
11
11
|
var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)]";
|
|
12
12
|
var HOVER = "hover:bg-[color-mix(in_srgb,var(--ink)_4%,transparent)]";
|
|
13
13
|
var ON = "bg-[color-mix(in_srgb,var(--ink)_6%,transparent)]";
|
|
14
|
-
var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
14
|
+
var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
15
15
|
function Logo({ w, size = "sm" }) {
|
|
16
16
|
return /* @__PURE__ */ jsx(
|
|
17
17
|
"span",
|
|
@@ -206,7 +206,7 @@ function Sidebar({
|
|
|
206
206
|
HOVER
|
|
207
207
|
),
|
|
208
208
|
children: [
|
|
209
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
209
|
+
/* @__PURE__ */ jsx(Icon, { d: "M5.5 4.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2ZM9.5 4.5v15M15.5 10l-2 2 2 2", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
|
|
210
210
|
collapsed && /* @__PURE__ */ jsx(Tip, { children: "Expand" })
|
|
211
211
|
]
|
|
212
212
|
}
|
|
@@ -264,7 +264,7 @@ function Sidebar({
|
|
|
264
264
|
promo.onDismiss?.();
|
|
265
265
|
},
|
|
266
266
|
className: "absolute right-2 top-2 z-10 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",
|
|
267
|
-
children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
267
|
+
children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3.5 w-3.5" })
|
|
268
268
|
}
|
|
269
269
|
)
|
|
270
270
|
]
|
|
@@ -289,7 +289,7 @@ function Sidebar({
|
|
|
289
289
|
)
|
|
290
290
|
}
|
|
291
291
|
),
|
|
292
|
-
/* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "
|
|
292
|
+
/* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z" }) }) }),
|
|
293
293
|
/* @__PURE__ */ jsx(Label, { hidden: collapsed, className: "relative", children: /* @__PURE__ */ jsx("span", { className: "block text-center", children: cta.label }) }),
|
|
294
294
|
!collapsed && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "w-10 shrink-0" }),
|
|
295
295
|
collapsed && /* @__PURE__ */ jsx(Tip, { children: cta.label })
|
|
@@ -319,7 +319,7 @@ function Sidebar({
|
|
|
319
319
|
/* @__PURE__ */ jsx(
|
|
320
320
|
Icon,
|
|
321
321
|
{
|
|
322
|
-
d: "
|
|
322
|
+
d: "M8 9l4-4 4 4M8 15l4 4 4-4",
|
|
323
323
|
className: cx("mr-2 shrink-0 text-mute transition-opacity duration-300", collapsed ? "opacity-0" : "opacity-100")
|
|
324
324
|
}
|
|
325
325
|
),
|
|
@@ -359,7 +359,7 @@ function Sidebar({
|
|
|
359
359
|
/* @__PURE__ */ jsx("span", { className: "truncate text-[13.5px] text-ink", children: w.name }),
|
|
360
360
|
w.plan && /* @__PURE__ */ jsx("span", { className: "truncate text-[11.5px] text-mute", children: w.plan })
|
|
361
361
|
] }),
|
|
362
|
-
on && /* @__PURE__ */ jsx(Icon, { d: "
|
|
362
|
+
on && /* @__PURE__ */ jsx(Icon, { d: "M5 12.5l4.5 4.5L19 7.5", className: "shrink-0 text-brand" })
|
|
363
363
|
]
|
|
364
364
|
},
|
|
365
365
|
w.id
|
|
@@ -214,9 +214,11 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
|
|
|
214
214
|
open && "!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_30%,transparent)]"
|
|
215
215
|
),
|
|
216
216
|
children: [
|
|
217
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
218
|
-
/* @__PURE__ */ jsx("rect", { x: "
|
|
219
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
217
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 shrink-0", sel ? "text-brand" : "text-[color-mix(in_srgb,var(--paper)_50%,transparent)]"), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
218
|
+
/* @__PURE__ */ jsx("rect", { x: "4", y: "5.5", width: "16", height: "14.5", rx: "2" }),
|
|
219
|
+
/* @__PURE__ */ jsx("path", { d: "M4 10h16" }),
|
|
220
|
+
/* @__PURE__ */ jsx("path", { d: "M8.5 3.5v4" }),
|
|
221
|
+
/* @__PURE__ */ jsx("path", { d: "M15.5 3.5v4" })
|
|
220
222
|
] }),
|
|
221
223
|
/* @__PURE__ */ jsx("span", { className: "font-mono text-[10.5px] uppercase tracking-[0.08em] text-[color-mix(in_srgb,var(--paper)_50%,transparent)]", children: label }),
|
|
222
224
|
/* @__PURE__ */ jsxs("span", { className: "text-[13.5px] font-medium tabular-nums tracking-[-0.01em]", children: [
|
|
@@ -224,7 +226,7 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
|
|
|
224
226
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: text })
|
|
225
227
|
] }),
|
|
226
228
|
relText && /* @__PURE__ */ jsx("span", { className: "hidden text-[12px] text-[color-mix(in_srgb,var(--paper)_50%,transparent)] sm:inline", children: relText }),
|
|
227
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
229
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 shrink-0 text-[color-mix(in_srgb,var(--paper)_50%,transparent)] transition-transform duration-300", 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" }) })
|
|
228
230
|
]
|
|
229
231
|
}
|
|
230
232
|
),
|
|
@@ -281,7 +283,7 @@ function PresetDatePicker({ value, defaultValue, onChange, presets = PRESETS, la
|
|
|
281
283
|
flip(d);
|
|
282
284
|
},
|
|
283
285
|
className: "flex h-7 w-7 items-center justify-center rounded-[7px] text-[color-mix(in_srgb,var(--paper)_70%,transparent)] outline-none transition-[background-color,transform] duration-150 hover:bg-[color-mix(in_srgb,var(--paper)_10%,transparent)] hover:text-paper focus-visible:ring-2 focus-visible:ring-brand/70 active:scale-90",
|
|
284
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
286
|
+
children: /* @__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: d === 1 ? "M9.5 6l6 6-6 6" : "M14.5 6l-6 6 6 6" }) })
|
|
285
287
|
},
|
|
286
288
|
d
|
|
287
289
|
)) })
|
|
@@ -11,7 +11,7 @@ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
|
|
|
11
11
|
var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)]";
|
|
12
12
|
var HOVER = "hover:bg-[color-mix(in_srgb,var(--ink)_4%,transparent)]";
|
|
13
13
|
var ON = "bg-[color-mix(in_srgb,var(--ink)_6%,transparent)]";
|
|
14
|
-
var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
14
|
+
var Icon = ({ d, className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
15
15
|
function Logo({ w, size = "sm" }) {
|
|
16
16
|
return /* @__PURE__ */ jsx(
|
|
17
17
|
"span",
|
|
@@ -206,7 +206,7 @@ function Sidebar({
|
|
|
206
206
|
HOVER
|
|
207
207
|
),
|
|
208
208
|
children: [
|
|
209
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
209
|
+
/* @__PURE__ */ jsx(Icon, { d: "M5.5 4.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2ZM9.5 4.5v15M15.5 10l-2 2 2 2", className: cx("transition-transform duration-500", EASE, collapsed && "-scale-x-100") }),
|
|
210
210
|
collapsed && /* @__PURE__ */ jsx(Tip, { children: "Expand" })
|
|
211
211
|
]
|
|
212
212
|
}
|
|
@@ -264,7 +264,7 @@ function Sidebar({
|
|
|
264
264
|
promo.onDismiss?.();
|
|
265
265
|
},
|
|
266
266
|
className: "absolute right-2 top-2 z-10 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",
|
|
267
|
-
children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
267
|
+
children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3.5 w-3.5" })
|
|
268
268
|
}
|
|
269
269
|
)
|
|
270
270
|
]
|
|
@@ -289,7 +289,7 @@ function Sidebar({
|
|
|
289
289
|
)
|
|
290
290
|
}
|
|
291
291
|
),
|
|
292
|
-
/* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "
|
|
292
|
+
/* @__PURE__ */ jsx("span", { className: "relative flex w-10 shrink-0 justify-center", children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper [&_svg]:h-3 [&_svg]:w-3", children: cta.icon ?? /* @__PURE__ */ jsx(Icon, { d: "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z" }) }) }),
|
|
293
293
|
/* @__PURE__ */ jsx(Label, { hidden: collapsed, className: "relative", children: /* @__PURE__ */ jsx("span", { className: "block text-center", children: cta.label }) }),
|
|
294
294
|
!collapsed && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "w-10 shrink-0" }),
|
|
295
295
|
collapsed && /* @__PURE__ */ jsx(Tip, { children: cta.label })
|
|
@@ -319,7 +319,7 @@ function Sidebar({
|
|
|
319
319
|
/* @__PURE__ */ jsx(
|
|
320
320
|
Icon,
|
|
321
321
|
{
|
|
322
|
-
d: "
|
|
322
|
+
d: "M8 9l4-4 4 4M8 15l4 4 4-4",
|
|
323
323
|
className: cx("mr-2 shrink-0 text-mute transition-opacity duration-300", collapsed ? "opacity-0" : "opacity-100")
|
|
324
324
|
}
|
|
325
325
|
),
|
|
@@ -359,7 +359,7 @@ function Sidebar({
|
|
|
359
359
|
/* @__PURE__ */ jsx("span", { className: "truncate text-[13.5px] text-ink", children: w.name }),
|
|
360
360
|
w.plan && /* @__PURE__ */ jsx("span", { className: "truncate text-[11.5px] text-mute", children: w.plan })
|
|
361
361
|
] }),
|
|
362
|
-
on && /* @__PURE__ */ jsx(Icon, { d: "
|
|
362
|
+
on && /* @__PURE__ */ jsx(Icon, { d: "M5 12.5l4.5 4.5L19 7.5", className: "shrink-0 text-brand" })
|
|
363
363
|
]
|
|
364
364
|
},
|
|
365
365
|
w.id
|
|
@@ -58,7 +58,11 @@ function Meter({ label, value = 0, max, segments, format = (n) => n.toLocaleStri
|
|
|
58
58
|
] })
|
|
59
59
|
] }),
|
|
60
60
|
warn ? /* @__PURE__ */ jsxs("p", { className: "asta-meter-a flex animate-[asta-meter-fade_.4s_cubic-bezier(.16,1,.3,1)_both] items-center gap-1.5 font-medium text-ink", children: [
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ jsxs("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: [
|
|
62
|
+
/* @__PURE__ */ jsx("path", { d: "M10.3 4.6 3 17.5A2 2 0 0 0 4.7 20.5h14.6a2 2 0 0 0 1.7-3L13.7 4.6a2 2 0 0 0-3.4 0Z" }),
|
|
63
|
+
/* @__PURE__ */ jsx("path", { d: "M12 9.5v4" }),
|
|
64
|
+
/* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
|
|
65
|
+
] }),
|
|
62
66
|
warning
|
|
63
67
|
] }, "warn") : /* @__PURE__ */ jsxs("p", { className: "tabular-nums text-mute", children: [
|
|
64
68
|
Math.round(share * 100),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/sign-in.tsx
|
|
7
7
|
import { useEffect, useId, useRef, useState } from "react";
|
|
@@ -178,10 +178,10 @@ function SignInCard({ title = "Welcome back", subtitle = "Sign in to continue to
|
|
|
178
178
|
"aria-label": reveal ? "Hide password" : "Show password",
|
|
179
179
|
"aria-pressed": reveal,
|
|
180
180
|
className: "flex h-8 w-8 items-center justify-center rounded-lg text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
181
|
-
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
182
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
183
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
184
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
181
|
+
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: [
|
|
182
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
|
|
183
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75" }),
|
|
184
|
+
/* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15", className: cx("transition-[stroke-dashoffset] duration-300", EASE), strokeDasharray: "22", strokeDashoffset: reveal ? 22 : 0 })
|
|
185
185
|
] })
|
|
186
186
|
}
|
|
187
187
|
)
|
|
@@ -19,14 +19,14 @@ function passwordStrength(value, rules = DEFAULT_PASSWORD_RULES) {
|
|
|
19
19
|
return { score, max: rules.length, passed, word, strong: score === rules.length };
|
|
20
20
|
}
|
|
21
21
|
function Eye({ hidden }) {
|
|
22
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
23
|
-
/* @__PURE__ */ jsx("path", { d: "M2.5
|
|
22
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[18px] w-[18px]", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
23
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
|
|
24
24
|
/* @__PURE__ */ jsx(
|
|
25
25
|
"circle",
|
|
26
26
|
{
|
|
27
|
-
cx: "
|
|
28
|
-
cy: "
|
|
29
|
-
r: "2.
|
|
27
|
+
cx: "12",
|
|
28
|
+
cy: "12",
|
|
29
|
+
r: "2.75",
|
|
30
30
|
className: "origin-center transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] [transform-box:fill-box] motion-reduce:transition-none",
|
|
31
31
|
style: { transform: hidden ? "scale(.55)" : "scale(1)" }
|
|
32
32
|
}
|
|
@@ -34,7 +34,7 @@ function Eye({ hidden }) {
|
|
|
34
34
|
/* @__PURE__ */ jsx(
|
|
35
35
|
"path",
|
|
36
36
|
{
|
|
37
|
-
d: "
|
|
37
|
+
d: "m4.5 4.5 15 15",
|
|
38
38
|
pathLength: 1,
|
|
39
39
|
strokeDasharray: 1,
|
|
40
40
|
strokeDashoffset: hidden ? 0 : 1,
|
|
@@ -51,10 +51,10 @@ function Tick({ on }) {
|
|
|
51
51
|
"relative flex h-4 w-4 shrink-0 items-center justify-center rounded-full transition-[background-color,box-shadow] duration-300",
|
|
52
52
|
on ? "bg-brand text-on-brand" : "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_20%,transparent)]"
|
|
53
53
|
),
|
|
54
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
54
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx(
|
|
55
55
|
"path",
|
|
56
56
|
{
|
|
57
|
-
d: "
|
|
57
|
+
d: "m5 12.5 4.5 4.5L19 7.5",
|
|
58
58
|
pathLength: 1,
|
|
59
59
|
strokeDasharray: 1,
|
|
60
60
|
strokeDashoffset: on ? 0 : 1,
|
|
@@ -7,10 +7,13 @@ var cx = (...c) => c.filter(Boolean).join(" ");
|
|
|
7
7
|
var KEYFRAMES = `@keyframes asta-tree-in { from { opacity: 0; transform: translateY(-4px) } }`;
|
|
8
8
|
var isFolder = (n) => n.children !== void 0;
|
|
9
9
|
function FolderIcon({ open }) {
|
|
10
|
-
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
10
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: open ? /* @__PURE__ */ jsx("path", { d: "M4 18V6.5A1.5 1.5 0 0 1 5.5 5h3.75l2 2.5H17A1.5 1.5 0 0 1 18.5 9v1.5M4 18l2.4-6.4a1.5 1.5 0 0 1 1.4-1.1h12a1 1 0 0 1 .95 1.3L18.8 18a1.5 1.5 0 0 1-1.4 1H5a1 1 0 0 1-1-1Z" }) : /* @__PURE__ */ jsx("path", { d: "M3.5 7A1.5 1.5 0 0 1 5 5.5h4.5l2 2.5H19a1.5 1.5 0 0 1 1.5 1.5v8A1.5 1.5 0 0 1 19 19H5a1.5 1.5 0 0 1-1.5-1.5Z" }) });
|
|
11
11
|
}
|
|
12
12
|
function FileIcon() {
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", { d: "M6 3.5h8l4.5 4.5v12.5H6Z" }),
|
|
15
|
+
/* @__PURE__ */ jsx("path", { d: "M14 3.5V8h4.5" })
|
|
16
|
+
] });
|
|
14
17
|
}
|
|
15
18
|
function TreeView({ nodes, selected, defaultSelected = null, onSelect, expanded, defaultExpanded = [], onExpandedChange, label, className }) {
|
|
16
19
|
const [innerSel, setInnerSel] = useState(defaultSelected);
|
|
@@ -207,7 +210,7 @@ function TreeView({ nodes, selected, defaultSelected = null, onSelect, expanded,
|
|
|
207
210
|
toggle(n.id);
|
|
208
211
|
},
|
|
209
212
|
className: "grid h-4 w-4 shrink-0 place-items-center text-mute",
|
|
210
|
-
children: folder && /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
213
|
+
children: folder && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3 w-3 transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none", open && "rotate-90"), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) })
|
|
211
214
|
}
|
|
212
215
|
),
|
|
213
216
|
/* @__PURE__ */ jsx("span", { className: cx("inline-flex h-4 w-4 shrink-0 transition-colors [&_svg]:h-4 [&_svg]:w-4", isSel ? "text-brand" : "text-mute group-hover/row:text-ink-2"), children: n.icon ?? (folder ? /* @__PURE__ */ jsx(FolderIcon, { open }) : /* @__PURE__ */ jsx(FileIcon, {})) }),
|
|
@@ -8,7 +8,10 @@ var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
|
|
|
8
8
|
var BASE = "group/mb relative inline-flex h-11 shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-[10px] px-5 text-[14px] font-medium tracking-[-0.01em] outline-none transition-[transform,background-color,color,box-shadow] duration-300 active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper disabled:pointer-events-none disabled:opacity-45";
|
|
9
9
|
var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)]";
|
|
10
10
|
var LIFT = "shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_1px_2px_rgb(0_0_0/0.16),0_6px_14px_-8px_rgb(0_0_0/0.45)]";
|
|
11
|
-
var ArrowIcon = ({ className = "" }) => /* @__PURE__ */
|
|
11
|
+
var ArrowIcon = ({ className = "" }) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4", className), fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
12
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
13
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
14
|
+
] });
|
|
12
15
|
var Styles = () => /* @__PURE__ */ jsx("style", { href: "asta-motion-button", precedence: "asta", children: `
|
|
13
16
|
@keyframes kit-beam { to { transform: rotate(1turn) } }
|
|
14
17
|
@keyframes kit-shine { from { transform: translateX(-120%) skewX(-20deg) } to { transform: translateX(340%) skewX(-20deg) } }
|
|
@@ -184,19 +187,21 @@ function CopyButton({ value, children = "Copy", className, ...rest }) {
|
|
|
184
187
|
/* @__PURE__ */ jsxs(
|
|
185
188
|
"svg",
|
|
186
189
|
{
|
|
187
|
-
viewBox: "0 0
|
|
190
|
+
viewBox: "0 0 24 24",
|
|
188
191
|
className: cx("col-start-1 row-start-1 h-4 w-4 transition-[transform,opacity] duration-300", EASE, done ? "scale-50 opacity-0" : "scale-100 opacity-100"),
|
|
189
192
|
fill: "none",
|
|
190
193
|
stroke: "currentColor",
|
|
191
|
-
strokeWidth: "
|
|
194
|
+
strokeWidth: "2.25",
|
|
195
|
+
strokeLinecap: "round",
|
|
196
|
+
strokeLinejoin: "round",
|
|
192
197
|
"aria-hidden": true,
|
|
193
198
|
children: [
|
|
194
|
-
/* @__PURE__ */ jsx("rect", { x: "5", y: "5", width: "
|
|
195
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
199
|
+
/* @__PURE__ */ jsx("rect", { x: "8.5", y: "8.5", width: "11", height: "11", rx: "2" }),
|
|
200
|
+
/* @__PURE__ */ jsx("path", { d: "M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2" })
|
|
196
201
|
]
|
|
197
202
|
}
|
|
198
203
|
),
|
|
199
|
-
done && /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
204
|
+
done && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "col-start-1 row-start-1 h-4 w-4 text-brand", style: { animation: "kit-pop .45s cubic-bezier(.16,1,.3,1) both" }, 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" }) })
|
|
200
205
|
] }),
|
|
201
206
|
/* @__PURE__ */ jsx("span", { className: "relative block h-[1.25em] overflow-hidden leading-[1.25]", children: /* @__PURE__ */ jsxs("span", { className: cx("flex flex-col transition-transform duration-500", EASE, done && "-translate-y-1/2"), children: [
|
|
202
207
|
/* @__PURE__ */ jsx("span", { children }),
|
|
@@ -259,10 +264,16 @@ function ConfirmButton({
|
|
|
259
264
|
}
|
|
260
265
|
),
|
|
261
266
|
/* @__PURE__ */ jsx("span", { className: "relative inline-flex items-center gap-2", style: { animation: "kit-pop .4s cubic-bezier(.16,1,.3,1) both" }, children: stage === "done" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
262
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
267
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", 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" }) }),
|
|
263
268
|
doneLabel
|
|
264
269
|
] }) : stage === "ask" ? confirmLabel : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
265
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__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: [
|
|
271
|
+
/* @__PURE__ */ jsx("path", { d: "M4 7h16" }),
|
|
272
|
+
/* @__PURE__ */ jsx("path", { d: "M9.5 7V4.5h5V7" }),
|
|
273
|
+
/* @__PURE__ */ jsx("path", { d: "m6 7 1 13h10l1-13" }),
|
|
274
|
+
/* @__PURE__ */ jsx("path", { d: "M10 11v5.5" }),
|
|
275
|
+
/* @__PURE__ */ jsx("path", { d: "M14 11v5.5" })
|
|
276
|
+
] }),
|
|
266
277
|
children
|
|
267
278
|
] }) }, stage)
|
|
268
279
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
buttonClass
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/base/dropdown-menu.tsx
|
|
7
7
|
import { Menu } from "@base-ui/react/menu";
|
|
@@ -14,15 +14,15 @@ function DropdownMenu({ children, groups, align = "start", variant = "outline",
|
|
|
14
14
|
/* @__PURE__ */ jsx(
|
|
15
15
|
"svg",
|
|
16
16
|
{
|
|
17
|
-
viewBox: "0 0
|
|
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
|
] }),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-7IOMROVG.js";
|
|
5
5
|
import {
|
|
6
6
|
Button
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
8
8
|
|
|
9
9
|
// components/kit/base/inbox.tsx
|
|
10
10
|
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -15,10 +15,10 @@ var KEYFRAMES = `@keyframes asta-inbox-in { from { opacity: 0; transform: transl
|
|
|
15
15
|
@keyframes asta-inbox-bar { from { opacity: 0; transform: translateY(100%) } }
|
|
16
16
|
@keyframes asta-inbox-star { 0% { transform: scale(1) } 40% { transform: scale(1.35) rotate(-12deg) } 100% { transform: scale(1) } }
|
|
17
17
|
@media (prefers-reduced-motion: reduce) { .asta-inbox-a { animation: none !important; transition: none !important } }`;
|
|
18
|
-
var Icon = ({ d, className = "h-4 w-4", fill }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
19
|
-
var STAR = "
|
|
20
|
-
var ARCHIVE = "
|
|
21
|
-
var MAIL = "
|
|
18
|
+
var Icon = ({ d, className = "h-4 w-4", fill }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, fill: fill ? "currentColor" : "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
19
|
+
var STAR = "M12 3.8l2.5 5.1 5.6.8-4 4 .9 5.6-5-2.7-5 2.7.9-5.6-4-4 5.6-.8Z";
|
|
20
|
+
var ARCHIVE = "M4 4.5h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-16a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1ZM5 8.5v10A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5v-10M10 12h4";
|
|
21
|
+
var MAIL = "M5.5 5.5h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2ZM4 7l8 6 8-6";
|
|
22
22
|
function Inbox({ messages, onArchive, onReply, height = 560, className }) {
|
|
23
23
|
const [list, setList] = useState(messages);
|
|
24
24
|
const [sel, setSel] = useState(messages[0]?.id ?? null);
|
|
@@ -147,7 +147,7 @@ function Inbox({ messages, onArchive, onReply, height = 560, className }) {
|
|
|
147
147
|
] })
|
|
148
148
|
] }),
|
|
149
149
|
/* @__PURE__ */ jsxs("label", { className: "flex h-9 items-center gap-2 rounded-lg bg-paper-2 px-2.5 text-mute focus-within:shadow-[inset_0_0_0_1px_var(--brand)]", children: [
|
|
150
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
150
|
+
/* @__PURE__ */ jsx(Icon, { d: "M4.5 10.5a6 6 0 1 0 12 0a6 6 0 1 0-12 0M15 15l5 5", className: "h-3.5 w-3.5 shrink-0" }),
|
|
151
151
|
/* @__PURE__ */ jsx(
|
|
152
152
|
"input",
|
|
153
153
|
{
|
|
@@ -263,7 +263,7 @@ function Inbox({ messages, onArchive, onReply, height = 560, className }) {
|
|
|
263
263
|
style: { transitionTimingFunction: EASE },
|
|
264
264
|
children: open ? /* @__PURE__ */ jsxs("div", { className: "asta-inbox-a flex min-h-0 flex-1 animate-[asta-inbox-in_.35s_cubic-bezier(.16,1,.3,1)_both] flex-col", children: [
|
|
265
265
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 px-3 py-2.5", children: [
|
|
266
|
-
/* @__PURE__ */ jsx("button", { type: "button", onClick: () => setView("list"), "aria-label": "Back to inbox", className: cx(ghost, "@min-[640px]:hidden"), children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
266
|
+
/* @__PURE__ */ jsx("button", { type: "button", onClick: () => setView("list"), "aria-label": "Back to inbox", className: cx(ghost, "@min-[640px]:hidden"), children: /* @__PURE__ */ jsx(Icon, { d: "M14.5 6l-6 6 6 6" }) }),
|
|
267
267
|
/* @__PURE__ */ jsxs("div", { className: "ml-auto flex items-center gap-0.5", children: [
|
|
268
268
|
/* @__PURE__ */ jsx("button", { type: "button", onClick: () => archive(open.id), "aria-label": "Archive (e)", title: "Archive \xB7 e", className: ghost, children: /* @__PURE__ */ jsx(Icon, { d: ARCHIVE }) }),
|
|
269
269
|
/* @__PURE__ */ jsx("button", { type: "button", onClick: () => patch(open.id, { unread: !open.unread }), "aria-label": open.unread ? "Mark as read (u)" : "Mark as unread (u)", title: "Mark unread \xB7 u", className: ghost, children: /* @__PURE__ */ jsx(Icon, { d: MAIL }) }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/onboarding.tsx
|
|
7
7
|
import { useId, useRef, useState } from "react";
|
|
@@ -9,7 +9,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
10
10
|
var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
|
|
11
11
|
var CURVE = "cubic-bezier(.16,1,.3,1)";
|
|
12
|
-
var Check = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
12
|
+
var Check = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, 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" }) });
|
|
13
13
|
function Mark({ done, current }) {
|
|
14
14
|
return /* @__PURE__ */ jsxs("span", { className: "relative flex h-5 w-5 shrink-0 items-center justify-center", "aria-hidden": true, children: [
|
|
15
15
|
/* @__PURE__ */ jsx(
|
|
@@ -135,14 +135,15 @@ function Onboarding({ title = "Get set up", subtitle, steps, defaultCompleted =
|
|
|
135
135
|
/* @__PURE__ */ jsx(
|
|
136
136
|
"svg",
|
|
137
137
|
{
|
|
138
|
-
viewBox: "0 0
|
|
138
|
+
viewBox: "0 0 24 24",
|
|
139
139
|
className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300", EASE, isOpen && "rotate-180"),
|
|
140
140
|
fill: "none",
|
|
141
141
|
stroke: "currentColor",
|
|
142
|
-
strokeWidth: "
|
|
142
|
+
strokeWidth: "2.55",
|
|
143
143
|
strokeLinecap: "round",
|
|
144
|
+
strokeLinejoin: "round",
|
|
144
145
|
"aria-hidden": true,
|
|
145
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
146
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
|
|
146
147
|
}
|
|
147
148
|
)
|
|
148
149
|
]
|
|
@@ -143,7 +143,7 @@ function PillSelect({ options = FREQ, value, defaultValue, onChange, label = "Fr
|
|
|
143
143
|
/* @__PURE__ */ jsx("span", { className: "inline-block", style: { animation: prev ? `aui044-in .5s ${EASE} both` : void 0 }, children: text }, current),
|
|
144
144
|
prev && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute left-0 top-0 inline-block", style: { animation: `aui044-out .45s ${EASE} both` }, children: prev }, `out-${current}`)
|
|
145
145
|
] }),
|
|
146
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
146
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-[0.55em] w-[0.55em] shrink-0 self-center opacity-70 transition-transform duration-300", open && "rotate-180"), fill: "none", stroke: "currentColor", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
|
|
147
147
|
]
|
|
148
148
|
}
|
|
149
149
|
),
|
|
@@ -36,9 +36,10 @@ function Field({ label, hint, error, required, aside, className, children }) {
|
|
|
36
36
|
] }),
|
|
37
37
|
/* @__PURE__ */ jsx("div", { ref: wrap, children: input }),
|
|
38
38
|
/* @__PURE__ */ jsx("div", { className: "grid text-[12.5px] leading-snug", children: error ? /* @__PURE__ */ jsxs("p", { id: `${id}-error`, role: "alert", className: "flex items-start gap-1.5 text-ink animate-[kit-field-in_.3s_cubic-bezier(.16,1,.3,1)_both]", children: [
|
|
39
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
40
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
41
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
39
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "mt-px h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
40
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
41
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
42
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
42
43
|
] }),
|
|
43
44
|
error
|
|
44
45
|
] }) : hint ? /* @__PURE__ */ jsx("p", { id: `${id}-hint`, className: "text-mute", children: hint }) : null }),
|
|
@@ -18,7 +18,7 @@ function pageRange(page, count, siblings = 1, boundaries = 1) {
|
|
|
18
18
|
if (!showEnd) return [...head, "start-gap", ...range(count - (total - boundaries - 2), count)];
|
|
19
19
|
return [...head, "start-gap", ...range(left, right), "end-gap", ...tail];
|
|
20
20
|
}
|
|
21
|
-
var Arrow = ({ dir }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
21
|
+
var Arrow = ({ dir }) => /* @__PURE__ */ jsx("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: /* @__PURE__ */ jsx("path", { d: dir === 1 ? "M9.5 6l6 6-6 6" : "M14.5 6l-6 6 6 6" }) });
|
|
22
22
|
function Pagination({ count, page, defaultPage = 1, onPageChange, siblings = 1, boundaries = 1, size = "md", label = "Pagination", className }) {
|
|
23
23
|
const [inner, setInner] = useState(defaultPage);
|
|
24
24
|
const pages = Math.max(1, count);
|