@vectoriox/iox-ui 5.145.0 → 5.146.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/generation-core/index.d.ts +23 -0
- package/harness-core/index.d.ts +91 -1
- 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
package/design-core/index.d.ts
CHANGED
|
@@ -357,7 +357,7 @@ declare const SPEC_TIERS: {
|
|
|
357
357
|
readonly name: "space-gutter";
|
|
358
358
|
readonly type: "spacing";
|
|
359
359
|
readonly group: "space";
|
|
360
|
-
readonly desc: "
|
|
360
|
+
readonly desc: "The gutter floor: the least room beside the content (px, per Spacing)";
|
|
361
361
|
}, {
|
|
362
362
|
readonly name: "space-gap";
|
|
363
363
|
readonly type: "spacing";
|
|
@@ -377,7 +377,32 @@ declare const SPEC_TIERS: {
|
|
|
377
377
|
readonly name: "section-pad";
|
|
378
378
|
readonly type: "spacing";
|
|
379
379
|
readonly group: "space";
|
|
380
|
-
readonly desc: "Composite: space-section space-
|
|
380
|
+
readonly desc: "Composite: space-section space-inline";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "space-edge";
|
|
383
|
+
readonly type: "spacing";
|
|
384
|
+
readonly group: "space";
|
|
385
|
+
readonly desc: "THE one gutter: 4% of the page or the gutter floor, whichever is more";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "column-contained";
|
|
388
|
+
readonly type: "spacing";
|
|
389
|
+
readonly group: "space";
|
|
390
|
+
readonly desc: "One centred column (per Spacing)";
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "column-narrow";
|
|
393
|
+
readonly type: "spacing";
|
|
394
|
+
readonly group: "space";
|
|
395
|
+
readonly desc: "A reading column — a story, a case study (per Spacing)";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "content-width";
|
|
398
|
+
readonly type: "spacing";
|
|
399
|
+
readonly group: "space";
|
|
400
|
+
readonly desc: "The column in force: 100% (wide) or a column's width — the site's word; a page's word re-declares it";
|
|
401
|
+
}, {
|
|
402
|
+
readonly name: "space-inline";
|
|
403
|
+
readonly type: "spacing";
|
|
404
|
+
readonly group: "space";
|
|
405
|
+
readonly desc: "Composite: the ONE inline inset the header, the footer and every section read";
|
|
381
406
|
}, {
|
|
382
407
|
readonly name: "dur-fast";
|
|
383
408
|
readonly type: "duration";
|
|
@@ -705,7 +730,7 @@ declare const SPEC_TIERS: {
|
|
|
705
730
|
}, {
|
|
706
731
|
readonly name: "nav-pad";
|
|
707
732
|
readonly type: "spacing";
|
|
708
|
-
readonly default: "16px var(--iox-space-
|
|
733
|
+
readonly default: "16px var(--iox-space-inline)";
|
|
709
734
|
}, {
|
|
710
735
|
readonly name: "field-bg";
|
|
711
736
|
readonly type: "color";
|
|
@@ -1391,6 +1416,8 @@ declare const SPEC_AXES: {
|
|
|
1391
1416
|
readonly "space-gutter": "20px";
|
|
1392
1417
|
readonly "space-gap": "16px";
|
|
1393
1418
|
readonly "space-pad": "20px";
|
|
1419
|
+
readonly "column-contained": "1200px";
|
|
1420
|
+
readonly "column-narrow": "960px";
|
|
1394
1421
|
};
|
|
1395
1422
|
readonly regular: {
|
|
1396
1423
|
readonly label: "Regular";
|
|
@@ -1398,6 +1425,8 @@ declare const SPEC_AXES: {
|
|
|
1398
1425
|
readonly "space-gutter": "24px";
|
|
1399
1426
|
readonly "space-gap": "24px";
|
|
1400
1427
|
readonly "space-pad": "24px";
|
|
1428
|
+
readonly "column-contained": "1240px";
|
|
1429
|
+
readonly "column-narrow": "1000px";
|
|
1401
1430
|
};
|
|
1402
1431
|
readonly airy: {
|
|
1403
1432
|
readonly label: "Airy";
|
|
@@ -1405,6 +1434,8 @@ declare const SPEC_AXES: {
|
|
|
1405
1434
|
readonly "space-gutter": "32px";
|
|
1406
1435
|
readonly "space-gap": "32px";
|
|
1407
1436
|
readonly "space-pad": "32px";
|
|
1437
|
+
readonly "column-contained": "1280px";
|
|
1438
|
+
readonly "column-narrow": "1040px";
|
|
1408
1439
|
};
|
|
1409
1440
|
};
|
|
1410
1441
|
readonly motions: {
|
|
@@ -1580,6 +1611,28 @@ declare const SPEC_AXES: {
|
|
|
1580
1611
|
};
|
|
1581
1612
|
};
|
|
1582
1613
|
};
|
|
1614
|
+
readonly columns: {
|
|
1615
|
+
readonly wide: {
|
|
1616
|
+
readonly label: "Wide";
|
|
1617
|
+
readonly column: null;
|
|
1618
|
+
readonly desc: "The window minus the gutter — as every page was before the column";
|
|
1619
|
+
};
|
|
1620
|
+
readonly contained: {
|
|
1621
|
+
readonly label: "Contained";
|
|
1622
|
+
readonly column: "column-contained";
|
|
1623
|
+
readonly desc: "One centred column";
|
|
1624
|
+
};
|
|
1625
|
+
readonly narrow: {
|
|
1626
|
+
readonly label: "Narrow";
|
|
1627
|
+
readonly column: "column-narrow";
|
|
1628
|
+
readonly desc: "A reading column — a story, a case study";
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
readonly columnChoices: {
|
|
1632
|
+
readonly pre: "wide";
|
|
1633
|
+
readonly new: "contained";
|
|
1634
|
+
};
|
|
1635
|
+
readonly edgeShare: "4%";
|
|
1583
1636
|
readonly scrolls: {
|
|
1584
1637
|
readonly normal: {
|
|
1585
1638
|
readonly label: "Normal";
|
|
@@ -5062,6 +5115,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5062
5115
|
readonly pillButtons: false;
|
|
5063
5116
|
readonly mode: "light";
|
|
5064
5117
|
readonly tint: "subtle";
|
|
5118
|
+
readonly column: "contained";
|
|
5065
5119
|
};
|
|
5066
5120
|
readonly seed: "#2F5BEA";
|
|
5067
5121
|
readonly seeds: readonly ["#2F5BEA", "#0F766E", "#7C3AED", "#BE123C", "#111827"];
|
|
@@ -5659,7 +5713,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
5659
5713
|
readonly tier: "semantic";
|
|
5660
5714
|
readonly type: "spacing";
|
|
5661
5715
|
readonly group: "space";
|
|
5662
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
5716
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly name: "space-edge";
|
|
5719
|
+
readonly tier: "semantic";
|
|
5720
|
+
readonly type: "spacing";
|
|
5721
|
+
readonly group: "space";
|
|
5722
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
5723
|
+
}, {
|
|
5724
|
+
readonly name: "column-contained";
|
|
5725
|
+
readonly tier: "semantic";
|
|
5726
|
+
readonly type: "spacing";
|
|
5727
|
+
readonly group: "space";
|
|
5728
|
+
readonly value: "1240px";
|
|
5729
|
+
}, {
|
|
5730
|
+
readonly name: "column-narrow";
|
|
5731
|
+
readonly tier: "semantic";
|
|
5732
|
+
readonly type: "spacing";
|
|
5733
|
+
readonly group: "space";
|
|
5734
|
+
readonly value: "1000px";
|
|
5735
|
+
}, {
|
|
5736
|
+
readonly name: "content-width";
|
|
5737
|
+
readonly tier: "semantic";
|
|
5738
|
+
readonly type: "spacing";
|
|
5739
|
+
readonly group: "space";
|
|
5740
|
+
readonly value: "1240px";
|
|
5741
|
+
}, {
|
|
5742
|
+
readonly name: "space-inline";
|
|
5743
|
+
readonly tier: "semantic";
|
|
5744
|
+
readonly type: "spacing";
|
|
5745
|
+
readonly group: "space";
|
|
5746
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
5663
5747
|
}, {
|
|
5664
5748
|
readonly name: "dur-fast";
|
|
5665
5749
|
readonly tier: "semantic";
|
|
@@ -6127,7 +6211,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
6127
6211
|
readonly tier: "component";
|
|
6128
6212
|
readonly type: "spacing";
|
|
6129
6213
|
readonly group: "components";
|
|
6130
|
-
readonly value: "16px var(--iox-space-
|
|
6214
|
+
readonly value: "16px var(--iox-space-inline)";
|
|
6131
6215
|
}, {
|
|
6132
6216
|
readonly name: "field-bg";
|
|
6133
6217
|
readonly tier: "component";
|
|
@@ -7091,6 +7175,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7091
7175
|
readonly pillButtons: false;
|
|
7092
7176
|
readonly mode: "light";
|
|
7093
7177
|
readonly tint: "subtle";
|
|
7178
|
+
readonly column: "contained";
|
|
7094
7179
|
};
|
|
7095
7180
|
readonly seed: "#7A5B36";
|
|
7096
7181
|
readonly seeds: readonly ["#7A5B36", "#5E6B3A", "#9A4F2B", "#3F4A5A", "#7D4E5E"];
|
|
@@ -7686,7 +7771,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
7686
7771
|
readonly tier: "semantic";
|
|
7687
7772
|
readonly type: "spacing";
|
|
7688
7773
|
readonly group: "space";
|
|
7689
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
7774
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
7775
|
+
}, {
|
|
7776
|
+
readonly name: "space-edge";
|
|
7777
|
+
readonly tier: "semantic";
|
|
7778
|
+
readonly type: "spacing";
|
|
7779
|
+
readonly group: "space";
|
|
7780
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
7781
|
+
}, {
|
|
7782
|
+
readonly name: "column-contained";
|
|
7783
|
+
readonly tier: "semantic";
|
|
7784
|
+
readonly type: "spacing";
|
|
7785
|
+
readonly group: "space";
|
|
7786
|
+
readonly value: "1280px";
|
|
7787
|
+
}, {
|
|
7788
|
+
readonly name: "column-narrow";
|
|
7789
|
+
readonly tier: "semantic";
|
|
7790
|
+
readonly type: "spacing";
|
|
7791
|
+
readonly group: "space";
|
|
7792
|
+
readonly value: "1040px";
|
|
7793
|
+
}, {
|
|
7794
|
+
readonly name: "content-width";
|
|
7795
|
+
readonly tier: "semantic";
|
|
7796
|
+
readonly type: "spacing";
|
|
7797
|
+
readonly group: "space";
|
|
7798
|
+
readonly value: "1280px";
|
|
7799
|
+
}, {
|
|
7800
|
+
readonly name: "space-inline";
|
|
7801
|
+
readonly tier: "semantic";
|
|
7802
|
+
readonly type: "spacing";
|
|
7803
|
+
readonly group: "space";
|
|
7804
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
7690
7805
|
}, {
|
|
7691
7806
|
readonly name: "dur-fast";
|
|
7692
7807
|
readonly tier: "semantic";
|
|
@@ -8167,7 +8282,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
8167
8282
|
readonly tier: "component";
|
|
8168
8283
|
readonly type: "spacing";
|
|
8169
8284
|
readonly group: "components";
|
|
8170
|
-
readonly value: "16px var(--iox-space-
|
|
8285
|
+
readonly value: "16px var(--iox-space-inline)";
|
|
8171
8286
|
}, {
|
|
8172
8287
|
readonly name: "field-bg";
|
|
8173
8288
|
readonly tier: "component";
|
|
@@ -9143,6 +9258,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
9143
9258
|
readonly pillButtons: false;
|
|
9144
9259
|
readonly mode: "dark";
|
|
9145
9260
|
readonly tint: "subtle";
|
|
9261
|
+
readonly column: "contained";
|
|
9146
9262
|
};
|
|
9147
9263
|
readonly seed: "#6E5BFF";
|
|
9148
9264
|
readonly seeds: readonly ["#6E5BFF", "#0891B2", "#059669", "#EA580C", "#DB2777"];
|
|
@@ -9741,7 +9857,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
9741
9857
|
readonly tier: "semantic";
|
|
9742
9858
|
readonly type: "spacing";
|
|
9743
9859
|
readonly group: "space";
|
|
9744
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
9860
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
9861
|
+
}, {
|
|
9862
|
+
readonly name: "space-edge";
|
|
9863
|
+
readonly tier: "semantic";
|
|
9864
|
+
readonly type: "spacing";
|
|
9865
|
+
readonly group: "space";
|
|
9866
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
9867
|
+
}, {
|
|
9868
|
+
readonly name: "column-contained";
|
|
9869
|
+
readonly tier: "semantic";
|
|
9870
|
+
readonly type: "spacing";
|
|
9871
|
+
readonly group: "space";
|
|
9872
|
+
readonly value: "1240px";
|
|
9873
|
+
}, {
|
|
9874
|
+
readonly name: "column-narrow";
|
|
9875
|
+
readonly tier: "semantic";
|
|
9876
|
+
readonly type: "spacing";
|
|
9877
|
+
readonly group: "space";
|
|
9878
|
+
readonly value: "1000px";
|
|
9879
|
+
}, {
|
|
9880
|
+
readonly name: "content-width";
|
|
9881
|
+
readonly tier: "semantic";
|
|
9882
|
+
readonly type: "spacing";
|
|
9883
|
+
readonly group: "space";
|
|
9884
|
+
readonly value: "1240px";
|
|
9885
|
+
}, {
|
|
9886
|
+
readonly name: "space-inline";
|
|
9887
|
+
readonly tier: "semantic";
|
|
9888
|
+
readonly type: "spacing";
|
|
9889
|
+
readonly group: "space";
|
|
9890
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
9745
9891
|
}, {
|
|
9746
9892
|
readonly name: "dur-fast";
|
|
9747
9893
|
readonly tier: "semantic";
|
|
@@ -10217,7 +10363,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
10217
10363
|
readonly tier: "component";
|
|
10218
10364
|
readonly type: "spacing";
|
|
10219
10365
|
readonly group: "components";
|
|
10220
|
-
readonly value: "16px var(--iox-space-
|
|
10366
|
+
readonly value: "16px var(--iox-space-inline)";
|
|
10221
10367
|
}, {
|
|
10222
10368
|
readonly name: "field-bg";
|
|
10223
10369
|
readonly tier: "component";
|
|
@@ -11183,6 +11329,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
11183
11329
|
readonly pillButtons: true;
|
|
11184
11330
|
readonly mode: "light";
|
|
11185
11331
|
readonly tint: "subtle";
|
|
11332
|
+
readonly column: "contained";
|
|
11186
11333
|
};
|
|
11187
11334
|
readonly seed: "#0A66E8";
|
|
11188
11335
|
readonly seeds: readonly ["#0A66E8", "#7C5CFF", "#0E8A89", "#E5484D", "#1F2937"];
|
|
@@ -11795,7 +11942,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
11795
11942
|
readonly tier: "semantic";
|
|
11796
11943
|
readonly type: "spacing";
|
|
11797
11944
|
readonly group: "space";
|
|
11798
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
11945
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
11946
|
+
}, {
|
|
11947
|
+
readonly name: "space-edge";
|
|
11948
|
+
readonly tier: "semantic";
|
|
11949
|
+
readonly type: "spacing";
|
|
11950
|
+
readonly group: "space";
|
|
11951
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
11952
|
+
}, {
|
|
11953
|
+
readonly name: "column-contained";
|
|
11954
|
+
readonly tier: "semantic";
|
|
11955
|
+
readonly type: "spacing";
|
|
11956
|
+
readonly group: "space";
|
|
11957
|
+
readonly value: "1240px";
|
|
11958
|
+
}, {
|
|
11959
|
+
readonly name: "column-narrow";
|
|
11960
|
+
readonly tier: "semantic";
|
|
11961
|
+
readonly type: "spacing";
|
|
11962
|
+
readonly group: "space";
|
|
11963
|
+
readonly value: "1000px";
|
|
11964
|
+
}, {
|
|
11965
|
+
readonly name: "content-width";
|
|
11966
|
+
readonly tier: "semantic";
|
|
11967
|
+
readonly type: "spacing";
|
|
11968
|
+
readonly group: "space";
|
|
11969
|
+
readonly value: "1240px";
|
|
11970
|
+
}, {
|
|
11971
|
+
readonly name: "space-inline";
|
|
11972
|
+
readonly tier: "semantic";
|
|
11973
|
+
readonly type: "spacing";
|
|
11974
|
+
readonly group: "space";
|
|
11975
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
11799
11976
|
}, {
|
|
11800
11977
|
readonly name: "dur-fast";
|
|
11801
11978
|
readonly tier: "semantic";
|
|
@@ -12283,7 +12460,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
12283
12460
|
readonly tier: "component";
|
|
12284
12461
|
readonly type: "spacing";
|
|
12285
12462
|
readonly group: "components";
|
|
12286
|
-
readonly value: "10px
|
|
12463
|
+
readonly value: "10px var(--iox-space-inline)";
|
|
12287
12464
|
readonly overridden: true;
|
|
12288
12465
|
}, {
|
|
12289
12466
|
readonly name: "field-bg";
|
|
@@ -13268,6 +13445,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
13268
13445
|
readonly pillButtons: true;
|
|
13269
13446
|
readonly mode: "light";
|
|
13270
13447
|
readonly tint: "subtle";
|
|
13448
|
+
readonly column: "contained";
|
|
13271
13449
|
};
|
|
13272
13450
|
readonly seed: "#6750A4";
|
|
13273
13451
|
readonly seeds: readonly ["#6750A4", "#006A6A", "#9C4146", "#7D5260", "#3B6939"];
|
|
@@ -13864,7 +14042,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
13864
14042
|
readonly tier: "semantic";
|
|
13865
14043
|
readonly type: "spacing";
|
|
13866
14044
|
readonly group: "space";
|
|
13867
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
14045
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
14046
|
+
}, {
|
|
14047
|
+
readonly name: "space-edge";
|
|
14048
|
+
readonly tier: "semantic";
|
|
14049
|
+
readonly type: "spacing";
|
|
14050
|
+
readonly group: "space";
|
|
14051
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
14052
|
+
}, {
|
|
14053
|
+
readonly name: "column-contained";
|
|
14054
|
+
readonly tier: "semantic";
|
|
14055
|
+
readonly type: "spacing";
|
|
14056
|
+
readonly group: "space";
|
|
14057
|
+
readonly value: "1240px";
|
|
14058
|
+
}, {
|
|
14059
|
+
readonly name: "column-narrow";
|
|
14060
|
+
readonly tier: "semantic";
|
|
14061
|
+
readonly type: "spacing";
|
|
14062
|
+
readonly group: "space";
|
|
14063
|
+
readonly value: "1000px";
|
|
14064
|
+
}, {
|
|
14065
|
+
readonly name: "content-width";
|
|
14066
|
+
readonly tier: "semantic";
|
|
14067
|
+
readonly type: "spacing";
|
|
14068
|
+
readonly group: "space";
|
|
14069
|
+
readonly value: "1240px";
|
|
14070
|
+
}, {
|
|
14071
|
+
readonly name: "space-inline";
|
|
14072
|
+
readonly tier: "semantic";
|
|
14073
|
+
readonly type: "spacing";
|
|
14074
|
+
readonly group: "space";
|
|
14075
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
13868
14076
|
}, {
|
|
13869
14077
|
readonly name: "dur-fast";
|
|
13870
14078
|
readonly tier: "semantic";
|
|
@@ -14343,7 +14551,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
14343
14551
|
readonly tier: "component";
|
|
14344
14552
|
readonly type: "spacing";
|
|
14345
14553
|
readonly group: "components";
|
|
14346
|
-
readonly value: "16px var(--iox-space-
|
|
14554
|
+
readonly value: "16px var(--iox-space-inline)";
|
|
14347
14555
|
}, {
|
|
14348
14556
|
readonly name: "field-bg";
|
|
14349
14557
|
readonly tier: "component";
|
|
@@ -15317,6 +15525,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
15317
15525
|
readonly pillButtons: false;
|
|
15318
15526
|
readonly mode: "light";
|
|
15319
15527
|
readonly tint: "subtle";
|
|
15528
|
+
readonly column: "contained";
|
|
15320
15529
|
};
|
|
15321
15530
|
readonly seed: "#FF5C39";
|
|
15322
15531
|
readonly seeds: readonly ["#FF5C39", "#3D5AFE", "#00B86B", "#FF4FA3", "#FFD23F"];
|
|
@@ -15906,7 +16115,37 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
15906
16115
|
readonly tier: "semantic";
|
|
15907
16116
|
readonly type: "spacing";
|
|
15908
16117
|
readonly group: "space";
|
|
15909
|
-
readonly value: "var(--iox-space-section) var(--iox-space-
|
|
16118
|
+
readonly value: "var(--iox-space-section) var(--iox-space-inline)";
|
|
16119
|
+
}, {
|
|
16120
|
+
readonly name: "space-edge";
|
|
16121
|
+
readonly tier: "semantic";
|
|
16122
|
+
readonly type: "spacing";
|
|
16123
|
+
readonly group: "space";
|
|
16124
|
+
readonly value: "max(4%, var(--iox-space-gutter))";
|
|
16125
|
+
}, {
|
|
16126
|
+
readonly name: "column-contained";
|
|
16127
|
+
readonly tier: "semantic";
|
|
16128
|
+
readonly type: "spacing";
|
|
16129
|
+
readonly group: "space";
|
|
16130
|
+
readonly value: "1200px";
|
|
16131
|
+
}, {
|
|
16132
|
+
readonly name: "column-narrow";
|
|
16133
|
+
readonly tier: "semantic";
|
|
16134
|
+
readonly type: "spacing";
|
|
16135
|
+
readonly group: "space";
|
|
16136
|
+
readonly value: "960px";
|
|
16137
|
+
}, {
|
|
16138
|
+
readonly name: "content-width";
|
|
16139
|
+
readonly tier: "semantic";
|
|
16140
|
+
readonly type: "spacing";
|
|
16141
|
+
readonly group: "space";
|
|
16142
|
+
readonly value: "1200px";
|
|
16143
|
+
}, {
|
|
16144
|
+
readonly name: "space-inline";
|
|
16145
|
+
readonly tier: "semantic";
|
|
16146
|
+
readonly type: "spacing";
|
|
16147
|
+
readonly group: "space";
|
|
16148
|
+
readonly value: "max(var(--iox-space-edge), calc((100% - var(--iox-content-width)) / 2))";
|
|
15910
16149
|
}, {
|
|
15911
16150
|
readonly name: "dur-fast";
|
|
15912
16151
|
readonly tier: "semantic";
|
|
@@ -16394,7 +16633,7 @@ declare const SPEC_FLAVOR_PACKS: readonly [{
|
|
|
16394
16633
|
readonly tier: "component";
|
|
16395
16634
|
readonly type: "spacing";
|
|
16396
16635
|
readonly group: "components";
|
|
16397
|
-
readonly value: "16px var(--iox-space-
|
|
16636
|
+
readonly value: "16px var(--iox-space-inline)";
|
|
16398
16637
|
}, {
|
|
16399
16638
|
readonly name: "field-bg";
|
|
16400
16639
|
readonly tier: "component";
|
|
@@ -17700,6 +17939,13 @@ type TintId = keyof typeof SPEC_AXES.tints;
|
|
|
17700
17939
|
declare const TINT_IDS: ReadonlyArray<TintId>;
|
|
17701
17940
|
/** What a studio that stored its look BEFORE the tint existed wears: exactly the look's own palette. */
|
|
17702
17941
|
declare const PRE_TINT_DEFAULT: TintId;
|
|
17942
|
+
/** The content column (award plan §0c, AW-D33): Wide (the window minus the one gutter) · Contained · Narrow. */
|
|
17943
|
+
type ColumnId = keyof typeof SPEC_AXES.columns;
|
|
17944
|
+
declare const COLUMN_IDS: ReadonlyArray<ColumnId>;
|
|
17945
|
+
/** What a studio that stored its look BEFORE the column existed wears: Wide — exactly its pages (AW-D39). */
|
|
17946
|
+
declare const PRE_COLUMN: ColumnId;
|
|
17947
|
+
/** What a NEW look starts on: one centred column (AW-D34; every pack's `defaults.column`). */
|
|
17948
|
+
declare const NEW_COLUMN: ColumnId;
|
|
17703
17949
|
/** How the site scrolls (AI plan rev 3.1 §3p): Normal (the browser's own) · Smooth · Extra smooth. */
|
|
17704
17950
|
type ScrollId = keyof typeof SPEC_AXES.scrolls;
|
|
17705
17951
|
/** How much the sections move in as they scroll into view: Still · Subtle · Standard · Lively. */
|
|
@@ -17734,6 +17980,9 @@ interface DesignChoices {
|
|
|
17734
17980
|
/** Absent = the pack's default (`defaults.tint`). `readDesignConfig` reads a row stored before DS9 as
|
|
17735
17981
|
* `neutral` — the palette it was applied with. */
|
|
17736
17982
|
tint?: TintId;
|
|
17983
|
+
/** The site's content column (award §0c). Absent = the pack's default (`defaults.column`, contained); `readDesignConfig`
|
|
17984
|
+
* reads a row stored before the column as `wide` — the pages it was built with (AW-D39). */
|
|
17985
|
+
column?: ColumnId;
|
|
17737
17986
|
fonts?: Partial<Record<FontRoleToken, string>>;
|
|
17738
17987
|
/** Absent = `PRE_MOTION` (a row stored before rev 3.1 reads what its site already did). */
|
|
17739
17988
|
scroll?: ScrollId;
|
|
@@ -17800,6 +18049,7 @@ interface FlavorPackV2 {
|
|
|
17800
18049
|
readonly pillButtons: boolean;
|
|
17801
18050
|
readonly mode: DesignMode;
|
|
17802
18051
|
readonly tint: TintId;
|
|
18052
|
+
readonly column: ColumnId;
|
|
17803
18053
|
};
|
|
17804
18054
|
readonly seed: string;
|
|
17805
18055
|
readonly seeds: ReadonlyArray<string>;
|
|
@@ -17836,6 +18086,7 @@ declare function styleKeyToKebab(key: string): string;
|
|
|
17836
18086
|
* 1. base `:root { --iox-*: … }`
|
|
17837
18087
|
* 2. schemes `.iox-scheme-<id> { overrides; every var()-referencing token re-declared }`, then the
|
|
17838
18088
|
* ONE scheme-ink rule `.iox-scheme-subtle, … { color: var(--iox-text) }` (iox-ui#15)
|
|
18089
|
+
* columns `[data-iox-column="<word>"] { --iox-content-width: <literal>; every token reading it }` (award §0c)
|
|
17839
18090
|
* 3. reduced motion `@media (prefers-reduced-motion: reduce)`
|
|
17840
18091
|
* 4. reduced transparency `@media (prefers-reduced-transparency: reduce)`
|
|
17841
18092
|
* 5. dark — LAST `@media (prefers-color-scheme: dark)`
|
|
@@ -18504,6 +18755,46 @@ declare const OPENING_FOLLOWER_ROLE = "nav";
|
|
|
18504
18755
|
declare function pageOpeningScheme(pageSettings: Readonly<Record<string, unknown>> | null | undefined): ColorScheme | null;
|
|
18505
18756
|
/** The header that follows an opening of scheme `id` and names none of its own, inside `scope` (the builder's token scope). */
|
|
18506
18757
|
declare function openingFollowerSelector(id: string, scope?: string): string;
|
|
18758
|
+
/**
|
|
18759
|
+
* The page's CONTENT COLUMN (award plan §0c, AW-D33…AW-D41): every section, the header and the footer inset their words
|
|
18760
|
+
* by `space-inline`, which reads `content-width`. A page stores its own word (`pageSettings.column`, CW2 — absent = the
|
|
18761
|
+
* site's); the renderer puts the word in force on the element around the page AND its globals (the engine's `<body>`, in
|
|
18762
|
+
* the RAW SSR — T-CW5; the canvas's token scopes) as `data-iox-column`, and `compileTokenCss` re-declares `content-width`
|
|
18763
|
+
* (and every token reading it) there per word. Never `pageSettings.style.maxWidth` (an author's px, not a look's word).
|
|
18764
|
+
*/
|
|
18765
|
+
declare const COLUMN_ATTRIBUTE = "data-iox-column";
|
|
18766
|
+
/** The `pageSettings` key a page's own column word is stored under. */
|
|
18767
|
+
declare const COLUMN_SETTING = "column";
|
|
18768
|
+
/** The token a column word sets — the column in force, read by `space-inline`. */
|
|
18769
|
+
declare const CONTENT_WIDTH_TOKEN = "content-width";
|
|
18770
|
+
/** What `content-width` holds for Wide: the whole page, so the inset is the one gutter (`space-edge`). */
|
|
18771
|
+
declare const WIDE_CONTENT_WIDTH = "100%";
|
|
18772
|
+
type ColumnWord = keyof typeof SPEC_AXES.columns;
|
|
18773
|
+
/** A known column word, else null — an unknown value never reaches an attribute. */
|
|
18774
|
+
declare function columnWordOf(value: unknown): ColumnWord | null;
|
|
18775
|
+
/**
|
|
18776
|
+
* The literal `content-width` holds for a column word, read from the rows that hold the density's columns
|
|
18777
|
+
* (`column-contained` / `column-narrow`) — a literal, never a `var()` chain (DS1.1); Wide is `100%`. Null for an
|
|
18778
|
+
* unknown word or a column row the set lacks. `buildFlavorTokens` and the per-word blocks of `compileTokenCss` use it.
|
|
18779
|
+
*/
|
|
18780
|
+
declare function contentWidthOf(column: unknown, rowValue: (name: string) => string | undefined): string | null;
|
|
18781
|
+
/** The selector a column word's block is declared on, inside `scope` (the builder's token scope — the attribute sits on
|
|
18782
|
+
* the scope element itself) or anywhere (the engine's `<body>`). */
|
|
18783
|
+
declare function columnSelector(word: string, scope?: string): string;
|
|
18784
|
+
/**
|
|
18785
|
+
* The SITE's column word, read from the token rows the renderer already holds: the word whose literal `content-width`
|
|
18786
|
+
* holds (`100%` = wide, else the `column-*` row it equals). Null when the rows hold no `content-width` (a studio not yet
|
|
18787
|
+
* topped up) or a width the author typed — then no word is claimed and `content-width` stays as declared.
|
|
18788
|
+
*/
|
|
18789
|
+
declare function siteColumnOf(tokens: ReadonlyArray<{
|
|
18790
|
+
name?: string;
|
|
18791
|
+
value?: unknown;
|
|
18792
|
+
}> | null | undefined): ColumnWord | null;
|
|
18793
|
+
/** The column word in force on a page: its own (`pageSettings.column`), else the site's (from its token rows), else null. */
|
|
18794
|
+
declare function pageColumn(pageSettings: Readonly<Record<string, unknown>> | null | undefined, tokens?: ReadonlyArray<{
|
|
18795
|
+
name?: string;
|
|
18796
|
+
value?: unknown;
|
|
18797
|
+
}> | null): ColumnWord | null;
|
|
18507
18798
|
/** `iox-role-<role>` for a well-formed composite role, else null. */
|
|
18508
18799
|
declare function roleClass(role: unknown): string | null;
|
|
18509
18800
|
/** The node shapes this module reads: a serialized node (`props`, `styleProps`) or a builder node (`traits[]`, `styleTraits`). */
|
|
@@ -18677,9 +18968,16 @@ type WritableNode = {
|
|
|
18677
18968
|
/** Write a section's edge — THE one writer (Bindings ▸ Section edge, "every section", the composer). False when
|
|
18678
18969
|
* nothing changed: an unknown edge, the edge it holds, or a builder node with no such trait. */
|
|
18679
18970
|
declare function setSectionEdge(node: WritableNode | null | undefined, edge: string): boolean;
|
|
18680
|
-
/**
|
|
18681
|
-
*
|
|
18971
|
+
/**
|
|
18972
|
+
* The style props a card shape writes (the page's inset either side, the card's radius — token references, so a
|
|
18973
|
+
* re-theme reaches it), and what Full width puts back. The inset is `space-inline` (award §0c.8, AW-D41): the card's
|
|
18974
|
+
* ground IS the content column — its edges on the header's words at every width, the one gutter in Wide — and its words
|
|
18975
|
+
* pad inside it by `section-pad`, whose `%` is then the card's own width. The margin's `%` resolves against the page.
|
|
18976
|
+
*/
|
|
18682
18977
|
declare const SECTION_CARD_STYLES: Readonly<Record<string, string>>;
|
|
18978
|
+
/** What a card shape wrote before the content column (AW6 → CW1): a card saved then still reads as the card's own
|
|
18979
|
+
* margin, so Full width takes it back like today's. */
|
|
18980
|
+
declare const SECTION_CARD_SUPERSEDED: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
18683
18981
|
declare const SECTION_FULL_STYLES: Readonly<Record<string, string>>;
|
|
18684
18982
|
/**
|
|
18685
18983
|
* What choosing a shape writes, judged against what the section wears now: the trait, and the style props — Card
|
|
@@ -19646,6 +19944,8 @@ declare enum DesignConfigKey {
|
|
|
19646
19944
|
PillButtons = "pillButtons",
|
|
19647
19945
|
Mode = "mode",
|
|
19648
19946
|
Tint = "tint",
|
|
19947
|
+
/** Award §0c: the site's content column (a `ColumnId`); absent on a row stored before it = wide (AW-D39). */
|
|
19948
|
+
Column = "column",
|
|
19649
19949
|
Fonts = "fonts",
|
|
19650
19950
|
Scroll = "scroll",
|
|
19651
19951
|
Animate = "animate",
|
|
@@ -19689,14 +19989,17 @@ declare function packDesignChoices(flavorId: string): DesignChoices;
|
|
|
19689
19989
|
/**
|
|
19690
19990
|
* What picking a pack card means, given the design the studio wears: the applied pack → the applied
|
|
19691
19991
|
* choices; another pack → that pack's defaults, CARRYING the author's chosen fonts (§5b — a font the
|
|
19692
|
-
* author chose survives a pack switch unless the author changes it)
|
|
19693
|
-
* how it scrolls and changes page is not a pack's, so a Look pick never resets it)
|
|
19992
|
+
* author chose survives a pack switch unless the author changes it), the site's motion (rev 3.1 MO-D3 —
|
|
19993
|
+
* how it scrolls and changes page is not a pack's, so a Look pick never resets it) and the site's content column
|
|
19994
|
+
* (award §0c, AW-D39 — a width is the site's, not a style's). Both picker homes call this.
|
|
19694
19995
|
*/
|
|
19695
19996
|
declare function choicesForPack(flavorId: string, applied: DesignChoices | null | undefined): DesignChoices;
|
|
19696
19997
|
/**
|
|
19697
19998
|
* A stored `settings.design` config → the resolved design. No row (or no config) → Crisp's defaults. A
|
|
19698
19999
|
* row stored before DS9 has no `tint`: it was applied with the look's own palette, so it reads `neutral`
|
|
19699
|
-
* (never the pack's new default — the studio's rows hold the palette, and nothing may repaint them unasked).
|
|
20000
|
+
* (never the pack's new default — the studio's rows hold the palette, and nothing may repaint them unasked). Likewise a
|
|
20001
|
+
* row stored before the content column has no `column`: its pages were built wide, so it reads `wide` (AW-D39, T-CW1 —
|
|
20002
|
+
* the pack's `contained` would narrow every built studio on release).
|
|
19700
20003
|
*/
|
|
19701
20004
|
declare function readDesignConfig(config: ReadonlyArray<DesignConfigEntry> | null | undefined, hasRow?: boolean): StoredDesign;
|
|
19702
20005
|
/** The colour mode a stored config compiles in — what the public page read hands the engine. */
|
|
@@ -19713,6 +20016,14 @@ declare function designTokenRows(choices: DesignChoices): DesignTokenRow[];
|
|
|
19713
20016
|
/** What a design wrote BEFORE DS9 (the look's own palette, the rows DS9 changed at their old values, the
|
|
19714
20017
|
* accent derived against `bg` alone) — empty for an unknown pack. */
|
|
19715
20018
|
declare function legacyDesignTokenRows(choices: DesignChoices): DesignTokenRow[];
|
|
20019
|
+
/**
|
|
20020
|
+
* Token values the contract SUPERSEDED for rows a v2 pack seeds — a machine row still holding one is untouched, so an
|
|
20021
|
+
* Apply rewrites it and the builder load heals it (`designTokenRepairs`), the way DS9's contrast fixes reached studios:
|
|
20022
|
+
* - guidance `56d6264` (award §0c CW0, AW-D41): `section-pad` and `nav-pad` read `space-inline` — before, every pattern
|
|
20023
|
+
* section and the header padded by the bare `space-gutter`, and Glass's pill computed its own `10px 10px 10px 22px`.
|
|
20024
|
+
* A spec pins every entry as no flavor's current value. Add one with every contract change of a seeded token's value.
|
|
20025
|
+
*/
|
|
20026
|
+
declare const SUPERSEDED_TOKEN_VALUES: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
19716
20027
|
/**
|
|
19717
20028
|
* What the PREVIOUS design wrote, as a baseline keyed by the row's own stamp: a row Swiss stamped is
|
|
19718
20029
|
* judged against what Swiss wrote, every other row against `buildFlavorTokens` of the stored choices
|
|
@@ -19785,7 +20096,9 @@ declare function missingDesignRows(existing: ReadonlyArray<{
|
|
|
19785
20096
|
* `accent-text` that reads on every ground — reach a studio that applied its look before them;
|
|
19786
20097
|
* - stamped by the current pack and still holding a font stack WITHOUT the Hebrew partner the pairing now
|
|
19787
20098
|
* names second (H1-2): a Hebrew page of a studio seeded before it would draw its headings in the browser's
|
|
19788
|
-
* default face for good
|
|
20099
|
+
* default face for good;
|
|
20100
|
+
* - stamped by a v2 pack and still holding a value the contract superseded (`SUPERSEDED_TOKEN_VALUES`): the content
|
|
20101
|
+
* column's one edge (award §0c, AW-D41) reaches a studio seeded before it.
|
|
19789
20102
|
* No author edit produces any of these shapes — the Tokens panel edited the light value only, and since DS8 an
|
|
19790
20103
|
* edit makes the row `source: user`, which this never touches.
|
|
19791
20104
|
*/
|
|
@@ -20085,5 +20398,5 @@ declare const isScrubId: (v: unknown) => v is `${ScrubId}`;
|
|
|
20085
20398
|
/** The look's scrub as stored: a known word, else never (a row stored before AW10 reads never). */
|
|
20086
20399
|
declare function scrubOfChoices(choices: Pick<DesignChoices, 'scrub'> | null | undefined): ScrubId;
|
|
20087
20400
|
|
|
20088
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BUTTON_VARIANT_TO_STYLE, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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_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_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, 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, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, 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, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, setColorScheme, setSectionEdge, setSectionShape, 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 };
|
|
20089
|
-
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
20401
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BUTTON_VARIANT_TO_STYLE, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FieldClass, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, 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, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_ROLE, OPENING_SETTING, OwnedTraitLink, PALETTE_PRESETS, 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_WIDTH, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentWidthOf, cssString, 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, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerInkOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, 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, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, 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, 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 };
|
|
20402
|
+
export type { AccentBackgrounds, AccentGround, AccentTokenName, AdoptContext, AdoptReport, AdoptableNode, AdoptedNode, AnimateId, ApplyElementStyleResult, ArriveId, BetweenId, ButtonBlockLinkProps, ColourCheck, ColourFlavor, ColumnId, ContrastFinding, DensityId, DesignApplyOptions, DesignChoices, DesignClassSource, DesignConfigEntry, DesignMode, DesignMotion, DesignRevertSnapshot, DesignTokenGroup, DesignTokenLike, DesignTokenRow, DesignTokenTier, DesignTokenType, DirectionSource, ElementStyle, ElementStyleTarget, ElementStyleTraitLike, FlavorColours, FlavorPack, FlavorPackV2, FlavorPalette, FlavorRevertPlan, FlavorRevertSnapshot, FlavorRevertWrite, FlavorSeedOptions, FlavorSeedPlan, FlavorSpecToken, FlavorTintConfig, FlavorTokenDef, FontDescriptor, FontFamilyGroup, FontFamilyRemoval, FontFamilyToken, FontFormat, FontPair, FontRoleToken, FontStyle, FontWeight, FontWeightRange, FontsForTokensOptions, GroundBand, GroundInks, InkedGround, KeptEdit, LeaveId, LinearSpring, MenuLook, MenuTraitReader, MissingFontRole, MoodId, MotionId, MotionLanguage, MotionWordKind, MoveId, NodeLinkProps, OkLab, OwnedTrait, OwnedTraitStatus, PalettePreset, PreloaderExitMotion, PreloaderInput, PreloaderPlan, PresetMode, PresetMotionLanguage, ResolvedMode, Rgb, Rgba, SchemeId, ScriptId, ScrollId, SectionEdgeSource, SeedBaseline, SeedExpectation, ShapeId, SkippedNode, StaggerSpec, StoredDesign, StoredDesignTokenRow, StylePreset, SupersededStyleValue, SwissMigration, SwitchElementStyleResult, ThemeColorOptions, ThemeColors, TimedAction, TintId, TintLevel, TokenCssBlocks, TokenCssOptions, TypeFace };
|
|
@@ -2203,7 +2203,8 @@ function applyLookEdits(current, edits) {
|
|
|
2203
2203
|
}
|
|
2204
2204
|
else {
|
|
2205
2205
|
const { fonts: _drop, ...rest } = look;
|
|
2206
|
-
|
|
2206
|
+
// The site's content column is the site's too (award §0c, AW-D39): a style never narrows or widens it.
|
|
2207
|
+
next = { ...rest, ...Object.fromEntries(SITE_MOTION.map(k => [k, before[k]])), column: before.column };
|
|
2207
2208
|
}
|
|
2208
2209
|
}
|
|
2209
2210
|
}
|