@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
|
@@ -691,29 +691,54 @@ export const SPEC_TIERS = {
|
|
|
691
691
|
"default": "var(--iox-button-radius)"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
|
-
"name": "
|
|
694
|
+
"name": "action-bg",
|
|
695
695
|
"type": "color",
|
|
696
696
|
"default": "var(--iox-accent)"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
"name": "
|
|
699
|
+
"name": "action-ink",
|
|
700
700
|
"type": "color",
|
|
701
701
|
"default": "var(--iox-accent-ink)"
|
|
702
702
|
},
|
|
703
|
+
{
|
|
704
|
+
"name": "action-hover",
|
|
705
|
+
"type": "color",
|
|
706
|
+
"default": "var(--iox-accent-hover)"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "deep-bg",
|
|
710
|
+
"type": "color",
|
|
711
|
+
"default": "var(--iox-inverse-bg)"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "deep-ink",
|
|
715
|
+
"type": "color",
|
|
716
|
+
"default": "var(--iox-inverse-text)"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "button-primary-bg",
|
|
720
|
+
"type": "color",
|
|
721
|
+
"default": "var(--iox-action-bg)"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "button-primary-ink",
|
|
725
|
+
"type": "color",
|
|
726
|
+
"default": "var(--iox-action-ink)"
|
|
727
|
+
},
|
|
703
728
|
{
|
|
704
729
|
"name": "button-primary-border",
|
|
705
730
|
"type": "color",
|
|
706
|
-
"default": "var(--iox-
|
|
731
|
+
"default": "var(--iox-action-bg)"
|
|
707
732
|
},
|
|
708
733
|
{
|
|
709
734
|
"name": "button-primary-hover-bg",
|
|
710
735
|
"type": "color",
|
|
711
|
-
"default": "var(--iox-
|
|
736
|
+
"default": "var(--iox-action-hover)"
|
|
712
737
|
},
|
|
713
738
|
{
|
|
714
739
|
"name": "button-primary-hover-ink",
|
|
715
740
|
"type": "color",
|
|
716
|
-
"default": "var(--iox-
|
|
741
|
+
"default": "var(--iox-action-ink)"
|
|
717
742
|
},
|
|
718
743
|
{
|
|
719
744
|
"name": "button-secondary-bg",
|
|
@@ -1760,6 +1785,11 @@ export const SPEC_TOKEN_TYPES = [
|
|
|
1760
1785
|
] as const;
|
|
1761
1786
|
|
|
1762
1787
|
export const SPEC_AXES = {
|
|
1788
|
+
"sectionPhone": {
|
|
1789
|
+
"maxWidth": 767,
|
|
1790
|
+
"toward": 64,
|
|
1791
|
+
"share": 0.5
|
|
1792
|
+
},
|
|
1763
1793
|
"shapes": {
|
|
1764
1794
|
"sharp": {
|
|
1765
1795
|
"label": "Sharp",
|
|
@@ -1805,7 +1835,7 @@ export const SPEC_AXES = {
|
|
|
1805
1835
|
"densities": {
|
|
1806
1836
|
"compact": {
|
|
1807
1837
|
"label": "Compact",
|
|
1808
|
-
"space-section": "
|
|
1838
|
+
"space-section": "48px",
|
|
1809
1839
|
"space-gutter": "20px",
|
|
1810
1840
|
"space-gap": "16px",
|
|
1811
1841
|
"space-pad": "20px",
|
|
@@ -1814,7 +1844,7 @@ export const SPEC_AXES = {
|
|
|
1814
1844
|
},
|
|
1815
1845
|
"regular": {
|
|
1816
1846
|
"label": "Regular",
|
|
1817
|
-
"space-section": "
|
|
1847
|
+
"space-section": "72px",
|
|
1818
1848
|
"space-gutter": "24px",
|
|
1819
1849
|
"space-gap": "24px",
|
|
1820
1850
|
"space-pad": "24px",
|
|
@@ -1823,7 +1853,7 @@ export const SPEC_AXES = {
|
|
|
1823
1853
|
},
|
|
1824
1854
|
"airy": {
|
|
1825
1855
|
"label": "Airy",
|
|
1826
|
-
"space-section": "
|
|
1856
|
+
"space-section": "112px",
|
|
1827
1857
|
"space-gutter": "32px",
|
|
1828
1858
|
"space-gap": "32px",
|
|
1829
1859
|
"space-pad": "32px",
|
|
@@ -2018,6 +2048,26 @@ export const SPEC_AXES = {
|
|
|
2018
2048
|
}
|
|
2019
2049
|
}
|
|
2020
2050
|
},
|
|
2051
|
+
"actionPaints": {
|
|
2052
|
+
"accent": {
|
|
2053
|
+
"label": "Brand colour",
|
|
2054
|
+
"action-bg": "var(--iox-accent)",
|
|
2055
|
+
"action-ink": "var(--iox-accent-ink)",
|
|
2056
|
+
"action-hover": "var(--iox-accent-hover)"
|
|
2057
|
+
},
|
|
2058
|
+
"ink": {
|
|
2059
|
+
"label": "Ink",
|
|
2060
|
+
"action-bg": "var(--iox-text)",
|
|
2061
|
+
"action-ink": "var(--iox-bg)",
|
|
2062
|
+
"action-hover": "var(--iox-text)"
|
|
2063
|
+
},
|
|
2064
|
+
"deep": {
|
|
2065
|
+
"label": "Deep",
|
|
2066
|
+
"action-bg": "var(--iox-deep-bg)",
|
|
2067
|
+
"action-ink": "var(--iox-deep-ink)",
|
|
2068
|
+
"action-hover": "color-mix(in srgb, var(--iox-deep-bg) 86%, var(--iox-deep-ink))"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2021
2071
|
"columns": {
|
|
2022
2072
|
"wide": {
|
|
2023
2073
|
"label": "Wide",
|
|
@@ -2670,10 +2720,14 @@ export const SPEC_MOTION_LANGUAGE = {
|
|
|
2670
2720
|
},
|
|
2671
2721
|
"preloaderCapMs": 1500,
|
|
2672
2722
|
"preloaderLevels": [
|
|
2723
|
+
"subtle",
|
|
2724
|
+
"standard",
|
|
2673
2725
|
"lively",
|
|
2674
2726
|
"expressive"
|
|
2675
2727
|
],
|
|
2676
2728
|
"scrubLevels": [
|
|
2729
|
+
"subtle",
|
|
2730
|
+
"standard",
|
|
2677
2731
|
"lively",
|
|
2678
2732
|
"expressive"
|
|
2679
2733
|
],
|
|
@@ -4090,7 +4144,9 @@ export const SPEC_SCHEMES = {
|
|
|
4090
4144
|
"success": "{{~success}}",
|
|
4091
4145
|
"success-bg": "{{~success-bg}}",
|
|
4092
4146
|
"warning": "{{~warning}}",
|
|
4093
|
-
"warning-bg": "{{~warning-bg}}"
|
|
4147
|
+
"warning-bg": "{{~warning-bg}}",
|
|
4148
|
+
"deep-bg": "{{bg}}",
|
|
4149
|
+
"deep-ink": "{{text}}"
|
|
4094
4150
|
}
|
|
4095
4151
|
},
|
|
4096
4152
|
"accent": {
|
|
@@ -4185,7 +4241,11 @@ export const SPEC_A11Y = {
|
|
|
4185
4241
|
"nav-glass-backdrop": "none",
|
|
4186
4242
|
"dialog-backdrop": "none",
|
|
4187
4243
|
"tabbar-backdrop": "none",
|
|
4188
|
-
"segmented-track-backdrop": "none"
|
|
4244
|
+
"segmented-track-backdrop": "none",
|
|
4245
|
+
"page-bg": "var(--iox-bg)"
|
|
4246
|
+
},
|
|
4247
|
+
"moreContrast": {
|
|
4248
|
+
"page-bg": "var(--iox-bg)"
|
|
4189
4249
|
}
|
|
4190
4250
|
} as const;
|
|
4191
4251
|
|
|
@@ -6974,7 +7034,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6974
7034
|
"tier": "semantic",
|
|
6975
7035
|
"type": "spacing",
|
|
6976
7036
|
"group": "space",
|
|
6977
|
-
"value": "
|
|
7037
|
+
"value": "72px"
|
|
6978
7038
|
},
|
|
6979
7039
|
{
|
|
6980
7040
|
"name": "space-gutter",
|
|
@@ -7299,39 +7359,74 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
7299
7359
|
"value": "var(--iox-button-radius)"
|
|
7300
7360
|
},
|
|
7301
7361
|
{
|
|
7302
|
-
"name": "
|
|
7362
|
+
"name": "action-bg",
|
|
7303
7363
|
"tier": "component",
|
|
7304
7364
|
"type": "color",
|
|
7305
7365
|
"group": "components",
|
|
7306
7366
|
"value": "var(--iox-accent)"
|
|
7307
7367
|
},
|
|
7308
7368
|
{
|
|
7309
|
-
"name": "
|
|
7369
|
+
"name": "action-ink",
|
|
7310
7370
|
"tier": "component",
|
|
7311
7371
|
"type": "color",
|
|
7312
7372
|
"group": "components",
|
|
7313
7373
|
"value": "var(--iox-accent-ink)"
|
|
7314
7374
|
},
|
|
7375
|
+
{
|
|
7376
|
+
"name": "action-hover",
|
|
7377
|
+
"tier": "component",
|
|
7378
|
+
"type": "color",
|
|
7379
|
+
"group": "components",
|
|
7380
|
+
"value": "var(--iox-accent-hover)"
|
|
7381
|
+
},
|
|
7382
|
+
{
|
|
7383
|
+
"name": "deep-bg",
|
|
7384
|
+
"tier": "component",
|
|
7385
|
+
"type": "color",
|
|
7386
|
+
"group": "components",
|
|
7387
|
+
"value": "var(--iox-inverse-bg)"
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
"name": "deep-ink",
|
|
7391
|
+
"tier": "component",
|
|
7392
|
+
"type": "color",
|
|
7393
|
+
"group": "components",
|
|
7394
|
+
"value": "var(--iox-inverse-text)"
|
|
7395
|
+
},
|
|
7396
|
+
{
|
|
7397
|
+
"name": "button-primary-bg",
|
|
7398
|
+
"tier": "component",
|
|
7399
|
+
"type": "color",
|
|
7400
|
+
"group": "components",
|
|
7401
|
+
"value": "var(--iox-action-bg)"
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
7404
|
+
"name": "button-primary-ink",
|
|
7405
|
+
"tier": "component",
|
|
7406
|
+
"type": "color",
|
|
7407
|
+
"group": "components",
|
|
7408
|
+
"value": "var(--iox-action-ink)"
|
|
7409
|
+
},
|
|
7315
7410
|
{
|
|
7316
7411
|
"name": "button-primary-border",
|
|
7317
7412
|
"tier": "component",
|
|
7318
7413
|
"type": "color",
|
|
7319
7414
|
"group": "components",
|
|
7320
|
-
"value": "var(--iox-
|
|
7415
|
+
"value": "var(--iox-action-bg)"
|
|
7321
7416
|
},
|
|
7322
7417
|
{
|
|
7323
7418
|
"name": "button-primary-hover-bg",
|
|
7324
7419
|
"tier": "component",
|
|
7325
7420
|
"type": "color",
|
|
7326
7421
|
"group": "components",
|
|
7327
|
-
"value": "var(--iox-
|
|
7422
|
+
"value": "var(--iox-action-hover)"
|
|
7328
7423
|
},
|
|
7329
7424
|
{
|
|
7330
7425
|
"name": "button-primary-hover-ink",
|
|
7331
7426
|
"tier": "component",
|
|
7332
7427
|
"type": "color",
|
|
7333
7428
|
"group": "components",
|
|
7334
|
-
"value": "var(--iox-
|
|
7429
|
+
"value": "var(--iox-action-ink)"
|
|
7335
7430
|
},
|
|
7336
7431
|
{
|
|
7337
7432
|
"name": "button-secondary-bg",
|
|
@@ -9455,7 +9550,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
9455
9550
|
"tier": "semantic",
|
|
9456
9551
|
"type": "spacing",
|
|
9457
9552
|
"group": "space",
|
|
9458
|
-
"value": "
|
|
9553
|
+
"value": "112px"
|
|
9459
9554
|
},
|
|
9460
9555
|
{
|
|
9461
9556
|
"name": "space-gutter",
|
|
@@ -9782,6 +9877,41 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
9782
9877
|
"group": "components",
|
|
9783
9878
|
"value": "var(--iox-button-radius)"
|
|
9784
9879
|
},
|
|
9880
|
+
{
|
|
9881
|
+
"name": "action-bg",
|
|
9882
|
+
"tier": "component",
|
|
9883
|
+
"type": "color",
|
|
9884
|
+
"group": "components",
|
|
9885
|
+
"value": "var(--iox-accent)"
|
|
9886
|
+
},
|
|
9887
|
+
{
|
|
9888
|
+
"name": "action-ink",
|
|
9889
|
+
"tier": "component",
|
|
9890
|
+
"type": "color",
|
|
9891
|
+
"group": "components",
|
|
9892
|
+
"value": "var(--iox-accent-ink)"
|
|
9893
|
+
},
|
|
9894
|
+
{
|
|
9895
|
+
"name": "action-hover",
|
|
9896
|
+
"tier": "component",
|
|
9897
|
+
"type": "color",
|
|
9898
|
+
"group": "components",
|
|
9899
|
+
"value": "var(--iox-accent-hover)"
|
|
9900
|
+
},
|
|
9901
|
+
{
|
|
9902
|
+
"name": "deep-bg",
|
|
9903
|
+
"tier": "component",
|
|
9904
|
+
"type": "color",
|
|
9905
|
+
"group": "components",
|
|
9906
|
+
"value": "var(--iox-inverse-bg)"
|
|
9907
|
+
},
|
|
9908
|
+
{
|
|
9909
|
+
"name": "deep-ink",
|
|
9910
|
+
"tier": "component",
|
|
9911
|
+
"type": "color",
|
|
9912
|
+
"group": "components",
|
|
9913
|
+
"value": "var(--iox-inverse-text)"
|
|
9914
|
+
},
|
|
9785
9915
|
{
|
|
9786
9916
|
"name": "button-primary-bg",
|
|
9787
9917
|
"tier": "component",
|
|
@@ -11969,7 +12099,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
11969
12099
|
"tier": "semantic",
|
|
11970
12100
|
"type": "spacing",
|
|
11971
12101
|
"group": "space",
|
|
11972
|
-
"value": "
|
|
12102
|
+
"value": "72px"
|
|
11973
12103
|
},
|
|
11974
12104
|
{
|
|
11975
12105
|
"name": "space-gutter",
|
|
@@ -12296,39 +12426,74 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
12296
12426
|
"value": "var(--iox-button-radius)"
|
|
12297
12427
|
},
|
|
12298
12428
|
{
|
|
12299
|
-
"name": "
|
|
12429
|
+
"name": "action-bg",
|
|
12300
12430
|
"tier": "component",
|
|
12301
12431
|
"type": "color",
|
|
12302
12432
|
"group": "components",
|
|
12303
12433
|
"value": "var(--iox-accent)"
|
|
12304
12434
|
},
|
|
12305
12435
|
{
|
|
12306
|
-
"name": "
|
|
12436
|
+
"name": "action-ink",
|
|
12307
12437
|
"tier": "component",
|
|
12308
12438
|
"type": "color",
|
|
12309
12439
|
"group": "components",
|
|
12310
12440
|
"value": "var(--iox-accent-ink)"
|
|
12311
12441
|
},
|
|
12442
|
+
{
|
|
12443
|
+
"name": "action-hover",
|
|
12444
|
+
"tier": "component",
|
|
12445
|
+
"type": "color",
|
|
12446
|
+
"group": "components",
|
|
12447
|
+
"value": "var(--iox-accent-hover)"
|
|
12448
|
+
},
|
|
12449
|
+
{
|
|
12450
|
+
"name": "deep-bg",
|
|
12451
|
+
"tier": "component",
|
|
12452
|
+
"type": "color",
|
|
12453
|
+
"group": "components",
|
|
12454
|
+
"value": "var(--iox-inverse-bg)"
|
|
12455
|
+
},
|
|
12456
|
+
{
|
|
12457
|
+
"name": "deep-ink",
|
|
12458
|
+
"tier": "component",
|
|
12459
|
+
"type": "color",
|
|
12460
|
+
"group": "components",
|
|
12461
|
+
"value": "var(--iox-inverse-text)"
|
|
12462
|
+
},
|
|
12463
|
+
{
|
|
12464
|
+
"name": "button-primary-bg",
|
|
12465
|
+
"tier": "component",
|
|
12466
|
+
"type": "color",
|
|
12467
|
+
"group": "components",
|
|
12468
|
+
"value": "var(--iox-action-bg)"
|
|
12469
|
+
},
|
|
12470
|
+
{
|
|
12471
|
+
"name": "button-primary-ink",
|
|
12472
|
+
"tier": "component",
|
|
12473
|
+
"type": "color",
|
|
12474
|
+
"group": "components",
|
|
12475
|
+
"value": "var(--iox-action-ink)"
|
|
12476
|
+
},
|
|
12312
12477
|
{
|
|
12313
12478
|
"name": "button-primary-border",
|
|
12314
12479
|
"tier": "component",
|
|
12315
12480
|
"type": "color",
|
|
12316
12481
|
"group": "components",
|
|
12317
|
-
"value": "var(--iox-
|
|
12482
|
+
"value": "var(--iox-action-bg)"
|
|
12318
12483
|
},
|
|
12319
12484
|
{
|
|
12320
12485
|
"name": "button-primary-hover-bg",
|
|
12321
12486
|
"tier": "component",
|
|
12322
12487
|
"type": "color",
|
|
12323
12488
|
"group": "components",
|
|
12324
|
-
"value": "var(--iox-
|
|
12489
|
+
"value": "var(--iox-action-hover)"
|
|
12325
12490
|
},
|
|
12326
12491
|
{
|
|
12327
12492
|
"name": "button-primary-hover-ink",
|
|
12328
12493
|
"tier": "component",
|
|
12329
12494
|
"type": "color",
|
|
12330
12495
|
"group": "components",
|
|
12331
|
-
"value": "var(--iox-
|
|
12496
|
+
"value": "var(--iox-action-ink)"
|
|
12332
12497
|
},
|
|
12333
12498
|
{
|
|
12334
12499
|
"name": "button-secondary-bg",
|
|
@@ -14479,7 +14644,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
14479
14644
|
"tier": "semantic",
|
|
14480
14645
|
"type": "spacing",
|
|
14481
14646
|
"group": "space",
|
|
14482
|
-
"value": "
|
|
14647
|
+
"value": "72px"
|
|
14483
14648
|
},
|
|
14484
14649
|
{
|
|
14485
14650
|
"name": "space-gutter",
|
|
@@ -14808,39 +14973,74 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
14808
14973
|
"value": "var(--iox-button-radius)"
|
|
14809
14974
|
},
|
|
14810
14975
|
{
|
|
14811
|
-
"name": "
|
|
14976
|
+
"name": "action-bg",
|
|
14812
14977
|
"tier": "component",
|
|
14813
14978
|
"type": "color",
|
|
14814
14979
|
"group": "components",
|
|
14815
14980
|
"value": "var(--iox-accent)"
|
|
14816
14981
|
},
|
|
14817
14982
|
{
|
|
14818
|
-
"name": "
|
|
14983
|
+
"name": "action-ink",
|
|
14819
14984
|
"tier": "component",
|
|
14820
14985
|
"type": "color",
|
|
14821
14986
|
"group": "components",
|
|
14822
14987
|
"value": "var(--iox-accent-ink)"
|
|
14823
14988
|
},
|
|
14989
|
+
{
|
|
14990
|
+
"name": "action-hover",
|
|
14991
|
+
"tier": "component",
|
|
14992
|
+
"type": "color",
|
|
14993
|
+
"group": "components",
|
|
14994
|
+
"value": "var(--iox-accent-hover)"
|
|
14995
|
+
},
|
|
14996
|
+
{
|
|
14997
|
+
"name": "deep-bg",
|
|
14998
|
+
"tier": "component",
|
|
14999
|
+
"type": "color",
|
|
15000
|
+
"group": "components",
|
|
15001
|
+
"value": "var(--iox-inverse-bg)"
|
|
15002
|
+
},
|
|
15003
|
+
{
|
|
15004
|
+
"name": "deep-ink",
|
|
15005
|
+
"tier": "component",
|
|
15006
|
+
"type": "color",
|
|
15007
|
+
"group": "components",
|
|
15008
|
+
"value": "var(--iox-inverse-text)"
|
|
15009
|
+
},
|
|
15010
|
+
{
|
|
15011
|
+
"name": "button-primary-bg",
|
|
15012
|
+
"tier": "component",
|
|
15013
|
+
"type": "color",
|
|
15014
|
+
"group": "components",
|
|
15015
|
+
"value": "var(--iox-action-bg)"
|
|
15016
|
+
},
|
|
15017
|
+
{
|
|
15018
|
+
"name": "button-primary-ink",
|
|
15019
|
+
"tier": "component",
|
|
15020
|
+
"type": "color",
|
|
15021
|
+
"group": "components",
|
|
15022
|
+
"value": "var(--iox-action-ink)"
|
|
15023
|
+
},
|
|
14824
15024
|
{
|
|
14825
15025
|
"name": "button-primary-border",
|
|
14826
15026
|
"tier": "component",
|
|
14827
15027
|
"type": "color",
|
|
14828
15028
|
"group": "components",
|
|
14829
|
-
"value": "var(--iox-
|
|
15029
|
+
"value": "var(--iox-action-bg)"
|
|
14830
15030
|
},
|
|
14831
15031
|
{
|
|
14832
15032
|
"name": "button-primary-hover-bg",
|
|
14833
15033
|
"tier": "component",
|
|
14834
15034
|
"type": "color",
|
|
14835
15035
|
"group": "components",
|
|
14836
|
-
"value": "var(--iox-
|
|
15036
|
+
"value": "var(--iox-action-hover)"
|
|
14837
15037
|
},
|
|
14838
15038
|
{
|
|
14839
15039
|
"name": "button-primary-hover-ink",
|
|
14840
15040
|
"tier": "component",
|
|
14841
15041
|
"type": "color",
|
|
14842
15042
|
"group": "components",
|
|
14843
|
-
"value": "var(--iox-
|
|
15043
|
+
"value": "var(--iox-action-ink)"
|
|
14844
15044
|
},
|
|
14845
15045
|
{
|
|
14846
15046
|
"name": "button-secondary-bg",
|
|
@@ -17005,7 +17205,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
17005
17205
|
"tier": "semantic",
|
|
17006
17206
|
"type": "spacing",
|
|
17007
17207
|
"group": "space",
|
|
17008
|
-
"value": "
|
|
17208
|
+
"value": "72px"
|
|
17009
17209
|
},
|
|
17010
17210
|
{
|
|
17011
17211
|
"name": "space-gutter",
|
|
@@ -17333,39 +17533,74 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
17333
17533
|
"overridden": true
|
|
17334
17534
|
},
|
|
17335
17535
|
{
|
|
17336
|
-
"name": "
|
|
17536
|
+
"name": "action-bg",
|
|
17337
17537
|
"tier": "component",
|
|
17338
17538
|
"type": "color",
|
|
17339
17539
|
"group": "components",
|
|
17340
17540
|
"value": "var(--iox-accent)"
|
|
17341
17541
|
},
|
|
17342
17542
|
{
|
|
17343
|
-
"name": "
|
|
17543
|
+
"name": "action-ink",
|
|
17344
17544
|
"tier": "component",
|
|
17345
17545
|
"type": "color",
|
|
17346
17546
|
"group": "components",
|
|
17347
17547
|
"value": "var(--iox-accent-ink)"
|
|
17348
17548
|
},
|
|
17549
|
+
{
|
|
17550
|
+
"name": "action-hover",
|
|
17551
|
+
"tier": "component",
|
|
17552
|
+
"type": "color",
|
|
17553
|
+
"group": "components",
|
|
17554
|
+
"value": "var(--iox-accent-hover)"
|
|
17555
|
+
},
|
|
17556
|
+
{
|
|
17557
|
+
"name": "deep-bg",
|
|
17558
|
+
"tier": "component",
|
|
17559
|
+
"type": "color",
|
|
17560
|
+
"group": "components",
|
|
17561
|
+
"value": "var(--iox-inverse-bg)"
|
|
17562
|
+
},
|
|
17563
|
+
{
|
|
17564
|
+
"name": "deep-ink",
|
|
17565
|
+
"tier": "component",
|
|
17566
|
+
"type": "color",
|
|
17567
|
+
"group": "components",
|
|
17568
|
+
"value": "var(--iox-inverse-text)"
|
|
17569
|
+
},
|
|
17570
|
+
{
|
|
17571
|
+
"name": "button-primary-bg",
|
|
17572
|
+
"tier": "component",
|
|
17573
|
+
"type": "color",
|
|
17574
|
+
"group": "components",
|
|
17575
|
+
"value": "var(--iox-action-bg)"
|
|
17576
|
+
},
|
|
17577
|
+
{
|
|
17578
|
+
"name": "button-primary-ink",
|
|
17579
|
+
"tier": "component",
|
|
17580
|
+
"type": "color",
|
|
17581
|
+
"group": "components",
|
|
17582
|
+
"value": "var(--iox-action-ink)"
|
|
17583
|
+
},
|
|
17349
17584
|
{
|
|
17350
17585
|
"name": "button-primary-border",
|
|
17351
17586
|
"tier": "component",
|
|
17352
17587
|
"type": "color",
|
|
17353
17588
|
"group": "components",
|
|
17354
|
-
"value": "var(--iox-
|
|
17589
|
+
"value": "var(--iox-action-bg)"
|
|
17355
17590
|
},
|
|
17356
17591
|
{
|
|
17357
17592
|
"name": "button-primary-hover-bg",
|
|
17358
17593
|
"tier": "component",
|
|
17359
17594
|
"type": "color",
|
|
17360
17595
|
"group": "components",
|
|
17361
|
-
"value": "var(--iox-
|
|
17596
|
+
"value": "var(--iox-action-hover)"
|
|
17362
17597
|
},
|
|
17363
17598
|
{
|
|
17364
17599
|
"name": "button-primary-hover-ink",
|
|
17365
17600
|
"tier": "component",
|
|
17366
17601
|
"type": "color",
|
|
17367
17602
|
"group": "components",
|
|
17368
|
-
"value": "var(--iox-
|
|
17603
|
+
"value": "var(--iox-action-ink)"
|
|
17369
17604
|
},
|
|
17370
17605
|
{
|
|
17371
17606
|
"name": "button-secondary-bg",
|
|
@@ -19499,7 +19734,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
19499
19734
|
"tier": "semantic",
|
|
19500
19735
|
"type": "spacing",
|
|
19501
19736
|
"group": "space",
|
|
19502
|
-
"value": "
|
|
19737
|
+
"value": "48px"
|
|
19503
19738
|
},
|
|
19504
19739
|
{
|
|
19505
19740
|
"name": "space-gutter",
|
|
@@ -19832,19 +20067,54 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
19832
20067
|
"value": "var(--iox-button-radius)"
|
|
19833
20068
|
},
|
|
19834
20069
|
{
|
|
19835
|
-
"name": "
|
|
20070
|
+
"name": "action-bg",
|
|
19836
20071
|
"tier": "component",
|
|
19837
20072
|
"type": "color",
|
|
19838
20073
|
"group": "components",
|
|
19839
20074
|
"value": "var(--iox-accent)"
|
|
19840
20075
|
},
|
|
19841
20076
|
{
|
|
19842
|
-
"name": "
|
|
20077
|
+
"name": "action-ink",
|
|
19843
20078
|
"tier": "component",
|
|
19844
20079
|
"type": "color",
|
|
19845
20080
|
"group": "components",
|
|
19846
20081
|
"value": "var(--iox-accent-ink)"
|
|
19847
20082
|
},
|
|
20083
|
+
{
|
|
20084
|
+
"name": "action-hover",
|
|
20085
|
+
"tier": "component",
|
|
20086
|
+
"type": "color",
|
|
20087
|
+
"group": "components",
|
|
20088
|
+
"value": "var(--iox-accent-hover)"
|
|
20089
|
+
},
|
|
20090
|
+
{
|
|
20091
|
+
"name": "deep-bg",
|
|
20092
|
+
"tier": "component",
|
|
20093
|
+
"type": "color",
|
|
20094
|
+
"group": "components",
|
|
20095
|
+
"value": "var(--iox-inverse-bg)"
|
|
20096
|
+
},
|
|
20097
|
+
{
|
|
20098
|
+
"name": "deep-ink",
|
|
20099
|
+
"tier": "component",
|
|
20100
|
+
"type": "color",
|
|
20101
|
+
"group": "components",
|
|
20102
|
+
"value": "var(--iox-inverse-text)"
|
|
20103
|
+
},
|
|
20104
|
+
{
|
|
20105
|
+
"name": "button-primary-bg",
|
|
20106
|
+
"tier": "component",
|
|
20107
|
+
"type": "color",
|
|
20108
|
+
"group": "components",
|
|
20109
|
+
"value": "var(--iox-action-bg)"
|
|
20110
|
+
},
|
|
20111
|
+
{
|
|
20112
|
+
"name": "button-primary-ink",
|
|
20113
|
+
"tier": "component",
|
|
20114
|
+
"type": "color",
|
|
20115
|
+
"group": "components",
|
|
20116
|
+
"value": "var(--iox-action-ink)"
|
|
20117
|
+
},
|
|
19848
20118
|
{
|
|
19849
20119
|
"name": "button-primary-border",
|
|
19850
20120
|
"tier": "component",
|
|
@@ -19858,7 +20128,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
19858
20128
|
"tier": "component",
|
|
19859
20129
|
"type": "color",
|
|
19860
20130
|
"group": "components",
|
|
19861
|
-
"value": "var(--iox-
|
|
20131
|
+
"value": "var(--iox-action-bg)",
|
|
19862
20132
|
"overridden": true
|
|
19863
20133
|
},
|
|
19864
20134
|
{
|
|
@@ -19866,7 +20136,7 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
19866
20136
|
"tier": "component",
|
|
19867
20137
|
"type": "color",
|
|
19868
20138
|
"group": "components",
|
|
19869
|
-
"value": "var(--iox-
|
|
20139
|
+
"value": "var(--iox-action-ink)"
|
|
19870
20140
|
},
|
|
19871
20141
|
{
|
|
19872
20142
|
"name": "button-secondary-bg",
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
import { motionCurve, motionLanguageOf } from './motion-language';
|
|
9
9
|
import { CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, contentCapOf, contentWidthOf } from './node-classes';
|
|
10
10
|
import { stylePresetOfChoices } from './style-presets';
|
|
11
|
+
import { actionPaintTokens } from './colour-words';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* A flavor's COMPLETE token set for a studio's choices (design-system plan §3a/§3e). A flavor IS
|
|
@@ -115,7 +116,10 @@ export function buildFlavorTokens(pack: FlavorPackV2, choices: DesignChoices): D
|
|
|
115
116
|
if (typeof family === 'string' && family.trim() !== '') set(role, userFontStack(family, byName.get(role)?.value), USER_TOKEN_SOURCE);
|
|
116
117
|
}
|
|
117
118
|
|
|
118
|
-
|
|
119
|
+
// CV2: the ground and dark words are computed with the brand and tint (colour.mjs port); the button word is three
|
|
120
|
+
// component tokens that reference roles (`axes.actionPaints`).
|
|
121
|
+
setColours(byName, flavorColours(pack, { seed: choices.seed, tint: choices.tint ?? pack.defaults.tint, ground: choices.ground, dark: choices.dark, wash: choices.wash }));
|
|
122
|
+
for (const [name, value] of actionPaintTokens(choices.action)) set(name, value);
|
|
119
123
|
|
|
120
124
|
return rows;
|
|
121
125
|
}
|