@vectoriox/iox-ui 5.87.0 → 5.88.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 +17 -3
- package/composite-core/index.d.ts +208 -2
- package/design-core/index.d.ts +373 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +30 -4
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +656 -116
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +444 -3
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +5 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +231 -7
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +603 -20
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/index.d.ts +196 -2
- package/package.json +1 -1
- package/scene-core/index.d.ts +158 -2
- package/src/actions-core/action.model.ts +3 -0
- package/src/actions-core/element-actions.ts +32 -3
- package/src/composite-core/marquee-runtime.ts +255 -0
- package/src/composite-core/marquee.ts +267 -0
- package/src/composite-core/public-api.ts +3 -0
- package/src/composite-core/scroll-recipes.ts +74 -0
- package/src/composite-core/structure.ts +7 -0
- package/src/design-core/contrast-audit.ts +6 -1
- package/src/design-core/flavor-spec.generated.ts +435 -1
- package/src/generation-core/node-baselines.generated.ts +5 -1
- package/src/scene-core/public-api.ts +1 -0
- package/src/scene-core/scroll-driver.ts +98 -0
- package/src/scene-core/scroll-range.ts +195 -0
- package/styles/iox-design.css +49 -1
|
@@ -1440,6 +1440,46 @@ const SPEC_TIERS = {
|
|
|
1440
1440
|
"name": "slider-ease",
|
|
1441
1441
|
"type": "easing",
|
|
1442
1442
|
"default": "var(--iox-ease-standard)"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "marquee-speed",
|
|
1446
|
+
"type": "number",
|
|
1447
|
+
"default": "40"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "marquee-gap",
|
|
1451
|
+
"type": "spacing",
|
|
1452
|
+
"default": "var(--iox-space-gap)"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"name": "marquee-fade",
|
|
1456
|
+
"type": "size",
|
|
1457
|
+
"default": "48px"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "marquee-control-bg",
|
|
1461
|
+
"type": "color",
|
|
1462
|
+
"default": "var(--iox-surface)"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "marquee-control-ink",
|
|
1466
|
+
"type": "color",
|
|
1467
|
+
"default": "var(--iox-text)"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "marquee-control-border",
|
|
1471
|
+
"type": "color",
|
|
1472
|
+
"default": "var(--iox-line-strong)"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "progress-height",
|
|
1476
|
+
"type": "size",
|
|
1477
|
+
"default": "3px"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "progress-fill",
|
|
1481
|
+
"type": "color",
|
|
1482
|
+
"default": "var(--iox-text)"
|
|
1443
1483
|
}
|
|
1444
1484
|
]
|
|
1445
1485
|
};
|
|
@@ -1538,6 +1578,7 @@ const SPEC_AXES = {
|
|
|
1538
1578
|
"dur-hover": "0ms",
|
|
1539
1579
|
"dur-press": "0ms",
|
|
1540
1580
|
"dur-ui": "0ms",
|
|
1581
|
+
"marquee-speed": "0",
|
|
1541
1582
|
"tooltip-dur-in": "0ms",
|
|
1542
1583
|
"tooltip-dur-out": "0ms",
|
|
1543
1584
|
"popover-dur-in": "0ms",
|
|
@@ -1560,6 +1601,7 @@ const SPEC_AXES = {
|
|
|
1560
1601
|
"dur-hover": "80ms",
|
|
1561
1602
|
"dur-press": "60ms",
|
|
1562
1603
|
"dur-ui": "140ms",
|
|
1604
|
+
"marquee-speed": "52",
|
|
1563
1605
|
"tooltip-dur-in": "100ms",
|
|
1564
1606
|
"tooltip-dur-out": "70ms",
|
|
1565
1607
|
"popover-dur-in": "160ms",
|
|
@@ -1582,6 +1624,7 @@ const SPEC_AXES = {
|
|
|
1582
1624
|
"dur-hover": "120ms",
|
|
1583
1625
|
"dur-press": "90ms",
|
|
1584
1626
|
"dur-ui": "200ms",
|
|
1627
|
+
"marquee-speed": "40",
|
|
1585
1628
|
"tooltip-dur-in": "125ms",
|
|
1586
1629
|
"tooltip-dur-out": "80ms",
|
|
1587
1630
|
"popover-dur-in": "200ms",
|
|
@@ -1604,6 +1647,7 @@ const SPEC_AXES = {
|
|
|
1604
1647
|
"dur-hover": "150ms",
|
|
1605
1648
|
"dur-press": "120ms",
|
|
1606
1649
|
"dur-ui": "300ms",
|
|
1650
|
+
"marquee-speed": "28",
|
|
1607
1651
|
"tooltip-dur-in": "160ms",
|
|
1608
1652
|
"tooltip-dur-out": "110ms",
|
|
1609
1653
|
"popover-dur-in": "260ms",
|
|
@@ -1626,6 +1670,7 @@ const SPEC_AXES = {
|
|
|
1626
1670
|
"dur-hover": "150ms",
|
|
1627
1671
|
"dur-press": "100ms",
|
|
1628
1672
|
"dur-ui": "280ms",
|
|
1673
|
+
"marquee-speed": "56",
|
|
1629
1674
|
"tooltip-dur-in": "140ms",
|
|
1630
1675
|
"tooltip-dur-out": "90ms",
|
|
1631
1676
|
"popover-dur-in": "220ms",
|
|
@@ -2867,7 +2912,8 @@ const SPEC_A11Y = {
|
|
|
2867
2912
|
"button-press-x": "0px",
|
|
2868
2913
|
"button-press-y": "0px",
|
|
2869
2914
|
"button-press-scale": "1",
|
|
2870
|
-
"image-hover-scale": "1"
|
|
2915
|
+
"image-hover-scale": "1",
|
|
2916
|
+
"marquee-speed": "0"
|
|
2871
2917
|
},
|
|
2872
2918
|
"reducedTransparency": {
|
|
2873
2919
|
"surface-glass": "var(--iox-surface)",
|
|
@@ -3801,6 +3847,58 @@ const SPEC_ELEMENT_STYLES = [
|
|
|
3801
3847
|
"opacity": "0.4"
|
|
3802
3848
|
}
|
|
3803
3849
|
},
|
|
3850
|
+
{
|
|
3851
|
+
"id": "marquee",
|
|
3852
|
+
"label": "Marquee",
|
|
3853
|
+
"group": "Layout",
|
|
3854
|
+
"appliesTo": [
|
|
3855
|
+
"Container"
|
|
3856
|
+
],
|
|
3857
|
+
"base": {
|
|
3858
|
+
"gap": "var(--iox-marquee-gap)",
|
|
3859
|
+
"color": "inherit"
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"id": "marquee-control",
|
|
3864
|
+
"label": "Marquee pause",
|
|
3865
|
+
"group": "Buttons",
|
|
3866
|
+
"appliesTo": [
|
|
3867
|
+
"ButtonBlock"
|
|
3868
|
+
],
|
|
3869
|
+
"base": {
|
|
3870
|
+
"backgroundColor": "var(--iox-marquee-control-bg)",
|
|
3871
|
+
"color": "var(--iox-marquee-control-ink)",
|
|
3872
|
+
"borderStyle": "solid",
|
|
3873
|
+
"borderWidth": "var(--iox-border-width)",
|
|
3874
|
+
"borderColor": "var(--iox-marquee-control-border)",
|
|
3875
|
+
"borderRadius": "var(--iox-radius-pill)",
|
|
3876
|
+
"transitionDuration": "var(--iox-dur-hover)",
|
|
3877
|
+
"transitionTimingFunction": "var(--iox-ease-hover)"
|
|
3878
|
+
},
|
|
3879
|
+
"hover": {
|
|
3880
|
+
"backgroundColor": "var(--iox-surface-2)"
|
|
3881
|
+
},
|
|
3882
|
+
"active": {
|
|
3883
|
+
"scaleX": "var(--iox-press-scale)",
|
|
3884
|
+
"scaleY": "var(--iox-press-scale)"
|
|
3885
|
+
},
|
|
3886
|
+
"focus": {
|
|
3887
|
+
"boxShadow": "var(--iox-focus-ring)"
|
|
3888
|
+
}
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
"id": "progress-bar",
|
|
3892
|
+
"label": "Progress bar",
|
|
3893
|
+
"group": "Media",
|
|
3894
|
+
"appliesTo": [
|
|
3895
|
+
"Container"
|
|
3896
|
+
],
|
|
3897
|
+
"base": {
|
|
3898
|
+
"backgroundColor": "var(--iox-progress-fill)",
|
|
3899
|
+
"height": "var(--iox-progress-height)"
|
|
3900
|
+
}
|
|
3901
|
+
},
|
|
3804
3902
|
{
|
|
3805
3903
|
"id": "notice-success",
|
|
3806
3904
|
"label": "Success message",
|
|
@@ -6583,6 +6681,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
6583
6681
|
"type": "easing",
|
|
6584
6682
|
"group": "components",
|
|
6585
6683
|
"value": "var(--iox-ease-standard)"
|
|
6684
|
+
},
|
|
6685
|
+
{
|
|
6686
|
+
"name": "marquee-speed",
|
|
6687
|
+
"tier": "component",
|
|
6688
|
+
"type": "number",
|
|
6689
|
+
"group": "components",
|
|
6690
|
+
"value": "40"
|
|
6691
|
+
},
|
|
6692
|
+
{
|
|
6693
|
+
"name": "marquee-gap",
|
|
6694
|
+
"tier": "component",
|
|
6695
|
+
"type": "spacing",
|
|
6696
|
+
"group": "components",
|
|
6697
|
+
"value": "var(--iox-space-gap)"
|
|
6698
|
+
},
|
|
6699
|
+
{
|
|
6700
|
+
"name": "marquee-fade",
|
|
6701
|
+
"tier": "component",
|
|
6702
|
+
"type": "size",
|
|
6703
|
+
"group": "components",
|
|
6704
|
+
"value": "48px"
|
|
6705
|
+
},
|
|
6706
|
+
{
|
|
6707
|
+
"name": "marquee-control-bg",
|
|
6708
|
+
"tier": "component",
|
|
6709
|
+
"type": "color",
|
|
6710
|
+
"group": "components",
|
|
6711
|
+
"value": "var(--iox-surface)"
|
|
6712
|
+
},
|
|
6713
|
+
{
|
|
6714
|
+
"name": "marquee-control-ink",
|
|
6715
|
+
"tier": "component",
|
|
6716
|
+
"type": "color",
|
|
6717
|
+
"group": "components",
|
|
6718
|
+
"value": "var(--iox-text)"
|
|
6719
|
+
},
|
|
6720
|
+
{
|
|
6721
|
+
"name": "marquee-control-border",
|
|
6722
|
+
"tier": "component",
|
|
6723
|
+
"type": "color",
|
|
6724
|
+
"group": "components",
|
|
6725
|
+
"value": "var(--iox-line-strong)"
|
|
6726
|
+
},
|
|
6727
|
+
{
|
|
6728
|
+
"name": "progress-height",
|
|
6729
|
+
"tier": "component",
|
|
6730
|
+
"type": "size",
|
|
6731
|
+
"group": "components",
|
|
6732
|
+
"value": "3px"
|
|
6733
|
+
},
|
|
6734
|
+
{
|
|
6735
|
+
"name": "progress-fill",
|
|
6736
|
+
"tier": "component",
|
|
6737
|
+
"type": "color",
|
|
6738
|
+
"group": "components",
|
|
6739
|
+
"value": "var(--iox-text)"
|
|
6586
6740
|
}
|
|
6587
6741
|
]
|
|
6588
6742
|
},
|
|
@@ -8684,6 +8838,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
8684
8838
|
"type": "easing",
|
|
8685
8839
|
"group": "components",
|
|
8686
8840
|
"value": "var(--iox-ease-standard)"
|
|
8841
|
+
},
|
|
8842
|
+
{
|
|
8843
|
+
"name": "marquee-speed",
|
|
8844
|
+
"tier": "component",
|
|
8845
|
+
"type": "number",
|
|
8846
|
+
"group": "components",
|
|
8847
|
+
"value": "28"
|
|
8848
|
+
},
|
|
8849
|
+
{
|
|
8850
|
+
"name": "marquee-gap",
|
|
8851
|
+
"tier": "component",
|
|
8852
|
+
"type": "spacing",
|
|
8853
|
+
"group": "components",
|
|
8854
|
+
"value": "var(--iox-space-gap)"
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
"name": "marquee-fade",
|
|
8858
|
+
"tier": "component",
|
|
8859
|
+
"type": "size",
|
|
8860
|
+
"group": "components",
|
|
8861
|
+
"value": "48px"
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
"name": "marquee-control-bg",
|
|
8865
|
+
"tier": "component",
|
|
8866
|
+
"type": "color",
|
|
8867
|
+
"group": "components",
|
|
8868
|
+
"value": "var(--iox-surface)"
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"name": "marquee-control-ink",
|
|
8872
|
+
"tier": "component",
|
|
8873
|
+
"type": "color",
|
|
8874
|
+
"group": "components",
|
|
8875
|
+
"value": "var(--iox-text)"
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"name": "marquee-control-border",
|
|
8879
|
+
"tier": "component",
|
|
8880
|
+
"type": "color",
|
|
8881
|
+
"group": "components",
|
|
8882
|
+
"value": "var(--iox-line-strong)"
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"name": "progress-height",
|
|
8886
|
+
"tier": "component",
|
|
8887
|
+
"type": "size",
|
|
8888
|
+
"group": "components",
|
|
8889
|
+
"value": "3px"
|
|
8890
|
+
},
|
|
8891
|
+
{
|
|
8892
|
+
"name": "progress-fill",
|
|
8893
|
+
"tier": "component",
|
|
8894
|
+
"type": "color",
|
|
8895
|
+
"group": "components",
|
|
8896
|
+
"value": "var(--iox-text)"
|
|
8687
8897
|
}
|
|
8688
8898
|
]
|
|
8689
8899
|
},
|
|
@@ -10773,6 +10983,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
10773
10983
|
"type": "easing",
|
|
10774
10984
|
"group": "components",
|
|
10775
10985
|
"value": "var(--iox-ease-standard)"
|
|
10986
|
+
},
|
|
10987
|
+
{
|
|
10988
|
+
"name": "marquee-speed",
|
|
10989
|
+
"tier": "component",
|
|
10990
|
+
"type": "number",
|
|
10991
|
+
"group": "components",
|
|
10992
|
+
"value": "40"
|
|
10993
|
+
},
|
|
10994
|
+
{
|
|
10995
|
+
"name": "marquee-gap",
|
|
10996
|
+
"tier": "component",
|
|
10997
|
+
"type": "spacing",
|
|
10998
|
+
"group": "components",
|
|
10999
|
+
"value": "var(--iox-space-gap)"
|
|
11000
|
+
},
|
|
11001
|
+
{
|
|
11002
|
+
"name": "marquee-fade",
|
|
11003
|
+
"tier": "component",
|
|
11004
|
+
"type": "size",
|
|
11005
|
+
"group": "components",
|
|
11006
|
+
"value": "48px"
|
|
11007
|
+
},
|
|
11008
|
+
{
|
|
11009
|
+
"name": "marquee-control-bg",
|
|
11010
|
+
"tier": "component",
|
|
11011
|
+
"type": "color",
|
|
11012
|
+
"group": "components",
|
|
11013
|
+
"value": "var(--iox-surface)"
|
|
11014
|
+
},
|
|
11015
|
+
{
|
|
11016
|
+
"name": "marquee-control-ink",
|
|
11017
|
+
"tier": "component",
|
|
11018
|
+
"type": "color",
|
|
11019
|
+
"group": "components",
|
|
11020
|
+
"value": "var(--iox-text)"
|
|
11021
|
+
},
|
|
11022
|
+
{
|
|
11023
|
+
"name": "marquee-control-border",
|
|
11024
|
+
"tier": "component",
|
|
11025
|
+
"type": "color",
|
|
11026
|
+
"group": "components",
|
|
11027
|
+
"value": "var(--iox-line-strong)"
|
|
11028
|
+
},
|
|
11029
|
+
{
|
|
11030
|
+
"name": "progress-height",
|
|
11031
|
+
"tier": "component",
|
|
11032
|
+
"type": "size",
|
|
11033
|
+
"group": "components",
|
|
11034
|
+
"value": "3px"
|
|
11035
|
+
},
|
|
11036
|
+
{
|
|
11037
|
+
"name": "progress-fill",
|
|
11038
|
+
"tier": "component",
|
|
11039
|
+
"type": "color",
|
|
11040
|
+
"group": "components",
|
|
11041
|
+
"value": "var(--iox-text)"
|
|
10776
11042
|
}
|
|
10777
11043
|
]
|
|
10778
11044
|
},
|
|
@@ -12906,6 +13172,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
12906
13172
|
"type": "easing",
|
|
12907
13173
|
"group": "components",
|
|
12908
13174
|
"value": "var(--iox-ease-standard)"
|
|
13175
|
+
},
|
|
13176
|
+
{
|
|
13177
|
+
"name": "marquee-speed",
|
|
13178
|
+
"tier": "component",
|
|
13179
|
+
"type": "number",
|
|
13180
|
+
"group": "components",
|
|
13181
|
+
"value": "56"
|
|
13182
|
+
},
|
|
13183
|
+
{
|
|
13184
|
+
"name": "marquee-gap",
|
|
13185
|
+
"tier": "component",
|
|
13186
|
+
"type": "spacing",
|
|
13187
|
+
"group": "components",
|
|
13188
|
+
"value": "var(--iox-space-gap)"
|
|
13189
|
+
},
|
|
13190
|
+
{
|
|
13191
|
+
"name": "marquee-fade",
|
|
13192
|
+
"tier": "component",
|
|
13193
|
+
"type": "size",
|
|
13194
|
+
"group": "components",
|
|
13195
|
+
"value": "48px"
|
|
13196
|
+
},
|
|
13197
|
+
{
|
|
13198
|
+
"name": "marquee-control-bg",
|
|
13199
|
+
"tier": "component",
|
|
13200
|
+
"type": "color",
|
|
13201
|
+
"group": "components",
|
|
13202
|
+
"value": "var(--iox-surface)"
|
|
13203
|
+
},
|
|
13204
|
+
{
|
|
13205
|
+
"name": "marquee-control-ink",
|
|
13206
|
+
"tier": "component",
|
|
13207
|
+
"type": "color",
|
|
13208
|
+
"group": "components",
|
|
13209
|
+
"value": "var(--iox-text)"
|
|
13210
|
+
},
|
|
13211
|
+
{
|
|
13212
|
+
"name": "marquee-control-border",
|
|
13213
|
+
"tier": "component",
|
|
13214
|
+
"type": "color",
|
|
13215
|
+
"group": "components",
|
|
13216
|
+
"value": "var(--iox-line-strong)"
|
|
13217
|
+
},
|
|
13218
|
+
{
|
|
13219
|
+
"name": "progress-height",
|
|
13220
|
+
"tier": "component",
|
|
13221
|
+
"type": "size",
|
|
13222
|
+
"group": "components",
|
|
13223
|
+
"value": "3px"
|
|
13224
|
+
},
|
|
13225
|
+
{
|
|
13226
|
+
"name": "progress-fill",
|
|
13227
|
+
"tier": "component",
|
|
13228
|
+
"type": "color",
|
|
13229
|
+
"group": "components",
|
|
13230
|
+
"value": "var(--iox-text)"
|
|
12909
13231
|
}
|
|
12910
13232
|
]
|
|
12911
13233
|
},
|
|
@@ -15001,6 +15323,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
15001
15323
|
"type": "easing",
|
|
15002
15324
|
"group": "components",
|
|
15003
15325
|
"value": "var(--iox-ease-standard)"
|
|
15326
|
+
},
|
|
15327
|
+
{
|
|
15328
|
+
"name": "marquee-speed",
|
|
15329
|
+
"tier": "component",
|
|
15330
|
+
"type": "number",
|
|
15331
|
+
"group": "components",
|
|
15332
|
+
"value": "56"
|
|
15333
|
+
},
|
|
15334
|
+
{
|
|
15335
|
+
"name": "marquee-gap",
|
|
15336
|
+
"tier": "component",
|
|
15337
|
+
"type": "spacing",
|
|
15338
|
+
"group": "components",
|
|
15339
|
+
"value": "var(--iox-space-gap)"
|
|
15340
|
+
},
|
|
15341
|
+
{
|
|
15342
|
+
"name": "marquee-fade",
|
|
15343
|
+
"tier": "component",
|
|
15344
|
+
"type": "size",
|
|
15345
|
+
"group": "components",
|
|
15346
|
+
"value": "48px"
|
|
15347
|
+
},
|
|
15348
|
+
{
|
|
15349
|
+
"name": "marquee-control-bg",
|
|
15350
|
+
"tier": "component",
|
|
15351
|
+
"type": "color",
|
|
15352
|
+
"group": "components",
|
|
15353
|
+
"value": "var(--iox-surface)"
|
|
15354
|
+
},
|
|
15355
|
+
{
|
|
15356
|
+
"name": "marquee-control-ink",
|
|
15357
|
+
"tier": "component",
|
|
15358
|
+
"type": "color",
|
|
15359
|
+
"group": "components",
|
|
15360
|
+
"value": "var(--iox-text)"
|
|
15361
|
+
},
|
|
15362
|
+
{
|
|
15363
|
+
"name": "marquee-control-border",
|
|
15364
|
+
"tier": "component",
|
|
15365
|
+
"type": "color",
|
|
15366
|
+
"group": "components",
|
|
15367
|
+
"value": "var(--iox-line-strong)"
|
|
15368
|
+
},
|
|
15369
|
+
{
|
|
15370
|
+
"name": "progress-height",
|
|
15371
|
+
"tier": "component",
|
|
15372
|
+
"type": "size",
|
|
15373
|
+
"group": "components",
|
|
15374
|
+
"value": "3px"
|
|
15375
|
+
},
|
|
15376
|
+
{
|
|
15377
|
+
"name": "progress-fill",
|
|
15378
|
+
"tier": "component",
|
|
15379
|
+
"type": "color",
|
|
15380
|
+
"group": "components",
|
|
15381
|
+
"value": "var(--iox-text)"
|
|
15004
15382
|
}
|
|
15005
15383
|
]
|
|
15006
15384
|
},
|
|
@@ -17105,6 +17483,62 @@ const SPEC_FLAVOR_PACKS = [
|
|
|
17105
17483
|
"type": "easing",
|
|
17106
17484
|
"group": "components",
|
|
17107
17485
|
"value": "var(--iox-ease-standard)"
|
|
17486
|
+
},
|
|
17487
|
+
{
|
|
17488
|
+
"name": "marquee-speed",
|
|
17489
|
+
"tier": "component",
|
|
17490
|
+
"type": "number",
|
|
17491
|
+
"group": "components",
|
|
17492
|
+
"value": "52"
|
|
17493
|
+
},
|
|
17494
|
+
{
|
|
17495
|
+
"name": "marquee-gap",
|
|
17496
|
+
"tier": "component",
|
|
17497
|
+
"type": "spacing",
|
|
17498
|
+
"group": "components",
|
|
17499
|
+
"value": "var(--iox-space-gap)"
|
|
17500
|
+
},
|
|
17501
|
+
{
|
|
17502
|
+
"name": "marquee-fade",
|
|
17503
|
+
"tier": "component",
|
|
17504
|
+
"type": "size",
|
|
17505
|
+
"group": "components",
|
|
17506
|
+
"value": "48px"
|
|
17507
|
+
},
|
|
17508
|
+
{
|
|
17509
|
+
"name": "marquee-control-bg",
|
|
17510
|
+
"tier": "component",
|
|
17511
|
+
"type": "color",
|
|
17512
|
+
"group": "components",
|
|
17513
|
+
"value": "var(--iox-surface)"
|
|
17514
|
+
},
|
|
17515
|
+
{
|
|
17516
|
+
"name": "marquee-control-ink",
|
|
17517
|
+
"tier": "component",
|
|
17518
|
+
"type": "color",
|
|
17519
|
+
"group": "components",
|
|
17520
|
+
"value": "var(--iox-text)"
|
|
17521
|
+
},
|
|
17522
|
+
{
|
|
17523
|
+
"name": "marquee-control-border",
|
|
17524
|
+
"tier": "component",
|
|
17525
|
+
"type": "color",
|
|
17526
|
+
"group": "components",
|
|
17527
|
+
"value": "var(--iox-line-strong)"
|
|
17528
|
+
},
|
|
17529
|
+
{
|
|
17530
|
+
"name": "progress-height",
|
|
17531
|
+
"tier": "component",
|
|
17532
|
+
"type": "size",
|
|
17533
|
+
"group": "components",
|
|
17534
|
+
"value": "3px"
|
|
17535
|
+
},
|
|
17536
|
+
{
|
|
17537
|
+
"name": "progress-fill",
|
|
17538
|
+
"tier": "component",
|
|
17539
|
+
"type": "color",
|
|
17540
|
+
"group": "components",
|
|
17541
|
+
"value": "var(--iox-text)"
|
|
17108
17542
|
}
|
|
17109
17543
|
]
|
|
17110
17544
|
}
|
|
@@ -19274,6 +19708,9 @@ const SCRIM_HELD_TOKENS = ['heading-color', 'eyebrow-color', 'text-muted'];
|
|
|
19274
19708
|
const SCHEME_IDS = Object.keys(SPEC_SCHEMES);
|
|
19275
19709
|
const CONTAINER_GROUPS = new Set(['Layout', 'Overlays']);
|
|
19276
19710
|
const NOT_CONTENT = new Set(['rule', 'media']);
|
|
19711
|
+
/** Styles whose fill IS their mark (premium M6: a reading bar): the fill is judged as a graphic (3:1, WCAG 1.4.11) against
|
|
19712
|
+
* the ground it sits on, never its own ink on it — it holds no words. The contract's audit, 1:1. */
|
|
19713
|
+
const MARK_STYLES = new Set(['progress-bar']);
|
|
19277
19714
|
const SECTION_STYLE = 'section';
|
|
19278
19715
|
const ICON_STYLE = 'icon';
|
|
19279
19716
|
const GLYPH_GROUP = 'Media';
|
|
@@ -19314,7 +19751,8 @@ function auditDesignContrast(rows, mode) {
|
|
|
19314
19751
|
const isItem = (e) => CONTAINER_GROUPS.has(e.group) && !ownStyle(e)['backgroundColor']
|
|
19315
19752
|
&& !!ownStyle(e)['color'] && ownStyle(e)['color'] !== 'inherit';
|
|
19316
19753
|
const content = styles.filter(e => (!CONTAINER_GROUPS.has(e.group) || isItem(e)) && (ownStyle(e)['color'] || ownStyle(e)['backgroundColor'])
|
|
19317
|
-
&& e.group !== FORMS_GROUP && !NOT_CONTENT.has(e.id) && !SCRIM_STYLES.has(e.id));
|
|
19754
|
+
&& e.group !== FORMS_GROUP && !NOT_CONTENT.has(e.id) && !SCRIM_STYLES.has(e.id) && !MARK_STYLES.has(e.id));
|
|
19755
|
+
const marks = styles.filter(e => MARK_STYLES.has(e.id));
|
|
19318
19756
|
const notices = styles.filter(e => e.group === FORMS_GROUP && ownStyle(e)['color']);
|
|
19319
19757
|
const section = ownStyle(byId.get(SECTION_STYLE));
|
|
19320
19758
|
const iconColour = ownStyle(byId.get(ICON_STYLE))['color'];
|
|
@@ -19385,6 +19823,9 @@ function auditDesignContrast(rows, mode) {
|
|
|
19385
19823
|
check(e.id, 'focus ring', ringColour(resolveIn(values, focus), ink), bgs, WCAG_AA_UI);
|
|
19386
19824
|
}
|
|
19387
19825
|
}
|
|
19826
|
+
for (const e of marks)
|
|
19827
|
+
for (const f of paintColours(resolveIn(values, ownStyle(e)['backgroundColor']), boxInk))
|
|
19828
|
+
check(e.id, 'mark', f, bgs, WCAG_AA_UI);
|
|
19388
19829
|
for (const part of FORM_PARTS) {
|
|
19389
19830
|
const fieldBg = paintColours(resolveIn(values, part.on ?? 'transparent'), boxInk);
|
|
19390
19831
|
const under = part.on && opaque(fieldBg) ? overAll(fieldBg, bgs) : bgs;
|
|
@@ -20969,5 +21410,5 @@ function stylePresetOfChoices(choices) {
|
|
|
20969
21410
|
* Generated bundle index. Do not edit.
|
|
20970
21411
|
*/
|
|
20971
21412
|
|
|
20972
|
-
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderTrait, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerStaysAtTop, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
|
|
21413
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, COMPOSED_HEADER, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, 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, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HEADER_THEME_COLOR_TOKEN, HELD_CONTRAST, HeaderAttribute, HeaderBehaviour, HeaderEdge, HeaderTrait, INHERITED_TEXT, LinkType, MARK_STYLES, MAX_FONT_FILE_BYTES, MOOD_IDS, MOOD_LABELS, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, ROW_INDEX_ATTRIBUTE, SCHEME_INK, SCROLL_IDS, 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_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_MOODS, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SCRIPTS, SPEC_SPRINGS, SPEC_STYLE_PRESETS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, STAGGER_MAX_ITEMS, STAGGER_SHRINK, STYLE_PRESETS, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, THEME_COLOR_TOKEN, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, drawsScript, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, entranceDelay, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headerAttributes, headerBehaviourOf, headerEdgeOf, headerStaysAtTop, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, presetChoices, presetModes, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, repeatedRowIndex, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, scriptsForLocale, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, staggerDelay, styleKeyToKebab, stylePresetById, stylePresetOfChoices, switchElementStyle, syncNodeDesignClasses, themeColors, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, withoutScriptPartners, writeOwnedTrait };
|
|
20973
21414
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|