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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-3OCWR4L3.js";
|
|
5
5
|
import {
|
|
6
6
|
Button
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-22ILG5VV.js";
|
|
8
8
|
|
|
9
9
|
// components/kit/comments.tsx
|
|
10
10
|
import { useId, useRef, useState } from "react";
|
|
@@ -81,15 +81,16 @@ function Like({ count, liked, pop, onToggle }) {
|
|
|
81
81
|
/* @__PURE__ */ jsx(
|
|
82
82
|
"svg",
|
|
83
83
|
{
|
|
84
|
-
viewBox: "0 0
|
|
84
|
+
viewBox: "0 0 24 24",
|
|
85
85
|
className: "h-3.5 w-3.5",
|
|
86
86
|
fill: liked ? "currentColor" : "none",
|
|
87
87
|
stroke: "currentColor",
|
|
88
|
-
strokeWidth: "
|
|
88
|
+
strokeWidth: "2.25",
|
|
89
|
+
strokeLinecap: "round",
|
|
89
90
|
strokeLinejoin: "round",
|
|
90
91
|
"aria-hidden": true,
|
|
91
92
|
style: pop && liked ? { animation: `kit-cm-pop .45s ${CURVE}` } : void 0,
|
|
92
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
93
|
+
children: /* @__PURE__ */ jsx("path", { d: "M12 19.5s-7.5-4.4-7.5-10A4.2 4.2 0 0 1 12 7a4.2 4.2 0 0 1 7.5 2.5c0 5.6-7.5 10-7.5 10Z" })
|
|
93
94
|
},
|
|
94
95
|
liked ? "on" : "off"
|
|
95
96
|
),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Button
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-22ILG5VV.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/navbar.tsx
|
|
7
7
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -9,7 +9,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
var cx = (...c) => c.filter(Boolean).join(" ");
|
|
10
10
|
var RING = "shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_12%,transparent)]";
|
|
11
11
|
var EASE = "ease-[cubic-bezier(.16,1,.3,1)]";
|
|
12
|
-
var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
12
|
+
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" }) });
|
|
13
13
|
function Preview({ kind }) {
|
|
14
14
|
const bar = "rounded-full bg-[color-mix(in_srgb,var(--ink)_12%,transparent)] transition-colors duration-500";
|
|
15
15
|
return /* @__PURE__ */ jsxs(
|
|
@@ -144,6 +144,8 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
|
|
|
144
144
|
const [scrolled, setScrolled] = useState(false);
|
|
145
145
|
const [sheet, setSheet] = useState(false);
|
|
146
146
|
const [section, setSection] = useState(null);
|
|
147
|
+
const [pill, setPill] = useState({ x: 0, w: 0, on: false, glide: false });
|
|
148
|
+
const [current, setCurrent] = useState(null);
|
|
147
149
|
const root = useRef(null);
|
|
148
150
|
const content = useRef(null);
|
|
149
151
|
const triggers = useRef([]);
|
|
@@ -190,7 +192,6 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
|
|
|
190
192
|
const el = content.current;
|
|
191
193
|
if (shown === null || !el) return;
|
|
192
194
|
const measure = () => setSize({ w: el.offsetWidth, h: el.offsetHeight });
|
|
193
|
-
measure();
|
|
194
195
|
const ro = new ResizeObserver(measure);
|
|
195
196
|
ro.observe(el);
|
|
196
197
|
if (focusPanel.current) {
|
|
@@ -207,6 +208,26 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
|
|
|
207
208
|
target.addEventListener("scroll", read, { passive: true });
|
|
208
209
|
return () => target.removeEventListener("scroll", read);
|
|
209
210
|
}, [scrollRoot]);
|
|
211
|
+
const anchors = items.map((it) => it.href).filter((h) => !!h && h.startsWith("#") && h.length > 1).join(" ");
|
|
212
|
+
useEffect(() => {
|
|
213
|
+
const els = anchors.split(" ").filter(Boolean).map((h) => document.getElementById(decodeURIComponent(h.slice(1)))).filter((el) => !!el);
|
|
214
|
+
if (!els.length) return;
|
|
215
|
+
const io = new IntersectionObserver(
|
|
216
|
+
(entries) => {
|
|
217
|
+
for (const e of entries) if (e.isIntersecting) setCurrent(`#${e.target.id}`);
|
|
218
|
+
if (entries.every((e) => !e.isIntersecting) && entries.length === els.length) setCurrent(null);
|
|
219
|
+
},
|
|
220
|
+
{ root: scrollRoot?.current ?? null, rootMargin: "-45% 0px -50% 0px" }
|
|
221
|
+
);
|
|
222
|
+
els.forEach((el) => io.observe(el));
|
|
223
|
+
return () => io.disconnect();
|
|
224
|
+
}, [anchors, scrollRoot]);
|
|
225
|
+
const glideTo = (el, e) => {
|
|
226
|
+
if (e.pointerType !== "mouse") return;
|
|
227
|
+
const x = el.offsetLeft;
|
|
228
|
+
const w = el.offsetWidth;
|
|
229
|
+
setPill((p) => ({ x, w, on: true, glide: p.on }));
|
|
230
|
+
};
|
|
210
231
|
useEffect(() => {
|
|
211
232
|
const down = (e) => {
|
|
212
233
|
if (!root.current?.contains(e.target)) {
|
|
@@ -233,14 +254,14 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
|
|
|
233
254
|
useEffect(() => () => clearTimeout(timer.current), []);
|
|
234
255
|
const menu = shown !== null ? items[shown]?.menu : void 0;
|
|
235
256
|
const panelX = menu?.list ? Math.max(12, Math.min(anchor.left - 6, anchor.bar - size.w - 12)) : (anchor.bar - size.w) / 2;
|
|
236
|
-
const trigger = "flex h-8 items-center gap-1 rounded-md px-2.5 text-[13.5px] font-medium text-ink-2 outline-none transition-colors duration-200 hover:
|
|
257
|
+
const trigger = "relative flex h-8 items-center gap-1 rounded-md px-2.5 text-[13.5px] font-medium text-ink-2 outline-none transition-colors duration-200 hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 aria-expanded:text-ink";
|
|
237
258
|
return /* @__PURE__ */ jsxs(
|
|
238
259
|
"header",
|
|
239
260
|
{
|
|
240
261
|
ref: root,
|
|
241
262
|
className: cx(
|
|
242
|
-
"sticky top-0 z-30 w-full
|
|
243
|
-
|
|
263
|
+
"sticky top-0 z-30 w-full transition-colors duration-300",
|
|
264
|
+
sheet && "bg-paper",
|
|
244
265
|
className
|
|
245
266
|
),
|
|
246
267
|
children: [
|
|
@@ -249,43 +270,102 @@ function Navbar({ brand, brandHref = "/", items, docs, cta, scrollRoot, classNam
|
|
|
249
270
|
@keyframes kit-nav-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
|
|
250
271
|
@media (prefers-reduced-motion: reduce) { .kit-nav-motion, .kit-nav-motion * { animation: none !important; transition-duration: 0s !important; } }
|
|
251
272
|
` }),
|
|
252
|
-
/* @__PURE__ */ jsxs("div", { "data-kit-nav-bar": true, className: "kit-nav-motion relative flex h-14 items-center gap-3 px-4", children: [
|
|
273
|
+
/* @__PURE__ */ jsxs("div", { "data-kit-nav-bar": true, className: "kit-nav-motion relative isolate flex h-14 items-center gap-3 px-4", children: [
|
|
274
|
+
/* @__PURE__ */ jsx(
|
|
275
|
+
"span",
|
|
276
|
+
{
|
|
277
|
+
"aria-hidden": true,
|
|
278
|
+
className: cx(
|
|
279
|
+
"pointer-events-none absolute inset-x-1.5 inset-y-1.5 -z-10 rounded-[14px] bg-paper/90 backdrop-blur-md transition-[opacity,transform] duration-500",
|
|
280
|
+
"shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_9%,transparent),0_1px_2px_rgb(0_0_0/0.04),0_12px_32px_-16px_rgb(0_0_0/0.28)]",
|
|
281
|
+
EASE,
|
|
282
|
+
scrolled && !sheet ? "opacity-100" : "scale-[.985] opacity-0"
|
|
283
|
+
)
|
|
284
|
+
}
|
|
285
|
+
),
|
|
253
286
|
/* @__PURE__ */ jsx("a", { href: brandHref, className: "flex flex-1 items-center gap-2 text-[15px] font-semibold tracking-[-0.02em] text-ink outline-none focus-visible:ring-2 focus-visible:ring-brand/50 rounded-md", children: brand }),
|
|
254
|
-
/* @__PURE__ */ jsx(
|
|
255
|
-
"
|
|
287
|
+
/* @__PURE__ */ jsx(
|
|
288
|
+
"nav",
|
|
256
289
|
{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
"aria-controls": panelId,
|
|
263
|
-
onPointerEnter: (e) => e.pointerType === "mouse" && enter(i),
|
|
264
|
-
onClick: () => {
|
|
265
|
-
if (open !== i) return show(i);
|
|
266
|
-
if (performance.now() - hoverAt.current > 400) show(null);
|
|
267
|
-
},
|
|
268
|
-
onKeyDown: (e) => {
|
|
269
|
-
if (e.key === "ArrowDown" || (e.key === "Enter" || e.key === " ") && open !== i) {
|
|
270
|
-
e.preventDefault();
|
|
271
|
-
if (open === i) return content.current?.querySelector("[data-kit-nav-link]")?.focus();
|
|
272
|
-
focusPanel.current = true;
|
|
273
|
-
show(i);
|
|
274
|
-
} else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
|
|
275
|
-
e.preventDefault();
|
|
276
|
-
const step = e.key === "ArrowRight" ? 1 : -1;
|
|
277
|
-
const next = (i + step + items.length) % items.length;
|
|
278
|
-
root.current?.querySelectorAll("nav[aria-label=Main] li > *")[next]?.focus();
|
|
279
|
-
if (open !== null && items[next].menu) show(next);
|
|
280
|
-
}
|
|
290
|
+
"aria-label": "Main",
|
|
291
|
+
className: "hidden @min-[560px]:block",
|
|
292
|
+
onPointerLeave: () => {
|
|
293
|
+
leave();
|
|
294
|
+
setPill((p) => ({ ...p, on: false }));
|
|
281
295
|
},
|
|
282
|
-
|
|
283
|
-
children: [
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
296
|
+
onPointerEnter: stay,
|
|
297
|
+
children: /* @__PURE__ */ jsxs("ul", { className: "relative flex items-center gap-0.5", children: [
|
|
298
|
+
/* @__PURE__ */ jsx("li", { "aria-hidden": true, className: "pointer-events-none absolute left-0 top-0", children: /* @__PURE__ */ jsx(
|
|
299
|
+
"span",
|
|
300
|
+
{
|
|
301
|
+
className: cx(
|
|
302
|
+
"block h-8 rounded-md bg-paper-2",
|
|
303
|
+
// perf-ok: width follows the hovered link. An absolute 32px box, so nothing else lays out.
|
|
304
|
+
pill.glide ? "transition-[transform,width,opacity] duration-300" : "transition-opacity duration-200",
|
|
305
|
+
EASE,
|
|
306
|
+
pill.on || open !== null ? "opacity-100" : "opacity-0"
|
|
307
|
+
),
|
|
308
|
+
style: { width: pill.w, transform: `translateX(${pill.x}px)` }
|
|
309
|
+
}
|
|
310
|
+
) }),
|
|
311
|
+
items.map((it, i) => /* @__PURE__ */ jsx("li", { children: it.menu ? /* @__PURE__ */ jsxs(
|
|
312
|
+
"button",
|
|
313
|
+
{
|
|
314
|
+
ref: (el) => {
|
|
315
|
+
triggers.current[i] = el;
|
|
316
|
+
},
|
|
317
|
+
type: "button",
|
|
318
|
+
"aria-expanded": open === i,
|
|
319
|
+
"aria-controls": panelId,
|
|
320
|
+
onPointerEnter: (e) => {
|
|
321
|
+
glideTo(e.currentTarget, e);
|
|
322
|
+
if (e.pointerType === "mouse") enter(i);
|
|
323
|
+
},
|
|
324
|
+
onClick: () => {
|
|
325
|
+
if (open !== i) return show(i);
|
|
326
|
+
if (performance.now() - hoverAt.current > 400) show(null);
|
|
327
|
+
},
|
|
328
|
+
onKeyDown: (e) => {
|
|
329
|
+
if (e.key === "ArrowDown" || (e.key === "Enter" || e.key === " ") && open !== i) {
|
|
330
|
+
e.preventDefault();
|
|
331
|
+
if (open === i) return content.current?.querySelector("[data-kit-nav-link]")?.focus();
|
|
332
|
+
focusPanel.current = true;
|
|
333
|
+
show(i);
|
|
334
|
+
} else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
|
|
335
|
+
e.preventDefault();
|
|
336
|
+
const step = e.key === "ArrowRight" ? 1 : -1;
|
|
337
|
+
const next = (i + step + items.length) % items.length;
|
|
338
|
+
root.current?.querySelectorAll("nav[aria-label=Main] li:not([aria-hidden]) > *")[next]?.focus();
|
|
339
|
+
if (open !== null && items[next].menu) show(next);
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
className: cx(trigger, "pr-2"),
|
|
343
|
+
children: [
|
|
344
|
+
it.label,
|
|
345
|
+
/* @__PURE__ */ jsx(Chevron, { className: cx("text-mute transition-transform duration-300", EASE, open === i ? "-rotate-90" : "rotate-90") })
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
) : /* @__PURE__ */ jsx(
|
|
349
|
+
"a",
|
|
350
|
+
{
|
|
351
|
+
href: it.href,
|
|
352
|
+
"aria-current": current !== null && it.href === current ? "location" : void 0,
|
|
353
|
+
className: cx(
|
|
354
|
+
trigger,
|
|
355
|
+
"aria-[current=location]:text-ink",
|
|
356
|
+
// A small brand dot under the section on screen, with aria-current and a darker label.
|
|
357
|
+
"after:absolute after:bottom-0 after:left-1/2 after:h-1 after:w-1 after:-translate-x-1/2 after:rounded-full after:bg-brand after:opacity-0 after:transition-opacity after:duration-300 aria-[current=location]:after:opacity-100"
|
|
358
|
+
),
|
|
359
|
+
onPointerEnter: (e) => {
|
|
360
|
+
glideTo(e.currentTarget, e);
|
|
361
|
+
if (openRef.current !== null) show(null);
|
|
362
|
+
},
|
|
363
|
+
children: it.label
|
|
364
|
+
}
|
|
365
|
+
) }, it.label))
|
|
366
|
+
] })
|
|
287
367
|
}
|
|
288
|
-
)
|
|
368
|
+
),
|
|
289
369
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center justify-end gap-1.5", children: [
|
|
290
370
|
docs && /* @__PURE__ */ jsx(
|
|
291
371
|
"div",
|
|
@@ -9,9 +9,9 @@ var KEYFRAMES = `@keyframes asta-mp-in { from { opacity: 0; transform: translate
|
|
|
9
9
|
var ROW = 56;
|
|
10
10
|
var BAR = 22;
|
|
11
11
|
var EASE = "cubic-bezier(.16,1,.3,1)";
|
|
12
|
-
var icon = { viewBox: "0 0
|
|
13
|
-
var SPEED = "
|
|
14
|
-
var SMART = "
|
|
12
|
+
var icon = { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.25, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
|
|
13
|
+
var SPEED = "M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z";
|
|
14
|
+
var SMART = "M12 3.5c.7 4.6 2.4 6.3 7 7-4.6.7-6.3 2.4-7 7-.7-4.6-2.4-6.3-7-7 4.6-.7 6.3-2.4 7-7ZM19 16.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5Z";
|
|
15
15
|
function Dots({ n, label }) {
|
|
16
16
|
const v = Math.max(0, Math.min(5, Math.round(n)));
|
|
17
17
|
return /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-[3px]", children: [
|
|
@@ -176,10 +176,13 @@ function ModelPicker({
|
|
|
176
176
|
chip ? "h-8 max-w-[220px] rounded-md px-2 text-[13px] text-ink-2 hover:bg-paper-2 hover:text-ink aria-expanded:bg-paper-2 aria-expanded:text-ink" : "h-10 w-full rounded-lg bg-paper px-3 text-[14px] text-ink 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)] aria-expanded:shadow-[inset_0_0_0_1px_var(--brand),0_0_0_3px_color-mix(in_srgb,var(--brand)_18%,transparent)]"
|
|
177
177
|
),
|
|
178
178
|
children: [
|
|
179
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ jsxs("svg", { ...icon, className: "h-3.5 w-3.5 shrink-0 text-brand", fill: "currentColor", stroke: "none", children: [
|
|
180
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3.5c.7 4.6 2.4 6.3 7 7-4.6.7-6.3 2.4-7 7-.7-4.6-2.4-6.3-7-7 4.6-.7 6.3-2.4 7-7Z" }),
|
|
181
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5Z" })
|
|
182
|
+
] }),
|
|
180
183
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate font-medium", children: selected?.label ?? "Choose a model" }),
|
|
181
184
|
selected?.tag && /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-[5px] bg-[color-mix(in_srgb,var(--ink)_7%,transparent)] px-1.5 py-px text-[11px] font-medium text-ink-2", children: selected.tag }),
|
|
182
|
-
/* @__PURE__ */ jsx("svg", { ...icon, className: cx("ml-auto h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", open && "rotate-180"), children: /* @__PURE__ */ jsx("path", { d: side === "top" ? "
|
|
185
|
+
/* @__PURE__ */ jsx("svg", { ...icon, className: cx("ml-auto h-3.5 w-3.5 shrink-0 text-mute transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", open && "rotate-180"), children: /* @__PURE__ */ jsx("path", { d: side === "top" ? "M6 14.5l6-6 6 6" : "M6 9.5l6 6 6-6" }) })
|
|
183
186
|
]
|
|
184
187
|
}
|
|
185
188
|
),
|
|
@@ -198,8 +201,8 @@ function ModelPicker({
|
|
|
198
201
|
children: [
|
|
199
202
|
searchable && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-3 pt-2.5 pb-1.5", children: [
|
|
200
203
|
/* @__PURE__ */ jsxs("svg", { ...icon, className: "h-4 w-4 shrink-0 text-mute", children: [
|
|
201
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
202
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
204
|
+
/* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "10.5", r: "6" }),
|
|
205
|
+
/* @__PURE__ */ jsx("path", { d: "m15 15 5 5" })
|
|
203
206
|
] }),
|
|
204
207
|
/* @__PURE__ */ jsx(
|
|
205
208
|
"input",
|
|
@@ -280,9 +283,9 @@ function ModelPicker({
|
|
|
280
283
|
"svg",
|
|
281
284
|
{
|
|
282
285
|
...icon,
|
|
283
|
-
strokeWidth:
|
|
286
|
+
strokeWidth: 3,
|
|
284
287
|
className: cx("h-3.5 w-3.5 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"),
|
|
285
|
-
children: /* @__PURE__ */ jsx("path", { d: "
|
|
288
|
+
children: /* @__PURE__ */ jsx("path", { d: "M5 12.5l4.5 4.5L19 7.5" })
|
|
286
289
|
}
|
|
287
290
|
)
|
|
288
291
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ClipboardButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QZPBZONY.js";
|
|
5
5
|
|
|
6
6
|
// components/kit/api-keys.tsx
|
|
7
7
|
import { useEffect, useId, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -43,10 +43,10 @@ function ago(d, now) {
|
|
|
43
43
|
if (s < 86400 * 30) return `${Math.floor(s / 86400)} d ago`;
|
|
44
44
|
return dateFmt(d, now);
|
|
45
45
|
}
|
|
46
|
-
var Icon = ({ d, className = "h-4 w-4" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
47
|
-
var KEY = "
|
|
48
|
-
var PLUS = "
|
|
49
|
-
var WARN = "
|
|
46
|
+
var Icon = ({ d, className = "h-4 w-4" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
47
|
+
var KEY = "M4 15a4 4 0 1 0 8 0a4 4 0 1 0-8 0M10.8 12.2l8.7-8.7M16.5 6.5l2.5 2.5M14 9l2 2";
|
|
48
|
+
var PLUS = "M12 5v14M5 12h14";
|
|
49
|
+
var WARN = "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";
|
|
50
50
|
var firstSeen = null;
|
|
51
51
|
var noop = () => () => {
|
|
52
52
|
};
|
|
@@ -252,7 +252,7 @@ function ApiKeys({
|
|
|
252
252
|
/* @__PURE__ */ jsx("label", { htmlFor: `${id}-exp`, className: LBL, children: "Expires" }),
|
|
253
253
|
/* @__PURE__ */ jsxs("span", { className: "relative", children: [
|
|
254
254
|
/* @__PURE__ */ jsx("select", { id: `${id}-exp`, name: "expires", value: form.expiry, onChange: (e) => setForm((f) => ({ ...f, expiry: e.target.value })), className: cx(FIELD, "cursor-pointer appearance-none pr-9"), children: expiryOptions.map((o, i) => /* @__PURE__ */ jsx("option", { value: i, children: o.label }, o.label)) }),
|
|
255
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
255
|
+
/* @__PURE__ */ jsx(Icon, { d: "M6 9.5l6 6 6-6", className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-mute" })
|
|
256
256
|
] })
|
|
257
257
|
] })
|
|
258
258
|
] }),
|
|
@@ -272,7 +272,7 @@ function ApiKeys({
|
|
|
272
272
|
className: "peer col-start-1 row-start-1 h-[18px] w-[18px] cursor-pointer appearance-none rounded-[6px] bg-paper shadow-[inset_0_0_0_1.5px_color-mix(in_srgb,var(--ink)_22%,transparent)] outline-none transition-[background-color,box-shadow] duration-200 checked:bg-brand checked:shadow-none focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper-2"
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
|
-
/* @__PURE__ */ jsx(Icon, { d: "
|
|
275
|
+
/* @__PURE__ */ jsx(Icon, { d: "M5 12.5l4.5 4.5L19 7.5", className: "pointer-events-none col-start-1 row-start-1 h-3 w-3 scale-50 text-on-brand opacity-0 transition-[opacity,transform] duration-300 peer-checked:scale-100 peer-checked:opacity-100" })
|
|
276
276
|
] }),
|
|
277
277
|
/* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
|
|
278
278
|
/* @__PURE__ */ jsx("span", { className: "block text-[13.5px] leading-[18px] text-ink", children: s.label }),
|
|
@@ -19,9 +19,9 @@ var KEYFRAMES = `@keyframes kit-nc-ring { 0%, 100% { transform: rotate(0) } 15%
|
|
|
19
19
|
var DAY = 864e5;
|
|
20
20
|
var day0 = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime();
|
|
21
21
|
function BellIcon({ className }) {
|
|
22
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0
|
|
23
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
24
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
22
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className, fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
23
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 10a5.5 5.5 0 0 1 11 0v3.5l1.5 3h-14l1.5-3Z" }),
|
|
24
|
+
/* @__PURE__ */ jsx("path", { d: "M10 19.5a2 2 0 0 0 4 0" })
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
27
|
function Panel({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-DK2BM32V.js";
|
|
5
5
|
import {
|
|
6
6
|
Button
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-22ILG5VV.js";
|
|
8
8
|
|
|
9
9
|
// components/kit/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" })
|
|
@@ -104,18 +104,23 @@ function ImageCompare({ before, after, beforeLabel = "Before", afterLabel = "Aft
|
|
|
104
104
|
"pointer-events-auto absolute left-0 top-1/2 grid h-9 w-9 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-paper text-ink outline-none",
|
|
105
105
|
"shadow-[0_6px_18px_-6px_rgb(0_0_0/0.4),0_0_0_1px_rgb(0_0_0/0.06)] focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 focus-visible:ring-offset-paper"
|
|
106
106
|
),
|
|
107
|
-
children: /* @__PURE__ */
|
|
107
|
+
children: /* @__PURE__ */ jsxs(
|
|
108
108
|
"svg",
|
|
109
109
|
{
|
|
110
|
-
viewBox: "0 0
|
|
110
|
+
viewBox: "0 0 24 24",
|
|
111
111
|
className: cx("h-4 w-4 transition-transform duration-300 ease-[cubic-bezier(.16,1,.3,1)]", dragging ? "scale-90" : "group-hover/compare:scale-110"),
|
|
112
112
|
fill: "none",
|
|
113
113
|
stroke: "currentColor",
|
|
114
|
-
strokeWidth: "
|
|
114
|
+
strokeWidth: "2.04",
|
|
115
115
|
strokeLinecap: "round",
|
|
116
116
|
strokeLinejoin: "round",
|
|
117
117
|
"aria-hidden": true,
|
|
118
|
-
children:
|
|
118
|
+
children: [
|
|
119
|
+
/* @__PURE__ */ jsx("path", { d: "M20 8H5" }),
|
|
120
|
+
/* @__PURE__ */ jsx("path", { d: "M8.5 4.5 5 8l3.5 3.5" }),
|
|
121
|
+
/* @__PURE__ */ jsx("path", { d: "M4 16h15" }),
|
|
122
|
+
/* @__PURE__ */ jsx("path", { d: "m15.5 12.5 3.5 3.5-3.5 3.5" })
|
|
123
|
+
]
|
|
119
124
|
}
|
|
120
125
|
)
|
|
121
126
|
}
|
|
@@ -29,7 +29,10 @@ var LINKS = [
|
|
|
29
29
|
{ label: "Archive", href: "#" },
|
|
30
30
|
{ label: "About", href: "#" }
|
|
31
31
|
];
|
|
32
|
-
var Arrow = ({ className = "" }) => /* @__PURE__ */
|
|
32
|
+
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: [
|
|
33
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h15" }),
|
|
34
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
35
|
+
] });
|
|
33
36
|
function Digit({ d, show = true }) {
|
|
34
37
|
return (
|
|
35
38
|
// perf-ok: the slot opens or closes only when the digit count changes (at 10% and 100%), inside an absolute layer.
|
|
@@ -12,12 +12,12 @@ var CSS = `
|
|
|
12
12
|
@keyframes aui043-draw { from { stroke-dashoffset: 16 } }
|
|
13
13
|
@media (prefers-reduced-motion: reduce) { .aui043 *, .aui043 { animation: none !important; transition: none !important } }
|
|
14
14
|
`;
|
|
15
|
-
var icon = (d) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
15
|
+
var icon = (d) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d }) });
|
|
16
16
|
var ROLES = [
|
|
17
|
-
{ value: "owner", label: "Owner", description: "Billing, members and every project", icon: icon("
|
|
18
|
-
{ value: "admin", label: "Admin", description: "Manage members and settings", icon: icon("
|
|
19
|
-
{ value: "editor", label: "Editor", description: "Create and publish in any project", icon: icon("
|
|
20
|
-
{ value: "viewer", label: "Viewer", description: "Read and comment, no edits", icon: icon("
|
|
17
|
+
{ value: "owner", label: "Owner", description: "Billing, members and every project", icon: icon("M4 8.5 7.5 13 12 5.5 16.5 13 20 8.5 18.5 17h-13ZM5.5 20.5h13"), meta: "1 seat" },
|
|
18
|
+
{ value: "admin", label: "Admin", description: "Manage members and settings", icon: icon("M12 3.5 19 6v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6ZM9 12l2 2 4-4") },
|
|
19
|
+
{ value: "editor", label: "Editor", description: "Create and publish in any project", icon: icon("M4.5 19.5 5 16 15.5 5.5a2.1 2.1 0 0 1 3 3L8 19ZM13.5 7.5l3 3") },
|
|
20
|
+
{ value: "viewer", label: "Viewer", description: "Read and comment, no edits", icon: icon("M2.5 12c3-5.5 16-5.5 19 0-3 5.5-16 5.5-19 0ZM9.25 12a2.75 2.75 0 1 0 5.5 0a2.75 2.75 0 1 0-5.5 0") }
|
|
21
21
|
];
|
|
22
22
|
function roomBelow(el, need) {
|
|
23
23
|
const r = el.getBoundingClientRect();
|
|
@@ -157,7 +157,10 @@ function RichSelect({ options = ROLES, value, defaultValue, onChange, label = "R
|
|
|
157
157
|
/* @__PURE__ */ jsx("span", { className: "block truncate text-[14px] font-medium tracking-[-0.01em] text-ink", children: sel?.label }),
|
|
158
158
|
/* @__PURE__ */ jsx("span", { className: "block truncate text-[12.5px] text-mute", children: sel?.description })
|
|
159
159
|
] }, sel?.value),
|
|
160
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", className: "h-4 w-4 shrink-0 text-mute transition-colors group-hover:text-ink", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
|
|
161
|
+
/* @__PURE__ */ jsx("path", { d: "m8 9 4-4 4 4" }),
|
|
162
|
+
/* @__PURE__ */ jsx("path", { d: "m8 15 4 4 4-4" })
|
|
163
|
+
] })
|
|
161
164
|
]
|
|
162
165
|
}
|
|
163
166
|
),
|
|
@@ -181,7 +184,7 @@ function RichSelect({ options = ROLES, value, defaultValue, onChange, label = "R
|
|
|
181
184
|
style: { animation: `aui043-pop .32s ${EASE} both` },
|
|
182
185
|
children: [
|
|
183
186
|
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute inset-x-1.5 top-1.5 rounded-[9px] bg-paper-2", style: glide(active) }),
|
|
184
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute right-4 top-1.5 z-10 flex items-center", style: glide(picked), children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-brand text-on-brand shadow-[0_4px_10px_-4px_color-mix(in_srgb,var(--brand)_80%,transparent)]", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
187
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute right-4 top-1.5 z-10 flex items-center", style: glide(picked), children: /* @__PURE__ */ jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-brand text-on-brand shadow-[0_4px_10px_-4px_color-mix(in_srgb,var(--brand)_80%,transparent)]", 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", strokeDasharray: "16", style: { animation: `aui043-draw .5s ${EASE} .15s both` }, children: /* @__PURE__ */ jsx("path", { d: "m5 12.5 4.5 4.5L19 7.5" }) }, current) }) }),
|
|
185
188
|
options.map((o, i) => /* @__PURE__ */ jsxs(
|
|
186
189
|
"li",
|
|
187
190
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-STEGNOAK.js";
|
|
5
5
|
import {
|
|
6
6
|
Avatar
|
|
7
7
|
} from "./chunk-3OCWR4L3.js";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-22ILG5VV.js";
|
|
11
11
|
|
|
12
12
|
// components/kit/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 }),
|
|
@@ -23,7 +23,6 @@ function RadioGroup({ options, value, defaultValue, onChange, variant = "cards",
|
|
|
23
23
|
const el = refs.current[index];
|
|
24
24
|
if (el) setGlide({ x: el.offsetLeft, y: el.offsetTop, w: el.offsetWidth, h: el.offsetHeight });
|
|
25
25
|
};
|
|
26
|
-
measure();
|
|
27
26
|
const ro = new ResizeObserver(measure);
|
|
28
27
|
if (box.current) ro.observe(box.current);
|
|
29
28
|
return () => ro.disconnect();
|
|
@@ -33,22 +33,22 @@ var CSS = `
|
|
|
33
33
|
`;
|
|
34
34
|
var at = (n) => ({ "--i": n });
|
|
35
35
|
var PATHS = {
|
|
36
|
-
vase: "
|
|
37
|
-
bowl: "
|
|
38
|
-
jug: "
|
|
39
|
-
plate: "
|
|
40
|
-
cup: "
|
|
41
|
-
gift: "
|
|
42
|
-
pin: "
|
|
43
|
-
brush: "
|
|
44
|
-
leaf: "
|
|
45
|
-
box: "
|
|
46
|
-
undo: "
|
|
47
|
-
mail: "
|
|
36
|
+
vase: "M9.75 3.75h4.5M10.5 3.75v3C6.75 9 6 12.75 6.75 16.5c.6 2.55 2.7 3.75 5.25 3.75s4.65-1.2 5.25-3.75c.75-3.75 0-7.5-3.75-9.75v-3",
|
|
37
|
+
bowl: "M3.75 10.5h16.5c-.6 4.95-3.9 8.25-8.25 8.25S4.35 15.45 3.75 10.5ZM9 20.25h6",
|
|
38
|
+
jug: "M7.5 4.5h7.5l-.75 3c2.7 2.1 3 6.75 1.8 9.75-.6 1.8-2.25 3-4.05 3s-3.45-1.2-4.05-3C6.75 14.25 7.05 9.6 9.75 7.5L7.5 4.5ZM16.5 9.75c2.7 0 3.6 3.9 .6 5.1",
|
|
39
|
+
plate: "M12 20.25a8.25 8.25 0 1 0 0-16.5 8.25 8.25 0 0 0 0 16.5ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",
|
|
40
|
+
cup: "M5 9h11v6a4 4 0 0 1-4 4H9a4 4 0 0 1-4-4ZM16 10.5h1.5a2.5 2.5 0 0 1 0 5H16M8.5 3.5V6M12 3.5V6",
|
|
41
|
+
gift: "M5 9h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-14a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1ZM5.5 13v7h13v-7M12 9v11M12 9C10.5 5 6 5 7 7.8 7.4 8.8 9 9 12 9Zm0 0c1.5-4 6-4 5-1.2-.4 1-2 1.2-5 1.2Z",
|
|
42
|
+
pin: "M12 21s6.5-5.6 6.5-11a6.5 6.5 0 0 0-13 0c0 5.4 6.5 11 6.5 11ZM9.75 10a2.25 2.25 0 1 0 4.5 0a2.25 2.25 0 1 0-4.5 0",
|
|
43
|
+
brush: "M20.5 3.5l-7.75 7.75M11 9.5l3.5 3.5M11 9.5c-2 0-4 1.5-4.5 4S5 18.5 4 20c2.5 0 6-.5 8-2.5s2.5-3.5 2.5-4.5",
|
|
44
|
+
leaf: "M6 18C6 9.5 11 5 19.5 4.5 19 13 14.5 18 6 18ZM4 20l8-8",
|
|
45
|
+
box: "M12 3l8 4.5v9L12 21l-8-4.5v-9ZM4 7.5l8 4.5 8-4.5M12 12v9",
|
|
46
|
+
undo: "M9 14 4.5 9.5 9 5M4.5 9.5H14a5.5 5.5 0 0 1 0 11h-3",
|
|
47
|
+
mail: "M5.5 5.5h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2ZM4 7l8 6 8-6"
|
|
48
48
|
};
|
|
49
|
-
var Glyph = ({ name, className = "h-3.5 w-3.5" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
49
|
+
var Glyph = ({ name, className = "h-3.5 w-3.5" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", className, fill: "none", stroke: "currentColor", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: PATHS[name] }) });
|
|
50
50
|
var Badge = ({ icon, size = "h-7 w-7" }) => /* @__PURE__ */ jsx("span", { className: cx("grid shrink-0 place-items-center rounded-[7px] bg-paper/[.06] text-paper shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--paper)_12%,transparent)]", size), children: /* @__PURE__ */ jsx(Glyph, { name: icon }) });
|
|
51
|
-
var Chevron = ({ className = "" }) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0
|
|
51
|
+
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" }) });
|
|
52
52
|
var LEFT = [
|
|
53
53
|
{
|
|
54
54
|
label: "Shop",
|