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
|
@@ -6,12 +6,12 @@ import { isValidElement } from "react";
|
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
8
8
|
var BASE = "group/btn relative inline-flex shrink-0 select-none items-center [&_svg]:shrink-0 justify-center whitespace-nowrap font-medium tracking-[-0.01em] outline-none transition-[background-color,color,box-shadow,transform,opacity] duration-200 ease-out 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 aria-disabled:pointer-events-none aria-disabled:opacity-45";
|
|
9
|
-
var LIFT = "
|
|
9
|
+
var LIFT = "bg-[image:linear-gradient(rgb(255_255_255/0.12),transparent)] shadow-[inset_0_1px_0_rgb(255_255_255/0.2),inset_0_0_0_1px_rgb(0_0_0/0.22),0_1px_2px_color-mix(in_srgb,var(--ink)_16%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_26%,transparent)]";
|
|
10
10
|
var VARIANT = {
|
|
11
11
|
solid: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))]`,
|
|
12
12
|
accent: `bg-brand text-on-brand ${LIFT} hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)]`,
|
|
13
13
|
danger: `bg-ink text-paper ${LIFT} hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))]`,
|
|
14
|
-
outline: "bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)
|
|
14
|
+
outline: "bg-paper text-ink shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_11%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_9%,transparent)] hover:bg-[color-mix(in_srgb,var(--ink)_3%,var(--paper))] hover:shadow-[inset_0_1px_0_rgb(255_255_255/0.9),inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_18%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_8%,transparent),0_4px_12px_-4px_color-mix(in_srgb,var(--ink)_12%,transparent)]",
|
|
15
15
|
soft: "bg-paper-2 text-ink hover:bg-[color-mix(in_srgb,var(--ink)_8%,var(--paper-2))]",
|
|
16
16
|
ghost: "text-ink-2 hover:bg-paper-2 hover:text-ink",
|
|
17
17
|
// Underline grows from the left on hover.
|
|
@@ -32,7 +32,7 @@ var noop = () => () => {
|
|
|
32
32
|
var todayStamp = () => day0(/* @__PURE__ */ new Date()).getTime();
|
|
33
33
|
var PLACEHOLDER = new Date(2e3, 0, 1);
|
|
34
34
|
function Arrow({ dir }) {
|
|
35
|
-
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
35
|
+
return /* @__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" }) });
|
|
36
36
|
}
|
|
37
37
|
var navBtn = "grid h-8 w-8 place-items-center rounded-md text-ink-2 outline-none transition-colors duration-200 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50";
|
|
38
38
|
function EventCalendar({ events, selected, defaultSelected, onSelect, today: todayProp, locale, weekStartsOn = 1, onEventClick, className }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/pricing.tsx
|
|
7
|
-
import {
|
|
7
|
+
import { useRef, useState } from "react";
|
|
8
8
|
import { 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)]";
|
|
@@ -27,25 +27,13 @@ function RollingNumber({ value, className = "" }) {
|
|
|
27
27
|
}
|
|
28
28
|
function BillingSwitch({ value, onChange, saving }) {
|
|
29
29
|
const refs = useRef({ monthly: null, yearly: null });
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
useLayoutEffect(() => {
|
|
33
|
-
const measure = () => {
|
|
34
|
-
const el = refs.current[value];
|
|
35
|
-
if (el) setPill((p) => p && p.x === el.offsetLeft && p.w === el.offsetWidth ? p : { x: el.offsetLeft, w: el.offsetWidth });
|
|
36
|
-
};
|
|
37
|
-
measure();
|
|
38
|
-
const ro = new ResizeObserver(measure);
|
|
39
|
-
if (box.current) ro.observe(box.current);
|
|
40
|
-
return () => ro.disconnect();
|
|
41
|
-
}, [value]);
|
|
42
|
-
return /* @__PURE__ */ jsxs("div", { ref: box, role: "radiogroup", "aria-label": "Billing period", className: "relative inline-flex rounded-[10px] bg-paper-2 p-1 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
|
|
43
|
-
pill && /* @__PURE__ */ jsx(
|
|
30
|
+
return /* @__PURE__ */ jsxs("div", { role: "radiogroup", "aria-label": "Billing period", className: "relative grid grid-cols-2 rounded-[10px] bg-paper-2 p-1 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
|
|
31
|
+
/* @__PURE__ */ jsx(
|
|
44
32
|
"span",
|
|
45
33
|
{
|
|
46
34
|
"aria-hidden": true,
|
|
47
|
-
className: cx("absolute bottom-1 top-1 rounded-[7px] bg-paper shadow-[0_1px_2px_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)] transition-
|
|
48
|
-
style: { transform:
|
|
35
|
+
className: cx("absolute bottom-1 left-1 top-1 w-[calc(50%-4px)] rounded-[7px] bg-paper shadow-[0_1px_2px_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--ink)_8%,transparent)] transition-transform duration-500 motion-reduce:transition-none", EASE),
|
|
36
|
+
style: { transform: value === "yearly" ? "translateX(100%)" : "none" }
|
|
49
37
|
}
|
|
50
38
|
),
|
|
51
39
|
["monthly", "yearly"].map((b) => /* @__PURE__ */ jsxs(
|
|
@@ -68,7 +56,7 @@ function BillingSwitch({ value, onChange, saving }) {
|
|
|
68
56
|
}
|
|
69
57
|
},
|
|
70
58
|
className: cx(
|
|
71
|
-
"relative z-10 flex h-8 items-center gap-1.5 rounded-[7px] px-4 text-[13px] font-medium capitalize outline-none transition-colors duration-300 focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
59
|
+
"relative z-10 flex h-8 items-center justify-center gap-1.5 rounded-[7px] px-4 text-[13px] font-medium capitalize outline-none transition-colors duration-300 focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
72
60
|
value === b ? "text-ink" : "text-mute hover:text-ink"
|
|
73
61
|
),
|
|
74
62
|
children: [
|
|
@@ -80,7 +68,7 @@ function BillingSwitch({ value, onChange, saving }) {
|
|
|
80
68
|
))
|
|
81
69
|
] });
|
|
82
70
|
}
|
|
83
|
-
var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
71
|
+
var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "mt-[3px] h-3.5 w-3.5 shrink-0", 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" }) });
|
|
84
72
|
function Pricing({ plans, currency = "$", saving, defaultBilling = "monthly", className }) {
|
|
85
73
|
const [billing, setBilling] = useState(defaultBilling);
|
|
86
74
|
return /* @__PURE__ */ jsxs("div", { className: cx("flex w-full flex-col items-center gap-6", className), children: [
|
|
@@ -28,7 +28,7 @@ function Arrow({ dir, disabled, onClick }) {
|
|
|
28
28
|
disabled,
|
|
29
29
|
onClick,
|
|
30
30
|
className: "flex h-8 w-8 items-center justify-center rounded-lg text-ink outline-none transition-[background-color,opacity,transform] duration-200 hover:bg-paper-2 focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-95 disabled:pointer-events-none disabled:opacity-30",
|
|
31
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
31
|
+
children: /* @__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" }) })
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
34
|
}
|
|
@@ -110,9 +110,9 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
|
|
|
110
110
|
@keyframes kit-cmd-fade-out { to { opacity: 0 } }
|
|
111
111
|
` }),
|
|
112
112
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5 px-4 shadow-[inset_0_-1px_0_color-mix(in_srgb,var(--ink)_8%,transparent)]", children: [
|
|
113
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
114
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
115
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
113
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
114
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
115
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5", strokeLinecap: "round" })
|
|
116
116
|
] }),
|
|
117
117
|
/* @__PURE__ */ jsx(
|
|
118
118
|
"input",
|
|
@@ -173,18 +173,21 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
|
|
|
173
173
|
),
|
|
174
174
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: /* @__PURE__ */ jsx(Highlight, { text: c.label, hits }) }),
|
|
175
175
|
c.shortcut && /* @__PURE__ */ jsx("kbd", { className: "font-sans text-[11.5px] text-mute", children: c.shortcut }),
|
|
176
|
-
on && /* @__PURE__ */
|
|
176
|
+
on && /* @__PURE__ */ jsxs(
|
|
177
177
|
"svg",
|
|
178
178
|
{
|
|
179
|
-
viewBox: "0 0
|
|
179
|
+
viewBox: "0 0 24 24",
|
|
180
180
|
className: "h-3.5 w-3.5 text-mute",
|
|
181
181
|
fill: "none",
|
|
182
182
|
stroke: "currentColor",
|
|
183
|
-
strokeWidth: "
|
|
183
|
+
strokeWidth: "2.4",
|
|
184
184
|
strokeLinecap: "round",
|
|
185
185
|
strokeLinejoin: "round",
|
|
186
186
|
"aria-hidden": true,
|
|
187
|
-
children:
|
|
187
|
+
children: [
|
|
188
|
+
/* @__PURE__ */ jsx("path", { d: "M19 5v6.5a2.5 2.5 0 0 1-2.5 2.5H5" }),
|
|
189
|
+
/* @__PURE__ */ jsx("path", { d: "m9 10-4 4 4 4" })
|
|
190
|
+
]
|
|
188
191
|
}
|
|
189
192
|
)
|
|
190
193
|
]
|
|
@@ -194,9 +197,10 @@ function CommandPalette({ open, onOpenChange, commands, groups, placeholder = "T
|
|
|
194
197
|
})
|
|
195
198
|
] }, s.group)),
|
|
196
199
|
flat.length === 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center px-4 py-10 text-center", role: "status", children: [
|
|
197
|
-
/* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-paper-2 text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
198
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
199
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
200
|
+
/* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full 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: [
|
|
201
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
202
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" }),
|
|
203
|
+
/* @__PURE__ */ jsx("path", { d: "M8 10.5h5" })
|
|
200
204
|
] }) }),
|
|
201
205
|
/* @__PURE__ */ jsxs("p", { className: "mt-3 text-[14px] text-ink", children: [
|
|
202
206
|
"No results for \u201C",
|
|
@@ -93,7 +93,7 @@ function NumberInput({ value, defaultValue = 0, onChange, min = 0, max = 999, st
|
|
|
93
93
|
"flex shrink-0 select-none items-center justify-center rounded-md text-ink-2 outline-none transition-[background-color,transform,opacity] duration-150 [touch-action:manipulation] hover:bg-paper-2 hover:text-ink active:scale-90 disabled:opacity-30 disabled:hover:bg-transparent",
|
|
94
94
|
big ? "h-8 w-8" : "h-6 w-6"
|
|
95
95
|
),
|
|
96
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
96
|
+
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: dir === 1 ? /* @__PURE__ */ jsx("path", { d: "M12 5v14M5 12h14" }) : /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) })
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
};
|
|
@@ -24,7 +24,7 @@ function Star({ on, delay, pop }) {
|
|
|
24
24
|
style: pop && on ? { animation: `aui037-star .5s ${EASE} ${delay}ms both` } : void 0,
|
|
25
25
|
fill: "currentColor",
|
|
26
26
|
"aria-hidden": true,
|
|
27
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
27
|
+
children: /* @__PURE__ */ jsx("path", { d: "m12 3.8 2.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", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" })
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
@@ -142,7 +142,10 @@ function ReviewTextarea({
|
|
|
142
142
|
onClick: () => remove(i),
|
|
143
143
|
"aria-label": `Remove ${p.alt}`,
|
|
144
144
|
className: "absolute -right-1.5 -top-1.5 grid h-5 w-5 place-items-center rounded-full bg-ink text-paper opacity-0 outline-none transition-[opacity,transform] duration-200 group-hover:opacity-100 focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-90 [@media(hover:none)]:opacity-100",
|
|
145
|
-
children: /* @__PURE__ */
|
|
145
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
146
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
147
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
148
|
+
] })
|
|
146
149
|
}
|
|
147
150
|
)
|
|
148
151
|
] }, p.src)),
|
|
@@ -174,10 +177,9 @@ function ReviewTextarea({
|
|
|
174
177
|
onClick: () => picker.current?.click(),
|
|
175
178
|
className: "flex h-11 items-center gap-1.5 rounded-[8px] px-3 text-[12.5px] font-medium text-ink outline-none shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] transition-[transform,background-color] duration-200 hover:bg-paper active:scale-[.97] focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
176
179
|
children: [
|
|
177
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
178
|
-
/* @__PURE__ */ jsx("
|
|
179
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
180
|
-
/* @__PURE__ */ jsx("path", { d: "M5.5 3.5 6.4 2h3.2l.9 1.5" })
|
|
180
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
181
|
+
/* @__PURE__ */ jsx("path", { d: "M3.5 8.5A1.5 1.5 0 0 1 5 7h2.5L9 4.5h6L16.5 7H19a1.5 1.5 0 0 1 1.5 1.5v9A1.5 1.5 0 0 1 19 19H5a1.5 1.5 0 0 1-1.5-1.5Z" }),
|
|
182
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12.75", r: "3.25" })
|
|
181
183
|
] }),
|
|
182
184
|
"Add photo",
|
|
183
185
|
/* @__PURE__ */ jsxs("span", { className: "font-normal text-mute", children: [
|
|
@@ -215,7 +217,10 @@ function ReviewTextarea({
|
|
|
215
217
|
),
|
|
216
218
|
children: [
|
|
217
219
|
sent ? "Posted" : "Post review",
|
|
218
|
-
!sent && /* @__PURE__ */
|
|
220
|
+
!sent && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 transition-transform duration-300 group-enabled:group-hover:translate-x-0.5", style: { transitionTimingFunction: EASE }, fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
221
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
222
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
223
|
+
] })
|
|
219
224
|
]
|
|
220
225
|
}
|
|
221
226
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/base/footer.tsx
|
|
7
7
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -82,7 +82,7 @@ function Newsletter({ onSubscribe }) {
|
|
|
82
82
|
),
|
|
83
83
|
"aria-hidden": state !== "done",
|
|
84
84
|
children: [
|
|
85
|
-
/* @__PURE__ */ jsx("span", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-brand text-on-brand", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
85
|
+
/* @__PURE__ */ jsx("span", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-brand text-on-brand", children: /* @__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", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", strokeDasharray: "20", style: { strokeDashoffset: state === "done" ? 0 : 20, transition: "stroke-dashoffset .5s .2s" } }) }) }),
|
|
86
86
|
"You're in. First letter lands next week."
|
|
87
87
|
]
|
|
88
88
|
}
|
|
@@ -24,7 +24,6 @@ function RadioGroup({ options, value, defaultValue, onChange, variant = "cards",
|
|
|
24
24
|
const el = refs.current[index];
|
|
25
25
|
if (el) setGlide({ x: el.offsetLeft, y: el.offsetTop, w: el.offsetWidth, h: el.offsetHeight });
|
|
26
26
|
};
|
|
27
|
-
measure();
|
|
28
27
|
const ro = new ResizeObserver(measure);
|
|
29
28
|
if (box.current) ro.observe(box.current);
|
|
30
29
|
return () => ro.disconnect();
|
|
@@ -11,12 +11,12 @@ var CSS = `
|
|
|
11
11
|
@media (prefers-reduced-motion: reduce) { .aui052 * { animation: none !important; transition: none !important } }
|
|
12
12
|
`;
|
|
13
13
|
var rise = (i) => ({ animation: `aui052-rise .6s ${EASE} ${80 + i * 50}ms both` });
|
|
14
|
-
var Icon = ({ d }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
14
|
+
var Icon = ({ d }) => /* @__PURE__ */ jsx("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: /* @__PURE__ */ jsx("path", { d }) });
|
|
15
15
|
var ITEMS = [
|
|
16
|
-
{ value: "notes", title: "AI notes", description: "Summaries after every call", price: 8, icon: /* @__PURE__ */ jsx(Icon, { d: "
|
|
17
|
-
{ value: "guests", title: "Guest seats", description: "Invite clients for free", price: 5, icon: /* @__PURE__ */ jsx(Icon, { d: "M6
|
|
18
|
-
{ value: "audit", title: "Audit log", description: "Every change, kept a year", price: 12, icon: /* @__PURE__ */ jsx(Icon, { d: "
|
|
19
|
-
{ value: "support", title: "Priority support", description: "Answers within the hour", price: 9, icon: /* @__PURE__ */ jsx(Icon, { d: "
|
|
16
|
+
{ value: "notes", title: "AI notes", description: "Summaries after every call", price: 8, icon: /* @__PURE__ */ jsx(Icon, { d: "M12 3.5c.7 4.6 2.4 6.3 7 7-4.6.7-6.3 2.4-7 7-.7-4.6-2.4-6.3-7-7 4.6-.7 6.3-2.4 7-7ZM19 16.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5Z" }) },
|
|
17
|
+
{ value: "guests", title: "Guest seats", description: "Invite clients for free", price: 5, icon: /* @__PURE__ */ jsx(Icon, { d: "M6.5 8.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3.5 20a6.5 6.5 0 0 1 13 0M19 9v5M16.5 11.5h5" }) },
|
|
18
|
+
{ value: "audit", title: "Audit log", description: "Every change, kept a year", price: 12, icon: /* @__PURE__ */ jsx(Icon, { d: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5M9 13h6M9 16.5h4" }) },
|
|
19
|
+
{ value: "support", title: "Priority support", description: "Answers within the hour", price: 9, icon: /* @__PURE__ */ jsx(Icon, { d: "M4 17v-4a8 8 0 0 1 16 0v4M5 14h1a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-3a1.5 1.5 0 0 1 1.5-1.5ZM18 14h1a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-3a1.5 1.5 0 0 1 1.5-1.5Z" }) }
|
|
20
20
|
];
|
|
21
21
|
function Roll({ text }) {
|
|
22
22
|
const chars = text.split("");
|
|
@@ -153,10 +153,10 @@ function Check({ on }) {
|
|
|
153
153
|
style: { transform: on ? "scale(1)" : "scale(0.4)", opacity: on ? 1 : 0, transitionTimingFunction: SPRING }
|
|
154
154
|
}
|
|
155
155
|
),
|
|
156
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
156
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "relative h-3 w-3 text-on-brand", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx(
|
|
157
157
|
"path",
|
|
158
158
|
{
|
|
159
|
-
d: "
|
|
159
|
+
d: "m5 12.5 4.5 4.5L19 7.5",
|
|
160
160
|
pathLength: 1,
|
|
161
161
|
strokeDasharray: "1",
|
|
162
162
|
className: "transition-[stroke-dashoffset]",
|
|
@@ -73,7 +73,10 @@ function Dialog({ open, onOpenChange, title, description, children, footer, cont
|
|
|
73
73
|
{
|
|
74
74
|
"aria-label": "Close",
|
|
75
75
|
className: "absolute right-3.5 top-3.5 flex h-8 w-8 items-center justify-center rounded-full text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
76
|
-
children: /* @__PURE__ */
|
|
76
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
77
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
78
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
79
|
+
] })
|
|
77
80
|
}
|
|
78
81
|
),
|
|
79
82
|
/* @__PURE__ */ jsx(D.Title, { className: "pr-8 text-[18px] font-medium tracking-[-0.02em] text-ink", children: title }),
|
|
@@ -8,7 +8,7 @@ var KEYFRAMES = `@keyframes asta-menubar-in { from { opacity: 0; transform: tran
|
|
|
8
8
|
@media (prefers-reduced-motion: reduce) { .asta-menubar-panel { animation: none !important } }`;
|
|
9
9
|
var actionable = (it) => it.type !== "separator" && it.type !== "label";
|
|
10
10
|
var enabled = (it) => actionable(it) && !it.disabled;
|
|
11
|
-
var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
11
|
+
var Check = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.85", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) });
|
|
12
12
|
function Menubar({ menus, label = "Menu bar", className }) {
|
|
13
13
|
const [open, setOpen] = useState(null);
|
|
14
14
|
const [focus, setFocus] = useState(0);
|
|
@@ -14,10 +14,11 @@ var RING = {
|
|
|
14
14
|
error: "shadow-[inset_0_0_0_1.5px_var(--ink)] focus-within:shadow-[inset_0_0_0_1.5px_var(--ink),0_0_0_4px_color-mix(in_srgb,var(--ink)_12%,transparent)]",
|
|
15
15
|
success: "shadow-[inset_0_0_0_1px_var(--brand)] focus-within:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)]"
|
|
16
16
|
};
|
|
17
|
-
var StateIcon = ({ state }) => state === "error" ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
18
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
19
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
20
|
-
|
|
17
|
+
var StateIcon = ({ state }) => state === "error" ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-ink", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
18
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
21
|
+
] }) : state === "success" ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-brand", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }) : null;
|
|
21
22
|
function Input({ size = "md", state = "default", iconLeft, iconRight, clearable, className, inputClassName, ...rest }) {
|
|
22
23
|
const ref = useRef(null);
|
|
23
24
|
const controlled = rest.value !== void 0;
|
|
@@ -71,7 +72,10 @@ function Input({ size = "md", state = "default", iconLeft, iconRight, clearable,
|
|
|
71
72
|
"grid h-5 w-5 shrink-0 place-items-center rounded-full bg-[color-mix(in_srgb,var(--ink)_9%,transparent)] text-ink-2 outline-none transition-[transform,opacity] duration-300 ease-[cubic-bezier(.16,1,.3,1)] hover:bg-[color-mix(in_srgb,var(--ink)_16%,transparent)] focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
72
73
|
value ? "scale-100 opacity-100" : "pointer-events-none scale-50 opacity-0"
|
|
73
74
|
),
|
|
74
|
-
children: /* @__PURE__ */
|
|
75
|
+
children: /* @__PURE__ */ jsxs("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: [
|
|
76
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
77
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
78
|
+
] })
|
|
75
79
|
}
|
|
76
80
|
),
|
|
77
81
|
/* @__PURE__ */ jsx(StateIcon, { state }),
|
|
@@ -100,14 +104,14 @@ function PasswordInput(props) {
|
|
|
100
104
|
"aria-label": show ? "Hide password" : "Show password",
|
|
101
105
|
"aria-pressed": show,
|
|
102
106
|
className: "-mr-1 grid h-7 w-7 place-items-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",
|
|
103
|
-
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
104
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
105
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
107
|
+
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: [
|
|
108
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0Z" }),
|
|
109
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75", className: cx(
|
|
106
110
|
"origin-center transition-transform duration-300",
|
|
107
111
|
show ? "scale-100" : "scale-0"
|
|
108
112
|
/* perf-ok: eye pupil */
|
|
109
113
|
) }),
|
|
110
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
114
|
+
/* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset] duration-300 ease-[cubic-bezier(.16,1,.3,1)]", style: { strokeDashoffset: show ? 1 : 0 } })
|
|
111
115
|
] })
|
|
112
116
|
}
|
|
113
117
|
)
|
|
@@ -45,7 +45,10 @@ function Badge({ variant = "soft", tone = "neutral", dot, pulse, onRemove, size
|
|
|
45
45
|
"inline-flex items-center justify-center rounded-full opacity-60 outline-none transition-[opacity,background-color] hover:bg-[color-mix(in_srgb,currentColor_15%,transparent)] hover:opacity-100 focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
46
46
|
size === "sm" ? "h-4 w-4" : "h-[18px] w-[18px]"
|
|
47
47
|
),
|
|
48
|
-
children: /* @__PURE__ */
|
|
48
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
49
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
50
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
51
|
+
] })
|
|
49
52
|
}
|
|
50
53
|
),
|
|
51
54
|
/* @__PURE__ */ jsx("style", { href: "asta-badge", precedence: "asta", children: `@keyframes kit-badge-ping { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(3); opacity: 0 } }` })
|
|
@@ -57,9 +57,9 @@ function Shimmer({ text, on }) {
|
|
|
57
57
|
] });
|
|
58
58
|
}
|
|
59
59
|
function Spark({ live, className }) {
|
|
60
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
61
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
62
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
60
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx(className, "shrink-0", live ? "animate-[asta-thinking-pulse_1.6s_ease-in-out_infinite] text-brand" : "text-mute"), fill: "currentColor", "aria-hidden": true, children: [
|
|
61
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3.5c.7 4.6 2.4 6.3 7 7-4.6.7-6.3 2.4-7 7-.7-4.6-2.4-6.3-7-7 4.6-.7 6.3-2.4 7-7Z" }),
|
|
62
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5Z", opacity: ".55" })
|
|
63
63
|
] });
|
|
64
64
|
}
|
|
65
65
|
function Thinking({
|
|
@@ -104,16 +104,16 @@ function Thinking({
|
|
|
104
104
|
canOpen && /* @__PURE__ */ jsx(
|
|
105
105
|
"svg",
|
|
106
106
|
{
|
|
107
|
-
viewBox: "0 0
|
|
107
|
+
viewBox: "0 0 24 24",
|
|
108
108
|
"aria-hidden": true,
|
|
109
109
|
className: cx("h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300", isOpen && "rotate-90"),
|
|
110
110
|
style: { transitionTimingFunction: CURVE },
|
|
111
111
|
fill: "none",
|
|
112
112
|
stroke: "currentColor",
|
|
113
|
-
strokeWidth: "
|
|
113
|
+
strokeWidth: "2.55",
|
|
114
114
|
strokeLinecap: "round",
|
|
115
115
|
strokeLinejoin: "round",
|
|
116
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
116
|
+
children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" })
|
|
117
117
|
}
|
|
118
118
|
)
|
|
119
119
|
] });
|
|
@@ -137,9 +137,9 @@ function SplitOtp({ value, defaultValue = "", onChange, onComplete, error, paste
|
|
|
137
137
|
onClick: paste,
|
|
138
138
|
className: "flex h-7 items-center gap-1.5 rounded-[7px] px-2 font-medium text-ink outline-none transition-[background-color,transform] duration-200 hover:bg-paper-2 active:scale-95 focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
139
139
|
children: [
|
|
140
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
141
|
-
/* @__PURE__ */ jsx("
|
|
142
|
-
/* @__PURE__ */ jsx("
|
|
140
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
141
|
+
/* @__PURE__ */ jsx("path", { d: "M9 5H7a1.5 1.5 0 0 0-1.5 1.5v12.5A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5V6.5A1.5 1.5 0 0 0 17 5h-2" }),
|
|
142
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "3.5", width: "6", height: "3", rx: "1", strokeLinecap: "round" })
|
|
143
143
|
] }),
|
|
144
144
|
"Paste code"
|
|
145
145
|
]
|
|
@@ -32,9 +32,10 @@ var RIDGES = [
|
|
|
32
32
|
"M20.5 14.4v.6"
|
|
33
33
|
];
|
|
34
34
|
var Fingerprint = ({ className, stagger = false }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", "aria-hidden": true, children: RIDGES.map((d, i) => /* @__PURE__ */ jsx("path", { d, style: stagger ? { animation: `aui019-ridge .6s ${EASE} ${260 + i * 70}ms both`, transformOrigin: "12px 13px" } : void 0 }, d)) });
|
|
35
|
-
var ErrorIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
36
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
37
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
35
|
+
var ErrorIcon = () => /* @__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: [
|
|
36
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
37
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
38
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
38
39
|
] });
|
|
39
40
|
function shakeEl(el) {
|
|
40
41
|
if (!el || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
@@ -225,9 +226,9 @@ function PasskeySignIn({
|
|
|
225
226
|
passkeyError
|
|
226
227
|
] }),
|
|
227
228
|
device && /* @__PURE__ */ jsxs("div", { className: cx("mt-3 flex items-center gap-3 rounded-[10px] px-3 py-2.5", RING), style: rise(4), children: [
|
|
228
|
-
/* @__PURE__ */ jsx("span", { className: "flex h-7 w-7 items-center justify-center rounded-[7px] bg-paper/10", "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
229
|
-
/* @__PURE__ */ jsx("
|
|
230
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
229
|
+
/* @__PURE__ */ jsx("span", { className: "flex h-7 w-7 items-center justify-center rounded-[7px] bg-paper/10", "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
230
|
+
/* @__PURE__ */ jsx("path", { d: "M5 16V6.5A1.5 1.5 0 0 1 6.5 5h11A1.5 1.5 0 0 1 19 6.5V16" }),
|
|
231
|
+
/* @__PURE__ */ jsx("path", { d: "M3.5 16h17l1 2.5a1 1 0 0 1-.9 1.5H3.4a1 1 0 0 1-.9-1.5Z", strokeLinecap: "round" })
|
|
231
232
|
] }) }),
|
|
232
233
|
/* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-col", children: [
|
|
233
234
|
/* @__PURE__ */ jsx("span", { className: "truncate text-[13px]", children: device }),
|
|
@@ -237,7 +238,10 @@ function PasskeySignIn({
|
|
|
237
238
|
] }),
|
|
238
239
|
/* @__PURE__ */ jsxs("button", { type: "button", onClick: () => setMode("password"), disabled: waiting, className: cx(LINK, "group mt-6 inline-flex items-center gap-1.5 self-center disabled:opacity-40"), style: rise(5), children: [
|
|
239
240
|
"Use password instead",
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__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: [
|
|
242
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
243
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
244
|
+
] })
|
|
241
245
|
] })
|
|
242
246
|
] }, "passkey") : /* @__PURE__ */ jsxs("form", { noValidate: true, onSubmit: submit, className: "flex flex-col", children: [
|
|
243
247
|
/* @__PURE__ */ jsx("h3", { className: "mt-8 text-[20px] font-medium tracking-[-0.02em]", style: rise(0), children: "Use your password" }),
|
|
@@ -212,7 +212,7 @@ function Panel({ uid, items, label, at, bounds, focusFirst, closing, onExited, o
|
|
|
212
212
|
it.icon && /* @__PURE__ */ jsx("span", { className: "inline-flex h-4 w-4 shrink-0 text-mute transition-colors group-data-[highlighted]/item:text-ink [&_svg]:h-4 [&_svg]:w-4", children: it.icon }),
|
|
213
213
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", children: it.label }),
|
|
214
214
|
it.shortcut && !it.items && /* @__PURE__ */ jsx("kbd", { className: "font-sans text-[11.5px] tracking-wide text-mute", children: it.shortcut }),
|
|
215
|
-
it.items && /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
215
|
+
it.items && /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "-mr-1 h-3.5 w-3.5 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) })
|
|
216
216
|
]
|
|
217
217
|
},
|
|
218
218
|
`${it.label}${i}`
|
|
@@ -170,7 +170,7 @@ function Chart({ type = "area", labels, series, format = (n) => n.toLocaleString
|
|
|
170
170
|
(l, i) => i % every === 0 ? /* @__PURE__ */ jsx("span", { className: cx("absolute top-0 whitespace-nowrap text-[10.5px] text-mute", i === 0 && !bars ? "" : i === n - 1 && !bars ? "-translate-x-full" : "-translate-x-1/2"), style: { left: `${xAt(i) * 100}%` }, children: l }, l + i) : null
|
|
171
171
|
) }),
|
|
172
172
|
/* @__PURE__ */ jsx("p", { className: "sr-only", "aria-live": "polite", children: active !== null ? `${labels[active]}: ${series.map((s) => `${s.label} ${format(s.data[active] ?? 0)}`).join(", ")}` : "" }),
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxs("table", { children: [
|
|
174
174
|
/* @__PURE__ */ jsx("caption", { children: label }),
|
|
175
175
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
176
176
|
/* @__PURE__ */ jsx("th", { scope: "col", children: "Point" }),
|
|
@@ -180,7 +180,7 @@ function Chart({ type = "area", labels, series, format = (n) => n.toLocaleString
|
|
|
180
180
|
/* @__PURE__ */ jsx("th", { scope: "row", children: l }),
|
|
181
181
|
series.map((s) => /* @__PURE__ */ jsx("td", { children: format(s.data[i] ?? 0) }, s.label))
|
|
182
182
|
] }, l + i)) })
|
|
183
|
-
] })
|
|
183
|
+
] }) })
|
|
184
184
|
] });
|
|
185
185
|
}
|
|
186
186
|
function ChartCard({ title, value, delta, deltaLabel, actions, className, ...chart }) {
|
|
@@ -145,18 +145,21 @@ function InlineEdit({ value, defaultValue = "", onSave, onCancel, placeholder =
|
|
|
145
145
|
),
|
|
146
146
|
children: [
|
|
147
147
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: current || placeholder }),
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ jsxs(
|
|
149
149
|
"svg",
|
|
150
150
|
{
|
|
151
|
-
viewBox: "0 0
|
|
151
|
+
viewBox: "0 0 24 24",
|
|
152
152
|
className: "h-[0.85em] w-[0.85em] shrink-0 text-mute opacity-0 transition-[opacity,translate] duration-200 ease-[cubic-bezier(.16,1,.3,1)] -translate-x-0.5 group-hover/ie:translate-x-0 group-hover/ie:opacity-100 group-focus-visible/ie:translate-x-0 group-focus-visible/ie:opacity-100 motion-reduce:transition-none",
|
|
153
153
|
fill: "none",
|
|
154
154
|
stroke: "currentColor",
|
|
155
|
-
strokeWidth: "
|
|
155
|
+
strokeWidth: "2.4",
|
|
156
156
|
strokeLinecap: "round",
|
|
157
157
|
strokeLinejoin: "round",
|
|
158
158
|
"aria-hidden": true,
|
|
159
|
-
children:
|
|
159
|
+
children: [
|
|
160
|
+
/* @__PURE__ */ jsx("path", { d: "M4.5 19.5 5 16 15.5 5.5a2.1 2.1 0 0 1 3 3L8 19Z" }),
|
|
161
|
+
/* @__PURE__ */ jsx("path", { d: "m13.5 7.5 3 3" })
|
|
162
|
+
]
|
|
160
163
|
}
|
|
161
164
|
)
|
|
162
165
|
]
|
|
@@ -165,15 +168,15 @@ function InlineEdit({ value, defaultValue = "", onSave, onCancel, placeholder =
|
|
|
165
168
|
saved > 0 && !editing && /* @__PURE__ */ jsx(
|
|
166
169
|
"svg",
|
|
167
170
|
{
|
|
168
|
-
viewBox: "0 0
|
|
171
|
+
viewBox: "0 0 24 24",
|
|
169
172
|
className: "h-[0.9em] w-[0.9em] shrink-0 text-brand animate-[asta-inline-edit-tick_1.7s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none",
|
|
170
173
|
fill: "none",
|
|
171
174
|
stroke: "currentColor",
|
|
172
|
-
strokeWidth: "
|
|
175
|
+
strokeWidth: "3",
|
|
173
176
|
strokeLinecap: "round",
|
|
174
177
|
strokeLinejoin: "round",
|
|
175
178
|
"aria-hidden": true,
|
|
176
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
179
|
+
children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" })
|
|
177
180
|
},
|
|
178
181
|
saved
|
|
179
182
|
),
|