@getvitops/generator 8.2.0-alpha.0 → 8.2.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/CHANGELOG.md +467 -25
- package/assets/css/patterns/banner.css +20 -0
- package/assets/css/patterns/copy.css +5 -0
- package/assets/css/patterns/forms.css +5 -0
- package/assets/css/patterns/marquee.css +16 -0
- package/assets/css/patterns/splitter.css +11 -0
- package/assets/css/patterns/table.css +10 -0
- package/assets/js/consent.js +1 -1
- package/assets/js/elements.js +4 -4
- package/assets/js/polyfills/adoptedStyleSheets.js +1 -1
- package/assets/js/polyfills/css-anchor-positioning-fn.js +2 -2
- package/assets/js/polyfills/popover.js +2 -2
- package/config.schema.json +131 -110
- package/dist/config-BfcWKH-5.mjs +1743 -0
- package/dist/config-BfcWKH-5.mjs.map +1 -0
- package/dist/{config-DvbYx3Gi.mjs → config-Bhg3Xv3D.mjs} +10 -207
- package/dist/config-Bhg3Xv3D.mjs.map +1 -0
- package/dist/config.d.mts +81 -194
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{icons-sprite-Bf_KmKeX.d.mts → icons-sprite-CQ5Zj4go.d.mts} +4 -6
- package/dist/icons-sprite-CQ5Zj4go.d.mts.map +1 -0
- package/dist/icons-sprite.d.mts +1 -1
- package/dist/icons-sprite.mjs +1 -2
- package/dist/index.d.mts +19 -34
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +53 -38
- package/dist/index.mjs.map +1 -1
- package/dist/{schema-Dmq1J7S3.d.mts → schema-BV2n2phj.d.mts} +2 -3
- package/dist/{schema-Dmq1J7S3.d.mts.map → schema-BV2n2phj.d.mts.map} +1 -1
- package/dist/{tokens-8SXMDAd1.d.mts → tokens-BzBbTeTi.d.mts} +2 -6
- package/dist/tokens-BzBbTeTi.d.mts.map +1 -0
- package/dist/{tokens-zi594IZ3.mjs → tokens-C1RJwFeG.mjs} +3 -5
- package/dist/{tokens-zi594IZ3.mjs.map → tokens-C1RJwFeG.mjs.map} +1 -1
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.mjs +1 -1
- package/package.json +6 -5
- package/dist/config-DvbYx3Gi.mjs.map +0 -1
- package/dist/icons-sprite-Bf_KmKeX.d.mts.map +0 -1
- package/dist/tokens-8SXMDAd1.d.mts.map +0 -1
package/config.schema.json
CHANGED
|
@@ -2226,70 +2226,115 @@
|
|
|
2226
2226
|
"additionalProperties": false
|
|
2227
2227
|
},
|
|
2228
2228
|
"seo": {
|
|
2229
|
-
"description": "SEO defaults: title/description
|
|
2229
|
+
"description": "SEO defaults: site name, title/description defaults, robots policy, verification tokens, Open Graph + Twitter cards, and post-deploy indexing notification. Read by `<Seo />`, `vitops robots` and `vitops search notify`.",
|
|
2230
2230
|
"type": "object",
|
|
2231
2231
|
"properties": {
|
|
2232
|
+
"siteName": {
|
|
2233
|
+
"description": "`og:site_name`, and the `<title>` when a page passes none. Defaults to `organization.name`, so most sites never state it.",
|
|
2234
|
+
"anyOf": [
|
|
2235
|
+
{
|
|
2236
|
+
"type": "string"
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"type": "object",
|
|
2240
|
+
"propertyNames": {
|
|
2241
|
+
"type": "string"
|
|
2242
|
+
},
|
|
2243
|
+
"additionalProperties": {
|
|
2244
|
+
"type": "string"
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
]
|
|
2248
|
+
},
|
|
2232
2249
|
"titleTemplate": {
|
|
2233
|
-
"description": "Page-title pattern (e.g. \"%s · Acme\").",
|
|
2234
|
-
"
|
|
2250
|
+
"description": "Page-title pattern; `%s` is the page title (e.g. \"%s · Acme\"). Applies to `<title>` only, never to `og:title`, and is skipped when the page title already equals the site name.",
|
|
2251
|
+
"anyOf": [
|
|
2252
|
+
{
|
|
2253
|
+
"type": "string"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"type": "object",
|
|
2257
|
+
"propertyNames": {
|
|
2258
|
+
"type": "string"
|
|
2259
|
+
},
|
|
2260
|
+
"additionalProperties": {
|
|
2261
|
+
"type": "string"
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
]
|
|
2235
2265
|
},
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2266
|
+
"defaultTitle": {
|
|
2267
|
+
"description": "`<title>` for pages that pass none. Used verbatim — the template is not applied. Defaults to the site name.",
|
|
2268
|
+
"anyOf": [
|
|
2269
|
+
{
|
|
2270
|
+
"type": "string"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"type": "object",
|
|
2274
|
+
"propertyNames": {
|
|
2275
|
+
"type": "string"
|
|
2276
|
+
},
|
|
2277
|
+
"additionalProperties": {
|
|
2278
|
+
"type": "string"
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
]
|
|
2282
|
+
},
|
|
2283
|
+
"defaultDescription": {
|
|
2284
|
+
"description": "`<meta name=\"description\">` for pages that pass none.",
|
|
2285
|
+
"anyOf": [
|
|
2286
|
+
{
|
|
2287
|
+
"type": "string"
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"type": "object",
|
|
2291
|
+
"propertyNames": {
|
|
2292
|
+
"type": "string"
|
|
2293
|
+
},
|
|
2294
|
+
"additionalProperties": {
|
|
2295
|
+
"type": "string"
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
]
|
|
2238
2299
|
},
|
|
2239
2300
|
"robots": {
|
|
2240
|
-
"description": "e.g. \"index,follow\" / \"noindex,nofollow\".",
|
|
2301
|
+
"description": "Site-wide robots directive (e.g. \"index,follow\" / \"noindex,nofollow\"). `site.environments.<env>.robots` wins over it.",
|
|
2241
2302
|
"type": "string"
|
|
2242
2303
|
},
|
|
2243
2304
|
"googleSiteVerification": {
|
|
2305
|
+
"description": "Google Search Console verification token (`<meta name=\"google-site-verification\">`).",
|
|
2244
2306
|
"type": "string"
|
|
2245
2307
|
},
|
|
2246
2308
|
"bingSiteVerification": {
|
|
2309
|
+
"description": "Bing Webmaster Tools verification token (`<meta name=\"msvalidate.01\">`).",
|
|
2247
2310
|
"type": "string"
|
|
2248
2311
|
},
|
|
2249
2312
|
"openGraph": {
|
|
2313
|
+
"description": "Open Graph defaults. Per-page `<Seo />` props override them.",
|
|
2250
2314
|
"type": "object",
|
|
2251
2315
|
"properties": {
|
|
2252
2316
|
"type": {
|
|
2253
|
-
"
|
|
2317
|
+
"description": "Default `og:type`. Default `website`.",
|
|
2318
|
+
"type": "string",
|
|
2319
|
+
"enum": [
|
|
2320
|
+
"website",
|
|
2321
|
+
"article",
|
|
2322
|
+
"profile"
|
|
2323
|
+
]
|
|
2254
2324
|
},
|
|
2255
|
-
"
|
|
2325
|
+
"locale": {
|
|
2326
|
+
"description": "`og:locale`. `en-CA` and `en_CA` both emit `en_CA`.",
|
|
2256
2327
|
"type": "string"
|
|
2257
2328
|
},
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
"type": "object",
|
|
2265
|
-
"propertyNames": {
|
|
2266
|
-
"type": "string"
|
|
2267
|
-
},
|
|
2268
|
-
"additionalProperties": {
|
|
2269
|
-
"type": "string"
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
],
|
|
2273
|
-
"description": "A string, or a per-locale map of strings (`{ en: \"…\", fr: \"…\" }`)."
|
|
2274
|
-
},
|
|
2275
|
-
"description": {
|
|
2276
|
-
"anyOf": [
|
|
2277
|
-
{
|
|
2278
|
-
"type": "string"
|
|
2279
|
-
},
|
|
2280
|
-
{
|
|
2281
|
-
"type": "object",
|
|
2282
|
-
"propertyNames": {
|
|
2283
|
-
"type": "string"
|
|
2284
|
-
},
|
|
2285
|
-
"additionalProperties": {
|
|
2286
|
-
"type": "string"
|
|
2287
|
-
}
|
|
2288
|
-
}
|
|
2289
|
-
],
|
|
2290
|
-
"description": "A string, or a per-locale map of strings (`{ en: \"…\", fr: \"…\" }`)."
|
|
2329
|
+
"localeAlternates": {
|
|
2330
|
+
"description": "Other locales the same content exists in → `og:locale:alternate`.",
|
|
2331
|
+
"type": "array",
|
|
2332
|
+
"items": {
|
|
2333
|
+
"type": "string"
|
|
2334
|
+
}
|
|
2291
2335
|
},
|
|
2292
2336
|
"image": {
|
|
2337
|
+
"description": "Fallback share image for pages that bring none.",
|
|
2293
2338
|
"anyOf": [
|
|
2294
2339
|
{
|
|
2295
2340
|
"type": "string"
|
|
@@ -2298,7 +2343,8 @@
|
|
|
2298
2343
|
"type": "object",
|
|
2299
2344
|
"properties": {
|
|
2300
2345
|
"src": {
|
|
2301
|
-
"type": "string"
|
|
2346
|
+
"type": "string",
|
|
2347
|
+
"description": "Absolute, or relative to `site` (resolved at render time)."
|
|
2302
2348
|
},
|
|
2303
2349
|
"alt": {
|
|
2304
2350
|
"type": "string"
|
|
@@ -2308,26 +2354,28 @@
|
|
|
2308
2354
|
},
|
|
2309
2355
|
"height": {
|
|
2310
2356
|
"type": "number"
|
|
2357
|
+
},
|
|
2358
|
+
"type": {
|
|
2359
|
+
"description": "MIME type, e.g. `image/png`.",
|
|
2360
|
+
"type": "string"
|
|
2311
2361
|
}
|
|
2312
2362
|
},
|
|
2313
2363
|
"required": [
|
|
2314
|
-
"src"
|
|
2315
|
-
"alt"
|
|
2364
|
+
"src"
|
|
2316
2365
|
],
|
|
2317
2366
|
"additionalProperties": false
|
|
2318
2367
|
}
|
|
2319
2368
|
]
|
|
2320
|
-
},
|
|
2321
|
-
"locale": {
|
|
2322
|
-
"type": "string"
|
|
2323
2369
|
}
|
|
2324
2370
|
},
|
|
2325
2371
|
"additionalProperties": false
|
|
2326
2372
|
},
|
|
2327
2373
|
"twitter": {
|
|
2374
|
+
"description": "Twitter/X card defaults.",
|
|
2328
2375
|
"type": "object",
|
|
2329
2376
|
"properties": {
|
|
2330
2377
|
"card": {
|
|
2378
|
+
"description": "Card type when no image resolves (default `summary`).",
|
|
2331
2379
|
"type": "string",
|
|
2332
2380
|
"enum": [
|
|
2333
2381
|
"summary",
|
|
@@ -2337,73 +2385,12 @@
|
|
|
2337
2385
|
]
|
|
2338
2386
|
},
|
|
2339
2387
|
"site": {
|
|
2388
|
+
"description": "The site's own handle, e.g. \"@acme\".",
|
|
2340
2389
|
"type": "string"
|
|
2341
2390
|
},
|
|
2342
2391
|
"creator": {
|
|
2392
|
+
"description": "Default author handle, e.g. \"@ada\".",
|
|
2343
2393
|
"type": "string"
|
|
2344
|
-
},
|
|
2345
|
-
"title": {
|
|
2346
|
-
"anyOf": [
|
|
2347
|
-
{
|
|
2348
|
-
"type": "string"
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"type": "object",
|
|
2352
|
-
"propertyNames": {
|
|
2353
|
-
"type": "string"
|
|
2354
|
-
},
|
|
2355
|
-
"additionalProperties": {
|
|
2356
|
-
"type": "string"
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
],
|
|
2360
|
-
"description": "A string, or a per-locale map of strings (`{ en: \"…\", fr: \"…\" }`)."
|
|
2361
|
-
},
|
|
2362
|
-
"description": {
|
|
2363
|
-
"anyOf": [
|
|
2364
|
-
{
|
|
2365
|
-
"type": "string"
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"type": "object",
|
|
2369
|
-
"propertyNames": {
|
|
2370
|
-
"type": "string"
|
|
2371
|
-
},
|
|
2372
|
-
"additionalProperties": {
|
|
2373
|
-
"type": "string"
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
],
|
|
2377
|
-
"description": "A string, or a per-locale map of strings (`{ en: \"…\", fr: \"…\" }`)."
|
|
2378
|
-
},
|
|
2379
|
-
"image": {
|
|
2380
|
-
"anyOf": [
|
|
2381
|
-
{
|
|
2382
|
-
"type": "string"
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"type": "object",
|
|
2386
|
-
"properties": {
|
|
2387
|
-
"src": {
|
|
2388
|
-
"type": "string"
|
|
2389
|
-
},
|
|
2390
|
-
"alt": {
|
|
2391
|
-
"type": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"width": {
|
|
2394
|
-
"type": "number"
|
|
2395
|
-
},
|
|
2396
|
-
"height": {
|
|
2397
|
-
"type": "number"
|
|
2398
|
-
}
|
|
2399
|
-
},
|
|
2400
|
-
"required": [
|
|
2401
|
-
"src",
|
|
2402
|
-
"alt"
|
|
2403
|
-
],
|
|
2404
|
-
"additionalProperties": false
|
|
2405
|
-
}
|
|
2406
|
-
]
|
|
2407
2394
|
}
|
|
2408
2395
|
},
|
|
2409
2396
|
"additionalProperties": false
|
|
@@ -2671,6 +2658,40 @@
|
|
|
2671
2658
|
}
|
|
2672
2659
|
]
|
|
2673
2660
|
},
|
|
2661
|
+
"conversionActionId": {
|
|
2662
|
+
"description": "Google Ads only: the conversion action **resource id(s)** (a numeric id, or a full `customers/…/conversionActions/…` resource name) used for server-side offline conversion upload — NOT the same value as `conversionLabel`, which is the opaque label the web tag uses and which the Ads API's upload endpoint does not accept. Only meaningful when `reporting: \"server\"`.",
|
|
2663
|
+
"anyOf": [
|
|
2664
|
+
{
|
|
2665
|
+
"type": "string"
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"type": "object",
|
|
2669
|
+
"properties": {
|
|
2670
|
+
"call": {
|
|
2671
|
+
"description": "Fired on a tel: link click.",
|
|
2672
|
+
"type": "string"
|
|
2673
|
+
},
|
|
2674
|
+
"email": {
|
|
2675
|
+
"description": "Fired on a mailto: link click.",
|
|
2676
|
+
"type": "string"
|
|
2677
|
+
},
|
|
2678
|
+
"form": {
|
|
2679
|
+
"description": "Fired on a form submission.",
|
|
2680
|
+
"type": "string"
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
"additionalProperties": false
|
|
2684
|
+
}
|
|
2685
|
+
]
|
|
2686
|
+
},
|
|
2687
|
+
"reporting": {
|
|
2688
|
+
"description": "Google Ads only: `\"client\"` (default) fires the conversion via `gtag.js` in the browser at click/submit time; `\"server\"` uploads it via the Ads API from the conversion endpoint instead (see `conversionActionId`). An action with no matching `conversionActionId` keeps firing client-side regardless of this setting, so setting it before `conversionActionId` is filled in never silently drops a conversion.",
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"enum": [
|
|
2691
|
+
"client",
|
|
2692
|
+
"server"
|
|
2693
|
+
]
|
|
2694
|
+
},
|
|
2674
2695
|
"domain": {
|
|
2675
2696
|
"description": "Bare hostname to verify with this platform. Defaults to the host of `domains.canonical` — set it only when the ad account is verified against a different domain.",
|
|
2676
2697
|
"type": "string"
|