@vectoriox/iox-ui 5.145.0 → 5.147.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 +10 -1
- package/design-core/index.d.ts +336 -23
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +2 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +8 -5
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +459 -38
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +34 -3
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +108 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +29 -1
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +23 -0
- package/harness-core/index.d.ts +91 -1
- package/index.d.ts +23 -2
- package/package.json +1 -1
- package/src/assist-core/site-look.ts +2 -1
- package/src/composite-core/slider.ts +7 -4
- package/src/design-core/design-apply.ts +19 -2
- package/src/design-core/design-settings.ts +18 -7
- package/src/design-core/design-token.model.ts +11 -0
- package/src/design-core/flavor-spec.generated.ts +298 -24
- package/src/design-core/flavor-tokens.ts +7 -1
- package/src/design-core/node-classes.ts +66 -1
- package/src/design-core/section-edge.ts +14 -4
- package/src/design-core/token-css.ts +48 -3
- package/src/generation-core/adjustments.ts +7 -3
- package/src/generation-core/site-spec.generated.ts +26 -0
- package/src/generation-core/validate-site-plan.ts +1 -0
- package/src/harness-core/harness-spec.generated.ts +108 -0
- package/src/harness-core/starting-design.ts +1 -1
|
@@ -83,6 +83,7 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
83
83
|
"mode": "'light' | 'dark' | 'auto'",
|
|
84
84
|
"tint?": "string — axes.tints (DS9 neutral tint)",
|
|
85
85
|
"fonts?": "object — uploaded font families per role (DS5)",
|
|
86
|
+
"column?": "string — axes.columns: the content column every section, the header and the footer share (award §0c; absent = the pack's defaults.column)",
|
|
86
87
|
"scroll?": "string — axes.scrolls: how the site scrolls (rev 3.1; absent = axes.motionChoices.pre)",
|
|
87
88
|
"animate?": "string — axes.animations: how much the sections move in as they scroll into view",
|
|
88
89
|
"between?": "string — axes.betweens: what plays between pages",
|
|
@@ -11292,6 +11293,10 @@ const SPEC_SITE_LAYOUT = {
|
|
|
11292
11293
|
"shop": {
|
|
11293
11294
|
"built": [],
|
|
11294
11295
|
"where": "commerce track G (C-D21) — the shop's parts, handed over as words (AW-D19)"
|
|
11296
|
+
},
|
|
11297
|
+
"pageColumn": {
|
|
11298
|
+
"built": [],
|
|
11299
|
+
"where": "award §0c CW2: `LayoutPage.column` on the layout wire (one enum, offered per type — harness COLUMN_NEVER); until then a composed page wears the site's word (design ▸ content width)"
|
|
11295
11300
|
}
|
|
11296
11301
|
},
|
|
11297
11302
|
"rows": [
|
|
@@ -11406,6 +11411,27 @@ const SPEC_SITE_LAYOUT = {
|
|
|
11406
11411
|
"drawnAs": null,
|
|
11407
11412
|
"tier": "pro",
|
|
11408
11413
|
"meaning": "an out-of-season card with notify me"
|
|
11414
|
+
},
|
|
11415
|
+
{
|
|
11416
|
+
"key": "pageColumn.wide",
|
|
11417
|
+
"phase": "CW2",
|
|
11418
|
+
"drawnAs": null,
|
|
11419
|
+
"tier": "all",
|
|
11420
|
+
"meaning": "the page runs the window minus the one gutter (a gallery, a bold page) — never a formal type"
|
|
11421
|
+
},
|
|
11422
|
+
{
|
|
11423
|
+
"key": "pageColumn.contained",
|
|
11424
|
+
"phase": "CW2",
|
|
11425
|
+
"drawnAs": null,
|
|
11426
|
+
"tier": "all",
|
|
11427
|
+
"meaning": "the page's words sit in one centred column; grounds keep the window"
|
|
11428
|
+
},
|
|
11429
|
+
{
|
|
11430
|
+
"key": "pageColumn.narrow",
|
|
11431
|
+
"phase": "CW2",
|
|
11432
|
+
"drawnAs": null,
|
|
11433
|
+
"tier": "all",
|
|
11434
|
+
"meaning": "a reading column — a story, a case study, a long page of words"
|
|
11409
11435
|
}
|
|
11410
11436
|
]
|
|
11411
11437
|
}
|
|
@@ -24814,6 +24840,7 @@ function validateDesign(c, design) {
|
|
|
24814
24840
|
axis('density', SPEC_AXES.densities);
|
|
24815
24841
|
axis('motion', SPEC_AXES.motions);
|
|
24816
24842
|
axis('tint', SPEC_AXES.tints);
|
|
24843
|
+
axis('column', SPEC_AXES.columns);
|
|
24817
24844
|
axis('scroll', SPEC_AXES.scrolls);
|
|
24818
24845
|
axis('animate', SPEC_AXES.animations);
|
|
24819
24846
|
axis('between', SPEC_AXES.betweens);
|
|
@@ -35618,9 +35645,13 @@ const ADJUST_AXIS_LABELS = {
|
|
|
35618
35645
|
};
|
|
35619
35646
|
const SECTION_SPACE = 'var(--iox-space-section)';
|
|
35620
35647
|
const BOX_PAD = 'var(--iox-space-pad)';
|
|
35621
|
-
/** The section style's padding (`--iox-section-pad` = `var(--iox-space-section) var(--iox-space-
|
|
35648
|
+
/** The section style's padding (`--iox-section-pad` = `var(--iox-space-section) var(--iox-space-inline)` since award
|
|
35649
|
+
* §0c): a spacing step keeps the sides as the column's inset, never the bare gutter, or "more space" would drop the
|
|
35650
|
+
* page's column (T-CW4). */
|
|
35622
35651
|
const SECTION_PAD = 'var(--iox-section-pad)';
|
|
35623
|
-
const SECTION_GUTTER = 'var(--iox-space-
|
|
35652
|
+
const SECTION_GUTTER = 'var(--iox-space-inline)';
|
|
35653
|
+
/** The sides an AI2c step wrote before award §0c (CW1): read as the column's inset, so the next step heals them. */
|
|
35654
|
+
const SECTION_GUTTER_BEFORE_CW1 = 'var(--iox-space-gutter)';
|
|
35624
35655
|
const scaled = (token, by) => by === 1 ? token : `calc(${token} * ${by})`;
|
|
35625
35656
|
/** A step's scale of the axis's token (spacing). */
|
|
35626
35657
|
const SPACING_SCALE = { tight: 0.5, normal: 1, airy: 1.5 };
|
|
@@ -35677,7 +35708,7 @@ function paddingSides(value) {
|
|
|
35677
35708
|
return ['0px', '0px', '0px', '0px'];
|
|
35678
35709
|
if (raw === SECTION_PAD)
|
|
35679
35710
|
return [SECTION_SPACE, SECTION_GUTTER, SECTION_SPACE, SECTION_GUTTER];
|
|
35680
|
-
const p = splitCssValue(raw);
|
|
35711
|
+
const p = splitCssValue(raw).map(side => side === SECTION_GUTTER_BEFORE_CW1 ? SECTION_GUTTER : side);
|
|
35681
35712
|
if (p.length === 1)
|
|
35682
35713
|
return [p[0], p[0], p[0], p[0]];
|
|
35683
35714
|
if (p.length === 2)
|