@vectoriox/iox-ui 5.198.0 → 5.200.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/actions-core/index.d.ts +7 -1
- package/data-core/index.d.ts +11 -3
- package/design-core/index.d.ts +479 -52
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +704 -55
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +16659 -15146
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +653 -70
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +883 -235
- package/harness-core/index.d.ts +372 -9
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +6 -0
- package/src/data-core/placeholder-rows.ts +29 -4
- package/src/design-core/brand-neutrals.ts +125 -3
- package/src/design-core/colour-words.ts +48 -0
- package/src/design-core/design-settings.ts +24 -5
- package/src/design-core/design-token.model.ts +8 -0
- package/src/design-core/flavor-fixtures.generated.ts +272 -2
- package/src/design-core/flavor-spec.generated.ts +310 -40
- package/src/design-core/flavor-tokens.ts +5 -1
- package/src/design-core/menu-look.ts +23 -0
- package/src/design-core/node-classes.ts +39 -0
- package/src/design-core/public-api.ts +2 -0
- package/src/design-core/signature-move.ts +107 -0
- package/src/design-core/style-presets.ts +9 -3
- package/src/design-core/token-css.ts +59 -1
- package/src/forms-core/form-presets.ts +5 -2
- package/src/generation-core/body-mix.ts +41 -0
- package/src/generation-core/check-free.ts +17 -9
- package/src/generation-core/check-layout.ts +17 -7
- package/src/generation-core/colour-mix.ts +53 -3
- package/src/generation-core/compose-free.ts +7 -2
- package/src/generation-core/compose-site.ts +298 -78
- package/src/generation-core/composition.ts +320 -0
- package/src/generation-core/footer-mix.ts +202 -16
- package/src/generation-core/footer-sign-up.ts +51 -0
- package/src/generation-core/free-opening.ts +13 -2
- package/src/generation-core/free-wire.ts +8 -0
- package/src/generation-core/header-edit.ts +15 -0
- package/src/generation-core/header-mix.ts +31 -2
- package/src/generation-core/legal.ts +24 -0
- package/src/generation-core/menu-shelves.ts +138 -0
- package/src/generation-core/nav-shape.ts +138 -15
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/opening-edit.ts +17 -3
- package/src/generation-core/opening-mix.ts +69 -5
- package/src/generation-core/patterns.ts +7 -0
- package/src/generation-core/plan-wire.ts +23 -5
- package/src/generation-core/public-api.ts +3 -0
- package/src/generation-core/site-build-run.ts +11 -0
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +472 -166
- package/src/generation-core/type-led.ts +4 -2
- package/src/generation-core/validate-site-plan.ts +4 -1
- package/src/harness-core/business-types.ts +31 -0
- package/src/harness-core/harness-spec.generated.ts +564 -56
- package/src/harness-core/motion.ts +19 -2
- package/src/harness-core/popup-stance.ts +56 -3
- package/src/harness-core/run-compose-context.ts +32 -6
- package/src/harness-core/starting-design.ts +15 -7
- package/styles/iox-design.css +35 -0
- package/styles/iox-forms.css +53 -0
|
@@ -689,29 +689,54 @@ const SPEC_TIERS = {
|
|
|
689
689
|
"default": "var(--iox-button-radius)"
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
|
-
"name": "
|
|
692
|
+
"name": "action-bg",
|
|
693
693
|
"type": "color",
|
|
694
694
|
"default": "var(--iox-accent)"
|
|
695
695
|
},
|
|
696
696
|
{
|
|
697
|
-
"name": "
|
|
697
|
+
"name": "action-ink",
|
|
698
698
|
"type": "color",
|
|
699
699
|
"default": "var(--iox-accent-ink)"
|
|
700
700
|
},
|
|
701
|
+
{
|
|
702
|
+
"name": "action-hover",
|
|
703
|
+
"type": "color",
|
|
704
|
+
"default": "var(--iox-accent-hover)"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "deep-bg",
|
|
708
|
+
"type": "color",
|
|
709
|
+
"default": "var(--iox-inverse-bg)"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "deep-ink",
|
|
713
|
+
"type": "color",
|
|
714
|
+
"default": "var(--iox-inverse-text)"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "button-primary-bg",
|
|
718
|
+
"type": "color",
|
|
719
|
+
"default": "var(--iox-action-bg)"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "button-primary-ink",
|
|
723
|
+
"type": "color",
|
|
724
|
+
"default": "var(--iox-action-ink)"
|
|
725
|
+
},
|
|
701
726
|
{
|
|
702
727
|
"name": "button-primary-border",
|
|
703
728
|
"type": "color",
|
|
704
|
-
"default": "var(--iox-
|
|
729
|
+
"default": "var(--iox-action-bg)"
|
|
705
730
|
},
|
|
706
731
|
{
|
|
707
732
|
"name": "button-primary-hover-bg",
|
|
708
733
|
"type": "color",
|
|
709
|
-
"default": "var(--iox-
|
|
734
|
+
"default": "var(--iox-action-hover)"
|
|
710
735
|
},
|
|
711
736
|
{
|
|
712
737
|
"name": "button-primary-hover-ink",
|
|
713
738
|
"type": "color",
|
|
714
|
-
"default": "var(--iox-
|
|
739
|
+
"default": "var(--iox-action-ink)"
|
|
715
740
|
},
|
|
716
741
|
{
|
|
717
742
|
"name": "button-secondary-bg",
|
|
@@ -1756,6 +1781,11 @@ const SPEC_TOKEN_TYPES = [
|
|
|
1756
1781
|
"other"
|
|
1757
1782
|
];
|
|
1758
1783
|
const SPEC_AXES = {
|
|
1784
|
+
"sectionPhone": {
|
|
1785
|
+
"maxWidth": 767,
|
|
1786
|
+
"toward": 64,
|
|
1787
|
+
"share": 0.5
|
|
1788
|
+
},
|
|
1759
1789
|
"shapes": {
|
|
1760
1790
|
"sharp": {
|
|
1761
1791
|
"label": "Sharp",
|
|
@@ -1801,7 +1831,7 @@ const SPEC_AXES = {
|
|
|
1801
1831
|
"densities": {
|
|
1802
1832
|
"compact": {
|
|
1803
1833
|
"label": "Compact",
|
|
1804
|
-
"space-section": "
|
|
1834
|
+
"space-section": "48px",
|
|
1805
1835
|
"space-gutter": "20px",
|
|
1806
1836
|
"space-gap": "16px",
|
|
1807
1837
|
"space-pad": "20px",
|
|
@@ -1810,7 +1840,7 @@ const SPEC_AXES = {
|
|
|
1810
1840
|
},
|
|
1811
1841
|
"regular": {
|
|
1812
1842
|
"label": "Regular",
|
|
1813
|
-
"space-section": "
|
|
1843
|
+
"space-section": "72px",
|
|
1814
1844
|
"space-gutter": "24px",
|
|
1815
1845
|
"space-gap": "24px",
|
|
1816
1846
|
"space-pad": "24px",
|
|
@@ -1819,7 +1849,7 @@ const SPEC_AXES = {
|
|
|
1819
1849
|
},
|
|
1820
1850
|
"airy": {
|
|
1821
1851
|
"label": "Airy",
|
|
1822
|
-
"space-section": "
|
|
1852
|
+
"space-section": "112px",
|
|
1823
1853
|
"space-gutter": "32px",
|
|
1824
1854
|
"space-gap": "32px",
|
|
1825
1855
|
"space-pad": "32px",
|
|
@@ -2014,6 +2044,26 @@ const SPEC_AXES = {
|
|
|
2014
2044
|
}
|
|
2015
2045
|
}
|
|
2016
2046
|
},
|
|
2047
|
+
"actionPaints": {
|
|
2048
|
+
"accent": {
|
|
2049
|
+
"label": "Brand colour",
|
|
2050
|
+
"action-bg": "var(--iox-accent)",
|
|
2051
|
+
"action-ink": "var(--iox-accent-ink)",
|
|
2052
|
+
"action-hover": "var(--iox-accent-hover)"
|
|
2053
|
+
},
|
|
2054
|
+
"ink": {
|
|
2055
|
+
"label": "Ink",
|
|
2056
|
+
"action-bg": "var(--iox-text)",
|
|
2057
|
+
"action-ink": "var(--iox-bg)",
|
|
2058
|
+
"action-hover": "var(--iox-text)"
|
|
2059
|
+
},
|
|
2060
|
+
"deep": {
|
|
2061
|
+
"label": "Deep",
|
|
2062
|
+
"action-bg": "var(--iox-deep-bg)",
|
|
2063
|
+
"action-ink": "var(--iox-deep-ink)",
|
|
2064
|
+
"action-hover": "color-mix(in srgb, var(--iox-deep-bg) 86%, var(--iox-deep-ink))"
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2017
2067
|
"columns": {
|
|
2018
2068
|
"wide": {
|
|
2019
2069
|
"label": "Wide",
|
|
@@ -2664,10 +2714,14 @@ const SPEC_MOTION_LANGUAGE = {
|
|
|
2664
2714
|
},
|
|
2665
2715
|
"preloaderCapMs": 1500,
|
|
2666
2716
|
"preloaderLevels": [
|
|
2717
|
+
"subtle",
|
|
2718
|
+
"standard",
|
|
2667
2719
|
"lively",
|
|
2668
2720
|
"expressive"
|
|
2669
2721
|
],
|
|
2670
2722
|
"scrubLevels": [
|
|
2723
|
+
"subtle",
|
|
2724
|
+
"standard",
|
|
2671
2725
|
"lively",
|
|
2672
2726
|
"expressive"
|
|
2673
2727
|
],
|
|
@@ -4078,7 +4132,9 @@ const SPEC_SCHEMES = {
|
|
|
4078
4132
|
"success": "{{~success}}",
|
|
4079
4133
|
"success-bg": "{{~success-bg}}",
|
|
4080
4134
|
"warning": "{{~warning}}",
|
|
4081
|
-
"warning-bg": "{{~warning-bg}}"
|
|
4135
|
+
"warning-bg": "{{~warning-bg}}",
|
|
4136
|
+
"deep-bg": "{{bg}}",
|
|
4137
|
+
"deep-ink": "{{text}}"
|
|
4082
4138
|
}
|
|
4083
4139
|
},
|
|
4084
4140
|
"accent": {
|
|
@@ -4171,7 +4227,11 @@ const SPEC_A11Y = {
|
|
|
4171
4227
|
"nav-glass-backdrop": "none",
|
|
4172
4228
|
"dialog-backdrop": "none",
|
|
4173
4229
|
"tabbar-backdrop": "none",
|
|
4174
|
-
"segmented-track-backdrop": "none"
|
|
4230
|
+
"segmented-track-backdrop": "none",
|
|
4231
|
+
"page-bg": "var(--iox-bg)"
|
|
4232
|
+
},
|
|
4233
|
+
"moreContrast": {
|
|
4234
|
+
"page-bg": "var(--iox-bg)"
|
|
4175
4235
|
}
|
|
4176
4236
|
};
|
|
4177
4237
|
const SPEC_ELEMENT_STYLES = [
|
|
@@ -6950,7 +7010,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
6950
7010
|
"tier": "semantic",
|
|
6951
7011
|
"type": "spacing",
|
|
6952
7012
|
"group": "space",
|
|
6953
|
-
"value": "
|
|
7013
|
+
"value": "72px"
|
|
6954
7014
|
},
|
|
6955
7015
|
{
|
|
6956
7016
|
"name": "space-gutter",
|
|
@@ -7275,39 +7335,74 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
7275
7335
|
"value": "var(--iox-button-radius)"
|
|
7276
7336
|
},
|
|
7277
7337
|
{
|
|
7278
|
-
"name": "
|
|
7338
|
+
"name": "action-bg",
|
|
7279
7339
|
"tier": "component",
|
|
7280
7340
|
"type": "color",
|
|
7281
7341
|
"group": "components",
|
|
7282
7342
|
"value": "var(--iox-accent)"
|
|
7283
7343
|
},
|
|
7284
7344
|
{
|
|
7285
|
-
"name": "
|
|
7345
|
+
"name": "action-ink",
|
|
7286
7346
|
"tier": "component",
|
|
7287
7347
|
"type": "color",
|
|
7288
7348
|
"group": "components",
|
|
7289
7349
|
"value": "var(--iox-accent-ink)"
|
|
7290
7350
|
},
|
|
7351
|
+
{
|
|
7352
|
+
"name": "action-hover",
|
|
7353
|
+
"tier": "component",
|
|
7354
|
+
"type": "color",
|
|
7355
|
+
"group": "components",
|
|
7356
|
+
"value": "var(--iox-accent-hover)"
|
|
7357
|
+
},
|
|
7358
|
+
{
|
|
7359
|
+
"name": "deep-bg",
|
|
7360
|
+
"tier": "component",
|
|
7361
|
+
"type": "color",
|
|
7362
|
+
"group": "components",
|
|
7363
|
+
"value": "var(--iox-inverse-bg)"
|
|
7364
|
+
},
|
|
7365
|
+
{
|
|
7366
|
+
"name": "deep-ink",
|
|
7367
|
+
"tier": "component",
|
|
7368
|
+
"type": "color",
|
|
7369
|
+
"group": "components",
|
|
7370
|
+
"value": "var(--iox-inverse-text)"
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"name": "button-primary-bg",
|
|
7374
|
+
"tier": "component",
|
|
7375
|
+
"type": "color",
|
|
7376
|
+
"group": "components",
|
|
7377
|
+
"value": "var(--iox-action-bg)"
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"name": "button-primary-ink",
|
|
7381
|
+
"tier": "component",
|
|
7382
|
+
"type": "color",
|
|
7383
|
+
"group": "components",
|
|
7384
|
+
"value": "var(--iox-action-ink)"
|
|
7385
|
+
},
|
|
7291
7386
|
{
|
|
7292
7387
|
"name": "button-primary-border",
|
|
7293
7388
|
"tier": "component",
|
|
7294
7389
|
"type": "color",
|
|
7295
7390
|
"group": "components",
|
|
7296
|
-
"value": "var(--iox-
|
|
7391
|
+
"value": "var(--iox-action-bg)"
|
|
7297
7392
|
},
|
|
7298
7393
|
{
|
|
7299
7394
|
"name": "button-primary-hover-bg",
|
|
7300
7395
|
"tier": "component",
|
|
7301
7396
|
"type": "color",
|
|
7302
7397
|
"group": "components",
|
|
7303
|
-
"value": "var(--iox-
|
|
7398
|
+
"value": "var(--iox-action-hover)"
|
|
7304
7399
|
},
|
|
7305
7400
|
{
|
|
7306
7401
|
"name": "button-primary-hover-ink",
|
|
7307
7402
|
"tier": "component",
|
|
7308
7403
|
"type": "color",
|
|
7309
7404
|
"group": "components",
|
|
7310
|
-
"value": "var(--iox-
|
|
7405
|
+
"value": "var(--iox-action-ink)"
|
|
7311
7406
|
},
|
|
7312
7407
|
{
|
|
7313
7408
|
"name": "button-secondary-bg",
|
|
@@ -9431,7 +9526,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
9431
9526
|
"tier": "semantic",
|
|
9432
9527
|
"type": "spacing",
|
|
9433
9528
|
"group": "space",
|
|
9434
|
-
"value": "
|
|
9529
|
+
"value": "112px"
|
|
9435
9530
|
},
|
|
9436
9531
|
{
|
|
9437
9532
|
"name": "space-gutter",
|
|
@@ -9758,6 +9853,41 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
9758
9853
|
"group": "components",
|
|
9759
9854
|
"value": "var(--iox-button-radius)"
|
|
9760
9855
|
},
|
|
9856
|
+
{
|
|
9857
|
+
"name": "action-bg",
|
|
9858
|
+
"tier": "component",
|
|
9859
|
+
"type": "color",
|
|
9860
|
+
"group": "components",
|
|
9861
|
+
"value": "var(--iox-accent)"
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
"name": "action-ink",
|
|
9865
|
+
"tier": "component",
|
|
9866
|
+
"type": "color",
|
|
9867
|
+
"group": "components",
|
|
9868
|
+
"value": "var(--iox-accent-ink)"
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
"name": "action-hover",
|
|
9872
|
+
"tier": "component",
|
|
9873
|
+
"type": "color",
|
|
9874
|
+
"group": "components",
|
|
9875
|
+
"value": "var(--iox-accent-hover)"
|
|
9876
|
+
},
|
|
9877
|
+
{
|
|
9878
|
+
"name": "deep-bg",
|
|
9879
|
+
"tier": "component",
|
|
9880
|
+
"type": "color",
|
|
9881
|
+
"group": "components",
|
|
9882
|
+
"value": "var(--iox-inverse-bg)"
|
|
9883
|
+
},
|
|
9884
|
+
{
|
|
9885
|
+
"name": "deep-ink",
|
|
9886
|
+
"tier": "component",
|
|
9887
|
+
"type": "color",
|
|
9888
|
+
"group": "components",
|
|
9889
|
+
"value": "var(--iox-inverse-text)"
|
|
9890
|
+
},
|
|
9761
9891
|
{
|
|
9762
9892
|
"name": "button-primary-bg",
|
|
9763
9893
|
"tier": "component",
|
|
@@ -11945,7 +12075,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
11945
12075
|
"tier": "semantic",
|
|
11946
12076
|
"type": "spacing",
|
|
11947
12077
|
"group": "space",
|
|
11948
|
-
"value": "
|
|
12078
|
+
"value": "72px"
|
|
11949
12079
|
},
|
|
11950
12080
|
{
|
|
11951
12081
|
"name": "space-gutter",
|
|
@@ -12272,39 +12402,74 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
12272
12402
|
"value": "var(--iox-button-radius)"
|
|
12273
12403
|
},
|
|
12274
12404
|
{
|
|
12275
|
-
"name": "
|
|
12405
|
+
"name": "action-bg",
|
|
12276
12406
|
"tier": "component",
|
|
12277
12407
|
"type": "color",
|
|
12278
12408
|
"group": "components",
|
|
12279
12409
|
"value": "var(--iox-accent)"
|
|
12280
12410
|
},
|
|
12281
12411
|
{
|
|
12282
|
-
"name": "
|
|
12412
|
+
"name": "action-ink",
|
|
12283
12413
|
"tier": "component",
|
|
12284
12414
|
"type": "color",
|
|
12285
12415
|
"group": "components",
|
|
12286
12416
|
"value": "var(--iox-accent-ink)"
|
|
12287
12417
|
},
|
|
12418
|
+
{
|
|
12419
|
+
"name": "action-hover",
|
|
12420
|
+
"tier": "component",
|
|
12421
|
+
"type": "color",
|
|
12422
|
+
"group": "components",
|
|
12423
|
+
"value": "var(--iox-accent-hover)"
|
|
12424
|
+
},
|
|
12425
|
+
{
|
|
12426
|
+
"name": "deep-bg",
|
|
12427
|
+
"tier": "component",
|
|
12428
|
+
"type": "color",
|
|
12429
|
+
"group": "components",
|
|
12430
|
+
"value": "var(--iox-inverse-bg)"
|
|
12431
|
+
},
|
|
12432
|
+
{
|
|
12433
|
+
"name": "deep-ink",
|
|
12434
|
+
"tier": "component",
|
|
12435
|
+
"type": "color",
|
|
12436
|
+
"group": "components",
|
|
12437
|
+
"value": "var(--iox-inverse-text)"
|
|
12438
|
+
},
|
|
12439
|
+
{
|
|
12440
|
+
"name": "button-primary-bg",
|
|
12441
|
+
"tier": "component",
|
|
12442
|
+
"type": "color",
|
|
12443
|
+
"group": "components",
|
|
12444
|
+
"value": "var(--iox-action-bg)"
|
|
12445
|
+
},
|
|
12446
|
+
{
|
|
12447
|
+
"name": "button-primary-ink",
|
|
12448
|
+
"tier": "component",
|
|
12449
|
+
"type": "color",
|
|
12450
|
+
"group": "components",
|
|
12451
|
+
"value": "var(--iox-action-ink)"
|
|
12452
|
+
},
|
|
12288
12453
|
{
|
|
12289
12454
|
"name": "button-primary-border",
|
|
12290
12455
|
"tier": "component",
|
|
12291
12456
|
"type": "color",
|
|
12292
12457
|
"group": "components",
|
|
12293
|
-
"value": "var(--iox-
|
|
12458
|
+
"value": "var(--iox-action-bg)"
|
|
12294
12459
|
},
|
|
12295
12460
|
{
|
|
12296
12461
|
"name": "button-primary-hover-bg",
|
|
12297
12462
|
"tier": "component",
|
|
12298
12463
|
"type": "color",
|
|
12299
12464
|
"group": "components",
|
|
12300
|
-
"value": "var(--iox-
|
|
12465
|
+
"value": "var(--iox-action-hover)"
|
|
12301
12466
|
},
|
|
12302
12467
|
{
|
|
12303
12468
|
"name": "button-primary-hover-ink",
|
|
12304
12469
|
"tier": "component",
|
|
12305
12470
|
"type": "color",
|
|
12306
12471
|
"group": "components",
|
|
12307
|
-
"value": "var(--iox-
|
|
12472
|
+
"value": "var(--iox-action-ink)"
|
|
12308
12473
|
},
|
|
12309
12474
|
{
|
|
12310
12475
|
"name": "button-secondary-bg",
|
|
@@ -14455,7 +14620,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
14455
14620
|
"tier": "semantic",
|
|
14456
14621
|
"type": "spacing",
|
|
14457
14622
|
"group": "space",
|
|
14458
|
-
"value": "
|
|
14623
|
+
"value": "72px"
|
|
14459
14624
|
},
|
|
14460
14625
|
{
|
|
14461
14626
|
"name": "space-gutter",
|
|
@@ -14784,39 +14949,74 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
14784
14949
|
"value": "var(--iox-button-radius)"
|
|
14785
14950
|
},
|
|
14786
14951
|
{
|
|
14787
|
-
"name": "
|
|
14952
|
+
"name": "action-bg",
|
|
14788
14953
|
"tier": "component",
|
|
14789
14954
|
"type": "color",
|
|
14790
14955
|
"group": "components",
|
|
14791
14956
|
"value": "var(--iox-accent)"
|
|
14792
14957
|
},
|
|
14793
14958
|
{
|
|
14794
|
-
"name": "
|
|
14959
|
+
"name": "action-ink",
|
|
14795
14960
|
"tier": "component",
|
|
14796
14961
|
"type": "color",
|
|
14797
14962
|
"group": "components",
|
|
14798
14963
|
"value": "var(--iox-accent-ink)"
|
|
14799
14964
|
},
|
|
14965
|
+
{
|
|
14966
|
+
"name": "action-hover",
|
|
14967
|
+
"tier": "component",
|
|
14968
|
+
"type": "color",
|
|
14969
|
+
"group": "components",
|
|
14970
|
+
"value": "var(--iox-accent-hover)"
|
|
14971
|
+
},
|
|
14972
|
+
{
|
|
14973
|
+
"name": "deep-bg",
|
|
14974
|
+
"tier": "component",
|
|
14975
|
+
"type": "color",
|
|
14976
|
+
"group": "components",
|
|
14977
|
+
"value": "var(--iox-inverse-bg)"
|
|
14978
|
+
},
|
|
14979
|
+
{
|
|
14980
|
+
"name": "deep-ink",
|
|
14981
|
+
"tier": "component",
|
|
14982
|
+
"type": "color",
|
|
14983
|
+
"group": "components",
|
|
14984
|
+
"value": "var(--iox-inverse-text)"
|
|
14985
|
+
},
|
|
14986
|
+
{
|
|
14987
|
+
"name": "button-primary-bg",
|
|
14988
|
+
"tier": "component",
|
|
14989
|
+
"type": "color",
|
|
14990
|
+
"group": "components",
|
|
14991
|
+
"value": "var(--iox-action-bg)"
|
|
14992
|
+
},
|
|
14993
|
+
{
|
|
14994
|
+
"name": "button-primary-ink",
|
|
14995
|
+
"tier": "component",
|
|
14996
|
+
"type": "color",
|
|
14997
|
+
"group": "components",
|
|
14998
|
+
"value": "var(--iox-action-ink)"
|
|
14999
|
+
},
|
|
14800
15000
|
{
|
|
14801
15001
|
"name": "button-primary-border",
|
|
14802
15002
|
"tier": "component",
|
|
14803
15003
|
"type": "color",
|
|
14804
15004
|
"group": "components",
|
|
14805
|
-
"value": "var(--iox-
|
|
15005
|
+
"value": "var(--iox-action-bg)"
|
|
14806
15006
|
},
|
|
14807
15007
|
{
|
|
14808
15008
|
"name": "button-primary-hover-bg",
|
|
14809
15009
|
"tier": "component",
|
|
14810
15010
|
"type": "color",
|
|
14811
15011
|
"group": "components",
|
|
14812
|
-
"value": "var(--iox-
|
|
15012
|
+
"value": "var(--iox-action-hover)"
|
|
14813
15013
|
},
|
|
14814
15014
|
{
|
|
14815
15015
|
"name": "button-primary-hover-ink",
|
|
14816
15016
|
"tier": "component",
|
|
14817
15017
|
"type": "color",
|
|
14818
15018
|
"group": "components",
|
|
14819
|
-
"value": "var(--iox-
|
|
15019
|
+
"value": "var(--iox-action-ink)"
|
|
14820
15020
|
},
|
|
14821
15021
|
{
|
|
14822
15022
|
"name": "button-secondary-bg",
|
|
@@ -16981,7 +17181,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
16981
17181
|
"tier": "semantic",
|
|
16982
17182
|
"type": "spacing",
|
|
16983
17183
|
"group": "space",
|
|
16984
|
-
"value": "
|
|
17184
|
+
"value": "72px"
|
|
16985
17185
|
},
|
|
16986
17186
|
{
|
|
16987
17187
|
"name": "space-gutter",
|
|
@@ -17309,39 +17509,74 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
17309
17509
|
"overridden": true
|
|
17310
17510
|
},
|
|
17311
17511
|
{
|
|
17312
|
-
"name": "
|
|
17512
|
+
"name": "action-bg",
|
|
17313
17513
|
"tier": "component",
|
|
17314
17514
|
"type": "color",
|
|
17315
17515
|
"group": "components",
|
|
17316
17516
|
"value": "var(--iox-accent)"
|
|
17317
17517
|
},
|
|
17318
17518
|
{
|
|
17319
|
-
"name": "
|
|
17519
|
+
"name": "action-ink",
|
|
17320
17520
|
"tier": "component",
|
|
17321
17521
|
"type": "color",
|
|
17322
17522
|
"group": "components",
|
|
17323
17523
|
"value": "var(--iox-accent-ink)"
|
|
17324
17524
|
},
|
|
17525
|
+
{
|
|
17526
|
+
"name": "action-hover",
|
|
17527
|
+
"tier": "component",
|
|
17528
|
+
"type": "color",
|
|
17529
|
+
"group": "components",
|
|
17530
|
+
"value": "var(--iox-accent-hover)"
|
|
17531
|
+
},
|
|
17532
|
+
{
|
|
17533
|
+
"name": "deep-bg",
|
|
17534
|
+
"tier": "component",
|
|
17535
|
+
"type": "color",
|
|
17536
|
+
"group": "components",
|
|
17537
|
+
"value": "var(--iox-inverse-bg)"
|
|
17538
|
+
},
|
|
17539
|
+
{
|
|
17540
|
+
"name": "deep-ink",
|
|
17541
|
+
"tier": "component",
|
|
17542
|
+
"type": "color",
|
|
17543
|
+
"group": "components",
|
|
17544
|
+
"value": "var(--iox-inverse-text)"
|
|
17545
|
+
},
|
|
17546
|
+
{
|
|
17547
|
+
"name": "button-primary-bg",
|
|
17548
|
+
"tier": "component",
|
|
17549
|
+
"type": "color",
|
|
17550
|
+
"group": "components",
|
|
17551
|
+
"value": "var(--iox-action-bg)"
|
|
17552
|
+
},
|
|
17553
|
+
{
|
|
17554
|
+
"name": "button-primary-ink",
|
|
17555
|
+
"tier": "component",
|
|
17556
|
+
"type": "color",
|
|
17557
|
+
"group": "components",
|
|
17558
|
+
"value": "var(--iox-action-ink)"
|
|
17559
|
+
},
|
|
17325
17560
|
{
|
|
17326
17561
|
"name": "button-primary-border",
|
|
17327
17562
|
"tier": "component",
|
|
17328
17563
|
"type": "color",
|
|
17329
17564
|
"group": "components",
|
|
17330
|
-
"value": "var(--iox-
|
|
17565
|
+
"value": "var(--iox-action-bg)"
|
|
17331
17566
|
},
|
|
17332
17567
|
{
|
|
17333
17568
|
"name": "button-primary-hover-bg",
|
|
17334
17569
|
"tier": "component",
|
|
17335
17570
|
"type": "color",
|
|
17336
17571
|
"group": "components",
|
|
17337
|
-
"value": "var(--iox-
|
|
17572
|
+
"value": "var(--iox-action-hover)"
|
|
17338
17573
|
},
|
|
17339
17574
|
{
|
|
17340
17575
|
"name": "button-primary-hover-ink",
|
|
17341
17576
|
"tier": "component",
|
|
17342
17577
|
"type": "color",
|
|
17343
17578
|
"group": "components",
|
|
17344
|
-
"value": "var(--iox-
|
|
17579
|
+
"value": "var(--iox-action-ink)"
|
|
17345
17580
|
},
|
|
17346
17581
|
{
|
|
17347
17582
|
"name": "button-secondary-bg",
|
|
@@ -19475,7 +19710,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
19475
19710
|
"tier": "semantic",
|
|
19476
19711
|
"type": "spacing",
|
|
19477
19712
|
"group": "space",
|
|
19478
|
-
"value": "
|
|
19713
|
+
"value": "48px"
|
|
19479
19714
|
},
|
|
19480
19715
|
{
|
|
19481
19716
|
"name": "space-gutter",
|
|
@@ -19808,19 +20043,54 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
19808
20043
|
"value": "var(--iox-button-radius)"
|
|
19809
20044
|
},
|
|
19810
20045
|
{
|
|
19811
|
-
"name": "
|
|
20046
|
+
"name": "action-bg",
|
|
19812
20047
|
"tier": "component",
|
|
19813
20048
|
"type": "color",
|
|
19814
20049
|
"group": "components",
|
|
19815
20050
|
"value": "var(--iox-accent)"
|
|
19816
20051
|
},
|
|
19817
20052
|
{
|
|
19818
|
-
"name": "
|
|
20053
|
+
"name": "action-ink",
|
|
19819
20054
|
"tier": "component",
|
|
19820
20055
|
"type": "color",
|
|
19821
20056
|
"group": "components",
|
|
19822
20057
|
"value": "var(--iox-accent-ink)"
|
|
19823
20058
|
},
|
|
20059
|
+
{
|
|
20060
|
+
"name": "action-hover",
|
|
20061
|
+
"tier": "component",
|
|
20062
|
+
"type": "color",
|
|
20063
|
+
"group": "components",
|
|
20064
|
+
"value": "var(--iox-accent-hover)"
|
|
20065
|
+
},
|
|
20066
|
+
{
|
|
20067
|
+
"name": "deep-bg",
|
|
20068
|
+
"tier": "component",
|
|
20069
|
+
"type": "color",
|
|
20070
|
+
"group": "components",
|
|
20071
|
+
"value": "var(--iox-inverse-bg)"
|
|
20072
|
+
},
|
|
20073
|
+
{
|
|
20074
|
+
"name": "deep-ink",
|
|
20075
|
+
"tier": "component",
|
|
20076
|
+
"type": "color",
|
|
20077
|
+
"group": "components",
|
|
20078
|
+
"value": "var(--iox-inverse-text)"
|
|
20079
|
+
},
|
|
20080
|
+
{
|
|
20081
|
+
"name": "button-primary-bg",
|
|
20082
|
+
"tier": "component",
|
|
20083
|
+
"type": "color",
|
|
20084
|
+
"group": "components",
|
|
20085
|
+
"value": "var(--iox-action-bg)"
|
|
20086
|
+
},
|
|
20087
|
+
{
|
|
20088
|
+
"name": "button-primary-ink",
|
|
20089
|
+
"tier": "component",
|
|
20090
|
+
"type": "color",
|
|
20091
|
+
"group": "components",
|
|
20092
|
+
"value": "var(--iox-action-ink)"
|
|
20093
|
+
},
|
|
19824
20094
|
{
|
|
19825
20095
|
"name": "button-primary-border",
|
|
19826
20096
|
"tier": "component",
|
|
@@ -19834,7 +20104,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
19834
20104
|
"tier": "component",
|
|
19835
20105
|
"type": "color",
|
|
19836
20106
|
"group": "components",
|
|
19837
|
-
"value": "var(--iox-
|
|
20107
|
+
"value": "var(--iox-action-bg)",
|
|
19838
20108
|
"overridden": true
|
|
19839
20109
|
},
|
|
19840
20110
|
{
|
|
@@ -19842,7 +20112,7 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
19842
20112
|
"tier": "component",
|
|
19843
20113
|
"type": "color",
|
|
19844
20114
|
"group": "components",
|
|
19845
|
-
"value": "var(--iox-
|
|
20115
|
+
"value": "var(--iox-action-ink)"
|
|
19846
20116
|
},
|
|
19847
20117
|
{
|
|
19848
20118
|
"name": "button-secondary-bg",
|
|
@@ -22752,6 +23022,47 @@ const ROLE_PREFIX = 'iox-role-';
|
|
|
22752
23022
|
/** A role is dot-separated lowercase words (`card`, `card.title`) — anything else never reaches a class. */
|
|
22753
23023
|
const ROLE_SHAPE = /^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)*$/;
|
|
22754
23024
|
const MARKER_PREFIX = `${ELEMENT_STYLE_MARKER_CLASS}-`;
|
|
23025
|
+
/** The scheme rows that name a scheme's GROUND (what its band and its boxes are painted). */
|
|
23026
|
+
const SCHEME_GROUND_ROWS = ['section-bg', 'bg', 'surface'];
|
|
23027
|
+
/** The row a scheme re-declares when it changes the ink. */
|
|
23028
|
+
const SCHEME_INK_ROW = 'text';
|
|
23029
|
+
/** The one token a scheme row or a style value names: `var(--iox-x)` or the contract's `{{x}}` / `{{~x}}`. */
|
|
23030
|
+
const ONE_GROUND_TOKEN = /^(?:var\(\s*--iox-([a-z0-9-]+)\s*\)|\{\{~?([a-z0-9-]+)\}\})$/;
|
|
23031
|
+
const groundToken = (v) => {
|
|
23032
|
+
const m = ONE_GROUND_TOKEN.exec(String(v ?? '').trim());
|
|
23033
|
+
return m ? (m[1] ?? m[2]) : null;
|
|
23034
|
+
};
|
|
23035
|
+
/**
|
|
23036
|
+
* Ground token → the scheme it is the ground of, read from the contract (iox-ui#186): only a scheme that RE-DECLARES the
|
|
23037
|
+
* ink (a dark band's words, buttons, lines) and whose ground tokens keep their meaning inside it — Inverse paints
|
|
23038
|
+
* `inverse-bg` and never re-declares it, so a node painted `var(--iox-inverse-bg)` that wears Inverse looks the same and
|
|
23039
|
+
* everything in it reads. Brand and Muted re-declare their own grounds (`accent`, `text-muted`), so a painted
|
|
23040
|
+
* `var(--iox-accent)` cannot wear Brand without changing colour: those are never inferred.
|
|
23041
|
+
*/
|
|
23042
|
+
const SCHEME_OF_GROUND = (() => {
|
|
23043
|
+
const out = new Map();
|
|
23044
|
+
for (const [id, { set }] of Object.entries(SPEC_SCHEMES)) {
|
|
23045
|
+
if (id === ColorScheme.Default || !(SCHEME_INK_ROW in set))
|
|
23046
|
+
continue;
|
|
23047
|
+
const grounds = SCHEME_GROUND_ROWS.map(row => groundToken(set[row])).filter((t) => !!t);
|
|
23048
|
+
if (!grounds.length || grounds.some(t => t in set))
|
|
23049
|
+
continue;
|
|
23050
|
+
for (const t of grounds)
|
|
23051
|
+
if (!out.has(t))
|
|
23052
|
+
out.set(t, id);
|
|
23053
|
+
}
|
|
23054
|
+
return out;
|
|
23055
|
+
})();
|
|
23056
|
+
/**
|
|
23057
|
+
* The scheme a node's painted ground IS (iox-ui#186): a Section or Container whose `backgroundColor` is exactly a
|
|
23058
|
+
* scheme's own ground token (`var(--iox-inverse-bg)`) — the free stamp gives it that scheme so every token the look
|
|
23059
|
+
* reads inside (a button's ink and outline, a line, a link) is re-declared for the ground, not only the words someone
|
|
23060
|
+
* coloured by hand. Null for any other value (a page token, a colour-mix, a ground a scheme re-declares).
|
|
23061
|
+
*/
|
|
23062
|
+
function schemeOfGround(backgroundColor) {
|
|
23063
|
+
const token = groundToken(backgroundColor);
|
|
23064
|
+
return token ? SCHEME_OF_GROUND.get(token) ?? null : null;
|
|
23065
|
+
}
|
|
22755
23066
|
/** `iox-scheme-<id>` for a known NON-default scheme, else null — an unknown id never reaches a class attribute. */
|
|
22756
23067
|
function colorSchemeClass(id) {
|
|
22757
23068
|
return typeof id === 'string' && id !== ColorScheme.Default && SCHEME_IDS$1.has(id) ? `${SCHEME_PREFIX}${id}` : null;
|
|
@@ -23077,6 +23388,9 @@ function legacyRuleTokenReferences(css) {
|
|
|
23077
23388
|
const REDUCED_MOTION_OVERRIDES = SPEC_A11Y.reducedMotion;
|
|
23078
23389
|
/** What `prefers-reduced-transparency: reduce` makes solid — the contract's `a11y.reducedTransparency`. */
|
|
23079
23390
|
const REDUCED_TRANSPARENCY_OVERRIDES = SPEC_A11Y.reducedTransparency;
|
|
23391
|
+
/** What `prefers-contrast: more` makes plain — the contract's `a11y.moreContrast` (colour v2 CV3: a painted page turns
|
|
23392
|
+
* into its flat ground). */
|
|
23393
|
+
const MORE_CONTRAST_OVERRIDES = SPEC_A11Y.moreContrast;
|
|
23080
23394
|
/**
|
|
23081
23395
|
* What a page in a CASELESS script (Hebrew, Arabic, Japanese… — locale-direction `CASELESS_LANGUAGES`) does with the
|
|
23082
23396
|
* look's case and tracking tokens (vectoriox/iox-ui#124): a pairing that sets buttons and labels `uppercase` with
|
|
@@ -23105,6 +23419,7 @@ const MEDIA_DARK = '(prefers-color-scheme: dark)';
|
|
|
23105
23419
|
const ACCESSIBILITY_MEDIA = [
|
|
23106
23420
|
{ query: '(prefers-reduced-motion: reduce)', overrides: REDUCED_MOTION_OVERRIDES },
|
|
23107
23421
|
{ query: '(prefers-reduced-transparency: reduce)', overrides: REDUCED_TRANSPARENCY_OVERRIDES },
|
|
23422
|
+
{ query: '(prefers-contrast: more)', overrides: MORE_CONTRAST_OVERRIDES },
|
|
23108
23423
|
];
|
|
23109
23424
|
const usable = (t) => !!t && typeof t.name === 'string' && t.name !== '' &&
|
|
23110
23425
|
typeof t.value === 'string' && t.value !== '';
|
|
@@ -23123,6 +23438,52 @@ const schemeSelector = (id, scope) => `${openingFollowerSelector(id, scope)}, ${
|
|
|
23123
23438
|
const nonDefaultSchemes = () => Object.entries(SPEC_SCHEMES)
|
|
23124
23439
|
.filter(([id]) => id !== DEFAULT_SCHEME$1)
|
|
23125
23440
|
.map(([id, scheme]) => [id, scheme.set]);
|
|
23441
|
+
const SECTION_PHONE = SPEC_AXES.sectionPhone;
|
|
23442
|
+
const SECTION_SPACE = 'space-section';
|
|
23443
|
+
const PX_VALUE = /^(\d+(?:\.\d+)?)px$/;
|
|
23444
|
+
const GRID = 8;
|
|
23445
|
+
/**
|
|
23446
|
+
* The section space on a phone (≤ 767px): a figure above the references' phone median (`toward`, 64px) moves `share`
|
|
23447
|
+
* of the way to it, floored to the 8px grid — 112px → 88px, 72px → 64px; at or below it (48px), or a value that is not a
|
|
23448
|
+
* px figure (an owner's `var()` / `calc()`), there is no step (null). Pure.
|
|
23449
|
+
*/
|
|
23450
|
+
function sectionSpaceOnPhone(value) {
|
|
23451
|
+
const m = PX_VALUE.exec(value.trim());
|
|
23452
|
+
if (!m || !SECTION_PHONE)
|
|
23453
|
+
return null;
|
|
23454
|
+
const px = Number(m[1]);
|
|
23455
|
+
if (px <= SECTION_PHONE.toward)
|
|
23456
|
+
return null;
|
|
23457
|
+
const phone = Math.floor((px - (px - SECTION_PHONE.toward) * SECTION_PHONE.share) / GRID) * GRID;
|
|
23458
|
+
return phone < px ? `${phone}px` : null;
|
|
23459
|
+
}
|
|
23460
|
+
/**
|
|
23461
|
+
* CO5: the phone step block — `space-section` at its phone figure and every row that reads it (directly or through
|
|
23462
|
+
* another reader, re-declared verbatim so each computes where it is declared, the scheme rule's lesson). The live site
|
|
23463
|
+
* wraps it in `@media (max-width: 767px)` on the scope; the builder (`phoneContainer`) in its canvas's container query on
|
|
23464
|
+
* the scope's children. Empty when there is no step.
|
|
23465
|
+
*/
|
|
23466
|
+
function sectionPhoneCss(rows, opts) {
|
|
23467
|
+
const space = rows.find(t => t.name === SECTION_SPACE);
|
|
23468
|
+
const phone = space ? sectionSpaceOnPhone(space.value) : null;
|
|
23469
|
+
if (!phone)
|
|
23470
|
+
return '';
|
|
23471
|
+
const reading = new Set([SECTION_SPACE]);
|
|
23472
|
+
for (let grew = true; grew;) {
|
|
23473
|
+
grew = false;
|
|
23474
|
+
for (const t of rows)
|
|
23475
|
+
if (!reading.has(t.name) && [...reading].some(n => t.value.includes(`var(--iox-${n})`))) {
|
|
23476
|
+
reading.add(t.name);
|
|
23477
|
+
grew = true;
|
|
23478
|
+
}
|
|
23479
|
+
}
|
|
23480
|
+
const entries = [[SECTION_SPACE, phone], ...rows.filter(t => t.name !== SECTION_SPACE && reading.has(t.name)).map((t) => [t.name, t.value])];
|
|
23481
|
+
const width = `(max-width: ${SECTION_PHONE.maxWidth}px)`;
|
|
23482
|
+
const root = opts.scope ?? ROOT;
|
|
23483
|
+
if (opts.phoneContainer)
|
|
23484
|
+
return `@container ${opts.phoneContainer} ${width} {\n${rule(`${root} > *`, entries, ' ')}\n}`;
|
|
23485
|
+
return media(width, [rule(root, entries, ' ')]);
|
|
23486
|
+
}
|
|
23126
23487
|
/** `{ 'iox-brand': '#2f6f62', … }` — the builder registry's input shape for base values. */
|
|
23127
23488
|
function tokensToVarMap(tokens) {
|
|
23128
23489
|
const map = {};
|
|
@@ -23389,6 +23750,8 @@ function compileTokenCssBlocks(tokens, opts = {}) {
|
|
|
23389
23750
|
rule(root, [...unset, ...rows.map((t) => [t.name, t.value])]),
|
|
23390
23751
|
compileSchemeCss(rows, opts.scope, opposite),
|
|
23391
23752
|
columns.base,
|
|
23753
|
+
// CO5: the section space's phone step (after the base and the columns, so its re-declared readers win on a phone).
|
|
23754
|
+
sectionPhoneCss(rows, opts),
|
|
23392
23755
|
rule(caselessSelector(root), presentOverrides(rows, CASELESS_SCRIPT_OVERRIDES, false)),
|
|
23393
23756
|
...ACCESSIBILITY_MEDIA.map(({ query, overrides }) => media(query, [rule(root, presentOverrides(rows, overrides, false), ' ')])),
|
|
23394
23757
|
].filter(Boolean).join('\n');
|
|
@@ -23514,6 +23877,18 @@ var MenuPhoneForm;
|
|
|
23514
23877
|
MenuPhoneForm["Drawer"] = "drawer";
|
|
23515
23878
|
MenuPhoneForm["Full"] = "full";
|
|
23516
23879
|
})(MenuPhoneForm || (MenuPhoneForm = {}));
|
|
23880
|
+
/** What the menu shows besides its own head (HI2 shelves, header-builder board v2 "menu contents"): the page names (today's),
|
|
23881
|
+
* the page names LARGE in the look's display face (Flyward's and Hotel Aurelia's full-screen index), the first four large
|
|
23882
|
+
* with a MORE row of the rest and a picture card (Savvia's card: four names at 48px, "MÁS", small links and a reel tile),
|
|
23883
|
+
* or pictured cards for the site's main collections beside the page names (Vonder's top panel: two category photo tiles
|
|
23884
|
+
* and the page list). `two-levels` waits for HI6 and is drawn as the page names. */
|
|
23885
|
+
var MenuShows;
|
|
23886
|
+
(function (MenuShows) {
|
|
23887
|
+
MenuShows["Links"] = "links";
|
|
23888
|
+
MenuShows["Big"] = "big";
|
|
23889
|
+
MenuShows["WordsCard"] = "words-card";
|
|
23890
|
+
MenuShows["Pictures"] = "pictures";
|
|
23891
|
+
})(MenuShows || (MenuShows = {}));
|
|
23517
23892
|
/** The traits, stored in the node's props (no default: a node saved before HI2 saves none). */
|
|
23518
23893
|
var MenuTrait;
|
|
23519
23894
|
(function (MenuTrait) {
|
|
@@ -23522,6 +23897,8 @@ var MenuTrait;
|
|
|
23522
23897
|
MenuTrait["Reveal"] = "menuReveal";
|
|
23523
23898
|
MenuTrait["Hover"] = "menuHover";
|
|
23524
23899
|
MenuTrait["Phone"] = "menuPhone";
|
|
23900
|
+
/** HI2: what the menu shows (`MenuShows`) — the shelves' parts are its children; the trait sizes them. */
|
|
23901
|
+
MenuTrait["Shows"] = "menuShows";
|
|
23525
23902
|
/** On the menu button AND the menu's Close (the same button, open). */
|
|
23526
23903
|
MenuTrait["Button"] = "menuButton";
|
|
23527
23904
|
})(MenuTrait || (MenuTrait = {}));
|
|
@@ -23531,6 +23908,7 @@ var MenuAttribute;
|
|
|
23531
23908
|
MenuAttribute["Reveal"] = "data-iox-reveal";
|
|
23532
23909
|
MenuAttribute["Hover"] = "data-iox-menu-hover";
|
|
23533
23910
|
MenuAttribute["Phone"] = "data-iox-menu-phone";
|
|
23911
|
+
MenuAttribute["Shows"] = "data-iox-menu-shows";
|
|
23534
23912
|
MenuAttribute["Button"] = "data-iox-menu-button";
|
|
23535
23913
|
})(MenuAttribute || (MenuAttribute = {}));
|
|
23536
23914
|
/** Every attribute a menu part may carry (what a renderer's attribute sync owns). */
|
|
@@ -23542,6 +23920,7 @@ const DEFAULT_MENU_LOOK = Object.freeze({
|
|
|
23542
23920
|
button: MenuButtonKind.Lines,
|
|
23543
23921
|
hover: MenuHover.Line,
|
|
23544
23922
|
phone: MenuPhoneForm.Drawer,
|
|
23923
|
+
shows: MenuShows.Links,
|
|
23545
23924
|
});
|
|
23546
23925
|
const valueOf = (values, fallback) => (v) => typeof v === 'string' && values.includes(v) ? v : fallback;
|
|
23547
23926
|
const menuFormOf = valueOf(Object.values(MenuForm), DEFAULT_MENU_LOOK.form);
|
|
@@ -23549,6 +23928,8 @@ const menuRevealOf = valueOf(Object.values(MenuReveal), DEFAULT_MENU_LOOK.reveal
|
|
|
23549
23928
|
const menuButtonOf = valueOf(Object.values(MenuButtonKind), DEFAULT_MENU_LOOK.button);
|
|
23550
23929
|
const menuHoverOf = valueOf(Object.values(MenuHover), DEFAULT_MENU_LOOK.hover);
|
|
23551
23930
|
const menuPhoneOf = valueOf(Object.values(MenuPhoneForm), DEFAULT_MENU_LOOK.phone);
|
|
23931
|
+
/** A word the product does not draw (`two-levels`, HI6) reads as the page names. */
|
|
23932
|
+
const menuShowsOf = valueOf(Object.values(MenuShows), DEFAULT_MENU_LOOK.shows);
|
|
23552
23933
|
/** The attributes a MENU (the Dialog) renders from its traits — `{}` for today's drawer. */
|
|
23553
23934
|
function menuDialogAttributes(read) {
|
|
23554
23935
|
const out = {};
|
|
@@ -23556,6 +23937,7 @@ function menuDialogAttributes(read) {
|
|
|
23556
23937
|
const reveal = menuRevealOf(read(MenuTrait.Reveal));
|
|
23557
23938
|
const hover = menuHoverOf(read(MenuTrait.Hover));
|
|
23558
23939
|
const phone = menuPhoneOf(read(MenuTrait.Phone));
|
|
23940
|
+
const shows = menuShowsOf(read(MenuTrait.Shows));
|
|
23559
23941
|
if (form !== DEFAULT_MENU_LOOK.form)
|
|
23560
23942
|
out[MenuAttribute.Form] = form;
|
|
23561
23943
|
if (reveal !== DEFAULT_MENU_LOOK.reveal)
|
|
@@ -23564,6 +23946,8 @@ function menuDialogAttributes(read) {
|
|
|
23564
23946
|
out[MenuAttribute.Hover] = hover;
|
|
23565
23947
|
if (phone !== DEFAULT_MENU_LOOK.phone)
|
|
23566
23948
|
out[MenuAttribute.Phone] = phone;
|
|
23949
|
+
if (shows !== DEFAULT_MENU_LOOK.shows)
|
|
23950
|
+
out[MenuAttribute.Shows] = shows;
|
|
23567
23951
|
return out;
|
|
23568
23952
|
}
|
|
23569
23953
|
/** The attribute a menu BUTTON (or the menu's Close) renders — `{}` for today's list icon. */
|
|
@@ -23582,6 +23966,8 @@ function menuDialogProps(look) {
|
|
|
23582
23966
|
out[MenuTrait.Hover] = look.hover;
|
|
23583
23967
|
if (look.phone && look.phone !== DEFAULT_MENU_LOOK.phone)
|
|
23584
23968
|
out[MenuTrait.Phone] = look.phone;
|
|
23969
|
+
if (look.shows && look.shows !== DEFAULT_MENU_LOOK.shows)
|
|
23970
|
+
out[MenuTrait.Shows] = look.shows;
|
|
23585
23971
|
return out;
|
|
23586
23972
|
}
|
|
23587
23973
|
/** The trait a menu button (and the Close) is stamped with for a kind: none for today's. */
|
|
@@ -24028,10 +24414,10 @@ const ACCENT_TOKEN_NAMES = [
|
|
|
24028
24414
|
const groundList = (g) => (g === undefined || g === null ? [] : typeof g === 'string' ? [g] : [...g]);
|
|
24029
24415
|
const hasGround = (g) => groundList(g).length > 0;
|
|
24030
24416
|
const RAMP_ORDER = RAMP_STEPS.map(s => s.step);
|
|
24031
|
-
const WHITE_HEX = toHexColor(WHITE$1);
|
|
24032
|
-
const BLACK_HEX = toHexColor(BLACK$1);
|
|
24417
|
+
const WHITE_HEX$1 = toHexColor(WHITE$1);
|
|
24418
|
+
const BLACK_HEX$1 = toHexColor(BLACK$1);
|
|
24033
24419
|
const passesText = (fg, bg) => groundList(bg).every(g => wcagContrastRatio(fg, g) >= WCAG_AA_TEXT);
|
|
24034
|
-
const bestInkHex = (bg) => (wcagContrastRatio(WHITE_HEX, bg) >= wcagContrastRatio(BLACK_HEX, bg) ? WHITE_HEX : BLACK_HEX);
|
|
24420
|
+
const bestInkHex = (bg) => (wcagContrastRatio(WHITE_HEX$1, bg) >= wcagContrastRatio(BLACK_HEX$1, bg) ? WHITE_HEX$1 : BLACK_HEX$1);
|
|
24035
24421
|
/** 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
24422
|
const KEPT_HOVER_DL = 0.06;
|
|
24037
24423
|
/** CV-D1: how far the hover may walk on (0.02 a step) to keep the brand band's surfaces readable. */
|
|
@@ -24097,7 +24483,7 @@ function deriveAccentTokens(seed, against, pack = {}, options = {}) {
|
|
|
24097
24483
|
const hexOf = (name) => derived.find(t => t.name === name).value;
|
|
24098
24484
|
const step = (n) => hexOf(`brand-${n}`);
|
|
24099
24485
|
const hoverFor = (accentStep, ink) => {
|
|
24100
|
-
const i = RAMP_ORDER.indexOf(accentStep) + (ink === WHITE_HEX ? 1 : -1);
|
|
24486
|
+
const i = RAMP_ORDER.indexOf(accentStep) + (ink === WHITE_HEX$1 ? 1 : -1);
|
|
24101
24487
|
const candidate = RAMP_ORDER[i] !== undefined ? step(RAMP_ORDER[i]) : null;
|
|
24102
24488
|
return candidate && passesText(ink, candidate) ? candidate : step(accentStep);
|
|
24103
24489
|
};
|
|
@@ -24316,6 +24702,10 @@ const HELD_CONTRAST = [
|
|
|
24316
24702
|
];
|
|
24317
24703
|
const TINT_LEVELS = SPEC_AXES.tints;
|
|
24318
24704
|
const upper = (hex) => hex.toUpperCase();
|
|
24705
|
+
const WHITE_HEX = '#FFFFFF';
|
|
24706
|
+
const BLACK_HEX = '#000000';
|
|
24707
|
+
/** The better of a white and a black label on `bg` (colour.mjs `bestInk`). */
|
|
24708
|
+
const bestInk = (bg) => (wcagContrastRatio(WHITE_HEX, bg) >= wcagContrastRatio(BLACK_HEX, bg) ? WHITE_HEX : BLACK_HEX);
|
|
24319
24709
|
const passesAll = (fg, bgs, min) => bgs.every(bg => wcagContrastRatio(fg, bg) >= min);
|
|
24320
24710
|
/** The lightest/darkest version of `fg` (its own hue and chroma) that clears `min` on every ground. */
|
|
24321
24711
|
function ensureContrast(fg, bgs, min) {
|
|
@@ -24444,9 +24834,96 @@ function tintPalette(p, flavor, level, seed) {
|
|
|
24444
24834
|
for (const name of flavor.tint.paints ?? [])
|
|
24445
24835
|
p[name] = rotatePaint(p[name], turn, level.paintChroma ?? 1);
|
|
24446
24836
|
}
|
|
24837
|
+
/**
|
|
24838
|
+
* CV-D4: the page's ground family — paper after oura's sand and hotelaurelia, white after cancan and polene (the brand's
|
|
24839
|
+
* breath), cool after allerstudio, graya and plumeform. `look` is absent: the flavor's own ground. Port of colour.mjs
|
|
24840
|
+
* `COLOUR_GROUNDS` (held equal by the word fixtures).
|
|
24841
|
+
*/
|
|
24842
|
+
const COLOUR_GROUNDS = {
|
|
24843
|
+
paper: { L: 0.968, h: 78, c: 0.014, softDL: 0.035, inkHue: 60 },
|
|
24844
|
+
white: { L: 0.995, h: null, c: 0.003, softDL: 0.03, inkHue: null },
|
|
24845
|
+
cool: { L: 0.982, h: 255, c: 0.006, softDL: 0.03, inkHue: null },
|
|
24846
|
+
};
|
|
24847
|
+
/**
|
|
24848
|
+
* CV-D3: the dark band's colour — brand-deep after atticus and schlosshotel (the brand's hue, very dark), earth after
|
|
24849
|
+
* hotelaurelia, reddottours and savvia (a warm brown, whatever the brand). `ink` is absent: the look's own near-black.
|
|
24850
|
+
* Port of colour.mjs `COLOUR_DARKS`.
|
|
24851
|
+
*/
|
|
24852
|
+
const COLOUR_DARKS = {
|
|
24853
|
+
'brand-deep': { L: 0.235, h: null, c: 0.055, brandShare: 0.5 },
|
|
24854
|
+
earth: { L: 0.255, h: 52, c: 0.035, brandShare: null },
|
|
24855
|
+
};
|
|
24856
|
+
const DEG = Math.PI / 180;
|
|
24857
|
+
const atHex = (L, hue, c) => upper(toHexColor(atLightnessMaxChroma(Math.min(1, Math.max(0, L)), hue, c)));
|
|
24858
|
+
/** A ground word's light roles for a brand `seed` — null for `look` (or a word the table does not hold). */
|
|
24859
|
+
function groundWordColours(word, seed) {
|
|
24860
|
+
const g = word ? COLOUR_GROUNDS[word] : undefined;
|
|
24861
|
+
if (!g)
|
|
24862
|
+
return null;
|
|
24863
|
+
const brandHue = seedHue(seed).hue;
|
|
24864
|
+
const hue = g.h === null ? brandHue : g.h * DEG;
|
|
24865
|
+
const inkHue = g.inkHue === null ? brandHue : g.inkHue * DEG;
|
|
24866
|
+
const bg = atHex(g.L, hue, g.c);
|
|
24867
|
+
const soft = atHex(g.L - g.softDL, hue, g.c * 1.6 + 0.004);
|
|
24868
|
+
return {
|
|
24869
|
+
bg, surface: atHex(Math.min(0.998, g.L + 0.02), hue, g.c * 0.5), 'surface-2': soft, line: atHex(g.L - 0.1, hue, g.c * 1.4),
|
|
24870
|
+
text: atHex(0.2, inkHue, 0.012), 'text-muted': groundWordMuted(bg, soft, inkHue),
|
|
24871
|
+
};
|
|
24872
|
+
}
|
|
24873
|
+
const GROUND_MUTED_L = 0.47;
|
|
24874
|
+
const GROUND_MUTED_L_MIN = 0.25;
|
|
24875
|
+
/**
|
|
24876
|
+
* A ground word's muted words: AA on the page and its soft surface, AND room for the Muted band — whose ground IS this
|
|
24877
|
+
* colour and whose ink is the page's `bg`, where Bloom's secondary hover mixes `BAND_SURFACE_INK_TINT` of that ink into
|
|
24878
|
+
* it. From L 0.47 down in 0.02 steps until the band's hover reads too (float and quantized). Mirror of the contract's
|
|
24879
|
+
* colour.mjs `groundWordMuted`.
|
|
24880
|
+
*/
|
|
24881
|
+
function groundWordMuted(bg, soft, inkHue) {
|
|
24882
|
+
const page = parseHexColor(bg);
|
|
24883
|
+
const band = (m) => {
|
|
24884
|
+
const c = parseHexColor(m);
|
|
24885
|
+
const t = BAND_SURFACE_INK_TINT;
|
|
24886
|
+
const mix = { r: page.r * t + c.r * (1 - t), g: page.g * t + c.g * (1 - t), b: page.b * t + c.b * (1 - t) };
|
|
24887
|
+
return Math.min(wcagContrastRatio(page, mix), wcagContrastRatio(page, parseHexColor(toHexColor(mix))));
|
|
24888
|
+
};
|
|
24889
|
+
for (let L = GROUND_MUTED_L;; L -= 0.02) {
|
|
24890
|
+
const m = upper(ensureContrast(atHex(L, inkHue, 0.02), [bg, soft], WCAG_AA_TEXT));
|
|
24891
|
+
if (band(m) >= WCAG_AA_TEXT || L <= GROUND_MUTED_L_MIN)
|
|
24892
|
+
return m;
|
|
24893
|
+
}
|
|
24894
|
+
}
|
|
24895
|
+
/** A dark word's light roles for a brand `seed` — null for `ink` (or a word the table does not hold). */
|
|
24896
|
+
function darkWordColours(word, seed) {
|
|
24897
|
+
const d = word ? COLOUR_DARKS[word] : undefined;
|
|
24898
|
+
if (!d)
|
|
24899
|
+
return null;
|
|
24900
|
+
const { hue: brandHue, chroma } = seedHue(seed);
|
|
24901
|
+
const hue = d.h === null ? brandHue : d.h * DEG;
|
|
24902
|
+
const c = d.brandShare === null ? d.c : Math.min(chroma * d.brandShare, d.c);
|
|
24903
|
+
const bg = atHex(d.L, hue, c);
|
|
24904
|
+
const surface = atHex(d.L + 0.05, hue, c);
|
|
24905
|
+
return {
|
|
24906
|
+
'inverse-bg': bg, 'inverse-surface': surface, 'inverse-line': atHex(d.L + 0.12, hue, c),
|
|
24907
|
+
'inverse-text': atHex(0.955, hue, 0.012), 'inverse-muted': upper(ensureContrast(atHex(0.78, hue, 0.03), [bg, surface], WCAG_AA_TEXT)),
|
|
24908
|
+
};
|
|
24909
|
+
}
|
|
24910
|
+
/** What the colour derivation is asked: the brand, the background tint and (CV2) the ground and dark words. */
|
|
24911
|
+
/**
|
|
24912
|
+
* CV3 (colour-v2-plan.md §5a, as changed 2026-11-29): how the page's ground is painted (`COLOUR.wash`) — the PAGE's paint
|
|
24913
|
+
* (`page-bg`), never a per-section wash. `gradient` fades the page toward its dark band at its foot (landonorris,
|
|
24914
|
+
* plumeform, enigmascult: fade to dark); `glow` lays soft brand glows at its head and foot (plumeform). Centred, so a
|
|
24915
|
+
* right-to-left page mirrors to itself; role references only. Mirror of the contract's colour.mjs `COLOUR_WASHES`
|
|
24916
|
+
* (derivationFixtures hold them equal). `flat` (absent) = the look's own paint.
|
|
24917
|
+
*/
|
|
24918
|
+
const COLOUR_WASHES = {
|
|
24919
|
+
gradient: 'linear-gradient(180deg, transparent 0%, transparent 50%, color-mix(in srgb, var(--iox-inverse-bg) 14%, transparent) 100%), var(--iox-bg)',
|
|
24920
|
+
glow: 'radial-gradient(60% 45% at 50% 0%, color-mix(in srgb, var(--iox-accent) 14%, transparent) 0%, transparent 70%), '
|
|
24921
|
+
+ 'radial-gradient(50% 40% at 50% 100%, color-mix(in srgb, var(--iox-accent) 10%, transparent) 0%, transparent 70%), var(--iox-bg)',
|
|
24922
|
+
};
|
|
24447
24923
|
/**
|
|
24448
24924
|
* The colour tokens of a flavor for a brand `seed` and a background `tint`, light and dark.
|
|
24449
|
-
* Neutral at the flavor's own seed returns its palette exactly.
|
|
24925
|
+
* Neutral at the flavor's own seed returns its palette exactly. CV2: a ground or dark word writes its roles in the light
|
|
24926
|
+
* block after the tint and before the accents (which are then held on the new grounds).
|
|
24450
24927
|
*/
|
|
24451
24928
|
function flavorColours(flavor, choices) {
|
|
24452
24929
|
const seed = choices.seed || flavor.seed;
|
|
@@ -24458,6 +24935,18 @@ function flavorColours(flavor, choices) {
|
|
|
24458
24935
|
if (level?.chroma)
|
|
24459
24936
|
for (const mode of MODES$1)
|
|
24460
24937
|
tintPalette(palette[mode], flavor, level, seed);
|
|
24938
|
+
const grounded = groundWordColours(choices.ground, seed);
|
|
24939
|
+
const darkened = darkWordColours(choices.dark, seed);
|
|
24940
|
+
if (grounded)
|
|
24941
|
+
Object.assign(palette.light, grounded);
|
|
24942
|
+
if (darkened)
|
|
24943
|
+
Object.assign(palette.light, darkened);
|
|
24944
|
+
// CV3: the wash paints the page in both modes, before the accents (a glow reads the accent) and the held roles.
|
|
24945
|
+
const wash = choices.wash ? COLOUR_WASHES[choices.wash] : undefined;
|
|
24946
|
+
if (wash) {
|
|
24947
|
+
palette.light['page-bg'] = wash;
|
|
24948
|
+
palette.dark['page-bg'] = wash;
|
|
24949
|
+
}
|
|
24461
24950
|
if (seed.toLowerCase() !== flavor.seed.toLowerCase()) {
|
|
24462
24951
|
// Twice: the page paint may read the accent (Midnight's glow), so its grounds are known only once
|
|
24463
24952
|
// the fill is — and the fill never depends on the grounds.
|
|
@@ -24477,6 +24966,9 @@ function flavorColours(flavor, choices) {
|
|
|
24477
24966
|
const p = palette[mode];
|
|
24478
24967
|
p['accent-text'] = upper(ensureContrast(p['accent-text'], groundsOf(p, TEXT_GROUNDS), WCAG_AA_TEXT));
|
|
24479
24968
|
p['inverse-accent'] = upper(ensureContrast(p['inverse-accent'], groundsOf(p, INVERSE_GROUNDS), WCAG_AA_TEXT));
|
|
24969
|
+
// A dark word may move the inverse accent: its label follows when it no longer reads (never for a look's own palette).
|
|
24970
|
+
if ((grounded || darkened) && wcagContrastRatio(p['inverse-accent-ink'], p['inverse-accent']) < WCAG_AA_TEXT)
|
|
24971
|
+
p['inverse-accent-ink'] = bestInk(p['inverse-accent']);
|
|
24480
24972
|
holdContrast(p);
|
|
24481
24973
|
}
|
|
24482
24974
|
const out = {};
|
|
@@ -24705,6 +25197,60 @@ function routeHasParams(route) {
|
|
|
24705
25197
|
return new RegExp(ROUTE_PARAM.source).test(String(route ?? ''));
|
|
24706
25198
|
}
|
|
24707
25199
|
|
|
25200
|
+
/**
|
|
25201
|
+
* Colour v2 CV2 + CV3 (colour-v2-plan.md §5a): the four colour words a look carries as TOKENS — the page's ground, the
|
|
25202
|
+
* dark band's colour, the main button's paint and the page's wash (CV3). Each is ONE `settings.design` row, absent = the look's own (look · ink ·
|
|
25203
|
+
* accent — what every site wore before CV2). The ground and dark words are values `flavorColours` computes (the port of
|
|
25204
|
+
* colour.mjs, held by the derivation fixtures); the button word is three component tokens (`axes.actionPaints`) that
|
|
25205
|
+
* reference roles only. The other COLOUR words (accent, rhythm, bands) are judged by the composer, never painted.
|
|
25206
|
+
*/
|
|
25207
|
+
/** COLOUR.ground: the page's ground family (paper after oura and hotelaurelia, white after cancan, cool after graya). */
|
|
25208
|
+
var GroundWord;
|
|
25209
|
+
(function (GroundWord) {
|
|
25210
|
+
GroundWord["Look"] = "look";
|
|
25211
|
+
GroundWord["Paper"] = "paper";
|
|
25212
|
+
GroundWord["White"] = "white";
|
|
25213
|
+
GroundWord["Cool"] = "cool";
|
|
25214
|
+
})(GroundWord || (GroundWord = {}));
|
|
25215
|
+
/** COLOUR.dark: the dark band's colour (brand-deep after atticus and schlosshotel, earth after hotelaurelia and savvia). */
|
|
25216
|
+
var DarkWord;
|
|
25217
|
+
(function (DarkWord) {
|
|
25218
|
+
DarkWord["Ink"] = "ink";
|
|
25219
|
+
DarkWord["BrandDeep"] = "brand-deep";
|
|
25220
|
+
DarkWord["Earth"] = "earth";
|
|
25221
|
+
})(DarkWord || (DarkWord = {}));
|
|
25222
|
+
/** COLOUR.action: what the main button is painted with — a key of the contract's `axes.actionPaints`. */
|
|
25223
|
+
/** COLOUR.wash: how the page is painted (CV3) — gradient after landonorris and plumeform, glow after plumeform. Flat = the
|
|
25224
|
+
* look's own. The dimmed photo waits for CV3b. */
|
|
25225
|
+
var WashWord;
|
|
25226
|
+
(function (WashWord) {
|
|
25227
|
+
WashWord["Flat"] = "flat";
|
|
25228
|
+
WashWord["Gradient"] = "gradient";
|
|
25229
|
+
WashWord["Glow"] = "glow";
|
|
25230
|
+
})(WashWord || (WashWord = {}));
|
|
25231
|
+
const ACTION_ACCENT = 'accent';
|
|
25232
|
+
const isGround = (w) => typeof w === 'string' && Object.prototype.hasOwnProperty.call(COLOUR_GROUNDS, w);
|
|
25233
|
+
const isDark = (w) => typeof w === 'string' && Object.prototype.hasOwnProperty.call(COLOUR_DARKS, w);
|
|
25234
|
+
const isWash = (w) => typeof w === 'string' && Object.prototype.hasOwnProperty.call(COLOUR_WASHES, w);
|
|
25235
|
+
const isAction = (w) => typeof w === 'string' && Object.prototype.hasOwnProperty.call(SPEC_AXES.actionPaints, w);
|
|
25236
|
+
/** The colour words as stored: a known word other than the look's own is kept; the look's own, unknown or absent reads
|
|
25237
|
+
* absent (so a row stored before CV2 is the look it always was). Pure. */
|
|
25238
|
+
function resolveColourWords(partial) {
|
|
25239
|
+
const { ground, dark, action, wash } = partial ?? {};
|
|
25240
|
+
return {
|
|
25241
|
+
...(isGround(ground) ? { ground } : {}),
|
|
25242
|
+
...(isDark(dark) ? { dark } : {}),
|
|
25243
|
+
...(isWash(wash) ? { wash } : {}),
|
|
25244
|
+
...(isAction(action) && action !== ACTION_ACCENT ? { action } : {}),
|
|
25245
|
+
};
|
|
25246
|
+
}
|
|
25247
|
+
/** The button word's three component tokens (`action-bg` · `action-ink` · `action-hover`), or none for the accent. */
|
|
25248
|
+
function actionPaintTokens(action) {
|
|
25249
|
+
if (!isAction(action) || action === ACTION_ACCENT)
|
|
25250
|
+
return [];
|
|
25251
|
+
return Object.entries(SPEC_AXES.actionPaints[action]).filter(([k]) => k !== 'label');
|
|
25252
|
+
}
|
|
25253
|
+
|
|
24708
25254
|
const FORM_PARTS = SPEC_CONTRAST_AUDIT.formParts;
|
|
24709
25255
|
const INK_SCOPES = SPEC_INK_SCOPES;
|
|
24710
25256
|
const SCRIMS = SPEC_CONTRAST_AUDIT.scrims;
|
|
@@ -25908,6 +26454,12 @@ var DesignConfigKey;
|
|
|
25908
26454
|
DesignConfigKey["Preloader"] = "preloader";
|
|
25909
26455
|
/** AW10: the look's By the scroll (a `ScrubId`); absent = never. */
|
|
25910
26456
|
DesignConfigKey["Scrub"] = "scrub";
|
|
26457
|
+
/** Colour v2 CV2: the page's ground, the dark band's colour, the main button's paint; absent = the look's own. */
|
|
26458
|
+
DesignConfigKey["Ground"] = "ground";
|
|
26459
|
+
DesignConfigKey["Dark"] = "dark";
|
|
26460
|
+
DesignConfigKey["Action"] = "action";
|
|
26461
|
+
/** Colour v2 CV3: how the page is painted; absent = the look's own paint. */
|
|
26462
|
+
DesignConfigKey["Wash"] = "wash";
|
|
25911
26463
|
DesignConfigKey["Revert"] = "revert";
|
|
25912
26464
|
})(DesignConfigKey || (DesignConfigKey = {}));
|
|
25913
26465
|
const MODES = SPEC_AXES.modes;
|
|
@@ -25988,10 +26540,12 @@ function resolveDesignChoices(partial) {
|
|
|
25988
26540
|
...(fonts ? { fonts } : {}),
|
|
25989
26541
|
...resolveDesignMotion(partial),
|
|
25990
26542
|
...resolveMotionLanguageChoices(partial),
|
|
26543
|
+
...resolveColourWords(partial),
|
|
25991
26544
|
};
|
|
25992
26545
|
}
|
|
25993
26546
|
/** The look's motion language as stored: a known Feel / Headings word (AW3), first-visit preloader (AW5) or By the
|
|
25994
|
-
* scroll word (AW10) is kept, anything else is absent.
|
|
26547
|
+
* scroll word (AW10) is kept, anything else is absent. An explicit `none` / `never` is KEPT (motion reach, D12): it is the
|
|
26548
|
+
* owner turning the move off, which `withSignatureMove` respects — absent means nobody chose, and a build may sign it. */
|
|
25995
26549
|
function resolveMotionLanguageChoices(partial) {
|
|
25996
26550
|
const feel = asString(partial?.feel);
|
|
25997
26551
|
const headings = asString(partial?.headings);
|
|
@@ -26000,10 +26554,11 @@ function resolveMotionLanguageChoices(partial) {
|
|
|
26000
26554
|
return {
|
|
26001
26555
|
...(isArriveId(feel) ? { feel } : {}),
|
|
26002
26556
|
...(isMoveId(headings) ? { headings } : {}),
|
|
26003
|
-
// AW5: a known kind
|
|
26004
|
-
|
|
26005
|
-
|
|
26006
|
-
|
|
26557
|
+
// AW5: a known kind is kept — `none` too (the owner turned it off); unknown or absent reads absent. Either way nothing
|
|
26558
|
+
// opens the visit unless a kind is named.
|
|
26559
|
+
...(isPreloaderKind(preloader) ? { preloader } : {}),
|
|
26560
|
+
// AW10: a known word is kept — `never` too (the owner turned it off); unknown or absent reads absent (= plays once).
|
|
26561
|
+
...(isScrubId(scrub) ? { scrub } : {}),
|
|
26007
26562
|
};
|
|
26008
26563
|
}
|
|
26009
26564
|
/** The look's motion, completed: an absent or unknown choice reads `PRE_MOTION` — what the site already does. */
|
|
@@ -26065,6 +26620,10 @@ function readDesignConfig(config, hasRow = !!config) {
|
|
|
26065
26620
|
headings: asString(map.get(DesignConfigKey.Headings)) ?? undefined,
|
|
26066
26621
|
preloader: asString(map.get(DesignConfigKey.Preloader)) ?? undefined,
|
|
26067
26622
|
scrub: asString(map.get(DesignConfigKey.Scrub)) ?? undefined,
|
|
26623
|
+
ground: asString(map.get(DesignConfigKey.Ground)) ?? undefined,
|
|
26624
|
+
dark: asString(map.get(DesignConfigKey.Dark)) ?? undefined,
|
|
26625
|
+
action: asString(map.get(DesignConfigKey.Action)) ?? undefined,
|
|
26626
|
+
wash: asString(map.get(DesignConfigKey.Wash)) ?? undefined,
|
|
26068
26627
|
});
|
|
26069
26628
|
return {
|
|
26070
26629
|
choices,
|
|
@@ -26105,6 +26664,10 @@ function designConfigEntries(choices, flavorVersion, revert) {
|
|
|
26105
26664
|
...(c.headings ? [{ key: DesignConfigKey.Headings, value: c.headings }] : []),
|
|
26106
26665
|
...(c.preloader ? [{ key: DesignConfigKey.Preloader, value: c.preloader }] : []),
|
|
26107
26666
|
...(c.scrub ? [{ key: DesignConfigKey.Scrub, value: c.scrub }] : []),
|
|
26667
|
+
...(c.ground ? [{ key: DesignConfigKey.Ground, value: c.ground }] : []),
|
|
26668
|
+
...(c.dark ? [{ key: DesignConfigKey.Dark, value: c.dark }] : []),
|
|
26669
|
+
...(c.action ? [{ key: DesignConfigKey.Action, value: c.action }] : []),
|
|
26670
|
+
...(c.wash ? [{ key: DesignConfigKey.Wash, value: c.wash }] : []),
|
|
26108
26671
|
...(c.fonts ? [{ key: DesignConfigKey.Fonts, value: JSON.stringify(c.fonts) }] : []),
|
|
26109
26672
|
...(revert ? [{ key: DesignConfigKey.Revert, value: JSON.stringify(revert) }] : []),
|
|
26110
26673
|
];
|
|
@@ -26120,6 +26683,7 @@ function sameDesignChoices(a, b) {
|
|
|
26120
26683
|
&& (x.feel ?? '') === (y.feel ?? '') && (x.headings ?? '') === (y.headings ?? '')
|
|
26121
26684
|
&& (x.preloader ?? '') === (y.preloader ?? '')
|
|
26122
26685
|
&& (x.scrub ?? '') === (y.scrub ?? '')
|
|
26686
|
+
&& (x.ground ?? '') === (y.ground ?? '') && (x.dark ?? '') === (y.dark ?? '') && (x.action ?? '') === (y.action ?? '') && (x.wash ?? '') === (y.wash ?? '')
|
|
26123
26687
|
&& JSON.stringify(x.fonts ?? {}) === JSON.stringify(y.fonts ?? {});
|
|
26124
26688
|
}
|
|
26125
26689
|
|
|
@@ -26139,6 +26703,8 @@ function presetModes(preset) {
|
|
|
26139
26703
|
* What picking a preset means — the complete `DesignChoices`, its motion included — in `mode` (default:
|
|
26140
26704
|
* its first). A mode it was not audited in is REFUSED (null): a light-only preset is never worn dark.
|
|
26141
26705
|
*/
|
|
26706
|
+
/** A style's own motion word, or nothing when it is the style's "none" — never stored as the owner's choice. */
|
|
26707
|
+
const ownWord = (word, none) => (word && word !== none ? word : undefined);
|
|
26142
26708
|
function presetChoices(id, mode) {
|
|
26143
26709
|
const preset = stylePresetById(id);
|
|
26144
26710
|
if (!preset)
|
|
@@ -26152,9 +26718,10 @@ function presetChoices(id, mode) {
|
|
|
26152
26718
|
// AW3: the look's own motion language — its Feel and how its headings arrive (MB-D5); AW5: its first-visit
|
|
26153
26719
|
// preloader (PL-D1 — the exit is the preset's, never stored).
|
|
26154
26720
|
feel: presetMotionLanguage(preset.id)?.arrive, headings: presetMotionLanguage(preset.id)?.move,
|
|
26155
|
-
|
|
26156
|
-
|
|
26157
|
-
|
|
26721
|
+
// A style without one stores nothing (absent, not `none`): only the OWNER's none is a choice (motion reach, D12).
|
|
26722
|
+
preloader: ownWord(presetMotionLanguage(preset.id)?.preloader, PreloaderKind.None),
|
|
26723
|
+
// AW10: its By the scroll (a style's never stores nothing, as its preloader's none).
|
|
26724
|
+
scrub: ownWord(presetMotionLanguage(preset.id)?.scrub, ScrubId.Never),
|
|
26158
26725
|
});
|
|
26159
26726
|
}
|
|
26160
26727
|
/**
|
|
@@ -26266,7 +26833,11 @@ function buildFlavorTokens(pack, choices) {
|
|
|
26266
26833
|
if (typeof family === 'string' && family.trim() !== '')
|
|
26267
26834
|
set(role, userFontStack(family, byName.get(role)?.value), USER_TOKEN_SOURCE);
|
|
26268
26835
|
}
|
|
26269
|
-
|
|
26836
|
+
// CV2: the ground and dark words are computed with the brand and tint (colour.mjs port); the button word is three
|
|
26837
|
+
// component tokens that reference roles (`axes.actionPaints`).
|
|
26838
|
+
setColours(byName, flavorColours(pack, { seed: choices.seed, tint: choices.tint ?? pack.defaults.tint, ground: choices.ground, dark: choices.dark, wash: choices.wash }));
|
|
26839
|
+
for (const [name, value] of actionPaintTokens(choices.action))
|
|
26840
|
+
set(name, value);
|
|
26270
26841
|
return rows;
|
|
26271
26842
|
}
|
|
26272
26843
|
/** Colour rows take their light value and the dark one only where it differs (the contract's own rule). */
|
|
@@ -27033,6 +27604,84 @@ function designPreloaderOf(config) {
|
|
|
27033
27604
|
return hasRow ? preloaderOfChoices(choices) : null;
|
|
27034
27605
|
}
|
|
27035
27606
|
|
|
27607
|
+
/**
|
|
27608
|
+
* THE SIGNATURE MOVE (motion-reach-plan.md MR-D1…MR-D4; the 2026-11-28 reference baseline's gap #2) — pure,
|
|
27609
|
+
* framework-free. Every reference a generated site is scored against has a signature move; the J10 sites had none,
|
|
27610
|
+
* because the look's preloader and By the scroll were kept only on a Lively start and nearly every generated start is
|
|
27611
|
+
* Still, Subtle or Standard. This completes a GENERATED look with ONE move its kind of business signs with (harness
|
|
27612
|
+
* `SIGNATURE_MOVES`, carried on each business type as `signature`), so the wizard's start (harness-core `presetDesign`)
|
|
27613
|
+
* and every compose of a plan (generation-core `composeSite`) wear the same — a rebuild from a kept plan included, with no
|
|
27614
|
+
* model call. Only BUILT parts: the look's first-visit preloader (`design.preloader`) and By the scroll
|
|
27615
|
+
* (`design.scrub`); their runtimes are the ones every look already plays (reduced motion: no preloader, a scrub keeps only
|
|
27616
|
+
* its opacity — AW-D6). Binds generated output only (D12): Design ▸ Motion turns either off.
|
|
27617
|
+
*/
|
|
27618
|
+
/** The closed vocabulary (contract `SIGNATURE_MOVES.moves`; build-spec holds the two equal). */
|
|
27619
|
+
var SignatureMove;
|
|
27620
|
+
(function (SignatureMove) {
|
|
27621
|
+
/** The first visit opens on the look's mark — the preset's own kind, else `mark` (`design.preloader`). */
|
|
27622
|
+
SignatureMove["Preloader"] = "preloader";
|
|
27623
|
+
/** The look's entrances follow the scroll (`design.scrub` = `entrances`); the opening plays on time (AW10-D8). */
|
|
27624
|
+
SignatureMove["Scroll"] = "scroll";
|
|
27625
|
+
})(SignatureMove || (SignatureMove = {}));
|
|
27626
|
+
const SIGNATURE_MOVES = Object.values(SignatureMove);
|
|
27627
|
+
const rank = (level) => ANIMATE_IDS.indexOf(level);
|
|
27628
|
+
const STILL = ANIMATE_IDS[0];
|
|
27629
|
+
/** The preloader kind a look would sign with: its own (when its kind of business allows it), else `mark` — or null. */
|
|
27630
|
+
function signaturePreloaderOf(design, never = []) {
|
|
27631
|
+
const own = design.preloader ?? presetMotionLanguage(stylePresetOfChoices(design)?.id ?? null)?.preloader;
|
|
27632
|
+
if (own && own !== PreloaderKind.None && !never.includes(own))
|
|
27633
|
+
return own;
|
|
27634
|
+
return never.includes(PreloaderKind.Mark) ? null : PreloaderKind.Mark;
|
|
27635
|
+
}
|
|
27636
|
+
/**
|
|
27637
|
+
* The signature move a look already carries: a preloader that plays at its level and its kind of business allows, or a
|
|
27638
|
+
* By the scroll that moves something at its level (`words` lights only text reveals, which a quiet level never stamps —
|
|
27639
|
+
* so on Subtle only `entrances` counts). Null: none. Pure.
|
|
27640
|
+
*/
|
|
27641
|
+
function signatureMoveOf(design, preloaderNever = []) {
|
|
27642
|
+
const level = String(design.animate ?? '');
|
|
27643
|
+
if (design.preloader && design.preloader !== PreloaderKind.None && PRELOADER_LEVELS.includes(level) && !preloaderNever.includes(design.preloader)) {
|
|
27644
|
+
return SignatureMove.Preloader;
|
|
27645
|
+
}
|
|
27646
|
+
const scrub = scrubOfChoices(design);
|
|
27647
|
+
if (scrub !== ScrubId.Never && SCRUB_LEVELS.includes(level) && (scrub === ScrubId.Entrances || !QUIET_LEVELS.includes(level)))
|
|
27648
|
+
return SignatureMove.Scroll;
|
|
27649
|
+
return null;
|
|
27650
|
+
}
|
|
27651
|
+
/**
|
|
27652
|
+
* A generated look, signed (MR-D1): unchanged when its kind of business names no move or the owner asked for little
|
|
27653
|
+
* movement; else a Still start is lifted to the floor (never past the ceiling), and — unless the look already carries a
|
|
27654
|
+
* signature move — the first of the type's moves that plays at its level is added. A move the owner turned off (an
|
|
27655
|
+
* explicit `none` / `never`) is never added (D12); with every one off, the look is left exactly as it is. Idempotent. Pure.
|
|
27656
|
+
*/
|
|
27657
|
+
function withSignatureMove(design, input) {
|
|
27658
|
+
// D12: a move the owner turned off (`none` / `never`, stored explicitly) is never added back — and when every move the
|
|
27659
|
+
// type signs with is off, nothing is lifted either.
|
|
27660
|
+
const off = (m) => (m === SignatureMove.Preloader ? design.preloader === PreloaderKind.None : design.scrub === ScrubId.Never);
|
|
27661
|
+
const moves = (input?.moves ?? []).filter((m) => SIGNATURE_MOVES.includes(m) && !off(m));
|
|
27662
|
+
const never = input?.preloaderNever ?? [];
|
|
27663
|
+
if (!moves.length || input?.littleMovement)
|
|
27664
|
+
return { design, move: signatureMoveOf(design, never), added: false, lifted: false };
|
|
27665
|
+
const floor = input?.floor && rank(input.floor) > 0 ? input.floor : null;
|
|
27666
|
+
const liftable = floor && design.animate === STILL && (!input?.ceiling || rank(input.ceiling) >= rank(floor));
|
|
27667
|
+
const lifted = liftable ? { ...design, animate: floor } : design;
|
|
27668
|
+
const carried = signatureMoveOf(lifted, never);
|
|
27669
|
+
if (carried)
|
|
27670
|
+
return { design: lifted, move: carried, added: false, lifted: !!liftable };
|
|
27671
|
+
const level = String(lifted.animate ?? '');
|
|
27672
|
+
for (const move of moves) {
|
|
27673
|
+
if (move === SignatureMove.Preloader && PRELOADER_LEVELS.includes(level)) {
|
|
27674
|
+
const kind = signaturePreloaderOf(lifted, never);
|
|
27675
|
+
if (kind)
|
|
27676
|
+
return { design: { ...lifted, preloader: kind }, move, added: true, lifted: !!liftable };
|
|
27677
|
+
}
|
|
27678
|
+
if (move === SignatureMove.Scroll && SCRUB_LEVELS.includes(level)) {
|
|
27679
|
+
return { design: { ...lifted, scrub: ScrubId.Entrances }, move, added: true, lifted: !!liftable };
|
|
27680
|
+
}
|
|
27681
|
+
}
|
|
27682
|
+
return { design: lifted, move: null, added: false, lifted: !!liftable };
|
|
27683
|
+
}
|
|
27684
|
+
|
|
27036
27685
|
/**
|
|
27037
27686
|
* "Close" in the page's language — the accessible name of every × the platform names: the Dialog's close button (the
|
|
27038
27687
|
* iox-ui component path AND the engine's string path, vectoriox/iox-ui#167), the toast's close control (premium M5) and
|
|
@@ -27063,5 +27712,5 @@ function closeWord(lang) {
|
|
|
27063
27712
|
* Generated bundle index. Do not edit.
|
|
27064
27713
|
*/
|
|
27065
27714
|
|
|
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 };
|
|
27715
|
+
export { ACCENT_TOKEN_NAMES, ACTION_ACCENT, ANIMATE_IDS, ARRIVE_IDS, AdoptOutcome, AdoptSkipReason, BACKDROP_FUNCTIONS, BAND_SURFACE_INK_TINT, BAR_ATTRIBUTE, BAR_CROWDED_AT, BAR_NAME_ATTRIBUTE, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BRAND_CROWDED_NAME_LONGER_AT, BRAND_CROWDED_NAME_LONGEST_AT, BRAND_CROWDED_NAME_LONG_AT, BRAND_CROWDED_WORD_LONGER_AT, BRAND_CROWDED_WORD_LONGEST_AT, BRAND_CROWDED_WORD_LONG_AT, BRAND_NAME_ATTRIBUTE, BRAND_NAME_LONGER_AT, BRAND_NAME_LONGEST_AT, BRAND_NAME_LONG_AT, BRAND_ROLE, BRAND_WORD_LONGER_AT, BRAND_WORD_LONGEST_AT, BRAND_WORD_LONG_AT, BUTTON_VARIANT_TO_STYLE, BarRoom, BrandNameLength, CANVAS_LINK_ATTRIBUTE, CARD_EDGES, CARD_LINK_CLASS, CASELESS_LANGUAGES, CASELESS_SCRIPT_OVERRIDES, CLOSE_WORDS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COLOUR_DARKS, COLOUR_GROUNDS, COLOUR_WASHES, COLUMN_ATTRIBUTE, COLUMN_IDS, COLUMN_SETTING, COMPOSED_HEADER, CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, CONTRAST_AUDIT_MEMORY, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DEFAULT_GROUND_INKS, DEFAULT_MENU_LOOK, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DarkWord, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, EntranceParam, FIELD_INVALID_CLASS, FILTER_FUNCTIONS, FLAVOR_SPEC_VERSION, FLOATING_BACKDROPS, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FOOTER_CLASS_PREFIX, FOOTER_MIRRORED_CLASS, FOOTER_MIX_PROP, FieldClass, FloatingInkScope, FontUploadError, GLASS_GROUNDS, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, GROUND_INK_MIN, GroundWord, HEADER_AT_REST_SELECTOR, HEADER_GIVES_BACK_SELECTOR, HEADER_HEIGHT_VAR, HEADER_INK_SCOPE, HEADER_MENU_OPEN_ATTRIBUTE, HEADER_OPEN_MENU_SELECTOR, HEADER_SCROLLED_ATTRIBUTE, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderBrand, HeaderEdge, HeaderGround, HeaderInk, HeaderShape, HeaderTrait, INHERITED_TEXT, KEPT_HOVER_DL, KEPT_HOVER_DL_MAX, LEAVE_IDS, LEAVE_SHARE, LINK_WEIGHT_STEP, LIST_CLASS_PREFIX, LIST_MIRRORED_CLASS, LIST_MIX_PROP, LinkType, LocaleDirection, MARK_STYLES, MAX_FONT_FILE_BYTES, MENU_ATTRIBUTES, MENU_PHONE_MAX_WIDTH, MIRRORED_EDGES, MOOD_IDS, MOOD_LABELS, MORE_CONTRAST_OVERRIDES, MOTION_LANGUAGE_PRESET_IDS, MOVE_IDS, MenuAttribute, MenuButtonKind, MenuForm, MenuHover, MenuPhoneForm, MenuReveal, MenuShows, MenuTrait, MotionWordTier, NAV_ROLE, NEW_COLUMN, NEW_NODE_STYLE_DEFAULTS, OPENING_ATTRIBUTE, OPENING_FOLLOWER_GROUND_CLAUSES, OPENING_FOLLOWER_ROLE, OPENING_MEDIA_ATTRIBUTE, OPENING_SETTING, OVER_GROUNDS, OpeningMediaKind, OpticalSize, OwnedTraitLink, PALETTE_PRESETS, PHONE_BAR_CONTROL_ROLES, PRELOADER_CAP_MS, PRELOADER_ENTER_EASE, PRELOADER_EXIT_EASE, PRELOADER_EXIT_IDS, PRELOADER_EXIT_MAX_MS, PRELOADER_IDS, PRELOADER_LETTERS_MAX, PRELOADER_LEVELS, PRELOADER_MIN_SHOW_MS, PRE_COLUMN, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, PreloaderExit, PreloaderKind, QUIET_LEVELS, QUIET_MOVE, REDUCED_DESIGN_MOTION, REDUCED_ENTRANCE_MAX_MS, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROUTE_PARAM_PREFIX, ROW_INDEX_ATTRIBUTE, RTL_LANGUAGES, SCHEME_INK, SCROLL_IDS, SCRUB_IDS, SCRUB_LEVELS, SEAM_CLASS_PREFIX, SEAM_MIRRORED_CLASS, SECTION_CARD_CLASS, SECTION_CARD_STYLES, SECTION_CARD_SUPERSEDED, SECTION_EDGES, SECTION_EDGE_TRAIT, SECTION_EDGE_TYPES, SECTION_FULL_STYLES, SECTION_SHAPE_TRAIT, SIGNATURE_MOVES, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FLOATING_BASELINE, SPEC_FONTS, SPEC_FONT_METRICS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_MOTION_LANGUAGE, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SPRING_CURVE_TOKEN, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SUPERSEDED_TOKEN_VALUES, SWISS_FLAVOR, ScrubId, SectionEdge, SectionShape, SignatureMove, TEXT_LINK_STYLES, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, WIDE_CONTENT_CAP, WIDE_CONTENT_WIDTH, WashWord, actionPaintTokens, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, brandNameAttributes, brandNameLength, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, closeWord, colorSchemeClass, colorSchemeOf, colourTabChecks, columnSelector, columnWordOf, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, contentCapOf, contentWidthOf, cssString, darkWordColours, decomposeCssFunctions, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designPreloaderOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, edgeFitsShape, elementStyleById, elementStyleClass, elementStyleFace, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, fillRouteParams, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, floatingGroundFindings, floatingInkValue, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, footerMixClasses, footerMixWordsOf, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, graphemes, groundWordColours, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerBrandOf, headerEdgeOf, headerFirm, headerGivesBack, headerGroundIsGlass, headerGroundIsOver, headerGroundOf, headerInkOf, headerShapeFloats, headerShapeOf, headerStaysAtTop, headingHref, inSrgbGamut, inkOnGround, isArriveId, isCaselessLocale, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFirstVisit, isFontWeightRange, isFooterMixClass, isListMixClass, isMoveId, isPreloaderKind, isRetiredFlavorId, isScrubId, isSectionDesignClass, keptAccent, languageOf, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, listMixClasses, listMixWordsOf, localeDirection, matchFontWeight, menuButtonAttributes, menuButtonOf, menuButtonProps, menuDialogAttributes, menuDialogProps, menuFormOf, menuFormSwitchesOnPhone, menuHoverOf, menuPhoneOf, menuRevealOf, menuShowsOf, missingDesignRows, missingFontRoles, motionCurve, motionLanguageForPlan, motionLanguageOf, motionWordTier, navBarAttributes, nodeDesignClasses, nodeIsRtl, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, openingFollowerSelector, openingMediaAttributes, openingMediaOf, ownedTraitStatus, ownedTraitsOf, packDesignChoices, pageColumn, pageOpeningScheme, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, phoneBarControls, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planPreloader, planSectionShape, planSwissMigration, popAllowed, preKeptSeedDesignTokenRows, preTintAccentGrounds, preloaderExitMotion, preloaderExitOf, preloaderGraphemes, preloaderLeaveAt, preloaderOfChoices, preloaderPercent, preloaderWords, presetChoices, presetModes, presetMotionLanguage, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveColourWords, resolveDesignChoices, resolveDesignMotion, resolveMotionLanguageChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, routeHasParams, routeParamValues, sameDesignChoices, schemeOfClasses, schemeOfGround, schemeTokenResolver, schemeUnderBar, scriptsForLocale, scrubOfChoices, sectionDesignClasses, sectionEdgeClass, sectionEdgeOf, sectionIsRtl, sectionShapeOf, sectionSpaceOnPhone, setColorScheme, setSectionEdge, setSectionShape, signatureMoveOf, signaturePreloaderOf, siteColumnOf, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, textWidthEm, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withSignatureMove, withoutScriptPartners, writeFieldError, writeOwnedTrait };
|
|
27067
27716
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|