@riverbankcms/sdk 0.164.0 → 0.166.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/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-rW0xgQCA.d.ts} +18 -256
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +107 -72
- package/dist/_dts/{client-CbeYTSry.d.ts → client-D4BXQEZc.d.ts} +5 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-MUzta0l9.d.ts} +3 -3
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index--qflsCiy.d.ts} +4 -3
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-BgJ2aU5c.d.ts} +2 -2
- package/dist/_dts/{index-BZE-1azr.d.ts → index-Bmboeb49.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-DdcwPqQN.d.ts} +4 -4
- package/dist/_dts/{index-DriYVLfT.d.ts → index-ahxQCUc7.d.ts} +2 -2
- package/dist/_dts/{index-DYQFmf--.d.ts → index-kQ5xkM6X.d.ts} +1 -1
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-mMMvLLAJ.d.ts} +2996 -3079
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-wbBZ0awa.d.ts} +49398 -48202
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +9 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
- package/dist/_dts/sdk/src/data/types.d.ts +54 -0
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +9 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +7 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-DiciZDrk.d.ts → types-BX3Y-EW3.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-DF54stxv.d.ts} +8 -7
- package/dist/_dts/{types-W40f2olO.d.ts → types-DuiHLiPo.d.ts} +2 -2
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-Bxi0f81D.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-BhADnDCg.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-CMKrtkT7.mjs} +33 -12
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-3BBRdNVa.mjs} +70 -15
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DNDZLRlB.mjs} +3388 -11530
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-uVqNowRX.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-DNMojb6A.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-C8kxI3Dm.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-DCxjE3Is.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-Ceeng8fB.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-B0EKbeVv.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
- package/dist/client/client.mjs +9465 -15
- package/dist/client/{context-BNAM7NsW.mjs → context-n6IZigd3.mjs} +8 -6
- package/dist/client/cta-CDeAwYoN.mjs +121 -0
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-BhygihpQ.mjs} +43 -17
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-2-xjn2nz.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-BeNQiZ2V.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BFdCKlp7.mjs} +7 -7
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-C7gLK3jh.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-CWfelfMt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-CalNAShx.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-Dq7GHGXU.mjs} +9 -9
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-D-RG9eR3.mjs} +399 -169
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-BmH40fNf.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-DjGrjOwD.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CKK_RXZo.mjs} +350 -424
- package/dist/client/rendering/client.mjs +29 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +70 -8
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DLufMauE.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-CBy9_alG.mjs} +13 -13
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BM0NRsFQ.mjs} +265 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-lS23OQE-.mjs} +2 -2
- package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-g7NPrsGp.mjs → client/site-styles-DELkUk9s.mjs} +25654 -17259
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-DzRWikCU.mjs} +157 -139
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-Ccr4TZlm.mjs} +12 -159
- package/dist/client/{view-BnaOmrap.mjs → view-8w4GA8rf.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DAVEoe8A.mjs} +310 -247
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DNpajrAH.mjs} +495 -173
- package/dist/preview-next/before-render.mjs +4 -141
- package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
- package/dist/preview-next/client/PreviewEditorUI-C7ZmYE33.mjs +1189 -0
- package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
- package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
- package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
- package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
- package/dist/preview-next/client/previewChromeSurface-D2cREDJ5.mjs +190 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
- package/dist/preview-next/client/useAutosaveStatus--Pw8vnef.mjs +138 -0
- package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
- package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
- package/dist/preview-next/keepAlive.mjs +27 -4
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-Bq7SUX3K.mjs} +143 -126
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
- package/dist/server/{src-cbbK3Bho.mjs → ThemeScopeCore-BI2mld9R.mjs} +1153 -2523
- package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-DjdUq9FR.mjs} +2 -3
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → client-07UeMDzA.mjs} +2492 -357
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +33 -2
- package/dist/server/data/dataLoaderContext.mjs +2 -0
- package/dist/server/data/resolveBlockData.mjs +2 -0
- package/dist/server/data/types.mjs +1 -0
- package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
- package/dist/server/identity-Bn9OQiT1.mjs +6 -0
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-ClpaSlBb.mjs} +6 -5
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-BwtVqpaA.mjs} +4 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/media-DnlczCMA.mjs +231 -0
- package/dist/server/mode-Cv_TG9gP.mjs +63 -0
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +13 -13
- package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
- package/dist/server/overrides-CD4d-1w7.mjs +177 -0
- package/dist/server/page-converter.mjs +243 -91
- package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
- package/dist/server/{overrides-DVemf-GV.mjs → pageShared-HdKFBpaX.mjs} +3594 -1726
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
- package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-TFPJdGQi.mjs} +20901 -792
- package/dist/server/rendering/components/pageShared.mjs +2 -0
- package/dist/server/rendering/helpers/loadPage.mjs +2 -0
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering/themeAdmission.mjs +2 -0
- package/dist/server/rendering.mjs +11 -10
- package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
- package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
- package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/schema-C2PqHrMo.mjs +2523 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1031 -1
- package/dist/server/theme.mjs +2 -1
- package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
- package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
- package/dist/server/validation-CDd6m8Ry.mjs +140 -0
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DIBFZeMB.mjs} +419 -3
- package/dist/server/{version-DoOG6F13.mjs → version-DZWZM1H6.mjs} +1 -1
- package/dist/styles/index.css +924 -10
- package/package.json +39 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/cta-ChiN1Vgg.mjs +0 -80
- package/dist/client/purchase-BMsWpx8y.mjs +0 -894
- package/dist/client/schema-DMUkBtIO.mjs +0 -15915
- package/dist/client/site-styles-BLHYJ8S7.mjs +0 -12339
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-C3AQVxQt.mjs +0 -5441
- package/dist/preview-next/client/PreviewEditorUI-C-1zDCR_.mjs +0 -756
- package/dist/preview-next/client/SdkPreviewModeRuntime-B47yHFL0.mjs +0 -9130
- package/dist/preview-next/client/SdkPreviewModeRuntime-C6Rhm2NQ.mjs +0 -3
- package/dist/preview-next/client/previewAuthStore-By_zfrS5.mjs +0 -212195
- package/dist/preview-next/client/previewChromeSurface-Cjwxv90x.mjs +0 -85
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-BG2HYvQj.mjs +0 -4
- package/dist/preview-next/client/siteStyleAccess-BiSyYyyr.mjs +0 -14178
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-CiKaE8ms.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-EDSdd_oK.mjs +0 -11574
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
- package/dist/server/prefetchBlockData-Bnbwoe5n.mjs +0 -4156
- package/dist/server/schema-BlTWmTSl.mjs +0 -16142
- package/dist/server/site-styles-yHytcXIB.mjs +0 -768
- package/dist/server/siteChromeOverlayClearance-D0uCNZ7E.mjs +0 -802
|
@@ -0,0 +1,2006 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
6
|
+
function r(e) {
|
|
7
|
+
var t, f, n = "";
|
|
8
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
9
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
10
|
+
var o = e.length;
|
|
11
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
12
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
13
|
+
return n;
|
|
14
|
+
}
|
|
15
|
+
function clsx() {
|
|
16
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
17
|
+
return n;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
21
|
+
function resolveColorStyle(color) {
|
|
22
|
+
switch (color) {
|
|
23
|
+
case void 0: return;
|
|
24
|
+
case "inherit": return { color: "inherit" };
|
|
25
|
+
case "foreground": return { color: "rgb(var(--tb-foreground))" };
|
|
26
|
+
case "text": return { color: "rgb(var(--tb-text))" };
|
|
27
|
+
default: return;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
|
|
31
|
+
const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
|
|
32
|
+
const accessibilityProps = srLabel ? {
|
|
33
|
+
role: "status",
|
|
34
|
+
"aria-live": "polite"
|
|
35
|
+
} : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
|
|
36
|
+
const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
|
|
37
|
+
const trackOpacity = color === "inherit" ? .25 : 1;
|
|
38
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
39
|
+
...accessibilityProps,
|
|
40
|
+
className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
|
|
41
|
+
style: {
|
|
42
|
+
...resolveColorStyle(color),
|
|
43
|
+
...style ?? {}
|
|
44
|
+
},
|
|
45
|
+
...rest,
|
|
46
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
47
|
+
viewBox: "0 0 24 24",
|
|
48
|
+
fill: "none",
|
|
49
|
+
"aria-hidden": "true",
|
|
50
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
51
|
+
cx: "12",
|
|
52
|
+
cy: "12",
|
|
53
|
+
r: "10",
|
|
54
|
+
stroke: trackStroke,
|
|
55
|
+
strokeWidth,
|
|
56
|
+
opacity: trackOpacity
|
|
57
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
58
|
+
d: "M12 2a10 10 0 0 1 10 10",
|
|
59
|
+
stroke: "currentColor",
|
|
60
|
+
strokeWidth,
|
|
61
|
+
strokeLinecap: "round"
|
|
62
|
+
})]
|
|
63
|
+
}), srLabel ? /* @__PURE__ */ jsx("span", {
|
|
64
|
+
className: "rb-sr-only",
|
|
65
|
+
children: srLabel
|
|
66
|
+
}) : null]
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region ../theme-core/src/buttons/typography.ts
|
|
71
|
+
const textTransformSchema = z.enum([
|
|
72
|
+
"none",
|
|
73
|
+
"uppercase",
|
|
74
|
+
"lowercase",
|
|
75
|
+
"capitalize"
|
|
76
|
+
]);
|
|
77
|
+
const fontWeightSchema = z.union([
|
|
78
|
+
z.literal(400),
|
|
79
|
+
z.literal(500),
|
|
80
|
+
z.literal(600),
|
|
81
|
+
z.literal(700),
|
|
82
|
+
z.literal(800)
|
|
83
|
+
]);
|
|
84
|
+
const buttonTypographySchema = z.enum(["body", "heading"]);
|
|
85
|
+
const letterSpacingSchema = z.enum([
|
|
86
|
+
"tight",
|
|
87
|
+
"normal",
|
|
88
|
+
"slight",
|
|
89
|
+
"loose",
|
|
90
|
+
"wide"
|
|
91
|
+
]);
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region ../theme-core/src/tokens/colorTokenParts.ts
|
|
94
|
+
function parseOpacityPercent(source) {
|
|
95
|
+
const trimmed = source.trim();
|
|
96
|
+
if (!trimmed) return null;
|
|
97
|
+
if (!/^\d{1,3}(?:\.\d+)?$/.test(trimmed)) return null;
|
|
98
|
+
const value = Number(trimmed);
|
|
99
|
+
if (!Number.isFinite(value)) return null;
|
|
100
|
+
if (value < 0 || value > 100) return null;
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
function parseColorTokenParts(source) {
|
|
104
|
+
const trimmed = source.trim();
|
|
105
|
+
if (trimmed.startsWith("raw:")) return {
|
|
106
|
+
kind: "raw",
|
|
107
|
+
value: trimmed.slice(4)
|
|
108
|
+
};
|
|
109
|
+
const [token, opacityRaw, extra] = trimmed.split("/");
|
|
110
|
+
if (!token || extra !== void 0) return {
|
|
111
|
+
kind: "invalid",
|
|
112
|
+
token: trimmed
|
|
113
|
+
};
|
|
114
|
+
if (opacityRaw === void 0) return {
|
|
115
|
+
kind: "token",
|
|
116
|
+
token,
|
|
117
|
+
opacityPercent: null
|
|
118
|
+
};
|
|
119
|
+
const opacityPercent = parseOpacityPercent(opacityRaw);
|
|
120
|
+
if (opacityPercent === null) return {
|
|
121
|
+
kind: "invalid",
|
|
122
|
+
token: trimmed
|
|
123
|
+
};
|
|
124
|
+
return {
|
|
125
|
+
kind: "token",
|
|
126
|
+
token,
|
|
127
|
+
opacityPercent
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region ../theme-core/src/tokens/blockColorTokens.ts
|
|
132
|
+
const blockColorTokenNames = [
|
|
133
|
+
"text",
|
|
134
|
+
"heading",
|
|
135
|
+
"mutedText",
|
|
136
|
+
"surface",
|
|
137
|
+
"background",
|
|
138
|
+
"foreground",
|
|
139
|
+
"border",
|
|
140
|
+
"primary",
|
|
141
|
+
"secondary",
|
|
142
|
+
"accent",
|
|
143
|
+
"success",
|
|
144
|
+
"warning",
|
|
145
|
+
"info",
|
|
146
|
+
"error",
|
|
147
|
+
"destructive",
|
|
148
|
+
"scrim",
|
|
149
|
+
"shadow",
|
|
150
|
+
"onPrimary",
|
|
151
|
+
"onSecondary",
|
|
152
|
+
"onAccent",
|
|
153
|
+
"onSuccess",
|
|
154
|
+
"onWarning",
|
|
155
|
+
"onInfo",
|
|
156
|
+
"onError",
|
|
157
|
+
"onDestructive",
|
|
158
|
+
"onSurface",
|
|
159
|
+
"onText"
|
|
160
|
+
];
|
|
161
|
+
const blockColorTokenNameSet = new Set(blockColorTokenNames);
|
|
162
|
+
function isBlockColorToken(value) {
|
|
163
|
+
if (typeof value !== "string") return false;
|
|
164
|
+
const parts = parseColorTokenParts(value);
|
|
165
|
+
return parts.kind === "token" && blockColorTokenNameSet.has(parts.token);
|
|
166
|
+
}
|
|
167
|
+
function parseBlockColorToken(value) {
|
|
168
|
+
if (!isBlockColorToken(value)) return null;
|
|
169
|
+
return value.trim();
|
|
170
|
+
}
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region ../theme-core/src/tokens/themeColorTokens.ts
|
|
173
|
+
/**
|
|
174
|
+
* Known palette role token names. This is the low-level source of truth for
|
|
175
|
+
* palette roles used by palette variants, Theme V2 schemas, and runtime color
|
|
176
|
+
* reference parsing.
|
|
177
|
+
*/
|
|
178
|
+
const PALETTE_TOKEN_NAMES = [
|
|
179
|
+
"primary",
|
|
180
|
+
"primaryForeground",
|
|
181
|
+
"secondary",
|
|
182
|
+
"accent",
|
|
183
|
+
"success",
|
|
184
|
+
"warning",
|
|
185
|
+
"destructive",
|
|
186
|
+
"background",
|
|
187
|
+
"surface",
|
|
188
|
+
"surfaceAlt",
|
|
189
|
+
"muted",
|
|
190
|
+
"text",
|
|
191
|
+
"border"
|
|
192
|
+
];
|
|
193
|
+
const paletteTokenNameSchema = z.enum(PALETTE_TOKEN_NAMES);
|
|
194
|
+
const themeColorBaseTokenNames = [
|
|
195
|
+
...PALETTE_TOKEN_NAMES,
|
|
196
|
+
...blockColorTokenNames,
|
|
197
|
+
"white",
|
|
198
|
+
"neutral",
|
|
199
|
+
"primaryText",
|
|
200
|
+
"secondaryForeground",
|
|
201
|
+
"accentForeground"
|
|
202
|
+
];
|
|
203
|
+
const themeColorBaseTokenSet = new Set(themeColorBaseTokenNames);
|
|
204
|
+
const themeColorShadeSteps = [
|
|
205
|
+
"50",
|
|
206
|
+
"100",
|
|
207
|
+
"200",
|
|
208
|
+
"300",
|
|
209
|
+
"400",
|
|
210
|
+
"500",
|
|
211
|
+
"600",
|
|
212
|
+
"700",
|
|
213
|
+
"800",
|
|
214
|
+
"900",
|
|
215
|
+
"950"
|
|
216
|
+
];
|
|
217
|
+
const shadeStepSet = new Set(themeColorShadeSteps);
|
|
218
|
+
function isKnownBaseToken(value) {
|
|
219
|
+
return themeColorBaseTokenSet.has(value);
|
|
220
|
+
}
|
|
221
|
+
function isKnownShadeToken(value) {
|
|
222
|
+
const match = value.match(/^([a-zA-Z][a-zA-Z0-9]*)(?:-([0-9]{2,3}))$/);
|
|
223
|
+
if (!match) return false;
|
|
224
|
+
const [, base, shade] = match;
|
|
225
|
+
return Boolean(base && shade && isKnownBaseToken(base) && shadeStepSet.has(shade));
|
|
226
|
+
}
|
|
227
|
+
function isThemeColorTokenBase(value) {
|
|
228
|
+
return isKnownBaseToken(value) || isKnownShadeToken(value);
|
|
229
|
+
}
|
|
230
|
+
function isThemeColorToken(value) {
|
|
231
|
+
if (typeof value !== "string") return false;
|
|
232
|
+
const parts = parseColorTokenParts(value);
|
|
233
|
+
return parts.kind === "token" && isThemeColorTokenBase(parts.token);
|
|
234
|
+
}
|
|
235
|
+
function parseThemeColorToken(value) {
|
|
236
|
+
if (!isThemeColorToken(value)) return null;
|
|
237
|
+
return value.trim();
|
|
238
|
+
}
|
|
239
|
+
const themeColorTokenSchema = z.string().min(1).refine((value) => Boolean(isThemeColorToken(value)), "Expected a known Theme V2 color token");
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region ../theme-core/src/buttons/types.ts
|
|
242
|
+
/**
|
|
243
|
+
* Standard semantic variant roles a theme exposes.
|
|
244
|
+
*
|
|
245
|
+
* Block content references variants by role; the active theme determines
|
|
246
|
+
* what each role looks like.
|
|
247
|
+
*/
|
|
248
|
+
const VARIANT_ROLES = [
|
|
249
|
+
"primary",
|
|
250
|
+
"secondary",
|
|
251
|
+
"outline",
|
|
252
|
+
"ghost",
|
|
253
|
+
"accent"
|
|
254
|
+
];
|
|
255
|
+
function isVariantRole(value) {
|
|
256
|
+
return VARIANT_ROLES.includes(value);
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Canonical persisted/CSS-safe button variant identifier.
|
|
260
|
+
*
|
|
261
|
+
* IDs become class selectors, so keep the contract deliberately narrower than
|
|
262
|
+
* an arbitrary string and shared with every authoring/runtime boundary.
|
|
263
|
+
*/
|
|
264
|
+
const buttonVariantIdSchema = z.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only").refine((value) => value !== "link" && value !== "tertiary", { message: "Retired button role IDs are not valid variant IDs" });
|
|
265
|
+
function asSpecialVariantId(value) {
|
|
266
|
+
const parsed = buttonVariantIdSchema.safeParse(value);
|
|
267
|
+
if (!parsed.success) throw new Error("SpecialVariantId must be a CSS-safe button variant ID");
|
|
268
|
+
return parsed.data;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Magic alias the CSS generator emits for the highest-priority variant.
|
|
272
|
+
*
|
|
273
|
+
* Shared between generator and renderer so neither side hard-codes the string.
|
|
274
|
+
*/
|
|
275
|
+
const DEFAULT_VARIANT_ALIAS_ID = "default";
|
|
276
|
+
function parseOpaqueButtonColourToken(value) {
|
|
277
|
+
const token = parseThemeColorToken(value);
|
|
278
|
+
if (token === null) return null;
|
|
279
|
+
const parts = parseColorTokenParts(token);
|
|
280
|
+
return parts.kind === "token" && parts.opacityPercent === null ? token : null;
|
|
281
|
+
}
|
|
282
|
+
function unsafeAsOpaqueButtonColourToken(value) {
|
|
283
|
+
return value;
|
|
284
|
+
}
|
|
285
|
+
const opaqueButtonColourTokenSchema = themeColorTokenSchema.refine((value) => parseOpaqueButtonColourToken(value) !== null, "Button colour tokens must be opaque").transform((value) => {
|
|
286
|
+
const token = parseOpaqueButtonColourToken(value);
|
|
287
|
+
if (token === null) throw new Error("Invariant: opaque button token passed its schema");
|
|
288
|
+
return token;
|
|
289
|
+
});
|
|
290
|
+
const contextualButtonHoverSchema = z.strictObject({
|
|
291
|
+
kind: z.literal("shade-shift"),
|
|
292
|
+
seedToken: opaqueButtonColourTokenSchema,
|
|
293
|
+
fallbackDirection: z.enum(["lighter", "darker"]),
|
|
294
|
+
preferredToken: opaqueButtonColourTokenSchema.optional()
|
|
295
|
+
});
|
|
296
|
+
const buttonShadeAmountSchema = z.number().finite().min(0).max(900).multipleOf(100);
|
|
297
|
+
const buttonShadowIntensitySchema = z.enum([
|
|
298
|
+
"subtle",
|
|
299
|
+
"medium",
|
|
300
|
+
"strong"
|
|
301
|
+
]);
|
|
302
|
+
/**
|
|
303
|
+
* The complete persisted button-effect contract.
|
|
304
|
+
*
|
|
305
|
+
* Navigation has its own generic interactive-effect model. Button variants use
|
|
306
|
+
* this closed union so unsupported effect IDs, unknown option keys, and unsafe
|
|
307
|
+
* CSS values cannot become representable after the schema boundary.
|
|
308
|
+
*/
|
|
309
|
+
const buttonPressOffsetSchema = z.strictObject({
|
|
310
|
+
x: z.number().int().min(0).max(12),
|
|
311
|
+
y: z.number().int().min(0).max(12)
|
|
312
|
+
});
|
|
313
|
+
const buttonEffectApplicationSchema = z.discriminatedUnion("effectId", [
|
|
314
|
+
z.strictObject({
|
|
315
|
+
effectId: z.literal("darken-background"),
|
|
316
|
+
options: z.strictObject({ amount: buttonShadeAmountSchema.optional() }).optional()
|
|
317
|
+
}),
|
|
318
|
+
z.strictObject({
|
|
319
|
+
effectId: z.literal("lighten-background"),
|
|
320
|
+
options: z.strictObject({ amount: buttonShadeAmountSchema.optional() }).optional()
|
|
321
|
+
}),
|
|
322
|
+
z.strictObject({
|
|
323
|
+
effectId: z.literal("background-on-hover"),
|
|
324
|
+
options: z.strictObject({ colorToken: opaqueButtonColourTokenSchema.optional() }).optional()
|
|
325
|
+
}),
|
|
326
|
+
z.strictObject({
|
|
327
|
+
effectId: z.literal("animated-gradient"),
|
|
328
|
+
options: z.strictObject({ direction: z.enum(["horizontal", "vertical"]).optional() }).optional()
|
|
329
|
+
}),
|
|
330
|
+
z.strictObject({
|
|
331
|
+
effectId: z.literal("drop-shadow"),
|
|
332
|
+
options: z.strictObject({ intensity: buttonShadowIntensitySchema.optional() }).optional()
|
|
333
|
+
}),
|
|
334
|
+
z.strictObject({
|
|
335
|
+
effectId: z.literal("inner-shadow"),
|
|
336
|
+
options: z.strictObject({}).optional()
|
|
337
|
+
}),
|
|
338
|
+
z.strictObject({
|
|
339
|
+
effectId: z.literal("neumorphic-shadow"),
|
|
340
|
+
options: z.strictObject({
|
|
341
|
+
mode: z.enum(["raised", "pressed"]).optional(),
|
|
342
|
+
intensity: buttonShadowIntensitySchema.optional()
|
|
343
|
+
}).optional()
|
|
344
|
+
}),
|
|
345
|
+
z.strictObject({
|
|
346
|
+
effectId: z.literal("retro-3d-shadow"),
|
|
347
|
+
options: z.strictObject({}).optional()
|
|
348
|
+
}),
|
|
349
|
+
z.strictObject({
|
|
350
|
+
effectId: z.literal("scale-up"),
|
|
351
|
+
options: z.strictObject({ scale: z.enum([
|
|
352
|
+
"1.02",
|
|
353
|
+
"1.03",
|
|
354
|
+
"1.05",
|
|
355
|
+
"1.10"
|
|
356
|
+
]).optional() }).optional()
|
|
357
|
+
}),
|
|
358
|
+
z.strictObject({
|
|
359
|
+
effectId: z.literal("scale-down"),
|
|
360
|
+
options: z.strictObject({ scale: z.enum([
|
|
361
|
+
"0.90",
|
|
362
|
+
"0.95",
|
|
363
|
+
"0.97",
|
|
364
|
+
"0.98"
|
|
365
|
+
]).optional() }).optional()
|
|
366
|
+
}),
|
|
367
|
+
z.strictObject({
|
|
368
|
+
effectId: z.literal("lift"),
|
|
369
|
+
options: z.strictObject({ amount: z.enum([
|
|
370
|
+
"0.125",
|
|
371
|
+
"0.25",
|
|
372
|
+
"0.5",
|
|
373
|
+
"1"
|
|
374
|
+
]).optional() }).optional()
|
|
375
|
+
}),
|
|
376
|
+
z.strictObject({
|
|
377
|
+
effectId: z.literal("press-down"),
|
|
378
|
+
options: z.strictObject({ offset: buttonPressOffsetSchema.optional() }).optional()
|
|
379
|
+
}),
|
|
380
|
+
z.strictObject({
|
|
381
|
+
effectId: z.literal("pop"),
|
|
382
|
+
options: z.strictObject({ intensity: z.enum([
|
|
383
|
+
"subtle",
|
|
384
|
+
"medium",
|
|
385
|
+
"dramatic"
|
|
386
|
+
]).optional() }).optional()
|
|
387
|
+
}),
|
|
388
|
+
z.strictObject({
|
|
389
|
+
effectId: z.literal("border-bottom-grow"),
|
|
390
|
+
options: z.strictObject({
|
|
391
|
+
height: z.union([z.literal(1), z.literal(2)]).optional(),
|
|
392
|
+
origin: z.enum([
|
|
393
|
+
"left",
|
|
394
|
+
"center",
|
|
395
|
+
"right"
|
|
396
|
+
]).optional(),
|
|
397
|
+
persistent: z.boolean().optional(),
|
|
398
|
+
colourRole: z.literal("mark").optional()
|
|
399
|
+
}).optional()
|
|
400
|
+
}),
|
|
401
|
+
z.strictObject({
|
|
402
|
+
effectId: z.literal("inner-dashed-outline"),
|
|
403
|
+
options: z.strictObject({
|
|
404
|
+
colourRole: z.enum(["ink", "mark"]),
|
|
405
|
+
width: z.number().finite().min(.5).max(4),
|
|
406
|
+
inset: z.number().finite().min(0).max(16)
|
|
407
|
+
})
|
|
408
|
+
}),
|
|
409
|
+
z.strictObject({
|
|
410
|
+
effectId: z.literal("sketchy-border"),
|
|
411
|
+
options: z.strictObject({ intensity: buttonShadowIntensitySchema.optional() }).optional()
|
|
412
|
+
})
|
|
413
|
+
]);
|
|
414
|
+
const cornerStyleSchema = z.enum([
|
|
415
|
+
"square",
|
|
416
|
+
"rounded",
|
|
417
|
+
"pill"
|
|
418
|
+
]);
|
|
419
|
+
const shadowSizeSchema = z.enum([
|
|
420
|
+
"none",
|
|
421
|
+
"low",
|
|
422
|
+
"medium",
|
|
423
|
+
"high"
|
|
424
|
+
]);
|
|
425
|
+
const hoverTransformSchema = z.enum([
|
|
426
|
+
"none",
|
|
427
|
+
"lift",
|
|
428
|
+
"scale",
|
|
429
|
+
"press"
|
|
430
|
+
]);
|
|
431
|
+
z.enum(["none", "token"]);
|
|
432
|
+
const buttonPaddingPresetSchema = z.enum([
|
|
433
|
+
"compact",
|
|
434
|
+
"default",
|
|
435
|
+
"spacious"
|
|
436
|
+
]);
|
|
437
|
+
const gradientStyleSchema = z.enum([
|
|
438
|
+
"linear",
|
|
439
|
+
"radial",
|
|
440
|
+
"conic"
|
|
441
|
+
]);
|
|
442
|
+
const gradientSharpnessSchema = z.enum([
|
|
443
|
+
"smooth",
|
|
444
|
+
"medium",
|
|
445
|
+
"hard"
|
|
446
|
+
]);
|
|
447
|
+
const prioritySchema = z.union([
|
|
448
|
+
z.literal(1),
|
|
449
|
+
z.literal(2),
|
|
450
|
+
z.literal(3)
|
|
451
|
+
]);
|
|
452
|
+
const variantRoleSchema = z.enum(VARIANT_ROLES);
|
|
453
|
+
const buttonSurfaceFallbackSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("surface-outline") }), z.strictObject({
|
|
454
|
+
kind: z.literal("variant"),
|
|
455
|
+
role: variantRoleSchema
|
|
456
|
+
})]);
|
|
457
|
+
const standardButtonSurfacePolicy = {
|
|
458
|
+
primary: [{ kind: "surface-outline" }],
|
|
459
|
+
secondary: [{ kind: "surface-outline" }, {
|
|
460
|
+
kind: "variant",
|
|
461
|
+
role: "primary"
|
|
462
|
+
}],
|
|
463
|
+
outline: [{ kind: "surface-outline" }],
|
|
464
|
+
ghost: [{ kind: "surface-outline" }],
|
|
465
|
+
accent: [{ kind: "surface-outline" }, {
|
|
466
|
+
kind: "variant",
|
|
467
|
+
role: "primary"
|
|
468
|
+
}]
|
|
469
|
+
};
|
|
470
|
+
const STANDARD_BUTTON_SURFACE_POLICY = Object.freeze(Object.fromEntries(VARIANT_ROLES.map((role) => [role, Object.freeze([...standardButtonSurfacePolicy[role]])])));
|
|
471
|
+
function createStandardButtonSurfacePolicy() {
|
|
472
|
+
return Object.fromEntries(VARIANT_ROLES.map((role) => [role, [...STANDARD_BUTTON_SURFACE_POLICY[role]]]));
|
|
473
|
+
}
|
|
474
|
+
const buttonSurfacePolicyShape = Object.fromEntries(VARIANT_ROLES.map((role) => [role, z.array(buttonSurfaceFallbackSchema).max(VARIANT_ROLES.length)]));
|
|
475
|
+
const buttonSurfacePolicySchema = z.strictObject(buttonSurfacePolicyShape);
|
|
476
|
+
const buttonSizeNameSchema = z.enum([
|
|
477
|
+
"sm",
|
|
478
|
+
"md",
|
|
479
|
+
"lg",
|
|
480
|
+
"xl"
|
|
481
|
+
]);
|
|
482
|
+
/**
|
|
483
|
+
* CSS padding string in `"<vertical> <horizontal>"` shorthand form.
|
|
484
|
+
*
|
|
485
|
+
* Exactly two space-separated CSS length tokens. Each token is either the
|
|
486
|
+
* literal `0` or a number followed by `rem`/`em`/`px`/`%`. This lets the
|
|
487
|
+
* generator trust the shape rather than defensively defaulting downstream.
|
|
488
|
+
*/
|
|
489
|
+
const PADDING_TOKEN_PATTERN = /^(?:0|\d+(?:\.\d+)?(?:rem|em|px|%))$/;
|
|
490
|
+
const paddingShorthandSchema = z.string().refine((value) => {
|
|
491
|
+
const parts = value.split(/\s+/).filter(Boolean);
|
|
492
|
+
return parts.length === 2 && parts.every((token) => PADDING_TOKEN_PATTERN.test(token));
|
|
493
|
+
}, { message: "Padding must be two space-separated CSS length tokens (e.g. \"0.5rem 1rem\"). Use `0` for zero." });
|
|
494
|
+
const buttonSizeConfigSchema = z.object({
|
|
495
|
+
padding: paddingShorthandSchema,
|
|
496
|
+
fontSize: z.string().optional(),
|
|
497
|
+
borderRadius: z.string().optional()
|
|
498
|
+
});
|
|
499
|
+
/**
|
|
500
|
+
* `xl` is optional on the wire so themes persisted before the `xl` size was
|
|
501
|
+
* added (e.g. SWTS) continue to parse. When `xl` is missing the schema
|
|
502
|
+
* backfills it from `lg`, keeping `ButtonSizes` a complete `sm/md/lg/xl` map
|
|
503
|
+
* downstream — generators never need to deal with an undefined `xl`.
|
|
504
|
+
*/
|
|
505
|
+
const buttonSizesSchema = z.object({
|
|
506
|
+
sm: buttonSizeConfigSchema,
|
|
507
|
+
md: buttonSizeConfigSchema,
|
|
508
|
+
lg: buttonSizeConfigSchema,
|
|
509
|
+
xl: buttonSizeConfigSchema.optional()
|
|
510
|
+
}).transform(({ sm, md, lg, xl }) => ({
|
|
511
|
+
sm,
|
|
512
|
+
md,
|
|
513
|
+
lg,
|
|
514
|
+
xl: xl ?? lg
|
|
515
|
+
}));
|
|
516
|
+
const buttonGlobalSettingsBaseSchema = z.strictObject({
|
|
517
|
+
cornerStyle: cornerStyleSchema,
|
|
518
|
+
cornerRadius: z.number().min(0).max(24).optional(),
|
|
519
|
+
/**
|
|
520
|
+
* Family-level shadow inherited by variants that don't set their own.
|
|
521
|
+
* Optional and flat-by-default: when omitted, buttons carry no drop shadow
|
|
522
|
+
* (`elevation: 'none'`). A personality opts the whole family into a shadow by
|
|
523
|
+
* setting this; individual variants still override. There is no system-level
|
|
524
|
+
* shadow-by-default — shadows only appear when explicitly declared.
|
|
525
|
+
*/
|
|
526
|
+
shadow: shadowSizeSchema.optional(),
|
|
527
|
+
textTransform: textTransformSchema,
|
|
528
|
+
fontWeight: fontWeightSchema,
|
|
529
|
+
typography: buttonTypographySchema.optional(),
|
|
530
|
+
fontSize: z.string().optional(),
|
|
531
|
+
letterSpacing: letterSpacingSchema.optional(),
|
|
532
|
+
italic: z.boolean().optional(),
|
|
533
|
+
paddingPreset: buttonPaddingPresetSchema.optional(),
|
|
534
|
+
hoverTransform: hoverTransformSchema,
|
|
535
|
+
gradientStyle: gradientStyleSchema.optional(),
|
|
536
|
+
gradientAngle: z.number().min(0).max(360).optional(),
|
|
537
|
+
gradientSharpness: gradientSharpnessSchema.optional()
|
|
538
|
+
});
|
|
539
|
+
const buttonGlobalSettingsSchema = z.discriminatedUnion("hoverColor", [buttonGlobalSettingsBaseSchema.extend({
|
|
540
|
+
hoverColor: z.literal("none"),
|
|
541
|
+
hoverColorToken: z.never().optional()
|
|
542
|
+
}), buttonGlobalSettingsBaseSchema.extend({
|
|
543
|
+
hoverColor: z.literal("token"),
|
|
544
|
+
hoverColorToken: opaqueButtonColourTokenSchema
|
|
545
|
+
})]);
|
|
546
|
+
const gradientDirectionSchema = z.enum([
|
|
547
|
+
"to-r",
|
|
548
|
+
"to-l",
|
|
549
|
+
"to-t",
|
|
550
|
+
"to-b",
|
|
551
|
+
"to-tr",
|
|
552
|
+
"to-tl",
|
|
553
|
+
"to-br",
|
|
554
|
+
"to-bl"
|
|
555
|
+
]);
|
|
556
|
+
const buttonColourTreatmentSchema = z.discriminatedUnion("type", [
|
|
557
|
+
z.strictObject({
|
|
558
|
+
type: z.literal("solid"),
|
|
559
|
+
colorToken: opaqueButtonColourTokenSchema
|
|
560
|
+
}),
|
|
561
|
+
z.strictObject({
|
|
562
|
+
type: z.literal("gradient"),
|
|
563
|
+
stops: z.array(opaqueButtonColourTokenSchema).min(2).transform((stops) => {
|
|
564
|
+
const [first, second, ...rest] = stops;
|
|
565
|
+
if (first === void 0 || second === void 0) throw new Error("Invariant: gradient stops passed the minimum length schema");
|
|
566
|
+
return [
|
|
567
|
+
first,
|
|
568
|
+
second,
|
|
569
|
+
...rest
|
|
570
|
+
];
|
|
571
|
+
}),
|
|
572
|
+
direction: gradientDirectionSchema,
|
|
573
|
+
foregroundToken: opaqueButtonColourTokenSchema
|
|
574
|
+
}),
|
|
575
|
+
z.strictObject({
|
|
576
|
+
type: z.literal("surface"),
|
|
577
|
+
role: z.literal("link")
|
|
578
|
+
})
|
|
579
|
+
]);
|
|
580
|
+
const buttonBackgroundSchema = buttonColourTreatmentSchema;
|
|
581
|
+
const buttonBorderSchema = z.strictObject({
|
|
582
|
+
widthClass: z.string(),
|
|
583
|
+
marksBoundary: z.literal(true).optional(),
|
|
584
|
+
ring: z.literal(true).optional(),
|
|
585
|
+
boundaryInk: opaqueButtonColourTokenSchema.optional()
|
|
586
|
+
});
|
|
587
|
+
const buttonVariantAffordanceSchema = z.strictObject({ iconId: z.string().min(1) });
|
|
588
|
+
const variantShadowSchema = z.strictObject({
|
|
589
|
+
elevation: z.enum([
|
|
590
|
+
"none",
|
|
591
|
+
"low",
|
|
592
|
+
"medium",
|
|
593
|
+
"high"
|
|
594
|
+
]),
|
|
595
|
+
softness: z.enum([
|
|
596
|
+
"crisp",
|
|
597
|
+
"soft",
|
|
598
|
+
"hard"
|
|
599
|
+
]).nullable(),
|
|
600
|
+
position: z.enum(["bottom", "bottom-right"]).default("bottom"),
|
|
601
|
+
colorToken: opaqueButtonColourTokenSchema.optional()
|
|
602
|
+
});
|
|
603
|
+
/** Recipe states own every visual property; treatment owns its readable label. */
|
|
604
|
+
const buttonVisualAppearanceSchema = z.strictObject({
|
|
605
|
+
background: buttonColourTreatmentSchema,
|
|
606
|
+
text: z.literal("treatment"),
|
|
607
|
+
border: z.union([z.literal("none"), buttonBorderSchema]),
|
|
608
|
+
borderRadius: z.string(),
|
|
609
|
+
shadow: z.union([z.literal("focus-indicator"), variantShadowSchema]),
|
|
610
|
+
sizes: buttonSizesSchema,
|
|
611
|
+
typography: z.strictObject({
|
|
612
|
+
fontWeight: fontWeightSchema,
|
|
613
|
+
typography: buttonTypographySchema,
|
|
614
|
+
fontSize: z.string().nullable(),
|
|
615
|
+
letterSpacing: z.union([letterSpacingSchema, z.literal("heading")]).nullable(),
|
|
616
|
+
italic: z.boolean(),
|
|
617
|
+
textTransform: textTransformSchema
|
|
618
|
+
}),
|
|
619
|
+
effects: z.array(buttonEffectApplicationSchema),
|
|
620
|
+
transform: z.literal("none").optional(),
|
|
621
|
+
contextualHover: contextualButtonHoverSchema.optional()
|
|
622
|
+
});
|
|
623
|
+
const buttonVisualStatesSchema = z.strictObject({
|
|
624
|
+
base: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
625
|
+
hover: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
626
|
+
focus: buttonVisualAppearanceSchema.extend({
|
|
627
|
+
shadow: z.literal("focus-indicator"),
|
|
628
|
+
indicator: z.strictObject({
|
|
629
|
+
kind: z.literal("surface-ink"),
|
|
630
|
+
width: z.union([z.literal(2), z.literal(3)]),
|
|
631
|
+
offset: z.union([z.literal(3), z.literal(4)])
|
|
632
|
+
}).optional()
|
|
633
|
+
}),
|
|
634
|
+
active: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
635
|
+
disabled: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema })
|
|
636
|
+
});
|
|
637
|
+
const variantEffectsSchema = z.strictObject({
|
|
638
|
+
base: z.array(buttonEffectApplicationSchema).optional(),
|
|
639
|
+
hover: z.array(buttonEffectApplicationSchema).optional(),
|
|
640
|
+
active: z.array(buttonEffectApplicationSchema).optional(),
|
|
641
|
+
focus: z.array(buttonEffectApplicationSchema).optional()
|
|
642
|
+
});
|
|
643
|
+
/**
|
|
644
|
+
* Per-variant size overrides schema — every entry is optional.
|
|
645
|
+
*
|
|
646
|
+
* For each size key present, the values override the theme's `sizes` config
|
|
647
|
+
* for that size on this variant. Missing sizes fall through to theme.sizes,
|
|
648
|
+
* then system defaults.
|
|
649
|
+
*/
|
|
650
|
+
const variantSizeOverridesSchema = z.object({
|
|
651
|
+
sm: buttonSizeConfigSchema.optional(),
|
|
652
|
+
md: buttonSizeConfigSchema.optional(),
|
|
653
|
+
lg: buttonSizeConfigSchema.optional(),
|
|
654
|
+
xl: buttonSizeConfigSchema.optional()
|
|
655
|
+
});
|
|
656
|
+
/**
|
|
657
|
+
* Unified variant schema. Every variant participates in the size system; the
|
|
658
|
+
* optional `sizes` field lets a variant scale differently than the theme
|
|
659
|
+
* default (e.g. link-style variants declaring zero horizontal padding at
|
|
660
|
+
* every size).
|
|
661
|
+
*/
|
|
662
|
+
const buttonVariantSchema = z.strictObject({
|
|
663
|
+
id: buttonVariantIdSchema,
|
|
664
|
+
name: z.string().min(1).max(20),
|
|
665
|
+
enabled: z.boolean(),
|
|
666
|
+
priority: prioritySchema,
|
|
667
|
+
visualStates: buttonVisualStatesSchema.optional(),
|
|
668
|
+
background: buttonBackgroundSchema,
|
|
669
|
+
/** Tailwind radius token (e.g. `'rounded-md'`). Omit to inherit from `global.cornerStyle`. */
|
|
670
|
+
borderRadius: z.string().optional(),
|
|
671
|
+
shadow: variantShadowSchema.optional(),
|
|
672
|
+
border: buttonBorderSchema.optional(),
|
|
673
|
+
hoverBackgroundToken: opaqueButtonColourTokenSchema.optional(),
|
|
674
|
+
contextualHover: contextualButtonHoverSchema.optional(),
|
|
675
|
+
effects: variantEffectsSchema.optional(),
|
|
676
|
+
sizes: variantSizeOverridesSchema.optional(),
|
|
677
|
+
affordance: buttonVariantAffordanceSchema.optional()
|
|
678
|
+
});
|
|
679
|
+
const buttonSystemSchema = z.strictObject({
|
|
680
|
+
global: buttonGlobalSettingsSchema,
|
|
681
|
+
variants: z.array(buttonVariantSchema).min(1).max(6),
|
|
682
|
+
sizes: buttonSizesSchema.optional(),
|
|
683
|
+
surfacePolicy: buttonSurfacePolicySchema.optional(),
|
|
684
|
+
surfaceContexts: z.record(z.string(), z.strictObject({ primary: opaqueButtonColourTokenSchema })).optional()
|
|
685
|
+
}).superRefine((system, ctx) => {
|
|
686
|
+
const seen = /* @__PURE__ */ new Set();
|
|
687
|
+
system.variants.forEach((variant, index) => {
|
|
688
|
+
if (seen.has(variant.id)) ctx.addIssue({
|
|
689
|
+
code: "custom",
|
|
690
|
+
path: [
|
|
691
|
+
"variants",
|
|
692
|
+
index,
|
|
693
|
+
"id"
|
|
694
|
+
],
|
|
695
|
+
message: `Duplicate button variant ID: ${variant.id}`
|
|
696
|
+
});
|
|
697
|
+
seen.add(variant.id);
|
|
698
|
+
});
|
|
699
|
+
});
|
|
700
|
+
//#endregion
|
|
701
|
+
//#region ../theme-core/src/buttons/affordanceSuppression.ts
|
|
702
|
+
/**
|
|
703
|
+
* Internal: the opt-out the generated affordance rule is written against.
|
|
704
|
+
*
|
|
705
|
+
* A button style may declare a trailing `affordance`, which the theme renders as
|
|
706
|
+
* a CSS `::after` on every button of that variant. An authored button that
|
|
707
|
+
* renders its own trailing icon must not also receive the theme's, or it shows
|
|
708
|
+
* two.
|
|
709
|
+
*
|
|
710
|
+
* Deliberately not exported from `./index`. This used to be public, and two
|
|
711
|
+
* block components reached past the theme to draw arrows of their own — one of
|
|
712
|
+
* them doubling up on the styles that declare an affordance, both of them
|
|
713
|
+
* overriding the twelve styles that deliberately declare none. Whether a button
|
|
714
|
+
* carries a trailing affordance is the style's decision; the only caller that
|
|
715
|
+
* legitimately opts out is the authored-button renderer, which reaches it
|
|
716
|
+
* through `themeButtonExtraClassesWithTrailingIcon`.
|
|
717
|
+
*/
|
|
718
|
+
const AFFORDANCE_SUPPRESS_CLASS = "rb-affordance-off";
|
|
719
|
+
//#endregion
|
|
720
|
+
//#region ../theme-core/src/buttons/classNames.ts
|
|
721
|
+
/**
|
|
722
|
+
* Parse content/runtime variant identifiers into the closed theme-button class
|
|
723
|
+
* contract. Empty input is the intentional local/unstyled escape hatch used by
|
|
724
|
+
* a few block renderers; non-empty, non-semantic ids become branded special ids.
|
|
725
|
+
*/
|
|
726
|
+
function parseThemeButtonVariantId(value) {
|
|
727
|
+
const normalized = value?.trim() ?? "";
|
|
728
|
+
if (normalized.length === 0) return null;
|
|
729
|
+
if (!buttonVariantIdSchema.safeParse(normalized).success) return null;
|
|
730
|
+
if (normalized === "default") return DEFAULT_VARIANT_ALIAS_ID;
|
|
731
|
+
return isVariantRole(normalized) ? normalized : asSpecialVariantId(normalized);
|
|
732
|
+
}
|
|
733
|
+
function themeButtonVariantClassNames(variant) {
|
|
734
|
+
if (variant === "default") return [variant];
|
|
735
|
+
return [variant, `button-${variant}`];
|
|
736
|
+
}
|
|
737
|
+
function themeButtonSizeClassName(size) {
|
|
738
|
+
return `btn-${size}`;
|
|
739
|
+
}
|
|
740
|
+
function themeButtonSelector(variant, size) {
|
|
741
|
+
const baseSelector = `.${variant}`;
|
|
742
|
+
if (!size) return baseSelector;
|
|
743
|
+
return `${baseSelector}.${themeButtonSizeClassName(size)}`;
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
* Extra classes for an authored button that renders its own trailing icon.
|
|
747
|
+
*
|
|
748
|
+
* This intent-named function has exactly one caller. The name
|
|
749
|
+
* states what the caller knows to be true of its own markup — that it renders a
|
|
750
|
+
* trailing icon — rather than what the theme does about it. The consequence is
|
|
751
|
+
* the theme's to decide and to change; a caller naming the consequence would be
|
|
752
|
+
* asserting a policy it does not own, and would quietly become a lie the moment
|
|
753
|
+
* that policy moved.
|
|
754
|
+
*
|
|
755
|
+
* Do not reach for this to remove an arrow you simply do not want. A trailing
|
|
756
|
+
* affordance is declared by the button style, and a block overriding that is the
|
|
757
|
+
* defect this replaced.
|
|
758
|
+
*/
|
|
759
|
+
function themeButtonExtraClassesWithTrailingIcon() {
|
|
760
|
+
return AFFORDANCE_SUPPRESS_CLASS;
|
|
761
|
+
}
|
|
762
|
+
//#endregion
|
|
763
|
+
//#region ../blocks/src/system/runtime/nodes/buttonAffordance.ts
|
|
764
|
+
function normalize(value) {
|
|
765
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
766
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Resolve the node-authored trailing affordance, or `null` when no icon exists.
|
|
770
|
+
*/
|
|
771
|
+
function resolveButtonAffordance(input) {
|
|
772
|
+
const nodeIcon = normalize(input.trailingIcon);
|
|
773
|
+
if (nodeIcon) return { iconId: nodeIcon };
|
|
774
|
+
return null;
|
|
775
|
+
}
|
|
776
|
+
//#endregion
|
|
777
|
+
//#region ../blocks/src/system/icons/svg.tsx
|
|
778
|
+
function createIcon(displayName, children) {
|
|
779
|
+
const Icon = ({ size = "1em", strokeWidth = 2, title, className, focusable = false, role, ...props }) => /* @__PURE__ */ jsxs("svg", {
|
|
780
|
+
"aria-hidden": title ? void 0 : true,
|
|
781
|
+
className,
|
|
782
|
+
"data-rb-icon": displayName.replace(/Icon$/, ""),
|
|
783
|
+
fill: "none",
|
|
784
|
+
focusable,
|
|
785
|
+
height: size,
|
|
786
|
+
role: title ? role ?? "img" : role,
|
|
787
|
+
stroke: "currentColor",
|
|
788
|
+
strokeLinecap: "round",
|
|
789
|
+
strokeLinejoin: "round",
|
|
790
|
+
strokeWidth,
|
|
791
|
+
viewBox: "0 0 24 24",
|
|
792
|
+
width: size,
|
|
793
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
794
|
+
...props,
|
|
795
|
+
children: [title ? /* @__PURE__ */ jsx("title", { children: title }) : null, children]
|
|
796
|
+
});
|
|
797
|
+
Icon.displayName = displayName;
|
|
798
|
+
return Icon;
|
|
799
|
+
}
|
|
800
|
+
const ArrowDownIcon = createIcon("ArrowDownIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "m6 13 6 6 6-6" })] }));
|
|
801
|
+
const ArrowLeftIcon = createIcon("ArrowLeftIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M19 12H5" }), /* @__PURE__ */ jsx("path", { d: "m11 6-6 6 6 6" })] }));
|
|
802
|
+
const ArrowRightIcon = createIcon("ArrowRightIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M5 12h14" }), /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })] }));
|
|
803
|
+
const AwardIcon = createIcon("AwardIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("circle", {
|
|
804
|
+
cx: "12",
|
|
805
|
+
cy: "8",
|
|
806
|
+
r: "4"
|
|
807
|
+
}), /* @__PURE__ */ jsx("path", { d: "m8.5 12.5-1.5 7 5-3 5 3-1.5-7" })] }));
|
|
808
|
+
const BadgeCheckIcon = createIcon("BadgeCheckIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "m8 3 4-1 4 1 3 3 1 4-1 4-3 3-4 1-4-1-3-3-1-4 1-4Z" }), /* @__PURE__ */ jsx("path", { d: "m8.5 11.5 2.5 2.5 4.5-5" })] }));
|
|
809
|
+
const BookOpenIcon = createIcon("BookOpenIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
810
|
+
/* @__PURE__ */ jsx("path", { d: "M4 5.5A3 3 0 0 1 7 4h13v15H7a3 3 0 0 0-3 1.5Z" }),
|
|
811
|
+
/* @__PURE__ */ jsx("path", { d: "M4 5.5V20" }),
|
|
812
|
+
/* @__PURE__ */ jsx("path", { d: "M12 4v15" })
|
|
813
|
+
] }));
|
|
814
|
+
const BrainIcon = createIcon("BrainIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
815
|
+
/* @__PURE__ */ jsx("path", { d: "M9 4a4 4 0 0 0-4 4 4 4 0 0 0 0 8 4 4 0 0 0 4 4" }),
|
|
816
|
+
/* @__PURE__ */ jsx("path", { d: "M15 4a4 4 0 0 1 4 4 4 4 0 0 1 0 8 4 4 0 0 1-4 4" }),
|
|
817
|
+
/* @__PURE__ */ jsx("path", { d: "M9 4v16" }),
|
|
818
|
+
/* @__PURE__ */ jsx("path", { d: "M15 4v16" }),
|
|
819
|
+
/* @__PURE__ */ jsx("path", { d: "M9 8h6" }),
|
|
820
|
+
/* @__PURE__ */ jsx("path", { d: "M9 14h6" })
|
|
821
|
+
] }));
|
|
822
|
+
const BriefcaseBusinessIcon = createIcon("BriefcaseBusinessIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
823
|
+
/* @__PURE__ */ jsx("path", { d: "M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2" }),
|
|
824
|
+
/* @__PURE__ */ jsx("rect", {
|
|
825
|
+
x: "3",
|
|
826
|
+
y: "7",
|
|
827
|
+
width: "18",
|
|
828
|
+
height: "13",
|
|
829
|
+
rx: "2"
|
|
830
|
+
}),
|
|
831
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
|
|
832
|
+
/* @__PURE__ */ jsx("path", { d: "M9 12v2" }),
|
|
833
|
+
/* @__PURE__ */ jsx("path", { d: "M15 12v2" })
|
|
834
|
+
] }));
|
|
835
|
+
const CalendarIcon = createIcon("CalendarIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
836
|
+
/* @__PURE__ */ jsx("path", { d: "M8 3v4" }),
|
|
837
|
+
/* @__PURE__ */ jsx("path", { d: "M16 3v4" }),
|
|
838
|
+
/* @__PURE__ */ jsx("rect", {
|
|
839
|
+
x: "4",
|
|
840
|
+
y: "5",
|
|
841
|
+
width: "16",
|
|
842
|
+
height: "16",
|
|
843
|
+
rx: "2"
|
|
844
|
+
}),
|
|
845
|
+
/* @__PURE__ */ jsx("path", { d: "M4 10h16" })
|
|
846
|
+
] }));
|
|
847
|
+
const CalendarDaysIcon = CalendarIcon;
|
|
848
|
+
const CheckIcon = createIcon("CheckIcon", /* @__PURE__ */ jsx("path", { d: "m5 12 4 4L19 6" }));
|
|
849
|
+
const ChevronDownIcon = createIcon("ChevronDownIcon", /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }));
|
|
850
|
+
const ChevronLeftIcon = createIcon("ChevronLeftIcon", /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }));
|
|
851
|
+
const ChevronRightIcon = createIcon("ChevronRightIcon", /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }));
|
|
852
|
+
const ChevronUpIcon = createIcon("ChevronUpIcon", /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" }));
|
|
853
|
+
const CircleMinusIcon = createIcon("CircleMinusIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("circle", {
|
|
854
|
+
cx: "12",
|
|
855
|
+
cy: "12",
|
|
856
|
+
r: "9"
|
|
857
|
+
}), /* @__PURE__ */ jsx("path", { d: "M8 12h8" })] }));
|
|
858
|
+
const CirclePlusIcon = createIcon("CirclePlusIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
859
|
+
/* @__PURE__ */ jsx("circle", {
|
|
860
|
+
cx: "12",
|
|
861
|
+
cy: "12",
|
|
862
|
+
r: "9"
|
|
863
|
+
}),
|
|
864
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
|
|
865
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8v8" })
|
|
866
|
+
] }));
|
|
867
|
+
const ClockIcon = createIcon("ClockIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("circle", {
|
|
868
|
+
cx: "12",
|
|
869
|
+
cy: "12",
|
|
870
|
+
r: "9"
|
|
871
|
+
}), /* @__PURE__ */ jsx("path", { d: "M12 7v5l3 2" })] }));
|
|
872
|
+
const CompassIcon = createIcon("CompassIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("circle", {
|
|
873
|
+
cx: "12",
|
|
874
|
+
cy: "12",
|
|
875
|
+
r: "9"
|
|
876
|
+
}), /* @__PURE__ */ jsx("path", { d: "m15 9-2 6-4 2 2-6Z" })] }));
|
|
877
|
+
const DownloadIcon = createIcon("DownloadIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
878
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3v12" }),
|
|
879
|
+
/* @__PURE__ */ jsx("path", { d: "m7 10 5 5 5-5" }),
|
|
880
|
+
/* @__PURE__ */ jsx("path", { d: "M5 21h14" })
|
|
881
|
+
] }));
|
|
882
|
+
const ExternalLinkIcon = createIcon("ExternalLinkIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
883
|
+
/* @__PURE__ */ jsx("path", { d: "M14 4h6v6" }),
|
|
884
|
+
/* @__PURE__ */ jsx("path", { d: "m10 14 10-10" }),
|
|
885
|
+
/* @__PURE__ */ jsx("path", { d: "M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5" })
|
|
886
|
+
] }));
|
|
887
|
+
const FileArchiveIcon = createIcon("FileArchiveIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
888
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
889
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
890
|
+
/* @__PURE__ */ jsx("path", { d: "M10 7h2" }),
|
|
891
|
+
/* @__PURE__ */ jsx("path", { d: "M10 11h2" }),
|
|
892
|
+
/* @__PURE__ */ jsx("path", { d: "M10 15h4v4h-4Z" })
|
|
893
|
+
] }));
|
|
894
|
+
const FileAudioIcon = createIcon("FileAudioIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
895
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
896
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
897
|
+
/* @__PURE__ */ jsx("path", { d: "M10 16V10l5-2v6" }),
|
|
898
|
+
/* @__PURE__ */ jsx("circle", {
|
|
899
|
+
cx: "9",
|
|
900
|
+
cy: "17",
|
|
901
|
+
r: "1.5"
|
|
902
|
+
}),
|
|
903
|
+
/* @__PURE__ */ jsx("circle", {
|
|
904
|
+
cx: "15",
|
|
905
|
+
cy: "15",
|
|
906
|
+
r: "1.5"
|
|
907
|
+
})
|
|
908
|
+
] }));
|
|
909
|
+
const FileSpreadsheetIcon = createIcon("FileSpreadsheetIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
910
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
911
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
912
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
|
|
913
|
+
/* @__PURE__ */ jsx("path", { d: "M8 16h8" }),
|
|
914
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10v8" })
|
|
915
|
+
] }));
|
|
916
|
+
const FileTextIcon = createIcon("FileTextIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
917
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
918
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
919
|
+
/* @__PURE__ */ jsx("path", { d: "M9 13h6" }),
|
|
920
|
+
/* @__PURE__ */ jsx("path", { d: "M9 17h6" })
|
|
921
|
+
] }));
|
|
922
|
+
const Flower2Icon = createIcon("Flower2Icon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
923
|
+
/* @__PURE__ */ jsx("circle", {
|
|
924
|
+
cx: "12",
|
|
925
|
+
cy: "12",
|
|
926
|
+
r: "2"
|
|
927
|
+
}),
|
|
928
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10C8 4 16 4 12 10Z" }),
|
|
929
|
+
/* @__PURE__ */ jsx("path", { d: "M14 12c6-4 6 4 0 0Z" }),
|
|
930
|
+
/* @__PURE__ */ jsx("path", { d: "M12 14c4 6-4 6 0 0Z" }),
|
|
931
|
+
/* @__PURE__ */ jsx("path", { d: "M10 12c-6 4-6-4 0 0Z" })
|
|
932
|
+
] }));
|
|
933
|
+
const GlobeIcon = createIcon("GlobeIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
934
|
+
/* @__PURE__ */ jsx("circle", {
|
|
935
|
+
cx: "12",
|
|
936
|
+
cy: "12",
|
|
937
|
+
r: "9"
|
|
938
|
+
}),
|
|
939
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
|
|
940
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 1 0 18" }),
|
|
941
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 0 0 18" })
|
|
942
|
+
] }));
|
|
943
|
+
const GraduationCapIcon = createIcon("GraduationCapIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
944
|
+
/* @__PURE__ */ jsx("path", { d: "m3 8 9-4 9 4-9 4Z" }),
|
|
945
|
+
/* @__PURE__ */ jsx("path", { d: "M7 10v5c3 3 7 3 10 0v-5" }),
|
|
946
|
+
/* @__PURE__ */ jsx("path", { d: "M21 8v6" })
|
|
947
|
+
] }));
|
|
948
|
+
const HandHeartIcon = createIcon("HandHeartIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
949
|
+
/* @__PURE__ */ jsx("path", { d: "M3 15h4l4 4h5l5-5" }),
|
|
950
|
+
/* @__PURE__ */ jsx("path", { d: "M7 15l3-3h4a2 2 0 0 1 2 2" }),
|
|
951
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8c-2-2-5 1-2 4l2 2 2-2c3-3 0-6-2-4Z" })
|
|
952
|
+
] }));
|
|
953
|
+
const HeartIcon = createIcon("HeartIcon", /* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }));
|
|
954
|
+
const HeartHandshakeIcon = createIcon("HeartHandshakeIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }), /* @__PURE__ */ jsx("path", { d: "m8 12 2 2 2-2 2 2 2-2" })] }));
|
|
955
|
+
const HomeIcon = createIcon("HomeIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
956
|
+
/* @__PURE__ */ jsx("path", { d: "m3 11 9-8 9 8" }),
|
|
957
|
+
/* @__PURE__ */ jsx("path", { d: "M5 10v10h14V10" }),
|
|
958
|
+
/* @__PURE__ */ jsx("path", { d: "M9 20v-6h6v6" })
|
|
959
|
+
] }));
|
|
960
|
+
const InfoIcon = createIcon("InfoIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
961
|
+
/* @__PURE__ */ jsx("circle", {
|
|
962
|
+
cx: "12",
|
|
963
|
+
cy: "12",
|
|
964
|
+
r: "9"
|
|
965
|
+
}),
|
|
966
|
+
/* @__PURE__ */ jsx("path", { d: "M12 11v6" }),
|
|
967
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7h.01" })
|
|
968
|
+
] }));
|
|
969
|
+
const LeafIcon = createIcon("LeafIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M5 20C5 10 12 4 21 4c0 9-6 16-16 16Z" }), /* @__PURE__ */ jsx("path", { d: "M5 20c4-5 8-8 13-11" })] }));
|
|
970
|
+
const LightbulbIcon = createIcon("LightbulbIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
971
|
+
/* @__PURE__ */ jsx("path", { d: "M9 18h6" }),
|
|
972
|
+
/* @__PURE__ */ jsx("path", { d: "M10 22h4" }),
|
|
973
|
+
/* @__PURE__ */ jsx("path", { d: "M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 4H9c0-2 0-3-1-4Z" })
|
|
974
|
+
] }));
|
|
975
|
+
const LockIcon = createIcon("LockIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("rect", {
|
|
976
|
+
x: "5",
|
|
977
|
+
y: "10",
|
|
978
|
+
width: "14",
|
|
979
|
+
height: "10",
|
|
980
|
+
rx: "2"
|
|
981
|
+
}), /* @__PURE__ */ jsx("path", { d: "M8 10V7a4 4 0 0 1 8 0v3" })] }));
|
|
982
|
+
const MailIcon = createIcon("MailIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("rect", {
|
|
983
|
+
x: "3",
|
|
984
|
+
y: "5",
|
|
985
|
+
width: "18",
|
|
986
|
+
height: "14",
|
|
987
|
+
rx: "2"
|
|
988
|
+
}), /* @__PURE__ */ jsx("path", { d: "m3 7 9 6 9-6" })] }));
|
|
989
|
+
const MapPinIcon = createIcon("MapPinIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M12 21s7-5 7-12a7 7 0 0 0-14 0c0 7 7 12 7 12Z" }), /* @__PURE__ */ jsx("circle", {
|
|
990
|
+
cx: "12",
|
|
991
|
+
cy: "9",
|
|
992
|
+
r: "2.5"
|
|
993
|
+
})] }));
|
|
994
|
+
const MessageCircleIcon = createIcon("MessageCircleIcon", /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx("path", { d: "M21 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.1-5.3A8.5 8.5 0 1 1 21 11.5Z" }) }));
|
|
995
|
+
const MinusIcon = createIcon("MinusIcon", /* @__PURE__ */ jsx("path", { d: "M5 12h14" }));
|
|
996
|
+
const PackageIcon = createIcon("PackageIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
997
|
+
/* @__PURE__ */ jsx("path", { d: "m12 3 8 4.5v9L12 21l-8-4.5v-9Z" }),
|
|
998
|
+
/* @__PURE__ */ jsx("path", { d: "M12 12 4 7.5" }),
|
|
999
|
+
/* @__PURE__ */ jsx("path", { d: "m12 12 8-4.5" }),
|
|
1000
|
+
/* @__PURE__ */ jsx("path", { d: "M12 12v9" })
|
|
1001
|
+
] }));
|
|
1002
|
+
const PhoneIcon = createIcon("PhoneIcon", /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx("path", { d: "M22 16.9v3a2 2 0 0 1-2.2 2A19 19 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7l.4 2.5a2 2 0 0 1-.6 1.8L7.7 9.2a13 13 0 0 0 7.1 7.1l1.2-1.2a2 2 0 0 1 1.8-.6l2.5.4a2 2 0 0 1 1.7 2Z" }) }));
|
|
1003
|
+
const PlayIcon = createIcon("PlayIcon", /* @__PURE__ */ jsx("path", { d: "m8 5 11 7-11 7Z" }));
|
|
1004
|
+
const PlusIcon = createIcon("PlusIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "M5 12h14" })] }));
|
|
1005
|
+
const ShieldIcon = createIcon("ShieldIcon", /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11Z" }));
|
|
1006
|
+
const ShoppingBagIcon = createIcon("ShoppingBagIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M6 8h12l1 13H5Z" }), /* @__PURE__ */ jsx("path", { d: "M9 8a3 3 0 0 1 6 0" })] }));
|
|
1007
|
+
const ShoppingCartIcon = createIcon("ShoppingCartIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1008
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1009
|
+
cx: "9",
|
|
1010
|
+
cy: "20",
|
|
1011
|
+
r: "1"
|
|
1012
|
+
}),
|
|
1013
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1014
|
+
cx: "18",
|
|
1015
|
+
cy: "20",
|
|
1016
|
+
r: "1"
|
|
1017
|
+
}),
|
|
1018
|
+
/* @__PURE__ */ jsx("path", { d: "M2 3h3l3 12h10l3-8H7" })
|
|
1019
|
+
] }));
|
|
1020
|
+
const SmileIcon = createIcon("SmileIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1021
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1022
|
+
cx: "12",
|
|
1023
|
+
cy: "12",
|
|
1024
|
+
r: "9"
|
|
1025
|
+
}),
|
|
1026
|
+
/* @__PURE__ */ jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
1027
|
+
/* @__PURE__ */ jsx("path", { d: "M9 9h.01" }),
|
|
1028
|
+
/* @__PURE__ */ jsx("path", { d: "M15 9h.01" })
|
|
1029
|
+
] }));
|
|
1030
|
+
const SparklesIcon = createIcon("SparklesIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "m12 3 2 5 5 2-5 2-2 5-2-5-5-2 5-2Z" }), /* @__PURE__ */ jsx("path", { d: "m19 15 .8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8Z" })] }));
|
|
1031
|
+
const SproutIcon = createIcon("SproutIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1032
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21V10" }),
|
|
1033
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10C8 5 4 6 3 10c4 1 7 0 9 0Z" }),
|
|
1034
|
+
/* @__PURE__ */ jsx("path", { d: "M12 11c4-5 8-4 9 0-4 1-7 0-9 0Z" })
|
|
1035
|
+
] }));
|
|
1036
|
+
const StarIcon = createIcon("StarIcon", /* @__PURE__ */ jsx("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.2 6.4 20.2 7.5 14 3 9.6l6.2-.9Z" }));
|
|
1037
|
+
const TargetIcon = createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1038
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1039
|
+
cx: "12",
|
|
1040
|
+
cy: "12",
|
|
1041
|
+
r: "9"
|
|
1042
|
+
}),
|
|
1043
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1044
|
+
cx: "12",
|
|
1045
|
+
cy: "12",
|
|
1046
|
+
r: "5"
|
|
1047
|
+
}),
|
|
1048
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1049
|
+
cx: "12",
|
|
1050
|
+
cy: "12",
|
|
1051
|
+
r: "1"
|
|
1052
|
+
})
|
|
1053
|
+
] }));
|
|
1054
|
+
const UploadIcon = createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1055
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
|
|
1056
|
+
/* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
|
|
1057
|
+
/* @__PURE__ */ jsx("path", { d: "M5 3h14" })
|
|
1058
|
+
] }));
|
|
1059
|
+
const UserRoundCheckIcon = createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1060
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1061
|
+
cx: "10",
|
|
1062
|
+
cy: "8",
|
|
1063
|
+
r: "4"
|
|
1064
|
+
}),
|
|
1065
|
+
/* @__PURE__ */ jsx("path", { d: "M3 21a7 7 0 0 1 11.5-5.3" }),
|
|
1066
|
+
/* @__PURE__ */ jsx("path", { d: "m15 19 2 2 4-5" })
|
|
1067
|
+
] }));
|
|
1068
|
+
const UsersIcon = createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1069
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1070
|
+
cx: "9",
|
|
1071
|
+
cy: "8",
|
|
1072
|
+
r: "4"
|
|
1073
|
+
}),
|
|
1074
|
+
/* @__PURE__ */ jsx("path", { d: "M2 21a7 7 0 0 1 14 0" }),
|
|
1075
|
+
/* @__PURE__ */ jsx("path", { d: "M17 11a4 4 0 0 0 0-7" }),
|
|
1076
|
+
/* @__PURE__ */ jsx("path", { d: "M22 21a7 7 0 0 0-5-6.7" })
|
|
1077
|
+
] }));
|
|
1078
|
+
const WrenchIcon = createIcon("WrenchIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M14.7 6.3A5 5 0 0 0 7 12.6L3.5 16a2.1 2.1 0 0 0 3 3L10 15.5A5 5 0 0 0 16.7 9Z" }), /* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })] }));
|
|
1079
|
+
const XIcon = createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })] }));
|
|
1080
|
+
//#endregion
|
|
1081
|
+
//#region ../blocks/src/system/icons/cta.ts
|
|
1082
|
+
/**
|
|
1083
|
+
* Curated icon set for CTA/button icons.
|
|
1084
|
+
*
|
|
1085
|
+
* Guardrail: keep this list small and action-oriented. This is intentionally not the full Lucide set.
|
|
1086
|
+
* Extend by adding to CTA_ICON_NAMES and the mapping below (explicit imports only).
|
|
1087
|
+
*/
|
|
1088
|
+
const CTA_ICON_NAMES = [
|
|
1089
|
+
"ArrowRight",
|
|
1090
|
+
"ArrowLeft",
|
|
1091
|
+
"ChevronRight",
|
|
1092
|
+
"ChevronLeft",
|
|
1093
|
+
"ChevronUp",
|
|
1094
|
+
"ChevronDown",
|
|
1095
|
+
"ExternalLink",
|
|
1096
|
+
"Download",
|
|
1097
|
+
"Upload",
|
|
1098
|
+
"Mail",
|
|
1099
|
+
"Phone",
|
|
1100
|
+
"Play",
|
|
1101
|
+
"ShoppingCart",
|
|
1102
|
+
"Calendar",
|
|
1103
|
+
"MapPin",
|
|
1104
|
+
"Info",
|
|
1105
|
+
"Plus",
|
|
1106
|
+
"Minus",
|
|
1107
|
+
"Check",
|
|
1108
|
+
"X"
|
|
1109
|
+
];
|
|
1110
|
+
const CTA_ICON_COMPONENTS = {
|
|
1111
|
+
ArrowRight: ArrowRightIcon,
|
|
1112
|
+
ArrowLeft: ArrowLeftIcon,
|
|
1113
|
+
ChevronRight: ChevronRightIcon,
|
|
1114
|
+
ChevronLeft: ChevronLeftIcon,
|
|
1115
|
+
ChevronUp: ChevronUpIcon,
|
|
1116
|
+
ChevronDown: ChevronDownIcon,
|
|
1117
|
+
ExternalLink: ExternalLinkIcon,
|
|
1118
|
+
Download: DownloadIcon,
|
|
1119
|
+
Upload: UploadIcon,
|
|
1120
|
+
Mail: MailIcon,
|
|
1121
|
+
Phone: PhoneIcon,
|
|
1122
|
+
Play: PlayIcon,
|
|
1123
|
+
ShoppingCart: ShoppingCartIcon,
|
|
1124
|
+
Calendar: CalendarIcon,
|
|
1125
|
+
MapPin: MapPinIcon,
|
|
1126
|
+
Info: InfoIcon,
|
|
1127
|
+
Plus: PlusIcon,
|
|
1128
|
+
Minus: MinusIcon,
|
|
1129
|
+
Check: CheckIcon,
|
|
1130
|
+
X: XIcon
|
|
1131
|
+
};
|
|
1132
|
+
function isCtaIconName(value) {
|
|
1133
|
+
return typeof value === "string" && CTA_ICON_NAMES.includes(value);
|
|
1134
|
+
}
|
|
1135
|
+
function formatLucideName(name) {
|
|
1136
|
+
return name.replace(/([a-z0-9])([A-Z])/g, "$1 $2");
|
|
1137
|
+
}
|
|
1138
|
+
const CTA_ICON_OPTIONS = CTA_ICON_NAMES.map((id) => ({
|
|
1139
|
+
id,
|
|
1140
|
+
label: formatLucideName(id)
|
|
1141
|
+
}));
|
|
1142
|
+
function getCtaIconComponent(name) {
|
|
1143
|
+
if (!isCtaIconName(name)) return null;
|
|
1144
|
+
return CTA_ICON_COMPONENTS[name] ?? null;
|
|
1145
|
+
}
|
|
1146
|
+
//#endregion
|
|
1147
|
+
//#region ../blocks/src/system/icons/semantic.ts
|
|
1148
|
+
const SEMANTIC_ICON_IDS = [
|
|
1149
|
+
"protection-trust",
|
|
1150
|
+
"confidentiality",
|
|
1151
|
+
"care-support",
|
|
1152
|
+
"partnership",
|
|
1153
|
+
"warmth",
|
|
1154
|
+
"community",
|
|
1155
|
+
"personal-guidance",
|
|
1156
|
+
"conversation",
|
|
1157
|
+
"friendly-welcome",
|
|
1158
|
+
"insight-learning",
|
|
1159
|
+
"natural-wellbeing",
|
|
1160
|
+
"growth",
|
|
1161
|
+
"gentle-care",
|
|
1162
|
+
"special-touch",
|
|
1163
|
+
"ideas",
|
|
1164
|
+
"direction",
|
|
1165
|
+
"focus",
|
|
1166
|
+
"quality",
|
|
1167
|
+
"highlight",
|
|
1168
|
+
"verified-quality",
|
|
1169
|
+
"learning",
|
|
1170
|
+
"training",
|
|
1171
|
+
"programmes-dates",
|
|
1172
|
+
"place",
|
|
1173
|
+
"products",
|
|
1174
|
+
"packages",
|
|
1175
|
+
"time",
|
|
1176
|
+
"practical-service",
|
|
1177
|
+
"at-home",
|
|
1178
|
+
"worldwide",
|
|
1179
|
+
"professional-service"
|
|
1180
|
+
];
|
|
1181
|
+
const SEMANTIC_ICON_COMPONENTS = {
|
|
1182
|
+
"protection-trust": ShieldIcon,
|
|
1183
|
+
confidentiality: LockIcon,
|
|
1184
|
+
"care-support": HandHeartIcon,
|
|
1185
|
+
partnership: HeartHandshakeIcon,
|
|
1186
|
+
warmth: HeartIcon,
|
|
1187
|
+
community: UsersIcon,
|
|
1188
|
+
"personal-guidance": UserRoundCheckIcon,
|
|
1189
|
+
conversation: MessageCircleIcon,
|
|
1190
|
+
"friendly-welcome": SmileIcon,
|
|
1191
|
+
"insight-learning": BrainIcon,
|
|
1192
|
+
"natural-wellbeing": LeafIcon,
|
|
1193
|
+
growth: SproutIcon,
|
|
1194
|
+
"gentle-care": Flower2Icon,
|
|
1195
|
+
"special-touch": SparklesIcon,
|
|
1196
|
+
ideas: LightbulbIcon,
|
|
1197
|
+
direction: CompassIcon,
|
|
1198
|
+
focus: TargetIcon,
|
|
1199
|
+
quality: AwardIcon,
|
|
1200
|
+
highlight: StarIcon,
|
|
1201
|
+
"verified-quality": BadgeCheckIcon,
|
|
1202
|
+
learning: BookOpenIcon,
|
|
1203
|
+
training: GraduationCapIcon,
|
|
1204
|
+
"programmes-dates": CalendarDaysIcon,
|
|
1205
|
+
place: MapPinIcon,
|
|
1206
|
+
products: ShoppingBagIcon,
|
|
1207
|
+
packages: PackageIcon,
|
|
1208
|
+
time: ClockIcon,
|
|
1209
|
+
"practical-service": WrenchIcon,
|
|
1210
|
+
"at-home": HomeIcon,
|
|
1211
|
+
worldwide: GlobeIcon,
|
|
1212
|
+
"professional-service": BriefcaseBusinessIcon
|
|
1213
|
+
};
|
|
1214
|
+
const featurePreset = ["feature"];
|
|
1215
|
+
const SEMANTIC_ICON_DEFINITIONS = [
|
|
1216
|
+
{
|
|
1217
|
+
id: "protection-trust",
|
|
1218
|
+
label: "Protection and trust",
|
|
1219
|
+
tags: [
|
|
1220
|
+
"safe",
|
|
1221
|
+
"safety",
|
|
1222
|
+
"security",
|
|
1223
|
+
"trust",
|
|
1224
|
+
"privacy",
|
|
1225
|
+
"confidence"
|
|
1226
|
+
],
|
|
1227
|
+
domains: [
|
|
1228
|
+
"wellbeing",
|
|
1229
|
+
"services",
|
|
1230
|
+
"technology"
|
|
1231
|
+
],
|
|
1232
|
+
tone: ["trustworthy", "practical"],
|
|
1233
|
+
presets: featurePreset
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
id: "confidentiality",
|
|
1237
|
+
label: "Confidentiality",
|
|
1238
|
+
tags: [
|
|
1239
|
+
"confidential",
|
|
1240
|
+
"privacy",
|
|
1241
|
+
"secure",
|
|
1242
|
+
"protected",
|
|
1243
|
+
"private"
|
|
1244
|
+
],
|
|
1245
|
+
domains: [
|
|
1246
|
+
"wellbeing",
|
|
1247
|
+
"coaching",
|
|
1248
|
+
"services",
|
|
1249
|
+
"technology"
|
|
1250
|
+
],
|
|
1251
|
+
tone: ["trustworthy", "calm"],
|
|
1252
|
+
presets: featurePreset
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
id: "care-support",
|
|
1256
|
+
label: "Care and support",
|
|
1257
|
+
tags: [
|
|
1258
|
+
"care",
|
|
1259
|
+
"support",
|
|
1260
|
+
"therapy",
|
|
1261
|
+
"kindness",
|
|
1262
|
+
"help",
|
|
1263
|
+
"compassion"
|
|
1264
|
+
],
|
|
1265
|
+
domains: [
|
|
1266
|
+
"wellbeing",
|
|
1267
|
+
"coaching",
|
|
1268
|
+
"community"
|
|
1269
|
+
],
|
|
1270
|
+
tone: ["warm", "human"],
|
|
1271
|
+
presets: featurePreset
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
id: "partnership",
|
|
1275
|
+
label: "Partnership",
|
|
1276
|
+
tags: [
|
|
1277
|
+
"partnership",
|
|
1278
|
+
"together",
|
|
1279
|
+
"support",
|
|
1280
|
+
"relationship",
|
|
1281
|
+
"collaboration"
|
|
1282
|
+
],
|
|
1283
|
+
domains: [
|
|
1284
|
+
"coaching",
|
|
1285
|
+
"community",
|
|
1286
|
+
"services"
|
|
1287
|
+
],
|
|
1288
|
+
tone: [
|
|
1289
|
+
"warm",
|
|
1290
|
+
"human",
|
|
1291
|
+
"trustworthy"
|
|
1292
|
+
],
|
|
1293
|
+
presets: featurePreset
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
id: "warmth",
|
|
1297
|
+
label: "Warmth",
|
|
1298
|
+
tags: [
|
|
1299
|
+
"heart",
|
|
1300
|
+
"warmth",
|
|
1301
|
+
"care",
|
|
1302
|
+
"love",
|
|
1303
|
+
"wellbeing",
|
|
1304
|
+
"personal"
|
|
1305
|
+
],
|
|
1306
|
+
domains: [
|
|
1307
|
+
"wellbeing",
|
|
1308
|
+
"community",
|
|
1309
|
+
"hospitality"
|
|
1310
|
+
],
|
|
1311
|
+
tone: ["warm", "human"],
|
|
1312
|
+
presets: featurePreset
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
id: "community",
|
|
1316
|
+
label: "Community",
|
|
1317
|
+
tags: [
|
|
1318
|
+
"community",
|
|
1319
|
+
"group",
|
|
1320
|
+
"people",
|
|
1321
|
+
"team",
|
|
1322
|
+
"members",
|
|
1323
|
+
"belonging"
|
|
1324
|
+
],
|
|
1325
|
+
domains: [
|
|
1326
|
+
"community",
|
|
1327
|
+
"education",
|
|
1328
|
+
"events"
|
|
1329
|
+
],
|
|
1330
|
+
tone: ["human", "warm"],
|
|
1331
|
+
presets: featurePreset
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
id: "personal-guidance",
|
|
1335
|
+
label: "Personal guidance",
|
|
1336
|
+
tags: [
|
|
1337
|
+
"guidance",
|
|
1338
|
+
"personal",
|
|
1339
|
+
"coach",
|
|
1340
|
+
"expert",
|
|
1341
|
+
"one to one",
|
|
1342
|
+
"trusted"
|
|
1343
|
+
],
|
|
1344
|
+
domains: [
|
|
1345
|
+
"coaching",
|
|
1346
|
+
"services",
|
|
1347
|
+
"education"
|
|
1348
|
+
],
|
|
1349
|
+
tone: ["trustworthy", "human"],
|
|
1350
|
+
presets: featurePreset
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
id: "conversation",
|
|
1354
|
+
label: "Conversation",
|
|
1355
|
+
tags: [
|
|
1356
|
+
"conversation",
|
|
1357
|
+
"talk",
|
|
1358
|
+
"chat",
|
|
1359
|
+
"communication",
|
|
1360
|
+
"support"
|
|
1361
|
+
],
|
|
1362
|
+
domains: [
|
|
1363
|
+
"coaching",
|
|
1364
|
+
"community",
|
|
1365
|
+
"services"
|
|
1366
|
+
],
|
|
1367
|
+
tone: ["human", "warm"],
|
|
1368
|
+
presets: featurePreset
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
id: "friendly-welcome",
|
|
1372
|
+
label: "Friendly welcome",
|
|
1373
|
+
tags: [
|
|
1374
|
+
"friendly",
|
|
1375
|
+
"welcome",
|
|
1376
|
+
"positive",
|
|
1377
|
+
"happy",
|
|
1378
|
+
"approachable"
|
|
1379
|
+
],
|
|
1380
|
+
domains: [
|
|
1381
|
+
"hospitality",
|
|
1382
|
+
"community",
|
|
1383
|
+
"services"
|
|
1384
|
+
],
|
|
1385
|
+
tone: [
|
|
1386
|
+
"warm",
|
|
1387
|
+
"playful",
|
|
1388
|
+
"human"
|
|
1389
|
+
],
|
|
1390
|
+
presets: featurePreset
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
id: "insight-learning",
|
|
1394
|
+
label: "Insight and learning",
|
|
1395
|
+
tags: [
|
|
1396
|
+
"mind",
|
|
1397
|
+
"insight",
|
|
1398
|
+
"learning",
|
|
1399
|
+
"clarity",
|
|
1400
|
+
"thinking",
|
|
1401
|
+
"therapy"
|
|
1402
|
+
],
|
|
1403
|
+
domains: [
|
|
1404
|
+
"wellbeing",
|
|
1405
|
+
"coaching",
|
|
1406
|
+
"education"
|
|
1407
|
+
],
|
|
1408
|
+
tone: ["calm", "practical"],
|
|
1409
|
+
presets: featurePreset
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
id: "natural-wellbeing",
|
|
1413
|
+
label: "Natural wellbeing",
|
|
1414
|
+
tags: [
|
|
1415
|
+
"natural",
|
|
1416
|
+
"wellbeing",
|
|
1417
|
+
"growth",
|
|
1418
|
+
"eco",
|
|
1419
|
+
"calm",
|
|
1420
|
+
"organic"
|
|
1421
|
+
],
|
|
1422
|
+
domains: [
|
|
1423
|
+
"wellbeing",
|
|
1424
|
+
"hospitality",
|
|
1425
|
+
"creative"
|
|
1426
|
+
],
|
|
1427
|
+
tone: ["calm", "warm"],
|
|
1428
|
+
presets: featurePreset
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
id: "growth",
|
|
1432
|
+
label: "Growth",
|
|
1433
|
+
tags: [
|
|
1434
|
+
"growth",
|
|
1435
|
+
"new",
|
|
1436
|
+
"progress",
|
|
1437
|
+
"development",
|
|
1438
|
+
"nurture"
|
|
1439
|
+
],
|
|
1440
|
+
domains: [
|
|
1441
|
+
"wellbeing",
|
|
1442
|
+
"coaching",
|
|
1443
|
+
"education",
|
|
1444
|
+
"community"
|
|
1445
|
+
],
|
|
1446
|
+
tone: ["warm", "calm"],
|
|
1447
|
+
presets: featurePreset
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
id: "gentle-care",
|
|
1451
|
+
label: "Gentle care",
|
|
1452
|
+
tags: [
|
|
1453
|
+
"gentle",
|
|
1454
|
+
"soft",
|
|
1455
|
+
"care",
|
|
1456
|
+
"wellbeing",
|
|
1457
|
+
"beauty",
|
|
1458
|
+
"calm"
|
|
1459
|
+
],
|
|
1460
|
+
domains: [
|
|
1461
|
+
"wellbeing",
|
|
1462
|
+
"creative",
|
|
1463
|
+
"hospitality"
|
|
1464
|
+
],
|
|
1465
|
+
tone: [
|
|
1466
|
+
"warm",
|
|
1467
|
+
"calm",
|
|
1468
|
+
"premium"
|
|
1469
|
+
],
|
|
1470
|
+
presets: featurePreset
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
id: "special-touch",
|
|
1474
|
+
label: "Special touch",
|
|
1475
|
+
tags: [
|
|
1476
|
+
"special",
|
|
1477
|
+
"sparkle",
|
|
1478
|
+
"magic",
|
|
1479
|
+
"polish",
|
|
1480
|
+
"delight",
|
|
1481
|
+
"creative"
|
|
1482
|
+
],
|
|
1483
|
+
domains: [
|
|
1484
|
+
"creative",
|
|
1485
|
+
"commerce",
|
|
1486
|
+
"hospitality"
|
|
1487
|
+
],
|
|
1488
|
+
tone: ["playful", "premium"],
|
|
1489
|
+
presets: featurePreset
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
id: "ideas",
|
|
1493
|
+
label: "Ideas",
|
|
1494
|
+
tags: [
|
|
1495
|
+
"idea",
|
|
1496
|
+
"innovation",
|
|
1497
|
+
"clarity",
|
|
1498
|
+
"creative",
|
|
1499
|
+
"strategy"
|
|
1500
|
+
],
|
|
1501
|
+
domains: [
|
|
1502
|
+
"coaching",
|
|
1503
|
+
"education",
|
|
1504
|
+
"creative",
|
|
1505
|
+
"technology"
|
|
1506
|
+
],
|
|
1507
|
+
tone: ["practical", "playful"],
|
|
1508
|
+
presets: featurePreset
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
id: "direction",
|
|
1512
|
+
label: "Direction",
|
|
1513
|
+
tags: [
|
|
1514
|
+
"direction",
|
|
1515
|
+
"navigation",
|
|
1516
|
+
"path",
|
|
1517
|
+
"journey",
|
|
1518
|
+
"guidance"
|
|
1519
|
+
],
|
|
1520
|
+
domains: [
|
|
1521
|
+
"coaching",
|
|
1522
|
+
"education",
|
|
1523
|
+
"services"
|
|
1524
|
+
],
|
|
1525
|
+
tone: ["trustworthy", "practical"],
|
|
1526
|
+
presets: featurePreset
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
id: "focus",
|
|
1530
|
+
label: "Focus",
|
|
1531
|
+
tags: [
|
|
1532
|
+
"focus",
|
|
1533
|
+
"goal",
|
|
1534
|
+
"outcome",
|
|
1535
|
+
"aim",
|
|
1536
|
+
"strategy"
|
|
1537
|
+
],
|
|
1538
|
+
domains: [
|
|
1539
|
+
"coaching",
|
|
1540
|
+
"services",
|
|
1541
|
+
"technology"
|
|
1542
|
+
],
|
|
1543
|
+
tone: ["practical"],
|
|
1544
|
+
presets: featurePreset
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
id: "quality",
|
|
1548
|
+
label: "Quality",
|
|
1549
|
+
tags: [
|
|
1550
|
+
"quality",
|
|
1551
|
+
"award",
|
|
1552
|
+
"standard",
|
|
1553
|
+
"achievement",
|
|
1554
|
+
"premium"
|
|
1555
|
+
],
|
|
1556
|
+
domains: [
|
|
1557
|
+
"services",
|
|
1558
|
+
"education",
|
|
1559
|
+
"commerce"
|
|
1560
|
+
],
|
|
1561
|
+
tone: ["premium", "trustworthy"],
|
|
1562
|
+
presets: featurePreset
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
id: "highlight",
|
|
1566
|
+
label: "Highlight",
|
|
1567
|
+
tags: [
|
|
1568
|
+
"highlight",
|
|
1569
|
+
"featured",
|
|
1570
|
+
"favorite",
|
|
1571
|
+
"quality",
|
|
1572
|
+
"special"
|
|
1573
|
+
],
|
|
1574
|
+
domains: [
|
|
1575
|
+
"creative",
|
|
1576
|
+
"commerce",
|
|
1577
|
+
"services"
|
|
1578
|
+
],
|
|
1579
|
+
tone: ["playful", "premium"],
|
|
1580
|
+
presets: featurePreset
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
id: "verified-quality",
|
|
1584
|
+
label: "Verified quality",
|
|
1585
|
+
tags: [
|
|
1586
|
+
"verified",
|
|
1587
|
+
"quality",
|
|
1588
|
+
"approved",
|
|
1589
|
+
"trusted",
|
|
1590
|
+
"check"
|
|
1591
|
+
],
|
|
1592
|
+
domains: [
|
|
1593
|
+
"services",
|
|
1594
|
+
"commerce",
|
|
1595
|
+
"education"
|
|
1596
|
+
],
|
|
1597
|
+
tone: ["trustworthy", "practical"],
|
|
1598
|
+
presets: featurePreset
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
id: "learning",
|
|
1602
|
+
label: "Learning",
|
|
1603
|
+
tags: [
|
|
1604
|
+
"learning",
|
|
1605
|
+
"book",
|
|
1606
|
+
"course",
|
|
1607
|
+
"knowledge",
|
|
1608
|
+
"education"
|
|
1609
|
+
],
|
|
1610
|
+
domains: [
|
|
1611
|
+
"education",
|
|
1612
|
+
"coaching",
|
|
1613
|
+
"community"
|
|
1614
|
+
],
|
|
1615
|
+
tone: ["calm", "practical"],
|
|
1616
|
+
presets: featurePreset
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
id: "training",
|
|
1620
|
+
label: "Training",
|
|
1621
|
+
tags: [
|
|
1622
|
+
"training",
|
|
1623
|
+
"course",
|
|
1624
|
+
"qualification",
|
|
1625
|
+
"school",
|
|
1626
|
+
"education"
|
|
1627
|
+
],
|
|
1628
|
+
domains: ["education", "coaching"],
|
|
1629
|
+
tone: ["trustworthy", "practical"],
|
|
1630
|
+
presets: featurePreset
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
id: "programmes-dates",
|
|
1634
|
+
label: "Programmes and dates",
|
|
1635
|
+
tags: [
|
|
1636
|
+
"calendar",
|
|
1637
|
+
"dates",
|
|
1638
|
+
"schedule",
|
|
1639
|
+
"events",
|
|
1640
|
+
"programme",
|
|
1641
|
+
"classes"
|
|
1642
|
+
],
|
|
1643
|
+
domains: [
|
|
1644
|
+
"events",
|
|
1645
|
+
"education",
|
|
1646
|
+
"community"
|
|
1647
|
+
],
|
|
1648
|
+
tone: ["practical"],
|
|
1649
|
+
presets: featurePreset
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
id: "place",
|
|
1653
|
+
label: "Place",
|
|
1654
|
+
tags: [
|
|
1655
|
+
"place",
|
|
1656
|
+
"location",
|
|
1657
|
+
"local",
|
|
1658
|
+
"venue",
|
|
1659
|
+
"destination"
|
|
1660
|
+
],
|
|
1661
|
+
domains: [
|
|
1662
|
+
"events",
|
|
1663
|
+
"hospitality",
|
|
1664
|
+
"services"
|
|
1665
|
+
],
|
|
1666
|
+
tone: ["practical"],
|
|
1667
|
+
presets: featurePreset
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
id: "products",
|
|
1671
|
+
label: "Products",
|
|
1672
|
+
tags: [
|
|
1673
|
+
"products",
|
|
1674
|
+
"shop",
|
|
1675
|
+
"store",
|
|
1676
|
+
"retail",
|
|
1677
|
+
"commerce"
|
|
1678
|
+
],
|
|
1679
|
+
domains: ["commerce"],
|
|
1680
|
+
tone: ["practical", "premium"],
|
|
1681
|
+
presets: featurePreset
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
id: "packages",
|
|
1685
|
+
label: "Packages",
|
|
1686
|
+
tags: [
|
|
1687
|
+
"package",
|
|
1688
|
+
"bundle",
|
|
1689
|
+
"delivery",
|
|
1690
|
+
"offer",
|
|
1691
|
+
"product"
|
|
1692
|
+
],
|
|
1693
|
+
domains: ["commerce", "services"],
|
|
1694
|
+
tone: ["practical"],
|
|
1695
|
+
presets: featurePreset
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
id: "time",
|
|
1699
|
+
label: "Time",
|
|
1700
|
+
tags: [
|
|
1701
|
+
"time",
|
|
1702
|
+
"duration",
|
|
1703
|
+
"schedule",
|
|
1704
|
+
"availability",
|
|
1705
|
+
"appointment"
|
|
1706
|
+
],
|
|
1707
|
+
domains: [
|
|
1708
|
+
"events",
|
|
1709
|
+
"services",
|
|
1710
|
+
"wellbeing"
|
|
1711
|
+
],
|
|
1712
|
+
tone: ["practical", "calm"],
|
|
1713
|
+
presets: featurePreset
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
id: "practical-service",
|
|
1717
|
+
label: "Practical service",
|
|
1718
|
+
tags: [
|
|
1719
|
+
"service",
|
|
1720
|
+
"repair",
|
|
1721
|
+
"setup",
|
|
1722
|
+
"practical",
|
|
1723
|
+
"tools",
|
|
1724
|
+
"support"
|
|
1725
|
+
],
|
|
1726
|
+
domains: ["services", "technology"],
|
|
1727
|
+
tone: ["practical"],
|
|
1728
|
+
presets: featurePreset
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
id: "at-home",
|
|
1732
|
+
label: "At home",
|
|
1733
|
+
tags: [
|
|
1734
|
+
"home",
|
|
1735
|
+
"domestic",
|
|
1736
|
+
"comfort",
|
|
1737
|
+
"local",
|
|
1738
|
+
"space"
|
|
1739
|
+
],
|
|
1740
|
+
domains: [
|
|
1741
|
+
"hospitality",
|
|
1742
|
+
"services",
|
|
1743
|
+
"community"
|
|
1744
|
+
],
|
|
1745
|
+
tone: ["warm", "calm"],
|
|
1746
|
+
presets: featurePreset
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
id: "worldwide",
|
|
1750
|
+
label: "Worldwide",
|
|
1751
|
+
tags: [
|
|
1752
|
+
"global",
|
|
1753
|
+
"online",
|
|
1754
|
+
"worldwide",
|
|
1755
|
+
"remote",
|
|
1756
|
+
"international"
|
|
1757
|
+
],
|
|
1758
|
+
domains: [
|
|
1759
|
+
"technology",
|
|
1760
|
+
"education",
|
|
1761
|
+
"services"
|
|
1762
|
+
],
|
|
1763
|
+
tone: ["practical"],
|
|
1764
|
+
presets: featurePreset
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
id: "professional-service",
|
|
1768
|
+
label: "Professional service",
|
|
1769
|
+
tags: [
|
|
1770
|
+
"business",
|
|
1771
|
+
"professional",
|
|
1772
|
+
"consulting",
|
|
1773
|
+
"service",
|
|
1774
|
+
"work"
|
|
1775
|
+
],
|
|
1776
|
+
domains: [
|
|
1777
|
+
"services",
|
|
1778
|
+
"technology",
|
|
1779
|
+
"coaching"
|
|
1780
|
+
],
|
|
1781
|
+
tone: ["practical", "trustworthy"],
|
|
1782
|
+
presets: featurePreset
|
|
1783
|
+
}
|
|
1784
|
+
];
|
|
1785
|
+
SEMANTIC_ICON_DEFINITIONS.map(({ id, label }) => ({
|
|
1786
|
+
id,
|
|
1787
|
+
label
|
|
1788
|
+
}));
|
|
1789
|
+
function isSemanticIconId(value) {
|
|
1790
|
+
return typeof value === "string" && SEMANTIC_ICON_IDS.includes(value);
|
|
1791
|
+
}
|
|
1792
|
+
function getSemanticIconComponent(name) {
|
|
1793
|
+
if (!isSemanticIconId(name)) return null;
|
|
1794
|
+
return SEMANTIC_ICON_COMPONENTS[name] ?? null;
|
|
1795
|
+
}
|
|
1796
|
+
//#endregion
|
|
1797
|
+
//#region ../blocks/src/system/icons/presets.ts
|
|
1798
|
+
const ICON_PICKER_PRESETS = ["cta", "feature"];
|
|
1799
|
+
function isIconPickerPreset(value) {
|
|
1800
|
+
return typeof value === "string" && ICON_PICKER_PRESETS.includes(value);
|
|
1801
|
+
}
|
|
1802
|
+
function resolveIconPickerPreset(value) {
|
|
1803
|
+
return isIconPickerPreset(value) ? value : "cta";
|
|
1804
|
+
}
|
|
1805
|
+
//#endregion
|
|
1806
|
+
//#region ../blocks/src/system/icons/social.tsx
|
|
1807
|
+
const SOCIAL_ICON_NAMES = [
|
|
1808
|
+
"SocialFacebook",
|
|
1809
|
+
"SocialInstagram",
|
|
1810
|
+
"SocialLinkedIn",
|
|
1811
|
+
"SocialTikTok",
|
|
1812
|
+
"SocialWhatsApp",
|
|
1813
|
+
"SocialX",
|
|
1814
|
+
"SocialYouTube"
|
|
1815
|
+
];
|
|
1816
|
+
const socialIcons = {
|
|
1817
|
+
SocialFacebook: createIcon("SocialFacebookIcon", /* @__PURE__ */ jsx("path", { d: "M14 8h3V4h-3c-3 0-5 2-5 5v3H6v4h3v6h4v-6h3l1-4h-4V9c0-.7.3-1 1-1Z" })),
|
|
1818
|
+
SocialInstagram: createIcon("SocialInstagramIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1819
|
+
/* @__PURE__ */ jsx("rect", {
|
|
1820
|
+
x: "3",
|
|
1821
|
+
y: "3",
|
|
1822
|
+
width: "18",
|
|
1823
|
+
height: "18",
|
|
1824
|
+
rx: "5"
|
|
1825
|
+
}),
|
|
1826
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1827
|
+
cx: "12",
|
|
1828
|
+
cy: "12",
|
|
1829
|
+
r: "4"
|
|
1830
|
+
}),
|
|
1831
|
+
/* @__PURE__ */ jsx("circle", {
|
|
1832
|
+
cx: "17.5",
|
|
1833
|
+
cy: "6.5",
|
|
1834
|
+
r: ".75",
|
|
1835
|
+
fill: "currentColor",
|
|
1836
|
+
stroke: "none"
|
|
1837
|
+
})
|
|
1838
|
+
] })),
|
|
1839
|
+
SocialLinkedIn: createIcon("SocialLinkedInIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1840
|
+
/* @__PURE__ */ jsx("path", { d: "M6 9v10" }),
|
|
1841
|
+
/* @__PURE__ */ jsx("path", {
|
|
1842
|
+
d: "M6 5.5v.01",
|
|
1843
|
+
strokeWidth: "3"
|
|
1844
|
+
}),
|
|
1845
|
+
/* @__PURE__ */ jsx("path", { d: "M10.5 19v-6a4 4 0 0 1 8 0v6" }),
|
|
1846
|
+
/* @__PURE__ */ jsx("path", { d: "M10.5 9v10" })
|
|
1847
|
+
] })),
|
|
1848
|
+
SocialTikTok: createIcon("SocialTikTokIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M14 4v11.5a4.5 4.5 0 1 1-4-4.47" }), /* @__PURE__ */ jsx("path", { d: "M14 4c.7 3 2.4 4.5 5 4.5" })] })),
|
|
1849
|
+
SocialWhatsApp: createIcon("SocialWhatsAppIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M3.5 20.5 4.8 16.4A8.5 8.5 0 1 1 8 19.3Z" }), /* @__PURE__ */ jsx("path", { d: "M9.2 8.2c.2-.5.9-.6 1.2-.1l.8 1.4c.2.3.1.7-.2 1l-.5.5c.5 1.1 1.4 2 2.5 2.5l.5-.5c.3-.3.7-.4 1-.2l1.4.8c.5.3.4 1-.1 1.2-2.9 1.1-7.7-3.7-6.6-6.6Z" })] })),
|
|
1850
|
+
SocialX: createIcon("SocialXIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "m5 4 14 16" }), /* @__PURE__ */ jsx("path", { d: "M19 4 5 20" })] })),
|
|
1851
|
+
SocialYouTube: createIcon("SocialYouTubeIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M21 12c0 3.5-.5 5.5-1.3 6.3S16.5 19.5 12 19.5s-6.9-.4-7.7-1.2S3 15.5 3 12s.5-5.5 1.3-6.3S7.5 4.5 12 4.5s6.9.4 7.7 1.2S21 8.5 21 12Z" }), /* @__PURE__ */ jsx("path", { d: "m10 9 5 3-5 3Z" })] }))
|
|
1852
|
+
};
|
|
1853
|
+
function isSocialIconName(value) {
|
|
1854
|
+
return typeof value === "string" && SOCIAL_ICON_NAMES.includes(value);
|
|
1855
|
+
}
|
|
1856
|
+
function getSocialIconComponent(value) {
|
|
1857
|
+
return isSocialIconName(value) ? socialIcons[value] : null;
|
|
1858
|
+
}
|
|
1859
|
+
//#endregion
|
|
1860
|
+
//#region ../blocks/src/system/icons/registry.ts
|
|
1861
|
+
function buildSearchText(parts) {
|
|
1862
|
+
return parts.map((part) => part.trim()).filter(Boolean).join(" ");
|
|
1863
|
+
}
|
|
1864
|
+
function semanticDefinitionToOption(definition, preset) {
|
|
1865
|
+
return {
|
|
1866
|
+
id: definition.id,
|
|
1867
|
+
label: definition.label,
|
|
1868
|
+
searchText: buildSearchText([
|
|
1869
|
+
definition.label,
|
|
1870
|
+
definition.id,
|
|
1871
|
+
...definition.tags,
|
|
1872
|
+
...definition.domains,
|
|
1873
|
+
...definition.tone
|
|
1874
|
+
]),
|
|
1875
|
+
preset
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
const CTA_PICKER_OPTIONS = CTA_ICON_OPTIONS.map((option) => ({
|
|
1879
|
+
id: option.id,
|
|
1880
|
+
label: option.label,
|
|
1881
|
+
searchText: buildSearchText([option.label, option.id]),
|
|
1882
|
+
preset: "cta"
|
|
1883
|
+
}));
|
|
1884
|
+
function semanticOptionsForPreset(preset) {
|
|
1885
|
+
return SEMANTIC_ICON_DEFINITIONS.filter((definition) => definition.presets.includes(preset)).map((definition) => semanticDefinitionToOption(definition, preset));
|
|
1886
|
+
}
|
|
1887
|
+
const ICON_PICKER_OPTIONS_BY_PRESET = {
|
|
1888
|
+
cta: CTA_PICKER_OPTIONS,
|
|
1889
|
+
feature: semanticOptionsForPreset("feature")
|
|
1890
|
+
};
|
|
1891
|
+
function getIconPickerOptionsForPreset(preset) {
|
|
1892
|
+
return ICON_PICKER_OPTIONS_BY_PRESET[preset];
|
|
1893
|
+
}
|
|
1894
|
+
function isKnownIconName(value) {
|
|
1895
|
+
return isCtaIconName(value) || isSemanticIconId(value) || isSocialIconName(value);
|
|
1896
|
+
}
|
|
1897
|
+
function getIconComponent(name) {
|
|
1898
|
+
return getCtaIconComponent(name) ?? getSemanticIconComponent(name) ?? getSocialIconComponent(name);
|
|
1899
|
+
}
|
|
1900
|
+
//#endregion
|
|
1901
|
+
//#region ../blocks/src/system/runtime/shared/components/ThemedButton.tsx
|
|
1902
|
+
function themedButtonClasses(variant, size, extraClassName) {
|
|
1903
|
+
return [
|
|
1904
|
+
...themeButtonVariantClassNames(variant),
|
|
1905
|
+
themeButtonSizeClassName(size),
|
|
1906
|
+
extraClassName
|
|
1907
|
+
].filter(Boolean).join(" ");
|
|
1908
|
+
}
|
|
1909
|
+
function ThemedButtonLabel(props) {
|
|
1910
|
+
const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1911
|
+
props.pending ? /* @__PURE__ */ jsx(SpinnerNode, {
|
|
1912
|
+
size: props.pending.spinnerSize ?? "sm",
|
|
1913
|
+
color: "inherit",
|
|
1914
|
+
className: props.pending.spinnerClassName ?? "rb-mr-2",
|
|
1915
|
+
srLabel: props.pending.srLabel
|
|
1916
|
+
}) : null,
|
|
1917
|
+
props.labelClassName ? /* @__PURE__ */ jsx("span", {
|
|
1918
|
+
className: props.labelClassName,
|
|
1919
|
+
children: props.pending?.label ?? props.label
|
|
1920
|
+
}) : props.pending?.label ?? props.label,
|
|
1921
|
+
props.screenReaderSuffix ? /* @__PURE__ */ jsx("span", {
|
|
1922
|
+
className: "rb-sr-only",
|
|
1923
|
+
children: props.screenReaderSuffix
|
|
1924
|
+
}) : null
|
|
1925
|
+
] });
|
|
1926
|
+
return props.pending?.contentClassName ? /* @__PURE__ */ jsx("span", {
|
|
1927
|
+
className: props.pending.contentClassName,
|
|
1928
|
+
children: content
|
|
1929
|
+
}) : content;
|
|
1930
|
+
}
|
|
1931
|
+
function ThemedButton({ variant, size, extraClassName, screenReaderSuffix, labelClassName, pending, label, ...buttonProps }) {
|
|
1932
|
+
return /* @__PURE__ */ jsx("button", {
|
|
1933
|
+
...buttonProps,
|
|
1934
|
+
className: themedButtonClasses(variant, size, extraClassName),
|
|
1935
|
+
children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
|
|
1936
|
+
label,
|
|
1937
|
+
pending,
|
|
1938
|
+
screenReaderSuffix,
|
|
1939
|
+
labelClassName
|
|
1940
|
+
})
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
function ThemedButtonLink({ variant, size, extraClassName, screenReaderSuffix, labelClassName, label, ...anchorProps }) {
|
|
1944
|
+
return /* @__PURE__ */ jsx("a", {
|
|
1945
|
+
...anchorProps,
|
|
1946
|
+
className: themedButtonClasses(variant, size, extraClassName),
|
|
1947
|
+
children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
|
|
1948
|
+
label,
|
|
1949
|
+
screenReaderSuffix,
|
|
1950
|
+
labelClassName
|
|
1951
|
+
})
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
/** Noninteractive button-style preview with no caller-owned markup. */
|
|
1955
|
+
function ThemedButtonSpecimen({ variant, size, label, extraClassName, forceHover = false }) {
|
|
1956
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1957
|
+
"data-force-hover": forceHover ? "true" : void 0,
|
|
1958
|
+
className: themedButtonClasses(variant, size, extraClassName),
|
|
1959
|
+
children: label
|
|
1960
|
+
});
|
|
1961
|
+
}
|
|
1962
|
+
/** Fixed semantic download affordance; callers cannot supply arbitrary icon children. */
|
|
1963
|
+
function ThemedDownloadLink({ variant, size, extraClassName, label, screenReaderSuffix, labelClassName, ...anchorProps }) {
|
|
1964
|
+
return /* @__PURE__ */ jsxs("a", {
|
|
1965
|
+
...anchorProps,
|
|
1966
|
+
className: themedButtonClasses(variant, size, extraClassName),
|
|
1967
|
+
children: [/* @__PURE__ */ jsx(DownloadIcon, {
|
|
1968
|
+
"aria-hidden": "true",
|
|
1969
|
+
size: 24
|
|
1970
|
+
}), /* @__PURE__ */ jsx(ThemedButtonLabel, {
|
|
1971
|
+
label,
|
|
1972
|
+
screenReaderSuffix,
|
|
1973
|
+
labelClassName
|
|
1974
|
+
})]
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1977
|
+
/** Boundary for authored button nodes and their registry-backed trailing icon. */
|
|
1978
|
+
function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disabled, type = "button", target, rel, ariaLabel, dataTestId, trailingIcon, onClick }) {
|
|
1979
|
+
const affordance = resolveButtonAffordance({ trailingIcon });
|
|
1980
|
+
const Icon = affordance ? getIconComponent(affordance.iconId) : null;
|
|
1981
|
+
const className = variant ? themedButtonClasses(variant, size, Icon ? [extraClassName, themeButtonExtraClassesWithTrailingIcon()].filter(Boolean).join(" ") : extraClassName) : extraClassName ?? void 0;
|
|
1982
|
+
const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [label, Icon ? /* @__PURE__ */ jsx(Icon, {
|
|
1983
|
+
"aria-hidden": true,
|
|
1984
|
+
className: "rb-ml-2 rb-h-4 rb-w-4 rb-inline-block"
|
|
1985
|
+
}) : null] });
|
|
1986
|
+
return href ? /* @__PURE__ */ jsx("a", {
|
|
1987
|
+
href,
|
|
1988
|
+
target,
|
|
1989
|
+
rel,
|
|
1990
|
+
"aria-label": ariaLabel,
|
|
1991
|
+
"data-testid": dataTestId,
|
|
1992
|
+
className,
|
|
1993
|
+
onClick,
|
|
1994
|
+
children: content
|
|
1995
|
+
}) : /* @__PURE__ */ jsx("button", {
|
|
1996
|
+
type,
|
|
1997
|
+
disabled,
|
|
1998
|
+
"aria-label": ariaLabel,
|
|
1999
|
+
"data-testid": dataTestId,
|
|
2000
|
+
className,
|
|
2001
|
+
onClick,
|
|
2002
|
+
children: content
|
|
2003
|
+
});
|
|
2004
|
+
}
|
|
2005
|
+
//#endregion
|
|
2006
|
+
export { STANDARD_BUTTON_SURFACE_POLICY as A, unsafeAsOpaqueButtonColourToken as B, FileTextIcon as C, themeButtonSelector as D, parseThemeButtonVariantId as E, buttonSystemSchema as F, themeColorShadeSteps as G, isThemeColorToken as H, buttonVisualStatesSchema as I, parseColorTokenParts as J, themeColorTokenSchema as K, createStandardButtonSurfacePolicy as L, buttonEffectApplicationSchema as M, buttonPressOffsetSchema as N, AFFORDANCE_SUPPRESS_CLASS as O, buttonSizeNameSchema as P, opaqueButtonColourTokenSchema as R, FileSpreadsheetIcon as S, PlusIcon as T, paletteTokenNameSchema as U, PALETTE_TOKEN_NAMES as V, parseThemeColorToken as W, clsx as X, SpinnerNode as Y, CirclePlusIcon as _, ThemedDownloadLink as a, FileArchiveIcon as b, isKnownIconName as c, resolveIconPickerPreset as d, SEMANTIC_ICON_DEFINITIONS as f, CircleMinusIcon as g, ChevronDownIcon as h, ThemedButtonSpecimen as i, VARIANT_ROLES as j, DEFAULT_VARIANT_ALIAS_ID as k, ICON_PICKER_PRESETS as l, ArrowDownIcon as m, ThemedButton as n, getIconComponent as o, isSemanticIconId as p, parseBlockColorToken as q, ThemedButtonLink as r, getIconPickerOptionsForPreset as s, ThemedAuthoredButton as t, isIconPickerPreset as u, ClockIcon as v, MinusIcon as w, FileAudioIcon as x, ExternalLinkIcon as y, parseOpaqueButtonColourToken as z };
|