@vectoriox/iox-ui 5.201.0 → 5.202.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/design-core/index.d.ts +162 -5
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +216 -12
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +2665 -1299
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +28 -12
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +85 -1
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +968 -263
- package/harness-core/index.d.ts +21 -13
- package/index.d.ts +50 -2
- package/package.json +1 -1
- package/src/design-core/brand-neutrals.ts +50 -7
- package/src/design-core/colour-words.ts +22 -5
- package/src/design-core/design-settings.ts +5 -0
- package/src/design-core/design-token.model.ts +3 -0
- package/src/design-core/flavor-fixtures.generated.ts +38 -2
- package/src/design-core/flavor-spec.generated.ts +143 -1
- package/src/design-core/flavor-tokens.ts +6 -2
- package/src/generation-core/check-free.ts +36 -16
- package/src/generation-core/colour-mix.ts +70 -14
- package/src/generation-core/compose-site.ts +139 -27
- package/src/generation-core/fallback-memory.ts +8 -5
- package/src/generation-core/footer-free.ts +439 -0
- package/src/generation-core/footer-mix.ts +130 -36
- package/src/generation-core/free-parts.ts +3 -0
- package/src/generation-core/free-slot-words.ts +3 -0
- package/src/generation-core/free-wire.ts +10 -2
- package/src/generation-core/layout-fingerprint.ts +6 -4
- package/src/generation-core/opening-mix.ts +61 -0
- package/src/generation-core/plan-wire.ts +1 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/redesign-run.ts +45 -2
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +599 -22
- package/src/generation-core/validate-site-plan.ts +39 -1
- package/src/harness-core/business-types.ts +3 -1
- package/src/harness-core/harness-spec.generated.ts +24 -12
- package/src/harness-core/run-compose-context.ts +8 -1
- package/styles/iox-design.css +7 -4
|
@@ -1628,6 +1628,21 @@ const SPEC_TIERS = {
|
|
|
1628
1628
|
"type": "color",
|
|
1629
1629
|
"default": "var(--iox-line-strong)"
|
|
1630
1630
|
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "flow-stops",
|
|
1633
|
+
"type": "number",
|
|
1634
|
+
"default": "0"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "flow-1",
|
|
1638
|
+
"type": "color",
|
|
1639
|
+
"default": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "flow-2",
|
|
1643
|
+
"type": "color",
|
|
1644
|
+
"default": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
1645
|
+
},
|
|
1631
1646
|
{
|
|
1632
1647
|
"name": "progress-height",
|
|
1633
1648
|
"type": "size",
|
|
@@ -4214,7 +4229,8 @@ const SPEC_A11Y = {
|
|
|
4214
4229
|
"button-press-y": "0px",
|
|
4215
4230
|
"button-press-scale": "1",
|
|
4216
4231
|
"image-hover-scale": "1",
|
|
4217
|
-
"marquee-speed": "0"
|
|
4232
|
+
"marquee-speed": "0",
|
|
4233
|
+
"flow-stops": "0"
|
|
4218
4234
|
},
|
|
4219
4235
|
"reducedTransparency": {
|
|
4220
4236
|
"surface-glass": "var(--iox-surface)",
|
|
@@ -8650,6 +8666,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
8650
8666
|
"group": "components",
|
|
8651
8667
|
"value": "var(--iox-line-strong)"
|
|
8652
8668
|
},
|
|
8669
|
+
{
|
|
8670
|
+
"name": "flow-stops",
|
|
8671
|
+
"tier": "component",
|
|
8672
|
+
"type": "number",
|
|
8673
|
+
"group": "components",
|
|
8674
|
+
"value": "0"
|
|
8675
|
+
},
|
|
8676
|
+
{
|
|
8677
|
+
"name": "flow-1",
|
|
8678
|
+
"tier": "component",
|
|
8679
|
+
"type": "color",
|
|
8680
|
+
"group": "components",
|
|
8681
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
8682
|
+
},
|
|
8683
|
+
{
|
|
8684
|
+
"name": "flow-2",
|
|
8685
|
+
"tier": "component",
|
|
8686
|
+
"type": "color",
|
|
8687
|
+
"group": "components",
|
|
8688
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
8689
|
+
},
|
|
8653
8690
|
{
|
|
8654
8691
|
"name": "progress-height",
|
|
8655
8692
|
"tier": "component",
|
|
@@ -11194,6 +11231,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
11194
11231
|
"group": "components",
|
|
11195
11232
|
"value": "var(--iox-line-strong)"
|
|
11196
11233
|
},
|
|
11234
|
+
{
|
|
11235
|
+
"name": "flow-stops",
|
|
11236
|
+
"tier": "component",
|
|
11237
|
+
"type": "number",
|
|
11238
|
+
"group": "components",
|
|
11239
|
+
"value": "0"
|
|
11240
|
+
},
|
|
11241
|
+
{
|
|
11242
|
+
"name": "flow-1",
|
|
11243
|
+
"tier": "component",
|
|
11244
|
+
"type": "color",
|
|
11245
|
+
"group": "components",
|
|
11246
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
11247
|
+
},
|
|
11248
|
+
{
|
|
11249
|
+
"name": "flow-2",
|
|
11250
|
+
"tier": "component",
|
|
11251
|
+
"type": "color",
|
|
11252
|
+
"group": "components",
|
|
11253
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
11254
|
+
},
|
|
11197
11255
|
{
|
|
11198
11256
|
"name": "progress-height",
|
|
11199
11257
|
"tier": "component",
|
|
@@ -13726,6 +13784,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
13726
13784
|
"group": "components",
|
|
13727
13785
|
"value": "var(--iox-line-strong)"
|
|
13728
13786
|
},
|
|
13787
|
+
{
|
|
13788
|
+
"name": "flow-stops",
|
|
13789
|
+
"tier": "component",
|
|
13790
|
+
"type": "number",
|
|
13791
|
+
"group": "components",
|
|
13792
|
+
"value": "0"
|
|
13793
|
+
},
|
|
13794
|
+
{
|
|
13795
|
+
"name": "flow-1",
|
|
13796
|
+
"tier": "component",
|
|
13797
|
+
"type": "color",
|
|
13798
|
+
"group": "components",
|
|
13799
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
13800
|
+
},
|
|
13801
|
+
{
|
|
13802
|
+
"name": "flow-2",
|
|
13803
|
+
"tier": "component",
|
|
13804
|
+
"type": "color",
|
|
13805
|
+
"group": "components",
|
|
13806
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
13807
|
+
},
|
|
13729
13808
|
{
|
|
13730
13809
|
"name": "progress-height",
|
|
13731
13810
|
"tier": "component",
|
|
@@ -16305,6 +16384,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
16305
16384
|
"group": "components",
|
|
16306
16385
|
"value": "var(--iox-line-strong)"
|
|
16307
16386
|
},
|
|
16387
|
+
{
|
|
16388
|
+
"name": "flow-stops",
|
|
16389
|
+
"tier": "component",
|
|
16390
|
+
"type": "number",
|
|
16391
|
+
"group": "components",
|
|
16392
|
+
"value": "0"
|
|
16393
|
+
},
|
|
16394
|
+
{
|
|
16395
|
+
"name": "flow-1",
|
|
16396
|
+
"tier": "component",
|
|
16397
|
+
"type": "color",
|
|
16398
|
+
"group": "components",
|
|
16399
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
16400
|
+
},
|
|
16401
|
+
{
|
|
16402
|
+
"name": "flow-2",
|
|
16403
|
+
"tier": "component",
|
|
16404
|
+
"type": "color",
|
|
16405
|
+
"group": "components",
|
|
16406
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
16407
|
+
},
|
|
16308
16408
|
{
|
|
16309
16409
|
"name": "progress-height",
|
|
16310
16410
|
"tier": "component",
|
|
@@ -18845,6 +18945,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
18845
18945
|
"group": "components",
|
|
18846
18946
|
"value": "var(--iox-line-strong)"
|
|
18847
18947
|
},
|
|
18948
|
+
{
|
|
18949
|
+
"name": "flow-stops",
|
|
18950
|
+
"tier": "component",
|
|
18951
|
+
"type": "number",
|
|
18952
|
+
"group": "components",
|
|
18953
|
+
"value": "0"
|
|
18954
|
+
},
|
|
18955
|
+
{
|
|
18956
|
+
"name": "flow-1",
|
|
18957
|
+
"tier": "component",
|
|
18958
|
+
"type": "color",
|
|
18959
|
+
"group": "components",
|
|
18960
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
18961
|
+
},
|
|
18962
|
+
{
|
|
18963
|
+
"name": "flow-2",
|
|
18964
|
+
"tier": "component",
|
|
18965
|
+
"type": "color",
|
|
18966
|
+
"group": "components",
|
|
18967
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
18968
|
+
},
|
|
18848
18969
|
{
|
|
18849
18970
|
"name": "progress-height",
|
|
18850
18971
|
"tier": "component",
|
|
@@ -21395,6 +21516,27 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
21395
21516
|
"group": "components",
|
|
21396
21517
|
"value": "var(--iox-line-strong)"
|
|
21397
21518
|
},
|
|
21519
|
+
{
|
|
21520
|
+
"name": "flow-stops",
|
|
21521
|
+
"tier": "component",
|
|
21522
|
+
"type": "number",
|
|
21523
|
+
"group": "components",
|
|
21524
|
+
"value": "0"
|
|
21525
|
+
},
|
|
21526
|
+
{
|
|
21527
|
+
"name": "flow-1",
|
|
21528
|
+
"tier": "component",
|
|
21529
|
+
"type": "color",
|
|
21530
|
+
"group": "components",
|
|
21531
|
+
"value": "color-mix(in srgb, var(--iox-accent) 8%, var(--iox-bg))"
|
|
21532
|
+
},
|
|
21533
|
+
{
|
|
21534
|
+
"name": "flow-2",
|
|
21535
|
+
"tier": "component",
|
|
21536
|
+
"type": "color",
|
|
21537
|
+
"group": "components",
|
|
21538
|
+
"value": "color-mix(in srgb, var(--iox-accent) 16%, var(--iox-bg))"
|
|
21539
|
+
},
|
|
21398
21540
|
{
|
|
21399
21541
|
"name": "progress-height",
|
|
21400
21542
|
"tier": "component",
|
|
@@ -24808,12 +24950,17 @@ function groundsOf(p, names) {
|
|
|
24808
24950
|
}
|
|
24809
24951
|
return [...new Set(out.map(upper))];
|
|
24810
24952
|
}
|
|
24811
|
-
|
|
24953
|
+
/** The grounds a held role is judged on — a flowing page (CV5) adds its segment wherever the page's paint is named. */
|
|
24954
|
+
function heldGrounds(p, names, flow) {
|
|
24955
|
+
const grounds = groundsOf(p, names);
|
|
24956
|
+
return flow && names.includes(PAGE) ? [...new Set([...grounds, ...flowGrounds(p)])] : grounds;
|
|
24957
|
+
}
|
|
24958
|
+
function holdContrast(p, flow = false) {
|
|
24812
24959
|
for (const [fg, names, min] of HELD_CONTRAST) {
|
|
24813
24960
|
if (parseHexColor(p[fg]))
|
|
24814
|
-
p[fg] = upper(ensureContrast(p[fg],
|
|
24961
|
+
p[fg] = upper(ensureContrast(p[fg], heldGrounds(p, names, flow), min));
|
|
24815
24962
|
else if (RGBA.test(String(p[fg] ?? '').trim()))
|
|
24816
|
-
p[fg] = ensureAlpha(p[fg],
|
|
24963
|
+
p[fg] = ensureAlpha(p[fg], heldGrounds(p, names, flow), min);
|
|
24817
24964
|
}
|
|
24818
24965
|
}
|
|
24819
24966
|
function tintPalette(p, flavor, level, seed) {
|
|
@@ -24920,10 +25067,41 @@ const COLOUR_WASHES = {
|
|
|
24920
25067
|
glow: 'radial-gradient(60% 45% at 50% 0%, color-mix(in srgb, var(--iox-accent) 14%, transparent) 0%, transparent 70%), '
|
|
24921
25068
|
+ 'radial-gradient(50% 40% at 50% 100%, color-mix(in srgb, var(--iox-accent) 10%, transparent) 0%, transparent 70%), var(--iox-bg)',
|
|
24922
25069
|
};
|
|
25070
|
+
/**
|
|
25071
|
+
* CV5 (colour-v2-plan.md §3c, H7): `rhythm.flow` — the page's held ground changes colour as the page scrolls, with no
|
|
25072
|
+
* section edge (daylight, landonorris). The page opens on its own ground and crossfades through these stops — the accent
|
|
25073
|
+
* mixed into the ground, in percent — over the page's progress, on the ONE ScrollDriver (`attachColourFlow`, opacity
|
|
25074
|
+
* only). Every stop lies on ONE sRGB segment from the ground to the last stop, so every blend the crossfade shows lies on
|
|
25075
|
+
* it too. A flowing page is its own paint (FLOW_PAGE_PAINT: the wash and the look's own paint give way). Mirror of the
|
|
25076
|
+
* contract's colour.mjs (derivationFixtures hold them equal).
|
|
25077
|
+
*/
|
|
25078
|
+
const COLOUR_FLOW_STOPS = [8, 16];
|
|
25079
|
+
/** How many points of the flow's segment the held roles are judged on, both ends included (sRGB luminance along a
|
|
25080
|
+
* segment is convex: its darkest point may lie inside it). */
|
|
25081
|
+
const FLOW_SAMPLES = 9;
|
|
25082
|
+
/** A flow stop's paint, role references only (the `flow-1` · `flow-2` component tokens). */
|
|
25083
|
+
const flowStopPaint = (share) => `color-mix(in srgb, var(--iox-accent) ${share}%, var(--iox-bg))`;
|
|
25084
|
+
/** The flat ground a flowing page is painted with under its layers. */
|
|
25085
|
+
const FLOW_PAGE_PAINT = 'var(--iox-bg)';
|
|
25086
|
+
const mixRgb = (a, b, share) => ({ r: a.r * share + b.r * (1 - share), g: a.g * share + b.g * (1 - share), b: a.b * share + b.b * (1 - share) });
|
|
25087
|
+
/** The opaque colours a flowing page shows: FLOW_SAMPLES points from the ground to the last stop (8-bit). Empty when the
|
|
25088
|
+
* ground or the accent is not a plain colour. Pure. */
|
|
25089
|
+
function flowGrounds(p) {
|
|
25090
|
+
const bg = parseHexColor(p['bg']);
|
|
25091
|
+
const accent = parseHexColor(p['accent']);
|
|
25092
|
+
if (!bg || !accent)
|
|
25093
|
+
return [];
|
|
25094
|
+
const last = mixRgb(accent, bg, Math.max(...COLOUR_FLOW_STOPS) / 100);
|
|
25095
|
+
const out = [];
|
|
25096
|
+
for (let i = 0; i < FLOW_SAMPLES; i++)
|
|
25097
|
+
out.push(upper(toHexColor(mixRgb(last, bg, i / (FLOW_SAMPLES - 1)))));
|
|
25098
|
+
return [...new Set(out)];
|
|
25099
|
+
}
|
|
24923
25100
|
/**
|
|
24924
25101
|
* The colour tokens of a flavor for a brand `seed` and a background `tint`, light and dark.
|
|
24925
25102
|
* Neutral at the flavor's own seed returns its palette exactly. CV2: a ground or dark word writes its roles in the light
|
|
24926
|
-
* block after the tint and before the accents (which are then held on the new grounds).
|
|
25103
|
+
* block after the tint and before the accents (which are then held on the new grounds). CV5: `flow` paints the page flat
|
|
25104
|
+
* and holds every role on the flow's segment too.
|
|
24927
25105
|
*/
|
|
24928
25106
|
function flavorColours(flavor, choices) {
|
|
24929
25107
|
const seed = choices.seed || flavor.seed;
|
|
@@ -24942,7 +25120,9 @@ function flavorColours(flavor, choices) {
|
|
|
24942
25120
|
if (darkened)
|
|
24943
25121
|
Object.assign(palette.light, darkened);
|
|
24944
25122
|
// CV3: the wash paints the page in both modes, before the accents (a glow reads the accent) and the held roles.
|
|
24945
|
-
|
|
25123
|
+
// CV5: a flowing page is its own paint — flat under the flow's layers, over any wash or the look's own paint.
|
|
25124
|
+
const flow = choices.flow === true;
|
|
25125
|
+
const wash = flow ? FLOW_PAGE_PAINT : choices.wash ? COLOUR_WASHES[choices.wash] : undefined;
|
|
24946
25126
|
if (wash) {
|
|
24947
25127
|
palette.light['page-bg'] = wash;
|
|
24948
25128
|
palette.dark['page-bg'] = wash;
|
|
@@ -24964,12 +25144,12 @@ function flavorColours(flavor, choices) {
|
|
|
24964
25144
|
}
|
|
24965
25145
|
for (const mode of MODES$1) {
|
|
24966
25146
|
const p = palette[mode];
|
|
24967
|
-
p['accent-text'] = upper(ensureContrast(p['accent-text'],
|
|
25147
|
+
p['accent-text'] = upper(ensureContrast(p['accent-text'], heldGrounds(p, TEXT_GROUNDS, flow), WCAG_AA_TEXT));
|
|
24968
25148
|
p['inverse-accent'] = upper(ensureContrast(p['inverse-accent'], groundsOf(p, INVERSE_GROUNDS), WCAG_AA_TEXT));
|
|
24969
25149
|
// A dark word may move the inverse accent: its label follows when it no longer reads (never for a look's own palette).
|
|
24970
25150
|
if ((grounded || darkened) && wcagContrastRatio(p['inverse-accent-ink'], p['inverse-accent']) < WCAG_AA_TEXT)
|
|
24971
25151
|
p['inverse-accent-ink'] = bestInk(p['inverse-accent']);
|
|
24972
|
-
holdContrast(p);
|
|
25152
|
+
holdContrast(p, flow);
|
|
24973
25153
|
}
|
|
24974
25154
|
const out = {};
|
|
24975
25155
|
for (const name of Object.keys(flavor.palette.light))
|
|
@@ -25202,7 +25382,9 @@ function routeHasParams(route) {
|
|
|
25202
25382
|
* dark band's colour, the main button's paint and the page's wash (CV3). Each is ONE `settings.design` row, absent = the look's own (look · ink ·
|
|
25203
25383
|
* accent — what every site wore before CV2). The ground and dark words are values `flavorColours` computes (the port of
|
|
25204
25384
|
* colour.mjs, held by the derivation fixtures); the button word is three component tokens (`axes.actionPaints`) that
|
|
25205
|
-
* reference roles only. The other COLOUR words (accent, rhythm, bands) are judged by the composer, never painted
|
|
25385
|
+
* reference roles only. The other COLOUR words (accent, rhythm, bands) are judged by the composer, never painted — except
|
|
25386
|
+
* the one rhythm that moves (CV5 `flow`): the page is painted flat, every held role clears the flow's stops, and
|
|
25387
|
+
* `flowStopsOf` writes how many layers the runtime lays under the page.
|
|
25206
25388
|
*/
|
|
25207
25389
|
/** COLOUR.ground: the page's ground family (paper after oura and hotelaurelia, white after cancan, cool after graya). */
|
|
25208
25390
|
var GroundWord;
|
|
@@ -25236,11 +25418,13 @@ const isAction = (w) => typeof w === 'string' && Object.prototype.hasOwnProperty
|
|
|
25236
25418
|
/** The colour words as stored: a known word other than the look's own is kept; the look's own, unknown or absent reads
|
|
25237
25419
|
* absent (so a row stored before CV2 is the look it always was). Pure. */
|
|
25238
25420
|
function resolveColourWords(partial) {
|
|
25239
|
-
const { ground, dark, action, wash } = partial ?? {};
|
|
25421
|
+
const { ground, dark, action, wash, flow } = partial ?? {};
|
|
25240
25422
|
return {
|
|
25241
25423
|
...(isGround(ground) ? { ground } : {}),
|
|
25242
25424
|
...(isDark(dark) ? { dark } : {}),
|
|
25243
25425
|
...(isWash(wash) ? { wash } : {}),
|
|
25426
|
+
// CV5: a settings row stores the flow as text — `true` (either way) flows, anything else holds still (absent).
|
|
25427
|
+
...(flow === true || flow === 'true' ? { flow: true } : {}),
|
|
25244
25428
|
...(isAction(action) && action !== ACTION_ACCENT ? { action } : {}),
|
|
25245
25429
|
};
|
|
25246
25430
|
}
|
|
@@ -25250,6 +25434,17 @@ function actionPaintTokens(action) {
|
|
|
25250
25434
|
return [];
|
|
25251
25435
|
return Object.entries(SPEC_AXES.actionPaints[action]).filter(([k]) => k !== 'label');
|
|
25252
25436
|
}
|
|
25437
|
+
/** The component token the runtime (`attachColourFlow`) reads: how many flow layers lie under the page (0 = none). */
|
|
25438
|
+
const FLOW_STOPS_TOKEN = 'flow-stops';
|
|
25439
|
+
/** The Speed that stands every runtime still (the Marquee's 0, H7: "none under Motion Off"). */
|
|
25440
|
+
const MOTION_OFF = 'off';
|
|
25441
|
+
/**
|
|
25442
|
+
* CV5: how many flow layers a look lays under its page — one per stop (`COLOUR_FLOW_STOPS`) when it flows, none when it
|
|
25443
|
+
* holds still or the Speed is Off. Reduced motion is the token sheet's (A11Y `flow-stops: 0` — a flat ground). Pure.
|
|
25444
|
+
*/
|
|
25445
|
+
function flowStopsOf(choices) {
|
|
25446
|
+
return choices.flow === true && choices.motion !== MOTION_OFF ? COLOUR_FLOW_STOPS.length : 0;
|
|
25447
|
+
}
|
|
25253
25448
|
|
|
25254
25449
|
const FORM_PARTS = SPEC_CONTRAST_AUDIT.formParts;
|
|
25255
25450
|
const INK_SCOPES = SPEC_INK_SCOPES;
|
|
@@ -26460,6 +26655,8 @@ var DesignConfigKey;
|
|
|
26460
26655
|
DesignConfigKey["Action"] = "action";
|
|
26461
26656
|
/** Colour v2 CV3: how the page is painted; absent = the look's own paint. */
|
|
26462
26657
|
DesignConfigKey["Wash"] = "wash";
|
|
26658
|
+
/** Colour v2 CV5: the page's ground flows with the scroll (`true`); absent = it holds still. */
|
|
26659
|
+
DesignConfigKey["Flow"] = "flow";
|
|
26463
26660
|
DesignConfigKey["Revert"] = "revert";
|
|
26464
26661
|
})(DesignConfigKey || (DesignConfigKey = {}));
|
|
26465
26662
|
const MODES = SPEC_AXES.modes;
|
|
@@ -26624,6 +26821,7 @@ function readDesignConfig(config, hasRow = !!config) {
|
|
|
26624
26821
|
dark: asString(map.get(DesignConfigKey.Dark)) ?? undefined,
|
|
26625
26822
|
action: asString(map.get(DesignConfigKey.Action)) ?? undefined,
|
|
26626
26823
|
wash: asString(map.get(DesignConfigKey.Wash)) ?? undefined,
|
|
26824
|
+
flow: asBoolean(map.get(DesignConfigKey.Flow)) ?? undefined,
|
|
26627
26825
|
});
|
|
26628
26826
|
return {
|
|
26629
26827
|
choices,
|
|
@@ -26668,6 +26866,7 @@ function designConfigEntries(choices, flavorVersion, revert) {
|
|
|
26668
26866
|
...(c.dark ? [{ key: DesignConfigKey.Dark, value: c.dark }] : []),
|
|
26669
26867
|
...(c.action ? [{ key: DesignConfigKey.Action, value: c.action }] : []),
|
|
26670
26868
|
...(c.wash ? [{ key: DesignConfigKey.Wash, value: c.wash }] : []),
|
|
26869
|
+
...(c.flow ? [{ key: DesignConfigKey.Flow, value: 'true' }] : []),
|
|
26671
26870
|
...(c.fonts ? [{ key: DesignConfigKey.Fonts, value: JSON.stringify(c.fonts) }] : []),
|
|
26672
26871
|
...(revert ? [{ key: DesignConfigKey.Revert, value: JSON.stringify(revert) }] : []),
|
|
26673
26872
|
];
|
|
@@ -26684,6 +26883,7 @@ function sameDesignChoices(a, b) {
|
|
|
26684
26883
|
&& (x.preloader ?? '') === (y.preloader ?? '')
|
|
26685
26884
|
&& (x.scrub ?? '') === (y.scrub ?? '')
|
|
26686
26885
|
&& (x.ground ?? '') === (y.ground ?? '') && (x.dark ?? '') === (y.dark ?? '') && (x.action ?? '') === (y.action ?? '') && (x.wash ?? '') === (y.wash ?? '')
|
|
26886
|
+
&& !!x.flow === !!y.flow
|
|
26687
26887
|
&& JSON.stringify(x.fonts ?? {}) === JSON.stringify(y.fonts ?? {});
|
|
26688
26888
|
}
|
|
26689
26889
|
|
|
@@ -26835,9 +27035,13 @@ function buildFlavorTokens(pack, choices) {
|
|
|
26835
27035
|
}
|
|
26836
27036
|
// CV2: the ground and dark words are computed with the brand and tint (colour.mjs port); the button word is three
|
|
26837
27037
|
// component tokens that reference roles (`axes.actionPaints`).
|
|
26838
|
-
setColours(byName, flavorColours(pack, {
|
|
27038
|
+
setColours(byName, flavorColours(pack, {
|
|
27039
|
+
seed: choices.seed, tint: choices.tint ?? pack.defaults.tint, ground: choices.ground, dark: choices.dark, wash: choices.wash, flow: choices.flow,
|
|
27040
|
+
}));
|
|
26839
27041
|
for (const [name, value] of actionPaintTokens(choices.action))
|
|
26840
27042
|
set(name, value);
|
|
27043
|
+
// CV5: how many flow layers the runtime lays under the page (0 unless the look flows and the Speed is not Off).
|
|
27044
|
+
set(FLOW_STOPS_TOKEN, String(flowStopsOf(choices)));
|
|
26841
27045
|
return rows;
|
|
26842
27046
|
}
|
|
26843
27047
|
/** Colour rows take their light value and the dark one only where it differs (the contract's own rule). */
|
|
@@ -27712,5 +27916,5 @@ function closeWord(lang) {
|
|
|
27712
27916
|
* Generated bundle index. Do not edit.
|
|
27713
27917
|
*/
|
|
27714
27918
|
|
|
27715
|
-
export { ACCENT_TOKEN_NAMES, ACTION_ACCENT, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAND_SURFACE_INK_TINT, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, CASELESS_LANGUAGES, CASELESS_SCRIPT_OVERRIDES, CLOSE_WORDS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLOUR_DARKS, COLOUR_GROUNDS, COLOUR_WASHES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DarkWord, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FLOATING_BACKDROPS, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FloatingInkScope, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, GroundWord, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_INK_SCOPE, HEADER_MENU_OPEN_ATTRIBUTE, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderBrand, HeaderEdge, HeaderGround, HeaderInk, HeaderShape, HeaderTrait, INHERITED_TEXT, KEPT_HOVER_DL, KEPT_HOVER_DL_MAX, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MORE_CONTRAST_OVERRIDES, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuShows, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_GROUND_CLAUSES, OPENING_FOLLOWER_ROLE, OPENING_MEDIA_ATTRIBUTE, OPENING_SETTING, OVER_GROUNDS, OpeningMediaKind, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROUTE_PARAM_PREFIX, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SIGNATURE_MOVES, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, SignatureMove, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, WashWord, actionPaintTokens, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, closeWord, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, darkWordColours, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, fillRouteParams, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, floatingInkValue, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groundWordColours, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerBrandOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerShapeFloats, headerShapeOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, keptAccent, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, menuShowsOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, openingMediaAttributes, openingMediaOf, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preKeptSeedDesignTokenRows, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveColourWords, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeOfGround, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, sectionSpaceOnPhone, setColorScheme, setSectionEdge, setSectionShape, signatureMoveOf, signaturePreloaderOf, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withSignatureMove, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
27919
|
+
export { ACCENT_TOKEN_NAMES, ACTION_ACCENT, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAND_SURFACE_INK_TINT, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, CASELESS_LANGUAGES, CASELESS_SCRIPT_OVERRIDES, CLOSE_WORDS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLOUR_DARKS, COLOUR_FLOW_STOPS, COLOUR_GROUNDS, COLOUR_WASHES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DarkWord, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FLOATING_BACKDROPS, FLOW_PAGE_PAINT, FLOW_SAMPLES, FLOW_STOPS_TOKEN, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FloatingInkScope, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, GroundWord, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_INK_SCOPE, HEADER_MENU_OPEN_ATTRIBUTE, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderBrand, HeaderEdge, HeaderGround, HeaderInk, HeaderShape, HeaderTrait, INHERITED_TEXT, KEPT_HOVER_DL, KEPT_HOVER_DL_MAX, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MORE_CONTRAST_OVERRIDES, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuShows, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_GROUND_CLAUSES, OPENING_FOLLOWER_ROLE, OPENING_MEDIA_ATTRIBUTE, OPENING_SETTING, OVER_GROUNDS, OpeningMediaKind, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROUTE_PARAM_PREFIX, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SIGNATURE_MOVES, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, SignatureMove, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, WashWord, actionPaintTokens, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, closeWord, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, darkWordColours, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, fillRouteParams, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, floatingInkValue, flowGrounds, flowStopPaint, flowStopsOf, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groundWordColours, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerBrandOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerShapeFloats, headerShapeOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, keptAccent, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, menuShowsOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, openingMediaAttributes, openingMediaOf, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preKeptSeedDesignTokenRows, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveColourWords, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeOfGround, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, sectionSpaceOnPhone, setColorScheme, setSectionEdge, setSectionShape, signatureMoveOf, signaturePreloaderOf, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withSignatureMove, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
27716
27920
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|