@vectoriox/iox-ui 5.196.0 → 5.198.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/composite-core/index.d.ts +19 -2
- package/data-core/index.d.ts +101 -2
- package/design-core/index.d.ts +183 -30
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +49 -10
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +192 -2
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +299 -74
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +2287 -528
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +3 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +32 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1454 -200
- package/harness-core/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/composite-core/header.ts +34 -1
- package/src/composite-core/slider-runtime.ts +16 -8
- package/src/data-core/placeholder-rows.ts +220 -0
- package/src/data-core/public-api.ts +2 -1
- package/src/design-core/brand.ts +58 -5
- package/src/design-core/contrast-audit.ts +49 -22
- package/src/design-core/design-apply.ts +34 -3
- package/src/design-core/flavor-fixtures.generated.ts +123 -123
- package/src/design-core/flavor-spec.generated.ts +44 -4
- package/src/design-core/flavor-tokens.ts +1 -1
- package/src/design-core/header-behaviour.ts +82 -15
- package/src/design-core/motion-language.ts +5 -14
- package/src/design-core/node-links.ts +34 -0
- package/src/design-core/preloader.ts +4 -5
- package/src/generation-core/audit-site.ts +10 -1
- package/src/generation-core/audit-words.ts +5 -0
- package/src/generation-core/body-mix.ts +40 -102
- package/src/generation-core/check-free.ts +26 -5
- package/src/generation-core/check-layout.ts +10 -4
- package/src/generation-core/check-list.ts +3 -25
- package/src/generation-core/colour-mix.ts +296 -0
- package/src/generation-core/compose-free.ts +40 -18
- package/src/generation-core/compose-site.ts +124 -22
- package/src/generation-core/footer-mix.ts +102 -54
- package/src/generation-core/free-fallback.ts +6 -4
- package/src/generation-core/free-opening.ts +57 -0
- package/src/generation-core/free-parts.ts +87 -0
- package/src/generation-core/free-slot-words.ts +30 -0
- package/src/generation-core/generation-tier.ts +6 -17
- package/src/generation-core/header-mix.ts +125 -4
- package/src/generation-core/item-fill.ts +42 -0
- package/src/generation-core/layout-drawers.ts +3 -2
- package/src/generation-core/layout-wire.ts +10 -16
- package/src/generation-core/list-panel.ts +3 -3
- package/src/generation-core/list-table.ts +5 -14
- package/src/generation-core/list-words.ts +2 -1
- package/src/generation-core/nav-shape.ts +45 -16
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/opening-mix.ts +16 -33
- package/src/generation-core/part-tier.ts +14 -0
- package/src/generation-core/plan-wire.ts +31 -43
- package/src/generation-core/public-api.ts +4 -0
- package/src/generation-core/site-build-run.ts +4 -0
- package/src/generation-core/site-spec.generated.ts +1127 -93
- package/src/generation-core/stock-search.ts +106 -18
- package/src/generation-core/type-led.ts +19 -4
- package/src/generation-core/validate-site-plan.ts +4 -5
- package/src/harness-core/run-compose-context.ts +3 -1
- package/styles/iox-design.css +139 -4
|
@@ -4087,6 +4087,7 @@ const SPEC_SCHEMES = {
|
|
|
4087
4087
|
"section-bg": "{{accent}}",
|
|
4088
4088
|
"bg": "{{accent}}",
|
|
4089
4089
|
"nav-bg": "{{accent}}",
|
|
4090
|
+
"nav-glass-bg": "{{accent}}",
|
|
4090
4091
|
"surface": "{{accent-hover}}",
|
|
4091
4092
|
"surface-2": "{{accent-hover}}",
|
|
4092
4093
|
"surface-glass": "{{accent-hover}}",
|
|
@@ -4114,6 +4115,7 @@ const SPEC_SCHEMES = {
|
|
|
4114
4115
|
"section-bg": "{{text-muted}}",
|
|
4115
4116
|
"bg": "{{text-muted}}",
|
|
4116
4117
|
"nav-bg": "{{text-muted}}",
|
|
4118
|
+
"nav-glass-bg": "{{text-muted}}",
|
|
4117
4119
|
"surface": "{{text-muted}}",
|
|
4118
4120
|
"surface-2": "{{text-muted}}",
|
|
4119
4121
|
"surface-glass": "{{text-muted}}",
|
|
@@ -6197,11 +6199,33 @@ const SPEC_CONTRAST_AUDIT = {
|
|
|
6197
6199
|
"floatingGrounds": [
|
|
6198
6200
|
{
|
|
6199
6201
|
"ground": "nav-bg",
|
|
6200
|
-
"ink": "text"
|
|
6202
|
+
"ink": "text",
|
|
6203
|
+
"scope": "header"
|
|
6204
|
+
},
|
|
6205
|
+
{
|
|
6206
|
+
"ground": "nav-bg",
|
|
6207
|
+
"ink": "link-color",
|
|
6208
|
+
"scope": "header"
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"ground": "nav-bg",
|
|
6212
|
+
"ink": "link-current-color",
|
|
6213
|
+
"scope": "header"
|
|
6201
6214
|
},
|
|
6202
6215
|
{
|
|
6203
6216
|
"ground": "nav-glass-bg",
|
|
6204
|
-
"ink": "text"
|
|
6217
|
+
"ink": "text",
|
|
6218
|
+
"scope": "header"
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
"ground": "nav-glass-bg",
|
|
6222
|
+
"ink": "link-color",
|
|
6223
|
+
"scope": "header"
|
|
6224
|
+
},
|
|
6225
|
+
{
|
|
6226
|
+
"ground": "nav-glass-bg",
|
|
6227
|
+
"ink": "link-current-color",
|
|
6228
|
+
"scope": "header"
|
|
6205
6229
|
},
|
|
6206
6230
|
{
|
|
6207
6231
|
"ground": "dialog-bg",
|
|
@@ -6214,8 +6238,24 @@ const SPEC_CONTRAST_AUDIT = {
|
|
|
6214
6238
|
{
|
|
6215
6239
|
"ground": "surface-glass-strong",
|
|
6216
6240
|
"ink": "text"
|
|
6241
|
+
},
|
|
6242
|
+
{
|
|
6243
|
+
"ground": "tabbar-bg",
|
|
6244
|
+
"ink": "tabbar-item-ink"
|
|
6217
6245
|
}
|
|
6218
|
-
]
|
|
6246
|
+
],
|
|
6247
|
+
"headerInkScope": {
|
|
6248
|
+
"selectors": [
|
|
6249
|
+
".iox-es-nav > *",
|
|
6250
|
+
"[data-iox-header] > *"
|
|
6251
|
+
],
|
|
6252
|
+
"set": {
|
|
6253
|
+
"link-color": "currentColor",
|
|
6254
|
+
"link-current-color": "currentColor",
|
|
6255
|
+
"link-hover-color": "var(--iox-accent-text)",
|
|
6256
|
+
"button-ghost-ink": "currentColor"
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6219
6259
|
};
|
|
6220
6260
|
const SPEC_LEGACY_ALIASES = {
|
|
6221
6261
|
"radius-control": "var(--iox-button-radius)",
|
|
@@ -15558,7 +15598,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
15558
15598
|
"tier": "component",
|
|
15559
15599
|
"type": "color",
|
|
15560
15600
|
"group": "components",
|
|
15561
|
-
"value": "var(--iox-surface
|
|
15601
|
+
"value": "color-mix(in srgb, var(--iox-surface) 92%, transparent)",
|
|
15562
15602
|
"overridden": true
|
|
15563
15603
|
},
|
|
15564
15604
|
{
|
|
@@ -22302,6 +22342,10 @@ var HeaderTrait;
|
|
|
22302
22342
|
/** HI3 slice 1 (HI3-D1): what the header stands on — `glass` | `over` | `over-glass`. Absent / `solid`: its own ground,
|
|
22303
22343
|
* as before. Written by the Header studio ▸ Around the bar and the composer (`ground:<word>`). */
|
|
22304
22344
|
HeaderTrait["Ground"] = "headerGround";
|
|
22345
|
+
/** HI3 slice 2 (HI3-D16/D18): its outline — `pill` | `islands`. Absent / `bar`: a full-width bar, as before. */
|
|
22346
|
+
HeaderTrait["Shape"] = "headerShape";
|
|
22347
|
+
/** HI3 slice 2 (HI3-D21/D22): how its name sits — `hangs` | `later`. Absent / `fits`: the name fits the bar. */
|
|
22348
|
+
HeaderTrait["Brand"] = "headerBrand";
|
|
22305
22349
|
})(HeaderTrait || (HeaderTrait = {}));
|
|
22306
22350
|
/** Whose colours the header wears (contract HEADER `ink`): the page's opening, or every section as it passes under it. */
|
|
22307
22351
|
var HeaderInk;
|
|
@@ -22324,6 +22368,11 @@ var HeaderAttribute;
|
|
|
22324
22368
|
* CSS draws the ground on ONE `::before` faded by opacity, gives the bar's height back over a pictured opening and
|
|
22325
22369
|
* lays the veil under its words at rest. Absent: the bar's own ground, as before. */
|
|
22326
22370
|
HeaderAttribute["Ground"] = "data-iox-header-ground";
|
|
22371
|
+
/** `pill` | `islands` on a header that floats (HI3 slice 2): the shared CSS draws its ground as one inset bar, or one
|
|
22372
|
+
* pill per part, from the top. Absent: a full-width bar. */
|
|
22373
|
+
HeaderAttribute["Shape"] = "data-iox-header-shape";
|
|
22374
|
+
/** `hangs` | `later` (HI3 slice 2): a logo taller than the bar, or a name that arrives once the page moves. */
|
|
22375
|
+
HeaderAttribute["Brand"] = "data-iox-header-brand";
|
|
22327
22376
|
})(HeaderAttribute || (HeaderAttribute = {}));
|
|
22328
22377
|
/** What a composed header gets (the `nav.*` patterns' `header`, the palette's Navigation bar). */
|
|
22329
22378
|
const COMPOSED_HEADER = {
|
|
@@ -22349,22 +22398,67 @@ function headerInkOf(value) {
|
|
|
22349
22398
|
return value === HeaderInk.Follows ? HeaderInk.Follows : HeaderInk.Opening;
|
|
22350
22399
|
}
|
|
22351
22400
|
/** The attributes a header renders, from its trait values — `{}` for a header that keeps today's behaviour. A header on
|
|
22352
|
-
* glass draws no scroll edge (HI3-D9: its set carries its own hairline and shadow), whatever edge it stores
|
|
22353
|
-
|
|
22401
|
+
* glass draws no scroll edge (HI3-D9: its set carries its own hairline and shadow), whatever edge it stores; nor does a
|
|
22402
|
+
* floating one (HI3-D20: a pill has no edge under it). A floating header on `over` floats on the look's glass from the
|
|
22403
|
+
* top (HI3-D17: never a clear pill), so it writes `over-glass`. */
|
|
22404
|
+
function headerAttributes(behaviour, edge, ink, ground, shape, brand) {
|
|
22354
22405
|
const out = {};
|
|
22355
22406
|
if (headerInkOf(ink) === HeaderInk.Follows)
|
|
22356
22407
|
out[HeaderAttribute.Ink] = HeaderInk.Follows;
|
|
22357
22408
|
const b = headerBehaviourOf(behaviour);
|
|
22358
22409
|
if (b !== HeaderBehaviour.Scrolls)
|
|
22359
22410
|
out[HeaderAttribute.Behaviour] = b;
|
|
22360
|
-
const
|
|
22361
|
-
|
|
22411
|
+
const sh = headerShapeOf(shape);
|
|
22412
|
+
const floats = sh !== HeaderShape.Bar;
|
|
22413
|
+
const stood = headerGroundOf(ground);
|
|
22414
|
+
const g = floats && stood === HeaderGround.Over ? HeaderGround.OverGlass : stood;
|
|
22415
|
+
// A floating header always draws its ground on the ground layer — a solid one too (`solid`: the look's own bar).
|
|
22416
|
+
if (g !== HeaderGround.Solid || floats)
|
|
22362
22417
|
out[HeaderAttribute.Ground] = g;
|
|
22418
|
+
if (floats)
|
|
22419
|
+
out[HeaderAttribute.Shape] = sh;
|
|
22420
|
+
const br = headerBrandOf(brand);
|
|
22421
|
+
if (br !== HeaderBrand.Fits)
|
|
22422
|
+
out[HeaderAttribute.Brand] = br;
|
|
22363
22423
|
const e = headerEdgeOf(edge);
|
|
22364
|
-
if (e && !headerGroundIsGlass(g))
|
|
22424
|
+
if (e && !headerGroundIsGlass(g) && !floats)
|
|
22365
22425
|
out[HeaderAttribute.Edge] = e;
|
|
22366
22426
|
return out;
|
|
22367
22427
|
}
|
|
22428
|
+
// ── Its outline and its name (HI3 slice 2: pill · islands · hangs · later, board hi3-shapes) ──────────────────────────
|
|
22429
|
+
/** The header's outline (contract HEADER `shape`). */
|
|
22430
|
+
var HeaderShape;
|
|
22431
|
+
(function (HeaderShape) {
|
|
22432
|
+
/** A full-width bar (every header before HI3 slice 2). */
|
|
22433
|
+
HeaderShape["Bar"] = "bar";
|
|
22434
|
+
/** One floating bar inset from the window, as wide as the content column, its corner the look's button corner. */
|
|
22435
|
+
HeaderShape["Pill"] = "pill";
|
|
22436
|
+
/** Each part of the bar (the name, the pages, the action) a floating pill of its own. */
|
|
22437
|
+
HeaderShape["Islands"] = "islands";
|
|
22438
|
+
})(HeaderShape || (HeaderShape = {}));
|
|
22439
|
+
/** How the header's name sits (contract HEADER `brand`). */
|
|
22440
|
+
var HeaderBrand;
|
|
22441
|
+
(function (HeaderBrand) {
|
|
22442
|
+
HeaderBrand["Fits"] = "fits";
|
|
22443
|
+
/** A logo picture taller than the bar, breaking its lower edge (only with a logo picture). */
|
|
22444
|
+
HeaderBrand["Hangs"] = "hangs";
|
|
22445
|
+
/** No name at the top of the opening (which names the business); it arrives once the page moves or a menu opens. */
|
|
22446
|
+
HeaderBrand["Later"] = "later";
|
|
22447
|
+
})(HeaderBrand || (HeaderBrand = {}));
|
|
22448
|
+
const SHAPES = new Set(Object.values(HeaderShape));
|
|
22449
|
+
const BRANDS = new Set(Object.values(HeaderBrand));
|
|
22450
|
+
/** A stored shape, or Bar for anything else. */
|
|
22451
|
+
function headerShapeOf(value) {
|
|
22452
|
+
return typeof value === 'string' && SHAPES.has(value) ? value : HeaderShape.Bar;
|
|
22453
|
+
}
|
|
22454
|
+
/** A stored brand, or Fits for anything else. */
|
|
22455
|
+
function headerBrandOf(value) {
|
|
22456
|
+
return typeof value === 'string' && BRANDS.has(value) ? value : HeaderBrand.Fits;
|
|
22457
|
+
}
|
|
22458
|
+
/** True for a shape that floats (pill, islands): its ground shows from the top, and it has no scroll edge. */
|
|
22459
|
+
function headerShapeFloats(shape) {
|
|
22460
|
+
return headerShapeOf(shape) !== HeaderShape.Bar;
|
|
22461
|
+
}
|
|
22368
22462
|
// ── What the header stands on (HI3 slice 1: over · over-glass · glass) ───────────────────────────────────────────────
|
|
22369
22463
|
/**
|
|
22370
22464
|
* What a header stands on (contract HEADER `ground`, HI3-D1). `blend` waits for slice 2+ and is never a trait value
|
|
@@ -22453,30 +22547,40 @@ function openingMediaAttributes(layout) {
|
|
|
22453
22547
|
* shared CSS draws it through `HEADER_AT_REST_SELECTOR` (held equal to this by header-behaviour.spec), the canvas's
|
|
22454
22548
|
* "At the top · Scrolled" pair asks it. Pure.
|
|
22455
22549
|
*/
|
|
22456
|
-
function headerFirm(ground, moment = {}) {
|
|
22457
|
-
|
|
22550
|
+
function headerFirm(ground, moment = {}, shape) {
|
|
22551
|
+
// HI3-D17: a floating shape wears its ground from the top — never a clear pill over the picture.
|
|
22552
|
+
if (!headerGroundIsOver(ground) || headerShapeFloats(shape))
|
|
22458
22553
|
return true;
|
|
22459
22554
|
return !(moment.openingMedia === OpeningMediaKind.Picture && !moment.scrolled && !moment.menuOpen);
|
|
22460
22555
|
}
|
|
22461
|
-
/** Whether the header gives its height back to the page (HI3-D7): it does not stand on its own solid ground
|
|
22462
|
-
* that opens on a picture — the picture starts at the top of the page, under the bar. */
|
|
22463
|
-
function headerGivesBack(ground, openingMedia) {
|
|
22464
|
-
return headerGroundOf(ground) !== HeaderGround.Solid && openingMedia === OpeningMediaKind.Picture;
|
|
22556
|
+
/** Whether the header gives its height back to the page (HI3-D7): it does not stand on its own solid ground (or it floats,
|
|
22557
|
+
* HI3-D17), over a page that opens on a picture — the picture starts at the top of the page, under the bar. */
|
|
22558
|
+
function headerGivesBack(ground, openingMedia, shape) {
|
|
22559
|
+
return (headerGroundOf(ground) !== HeaderGround.Solid || headerShapeFloats(shape)) && openingMedia === OpeningMediaKind.Picture;
|
|
22465
22560
|
}
|
|
22466
22561
|
/** The Page scrolled state's attribute (main entry `SCROLLED_ATTRIBUTE`; spelled here — design-core reads no Angular
|
|
22467
22562
|
* entry; held equal by the scrolled spec). */
|
|
22468
22563
|
const HEADER_SCROLLED_ATTRIBUTE = 'data-iox-scrolled';
|
|
22469
|
-
/**
|
|
22470
|
-
|
|
22564
|
+
/**
|
|
22565
|
+
* Written on the builder canvas's open Dialog stage (`app-builder-dialog`'s `div.dialog-stage`) — the canvas twin of an
|
|
22566
|
+
* open `<dialog>`, which the canvas does not use (vectoriox/iox-ui#181).
|
|
22567
|
+
*/
|
|
22568
|
+
const HEADER_MENU_OPEN_ATTRIBUTE = 'data-iox-menu-open';
|
|
22569
|
+
/**
|
|
22570
|
+
* An open menu inside the header (the drawer / full / panel Dialog is the header's own child — T2): a real open
|
|
22571
|
+
* `<dialog>` on the live site, the stage carrying `HEADER_MENU_OPEN_ATTRIBUTE` on the canvas.
|
|
22572
|
+
*/
|
|
22573
|
+
const HEADER_OPEN_MENU_SELECTOR = `:is(dialog[open], [${HEADER_MENU_OPEN_ATTRIBUTE}])`;
|
|
22471
22574
|
/** The CSS custom property the header runtime writes its height in (`watchHeaderHeight`), on the scope around it. */
|
|
22472
22575
|
const HEADER_HEIGHT_VAR = '--header-h';
|
|
22473
22576
|
const groundIs = (grounds) => `:is(${grounds.map(g => `[${HeaderAttribute.Ground}="${g}"]`).join(', ')})`;
|
|
22474
22577
|
const onPicture = `:is([${OPENING_MEDIA_ATTRIBUTE}="${OpeningMediaKind.Picture}"] *)`;
|
|
22475
22578
|
/**
|
|
22476
22579
|
* The header AT REST (not firm), as a compound selector on the header's own element — `headerFirm`'s twin in CSS: an over
|
|
22477
|
-
* ground, inside a page that opens on a picture, not inside a scrolled page,
|
|
22580
|
+
* ground on a header that does not float (HI3-D17), inside a page that opens on a picture, not inside a scrolled page,
|
|
22581
|
+
* holding no open menu.
|
|
22478
22582
|
*/
|
|
22479
|
-
const HEADER_AT_REST_SELECTOR = `${groundIs(OVER_GROUNDS)}${onPicture}:not([${HEADER_SCROLLED_ATTRIBUTE}] *):not(:has(${HEADER_OPEN_MENU_SELECTOR}))`;
|
|
22583
|
+
const HEADER_AT_REST_SELECTOR = `${groundIs(OVER_GROUNDS)}:not([${HeaderAttribute.Shape}])${onPicture}:not([${HEADER_SCROLLED_ATTRIBUTE}] *):not(:has(${HEADER_OPEN_MENU_SELECTOR}))`;
|
|
22480
22584
|
/** The header that gives its height back (`headerGivesBack`'s twin): any ground word, inside a page that opens on a picture. */
|
|
22481
22585
|
const HEADER_GIVES_BACK_SELECTOR = `[${HeaderAttribute.Ground}]${onPicture}`;
|
|
22482
22586
|
/**
|
|
@@ -22816,7 +22920,7 @@ function colorSchemeOf(node) {
|
|
|
22816
22920
|
*/
|
|
22817
22921
|
const SCHEME_INK = SPEC_SCHEME_INK;
|
|
22818
22922
|
/** The values that mean "no colour of my own" — `color` is inherited, so these equal no declaration. */
|
|
22819
|
-
const INHERITED_INK = new Set(['inherit', 'unset']);
|
|
22923
|
+
const INHERITED_INK$1 = new Set(['inherit', 'unset']);
|
|
22820
22924
|
/**
|
|
22821
22925
|
* A node's style map as its renderer compiles it under a section colour scheme: a NON-default scheme turns
|
|
22822
22926
|
* an inherited `color` into {@link SCHEME_INK}; anything else — no scheme, an author's own colour, a token —
|
|
@@ -22827,7 +22931,7 @@ function withSchemeInk(styles, scheme) {
|
|
|
22827
22931
|
if (!styles || !colorSchemeClass(scheme))
|
|
22828
22932
|
return styles;
|
|
22829
22933
|
const color = styles['color'];
|
|
22830
|
-
if (typeof color !== 'string' || !INHERITED_INK.has(color.trim().toLowerCase()))
|
|
22934
|
+
if (typeof color !== 'string' || !INHERITED_INK$1.has(color.trim().toLowerCase()))
|
|
22831
22935
|
return styles;
|
|
22832
22936
|
return { ...styles, color: SCHEME_INK };
|
|
22833
22937
|
}
|
|
@@ -23928,12 +24032,54 @@ const WHITE_HEX = toHexColor(WHITE$1);
|
|
|
23928
24032
|
const BLACK_HEX = toHexColor(BLACK$1);
|
|
23929
24033
|
const passesText = (fg, bg) => groundList(bg).every(g => wcagContrastRatio(fg, g) >= WCAG_AA_TEXT);
|
|
23930
24034
|
const bestInkHex = (bg) => (wcagContrastRatio(WHITE_HEX, bg) >= wcagContrastRatio(BLACK_HEX, bg) ? WHITE_HEX : BLACK_HEX);
|
|
24035
|
+
/** CV-D1 (colour-v2-plan.md): the accent's hover sits at least this much OKLab L away from the kept accent (away from its ink). */
|
|
24036
|
+
const KEPT_HOVER_DL = 0.06;
|
|
24037
|
+
/** CV-D1: how far the hover may walk on (0.02 a step) to keep the brand band's surfaces readable. */
|
|
24038
|
+
const KEPT_HOVER_DL_MAX = 0.3;
|
|
24039
|
+
/**
|
|
24040
|
+
* CV-D1: the strongest ink tint the contract lays on a Brand band's surface. Inside the accent scheme `surface` IS the
|
|
24041
|
+
* accent's hover and the ink is the band's words (the contract's SCHEMES.accent); Bloom's secondary button is
|
|
24042
|
+
* `color-mix(accent 22%, surface)` there — the ink mixed 22% into the hover. The hover keeps the ink at AA under it.
|
|
24043
|
+
*/
|
|
24044
|
+
const BAND_SURFACE_INK_TINT = 0.22;
|
|
24045
|
+
const mixSrgb = (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) });
|
|
24046
|
+
/**
|
|
24047
|
+
* CV-D1 (colour-v2-plan.md §2 cause 1, §5a): the light accent IS the brand colour — a navy stays navy, a berry stays
|
|
24048
|
+
* berry (it used to be brand-500 at L 0.62: a pastel with a black label). On every sRGB colour the better of a white and a
|
|
24049
|
+
* black label reads at least √21 ≈ 4.58:1, so the seed always carries one (R-H-CV1). `ink` is that label. `hover` walks
|
|
24050
|
+
* away from the ink (white ink: darker; black ink: lighter) at the seed's hue and chroma, from `KEPT_HOVER_DL` in 0.02
|
|
24051
|
+
* steps, until the ink reads on it even with `BAND_SURFACE_INK_TINT` of the ink mixed in (the hover is the Brand band's
|
|
24052
|
+
* surface); never past `KEPT_HOVER_DL_MAX`. Mirror of the contract's colour.mjs `keptAccent` (derivationFixtures hold
|
|
24053
|
+
* them equal).
|
|
24054
|
+
*/
|
|
24055
|
+
function keptAccent(seed) {
|
|
24056
|
+
const own = parseHexColor(seed);
|
|
24057
|
+
if (!own)
|
|
24058
|
+
throw new TypeError(`keptAccent: not a colour: "${seed}"`);
|
|
24059
|
+
const lab = rgbToOklab(own);
|
|
24060
|
+
const chroma = Math.hypot(lab.a, lab.b);
|
|
24061
|
+
const ua = chroma > 1e-6 ? lab.a : 0.0, ub = chroma > 1e-6 ? lab.b : 1e-6;
|
|
24062
|
+
const ink = wcagContrastRatio(WHITE$1, own) >= wcagContrastRatio(BLACK$1, own) ? WHITE$1 : BLACK$1;
|
|
24063
|
+
const away = ink === WHITE$1 ? -1 : 1;
|
|
24064
|
+
const tinted = (c) => mixSrgb(ink, c, BAND_SURFACE_INK_TINT);
|
|
24065
|
+
// judged on the float mix and on the hex it rounds to, whichever is lower (the audit and a browser may round either way)
|
|
24066
|
+
const reads = (c) => wcagContrastRatio(ink, c) >= WCAG_AA_TEXT
|
|
24067
|
+
&& Math.min(wcagContrastRatio(ink, tinted(c)), wcagContrastRatio(ink, quant(tinted(c)))) >= WCAG_AA_TEXT;
|
|
24068
|
+
let hover = null;
|
|
24069
|
+
for (let i = 0; !hover; i++) {
|
|
24070
|
+
const dl = Math.min(KEPT_HOVER_DL + i * 0.02, KEPT_HOVER_DL_MAX);
|
|
24071
|
+
const c = quant(atLightness(Math.min(1, Math.max(0, lab.L + away * dl)), ua, ub, chroma));
|
|
24072
|
+
if (reads(c) || dl >= KEPT_HOVER_DL_MAX)
|
|
24073
|
+
hover = c;
|
|
24074
|
+
}
|
|
24075
|
+
return { accent: toHexColor(own), ink: toHexColor(ink), hover: toHexColor(wcagContrastRatio(ink, hover) >= WCAG_AA_TEXT ? hover : own) };
|
|
24076
|
+
}
|
|
23931
24077
|
/**
|
|
23932
24078
|
* The quartet a seed different from the pack's own becomes, built ON `deriveBrandTokens` (its
|
|
23933
24079
|
* ramp and its WCAG-gated `brandInk`) — never a second colour model:
|
|
23934
24080
|
*
|
|
23935
|
-
* - `accent` =
|
|
23936
|
-
* - `accent-hover` =
|
|
24081
|
+
* - `accent` = the seed itself (CV-D1, `keptAccent`), `accent-ink` = the label that reads on it
|
|
24082
|
+
* - `accent-hover` = `KEPT_HOVER_DL` away from the ink, so ink-on-hover only gains contrast
|
|
23937
24083
|
* - `accent-text` = the first step from 500 toward the far end that clears 4.5:1 on `bg`
|
|
23938
24084
|
* - dark: the first of brand-300/200/400 an ink clears 4.5:1 on, the same hover rule, and
|
|
23939
24085
|
* `accent-text` = the first light step that clears 4.5:1 on `bgDark`
|
|
@@ -23946,7 +24092,7 @@ const bestInkHex = (bg) => (wcagContrastRatio(WHITE_HEX, bg) >= wcagContrastRati
|
|
|
23946
24092
|
* Every pair (ink/accent, ink/hover, text/bg, inverse ink/inverse accent, inverse accent/inverse
|
|
23947
24093
|
* bg) is asserted ≥ 4.5:1 across packs and seeds in `flavor-tokens.spec.ts`.
|
|
23948
24094
|
*/
|
|
23949
|
-
function deriveAccentTokens(seed, against, pack = {}) {
|
|
24095
|
+
function deriveAccentTokens(seed, against, pack = {}, options = {}) {
|
|
23950
24096
|
const derived = deriveBrandTokens(seed, pack);
|
|
23951
24097
|
const hexOf = (name) => derived.find(t => t.name === name).value;
|
|
23952
24098
|
const step = (n) => hexOf(`brand-${n}`);
|
|
@@ -23957,10 +24103,10 @@ function deriveAccentTokens(seed, against, pack = {}) {
|
|
|
23957
24103
|
};
|
|
23958
24104
|
const firstOn = (steps, bg) => step(steps.find(n => passesText(step(n), bg)) ?? steps[steps.length - 1]);
|
|
23959
24105
|
const ink = hexOf('brandInk');
|
|
24106
|
+
// CV-D1: the light accent is the seed itself; words keep the ramp's text step. (`ink` — the ramp's brandInk — still
|
|
24107
|
+
// decides the inverse accent's label below, as before.)
|
|
23960
24108
|
const light = {
|
|
23961
|
-
accent: step(500),
|
|
23962
|
-
ink,
|
|
23963
|
-
hover: hoverFor(500, ink),
|
|
24109
|
+
...(options.keepSeed === false ? { accent: step(500), ink, hover: hoverFor(500, ink) } : keptAccent(seed)),
|
|
23964
24110
|
text: firstOn([500, 600, 700, 800, 900], against.bg),
|
|
23965
24111
|
};
|
|
23966
24112
|
const dark = hasGround(against.bgDark) ? (() => {
|
|
@@ -24014,7 +24160,7 @@ const NAMED = {
|
|
|
24014
24160
|
white: { r: 1, g: 1, b: 1, a: 1 },
|
|
24015
24161
|
black: { r: 0, g: 0, b: 0, a: 1 },
|
|
24016
24162
|
};
|
|
24017
|
-
const CURRENT_COLOR = new Set(['currentcolor', 'inherit']);
|
|
24163
|
+
const CURRENT_COLOR$1 = new Set(['currentcolor', 'inherit']);
|
|
24018
24164
|
const RGB_FN = /^rgba?\(([^)]*)\)$/i;
|
|
24019
24165
|
const COLOR_MIX = /^color-mix\(\s*in srgb\s*,(.*)\)$/i;
|
|
24020
24166
|
const MIX_STOP = /^(.*?)(?:\s+(\d+(?:\.\d+)?)%)?$/;
|
|
@@ -24055,7 +24201,7 @@ function parseCssColour(value, ink) {
|
|
|
24055
24201
|
const low = v.toLowerCase();
|
|
24056
24202
|
if (low in NAMED)
|
|
24057
24203
|
return NAMED[low];
|
|
24058
|
-
if (CURRENT_COLOR.has(low))
|
|
24204
|
+
if (CURRENT_COLOR$1.has(low))
|
|
24059
24205
|
return ink ?? null;
|
|
24060
24206
|
const hex = parseHexColor(v);
|
|
24061
24207
|
if (hex)
|
|
@@ -24528,6 +24674,36 @@ function headingHref(props, pageHref = route => route) {
|
|
|
24528
24674
|
return String(props.url ?? '').trim() || null;
|
|
24529
24675
|
return null;
|
|
24530
24676
|
}
|
|
24677
|
+
/** The prop a node's route params are stored under — `routeParam:<name>`, a static value or a binding (both land there). */
|
|
24678
|
+
const ROUTE_PARAM_PREFIX = 'routeParam:';
|
|
24679
|
+
/** A node's route params by name, from its `routeParam:<name>` props (`{ 'routeParam:slug': 'soap' }` → `{ slug: 'soap' }`). */
|
|
24680
|
+
function routeParamValues(props) {
|
|
24681
|
+
const out = {};
|
|
24682
|
+
for (const [key, value] of Object.entries(props ?? {})) {
|
|
24683
|
+
if (key.startsWith(ROUTE_PARAM_PREFIX))
|
|
24684
|
+
out[key.slice(ROUTE_PARAM_PREFIX.length)] = value;
|
|
24685
|
+
}
|
|
24686
|
+
return out;
|
|
24687
|
+
}
|
|
24688
|
+
const ROUTE_PARAM = /:([a-zA-Z_][a-zA-Z0-9_]*)/g;
|
|
24689
|
+
/**
|
|
24690
|
+
* A page route with its `:params` filled: each from `values` (URL-encoded), an unfilled one leaving no gap
|
|
24691
|
+
* (`/shop/:slug/reviews` with no slug → `/shop/reviews`). The engine's `resolvePageHref` substitution, shared so the builder's
|
|
24692
|
+
* Preview links where the live site does — a product card read `/shop/:slug` there (vectoriox/iox-ui#176). The route's
|
|
24693
|
+
* leading slash is kept; the engine makes it base-relative itself.
|
|
24694
|
+
*/
|
|
24695
|
+
function fillRouteParams(route, values) {
|
|
24696
|
+
return String(route ?? '')
|
|
24697
|
+
.replace(ROUTE_PARAM, (_m, name) => {
|
|
24698
|
+
const value = values[name];
|
|
24699
|
+
return value === undefined || value === null || value === '' ? '' : encodeURIComponent(String(value));
|
|
24700
|
+
})
|
|
24701
|
+
.replace(/\/{2,}/g, '/');
|
|
24702
|
+
}
|
|
24703
|
+
/** Does the route still name a `:param` (one nothing filled)? */
|
|
24704
|
+
function routeHasParams(route) {
|
|
24705
|
+
return new RegExp(ROUTE_PARAM.source).test(String(route ?? ''));
|
|
24706
|
+
}
|
|
24531
24707
|
|
|
24532
24708
|
const FORM_PARTS = SPEC_CONTRAST_AUDIT.formParts;
|
|
24533
24709
|
const INK_SCOPES = SPEC_INK_SCOPES;
|
|
@@ -24839,35 +25015,63 @@ function colourTabChecks(rows, mode) {
|
|
|
24839
25015
|
}
|
|
24840
25016
|
return out;
|
|
24841
25017
|
}
|
|
25018
|
+
// ── Floating grounds (HI3 slice 1, R-H16, vectoriox/iox-ui#173) ──────────────────────────────────────────────────────
|
|
25019
|
+
/** Where a floating ground's ink is read: `header` = inside the header's ink scope (vectoriox/iox-ui#173 a). */
|
|
25020
|
+
var FloatingInkScope;
|
|
25021
|
+
(function (FloatingInkScope) {
|
|
25022
|
+
FloatingInkScope["Header"] = "header";
|
|
25023
|
+
})(FloatingInkScope || (FloatingInkScope = {}));
|
|
25024
|
+
const AUDIT_TABLES = SPEC_CONTRAST_AUDIT;
|
|
24842
25025
|
/** The translucent grounds that carry words over ANYTHING (the header's bar and glass while the page moves under them, the
|
|
24843
25026
|
* bottom bar, a dialog, a popover, the strong glass) — the contract's table (`contrastAudit.floatingGrounds`). */
|
|
24844
|
-
const FLOATING_GROUNDS =
|
|
25027
|
+
const FLOATING_GROUNDS = AUDIT_TABLES.floatingGrounds ?? [];
|
|
25028
|
+
/** The contract's header ink scope — null on a contract generated before vectoriox/iox-ui#173 (a). */
|
|
25029
|
+
const HEADER_INK_SCOPE = AUDIT_TABLES.headerInkScope ?? null;
|
|
25030
|
+
const CURRENT_COLOR = 'currentcolor';
|
|
25031
|
+
const INHERITED_INK = 'text';
|
|
25032
|
+
/**
|
|
25033
|
+
* An ink's value as the words on a floating ground wear it — the contract's `floatingInk`, 1:1. A header ground's ink is
|
|
25034
|
+
* read INSIDE the header's ink scope: `currentColor` is the bar's own ink (`text` — the bar is `color: inherit`), a token
|
|
25035
|
+
* reference reads that token, anything else is the value itself. Outside a scope the ink is the token's own value.
|
|
25036
|
+
*/
|
|
25037
|
+
function floatingInkValue(values, ink, scope, header = HEADER_INK_SCOPE) {
|
|
25038
|
+
const set = scope === FloatingInkScope.Header ? header?.set[ink] : undefined;
|
|
25039
|
+
if (set === undefined)
|
|
25040
|
+
return values[ink];
|
|
25041
|
+
if (set.trim().toLowerCase() === CURRENT_COLOR)
|
|
25042
|
+
return values[INHERITED_INK];
|
|
25043
|
+
const ref = /^var\(--iox-([\w-]+)\)$/.exec(set.trim());
|
|
25044
|
+
return ref ? values[ref[1]] : set;
|
|
25045
|
+
}
|
|
24845
25046
|
const BLACK = { r: 0, g: 0, b: 0, a: 1 };
|
|
24846
25047
|
/** The two backdrops that bound every picture: each channel of a blend is monotone in its backdrop's. */
|
|
24847
25048
|
const FLOATING_BACKDROPS = Object.freeze({ black: BLACK, white: WHITE });
|
|
24848
25049
|
/**
|
|
24849
|
-
* HI3 slice 1 (R-H16): each translucent ground's words over pure black AND pure white, in
|
|
24850
|
-
* header
|
|
24851
|
-
* lighter, so a ground that holds AA over both holds it over any picture (iox-ui#173: the Glass
|
|
24852
|
-
* 3.55:1 over a light picture in dark mode). An opaque ground is not judged here (the DS9 audit
|
|
24853
|
-
* The contract's gate, 1:1 (build-spec `floatingGroundFailures`).
|
|
25050
|
+
* HI3 slice 1 (R-H16): each translucent ground's words over pure black AND pure white, in EVERY section scheme (the page's
|
|
25051
|
+
* own, and any an author dresses the header or a dialog in — vectoriox/iox-ui#174), in one mode — nothing a blur can lay
|
|
25052
|
+
* under the bar is darker or lighter, so a ground that holds AA over both holds it over any picture (iox-ui#173: the Glass
|
|
25053
|
+
* look's bar dropped to 3.55:1 over a light picture in dark mode). An opaque ground is not judged here (the DS9 audit
|
|
25054
|
+
* judges it where it stands). The contract's gate, 1:1 (build-spec `floatingGroundFailures`).
|
|
24854
25055
|
*/
|
|
24855
|
-
function floatingGroundFindings(rows, mode) {
|
|
24856
|
-
const
|
|
25056
|
+
function floatingGroundFindings(rows, mode, table = FLOATING_GROUNDS, header = HEADER_INK_SCOPE) {
|
|
25057
|
+
const valuesIn = schemeTokenResolver(rows, mode);
|
|
24857
25058
|
const out = [];
|
|
24858
|
-
for (const
|
|
24859
|
-
const
|
|
24860
|
-
const
|
|
24861
|
-
|
|
24862
|
-
|
|
24863
|
-
|
|
24864
|
-
|
|
24865
|
-
const
|
|
24866
|
-
const
|
|
24867
|
-
|
|
24868
|
-
|
|
24869
|
-
|
|
24870
|
-
|
|
25059
|
+
for (const scheme of SCHEME_IDS) {
|
|
25060
|
+
const values = valuesIn(scheme);
|
|
25061
|
+
for (const { ground, ink, scope } of table) {
|
|
25062
|
+
const fg = parseCssColour(floatingInkValue(values, ink, scope, header));
|
|
25063
|
+
const bg = parseCssColour(values[ground], fg);
|
|
25064
|
+
if (!fg || !bg || bg.a >= 1)
|
|
25065
|
+
continue;
|
|
25066
|
+
const fgHex = toHexColor(quantizeRgb(fg));
|
|
25067
|
+
for (const [name, under] of Object.entries(FLOATING_BACKDROPS)) {
|
|
25068
|
+
const shown = quantizeRgb(compositeOver(bg, under));
|
|
25069
|
+
const ratio = wcagContrastRatio(fgHex, shown);
|
|
25070
|
+
out.push({
|
|
25071
|
+
scheme, container: `over ${name}`, element: ground, part: ink, fg: fgHex, bg: toHexColor(shown),
|
|
25072
|
+
ratio: Math.round(ratio * 100) / 100, min: WCAG_AA_TEXT, pass: ratio >= WCAG_AA_TEXT - 1e-9,
|
|
25073
|
+
});
|
|
25074
|
+
}
|
|
24871
25075
|
}
|
|
24872
25076
|
}
|
|
24873
25077
|
return out;
|
|
@@ -25445,7 +25649,6 @@ const isMoveId = (v) => typeof v === 'string' && MOVE_IDS.includes(v);
|
|
|
25445
25649
|
const PRESET_LANGUAGE = L$2.presets;
|
|
25446
25650
|
const LEAVE_FOR = L$2.leaveFor;
|
|
25447
25651
|
const TIERS = L$2.tiers;
|
|
25448
|
-
const PLAN_FALLBACK = L$2.planFallback;
|
|
25449
25652
|
/** A style preset's own language (its Feel, Headings arrive and first-visit preloader with its exit) — undefined for an
|
|
25450
25653
|
* unknown id. */
|
|
25451
25654
|
function presetMotionLanguage(presetId) {
|
|
@@ -25478,24 +25681,12 @@ function motionCurve(word, tokenValue = () => undefined) {
|
|
|
25478
25681
|
return ref ? (tokenValue(ref[1]) ?? 'linear') : curve;
|
|
25479
25682
|
}
|
|
25480
25683
|
/**
|
|
25481
|
-
* What a
|
|
25482
|
-
*
|
|
25483
|
-
*
|
|
25684
|
+
* What a plan wears of a language: since AW-D42 (Doron, 2026-11-28 — the award parts are every tier's) EVERY plan wears
|
|
25685
|
+
* the whole language — a Pro Feel, move, cover (AW4), preloader (AW5) and By the scroll (AW10) included. It once drew a
|
|
25686
|
+
* lower plan's Pro words as the contract's `planFallback` (AW-D23, MB-D6); `pro` is kept so its callers still read.
|
|
25484
25687
|
*/
|
|
25485
|
-
function motionLanguageForPlan(choices,
|
|
25486
|
-
|
|
25487
|
-
return choices;
|
|
25488
|
-
const proWord = (kind, word) => typeof word === 'string' && motionWordTier(kind, word) === MotionWordTier.Pro;
|
|
25489
|
-
const feel = isArriveId(choices.feel) && proWord('arrive', choices.feel) ? PLAN_FALLBACK.arrive : choices.feel;
|
|
25490
|
-
const headings = isMoveId(choices.headings) && proWord('move', choices.headings) ? PLAN_FALLBACK.move : choices.headings;
|
|
25491
|
-
const out = { ...choices, feel, headings };
|
|
25492
|
-
if (proWord('cover', choices.between))
|
|
25493
|
-
out.between = PLAN_FALLBACK.cover;
|
|
25494
|
-
if (proWord('preloader', choices.preloader))
|
|
25495
|
-
out.preloader = PLAN_FALLBACK.preloader;
|
|
25496
|
-
if (proWord('scrub', choices.scrub))
|
|
25497
|
-
out.scrub = PLAN_FALLBACK.scrub;
|
|
25498
|
-
return out;
|
|
25688
|
+
function motionLanguageForPlan(choices, _pro) {
|
|
25689
|
+
return choices;
|
|
25499
25690
|
}
|
|
25500
25691
|
/** The reduced-motion floor (AW-D6): an entrance is a fade this long at most — gentler, never zero. */
|
|
25501
25692
|
const REDUCED_ENTRANCE_MAX_MS = L$2.reduced.enterMaxMs;
|
|
@@ -25584,8 +25775,6 @@ function planPreloader(input) {
|
|
|
25584
25775
|
return null;
|
|
25585
25776
|
if (!PRELOADER_LEVELS.includes(String(input.animate ?? '')))
|
|
25586
25777
|
return null;
|
|
25587
|
-
if (!input.pro && motionWordTier('preloader', kind) === MotionWordTier.Pro)
|
|
25588
|
-
return null;
|
|
25589
25778
|
return { kind: kind, exit: preloaderExitOf(input.presetId), capMs: PRELOADER_CAP_MS };
|
|
25590
25779
|
}
|
|
25591
25780
|
/** The look's exit (PL-D3): the preset's own, else a fade. */
|
|
@@ -26113,7 +26302,7 @@ function legacyFlavorTokens(pack, choices) {
|
|
|
26113
26302
|
delete row.values;
|
|
26114
26303
|
}
|
|
26115
26304
|
if (choices.seed && choices.seed.toLowerCase() !== pack.seed.toLowerCase()) {
|
|
26116
|
-
for (const accent of deriveAccentTokens(choices.seed, preTintAccentGrounds(pack.palette))) {
|
|
26305
|
+
for (const accent of deriveAccentTokens(choices.seed, preTintAccentGrounds(pack.palette), {}, { keepSeed: false })) {
|
|
26117
26306
|
const row = byName.get(accent.name);
|
|
26118
26307
|
if (!row)
|
|
26119
26308
|
continue;
|
|
@@ -26406,6 +26595,34 @@ function legacyDesignTokenRows(choices) {
|
|
|
26406
26595
|
const pack = flavorPackById(choices.flavorId);
|
|
26407
26596
|
return pack ? legacyFlavorTokens(pack, { ...choices, flavorId: pack.id }) : [];
|
|
26408
26597
|
}
|
|
26598
|
+
/** The accent rows colour v2 CV1 (CV-D1) changed: in light mode the accent is the seed itself now. */
|
|
26599
|
+
const KEPT_SEED_ROWS = ['accent', 'accent-ink', 'accent-hover'];
|
|
26600
|
+
/**
|
|
26601
|
+
* What a design wrote BEFORE colour v2 CV1 (guidance 8f61581, CV-D1): today's rows, but a seed ≠ the pack's own wore
|
|
26602
|
+
* brand-500 (L 0.62, a pastel with a black label) as its light accent, ink and hover. Those three do not depend on the
|
|
26603
|
+
* grounds, so only their light values differ; the dark values and every other row are today's. A studio whose rows a
|
|
26604
|
+
* machine wrote then is healed to the kept seed on the builder's load (`designTokenRepairs`) and by its next Apply
|
|
26605
|
+
* (`designBaseline`); a row the author edited is kept. Empty for an unknown pack.
|
|
26606
|
+
*/
|
|
26607
|
+
function preKeptSeedDesignTokenRows(choices) {
|
|
26608
|
+
const rows = designTokenRows(choices);
|
|
26609
|
+
const pack = flavorPackById(choices.flavorId);
|
|
26610
|
+
if (!pack || !choices.seed || choices.seed.toLowerCase() === pack.seed.toLowerCase())
|
|
26611
|
+
return rows;
|
|
26612
|
+
let old;
|
|
26613
|
+
try {
|
|
26614
|
+
old = deriveAccentTokens(choices.seed, { bg: [] }, {}, { keepSeed: false });
|
|
26615
|
+
}
|
|
26616
|
+
catch {
|
|
26617
|
+
return rows;
|
|
26618
|
+
}
|
|
26619
|
+
for (const row of rows) {
|
|
26620
|
+
const was = KEPT_SEED_ROWS.includes(row.name) ? old.find(t => t.name === row.name) : undefined;
|
|
26621
|
+
if (was)
|
|
26622
|
+
row.value = was.value.toUpperCase();
|
|
26623
|
+
}
|
|
26624
|
+
return rows;
|
|
26625
|
+
}
|
|
26409
26626
|
/** What the F1/F2 Swiss seeding wrote: the four Swiss rows + the brand set derived from its seed. */
|
|
26410
26627
|
function swissExpectations(seed) {
|
|
26411
26628
|
const rows = SWISS_FLAVOR.tokens.map(t => ({ name: t.name, value: t.value, values: t.values }));
|
|
@@ -26438,6 +26655,10 @@ function packDefaultsLookup() {
|
|
|
26438
26655
|
* - guidance `39135c7` (no underlines, Doron 2026-11-22): a link and a ghost (text) button draw no line — Linen's ghost
|
|
26439
26656
|
* button and every look's link were seeded `underline`, the current page's link a 2px accent line (vectoriox/iox-ui#118:
|
|
26440
26657
|
* idos and the store kept underlined text buttons from the stored row).
|
|
26658
|
+
* - vectoriox/iox-ui#173 (b), decided 2026-11-28 — no migration: the Glass bar stood on `surface-glass` (3.55:1 over a
|
|
26659
|
+
* light picture in dark mode; HI3 slice 1 moved it to `surface-glass-strong`), and the Glass tab bar on
|
|
26660
|
+
* `surface-glass-strong` (3.74–4.19:1; #174 gave it its own 92% ground). A Glass studio applied before either kept the
|
|
26661
|
+
* old ground (iox-test-fresh's J10 sites, 2026-11-28); the next Apply or builder load heals it.
|
|
26441
26662
|
* A spec pins every entry as no flavor's current value. Add one with every contract change of a seeded token's value.
|
|
26442
26663
|
*/
|
|
26443
26664
|
const SUPERSEDED_TOKEN_VALUES = {
|
|
@@ -26446,6 +26667,8 @@ const SUPERSEDED_TOKEN_VALUES = {
|
|
|
26446
26667
|
'button-ghost-decoration': ['underline'],
|
|
26447
26668
|
'link-decoration': ['underline'],
|
|
26448
26669
|
'link-current-decoration': ['underline 2px var(--iox-accent-text)'],
|
|
26670
|
+
'nav-bg': ['var(--iox-surface-glass)'],
|
|
26671
|
+
'tabbar-bg': ['var(--iox-surface-glass-strong)'],
|
|
26449
26672
|
};
|
|
26450
26673
|
const supersededOf = (name) => (SUPERSEDED_TOKEN_VALUES[name] ?? []).map(value => ({ value }));
|
|
26451
26674
|
const present = (list) => list.filter((e) => !!e);
|
|
@@ -26475,6 +26698,7 @@ function designBaseline(previous) {
|
|
|
26475
26698
|
const wrote = retired ? packDesignChoices(previous.choices.flavorId) : previous.choices;
|
|
26476
26699
|
const current = expectations(designTokenRows(wrote));
|
|
26477
26700
|
const beforeTint = expectations(legacyDesignTokenRows(wrote));
|
|
26701
|
+
const beforeKeptSeed = expectations(preKeptSeedDesignTokenRows(wrote));
|
|
26478
26702
|
const swiss = swissExpectations(retired ? previous.storedSeed : null);
|
|
26479
26703
|
const packDefaults = packDefaultsLookup();
|
|
26480
26704
|
return (row) => {
|
|
@@ -26482,7 +26706,7 @@ function designBaseline(previous) {
|
|
|
26482
26706
|
if (stampedBy === SWISS_FLAVOR.id)
|
|
26483
26707
|
return swiss.get(row.name);
|
|
26484
26708
|
const ownDefaults = stampedBy ? packDefaults(stampedBy).map(m => m.get(row.name)) : [];
|
|
26485
|
-
const expected = [current.get(row.name), beforeTint.get(row.name), ...ownDefaults];
|
|
26709
|
+
const expected = [current.get(row.name), beforeTint.get(row.name), beforeKeptSeed.get(row.name), ...ownDefaults];
|
|
26486
26710
|
return present([...expected, ...expected.map(e => beforeScriptPartners(row.name, e)), ...(stampedBy ? supersededOf(row.name) : [])]);
|
|
26487
26711
|
};
|
|
26488
26712
|
}
|
|
@@ -26586,6 +26810,7 @@ function designTokenRepairs(existing, choices) {
|
|
|
26586
26810
|
const stamp = flavorSourceStamp(pack.id);
|
|
26587
26811
|
const desired = new Map(designTokenRows(choices).map(r => [r.name, r]));
|
|
26588
26812
|
const beforeTint = expectations(legacyDesignTokenRows(choices));
|
|
26813
|
+
const beforeKeptSeed = expectations(preKeptSeedDesignTokenRows(choices));
|
|
26589
26814
|
const packDefaults = packDefaultsLookup();
|
|
26590
26815
|
const out = [];
|
|
26591
26816
|
for (const row of existing ?? []) {
|
|
@@ -26598,7 +26823,7 @@ function designTokenRepairs(existing, choices) {
|
|
|
26598
26823
|
const darkOnly = row.source === stamp && row.value === want.value;
|
|
26599
26824
|
const machineWrote = present([
|
|
26600
26825
|
...(stampedBy ? packDefaults(stampedBy).map(m => m.get(row.name)) : []),
|
|
26601
|
-
...(stampedBy === pack.id ? [beforeTint.get(row.name), beforeScriptPartners(row.name, want), beforeScriptPartners(row.name, beforeTint.get(row.name))] : []),
|
|
26826
|
+
...(stampedBy === pack.id ? [beforeTint.get(row.name), beforeKeptSeed.get(row.name), beforeScriptPartners(row.name, want), beforeScriptPartners(row.name, beforeTint.get(row.name))] : []),
|
|
26602
26827
|
...(stampedBy ? supersededOf(row.name) : []),
|
|
26603
26828
|
]);
|
|
26604
26829
|
if (!darkOnly && !untouchedSeedRow(row, machineWrote))
|
|
@@ -26838,5 +27063,5 @@ function closeWord(lang) {
|
|
|
26838
27063
|
* Generated bundle index. Do not edit.
|
|
26839
27064
|
*/
|
|
26840
27065
|
|
|
26841
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, 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, 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, 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, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderGround, HeaderInk, HeaderTrait, INHERITED_TEXT, 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, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, 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, 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, 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, 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, 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, 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, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, 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, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, schemeOfClasses, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
27066
|
+
export { ACCENT_TOKEN_NAMES, 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, 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, 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, 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, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, 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, 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, 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, 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, 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, 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, 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, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
26842
27067
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|