@vectoriox/iox-ui 5.39.0 → 5.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composite-core/index.d.ts +210 -12
- package/design-core/index.d.ts +694 -17
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +4 -3
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +535 -121
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +843 -45
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +894 -21
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +3945 -3914
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +625 -5
- package/index.d.ts +22 -1
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +4 -3
- package/src/composite-core/accordion.ts +1 -0
- package/src/composite-core/composite-kinds.ts +42 -6
- package/src/composite-core/exclusive-runtime.ts +60 -10
- package/src/composite-core/exclusive.ts +64 -0
- package/src/composite-core/public-api.ts +5 -2
- package/src/composite-core/segmented.ts +349 -0
- package/src/composite-core/structure.ts +6 -1
- package/src/composite-core/tabs.ts +6 -3
- package/src/design-core/contrast-audit.ts +8 -3
- package/src/design-core/flavor-spec.generated.ts +832 -41
- package/src/generation-core/compose-site.ts +248 -12
- package/src/generation-core/nav-shape.ts +53 -3
- package/src/generation-core/node-baselines.generated.ts +49 -0
- package/src/generation-core/patterns.ts +20 -0
- package/src/generation-core/site-spec.generated.ts +595 -0
- package/styles/iox-design.css +19 -0
|
@@ -55,6 +55,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
55
55
|
"textAlign": "start",
|
|
56
56
|
"fontStyle": "normal",
|
|
57
57
|
"textDecoration": "none",
|
|
58
|
+
"fontVariantNumeric": "normal",
|
|
58
59
|
"WebkitTextStrokeWidth": "0px",
|
|
59
60
|
"WebkitTextStrokeColor": "transparent",
|
|
60
61
|
"margin": "0px 0px 0px 0px",
|
|
@@ -144,6 +145,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
144
145
|
"textAlign",
|
|
145
146
|
"fontStyle",
|
|
146
147
|
"textDecoration",
|
|
148
|
+
"fontVariantNumeric",
|
|
147
149
|
"_sep_stroke",
|
|
148
150
|
"WebkitTextStrokeWidth",
|
|
149
151
|
"WebkitTextStrokeColor",
|
|
@@ -246,6 +248,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
246
248
|
"textAlign": "start",
|
|
247
249
|
"fontStyle": "normal",
|
|
248
250
|
"textDecoration": "none",
|
|
251
|
+
"fontVariantNumeric": "normal",
|
|
249
252
|
"WebkitTextStrokeWidth": "0px",
|
|
250
253
|
"WebkitTextStrokeColor": "transparent",
|
|
251
254
|
"margin": "0px 0px 0px 0px",
|
|
@@ -340,6 +343,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
340
343
|
"textAlign",
|
|
341
344
|
"fontStyle",
|
|
342
345
|
"textDecoration",
|
|
346
|
+
"fontVariantNumeric",
|
|
343
347
|
"_sep_stroke",
|
|
344
348
|
"WebkitTextStrokeWidth",
|
|
345
349
|
"WebkitTextStrokeColor",
|
|
@@ -438,6 +442,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
438
442
|
"textAlign": "start",
|
|
439
443
|
"fontStyle": "normal",
|
|
440
444
|
"textDecoration": "none",
|
|
445
|
+
"fontVariantNumeric": "normal",
|
|
441
446
|
"WebkitTextStrokeWidth": "0px",
|
|
442
447
|
"WebkitTextStrokeColor": "transparent",
|
|
443
448
|
"margin": "0px 0px 0px 0px",
|
|
@@ -527,6 +532,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
527
532
|
"textAlign",
|
|
528
533
|
"fontStyle",
|
|
529
534
|
"textDecoration",
|
|
535
|
+
"fontVariantNumeric",
|
|
530
536
|
"_sep_stroke",
|
|
531
537
|
"WebkitTextStrokeWidth",
|
|
532
538
|
"WebkitTextStrokeColor",
|
|
@@ -624,6 +630,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
624
630
|
"textAlign": "start",
|
|
625
631
|
"fontStyle": "normal",
|
|
626
632
|
"textDecoration": "none",
|
|
633
|
+
"fontVariantNumeric": "normal",
|
|
627
634
|
"WebkitTextStrokeWidth": "0px",
|
|
628
635
|
"WebkitTextStrokeColor": "transparent",
|
|
629
636
|
"margin": "0px 0px 0px 0px",
|
|
@@ -717,6 +724,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
717
724
|
"textAlign",
|
|
718
725
|
"fontStyle",
|
|
719
726
|
"textDecoration",
|
|
727
|
+
"fontVariantNumeric",
|
|
720
728
|
"_sep_stroke",
|
|
721
729
|
"WebkitTextStrokeWidth",
|
|
722
730
|
"WebkitTextStrokeColor",
|
|
@@ -818,6 +826,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
818
826
|
"textAlign": "start",
|
|
819
827
|
"fontStyle": "normal",
|
|
820
828
|
"textDecoration": "none",
|
|
829
|
+
"fontVariantNumeric": "normal",
|
|
821
830
|
"WebkitTextStrokeWidth": "0px",
|
|
822
831
|
"WebkitTextStrokeColor": "transparent",
|
|
823
832
|
"maxLines": "none",
|
|
@@ -911,6 +920,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
911
920
|
"textAlign",
|
|
912
921
|
"fontStyle",
|
|
913
922
|
"textDecoration",
|
|
923
|
+
"fontVariantNumeric",
|
|
914
924
|
"_sep_stroke",
|
|
915
925
|
"WebkitTextStrokeWidth",
|
|
916
926
|
"WebkitTextStrokeColor",
|
|
@@ -1009,6 +1019,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1009
1019
|
"textAlign": "start",
|
|
1010
1020
|
"fontStyle": "normal",
|
|
1011
1021
|
"textDecoration": "none",
|
|
1022
|
+
"fontVariantNumeric": "normal",
|
|
1012
1023
|
"WebkitTextStrokeWidth": "0px",
|
|
1013
1024
|
"WebkitTextStrokeColor": "transparent",
|
|
1014
1025
|
"maxLines": "none",
|
|
@@ -1098,6 +1109,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1098
1109
|
"textAlign",
|
|
1099
1110
|
"fontStyle",
|
|
1100
1111
|
"textDecoration",
|
|
1112
|
+
"fontVariantNumeric",
|
|
1101
1113
|
"_sep_stroke",
|
|
1102
1114
|
"WebkitTextStrokeWidth",
|
|
1103
1115
|
"WebkitTextStrokeColor",
|
|
@@ -1196,6 +1208,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1196
1208
|
"textAlign": "start",
|
|
1197
1209
|
"fontStyle": "normal",
|
|
1198
1210
|
"textDecoration": "none",
|
|
1211
|
+
"fontVariantNumeric": "normal",
|
|
1199
1212
|
"WebkitTextStrokeWidth": "0px",
|
|
1200
1213
|
"WebkitTextStrokeColor": "transparent",
|
|
1201
1214
|
"margin": "0px 0px 0px 0px",
|
|
@@ -1284,6 +1297,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1284
1297
|
"textAlign",
|
|
1285
1298
|
"fontStyle",
|
|
1286
1299
|
"textDecoration",
|
|
1300
|
+
"fontVariantNumeric",
|
|
1287
1301
|
"_sep_stroke",
|
|
1288
1302
|
"WebkitTextStrokeWidth",
|
|
1289
1303
|
"WebkitTextStrokeColor",
|
|
@@ -1385,6 +1399,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1385
1399
|
"textAlign": "start",
|
|
1386
1400
|
"fontStyle": "normal",
|
|
1387
1401
|
"textDecoration": "none",
|
|
1402
|
+
"fontVariantNumeric": "normal",
|
|
1388
1403
|
"WebkitTextStrokeWidth": "0px",
|
|
1389
1404
|
"WebkitTextStrokeColor": "transparent",
|
|
1390
1405
|
"margin": "0px 0px 0px 0px",
|
|
@@ -1478,6 +1493,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1478
1493
|
"textAlign",
|
|
1479
1494
|
"fontStyle",
|
|
1480
1495
|
"textDecoration",
|
|
1496
|
+
"fontVariantNumeric",
|
|
1481
1497
|
"_sep_stroke",
|
|
1482
1498
|
"WebkitTextStrokeWidth",
|
|
1483
1499
|
"WebkitTextStrokeColor",
|
|
@@ -1579,6 +1595,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1579
1595
|
"textAlign": "start",
|
|
1580
1596
|
"fontStyle": "normal",
|
|
1581
1597
|
"textDecoration": "none",
|
|
1598
|
+
"fontVariantNumeric": "normal",
|
|
1582
1599
|
"WebkitTextStrokeWidth": "0px",
|
|
1583
1600
|
"WebkitTextStrokeColor": "transparent",
|
|
1584
1601
|
"margin": "0px 0px 0px 0px",
|
|
@@ -1672,6 +1689,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1672
1689
|
"textAlign",
|
|
1673
1690
|
"fontStyle",
|
|
1674
1691
|
"textDecoration",
|
|
1692
|
+
"fontVariantNumeric",
|
|
1675
1693
|
"_sep_stroke",
|
|
1676
1694
|
"WebkitTextStrokeWidth",
|
|
1677
1695
|
"WebkitTextStrokeColor",
|
|
@@ -1768,6 +1786,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1768
1786
|
"textAlign": "start",
|
|
1769
1787
|
"fontStyle": "normal",
|
|
1770
1788
|
"textDecoration": "none",
|
|
1789
|
+
"fontVariantNumeric": "normal",
|
|
1771
1790
|
"WebkitTextStrokeWidth": "0px",
|
|
1772
1791
|
"WebkitTextStrokeColor": "transparent",
|
|
1773
1792
|
"margin": "0px 0px 0px 0px",
|
|
@@ -1855,6 +1874,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1855
1874
|
"textAlign",
|
|
1856
1875
|
"fontStyle",
|
|
1857
1876
|
"textDecoration",
|
|
1877
|
+
"fontVariantNumeric",
|
|
1858
1878
|
"_sep_stroke",
|
|
1859
1879
|
"WebkitTextStrokeWidth",
|
|
1860
1880
|
"WebkitTextStrokeColor",
|
|
@@ -1951,6 +1971,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
1951
1971
|
"textAlign": "start",
|
|
1952
1972
|
"fontStyle": "normal",
|
|
1953
1973
|
"textDecoration": "none",
|
|
1974
|
+
"fontVariantNumeric": "normal",
|
|
1954
1975
|
"WebkitTextStrokeWidth": "0px",
|
|
1955
1976
|
"WebkitTextStrokeColor": "transparent",
|
|
1956
1977
|
"margin": "0px 0px 0px 0px",
|
|
@@ -2038,6 +2059,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2038
2059
|
"textAlign",
|
|
2039
2060
|
"fontStyle",
|
|
2040
2061
|
"textDecoration",
|
|
2062
|
+
"fontVariantNumeric",
|
|
2041
2063
|
"_sep_stroke",
|
|
2042
2064
|
"WebkitTextStrokeWidth",
|
|
2043
2065
|
"WebkitTextStrokeColor",
|
|
@@ -2132,6 +2154,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2132
2154
|
"textAlign": "start",
|
|
2133
2155
|
"fontStyle": "normal",
|
|
2134
2156
|
"textDecoration": "none",
|
|
2157
|
+
"fontVariantNumeric": "normal",
|
|
2135
2158
|
"WebkitTextStrokeWidth": "0px",
|
|
2136
2159
|
"WebkitTextStrokeColor": "transparent",
|
|
2137
2160
|
"margin": "8px 0px 8px 0px",
|
|
@@ -2217,6 +2240,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2217
2240
|
"textAlign",
|
|
2218
2241
|
"fontStyle",
|
|
2219
2242
|
"textDecoration",
|
|
2243
|
+
"fontVariantNumeric",
|
|
2220
2244
|
"_sep_stroke",
|
|
2221
2245
|
"WebkitTextStrokeWidth",
|
|
2222
2246
|
"WebkitTextStrokeColor",
|
|
@@ -2311,6 +2335,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2311
2335
|
"textAlign": "start",
|
|
2312
2336
|
"fontStyle": "normal",
|
|
2313
2337
|
"textDecoration": "none",
|
|
2338
|
+
"fontVariantNumeric": "normal",
|
|
2314
2339
|
"WebkitTextStrokeWidth": "0px",
|
|
2315
2340
|
"WebkitTextStrokeColor": "transparent",
|
|
2316
2341
|
"margin": "0px 0px 0px 0px",
|
|
@@ -2396,6 +2421,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2396
2421
|
"textAlign",
|
|
2397
2422
|
"fontStyle",
|
|
2398
2423
|
"textDecoration",
|
|
2424
|
+
"fontVariantNumeric",
|
|
2399
2425
|
"_sep_stroke",
|
|
2400
2426
|
"WebkitTextStrokeWidth",
|
|
2401
2427
|
"WebkitTextStrokeColor",
|
|
@@ -2499,6 +2525,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2499
2525
|
"textAlign": "start",
|
|
2500
2526
|
"fontStyle": "normal",
|
|
2501
2527
|
"textDecoration": "none",
|
|
2528
|
+
"fontVariantNumeric": "normal",
|
|
2502
2529
|
"WebkitTextStrokeWidth": "0px",
|
|
2503
2530
|
"WebkitTextStrokeColor": "transparent",
|
|
2504
2531
|
"opacity": "1",
|
|
@@ -2587,6 +2614,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2587
2614
|
"textAlign",
|
|
2588
2615
|
"fontStyle",
|
|
2589
2616
|
"textDecoration",
|
|
2617
|
+
"fontVariantNumeric",
|
|
2590
2618
|
"_sep_stroke",
|
|
2591
2619
|
"WebkitTextStrokeWidth",
|
|
2592
2620
|
"WebkitTextStrokeColor",
|
|
@@ -2676,6 +2704,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2676
2704
|
"textAlign": "start",
|
|
2677
2705
|
"fontStyle": "normal",
|
|
2678
2706
|
"textDecoration": "none",
|
|
2707
|
+
"fontVariantNumeric": "normal",
|
|
2679
2708
|
"WebkitTextStrokeWidth": "0px",
|
|
2680
2709
|
"WebkitTextStrokeColor": "transparent",
|
|
2681
2710
|
"margin": "0px 0px 0px 0px",
|
|
@@ -2763,6 +2792,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2763
2792
|
"textAlign",
|
|
2764
2793
|
"fontStyle",
|
|
2765
2794
|
"textDecoration",
|
|
2795
|
+
"fontVariantNumeric",
|
|
2766
2796
|
"_sep_stroke",
|
|
2767
2797
|
"WebkitTextStrokeWidth",
|
|
2768
2798
|
"WebkitTextStrokeColor",
|
|
@@ -2860,6 +2890,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2860
2890
|
"textAlign": "start",
|
|
2861
2891
|
"fontStyle": "normal",
|
|
2862
2892
|
"textDecoration": "none",
|
|
2893
|
+
"fontVariantNumeric": "normal",
|
|
2863
2894
|
"WebkitTextStrokeWidth": "0px",
|
|
2864
2895
|
"WebkitTextStrokeColor": "transparent",
|
|
2865
2896
|
"margin": "0px 0px 0px 0px",
|
|
@@ -2953,6 +2984,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
2953
2984
|
"textAlign",
|
|
2954
2985
|
"fontStyle",
|
|
2955
2986
|
"textDecoration",
|
|
2987
|
+
"fontVariantNumeric",
|
|
2956
2988
|
"_sep_stroke",
|
|
2957
2989
|
"WebkitTextStrokeWidth",
|
|
2958
2990
|
"WebkitTextStrokeColor",
|
|
@@ -3270,6 +3302,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3270
3302
|
"textAlign": "start",
|
|
3271
3303
|
"fontStyle": "normal",
|
|
3272
3304
|
"textDecoration": "none",
|
|
3305
|
+
"fontVariantNumeric": "normal",
|
|
3273
3306
|
"WebkitTextStrokeWidth": "0px",
|
|
3274
3307
|
"WebkitTextStrokeColor": "transparent",
|
|
3275
3308
|
"opacity": "1",
|
|
@@ -3347,6 +3380,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3347
3380
|
"textAlign",
|
|
3348
3381
|
"fontStyle",
|
|
3349
3382
|
"textDecoration",
|
|
3383
|
+
"fontVariantNumeric",
|
|
3350
3384
|
"_sep_stroke",
|
|
3351
3385
|
"WebkitTextStrokeWidth",
|
|
3352
3386
|
"WebkitTextStrokeColor",
|
|
@@ -3580,6 +3614,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3580
3614
|
"textAlign": "start",
|
|
3581
3615
|
"fontStyle": "normal",
|
|
3582
3616
|
"textDecoration": "none",
|
|
3617
|
+
"fontVariantNumeric": "normal",
|
|
3583
3618
|
"WebkitTextStrokeWidth": "0px",
|
|
3584
3619
|
"WebkitTextStrokeColor": "transparent",
|
|
3585
3620
|
"opacity": "1",
|
|
@@ -3673,6 +3708,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3673
3708
|
"textAlign",
|
|
3674
3709
|
"fontStyle",
|
|
3675
3710
|
"textDecoration",
|
|
3711
|
+
"fontVariantNumeric",
|
|
3676
3712
|
"_sep_stroke",
|
|
3677
3713
|
"WebkitTextStrokeWidth",
|
|
3678
3714
|
"WebkitTextStrokeColor",
|
|
@@ -3775,6 +3811,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3775
3811
|
"textAlign": "start",
|
|
3776
3812
|
"fontStyle": "normal",
|
|
3777
3813
|
"textDecoration": "none",
|
|
3814
|
+
"fontVariantNumeric": "normal",
|
|
3778
3815
|
"WebkitTextStrokeWidth": "0px",
|
|
3779
3816
|
"WebkitTextStrokeColor": "transparent",
|
|
3780
3817
|
"margin": "0px 0px 0px 0px",
|
|
@@ -3878,6 +3915,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3878
3915
|
"textAlign",
|
|
3879
3916
|
"fontStyle",
|
|
3880
3917
|
"textDecoration",
|
|
3918
|
+
"fontVariantNumeric",
|
|
3881
3919
|
"_sep_stroke",
|
|
3882
3920
|
"WebkitTextStrokeWidth",
|
|
3883
3921
|
"WebkitTextStrokeColor",
|
|
@@ -3974,6 +4012,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
3974
4012
|
"textAlign": "start",
|
|
3975
4013
|
"fontStyle": "normal",
|
|
3976
4014
|
"textDecoration": "none",
|
|
4015
|
+
"fontVariantNumeric": "normal",
|
|
3977
4016
|
"WebkitTextStrokeWidth": "0px",
|
|
3978
4017
|
"WebkitTextStrokeColor": "transparent",
|
|
3979
4018
|
"margin": "0px 0px 0px 0px",
|
|
@@ -4061,6 +4100,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4061
4100
|
"textAlign",
|
|
4062
4101
|
"fontStyle",
|
|
4063
4102
|
"textDecoration",
|
|
4103
|
+
"fontVariantNumeric",
|
|
4064
4104
|
"_sep_stroke",
|
|
4065
4105
|
"WebkitTextStrokeWidth",
|
|
4066
4106
|
"WebkitTextStrokeColor",
|
|
@@ -4159,6 +4199,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4159
4199
|
"textAlign": "start",
|
|
4160
4200
|
"fontStyle": "normal",
|
|
4161
4201
|
"textDecoration": "none",
|
|
4202
|
+
"fontVariantNumeric": "normal",
|
|
4162
4203
|
"WebkitTextStrokeWidth": "0px",
|
|
4163
4204
|
"WebkitTextStrokeColor": "transparent",
|
|
4164
4205
|
"margin": "0px 0px 0px 0px",
|
|
@@ -4248,6 +4289,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4248
4289
|
"textAlign",
|
|
4249
4290
|
"fontStyle",
|
|
4250
4291
|
"textDecoration",
|
|
4292
|
+
"fontVariantNumeric",
|
|
4251
4293
|
"_sep_stroke",
|
|
4252
4294
|
"WebkitTextStrokeWidth",
|
|
4253
4295
|
"WebkitTextStrokeColor",
|
|
@@ -4344,6 +4386,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4344
4386
|
"textAlign": "start",
|
|
4345
4387
|
"fontStyle": "normal",
|
|
4346
4388
|
"textDecoration": "none",
|
|
4389
|
+
"fontVariantNumeric": "normal",
|
|
4347
4390
|
"WebkitTextStrokeWidth": "0px",
|
|
4348
4391
|
"WebkitTextStrokeColor": "transparent",
|
|
4349
4392
|
"margin": "0px 0px 0px 0px",
|
|
@@ -4431,6 +4474,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4431
4474
|
"textAlign",
|
|
4432
4475
|
"fontStyle",
|
|
4433
4476
|
"textDecoration",
|
|
4477
|
+
"fontVariantNumeric",
|
|
4434
4478
|
"_sep_stroke",
|
|
4435
4479
|
"WebkitTextStrokeWidth",
|
|
4436
4480
|
"WebkitTextStrokeColor",
|
|
@@ -4527,6 +4571,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4527
4571
|
"textAlign": "start",
|
|
4528
4572
|
"fontStyle": "normal",
|
|
4529
4573
|
"textDecoration": "none",
|
|
4574
|
+
"fontVariantNumeric": "normal",
|
|
4530
4575
|
"WebkitTextStrokeWidth": "0px",
|
|
4531
4576
|
"WebkitTextStrokeColor": "transparent",
|
|
4532
4577
|
"margin": "0px 0px 0px 0px",
|
|
@@ -4614,6 +4659,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4614
4659
|
"textAlign",
|
|
4615
4660
|
"fontStyle",
|
|
4616
4661
|
"textDecoration",
|
|
4662
|
+
"fontVariantNumeric",
|
|
4617
4663
|
"_sep_stroke",
|
|
4618
4664
|
"WebkitTextStrokeWidth",
|
|
4619
4665
|
"WebkitTextStrokeColor",
|
|
@@ -4716,6 +4762,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4716
4762
|
"textAlign": "start",
|
|
4717
4763
|
"fontStyle": "normal",
|
|
4718
4764
|
"textDecoration": "none",
|
|
4765
|
+
"fontVariantNumeric": "normal",
|
|
4719
4766
|
"WebkitTextStrokeWidth": "0px",
|
|
4720
4767
|
"WebkitTextStrokeColor": "transparent",
|
|
4721
4768
|
"margin": "0px 0px 0px 0px",
|
|
@@ -4811,6 +4858,7 @@ export const NODE_BASELINES: Readonly<Record<string, NodeBaseline>> = {
|
|
|
4811
4858
|
"textAlign",
|
|
4812
4859
|
"fontStyle",
|
|
4813
4860
|
"textDecoration",
|
|
4861
|
+
"fontVariantNumeric",
|
|
4814
4862
|
"_sep_stroke",
|
|
4815
4863
|
"WebkitTextStrokeWidth",
|
|
4816
4864
|
"WebkitTextStrokeColor",
|
|
@@ -5045,6 +5093,7 @@ export const NEUTRAL_STYLE_PROPS: Readonly<Record<string, unknown>> = {
|
|
|
5045
5093
|
"textAlign": "start",
|
|
5046
5094
|
"fontStyle": "normal",
|
|
5047
5095
|
"textDecoration": "none",
|
|
5096
|
+
"fontVariantNumeric": "normal",
|
|
5048
5097
|
"WebkitTextStrokeWidth": "0px",
|
|
5049
5098
|
"WebkitTextStrokeColor": "transparent",
|
|
5050
5099
|
"margin": "0px 0px 0px 0px",
|
|
@@ -21,6 +21,12 @@ import { SPEC_SITE_PATTERNS } from './site-spec.generated';
|
|
|
21
21
|
* `binds`, a binding path per part: `image`, `eyebrow`, `title`, `text`; `href` + `param` link the whole card
|
|
22
22
|
* through its title). A header pattern's `phoneMenu` names its phone shape (drawer · bar · both), stamped by
|
|
23
23
|
* `planNavShape` (CC1).
|
|
24
|
+
*
|
|
25
|
+
* CC4b (`pricing.tiers`): `recipe: 'segmented'` stamps a Segmented control (Monthly · Yearly, named by `name`, its own
|
|
26
|
+
* `lay` / `resp`) · `shownWhen` hides a node at base and shows it while the pattern's segmented option of that key is
|
|
27
|
+
* on (the targeted `trigger-on`) · `ph: 'price'` a price the studio types (a publish-blocking placeholder showing its
|
|
28
|
+
* label) · on a card recipe: `words` (title / text / badge), `badge` (the badge's tone), `scheme` (the Brand card), and
|
|
29
|
+
* `c` — nodes joining its Content column · `icon` an Icon's glyph · `layer` the node's name in the layer tree.
|
|
24
30
|
*/
|
|
25
31
|
export interface PatternNode {
|
|
26
32
|
readonly t: string;
|
|
@@ -59,6 +65,16 @@ export interface PatternNode {
|
|
|
59
65
|
readonly opens?: string;
|
|
60
66
|
/** CC3: a control's accessible name (`ariaLabel`). */
|
|
61
67
|
readonly name?: string;
|
|
68
|
+
/** CC4b: hidden at base, shown while the pattern's Segmented option with this key is on. */
|
|
69
|
+
readonly shownWhen?: string;
|
|
70
|
+
/** CC4b: a card recipe's words (its title, text, badge). */
|
|
71
|
+
readonly words?: Readonly<Record<string, string>>;
|
|
72
|
+
/** CC4b: a card recipe's badge tone (`neutral` · `success` · `warning` · `accent`). */
|
|
73
|
+
readonly badge?: string;
|
|
74
|
+
/** CC4b: an Icon's glyph (`ph ph-check`). */
|
|
75
|
+
readonly icon?: string;
|
|
76
|
+
/** CC4b: the node's name in the layer tree (`Price · Monthly`). */
|
|
77
|
+
readonly layer?: string;
|
|
62
78
|
}
|
|
63
79
|
|
|
64
80
|
/** The composite-core recipes a pattern may stamp (`recipe`). */
|
|
@@ -70,6 +86,8 @@ export enum PatternRecipe {
|
|
|
70
86
|
/** CC4a: Tabs — Manual (three placeholder tabs), or From content when the section names a list `binding`: the tab
|
|
71
87
|
* list and the panels are both Repeaters over it, one row giving its tab AND its panel. */
|
|
72
88
|
Tabs = 'tabs',
|
|
89
|
+
/** CC4b: the Segmented control — Monthly · Yearly, named by the pattern (`name`). */
|
|
90
|
+
Segmented = 'segmented',
|
|
73
91
|
/** CC3: the accessible carousel — a named Slider whose controls are parts, one quote per slide (placeholders). */
|
|
74
92
|
Carousel = 'carousel',
|
|
75
93
|
/** CC3: the Lightbox — a Dialog holding a Slider over the node's `src` (the gallery's own source). */
|
|
@@ -112,6 +130,8 @@ export enum PatternPlaceholder {
|
|
|
112
130
|
Image = 'image',
|
|
113
131
|
/** CC3: a clip the studio uploads (a Video's file): the poster blank until then, publish-blocking. */
|
|
114
132
|
Video = 'video',
|
|
133
|
+
/** CC4b (Q37): a price the studio types — free text, publish-blocking, its label shown meanwhile, never a number. */
|
|
134
|
+
Price = 'price',
|
|
115
135
|
}
|
|
116
136
|
|
|
117
137
|
/** CC3: what an `opens` node opens. */
|