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
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/kit/variants/button-aui-066.tsx
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
6
|
+
function ButtonGroup({ label, size = "md", className, children, ...rest }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
role: "group",
|
|
11
|
+
"aria-label": label,
|
|
12
|
+
"data-size": size,
|
|
13
|
+
...rest,
|
|
14
|
+
className: cx(
|
|
15
|
+
"group/bg inline-flex rounded-[8px] 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)]",
|
|
16
|
+
className
|
|
17
|
+
),
|
|
18
|
+
children
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function GroupButton({ icon, iconOnly, pressed, className, children, type = "button", ...rest }) {
|
|
23
|
+
return /* @__PURE__ */ jsxs(
|
|
24
|
+
"button",
|
|
25
|
+
{
|
|
26
|
+
type,
|
|
27
|
+
"aria-pressed": pressed,
|
|
28
|
+
...rest,
|
|
29
|
+
className: cx(
|
|
30
|
+
"relative inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium text-ink-2 outline-none transition-[background-color,color] duration-150",
|
|
31
|
+
"h-9 px-3 text-[13.5px] group-data-[size=sm]/bg:h-8 group-data-[size=sm]/bg:px-2.5 group-data-[size=sm]/bg:text-[13px]",
|
|
32
|
+
iconOnly && "w-9 px-0 group-data-[size=sm]/bg:w-8 group-data-[size=sm]/bg:px-0",
|
|
33
|
+
// A hairline between neighbours, drawn inside so the outline stays one piece.
|
|
34
|
+
"first:rounded-l-[8px] last:rounded-r-[8px] [&:not(:first-child)]:shadow-[inset_1px_0_0_color-mix(in_srgb,var(--ink)_11%,transparent)]",
|
|
35
|
+
"hover:bg-[color-mix(in_srgb,var(--ink)_5%,transparent)] hover:text-ink active:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)]",
|
|
36
|
+
"aria-pressed:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] aria-pressed:text-ink",
|
|
37
|
+
"disabled:pointer-events-none disabled:opacity-45 focus-visible:z-10 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-brand [&_svg]:size-4 [&_svg]:shrink-0",
|
|
38
|
+
className
|
|
39
|
+
),
|
|
40
|
+
children: [
|
|
41
|
+
icon,
|
|
42
|
+
children
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
var button_aui_066_default = ButtonGroup;
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
ButtonGroup,
|
|
51
|
+
GroupButton,
|
|
52
|
+
button_aui_066_default
|
|
53
|
+
};
|
|
@@ -175,7 +175,10 @@ function CreatableCombobox({ options = LABELS, value, defaultValue = ["bug", "fr
|
|
|
175
175
|
onPointerDown: (e) => e.preventDefault(),
|
|
176
176
|
onClick: () => set(ids.filter((x) => x !== id)),
|
|
177
177
|
className: "flex h-6 w-6 items-center justify-center rounded-[5px] text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink",
|
|
178
|
-
children: /* @__PURE__ */
|
|
178
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
179
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
180
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
181
|
+
] })
|
|
179
182
|
}
|
|
180
183
|
)
|
|
181
184
|
] }, id);
|
|
@@ -238,7 +241,10 @@ function CreatableCombobox({ options = LABELS, value, defaultValue = ["bug", "fr
|
|
|
238
241
|
onClick: create,
|
|
239
242
|
className: cx("mb-1 flex h-11 cursor-pointer select-none items-center gap-2.5 rounded-[8px] px-2.5 transition-colors duration-150", active === 0 ? "bg-[color-mix(in_srgb,var(--brand)_8%,transparent)]" : ""),
|
|
240
243
|
children: [
|
|
241
|
-
/* @__PURE__ */ jsx("span", { className: "flex h-6 w-6 items-center justify-center rounded-[6px] bg-brand text-on-brand", "aria-hidden": true, children: /* @__PURE__ */
|
|
244
|
+
/* @__PURE__ */ jsx("span", { className: "flex h-6 w-6 items-center justify-center rounded-[6px] bg-brand text-on-brand", "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
245
|
+
/* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
|
|
246
|
+
/* @__PURE__ */ jsx("path", { d: "M5 12h14" })
|
|
247
|
+
] }) }),
|
|
242
248
|
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1 truncate text-[13.5px] text-ink-2", children: [
|
|
243
249
|
"Create",
|
|
244
250
|
" ",
|
|
@@ -285,7 +291,7 @@ function CreatableCombobox({ options = LABELS, value, defaultValue = ["bug", "fr
|
|
|
285
291
|
/* @__PURE__ */ jsx(Dot, { tint: l.tint }),
|
|
286
292
|
/* @__PURE__ */ jsx("span", { className: cx("min-w-0 flex-1 truncate text-[13.5px] text-ink", on && "font-medium"), children: l.name }),
|
|
287
293
|
l.count !== void 0 && /* @__PURE__ */ jsx("span", { className: "font-mono text-[11px] tabular-nums text-mute", children: l.count }),
|
|
288
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
294
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5 shrink-0 text-brand transition-[opacity,transform] duration-300", on ? "scale-100 opacity-100" : "scale-50 opacity-0"), 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" }) })
|
|
289
295
|
]
|
|
290
296
|
},
|
|
291
297
|
l.id
|
|
@@ -24,20 +24,20 @@ function Chevron() {
|
|
|
24
24
|
return /* @__PURE__ */ jsx(
|
|
25
25
|
"svg",
|
|
26
26
|
{
|
|
27
|
-
viewBox: "0 0
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
28
|
className: "h-4 w-4 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)] group-data-[state=open]/sel:rotate-180",
|
|
29
29
|
fill: "none",
|
|
30
30
|
stroke: "currentColor",
|
|
31
|
-
strokeWidth: "
|
|
31
|
+
strokeWidth: "2.4",
|
|
32
32
|
strokeLinecap: "round",
|
|
33
33
|
strokeLinejoin: "round",
|
|
34
34
|
"aria-hidden": true,
|
|
35
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
35
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
39
|
function Check({ on }) {
|
|
40
|
-
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
40
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 shrink-0 text-brand transition-opacity", on ? "opacity-100" : "opacity-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" }) });
|
|
41
41
|
}
|
|
42
42
|
function Shown({ option, placeholder }) {
|
|
43
43
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -148,9 +148,9 @@ function SearchSelect({ options, value, defaultValue, onChange, placeholder = "S
|
|
|
148
148
|
children: [
|
|
149
149
|
/* @__PURE__ */ jsx("style", { href: "asta-select-2", precedence: "asta", children: KEYFRAMES }),
|
|
150
150
|
/* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-center gap-2 rounded-lg bg-paper-2 px-2.5", children: [
|
|
151
|
-
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
152
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
153
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
151
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3.5 w-3.5 shrink-0 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
152
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
153
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
|
|
154
154
|
] }),
|
|
155
155
|
/* @__PURE__ */ jsx(
|
|
156
156
|
"input",
|
|
@@ -14,7 +14,8 @@ var PEOPLE = [
|
|
|
14
14
|
{ name: "Yuki T.", tone: "bg-[color-mix(in_srgb,var(--brand)_16%,var(--paper))] text-brand" }
|
|
15
15
|
];
|
|
16
16
|
var LAST = 8;
|
|
17
|
-
var
|
|
17
|
+
var USD2 = new Intl.NumberFormat("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
18
|
+
var money = (n) => `$${USD2.format(n)}`;
|
|
18
19
|
var initials = (n) => n === "You" ? "Y" : n.replace(/[^A-Za-z ]/g, "").split(" ").map((w) => w[0]).join("");
|
|
19
20
|
function Roll({ value, instant }) {
|
|
20
21
|
const chars = value.split("");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4MBIQUM2.js";
|
|
5
5
|
import {
|
|
6
6
|
Avatar
|
|
7
7
|
} from "./chunk-7IOMROVG.js";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W5ZXNQUJ.js";
|
|
11
11
|
|
|
12
12
|
// components/kit/base/team-members.tsx
|
|
13
13
|
import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -134,7 +134,10 @@ function EmailChips({
|
|
|
134
134
|
input.current?.focus();
|
|
135
135
|
},
|
|
136
136
|
className: "grid h-5 w-5 place-items-center rounded text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
137
|
-
children: /* @__PURE__ */
|
|
137
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-2.5 w-2.5", fill: "none", stroke: "currentColor", strokeWidth: "3.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
138
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
139
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
140
|
+
] })
|
|
138
141
|
}
|
|
139
142
|
)
|
|
140
143
|
]
|
|
@@ -427,7 +430,10 @@ function TeamMembers({
|
|
|
427
430
|
disabled: m.you,
|
|
428
431
|
onClick: () => remove(m),
|
|
429
432
|
className: iconBtn,
|
|
430
|
-
children: /* @__PURE__ */
|
|
433
|
+
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: [
|
|
434
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
435
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
436
|
+
] })
|
|
431
437
|
}
|
|
432
438
|
)
|
|
433
439
|
] }) }, m.id);
|
|
@@ -437,9 +443,9 @@ function TeamMembers({
|
|
|
437
443
|
/* @__PURE__ */ jsx("ul", { children: invites.map((inv) => {
|
|
438
444
|
const again = resent.includes(inv.id);
|
|
439
445
|
return /* @__PURE__ */ jsxs("li", { ref: inviteFlip.reg(inv.id), className: "flex h-[52px] items-center gap-3 px-1 sm:px-3", style: { animation: `kit-tm-in .4s ${CURVE}` }, children: [
|
|
440
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-8 w-8 shrink-0 place-items-center rounded-full shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] text-mute", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
441
|
-
/* @__PURE__ */ jsx("rect", { x: "
|
|
442
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
446
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "grid h-8 w-8 shrink-0 place-items-center rounded-full shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)] text-mute", 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", "aria-hidden": true, children: [
|
|
447
|
+
/* @__PURE__ */ jsx("rect", { x: "3.5", y: "5.5", width: "17", height: "13", rx: "2" }),
|
|
448
|
+
/* @__PURE__ */ jsx("path", { d: "m4 7 8 6 8-6" })
|
|
443
449
|
] }) }),
|
|
444
450
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
445
451
|
/* @__PURE__ */ jsx("p", { className: "truncate text-[13.5px] text-ink", children: inv.email }),
|
|
@@ -213,7 +213,10 @@ function PricingTiers({
|
|
|
213
213
|
),
|
|
214
214
|
children: [
|
|
215
215
|
ctaLabel,
|
|
216
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__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: [
|
|
217
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
218
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
219
|
+
] })
|
|
217
220
|
]
|
|
218
221
|
}
|
|
219
222
|
)
|
|
@@ -39,20 +39,20 @@ var isMac = () => typeof navigator === "undefined" || /Mac|iPhone|iPad/.test(nav
|
|
|
39
39
|
var reduced = () => typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
40
40
|
var at = (n) => ({ "--i": n });
|
|
41
41
|
var PATHS = {
|
|
42
|
-
rocket: "
|
|
43
|
-
download: "
|
|
44
|
-
palette: "
|
|
45
|
-
token: "
|
|
46
|
-
layers: "
|
|
47
|
-
access: "
|
|
48
|
-
form: "
|
|
49
|
-
overlay: "
|
|
50
|
-
compass: "
|
|
51
|
-
table: "
|
|
52
|
-
bell: "
|
|
53
|
-
layout: "
|
|
42
|
+
rocket: "M14.5 4.5c3-1 5-1 5-1s0 2-1 5L12 15l-3-3ZM9 12 5.5 11 8 8h4M12 15l1 3.5 3-2.5v-4M6.5 15.5c-1.5.5-2 3-2 4 1 0 3.5-.5 4-2",
|
|
43
|
+
download: "M12 4v11M7 10l5 5 5-5M5 19.5h14",
|
|
44
|
+
palette: "M12 20.5a8.5 8.5 0 1 1 8.5-8.5c0 2.2-1.6 3.5-3.5 3.5h-2a2 2 0 0 0-1.4 3.4c.8.8.4 1.6-1.6 1.6ZM7.5 12h.01M9.5 7.5h.01M14.5 7.5h.01",
|
|
45
|
+
token: "M12 3l8 4.5v9L12 21l-8-4.5v-9ZM4 7.5l8 4.5 8-4.5M12 12v9",
|
|
46
|
+
layers: "M12 4l8.5 4.5L12 13 3.5 8.5ZM3.5 12.5l8.5 4.5 8.5-4.5M3.5 16.5l8.5 4.5 8.5-4.5",
|
|
47
|
+
access: "M12 6.75a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75ZM4.5 9l7.5 1.5 7.5-1.5M12 10.5v4.5l-3 6M12 15l3 6",
|
|
48
|
+
form: "M3.75 6h16.5v4.5h-16.5ZM3.75 14.25h10.5v4.5h-10.5ZM17.25 16.5h3",
|
|
49
|
+
overlay: "M10.5 8.5h7a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2ZM15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2",
|
|
50
|
+
compass: "M3.5 12a8.5 8.5 0 1 0 17 0a8.5 8.5 0 1 0-17 0M15.5 8.5l-2 5-5 2 2-5Z",
|
|
51
|
+
table: "M5.5 4.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2ZM3.5 9.5h17M3.5 14.5h17M10 4.5v15",
|
|
52
|
+
bell: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3ZM10 19.5a2 2 0 0 0 4 0",
|
|
53
|
+
layout: "M5.5 4.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2ZM3.5 9.5h17M9.5 9.5v10"
|
|
54
54
|
};
|
|
55
|
-
var Glyph = ({ name }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
55
|
+
var Glyph = ({ name }) => /* @__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: PATHS[name] }) });
|
|
56
56
|
var Badge = ({ icon, size = "h-7 w-7" }) => /* @__PURE__ */ jsx("span", { className: cx("grid shrink-0 place-items-center rounded-[7px] bg-paper text-brand shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_2px_7px_rgb(0_0_0/0.05)]", size), children: /* @__PURE__ */ jsx(Glyph, { name: icon }) });
|
|
57
57
|
var Logo = () => /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
58
58
|
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", className: "h-5 w-5", "aria-hidden": true, children: [
|
|
@@ -107,17 +107,18 @@ var SECTIONS = [
|
|
|
107
107
|
{ label: "Changelog", href: "#", fresh: true }
|
|
108
108
|
];
|
|
109
109
|
var DATES = { "v3.2": "Nov 2026", "v3.1": "Aug 2026", "v2.9": "Mar 2026" };
|
|
110
|
-
var SearchIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
111
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
112
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
110
|
+
var SearchIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
111
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
112
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
|
|
113
113
|
] });
|
|
114
|
-
var RepoIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
115
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
116
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
117
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
118
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
114
|
+
var RepoIcon = () => /* @__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: [
|
|
115
|
+
/* @__PURE__ */ jsx("circle", { cx: "6.5", cy: "5.5", r: "2" }),
|
|
116
|
+
/* @__PURE__ */ jsx("circle", { cx: "6.5", cy: "18.5", r: "2" }),
|
|
117
|
+
/* @__PURE__ */ jsx("circle", { cx: "17.5", cy: "6.5", r: "2" }),
|
|
118
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 7.5v9" }),
|
|
119
|
+
/* @__PURE__ */ jsx("path", { d: "M17.5 8.5a10 10 0 0 1-9 10" })
|
|
119
120
|
] });
|
|
120
|
-
var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
121
|
+
var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5", className), 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" }) });
|
|
121
122
|
function Rolling({ value, dir }) {
|
|
122
123
|
return /* @__PURE__ */ jsx("span", { className: "relative inline-flex h-[1.25em] overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: cx("inline-block leading-[1.25em]", dir > 0 ? "aui-013-up" : "aui-013-down"), children: value }, value) });
|
|
123
124
|
}
|
|
@@ -151,7 +151,10 @@ function Combobox(props) {
|
|
|
151
151
|
onPointerDown: (e) => e.preventDefault(),
|
|
152
152
|
onClick: () => setMany(many.filter((x) => x !== v)),
|
|
153
153
|
className: "flex h-6 w-6 items-center justify-center rounded-[5px] text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink",
|
|
154
|
-
children: /* @__PURE__ */
|
|
154
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
155
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
156
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
157
|
+
] })
|
|
155
158
|
}
|
|
156
159
|
)
|
|
157
160
|
]
|
|
@@ -215,15 +218,15 @@ function Combobox(props) {
|
|
|
215
218
|
children: /* @__PURE__ */ jsx(
|
|
216
219
|
"svg",
|
|
217
220
|
{
|
|
218
|
-
viewBox: "0 0
|
|
221
|
+
viewBox: "0 0 24 24",
|
|
219
222
|
className: cx("h-4 w-4 transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", open && "rotate-180"),
|
|
220
223
|
fill: "none",
|
|
221
224
|
stroke: "currentColor",
|
|
222
|
-
strokeWidth: "
|
|
225
|
+
strokeWidth: "2.4",
|
|
223
226
|
strokeLinecap: "round",
|
|
224
227
|
strokeLinejoin: "round",
|
|
225
228
|
"aria-hidden": true,
|
|
226
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
229
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" })
|
|
227
230
|
}
|
|
228
231
|
)
|
|
229
232
|
}
|
|
@@ -271,15 +274,15 @@ function Combobox(props) {
|
|
|
271
274
|
/* @__PURE__ */ jsx(
|
|
272
275
|
"svg",
|
|
273
276
|
{
|
|
274
|
-
viewBox: "0 0
|
|
277
|
+
viewBox: "0 0 24 24",
|
|
275
278
|
className: cx("h-4 w-4 shrink-0 text-brand transition-[opacity,transform] duration-200 ease-[cubic-bezier(.16,1,.3,1)]", on ? "scale-100 opacity-100" : "scale-75 opacity-0"),
|
|
276
279
|
fill: "none",
|
|
277
280
|
stroke: "currentColor",
|
|
278
|
-
strokeWidth: "
|
|
281
|
+
strokeWidth: "3",
|
|
279
282
|
strokeLinecap: "round",
|
|
280
283
|
strokeLinejoin: "round",
|
|
281
284
|
"aria-hidden": true,
|
|
282
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
285
|
+
children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" })
|
|
283
286
|
}
|
|
284
287
|
)
|
|
285
288
|
]
|
|
@@ -50,7 +50,10 @@ function ChatComposer({ placeholder = "Write a message\u2026", onSend, accept, m
|
|
|
50
50
|
onClick: () => setFiles((all) => all.filter((_, j) => j !== i)),
|
|
51
51
|
className: "grid h-5 w-5 place-items-center rounded-md text-mute transition-colors hover:bg-paper hover:text-ink",
|
|
52
52
|
"aria-label": `Remove ${f.name}`,
|
|
53
|
-
children: /* @__PURE__ */
|
|
53
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
54
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
55
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
56
|
+
] })
|
|
54
57
|
}
|
|
55
58
|
)
|
|
56
59
|
]
|
|
@@ -101,7 +104,7 @@ function ChatComposer({ placeholder = "Write a message\u2026", onSend, accept, m
|
|
|
101
104
|
onClick: () => picker.current?.click(),
|
|
102
105
|
className: "grid h-8 w-8 place-items-center rounded-lg text-mute transition-colors hover:bg-paper-2 hover:text-ink",
|
|
103
106
|
"aria-label": "Attach files",
|
|
104
|
-
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
107
|
+
children: /* @__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: "m19 11.5-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" }) })
|
|
105
108
|
}
|
|
106
109
|
),
|
|
107
110
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -120,7 +123,10 @@ function ChatComposer({ placeholder = "Write a message\u2026", onSend, accept, m
|
|
|
120
123
|
"grid h-8 w-8 place-items-center rounded-lg transition-[background-color,color,transform] duration-300 ease-[cubic-bezier(.16,1,.3,1)] active:scale-90 motion-reduce:transition-none",
|
|
121
124
|
ready ? "bg-ink text-paper" : "bg-paper-2 text-mute"
|
|
122
125
|
),
|
|
123
|
-
children: /* @__PURE__ */
|
|
126
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-4 w-4 transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", ready && "-translate-y-px"), fill: "none", stroke: "currentColor", strokeWidth: "2.55", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
127
|
+
/* @__PURE__ */ jsx("path", { d: "M12 20V5" }),
|
|
128
|
+
/* @__PURE__ */ jsx("path", { d: "m6 11 6-6 6 6" })
|
|
129
|
+
] })
|
|
124
130
|
}
|
|
125
131
|
)
|
|
126
132
|
] })
|
|
@@ -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/settings-panel.tsx
|
|
7
7
|
import { forwardRef, useEffect, useId, useImperativeHandle, useRef, useState } from "react";
|
|
@@ -200,7 +200,7 @@ var SettingsPanel = forwardRef(function SettingsPanel2({ initial, onSave, langua
|
|
|
200
200
|
children: languages.map((l) => /* @__PURE__ */ jsx("option", { children: l }, l))
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
203
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "pointer-events-none absolute right-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-mute", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m6 9.5 6 6 6-6" }) })
|
|
204
204
|
] })
|
|
205
205
|
] })
|
|
206
206
|
] })
|
|
@@ -223,7 +223,7 @@ var SettingsPanel = forwardRef(function SettingsPanel2({ initial, onSave, langua
|
|
|
223
223
|
className: "pointer-events-auto flex items-center gap-2 rounded-[10px] bg-ink py-2 pl-4 pr-2 text-paper shadow-[0_12px_30px_-10px_rgb(0_0_0/0.5)]",
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ jsx("span", { className: "flex min-w-0 flex-1 items-center gap-2 text-[13.5px]", "aria-live": "polite", children: status === "saved" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
226
|
-
/* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
226
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-paper", 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" }) }),
|
|
227
227
|
"Saved"
|
|
228
228
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
229
229
|
/* @__PURE__ */ jsx("span", { className: "h-1.5 w-1.5 shrink-0 rounded-full bg-brand" }),
|
|
@@ -20,7 +20,8 @@ var TOKENS = [
|
|
|
20
20
|
];
|
|
21
21
|
var DRIFT = [21e-4, -12e-4, 34e-4, -18e-4, 9e-4, -26e-4];
|
|
22
22
|
var BASE = 2.4318;
|
|
23
|
-
var
|
|
23
|
+
var USD2 = new Intl.NumberFormat("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
24
|
+
var fmt = (n) => USD2.format(n);
|
|
24
25
|
function Roll({ value }) {
|
|
25
26
|
const chars = value.split("");
|
|
26
27
|
return /* @__PURE__ */ jsx("span", { className: "inline-flex items-start leading-[1.15em] tabular-nums", "aria-label": value, children: chars.map((c, i) => {
|
|
@@ -27,7 +27,6 @@ function ToolDock({ tools, value, defaultValue, onChange, hotkeys = true, toolti
|
|
|
27
27
|
const el = current ? refs.current.get(current)?.parentElement : null;
|
|
28
28
|
if (el) setPill({ x: el.offsetLeft, w: el.offsetWidth });
|
|
29
29
|
};
|
|
30
|
-
measure();
|
|
31
30
|
const ro = new ResizeObserver(measure);
|
|
32
31
|
if (box.current) ro.observe(box.current);
|
|
33
32
|
return () => ro.disconnect();
|
|
@@ -32,7 +32,10 @@ var LINKS = [
|
|
|
32
32
|
{ label: "Studio", href: "#" },
|
|
33
33
|
{ label: "Visit", href: "#" }
|
|
34
34
|
];
|
|
35
|
-
var Arrow = ({ className = "" }) => /* @__PURE__ */
|
|
35
|
+
var Arrow = ({ className = "" }) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: cx("h-3.5 w-3.5", className), fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
36
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
37
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
38
|
+
] });
|
|
36
39
|
function move(el, to, from) {
|
|
37
40
|
el.style.width = `${to.w}px`;
|
|
38
41
|
el.style.transition = "none";
|
|
@@ -87,9 +87,10 @@ function ValidatedInput({
|
|
|
87
87
|
};
|
|
88
88
|
const valid = status.kind === "valid";
|
|
89
89
|
const message = (s, live) => /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
90
|
-
s.kind === "invalid" && /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
91
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
92
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
90
|
+
s.kind === "invalid" && /* @__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: [
|
|
91
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8.5" }),
|
|
92
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
93
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
93
94
|
] }),
|
|
94
95
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: s.text }),
|
|
95
96
|
s.kind === "suggest" && /* @__PURE__ */ jsxs(
|
|
@@ -104,7 +105,10 @@ function ValidatedInput({
|
|
|
104
105
|
className: "group/s inline-flex min-w-0 items-center gap-1 rounded-[6px] bg-[color-mix(in_srgb,var(--brand)_10%,transparent)] px-1.5 py-px font-medium text-brand outline-none transition-transform duration-200 hover:-translate-y-px focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
105
106
|
children: [
|
|
106
107
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: s.suggestion }),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3 shrink-0 transition-transform duration-300 group-hover/s:translate-x-0.5", fill: "none", stroke: "currentColor", strokeWidth: "3.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
109
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
110
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
111
|
+
] })
|
|
108
112
|
]
|
|
109
113
|
}
|
|
110
114
|
)
|
|
@@ -144,7 +148,7 @@ function ValidatedInput({
|
|
|
144
148
|
className: "h-full min-w-0 flex-1 bg-transparent text-[16px] sm:text-[14.5px] tracking-[-0.01em] text-ink outline-none placeholder:text-mute"
|
|
145
149
|
}
|
|
146
150
|
),
|
|
147
|
-
/* @__PURE__ */ jsx("span", { className: "grid h-6 w-6 shrink-0 place-items-center", "aria-hidden": true, children: valid && /* @__PURE__ */ jsx("span", { className: "grid h-5 w-5 place-items-center rounded-full bg-brand text-paper", style: { animation: `aui032-pop .5s ${EASE} both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
151
|
+
/* @__PURE__ */ jsx("span", { className: "grid h-6 w-6 shrink-0 place-items-center", "aria-hidden": true, children: valid && /* @__PURE__ */ jsx("span", { className: "grid h-5 w-5 place-items-center rounded-full bg-brand text-paper", style: { animation: `aui032-pop .5s ${EASE} both` }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5", pathLength: 1, strokeDasharray: "1", style: { animation: `aui032-draw .45s ${EASE} .18s both` } }) }) }, value) })
|
|
148
152
|
]
|
|
149
153
|
}
|
|
150
154
|
),
|
|
@@ -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/invoice.tsx
|
|
7
|
-
import { useEffect, useRef, useState } from "react";
|
|
7
|
+
import { useEffect, useMemo, 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 KEYFRAMES = `@keyframes asta-invoice-in { from { opacity: 0; transform: translateY(4px) } }
|
|
@@ -26,7 +26,10 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
|
|
|
26
26
|
useEffect(() => {
|
|
27
27
|
if (error) errorEl.current?.focus();
|
|
28
28
|
}, [error]);
|
|
29
|
-
const money = (
|
|
29
|
+
const money = useMemo(() => {
|
|
30
|
+
const f = new Intl.NumberFormat(locale, { style: "currency", currency });
|
|
31
|
+
return (n) => f.format(n);
|
|
32
|
+
}, [locale, currency]);
|
|
30
33
|
const subtotal = items.reduce((a, it) => a + it.quantity * it.unitPrice, 0);
|
|
31
34
|
const taxed = Math.max(0, subtotal - discount);
|
|
32
35
|
const tax = Math.round(taxed * taxRate * 100) / 100;
|
|
@@ -62,7 +65,10 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
|
|
|
62
65
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
63
66
|
/* @__PURE__ */ jsx("h2", { className: "text-[20px] font-medium tracking-[-0.03em]", children: "Invoice" }),
|
|
64
67
|
/* @__PURE__ */ jsxs("span", { className: cx("asta-invoice-a inline-flex h-6 animate-[asta-invoice-pop_.45s_cubic-bezier(.16,1,.3,1)_both] items-center gap-1 rounded-md px-2 text-[11.5px] font-medium", s.cls), children: [
|
|
65
|
-
paid ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
68
|
+
paid ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", 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", pathLength: 1, strokeDasharray: 1, className: "asta-invoice-a animate-[asta-invoice-draw_.5s_cubic-bezier(.16,1,.3,1)_.15s_both]" }) }) : state === "overdue" ? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", "aria-hidden": true, children: [
|
|
69
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7.5v5" }),
|
|
70
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16h.01" })
|
|
71
|
+
] }) : null,
|
|
66
72
|
s.label
|
|
67
73
|
] }, state)
|
|
68
74
|
] }),
|
|
@@ -161,7 +167,11 @@ function Invoice({ number, issued, due, from, to, items, taxRate = 0, discount =
|
|
|
161
167
|
] })
|
|
162
168
|
] }),
|
|
163
169
|
error && !paid && /* @__PURE__ */ jsxs("p", { ref: errorEl, role: "alert", tabIndex: -1, className: "-mt-3 flex items-start gap-1.5 text-[12.5px] font-medium text-ink outline-none @min-[560px]:justify-end", children: [
|
|
164
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__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: [
|
|
171
|
+
/* @__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" }),
|
|
172
|
+
/* @__PURE__ */ jsx("path", { d: "M12 9.5v4" }),
|
|
173
|
+
/* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
|
|
174
|
+
] }),
|
|
165
175
|
error
|
|
166
176
|
] }),
|
|
167
177
|
/* @__PURE__ */ jsx("p", { className: "sr-only", "aria-live": "polite", children: paid && paidOn ? `Invoice ${number} paid on ${paidOn}.` : "" })
|
|
@@ -19,7 +19,6 @@ function SegmentedControl({ segments, value, defaultValue, onChange, size = "md"
|
|
|
19
19
|
const el = refs.current[index];
|
|
20
20
|
if (el) setPill({ x: el.offsetLeft, w: el.offsetWidth });
|
|
21
21
|
};
|
|
22
|
-
measure();
|
|
23
22
|
const ro = new ResizeObserver(measure);
|
|
24
23
|
if (box.current) ro.observe(box.current);
|
|
25
24
|
return () => ro.disconnect();
|
|
@@ -79,7 +79,10 @@ function Alert({ tone = "info", title, children, action, icon, dismissible, onDi
|
|
|
79
79
|
onDismiss?.();
|
|
80
80
|
},
|
|
81
81
|
className: "-mr-1.5 -mt-0.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_7%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50",
|
|
82
|
-
children: /* @__PURE__ */
|
|
82
|
+
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: [
|
|
83
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
84
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
85
|
+
] })
|
|
83
86
|
}
|
|
84
87
|
)
|
|
85
88
|
]
|
|
@@ -68,8 +68,8 @@ function Toaster({ children, max = 3, contained = false }) {
|
|
|
68
68
|
}
|
|
69
69
|
var TONE = {
|
|
70
70
|
default: null,
|
|
71
|
-
success: { color: "var(--brand)", on: "var(--on-brand)", path: "
|
|
72
|
-
error: { color: "var(--ink)", on: "var(--paper)", path: "
|
|
71
|
+
success: { color: "var(--brand)", on: "var(--on-brand)", path: "M5 12.5l4.5 4.5L19 7.5" },
|
|
72
|
+
error: { color: "var(--ink)", on: "var(--paper)", path: "M12 7.5v5M12 16h.01" }
|
|
73
73
|
};
|
|
74
74
|
function Toast({
|
|
75
75
|
data,
|
|
@@ -154,7 +154,7 @@ function Toast({
|
|
|
154
154
|
transition: dragging ? "none" : `transform .45s ${EASE}, opacity .3s ease, height .35s ${EASE}`
|
|
155
155
|
},
|
|
156
156
|
children: /* @__PURE__ */ jsxs("div", { ref: inner, className: cx("flex items-start gap-3 p-3.5 pr-3", clamp !== void 0 && "opacity-0 transition-opacity"), children: [
|
|
157
|
-
tone && /* @__PURE__ */ jsx("span", { className: "mt-px flex h-5 w-5 shrink-0 items-center justify-center rounded-full", style: { background: tone.color, color: tone.on }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
157
|
+
tone && /* @__PURE__ */ jsx("span", { className: "mt-px flex h-5 w-5 shrink-0 items-center justify-center rounded-full", style: { background: tone.color, color: tone.on }, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: tone.path }) }) }),
|
|
158
158
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
159
159
|
/* @__PURE__ */ jsx("p", { className: "text-[13.5px] font-medium leading-5 tracking-[-0.01em] text-ink", children: data.title }),
|
|
160
160
|
data.description && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-[12.5px] leading-snug text-mute", children: data.description })
|
|
@@ -177,7 +177,10 @@ function Toast({
|
|
|
177
177
|
onClick: () => onDismiss("down"),
|
|
178
178
|
"aria-label": "Dismiss",
|
|
179
179
|
className: "flex h-6 w-6 shrink-0 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",
|
|
180
|
-
children: /* @__PURE__ */
|
|
180
|
+
children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2.7", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
181
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" }),
|
|
182
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" })
|
|
183
|
+
] })
|
|
181
184
|
}
|
|
182
185
|
)
|
|
183
186
|
] })
|