@getvitops/generator 6.0.0 → 7.0.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 +305 -0
- package/assets/css/animation.css +9 -0
- package/assets/css/index.css +2 -0
- package/assets/css/patterns/counter.css +50 -0
- package/assets/css/patterns/forms.css +1 -1
- package/assets/css/patterns/gallery.css +60 -0
- package/assets/css/patterns/lightbox.css +22 -41
- package/assets/css/patterns/list.css +1 -1
- package/assets/css/patterns/tag.css +1 -2
- package/assets/css/patterns/tree.css +111 -8
- package/assets/css/utilities.css +17 -0
- package/assets/js/elements.js +7 -844
- package/assets/js/polyfills/invokers-polyfill.js +1 -0
- package/assets/js/polyfills/template-shadowroot.js +1 -14
- package/assets/js/polyfills.js +1 -1
- package/config.schema.json +100 -1
- package/dist/index.d.mts +63 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +98 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(){return typeof HTMLButtonElement<`u`&&`command`in HTMLButtonElement.prototype&&`source`in((globalThis.CommandEvent||{}).prototype||{})}function t(){document.addEventListener(`invoke`,e=>{e.type==`invoke`&&e.isTrusted&&(e.stopImmediatePropagation(),e.preventDefault())},!0),document.addEventListener(`command`,e=>{e.type==`command`&&e.isTrusted&&(e.stopImmediatePropagation(),e.preventDefault())},!0);function e(e,t,n=!0){Object.defineProperty(e,t,{...Object.getOwnPropertyDescriptor(e,t),enumerable:n})}function t(e){return e&&typeof e.getRootNode==`function`?e.getRootNode():e&&e.parentNode?t(e.parentNode):e}let n=new WeakMap,r=new WeakMap;class i extends Event{constructor(e,t={}){super(e,t);let{source:i,command:a}=t;if(i!=null&&!(i instanceof Element))throw TypeError(`source must be an element`);n.set(this,i||null),r.set(this,a===void 0?``:String(a))}get[Symbol.toStringTag](){return`CommandEvent`}get source(){if(!n.has(this))throw TypeError(`illegal invocation`);let e=n.get(this);if(!(e instanceof Element))return null;let r=t(e);return r===t(this.target||document)?e:r.host}get command(){if(!r.has(this))throw TypeError(`illegal invocation`);return r.get(this)}}e(i.prototype,`source`),e(i.prototype,`command`);let a=new WeakMap;function o(e){Object.defineProperties(e.prototype,{commandForElement:{enumerable:!0,configurable:!0,set(e){if(e===null)this.removeAttribute(`commandfor`),a.delete(this);else if(e instanceof Element){this.setAttribute(`commandfor`,``);let n=t(e);t(this)===n||n===this.ownerDocument?a.set(this,e):a.delete(this)}else throw TypeError(`commandForElement must be an element or null`)},get(){if(this.localName!==`button`||this.disabled)return null;if(this.form&&this.getAttribute(`type`)!==`button`)return console.warn("Element with `commandFor` is a form participant. It should explicitly set `type=button` in order for `commandFor` to work"),null;let e=a.get(this);if(e)return e.isConnected?e:(a.delete(this),null);let n=t(this),r=this.getAttribute(`commandfor`);return(n instanceof Document||n instanceof ShadowRoot)&&r&&n.getElementById(r)||null}},command:{enumerable:!0,configurable:!0,get(){let e=this.getAttribute(`command`)||``;if(e.startsWith(`--`))return e;let t=e.toLowerCase();switch(t){case`show-modal`:case`request-close`:case`close`:case`toggle-popover`:case`hide-popover`:case`show-popover`:return t}return``},set(e){this.setAttribute(`command`,e)}}})}let s=new WeakMap;Object.defineProperties(HTMLElement.prototype,{oncommand:{enumerable:!0,configurable:!0,get(){return l.takeRecords(),s.get(this)||null},set(e){let t=s.get(this)||null;t&&this.removeEventListener(`command`,t),s.set(this,typeof e==`object`||typeof e==`function`?e:null),typeof e==`function`&&this.addEventListener(`command`,e)}}});function c(e){for(let t of e)t.oncommand=Function(`event`,t.getAttribute(`oncommand`))}let l=new MutationObserver(e=>{for(let t of e){let{target:e}=t;t.type===`childList`?c(e.querySelectorAll(`[oncommand]`)):c([e])}});l.observe(document,{subtree:!0,childList:!0,attributeFilter:[`oncommand`]}),c(document.querySelectorAll(`[oncommand]`));let u=new WeakSet;function d(e){if(u.has(e)||(u.add(e),e.defaultPrevented)||e.type!==`click`)return;let t=e.composedPath().find(e=>e.matches?.(`button[commandfor], button[command]`));if(!t)return;if(t.form&&t.getAttribute(`type`)!==`button`)throw e.preventDefault(),Error("Element with `commandFor` is a form participant. It should explicitly set `type=button` in order for `commandFor` to work. In order for it to act as a Submit button, it must not have command or commandfor attributes");if(t.hasAttribute(`command`)!==t.hasAttribute(`commandfor`)){let e=t.hasAttribute(`command`)?`command`:`commandfor`,n=t.hasAttribute(`command`)?`commandfor`:`command`;throw Error(`Element with ${e} attribute must also have a ${n} attribute to function.`)}if(t.command!==`show-popover`&&t.command!==`hide-popover`&&t.command!==`toggle-popover`&&t.command!==`show-modal`&&t.command!==`request-close`&&t.command!==`close`&&!t.command.startsWith(`--`)){console.warn(`"${t.command}" is not a valid command value. Custom commands must begin with --`);return}let n=t.commandForElement;if(!n)return;let r=new i(`command`,{command:t.command,source:t,cancelable:!0});if(n.dispatchEvent(r),r.defaultPrevented)return;let a=r.command.toLowerCase();if(n.popover){let e=!n.matches(`:popover-open`);e&&(a===`toggle-popover`||a===`show-popover`)?n.showPopover({source:t}):!e&&a===`hide-popover`&&n.hidePopover()}else if(n.localName===`dialog`){let e=!n.hasAttribute(`open`);e&&a==`show-modal`?n.showModal():!e&&a==`close`?n.close(t.value?t.value:void 0):!e&&a==`request-close`&&(HTMLDialogElement.prototype.requestClose||(HTMLDialogElement.prototype.requestClose=function(){let e=new Event(`cancel`,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented||this.close()}),n.requestClose(t.value?t.value:void 0))}}function f(e){e.addEventListener(`click`,d,!0)}function p(e,t){let n=e.prototype.attachShadow;e.prototype.attachShadow=function(e){let r=n.call(this,e);return t(r),r};let r=e.prototype.attachInternals;e.prototype.attachInternals=function(){let e=r.call(this);return e.shadowRoot&&t(e.shadowRoot),e}}o(HTMLButtonElement),p(HTMLElement,e=>{f(e),l.observe(e,{attributeFilter:[`oncommand`]}),c(e.querySelectorAll(`[oncommand]`))}),f(document),Object.assign(globalThis,{CommandEvent:i})}e()||t();
|
|
@@ -3,22 +3,9 @@
|
|
|
3
3
|
* Copyright 2020 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
let e;function t(){return e===void 0&&(e=!!new DOMParser().parseFromString(`<div><template shadowrootmode="open"></template></div>`,`text/html`,{includeShadowRoots:!0}).querySelector(`div`)?.shadowRoot),e}
|
|
7
6
|
/**
|
|
8
7
|
* @license
|
|
9
8
|
* Copyright 2019 Google LLC
|
|
10
9
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
10
|
*/
|
|
12
|
-
const n=e=>e.parentElement===null,r=e=>e.tagName===`TEMPLATE`,i=e=>e.nodeType===Node.ELEMENT_NODE,a=e=>{
|
|
13
|
-
/**
|
|
14
|
-
* @license
|
|
15
|
-
* Copyright 2019 Google LLC
|
|
16
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
-
*/
|
|
18
|
-
if(t())return;let a=[],o=e.firstElementChild;for(;o!==e&&o!==null;)if(r(o))a.push(o),o=o.content;else if(o.firstElementChild!==null)o=o.firstElementChild;else if(i(o)&&o.nextElementSibling!==null)o=o.nextElementSibling;else{let t;for(;o!==e&&o!==null;)if(n(o)){t=a.pop();let e=t.parentElement,n=t.getAttribute(`shadowrootmode`);if(o=t,n===`open`||n===`closed`){let r=t.hasAttribute(`shadowrootdelegatesfocus`);try{e.attachShadow({mode:n,delegatesFocus:r}).append(t.content)}catch{}}else t=void 0}else{let e=o.nextElementSibling;if(e!=null){o=e,t!==void 0&&t.parentElement.removeChild(t);break}let n=o.parentElement?.nextElementSibling;if(n!=null){o=n,t!==void 0&&t.parentElement.removeChild(t);break}o=o.parentElement,t!==void 0&&(t.parentElement.removeChild(t),t=void 0)}}};
|
|
19
|
-
/**
|
|
20
|
-
* @license
|
|
21
|
-
* Copyright 2019 Google LLC
|
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/
|
|
24
|
-
export{a as hydrateShadowRoots};
|
|
11
|
+
let e;function t(){return e===void 0&&(e=!!new DOMParser().parseFromString(`<div><template shadowrootmode="open"></template></div>`,`text/html`,{includeShadowRoots:!0}).querySelector(`div`)?.shadowRoot),e}const n=e=>e.parentElement===null,r=e=>e.tagName===`TEMPLATE`,i=e=>e.nodeType===Node.ELEMENT_NODE,a=e=>{if(t())return;let a=[],o=e.firstElementChild;for(;o!==e&&o!==null;)if(r(o))a.push(o),o=o.content;else if(o.firstElementChild!==null)o=o.firstElementChild;else if(i(o)&&o.nextElementSibling!==null)o=o.nextElementSibling;else{let t;for(;o!==e&&o!==null;)if(n(o)){t=a.pop();let e=t.parentElement,n=t.getAttribute(`shadowrootmode`);if(o=t,n===`open`||n===`closed`){let r=t.hasAttribute(`shadowrootdelegatesfocus`);try{e.attachShadow({mode:n,delegatesFocus:r}).append(t.content)}catch{}}else t=void 0}else{let e=o.nextElementSibling;if(e!=null){o=e,t!==void 0&&t.parentElement.removeChild(t);break}let n=o.parentElement?.nextElementSibling;if(n!=null){o=n,t!==void 0&&t.parentElement.removeChild(t);break}o=o.parentElement,t!==void 0&&(t.parentElement.removeChild(t),t=void 0)}}};export{a as hydrateShadowRoots};
|
package/assets/js/polyfills.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=e=>{try{return typeof CSS<`u`&&CSS.supports(e)}catch{return!1}},t=[{name:`webcomponents`,test:()=>`customElements`in window&&`attachShadow`in Element.prototype,load:()=>import(`./polyfills/webcomponents-bundle.js`)},{name:`template-shadowroot`,test:()=>`shadowRootMode`in HTMLTemplateElement.prototype,load:async()=>{let{hydrateShadowRoots:e}=await import(`./polyfills/template-shadowroot.js`);e(document.body)}},{name:`temporal`,test:()=>`Temporal`in globalThis,load:()=>import(`./polyfills/global.esm.js`)},{name:`popover`,test:()=>`popover`in HTMLElement.prototype,load:()=>import(`./polyfills/popover.js`)},{name:`constructed-stylesheets`,test:()=>`adoptedStyleSheets`in Document.prototype,load:()=>import(`./polyfills/adoptedStyleSheets.js`)}],n=[{name:`css-anchor-positioning`,test:()=>e(`anchor-name: --x`),load:async()=>(await import(`./polyfills/css-anchor-positioning-fn.js`)).default()}],r=`polyfills:degraded`;async function i(e=t){let n=e.filter(({test:e})=>!e()),i=await Promise.allSettled(n.map(({load:e})=>e())),a=[];i.forEach((e,t)=>{let r=n[t];r&&e.status===`rejected`&&(a.push({name:r.name,reason:e.reason}),console.warn(`[polyfills] failed to load "${r.name}":`,e.reason))}),a.length&&window.dispatchEvent(new CustomEvent(r,{detail:{failures:a}}))}typeof document<`u`&&(i(t),document.addEventListener(`DOMContentLoaded`,()=>i(n)));export{r as POLYFILL_DEGRADED_EVENT,i as loadPolyfills,t as prerenderPolyfills};
|
|
1
|
+
const e=e=>{try{return typeof CSS<`u`&&CSS.supports(e)}catch{return!1}},t=[{name:`webcomponents`,test:()=>`customElements`in window&&`attachShadow`in Element.prototype,load:()=>import(`./polyfills/webcomponents-bundle.js`)},{name:`template-shadowroot`,test:()=>`shadowRootMode`in HTMLTemplateElement.prototype,load:async()=>{let{hydrateShadowRoots:e}=await import(`./polyfills/template-shadowroot.js`);e(document.body)}},{name:`temporal`,test:()=>`Temporal`in globalThis,load:()=>import(`./polyfills/global.esm.js`)},{name:`popover`,test:()=>`popover`in HTMLElement.prototype,load:()=>import(`./polyfills/popover.js`)},{name:`constructed-stylesheets`,test:()=>`adoptedStyleSheets`in Document.prototype,load:()=>import(`./polyfills/adoptedStyleSheets.js`)},{name:`invoker-commands`,test:()=>`command`in HTMLButtonElement.prototype,load:()=>import(`./polyfills/invokers-polyfill.js`)}],n=[{name:`css-anchor-positioning`,test:()=>e(`anchor-name: --x`),load:async()=>(await import(`./polyfills/css-anchor-positioning-fn.js`)).default()}],r=`polyfills:degraded`;async function i(e=t){let n=e.filter(({test:e})=>!e()),i=await Promise.allSettled(n.map(({load:e})=>e())),a=[];i.forEach((e,t)=>{let r=n[t];r&&e.status===`rejected`&&(a.push({name:r.name,reason:e.reason}),console.warn(`[polyfills] failed to load "${r.name}":`,e.reason))}),a.length&&window.dispatchEvent(new CustomEvent(r,{detail:{failures:a}}))}typeof document<`u`&&(i(t),document.addEventListener(`DOMContentLoaded`,()=>i(n)));export{r as POLYFILL_DEGRADED_EVENT,i as loadPolyfills,t as prerenderPolyfills};
|
package/config.schema.json
CHANGED
|
@@ -939,6 +939,35 @@
|
|
|
939
939
|
"additionalProperties": false
|
|
940
940
|
}
|
|
941
941
|
},
|
|
942
|
+
"hoursSpecial": {
|
|
943
|
+
"description": "Holiday/temporary hours, as dated deviations from the recurring `hours` — distinct from it because these carry a date range rather than a weekday.",
|
|
944
|
+
"type": "array",
|
|
945
|
+
"items": {
|
|
946
|
+
"type": "object",
|
|
947
|
+
"properties": {
|
|
948
|
+
"validFrom": {
|
|
949
|
+
"type": "string",
|
|
950
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
951
|
+
},
|
|
952
|
+
"validThrough": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
955
|
+
},
|
|
956
|
+
"opens": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"pattern": "^\\d{2}:\\d{2}$"
|
|
959
|
+
},
|
|
960
|
+
"closes": {
|
|
961
|
+
"type": "string",
|
|
962
|
+
"pattern": "^\\d{2}:\\d{2}$"
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
"required": [
|
|
966
|
+
"validFrom"
|
|
967
|
+
],
|
|
968
|
+
"additionalProperties": false
|
|
969
|
+
}
|
|
970
|
+
},
|
|
942
971
|
"type": {
|
|
943
972
|
"type": "string",
|
|
944
973
|
"enum": [
|
|
@@ -998,6 +1027,62 @@
|
|
|
998
1027
|
"items": {
|
|
999
1028
|
"type": "string"
|
|
1000
1029
|
}
|
|
1030
|
+
},
|
|
1031
|
+
"photos": {
|
|
1032
|
+
"description": "Location photos (logo, storefront, interior, …) → JSON-LD `image`. Every listing platform (GBP, Bing Places, Apple Business Connect) wants these; none can derive them.",
|
|
1033
|
+
"type": "array",
|
|
1034
|
+
"items": {
|
|
1035
|
+
"anyOf": [
|
|
1036
|
+
{
|
|
1037
|
+
"type": "string"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"type": "object",
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"src": {
|
|
1043
|
+
"type": "string"
|
|
1044
|
+
},
|
|
1045
|
+
"alt": {
|
|
1046
|
+
"type": "string"
|
|
1047
|
+
},
|
|
1048
|
+
"width": {
|
|
1049
|
+
"type": "number"
|
|
1050
|
+
},
|
|
1051
|
+
"height": {
|
|
1052
|
+
"type": "number"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
"required": [
|
|
1056
|
+
"src",
|
|
1057
|
+
"alt"
|
|
1058
|
+
],
|
|
1059
|
+
"additionalProperties": false
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"sameAs": {
|
|
1065
|
+
"description": "This location's own profile URLs (its Google Business Profile, Bing Places listing, Apple Business Connect location, Facebook page, …) → JSON-LD `sameAs`. Distinct from `organization.sameAs`, which is the company overall — a multi-location org's locations do not share one GBP listing.",
|
|
1066
|
+
"type": "array",
|
|
1067
|
+
"items": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"format": "uri"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
"listings": {
|
|
1073
|
+
"description": "External listing IDs for this location, keyed by platform — the Google Business Profile location id, the Bing Places business id, the Apple Business Connect location id. Not consumed by the generator today; recorded here so a future sync has a stable id to match against instead of risking a duplicate listing.",
|
|
1074
|
+
"type": "object",
|
|
1075
|
+
"propertyNames": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"enum": [
|
|
1078
|
+
"google",
|
|
1079
|
+
"bing",
|
|
1080
|
+
"apple"
|
|
1081
|
+
]
|
|
1082
|
+
},
|
|
1083
|
+
"additionalProperties": {
|
|
1084
|
+
"type": "string"
|
|
1085
|
+
}
|
|
1001
1086
|
}
|
|
1002
1087
|
},
|
|
1003
1088
|
"required": [
|
|
@@ -1332,8 +1417,22 @@
|
|
|
1332
1417
|
},
|
|
1333
1418
|
"additionalProperties": {}
|
|
1334
1419
|
},
|
|
1420
|
+
"google": {
|
|
1421
|
+
"description": "This site's Google Cloud project. Not a secret — the credentials stay in the environment.",
|
|
1422
|
+
"type": "object",
|
|
1423
|
+
"properties": {
|
|
1424
|
+
"project": {
|
|
1425
|
+
"type": "string",
|
|
1426
|
+
"description": "Google Cloud project id that API usage is attributed to (quota and billing). One project per site keeps usage separate — Search Console today, Maps and anything else later. Sent as `x-goog-user-project`, which is required when the credential is a *user* one (an ADC login from `gcloud auth application-default login`, or `VITOPS_GOOGLE_*`): those use a shared OAuth client that carries no project of its own. A service-account credential belongs to a project already, so this is not needed for it. The identity must hold `serviceusage.services.use` on the project, and the APIs being called must be enabled there."
|
|
1427
|
+
}
|
|
1428
|
+
},
|
|
1429
|
+
"required": [
|
|
1430
|
+
"project"
|
|
1431
|
+
],
|
|
1432
|
+
"additionalProperties": false
|
|
1433
|
+
},
|
|
1335
1434
|
"searchConsole": {
|
|
1336
|
-
"description": "Domains to onboard as Google Search Console *domain properties* via `vitops search setup`, keyed by bare hostname (mirrors `dns`). Credentials come from the environment (CLOUDFLARE_API_TOKEN + the Google OAuth vars) — never in this file.",
|
|
1435
|
+
"description": "Domains to onboard as Google Search Console *domain properties* via `vitops search setup`, keyed by bare hostname (mirrors `dns`). Credentials come from the environment (CLOUDFLARE_API_TOKEN + the Google OAuth vars) — never in this file. Set `google.project` when using a user credential.",
|
|
1337
1436
|
"type": "object",
|
|
1338
1437
|
"propertyNames": {
|
|
1339
1438
|
"type": "string"
|
package/dist/index.d.mts
CHANGED
|
@@ -501,6 +501,9 @@ declare const SiteSectionSchema: z.ZodMiniObject<{
|
|
|
501
501
|
}, z.z.core.$strip>>>;
|
|
502
502
|
}, z.z.core.$strip>>>;
|
|
503
503
|
cloudflare: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
504
|
+
google: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
505
|
+
project: z.ZodMiniString<string>;
|
|
506
|
+
}, z.z.core.$strip>>;
|
|
504
507
|
searchConsole: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
505
508
|
delegatedOwners: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEmail>>;
|
|
506
509
|
fullUserGroup: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
@@ -906,6 +909,12 @@ declare const OrganizationSectionSchema: z.ZodMiniObject<{
|
|
|
906
909
|
opens: z.ZodMiniString<string>;
|
|
907
910
|
closes: z.ZodMiniString<string>;
|
|
908
911
|
}, z.z.core.$strip>>>;
|
|
912
|
+
hoursSpecial: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
913
|
+
validFrom: z.ZodMiniString<string>;
|
|
914
|
+
validThrough: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
915
|
+
opens: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
916
|
+
closes: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
917
|
+
}, z.z.core.$strip>>>;
|
|
909
918
|
type: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
910
919
|
LocalBusiness: "LocalBusiness";
|
|
911
920
|
Store: "Store";
|
|
@@ -927,6 +936,18 @@ declare const OrganizationSectionSchema: z.ZodMiniObject<{
|
|
|
927
936
|
paymentAccepted: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
928
937
|
currenciesAccepted: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
929
938
|
knowsLanguage: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
939
|
+
photos: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
940
|
+
src: z.ZodMiniString<string>;
|
|
941
|
+
alt: z.ZodMiniString<string>;
|
|
942
|
+
width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
943
|
+
height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
944
|
+
}, z.z.core.$strip>]>>>;
|
|
945
|
+
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
946
|
+
listings: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
947
|
+
google: "google";
|
|
948
|
+
bing: "bing";
|
|
949
|
+
apple: "apple";
|
|
950
|
+
}> & z.z.core.$partial, z.ZodMiniString<string>>>;
|
|
930
951
|
}, z.z.core.$strip>>>;
|
|
931
952
|
services: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
932
953
|
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>;
|
|
@@ -1119,6 +1140,12 @@ declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1119
1140
|
opens: z.ZodMiniString<string>;
|
|
1120
1141
|
closes: z.ZodMiniString<string>;
|
|
1121
1142
|
}, z.z.core.$strip>>>;
|
|
1143
|
+
hoursSpecial: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1144
|
+
validFrom: z.ZodMiniString<string>;
|
|
1145
|
+
validThrough: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1146
|
+
opens: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1147
|
+
closes: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1148
|
+
}, z.z.core.$strip>>>;
|
|
1122
1149
|
type: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1123
1150
|
LocalBusiness: "LocalBusiness";
|
|
1124
1151
|
Store: "Store";
|
|
@@ -1140,6 +1167,18 @@ declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1140
1167
|
paymentAccepted: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1141
1168
|
currenciesAccepted: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1142
1169
|
knowsLanguage: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1170
|
+
photos: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1171
|
+
src: z.ZodMiniString<string>;
|
|
1172
|
+
alt: z.ZodMiniString<string>;
|
|
1173
|
+
width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1174
|
+
height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1175
|
+
}, z.z.core.$strip>]>>>;
|
|
1176
|
+
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
1177
|
+
listings: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
1178
|
+
google: "google";
|
|
1179
|
+
bing: "bing";
|
|
1180
|
+
apple: "apple";
|
|
1181
|
+
}> & z.z.core.$partial, z.ZodMiniString<string>>>;
|
|
1143
1182
|
}, z.z.core.$strip>>>;
|
|
1144
1183
|
services: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1145
1184
|
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>;
|
|
@@ -1204,6 +1243,9 @@ declare const ConfigSchema: z.ZodMiniObject<{
|
|
|
1204
1243
|
}, z.z.core.$strip>>>;
|
|
1205
1244
|
}, z.z.core.$strip>>>;
|
|
1206
1245
|
cloudflare: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
1246
|
+
google: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1247
|
+
project: z.ZodMiniString<string>;
|
|
1248
|
+
}, z.z.core.$strip>>;
|
|
1207
1249
|
searchConsole: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1208
1250
|
delegatedOwners: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEmail>>;
|
|
1209
1251
|
fullUserGroup: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
@@ -1731,6 +1773,12 @@ declare const configJsonSchema: {
|
|
|
1731
1773
|
opens: z.ZodMiniString<string>;
|
|
1732
1774
|
closes: z.ZodMiniString<string>;
|
|
1733
1775
|
}, z.z.core.$strip>>>;
|
|
1776
|
+
hoursSpecial: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1777
|
+
validFrom: z.ZodMiniString<string>;
|
|
1778
|
+
validThrough: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1779
|
+
opens: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1780
|
+
closes: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1781
|
+
}, z.z.core.$strip>>>;
|
|
1734
1782
|
type: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1735
1783
|
LocalBusiness: "LocalBusiness";
|
|
1736
1784
|
Store: "Store";
|
|
@@ -1752,6 +1800,18 @@ declare const configJsonSchema: {
|
|
|
1752
1800
|
paymentAccepted: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1753
1801
|
currenciesAccepted: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1754
1802
|
knowsLanguage: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1803
|
+
photos: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1804
|
+
src: z.ZodMiniString<string>;
|
|
1805
|
+
alt: z.ZodMiniString<string>;
|
|
1806
|
+
width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1807
|
+
height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1808
|
+
}, z.z.core.$strip>]>>>;
|
|
1809
|
+
sameAs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniURL>>;
|
|
1810
|
+
listings: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniEnum<{
|
|
1811
|
+
google: "google";
|
|
1812
|
+
bing: "bing";
|
|
1813
|
+
apple: "apple";
|
|
1814
|
+
}> & z.z.core.$partial, z.ZodMiniString<string>>>;
|
|
1755
1815
|
}, z.z.core.$strip>>>;
|
|
1756
1816
|
services: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1757
1817
|
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>]>;
|
|
@@ -1816,6 +1876,9 @@ declare const configJsonSchema: {
|
|
|
1816
1876
|
}, z.z.core.$strip>>>;
|
|
1817
1877
|
}, z.z.core.$strip>>>;
|
|
1818
1878
|
cloudflare: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
1879
|
+
google: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1880
|
+
project: z.ZodMiniString<string>;
|
|
1881
|
+
}, z.z.core.$strip>>;
|
|
1819
1882
|
searchConsole: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
1820
1883
|
delegatedOwners: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEmail>>;
|
|
1821
1884
|
fullUserGroup: z.ZodMiniOptional<z.ZodMiniEmail>;
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["left","top","width","height","rotate","hFlip","vFlip","IconifyDimenisons","IconifyTransformations","IconifyOptional","parent","body","hidden","IconifyIcon","APIIconAttributes","IconifyAlias","index","ExtendedIconifyIcon","ExtendedIconifyAlias","name","total","version","author","url","license","title","spdx","samples","displayHeight","category","tags","palette","prefix","suffix","info","IconifyInfo","chars","IconifyChars","categories","IconifyCategories","themes","LegacyIconifyThemes","prefixes","Record","suffixes","provider","icons","IconifyIcons","aliases","IconifyAliases","IconifyJSONIconsData","IconifyMetaData","lastModified","not_found","IconifyJSON","metadata"],"sources":["../src/schema.ts","../src/config.ts","../src/tokens.ts","../src/generate.ts","../src/docs.ts","../src/tiers.ts","../../../node_modules/.pnpm/@iconify+types@2.0.0/node_modules/@iconify/types/types.d.ts","../src/icons-sprite.ts","../src/shared.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/index.ts"],"x_google_ignoreList":[6],"mappings":";;;;cAmQa,kBAAA,EAAkB,CAAA,CAAA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0CnB,YAAA,GAAe,CAAA,CAAE,KAAK,QAAQ,kBAAA;;;;;;cA0B7B,UAAA;;;;;;;;;;;;;cAcA,iBAAA;;cAGA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkDD,gBAAA;EACN,EAAA;EAAU,IAAA,EAAM,YAAA;EAAc,MAAA;EAAY,QAAA;AAAA;EAC1C,EAAA;EAAW,IAAA;EAAiB,MAAA,EAAQ,CAAA,CAAE,IAAA,CAAK,SAA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Ae,EAAP,KAAK;;;;;;;;;;;;;;iBAmB5B,cAAA,CAAe,MAAA,EAAQ,KAAK,IAAI,MAAA;;;KCrKpC,WAAA;AAAA,UAEK,oBAAA;;EAEf,IAAA,GAAO,QAAA;;EAEP,MAAA,GAAS,WAAW;AAAA;;iBAUN,WAAA,CAAY,GAAA,EAAK,MAAA,GAAS,QAAQ;;iBAWlC,cAAA,CAAe,GAAA,EAAK,MAAA,EAAQ,GAAA,EAAK,QAAA,EAAU,IAAA,GAAO,UAAA;;;;;;iBAclD,WAAA,CAAY,GAAA,EAAK,MAAA,EAAQ,GAAA,EAAK,QAAA,GAAW,WAAA;;;;;;;iBAUzC,aAAA,CACd,GAAA,EAAK,MAAA,EACL,IAAA,GAAM,oBAAA,GACL,MAAA;;;;;;;;iBCgFa,aAAA,IAAiB,YAAY"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["left","top","width","height","rotate","hFlip","vFlip","IconifyDimenisons","IconifyTransformations","IconifyOptional","parent","body","hidden","IconifyIcon","APIIconAttributes","IconifyAlias","index","ExtendedIconifyIcon","ExtendedIconifyAlias","name","total","version","author","url","license","title","spdx","samples","displayHeight","category","tags","palette","prefix","suffix","info","IconifyInfo","chars","IconifyChars","categories","IconifyCategories","themes","LegacyIconifyThemes","prefixes","Record","suffixes","provider","icons","IconifyIcons","aliases","IconifyAliases","IconifyJSONIconsData","IconifyMetaData","lastModified","not_found","IconifyJSON","metadata"],"sources":["../src/schema.ts","../src/config.ts","../src/tokens.ts","../src/generate.ts","../src/docs.ts","../src/tiers.ts","../../../node_modules/.pnpm/@iconify+types@2.0.0/node_modules/@iconify/types/types.d.ts","../src/icons-sprite.ts","../src/shared.ts","../src/token-refs.ts","../src/legal/providers.ts","../src/legal/derive.ts","../src/legal/templates/cookies.ca.ts","../src/legal/templates/privacy.ca.ts","../src/legal/templates/terms.ca.ts","../src/legal/templates/index.ts","../src/legal/render.ts","../src/legal/index.ts","../src/index.ts"],"x_google_ignoreList":[6],"mappings":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+187,9 @@ const TW_CLASH = new Set([
|
|
|
187
187
|
"text-wrap",
|
|
188
188
|
"text-nowrap",
|
|
189
189
|
"text-balance",
|
|
190
|
-
"text-pretty"
|
|
190
|
+
"text-pretty",
|
|
191
|
+
"rounded-none",
|
|
192
|
+
"rounded-full"
|
|
191
193
|
]);
|
|
192
194
|
|
|
193
195
|
//#endregion
|
|
@@ -1257,6 +1259,18 @@ const OpeningHoursSchema = z.object({
|
|
|
1257
1259
|
opens: z.string().check(z.regex(/^\d{2}:\d{2}$/)),
|
|
1258
1260
|
closes: z.string().check(z.regex(/^\d{2}:\d{2}$/))
|
|
1259
1261
|
});
|
|
1262
|
+
/**
|
|
1263
|
+
* A dated deviation from the recurring `hours` — holiday hours, a one-off
|
|
1264
|
+
* closure, a temporary schedule. Same schema.org shape
|
|
1265
|
+
* (`OpeningHoursSpecification`), distinguished by carrying `validFrom`. A
|
|
1266
|
+
* full closure omits `opens`/`closes` rather than encoding an open interval.
|
|
1267
|
+
*/
|
|
1268
|
+
const SpecialHoursSchema = z.object({
|
|
1269
|
+
validFrom: IsoDate,
|
|
1270
|
+
validThrough: z.optional(IsoDate),
|
|
1271
|
+
opens: z.optional(z.string().check(z.regex(/^\d{2}:\d{2}$/))),
|
|
1272
|
+
closes: z.optional(z.string().check(z.regex(/^\d{2}:\d{2}$/)))
|
|
1273
|
+
});
|
|
1260
1274
|
const LocalBusinessType = z.enum([
|
|
1261
1275
|
"LocalBusiness",
|
|
1262
1276
|
"Store",
|
|
@@ -1272,6 +1286,11 @@ const LocalBusinessType = z.enum([
|
|
|
1272
1286
|
"RealEstateAgent",
|
|
1273
1287
|
"Organization"
|
|
1274
1288
|
]);
|
|
1289
|
+
const ListingPlatform = z.enum([
|
|
1290
|
+
"google",
|
|
1291
|
+
"bing",
|
|
1292
|
+
"apple"
|
|
1293
|
+
]);
|
|
1275
1294
|
const LocationSchema = z.object({
|
|
1276
1295
|
slug: z.optional(LocalizableSchema),
|
|
1277
1296
|
name: LocalizableSchema,
|
|
@@ -1280,13 +1299,17 @@ const LocationSchema = z.object({
|
|
|
1280
1299
|
address: z.optional(PostalAddressSchema),
|
|
1281
1300
|
geo: z.optional(GeoSchema),
|
|
1282
1301
|
hours: z.optional(z.array(OpeningHoursSchema)),
|
|
1302
|
+
hoursSpecial: desc(z.optional(z.array(SpecialHoursSchema)), "Holiday/temporary hours, as dated deviations from the recurring `hours` — distinct from it because these carry a date range rather than a weekday."),
|
|
1283
1303
|
type: z.optional(LocalBusinessType),
|
|
1284
1304
|
description: z.optional(LocalizableSchema),
|
|
1285
1305
|
areaServed: z.optional(z.array(z.string())),
|
|
1286
1306
|
priceRange: z.optional(z.string()),
|
|
1287
1307
|
paymentAccepted: z.optional(z.array(z.string())),
|
|
1288
1308
|
currenciesAccepted: z.optional(Iso4217),
|
|
1289
|
-
knowsLanguage: z.optional(z.array(z.string()))
|
|
1309
|
+
knowsLanguage: z.optional(z.array(z.string())),
|
|
1310
|
+
photos: desc(z.optional(z.array(ImageRefSchema)), "Location photos (logo, storefront, interior, …) → JSON-LD `image`. Every listing platform (GBP, Bing Places, Apple Business Connect) wants these; none can derive them."),
|
|
1311
|
+
sameAs: desc(z.optional(z.array(z.url())), "This location's own profile URLs (its Google Business Profile, Bing Places listing, Apple Business Connect location, Facebook page, …) → JSON-LD `sameAs`. Distinct from `organization.sameAs`, which is the company overall — a multi-location org's locations do not share one GBP listing."),
|
|
1312
|
+
listings: desc(z.optional(z.partialRecord(ListingPlatform, z.string())), "External listing IDs for this location, keyed by platform — the Google Business Profile location id, the Bing Places business id, the Apple Business Connect location id. Not consumed by the generator today; recorded here so a future sync has a stable id to match against instead of risking a duplicate listing.")
|
|
1290
1313
|
});
|
|
1291
1314
|
const OrganizationSchema = z.object({
|
|
1292
1315
|
name: desc(z.optional(LocalizableSchema), "Trading name, as a reader would recognise it (e.g. \"Acme\"). Localisable."),
|
|
@@ -1646,7 +1669,8 @@ const SiteSectionSchema = z.object({
|
|
|
1646
1669
|
})), "Canonical domain + redirecting aliases."),
|
|
1647
1670
|
dns: desc(z.optional(z.record(z.string(), DnsDomainSchema)), "Desired DNS state per domain (provider, nameservers, records) — declarative reference, not applied automatically."),
|
|
1648
1671
|
cloudflare: desc(z.optional(z.record(z.string(), z.unknown())), "Deliberate escape hatch for provider-specific Cloudflare settings — out of scope to model here."),
|
|
1649
|
-
|
|
1672
|
+
google: desc(z.optional(z.object({ project: desc(z.string(), "Google Cloud project id that API usage is attributed to (quota and billing). One project per site keeps usage separate — Search Console today, Maps and anything else later. Sent as `x-goog-user-project`, which is required when the credential is a *user* one (an ADC login from `gcloud auth application-default login`, or `VITOPS_GOOGLE_*`): those use a shared OAuth client that carries no project of its own. A service-account credential belongs to a project already, so this is not needed for it. The identity must hold `serviceusage.services.use` on the project, and the APIs being called must be enabled there.") })), "This site's Google Cloud project. Not a secret — the credentials stay in the environment."),
|
|
1673
|
+
searchConsole: desc(z.optional(z.record(z.string(), SearchConsoleSetupSchema)), "Domains to onboard as Google Search Console *domain properties* via `vitops search setup`, keyed by bare hostname (mirrors `dns`). Credentials come from the environment (CLOUDFLARE_API_TOKEN + the Google OAuth vars) — never in this file. Set `google.project` when using a user credential."),
|
|
1650
1674
|
environments: desc(z.record(z.string(), EnvironmentSchema), "Deploy environments (production, dev, …): URL, API origin, analytics toggle, robots policy, active A/B variant."),
|
|
1651
1675
|
abTesting: desc(z.optional(z.object({
|
|
1652
1676
|
enabled: z.boolean(),
|
|
@@ -2212,13 +2236,14 @@ const TIERS = {
|
|
|
2212
2236
|
"tree",
|
|
2213
2237
|
"tree__item",
|
|
2214
2238
|
"tree__content",
|
|
2239
|
+
"tree__summary",
|
|
2215
2240
|
"tree__toggle",
|
|
2216
2241
|
"tree__label"
|
|
2217
2242
|
], "patterns/tree.css", true),
|
|
2218
2243
|
wc: {
|
|
2219
2244
|
tag: "wc-tree",
|
|
2220
2245
|
registered: true,
|
|
2221
|
-
adds: "filter, expand/collapse all, hash deep-linking"
|
|
2246
|
+
adds: "WAI-ARIA tree semantics, roving-tabindex keyboard navigation, filter, expand/collapse all, hash deep-linking"
|
|
2222
2247
|
},
|
|
2223
2248
|
astro: a("Tree", "wc"),
|
|
2224
2249
|
use: "`<Tree items={…} />` — it emits `<wc-tree>` itself, so do NOT add your own wrapper."
|
|
@@ -2240,6 +2265,21 @@ const TIERS = {
|
|
|
2240
2265
|
bricks: "vitops-carousel",
|
|
2241
2266
|
use: "`<Carousel slides={…} label=\"…\" />` — it emits `<wc-carousel>` itself, so do NOT add your own wrapper. `.carousel` is the shell and `.carousel__track` the scroller; add `loop` for the cloned infinite strip (`autoplay` implies it)."
|
|
2242
2267
|
},
|
|
2268
|
+
gallery: {
|
|
2269
|
+
css: c([
|
|
2270
|
+
"gallery",
|
|
2271
|
+
"gallery__item",
|
|
2272
|
+
"gallery__trigger",
|
|
2273
|
+
"gallery__thumb"
|
|
2274
|
+
], "patterns/gallery.css", true),
|
|
2275
|
+
wc: {
|
|
2276
|
+
tag: "wc-gallery",
|
|
2277
|
+
registered: true,
|
|
2278
|
+
adds: "prev/next, arrow keys, swipe, an image counter, neighbour preload and the view-transition morph"
|
|
2279
|
+
},
|
|
2280
|
+
astro: a("Gallery", "wc"),
|
|
2281
|
+
use: "`<Gallery images={…} label=\"…\" />` — it emits `<wc-gallery>` itself, so do NOT add your own wrapper. Each thumbnail is a `command=\"show-modal\"` invoker for its own `<dialog class=\"lightbox-dialog\">` (see `lightbox`), so it is a working modal lightbox with no JS."
|
|
2282
|
+
},
|
|
2243
2283
|
entries: {
|
|
2244
2284
|
css: c([
|
|
2245
2285
|
"entries__table",
|
|
@@ -2320,6 +2360,20 @@ const TIERS = {
|
|
|
2320
2360
|
},
|
|
2321
2361
|
use: "`<wc-marquee>` around one `.marquee__content`. Scrolls via CSS alone; JS only removes the seam."
|
|
2322
2362
|
},
|
|
2363
|
+
counter: {
|
|
2364
|
+
css: c([
|
|
2365
|
+
"counter",
|
|
2366
|
+
"counter__value",
|
|
2367
|
+
"counter__presentation"
|
|
2368
|
+
], "patterns/counter.css"),
|
|
2369
|
+
wc: {
|
|
2370
|
+
tag: "wc-counter",
|
|
2371
|
+
registered: true,
|
|
2372
|
+
adds: "animates from a start value to the value already in the fallback text, on intersection"
|
|
2373
|
+
},
|
|
2374
|
+
astro: a("Counter", "wc"),
|
|
2375
|
+
use: "`<Counter value=\"94%\" />` — it emits `<wc-counter>` itself, so do NOT add your own wrapper. The final value is parsed from the fallback text, never passed separately."
|
|
2376
|
+
},
|
|
2323
2377
|
"multi-field": {
|
|
2324
2378
|
css: c([
|
|
2325
2379
|
"form-group",
|
|
@@ -2579,8 +2633,13 @@ const TIERS = {
|
|
|
2579
2633
|
use: "`.notification` with a role variant; wrap in `<wc-dismissable>` to make it dismissable."
|
|
2580
2634
|
},
|
|
2581
2635
|
lightbox: {
|
|
2582
|
-
css: c([
|
|
2583
|
-
|
|
2636
|
+
css: c([
|
|
2637
|
+
"lightbox-dialog",
|
|
2638
|
+
"lightbox-dialog__content",
|
|
2639
|
+
"lightbox-dialog__image",
|
|
2640
|
+
"lightbox-dialog__nav-button"
|
|
2641
|
+
], "patterns/lightbox.css", true),
|
|
2642
|
+
use: "The `<dialog class=\"lightbox-dialog\">` half of a lightbox. Use `gallery` for the thumbnail grid that drives it — `<Gallery />` emits both."
|
|
2584
2643
|
},
|
|
2585
2644
|
comment: {
|
|
2586
2645
|
css: c([
|
|
@@ -3451,6 +3510,9 @@ and a heading and a footer, \`subgrid\` is the one that makes them line up. Neve
|
|
|
3451
3510
|
- **Display** — \`block\`, \`inline\`, \`inline-block\`, \`flex\`, \`grid\`, \`hidden\`
|
|
3452
3511
|
(breakpoint-prefixable, e.g. \`md-hidden\`).
|
|
3453
3512
|
- **Accessibility** — \`sr-only\` / \`not-sr-only\` (breakpoint-prefixable).
|
|
3513
|
+
- **Shape** — \`rounded-none\`, \`rounded-full\` (the two radii with no design-token meaning of
|
|
3514
|
+
their own; every other radius comes from the pattern token cascade, not a utility). Tailwind
|
|
3515
|
+
ships its own \`rounded-*\` scale, so these are css/bricks only.
|
|
3454
3516
|
- **State hooks** — \`is-active\`, \`is-open\` (styling flags toggled by JS / native state).
|
|
3455
3517
|
|
|
3456
3518
|
## Spacing
|
|
@@ -5009,6 +5071,7 @@ grants**, tracking where each command runs:
|
|
|
5009
5071
|
| --- | --- | --- |
|
|
5010
5072
|
| **Service account** (JWT bearer) | \`VITOPS_GSC_SERVICE_ACCOUNT\` (inline JSON) or \`GOOGLE_APPLICATION_CREDENTIALS\` (path) | \`search notify\` — never expires, right for CI |
|
|
5011
5073
|
| **User OAuth** (refresh token) | \`VITOPS_GOOGLE_CLIENT_ID\` / \`_CLIENT_SECRET\` / \`_REFRESH_TOKEN\` | \`search setup\` — **required** |
|
|
5074
|
+
| **User OAuth via ADC** (fallback) | none — a \`gcloud auth application-default login\` credential | either, when no \`VITOPS_GOOGLE_*\` is set |
|
|
5012
5075
|
|
|
5013
5076
|
Cloudflare uses \`CLOUDFLARE_API_TOKEN\` (a \`Zone:DNS:Edit\` token; the standard "Edit zone DNS"
|
|
5014
5077
|
template also carries the \`Zone:Read\` the zone-by-name lookup needs).
|
|
@@ -5022,6 +5085,33 @@ revoked, and for an OAuth client still in *Testing* publishing status Google exp
|
|
|
5022
5085
|
Console does not care which identity calls it, and someone who has run \`search setup\` already
|
|
5023
5086
|
holds a Google credential.
|
|
5024
5087
|
|
|
5088
|
+
**Being logged in to gcloud is enough**, which also sidesteps the 7-day expiry above — the Cloud
|
|
5089
|
+
SDK client is published, so its refresh token doesn't rot. The Search Console scopes are not in
|
|
5090
|
+
the default ADC set, so ask for them:
|
|
5091
|
+
|
|
5092
|
+
\`\`\`
|
|
5093
|
+
gcloud auth application-default login \\
|
|
5094
|
+
--scopes=openid,https://www.googleapis.com/auth/siteverification,\\
|
|
5095
|
+
https://www.googleapis.com/auth/webmasters,https://www.googleapis.com/auth/cloud-platform
|
|
5096
|
+
\`\`\`
|
|
5097
|
+
|
|
5098
|
+
Explicit \`VITOPS_GOOGLE_*\` vars win over it: a stale local login silently overriding a
|
|
5099
|
+
deliberate CI secret is the worst available precedence.
|
|
5100
|
+
|
|
5101
|
+
Two things follow from ADC using a **shared** OAuth client, and both fail as a bare \`403\`:
|
|
5102
|
+
|
|
5103
|
+
- **It owns no project, so \`site.google.project\` is required** — sent as \`x-goog-user-project\`.
|
|
5104
|
+
Without it: *"requires a quota project, which is not set by default"*. A service account
|
|
5105
|
+
belongs to a project already, so the header is **not** sent for one; attaching a different
|
|
5106
|
+
project would newly require \`serviceusage.services.use\` there and break a working credential.
|
|
5107
|
+
- **That project needs the APIs enabled** (\`searchconsole.googleapis.com\`,
|
|
5108
|
+
\`siteverification.googleapis.com\`) and \`serviceusage.services.use\` for the identity. One
|
|
5109
|
+
project per site keeps usage and billing separate — one grant per site, one admin identity.
|
|
5110
|
+
|
|
5111
|
+
\`GOOGLE_APPLICATION_CREDENTIALS\` carries **either kind**, since it is both Google's convention
|
|
5112
|
+
and where gcloud writes ADC. It is discriminated on the JSON's \`type\` field, never on which
|
|
5113
|
+
fields are present.
|
|
5114
|
+
|
|
5025
5115
|
⚠️ Do not add \`googleapis\` — an enormous dependency for a handful of REST endpoints in a CLI
|
|
5026
5116
|
that installs into every consumer project. The JWT is minted with ~30 lines of \`node:crypto\`.
|
|
5027
5117
|
`;
|
|
@@ -5322,7 +5412,7 @@ function emitDesignMd(ctx) {
|
|
|
5322
5412
|
if (pDefaults.br) pushRadius("DEFAULT", pDefaults.br);
|
|
5323
5413
|
for (const [n, v] of Object.entries(pRadii)) pushRadius(n, v);
|
|
5324
5414
|
const roundedNames = new Set(rounded.map(([k]) => k));
|
|
5325
|
-
/** `var(--br-default)` → `{rounded.DEFAULT}`, `var(--br-
|
|
5415
|
+
/** `var(--br-default)` → `{rounded.DEFAULT}`, `var(--br-circle, 50%)` → `{rounded.circle}`. */
|
|
5326
5416
|
const roundedRef = (value) => {
|
|
5327
5417
|
const v = varName(value);
|
|
5328
5418
|
const bare = v?.startsWith("br-") ? v.slice(3) : void 0;
|
|
@@ -8308,10 +8398,7 @@ function defaultConfig() {
|
|
|
8308
8398
|
p: "1rem",
|
|
8309
8399
|
fs: "1rem"
|
|
8310
8400
|
},
|
|
8311
|
-
radii: {
|
|
8312
|
-
pill: "999px",
|
|
8313
|
-
circle: "50%"
|
|
8314
|
-
},
|
|
8401
|
+
radii: { circle: "50%" },
|
|
8315
8402
|
groups: {
|
|
8316
8403
|
control: {
|
|
8317
8404
|
ds: "var(--ds-default)",
|