@telus-uds/theme-allium 4.4.0 → 4.6.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/build/android/schema.json +1139 -943
- package/build/android/theme.json +253 -70
- package/build/ios/schema.json +1139 -943
- package/build/ios/theme.json +253 -70
- package/build/rn/schema.json +1139 -943
- package/build/rn/theme.js +247 -108
- package/package.json +5 -5
- package/theme.json +179 -30
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 21 Jun 2023 20:32:18 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -144,8 +144,24 @@ module.exports = {
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
BlockQuote: {
|
|
147
|
-
appearances: {
|
|
148
|
-
|
|
147
|
+
appearances: {
|
|
148
|
+
viewport: {
|
|
149
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
150
|
+
type: 'state',
|
|
151
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
rules: [
|
|
155
|
+
{
|
|
156
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
157
|
+
tokens: {
|
|
158
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
159
|
+
titleHeadingFontSize: 24,
|
|
160
|
+
titleHeadingFontWeight: '400',
|
|
161
|
+
titleHeadingLineHeight: 1.33333333333
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
149
165
|
tokens: {
|
|
150
166
|
backgroundGradient: {
|
|
151
167
|
angle: 135,
|
|
@@ -156,11 +172,23 @@ module.exports = {
|
|
|
156
172
|
type: 'linear'
|
|
157
173
|
},
|
|
158
174
|
color: '#414547',
|
|
175
|
+
linkFontName: 'HelveticaNow',
|
|
176
|
+
linkFontSize: 16,
|
|
177
|
+
linkFontWeight: '700',
|
|
178
|
+
linkLineHeight: 1.5,
|
|
159
179
|
marginBottom: 16,
|
|
160
180
|
paddingBottom: 16,
|
|
161
181
|
paddingLeft: 32,
|
|
162
182
|
paddingRight: 32,
|
|
163
183
|
paddingTop: 16,
|
|
184
|
+
titleFontName: 'HelveticaNow',
|
|
185
|
+
titleFontSize: 20,
|
|
186
|
+
titleFontWeight: '400',
|
|
187
|
+
titleHeadingFontName: 'HelveticaNow',
|
|
188
|
+
titleHeadingFontSize: 28,
|
|
189
|
+
titleHeadingFontWeight: '400',
|
|
190
|
+
titleHeadingLineHeight: 1.28571428571,
|
|
191
|
+
titleLineHeight: 1.6,
|
|
164
192
|
width: 2
|
|
165
193
|
}
|
|
166
194
|
},
|
|
@@ -404,13 +432,13 @@ module.exports = {
|
|
|
404
432
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
405
433
|
platforms: [ 'rn' ],
|
|
406
434
|
type: 'state',
|
|
407
|
-
values: [ true ]
|
|
435
|
+
values: [ true, false ]
|
|
408
436
|
},
|
|
409
437
|
hover: {
|
|
410
438
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
411
439
|
platforms: [ 'rn' ],
|
|
412
440
|
type: 'state',
|
|
413
|
-
values: [ true ]
|
|
441
|
+
values: [ true, false ]
|
|
414
442
|
},
|
|
415
443
|
inactive: {
|
|
416
444
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -425,7 +453,7 @@ module.exports = {
|
|
|
425
453
|
pressed: {
|
|
426
454
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
427
455
|
type: 'state',
|
|
428
|
-
values: [ true ]
|
|
456
|
+
values: [ true, false ]
|
|
429
457
|
},
|
|
430
458
|
priority: {
|
|
431
459
|
description: 'Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.',
|
|
@@ -463,6 +491,7 @@ module.exports = {
|
|
|
463
491
|
if: { priority: 'high' },
|
|
464
492
|
tokens: {
|
|
465
493
|
backgroundColor: '#2b8000',
|
|
494
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
466
495
|
borderWidth: 0,
|
|
467
496
|
color: '#ffffff'
|
|
468
497
|
}
|
|
@@ -471,7 +500,7 @@ module.exports = {
|
|
|
471
500
|
if: { pressed: true },
|
|
472
501
|
tokens: {
|
|
473
502
|
backgroundColor: '#163e06',
|
|
474
|
-
|
|
503
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
475
504
|
color: '#ffffff'
|
|
476
505
|
}
|
|
477
506
|
},
|
|
@@ -507,6 +536,7 @@ module.exports = {
|
|
|
507
536
|
if: { inverse: true, pressed: true },
|
|
508
537
|
tokens: {
|
|
509
538
|
backgroundColor: 'rgba(255, 255, 255, 0.6)',
|
|
539
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
510
540
|
color: '#414547'
|
|
511
541
|
}
|
|
512
542
|
},
|
|
@@ -528,7 +558,11 @@ module.exports = {
|
|
|
528
558
|
},
|
|
529
559
|
{
|
|
530
560
|
if: { danger: true, pressed: true, priority: null },
|
|
531
|
-
tokens: {
|
|
561
|
+
tokens: {
|
|
562
|
+
backgroundColor: '#c12335',
|
|
563
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
564
|
+
color: '#ffffff'
|
|
565
|
+
}
|
|
532
566
|
},
|
|
533
567
|
{
|
|
534
568
|
if: { danger: true, focus: true, pressed: true, priority: null },
|
|
@@ -707,13 +741,13 @@ module.exports = {
|
|
|
707
741
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
708
742
|
platforms: [ 'rn' ],
|
|
709
743
|
type: 'state',
|
|
710
|
-
values: [ true ]
|
|
744
|
+
values: [ true, false ]
|
|
711
745
|
},
|
|
712
746
|
hover: {
|
|
713
747
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
714
748
|
platforms: [ 'rn' ],
|
|
715
749
|
type: 'state',
|
|
716
|
-
values: [ true ]
|
|
750
|
+
values: [ true, false ]
|
|
717
751
|
},
|
|
718
752
|
inactive: {
|
|
719
753
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -728,7 +762,7 @@ module.exports = {
|
|
|
728
762
|
pressed: {
|
|
729
763
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
730
764
|
type: 'state',
|
|
731
|
-
values: [ true ]
|
|
765
|
+
values: [ true, false ]
|
|
732
766
|
},
|
|
733
767
|
selected: {
|
|
734
768
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -859,13 +893,13 @@ module.exports = {
|
|
|
859
893
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
860
894
|
platforms: [ 'rn' ],
|
|
861
895
|
type: 'state',
|
|
862
|
-
values: [ true ]
|
|
896
|
+
values: [ true, false ]
|
|
863
897
|
},
|
|
864
898
|
hover: {
|
|
865
899
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
866
900
|
platforms: [ 'rn' ],
|
|
867
901
|
type: 'state',
|
|
868
|
-
values: [ true ]
|
|
902
|
+
values: [ true, false ]
|
|
869
903
|
},
|
|
870
904
|
iconPosition: {
|
|
871
905
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
@@ -880,7 +914,7 @@ module.exports = {
|
|
|
880
914
|
pressed: {
|
|
881
915
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
882
916
|
type: 'state',
|
|
883
|
-
values: [ true ]
|
|
917
|
+
values: [ true, false ]
|
|
884
918
|
},
|
|
885
919
|
selected: {
|
|
886
920
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -1149,13 +1183,13 @@ module.exports = {
|
|
|
1149
1183
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1150
1184
|
platforms: [ 'rn' ],
|
|
1151
1185
|
type: 'state',
|
|
1152
|
-
values: [ true ]
|
|
1186
|
+
values: [ true, false ]
|
|
1153
1187
|
},
|
|
1154
1188
|
hover: {
|
|
1155
1189
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1156
1190
|
platforms: [ 'rn' ],
|
|
1157
1191
|
type: 'state',
|
|
1158
|
-
values: [ true ]
|
|
1192
|
+
values: [ true, false ]
|
|
1159
1193
|
},
|
|
1160
1194
|
inactive: {
|
|
1161
1195
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1166,7 +1200,7 @@ module.exports = {
|
|
|
1166
1200
|
pressed: {
|
|
1167
1201
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1168
1202
|
type: 'state',
|
|
1169
|
-
values: [ true ]
|
|
1203
|
+
values: [ true, false ]
|
|
1170
1204
|
},
|
|
1171
1205
|
selected: {
|
|
1172
1206
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -1295,13 +1329,13 @@ module.exports = {
|
|
|
1295
1329
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1296
1330
|
platforms: [ 'rn' ],
|
|
1297
1331
|
type: 'state',
|
|
1298
|
-
values: [ true ]
|
|
1332
|
+
values: [ true, false ]
|
|
1299
1333
|
},
|
|
1300
1334
|
hover: {
|
|
1301
1335
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1302
1336
|
platforms: [ 'rn' ],
|
|
1303
1337
|
type: 'state',
|
|
1304
|
-
values: [ true ]
|
|
1338
|
+
values: [ true, false ]
|
|
1305
1339
|
},
|
|
1306
1340
|
inactive: {
|
|
1307
1341
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1376,13 +1410,13 @@ module.exports = {
|
|
|
1376
1410
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1377
1411
|
platforms: [ 'rn' ],
|
|
1378
1412
|
type: 'state',
|
|
1379
|
-
values: [ true ]
|
|
1413
|
+
values: [ true, false ]
|
|
1380
1414
|
},
|
|
1381
1415
|
inverse: { type: 'variant', values: [ true ] },
|
|
1382
1416
|
pressed: {
|
|
1383
1417
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1384
1418
|
type: 'state',
|
|
1385
|
-
values: [ true ]
|
|
1419
|
+
values: [ true, false ]
|
|
1386
1420
|
},
|
|
1387
1421
|
size: {
|
|
1388
1422
|
description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
|
|
@@ -1546,6 +1580,9 @@ module.exports = {
|
|
|
1546
1580
|
calendarDayDefaultFontName: 'HelveticaNow',
|
|
1547
1581
|
calendarDayDefaultFontSize: 14,
|
|
1548
1582
|
calendarDayDefaultFontWeight: '400',
|
|
1583
|
+
calendarDaySelectedDisabledBackground: '#fafafa',
|
|
1584
|
+
calendarDaySelectedDisabledColor: '#ffffff',
|
|
1585
|
+
calendarDaySelectedDisabledContentBackgroundColor: '#b2b9bf',
|
|
1549
1586
|
calendarDaySelectedFocusBeforeBackground: '#ffffff',
|
|
1550
1587
|
calendarDaySelectedHoverBackground: '#ffffff',
|
|
1551
1588
|
calendarDaySelectedHoverBeforeBackground: '#ffffff',
|
|
@@ -1858,18 +1895,18 @@ module.exports = {
|
|
|
1858
1895
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1859
1896
|
platforms: [ 'rn' ],
|
|
1860
1897
|
type: 'state',
|
|
1861
|
-
values: [ true ]
|
|
1898
|
+
values: [ true, false ]
|
|
1862
1899
|
},
|
|
1863
1900
|
hover: {
|
|
1864
1901
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1865
1902
|
platforms: [ 'rn' ],
|
|
1866
1903
|
type: 'state',
|
|
1867
|
-
values: [ true ]
|
|
1904
|
+
values: [ true, false ]
|
|
1868
1905
|
},
|
|
1869
1906
|
pressed: {
|
|
1870
1907
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1871
1908
|
type: 'state',
|
|
1872
|
-
values: [ true ]
|
|
1909
|
+
values: [ true, false ]
|
|
1873
1910
|
}
|
|
1874
1911
|
},
|
|
1875
1912
|
rules: [
|
|
@@ -1966,13 +2003,13 @@ module.exports = {
|
|
|
1966
2003
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1967
2004
|
platforms: [ 'rn' ],
|
|
1968
2005
|
type: 'state',
|
|
1969
|
-
values: [ true ]
|
|
2006
|
+
values: [ true, false ]
|
|
1970
2007
|
},
|
|
1971
2008
|
hover: {
|
|
1972
2009
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1973
2010
|
platforms: [ 'rn' ],
|
|
1974
2011
|
type: 'state',
|
|
1975
|
-
values: [ true ]
|
|
2012
|
+
values: [ true, false ]
|
|
1976
2013
|
},
|
|
1977
2014
|
inactive: {
|
|
1978
2015
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1992,7 +2029,7 @@ module.exports = {
|
|
|
1992
2029
|
pressed: {
|
|
1993
2030
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1994
2031
|
type: 'state',
|
|
1995
|
-
values: [ true ]
|
|
2032
|
+
values: [ true, false ]
|
|
1996
2033
|
},
|
|
1997
2034
|
raised: {
|
|
1998
2035
|
description: 'Uses shadow and background colour to appear raised above the page',
|
|
@@ -2268,13 +2305,13 @@ module.exports = {
|
|
|
2268
2305
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
2269
2306
|
platforms: [ 'rn' ],
|
|
2270
2307
|
type: 'state',
|
|
2271
|
-
values: [ true ]
|
|
2308
|
+
values: [ true, false ]
|
|
2272
2309
|
},
|
|
2273
2310
|
hover: {
|
|
2274
2311
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2275
2312
|
platforms: [ 'rn' ],
|
|
2276
2313
|
type: 'state',
|
|
2277
|
-
values: [ true ]
|
|
2314
|
+
values: [ true, false ]
|
|
2278
2315
|
},
|
|
2279
2316
|
iconPosition: {
|
|
2280
2317
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
@@ -2294,7 +2331,7 @@ module.exports = {
|
|
|
2294
2331
|
pressed: {
|
|
2295
2332
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
2296
2333
|
type: 'state',
|
|
2297
|
-
values: [ true ]
|
|
2334
|
+
values: [ true, false ]
|
|
2298
2335
|
},
|
|
2299
2336
|
size: {
|
|
2300
2337
|
description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
|
|
@@ -2466,12 +2503,12 @@ module.exports = {
|
|
|
2466
2503
|
listGutter: 16
|
|
2467
2504
|
}
|
|
2468
2505
|
},
|
|
2469
|
-
|
|
2506
|
+
Listbox: {
|
|
2470
2507
|
appearances: {
|
|
2471
2508
|
current: {
|
|
2472
2509
|
description: 'When the current item is selected',
|
|
2473
2510
|
type: 'state',
|
|
2474
|
-
values: [ true ]
|
|
2511
|
+
values: [ true, false ]
|
|
2475
2512
|
},
|
|
2476
2513
|
expanded: {
|
|
2477
2514
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
@@ -2482,37 +2519,57 @@ module.exports = {
|
|
|
2482
2519
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
2483
2520
|
platforms: [ 'rn' ],
|
|
2484
2521
|
type: 'state',
|
|
2485
|
-
values: [ true ]
|
|
2522
|
+
values: [ true, false ]
|
|
2486
2523
|
},
|
|
2487
2524
|
hover: {
|
|
2488
2525
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2489
2526
|
platforms: [ 'rn' ],
|
|
2490
2527
|
type: 'state',
|
|
2491
|
-
values: [ true ]
|
|
2528
|
+
values: [ true, false ]
|
|
2492
2529
|
},
|
|
2493
2530
|
isChild: {
|
|
2494
2531
|
description: 'when the item is child of another child',
|
|
2495
2532
|
type: 'state',
|
|
2496
|
-
values: [ true ]
|
|
2533
|
+
values: [ true, false ]
|
|
2497
2534
|
},
|
|
2498
2535
|
pressed: {
|
|
2499
2536
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
2500
2537
|
type: 'state',
|
|
2501
|
-
values: [ true ]
|
|
2538
|
+
values: [ true, false ]
|
|
2502
2539
|
}
|
|
2503
2540
|
},
|
|
2504
2541
|
rules: [
|
|
2505
2542
|
{
|
|
2506
|
-
if: { pressed: true },
|
|
2507
|
-
tokens: {
|
|
2543
|
+
if: { focus: true, hover: true, pressed: true },
|
|
2544
|
+
tokens: {
|
|
2545
|
+
groupBackgroundColor: '#e3e6e8',
|
|
2546
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2547
|
+
groupColor: '#676e73',
|
|
2548
|
+
itemBackgroundColor: '#e3e6e8',
|
|
2549
|
+
itemColor: '#676e73'
|
|
2550
|
+
}
|
|
2508
2551
|
},
|
|
2509
2552
|
{
|
|
2510
|
-
if: { hover: true },
|
|
2511
|
-
tokens: {
|
|
2553
|
+
if: { focus: false, hover: true, pressed: false },
|
|
2554
|
+
tokens: {
|
|
2555
|
+
groupBackgroundColor: '#f4f4f7',
|
|
2556
|
+
groupColor: '#4b286d',
|
|
2557
|
+
itemBackgroundColor: '#f4f4f7',
|
|
2558
|
+
itemColor: '#4b286d'
|
|
2559
|
+
}
|
|
2512
2560
|
},
|
|
2513
2561
|
{
|
|
2514
|
-
if: { focus: true },
|
|
2515
|
-
tokens: {
|
|
2562
|
+
if: { focus: true, pressed: false },
|
|
2563
|
+
tokens: {
|
|
2564
|
+
groupBorderColor: '#4b286d',
|
|
2565
|
+
groupBorderWidth: 1,
|
|
2566
|
+
groupColor: '#4b286d',
|
|
2567
|
+
itemBorderBottomColor: '#4b286d',
|
|
2568
|
+
itemBorderLeftColor: '#4b286d',
|
|
2569
|
+
itemBorderRightColor: '#4b286d',
|
|
2570
|
+
itemBorderTopColor: '#4b286d',
|
|
2571
|
+
itemColor: '#4b286d'
|
|
2572
|
+
}
|
|
2516
2573
|
},
|
|
2517
2574
|
{
|
|
2518
2575
|
if: { expanded: true },
|
|
@@ -2523,44 +2580,107 @@ module.exports = {
|
|
|
2523
2580
|
tokens: {
|
|
2524
2581
|
groupColor: '#4b286d',
|
|
2525
2582
|
groupFontName: 'HelveticaNow',
|
|
2583
|
+
groupFontWeight: '700',
|
|
2584
|
+
itemColor: '#4b286d',
|
|
2585
|
+
itemPaddingBottom: 12,
|
|
2586
|
+
itemPaddingLeft: 16,
|
|
2587
|
+
itemPaddingRight: 16,
|
|
2588
|
+
itemPaddingTop: 12
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
if: { current: true, pressed: true },
|
|
2593
|
+
tokens: {
|
|
2594
|
+
groupBackgroundColor: '#e3e6e8',
|
|
2595
|
+
groupBorderWidth: 0,
|
|
2596
|
+
groupColor: '#676e73',
|
|
2597
|
+
groupFontName: 'HelveticaNow',
|
|
2526
2598
|
groupFontWeight: '700'
|
|
2527
2599
|
}
|
|
2528
2600
|
},
|
|
2529
2601
|
{
|
|
2530
2602
|
if: { isChild: true },
|
|
2531
|
-
tokens: {
|
|
2603
|
+
tokens: {
|
|
2604
|
+
itemBorderBottomWidth: 0,
|
|
2605
|
+
itemBorderLeftColor: '#e3e6e8',
|
|
2606
|
+
itemBorderLeftWidth: 4,
|
|
2607
|
+
itemBorderTopWidth: 0
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
if: { focus: true, isChild: true },
|
|
2612
|
+
tokens: {
|
|
2613
|
+
itemBorderBottomColor: '#4b286d',
|
|
2614
|
+
itemBorderBottomWidth: 1,
|
|
2615
|
+
itemBorderLeftColor: '#4b286d',
|
|
2616
|
+
itemBorderRightColor: '#4b286d',
|
|
2617
|
+
itemBorderRightWidth: 1,
|
|
2618
|
+
itemBorderTopColor: '#4b286d',
|
|
2619
|
+
itemBorderTopWidth: 1
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
if: { hover: true, isChild: true },
|
|
2624
|
+
tokens: { itemBorderLeftColor: '#4b286d' }
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
if: { current: true, isChild: true },
|
|
2628
|
+
tokens: { itemBorderLeftColor: '#4b286d' }
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
if: { current: true, pressed: true },
|
|
2632
|
+
tokens: { itemColor: '#676e73' }
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
if: { isChild: true, pressed: true },
|
|
2636
|
+
tokens: {
|
|
2637
|
+
itemBorderBottomWidth: 0,
|
|
2638
|
+
itemBorderLeftColor: '#676e73',
|
|
2639
|
+
itemBorderTopWidth: 0
|
|
2640
|
+
}
|
|
2532
2641
|
}
|
|
2533
2642
|
],
|
|
2534
2643
|
tokens: {
|
|
2535
2644
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2536
|
-
groupBorderColor: '
|
|
2537
|
-
groupBorderRadius:
|
|
2645
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2646
|
+
groupBorderRadius: 0,
|
|
2538
2647
|
groupBorderWidth: 1,
|
|
2539
2648
|
groupColor: '#414547',
|
|
2540
2649
|
groupFontName: 'HelveticaNow',
|
|
2541
2650
|
groupFontSize: 14,
|
|
2542
2651
|
groupFontWeight: '400',
|
|
2652
|
+
groupHeight: 40,
|
|
2543
2653
|
groupIcon: PaletteIconCaretDown,
|
|
2544
2654
|
groupPaddingBottom: 12,
|
|
2545
2655
|
groupPaddingLeft: 16,
|
|
2546
2656
|
groupPaddingRight: 16,
|
|
2547
2657
|
groupPaddingTop: 12,
|
|
2548
2658
|
itemBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2659
|
+
itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
2660
|
+
itemBorderBottomWidth: 1,
|
|
2661
|
+
itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
2662
|
+
itemBorderLeftWidth: 1,
|
|
2663
|
+
itemBorderRadius: 0,
|
|
2664
|
+
itemBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
2665
|
+
itemBorderRightWidth: 1,
|
|
2666
|
+
itemBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
2667
|
+
itemBorderTopWidth: 1,
|
|
2668
|
+
itemBorderWidth: 1,
|
|
2669
|
+
itemColor: '#414547',
|
|
2554
2670
|
itemDisplay: false,
|
|
2555
2671
|
itemFontName: 'HelveticaNow',
|
|
2556
2672
|
itemFontSize: 14,
|
|
2557
2673
|
itemFontWeight: '700',
|
|
2674
|
+
itemHeight: 40,
|
|
2558
2675
|
itemOutline: 0,
|
|
2559
2676
|
itemPaddingBottom: 12,
|
|
2560
2677
|
itemPaddingLeft: 16,
|
|
2561
2678
|
itemPaddingRight: 16,
|
|
2562
2679
|
itemPaddingTop: 12,
|
|
2563
2680
|
itemTextDecoration: 'none',
|
|
2681
|
+
lineHeight: 1.14285714286,
|
|
2682
|
+
minHeight: '100%',
|
|
2683
|
+
minWidth: 288,
|
|
2564
2684
|
shadow: {
|
|
2565
2685
|
blur: 8,
|
|
2566
2686
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -2766,18 +2886,18 @@ module.exports = {
|
|
|
2766
2886
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
2767
2887
|
platforms: [ 'rn' ],
|
|
2768
2888
|
type: 'state',
|
|
2769
|
-
values: [ true ]
|
|
2889
|
+
values: [ true, false ]
|
|
2770
2890
|
},
|
|
2771
2891
|
hover: {
|
|
2772
2892
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2773
2893
|
platforms: [ 'rn' ],
|
|
2774
2894
|
type: 'state',
|
|
2775
|
-
values: [ true ]
|
|
2895
|
+
values: [ true, false ]
|
|
2776
2896
|
},
|
|
2777
2897
|
pressed: {
|
|
2778
2898
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
2779
2899
|
type: 'state',
|
|
2780
|
-
values: [ true ]
|
|
2900
|
+
values: [ true, false ]
|
|
2781
2901
|
},
|
|
2782
2902
|
selected: {
|
|
2783
2903
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -3047,18 +3167,18 @@ module.exports = {
|
|
|
3047
3167
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3048
3168
|
platforms: [ 'rn' ],
|
|
3049
3169
|
type: 'state',
|
|
3050
|
-
values: [ true ]
|
|
3170
|
+
values: [ true, false ]
|
|
3051
3171
|
},
|
|
3052
3172
|
hover: {
|
|
3053
3173
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3054
3174
|
platforms: [ 'rn' ],
|
|
3055
3175
|
type: 'state',
|
|
3056
|
-
values: [ true ]
|
|
3176
|
+
values: [ true, false ]
|
|
3057
3177
|
},
|
|
3058
3178
|
pressed: {
|
|
3059
3179
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3060
3180
|
type: 'state',
|
|
3061
|
-
values: [ true ]
|
|
3181
|
+
values: [ true, false ]
|
|
3062
3182
|
},
|
|
3063
3183
|
selected: {
|
|
3064
3184
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -3136,18 +3256,18 @@ module.exports = {
|
|
|
3136
3256
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3137
3257
|
platforms: [ 'rn' ],
|
|
3138
3258
|
type: 'state',
|
|
3139
|
-
values: [ true ]
|
|
3259
|
+
values: [ true, false ]
|
|
3140
3260
|
},
|
|
3141
3261
|
hover: {
|
|
3142
3262
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3143
3263
|
platforms: [ 'rn' ],
|
|
3144
3264
|
type: 'state',
|
|
3145
|
-
values: [ true ]
|
|
3265
|
+
values: [ true, false ]
|
|
3146
3266
|
},
|
|
3147
3267
|
pressed: {
|
|
3148
3268
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3149
3269
|
type: 'state',
|
|
3150
|
-
values: [ true ]
|
|
3270
|
+
values: [ true, false ]
|
|
3151
3271
|
},
|
|
3152
3272
|
selected: {
|
|
3153
3273
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -3241,19 +3361,19 @@ module.exports = {
|
|
|
3241
3361
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3242
3362
|
platforms: [ 'rn' ],
|
|
3243
3363
|
type: 'state',
|
|
3244
|
-
values: [ true ]
|
|
3364
|
+
values: [ true, false ]
|
|
3245
3365
|
},
|
|
3246
3366
|
hover: {
|
|
3247
3367
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3248
3368
|
platforms: [ 'rn' ],
|
|
3249
3369
|
type: 'state',
|
|
3250
|
-
values: [ true ]
|
|
3370
|
+
values: [ true, false ]
|
|
3251
3371
|
},
|
|
3252
3372
|
pressed: {
|
|
3253
3373
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3254
3374
|
platforms: [ 'rn' ],
|
|
3255
3375
|
type: 'state',
|
|
3256
|
-
values: [ true ]
|
|
3376
|
+
values: [ true, false ]
|
|
3257
3377
|
}
|
|
3258
3378
|
},
|
|
3259
3379
|
rules: [
|
|
@@ -3507,18 +3627,18 @@ module.exports = {
|
|
|
3507
3627
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3508
3628
|
platforms: [ 'rn' ],
|
|
3509
3629
|
type: 'state',
|
|
3510
|
-
values: [ true ]
|
|
3630
|
+
values: [ true, false ]
|
|
3511
3631
|
},
|
|
3512
3632
|
hover: {
|
|
3513
3633
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3514
3634
|
platforms: [ 'rn' ],
|
|
3515
3635
|
type: 'state',
|
|
3516
|
-
values: [ true ]
|
|
3636
|
+
values: [ true, false ]
|
|
3517
3637
|
},
|
|
3518
3638
|
pressed: {
|
|
3519
3639
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3520
3640
|
type: 'state',
|
|
3521
|
-
values: [ true ]
|
|
3641
|
+
values: [ true, false ]
|
|
3522
3642
|
}
|
|
3523
3643
|
},
|
|
3524
3644
|
rules: [
|
|
@@ -3594,18 +3714,18 @@ module.exports = {
|
|
|
3594
3714
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3595
3715
|
platforms: [ 'rn' ],
|
|
3596
3716
|
type: 'state',
|
|
3597
|
-
values: [ true ]
|
|
3717
|
+
values: [ true, false ]
|
|
3598
3718
|
},
|
|
3599
3719
|
hover: {
|
|
3600
3720
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3601
3721
|
platforms: [ 'rn' ],
|
|
3602
3722
|
type: 'state',
|
|
3603
|
-
values: [ true ]
|
|
3723
|
+
values: [ true, false ]
|
|
3604
3724
|
},
|
|
3605
3725
|
pressed: {
|
|
3606
3726
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3607
3727
|
type: 'state',
|
|
3608
|
-
values: [ true ]
|
|
3728
|
+
values: [ true, false ]
|
|
3609
3729
|
},
|
|
3610
3730
|
viewport: {
|
|
3611
3731
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -3665,18 +3785,18 @@ module.exports = {
|
|
|
3665
3785
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3666
3786
|
platforms: [ 'rn' ],
|
|
3667
3787
|
type: 'state',
|
|
3668
|
-
values: [ true ]
|
|
3788
|
+
values: [ true, false ]
|
|
3669
3789
|
},
|
|
3670
3790
|
hover: {
|
|
3671
3791
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3672
3792
|
platforms: [ 'rn' ],
|
|
3673
3793
|
type: 'state',
|
|
3674
|
-
values: [ true ]
|
|
3794
|
+
values: [ true, false ]
|
|
3675
3795
|
},
|
|
3676
3796
|
pressed: {
|
|
3677
3797
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3678
3798
|
type: 'state',
|
|
3679
|
-
values: [ true ]
|
|
3799
|
+
values: [ true, false ]
|
|
3680
3800
|
}
|
|
3681
3801
|
},
|
|
3682
3802
|
rules: [
|
|
@@ -3725,13 +3845,13 @@ module.exports = {
|
|
|
3725
3845
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3726
3846
|
platforms: [ 'rn' ],
|
|
3727
3847
|
type: 'state',
|
|
3728
|
-
values: [ true ]
|
|
3848
|
+
values: [ true, false ]
|
|
3729
3849
|
},
|
|
3730
3850
|
hover: {
|
|
3731
3851
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3732
3852
|
platforms: [ 'rn' ],
|
|
3733
3853
|
type: 'state',
|
|
3734
|
-
values: [ true ]
|
|
3854
|
+
values: [ true, false ]
|
|
3735
3855
|
},
|
|
3736
3856
|
inactive: {
|
|
3737
3857
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3812,13 +3932,13 @@ module.exports = {
|
|
|
3812
3932
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
3813
3933
|
platforms: [ 'rn' ],
|
|
3814
3934
|
type: 'state',
|
|
3815
|
-
values: [ true ]
|
|
3935
|
+
values: [ true, false ]
|
|
3816
3936
|
},
|
|
3817
3937
|
hover: {
|
|
3818
3938
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3819
3939
|
platforms: [ 'rn' ],
|
|
3820
3940
|
type: 'state',
|
|
3821
|
-
values: [ true ]
|
|
3941
|
+
values: [ true, false ]
|
|
3822
3942
|
},
|
|
3823
3943
|
inactive: {
|
|
3824
3944
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3828,7 +3948,7 @@ module.exports = {
|
|
|
3828
3948
|
pressed: {
|
|
3829
3949
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
3830
3950
|
type: 'state',
|
|
3831
|
-
values: [ true ]
|
|
3951
|
+
values: [ true, false ]
|
|
3832
3952
|
},
|
|
3833
3953
|
viewport: {
|
|
3834
3954
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -4057,7 +4177,7 @@ module.exports = {
|
|
|
4057
4177
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4058
4178
|
platforms: [ 'rn' ],
|
|
4059
4179
|
type: 'state',
|
|
4060
|
-
values: [ true ]
|
|
4180
|
+
values: [ true, false ]
|
|
4061
4181
|
},
|
|
4062
4182
|
inactive: {
|
|
4063
4183
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4118,13 +4238,13 @@ module.exports = {
|
|
|
4118
4238
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
4119
4239
|
platforms: [ 'rn' ],
|
|
4120
4240
|
type: 'state',
|
|
4121
|
-
values: [ true ]
|
|
4241
|
+
values: [ true, false ]
|
|
4122
4242
|
},
|
|
4123
4243
|
hover: {
|
|
4124
4244
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4125
4245
|
platforms: [ 'rn' ],
|
|
4126
4246
|
type: 'state',
|
|
4127
|
-
values: [ true ]
|
|
4247
|
+
values: [ true, false ]
|
|
4128
4248
|
},
|
|
4129
4249
|
inactive: {
|
|
4130
4250
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4134,7 +4254,7 @@ module.exports = {
|
|
|
4134
4254
|
pressed: {
|
|
4135
4255
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4136
4256
|
type: 'state',
|
|
4137
|
-
values: [ true ]
|
|
4257
|
+
values: [ true, false ]
|
|
4138
4258
|
},
|
|
4139
4259
|
priority: { description: '', type: 'variant', values: [ 'high' ] }
|
|
4140
4260
|
},
|
|
@@ -4210,7 +4330,7 @@ module.exports = {
|
|
|
4210
4330
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4211
4331
|
platforms: [ 'rn' ],
|
|
4212
4332
|
type: 'state',
|
|
4213
|
-
values: [ true ]
|
|
4333
|
+
values: [ true, false ]
|
|
4214
4334
|
},
|
|
4215
4335
|
inactive: {
|
|
4216
4336
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4307,13 +4427,13 @@ module.exports = {
|
|
|
4307
4427
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
4308
4428
|
platforms: [ 'rn' ],
|
|
4309
4429
|
type: 'state',
|
|
4310
|
-
values: [ true ]
|
|
4430
|
+
values: [ true, false ]
|
|
4311
4431
|
},
|
|
4312
4432
|
hover: {
|
|
4313
4433
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4314
4434
|
platforms: [ 'rn' ],
|
|
4315
4435
|
type: 'state',
|
|
4316
|
-
values: [ true ]
|
|
4436
|
+
values: [ true, false ]
|
|
4317
4437
|
},
|
|
4318
4438
|
type: {
|
|
4319
4439
|
description: '`parent` being the toggle button for an ItemsGroup, and `child` an element of the ItemGroup',
|
|
@@ -4480,7 +4600,7 @@ module.exports = {
|
|
|
4480
4600
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4481
4601
|
platforms: [ 'rn' ],
|
|
4482
4602
|
type: 'state',
|
|
4483
|
-
values: [ true ]
|
|
4603
|
+
values: [ true, false ]
|
|
4484
4604
|
}
|
|
4485
4605
|
},
|
|
4486
4606
|
rules: [
|
|
@@ -4502,7 +4622,7 @@ module.exports = {
|
|
|
4502
4622
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4503
4623
|
platforms: [ 'rn' ],
|
|
4504
4624
|
type: 'state',
|
|
4505
|
-
values: [ true ]
|
|
4625
|
+
values: [ true, false ]
|
|
4506
4626
|
}
|
|
4507
4627
|
},
|
|
4508
4628
|
rules: [
|
|
@@ -4525,6 +4645,8 @@ module.exports = {
|
|
|
4525
4645
|
buttonPaddingRight: 16,
|
|
4526
4646
|
buttonRadius: 32,
|
|
4527
4647
|
detailsContainerPadding: 8,
|
|
4648
|
+
labelFontName: 'HelveticaNow',
|
|
4649
|
+
labelFontWeight: '700',
|
|
4528
4650
|
playIcon: PaletteIconPlaySolid,
|
|
4529
4651
|
playIconColor: '#ffffff',
|
|
4530
4652
|
playIconContainerBackground: '#2b8000'
|
|
@@ -4633,18 +4755,18 @@ module.exports = {
|
|
|
4633
4755
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
4634
4756
|
platforms: [ 'rn' ],
|
|
4635
4757
|
type: 'state',
|
|
4636
|
-
values: [ true ]
|
|
4758
|
+
values: [ true, false ]
|
|
4637
4759
|
},
|
|
4638
4760
|
hover: {
|
|
4639
4761
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4640
4762
|
platforms: [ 'rn' ],
|
|
4641
4763
|
type: 'state',
|
|
4642
|
-
values: [ true ]
|
|
4764
|
+
values: [ true, false ]
|
|
4643
4765
|
},
|
|
4644
4766
|
pressed: {
|
|
4645
4767
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4646
4768
|
type: 'state',
|
|
4647
|
-
values: [ true ]
|
|
4769
|
+
values: [ true, false ]
|
|
4648
4770
|
}
|
|
4649
4771
|
},
|
|
4650
4772
|
rules: [
|
|
@@ -4746,23 +4868,23 @@ module.exports = {
|
|
|
4746
4868
|
focus: {
|
|
4747
4869
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4748
4870
|
type: 'state',
|
|
4749
|
-
values: [ true ]
|
|
4871
|
+
values: [ true, false ]
|
|
4750
4872
|
},
|
|
4751
4873
|
hover: {
|
|
4752
4874
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4753
4875
|
type: 'state',
|
|
4754
|
-
values: [ true ]
|
|
4876
|
+
values: [ true, false ]
|
|
4755
4877
|
},
|
|
4756
4878
|
inverse: { type: 'variant', values: [ true ] },
|
|
4757
4879
|
pressed: {
|
|
4758
4880
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4759
4881
|
type: 'state',
|
|
4760
|
-
values: [ true ]
|
|
4882
|
+
values: [ true, false ]
|
|
4761
4883
|
},
|
|
4762
4884
|
selected: {
|
|
4763
4885
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4764
4886
|
type: 'state',
|
|
4765
|
-
values: [ true ]
|
|
4887
|
+
values: [ true, false ]
|
|
4766
4888
|
}
|
|
4767
4889
|
},
|
|
4768
4890
|
rules: [
|
|
@@ -4877,13 +4999,13 @@ module.exports = {
|
|
|
4877
4999
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
4878
5000
|
platforms: [ 'rn' ],
|
|
4879
5001
|
type: 'state',
|
|
4880
|
-
values: [ true ]
|
|
5002
|
+
values: [ true, false ]
|
|
4881
5003
|
},
|
|
4882
5004
|
hover: {
|
|
4883
5005
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4884
5006
|
platforms: [ 'rn' ],
|
|
4885
5007
|
type: 'state',
|
|
4886
|
-
values: [ true ]
|
|
5008
|
+
values: [ true, false ]
|
|
4887
5009
|
},
|
|
4888
5010
|
inactive: {
|
|
4889
5011
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4893,7 +5015,7 @@ module.exports = {
|
|
|
4893
5015
|
pressed: {
|
|
4894
5016
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
4895
5017
|
type: 'state',
|
|
4896
|
-
values: [ true ]
|
|
5018
|
+
values: [ true, false ]
|
|
4897
5019
|
},
|
|
4898
5020
|
selected: {
|
|
4899
5021
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -5081,7 +5203,7 @@ module.exports = {
|
|
|
5081
5203
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
5082
5204
|
platforms: [ 'rn' ],
|
|
5083
5205
|
type: 'state',
|
|
5084
|
-
values: [ true ]
|
|
5206
|
+
values: [ true, false ]
|
|
5085
5207
|
},
|
|
5086
5208
|
inactive: {
|
|
5087
5209
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -5199,7 +5321,7 @@ module.exports = {
|
|
|
5199
5321
|
connectorWidth: 1,
|
|
5200
5322
|
dotBorderWidth: 1,
|
|
5201
5323
|
dotColor: '#ffffff',
|
|
5202
|
-
dotWidth:
|
|
5324
|
+
dotWidth: 14,
|
|
5203
5325
|
itemContentFlexSize: 1,
|
|
5204
5326
|
itemContentMarginBottom: 32,
|
|
5205
5327
|
itemContentMarginRight: 0,
|
|
@@ -5210,6 +5332,7 @@ module.exports = {
|
|
|
5210
5332
|
lineItemMarginBottom: 0,
|
|
5211
5333
|
lineItemMarginRight: 24,
|
|
5212
5334
|
timelineColor: '#676e73',
|
|
5335
|
+
timelineConnectorColor: '#676e73',
|
|
5213
5336
|
timelineContainerDirection: 'column'
|
|
5214
5337
|
}
|
|
5215
5338
|
},
|
|
@@ -5255,13 +5378,13 @@ module.exports = {
|
|
|
5255
5378
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
5256
5379
|
platforms: [ 'rn' ],
|
|
5257
5380
|
type: 'state',
|
|
5258
|
-
values: [ true ]
|
|
5381
|
+
values: [ true, false ]
|
|
5259
5382
|
},
|
|
5260
5383
|
hover: {
|
|
5261
5384
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
5262
5385
|
platforms: [ 'rn' ],
|
|
5263
5386
|
type: 'state',
|
|
5264
|
-
values: [ true ]
|
|
5387
|
+
values: [ true, false ]
|
|
5265
5388
|
},
|
|
5266
5389
|
inactive: {
|
|
5267
5390
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -5271,7 +5394,7 @@ module.exports = {
|
|
|
5271
5394
|
pressed: {
|
|
5272
5395
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
5273
5396
|
type: 'state',
|
|
5274
|
-
values: [ true ]
|
|
5397
|
+
values: [ true, false ]
|
|
5275
5398
|
},
|
|
5276
5399
|
selected: {
|
|
5277
5400
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
@@ -5444,19 +5567,19 @@ module.exports = {
|
|
|
5444
5567
|
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
5445
5568
|
platforms: [ 'rn' ],
|
|
5446
5569
|
type: 'state',
|
|
5447
|
-
values: [ true ]
|
|
5570
|
+
values: [ true, false ]
|
|
5448
5571
|
},
|
|
5449
5572
|
hover: {
|
|
5450
5573
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
5451
5574
|
platforms: [ 'rn' ],
|
|
5452
5575
|
type: 'state',
|
|
5453
|
-
values: [ true ]
|
|
5576
|
+
values: [ true, false ]
|
|
5454
5577
|
},
|
|
5455
5578
|
inverse: { type: 'variant', values: [ true ] },
|
|
5456
5579
|
pressed: {
|
|
5457
5580
|
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
5458
5581
|
type: 'state',
|
|
5459
|
-
values: [ true ]
|
|
5582
|
+
values: [ true, false ]
|
|
5460
5583
|
}
|
|
5461
5584
|
},
|
|
5462
5585
|
rules: [
|
|
@@ -5823,10 +5946,28 @@ module.exports = {
|
|
|
5823
5946
|
},
|
|
5824
5947
|
VideoButton: { appearances: {}, rules: [], tokens: { color: '#ffffff' } },
|
|
5825
5948
|
VideoControlBar: {
|
|
5826
|
-
appearances: {
|
|
5827
|
-
|
|
5949
|
+
appearances: {
|
|
5950
|
+
viewport: {
|
|
5951
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5952
|
+
type: 'state',
|
|
5953
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5954
|
+
}
|
|
5955
|
+
},
|
|
5956
|
+
rules: [
|
|
5957
|
+
{
|
|
5958
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
5959
|
+
tokens: {
|
|
5960
|
+
height: 40,
|
|
5961
|
+
paddingBottom: 8,
|
|
5962
|
+
paddingLeft: 16,
|
|
5963
|
+
paddingRight: 16,
|
|
5964
|
+
paddingTop: 8
|
|
5965
|
+
}
|
|
5966
|
+
}
|
|
5967
|
+
],
|
|
5828
5968
|
tokens: {
|
|
5829
5969
|
captionsIcon: PaletteIconClosedCaptions,
|
|
5970
|
+
height: 56,
|
|
5830
5971
|
maximizeIcon: PaletteIconFullscreenExpand,
|
|
5831
5972
|
menuBottom: 64,
|
|
5832
5973
|
menuMarginLeft: 16,
|
|
@@ -5834,9 +5975,7 @@ module.exports = {
|
|
|
5834
5975
|
minimizeIcon: PaletteIconFullscreenMinimize,
|
|
5835
5976
|
paddingBottom: 16,
|
|
5836
5977
|
paddingLeft: 48,
|
|
5837
|
-
paddingLeftCompactMode: 16,
|
|
5838
5978
|
paddingRight: 48,
|
|
5839
|
-
paddingRightCompactMode: 16,
|
|
5840
5979
|
paddingTop: 16,
|
|
5841
5980
|
settingsIcon: PaletteIconSettingsSolid
|
|
5842
5981
|
}
|
|
@@ -6003,5 +6142,5 @@ module.exports = {
|
|
|
6003
6142
|
tokens: { size: 96 }
|
|
6004
6143
|
}
|
|
6005
6144
|
},
|
|
6006
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6145
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.35.0' }
|
|
6007
6146
|
}
|