@riverbankcms/sdk 0.103.0 → 0.104.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/{PreviewEditorSidebar-DkNpCPja.mjs → PreviewEditorSidebar-ywqcYjTB.mjs} +148 -128
- package/dist/{PreviewEditorUI-DeNKtqk3.mjs → PreviewEditorUI-DApUNF6g.mjs} +3 -3
- package/dist/{PreviewQueryProvider-ZF6TXq5Q.mjs → PreviewQueryProvider-CStABBUh.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-5bCsXK2y.mjs → SdkPreviewModeRuntime-DmHCcIMO.mjs} +1199 -563
- package/dist/{SiteChromeCustomizeContext-CO1sTK_W.mjs → SiteChromeCustomizeContext-BV9GU-3C.mjs} +3145 -2452
- package/dist/_dts/api/src/contentRuntime.d.ts +6 -3
- package/dist/_dts/api/src/endpoints.d.ts +10 -3
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/siteIcons.d.ts +39 -43
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +36 -7
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/SliderField/sliderValue.d.ts +36 -0
- package/dist/_dts/block-form/src/widgets/utils/readNumericUiConfig.d.ts +3 -0
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +29 -29
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -0
- package/dist/_dts/blocks/src/system/icons/generatedAssets.d.ts +28 -0
- package/dist/_dts/blocks/src/system/icons/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/icons/value.d.ts +3 -6
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +240 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/generatedIconAssetsStore.d.ts +9 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +208 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -3
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +1 -5
- package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +25 -19
- package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +32 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/GeneratedIconLibraryContext.d.ts +28 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/loaders.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/CustomizeBackgroundControlRows.d.ts +15 -0
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.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 +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +44 -18
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +4 -5
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +22 -1
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +12 -4
- package/dist/_dts/sdk/src/client/management/types.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +0 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +9 -9
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -0
- package/dist/_dts/theme-core/src/palette/colors.d.ts +84 -0
- package/dist/_dts/theme-core/src/palette/{variants → curated}/brand-led.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/{variants → curated}/high-contrast.d.ts +9 -18
- package/dist/_dts/theme-core/src/palette/{variants → curated}/index.d.ts +67 -119
- package/dist/_dts/theme-core/src/palette/{variants → curated}/soft-natural.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/{variants → curated}/types.d.ts +50 -60
- package/dist/_dts/theme-core/src/palette/{variants → curated}/warm-dark.d.ts +6 -12
- package/dist/_dts/theme-core/src/palette/{variants → curated}/warm-neutral.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +45 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +25 -14
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +38 -0
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +34 -0
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +58 -0
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +241 -0
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +118 -0
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +50 -0
- package/dist/_dts/theme-core/src/palette/selection.d.ts +72 -0
- package/dist/_dts/theme-core/src/palette/sitePalettePersistence.d.ts +34 -0
- package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +58 -0
- package/dist/_dts/theme-core/src/schema.d.ts +9 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +22 -22
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +31 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +22 -16
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +6 -5
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +21 -0
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +2 -1
- package/dist/cli/index.mjs +7798 -7449
- package/dist/client/{DiscountCodeDisclosure-ChVZwVtS.mjs → DiscountCodeDisclosure-Dit2aItR.mjs} +1 -1
- package/dist/client/{EventCombined.client-PZtXbH6R.mjs → EventCombined.client-BnREyCjf.mjs} +3 -3
- package/dist/client/{EventListing.client-C4AMTXec.mjs → EventListing.client-0uHld51x.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-B0w8_i0u.mjs → LeafletStaticMap-DJcvSfmj.mjs} +1 -1
- package/dist/client/{MagicLinkForm-DF0ZGhIu.mjs → MagicLinkForm-EAsIktfw.mjs} +2 -2
- package/dist/client/{StepIndicator-PccQ89Ct.mjs → StepIndicator-CRR17tYI.mjs} +2 -2
- package/dist/client/{accordion-CTNWT1lk.mjs → accordion-B47HIuuH.mjs} +1 -1
- package/dist/client/{bookingForm-DYixwPqP.mjs → bookingForm-I1E-8F9P.mjs} +6 -6
- package/dist/client/{buttons-CySQwlFs.mjs → buttons-BbPn8OKA.mjs} +1 -1
- package/dist/client/{carousel-W75iYR0M.mjs → carousel-OlM7SyBs.mjs} +1 -1
- package/dist/client/{cart-Ca_DGWQq.mjs → cart-BKpG5jz6.mjs} +3 -3
- package/dist/client/{checkout-STgKTsNh.mjs → checkout-Dmmr6qoU.mjs} +3 -3
- package/dist/client/client.mjs +8699 -8320
- package/dist/client/{courseRegistration-DQI1cu1u.mjs → courseRegistration-CflZiqGk.mjs} +7 -7
- package/dist/client/{eventCalendar-BJrHpofg.mjs → eventCalendar-BvoLWcp-.mjs} +5 -5
- package/dist/client/{eventCombined-DPtqBHaH.mjs → eventCombined-DsrO8t_t.mjs} +2 -2
- package/dist/client/{eventDetails-Brt31CDo.mjs → eventDetails-C3hxgcJm.mjs} +3 -3
- package/dist/client/{eventListing-BrClHJOq.mjs → eventListing-C-hb237X.mjs} +2 -2
- package/dist/client/{eventRegistration-DxlNlVUC.mjs → eventRegistration-B0gyzDGi.mjs} +7 -7
- package/dist/client/{form-Vp5cGzDF.mjs → form-C_RUi6oJ.mjs} +2 -2
- package/dist/client/{headerSection-DL2xjRgW.mjs → headerSection-IKQiD2U0.mjs} +3 -3
- package/dist/client/hooks.mjs +4837 -4663
- package/dist/client/{locationMap-B0EjoXQS.mjs → locationMap-8ZBrMzRJ.mjs} +2 -2
- package/dist/client/{newsletterForm-BlV9VRlq.mjs → newsletterForm-CYk3ucwj.mjs} +2 -2
- package/dist/client/{pricing-DmRD7Tjx.mjs → pricing-B5GmvfIH.mjs} +1 -1
- package/dist/client/{productDetail-BLTQsY2f.mjs → productDetail-BjS2Dqzo.mjs} +3 -3
- package/dist/client/{productList-R8lsMpRs.mjs → productList-BOHvC8My.mjs} +3 -3
- package/dist/client/{propsDecoder-DgAshF92.mjs → propsDecoder-WS6UEJwZ.mjs} +7 -0
- package/dist/client/rendering/client.mjs +3607 -3281
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +8562 -8190
- package/dist/client/{shop-DWjyje1s.mjs → shop-CON03-wN.mjs} +6 -6
- package/dist/client/{shop-commerce-CSKCR87d.mjs → shop-commerce-DlqrFgH8.mjs} +5 -5
- package/dist/client/{shop-commerce-store-DxPnE-iN.mjs → shop-commerce-store-l74-Kne6.mjs} +1 -1
- package/dist/client/{shopShared-OOeAkFq7.mjs → shopShared-CQheEXSg.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Bp6X7XgG.mjs → useDiscountCodeUi-v6OluyWl.mjs} +1 -1
- package/dist/client/{useEventFilters-B489x9TO.mjs → useEventFilters-BqSTcNOf.mjs} +3 -3
- package/dist/client/{usePolling-BKP66stL.mjs → usePolling-DMfADjIF.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +10 -3
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +10 -3
- package/dist/{previewAuthStore-ByPPZqmp.mjs → previewAuthStore-CfquDtTh.mjs} +10 -3
- package/dist/{sdk-runtime-C8whifOy.mjs → sdk-runtime-DWb08Xaz.mjs} +2 -2
- package/dist/{separator-CM2C5Axs.mjs → separator--6yjc914.mjs} +1 -1
- package/dist/server/components.mjs +9863 -9557
- package/dist/server/config-validation.mjs +4861 -4687
- package/dist/server/config.mjs +4861 -4687
- package/dist/server/data.mjs +4838 -4664
- package/dist/server/index.mjs +11 -4
- package/dist/server/next.mjs +8657 -8344
- package/dist/server/page-converter.mjs +4749 -4575
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +9808 -9586
- package/dist/server/rendering.mjs +9872 -9566
- package/dist/server/routing.mjs +4967 -4704
- package/dist/server/server.mjs +4845 -4664
- package/dist/server/theme-bridge.mjs +207 -114
- package/dist/server/theme.mjs +92 -91
- package/dist/styles/index.css +20 -0
- package/package.json +1 -1
package/dist/server/theme.mjs
CHANGED
|
@@ -1,96 +1,6 @@
|
|
|
1
1
|
import z, { z as z$1 } from "zod";
|
|
2
2
|
import * as fs from "fs/promises";
|
|
3
3
|
import * as path from "path";
|
|
4
|
-
//#region ../theme-core/src/site-styles/styleTags.ts
|
|
5
|
-
/**
|
|
6
|
-
* Descriptive style-axis metadata for button personalities and palette
|
|
7
|
-
* variants. Site Style picker shape is curated explicitly; these tags remain
|
|
8
|
-
* for catalog audit, docs, and future discovery tooling.
|
|
9
|
-
*/
|
|
10
|
-
const STYLE_AXIS_VALUES = {
|
|
11
|
-
tone: [
|
|
12
|
-
"minimal",
|
|
13
|
-
"classic",
|
|
14
|
-
"bold"
|
|
15
|
-
],
|
|
16
|
-
energy: ["calm", "vibrant"],
|
|
17
|
-
motion: [
|
|
18
|
-
"subtle",
|
|
19
|
-
"standard",
|
|
20
|
-
"expressive"
|
|
21
|
-
],
|
|
22
|
-
era: [
|
|
23
|
-
"editorial",
|
|
24
|
-
"modern",
|
|
25
|
-
"organic",
|
|
26
|
-
"technical",
|
|
27
|
-
"retro"
|
|
28
|
-
]
|
|
29
|
-
};
|
|
30
|
-
const styleTagsSchema = z$1.object({
|
|
31
|
-
tone: z$1.enum(STYLE_AXIS_VALUES.tone).optional(),
|
|
32
|
-
energy: z$1.enum(STYLE_AXIS_VALUES.energy).optional(),
|
|
33
|
-
motion: z$1.enum(STYLE_AXIS_VALUES.motion).optional(),
|
|
34
|
-
era: z$1.enum(STYLE_AXIS_VALUES.era).optional()
|
|
35
|
-
});
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region ../theme-core/src/lib/media.ts
|
|
38
|
-
const hotspotSchema = z.object({
|
|
39
|
-
x: z.number().min(0).max(1),
|
|
40
|
-
y: z.number().min(0).max(1),
|
|
41
|
-
radius: z.number().optional()
|
|
42
|
-
});
|
|
43
|
-
const rotationSchema = z.union([
|
|
44
|
-
z.literal(0),
|
|
45
|
-
z.literal(90),
|
|
46
|
-
z.literal(180),
|
|
47
|
-
z.literal(270)
|
|
48
|
-
]);
|
|
49
|
-
const rectSchema = z.tuple([
|
|
50
|
-
z.number(),
|
|
51
|
-
z.number(),
|
|
52
|
-
z.number(),
|
|
53
|
-
z.number()
|
|
54
|
-
]);
|
|
55
|
-
const aspectCropSchema = z.object({
|
|
56
|
-
aspect: z.preprocess((value) => value == null ? void 0 : value, z.string().optional()),
|
|
57
|
-
rect: z.preprocess((value) => value == null ? void 0 : value, rectSchema.optional()),
|
|
58
|
-
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
59
|
-
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
60
|
-
});
|
|
61
|
-
const transformSchema = z.object({
|
|
62
|
-
aspectCrops: z.preprocess((value) => {
|
|
63
|
-
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
64
|
-
return value;
|
|
65
|
-
}, z.record(z.string(), aspectCropSchema.catch({}))).optional(),
|
|
66
|
-
rect: rectSchema.optional(),
|
|
67
|
-
hotspot: hotspotSchema.optional(),
|
|
68
|
-
rotation: rotationSchema.optional()
|
|
69
|
-
});
|
|
70
|
-
const mediaSchema = z.object({
|
|
71
|
-
type: z.enum([
|
|
72
|
-
"image",
|
|
73
|
-
"video",
|
|
74
|
-
"audio",
|
|
75
|
-
"document",
|
|
76
|
-
"spreadsheet",
|
|
77
|
-
"archive"
|
|
78
|
-
]),
|
|
79
|
-
purpose: z.string().optional(),
|
|
80
|
-
placeholder: z.boolean().default(true).optional(),
|
|
81
|
-
assetId: z.string().optional(),
|
|
82
|
-
identifier: z.string().optional(),
|
|
83
|
-
src: z.string().optional(),
|
|
84
|
-
alt: z.string().optional(),
|
|
85
|
-
filename: z.string().optional(),
|
|
86
|
-
mimeType: z.string().optional(),
|
|
87
|
-
width: z.number().optional(),
|
|
88
|
-
height: z.number().optional(),
|
|
89
|
-
storageBucket: z.string().optional(),
|
|
90
|
-
storagePath: z.string().optional(),
|
|
91
|
-
transform: transformSchema.optional()
|
|
92
|
-
});
|
|
93
|
-
//#endregion
|
|
94
4
|
//#region ../theme-core/src/tokens/colorTokenParts.ts
|
|
95
5
|
function parseOpacityPercent(source) {
|
|
96
6
|
const trimmed = source.trim();
|
|
@@ -224,6 +134,96 @@ function isThemeColorToken(value) {
|
|
|
224
134
|
}
|
|
225
135
|
const themeColorTokenSchema = z$1.string().min(1).refine((value) => Boolean(isThemeColorToken(value)), "Expected a known Theme V2 color token");
|
|
226
136
|
//#endregion
|
|
137
|
+
//#region ../theme-core/src/site-styles/styleTags.ts
|
|
138
|
+
/**
|
|
139
|
+
* Descriptive style-axis metadata for button personalities and palette
|
|
140
|
+
* variants. Site Style picker shape is curated explicitly; these tags remain
|
|
141
|
+
* for catalog audit, docs, and future discovery tooling.
|
|
142
|
+
*/
|
|
143
|
+
const STYLE_AXIS_VALUES = {
|
|
144
|
+
tone: [
|
|
145
|
+
"minimal",
|
|
146
|
+
"classic",
|
|
147
|
+
"bold"
|
|
148
|
+
],
|
|
149
|
+
energy: ["calm", "vibrant"],
|
|
150
|
+
motion: [
|
|
151
|
+
"subtle",
|
|
152
|
+
"standard",
|
|
153
|
+
"expressive"
|
|
154
|
+
],
|
|
155
|
+
era: [
|
|
156
|
+
"editorial",
|
|
157
|
+
"modern",
|
|
158
|
+
"organic",
|
|
159
|
+
"technical",
|
|
160
|
+
"retro"
|
|
161
|
+
]
|
|
162
|
+
};
|
|
163
|
+
const styleTagsSchema = z$1.object({
|
|
164
|
+
tone: z$1.enum(STYLE_AXIS_VALUES.tone).optional(),
|
|
165
|
+
energy: z$1.enum(STYLE_AXIS_VALUES.energy).optional(),
|
|
166
|
+
motion: z$1.enum(STYLE_AXIS_VALUES.motion).optional(),
|
|
167
|
+
era: z$1.enum(STYLE_AXIS_VALUES.era).optional()
|
|
168
|
+
});
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region ../theme-core/src/lib/media.ts
|
|
171
|
+
const hotspotSchema = z.object({
|
|
172
|
+
x: z.number().min(0).max(1),
|
|
173
|
+
y: z.number().min(0).max(1),
|
|
174
|
+
radius: z.number().optional()
|
|
175
|
+
});
|
|
176
|
+
const rotationSchema = z.union([
|
|
177
|
+
z.literal(0),
|
|
178
|
+
z.literal(90),
|
|
179
|
+
z.literal(180),
|
|
180
|
+
z.literal(270)
|
|
181
|
+
]);
|
|
182
|
+
const rectSchema = z.tuple([
|
|
183
|
+
z.number(),
|
|
184
|
+
z.number(),
|
|
185
|
+
z.number(),
|
|
186
|
+
z.number()
|
|
187
|
+
]);
|
|
188
|
+
const aspectCropSchema = z.object({
|
|
189
|
+
aspect: z.preprocess((value) => value == null ? void 0 : value, z.string().optional()),
|
|
190
|
+
rect: z.preprocess((value) => value == null ? void 0 : value, rectSchema.optional()),
|
|
191
|
+
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
192
|
+
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
193
|
+
});
|
|
194
|
+
const transformSchema = z.object({
|
|
195
|
+
aspectCrops: z.preprocess((value) => {
|
|
196
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
197
|
+
return value;
|
|
198
|
+
}, z.record(z.string(), aspectCropSchema.catch({}))).optional(),
|
|
199
|
+
rect: rectSchema.optional(),
|
|
200
|
+
hotspot: hotspotSchema.optional(),
|
|
201
|
+
rotation: rotationSchema.optional()
|
|
202
|
+
});
|
|
203
|
+
const mediaSchema = z.object({
|
|
204
|
+
type: z.enum([
|
|
205
|
+
"image",
|
|
206
|
+
"video",
|
|
207
|
+
"audio",
|
|
208
|
+
"document",
|
|
209
|
+
"spreadsheet",
|
|
210
|
+
"archive"
|
|
211
|
+
]),
|
|
212
|
+
purpose: z.string().optional(),
|
|
213
|
+
placeholder: z.boolean().default(true).optional(),
|
|
214
|
+
assetId: z.string().optional(),
|
|
215
|
+
identifier: z.string().optional(),
|
|
216
|
+
src: z.string().optional(),
|
|
217
|
+
alt: z.string().optional(),
|
|
218
|
+
filename: z.string().optional(),
|
|
219
|
+
mimeType: z.string().optional(),
|
|
220
|
+
width: z.number().optional(),
|
|
221
|
+
height: z.number().optional(),
|
|
222
|
+
storageBucket: z.string().optional(),
|
|
223
|
+
storagePath: z.string().optional(),
|
|
224
|
+
transform: transformSchema.optional()
|
|
225
|
+
});
|
|
226
|
+
//#endregion
|
|
227
227
|
//#region ../theme-core/src/buttons/types.ts
|
|
228
228
|
/**
|
|
229
229
|
* Standard semantic variant roles a theme exposes.
|
|
@@ -2211,7 +2211,8 @@ const navLinkTextSizeSchema = z$1.enum([
|
|
|
2211
2211
|
"xs",
|
|
2212
2212
|
"sm",
|
|
2213
2213
|
"base",
|
|
2214
|
-
"lg"
|
|
2214
|
+
"lg",
|
|
2215
|
+
"xl"
|
|
2215
2216
|
]);
|
|
2216
2217
|
/**
|
|
2217
2218
|
* Letter spacing options for nav links.
|
package/dist/styles/index.css
CHANGED
|
@@ -10755,11 +10755,31 @@
|
|
|
10755
10755
|
object-fit: contain;
|
|
10756
10756
|
}
|
|
10757
10757
|
|
|
10758
|
+
:where(.theme-scope) .rb-feature-card-icon-zone--generated {
|
|
10759
|
+
align-self: center;
|
|
10760
|
+
inline-size: min(var(--rb-feature-card-generated-icon-size, 75px), 100%);
|
|
10761
|
+
max-inline-size: 100%;
|
|
10762
|
+
block-size: auto;
|
|
10763
|
+
aspect-ratio: 1;
|
|
10764
|
+
margin-inline: auto;
|
|
10765
|
+
padding: 0;
|
|
10766
|
+
border: 0;
|
|
10767
|
+
border-radius: 0;
|
|
10768
|
+
background: transparent;
|
|
10769
|
+
box-shadow: none;
|
|
10770
|
+
}
|
|
10771
|
+
|
|
10758
10772
|
:where(.theme-scope) .rb-feature-card-icon-zone--plain .rb-feature-card-icon {
|
|
10759
10773
|
width: 1.5rem;
|
|
10760
10774
|
height: 1.5rem;
|
|
10761
10775
|
}
|
|
10762
10776
|
|
|
10777
|
+
:where(.theme-scope) .rb-feature-card-icon-zone--generated .rb-feature-card-icon--generated {
|
|
10778
|
+
inline-size: 100%;
|
|
10779
|
+
max-inline-size: 100%;
|
|
10780
|
+
block-size: 100%;
|
|
10781
|
+
}
|
|
10782
|
+
|
|
10763
10783
|
/* --- Card marker mode (icons / numbers / none) -----------------------------
|
|
10764
10784
|
*
|
|
10765
10785
|
* The icon zone and the number zone both sit in the DOM; the grid's
|