@getvitops/generator 8.3.0-alpha.4 → 8.3.0-alpha.5
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/CHANGELOG.md +34 -0
- package/assets/css/index.css +1 -0
- package/assets/css/patterns/masthead.css +201 -0
- package/assets/css/patterns/sitenav.css +103 -0
- package/config.schema.json +221 -4
- package/dist/config-BaMpGSUZ.mjs +1856 -0
- package/dist/config-BaMpGSUZ.mjs.map +1 -0
- package/dist/config-C1p83v26.mjs +1832 -0
- package/dist/config-C1p83v26.mjs.map +1 -0
- package/dist/config.d.mts +258 -0
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +14 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/config.d.mts
CHANGED
|
@@ -346,6 +346,72 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
346
346
|
breakpoints: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
347
347
|
}, z.core.$strict>>;
|
|
348
348
|
}, z.core.$strict>>;
|
|
349
|
+
chrome: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
350
|
+
masthead: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
351
|
+
position: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
352
|
+
static: "static";
|
|
353
|
+
sticky: "sticky";
|
|
354
|
+
fixed: "fixed";
|
|
355
|
+
}>>;
|
|
356
|
+
behavior: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
357
|
+
always: "always";
|
|
358
|
+
"hide-on-scroll": "hide-on-scroll";
|
|
359
|
+
}>>;
|
|
360
|
+
surface: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
361
|
+
solid: "solid";
|
|
362
|
+
glass: "glass";
|
|
363
|
+
transparent: "transparent";
|
|
364
|
+
"transparent-until-scrolled": "transparent-until-scrolled";
|
|
365
|
+
}>>;
|
|
366
|
+
tone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
367
|
+
layout: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
368
|
+
full: "full";
|
|
369
|
+
inset: "inset";
|
|
370
|
+
floating: "floating";
|
|
371
|
+
}>>;
|
|
372
|
+
width: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
373
|
+
full: "full";
|
|
374
|
+
content: "content";
|
|
375
|
+
}>>;
|
|
376
|
+
elevation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
377
|
+
shadow: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
378
|
+
border: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
379
|
+
onScroll: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
380
|
+
}, z.core.$strict>>;
|
|
381
|
+
height: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
382
|
+
inset: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
nav: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
385
|
+
breakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
386
|
+
sm: "sm";
|
|
387
|
+
md: "md";
|
|
388
|
+
lg: "lg";
|
|
389
|
+
xl: "xl";
|
|
390
|
+
}>>;
|
|
391
|
+
mobileBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
392
|
+
sm: "sm";
|
|
393
|
+
md: "md";
|
|
394
|
+
lg: "lg";
|
|
395
|
+
xl: "xl";
|
|
396
|
+
}>>;
|
|
397
|
+
megaBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
398
|
+
sm: "sm";
|
|
399
|
+
md: "md";
|
|
400
|
+
lg: "lg";
|
|
401
|
+
xl: "xl";
|
|
402
|
+
}>>;
|
|
403
|
+
depth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
404
|
+
megaDepth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
405
|
+
compact: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
406
|
+
drawer: "drawer";
|
|
407
|
+
dropdown: "dropdown";
|
|
408
|
+
}>>;
|
|
409
|
+
drawerSide: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
410
|
+
start: "start";
|
|
411
|
+
end: "end";
|
|
412
|
+
}>>;
|
|
413
|
+
}, z.core.$strict>>;
|
|
414
|
+
}, z.core.$strict>>;
|
|
349
415
|
seo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
350
416
|
siteName: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
351
417
|
titleTemplate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
@@ -425,6 +491,21 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
425
491
|
analytics: "analytics";
|
|
426
492
|
}>>;
|
|
427
493
|
platforms: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
494
|
+
phoneNumbers: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
495
|
+
number: z.ZodMiniString<string>;
|
|
496
|
+
sources: z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
497
|
+
google: "google";
|
|
498
|
+
meta: "meta";
|
|
499
|
+
linkedin: "linkedin";
|
|
500
|
+
reddit: "reddit";
|
|
501
|
+
tiktok: "tiktok";
|
|
502
|
+
microsoft: "microsoft";
|
|
503
|
+
pinterest: "pinterest";
|
|
504
|
+
snapchat: "snapchat";
|
|
505
|
+
"default-paid": "default-paid";
|
|
506
|
+
}> & z.core.$partial, z.ZodMiniString<string>>;
|
|
507
|
+
provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
508
|
+
}, z.core.$strict>>;
|
|
428
509
|
}, z.core.$strict>>;
|
|
429
510
|
ads: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
430
511
|
google: "google";
|
|
@@ -448,6 +529,11 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
448
529
|
email: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
449
530
|
form: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
450
531
|
}, z.core.$strict>]>>;
|
|
532
|
+
callTracking: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
533
|
+
label: z.ZodMiniString<string>;
|
|
534
|
+
number: z.ZodMiniString<string>;
|
|
535
|
+
cache: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
451
537
|
reporting: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
452
538
|
client: "client";
|
|
453
539
|
server: "server";
|
|
@@ -1218,6 +1304,72 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1218
1304
|
breakpoints: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1219
1305
|
}, z.core.$strict>>;
|
|
1220
1306
|
}, z.core.$strict>>;
|
|
1307
|
+
chrome: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1308
|
+
masthead: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1309
|
+
position: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1310
|
+
static: "static";
|
|
1311
|
+
sticky: "sticky";
|
|
1312
|
+
fixed: "fixed";
|
|
1313
|
+
}>>;
|
|
1314
|
+
behavior: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1315
|
+
always: "always";
|
|
1316
|
+
"hide-on-scroll": "hide-on-scroll";
|
|
1317
|
+
}>>;
|
|
1318
|
+
surface: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1319
|
+
solid: "solid";
|
|
1320
|
+
glass: "glass";
|
|
1321
|
+
transparent: "transparent";
|
|
1322
|
+
"transparent-until-scrolled": "transparent-until-scrolled";
|
|
1323
|
+
}>>;
|
|
1324
|
+
tone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1325
|
+
layout: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1326
|
+
full: "full";
|
|
1327
|
+
inset: "inset";
|
|
1328
|
+
floating: "floating";
|
|
1329
|
+
}>>;
|
|
1330
|
+
width: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1331
|
+
full: "full";
|
|
1332
|
+
content: "content";
|
|
1333
|
+
}>>;
|
|
1334
|
+
elevation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1335
|
+
shadow: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1336
|
+
border: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1337
|
+
onScroll: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1338
|
+
}, z.core.$strict>>;
|
|
1339
|
+
height: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1340
|
+
inset: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1341
|
+
}, z.core.$strict>>;
|
|
1342
|
+
nav: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1343
|
+
breakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1344
|
+
sm: "sm";
|
|
1345
|
+
md: "md";
|
|
1346
|
+
lg: "lg";
|
|
1347
|
+
xl: "xl";
|
|
1348
|
+
}>>;
|
|
1349
|
+
mobileBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1350
|
+
sm: "sm";
|
|
1351
|
+
md: "md";
|
|
1352
|
+
lg: "lg";
|
|
1353
|
+
xl: "xl";
|
|
1354
|
+
}>>;
|
|
1355
|
+
megaBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1356
|
+
sm: "sm";
|
|
1357
|
+
md: "md";
|
|
1358
|
+
lg: "lg";
|
|
1359
|
+
xl: "xl";
|
|
1360
|
+
}>>;
|
|
1361
|
+
depth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
1362
|
+
megaDepth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
1363
|
+
compact: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1364
|
+
drawer: "drawer";
|
|
1365
|
+
dropdown: "dropdown";
|
|
1366
|
+
}>>;
|
|
1367
|
+
drawerSide: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1368
|
+
start: "start";
|
|
1369
|
+
end: "end";
|
|
1370
|
+
}>>;
|
|
1371
|
+
}, z.core.$strict>>;
|
|
1372
|
+
}, z.core.$strict>>;
|
|
1221
1373
|
seo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1222
1374
|
siteName: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
1223
1375
|
titleTemplate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
@@ -1297,6 +1449,21 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1297
1449
|
analytics: "analytics";
|
|
1298
1450
|
}>>;
|
|
1299
1451
|
platforms: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1452
|
+
phoneNumbers: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1453
|
+
number: z.ZodMiniString<string>;
|
|
1454
|
+
sources: z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
1455
|
+
google: "google";
|
|
1456
|
+
meta: "meta";
|
|
1457
|
+
linkedin: "linkedin";
|
|
1458
|
+
reddit: "reddit";
|
|
1459
|
+
tiktok: "tiktok";
|
|
1460
|
+
microsoft: "microsoft";
|
|
1461
|
+
pinterest: "pinterest";
|
|
1462
|
+
snapchat: "snapchat";
|
|
1463
|
+
"default-paid": "default-paid";
|
|
1464
|
+
}> & z.core.$partial, z.ZodMiniString<string>>;
|
|
1465
|
+
provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1466
|
+
}, z.core.$strict>>;
|
|
1300
1467
|
}, z.core.$strict>>;
|
|
1301
1468
|
ads: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
1302
1469
|
google: "google";
|
|
@@ -1320,6 +1487,11 @@ export declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1320
1487
|
email: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1321
1488
|
form: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1322
1489
|
}, z.core.$strict>]>>;
|
|
1490
|
+
callTracking: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1491
|
+
label: z.ZodMiniString<string>;
|
|
1492
|
+
number: z.ZodMiniString<string>;
|
|
1493
|
+
cache: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1494
|
+
}, z.core.$strict>>;
|
|
1323
1495
|
reporting: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1324
1496
|
client: "client";
|
|
1325
1497
|
server: "server";
|
|
@@ -1979,6 +2151,72 @@ export declare const configJsonSchema: {
|
|
|
1979
2151
|
breakpoints: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1980
2152
|
}, z.core.$strict>>;
|
|
1981
2153
|
}, z.core.$strict>>;
|
|
2154
|
+
chrome: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2155
|
+
masthead: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2156
|
+
position: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2157
|
+
static: "static";
|
|
2158
|
+
sticky: "sticky";
|
|
2159
|
+
fixed: "fixed";
|
|
2160
|
+
}>>;
|
|
2161
|
+
behavior: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2162
|
+
always: "always";
|
|
2163
|
+
"hide-on-scroll": "hide-on-scroll";
|
|
2164
|
+
}>>;
|
|
2165
|
+
surface: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2166
|
+
solid: "solid";
|
|
2167
|
+
glass: "glass";
|
|
2168
|
+
transparent: "transparent";
|
|
2169
|
+
"transparent-until-scrolled": "transparent-until-scrolled";
|
|
2170
|
+
}>>;
|
|
2171
|
+
tone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2172
|
+
layout: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2173
|
+
full: "full";
|
|
2174
|
+
inset: "inset";
|
|
2175
|
+
floating: "floating";
|
|
2176
|
+
}>>;
|
|
2177
|
+
width: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2178
|
+
full: "full";
|
|
2179
|
+
content: "content";
|
|
2180
|
+
}>>;
|
|
2181
|
+
elevation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2182
|
+
shadow: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2183
|
+
border: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2184
|
+
onScroll: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2185
|
+
}, z.core.$strict>>;
|
|
2186
|
+
height: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2187
|
+
inset: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2188
|
+
}, z.core.$strict>>;
|
|
2189
|
+
nav: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2190
|
+
breakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2191
|
+
sm: "sm";
|
|
2192
|
+
md: "md";
|
|
2193
|
+
lg: "lg";
|
|
2194
|
+
xl: "xl";
|
|
2195
|
+
}>>;
|
|
2196
|
+
mobileBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2197
|
+
sm: "sm";
|
|
2198
|
+
md: "md";
|
|
2199
|
+
lg: "lg";
|
|
2200
|
+
xl: "xl";
|
|
2201
|
+
}>>;
|
|
2202
|
+
megaBreakpoint: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2203
|
+
sm: "sm";
|
|
2204
|
+
md: "md";
|
|
2205
|
+
lg: "lg";
|
|
2206
|
+
xl: "xl";
|
|
2207
|
+
}>>;
|
|
2208
|
+
depth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
2209
|
+
megaDepth: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
2210
|
+
compact: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2211
|
+
drawer: "drawer";
|
|
2212
|
+
dropdown: "dropdown";
|
|
2213
|
+
}>>;
|
|
2214
|
+
drawerSide: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2215
|
+
start: "start";
|
|
2216
|
+
end: "end";
|
|
2217
|
+
}>>;
|
|
2218
|
+
}, z.core.$strict>>;
|
|
2219
|
+
}, z.core.$strict>>;
|
|
1982
2220
|
seo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1983
2221
|
siteName: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
1984
2222
|
titleTemplate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>>;
|
|
@@ -2058,6 +2296,21 @@ export declare const configJsonSchema: {
|
|
|
2058
2296
|
analytics: "analytics";
|
|
2059
2297
|
}>>;
|
|
2060
2298
|
platforms: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
2299
|
+
phoneNumbers: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2300
|
+
number: z.ZodMiniString<string>;
|
|
2301
|
+
sources: z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
2302
|
+
google: "google";
|
|
2303
|
+
meta: "meta";
|
|
2304
|
+
linkedin: "linkedin";
|
|
2305
|
+
reddit: "reddit";
|
|
2306
|
+
tiktok: "tiktok";
|
|
2307
|
+
microsoft: "microsoft";
|
|
2308
|
+
pinterest: "pinterest";
|
|
2309
|
+
snapchat: "snapchat";
|
|
2310
|
+
"default-paid": "default-paid";
|
|
2311
|
+
}> & z.core.$partial, z.ZodMiniString<string>>;
|
|
2312
|
+
provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2313
|
+
}, z.core.$strict>>;
|
|
2061
2314
|
}, z.core.$strict>>;
|
|
2062
2315
|
ads: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
2063
2316
|
google: "google";
|
|
@@ -2081,6 +2334,11 @@ export declare const configJsonSchema: {
|
|
|
2081
2334
|
email: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2082
2335
|
form: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2083
2336
|
}, z.core.$strict>]>>;
|
|
2337
|
+
callTracking: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2338
|
+
label: z.ZodMiniString<string>;
|
|
2339
|
+
number: z.ZodMiniString<string>;
|
|
2340
|
+
cache: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2341
|
+
}, z.core.$strict>>;
|
|
2084
2342
|
reporting: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2085
2343
|
client: "client";
|
|
2086
2344
|
server: "server";
|
package/dist/config.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","names":[],"sources":["../src/config.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"config.d.mts","names":[],"sources":["../src/config.ts"],"mappings":";;;cA6KM,qBAAmB,EAAA;;;;;;GAYxB,EAAA,KAAA;cAEK,qBAAmB,EAAA;;;;;;;;;;;GAKvB,EAAA,KAAA;YAKU,gBAAgB,EAAE,aAAa;YAC/B,gBAAgB,EAAE,aAAa;;;;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AW;EAAiB,QAAQ,EAAE,KAAK;;;;;;;;;;;;;;;;iBAoBhC;EACf;EACA,QAAQ,KAAK;;qBAEF,mBAAmB,eAAe;;;;;;wBAmH/B,eAAe,iBAAiB;;;;;;;;;;;;wBAiXhC,4BACd;EAEM,cAAc;IAAiB;;EAC/B;IAAc;MAAW,sBAAsB;;;;;;;;;;;;;;;;;wBAgCvC,sBAAsB,KAAK,SAAS;KAsB/C,qBAAqB,QAAQ;EAAkB;EAAuB;;;;;;;;wBAQ3D,aACd,cAAc,eAAe,qBAC7B,cACC;;;;;;;;;;;;;;;;;;;;wBA0Da,cAAc,gBAAgB,mBAAyB;;;;;;;;;;;;;;;;;wBAiDvD,SAAS;;iBAKR;;EAEf,cAAc;;EAEd,SAAS;;EAET;;;;;;;;;;;;;;;;wBAiBc,aACd,cACA;EAAQ;EAAgB;IACvB;;wBAsBa,WAAW;;wBAeX,UAAU,QAAQ,yBAAyB,QAAQ;;;;;;;;;;;;wBAqCnD,iBAAiB,cAAc;qBAWlC,QAAS,cAAc;;wBAIpB,MAAM,cAAc,gBAAgB;;;;;;;;;;wBAgBpC,WAAW,eAAe;;;;;;;;;;;wBAsB1B,aAAa,gBAAgB,cAAS"}
|
package/dist/config.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as resolveTheme, E as validateConfig, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-
|
|
1
|
+
import { C as resolveTheme, E as validateConfig, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-BaMpGSUZ.mjs";
|
|
2
2
|
|
|
3
3
|
export { AD_PROVIDERS, BIGIN_DATA_CENTERS, CONFIG_SCHEMA_LOCAL_PATH, CONFIG_SCHEMA_URL, CONFIG_VERSION, CRM_PROVIDERS, ConfigSchema, JURISDICTIONS, JURISDICTION_COUNTRIES, PLAN_CAPABILITIES, SiteFontSchema, configJsonSchema, deepMerge, designSystemPath, experimentDimensionWarnings, formatConfig, getAt, isConfig, mergePatch, resolveConfig, resolveInput, resolvePrivacyContact, resolveTheme, setAt, stripNulls, validateConfig };
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/generate.ts","../src/docs.ts","../src/tiers.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/cookies.qc.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/privacy.qc.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/terms.qc.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/robots.ts","../src/index.ts"],"mappings":";;;;;KAoDY;;;;;;;KAQA,mBAAmB,QAAQ;UAEtB;;;;;;;;;;;;;;;;EAgBf,gBAAgB,eAAe;;EAE/B,SAAS;;EAET;;EAEA;;;;;;EAMA;;;;;EAKA;;;;;;;;EAQA,gBAAgB;;;;;;;;;;EAUhB;;;;;;;;EAQA;;UAGe;EACf,QAAQ;EACR;EACA;;UAyEe;;EAEf;;EAEA;;EAEA;;;;;;;;;;;;;;;wBA6Dc,mBACd,gBAAgB,kBAChB,+BACC;wBA05DmB,SAAS,SAAS,kBAAkB,QAAQ;UClwCjD;EACf;EACA;EACA,aAAa,eAAe;EAC5B;EACA,uBAAuB;EACvB,QAAQ;EACR,QAAQ;EACR;;;;;;;;;;;;;;;;;;;;qBA+HW,uBAAwB;UAoBpB;;EAEf;;EAEA;;;;;;;;;;;;;EAaA;;UAGe;;EAEf;;EAEA;EACA;;EAEA;;;;;EAKA;;EAEA;EACA,UAAU;;;;;;;;;;;;;;;;;wBAkBI,gBACd,QAAQ,gBACR,OAAM,oBACL;;;;;wBAqjDa,aAAa,IAAI,cAAc,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UC5oFlD;;;;;;EAMf;;EAEA;;;;;;;;;;;;;EAaA;;UAGe;EACf;;EAEA;;EAEA;;EAEA;;UAGe;;EAEf;;;;;EAKA;;UAGe;EACf,KAAK;EACL,KAAK;;;;;;EAML,QAAQ;;EAER;;;;;;;;;;;;;EAaA;;;;;;;EAOA;;EAEA;;qBAsBW,OAAO,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/generate.ts","../src/docs.ts","../src/tiers.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/cookies.qc.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/privacy.qc.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/terms.qc.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/robots.ts","../src/index.ts"],"mappings":";;;;;KAoDY;;;;;;;KAQA,mBAAmB,QAAQ;UAEtB;;;;;;;;;;;;;;;;EAgBf,gBAAgB,eAAe;;EAE/B,SAAS;;EAET;;EAEA;;;;;;EAMA;;;;;EAKA;;;;;;;;EAQA,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C;EACA;EACA;IACE"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as roleKind, S as roleHue, _ as ROLE_TOKEN_KEYS, a as expandPalette, b as TYPO_KEYMAP, c as monotonicityErrors, d as tokenVar, f as validateColorContract, g as REQUIRED_ROLES, h as LAYOUT_TOKENS, i as checkContrast, l as patchToOverrideCss, m as DARK_SEL, n as NUMERIC_STEPS, o as functionalRole, p as BASE_HOOK, r as buildReverseIndex, s as ladderWarnings, t as CONTRAST, u as tokenClass, v as SYSTEM_DARK_SEL, w as roleSolidOptions, x as layoutDecls, y as TW_CLASH } from "./tokens-D0DsePUl.mjs";
|
|
2
|
-
import { A as jsonSchema, C as resolveTheme, D as DesignSystemSchema, E as validateConfig, M as movedTokens, O as SCHEMA_LOCAL_PATH, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, j as validate, k as SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-
|
|
2
|
+
import { A as jsonSchema, C as resolveTheme, D as DesignSystemSchema, E as validateConfig, M as movedTokens, O as SCHEMA_LOCAL_PATH, S as resolvePrivacyContact, T as stripNulls, _ as getAt, a as CONFIG_VERSION, b as resolveConfig, c as JURISDICTIONS, d as SiteFontSchema, f as configJsonSchema, g as formatConfig, h as experimentDimensionWarnings, i as CONFIG_SCHEMA_URL, j as validate, k as SCHEMA_URL, l as JURISDICTION_COUNTRIES, m as designSystemPath, n as BIGIN_DATA_CENTERS, o as CRM_PROVIDERS, p as deepMerge, r as CONFIG_SCHEMA_LOCAL_PATH, s as ConfigSchema, t as AD_PROVIDERS, u as PLAN_CAPABILITIES, v as isConfig, w as setAt, x as resolveInput, y as mergePatch } from "./config-BaMpGSUZ.mjs";
|
|
3
3
|
import { buildIconSprite, loadIconSvg, spriteId } from "./icons-sprite.mjs";
|
|
4
4
|
import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
@@ -472,13 +472,15 @@ const TIERS = {
|
|
|
472
472
|
"sitenav",
|
|
473
473
|
"sitenav__link",
|
|
474
474
|
"sitenav--drawer-start",
|
|
475
|
+
"sitenav--panel-dropdown",
|
|
476
|
+
"sitenav--mega",
|
|
475
477
|
"navlist",
|
|
476
478
|
"navlist--columns"
|
|
477
479
|
], "patterns/sitenav.css"),
|
|
478
480
|
astro: [...a("SiteNav", "css"), ...a("SiteFooter", "css")],
|
|
479
481
|
emdash: ["vitops_nav"],
|
|
480
482
|
bricks: "vitops-sitenav",
|
|
481
|
-
use: "`.sitenav` with `--bp-*` and a drawer direction. `<details>` + Invoker Commands, no JS. In Astro: `<SiteNav {...await loadNavMenus(getMenu)} />` renders EmDash menu `primary` (the default: dropdowns from `md`, drawer below) and, if they exist, `primary-mobile` (depth-1 nav below `md`) and `primary-mega` (mega panels from `xl`) — adding the menu in the admin is the whole change. An item's `titleAttr` is its description. `<SiteFooter sitemap legal name>` renders `footer-sitemap` + `footer-legal` + the copyright line. For a menu inside page content (a site map, a section's links, footer-style columns) use `.navlist` — plain nested lists, `--inline` / `--columns` — or, in EmDash, the `vitops_nav` block (menu, layout `list|inline|columns|sitenav`, depth 1–3, heading, tone). Name each `<nav>` uniquely: the header is `Primary` and the footer `Site map` / `Legal`, and the block never reuses those."
|
|
483
|
+
use: "`.sitenav` with `--bp-*` and a drawer direction. `<details>` + Invoker Commands, no JS. In Astro: `<SiteNav {...await loadNavMenus(getMenu)} />` renders EmDash menu `primary` (the default: dropdowns from `md`, drawer below) and, if they exist, `primary-mobile` (depth-1 nav below `md`) and `primary-mega` (mega panels from `xl`) — adding the menu in the admin is the whole change. An item's `titleAttr` is its description. Per-site behaviour lives in `site.chrome.nav` — `<SiteNav {...nav} {...resolveNavOptions(site)} />` sets `compact` (`drawer` | `dropdown`: an anchored, columnar panel under the toggle), `drawerSide`, the breakpoints and depths. For a mega panel's featured column pass `megaPanel={VitopsMegaPanel}` (`@getvitops/emdash/astro`): it renders the widget area `mega-<item slug>` (or the item's `mega-area:<name>` class) and nothing when there is none. `<SiteFooter sitemap legal name>` renders `footer-sitemap` + `footer-legal` + the copyright line. For a menu inside page content (a site map, a section's links, footer-style columns) use `.navlist` — plain nested lists, `--inline` / `--columns` — or, in EmDash, the `vitops_nav` block (menu, layout `list|inline|columns|sitenav`, depth 1–3, heading, tone). Name each `<nav>` uniquely: the header is `Primary` and the footer `Site map` / `Legal`, and the block never reuses those."
|
|
482
484
|
},
|
|
483
485
|
"split-link": {
|
|
484
486
|
css: c([
|
|
@@ -601,6 +603,16 @@ const TIERS = {
|
|
|
601
603
|
], "patterns/nav.css", true),
|
|
602
604
|
use: "`.menu` / `.navbar`. See `navbar` and `navshell` for the newer shells."
|
|
603
605
|
},
|
|
606
|
+
masthead: {
|
|
607
|
+
css: c([
|
|
608
|
+
"masthead",
|
|
609
|
+
"masthead--sticky",
|
|
610
|
+
"masthead--glass",
|
|
611
|
+
"masthead--floating"
|
|
612
|
+
], "patterns/masthead.css"),
|
|
613
|
+
astro: a("Masthead", "css"),
|
|
614
|
+
use: "`<Masthead config={site}>` from `site.chrome.masthead` (position `static|sticky|fixed`, behavior `always|hide-on-scroll`, surface `solid|glass|transparent|transparent-until-scrolled`, layout `full|inset|floating`, `inset` and `height` lengths — fluid ones like `clamp(3.5rem, 8cqi, 4.5rem)` are fine — elevation shadow/border, `onScroll`); a prop overrides one field for a layout. Slots `brand`, default (the `<SiteNav>`), `actions`. Pure CSS — hide-on-scroll and the *-on-scroll states are `scroll-state()` queries that only subtract from a settled bar, so a browser without them (Firefox today) shows a visible, solid, elevated one. It never takes `role=\"banner\"`: a body-level `<header>` already is the landmark, and `.banner` means the announcement bar."
|
|
615
|
+
},
|
|
604
616
|
navbar: {
|
|
605
617
|
css: c([
|
|
606
618
|
"navbar",
|