@riverbankcms/sdk 0.104.3 → 0.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -51
- package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
- package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +2144 -393
- package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +3825 -2653
- package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1339
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +6 -15
- package/dist/_dts/api/src/courses.d.ts +68 -10
- package/dist/_dts/api/src/endpoints.d.ts +29 -0
- package/dist/_dts/api/src/index.d.ts +124 -124
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +116 -6
- package/dist/_dts/api/src/siteOperations.d.ts +1 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +26 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +31 -46
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
- package/dist/_dts/core/src/branded.d.ts +44 -0
- package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
- package/dist/_dts/core/src/index.d.ts +49 -47
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1452 -15
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
- package/dist/_dts/media-core/src/index.d.ts +2 -1
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
- package/dist/_dts/media-core/src/url.d.ts +1 -21
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
- package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +132 -23
- package/dist/_dts/sdk/src/client/types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
- package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
- package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
- package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
- package/dist/_dts/sdk/src/data/index.d.ts +3 -3
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
- package/dist/_dts/sdk/src/data/types.d.ts +43 -78
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +10 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -8
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/server.d.ts +4 -3
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commands.d.ts +921 -30
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -5
- package/dist/_dts/theme-core/src/data.d.ts +12 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -24
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
- package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
- package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
- package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
- package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
- package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
- package/dist/_dts/theme-core/src/schema.d.ts +121 -4
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
- package/dist/cli/index.mjs +3155 -1701
- package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
- package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-JnWE6Hzc.mjs} +3 -3
- package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
- package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
- package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
- package/dist/client/{accordion-CSJcTUyH.mjs → accordion-DAIBVpTS.mjs} +1 -1
- package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
- package/dist/client/bookings.mjs +239 -110
- package/dist/client/{buttons-DfYyqt8C.mjs → buttons-DJgynGHQ.mjs} +122 -58
- package/dist/client/{carousel-fMBb0JSc.mjs → carousel-D-SLfX8r.mjs} +1 -1
- package/dist/client/{cart-BtaCwT3S.mjs → cart-CEgbgJhX.mjs} +3 -3
- package/dist/client/{checkout-DkTwZSnh.mjs → checkout-CXWrCRAA.mjs} +3 -3
- package/dist/client/client.mjs +4300 -1560
- package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
- package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-DCuyPY_c.mjs} +29 -21
- package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
- package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
- package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-CcHF87BI.mjs} +2 -2
- package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
- package/dist/client/{form-BvAcKiuu.mjs → form-CH1lCusH.mjs} +2 -2
- package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CBPFZoku.mjs} +3 -3
- package/dist/client/hooks.mjs +2958 -1848
- package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
- package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
- package/dist/client/{pricing-DIYnyHOk.mjs → pricing-BIbzmV0G.mjs} +1 -1
- package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-BTh5gHBV.mjs} +3 -3
- package/dist/client/{productList-Vsguq5Xt.mjs → productList-Cc7OMrqN.mjs} +3 -3
- package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-oR-M-ISN.mjs} +192 -59
- package/dist/client/rendering/client.mjs +2031 -1239
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +4889 -1712
- package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CQ_YbCnn.mjs} +8 -8
- package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
- package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
- package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
- package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
- package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-jcVryNgZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +40 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +40 -1
- package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-BPcJPzdz.mjs} +40 -1
- package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
- package/dist/{separator-BhAR_Xmf.mjs → separator-BoMSQnsP.mjs} +1 -1
- package/dist/server/components.mjs +4661 -2162
- package/dist/server/config-validation.mjs +2728 -1847
- package/dist/server/config.mjs +2728 -1847
- package/dist/server/data.mjs +3381 -1915
- package/dist/server/index.mjs +46 -4
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +5555 -2225
- package/dist/server/page-converter.mjs +3058 -2182
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4850 -2125
- package/dist/server/rendering.mjs +5664 -2464
- package/dist/server/routing.mjs +3027 -1509
- package/dist/server/server.mjs +3844 -2217
- package/dist/server/theme-bridge.mjs +9121 -7765
- package/dist/server/theme.mjs +152 -59
- package/dist/styles/index.css +1217 -31
- package/package.json +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as themeColorTokenSchema } from "./propsDecoder-oR-M-ISN.mjs";
|
|
2
2
|
import { z as z$1 } from "zod";
|
|
3
3
|
//#region ../theme-core/src/buttons/types.ts
|
|
4
4
|
/**
|
|
@@ -120,7 +120,14 @@ const buttonSizesSchema = z$1.object({
|
|
|
120
120
|
const buttonGlobalSettingsSchema = z$1.object({
|
|
121
121
|
cornerStyle: cornerStyleSchema,
|
|
122
122
|
cornerRadius: z$1.number().min(0).max(24).optional(),
|
|
123
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Family-level shadow inherited by variants that don't set their own.
|
|
125
|
+
* Optional and flat-by-default: when omitted, buttons carry no drop shadow
|
|
126
|
+
* (`elevation: 'none'`). A personality opts the whole family into a shadow by
|
|
127
|
+
* setting this; individual variants still override. There is no system-level
|
|
128
|
+
* shadow-by-default — shadows only appear when explicitly declared.
|
|
129
|
+
*/
|
|
130
|
+
shadow: shadowSizeSchema.optional(),
|
|
124
131
|
textTransform: textTransformSchema,
|
|
125
132
|
fontWeight: fontWeightSchema,
|
|
126
133
|
/**
|
|
@@ -708,7 +715,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
708
715
|
buttonSystem: {
|
|
709
716
|
global: {
|
|
710
717
|
cornerStyle: "square",
|
|
711
|
-
shadow: "none",
|
|
712
718
|
textTransform: "none",
|
|
713
719
|
fontWeight: 500,
|
|
714
720
|
borderWidth: 1,
|
|
@@ -724,11 +730,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
724
730
|
background: { type: "transparent" },
|
|
725
731
|
textColorToken: "text",
|
|
726
732
|
borderRadius: "rounded-none",
|
|
727
|
-
shadow: {
|
|
728
|
-
elevation: "none",
|
|
729
|
-
softness: null,
|
|
730
|
-
position: "bottom"
|
|
731
|
-
},
|
|
732
733
|
sizes: {
|
|
733
734
|
sm: { padding: "0.25rem 0" },
|
|
734
735
|
md: { padding: "0.5rem 0" },
|
|
@@ -752,11 +753,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
752
753
|
background: { type: "transparent" },
|
|
753
754
|
textColorToken: "mutedText",
|
|
754
755
|
borderRadius: "rounded-none",
|
|
755
|
-
shadow: {
|
|
756
|
-
elevation: "none",
|
|
757
|
-
softness: null,
|
|
758
|
-
position: "bottom"
|
|
759
|
-
},
|
|
760
756
|
sizes: {
|
|
761
757
|
sm: { padding: "0.25rem 0" },
|
|
762
758
|
md: { padding: "0.5rem 0" },
|
|
@@ -780,11 +776,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
780
776
|
background: { type: "transparent" },
|
|
781
777
|
textColorToken: "accent",
|
|
782
778
|
borderRadius: "rounded-none",
|
|
783
|
-
shadow: {
|
|
784
|
-
elevation: "none",
|
|
785
|
-
softness: null,
|
|
786
|
-
position: "bottom"
|
|
787
|
-
},
|
|
788
779
|
sizes: {
|
|
789
780
|
sm: { padding: "0.25rem 0" },
|
|
790
781
|
md: { padding: "0.5rem 0" },
|
|
@@ -808,11 +799,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
808
799
|
background: { type: "transparent" },
|
|
809
800
|
textColorToken: "mutedText",
|
|
810
801
|
borderRadius: "rounded-none",
|
|
811
|
-
shadow: {
|
|
812
|
-
elevation: "none",
|
|
813
|
-
softness: null,
|
|
814
|
-
position: "bottom"
|
|
815
|
-
},
|
|
816
802
|
sizes: {
|
|
817
803
|
sm: { padding: "0.25rem 0" },
|
|
818
804
|
md: { padding: "0.5rem 0" },
|
|
@@ -850,7 +836,6 @@ const flatInk = defineButtonPersonality({
|
|
|
850
836
|
buttonSystem: {
|
|
851
837
|
global: {
|
|
852
838
|
cornerStyle: "rounded",
|
|
853
|
-
shadow: "low",
|
|
854
839
|
textTransform: "none",
|
|
855
840
|
fontWeight: 600,
|
|
856
841
|
borderWidth: 1,
|
|
@@ -891,11 +876,6 @@ const flatInk = defineButtonPersonality({
|
|
|
891
876
|
iconId: "ArrowRight",
|
|
892
877
|
colorToken: "accent"
|
|
893
878
|
},
|
|
894
|
-
shadow: {
|
|
895
|
-
elevation: "none",
|
|
896
|
-
softness: null,
|
|
897
|
-
position: "bottom"
|
|
898
|
-
},
|
|
899
879
|
effects: { hover: [{
|
|
900
880
|
effectId: "lift",
|
|
901
881
|
options: { translateY: "-2px" }
|
|
@@ -916,11 +896,6 @@ const flatInk = defineButtonPersonality({
|
|
|
916
896
|
widthClass: "border",
|
|
917
897
|
colorToken: "border"
|
|
918
898
|
},
|
|
919
|
-
shadow: {
|
|
920
|
-
elevation: "none",
|
|
921
|
-
softness: null,
|
|
922
|
-
position: "bottom"
|
|
923
|
-
},
|
|
924
899
|
effects: { hover: [{
|
|
925
900
|
effectId: "lift",
|
|
926
901
|
options: { translateY: "-2px" }
|
|
@@ -940,11 +915,6 @@ const flatInk = defineButtonPersonality({
|
|
|
940
915
|
},
|
|
941
916
|
textColorToken: "accentForeground",
|
|
942
917
|
borderRadius: "rounded-lg",
|
|
943
|
-
shadow: {
|
|
944
|
-
elevation: "none",
|
|
945
|
-
softness: null,
|
|
946
|
-
position: "bottom"
|
|
947
|
-
},
|
|
948
918
|
affordance: {
|
|
949
919
|
iconId: "ArrowRight",
|
|
950
920
|
colorToken: "accentForeground"
|
|
@@ -976,7 +946,6 @@ const inkStamp = defineButtonPersonality({
|
|
|
976
946
|
buttonSystem: {
|
|
977
947
|
global: {
|
|
978
948
|
cornerStyle: "rounded",
|
|
979
|
-
shadow: "none",
|
|
980
949
|
textTransform: "uppercase",
|
|
981
950
|
fontWeight: 600,
|
|
982
951
|
borderWidth: 1,
|
|
@@ -1211,7 +1180,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1211
1180
|
buttonSystem: {
|
|
1212
1181
|
global: {
|
|
1213
1182
|
cornerStyle: "rounded",
|
|
1214
|
-
shadow: "none",
|
|
1215
1183
|
textTransform: "uppercase",
|
|
1216
1184
|
fontWeight: 600,
|
|
1217
1185
|
borderWidth: 1,
|
|
@@ -1253,11 +1221,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1253
1221
|
widthClass: "border",
|
|
1254
1222
|
colorToken: "primary"
|
|
1255
1223
|
},
|
|
1256
|
-
shadow: {
|
|
1257
|
-
elevation: "none",
|
|
1258
|
-
softness: null,
|
|
1259
|
-
position: "bottom"
|
|
1260
|
-
},
|
|
1261
1224
|
effects: {
|
|
1262
1225
|
hover: [{
|
|
1263
1226
|
effectId: "background-on-hover",
|
|
@@ -1284,11 +1247,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1284
1247
|
widthClass: "border",
|
|
1285
1248
|
colorToken: "primary"
|
|
1286
1249
|
},
|
|
1287
|
-
shadow: {
|
|
1288
|
-
elevation: "none",
|
|
1289
|
-
softness: null,
|
|
1290
|
-
position: "bottom"
|
|
1291
|
-
},
|
|
1292
1250
|
effects: { hover: [{
|
|
1293
1251
|
effectId: "background-on-hover",
|
|
1294
1252
|
options: { colorToken: "surface" }
|
|
@@ -1306,11 +1264,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1306
1264
|
widthClass: "border",
|
|
1307
1265
|
colorToken: "primary"
|
|
1308
1266
|
},
|
|
1309
|
-
shadow: {
|
|
1310
|
-
elevation: "none",
|
|
1311
|
-
softness: null,
|
|
1312
|
-
position: "bottom"
|
|
1313
|
-
},
|
|
1314
1267
|
effects: { hover: [{
|
|
1315
1268
|
effectId: "background-on-hover",
|
|
1316
1269
|
options: { colorToken: "muted" }
|
|
@@ -1373,7 +1326,6 @@ const pebble = defineButtonPersonality({
|
|
|
1373
1326
|
buttonSystem: {
|
|
1374
1327
|
global: {
|
|
1375
1328
|
cornerStyle: "pill",
|
|
1376
|
-
shadow: "none",
|
|
1377
1329
|
textTransform: "none",
|
|
1378
1330
|
fontWeight: 500,
|
|
1379
1331
|
borderWidth: 2,
|
|
@@ -1481,6 +1433,117 @@ const pebble = defineButtonPersonality({
|
|
|
1481
1433
|
}
|
|
1482
1434
|
});
|
|
1483
1435
|
//#endregion
|
|
1436
|
+
//#region ../theme-core/src/buttons/personalities/quiet-arrow.ts
|
|
1437
|
+
/**
|
|
1438
|
+
* Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
|
|
1439
|
+
* Primary and secondary keep stable semantic colours; surrounding surfaces are
|
|
1440
|
+
* responsible for contrast rather than reversing the button roles.
|
|
1441
|
+
*/
|
|
1442
|
+
const quietArrow = defineButtonPersonality({
|
|
1443
|
+
id: "quiet-arrow",
|
|
1444
|
+
name: "Quiet Arrow",
|
|
1445
|
+
description: "Wide, flat arrow buttons with a solid primary and a primary-colour outlined secondary.",
|
|
1446
|
+
tags: {
|
|
1447
|
+
tone: "classic",
|
|
1448
|
+
energy: "calm",
|
|
1449
|
+
motion: "subtle",
|
|
1450
|
+
era: "editorial"
|
|
1451
|
+
},
|
|
1452
|
+
buttonSystem: {
|
|
1453
|
+
global: {
|
|
1454
|
+
cornerStyle: "rounded",
|
|
1455
|
+
textTransform: "uppercase",
|
|
1456
|
+
fontWeight: 500,
|
|
1457
|
+
borderWidth: 1,
|
|
1458
|
+
typography: "body",
|
|
1459
|
+
fontSize: "text-sm",
|
|
1460
|
+
letterSpacing: "loose",
|
|
1461
|
+
hoverTransform: "none",
|
|
1462
|
+
hoverColor: "none"
|
|
1463
|
+
},
|
|
1464
|
+
sizes: {
|
|
1465
|
+
sm: {
|
|
1466
|
+
padding: "0.625rem 1.25rem",
|
|
1467
|
+
fontSize: "text-xs"
|
|
1468
|
+
},
|
|
1469
|
+
md: {
|
|
1470
|
+
padding: "0.8125rem 1.75rem",
|
|
1471
|
+
fontSize: "text-sm"
|
|
1472
|
+
},
|
|
1473
|
+
lg: {
|
|
1474
|
+
padding: "0.9375rem 2.125rem",
|
|
1475
|
+
fontSize: "text-sm"
|
|
1476
|
+
},
|
|
1477
|
+
xl: {
|
|
1478
|
+
padding: "1.0625rem 2.5rem",
|
|
1479
|
+
fontSize: "text-base"
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
variants: [
|
|
1483
|
+
{
|
|
1484
|
+
id: "primary",
|
|
1485
|
+
name: "Primary",
|
|
1486
|
+
enabled: true,
|
|
1487
|
+
priority: 1,
|
|
1488
|
+
background: {
|
|
1489
|
+
type: "solid",
|
|
1490
|
+
colorToken: "primary"
|
|
1491
|
+
},
|
|
1492
|
+
textColorToken: "primaryForeground",
|
|
1493
|
+
borderRadius: "rounded-xl",
|
|
1494
|
+
affordance: { iconId: "ArrowRight" },
|
|
1495
|
+
effects: { hover: [{
|
|
1496
|
+
effectId: "background-on-hover-alpha",
|
|
1497
|
+
options: {
|
|
1498
|
+
colorToken: "primary",
|
|
1499
|
+
opacity: 90
|
|
1500
|
+
}
|
|
1501
|
+
}] }
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
id: "secondary",
|
|
1505
|
+
name: "Secondary",
|
|
1506
|
+
enabled: true,
|
|
1507
|
+
priority: 2,
|
|
1508
|
+
background: { type: "transparent" },
|
|
1509
|
+
textColorToken: "primary",
|
|
1510
|
+
borderRadius: "rounded-xl",
|
|
1511
|
+
border: {
|
|
1512
|
+
widthClass: "border",
|
|
1513
|
+
colorToken: "primary"
|
|
1514
|
+
},
|
|
1515
|
+
affordance: { iconId: "ArrowRight" },
|
|
1516
|
+
effects: { hover: [{
|
|
1517
|
+
effectId: "background-on-hover",
|
|
1518
|
+
options: { colorToken: "surfaceAlt" }
|
|
1519
|
+
}] }
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
id: "outline",
|
|
1523
|
+
name: "Outline",
|
|
1524
|
+
enabled: true,
|
|
1525
|
+
priority: 3,
|
|
1526
|
+
background: { type: "transparent" },
|
|
1527
|
+
textColorToken: "primary",
|
|
1528
|
+
borderRadius: "rounded-xl",
|
|
1529
|
+
border: {
|
|
1530
|
+
widthClass: "border",
|
|
1531
|
+
colorToken: "primary"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
id: "ghost",
|
|
1536
|
+
name: "Ghost",
|
|
1537
|
+
enabled: true,
|
|
1538
|
+
priority: 3,
|
|
1539
|
+
background: { type: "transparent" },
|
|
1540
|
+
textColorToken: "primary",
|
|
1541
|
+
borderRadius: "rounded-xl"
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
//#endregion
|
|
1484
1547
|
//#region ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
1485
1548
|
/**
|
|
1486
1549
|
* Showtime Pill — bold, spacious, fully rounded buttons with playful pop
|
|
@@ -1732,7 +1795,8 @@ const buttonPersonalities = [
|
|
|
1732
1795
|
brushedWash,
|
|
1733
1796
|
showtimePill,
|
|
1734
1797
|
joyStamp,
|
|
1735
|
-
ornateRitual
|
|
1798
|
+
ornateRitual,
|
|
1799
|
+
quietArrow
|
|
1736
1800
|
];
|
|
1737
1801
|
new Map(buttonPersonalities.map((p) => [p.id, p]));
|
|
1738
1802
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
|
|
2
2
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
3
3
|
import { n as normalizeCarouselProps, t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
|
|
4
4
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
|
|
2
|
+
import { t as CartController } from "./shop-commerce-BM-AoD3M.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-D0SKO2Cu.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-BM-AoD3M.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-D0SKO2Cu.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|