@telus-uds/theme-koodo 4.5.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 +747 -606
- package/build/android/theme.json +205 -92
- package/build/ios/schema.json +747 -606
- package/build/ios/theme.json +205 -92
- package/build/rn/schema.json +747 -606
- package/build/rn/theme.js +255 -129
- package/package.json +4 -4
- package/theme.json +191 -51
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:31:39 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -21,12 +21,20 @@ const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times'
|
|
|
21
21
|
const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
|
|
22
22
|
const PaletteIconSpyglass = require('@telus-uds/palette-koodo/build/rn/icons/Spyglass')
|
|
23
23
|
const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
|
|
24
|
+
const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
|
|
24
25
|
const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
|
|
25
26
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
26
27
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
27
28
|
const PaletteIconInfo = require('@telus-uds/palette-koodo/build/rn/icons/Info')
|
|
28
|
-
const
|
|
29
|
+
const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
|
|
30
|
+
const PaletteIconReplay = require('@telus-uds/palette-koodo/build/rn/icons/Replay')
|
|
31
|
+
const PaletteIconClosedCaptions = require('@telus-uds/palette-koodo/build/rn/icons/ClosedCaptions')
|
|
32
|
+
const PaletteIconFullscreenExpand = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenExpand')
|
|
33
|
+
const PaletteIconFullscreenMinimize = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize')
|
|
34
|
+
const PaletteIconSettingsSolid = require('@telus-uds/palette-koodo/build/rn/icons/SettingsSolid')
|
|
29
35
|
const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
|
|
36
|
+
const PaletteIconMuted = require('@telus-uds/palette-koodo/build/rn/icons/Muted')
|
|
37
|
+
const PaletteIconUnmuted = require('@telus-uds/palette-koodo/build/rn/icons/Unmuted')
|
|
30
38
|
|
|
31
39
|
module.exports = {
|
|
32
40
|
components: {
|
|
@@ -293,13 +301,13 @@ module.exports = {
|
|
|
293
301
|
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.",
|
|
294
302
|
platforms: [ 'rn' ],
|
|
295
303
|
type: 'state',
|
|
296
|
-
values: [ true ]
|
|
304
|
+
values: [ true, false ]
|
|
297
305
|
},
|
|
298
306
|
hover: {
|
|
299
307
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
300
308
|
platforms: [ 'rn' ],
|
|
301
309
|
type: 'state',
|
|
302
|
-
values: [ true ]
|
|
310
|
+
values: [ true, false ]
|
|
303
311
|
},
|
|
304
312
|
inactive: {
|
|
305
313
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -314,7 +322,7 @@ module.exports = {
|
|
|
314
322
|
pressed: {
|
|
315
323
|
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.',
|
|
316
324
|
type: 'state',
|
|
317
|
-
values: [ true ]
|
|
325
|
+
values: [ true, false ]
|
|
318
326
|
},
|
|
319
327
|
priority: {
|
|
320
328
|
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.',
|
|
@@ -677,13 +685,13 @@ module.exports = {
|
|
|
677
685
|
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.",
|
|
678
686
|
platforms: [ 'rn' ],
|
|
679
687
|
type: 'state',
|
|
680
|
-
values: [ true ]
|
|
688
|
+
values: [ true, false ]
|
|
681
689
|
},
|
|
682
690
|
hover: {
|
|
683
691
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
684
692
|
platforms: [ 'rn' ],
|
|
685
693
|
type: 'state',
|
|
686
|
-
values: [ true ]
|
|
694
|
+
values: [ true, false ]
|
|
687
695
|
},
|
|
688
696
|
inactive: {
|
|
689
697
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -698,7 +706,7 @@ module.exports = {
|
|
|
698
706
|
pressed: {
|
|
699
707
|
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.',
|
|
700
708
|
type: 'state',
|
|
701
|
-
values: [ true ]
|
|
709
|
+
values: [ true, false ]
|
|
702
710
|
},
|
|
703
711
|
selected: {
|
|
704
712
|
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`.',
|
|
@@ -848,13 +856,13 @@ module.exports = {
|
|
|
848
856
|
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.",
|
|
849
857
|
platforms: [ 'rn' ],
|
|
850
858
|
type: 'state',
|
|
851
|
-
values: [ true ]
|
|
859
|
+
values: [ true, false ]
|
|
852
860
|
},
|
|
853
861
|
hover: {
|
|
854
862
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
855
863
|
platforms: [ 'rn' ],
|
|
856
864
|
type: 'state',
|
|
857
|
-
values: [ true ]
|
|
865
|
+
values: [ true, false ]
|
|
858
866
|
},
|
|
859
867
|
iconPosition: {
|
|
860
868
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
@@ -869,7 +877,7 @@ module.exports = {
|
|
|
869
877
|
pressed: {
|
|
870
878
|
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.',
|
|
871
879
|
type: 'state',
|
|
872
|
-
values: [ true ]
|
|
880
|
+
values: [ true, false ]
|
|
873
881
|
},
|
|
874
882
|
selected: {
|
|
875
883
|
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`.',
|
|
@@ -1076,13 +1084,13 @@ module.exports = {
|
|
|
1076
1084
|
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.",
|
|
1077
1085
|
platforms: [ 'rn' ],
|
|
1078
1086
|
type: 'state',
|
|
1079
|
-
values: [ true ]
|
|
1087
|
+
values: [ true, false ]
|
|
1080
1088
|
},
|
|
1081
1089
|
hover: {
|
|
1082
1090
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1083
1091
|
platforms: [ 'rn' ],
|
|
1084
1092
|
type: 'state',
|
|
1085
|
-
values: [ true ]
|
|
1093
|
+
values: [ true, false ]
|
|
1086
1094
|
},
|
|
1087
1095
|
inactive: {
|
|
1088
1096
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1092,7 +1100,7 @@ module.exports = {
|
|
|
1092
1100
|
pressed: {
|
|
1093
1101
|
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.',
|
|
1094
1102
|
type: 'state',
|
|
1095
|
-
values: [ true ]
|
|
1103
|
+
values: [ true, false ]
|
|
1096
1104
|
},
|
|
1097
1105
|
selected: {
|
|
1098
1106
|
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`.',
|
|
@@ -1180,13 +1188,13 @@ module.exports = {
|
|
|
1180
1188
|
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.",
|
|
1181
1189
|
platforms: [ 'rn' ],
|
|
1182
1190
|
type: 'state',
|
|
1183
|
-
values: [ true ]
|
|
1191
|
+
values: [ true, false ]
|
|
1184
1192
|
},
|
|
1185
1193
|
hover: {
|
|
1186
1194
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1187
1195
|
platforms: [ 'rn' ],
|
|
1188
1196
|
type: 'state',
|
|
1189
|
-
values: [ true ]
|
|
1197
|
+
values: [ true, false ]
|
|
1190
1198
|
},
|
|
1191
1199
|
inactive: {
|
|
1192
1200
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1249,19 +1257,19 @@ module.exports = {
|
|
|
1249
1257
|
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.",
|
|
1250
1258
|
platforms: [ 'rn' ],
|
|
1251
1259
|
type: 'state',
|
|
1252
|
-
values: [ true ]
|
|
1260
|
+
values: [ true, false ]
|
|
1253
1261
|
},
|
|
1254
1262
|
hover: {
|
|
1255
1263
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1256
1264
|
platforms: [ 'rn' ],
|
|
1257
1265
|
type: 'state',
|
|
1258
|
-
values: [ true ]
|
|
1266
|
+
values: [ true, false ]
|
|
1259
1267
|
},
|
|
1260
1268
|
inverse: { type: 'variant', values: [ true ] },
|
|
1261
1269
|
pressed: {
|
|
1262
1270
|
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.',
|
|
1263
1271
|
type: 'state',
|
|
1264
|
-
values: [ true ]
|
|
1272
|
+
values: [ true, false ]
|
|
1265
1273
|
},
|
|
1266
1274
|
size: {
|
|
1267
1275
|
description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
|
|
@@ -1772,18 +1780,18 @@ module.exports = {
|
|
|
1772
1780
|
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.",
|
|
1773
1781
|
platforms: [ 'rn' ],
|
|
1774
1782
|
type: 'state',
|
|
1775
|
-
values: [ true ]
|
|
1783
|
+
values: [ true, false ]
|
|
1776
1784
|
},
|
|
1777
1785
|
hover: {
|
|
1778
1786
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1779
1787
|
platforms: [ 'rn' ],
|
|
1780
1788
|
type: 'state',
|
|
1781
|
-
values: [ true ]
|
|
1789
|
+
values: [ true, false ]
|
|
1782
1790
|
},
|
|
1783
1791
|
pressed: {
|
|
1784
1792
|
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.',
|
|
1785
1793
|
type: 'state',
|
|
1786
|
-
values: [ true ]
|
|
1794
|
+
values: [ true, false ]
|
|
1787
1795
|
}
|
|
1788
1796
|
},
|
|
1789
1797
|
rules: [
|
|
@@ -1886,13 +1894,13 @@ module.exports = {
|
|
|
1886
1894
|
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.",
|
|
1887
1895
|
platforms: [ 'rn' ],
|
|
1888
1896
|
type: 'state',
|
|
1889
|
-
values: [ true ]
|
|
1897
|
+
values: [ true, false ]
|
|
1890
1898
|
},
|
|
1891
1899
|
hover: {
|
|
1892
1900
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1893
1901
|
platforms: [ 'rn' ],
|
|
1894
1902
|
type: 'state',
|
|
1895
|
-
values: [ true ]
|
|
1903
|
+
values: [ true, false ]
|
|
1896
1904
|
},
|
|
1897
1905
|
inactive: {
|
|
1898
1906
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1912,7 +1920,7 @@ module.exports = {
|
|
|
1912
1920
|
pressed: {
|
|
1913
1921
|
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.',
|
|
1914
1922
|
type: 'state',
|
|
1915
|
-
values: [ true ]
|
|
1923
|
+
values: [ true, false ]
|
|
1916
1924
|
},
|
|
1917
1925
|
raised: {
|
|
1918
1926
|
description: 'Uses shadow and background colour to appear raised above the page',
|
|
@@ -2186,13 +2194,13 @@ module.exports = {
|
|
|
2186
2194
|
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.",
|
|
2187
2195
|
platforms: [ 'rn' ],
|
|
2188
2196
|
type: 'state',
|
|
2189
|
-
values: [ true ]
|
|
2197
|
+
values: [ true, false ]
|
|
2190
2198
|
},
|
|
2191
2199
|
hover: {
|
|
2192
2200
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2193
2201
|
platforms: [ 'rn' ],
|
|
2194
2202
|
type: 'state',
|
|
2195
|
-
values: [ true ]
|
|
2203
|
+
values: [ true, false ]
|
|
2196
2204
|
},
|
|
2197
2205
|
iconPosition: {
|
|
2198
2206
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
@@ -2203,7 +2211,7 @@ module.exports = {
|
|
|
2203
2211
|
pressed: {
|
|
2204
2212
|
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.',
|
|
2205
2213
|
type: 'state',
|
|
2206
|
-
values: [ true ]
|
|
2214
|
+
values: [ true, false ]
|
|
2207
2215
|
},
|
|
2208
2216
|
size: {
|
|
2209
2217
|
description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
|
|
@@ -2377,12 +2385,12 @@ module.exports = {
|
|
|
2377
2385
|
listGutter: 10
|
|
2378
2386
|
}
|
|
2379
2387
|
},
|
|
2380
|
-
|
|
2388
|
+
Listbox: {
|
|
2381
2389
|
appearances: {
|
|
2382
2390
|
current: {
|
|
2383
2391
|
description: 'When the current item is selected',
|
|
2384
2392
|
type: 'state',
|
|
2385
|
-
values: [ true ]
|
|
2393
|
+
values: [ true, false ]
|
|
2386
2394
|
},
|
|
2387
2395
|
expanded: {
|
|
2388
2396
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
@@ -2393,85 +2401,184 @@ module.exports = {
|
|
|
2393
2401
|
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.",
|
|
2394
2402
|
platforms: [ 'rn' ],
|
|
2395
2403
|
type: 'state',
|
|
2396
|
-
values: [ true ]
|
|
2404
|
+
values: [ true, false ]
|
|
2397
2405
|
},
|
|
2398
2406
|
hover: {
|
|
2399
2407
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2400
2408
|
platforms: [ 'rn' ],
|
|
2401
2409
|
type: 'state',
|
|
2402
|
-
values: [ true ]
|
|
2410
|
+
values: [ true, false ]
|
|
2403
2411
|
},
|
|
2404
2412
|
isChild: {
|
|
2405
2413
|
description: 'when the item is child of another child',
|
|
2406
2414
|
type: 'state',
|
|
2407
|
-
values: [ true ]
|
|
2415
|
+
values: [ true, false ]
|
|
2408
2416
|
},
|
|
2409
2417
|
pressed: {
|
|
2410
2418
|
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.',
|
|
2411
2419
|
type: 'state',
|
|
2412
|
-
values: [ true ]
|
|
2420
|
+
values: [ true, false ]
|
|
2413
2421
|
}
|
|
2414
2422
|
},
|
|
2415
2423
|
rules: [
|
|
2416
2424
|
{
|
|
2417
|
-
if: { pressed: true },
|
|
2418
|
-
tokens: {
|
|
2425
|
+
if: { focus: true, hover: true, pressed: true },
|
|
2426
|
+
tokens: {
|
|
2427
|
+
groupBackgroundColor: '#b5b4b4',
|
|
2428
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2429
|
+
groupBorderWidth: 0,
|
|
2430
|
+
groupColor: '#595959',
|
|
2431
|
+
itemBackgroundColor: '#b5b4b4',
|
|
2432
|
+
itemColor: '#595959'
|
|
2433
|
+
}
|
|
2419
2434
|
},
|
|
2420
2435
|
{
|
|
2421
|
-
if: { hover: true },
|
|
2422
|
-
tokens: {
|
|
2436
|
+
if: { focus: false, hover: true, pressed: false },
|
|
2437
|
+
tokens: {
|
|
2438
|
+
groupBackgroundColor: '#c9c8c8',
|
|
2439
|
+
groupBorderColor: '#c9c8c8',
|
|
2440
|
+
itemBackgroundColor: '#c9c8c8'
|
|
2441
|
+
}
|
|
2423
2442
|
},
|
|
2424
2443
|
{
|
|
2425
|
-
if: { focus: true },
|
|
2426
|
-
tokens: {
|
|
2444
|
+
if: { focus: true, pressed: false },
|
|
2445
|
+
tokens: {
|
|
2446
|
+
groupBorderColor: '#016b6a',
|
|
2447
|
+
groupColor: '#016b6a',
|
|
2448
|
+
itemBorderBottomColor: '#016b6a',
|
|
2449
|
+
itemBorderLeftColor: '#016b6a',
|
|
2450
|
+
itemBorderRightColor: '#016b6a',
|
|
2451
|
+
itemBorderTopColor: '#016b6a',
|
|
2452
|
+
itemColor: '#016b6a'
|
|
2453
|
+
}
|
|
2427
2454
|
},
|
|
2428
2455
|
{
|
|
2429
2456
|
if: { current: true },
|
|
2430
2457
|
tokens: {
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2458
|
+
groupBackgroundColor: '#016b6a',
|
|
2459
|
+
groupBorderColor: '#016b6a',
|
|
2460
|
+
groupColor: '#ffffff',
|
|
2461
|
+
itemBackgroundColor: '#016b6a',
|
|
2462
|
+
itemColor: '#ffffff'
|
|
2434
2463
|
}
|
|
2435
2464
|
},
|
|
2465
|
+
{
|
|
2466
|
+
if: { current: true, pressed: true },
|
|
2467
|
+
tokens: { itemBackgroundColor: '#b5b4b4', itemColor: '#595959' }
|
|
2468
|
+
},
|
|
2436
2469
|
{
|
|
2437
2470
|
if: { isChild: true },
|
|
2438
|
-
tokens: {
|
|
2471
|
+
tokens: {
|
|
2472
|
+
itemBorderBottomWidth: 0,
|
|
2473
|
+
itemBorderLeftColor: '#000000',
|
|
2474
|
+
itemBorderLeftWidth: 4,
|
|
2475
|
+
itemBorderTopWidth: 0
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
if: { focus: true, isChild: true },
|
|
2480
|
+
tokens: {
|
|
2481
|
+
itemBorderBottomColor: '#016b6a',
|
|
2482
|
+
itemBorderBottomWidth: 1,
|
|
2483
|
+
itemBorderLeftColor: '#016b6a',
|
|
2484
|
+
itemBorderRightColor: '#016b6a',
|
|
2485
|
+
itemBorderRightWidth: 1,
|
|
2486
|
+
itemBorderTopColor: '#016b6a',
|
|
2487
|
+
itemBorderTopWidth: 1
|
|
2488
|
+
}
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
if: { current: true, isChild: true },
|
|
2492
|
+
tokens: { itemBorderLeftColor: '#016b6a' }
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
if: { isChild: true, pressed: true },
|
|
2496
|
+
tokens: {
|
|
2497
|
+
itemBorderBottomWidth: 0,
|
|
2498
|
+
itemBorderLeftColor: '#595959',
|
|
2499
|
+
itemBorderTopWidth: 0,
|
|
2500
|
+
itemColor: '#595959'
|
|
2501
|
+
}
|
|
2439
2502
|
},
|
|
2440
2503
|
{
|
|
2441
2504
|
if: { expanded: true },
|
|
2442
2505
|
tokens: { groupIcon: PaletteIconChevronUp }
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
if: { current: true, expanded: true, focus: true },
|
|
2509
|
+
tokens: {
|
|
2510
|
+
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2511
|
+
groupColor: '#016b6a'
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
if: { current: true, hover: true },
|
|
2516
|
+
tokens: {
|
|
2517
|
+
itemBackgroundColor: '#1b4746',
|
|
2518
|
+
itemBorderLeftColor: '#1b4746',
|
|
2519
|
+
itemColor: '#ffffff'
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
if: { current: true, expanded: true, hover: true },
|
|
2524
|
+
tokens: { groupBackgroundColor: '#1b4746', groupColor: '#ffffff' }
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
if: {
|
|
2528
|
+
current: true,
|
|
2529
|
+
expanded: true,
|
|
2530
|
+
focus: true,
|
|
2531
|
+
hover: true,
|
|
2532
|
+
pressed: true
|
|
2533
|
+
},
|
|
2534
|
+
tokens: {
|
|
2535
|
+
groupBackgroundColor: '#b5b4b4',
|
|
2536
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2537
|
+
groupColor: '#595959'
|
|
2538
|
+
}
|
|
2443
2539
|
}
|
|
2444
2540
|
],
|
|
2445
2541
|
tokens: {
|
|
2446
2542
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2447
|
-
groupBorderColor: '
|
|
2448
|
-
groupBorderRadius:
|
|
2543
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2544
|
+
groupBorderRadius: 0,
|
|
2449
2545
|
groupBorderWidth: 1,
|
|
2450
|
-
groupColor: '#
|
|
2546
|
+
groupColor: '#000000',
|
|
2451
2547
|
groupFontName: 'StagSans',
|
|
2452
|
-
groupFontSize:
|
|
2548
|
+
groupFontSize: 16,
|
|
2453
2549
|
groupFontWeight: '400',
|
|
2550
|
+
groupHeight: 32,
|
|
2454
2551
|
groupIcon: PaletteIconChevronDown,
|
|
2455
2552
|
groupPaddingBottom: 12,
|
|
2456
2553
|
groupPaddingLeft: 16,
|
|
2457
2554
|
groupPaddingRight: 16,
|
|
2458
2555
|
groupPaddingTop: 12,
|
|
2459
2556
|
itemBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2557
|
+
itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
2558
|
+
itemBorderBottomWidth: 1,
|
|
2559
|
+
itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
2560
|
+
itemBorderLeftWidth: 1,
|
|
2561
|
+
itemBorderRadius: 0,
|
|
2562
|
+
itemBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
2563
|
+
itemBorderRightWidth: 1,
|
|
2564
|
+
itemBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
2565
|
+
itemBorderTopWidth: 1,
|
|
2463
2566
|
itemBorderWidth: 0,
|
|
2464
|
-
itemColor: '#
|
|
2567
|
+
itemColor: '#000000',
|
|
2465
2568
|
itemDisplay: false,
|
|
2466
2569
|
itemFontName: 'StagSans',
|
|
2467
|
-
itemFontSize:
|
|
2468
|
-
itemFontWeight: '
|
|
2570
|
+
itemFontSize: 16,
|
|
2571
|
+
itemFontWeight: '400',
|
|
2572
|
+
itemHeight: 32,
|
|
2469
2573
|
itemOutline: 0,
|
|
2470
2574
|
itemPaddingBottom: 12,
|
|
2471
2575
|
itemPaddingLeft: 16,
|
|
2472
2576
|
itemPaddingRight: 16,
|
|
2473
2577
|
itemPaddingTop: 12,
|
|
2474
2578
|
itemTextDecoration: 'none',
|
|
2579
|
+
lineHeight: 1.5,
|
|
2580
|
+
minHeight: '100%',
|
|
2581
|
+
minWidth: '100%',
|
|
2475
2582
|
shadow: {
|
|
2476
2583
|
blur: 2,
|
|
2477
2584
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -2624,18 +2731,18 @@ module.exports = {
|
|
|
2624
2731
|
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.",
|
|
2625
2732
|
platforms: [ 'rn' ],
|
|
2626
2733
|
type: 'state',
|
|
2627
|
-
values: [ true ]
|
|
2734
|
+
values: [ true, false ]
|
|
2628
2735
|
},
|
|
2629
2736
|
hover: {
|
|
2630
2737
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2631
2738
|
platforms: [ 'rn' ],
|
|
2632
2739
|
type: 'state',
|
|
2633
|
-
values: [ true ]
|
|
2740
|
+
values: [ true, false ]
|
|
2634
2741
|
},
|
|
2635
2742
|
pressed: {
|
|
2636
2743
|
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.',
|
|
2637
2744
|
type: 'state',
|
|
2638
|
-
values: [ true ]
|
|
2745
|
+
values: [ true, false ]
|
|
2639
2746
|
},
|
|
2640
2747
|
selected: {
|
|
2641
2748
|
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`.',
|
|
@@ -2907,18 +3014,18 @@ module.exports = {
|
|
|
2907
3014
|
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.",
|
|
2908
3015
|
platforms: [ 'rn' ],
|
|
2909
3016
|
type: 'state',
|
|
2910
|
-
values: [ true ]
|
|
3017
|
+
values: [ true, false ]
|
|
2911
3018
|
},
|
|
2912
3019
|
hover: {
|
|
2913
3020
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2914
3021
|
platforms: [ 'rn' ],
|
|
2915
3022
|
type: 'state',
|
|
2916
|
-
values: [ true ]
|
|
3023
|
+
values: [ true, false ]
|
|
2917
3024
|
},
|
|
2918
3025
|
pressed: {
|
|
2919
3026
|
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.',
|
|
2920
3027
|
type: 'state',
|
|
2921
|
-
values: [ true ]
|
|
3028
|
+
values: [ true, false ]
|
|
2922
3029
|
},
|
|
2923
3030
|
selected: {
|
|
2924
3031
|
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`.',
|
|
@@ -2987,18 +3094,18 @@ module.exports = {
|
|
|
2987
3094
|
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.",
|
|
2988
3095
|
platforms: [ 'rn' ],
|
|
2989
3096
|
type: 'state',
|
|
2990
|
-
values: [ true ]
|
|
3097
|
+
values: [ true, false ]
|
|
2991
3098
|
},
|
|
2992
3099
|
hover: {
|
|
2993
3100
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2994
3101
|
platforms: [ 'rn' ],
|
|
2995
3102
|
type: 'state',
|
|
2996
|
-
values: [ true ]
|
|
3103
|
+
values: [ true, false ]
|
|
2997
3104
|
},
|
|
2998
3105
|
pressed: {
|
|
2999
3106
|
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.',
|
|
3000
3107
|
type: 'state',
|
|
3001
|
-
values: [ true ]
|
|
3108
|
+
values: [ true, false ]
|
|
3002
3109
|
},
|
|
3003
3110
|
selected: {
|
|
3004
3111
|
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`.',
|
|
@@ -3085,19 +3192,19 @@ module.exports = {
|
|
|
3085
3192
|
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.",
|
|
3086
3193
|
platforms: [ 'rn' ],
|
|
3087
3194
|
type: 'state',
|
|
3088
|
-
values: [ true ]
|
|
3195
|
+
values: [ true, false ]
|
|
3089
3196
|
},
|
|
3090
3197
|
hover: {
|
|
3091
3198
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3092
3199
|
platforms: [ 'rn' ],
|
|
3093
3200
|
type: 'state',
|
|
3094
|
-
values: [ true ]
|
|
3201
|
+
values: [ true, false ]
|
|
3095
3202
|
},
|
|
3096
3203
|
pressed: {
|
|
3097
3204
|
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.",
|
|
3098
3205
|
platforms: [ 'rn' ],
|
|
3099
3206
|
type: 'state',
|
|
3100
|
-
values: [ true ]
|
|
3207
|
+
values: [ true, false ]
|
|
3101
3208
|
}
|
|
3102
3209
|
},
|
|
3103
3210
|
rules: [
|
|
@@ -3312,18 +3419,18 @@ module.exports = {
|
|
|
3312
3419
|
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.",
|
|
3313
3420
|
platforms: [ 'rn' ],
|
|
3314
3421
|
type: 'state',
|
|
3315
|
-
values: [ true ]
|
|
3422
|
+
values: [ true, false ]
|
|
3316
3423
|
},
|
|
3317
3424
|
hover: {
|
|
3318
3425
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3319
3426
|
platforms: [ 'rn' ],
|
|
3320
3427
|
type: 'state',
|
|
3321
|
-
values: [ true ]
|
|
3428
|
+
values: [ true, false ]
|
|
3322
3429
|
},
|
|
3323
3430
|
pressed: {
|
|
3324
3431
|
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.',
|
|
3325
3432
|
type: 'state',
|
|
3326
|
-
values: [ true ]
|
|
3433
|
+
values: [ true, false ]
|
|
3327
3434
|
}
|
|
3328
3435
|
},
|
|
3329
3436
|
rules: [
|
|
@@ -3403,18 +3510,18 @@ module.exports = {
|
|
|
3403
3510
|
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.",
|
|
3404
3511
|
platforms: [ 'rn' ],
|
|
3405
3512
|
type: 'state',
|
|
3406
|
-
values: [ true ]
|
|
3513
|
+
values: [ true, false ]
|
|
3407
3514
|
},
|
|
3408
3515
|
hover: {
|
|
3409
3516
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3410
3517
|
platforms: [ 'rn' ],
|
|
3411
3518
|
type: 'state',
|
|
3412
|
-
values: [ true ]
|
|
3519
|
+
values: [ true, false ]
|
|
3413
3520
|
},
|
|
3414
3521
|
pressed: {
|
|
3415
3522
|
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.',
|
|
3416
3523
|
type: 'state',
|
|
3417
|
-
values: [ true ]
|
|
3524
|
+
values: [ true, false ]
|
|
3418
3525
|
},
|
|
3419
3526
|
viewport: {
|
|
3420
3527
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -3478,18 +3585,18 @@ module.exports = {
|
|
|
3478
3585
|
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.",
|
|
3479
3586
|
platforms: [ 'rn' ],
|
|
3480
3587
|
type: 'state',
|
|
3481
|
-
values: [ true ]
|
|
3588
|
+
values: [ true, false ]
|
|
3482
3589
|
},
|
|
3483
3590
|
hover: {
|
|
3484
3591
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3485
3592
|
platforms: [ 'rn' ],
|
|
3486
3593
|
type: 'state',
|
|
3487
|
-
values: [ true ]
|
|
3594
|
+
values: [ true, false ]
|
|
3488
3595
|
},
|
|
3489
3596
|
pressed: {
|
|
3490
3597
|
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.',
|
|
3491
3598
|
type: 'state',
|
|
3492
|
-
values: [ true ]
|
|
3599
|
+
values: [ true, false ]
|
|
3493
3600
|
}
|
|
3494
3601
|
},
|
|
3495
3602
|
rules: [
|
|
@@ -3538,13 +3645,13 @@ module.exports = {
|
|
|
3538
3645
|
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.",
|
|
3539
3646
|
platforms: [ 'rn' ],
|
|
3540
3647
|
type: 'state',
|
|
3541
|
-
values: [ true ]
|
|
3648
|
+
values: [ true, false ]
|
|
3542
3649
|
},
|
|
3543
3650
|
hover: {
|
|
3544
3651
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3545
3652
|
platforms: [ 'rn' ],
|
|
3546
3653
|
type: 'state',
|
|
3547
|
-
values: [ true ]
|
|
3654
|
+
values: [ true, false ]
|
|
3548
3655
|
},
|
|
3549
3656
|
inactive: {
|
|
3550
3657
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3644,13 +3751,13 @@ module.exports = {
|
|
|
3644
3751
|
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.",
|
|
3645
3752
|
platforms: [ 'rn' ],
|
|
3646
3753
|
type: 'state',
|
|
3647
|
-
values: [ true ]
|
|
3754
|
+
values: [ true, false ]
|
|
3648
3755
|
},
|
|
3649
3756
|
hover: {
|
|
3650
3757
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3651
3758
|
platforms: [ 'rn' ],
|
|
3652
3759
|
type: 'state',
|
|
3653
|
-
values: [ true ]
|
|
3760
|
+
values: [ true, false ]
|
|
3654
3761
|
},
|
|
3655
3762
|
inactive: {
|
|
3656
3763
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3660,7 +3767,7 @@ module.exports = {
|
|
|
3660
3767
|
pressed: {
|
|
3661
3768
|
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.',
|
|
3662
3769
|
type: 'state',
|
|
3663
|
-
values: [ true ]
|
|
3770
|
+
values: [ true, false ]
|
|
3664
3771
|
},
|
|
3665
3772
|
viewport: {
|
|
3666
3773
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -3883,7 +3990,7 @@ module.exports = {
|
|
|
3883
3990
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3884
3991
|
platforms: [ 'rn' ],
|
|
3885
3992
|
type: 'state',
|
|
3886
|
-
values: [ true ]
|
|
3993
|
+
values: [ true, false ]
|
|
3887
3994
|
},
|
|
3888
3995
|
inactive: {
|
|
3889
3996
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3940,13 +4047,13 @@ module.exports = {
|
|
|
3940
4047
|
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.",
|
|
3941
4048
|
platforms: [ 'rn' ],
|
|
3942
4049
|
type: 'state',
|
|
3943
|
-
values: [ true ]
|
|
4050
|
+
values: [ true, false ]
|
|
3944
4051
|
},
|
|
3945
4052
|
hover: {
|
|
3946
4053
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3947
4054
|
platforms: [ 'rn' ],
|
|
3948
4055
|
type: 'state',
|
|
3949
|
-
values: [ true ]
|
|
4056
|
+
values: [ true, false ]
|
|
3950
4057
|
},
|
|
3951
4058
|
inactive: {
|
|
3952
4059
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -3956,7 +4063,7 @@ module.exports = {
|
|
|
3956
4063
|
pressed: {
|
|
3957
4064
|
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.',
|
|
3958
4065
|
type: 'state',
|
|
3959
|
-
values: [ true ]
|
|
4066
|
+
values: [ true, false ]
|
|
3960
4067
|
},
|
|
3961
4068
|
priority: { description: '', type: 'variant', values: [ 'high' ] }
|
|
3962
4069
|
},
|
|
@@ -4046,7 +4153,7 @@ module.exports = {
|
|
|
4046
4153
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4047
4154
|
platforms: [ 'rn' ],
|
|
4048
4155
|
type: 'state',
|
|
4049
|
-
values: [ true ]
|
|
4156
|
+
values: [ true, false ]
|
|
4050
4157
|
},
|
|
4051
4158
|
inactive: {
|
|
4052
4159
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4143,13 +4250,13 @@ module.exports = {
|
|
|
4143
4250
|
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.",
|
|
4144
4251
|
platforms: [ 'rn' ],
|
|
4145
4252
|
type: 'state',
|
|
4146
|
-
values: [ true ]
|
|
4253
|
+
values: [ true, false ]
|
|
4147
4254
|
},
|
|
4148
4255
|
hover: {
|
|
4149
4256
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4150
4257
|
platforms: [ 'rn' ],
|
|
4151
4258
|
type: 'state',
|
|
4152
|
-
values: [ true ]
|
|
4259
|
+
values: [ true, false ]
|
|
4153
4260
|
},
|
|
4154
4261
|
type: {
|
|
4155
4262
|
description: '`parent` being the toggle button for an ItemsGroup, and `child` an element of the ItemGroup',
|
|
@@ -4303,14 +4410,14 @@ module.exports = {
|
|
|
4303
4410
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4304
4411
|
platforms: [ 'rn' ],
|
|
4305
4412
|
type: 'state',
|
|
4306
|
-
values: [ true ]
|
|
4413
|
+
values: [ true, false ]
|
|
4307
4414
|
}
|
|
4308
4415
|
},
|
|
4309
4416
|
rules: [],
|
|
4310
4417
|
tokens: {
|
|
4311
4418
|
buttonContentBackground: null,
|
|
4312
4419
|
buttonContentChildrenBackground: null,
|
|
4313
|
-
playIcon:
|
|
4420
|
+
playIcon: PaletteIconPlaySolid,
|
|
4314
4421
|
playIconColor: '#ffffff'
|
|
4315
4422
|
}
|
|
4316
4423
|
},
|
|
@@ -4320,7 +4427,7 @@ module.exports = {
|
|
|
4320
4427
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4321
4428
|
platforms: [ 'rn' ],
|
|
4322
4429
|
type: 'state',
|
|
4323
|
-
values: [ true ]
|
|
4430
|
+
values: [ true, false ]
|
|
4324
4431
|
}
|
|
4325
4432
|
},
|
|
4326
4433
|
rules: [
|
|
@@ -4341,9 +4448,11 @@ module.exports = {
|
|
|
4341
4448
|
buttonPaddingRight: 16,
|
|
4342
4449
|
buttonRadius: 32,
|
|
4343
4450
|
detailsContainerPadding: 8,
|
|
4344
|
-
|
|
4451
|
+
labelFontName: 'StagSans',
|
|
4452
|
+
labelFontWeight: '600',
|
|
4453
|
+
playIcon: PaletteIconPlaySolid,
|
|
4345
4454
|
playIconColor: '#ffffff',
|
|
4346
|
-
playIconContainerBackground:
|
|
4455
|
+
playIconContainerBackground: '#016b6a'
|
|
4347
4456
|
}
|
|
4348
4457
|
},
|
|
4349
4458
|
StackView: {
|
|
@@ -4450,18 +4559,18 @@ module.exports = {
|
|
|
4450
4559
|
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.",
|
|
4451
4560
|
platforms: [ 'rn' ],
|
|
4452
4561
|
type: 'state',
|
|
4453
|
-
values: [ true ]
|
|
4562
|
+
values: [ true, false ]
|
|
4454
4563
|
},
|
|
4455
4564
|
hover: {
|
|
4456
4565
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4457
4566
|
platforms: [ 'rn' ],
|
|
4458
4567
|
type: 'state',
|
|
4459
|
-
values: [ true ]
|
|
4568
|
+
values: [ true, false ]
|
|
4460
4569
|
},
|
|
4461
4570
|
pressed: {
|
|
4462
4571
|
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.',
|
|
4463
4572
|
type: 'state',
|
|
4464
|
-
values: [ true ]
|
|
4573
|
+
values: [ true, false ]
|
|
4465
4574
|
}
|
|
4466
4575
|
},
|
|
4467
4576
|
rules: [
|
|
@@ -4560,24 +4669,24 @@ module.exports = {
|
|
|
4560
4669
|
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.",
|
|
4561
4670
|
platforms: [ 'rn' ],
|
|
4562
4671
|
type: 'state',
|
|
4563
|
-
values: [ true ]
|
|
4672
|
+
values: [ true, false ]
|
|
4564
4673
|
},
|
|
4565
4674
|
hover: {
|
|
4566
4675
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4567
4676
|
platforms: [ 'rn' ],
|
|
4568
4677
|
type: 'state',
|
|
4569
|
-
values: [ true ]
|
|
4678
|
+
values: [ true, false ]
|
|
4570
4679
|
},
|
|
4571
4680
|
inverse: { type: 'variant', values: [ true ] },
|
|
4572
4681
|
pressed: {
|
|
4573
4682
|
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.',
|
|
4574
4683
|
type: 'state',
|
|
4575
|
-
values: [ true ]
|
|
4684
|
+
values: [ true, false ]
|
|
4576
4685
|
},
|
|
4577
4686
|
selected: {
|
|
4578
4687
|
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.',
|
|
4579
4688
|
type: 'state',
|
|
4580
|
-
values: [ true ]
|
|
4689
|
+
values: [ true, false ]
|
|
4581
4690
|
}
|
|
4582
4691
|
},
|
|
4583
4692
|
rules: [
|
|
@@ -4698,13 +4807,13 @@ module.exports = {
|
|
|
4698
4807
|
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.",
|
|
4699
4808
|
platforms: [ 'rn' ],
|
|
4700
4809
|
type: 'state',
|
|
4701
|
-
values: [ true ]
|
|
4810
|
+
values: [ true, false ]
|
|
4702
4811
|
},
|
|
4703
4812
|
hover: {
|
|
4704
4813
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4705
4814
|
platforms: [ 'rn' ],
|
|
4706
4815
|
type: 'state',
|
|
4707
|
-
values: [ true ]
|
|
4816
|
+
values: [ true, false ]
|
|
4708
4817
|
},
|
|
4709
4818
|
inactive: {
|
|
4710
4819
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -4714,7 +4823,7 @@ module.exports = {
|
|
|
4714
4823
|
pressed: {
|
|
4715
4824
|
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.',
|
|
4716
4825
|
type: 'state',
|
|
4717
|
-
values: [ true ]
|
|
4826
|
+
values: [ true, false ]
|
|
4718
4827
|
},
|
|
4719
4828
|
selected: {
|
|
4720
4829
|
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`.',
|
|
@@ -4924,7 +5033,7 @@ module.exports = {
|
|
|
4924
5033
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
4925
5034
|
platforms: [ 'rn' ],
|
|
4926
5035
|
type: 'state',
|
|
4927
|
-
values: [ true ]
|
|
5036
|
+
values: [ true, false ]
|
|
4928
5037
|
},
|
|
4929
5038
|
inactive: {
|
|
4930
5039
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -5025,7 +5134,7 @@ module.exports = {
|
|
|
5025
5134
|
{
|
|
5026
5135
|
if: { horizontal: true, viewport: [ 'lg', 'xl' ] },
|
|
5027
5136
|
tokens: {
|
|
5028
|
-
connectorHeight:
|
|
5137
|
+
connectorHeight: 1,
|
|
5029
5138
|
connectorWidth: '100%',
|
|
5030
5139
|
itemContentMarginBottom: 0,
|
|
5031
5140
|
itemContentMarginRight: 32,
|
|
@@ -5039,10 +5148,10 @@ module.exports = {
|
|
|
5039
5148
|
],
|
|
5040
5149
|
tokens: {
|
|
5041
5150
|
connectorHeight: '100%',
|
|
5042
|
-
connectorWidth:
|
|
5043
|
-
dotBorderWidth:
|
|
5151
|
+
connectorWidth: 1,
|
|
5152
|
+
dotBorderWidth: 2,
|
|
5044
5153
|
dotColor: '#ffffff',
|
|
5045
|
-
dotWidth:
|
|
5154
|
+
dotWidth: 12,
|
|
5046
5155
|
itemContentFlexSize: 1,
|
|
5047
5156
|
itemContentMarginBottom: 32,
|
|
5048
5157
|
itemContentMarginRight: 0,
|
|
@@ -5053,6 +5162,7 @@ module.exports = {
|
|
|
5053
5162
|
lineItemMarginBottom: 0,
|
|
5054
5163
|
lineItemMarginRight: 24,
|
|
5055
5164
|
timelineColor: '#016b6a',
|
|
5165
|
+
timelineConnectorColor: '#000000',
|
|
5056
5166
|
timelineContainerDirection: 'column'
|
|
5057
5167
|
}
|
|
5058
5168
|
},
|
|
@@ -5098,13 +5208,13 @@ module.exports = {
|
|
|
5098
5208
|
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.",
|
|
5099
5209
|
platforms: [ 'rn' ],
|
|
5100
5210
|
type: 'state',
|
|
5101
|
-
values: [ true ]
|
|
5211
|
+
values: [ true, false ]
|
|
5102
5212
|
},
|
|
5103
5213
|
hover: {
|
|
5104
5214
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
5105
5215
|
platforms: [ 'rn' ],
|
|
5106
5216
|
type: 'state',
|
|
5107
|
-
values: [ true ]
|
|
5217
|
+
values: [ true, false ]
|
|
5108
5218
|
},
|
|
5109
5219
|
inactive: {
|
|
5110
5220
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -5114,7 +5224,7 @@ module.exports = {
|
|
|
5114
5224
|
pressed: {
|
|
5115
5225
|
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.',
|
|
5116
5226
|
type: 'state',
|
|
5117
|
-
values: [ true ]
|
|
5227
|
+
values: [ true, false ]
|
|
5118
5228
|
},
|
|
5119
5229
|
selected: {
|
|
5120
5230
|
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`.',
|
|
@@ -5288,18 +5398,18 @@ module.exports = {
|
|
|
5288
5398
|
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.",
|
|
5289
5399
|
platforms: [ 'rn' ],
|
|
5290
5400
|
type: 'state',
|
|
5291
|
-
values: [ true ]
|
|
5401
|
+
values: [ true, false ]
|
|
5292
5402
|
},
|
|
5293
5403
|
hover: {
|
|
5294
5404
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
5295
5405
|
platforms: [ 'rn' ],
|
|
5296
5406
|
type: 'state',
|
|
5297
|
-
values: [ true ]
|
|
5407
|
+
values: [ true, false ]
|
|
5298
5408
|
},
|
|
5299
5409
|
pressed: {
|
|
5300
5410
|
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.',
|
|
5301
5411
|
type: 'state',
|
|
5302
|
-
values: [ true ]
|
|
5412
|
+
values: [ true, false ]
|
|
5303
5413
|
}
|
|
5304
5414
|
},
|
|
5305
5415
|
rules: [
|
|
@@ -5557,29 +5667,45 @@ module.exports = {
|
|
|
5557
5667
|
rules: [],
|
|
5558
5668
|
tokens: {
|
|
5559
5669
|
borderColor: '#000000',
|
|
5560
|
-
pauseIcon:
|
|
5561
|
-
playIcon:
|
|
5562
|
-
replayIcon:
|
|
5670
|
+
pauseIcon: PaletteIconPause,
|
|
5671
|
+
playIcon: PaletteIconPlaySolid,
|
|
5672
|
+
replayIcon: PaletteIconReplay
|
|
5563
5673
|
}
|
|
5564
5674
|
},
|
|
5565
5675
|
VideoButton: { appearances: {}, rules: [], tokens: { color: '#ffffff' } },
|
|
5566
5676
|
VideoControlBar: {
|
|
5567
|
-
appearances: {
|
|
5568
|
-
|
|
5677
|
+
appearances: {
|
|
5678
|
+
viewport: {
|
|
5679
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5680
|
+
type: 'state',
|
|
5681
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5682
|
+
}
|
|
5683
|
+
},
|
|
5684
|
+
rules: [
|
|
5685
|
+
{
|
|
5686
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
5687
|
+
tokens: {
|
|
5688
|
+
height: 40,
|
|
5689
|
+
paddingBottom: 8,
|
|
5690
|
+
paddingLeft: 16,
|
|
5691
|
+
paddingRight: 16,
|
|
5692
|
+
paddingTop: 8
|
|
5693
|
+
}
|
|
5694
|
+
}
|
|
5695
|
+
],
|
|
5569
5696
|
tokens: {
|
|
5570
|
-
captionsIcon:
|
|
5571
|
-
|
|
5697
|
+
captionsIcon: PaletteIconClosedCaptions,
|
|
5698
|
+
height: 56,
|
|
5699
|
+
maximizeIcon: PaletteIconFullscreenExpand,
|
|
5572
5700
|
menuBottom: 64,
|
|
5573
5701
|
menuMarginLeft: 16,
|
|
5574
5702
|
menuRight: 32,
|
|
5575
|
-
minimizeIcon:
|
|
5703
|
+
minimizeIcon: PaletteIconFullscreenMinimize,
|
|
5576
5704
|
paddingBottom: 16,
|
|
5577
5705
|
paddingLeft: 48,
|
|
5578
|
-
paddingLeftCompactMode: 16,
|
|
5579
5706
|
paddingRight: 48,
|
|
5580
|
-
paddingRightCompactMode: 16,
|
|
5581
5707
|
paddingTop: 16,
|
|
5582
|
-
settingsIcon:
|
|
5708
|
+
settingsIcon: PaletteIconSettingsSolid
|
|
5583
5709
|
}
|
|
5584
5710
|
},
|
|
5585
5711
|
VideoMenu: {
|
|
@@ -5655,8 +5781,8 @@ module.exports = {
|
|
|
5655
5781
|
thumbWidth: 8,
|
|
5656
5782
|
timestampMarginLeft: 8,
|
|
5657
5783
|
timestampMarginRight: 8,
|
|
5658
|
-
trackGradientEnd: '#
|
|
5659
|
-
trackGradientStart: '#
|
|
5784
|
+
trackGradientEnd: '#39cdc9',
|
|
5785
|
+
trackGradientStart: '#39cdc9'
|
|
5660
5786
|
}
|
|
5661
5787
|
},
|
|
5662
5788
|
VideoVolumeSlider: {
|
|
@@ -5665,14 +5791,14 @@ module.exports = {
|
|
|
5665
5791
|
tokens: {
|
|
5666
5792
|
marginLeft: 16,
|
|
5667
5793
|
marginRight: 16,
|
|
5668
|
-
mutedIcon:
|
|
5794
|
+
mutedIcon: PaletteIconMuted,
|
|
5669
5795
|
rangeBackground: 'rgba(0, 0, 0, 0)',
|
|
5670
5796
|
thumbBackground: '#ffffff',
|
|
5671
5797
|
thumbHeight: 8,
|
|
5672
5798
|
thumbWidth: 8,
|
|
5673
5799
|
trackGradientEnd: '#ffffff',
|
|
5674
5800
|
trackGradientStart: '#ffffff',
|
|
5675
|
-
unmutedIcon:
|
|
5801
|
+
unmutedIcon: PaletteIconUnmuted
|
|
5676
5802
|
}
|
|
5677
5803
|
},
|
|
5678
5804
|
WaffleGrid: {
|
|
@@ -5744,5 +5870,5 @@ module.exports = {
|
|
|
5744
5870
|
tokens: { size: 96 }
|
|
5745
5871
|
}
|
|
5746
5872
|
},
|
|
5747
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5873
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.35.0' }
|
|
5748
5874
|
}
|