efficient-shell 8.32.0 → 8.34.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/README.md +57 -15
- package/THIRD_PARTY_NOTICES.md +11 -2
- package/dist/{Browser-Y335UIBR.js → Browser-QBAMRKYI.js} +10 -10
- package/dist/{Documents-SP25WN7V.js → Documents-E3GMXALJ.js} +7 -7
- package/dist/{Files-SEGSJMVA.js → Files-2DWPYRM5.js} +22 -22
- package/dist/{Notepad-ZJ7N4TZM.js → Notepad-VQ66RWLT.js} +9 -9
- package/dist/{PomodoroTimer-ZR2VLO6G.js → PomodoroTimer-2HPCAEI5.js} +1 -1
- package/dist/{Preview-AZQSMBW5.js → Preview-VZYFOH2U.js} +22 -22
- package/dist/{Spreadsheet-UWD62JIM.js → Spreadsheet-4KXRJSHT.js} +8 -8
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.js +7 -7
- package/dist/ai.css +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/chunk-243NPEG6.js +2 -0
- package/dist/chunk-2UCDJCGZ.js +4 -0
- package/dist/{chunk-LK2SICMI.js → chunk-2UXAI77F.js} +1 -1
- package/dist/chunk-2ZD67TDP.js +2 -0
- package/dist/{chunk-3ZVRB3CV.js → chunk-3BPF6PP3.js} +1 -1
- package/dist/{chunk-VUCJ53H4.js → chunk-3C67XRVJ.js} +7 -7
- package/dist/chunk-3ER2WJNL.js +2 -0
- package/dist/{chunk-F64DN4BV.js → chunk-3J5QUHPO.js} +2 -2
- package/dist/chunk-44F7JLNV.js +2 -0
- package/dist/chunk-474G67EG.js +6 -0
- package/dist/chunk-47OCVZXD.js +2 -0
- package/dist/{chunk-BGLKEWVR.js → chunk-4C4SQ4YW.js} +1 -1
- package/dist/chunk-4CFQXH5N.js +2 -0
- package/dist/chunk-4FNGR474.js +2 -0
- package/dist/chunk-4L7GLO5W.js +2 -0
- package/dist/chunk-4RDYNULI.js +2 -0
- package/dist/chunk-57SJKYA4.js +29 -0
- package/dist/chunk-5DFKPSJQ.js +1 -0
- package/dist/chunk-5HDMPCZP.js +2 -0
- package/dist/chunk-5KZ4WKUI.js +2 -0
- package/dist/chunk-6I7EODFJ.js +7 -0
- package/dist/chunk-6IUDFVTN.js +2 -0
- package/dist/chunk-75IWV4ZF.js +2 -0
- package/dist/chunk-77SI7AKG.js +2 -0
- package/dist/chunk-7GB7CVQI.js +2 -0
- package/dist/chunk-7KCJ77BP.js +2 -0
- package/dist/chunk-7P3DXO3E.js +2 -0
- package/dist/{chunk-AWY3F6PV.js → chunk-7PCI6AUU.js} +1 -1
- package/dist/{chunk-77FLITYM.js → chunk-AS4CTEZD.js} +5 -5
- package/dist/{chunk-KWMMIOHD.js → chunk-B2XDNBR3.js} +13 -13
- package/dist/{chunk-3Z6ASFGL.js → chunk-BQ2IPQNR.js} +1 -1
- package/dist/chunk-BUGAWNOC.js +14 -0
- package/dist/chunk-BWIX3YIH.js +2 -0
- package/dist/{chunk-XEKPJGVZ.js → chunk-BX2IOAD5.js} +1 -1
- package/dist/chunk-BXQYRG7P.js +2 -0
- package/dist/chunk-BZR43D3G.js +2 -0
- package/dist/{chunk-MSQB2OE2.js → chunk-BZV4K6GR.js} +21 -21
- package/dist/chunk-CAUWHLN7.js +4 -0
- package/dist/{chunk-MTXTJLFK.js → chunk-CPXHU3Y2.js} +1 -1
- package/dist/{chunk-LLLAIPFX.js → chunk-CRYEG7OT.js} +1 -1
- package/dist/{chunk-NMK4UQXZ.js → chunk-DGLCMYSQ.js} +8 -8
- package/dist/chunk-DS6R5R3O.js +2 -0
- package/dist/chunk-EHMDGAWA.js +2 -0
- package/dist/chunk-EQPVQY5E.js +2 -0
- package/dist/chunk-FATXXVV3.js +2 -0
- package/dist/chunk-FEVWWOGL.js +2 -0
- package/dist/{chunk-QPX35URZ.js → chunk-FFJVCLGH.js} +10 -10
- package/dist/chunk-FMERDO2X.js +2 -0
- package/dist/chunk-FOXMWLVS.js +2 -0
- package/dist/chunk-FUSCAZEK.js +2 -0
- package/dist/chunk-G4GQOAWS.js +2 -0
- package/dist/{chunk-YRWRA7MW.js → chunk-GIM2422N.js} +1 -1
- package/dist/{chunk-UNEJ2ABD.js → chunk-GX2GSDJP.js} +1 -1
- package/dist/chunk-HSOREHQB.js +1 -0
- package/dist/chunk-I27TFZJH.js +2 -0
- package/dist/chunk-IBHBPSQN.js +2 -0
- package/dist/chunk-INUXPG27.js +2 -0
- package/dist/chunk-IWQSBA3D.js +2 -0
- package/dist/chunk-JJXFPGX4.js +6 -0
- package/dist/chunk-JMWKD4R5.js +2 -0
- package/dist/chunk-JREQY3YN.js +2 -0
- package/dist/chunk-K4RFJ7P2.js +2 -0
- package/dist/{chunk-TFMOGKW2.js → chunk-KKSW5IZ7.js} +10 -10
- package/dist/chunk-KTMEHSTB.js +2 -0
- package/dist/chunk-L65BESIE.js +1 -0
- package/dist/{chunk-KAWMOFSI.js → chunk-LCM5U6BY.js} +1 -1
- package/dist/{chunk-35YON46D.js → chunk-LEC4SZIV.js} +1 -1
- package/dist/chunk-LQD7K7HK.js +2 -0
- package/dist/{chunk-DJCC3WBR.js → chunk-LYYR5DSP.js} +8 -8
- package/dist/{chunk-F4GLNQIX.js → chunk-MEFXMUWI.js} +1 -1
- package/dist/chunk-MTZUYC4Y.js +5 -0
- package/dist/chunk-MVJ34HIV.js +2 -0
- package/dist/chunk-NEQFHRF3.js +2 -0
- package/dist/chunk-NFMDU4EJ.js +4 -0
- package/dist/chunk-NK7HBFNQ.js +2 -0
- package/dist/chunk-NTME34BP.js +2 -0
- package/dist/chunk-NTWI7EGJ.js +4 -0
- package/dist/chunk-NZBQVE3Q.js +2 -0
- package/dist/{chunk-72YFU346.js → chunk-OFHCDTJM.js} +1 -1
- package/dist/chunk-OIH56GH5.js +2 -0
- package/dist/chunk-OKRAYHGW.js +2 -0
- package/dist/chunk-OM5K4WCB.js +2 -0
- package/dist/chunk-ONC3BFFM.js +2 -0
- package/dist/chunk-OSXM35MX.js +2 -0
- package/dist/chunk-PAZU27H5.js +2 -0
- package/dist/chunk-PBGMVLOF.js +2 -0
- package/dist/{chunk-NT26CWMZ.js → chunk-PBMZJXSZ.js} +5 -5
- package/dist/chunk-PF3ANJFI.js +1 -0
- package/dist/chunk-PRJJK7VR.js +2 -0
- package/dist/chunk-PYW3HX7A.js +2 -0
- package/dist/chunk-QDOTMA3W.js +5 -0
- package/dist/chunk-QTM26JQP.js +2 -0
- package/dist/chunk-QYEMC2OA.js +2 -0
- package/dist/chunk-R2IXRW5N.js +2 -0
- package/dist/chunk-RAHDUMQ5.js +2 -0
- package/dist/chunk-RBXMTHOT.js +4 -0
- package/dist/{chunk-GWIPZKZJ.js → chunk-RCMP37VO.js} +3 -3
- package/dist/chunk-RERNKFEW.js +19 -0
- package/dist/chunk-ROUTBYMG.js +5 -0
- package/dist/chunk-T3NJAOJL.js +2 -0
- package/dist/{chunk-BDCMFW5N.js → chunk-T5SEGUCJ.js} +1 -1
- package/dist/chunk-TI5WUO3V.js +2 -0
- package/dist/chunk-UKC6VJE4.js +2 -0
- package/dist/chunk-URWQO4KB.js +2 -0
- package/dist/{chunk-UX6HNRFV.js → chunk-USYNZGY4.js} +6 -6
- package/dist/chunk-V3GM5NXB.js +2 -0
- package/dist/chunk-V6Q2GZAI.js +2 -0
- package/dist/{chunk-QFA5COE6.js → chunk-VB7Z3HXO.js} +1 -1
- package/dist/chunk-VRODVMV3.js +1 -0
- package/dist/chunk-VW4FHT46.js +2 -0
- package/dist/chunk-W5DLG5T2.js +2 -0
- package/dist/chunk-W5I35GZZ.js +2 -0
- package/dist/{chunk-DCUBOLIR.js → chunk-WQNIXV4T.js} +9 -9
- package/dist/chunk-WYDD26UO.js +2 -0
- package/dist/chunk-XUYWUGDM.js +2 -0
- package/dist/chunk-YHYAGJ6V.js +2 -0
- package/dist/chunk-YKKMR5DU.js +8 -0
- package/dist/chunk-YVULGIDQ.js +2 -0
- package/dist/chunk-Z5XEAC32.js +2 -0
- package/dist/chunk-ZBL4CN2E.js +2 -0
- package/dist/chunk-ZEN67DFI.js +2 -0
- package/dist/{chunk-JEXXJK7H.js → chunk-ZT5Y5JZB.js} +1 -1
- package/dist/chunk-ZXU4DEQM.js +2 -0
- package/dist/chunk-ZZIVSJ2B.js +2 -0
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DatePicker.js +1 -1
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/DateTimePicker.js +1 -1
- package/dist/forms/Input.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/Select.d.ts +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Switch.js +1 -1
- package/dist/forms/TagInput.js +1 -1
- package/dist/forms/TextToolbar.d.ts +4 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/Textarea.js +1 -1
- package/dist/forms/TimePicker.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/settingRowContext.d.ts +11 -1
- package/dist/forms/settingRowContext.js +1 -1
- package/dist/forms/styles.d.ts +11 -4
- package/dist/forms/styles.js +1 -1
- package/dist/forms/textAlign.d.ts +89 -0
- package/dist/forms/textAlign.js +2 -0
- package/dist/icons/efficient-glyphs.d.ts +61 -0
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.d.ts +22 -0
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient-meanings.d.ts +61 -0
- package/dist/icons/efficient-meanings.js +1 -1
- package/dist/icons/efficient.d.ts +61 -0
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/glyphs/BrandAdyenIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAdyenIcon.js +1 -0
- package/dist/icons/glyphs/BrandAfterpayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAfterpayIcon.js +1 -0
- package/dist/icons/glyphs/BrandAircallIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAircallIcon.js +1 -0
- package/dist/icons/glyphs/BrandAmericanexpressIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAmericanexpressIcon.js +1 -0
- package/dist/icons/glyphs/BrandApplepayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandApplepayIcon.js +1 -0
- package/dist/icons/glyphs/BrandBigcommerceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandBigcommerceIcon.js +1 -0
- package/dist/icons/glyphs/BrandBrevoIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandBrevoIcon.js +1 -0
- package/dist/icons/glyphs/BrandCalendlyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandCalendlyIcon.js +1 -0
- package/dist/icons/glyphs/BrandCampaignmonitorIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandCampaignmonitorIcon.js +1 -0
- package/dist/icons/glyphs/BrandDhlIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandDhlIcon.js +1 -0
- package/dist/icons/glyphs/BrandDropboxIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandDropboxIcon.js +1 -0
- package/dist/icons/glyphs/BrandEbayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandEbayIcon.js +1 -0
- package/dist/icons/glyphs/BrandEtsyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandEtsyIcon.js +1 -0
- package/dist/icons/glyphs/BrandFacebookIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandFacebookIcon.js +1 -0
- package/dist/icons/glyphs/BrandFedexIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandFedexIcon.js +1 -0
- package/dist/icons/glyphs/BrandGmailIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGmailIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogleadsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogleadsIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogleanalyticsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogleanalyticsIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglecalendarIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglecalendarIcon.js +1 -0
- package/dist/icons/glyphs/BrandGoogledriveIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGoogledriveIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglepayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglepayIcon.js +1 -0
- package/dist/icons/glyphs/BrandGooglesheetsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandGooglesheetsIcon.js +1 -0
- package/dist/icons/glyphs/BrandHubspotIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandHubspotIcon.js +1 -0
- package/dist/icons/glyphs/BrandInstagramIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandInstagramIcon.js +1 -0
- package/dist/icons/glyphs/BrandIntercomIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandIntercomIcon.js +1 -0
- package/dist/icons/glyphs/BrandKlarnaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandKlarnaIcon.js +1 -0
- package/dist/icons/glyphs/BrandLineIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandLineIcon.js +1 -0
- package/dist/icons/glyphs/BrandLinkedinIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandLinkedinIcon.js +1 -0
- package/dist/icons/glyphs/BrandMailchimpIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMailchimpIcon.js +1 -0
- package/dist/icons/glyphs/BrandMailgunIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMailgunIcon.js +1 -0
- package/dist/icons/glyphs/BrandMakeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMakeIcon.js +1 -0
- package/dist/icons/glyphs/BrandMastercardIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMastercardIcon.js +1 -0
- package/dist/icons/glyphs/BrandMessengerIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMessengerIcon.js +1 -0
- package/dist/icons/glyphs/BrandMetaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMetaIcon.js +1 -0
- package/dist/icons/glyphs/BrandMyobIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandMyobIcon.js +1 -0
- package/dist/icons/glyphs/BrandNotionIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandNotionIcon.js +1 -0
- package/dist/icons/glyphs/BrandPaypalIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandPaypalIcon.js +1 -0
- package/dist/icons/glyphs/BrandPinterestIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandPinterestIcon.js +1 -0
- package/dist/icons/glyphs/BrandQuickbooksIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandQuickbooksIcon.js +1 -0
- package/dist/icons/glyphs/BrandSageIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSageIcon.js +1 -0
- package/dist/icons/glyphs/BrandShopifyIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandShopifyIcon.js +1 -0
- package/dist/icons/glyphs/BrandSquareIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSquareIcon.js +1 -0
- package/dist/icons/glyphs/BrandSquarespaceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandSquarespaceIcon.js +1 -0
- package/dist/icons/glyphs/BrandStripeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandStripeIcon.js +1 -0
- package/dist/icons/glyphs/BrandTelegramIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTelegramIcon.js +1 -0
- package/dist/icons/glyphs/BrandTiktokIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTiktokIcon.js +1 -0
- package/dist/icons/glyphs/BrandTrelloIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandTrelloIcon.js +1 -0
- package/dist/icons/glyphs/BrandUpsIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandUpsIcon.js +1 -0
- package/dist/icons/glyphs/BrandVisaIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandVisaIcon.js +1 -0
- package/dist/icons/glyphs/BrandVonageIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandVonageIcon.js +1 -0
- package/dist/icons/glyphs/BrandWechatIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWechatIcon.js +1 -0
- package/dist/icons/glyphs/BrandWhatsappIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWhatsappIcon.js +1 -0
- package/dist/icons/glyphs/BrandWiseIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWiseIcon.js +1 -0
- package/dist/icons/glyphs/BrandWixIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWixIcon.js +1 -0
- package/dist/icons/glyphs/BrandWoocommerceIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandWoocommerceIcon.js +1 -0
- package/dist/icons/glyphs/BrandXIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandXIcon.js +1 -0
- package/dist/icons/glyphs/BrandXeroIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandXeroIcon.js +1 -0
- package/dist/icons/glyphs/BrandYoutubeIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandYoutubeIcon.js +1 -0
- package/dist/icons/glyphs/BrandZapierIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZapierIcon.js +1 -0
- package/dist/icons/glyphs/BrandZendeskIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZendeskIcon.js +1 -0
- package/dist/icons/glyphs/BrandZoomIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandZoomIcon.js +1 -0
- package/dist/icons/index.d.ts +6 -4
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/BrandFacebookOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandFacebookOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandFacebookSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandFacebookSolidIcon.js +1 -0
- package/dist/icons/looks/BrandInstagramOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandInstagramOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandInstagramSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandInstagramSolidIcon.js +1 -0
- package/dist/icons/looks/BrandLineOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLineOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandLineSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLineSolidIcon.js +1 -0
- package/dist/icons/looks/BrandLinkedinOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLinkedinOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandLinkedinSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandLinkedinSolidIcon.js +1 -0
- package/dist/icons/looks/BrandPinterestOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandPinterestOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandPinterestSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandPinterestSolidIcon.js +1 -0
- package/dist/icons/looks/BrandTelegramOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTelegramOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandTelegramSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTelegramSolidIcon.js +1 -0
- package/dist/icons/looks/BrandTiktokOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTiktokOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandTiktokSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandTiktokSolidIcon.js +1 -0
- package/dist/icons/looks/BrandWechatOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWechatOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandWechatSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWechatSolidIcon.js +1 -0
- package/dist/icons/looks/BrandWhatsappOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWhatsappOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandWhatsappSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandWhatsappSolidIcon.js +1 -0
- package/dist/icons/looks/BrandXOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandXOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandXSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandXSolidIcon.js +1 -0
- package/dist/icons/looks/BrandYoutubeOutlineIcon.d.ts +11 -0
- package/dist/icons/looks/BrandYoutubeOutlineIcon.js +1 -0
- package/dist/icons/looks/BrandYoutubeSolidIcon.d.ts +11 -0
- package/dist/icons/looks/BrandYoutubeSolidIcon.js +1 -0
- package/dist/icons/looks/map.d.ts +1 -1
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +141 -141
- package/dist/names-mX74Rrmy.d.ts +23 -0
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.d.ts +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/SettingRow.d.ts +9 -1
- package/dist/shell/SettingRow.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +16 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-74TPCYHX.js +0 -29
- package/dist/chunk-E4Z5OXBI.js +0 -1
- package/dist/chunk-GSS4E7X3.js +0 -1
- package/dist/chunk-HJH4WIBC.js +0 -19
- package/dist/chunk-JFSYWEHD.js +0 -1
- package/dist/chunk-L2OSJ2YC.js +0 -1
- package/dist/chunk-PNGL4ZW2.js +0 -6
- package/dist/chunk-STA76WXF.js +0 -2
- package/dist/chunk-WZNGOA4Z.js +0 -1
- package/dist/chunk-X7XJBK2E.js +0 -14
- package/dist/names-DYWfNBkN.d.ts +0 -21
- /package/dist/{chunk-2HDDCXTW.js → chunk-EHPZIBOL.js} +0 -0
- /package/dist/{chunk-WYHRPXEX.js → chunk-KJRYEKQP.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as c}from"react/jsx-runtime";function e({size:e,width:i,height:l,style:r,...h}){const a=t(e??i??l??18,1);/* @__PURE__ */
|
|
2
|
+
return c("svg",{width:a.width,height:a.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...h,style:{...a.style,...r},children:/* @__PURE__ */c("path",{d:"M12 0C5.373 0 0 5.373 0 12c0 6.628 5.373 12 12 12 6.628 0 12-5.372 12-12 0-6.627-5.372-12-12-12Zm1.236 4.924a2.21 2.21 0 0 1 1.15.299l4.457 2.557c1.495.857 1.495 3.013 0 3.87l-4.457 2.558c-1.488.854-3.342-.22-3.342-1.935v-.34a.441.441 0 0 0-.66-.383L6.287 13.9a.441.441 0 0 0 0 .765l4.096 2.35a.44.44 0 0 0 .661-.382v-.685c0-.333.36-.542.649-.376l1.041.597a.441.441 0 0 1 .222.383v.29c0 1.715-1.854 2.789-3.342 1.935L5.157 16.22c-1.495-.857-1.495-3.013 0-3.87l4.457-2.558c1.488-.854 3.342.22 3.342 1.935v.34c0 .34.366.551.66.383l4.097-2.35a.441.441 0 0 0 0-.765l-4.096-2.351a.441.441 0 0 0-.661.382v.685c0 .333-.36.541-.649.375l-1.041-.597a.442.442 0 0 1-.222-.383v-.29c0-1.285 1.043-2.21 2.192-2.233z"})})}export{e as BrandAfterpayIcon};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import{Calendar as e,fromKey as t}from"./chunk-3V5Z2BJY.js";import{FILTER_ON as r,FILTER_ON_INK as n,FILTER_OFF as a}from"./chunk-
|
|
2
|
-
/* @__PURE__ */N("button",{type:"button",onClick:()=>oe("Custom"),className:Re("Custom"),children:
|
|
3
|
-
/* @__PURE__ */N(e,{mode:"range",min:
|
|
4
|
-
return v("div",{className:"relative"+(
|
|
5
|
-
/* @__PURE__ */v("div",{className:`${
|
|
6
|
-
/* @__PURE__ */v("button",{ref:de,type:"button",onClick:()=>{A||(te(M),ne($),oe(null),ie(M&&!$?"to":"from"),De(M?C(j(M)):W(Me,
|
|
1
|
+
import{Calendar as e,fromKey as t}from"./chunk-3V5Z2BJY.js";import{FILTER_ON as r,FILTER_ON_INK as n,FILTER_OFF as a}from"./chunk-PF3ANJFI.js";import{calendarNames as o}from"./chunk-5OTS2G3M.js";import{buttonClasses as l}from"./chunk-K7U4RWXJ.js";import{Icon as i}from"./chunk-KIBL6M3T.js";import{onOverlayOpen as s}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as d}from"./chunk-62LW225J.js";import{useDropdownPosition as c}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as m}from"./chunk-D65T4H6J.js";import{glassStyle as u}from"./chunk-DTJRIWFR.js";import{useShellStrings as p,useShellLocale as h}from"./chunk-E6UCGCOC.js";import{useState as f,useRef as g,useId as b,useEffect as x}from"react";import{createPortal as y}from"react-dom";import{jsxs as v,Fragment as w,jsx as N}from"react/jsx-runtime";var k=["last2Weeks","lastMonth","last3Months","last6Months","last12Months"],C=e=>`${e.getFullYear()}-${M(e.getMonth()+1)}`,M=e=>String(e).padStart(2,"0");function $(e){return`${e.getFullYear()}-${M(e.getMonth()+1)}-${M(e.getDate())}`}function D(e,t){const r=t.getFullYear(),n=t.getMonth(),a=new Date(r,n,t.getDate()),o=new Date(r,n,0),l=e=>new Date(r,n-e,1);switch(e){case"last2Weeks":return{from:$(new Date(r,n,t.getDate()-14)),to:$(a)};case"lastMonth":return{from:$(l(1)),to:$(o)};case"last3Months":return{from:$(l(3)),to:$(o)};case"last6Months":return{from:$(l(6)),to:$(o)};case"last12Months":return{from:$(l(12)),to:$(o)}}}function W(e,t,r){const n=C(e);return t&&n<t.slice(0,7)?t.slice(0,7):r&&n>r.slice(0,7)?r.slice(0,7):n}function j(e){const[t,r,n]=e.split("-").map(Number);return new Date(t,r-1,n)}function S(e){const[t,r,n]=e.split("-");return t&&r&&n?`${n}/${r}/${t}`:e}var F=/* @__PURE__ */new Map;function O({from:M,to:$,onChange:O,formatDisplay:T,clearable:J,required:R=!1,name:B,id:L,"aria-labelledby":Y,"aria-label":E,weekStartsOn:G,placeholder:H,fullWidth:I=!1,min:U,max:q,disabled:A=!1,allowOpenEnd:K=!1}){const P=p().dateRange,V=h(),Z=T??(V?function(e){let t=F.get(e);t||(t=new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",calendar:"gregory"}),F.set(e,t));const r=t;return e=>{const[t,n,a]=e.split("-").map(Number);return t&&n&&a?r.format(new Date(Date.UTC(t,n-1,a))):e}}(V):S),z=H??P.placeholder,X=J??!R,[Q,_]=f(!1),[ee,te]=f(M),[re,ne]=f($),[ae,oe]=f(null),[le,ie]=f("from"),se=g(null),de=g(null),ce=g(null),me=b(),ue=b(),pe=b(),[he,fe]=f(!1),ge=c(se,Q,{preferredMaxWidth:520,preferredMaxHeight:he?720:560,popupRef:ce}),be=g(null),xe=g(null),[ye,ve]=f(!0);m(()=>{const e=xe.current;if(!Q||!he||!e)return;const t=getComputedStyle(e).gridTemplateColumns.split(" ").filter(Boolean).length||1,r=parseFloat(getComputedStyle(e).columnGap)||0,n=(e.clientWidth-r*(t-1))/t,a=Math.max(...Array.from(e.querySelectorAll("[data-preset-measure]"),e=>e.offsetWidth))+24+2<=n+.5;a!==ye&&ve(a)});const we=g(null);m(()=>{const e=ce.current;if(!Q||!ge||!e)return;const t=getComputedStyle(e),r=ge.maxWidth-(e.offsetWidth-e.clientWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight);if(he)null!==we.current&&we.current<=r&&fe(!1);else{const e=be.current?.offsetWidth??0;if(0===e)return;we.current=e,e>r+.5&&fe(!0)}});const[Ne,ke]=f(!1);m(()=>{const e=!!L&&(de.current?.labels?.length??0)>0;e!==Ne&&ke(e)});const Ce=!!E||!!Y||Ne,Me=/* @__PURE__ */new Date,[$e,De]=f(()=>M?C(j(M)):W(Me,U,q)),We=k.filter(e=>((e,t,r)=>(!t||e.from>=t)&&(!r||e.to<=r))(D(e,Me),U,q)),je=e=>e?Z(e):"";x(()=>{if(!Q)return;const e=e=>{const t=e.target;se.current?.contains(t)||ce.current?.contains(t)||_(!1)};document.addEventListener("mousedown",e);const t=s(()=>_(!1));return()=>{document.removeEventListener("mousedown",e),t()}},[Q]),x(()=>{A&&_(!1)},[A]);const Se=()=>{O("",""),_(!1)},Fe=M&&$?`${je(M)} — ${je($)}`:M?P.fromOnly(je(M)):$?P.toOnly(je($)):"",Oe=o(V),Te=e=>{const r=t(e);return r?Oe.longDate(r.getFullYear(),r.getMonth(),r.getDate()):e},Je=M&&$?P.range(Te(M),Te($)):M?P.fromOnly(Te(M)):$?P.toOnly(Te($)):z,Re=e=>he?"h-8 w-full min-w-0 truncate rounded-(--radius-control) border px-3 text-sm transition-colors "+(ae===e?"border-blue-300 bg-blue-50 text-blue-700 font-medium":"border-gray-200 text-gray-700 hover:bg-gray-50"):"h-8 text-left px-3 text-sm rounded-(--radius-control) transition-colors "+(ae===e?"bg-blue-50 text-blue-700 font-medium":"text-gray-700 hover:bg-gray-50"),Be=/* @__PURE__ */v(w,{children:[We.map(e=>/* @__PURE__ */N("button",{type:"button",onClick:()=>(e=>{if("Custom"===e)return;const t=D(e,Me);te(t.from),ne(t.to),oe(e),De(t.from.slice(0,7))})(e),className:Re(e),"aria-label":he?P[e]:void 0,children:he?ye?P[e]:P[`${e}Short`]:P[e]},e)),
|
|
2
|
+
/* @__PURE__ */N("button",{type:"button",onClick:()=>oe("Custom"),className:Re("Custom"),children:P.custom})]}),Le=(e,t)=>K?/* @__PURE__ */N("button",{type:"button","data-range-end":e,"aria-pressed":le===e,onClick:()=>ie(e),className:"flex items-center gap-2 whitespace-nowrap rounded rosh-focus-ring",children:t}):/* @__PURE__ */N("div",{className:"flex items-center gap-2 whitespace-nowrap",children:t}),Ye=e=>K&&le===e?" ring-1 ring-blue-400":"",Ee=
|
|
3
|
+
/* @__PURE__ */N(e,{mode:"range",min:U,max:q,value:ee||null,endValue:re||null,month:$e,onMonthChange:De,onSelect:e=>{oe("Custom"),K?"from"===le?(re&&e>re?(te(re),ne(e)):te(e),ie("to")):ee&&e<ee?(ne(ee),te(e)):ne(e):!ee||ee&&re?(te(e),ne("")):e<ee?(ne(ee),te(e)):ne(e)},weekStartsOn:G,"aria-label":P.dialog});/* @__PURE__ */
|
|
4
|
+
return v("div",{className:"relative"+(I?" w-full":""),ref:se,children:[
|
|
5
|
+
/* @__PURE__ */v("div",{className:`${I?"flex w-full":"inline-flex"} h-8 items-center gap-2 border rounded-lg px-3 text-sm focus-within:border-blue-500 has-focus-visible:ring-1 has-focus-visible:ring-[color:var(--rosh-focus-ring-deep)] ${M||$?`${r} ${n}`:a}${A?" cursor-not-allowed opacity-60":""}`,children:[
|
|
6
|
+
/* @__PURE__ */v("button",{ref:de,type:"button",onClick:()=>{A||(te(M),ne($),oe(null),ie(M&&!$?"to":"from"),De(M?C(j(M)):W(Me,U,q)),_(!0))},"aria-haspopup":"dialog","aria-expanded":Q,id:L,disabled:A||void 0,"aria-label":E,"aria-labelledby":Y,"aria-describedby":[Ce?ue:void 0,R?pe:void 0].filter(Boolean).join(" ")||void 0,"aria-controls":Q?me:void 0,className:"inline-flex items-center gap-2 rosh-focus-ring"+(I?" min-w-0 flex-1 justify-start":""),children:[
|
|
7
7
|
/* @__PURE__ */N(i,{name:"date",className:"w-4 h-4 shrink-0",strokeWidth:"2","aria-hidden":"true"}),
|
|
8
|
-
/* @__PURE__ */N("span",{className:"truncate",children:Fe||
|
|
9
|
-
/* @__PURE__ */N("input",{type:"hidden",name:
|
|
10
|
-
/* @__PURE__ */N("input",{type:"hidden",name:
|
|
11
|
-
/* @__PURE__ */v("div",{ref:ce,id:me,role:"dialog","aria-label":
|
|
12
|
-
/* @__PURE__ */v("div",{className:he?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[
|
|
13
|
-
/* @__PURE__ */N("span",{className:"text-xs font-medium text-gray-500",children:
|
|
14
|
-
/* @__PURE__ */N("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ee?"border-blue-300 bg-blue-50 text-blue-700":"border-gray-200 bg-gray-50 text-gray-400"}${
|
|
15
|
-
/* @__PURE__ */N("span",{className:"text-xs font-medium text-gray-500",children:
|
|
16
|
-
/* @__PURE__ */N("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${re?"border-blue-300 bg-blue-50 text-blue-700":"border-gray-200 bg-gray-50 text-gray-400"}${
|
|
17
|
-
/* @__PURE__ */v("div",{ref:xe,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[
|
|
18
|
-
/* @__PURE__ */N("div",{className:"w-full",children:
|
|
8
|
+
/* @__PURE__ */N("span",{className:"truncate",children:Fe||z})]}),X&&!A&&(M||$)&&/* @__PURE__ */N("button",{type:"button",onClick:Se,"aria-label":P.clearRange,className:"text-blue-400 hover:text-red-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded",children:"×"})]}),Ce&&/* @__PURE__ */N("span",{id:ue,className:"sr-only",children:Je}),R&&/* @__PURE__ */N("span",{id:pe,className:"sr-only",children:P.required}),B&&/* @__PURE__ */v(w,{children:[
|
|
9
|
+
/* @__PURE__ */N("input",{type:"hidden",name:B.from,value:M,disabled:A||void 0}),
|
|
10
|
+
/* @__PURE__ */N("input",{type:"hidden",name:B.to,value:$,disabled:A||void 0})]}),Q&&y(
|
|
11
|
+
/* @__PURE__ */v("div",{ref:ce,id:me,role:"dialog","aria-label":P.dialog,"data-layout":he?"stacked":"side",className:"fixed rounded-(--radius-popup) p-4",style:{zIndex:d.popup,left:ge?.left,right:ge?.right,top:ge?.top,bottom:ge?.bottom,width:he&&ge?ge.maxWidth:"max-content",maxWidth:ge?.maxWidth,maxHeight:ge?.maxHeight,overflowY:"auto",visibility:ge?void 0:"hidden",...u()},children:[
|
|
12
|
+
/* @__PURE__ */v("div",{className:he?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[Le("from",/* @__PURE__ */v(w,{children:[
|
|
13
|
+
/* @__PURE__ */N("span",{className:"text-xs font-medium text-gray-500",children:P.from}),
|
|
14
|
+
/* @__PURE__ */N("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ee?"border-blue-300 bg-blue-50 text-blue-700":"border-gray-200 bg-gray-50 text-gray-400"}${Ye("from")}`,children:ee?je(ee):P.start})]})),!he&&/* @__PURE__ */N("span",{className:"text-gray-300",children:"—"}),Le("to",/* @__PURE__ */v(w,{children:[
|
|
15
|
+
/* @__PURE__ */N("span",{className:"text-xs font-medium text-gray-500",children:P.to}),
|
|
16
|
+
/* @__PURE__ */N("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${re?"border-blue-300 bg-blue-50 text-blue-700":"border-gray-200 bg-gray-50 text-gray-400"}${Ye("to")}`,children:re?je(re):P.end})]}))]}),he?/* @__PURE__ */v(w,{children:[We.length>0&&/* @__PURE__ */v("div",{className:"mb-3 @container",children:[!ye&&/* @__PURE__ */N("p",{"aria-hidden":"true",className:"mb-1 text-xs font-medium text-gray-500",children:P.lastHeading}),
|
|
17
|
+
/* @__PURE__ */v("div",{ref:xe,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[Be,We.map(e=>/* @__PURE__ */N("span",{"data-preset-measure":"","aria-hidden":"true",className:"invisible absolute left-0 top-0 whitespace-nowrap text-sm",children:P[e]},e))]})]}),
|
|
18
|
+
/* @__PURE__ */N("div",{className:"w-full",children:Ee})]}):
|
|
19
19
|
/* @__PURE__ */v("div",{ref:be,className:"flex w-max gap-4",children:[
|
|
20
|
-
/* @__PURE__ */N("div",{className:"w-64",children:
|
|
21
|
-
/* @__PURE__ */v("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[X&&/* @__PURE__ */N("button",{type:"button",onClick:Se,className:l({variant:"ghost"}),children:
|
|
22
|
-
/* @__PURE__ */N("button",{type:"button",onClick:()=>_(!1),className:l({variant:"secondary"}),children:
|
|
23
|
-
/* @__PURE__ */N("button",{type:"button",onClick:()=>{O(ee,re),_(!1)},disabled:K?!ee&&!re:!ee||!re,className:l({variant:"primary"}),children:
|
|
20
|
+
/* @__PURE__ */N("div",{className:"w-64",children:Ee}),We.length>0&&/* @__PURE__ */N("div",{className:"border-l border-gray-200 pl-4 flex flex-col gap-1 min-w-[130px]",children:Be})]}),
|
|
21
|
+
/* @__PURE__ */v("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[X&&/* @__PURE__ */N("button",{type:"button",onClick:Se,className:l({variant:"ghost"}),children:P.clear}),
|
|
22
|
+
/* @__PURE__ */N("button",{type:"button",onClick:()=>_(!1),className:l({variant:"secondary"}),children:P.cancel}),
|
|
23
|
+
/* @__PURE__ */N("button",{type:"button",onClick:()=>{O(ee,re),_(!1)},disabled:K?!ee&&!re:!ee||!re,className:l({variant:"primary"}),children:P.apply})]})]}),document.body)]})}export{O as DateRangePicker,D as presetRange,$ as toISODate};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{jsxs as r,jsx as e}from"react/jsx-runtime";function o({size:o=18,...t}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...t,children:[
|
|
3
|
+
/* @__PURE__ */e("path",{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.663c0 -4.224 -4.041 -7.663 -9 -7.663s-9 3.439 -9 7.663c0 3.783 3.201 6.958 7.527 7.56c1.053 .239 .932 .644 .696 2.133c-.039 .238 -.184 .932 .777 .512c.96 -.42 5.18 -3.201 7.073 -5.48c1.304 -1.504 1.927 -3.029 1.927 -4.715v-.01z"}),
|
|
4
|
+
/* @__PURE__ */e("path",{d:"M21 10.663c0 -4.224 -4.041 -7.663 -9 -7.663s-9 3.439 -9 7.663c0 3.783 3.201 6.958 7.527 7.56c1.053 .239 .932 .644 .696 2.133c-.039 .238 -.184 .932 .777 .512c.96 -.42 5.18 -3.201 7.073 -5.48c1.304 -1.504 1.927 -3.029 1.927 -4.715v-.01z"})]})}export{o as BrandLineSolidIcon};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{useSettingAuto as e,useInSettingRow as t}from"./chunk-
|
|
1
|
+
import{useSettingAuto as e,useInSettingRow as t}from"./chunk-L65BESIE.js";import{IconButton_default as r}from"./chunk-4CANQ3B3.js";import{inputClasses as n}from"./chunk-PF3ANJFI.js";import{Icon as i}from"./chunk-KIBL6M3T.js";import{registerModalEscapeInterceptor as o}from"./chunk-TWVUQUUD.js";import{useShellStrings as a}from"./chunk-E6UCGCOC.js";import{forwardRef as l,useId as c,useState as u,useRef as s,useCallback as d,useEffect as p}from"react";import{jsx as m,jsxs as f,Fragment as b}from"react/jsx-runtime";function v(e){const t=String(e),r=/e-(\d+)$/.exec(t);return r?Number(r[1]):t.split(".")[1]?.length??0}var h=(e,t)=>null==e?"":null!=t?e.toFixed(t):String(e);function y({dir:e,compact:t,label:n,disabled:o,onStep:a}){const l=s(a);l.current=a;const c=s({}),u=d(()=>{const e=c.current;void 0!==e.wait&&clearTimeout(e.wait),void 0!==e.every&&clearInterval(e.every),e.off?.(),c.current={}},[]);p(()=>u,[u]),p(()=>{o&&u()},[o,u]);const f=/* @__PURE__ */m(i,{name:e>0?"chevron-up":"chevron-down","aria-hidden":"true",focusable:"false",className:t?"h-2.5 w-2.5":"h-3.5 w-3.5",strokeWidth:t?2.6:2}),b={tabIndex:-1,"aria-label":n,disabled:o,onPointerDown:e=>{if(0!==e.button||o)return;e.preventDefault(),u();const t=e.shiftKey;l.current(t);const r=e.currentTarget.ownerDocument.defaultView??window;r.addEventListener("pointerup",u),c.current={off:()=>r.removeEventListener("pointerup",u),wait:setTimeout(()=>{c.current.every=setInterval(()=>l.current(t),60)},400)}},onPointerLeave:u,onPointerCancel:u,onClick:e=>{0===e.detail&&l.current(e.shiftKey)}};return t?/* @__PURE__ */m("button",{type:"button",...b,className:"flex min-h-0 flex-1 items-center justify-center text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900 disabled:cursor-not-allowed disabled:opacity-40",children:f}):/* @__PURE__ */m(r,{size:"sm",...b,children:f})}var g=l(function({value:r,onChange:i,min:l,max:g,precision:x,step:w,shiftStep:k,disabled:E,readOnly:N,invalid:j,placeholder:D,size:C,prefix:B,suffix:F,id:S,name:K,className:L="",onBlur:U,onFocus:I,steppers:M,stepFrom:O,snap:P=!1,allowEmpty:T=!0,appearance:W="box",display:$,reportWhileTyping:A=!0,onRevert:z,"aria-label":V,"aria-labelledby":Q,"aria-describedby":G,auto:J,...R},X){const Y="bare"===W,q=e(),H=J??q,Z=c(),_="string"==typeof F&&""!==F.trim()?F.trim():void 0,ee=e=>function(e,t){let r=e.trim();if(t&&r.endsWith(t)&&(r=r.slice(0,-t.length).trim()),r=r.replace(",","."),""===r||"-"===r||"."===r||"-."===r)return null;const n=Number(r);return Number.isFinite(n)?n:null}(e,_),te=Object.fromEntries(Object.entries(R).filter(([e])=>e.startsWith("data-"))),re=a(),[ne,ie]=u(()=>h(r,x)),oe=s(ne);oe.current=ne;const ae=s(null),le=d(e=>{ae.current=e,"function"==typeof X?X(e):X&&(X.current=e)},[X]),ce=s(r),ue=s(r);ue.current=r;const se=Boolean(E||N),de=t(),pe=M??(!!de&&"compact"),me="compact"===pe;p(()=>{ee(oe.current)!==r&&ie(h(r,x))},[r,x]);const fe=e=>{if(se)return;let t=(ee(oe.current)??O??(D?ee(D):null)??0)+e;null!=l&&t<l&&(t=l),null!=g&&t>g&&(t=g);const r=x??String(w??1).split(".")[1]?.length??0;t=Number(t.toFixed(r));const n=h(t,x);oe.current=n,ie(n),i(t),we()},be=s(fe);be.current=fe;const ve=s({unit:w??1,big:k??10*(w??1),locked:se});ve.current={unit:w??1,big:k??10*(w??1),locked:se},p(()=>{const e=ae.current;if(!e)return;const t=t=>{const{unit:r,big:n,locked:i}=ve.current;if(i||e.ownerDocument.activeElement!==e)return;const o=t.deltaY||t.deltaX;o&&(t.preventDefault(),be.current((o<0?1:-1)*(t.shiftKey?n:r)))};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[]);const[he,ye]=u(!1),[ge,xe]=u(0),we=()=>{Y&&xe(e=>e+1)};p(()=>{Y&&he&&document.activeElement===ae.current&&ae.current?.select()},[Y,he,ge]);const ke=s(!1);p(()=>{if(he&&!se)return o(e=>{if("Escape"!==e.key||document.activeElement!==ae.current)return!1;const t=ce.current;if(ee(oe.current)===t)return!1;const r=h(t,x);return oe.current=r,ie(r),ue.current!==t&&(z??i)(t),we(),!0})},[he,se,x,i,z]);const Ee=()=>{const e=ee(oe.current);if(null==e){if(!T){const e=h(ue.current,x);return oe.current=e,ie(e),ue.current}return oe.current="",ie(""),null!==ue.current&&i(null),null}let t=e;const r=x??(P?Math.max(v(w??1),v(l??0)):void 0);P&&(t=function(e,t,r){const n=(e-r)/t;return r+Math.round(n+1e-9*Math.sign(e))*t}(t,w??1,l??0)),null!=l&&t<l&&(t=l),null!=g&&t>g&&(t=g),null!=r&&(t=Number(t.toFixed(r)));const n=h(t,x);return oe.current=n,ie(n),t===e&&t===ue.current||i(t),t},Ne=/* @__PURE__ */m("input",{ref:le,id:S,"data-number-input":"",name:K,type:"text",inputMode:0===x?"numeric":"decimal",value:!he&&$?$(r):ne,disabled:E,readOnly:N,placeholder:D,step:w,role:"spinbutton","aria-valuenow":r??void 0,"aria-valuemin":l,"aria-valuemax":g,"aria-valuetext":null==r?D||void 0:`${h(r,x)}${Y&&_?_:""}`,"aria-describedby":[G,H?Z:void 0].filter(Boolean).join(" ")||void 0,"data-appearance":Y?"bare":void 0,...te,autoComplete:Y?"off":void 0,spellCheck:!Y&&void 0,"aria-invalid":j||void 0,"aria-label":V,"aria-labelledby":Q,onChange:e=>(e=>{if(N)return;const t=_&&e.trimEnd().endsWith(_)?e.trimEnd().slice(0,-_.length).trimEnd():e;if(""!==t&&!/^-?\d*[.,]?\d*$/.test(t))return;if(ie(e),!A)return;const r=ee(e);(null!==r||T)&&i(r)})(e.target.value),onKeyDown:e=>{if("Enter"===e.key&&!se)return ce.current=Ee(),void we();const t=w??1,r=k??10*t,n="ArrowUp"===e.key?e.shiftKey?r:t:"ArrowDown"===e.key?-(e.shiftKey?r:t):"PageUp"===e.key?10*t:"PageDown"===e.key?10*-t:null;null===n||se||(e.preventDefault(),fe(n))},onFocus:()=>{ce.current=ue.current,ye(!0),ke.current=!0,I?.()},onMouseUp:Y?e=>{ke.current&&(ke.current=!1,e.preventDefault())}:void 0,onBlur:()=>{ye(!1),ke.current=!1,Ee(),U?.()},className:Y?["block min-w-0 m-0 rounded-(--radius-control) border-0 p-0 text-center tabular-nums","rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",he?"bg-white":"bg-transparent",se?"cursor-default":"cursor-text",L].filter(Boolean).join(" "):n({invalid:j,size:C,readOnly:N,auto:H,className:[B?"pl-6":"",me?F?"pr-10":"pr-6":pe?F?"pr-24":"pr-16":F?"pr-10":"","text-left tabular-nums",L].filter(Boolean).join(" ")})}),je=H?/* @__PURE__ */m("span",{id:Z,hidden:!0,children:re.settingView.auto}):null;if(Y||!B&&!F&&!pe)return je?/* @__PURE__ */f(b,{children:[Ne,je]}):Ne;const De=ee(ne);/* @__PURE__ */
|
|
2
2
|
return f("div",{className:"relative","data-number-box":"",children:[B&&/* @__PURE__ */m("span",{className:"pointer-events-none absolute left-2 top-1/2 -translate-y-1/2 text-sm text-gray-500",children:B}),Ne,je,F&&/* @__PURE__ */m("span",{className:`pointer-events-none absolute ${me?"right-6":pe?"right-16":"right-3"} top-1/2 -translate-y-1/2 text-xs text-gray-500`,children:F}),pe&&(()=>{const e=/* @__PURE__ */m(y,{dir:-1,compact:me,label:re.number.decrease,disabled:se||null!=l&&null!=De&&De<=l,onStep:e=>be.current(-(e?k??10*(w??1):w??1))}),t=/* @__PURE__ */m(y,{dir:1,compact:me,label:re.number.increase,disabled:se||null!=g&&null!=De&&De>=g,onStep:e=>be.current(e?k??10*(w??1):w??1)});/* @__PURE__ */
|
|
3
3
|
return f("span",me?{"data-steppers":"compact",className:"absolute inset-y-px right-px flex w-4 flex-col overflow-hidden rounded-r-(--radius-control)",children:[t,e]}:{className:"absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5",children:[e,t]})})()]})});export{g as InputNumber_default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{InputNumber_default as a}from"./chunk-
|
|
1
|
+
import{InputNumber_default as a}from"./chunk-CPXHU3Y2.js";import{Icon as e}from"./chunk-KIBL6M3T.js";import{jsxs as r,jsx as i}from"react/jsx-runtime";var n="h-3.5 w-3.5",l={x:/* @__PURE__ */i(e,{name:"nudge-x","aria-hidden":"true",className:n}),y:/* @__PURE__ */i(e,{name:"nudge-y","aria-hidden":"true",className:n})};function s({label:e,value:n,onChange:s,words:m,placeholder:o,min:d=-200,max:c=200,step:t=1,readOnly:p}){const u=e=>/* @__PURE__ */i("div",{"data-axis":e,className:"min-w-0",children:/* @__PURE__ */i(a,{value:n[e],onChange:a=>s({...n,[e]:a}),min:d,max:c,step:t,precision:0,steppers:"compact",readOnly:p,placeholder:o[e],prefix:l[e],suffix:m.unit,"aria-label":m[e]})});/* @__PURE__ */
|
|
2
2
|
return r("div",{role:"group","aria-label":e,className:"grid min-w-0 grid-cols-2 gap-2",children:[u("x"),u("y")]})}export{s as PositionInput};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{nextEnabledIndex as e}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as t,filterOptionItems as n,optionMatches as r,groupedRows as l,OptionCheck as o,OptionSublabel as a}from"./chunk-UQBPKZUR.js";import{INPUT_BASE_ON as i,INPUT_BASE as s}from"./chunk-
|
|
2
|
-
return S("button",{type:"button","aria-label":t,onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),e()},className:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity text-base leading-none",children:"×"})}function
|
|
3
|
-
return C("div",{ref:ye,className:"relative group",onBlur:e=>{const t=e.relatedTarget;t&&(ye.current?.contains(t)||xe.current?.contains(t))||je.current||document.activeElement!==we.current&&De(!0)},children:[(
|
|
4
|
-
/* @__PURE__ */S("div",{"aria-hidden":"true",className:"pointer-events-none invisible absolute left-0 top-0 h-0 w-0 overflow-hidden",children:/* @__PURE__ */S("span",{ref:ze,className:"whitespace-pre"})}),Me&&/* @__PURE__ */S(R,{ariaLabel:ge.select.clear,onClear:()=>{ee([]),De(!1)}}),
|
|
1
|
+
import{nextEnabledIndex as e}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as t,filterOptionItems as n,optionMatches as r,groupedRows as l,OptionCheck as o,OptionSublabel as a}from"./chunk-UQBPKZUR.js";import{INPUT_BASE_ON as i,INPUT_BASE as s}from"./chunk-PF3ANJFI.js";import{Button_default as u}from"./chunk-4IU5BSVE.js";import{LoadingSpinner as c}from"./chunk-Q5MD3VY6.js";import{Tooltip as d}from"./chunk-22S6LG6D.js";import{onOverlayOpen as h}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as p}from"./chunk-62LW225J.js";import{useDropdownPosition as m,MENU_MAX_HEIGHT as f}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as g}from"./chunk-D65T4H6J.js";import{GLASS_DIVIDER as b,glassStyle as v}from"./chunk-DTJRIWFR.js";import{registerModalEscapeInterceptor as y}from"./chunk-TWVUQUUD.js";import{useShellStrings as w}from"./chunk-E6UCGCOC.js";import{useState as x,useId as k,useRef as $,useMemo as j,useEffect as D}from"react";import{createPortal as N}from"react-dom";import{jsxs as C,jsx as S}from"react/jsx-runtime";function W(e,t){const n=e.length;if(0===n||t(e.join(", ")))return{shown:n,cut:!1};if(1===n)return{shown:1,cut:!0};let r=0;for(let l=1;l<n&&t(`${e.slice(0,l).join(", ")} +${n-l}`);l+=1)r=l;return{shown:r,cut:!1}}function R({onClear:e,ariaLabel:t}){/* @__PURE__ */
|
|
2
|
+
return S("button",{type:"button","aria-label":t,onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),e()},className:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity text-base leading-none",children:"×"})}function F(F){const{options:L,placeholder:E,emptyOptionLabel:M,className:T="",disabled:U,id:z,filter:I=!1,allowFreeText:O=!1,freeTextOption:A,onSearchChange:B,loading:J=!1,error:G,onRetry:P,rightAdornment:H,renderOption:Q,clearable:V=!0,"aria-label":K,"aria-labelledby":X,"aria-describedby":Y}=F,Z=!0===F.multiple,q=F.multiple?F.value:F.value?[F.value]:[],_=F.multiple?"":F.value,ee=e=>{F.multiple?F.onChange(e):F.onChange(e[0]??"")},te=q.length>0,ne=I&&te&&!U,re=Z||I,le=null!=A,oe=O||le,[ae,ie]=x(!1),[se,ue]=x(-1),ce=k(),de=z??`${ce}-input`,he=`${ce}-listbox`,pe=e=>`${ce}-opt-${e}`,[me,fe]=x(""),ge=w(),be=M??ge.select.none,ve=e=>{fe(e),ue(-1),B?.(e)},ye=$(null),we=$(null),xe=$(null),ke=$(null),$e=$(ae);$e.current=ae;const je=$(!1),De=e=>{$e.current&&($e.current=!1,e&&O&&!le&&Ve&&(Z?q.includes(Ve)||ee([...q,Ve]):Ve!==_&&ee([Ve])),ie(!1),ve(""))},Ne=(e,t)=>{if(!e.disabled){if(Z)return ee(q.includes(e.value)?q.filter(t=>t!==e.value):[...q,e.value]),void(e===Ke?ve(""):ue(t));ee([e.value]),De(!1)}},[Ce,Se]=x(null);g(()=>{if(!H||ae)return void Se(null);const e=ke.current?.offsetWidth??0;Se(e?e+(Me?32:8)+6:null)});const We=m(we,ae,re?{popupRef:xe}:{matchTriggerWidth:!0}),Re=j(()=>t(L),[L]),Fe=q.join("\0"),Le=j(()=>{const e=[],t=/* @__PURE__ */new Set;for(const n of Re)q.includes(n.value)&&!t.has(n.value)&&(t.add(n.value),e.push(n.label));if(oe)for(const n of q)t.has(n)||e.push(n);return e},[Re,Fe,oe]),Ee=Le.join(", "),Me=V&&te&&!U,[Te,Ue]=x(null),ze=$(null),Ie=$(""),Oe=$(()=>{});Oe.current=()=>{const e=we.current,t=ze.current;if(!Z||!e||!t)return;const n=getComputedStyle(e),r=e.clientWidth-(parseFloat(n.paddingLeft)||0)-(parseFloat(n.paddingRight)||0),l=[n.fontStyle,n.fontWeight,n.fontSize,n.fontFamily,n.letterSpacing].join("|"),o=`${r}|${l}|${Le.join("\0")}`;if(o===Ie.current)return;Ie.current=o;let a=null;r>0&&Le.length>0&&(t.style.fontStyle=n.fontStyle,t.style.fontWeight=n.fontWeight,t.style.fontSize=n.fontSize,t.style.fontFamily=n.fontFamily,t.style.letterSpacing=n.letterSpacing,a=W(Le,e=>(t.textContent=e,t.getBoundingClientRect().width<=r)),t.textContent=""),Ue(e=>e?.shown===a?.shown&&e?.cut===a?.cut?e:a)},g(()=>{Oe.current()}),D(()=>{const e=we.current;if(!Z||!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Oe.current());return t.observe(e),()=>t.disconnect()},[Z]);const Ae=Le.length,Be=!Z||!Te||Te.shown>=Ae?Ee:0===Te.shown?ge.select.selectedCount(Ae):`${Le.slice(0,Te.shown).join(", ")} +${Ae-Te.shown}`,Je=Z&&null!==Te&&(Te.shown<Ae||Te.cut),Ge=ae&&te&&re;D(()=>{if(!ae)return;const e=e=>{const t=e.target;ye.current?.contains(t)||xe.current?.contains(t)||De(!0)};document.addEventListener("mousedown",e);const t=h(()=>De(!0));return()=>{document.removeEventListener("mousedown",e),t()}},[ae,O,me,Fe,F.onChange]),D(()=>{if(ae)return y(e=>!("Escape"!==e.key||!$e.current)&&(De(!1),we.current?.blur(),!0),()=>xe.current)},[ae]);const Pe=j(()=>{const e=/* @__PURE__ */new Set;return n(L,t=>!e.has(t.value)&&(e.add(t.value),!0))},[L]),He=j(()=>{if(B)return Pe;const e=me.trim().toLowerCase();return e?n(Pe,t=>r(t,e)):Pe},[Pe,me,B]),Qe=j(()=>t(He),[He]),Ve=me.trim(),Ke=j(()=>le&&Ve?Re.some(e=>e.label===Ve)||q.includes(Ve)?null:{value:Ve,label:Ve}:null,[le,Ve,Re,Fe]),Xe=j(()=>Ke?[...Qe,Ke]:Qe,[Qe,Ke]);/* @__PURE__ */
|
|
3
|
+
return C("div",{ref:ye,className:"relative group",onBlur:e=>{const t=e.relatedTarget;t&&(ye.current?.contains(t)||xe.current?.contains(t))||je.current||document.activeElement!==we.current&&De(!0)},children:[(Ye=/* @__PURE__ */S("input",{id:de,ref:we,type:"text",autoComplete:"off",role:"combobox","aria-expanded":ae,"aria-haspopup":"listbox","aria-autocomplete":"list","aria-controls":ae?he:void 0,"aria-activedescendant":ae&&se>=0&&se<Xe.length?pe(se):void 0,"aria-label":X?void 0:K,"aria-labelledby":X,"aria-describedby":Y,value:ae?me:Be,onChange:e=>{ve(e.target.value),ie(!0)},onFocus:()=>{U||(ve(""),ie(!0))},onKeyDown:t=>{if("ArrowDown"===t.key||"ArrowUp"===t.key){if(U)return;if(t.preventDefault(),!ae)return void ie(!0);if(0===Xe.length)return;const n="ArrowDown"===t.key?1:-1;return void ue(t=>e(Xe,t,n))}"Enter"===t.key?(t.preventDefault(),ae&&se>=0&&se<Xe.length?Ne(Xe[se],se):1!==Qe.length||Qe[0].disabled?O&&!le&&Ve&&(Z?(q.includes(Ve)||ee([...q,Ve]),ve("")):(ee([Ve]),De(!1),we.current?.blur())):Ne(Qe[0],0)):"Escape"===t.key?(De(!1),we.current?.blur()):"Tab"===t.key&&De(!0)},placeholder:Ge?Be:E||be,className:`${ne?i:s} ${T} ${Me?"pr-8":""} ${U?"bg-gray-50 text-gray-400 cursor-not-allowed":""} truncate${Ge?" rosh-field-shows-choice":""}`,style:Ce?{paddingRight:Ce}:void 0,disabled:U}),Z?/* @__PURE__ */S(d,{content:!ae&&Je?Ee:null,className:"block",children:Ye}):Ye),Z&&
|
|
4
|
+
/* @__PURE__ */S("div",{"aria-hidden":"true",className:"pointer-events-none invisible absolute left-0 top-0 h-0 w-0 overflow-hidden",children:/* @__PURE__ */S("span",{ref:ze,className:"whitespace-pre"})}),Me&&/* @__PURE__ */S(R,{ariaLabel:ge.select.clear,onClear:()=>{ee([]),De(!1)}}),H&&!ae&&/* @__PURE__ */S("div",{ref:ke,className:`absolute top-1/2 -translate-y-1/2 ${Me?"right-8":"right-2"} flex items-center gap-1 flex-nowrap justify-end pointer-events-none`,children:H}),ae&&N(
|
|
5
5
|
/* @__PURE__ */C("div",{ref:xe,onMouseDownCapture:()=>{je.current=!0,setTimeout(()=>{je.current=!1},0)},className:"fixed rounded-(--radius-popup) overflow-hidden",style:{zIndex:p.popup,left:We?.left,right:We?.right,top:We?.top,bottom:We?.bottom,minWidth:We?.minWidth,width:We?.width,...re&&{maxWidth:We?.maxWidth},visibility:We?void 0:"hidden",...v()},children:[Z&&te&&V&&!U&&
|
|
6
6
|
/* @__PURE__ */S("button",{type:"button",tabIndex:-1,onMouseDown:e=>{e.preventDefault(),ee([])},className:`block w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm text-gray-600 hover:bg-gray-50 border-b ${b}`,children:ge.select.clearAll}),J?
|
|
7
7
|
/* @__PURE__ */S(c,{size:"sm",padding:"py-2",label:ge.search.searching}):G?/* @__PURE__ */C("div",{role:"alert",className:"flex items-center gap-2 px-3 py-2 text-sm text-red-600",children:[
|
|
8
|
-
/* @__PURE__ */S("span",{className:"min-w-0 flex-1",children:G}),
|
|
9
|
-
/* @__PURE__ */C("div",{id:he,role:
|
|
8
|
+
/* @__PURE__ */S("span",{className:"min-w-0 flex-1",children:G}),P&&/* @__PURE__ */S(u,{variant:"link",size:"sm",onMouseDown:e=>e.preventDefault(),onClick:P,className:"shrink-0",children:ge.list.retry})]}):null,
|
|
9
|
+
/* @__PURE__ */C("div",{id:he,role:Xe.length?"listbox":void 0,"aria-labelledby":Xe.length?X??(K?void 0:de):void 0,"aria-label":Xe.length&&!X?K:void 0,"aria-multiselectable":!(!Xe.length||!Z)||void 0,className:"overflow-y-auto",style:{maxHeight:We?.maxHeight??f},children:[0===Xe.length?J||G?null:/* @__PURE__ */S("p",{className:"px-3 py-3 text-sm text-gray-400 text-center",children:ge.select.noMatches}):0===Qe.length?null:l(He,(e,t)=>{const n=q.includes(e.value);/* @__PURE__ */
|
|
10
10
|
return C("button",{id:pe(t),type:"button",role:"option","aria-selected":n,"aria-disabled":e.disabled||void 0,tabIndex:-1,onMouseDown:n=>{(e.disabled||Z)&&n.preventDefault(),Ne(e,t)},className:"w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center justify-between gap-2 whitespace-nowrap "+(e.disabled?"cursor-not-allowed text-gray-400":`hover:bg-gray-50 ${n?"text-blue-600 font-medium":"text-gray-700"} ${t===se?"bg-gray-100":n?"bg-blue-50/50":""}`),children:[Z&&/* @__PURE__ */S(o,{selected:n}),
|
|
11
|
-
/* @__PURE__ */S("span",{className:`min-w-0 ${re?"flex-auto":"flex-1"} truncate`,children:Q?Q(e,{selected:n,active:t===se}):e.label}),e.sublabel&&/* @__PURE__ */S(a,{grows:re,children:e.sublabel})]},e.value)},ce),Ke&&
|
|
12
|
-
/* @__PURE__ */S("button",{id:pe(Qe.length),type:"button",role:"option","aria-selected":!1,tabIndex:-1,onMouseDown:e=>{Z&&e.preventDefault(),Ne(Ke,Qe.length)},className:`w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center gap-2 whitespace-nowrap text-gray-700 hover:bg-gray-50 ${Qe.length?`border-t ${b}`:""} ${se===Qe.length?"bg-gray-100":""}`,children:/* @__PURE__ */S("span",{className:"min-w-0 flex-1 truncate",children:
|
|
11
|
+
/* @__PURE__ */S("span",{className:`min-w-0 ${re?"flex-auto":"flex-1"} truncate`,children:Q?Q(e,{selected:n,active:t===se}):e.label}),e.sublabel&&/* @__PURE__ */S(a,{grows:re,children:e.sublabel})]},e.value)},ce),Ke&&A&&
|
|
12
|
+
/* @__PURE__ */S("button",{id:pe(Qe.length),type:"button",role:"option","aria-selected":!1,tabIndex:-1,onMouseDown:e=>{Z&&e.preventDefault(),Ne(Ke,Qe.length)},className:`w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center gap-2 whitespace-nowrap text-gray-700 hover:bg-gray-50 ${Qe.length?`border-t ${b}`:""} ${se===Qe.length?"bg-gray-100":""}`,children:/* @__PURE__ */S("span",{className:"min-w-0 flex-1 truncate",children:A(Ke.value)})},`${ce}-typed`)]})]}),document.body)]});var Ye}export{F as SearchableSelect,W as fitChoice};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function h({size:h,width:i,height:r,style:o,...l}){const n=t(h??i??r??18,1.196);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 1.8 24.4 20.4",fill:"currentColor","aria-hidden":"true",...l,style:{...n.style,...o},children:/* @__PURE__ */e("path",{d:"M4.592 2v20H0V2h4.592zm11.46 0c0 4.194-1.583 8.105-4.415 11.068l-.278.283L17.702 22h-5.668l-6.893-9.4 1.779-1.332c2.858-2.14 4.535-5.378 4.637-8.924L11.562 2h4.49zM21.5 17a2.5 2.5 0 110 5 2.5 2.5 0 010-5z"})})}export{h as BrandKlarnaIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function h({size:h,width:i,height:r,style:c,...o}){const n=t(h??i??r??18,1.004);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 -0.156 24.4 24.312",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...c},children:/* @__PURE__ */e("path",{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"})})}export{h as BrandFacebookIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";function e({size:e=18,...t}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t,children:/* @__PURE__ */r("path",{d:"M21 10.663c0 -4.224 -4.041 -7.663 -9 -7.663s-9 3.439 -9 7.663c0 3.783 3.201 6.958 7.527 7.56c1.053 .239 .932 .644 .696 2.133c-.039 .238 -.184 .932 .777 .512c.96 -.42 5.18 -3.201 7.073 -5.48c1.304 -1.504 1.927 -3.029 1.927 -4.715v-.01"})})}export{e as BrandLineOutlineIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as c}from"./chunk-64ACCUNN.js";import{jsx as t}from"react/jsx-runtime";function e({size:e,width:h,height:i,style:r,...l}){const m=c(e??h??i??18,1);/* @__PURE__ */
|
|
2
|
+
return t("svg",{width:m.width,height:m.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...l,style:{...m.style,...r},children:/* @__PURE__ */t("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm6.585 14.655c-1.485 0-2.69-1.206-2.69-2.689 0-1.485 1.207-2.691 2.69-2.691 1.485 0 2.69 1.207 2.69 2.691s-1.207 2.689-2.69 2.689zM7.53 14.644c-.099 0-.192-.041-.267-.116l-2.043-2.04-2.052 2.047c-.069.068-.16.108-.258.108-.202 0-.368-.166-.368-.368 0-.099.04-.191.111-.263l2.04-2.05-2.038-2.047c-.075-.069-.113-.162-.113-.261 0-.203.166-.366.368-.366.098 0 .188.037.258.105l2.055 2.048 2.048-2.045c.069-.071.162-.108.26-.108.211 0 .375.165.375.366 0 .098-.029.188-.104.258l-2.056 2.055 2.055 2.051c.068.069.104.16.104.258 0 .202-.165.368-.365.368h-.01zm8.017-4.591c-.796.101-.882.476-.882 1.404v2.787c0 .202-.165.366-.366.366-.203 0-.367-.165-.368-.366v-4.53c0-.204.16-.366.362-.366.166 0 .316.125.346.289.27-.209.6-.317.93-.317h.105c.195 0 .359.165.359.368 0 .201-.164.352-.375.359 0 0-.09 0-.164.008l.053-.002zm-3.091 2.205H8.625c0 .019.003.037.006.057.02.105.045.211.083.31.194.531.765 1.275 1.829 1.29.33-.003.631-.086.9-.229.21-.12.391-.271.525-.428.045-.058.09-.112.12-.168.18-.229.405-.186.54-.083.164.135.18.391.045.57l-.016.016c-.21.27-.435.495-.689.66-.255.164-.525.284-.811.345-.33.09-.645.104-.975.06-1.095-.135-2.01-.93-2.28-2.01-.06-.21-.09-.42-.09-.645 0-.855.421-1.695 1.125-2.205.885-.615 2.085-.66 3-.075.63.405 1.035 1.021 1.185 1.771.075.419-.21.794-.734.81l.068-.046zm6.129-2.223c-1.064 0-1.931.865-1.931 1.931 0 1.064.866 1.931 1.931 1.931s1.931-.867 1.931-1.931c0-1.065-.866-1.933-1.931-1.933v.002zm0 2.595c-.367 0-.666-.297-.666-.666 0-.367.3-.665.666-.665.367 0 .667.299.667.665 0 .369-.3.667-.667.666zm-8.04-2.603c-.91 0-1.672.623-1.886 1.466v.03h3.776c-.203-.855-.973-1.494-1.891-1.494v-.002z"})})}export{e as BrandXeroIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";function r({size:r=18,...e}){/* @__PURE__ */
|
|
2
|
+
return l("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...e,children:/* @__PURE__ */l("path",{d:"M8.267 3a1 1 0 0 1 .73 .317l.076 .092l4.274 5.828l5.946 -5.944a1 1 0 0 1 1.497 1.32l-.083 .094l-6.163 6.162l6.262 8.54a1 1 0 0 1 -.697 1.585l-.109 .006h-4.267a1 1 0 0 1 -.73 -.317l-.076 -.092l-4.276 -5.829l-5.944 5.945a1 1 0 0 1 -1.497 -1.32l.083 -.094l6.161 -6.163l-6.26 -8.539a1 1 0 0 1 .697 -1.585l.109 -.006h4.267z"})})}export{r as BrandXSolidIcon};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{Popover as e}from"./chunk-RNBM5JZI.js";import{InputNumber_default as r}from"./chunk-
|
|
2
|
-
return w("button",{ref:l,type:o,"aria-pressed":a,className:$({size:r,selected:a,className:n}),...t,children:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"absolute inset-0",style:N(e)})})}),D=(e,r,a)=>Math.min(a,Math.max(r,e)),I=e=>"string"==typeof e?{value:e}:e;function
|
|
1
|
+
import{Popover as e}from"./chunk-RNBM5JZI.js";import{InputNumber_default as r}from"./chunk-CPXHU3Y2.js";import{InSettingRowContext as a}from"./chunk-L65BESIE.js";import{parseHexColor as n,hexToHsv as o,hsvToHex as t,hexReadout as l,HUE_GRADIENT as i,HEX_MAX_LENGTH as s,svFromPoint as c,hueFromPoint as u}from"./chunk-S6OB6HJB.js";import{inputClasses as d}from"./chunk-PF3ANJFI.js";import{Tooltip as h}from"./chunk-22S6LG6D.js";import{useShellStrings as g}from"./chunk-E6UCGCOC.js";import{forwardRef as p,useState as b,useRef as m,useEffect as f,useId as v}from"react";import{jsx as w,jsxs as x}from"react/jsx-runtime";var y={sm:"h-6 w-6",md:"h-8 w-8",lg:"h-10 w-10"},k={backgroundImage:"conic-gradient(var(--line-strong) 25%, var(--surface) 0 50%, var(--line-strong) 0 75%, var(--surface) 0)",backgroundSize:"8px 8px"};function C(e){return null==e||Number.isNaN(e)?100:Math.round(Math.min(100,Math.max(0,e)))}function N(e,r){if(!e)return k;const a=C(r);if(a>=100)return{background:e};const n=`color-mix(in srgb, ${e} ${a}%, transparent)`;return{backgroundImage:`linear-gradient(${n}, ${n}), ${k.backgroundImage}`,backgroundSize:`auto, ${k.backgroundSize}`}}function $({size:e="md",selected:r=!1,className:a=""}={}){return["relative inline-flex shrink-0 overflow-hidden rounded-md p-0 transition-shadow","rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]","disabled:cursor-not-allowed disabled:opacity-60",r?"border-2 border-blue-500":"border border-gray-300 hover:shadow-sm",y[e],a].filter(Boolean).join(" ")}var z=p(function({color:e,size:r="md",selected:a,className:n,type:o="button",...t},l){/* @__PURE__ */
|
|
2
|
+
return w("button",{ref:l,type:o,"aria-pressed":a,className:$({size:r,selected:a,className:n}),...t,children:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"absolute inset-0",style:N(e)})})}),D=(e,r,a)=>Math.min(a,Math.max(r,e)),I=e=>"string"==typeof e?{value:e}:e;function P(e,r,a){const n=a?.1:.01,o={ArrowLeft:[-n,0],ArrowRight:[n,0],ArrowDown:[0,-n],ArrowUp:[0,n]}[r];return o?{...e,s:D(e.s+o[0],0,1),v:D(e.v+o[1],0,1)}:null}function A(e,r,a){const n=a?10:1;switch(r){case"ArrowLeft":case"ArrowDown":return D(e-n,0,359);case"ArrowRight":case"ArrowUp":return D(e+n,0,359);case"PageDown":return D(e-10,0,359);case"PageUp":return D(e+10,0,359);case"Home":return 0;case"End":return 359;default:return null}}var M={boxShadow:"0 0 0 2px white, 0 0 0 3px color-mix(in srgb, black 35%, transparent)"};function j(e,r,a){const n=a?10:1;switch(r){case"ArrowLeft":case"ArrowDown":return D(e-n,0,100);case"ArrowRight":case"ArrowUp":return D(e+n,0,100);case"PageDown":return D(e-10,0,100);case"PageUp":return D(e+10,0,100);case"Home":return 0;case"End":return 100;default:return null}}function S({value:e,onChange:r,label:s,presets:d,clearable:p=!1,fallback:v,dragWrites:y="live",disabled:$=!1,opacity:D,onOpacityChange:S,onClose:B,id:K,className:T=""}){const L=g().color,O=C(D),R=e=>{const r=C(e);$||r===O||S?.(r)},H=e=>{const r=e.currentTarget.getBoundingClientRect();return r.width>0?(e.clientX-r.left)/r.width*100:O},X=n(v??""),[q,F]=b(()=>o(e||X||"")),J=m(e);f(()=>{e!==J.current&&(J.current=e,e?F(o(e)):X&&F(o(X)))},[e]);const W=a=>{$||a===e||(J.current=a,r(a))},G=e=>{const r=n(e);r&&(F(o(r)),W(r))},Y=e=>{F(e),W(t(e))},[V,Z]=b(!1),Q=m(q);Q.current=q;const _=e=>({onPointerDown:r=>{if($||0!==r.button)return;r.currentTarget.setPointerCapture?.(r.pointerId),r.currentTarget.focus({preventScroll:!0});const a=e(r,Q.current);"end"===y?(Z(!0),F(a)):Y(a)},onPointerMove:r=>{if($||!(1&r.buttons))return;const a=e(r,Q.current);"end"===y?F(a):Y(a)},onPointerUp:r=>{"end"===y&&V&&(Z(!1),Y(e(r,Q.current)))}}),ee=_((e,r)=>({...r,...c(e.clientX,e.clientY,e.currentTarget.getBoundingClientRect())})),re=_((e,r)=>({...r,h:u(e.clientX,e.currentTarget.getBoundingClientRect())})),ae=V?t(q):e,ne=e=>`${Math.round(100*e)}%`,oe=(d??[]).map(I),te=n(e),le=ae||X||"";
|
|
3
3
|
/* @__PURE__ */
|
|
4
|
-
return w(a.Provider,{value:!1,children:/* @__PURE__ */x("div",{id:
|
|
4
|
+
return w(a.Provider,{value:!1,children:/* @__PURE__ */x("div",{id:K,className:`flex w-56 flex-col gap-3 ${$?"opacity-60":""} ${T}`.trim(),onKeyDown:e=>{"Escape"===e.key&&B&&(e.preventDefault(),e.stopPropagation(),B())},children:[(oe.length>0||p)&&/* @__PURE__ */x("div",{role:"group","aria-label":L.presets,className:"flex flex-wrap gap-2",children:[p&&/* @__PURE__ */w(h,{content:L.clear,children:/* @__PURE__ */w(z,{color:"",size:"sm","aria-label":L.clear,selected:""===e,disabled:$,onClick:()=>{$||""===e||(J.current="",r(""))}})}),oe.map(e=>{const r=n(e.value),a=e.label?`${e.label} · ${l(r??e.value)}`:l(r??e.value);/* @__PURE__ */
|
|
5
5
|
return w(h,{content:a,children:/* @__PURE__ */w(z,{color:r??e.value,size:"sm","aria-label":a,selected:null!==r&&r===te,disabled:$,onClick:()=>G(e.value)})},`${e.label??""}:${e.value}`)})]}),
|
|
6
|
-
/* @__PURE__ */w("div",{role:"slider",tabIndex:$?-1:0,"aria-label":L.square,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*
|
|
7
|
-
/* @__PURE__ */w("div",{role:"slider",tabIndex:$?-1:0,"aria-label":L.hue,"aria-valuemin":0,"aria-valuemax":359,"aria-valuenow":Math.round(
|
|
6
|
+
/* @__PURE__ */w("div",{role:"slider",tabIndex:$?-1:0,"aria-label":L.square,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*q.v),"aria-valuetext":L.squareValue(Math.round(100*q.s),Math.round(100*q.v)),"aria-disabled":$||void 0,"data-color-square":"",onKeyDown:e=>{if($)return;const r=P(q,e.key,e.shiftKey);r&&(e.preventDefault(),Y(r))},...ee,className:"relative h-36 w-full cursor-crosshair touch-none rounded-md rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",style:{backgroundColor:t({h:q.h,s:1,v:1}),backgroundImage:"linear-gradient(to top, black, transparent), linear-gradient(to right, white, transparent)"},children:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"pointer-events-none absolute h-3 w-3 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{left:ne(q.s),top:ne(1-q.v),...M}})}),
|
|
7
|
+
/* @__PURE__ */w("div",{role:"slider",tabIndex:$?-1:0,"aria-label":L.hue,"aria-valuemin":0,"aria-valuemax":359,"aria-valuenow":Math.round(q.h),"aria-orientation":"horizontal","aria-disabled":$||void 0,"data-color-hue":"",onKeyDown:e=>{if($)return;const r=A(q.h,e.key,e.shiftKey);null!==r&&(e.preventDefault(),Y({...q,h:r}))},...re,className:"relative h-3 w-full cursor-pointer touch-none rounded-full rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",style:{backgroundImage:i},children:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"pointer-events-none absolute top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{left:q.h/360*100+"%",background:t({h:q.h,s:1,v:1}),...M}})}),S&&/* @__PURE__ */w("div",{role:"slider",tabIndex:$?-1:0,"aria-label":L.opacity(s),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":O,"aria-valuetext":`${O}%`,"aria-orientation":"horizontal","aria-disabled":$||void 0,"data-color-opacity":"",onKeyDown:e=>{if($)return;const r=j(O,e.key,e.shiftKey);null!==r&&(e.preventDefault(),R(r))},onPointerDown:e=>{$||0!==e.button||(e.currentTarget.setPointerCapture?.(e.pointerId),e.currentTarget.focus({preventScroll:!0}),R(H(e)))},onPointerMove:e=>{!$&&1&e.buttons&&R(H(e))},className:"relative h-3 w-full cursor-pointer touch-none rounded-full rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",style:{backgroundImage:`linear-gradient(to right, transparent, ${le||"black"}), ${k.backgroundImage}`,backgroundSize:`auto, ${k.backgroundSize}`},children:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"pointer-events-none absolute top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{left:`${O}%`,...N(le||"black",O),...M}})}),
|
|
8
8
|
/* @__PURE__ */x("div",{className:"flex items-center gap-2",children:[
|
|
9
|
-
/* @__PURE__ */w("span",{"aria-hidden":"true",className:"relative h-8 w-8 shrink-0 overflow-hidden rounded-md border border-gray-300",style:N(le,S?
|
|
10
|
-
/* @__PURE__ */w(
|
|
9
|
+
/* @__PURE__ */w("span",{"aria-hidden":"true",className:"relative h-8 w-8 shrink-0 overflow-hidden rounded-md border border-gray-300",style:N(le,S?O:null)}),
|
|
10
|
+
/* @__PURE__ */w(U,{value:ae,placeholder:!e&&X?l(X):void 0,onChange:G,label:L.hex(s),disabled:$}),S&&/* @__PURE__ */w(E,{value:O,onChange:R,label:L.opacity(s),disabled:$})]})]})})}var B={sm:"w-[calc(7ch+1rem+4px)] min-w-[calc(7ch+1rem+4px)]",md:"w-[calc(7ch+1.5rem+4px)] min-w-[calc(7ch+1.5rem+4px)]",lg:"w-[calc(7ch+2rem+4px)] min-w-[calc(7ch+2rem+4px)]"},K={sm:"h-6",md:"h-8",lg:"h-10"},T=["block w-[calc(7ch+0.5rem+4px)] min-w-[calc(7ch+0.5rem+4px)] flex-none rounded-(--radius-control)","border border-transparent bg-transparent px-1 text-2xs font-mono uppercase","text-gray-800 placeholder:text-[color:var(--ink-placeholder)] hover:border-gray-300","focus:border-blue-400 focus:bg-(--surface) rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring)]","disabled:cursor-not-allowed disabled:opacity-60"].join(" ");function U({value:e,onChange:r,label:a,placeholder:o,disabled:t,id:i,size:c="md",look:u="box",className:h=""}){const[g,p]=b(null),m="text"===u?`${T} ${K[c]} ${h}`.trim():d({size:c,className:`${B[c]} flex-1 font-mono uppercase ${h}`.trim()}).replace(/(^| )w-full( |$)/," ");/* @__PURE__ */
|
|
11
11
|
return w("input",{id:i,type:"text",value:g??(e?l(e):""),"aria-label":a,placeholder:o,maxLength:s,spellCheck:!1,autoComplete:"off",disabled:t,onChange:a=>{p(a.target.value);const o=n(a.target.value);null!==o&&o!==e&&r(o)},onFocus:e=>e.currentTarget.select(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),p(null))},onBlur:()=>p(null),"data-hex-look":u,className:m})}function E({value:e,onChange:a,label:n,disabled:o,size:t="md"}){/* @__PURE__ */
|
|
12
|
-
return w("div",{"data-color-opacity-box":"",className:"w-20 shrink-0",children:/* @__PURE__ */w(r,{value:e,onChange:e=>{null!==e&&a(e)},min:0,max:100,precision:0,suffix:"%",size:t,"aria-label":n,disabled:o})})}function L({value:r,onChange:a,label:o,presets:t,clearable:i,fallback:s,dragWrites:c,disabled:u,id:d,showHexInput:h=!1,opacity:p,onOpacityChange:b,size:m="md",align:f="start",open:y,onOpenChange:k,className:z=""}){const D=g().color,I=C(p),
|
|
12
|
+
return w("div",{"data-color-opacity-box":"",className:"w-20 shrink-0",children:/* @__PURE__ */w(r,{value:e,onChange:e=>{null!==e&&a(e)},min:0,max:100,precision:0,suffix:"%",size:t,"aria-label":n,disabled:o})})}function L({value:r,onChange:a,label:o,presets:t,clearable:i,fallback:s,dragWrites:c,disabled:u,id:d,showHexInput:h=!1,opacity:p,onOpacityChange:b,size:m="md",align:f="start",open:y,onOpenChange:k,className:z=""}){const D=g().color,I=C(p),P=v(),A=n(s??""),M=r||A||"",j=r?l(r):A?l(A):D.none;
|
|
13
13
|
/* @__PURE__ */
|
|
14
14
|
return x("div",{className:`inline-flex items-center ${b?"flex-wrap justify-end gap-1":h?"gap-1":"gap-2"} ${z}`.trim(),children:[
|
|
15
|
-
/* @__PURE__ */w(e,{id:d,trigger:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"absolute inset-0",style:N(
|
|
16
|
-
/* @__PURE__ */w(
|
|
15
|
+
/* @__PURE__ */w(e,{id:d,trigger:/* @__PURE__ */w("span",{"aria-hidden":"true",className:"absolute inset-0",style:N(M,b?I:null)}),triggerLabel:D.swatch(o,j),triggerClassName:$({size:m}),"aria-label":D.panel(o),align:f,open:y,onOpenChange:k,disabled:u,children:/* @__PURE__ */w(S,{id:P,value:r,onChange:a,label:o,presets:t,clearable:i,fallback:s,dragWrites:c,disabled:u,opacity:p,onOpacityChange:b})}),h&&
|
|
16
|
+
/* @__PURE__ */w(U,{value:r,placeholder:!r&&A?l(A):void 0,onChange:e=>{u||e===r||a(e)},label:D.hex(o),disabled:u,size:m,look:"text"}),b&&/* @__PURE__ */w(E,{value:I,onChange:e=>{u||e===I||b(e)},label:D.opacity(o),disabled:u,size:m})]})}export{L as ColorPicker,S as ColorPickerPanel,z as ColorSwatch,U as HexInput,k as NO_COLOR_FILL,C as clampOpacity,N as colorFill,$ as colorSwatchClasses,A as stepHue,j as stepOpacity,P as stepSquare};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as h}from"./chunk-64ACCUNN.js";import{jsx as t}from"react/jsx-runtime";function e({size:e,width:i,height:c,style:l,...r}){const o=h(e??i??c??18,.875);/* @__PURE__ */
|
|
2
|
+
return t("svg",{width:o.width,height:o.height,viewBox:"1.321 -0.2 21.358 24.4",fill:"currentColor","aria-hidden":"true",...r,style:{...o.style,...l},children:/* @__PURE__ */t("path",{d:"M8.559 2.445c0-.325.033-.52.59-.52h7.465c1.3 0 2.02 1.11 2.54 3.193l.42 1.666h1.27c.23-4.728.43-6.784.43-6.784s-3.196.36-5.09.36H6.635L1.521.196v1.37l1.725.326c1.21.24 1.5.496 1.6 1.606 0 0 .11 3.27.11 8.64 0 5.385-.09 8.61-.09 8.61 0 .973-.39 1.333-1.59 1.573l-1.722.33V24l5.13-.165h8.55c1.935 0 6.39.165 6.39.165.105-1.17.75-6.48.855-7.064h-1.2l-1.284 2.91c-1.005 2.28-2.476 2.445-4.11 2.445h-4.906c-1.63 0-2.415-.64-2.415-2.05V12.8s3.62 0 4.79.096c.912.064 1.463.325 1.76 1.598l.39 1.695h1.41l-.09-4.278.192-4.305h-1.391l-.45 1.89c-.283 1.244-.48 1.47-1.754 1.6-1.666.17-4.815.14-4.815.14V2.45h-.05z"})})}export{e as BrandEtsyIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";function e({size:e=18,...a}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...a,children:/* @__PURE__ */r("path",{d:"M17 3.34a10 10 0 0 1 -8.512 18.023l2.364 -5.315a3.5 3.5 0 0 0 2.398 .952c2.708 0 4.75 -2.089 4.75 -5a6 6 0 1 0 -11.64 2.041a1 1 0 1 0 1.88 -.682a4 4 0 1 1 7.76 -1.36c0 1.818 -1.156 3.001 -2.75 3.001c-.609 0 -1.153 -.361 -1.478 -1.022l1.142 -2.572a1 1 0 0 0 -1.828 -.812l-4.392 9.882a10 10 0 0 1 -4.694 -8.476l.005 -.324a10 10 0 0 1 14.995 -8.336"})})}export{e as BrandPinterestSolidIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as c}from"./chunk-64ACCUNN.js";import{jsx as t}from"react/jsx-runtime";function e({size:e,width:i,height:r,style:h,...o}){const s=c(e??i??r??18,1);/* @__PURE__ */
|
|
2
|
+
return t("svg",{width:s.width,height:s.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...s.style,...h},children:/* @__PURE__ */t("path",{d:"M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z"})})}export{e as BrandIntercomIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as a}from"./chunk-64ACCUNN.js";import{jsx as t}from"react/jsx-runtime";function e({size:e,width:i,height:r,style:h,...l}){const o=a(e??i??r??18,1);/* @__PURE__ */
|
|
2
|
+
return t("svg",{width:o.width,height:o.height,viewBox:"1.8 1.8 20.4 20.4",fill:"currentColor","aria-hidden":"true",...l,style:{...o.style,...h},children:/* @__PURE__ */t("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1 -5 5h-10a5 5 0 0 1 -5 -5v-10a5 5 0 0 1 5 -5zm-9 8a1 1 0 0 0 -1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0 -1 -1m6 0a3 3 0 0 0 -1.168 .236l-.125 .057a1 1 0 0 0 -1.707 .707v5a1 1 0 0 0 2 0v-3a1 1 0 0 1 2 0v3a1 1 0 0 0 2 0v-3a3 3 0 0 0 -3 -3m-6 -3a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1"})})}export{e as BrandLinkedinIcon};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{SidebarLayout as e}from"./chunk-
|
|
1
|
+
import{SidebarLayout as e}from"./chunk-KKSW5IZ7.js";import{Avatar as r}from"./chunk-MMFJBWJC.js";import{Button_default as t}from"./chunk-4IU5BSVE.js";import{useState as a}from"react";import{jsx as i,jsxs as l}from"react/jsx-runtime";var s=[{id:"inbox",label:"Inbox",count:12},{id:"starred",label:"Starred",count:3},{id:"sent",label:"Sent"},{id:"drafts",label:"Drafts",count:1},{id:"archive",label:"Archive"},{id:"trash",label:"Trash"}],n=[{id:1,from:"Marco Reyes",subject:"Q3 roadmap review",preview:"Sharing the deck ahead of Thursday — let me know what you think before the review.",time:"9:14",unread:!0},{id:2,from:"Priya Patel",subject:"Design handoff",preview:"The Figma file is ready for engineering. I exported every icon at 1x and 2x.",time:"8:02",unread:!0},{id:3,from:"GitHub",subject:"[acme/web] PR #482 merged",preview:"Your pull request was merged into main by the release bot after all checks passed.",time:"Yest"},{id:4,from:"Sara Lind",subject:"Lunch Friday?",preview:"A few of us are heading to the new place on 5th at noon if you want to join.",time:"Yest"}];function d(){const[d,c]=a(1),o=n.find(e=>e.id===d)??n[0];/* @__PURE__ */
|
|
2
2
|
return i("div",{className:"h-full",children:/* @__PURE__ */i(e,{side:"left",defaultWidth:200,sidebar:/* @__PURE__ */l("div",{className:"flex h-full flex-col p-2",children:[
|
|
3
3
|
/* @__PURE__ */i(t,{block:!0,className:"mb-2",children:"Compose"}),s.map((e,r)=>/* @__PURE__ */l("button",{className:"flex items-center justify-between rounded-md px-3 py-2 text-left text-sm "+(0===r?"bg-blue-50 font-medium text-blue-700":"text-gray-700 hover:bg-gray-100"),children:[
|
|
4
4
|
/* @__PURE__ */i("span",{children:e.label}),null!=e.count&&/* @__PURE__ */i("span",{className:"text-xs text-gray-400",children:e.count})]},e.id))]}),children:/* @__PURE__ */l("div",{className:"flex h-full",children:[
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{inputClasses as e,PLACEHOLDER_INK as a}from"./chunk-
|
|
1
|
+
import{inputClasses as e,PLACEHOLDER_INK as a}from"./chunk-PF3ANJFI.js";import{forwardRef as r}from"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";var i=r(function({invalid:r,leftIcon:i,rightAdornment:l,size:s,className:o="",readOnly:c,...m},d){const p=`${i?"pl-10":""} ${l?"pr-10":""}`.trim(),f=
|
|
2
2
|
/* @__PURE__ */t("input",{ref:d,"aria-invalid":r||void 0,readOnly:c,className:e({invalid:r,size:s,readOnly:c,className:[p,o].filter(Boolean).join(" ")}),...m});return i||l?/* @__PURE__ */n("div",{className:"relative",children:[i&&/* @__PURE__ */t("span",{className:`pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 ${a}`,children:i}),f,l&&/* @__PURE__ */t("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400",children:l})]}):f});export{i as Input_default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r="8.34.0",a=r;export{a as APP_VERSION,r as VERSION};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:h,style:l,...o}){const n=t(i??r??h??18,1.174);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 1.607 24.4 20.786",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...l},children:/* @__PURE__ */e("path",{d:"M6 1.807L0 5.629l6 3.822 6.001-3.822L6 1.807zM18 1.807l-6 3.822 6 3.822 6-3.822-6-3.822zM0 13.274l6 3.822 6.001-3.822L6 9.452l-6 3.822zM18 9.452l-6 3.822 6 3.822 6-3.822-6-3.822zM6 18.371l6.001 3.822 6-3.822-6-3.822L6 18.371z"})})}export{i as BrandDropboxIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:h,style:o,...c}){const l=t(i??r??h??18,.719);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:l.width,height:l.height,viewBox:"3.234 -0.2 17.533 24.4",fill:"currentColor","aria-hidden":"true",...c,style:{...l.style,...o},children:/* @__PURE__ */e("path",{d:"M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z"})})}export{i as BrandStripeIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as c}from"./chunk-64ACCUNN.js";import{jsx as a}from"react/jsx-runtime";function t({size:t,width:e,height:i,style:m,...r}){const h=c(t??e??i??18,.943);/* @__PURE__ */
|
|
2
|
+
return a("svg",{width:h.width,height:h.height,viewBox:"0.494 -0.2 23.013 24.4",fill:"currentColor","aria-hidden":"true",...r,style:{...h.style,...m},children:/* @__PURE__ */a("path",{d:"M11.267 0C6.791-.015-1.82 10.246 1.397 12.964l.79.669a3.88 3.88 0 0 0-.22 1.792c.084.84.518 1.644 1.22 2.266.666.59 1.542.964 2.392.964 1.406 3.24 4.62 5.228 8.386 5.34 4.04.12 7.433-1.776 8.854-5.182.093-.24.488-1.316.488-2.267 0-.956-.54-1.352-.885-1.352-.01-.037-.078-.286-.172-.586-.093-.3-.19-.51-.19-.51.375-.563.382-1.065.332-1.35-.053-.353-.2-.653-.496-.964-.296-.311-.902-.63-1.753-.868l-.446-.124c-.002-.019-.024-1.053-.043-1.497-.014-.32-.042-.822-.197-1.315-.186-.668-.508-1.253-.911-1.627 1.112-1.152 1.806-2.422 1.804-3.511-.003-2.095-2.576-2.729-5.746-1.416l-.672.285A678.22 678.22 0 0 0 12.7.504C12.304.159 11.817.002 11.267 0zm.073.873c.166 0 .322.019.465.058.297.084 1.28 1.224 1.28 1.224s-1.826 1.013-3.52 2.426c-2.28 1.757-4.005 4.311-5.037 7.082-.811.158-1.526.618-1.963 1.253-.261-.218-.748-.64-.834-.804-.698-1.326.761-3.902 1.781-5.357C5.834 3.44 9.37.867 11.34.873zm3.286 3.273c.04-.002.06.05.028.074-.143.11-.299.26-.413.414a.04.04 0 0 0 .031.064c.659.004 1.587.235 2.192.574.041.023.012.103-.034.092-.915-.21-2.414-.369-3.97.01-1.39.34-2.45.863-3.224 1.426-.04.028-.086-.023-.055-.06.896-1.035 1.999-1.935 2.987-2.44.034-.018.07.019.052.052-.079.143-.23.447-.278.678-.007.035.032.063.062.042.615-.42 1.684-.868 2.622-.926zm3.023 3.205l.056.001a.896.896 0 0 1 .456.146c.534.355.61 1.216.638 1.845.015.36.059 1.229.074 1.478.034.571.184.651.487.751.17.057.33.098.563.164.706.198 1.125.4 1.39.658.157.162.23.333.253.497.083.608-.472 1.36-1.942 2.041-1.607.746-3.557.935-4.904.785l-.471-.053c-1.078-.145-1.693 1.247-1.046 2.201.417.615 1.552 1.015 2.688 1.015 2.604 0 4.605-1.111 5.35-2.072a.987.987 0 0 0 .06-.085c.036-.055.006-.085-.04-.054-.608.416-3.31 2.069-6.2 1.571 0 0-.351-.057-.672-.182-.255-.1-.788-.344-.853-.891 2.333.72 3.801.039 3.801.039a.072.072 0 0 0 .042-.072.067.067 0 0 0-.074-.06s-1.911.283-3.718-.378c.197-.64.72-.408 1.51-.345a11.045 11.045 0 0 0 3.647-.394c.818-.234 1.892-.697 2.727-1.356.281.618.38 1.299.38 1.299s.219-.04.4.073c.173.106.299.326.213.895-.176 1.063-.628 1.926-1.387 2.72a5.714 5.714 0 0 1-1.666 1.244c-.34.18-.704.334-1.087.46-2.863.935-5.794-.093-6.739-2.3a3.545 3.545 0 0 1-.189-.522c-.403-1.455-.06-3.2 1.008-4.299.065-.07.132-.153.132-.256 0-.087-.055-.179-.102-.243-.374-.543-1.669-1.466-1.409-3.254.187-1.284 1.31-2.189 2.357-2.135.089.004.177.01.266.015.453.027.85.085 1.223.1.625.028 1.187-.063 1.853-.618.225-.187.405-.35.71-.401.028-.005.092-.028.215-.028zm.022 2.18a.42.42 0 0 0-.06.005c-.335.054-.347.468-.228 1.04.068.32.187.595.32.765.175-.02.343-.022.498 0 .089-.205.104-.557.024-.942-.112-.535-.261-.872-.554-.868zm-3.66 1.546a1.724 1.724 0 0 0-1.016.326c-.16.117-.311.28-.29.378.008.032.031.056.088.063.131.015.592-.217 1.122-.25.374-.023.684.094.923.2.239.104.386.173.443.113.037-.038.026-.11-.031-.204-.118-.192-.36-.387-.618-.497a1.601 1.601 0 0 0-.621-.129zm4.082.81c-.171-.003-.313.186-.317.42-.004.236.131.43.303.432.172.003.314-.185.318-.42.004-.236-.132-.429-.304-.432zm-3.58.172c-.05 0-.102.002-.155.008-.311.05-.483.152-.593.247-.094.082-.152.173-.152.237a.075.075 0 0 0 .075.076c.07 0 .228-.063.228-.063a1.98 1.98 0 0 1 1.001-.104c.157.018.23.027.265-.026.01-.016.022-.049-.01-.1-.063-.103-.311-.269-.66-.275zm2.26.4c-.127 0-.235.051-.283.148-.075.154.035.363.246.466.21.104.443.063.52-.09.075-.155-.035-.364-.246-.467a.542.542 0 0 0-.237-.058zm-11.635.024c.048 0 .098 0 .149.003.73.04 1.806.6 2.052 2.19.217 1.41-.128 2.843-1.449 3.069-.123.02-.248.029-.374.026-1.22-.033-2.539-1.132-2.67-2.435-.145-1.44.591-2.548 1.894-2.811.117-.024.252-.04.398-.042zm-.07.927a1.144 1.144 0 0 0-.847.364c-.38.418-.439.988-.366 1.19.027.073.07.094.1.098.064.008.16-.039.22-.2a1.2 1.2 0 0 0 .017-.052 1.58 1.58 0 0 1 .157-.37.689.689 0 0 1 .955-.199c.266.174.369.5.255.81-.058.161-.154.469-.133.721.043.511.357.717.64.738.274.01.466-.143.515-.256.029-.067.005-.107-.011-.125-.043-.053-.113-.037-.18-.021a.638.638 0 0 1-.16.022.347.347 0 0 1-.294-.148c-.078-.12-.073-.3.013-.504.011-.028.025-.058.04-.092.138-.308.368-.825.11-1.317-.195-.37-.513-.602-.894-.65a1.135 1.135 0 0 0-.138-.01z"})})}export{t as BrandMailchimpIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:l,height:r,style:h,...a}){const c=t(i??l??r??18,1);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:c.width,height:c.height,viewBox:"-0.2 -0.2 24.4 24.4",fill:"currentColor","aria-hidden":"true",...a,style:{...c.style,...h},children:/* @__PURE__ */e("path",{d:"M12 0C5.24 0 0 4.952 0 11.64c0 3.499 1.434 6.521 3.769 8.61a.96.96 0 0 1 .323.683l.065 2.135a.96.96 0 0 0 1.347.85l2.381-1.053a.96.96 0 0 1 .641-.046A13 13 0 0 0 12 23.28c6.76 0 12-4.952 12-11.64S18.76 0 12 0m6.806 7.44c.522-.03.971.567.63 1.094l-4.178 6.457a.707.707 0 0 1-.977.208l-3.87-2.504a.44.44 0 0 0-.49.007l-4.363 3.01c-.637.438-1.415-.317-.995-.966l4.179-6.457a.706.706 0 0 1 .977-.21l3.87 2.505c.15.097.344.094.491-.007l4.362-3.008a.7.7 0 0 1 .364-.13"})})}export{i as BrandMessengerIcon};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{TEXT_ALIGNS as e,textAlignWords as l,textAlignIcon as r}from"./chunk-QDOTMA3W.js";import{IconButton_default as a}from"./chunk-4CANQ3B3.js";import{Icon as o}from"./chunk-KIBL6M3T.js";import{Tooltip as n}from"./chunk-22S6LG6D.js";import{useShellStrings as s}from"./chunk-E6UCGCOC.js";import{jsx as i,jsxs as t,Fragment as d}from"react/jsx-runtime";var c=e=>e.preventDefault(),u=e=>null!=e&&!1!==e,h=["bold","italic","underline","strike","link","sup","sub","code"];function p(e,l,r){const a={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1,Home:"first",End:"last"}[e.key];if(void 0===a||0===l.length)return;const o=[...e.currentTarget.querySelectorAll('[role="radio"]')],n=o.findIndex(l=>l===e.target||l.contains(e.target));if(n<0)return;e.preventDefault();const s=o.length,i="first"===a?0:"last"===a?s-1:(n+a+s)%s;o[i].disabled||(r(l[i]),o[i].focus())}function b(e,l){const r=["bold","italic","underline","strike"].filter(l=>e.has(l)).length;return{color:r,link:r+(l?1:0)}}function m({offered:l,color:r,last:a,alignment:o,list:n,letterCase:s}){const i=h.filter(e=>l.has(e)).length+(r?1:0)+(u(a)?1:0),t=(o?e.filter(e=>o.allow.includes(e)).length:0)+(n&&l.has("bullet")?1:0)+(n&&l.has("number")?1:0)+(l.has("quote")?1:0)+(s?3:0);return{words:i>0,paragraph:t>0,oneRow:i>0&&t>0&&i+1+t<=9,flow:i>0&&t>0&&i+1+t>9&&i<=7,cells:{words:i,paragraph:t}}}function w(e,l){/* @__PURE__ */
|
|
2
|
+
return i(n,{content:e,children:l},l.key??void 0)}function g({offered:n,pressed:h,onMark:g,color:f,linkOpen:k=!1,last:v,alignment:N,list:C,letterCase:D,disabled:M=!1,"aria-label":x,windows:y,className:A="",layout:j="grid"}){const B=s().textToolbar,L=m({offered:n,color:f,last:v,alignment:N,list:C,letterCase:D});if(!L.words&&!L.paragraph)return null;const q=(e,l="")=>`rosh-tb-btn${e?" is-on":""}${l?` ${l}`:""}`,I=(e,l,r,o)=>n.has(e)?w(l,/* @__PURE__ */i(a,"link"===e?{pressed:k,className:q(k),"aria-label":l,"aria-haspopup":"dialog","aria-expanded":k,"aria-keyshortcuts":o,disabled:M,onMouseDown:c,onClick:()=>g(e),children:r}:{className:q(Boolean(h[e])),"aria-label":l,"aria-pressed":Boolean(h[e]),"aria-keyshortcuts":o,disabled:M,onMouseDown:c,onClick:()=>g(e),children:r},e)):null,S=l(B),T=e.map(e=>[e,S[e],r(e)]),$=N?e.filter(e=>N.allow.includes(e)):[],K=N&&$.includes(N.value)?N.value:$[0],R=[["none",B.caseNone,/* @__PURE__ */i(o,{name:"case-normal"})],["upper",B.caseUpper,/* @__PURE__ */i(o,{name:"case-upper"})],["lower",B.caseLower,/* @__PURE__ */i(o,{name:"case-lower"})]],U=/* @__PURE__ */t(d,{children:[I("bold",B.bold,/* @__PURE__ */i(o,{name:"bold"}),"Meta+B"),I("italic",B.italic,/* @__PURE__ */i(o,{name:"italic"}),"Meta+I"),I("underline",B.underline,/* @__PURE__ */i(o,{name:"underline"}),"Meta+U"),I("strike",B.strike,/* @__PURE__ */i(o,{name:"strike"})),f?w(B.color,/* @__PURE__ */i(a,{pressed:f.open,className:q(f.open,"rosh-tb-color"),"aria-label":B.color,"aria-haspopup":"dialog","aria-expanded":f.open,disabled:M,style:f.run?{"--rosh-tb-run":f.run}:void 0,onMouseDown:c,onClick:f.onToggle,children:/* @__PURE__ */i(o,{name:"text-color"})},"color")):null,I("link",B.link,/* @__PURE__ */i(o,{name:"link"}),"Meta+K"),I("sup",B.sup,/* @__PURE__ */i(o,{name:"superscript"})),I("sub",B.sub,/* @__PURE__ */i(o,{name:"subscript"})),I("code",B.code,/* @__PURE__ */i(o,{name:"code"})),u(v)?v:null]}),O=/* @__PURE__ */t(d,{children:[N&&$.length>0?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":B.alignment,onKeyDown:e=>p(e,$,e=>N.onChange(e)),children:T.map(([e,l,r])=>N.allow.includes(e)?w(l,/* @__PURE__ */i(a,{role:"radio",pressed:N.value===e,className:q(N.value===e),"aria-checked":N.value===e,"aria-label":l,tabIndex:e===K?0:-1,disabled:M||N.disabled,onMouseDown:c,onClick:()=>N.onChange(e),children:r},e)):null)}):null,C&&n.has("bullet")?w(B.bullet,/* @__PURE__ */i(a,{className:q("bullet"===C.pressed),"aria-label":B.bullet,"aria-pressed":"bullet"===C.pressed,disabled:M,onMouseDown:c,onClick:()=>C.onList("bullet"),children:/* @__PURE__ */i(o,{name:"list"})},"bullet")):null,C&&n.has("number")?w(B.number,/* @__PURE__ */i(a,{className:q("number"===C.pressed),"aria-label":B.number,"aria-pressed":"number"===C.pressed,disabled:M,onMouseDown:c,onClick:()=>C.onList("number"),children:/* @__PURE__ */i(o,{name:"numbered-list"})},"number")):null,I("quote",B.quote,/* @__PURE__ */i(o,{name:"quote"})),D?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":B.letterCase,onKeyDown:e=>p(e,R.map(([e])=>e),e=>D.onChange(e)),children:R.map(([e,l,r])=>w(l,/* @__PURE__ */i(a,{role:"radio",pressed:D.value===e,className:q(D.value===e),"aria-checked":D.value===e,"aria-label":l,tabIndex:e===(D.value||"none")?0:-1,disabled:M||D.disabled,onMouseDown:c,onClick:()=>D.onChange(D.value===e?"":e),children:r},e)))}):null]}),E="row"===j,G=E?" is-row":L.flow?" is-flow":L.oneRow?" is-one-row":L.words&&void 0===v?" is-eight":"",Q=b(n,Boolean(f)),H={"--rosh-tb-color-col":String(Q.color),"--rosh-tb-link-col":String(Q.link),...E?{"--rosh-tb-cells":String(L.cells.words+L.cells.paragraph),"--rosh-tb-groupgap":L.words&&L.paragraph?"var(--space-8, 0.5rem)":"0px"}:{}};let W;return W=E?/* @__PURE__ */t("div",{className:"rosh-tb-row is-row",children:[L.words?/* @__PURE__ */i("div",{className:"rosh-tb-words",children:U}):null,L.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-para",children:O}):null]}):L.flow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-flow",children:[U,
|
|
3
|
+
/* @__PURE__ */i("span",{className:"rosh-tb-flowgap","aria-hidden":"true"}),O]}):L.oneRow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-one-row",children:[
|
|
4
|
+
/* @__PURE__ */i("div",{className:"rosh-tb-words",children:U}),
|
|
5
|
+
/* @__PURE__ */i("div",{className:"rosh-tb-para",children:O})]}):/* @__PURE__ */t(d,{children:[L.words?/* @__PURE__ */i("div",{className:"rosh-tb-row"+(void 0===v?" is-eight":""),children:U}):null,L.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-row",children:O}):null]}),/* @__PURE__ */t("div",{className:`rosh-tb-wrap${G} ${A}`.trim(),style:H,children:[
|
|
6
|
+
/* @__PURE__ */i("div",{className:"rosh-tb",role:"toolbar","aria-label":x??B.formatting,children:W}),y]})}export{g as TextToolbar,m as textToolbarRows,b as textToolbarWindowColumns};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:c,style:h,...o}){const n=t(i??r??c??18,1.602);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"-0.2 4.384 24.4 15.231",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...h},children:/* @__PURE__ */e("path",{d:"M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"})})}export{i as BrandMastercardIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:h,style:o,...n}){const c=t(i??r??h??18,.871);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:c.width,height:c.height,viewBox:"1.374 -0.2 21.251 24.4",fill:"currentColor","aria-hidden":"true",...n,style:{...c.style,...o},children:/* @__PURE__ */e("path",{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"})})}export{i as BrandTiktokIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as h}from"./chunk-64ACCUNN.js";import{jsx as c}from"react/jsx-runtime";function t({size:t,width:v,height:e,style:i,...r}){const o=h(t??v??e??18,2.988);/* @__PURE__ */
|
|
2
|
+
return c("svg",{width:o.width,height:o.height,viewBox:"-0.2 7.918 24.4 8.165",fill:"currentColor","aria-hidden":"true",...r,style:{...o.style,...i},children:/* @__PURE__ */c("path",{d:"M11.64703 9.88245v2.93377c0 .13405.10867.24271.24272.24271h.46316V9.88245h1.76474v5.1503c0 .46916-.38033.8495-.8495.8495H9.94303v-1.23507h2.40991v-.52942h-1.62108c-.46917 0-.8495-.38033-.8495-.8495V9.88245h1.76467Zm-8.26124.00001c.46917 0 .8495.38034.8495.8495v3.3858H.8495c-.46916 0-.8495-.38033-.8495-.8495v-.94805c0-.46917.38034-.8495.8495-.8495h.91521v1.3455c0 .13406.10867.24272.24272.24272h.46316V11.184c0-.13405-.10867-.24271-.24272-.24271l-2.16719-.00002V9.88246Zm5.79068-1.76471v6.00001H5.79068c-.46917 0-.8495-.38033-.8495-.8495v-2.53631c0-.46917.38033-.8495.8495-.8495h.91515v2.93377c0 .13405.10867.24271.24272.24271h.46316l.00005-4.94118h1.76471Zm9.03286 1.76471a.8495.8495 0 0 1 .8495.8495v.94805c0 .46917-.38033.8495-.8495.8495h-.9152v-1.3455c0-.13404-.10868-.2427-.24272-.2427h-.46317v1.8749c0 .13406.10867.24272.24272.24272h2.16719v1.05883h-3.32511c-.46917 0-.8495-.38033-.8495-.8495v-3.3858Zm4.94117 0c.46916 0 .8495.38034.8495.8495v3.3858h-1.7647V11.184c-.0004-.13388-.10884-.24232-.24272-.24272h-.46316v3.1765H19.7647V9.88245Z"})})}export{t as BrandAdyenIcon};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{
|
|
2
|
-
/* @__PURE__ */f("div",{className:`flex h-full flex-col ${I?"overflow-hidden":"overflow-y-auto"} ${C}`,children:[null!=
|
|
3
|
-
/* @__PURE__ */p(
|
|
1
|
+
import{SidebarBarContext as e,SidebarSheetContext as l}from"./chunk-QWK6DRSN.js";import{readStoredWidth as r,ResizeHandle as t}from"./chunk-KZHPX4FM.js";import{useIsPhone as a}from"./chunk-UGTRSRIW.js";import{Icon as n}from"./chunk-KIBL6M3T.js";import{useBrowserState as o}from"./chunk-D65T4H6J.js";import{useShellStrings as i}from"./chunk-E6UCGCOC.js";import{useState as s,useRef as c,useReducer as d,useMemo as h,Fragment as u,useEffect as m}from"react";import{jsxs as f,jsx as p}from"react/jsx-runtime";var b=(e,l,r)=>Math.min(Math.max(e,l),r);function x({sidebar:e,sidebarTop:l,sidebarBottom:n,children:u,side:m="left",storageKey:x,defaultWidth:N=256,minWidth:w=180,maxWidth:k=480,className:y="",sidebarClassName:C=("right"===m?"border-l border-gray-200 bg-gray-50":"border-r border-gray-200 bg-gray-50"),contentClassName:j="bg-white"}){const z="right"===m,O=i().sidebar,P=a(),W=function(){const[e,l]=s(!1),r=c(null),t=c(/* @__PURE__ */new Map),[,a]=d(e=>e+1,0),n=h(()=>({report(e,l,r){const n={label:l,el:r};return t.current.set(e,n),a(),()=>{t.current.get(e)===n&&(t.current.delete(e),a())}}}),[]);return{api:n,open:e,setOpen:l,current:()=>[...t.current.values()].sort((e,l)=>e.el&&l.el&&e.el.compareDocumentPosition(l.el)&Node.DOCUMENT_POSITION_PRECEDING?1:-1).map(e=>e.label()),trigger:r}}(),[D,E]=o(()=>(x?r(x,w,k):null)??b(N,w,k),b(N,w,k)),I=null!=l||null!=n,K=/* @__PURE__ */f("div",{className:"relative flex h-full shrink-0 flex-col",style:{width:D},children:[
|
|
2
|
+
/* @__PURE__ */f("div",{className:`flex h-full flex-col ${I?"overflow-hidden":"overflow-y-auto"} ${C}`,children:[null!=l&&/* @__PURE__ */p("div",{className:"flex shrink-0 flex-col gap-2 px-2 pt-3 pb-2",children:l}),I?/* @__PURE__ */p("div",{className:"min-h-0 flex-1 overflow-y-auto",children:e}):e,null!=n&&/* @__PURE__ */p("div",{className:"mt-auto flex shrink-0 flex-col gap-2 border-t border-gray-200 px-2 py-3",children:n})]}),
|
|
3
|
+
/* @__PURE__ */p(t,{side:m,width:D,onResize:E,min:w,max:k,defaultWidth:b(N,w,k),storageKey:x,hint:O.resize})]}),M=/* @__PURE__ */p("div",{className:`flex min-w-0 flex-1 flex-col ${j}`,children:u});/* @__PURE__ */
|
|
4
4
|
return f("div",P?{className:`relative flex h-full w-full flex-col overflow-hidden ${y}`,children:[
|
|
5
|
-
/* @__PURE__ */p(g,{phone:W,top:
|
|
6
|
-
/* @__PURE__ */p(v,{phone:W,bottom:n,label:O.sections,closeLabel:O.closeSections,children:
|
|
5
|
+
/* @__PURE__ */p(g,{phone:W,top:l,fallback:O.sections}),M,
|
|
6
|
+
/* @__PURE__ */p(v,{phone:W,bottom:n,label:O.sections,closeLabel:O.closeSections,children:e})]}:{className:`flex h-full w-full overflow-hidden ${y}`,children:[z?null:K,M,z?K:null]})}function g({phone:l,top:r,fallback:t}){const a=l.current();/* @__PURE__ */
|
|
7
7
|
return f("div",{"data-sidebar-section-bar":!0,className:"flex h-11 shrink-0 items-center gap-2 border-b border-gray-200 bg-white px-3",children:[
|
|
8
|
-
/* @__PURE__ */f("button",{ref:
|
|
8
|
+
/* @__PURE__ */f("button",{ref:l.trigger,type:"button","aria-haspopup":"dialog","aria-expanded":l.open,onClick:()=>l.setOpen(!0),className:"flex h-8 min-w-0 flex-1 items-center gap-1 text-left text-sm font-semibold text-gray-900",children:[
|
|
9
9
|
/* @__PURE__ */p("span",{className:"min-w-0 truncate",children:0===a.length?t:a.map((e,l)=>/* @__PURE__ */f(u,{children:[l>0&&" · ",e]},l))}),
|
|
10
|
-
/* @__PURE__ */p(n,{name:"chevron-down",className:"size-4 shrink-0",strokeWidth:2,"aria-hidden":"true"})]}),null!=
|
|
11
|
-
/* @__PURE__ */f(
|
|
12
|
-
/* @__PURE__ */f("div",{ref:o,role:"dialog","aria-modal":"true","aria-label":
|
|
10
|
+
/* @__PURE__ */p(n,{name:"chevron-down",className:"size-4 shrink-0",strokeWidth:2,"aria-hidden":"true"})]}),null!=r&&/* @__PURE__ */p(e.Provider,{value:!0,children:/* @__PURE__ */p("div",{className:"flex min-w-0 max-w-[60%] shrink-0 items-center gap-2",children:r})})]})}function v({phone:e,bottom:r,label:t,closeLabel:a,children:n}){const o=c(null),{open:i,setOpen:s,trigger:d}=e,h=()=>{s(!1),o.current?.contains(document.activeElement)&&d.current?.focus()};return m(()=>{i&&o.current?.focus()},[i]),
|
|
11
|
+
/* @__PURE__ */f(l.Provider,{value:e.api,children:[i&&/* @__PURE__ */p("button",{type:"button","aria-label":a,onClick:h,className:"absolute inset-0 z-(--z-in-box) cursor-default bg-gray-900/40"}),
|
|
12
|
+
/* @__PURE__ */f("div",{ref:o,role:"dialog","aria-modal":"true","aria-label":t,tabIndex:-1,"data-sidebar-section-sheet":!0,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),h())},onClick:e=>{const l=e.target.closest("button, a");!l||l.hasAttribute("aria-expanded")||l.closest("[data-sheet-keep-open]")||h()},className:(i?"flex":"hidden")+" absolute inset-x-0 bottom-0 z-(--z-in-box) max-h-[75%] flex-col rounded-t-2xl bg-white pt-2 shadow-(--elevation-dialog)",children:[
|
|
13
13
|
/* @__PURE__ */p("div",{className:"mx-auto mb-2 h-1 w-9 shrink-0 rounded-full bg-gray-300","aria-hidden":"true"}),
|
|
14
|
-
/* @__PURE__ */p("div",{className:"min-h-0 flex-1 overflow-y-auto px-2 pb-3",children:n}),null!=
|
|
14
|
+
/* @__PURE__ */p("div",{className:"min-h-0 flex-1 overflow-y-auto px-2 pb-3",children:n}),null!=r&&/* @__PURE__ */p("div",{className:"flex shrink-0 flex-col gap-2 border-t border-gray-200 px-2 py-3",children:r})]})]})}export{x as SidebarLayout};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{brandBox as t}from"./chunk-64ACCUNN.js";import{jsx as e}from"react/jsx-runtime";function i({size:i,width:r,height:c,style:h,...o}){const n=t(i??r??c??18,.905);/* @__PURE__ */
|
|
2
|
+
return e("svg",{width:n.width,height:n.height,viewBox:"0.96 -0.2 22.08 24.4",fill:"currentColor","aria-hidden":"true",...o,style:{...n.style,...h},children:/* @__PURE__ */e("path",{d:"M22.84 2.9982v17.9987c.0086 1.6473-1.3197 2.9897-2.967 2.9984a2.9808 2.9808 0 01-.3677-.0208c-1.528-.226-2.6477-1.5558-2.6105-3.1V3.1204c-.0369-1.5458 1.0856-2.8762 2.6157-3.1 1.6361-.1915 3.1178.9796 3.3093 2.6158.014.1201.0208.241.0202.3619zM4.1326 18.0548c-1.6417 0-2.9726 1.331-2.9726 2.9726C1.16 22.6691 2.4909 24 4.1326 24s2.9726-1.3309 2.9726-2.9726-1.331-2.9726-2.9726-2.9726zm7.8728-9.0098c-.0171 0-.0342 0-.0513.0003-1.6495.0904-2.9293 1.474-2.891 3.1256v7.9846c0 2.167.9535 3.4825 2.3505 3.763 1.6118.3266 3.1832-.7152 3.5098-2.327.04-.1974.06-.3983.0593-.5998v-8.9585c.003-1.6474-1.33-2.9852-2.9773-2.9882z"})})}export{i as BrandGoogleanalyticsIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createContext as r,useContext as n}from"react";var t=r(!1);function o(){return n(t)}var u=r(!1);function e(){return n(u)}var i=r(void 0);function a(){return n(i)}export{t as InSettingRowContext,u as SettingAutoContext,i as SettingRowNameContext,o as useInSettingRow,e as useSettingAuto,a as useSettingRowName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{SidebarLayout as e}from"./chunk-
|
|
1
|
+
import{SidebarLayout as e}from"./chunk-KKSW5IZ7.js";import{Avatar as t}from"./chunk-MMFJBWJC.js";import{Input_default as a}from"./chunk-GX2GSDJP.js";import{Button_default as i}from"./chunk-4IU5BSVE.js";import{useState as s}from"react";import{jsx as l,jsxs as n}from"react/jsx-runtime";var r=[{id:1,name:"Priya Patel",last:"Sounds good — shipping it now",time:"9:41",status:"online"},{id:2,name:"Design team",last:"Marco: updated the tokens",time:"9:12",status:"away"},{id:3,name:"Tom Becker",last:"Thanks!",time:"Yest",status:"offline"},{id:4,name:"Sara Lind",last:"See you Friday 🎉",time:"Yest",status:"busy"}],m=[{mine:!1,text:"Hey! Did the latest build go out?"},{mine:!0,text:"Just merged — deploying now."},{mine:!1,text:"Nice. Any breaking changes for the portal?"},{mine:!0,text:"Nope, fully additive. New components only."},{mine:!1,text:"Sounds good — shipping it now"}];function d(){const[d,o]=s(1),c=r.find(e=>e.id===d)??r[0];/* @__PURE__ */
|
|
2
2
|
return l("div",{className:"h-full",children:/* @__PURE__ */l(e,{side:"left",defaultWidth:260,sidebar:/* @__PURE__ */l("div",{className:"h-full overflow-auto",children:r.map(e=>/* @__PURE__ */n("button",{onClick:()=>o(e.id),className:"flex w-full items-center gap-3 border-b border-gray-100 px-3 py-3 text-left hover:bg-gray-50 "+(e.id===d?"bg-blue-50/50":""),children:[
|
|
3
3
|
/* @__PURE__ */l(t,{name:e.name,status:e.status}),
|
|
4
4
|
/* @__PURE__ */n("div",{className:"min-w-0 flex-1",children:[
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{useShellLanguage as e}from"./chunk-QQCHLRKG.js";import{RadioGroup as a}from"./chunk-TZSPJIP4.js";import{Select_default as n}from"./chunk-
|
|
1
|
+
import{useShellLanguage as e}from"./chunk-QQCHLRKG.js";import{RadioGroup as a}from"./chunk-TZSPJIP4.js";import{Select_default as n}from"./chunk-RERNKFEW.js";import{Icon as t}from"./chunk-KIBL6M3T.js";import{useShellStrings as l}from"./chunk-E6UCGCOC.js";import{jsxs as s,jsx as i}from"react/jsx-runtime";function r(e){const a=Math.max(0,...e.map(e=>[...e].reduce((e,a)=>e+((a.codePointAt(0)??0)>=11904?1:.62),0)));return Math.round(10*(a+3.5))/10}function m({size:a="sm",className:m=""}){const{language:o,languages:c,setLanguage:g}=e(),u=l().language;return c.length<2?null:/* @__PURE__ */s("span",{className:`inline-flex items-center gap-2 text-gray-500 ${m}`.trim(),children:[
|
|
2
2
|
/* @__PURE__ */i(t,{name:"globe","aria-hidden":!0,className:"h-4 w-4 shrink-0"}),
|
|
3
3
|
/* @__PURE__ */i("span",{className:"block",style:{width:`${r(c.map(e=>e.name))}em`},children:/* @__PURE__ */i(n,{size:a,touchSize:a,"aria-label":u.title,value:o,onChange:e=>{g(e)},options:c.map(({tag:e,name:a})=>({value:e,label:a,lang:e}))})})]})}function o({description:n,className:t=""}){const{language:r,languages:m,setLanguage:o}=e(),c=l().language;return m.length<2?null:/* @__PURE__ */s("div",{className:`space-y-4 ${t}`.trim(),children:[
|
|
4
4
|
/* @__PURE__ */s("div",{children:[
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";function a({size:a=18,...e}){/* @__PURE__ */
|
|
2
|
+
return r("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":"true",...e,children:/* @__PURE__ */r("path",{d:"M16 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-8a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-4 5a4 4 0 0 0 -3.995 3.8l-.005 .2a4 4 0 1 0 4 -4m4.5 -1.5a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1"})})}export{a as BrandInstagramSolidIcon};
|