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,6 +6,7 @@ import {
|
|
|
6
6
|
// components/lab/blocks/TradeTicket.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 UP = "var(--brand)";
|
|
10
11
|
var DOWN = "var(--ink)";
|
|
11
12
|
var EASE = "cubic-bezier(.16,1,.3,1)";
|
|
@@ -141,7 +142,7 @@ function TradeTicket() {
|
|
|
141
142
|
] }),
|
|
142
143
|
/* @__PURE__ */ jsxs("p", { className: "mt-2 font-mono text-[12px] tabular-nums text-mute", children: [
|
|
143
144
|
"\u2248 $",
|
|
144
|
-
|
|
145
|
+
USD2.format(usd)
|
|
145
146
|
] })
|
|
146
147
|
] }),
|
|
147
148
|
/* @__PURE__ */ jsxs(
|
|
@@ -15,14 +15,14 @@ var KEYFRAMES = `@keyframes asta-pc-orbit { from { transform: translate(-50%, -5
|
|
|
15
15
|
}`;
|
|
16
16
|
var EASE = "cubic-bezier(.16,1,.3,1)";
|
|
17
17
|
var GLYPH = {
|
|
18
|
-
file: "
|
|
19
|
-
doc: "
|
|
20
|
-
person: "M8
|
|
21
|
-
command: "
|
|
18
|
+
file: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5",
|
|
19
|
+
doc: "M6 3.5h8l4.5 4.5v12.5H6ZM14 3.5V8h4.5M9 13h6M9 16.5h4",
|
|
20
|
+
person: "M8.25 8.5a3.75 3.75 0 1 0 7.5 0a3.75 3.75 0 1 0-7.5 0M5 20a7 7 0 0 1 14 0",
|
|
21
|
+
command: "M4.5 7l5 5-5 5M12 17.5h7.5"
|
|
22
22
|
};
|
|
23
|
-
var svg = (d, cls = "h-3.5 w-3.5") => `<svg viewBox="0 0
|
|
23
|
+
var svg = (d, cls = "h-3.5 w-3.5") => `<svg viewBox="0 0 24 24" class="${cls} shrink-0" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="${d}"/></svg>`;
|
|
24
24
|
function Icon({ d, className = "h-4 w-4" }) {
|
|
25
|
-
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
25
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("shrink-0", className), fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
26
26
|
}
|
|
27
27
|
var CHIP = "mx-px inline-flex items-center gap-1 whitespace-nowrap rounded-[5px] px-1.5 align-baseline text-[0.93em] font-medium leading-[1.5] [animation:asta-pc-chip_.2s_cubic-bezier(.16,1,.3,1)]";
|
|
28
28
|
var CHIP_MENTION = "bg-[color-mix(in_srgb,var(--brand)_11%,transparent)] text-brand";
|
|
@@ -380,7 +380,7 @@ function PromptComposer({
|
|
|
380
380
|
ed.current?.focus();
|
|
381
381
|
},
|
|
382
382
|
className: "grid h-7 w-7 shrink-0 place-items-center rounded-md text-mute outline-none transition-colors hover:bg-paper hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
383
|
-
children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
383
|
+
children: /* @__PURE__ */ jsx(Icon, { d: "M6 6l12 12M18 6 6 18", className: "h-3 w-3" })
|
|
384
384
|
}
|
|
385
385
|
)
|
|
386
386
|
] }, id)) }),
|
|
@@ -441,7 +441,7 @@ function PromptComposer({
|
|
|
441
441
|
title: "Attach files",
|
|
442
442
|
onClick: () => picker.current?.click(),
|
|
443
443
|
className: "grid h-8 w-8 shrink-0 place-items-center rounded-md text-ink-2 outline-none transition-colors duration-150 hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-45",
|
|
444
|
-
children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
444
|
+
children: /* @__PURE__ */ jsx(Icon, { d: "M19 11.5l-7.4 7.4a4.5 4.5 0 0 1-6.4-6.4L13 4.7a3 3 0 0 1 4.2 4.2l-7.7 7.7a1.5 1.5 0 0 1-2.1-2.1l7-7" })
|
|
445
445
|
}
|
|
446
446
|
),
|
|
447
447
|
model,
|
|
@@ -468,7 +468,7 @@ function PromptComposer({
|
|
|
468
468
|
"aria-label": "Send message",
|
|
469
469
|
className: "grid h-8 w-8 shrink-0 place-items-center rounded-lg bg-brand text-on-brand outline-none transition-[opacity,transform] duration-150 active:scale-95 disabled:opacity-35 focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper",
|
|
470
470
|
style: { animation: `asta-pc-chip .22s ${EASE}` },
|
|
471
|
-
children: /* @__PURE__ */ jsx(Icon, { d: "
|
|
471
|
+
children: /* @__PURE__ */ jsx(Icon, { d: "M12 20V5M6 11l6-6 6 6" })
|
|
472
472
|
},
|
|
473
473
|
"send"
|
|
474
474
|
)
|
|
@@ -477,7 +477,7 @@ function PromptComposer({
|
|
|
477
477
|
}
|
|
478
478
|
),
|
|
479
479
|
/* @__PURE__ */ jsx("p", { className: cx("mt-2 flex min-h-[18px] items-center gap-1.5 px-1 text-[12px]", error ? "font-medium text-ink" : "text-mute"), role: error ? "alert" : void 0, children: error ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
480
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
480
|
+
/* @__PURE__ */ jsx(Icon, { 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 0ZM12 9.5v4M12 17h.01", className: "h-3.5 w-3.5" }),
|
|
481
481
|
error
|
|
482
482
|
] }) : running ? "Astabyte is working. Press Esc or Stop to end the run." : /* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: "Enter to send \xB7 Shift + Enter for a new line \xB7 @ to mention \xB7 / for commands" }) })
|
|
483
483
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
buttonClass
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/dropdown-menu.tsx
|
|
7
7
|
import { DropdownMenu as Menu } from "radix-ui";
|
|
@@ -16,15 +16,15 @@ function DropdownMenu({ children, groups, align = "start", variant = "outline",
|
|
|
16
16
|
/* @__PURE__ */ jsx(
|
|
17
17
|
"svg",
|
|
18
18
|
{
|
|
19
|
-
viewBox: "0 0
|
|
19
|
+
viewBox: "0 0 24 24",
|
|
20
20
|
className: "-mr-1 h-3.5 w-3.5 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/trigger:rotate-180",
|
|
21
21
|
fill: "none",
|
|
22
22
|
stroke: "currentColor",
|
|
23
|
-
strokeWidth: "
|
|
23
|
+
strokeWidth: "2.55",
|
|
24
24
|
strokeLinecap: "round",
|
|
25
25
|
strokeLinejoin: "round",
|
|
26
26
|
"aria-hidden": true,
|
|
27
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
27
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
|
|
28
28
|
}
|
|
29
29
|
)
|
|
30
30
|
] }),
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Select
|
|
4
|
-
} from "./chunk-AMVX4DDT.js";
|
|
5
2
|
import {
|
|
6
3
|
Button
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
8
5
|
import {
|
|
9
6
|
Input
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YV5WZJGS.js";
|
|
11
8
|
|
|
12
9
|
// components/kit/checkout.tsx
|
|
13
10
|
import { useEffect, useId, useMemo, useRef, useState } from "react";
|
|
@@ -104,9 +101,10 @@ function Labeled({ id, label, error, children, className }) {
|
|
|
104
101
|
/* @__PURE__ */ jsx("label", { htmlFor: id, className: "mb-1.5 block text-[12.5px] text-ink-2", children: label }),
|
|
105
102
|
children,
|
|
106
103
|
error && /* @__PURE__ */ jsxs("p", { id: `${id}-err`, className: "mt-1.5 flex items-center gap-1.5 text-[12px] text-ink-2", style: { animation: `kit-co-up .3s ${CURVE}` }, children: [
|
|
107
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
108
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
109
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
104
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
105
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
106
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
107
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
110
108
|
] }),
|
|
111
109
|
error
|
|
112
110
|
] })
|
|
@@ -114,17 +112,21 @@ function Labeled({ id, label, error, children, className }) {
|
|
|
114
112
|
}
|
|
115
113
|
var INVALID = "!shadow-[inset_0_0_0_1.5px_var(--ink)]";
|
|
116
114
|
function CardGlyph() {
|
|
117
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
118
|
-
/* @__PURE__ */ jsx("rect", { x: "
|
|
119
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
115
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-5", fill: "none", stroke: "currentColor", strokeWidth: "2.23", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
116
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "5.5", width: "18", height: "13", rx: "2" }),
|
|
117
|
+
/* @__PURE__ */ jsx("path", { d: "M3 10h18" }),
|
|
118
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 15h3" })
|
|
120
119
|
] });
|
|
121
120
|
}
|
|
122
121
|
function Stepper({ name, qty, onChange, disabled }) {
|
|
123
122
|
const btn = "grid h-6 w-6 place-items-center rounded-md text-ink-2 outline-none transition-colors duration-200 hover:bg-paper hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 disabled:opacity-35 disabled:hover:bg-transparent";
|
|
124
123
|
return /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-1", role: "group", "aria-label": `Quantity of ${name}`, children: [
|
|
125
|
-
/* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "Fewer", disabled: disabled || qty <= 1, onClick: () => onChange(qty - 1), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
124
|
+
/* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "Fewer", disabled: disabled || qty <= 1, onClick: () => onChange(qty - 1), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) }) }),
|
|
126
125
|
/* @__PURE__ */ jsx("span", { className: "w-5 text-center text-[12.5px] tabular-nums text-ink", "aria-live": "polite", children: qty }),
|
|
127
|
-
/* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "More", disabled: disabled || qty >= 99, onClick: () => onChange(qty + 1), children: /* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ jsx("button", { type: "button", className: btn, "aria-label": "More", disabled: disabled || qty >= 99, onClick: () => onChange(qty + 1), children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
127
|
+
/* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
|
|
128
|
+
/* @__PURE__ */ jsx("path", { d: "M5 12h14" })
|
|
129
|
+
] }) })
|
|
128
130
|
] });
|
|
129
131
|
}
|
|
130
132
|
function Checkout({
|
|
@@ -259,7 +261,7 @@ function Checkout({
|
|
|
259
261
|
return /* @__PURE__ */ jsxs("div", { className: cx("kit-co grid w-full gap-8 md:grid-cols-[minmax(0,1fr)_340px] md:gap-10", className), children: [
|
|
260
262
|
/* @__PURE__ */ jsx("style", { href: "asta-checkout", precedence: "asta", children: KEYFRAMES }),
|
|
261
263
|
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: state === "done" ? /* @__PURE__ */ jsxs("div", { className: "flex h-full min-h-[420px] flex-col items-start justify-center", role: "status", style: { animation: `kit-co-up .5s ${CURVE}` }, children: [
|
|
262
|
-
/* @__PURE__ */ jsx("span", { className: "grid h-12 w-12 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `kit-co-pop .55s ${CURVE} .1s both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
264
|
+
/* @__PURE__ */ jsx("span", { className: "grid h-12 w-12 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `kit-co-pop .55s ${CURVE} .1s both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-5 w-5", 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
265
|
/* @__PURE__ */ jsx("h3", { className: "mt-6 text-[24px] font-medium tracking-[-0.03em] text-ink", children: "Payment received" }),
|
|
264
266
|
/* @__PURE__ */ jsxs("p", { className: "mt-2 max-w-[360px] text-[14px] leading-relaxed text-mute", children: [
|
|
265
267
|
"We charged ",
|
|
@@ -289,10 +291,22 @@ function Checkout({
|
|
|
289
291
|
/* @__PURE__ */ jsx(Labeled, { id: id("city"), label: "City", error: shown("city"), children: input("city", { autoComplete: "address-level2" }) }),
|
|
290
292
|
/* @__PURE__ */ jsx(Labeled, { id: id("postal"), label: "Postal code", error: shown("postal"), children: input("postal", { autoComplete: "postal-code", autoCapitalize: "characters" }) })
|
|
291
293
|
] }),
|
|
292
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
293
|
-
/* @__PURE__ */ jsx(
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
/* @__PURE__ */ jsx(Labeled, { id: id("country"), label: "Country", children: /* @__PURE__ */ jsxs("div", { className: cx("relative", locked && "pointer-events-none opacity-50"), children: [
|
|
295
|
+
/* @__PURE__ */ jsx(
|
|
296
|
+
"select",
|
|
297
|
+
{
|
|
298
|
+
id: id("country"),
|
|
299
|
+
name: "country",
|
|
300
|
+
autoComplete: "country",
|
|
301
|
+
value: d.country,
|
|
302
|
+
onChange: (e) => set("country", e.target.value),
|
|
303
|
+
disabled: locked,
|
|
304
|
+
className: "h-10 w-full appearance-none rounded-lg bg-paper pl-3 pr-9 text-[16px] text-ink outline-none transition-shadow duration-200 shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_24%,transparent)] focus-visible:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)] sm:text-[14px]",
|
|
305
|
+
children: countries.map((c) => /* @__PURE__ */ jsx("option", { value: c.value, children: c.label }, c.value))
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m4 6 4 4 4-4" }) })
|
|
309
|
+
] }) }),
|
|
296
310
|
/* @__PURE__ */ jsx("div", { role: "radiogroup", "aria-label": "Shipping speed", className: "mt-1 grid gap-2 sm:grid-cols-2", children: shippingOptions.map((s) => {
|
|
297
311
|
const on = s.id === d.shipping;
|
|
298
312
|
return /* @__PURE__ */ jsxs(
|
|
@@ -60,12 +60,12 @@ function IconSwitch({
|
|
|
60
60
|
children: [
|
|
61
61
|
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute inset-0 rounded-full bg-paper/[0.12] shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--paper)_10%,transparent)]" }),
|
|
62
62
|
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute inset-0 rounded-full bg-brand shadow-[inset_0_1px_0_rgb(255_255_255/0.2),0_0_18px_-2px_color-mix(in_srgb,var(--brand)_70%,transparent)] transition-opacity duration-300", style: { opacity: on ? 1 : 0 } }),
|
|
63
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute left-[3px] top-[3px] grid h-[30px] w-[30px] place-items-center rounded-full bg-paper text-ink shadow-[0_1px_2px_rgb(0_0_0/0.3),0_4px_10px_-2px_rgb(0_0_0/0.35)] transition-transform duration-500", style: { transform: `translateX(${on ? 28 : 0}px)`, transitionTimingFunction: SPRING }, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
64
|
-
/* @__PURE__ */ jsxs("g", { style: { transformOrigin: "
|
|
65
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
66
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
63
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute left-[3px] top-[3px] grid h-[30px] w-[30px] place-items-center rounded-full bg-paper text-ink shadow-[0_1px_2px_rgb(0_0_0/0.3),0_4px_10px_-2px_rgb(0_0_0/0.35)] transition-transform duration-500", style: { transform: `translateX(${on ? 28 : 0}px)`, transitionTimingFunction: SPRING }, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-[15px] w-[15px] overflow-visible", fill: "none", stroke: "currentColor", strokeWidth: "2.04", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
64
|
+
/* @__PURE__ */ jsxs("g", { style: { transformOrigin: "12px 4.5px", animation: rings ? `aui059-ring .8s ${EASE} 120ms both` : void 0 }, children: [
|
|
65
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3Z", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } }),
|
|
66
|
+
/* @__PURE__ */ jsx("path", { d: "M10 19.5a2 2 0 0 0 4 0", className: "transition-opacity duration-300", style: { opacity: on ? 1 : 0.55 } })
|
|
67
67
|
] }, rings),
|
|
68
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
68
|
+
/* @__PURE__ */ jsx("path", { d: "m4 4 16 16", pathLength: 1, strokeDasharray: "1", className: "transition-[stroke-dashoffset]", style: { strokeDashoffset: on ? 1 : 0, transitionDuration: on ? "160ms" : "420ms", transitionDelay: on ? "0ms" : "140ms", transitionTimingFunction: EASE } })
|
|
69
69
|
] }) })
|
|
70
70
|
]
|
|
71
71
|
}
|
|
@@ -5,7 +5,7 @@ import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
7
|
var KEYFRAMES = `@keyframes asta-crumb-menu { from { opacity: 0; transform: translateY(-4px) scale(.97) } }`;
|
|
8
|
-
var Chevron = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
8
|
+
var Chevron = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m9.5 6 6 6-6 6" }) });
|
|
9
9
|
var LINK = "flex min-w-0 items-center gap-1.5 rounded-md text-mute outline-none transition-colors hover:text-ink focus-visible:text-ink focus-visible:ring-2 focus-visible:ring-brand/50";
|
|
10
10
|
function Item({ item, current, renderLink }) {
|
|
11
11
|
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -74,10 +74,10 @@ function Overflow({ items }) {
|
|
|
74
74
|
"flex h-6 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",
|
|
75
75
|
open && "bg-paper-2 text-ink"
|
|
76
76
|
),
|
|
77
|
-
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
78
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
79
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
80
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
77
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "currentColor", stroke: "currentColor", strokeWidth: "1.75", "aria-hidden": true, children: [
|
|
78
|
+
/* @__PURE__ */ jsx("circle", { cx: "5.5", cy: "12", r: "1" }),
|
|
79
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
80
|
+
/* @__PURE__ */ jsx("circle", { cx: "18.5", cy: "12", r: "1" })
|
|
81
81
|
] })
|
|
82
82
|
}
|
|
83
83
|
),
|
|
@@ -131,7 +131,6 @@ function Breadcrumb({ items, separator, collapse = "auto", renderLink, className
|
|
|
131
131
|
}
|
|
132
132
|
setFit(n);
|
|
133
133
|
};
|
|
134
|
-
calc();
|
|
135
134
|
const ro = new ResizeObserver(calc);
|
|
136
135
|
ro.observe(wrap.current);
|
|
137
136
|
return () => ro.disconnect();
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/kit/variants/button-aui-064.tsx
|
|
4
|
+
import { jsxs } from "react/jsx-runtime";
|
|
5
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
6
|
+
var TONE = {
|
|
7
|
+
primary: "text-on-brand bg-[linear-gradient(180deg,color-mix(in_srgb,var(--brand)_78%,white)_0%,var(--brand)_55%,color-mix(in_srgb,var(--brand)_86%,black)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.28),inset_0_-1px_0_rgb(0_0_0/0.12),0_0_0_1px_color-mix(in_srgb,var(--brand)_78%,black),0_2px_4px_-1px_color-mix(in_srgb,var(--brand)_45%,transparent),0_6px_14px_-6px_color-mix(in_srgb,var(--brand)_50%,transparent)] hover:brightness-[1.06]",
|
|
8
|
+
dark: "text-paper bg-[linear-gradient(180deg,color-mix(in_srgb,var(--ink)_72%,var(--paper))_0%,var(--ink)_60%,var(--ink)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_0_0_1px_var(--ink),0_2px_4px_-1px_rgb(0_0_0/0.35),0_6px_14px_-6px_rgb(0_0_0/0.4)] hover:brightness-[1.12]",
|
|
9
|
+
outline: "text-ink bg-[linear-gradient(180deg,var(--paper)_0%,color-mix(in_srgb,var(--paper-2)_70%,var(--paper))_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.5),0_0_0_1px_color-mix(in_srgb,var(--ink)_13%,transparent),0_1px_2px_color-mix(in_srgb,var(--ink)_6%,transparent),0_4px_10px_-6px_color-mix(in_srgb,var(--ink)_14%,transparent)] hover:brightness-[0.98]",
|
|
10
|
+
// For dark surfaces: a pale raised button with a deeper drop.
|
|
11
|
+
light: "text-ink bg-[linear-gradient(180deg,var(--paper)_0%,var(--paper-2)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.6),0_0_0_1px_rgb(0_0_0/0.25),0_6px_16px_-6px_rgb(0_0_0/0.5)] hover:brightness-[0.97]",
|
|
12
|
+
ghost: "text-ink-2 hover:bg-paper-2 hover:text-ink"
|
|
13
|
+
};
|
|
14
|
+
var SIZE = {
|
|
15
|
+
sm: "h-8 gap-1.5 rounded-[7px] px-3 text-[13px]",
|
|
16
|
+
md: "h-9 gap-2 rounded-[8px] px-3.5 text-[13.5px]",
|
|
17
|
+
lg: "h-11 gap-2 rounded-[9px] px-5 text-[15px]"
|
|
18
|
+
};
|
|
19
|
+
var ICON_ONLY = { sm: "w-8 px-0", md: "w-9 px-0", lg: "w-11 px-0" };
|
|
20
|
+
function raisedClass({ tone = "primary", size = "md", iconOnly = false } = {}) {
|
|
21
|
+
return cx(
|
|
22
|
+
"relative inline-flex select-none items-center justify-center whitespace-nowrap font-medium transition-[transform,color,background-color] duration-150 ease-[cubic-bezier(.16,1,.3,1)] active:scale-[0.98] motion-reduce:active:scale-100 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand [&_svg]:size-4 [&_svg]:shrink-0",
|
|
23
|
+
SIZE[size],
|
|
24
|
+
TONE[tone],
|
|
25
|
+
iconOnly && ICON_ONLY[size]
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
function RaisedButton({ tone, size, iconOnly, iconLeft, iconRight, className, children, type = "button", ...rest }) {
|
|
29
|
+
return /* @__PURE__ */ jsxs("button", { type, ...rest, className: cx(raisedClass({ tone, size, iconOnly }), className), children: [
|
|
30
|
+
iconLeft,
|
|
31
|
+
children,
|
|
32
|
+
iconRight
|
|
33
|
+
] });
|
|
34
|
+
}
|
|
35
|
+
var button_aui_064_default = RaisedButton;
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
raisedClass,
|
|
39
|
+
RaisedButton,
|
|
40
|
+
button_aui_064_default
|
|
41
|
+
};
|
|
@@ -76,7 +76,10 @@ function SegmentRadio({ options = OPTIONS, value, defaultValue = "1w", onChange,
|
|
|
76
76
|
className: cx("mb-1 inline-flex h-6 items-center gap-1 rounded-[6px] px-2 text-[12px] font-medium tabular-nums", up ? "bg-[color-mix(in_srgb,var(--brand)_30%,transparent)] text-paper" : "bg-paper/10 text-paper/70"),
|
|
77
77
|
style: { animation: `aui056-fade .4s ${EASE} both` },
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__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, style: { transform: up ? "none" : "rotate(180deg)" }, children: [
|
|
80
|
+
/* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
|
|
81
|
+
/* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
|
|
82
|
+
] }),
|
|
80
83
|
up ? "+" : "\u2212",
|
|
81
84
|
Math.abs(opt.change).toFixed(1),
|
|
82
85
|
"%"
|
|
@@ -69,32 +69,33 @@ function ClipboardButton({ value, label, copiedLabel = "Copied", timeout = 1600,
|
|
|
69
69
|
/* @__PURE__ */ jsxs(
|
|
70
70
|
"svg",
|
|
71
71
|
{
|
|
72
|
-
viewBox: "0 0
|
|
72
|
+
viewBox: "0 0 24 24",
|
|
73
73
|
className: cx("absolute inset-0 transition-[opacity,transform] duration-300 motion-reduce:transition-none", EASE, done ? "rotate-[-30deg] scale-50 opacity-0" : "scale-100 opacity-100"),
|
|
74
74
|
fill: "none",
|
|
75
75
|
stroke: "currentColor",
|
|
76
|
-
strokeWidth: "
|
|
76
|
+
strokeWidth: "2.25",
|
|
77
|
+
strokeLinecap: "round",
|
|
77
78
|
strokeLinejoin: "round",
|
|
78
79
|
children: [
|
|
79
|
-
/* @__PURE__ */ jsx("rect", { x: "5
|
|
80
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
80
|
+
/* @__PURE__ */ jsx("rect", { x: "8.5", y: "8.5", width: "11", height: "11", rx: "2" }),
|
|
81
|
+
/* @__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", strokeLinecap: "round" })
|
|
81
82
|
]
|
|
82
83
|
}
|
|
83
84
|
),
|
|
84
85
|
/* @__PURE__ */ jsx(
|
|
85
86
|
"svg",
|
|
86
87
|
{
|
|
87
|
-
viewBox: "0 0
|
|
88
|
+
viewBox: "0 0 24 24",
|
|
88
89
|
className: cx("absolute inset-0 text-brand transition-[opacity,transform] duration-300 motion-reduce:transition-none", EASE, done ? "scale-100 opacity-100" : "scale-75 opacity-0"),
|
|
89
90
|
fill: "none",
|
|
90
91
|
stroke: "currentColor",
|
|
91
|
-
strokeWidth: "
|
|
92
|
+
strokeWidth: "2.85",
|
|
92
93
|
strokeLinecap: "round",
|
|
93
94
|
strokeLinejoin: "round",
|
|
94
95
|
children: /* @__PURE__ */ jsx(
|
|
95
96
|
"path",
|
|
96
97
|
{
|
|
97
|
-
d: "
|
|
98
|
+
d: "m5 12.5 4.5 4.5L19 7.5",
|
|
98
99
|
pathLength: 1,
|
|
99
100
|
strokeDasharray: 1,
|
|
100
101
|
strokeDashoffset: done ? 0 : 1,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-5A36JYGI.js";
|
|
5
5
|
import {
|
|
6
6
|
Button
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
8
8
|
|
|
9
9
|
// components/kit/base/cookie-consent.tsx
|
|
10
10
|
import { useEffect, useId, useRef, useState } from "react";
|
|
@@ -112,7 +112,7 @@ function CookieConsent({
|
|
|
112
112
|
onClick: () => setView("summary"),
|
|
113
113
|
"aria-label": "Back",
|
|
114
114
|
className: "-ml-1.5 flex h-7 w-7 items-center justify-center rounded-md text-mute outline-none transition-colors hover:bg-paper-2 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
115
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
115
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m14.5 6-6 6 6 6" }) })
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
118
|
/* @__PURE__ */ jsx("h2", { id: `${id}-t`, className: "text-[15px] font-medium tracking-[-0.01em]", children: "Cookie preferences" })
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/kit/variants/button-aui-068.tsx
|
|
4
|
+
import { useEffect, useRef, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
7
|
+
var CSS = `
|
|
8
|
+
.aui068-tip { opacity: 0; transform: translate(-50%, 3px) scale(.97); transition: opacity .12s cubic-bezier(.16,1,.3,1), transform .16s cubic-bezier(.16,1,.3,1); pointer-events: none }
|
|
9
|
+
.aui068[data-warm=true] .aui068-btn:hover .aui068-tip, .aui068-btn:focus-visible .aui068-tip { opacity: 1; transform: translate(-50%, 0) }
|
|
10
|
+
@media (prefers-reduced-motion: reduce) { .aui068-tip { transform: translate(-50%, 0) !important } }
|
|
11
|
+
@media (hover: none) { .aui068-tip { display: none } }
|
|
12
|
+
`;
|
|
13
|
+
function IconToolbar({ label, groups, pressed: pressedProp, defaultPressed = [], onPressedChange, onAction, className }) {
|
|
14
|
+
const [own, setOwn] = useState(defaultPressed);
|
|
15
|
+
const pressed = pressedProp ?? own;
|
|
16
|
+
const [active, setActive] = useState(0);
|
|
17
|
+
const [warm, setWarm] = useState(false);
|
|
18
|
+
const warmTimer = useRef(void 0);
|
|
19
|
+
const bar = useRef(null);
|
|
20
|
+
const flat = groups.flat();
|
|
21
|
+
useEffect(() => () => clearTimeout(warmTimer.current), []);
|
|
22
|
+
const buttons = () => [...bar.current?.querySelectorAll(".aui068-btn") ?? []];
|
|
23
|
+
const move = (to, dir) => {
|
|
24
|
+
const els = buttons();
|
|
25
|
+
let i = (to + els.length) % els.length;
|
|
26
|
+
for (let n = 0; n < els.length && els[i].disabled; n++) i = (i + dir + els.length) % els.length;
|
|
27
|
+
setActive(i);
|
|
28
|
+
els[i]?.focus();
|
|
29
|
+
};
|
|
30
|
+
const onKey = (e) => {
|
|
31
|
+
const keys = { ArrowRight: [active + 1, 1], ArrowLeft: [active - 1, -1], Home: [0, 1], End: [flat.length - 1, -1] };
|
|
32
|
+
if (!(e.key in keys)) return;
|
|
33
|
+
e.preventDefault();
|
|
34
|
+
move(...keys[e.key]);
|
|
35
|
+
};
|
|
36
|
+
const click = (it) => {
|
|
37
|
+
if (it.toggle) {
|
|
38
|
+
const next = pressed.includes(it.id) ? pressed.filter((p) => p !== it.id) : [...pressed, it.id];
|
|
39
|
+
if (pressedProp === void 0) setOwn(next);
|
|
40
|
+
onPressedChange?.(next);
|
|
41
|
+
}
|
|
42
|
+
onAction?.(it.id);
|
|
43
|
+
};
|
|
44
|
+
const starts = groups.map((_, gi) => groups.slice(0, gi).reduce((n, g) => n + g.length, 0));
|
|
45
|
+
return /* @__PURE__ */ jsxs(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
ref: bar,
|
|
49
|
+
role: "toolbar",
|
|
50
|
+
"aria-label": label,
|
|
51
|
+
"data-warm": warm,
|
|
52
|
+
onKeyDown: onKey,
|
|
53
|
+
onPointerEnter: () => {
|
|
54
|
+
clearTimeout(warmTimer.current);
|
|
55
|
+
warmTimer.current = setTimeout(() => setWarm(true), 400);
|
|
56
|
+
},
|
|
57
|
+
onPointerLeave: () => {
|
|
58
|
+
clearTimeout(warmTimer.current);
|
|
59
|
+
setWarm(false);
|
|
60
|
+
},
|
|
61
|
+
className: cx(
|
|
62
|
+
"aui068 inline-flex max-w-full flex-wrap items-center gap-0.5 rounded-[10px] bg-[linear-gradient(180deg,var(--paper)_0%,color-mix(in_srgb,var(--paper-2)_70%,var(--paper))_100%)] p-1 shadow-[inset_0_1px_0_rgb(255_255_255/0.5),0_0_0_1px_color-mix(in_srgb,var(--ink)_12%,transparent),0_4px_10px_-6px_color-mix(in_srgb,var(--ink)_14%,transparent)]",
|
|
63
|
+
className
|
|
64
|
+
),
|
|
65
|
+
children: [
|
|
66
|
+
/* @__PURE__ */ jsx("style", { href: "asta-button-aui-068", precedence: "asta", children: CSS }),
|
|
67
|
+
groups.map((g, gi) => /* @__PURE__ */ jsxs("div", { className: "contents", children: [
|
|
68
|
+
gi > 0 && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "mx-1 h-5 w-px bg-[color-mix(in_srgb,var(--ink)_12%,transparent)]" }),
|
|
69
|
+
g.map((it, k) => {
|
|
70
|
+
const i = starts[gi] + k;
|
|
71
|
+
const on = it.toggle ? pressed.includes(it.id) : void 0;
|
|
72
|
+
return /* @__PURE__ */ jsxs(
|
|
73
|
+
"button",
|
|
74
|
+
{
|
|
75
|
+
type: "button",
|
|
76
|
+
"aria-label": it.label,
|
|
77
|
+
"aria-pressed": on,
|
|
78
|
+
"aria-keyshortcuts": it.kbd?.replace("\u2318", "Meta+").replace("\u21E7", "Shift+"),
|
|
79
|
+
disabled: it.disabled,
|
|
80
|
+
tabIndex: i === active ? 0 : -1,
|
|
81
|
+
onFocus: () => setActive(i),
|
|
82
|
+
onClick: () => click(it),
|
|
83
|
+
className: "aui068-btn relative grid size-8 place-items-center rounded-[7px] text-ink-2 outline-none transition-[background-color,color,transform] duration-150 ease-[cubic-bezier(.16,1,.3,1)] hover:bg-[color-mix(in_srgb,var(--ink)_6%,transparent)] hover:text-ink active:scale-[0.94] motion-reduce:active:scale-100 aria-pressed:bg-ink aria-pressed:text-paper aria-pressed:shadow-[inset_0_1px_0_rgb(255_255_255/0.16)] disabled:pointer-events-none disabled:opacity-40 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-brand max-sm:size-10 [&>svg]:size-4",
|
|
84
|
+
children: [
|
|
85
|
+
it.icon,
|
|
86
|
+
/* @__PURE__ */ jsxs("span", { role: "tooltip", className: "aui068-tip absolute bottom-[calc(100%+8px)] left-1/2 z-20 flex items-center gap-1.5 whitespace-nowrap rounded-[6px] bg-ink px-2 py-1 text-[12px] font-medium text-paper shadow-[0_6px_16px_-6px_rgb(0_0_0/0.4)]", children: [
|
|
87
|
+
it.label,
|
|
88
|
+
it.kbd && /* @__PURE__ */ jsx("kbd", { className: "font-sans text-[11px] text-paper/60", children: it.kbd })
|
|
89
|
+
] })
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
it.id
|
|
93
|
+
);
|
|
94
|
+
})
|
|
95
|
+
] }, gi))
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
var button_aui_068_default = IconToolbar;
|
|
101
|
+
|
|
102
|
+
export {
|
|
103
|
+
IconToolbar,
|
|
104
|
+
button_aui_068_default
|
|
105
|
+
};
|
|
@@ -19,10 +19,10 @@ var CHECKLIST_RULES = [
|
|
|
19
19
|
{ glyph: "#!", label: "a symbol", test: (v) => /[^A-Za-z0-9]/.test(v) }
|
|
20
20
|
];
|
|
21
21
|
function Eye({ open }) {
|
|
22
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
23
|
-
/* @__PURE__ */ jsx("path", { d: "M2.5
|
|
24
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
25
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
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
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.75", className: "origin-center transition-transform duration-300 [transform-box:fill-box]", style: { transform: open ? "none" : "scale(0)", transitionTimingFunction: EASE } }),
|
|
25
|
+
/* @__PURE__ */ jsx("path", { d: "m4.5 4.5 15 15", className: "origin-center transition-[opacity,transform] duration-300 [transform-box:fill-box]", style: { opacity: open ? 0 : 1, transform: open ? "scale(.4)" : "none", transitionTimingFunction: EASE } })
|
|
26
26
|
] });
|
|
27
27
|
}
|
|
28
28
|
function ChecklistPassword({
|
|
@@ -103,7 +103,7 @@ function ChecklistPassword({
|
|
|
103
103
|
/* @__PURE__ */ jsx("span", { className: cx("text-[17px] font-semibold leading-none tracking-[-0.03em] transition-colors duration-300", passed[i] ? "text-brand" : "text-ink"), children: r.glyph }),
|
|
104
104
|
/* @__PURE__ */ jsx("span", { className: "truncate text-[11.5px] text-mute", children: r.label }),
|
|
105
105
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: passed[i] ? ", done" : ", not yet" }),
|
|
106
|
-
passed[i] && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute right-1.5 top-1.5 grid h-4 w-4 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `aui040-tick .4s ${EASE} both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
106
|
+
passed[i] && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute right-1.5 top-1.5 grid h-4 w-4 place-items-center rounded-full bg-brand text-on-brand", style: { animation: `aui040-tick .4s ${EASE} both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.9", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }) })
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
109
|
r.label
|
|
@@ -71,7 +71,11 @@ function Ring({ share, warn, className }) {
|
|
|
71
71
|
] });
|
|
72
72
|
}
|
|
73
73
|
function WarnIcon() {
|
|
74
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__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: [
|
|
75
|
+
/* @__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" }),
|
|
76
|
+
/* @__PURE__ */ jsx("path", { d: "M12 9.5v4" }),
|
|
77
|
+
/* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
|
|
78
|
+
] });
|
|
75
79
|
}
|
|
76
80
|
var sum = (s) => s.reduce((a, p) => a + Math.max(0, p.tokens), 0);
|
|
77
81
|
function ContextBreakdown({ segments, max, model, warnAt = 0.8, onCompact, className }) {
|
|
@@ -196,7 +200,12 @@ function ContextBreakdown({ segments, max, model, warnAt = 0.8, onCompact, class
|
|
|
196
200
|
busy ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", className: "h-3.5 w-3.5 animate-[asta-ctx-spin_.8s_linear_infinite]", fill: "none", "aria-hidden": true, children: [
|
|
197
201
|
/* @__PURE__ */ jsx("circle", { cx: "8", cy: "8", r: "6", stroke: "currentColor", strokeOpacity: ".2", strokeWidth: "2" }),
|
|
198
202
|
/* @__PURE__ */ jsx("path", { d: "M14 8a6 6 0 0 0-6-6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
199
|
-
] }) : /* @__PURE__ */
|
|
203
|
+
] }) : /* @__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: [
|
|
204
|
+
/* @__PURE__ */ jsx("path", { d: "M14 5v5h5" }),
|
|
205
|
+
/* @__PURE__ */ jsx("path", { d: "m20 4-6 6" }),
|
|
206
|
+
/* @__PURE__ */ jsx("path", { d: "M10 19v-5H5" }),
|
|
207
|
+
/* @__PURE__ */ jsx("path", { d: "m4 20 6-6" })
|
|
208
|
+
] }),
|
|
200
209
|
busy ? "Compacting\u2026" : "Compact conversation"
|
|
201
210
|
]
|
|
202
211
|
}
|
|
@@ -18,7 +18,6 @@ function SegmentedControl({ segments, value, defaultValue, onChange, size = "md"
|
|
|
18
18
|
const el = refs.current[index];
|
|
19
19
|
if (el) setPill({ x: el.offsetLeft, w: el.offsetWidth });
|
|
20
20
|
};
|
|
21
|
-
measure();
|
|
22
21
|
const ro = new ResizeObserver(measure);
|
|
23
22
|
if (box.current) ro.observe(box.current);
|
|
24
23
|
return () => ro.disconnect();
|
|
@@ -55,7 +55,7 @@ function Cell({ v, on }) {
|
|
|
55
55
|
EASE,
|
|
56
56
|
on ? "scale-110 bg-brand text-on-brand" : "bg-ink/[0.06] text-ink"
|
|
57
57
|
),
|
|
58
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
58
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", 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" }) })
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
61
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Included" })
|
|
@@ -182,7 +182,10 @@ function PricingTable({ plans = PLANS, groups = GROUPS, currency = "$", maxHeigh
|
|
|
182
182
|
),
|
|
183
183
|
children: [
|
|
184
184
|
p.cta.label,
|
|
185
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-0.5", EASE), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
186
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
187
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
188
|
+
] })
|
|
186
189
|
]
|
|
187
190
|
}
|
|
188
191
|
)
|