@vectoriox/iox-ui 5.144.0 → 5.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composite-core/index.d.ts +10 -1
- package/design-core/index.d.ts +386 -44
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +2 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +9 -6
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +523 -80
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +158 -28
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +108 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +33 -11
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +85 -7
- package/harness-core/index.d.ts +91 -1
- package/index.d.ts +11 -4
- package/package.json +1 -1
- package/src/assist-core/site-look.ts +2 -1
- package/src/composite-core/shop.ts +1 -1
- package/src/composite-core/slider.ts +7 -4
- package/src/design-core/design-apply.ts +19 -2
- package/src/design-core/design-settings.ts +18 -7
- package/src/design-core/design-token.model.ts +11 -0
- package/src/design-core/flavor-spec.generated.ts +303 -25
- package/src/design-core/flavor-tokens.ts +7 -1
- package/src/design-core/list-classes.ts +14 -3
- package/src/design-core/locale-direction.ts +28 -0
- package/src/design-core/node-classes.ts +66 -1
- package/src/design-core/section-edge.ts +17 -19
- package/src/design-core/token-css.ts +48 -3
- package/src/generation-core/adjustments.ts +7 -3
- package/src/generation-core/compose-layout.ts +116 -3
- package/src/generation-core/compose-site.ts +50 -20
- package/src/generation-core/site-spec.generated.ts +26 -0
- package/src/generation-core/validate-site-plan.ts +1 -0
- package/src/harness-core/harness-spec.generated.ts +108 -0
- package/src/harness-core/starting-design.ts +1 -1
- package/styles/iox-design.css +38 -8
|
@@ -216,6 +216,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
216
216
|
"moves": [],
|
|
217
217
|
"say": []
|
|
218
218
|
},
|
|
219
|
+
"column": {
|
|
220
|
+
"never": []
|
|
221
|
+
},
|
|
219
222
|
"art": {
|
|
220
223
|
"preloader": [],
|
|
221
224
|
"cover": [],
|
|
@@ -344,6 +347,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
344
347
|
"moves": [],
|
|
345
348
|
"say": []
|
|
346
349
|
},
|
|
350
|
+
"column": {
|
|
351
|
+
"never": []
|
|
352
|
+
},
|
|
347
353
|
"art": {
|
|
348
354
|
"preloader": [],
|
|
349
355
|
"cover": [],
|
|
@@ -478,6 +484,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
478
484
|
"moves": [],
|
|
479
485
|
"say": []
|
|
480
486
|
},
|
|
487
|
+
"column": {
|
|
488
|
+
"never": []
|
|
489
|
+
},
|
|
481
490
|
"art": {
|
|
482
491
|
"preloader": [],
|
|
483
492
|
"cover": [],
|
|
@@ -611,6 +620,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
611
620
|
"moves": [],
|
|
612
621
|
"say": []
|
|
613
622
|
},
|
|
623
|
+
"column": {
|
|
624
|
+
"never": []
|
|
625
|
+
},
|
|
614
626
|
"art": {
|
|
615
627
|
"preloader": [],
|
|
616
628
|
"cover": [],
|
|
@@ -733,6 +745,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
733
745
|
"moves": [],
|
|
734
746
|
"say": []
|
|
735
747
|
},
|
|
748
|
+
"column": {
|
|
749
|
+
"never": []
|
|
750
|
+
},
|
|
736
751
|
"art": {
|
|
737
752
|
"preloader": [],
|
|
738
753
|
"cover": [],
|
|
@@ -863,6 +878,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
863
878
|
"moves": [],
|
|
864
879
|
"say": []
|
|
865
880
|
},
|
|
881
|
+
"column": {
|
|
882
|
+
"never": []
|
|
883
|
+
},
|
|
866
884
|
"art": {
|
|
867
885
|
"preloader": [],
|
|
868
886
|
"cover": [],
|
|
@@ -985,6 +1003,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
985
1003
|
"moves": [],
|
|
986
1004
|
"say": []
|
|
987
1005
|
},
|
|
1006
|
+
"column": {
|
|
1007
|
+
"never": []
|
|
1008
|
+
},
|
|
988
1009
|
"art": {
|
|
989
1010
|
"preloader": [],
|
|
990
1011
|
"cover": [],
|
|
@@ -1111,6 +1132,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1111
1132
|
"moves": [],
|
|
1112
1133
|
"say": []
|
|
1113
1134
|
},
|
|
1135
|
+
"column": {
|
|
1136
|
+
"never": []
|
|
1137
|
+
},
|
|
1114
1138
|
"art": {
|
|
1115
1139
|
"preloader": [],
|
|
1116
1140
|
"cover": [],
|
|
@@ -1235,6 +1259,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1235
1259
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
1236
1260
|
]
|
|
1237
1261
|
},
|
|
1262
|
+
"column": {
|
|
1263
|
+
"never": [
|
|
1264
|
+
"wide"
|
|
1265
|
+
]
|
|
1266
|
+
},
|
|
1238
1267
|
"art": {
|
|
1239
1268
|
"preloader": [
|
|
1240
1269
|
"counter",
|
|
@@ -1392,6 +1421,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1392
1421
|
"moves": [],
|
|
1393
1422
|
"say": []
|
|
1394
1423
|
},
|
|
1424
|
+
"column": {
|
|
1425
|
+
"never": []
|
|
1426
|
+
},
|
|
1395
1427
|
"art": {
|
|
1396
1428
|
"preloader": [
|
|
1397
1429
|
"counter"
|
|
@@ -1524,6 +1556,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1524
1556
|
"moves": [],
|
|
1525
1557
|
"say": []
|
|
1526
1558
|
},
|
|
1559
|
+
"column": {
|
|
1560
|
+
"never": []
|
|
1561
|
+
},
|
|
1527
1562
|
"art": {
|
|
1528
1563
|
"preloader": [
|
|
1529
1564
|
"counter"
|
|
@@ -1664,6 +1699,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1664
1699
|
"moves": [],
|
|
1665
1700
|
"say": []
|
|
1666
1701
|
},
|
|
1702
|
+
"column": {
|
|
1703
|
+
"never": []
|
|
1704
|
+
},
|
|
1667
1705
|
"art": {
|
|
1668
1706
|
"preloader": [
|
|
1669
1707
|
"counter"
|
|
@@ -1806,6 +1844,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1806
1844
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
1807
1845
|
]
|
|
1808
1846
|
},
|
|
1847
|
+
"column": {
|
|
1848
|
+
"never": [
|
|
1849
|
+
"wide"
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1809
1852
|
"art": {
|
|
1810
1853
|
"preloader": [
|
|
1811
1854
|
"mark",
|
|
@@ -1974,6 +2017,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
1974
2017
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
1975
2018
|
]
|
|
1976
2019
|
},
|
|
2020
|
+
"column": {
|
|
2021
|
+
"never": [
|
|
2022
|
+
"wide"
|
|
2023
|
+
]
|
|
2024
|
+
},
|
|
1977
2025
|
"art": {
|
|
1978
2026
|
"preloader": [
|
|
1979
2027
|
"mark",
|
|
@@ -2137,6 +2185,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2137
2185
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
2138
2186
|
]
|
|
2139
2187
|
},
|
|
2188
|
+
"column": {
|
|
2189
|
+
"never": [
|
|
2190
|
+
"wide"
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2140
2193
|
"art": {
|
|
2141
2194
|
"preloader": [
|
|
2142
2195
|
"mark",
|
|
@@ -2296,6 +2349,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2296
2349
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
2297
2350
|
]
|
|
2298
2351
|
},
|
|
2352
|
+
"column": {
|
|
2353
|
+
"never": [
|
|
2354
|
+
"wide"
|
|
2355
|
+
]
|
|
2356
|
+
},
|
|
2299
2357
|
"art": {
|
|
2300
2358
|
"preloader": [
|
|
2301
2359
|
"counter",
|
|
@@ -2431,6 +2489,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2431
2489
|
"moves": [],
|
|
2432
2490
|
"say": []
|
|
2433
2491
|
},
|
|
2492
|
+
"column": {
|
|
2493
|
+
"never": []
|
|
2494
|
+
},
|
|
2434
2495
|
"art": {
|
|
2435
2496
|
"preloader": [],
|
|
2436
2497
|
"cover": [],
|
|
@@ -2565,6 +2626,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2565
2626
|
"moves": [],
|
|
2566
2627
|
"say": []
|
|
2567
2628
|
},
|
|
2629
|
+
"column": {
|
|
2630
|
+
"never": []
|
|
2631
|
+
},
|
|
2568
2632
|
"art": {
|
|
2569
2633
|
"preloader": [
|
|
2570
2634
|
"counter"
|
|
@@ -2699,6 +2763,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2699
2763
|
"moves": [],
|
|
2700
2764
|
"say": []
|
|
2701
2765
|
},
|
|
2766
|
+
"column": {
|
|
2767
|
+
"never": []
|
|
2768
|
+
},
|
|
2702
2769
|
"art": {
|
|
2703
2770
|
"preloader": [],
|
|
2704
2771
|
"cover": [],
|
|
@@ -2827,6 +2894,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2827
2894
|
"moves": [],
|
|
2828
2895
|
"say": []
|
|
2829
2896
|
},
|
|
2897
|
+
"column": {
|
|
2898
|
+
"never": []
|
|
2899
|
+
},
|
|
2830
2900
|
"art": {
|
|
2831
2901
|
"preloader": [],
|
|
2832
2902
|
"cover": [],
|
|
@@ -2946,6 +3016,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
2946
3016
|
"moves": [],
|
|
2947
3017
|
"say": []
|
|
2948
3018
|
},
|
|
3019
|
+
"column": {
|
|
3020
|
+
"never": []
|
|
3021
|
+
},
|
|
2949
3022
|
"art": {
|
|
2950
3023
|
"preloader": [
|
|
2951
3024
|
"counter"
|
|
@@ -3073,6 +3146,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3073
3146
|
"moves": [],
|
|
3074
3147
|
"say": []
|
|
3075
3148
|
},
|
|
3149
|
+
"column": {
|
|
3150
|
+
"never": []
|
|
3151
|
+
},
|
|
3076
3152
|
"art": {
|
|
3077
3153
|
"preloader": [],
|
|
3078
3154
|
"cover": [],
|
|
@@ -3201,6 +3277,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3201
3277
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
3202
3278
|
]
|
|
3203
3279
|
},
|
|
3280
|
+
"column": {
|
|
3281
|
+
"never": [
|
|
3282
|
+
"wide"
|
|
3283
|
+
]
|
|
3284
|
+
},
|
|
3204
3285
|
"art": {
|
|
3205
3286
|
"preloader": [
|
|
3206
3287
|
"counter",
|
|
@@ -3346,6 +3427,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3346
3427
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
3347
3428
|
]
|
|
3348
3429
|
},
|
|
3430
|
+
"column": {
|
|
3431
|
+
"never": [
|
|
3432
|
+
"wide"
|
|
3433
|
+
]
|
|
3434
|
+
},
|
|
3349
3435
|
"art": {
|
|
3350
3436
|
"preloader": [
|
|
3351
3437
|
"counter",
|
|
@@ -3489,6 +3575,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3489
3575
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
3490
3576
|
]
|
|
3491
3577
|
},
|
|
3578
|
+
"column": {
|
|
3579
|
+
"never": [
|
|
3580
|
+
"wide"
|
|
3581
|
+
]
|
|
3582
|
+
},
|
|
3492
3583
|
"art": {
|
|
3493
3584
|
"preloader": [
|
|
3494
3585
|
"mark",
|
|
@@ -3647,6 +3738,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3647
3738
|
"moves": [],
|
|
3648
3739
|
"say": []
|
|
3649
3740
|
},
|
|
3741
|
+
"column": {
|
|
3742
|
+
"never": []
|
|
3743
|
+
},
|
|
3650
3744
|
"art": {
|
|
3651
3745
|
"preloader": [
|
|
3652
3746
|
"counter"
|
|
@@ -3789,6 +3883,11 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3789
3883
|
"Trust and care are shown straight: nothing leans, nothing is fanned like a hand of cards."
|
|
3790
3884
|
]
|
|
3791
3885
|
},
|
|
3886
|
+
"column": {
|
|
3887
|
+
"never": [
|
|
3888
|
+
"wide"
|
|
3889
|
+
]
|
|
3890
|
+
},
|
|
3792
3891
|
"art": {
|
|
3793
3892
|
"preloader": [
|
|
3794
3893
|
"counter",
|
|
@@ -3919,6 +4018,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
3919
4018
|
"moves": [],
|
|
3920
4019
|
"say": []
|
|
3921
4020
|
},
|
|
4021
|
+
"column": {
|
|
4022
|
+
"never": []
|
|
4023
|
+
},
|
|
3922
4024
|
"art": {
|
|
3923
4025
|
"preloader": [],
|
|
3924
4026
|
"cover": [],
|
|
@@ -4045,6 +4147,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
4045
4147
|
"moves": [],
|
|
4046
4148
|
"say": []
|
|
4047
4149
|
},
|
|
4150
|
+
"column": {
|
|
4151
|
+
"never": []
|
|
4152
|
+
},
|
|
4048
4153
|
"art": {
|
|
4049
4154
|
"preloader": [],
|
|
4050
4155
|
"cover": [],
|
|
@@ -4177,6 +4282,9 @@ export const SPEC_BUSINESS_TYPES = [
|
|
|
4177
4282
|
"moves": [],
|
|
4178
4283
|
"say": []
|
|
4179
4284
|
},
|
|
4285
|
+
"column": {
|
|
4286
|
+
"never": []
|
|
4287
|
+
},
|
|
4180
4288
|
"art": {
|
|
4181
4289
|
"preloader": [
|
|
4182
4290
|
"counter"
|
|
@@ -22,7 +22,7 @@ import { referenceSeed } from './reference-colour';
|
|
|
22
22
|
export function presetDesign(
|
|
23
23
|
presetId: string,
|
|
24
24
|
input: MotionInput | string | null,
|
|
25
|
-
kept: Partial<Pick<DesignChoices, 'scroll' | 'animate' | 'between' | 'motion' | 'feel' | 'headings' | 'preloader' | 'scrub'>> = {},
|
|
25
|
+
kept: Partial<Pick<DesignChoices, 'scroll' | 'animate' | 'between' | 'motion' | 'feel' | 'headings' | 'preloader' | 'scrub' | 'column'>> = {},
|
|
26
26
|
read: StyleRead | null = null,
|
|
27
27
|
): DesignChoices | null {
|
|
28
28
|
const base = presetChoices(presetId);
|
package/styles/iox-design.css
CHANGED
|
@@ -1438,9 +1438,12 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1438
1438
|
--list-number-ink: 0.1;
|
|
1439
1439
|
--list-dir: 1;
|
|
1440
1440
|
}
|
|
1441
|
-
|
|
1441
|
+
/* A right-to-left frame (design-core writes `iox-list-mirrored` from its own Text Direction — AW6's answer, never
|
|
1442
|
+
`:dir(rtl)`, which a composed Hebrew page never matches): what leans and fans turns the other way (R-H-AW11-8). */
|
|
1443
|
+
.iox-list-mirrored { --list-dir: -1; }
|
|
1442
1444
|
/* The room a round-two list is laid out in is its frame's (a container query: the canvas's phone frame agrees). */
|
|
1443
|
-
:where(.iox-role-list, .iox-role-list-dim):has(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-bento, .iox-role-list-rows, .iox-role-list-stage, .iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-tilted, .iox-role-list-tilted-two)
|
|
1445
|
+
:where(.iox-role-list, .iox-role-list-dim):has(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-bento, .iox-role-list-rows, .iox-role-list-stage, .iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-tilted, .iox-role-list-tilted-two),
|
|
1446
|
+
:where(.iox-role-list, .iox-role-list-dim).iox-list-arrange-fan {
|
|
1444
1447
|
container: iox-list / inline-size;
|
|
1445
1448
|
}
|
|
1446
1449
|
|
|
@@ -1471,7 +1474,9 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1471
1474
|
}
|
|
1472
1475
|
@container iox-list (max-width: 640px) {
|
|
1473
1476
|
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root { grid-template-columns: minmax(0, 1fr); }
|
|
1474
|
-
|
|
1477
|
+
/* `:nth-child(n)` weighs as the laptop's `:nth-child(6n+4)` placement, so a phone's one column wins (#116 — that
|
|
1478
|
+
placement made implicit columns and the other items collapsed to nothing). */
|
|
1479
|
+
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(n) { grid-column: 1 / -1; margin: 0; width: auto; }
|
|
1475
1480
|
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(3n+2) { margin-inline-start: 16%; }
|
|
1476
1481
|
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > :nth-child(3n) { margin-inline-end: 16%; }
|
|
1477
1482
|
:is(.iox-role-list-hang-two, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
@@ -1490,21 +1495,28 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1490
1495
|
--bento-cols: 5;
|
|
1491
1496
|
display: grid;
|
|
1492
1497
|
grid-template-columns: repeat(var(--bento-cols), minmax(0, 1fr));
|
|
1498
|
+
/* every row is the bento's own (a Repeater's node style names `grid-template-rows: auto`, which grew the first row
|
|
1499
|
+
to its words and broke the tall tile's two-high — #116) */
|
|
1500
|
+
grid-template-rows: none;
|
|
1493
1501
|
grid-auto-rows: clamp(140px, 15cqi, 240px);
|
|
1494
1502
|
gap: var(--iox-space-gap);
|
|
1495
1503
|
}
|
|
1496
1504
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(-n+2):last-child) { --bento-cols: 2; }
|
|
1497
1505
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child, > :nth-child(4):last-child) { --bento-cols: 3; }
|
|
1498
1506
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child, > :nth-child(6):last-child) { --bento-cols: 4; }
|
|
1499
|
-
|
|
1507
|
+
/* The trim out-ranks every arrangement rule below (a row that IS the card takes `display: flex`): `:is(*, .iox-role-card)`
|
|
1508
|
+
adds one class to its weight and matches every row (#116). */
|
|
1509
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :nth-child(n+8):is(*, .iox-role-card), :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root:has(> :nth-child(2n):last-child) > :last-child:is(*, .iox-role-card) { display: none; }
|
|
1500
1510
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-column: span 2; grid-row: span 2; }
|
|
1501
1511
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * { min-width: 0; min-height: 0; height: 100%; }
|
|
1502
1512
|
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { height: 100%; min-height: 0; display: flex; flex-direction: column; }
|
|
1503
1513
|
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
|
|
1504
1514
|
:is(:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
|
|
1505
1515
|
@container iox-list (max-width: 640px) {
|
|
1506
|
-
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root { --bento-cols: 2; grid-auto-rows: clamp(
|
|
1516
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root { --bento-cols: 2; grid-auto-rows: clamp(150px, 44cqi, 200px); }
|
|
1507
1517
|
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :first-child { grid-row: span 1; grid-column: 1 / -1; }
|
|
1518
|
+
/* a half-width tile holds its words at the lead size — set at the heading's size they ran out of it (#116) */
|
|
1519
|
+
:is(.iox-role-list-bento, .iox-role-list-bento > .repeater-wrapper) > .repeater-root > :not(:first-child) .iox-role-card-title { font-size: var(--iox-size-lead); }
|
|
1508
1520
|
}
|
|
1509
1521
|
|
|
1510
1522
|
/* ROWS — an index: one line per item between hairlines, the title in the display face, an arrow at the end that comes
|
|
@@ -1523,7 +1535,7 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1523
1535
|
color: var(--iox-accent-text, var(--iox-accent)); font-family: var(--iox-font-body);
|
|
1524
1536
|
transition: opacity var(--iox-dur-ui) var(--iox-ease-hover), translate var(--iox-dur-ui) var(--iox-ease-hover);
|
|
1525
1537
|
}
|
|
1526
|
-
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item))
|
|
1538
|
+
.iox-list-mirrored :is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item))::after { content: "\2190"; content: "\2190" / ""; }
|
|
1527
1539
|
:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-family: var(--iox-font-display); }
|
|
1528
1540
|
@media (hover: hover) and (pointer: fine) {
|
|
1529
1541
|
:is(:is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-rows, .iox-role-list-rows > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item))::after { opacity: 0; translate: calc(var(--list-dir, 1) * -6px) 0; }
|
|
@@ -1561,7 +1573,7 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1561
1573
|
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(7):last-child) { --stage-n: 7; }
|
|
1562
1574
|
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(8):last-child) { --stage-n: 8; }
|
|
1563
1575
|
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root:has(> :nth-child(9):last-child) { --stage-n: 9; }
|
|
1564
|
-
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :nth-child(n+11) { display: none; }
|
|
1576
|
+
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :nth-child(n+11):is(*, .iox-role-card) { display: none; }
|
|
1565
1577
|
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > *, :is(:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)) { display: contents; }
|
|
1566
1578
|
:is(.iox-role-list-stage, .iox-role-list-stage > .repeater-wrapper) > .repeater-root .iox-role-card-content {
|
|
1567
1579
|
grid-column: 1; align-self: center; padding: 10px 2px; border-block-end: var(--iox-border-width, 1px) solid var(--iox-line);
|
|
@@ -1707,6 +1719,13 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1707
1719
|
--iox-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1708
1720
|
--iox-text-muted: var(--list-item-ink, var(--list-ramp-ink));
|
|
1709
1721
|
--iox-accent-text: var(--list-item-ink, var(--list-ramp-ink));
|
|
1722
|
+
/* Every part's own ink token too — the title (`heading-color`), the eyebrow, an icon, the title's link — or it
|
|
1723
|
+
resolves at the root and paints the page's ink on the item's ground (#116). */
|
|
1724
|
+
--iox-heading-color: var(--list-item-ink, var(--list-ramp-ink));
|
|
1725
|
+
--iox-eyebrow-color: var(--list-item-ink, var(--list-ramp-ink));
|
|
1726
|
+
--iox-icon-color: var(--list-item-ink, var(--list-ramp-ink));
|
|
1727
|
+
--iox-link-color: var(--list-item-ink, var(--list-ramp-ink));
|
|
1728
|
+
--iox-link-hover-color: var(--list-item-ink, var(--list-ramp-ink));
|
|
1710
1729
|
--iox-card-border: transparent;
|
|
1711
1730
|
background: var(--iox-card-bg); color: var(--iox-text);
|
|
1712
1731
|
}
|
|
@@ -1777,10 +1796,21 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1777
1796
|
:is(.iox-role-list-drift-row, .iox-role-list-drift-row > .repeater-wrapper, .iox-role-list-drift-row .repeater-root) { display: flex; flex: none; gap: var(--iox-space-gap); }
|
|
1778
1797
|
.iox-role-list-drift-row .repeater-root > * { flex: none; width: clamp(160px, 18cqi, 260px); }
|
|
1779
1798
|
.iox-role-list-drift-row :is(.iox-role-card-media, .iox-role-list-item) img { aspect-ratio: 4 / 3; object-fit: cover; }
|
|
1780
|
-
/* A fan you drag (Swiper's creative effect): drawn whole, like the deck — the cards waiting
|
|
1799
|
+
/* A fan you drag (Swiper's creative effect, planSwiperOptions `fan`): drawn whole, like the deck — the cards waiting
|
|
1800
|
+
either side are never cut. Its card is the still fan's size, set in the middle of the list, so the hand (two turned a
|
|
1801
|
+
side round a point below) fits its list (#116: a card the list's full height ran the hand off its section); the front
|
|
1802
|
+
card is raised, as the still fan's middle. */
|
|
1781
1803
|
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative,
|
|
1782
1804
|
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { overflow: visible; }
|
|
1783
1805
|
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper { padding-block-end: 12%; }
|
|
1806
|
+
:is(.iox-role-list, .iox-role-list-dim).iox-list-arrange-fan.iox-list-move-drag .swiper {
|
|
1807
|
+
width: min(280px, 30cqi); height: auto; aspect-ratio: 3 / 4; margin: auto; flex: none;
|
|
1808
|
+
}
|
|
1809
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper > .swiper-slide { transition-property: transform, translate; }
|
|
1810
|
+
:is(.iox-role-list, .iox-role-list-dim) .swiper.swiper-creative > .swiper-wrapper > .swiper-slide-active { translate: 0 -14px; }
|
|
1811
|
+
@container iox-list (max-width: 640px) {
|
|
1812
|
+
:is(.iox-role-list, .iox-role-list-dim).iox-list-arrange-fan.iox-list-move-drag .swiper { width: min(200px, 34cqi); }
|
|
1813
|
+
}
|
|
1784
1814
|
/* Reduced motion (the board's floor): nothing travels or turns on a hover or a focus — fades stay. The rest pose (a
|
|
1785
1815
|
fan's arc, a tilted card's lean, a wall's drops) is a place, not a motion, and stays. */
|
|
1786
1816
|
@media (prefers-reduced-motion: reduce) {
|