@webority/tokens 0.109.7 → 0.109.9
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/emit/web.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import{BREAKPOINT_PX as e,TOUCH_MEDIA as t,breakpointRules as n,fluidLength as r,touchValue as i}from"../model/length.js";import{cssVarOfPath as a}from"../names.js";var o={mode:`light`,platform:`web`,width:1440},s={mode:`dark`,platform:`web`,width:1440},c={mode:`light`,platform:`web`,width:390},l=/\{([a-z0-9-]+(?:\.[a-z0-9-]+)+)\}/g,u=/^\{([a-z0-9-]+(?:\.[a-z0-9-]+)+)\}$/,d=/^#[0-9a-f]{6}$/i,f=[[`--bs-body-color`,`text`],[`--bs-emphasis-color`,`text`],[`--bs-secondary-color`,`text-muted`],[`--bs-tertiary-color`,`text-subtle`],[`--bs-body-bg`,`bg`],[`--bs-border-color`,`border`],[`--bs-secondary-bg`,`surface`],[`--bs-tertiary-bg`,`bg-muted`]],p=[[`--bs-body-bg-rgb`,`bg`],[`--bs-body-color-rgb`,`text`],[`--bs-emphasis-color-rgb`,`text`],[`--bs-secondary-color-rgb`,`text-muted`],[`--bs-tertiary-color-rgb`,`text-subtle`],[`--bs-secondary-bg-rgb`,`surface`],[`--bs-tertiary-bg-rgb`,`bg-muted`],[`--bs-border-color-rgb`,`border`]],m=[[`$body-color`,`color.text-body`],[`$body-secondary-color`,`color.text-muted`],[`$body-tertiary-color`,`color.text-subtle`],[`$body-secondary-bg`,`color.bg-subtle`],[`$body-tertiary-bg`,`color.bg-muted`],[`$border-color`,`color.border`],[`$border-color-translucent`,null],[`$border-radius`,`radius.md`],[`$border-radius-sm`,`radius.sm`],[`$border-radius-lg`,`radius.lg`],[`$border-radius-pill`,`radius.pill`],[`$wui-shadow-overlay`,`shadow.popover`],[`$wui-shadow-overlay-lg`,`shadow.modal`],[`$link-color`,`color.link`],[`$line-height-base`,`leading.body`],[`$headings-line-height`,`leading.heading`],[`$display-line-height`,`leading.display`]],h={"$border-color-translucent":`rgba(13, 24, 43, 0.08)`},g=`:root[data-theme="dark"],
|
|
2
|
-
:root[data-bs-theme="dark"]`,
|
|
3
|
-
[data-bs-theme="dark"]:not(:root)`,
|
|
1
|
+
import{BREAKPOINT_PX as e,TOUCH_MEDIA as t,breakpointRules as n,fluidLength as r,touchValue as i}from"../model/length.js";import{cssVarOfPath as a}from"../names.js";var o={mode:`light`,platform:`web`,width:1440},s={mode:`dark`,platform:`web`,width:1440},c={mode:`light`,platform:`web`,width:390},l=/\{([a-z0-9-]+(?:\.[a-z0-9-]+)+)\}/g,u=/^\{([a-z0-9-]+(?:\.[a-z0-9-]+)+)\}$/,d=/^#[0-9a-f]{6}$/i,f=[[`--bs-body-color`,`text`],[`--bs-emphasis-color`,`text`],[`--bs-secondary-color`,`text-muted`],[`--bs-tertiary-color`,`text-subtle`],[`--bs-body-bg`,`bg`],[`--bs-border-color`,`border`],[`--bs-secondary-bg`,`surface`],[`--bs-tertiary-bg`,`bg-muted`],[`--bs-primary`,`primary`]],p=[[`--bs-body-bg-rgb`,`bg`],[`--bs-primary-rgb`,`primary`],[`--bs-body-color-rgb`,`text`],[`--bs-emphasis-color-rgb`,`text`],[`--bs-secondary-color-rgb`,`text-muted`],[`--bs-tertiary-color-rgb`,`text-subtle`],[`--bs-secondary-bg-rgb`,`surface`],[`--bs-tertiary-bg-rgb`,`bg-muted`],[`--bs-border-color-rgb`,`border`]],m=[[`$body-color`,`color.text-body`],[`$body-secondary-color`,`color.text-muted`],[`$body-tertiary-color`,`color.text-subtle`],[`$body-secondary-bg`,`color.bg-subtle`],[`$body-tertiary-bg`,`color.bg-muted`],[`$border-color`,`color.border`],[`$border-color-translucent`,null],[`$border-radius`,`radius.md`],[`$border-radius-sm`,`radius.sm`],[`$border-radius-lg`,`radius.lg`],[`$border-radius-pill`,`radius.pill`],[`$wui-shadow-overlay`,`shadow.popover`],[`$wui-shadow-overlay-lg`,`shadow.modal`],[`$link-color`,`color.link`],[`$line-height-base`,`leading.body`],[`$headings-line-height`,`leading.heading`],[`$display-line-height`,`leading.display`]],h={"$border-color-translucent":`rgba(13, 24, 43, 0.08)`},g=[`color.link`,`color.primary-hover`],_=`:root[data-theme="dark"],
|
|
2
|
+
:root[data-bs-theme="dark"]`,v=`[data-theme="dark"]:not(:root),
|
|
3
|
+
[data-bs-theme="dark"]:not(:root)`,y=`:root[data-theme="auto"]`,b=`[data-theme="dark"]:not(:root) [data-theme="light"],
|
|
4
4
|
[data-theme="dark"]:not(:root) [data-bs-theme="light"],
|
|
5
5
|
[data-bs-theme="dark"]:not(:root) [data-theme="light"],
|
|
6
|
-
[data-bs-theme="dark"]:not(:root) [data-bs-theme="light"]`,
|
|
6
|
+
[data-bs-theme="dark"]:not(:root) [data-bs-theme="light"]`,x=`// var() resolves where a name is declared, so the html copies keep the light values for a light box.`,S=`/* var() resolves where a name is declared, so the html copies keep the light values for a light box. */`,C=`// Zero specificity, so a component's own class on a themed section or inside it keeps its colour.`,w=`/* Zero specificity, so a component's own class on a themed section or inside it keeps its colour. */`;function T(e){return String(Number(e.toFixed(4)))}function E(e,t){if(typeof t==`string`)return t.replace(l,(e,t)=>`var(${a(t)})`);if(typeof t==`number`)return T(t);if(Array.isArray(t)){if(e.type===`cubicBezier`&&t.length===4&&t.every(e=>typeof e==`number`))return`cubic-bezier(${t.map(e=>T(e)).join(`, `)})`;if(e.type===`fontFamily`&&t.every(e=>typeof e==`string`))return t.map(e=>/\s/.test(e)?`"${e}"`:e).join(`, `)}else if(t&&typeof t==`object`){if(`unit`in t&&typeof t.value==`number`)return`${T(t.value)}${t.unit}`;if(`color`in t)return[t.offsetX,t.offsetY,t.blur,t.spread,t.color].map(t=>E(e,t)).join(` `)}throw Error(`emitWeb: ${e.path}: cannot write a ${e.type} value as CSS.`)}function D(e,t,n){return E(e.tokens.get(t),e.valueIn(t,n))}function O(e,t){if(t&&typeof t==`object`&&t.unit===`px`&&typeof t.value==`number`)return t.value;throw Error(`emitWeb: ${e}: a text size must be a px dimension.`)}function k(e,t){let i=e.tokens.get(t),s=a(t);if(i.group===`text`){if(n(i).length>0)throw Error(`emitWeb: ${t}: a text size cannot carry breakpoints.`);let a=O(t,e.valueIn(t,c)),l=O(t,e.valueIn(t,o)),u=i.extensions?.fluidUntil;if(a!==l&&u===void 0)throw Error(`emitWeb: ${t}: the 390 and 1440 sizes differ but no fluidUntil is recorded.`);return{path:t,name:s,root:r(a,l,u??1440),tiers:[]}}let l=n(i);return l.length>0?{path:t,name:s,root:D(e,t,c),tiers:l.map(e=>({tier:e.tier,text:E(i,e.value)}))}:{path:t,name:s,root:D(e,t,o),tiers:[]}}function A(e){let t=[];for(let n of e.tokens.keys())e.existsIn(n,o)&&t.push(k(e,n));return t}function j(e,t){let r=[];for(let[i,c]of e.tokens){if(!e.existsIn(i,s)||!e.existsIn(i,o)||n(c).length>0)continue;let l=D(e,i,s);if(c.group===`text`){if(l!==D(e,i,o))throw Error(`emitWeb: ${i}: a text size cannot change with the mode.`);continue}t(i,l)&&r.push({path:i,name:a(i),text:l})}return r}function M(e){let t=Number.parseInt(e.slice(1),16);return`${t>>16&255}, ${t>>8&255}, ${t&255}`}function N(e,t){let n=[];for(let[r,i]of p){let a=`color.${i}`,o=e.resolvedIn(a,s);if(!d.test(o))throw Error(`emitWeb: ${a}: a Bootstrap rgb triplet needs an opaque colour.`);t(a,o)&&n.push({name:r,text:M(o)})}return n}function P(e,t,n){return!e.tokens.has(`color.primary`)||!t.tokens.has(`color.primary`)||e.resolvedIn(`color.primary`,n)===t.resolvedIn(`color.primary`,n)?[]:F(e,n)}function F(e,t){let n=R(e,`color.primary`,t);return[{name:`--bs-primary`,text:n},{name:`--bs-primary-rgb`,text:M(n)}]}function I(e,t,n){return!g.every(n=>e.tokens.has(n)&&t.tokens.has(n))||e.resolvedIn(`color.link`,n)===t.resolvedIn(`color.link`,n)?[]:L(e,n)}function L(e,t){let n=R(e,`color.link`,t),r=R(e,`color.primary-hover`,t);return[{name:`--bs-link-color`,text:n},{name:`--bs-link-color-rgb`,text:M(n)},{name:`--bs-link-hover-color`,text:r},{name:`--bs-link-hover-color-rgb`,text:M(r)}]}function R(e,t,n){let r=e.resolvedIn(t,n);if(!d.test(r))throw Error(`emitWeb: ${t}: a Bootstrap rgb triplet needs an opaque colour.`);return r}function z(e,t){let n=j(e,t?(e,n)=>!t.tokens.has(e)||!t.existsIn(e,s)||n!==D(t,e,s):(t,n)=>n!==D(e,t,o)),r=N(e,t?(e,n)=>n!==t.resolvedIn(e,s):()=>!0);if(t){let i=I(e,t,o).length>0?L(e,s):I(e,t,s);return[...n,...r,...i]}let i=f.map(([e,t])=>({name:e,text:`var(${a(`color.${t}`)})`}));return[...n,...i,...r]}function B(e,t){return`${e} {\n${t.join(`
|
|
7
7
|
`).split(`
|
|
8
8
|
`).map(e=>e===``?e:` ${e}`).join(`
|
|
9
|
-
`)}\n}`}function
|
|
9
|
+
`)}\n}`}function V(e){return e.split(`,
|
|
10
10
|
`).map(e=>`:where(${e})`).join(`,
|
|
11
|
-
`)}function
|
|
12
|
-
`)}\n);`,
|
|
11
|
+
`)}function H(e){let t=[];for(let n=0;n<e.length;n+=6)t.push(e.slice(n,n+6).join(`, `));return[`$wui-dark-layer-names: (\n${t.map((e,n)=>` ${e}${n<t.length-1?`,`:``}`).join(`
|
|
12
|
+
`)}\n);`,x,B(`html`,[`@each $name in $wui-dark-layer-names {`,` --wui-light-#{$name}: var(--#{$name});`,`}`]),B(b,[`@each $name in $wui-dark-layer-names {`,` --#{$name}: var(--wui-light-#{$name});`,`}`]),B(V(b),[`color-scheme: light;`,`color: var(--color-text);`])].join(`
|
|
13
13
|
|
|
14
|
-
`)}function
|
|
14
|
+
`)}function U(e){return[S,B(`html`,e.map(e=>`--wui-light-${e}: var(--${e});`)),B(b,e.map(e=>`--${e}: var(--wui-light-${e});`)),B(V(b),[`color-scheme: light;`,`color: var(--color-text);`])].join(`
|
|
15
15
|
|
|
16
|
-
`)}function
|
|
16
|
+
`)}function W(e,t,n=!1){let{package:r,version:i,brand:a}=e.source,o=t?`Generated by ${r} ${i} for the ${a} brand. Do not edit; run webority brand.`:`Generated by ${r} ${i} from its token source. Do not edit; run webority brand --library.`;return n?`/* ${o} */`:`// ${o}`}function G(n,r){let a=A(n),s=new Map((r?A(r):[]).map(e=>[e.path,e])),c=[],l=a.filter(e=>s.get(e.path)?.root!==e.root).map(e=>`${e.name}: ${e.root};`);r&&(l.push(...P(n,r,o).map(e=>`${e.name}: ${e.text};`)),l.push(...I(n,r,o).map(e=>`${e.name}: ${e.text};`))),l.length>0&&c.push(B(`:root`,l));for(let[t,n]of Object.entries(e)){let e=[];for(let n of a)for(let r of n.tiers)r.tier===t&&s.get(n.path)?.tiers.find(e=>e.tier===t)?.text!==r.text&&e.push(`${n.name}: ${r.text};`);e.length>0&&c.push(B(`@media (min-width: ${n}px)`,[B(`:root`,e)]))}let u=[];for(let e of a){let t=n.tokens.get(e.path),a=i(t);if(a===null)continue;let o=E(t,a),s=r?.tokens.get(e.path),c=s?i(s):null;c!==null&&E(s,c)===o||u.push(`${e.name}: ${o};`)}u.length>0&&c.push(B(`@media ${t}`,[B(`:root`,u)]));let d=z(n,r);if(d.length>0){let e=d.map(e=>`${e.name}: ${e.text};`),t=r?w:C;c.push(B(_,[...e,`color-scheme: dark;`]),B(v,e),`${t}\n${B(V(v),[`color-scheme: dark;`,`color: var(--color-text);`])}`);let n=d.map(e=>e.name.slice(2));if(r){let e=new Set(z(r,null).map(e=>e.name.slice(2))),t=n.filter(t=>!e.has(t));t.length>0&&c.push(U(t))}else c.push(H(n));c.push(B(`@media (prefers-color-scheme: dark)`,[B(y,[...e,`color-scheme: dark;`])]))}return`${[W(n,r!==null,r!==null),...c].join(`
|
|
17
17
|
|
|
18
|
-
`)}\n`}function
|
|
19
|
-
`)}\n`}function
|
|
20
|
-
`)}\n`}function
|
|
18
|
+
`)}\n`}function K(e,t){let n=e.tokens.get(t);if(n.type===`color`)return e.resolvedIn(t,o);let r=e.valueIn(t,o),i=typeof r==`string`?u.exec(r):null;if(i)return K(e,i[1]);let a=E(n,r);if(a.includes(`var(`))throw Error(`emitWeb: ${t}: a Bootstrap variable needs a literal.`);return a}function q(e,t,n){return n===null?h[t]:K(e,n)}function J(e){let t=m.map(([t,n])=>`${t}: ${q(e,t,n)} !default;`);return`${[W(e,!1),...t].join(`
|
|
19
|
+
`)}\n`}function Y(e,t){let n=m.filter(([n,r])=>q(e,n,r)!==q(t,n,r)).map(([t,n])=>`${t}: ${q(e,t,n)};`);return`${[W(e,!0),...n].join(`
|
|
20
|
+
`)}\n`}function X(e,t){return t===void 0?{tokens:G(e,null),bootstrap:J(e)}:{css:G(e,t.library),variables:Y(e,t.library)}}export{X as emitWeb};
|
package/dist/meanings.json
CHANGED
package/dist/model/resolve.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cssVarOfPath as e}from"../names.js";import{line as t}from"./load.js";import{resolveColour as n}from"./colour.js";import{findCycles as r,mapReferences as i,referencesIn as a}from"./references.js";function o(){return[{mode:`light`,platform:`web`,width:1440},{mode:`dark`,platform:`web`,width:1440},{mode:`light`,platform:`web`,width:390},{mode:`dark`,platform:`web`,width:390},{mode:`light`,platform:`phone`,width:null},{mode:`dark`,platform:`phone`,width:null}]}function s(e){return`${e.mode}|${e.platform}|${e.width}`}function c(e,t,n){if(typeof e==`string`)return e;if(typeof e==`number`)return String(e);if(typeof e==`object`&&e&&`value`in e&&`unit`in e)return`${e.value}${e.unit}`;throw Error(`model: ${t} cannot sit inside the text of ${n}`)}function l({tokens:l,layers:u,cssNames:d,source:f,refusals:p}){let m=o(),h=e=>{let t=m.find(t=>t.mode===e.mode&&t.platform===e.platform&&t.width===e.width);if(!t)throw Error(`model: ${JSON.stringify(e)} is not one of the model's contexts`);return t},g=e=>{let t=[u.base];return e.mode===`dark`&&t.push(u.dark),e.platform===`phone`&&t.push(u.phone),e.platform===`web`&&e.width===390&&t.push(u.width390),t.push(u.brandBase),e.mode===`dark`&&t.push(u.brandDark),t},_=new Set([u.brandBase,u.brandDark]),v=(e,t,n)=>n.platform===`phone`&&_.has(e)&&t.startsWith(`font.`)&&!l.get(t).extensions.faces,y=(e,t)=>{let n=g(t).reverse();for(let r of n){if(v(r,e,t))continue;let n=r.get(e);if(n)return n}},b=(e,t)=>{let n=l.get(e);return n?n.platforms===null||n.platforms.includes(t.platform):!1},x=(e,t)=>{if(!b(e,t))throw Error(`model: ${e} does not exist on ${t.platform}`)},S=new Map,C=(t,r)=>{let a=`${s(r)}|${t}`;if(S.has(a))return S.get(a);x(t,r);let o=l.get(t),{value:u}=y(t,r),d;if(o.type===`color`){if(typeof u!=`string`)throw Error(`model: ${t} is a colour with a value that is not text`);if(o.extensions.derive)throw Error(`model: ${t} uses derive, which is removed; set the colour itself`);d=n(i(u,t=>`var(${e(t)})`),e=>w(e,r))}else d=i(u,(e,n)=>{let i=C(e,r);return n?i:c(i,e,t)});return S.set(a,d),d},w=(e,t)=>{let n=d.get(e);if(n===void 0||!b(n,t))return;if(l.get(n).type===`color`)return C(n,t);let{value:r}=y(n,t);return typeof r==`string`?r:void 0},T=()=>{for(let e of Object.values(u))for(let[n,r]of e)for(let e of a(r.value))if(!l.has(e)){let i=t(r.file,n,`references ${e}, which no token declares`,`Declare ${e} or correct the name.`);p.includes(i)||p.push(i)}},E=()=>{for(let e of m){let n=new Map;for(let t of l.keys())b(t,e)&&n.set(t,a(y(t,e).value));for(let i of r(n)){let n=t(y(i[0],e).file,i[0],`reference cycle ${i.join(` -> `)}`,`Point one of these tokens at a value instead.`);p.includes(n)||p.push(n)}}},D=()=>{for(let e of m)for(let n of l.keys()){if(!b(n,e))continue;let{file:r,value:i}=y(n,e);for(let o of a(i))if(l.has(o)&&!b(o,e)){let i=t(r,n,`references ${o}, which does not exist on ${e.platform}`,`Mark ${n} for the platform that has ${o}, or give ${n} a ${e.platform} override.`);p.includes(i)||p.push(i)}}},O=()=>{for(let e of m)for(let n of l.keys())if(b(n,e))try{C(n,e)}catch(r){let i=t(y(n,e).file,n,r.message.replace(/\.$/,``),`Correct the value or the tokens it references.`);p.includes(i)||p.push(i)}},k=p.length;T();let A=p.length>k;if(A||E(),A||D(),p.length===0&&O(),p.length>0)throw Error(p.join(`
|
|
1
|
+
import{cssVarOfPath as e}from"../names.js";import{line as t}from"./load.js";import{resolveColour as n}from"./colour.js";import{findCycles as r,mapReferences as i,referencesIn as a}from"./references.js";function o(){return[{mode:`light`,platform:`web`,width:1440},{mode:`dark`,platform:`web`,width:1440},{mode:`light`,platform:`web`,width:390},{mode:`dark`,platform:`web`,width:390},{mode:`light`,platform:`phone`,width:null},{mode:`dark`,platform:`phone`,width:null}]}function s(e){return`${e.mode}|${e.platform}|${e.width}`}function c(e,t,n){if(typeof e==`string`)return e;if(typeof e==`number`)return String(e);if(typeof e==`object`&&e&&`value`in e&&`unit`in e)return`${e.value}${e.unit}`;throw Error(`model: ${t} cannot sit inside the text of ${n}`)}function l({tokens:l,layers:u,cssNames:d,source:f,refusals:p}){let m=o(),h=e=>{let t=m.find(t=>t.mode===e.mode&&t.platform===e.platform&&t.width===e.width);if(!t)throw Error(`model: ${JSON.stringify(e)} is not one of the model's contexts`);return t},g=e=>{let t=[u.base];return e.mode===`dark`&&t.push(u.dark),e.platform===`phone`&&t.push(u.phone),e.platform===`web`&&e.width===390&&t.push(u.width390),t.push(u.brandBase),e.mode===`dark`&&t.push(u.brandDark),t},_=new Set([u.brandBase,u.brandDark]),v=(e,t,n)=>n.platform===`phone`&&_.has(e)&&t.startsWith(`font.`)&&!l.get(t).extensions.faces,y=(e,t)=>{let n=g(t).reverse();for(let r of n){if(v(r,e,t)||r===u.brandBase&&t.mode===`dark`&&u.dark.has(e))continue;let n=r.get(e);if(n)return n}},b=(e,t)=>{let n=l.get(e);return n?n.platforms===null||n.platforms.includes(t.platform):!1},x=(e,t)=>{if(!b(e,t))throw Error(`model: ${e} does not exist on ${t.platform}`)},S=new Map,C=(t,r)=>{let a=`${s(r)}|${t}`;if(S.has(a))return S.get(a);x(t,r);let o=l.get(t),{value:u}=y(t,r),d;if(o.type===`color`){if(typeof u!=`string`)throw Error(`model: ${t} is a colour with a value that is not text`);if(o.extensions.derive)throw Error(`model: ${t} uses derive, which is removed; set the colour itself`);d=n(i(u,t=>`var(${e(t)})`),e=>w(e,r))}else d=i(u,(e,n)=>{let i=C(e,r);return n?i:c(i,e,t)});return S.set(a,d),d},w=(e,t)=>{let n=d.get(e);if(n===void 0||!b(n,t))return;if(l.get(n).type===`color`)return C(n,t);let{value:r}=y(n,t);return typeof r==`string`?r:void 0},T=()=>{for(let e of Object.values(u))for(let[n,r]of e)for(let e of a(r.value))if(!l.has(e)){let i=t(r.file,n,`references ${e}, which no token declares`,`Declare ${e} or correct the name.`);p.includes(i)||p.push(i)}},E=()=>{for(let e of m){let n=new Map;for(let t of l.keys())b(t,e)&&n.set(t,a(y(t,e).value));for(let i of r(n)){let n=t(y(i[0],e).file,i[0],`reference cycle ${i.join(` -> `)}`,`Point one of these tokens at a value instead.`);p.includes(n)||p.push(n)}}},D=()=>{for(let e of m)for(let n of l.keys()){if(!b(n,e))continue;let{file:r,value:i}=y(n,e);for(let o of a(i))if(l.has(o)&&!b(o,e)){let i=t(r,n,`references ${o}, which does not exist on ${e.platform}`,`Mark ${n} for the platform that has ${o}, or give ${n} a ${e.platform} override.`);p.includes(i)||p.push(i)}}},O=()=>{for(let e of m)for(let n of l.keys())if(b(n,e))try{C(n,e)}catch(r){let i=t(y(n,e).file,n,r.message.replace(/\.$/,``),`Correct the value or the tokens it references.`);p.includes(i)||p.push(i)}},k=p.length;T();let A=p.length>k;if(A||E(),A||D(),p.length===0&&O(),p.length>0)throw Error(p.join(`
|
|
2
2
|
`));return{tokens:l,contexts:o(),existsIn:(e,t)=>b(e,h(t)),valueIn:(e,t)=>{let n=h(t);return x(e,n),structuredClone(y(e,n).value)},resolvedIn:(e,t)=>{let n=h(t);return structuredClone(C(e,n))},referenceIn:(e,t)=>{let n=h(t);return x(e,n),a(y(e,n).value)[0]},source:f}}export{o as buildContexts,l as buildModel};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/tokens",
|
|
3
|
-
"version": "0.109.
|
|
3
|
+
"version": "0.109.9",
|
|
4
4
|
"description": "The Webority design tokens in one W3C Design Tokens source (palette, scale, meaning and component tiers, with light and dark, web and phone, and 390 and 1440 widths), and the webority command that brands a product, upgrades it between releases and checks it against the token source.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|