@telus-uds/theme-koodo 4.7.0 → 4.9.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 +1508 -734
- package/build/android/theme.json +1000 -219
- package/build/ios/schema.json +1508 -734
- package/build/ios/theme.json +1000 -219
- package/build/rn/schema.json +1508 -734
- package/build/rn/theme.js +631 -123
- package/package.json +4 -4
- package/theme.json +813 -139
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 Fri, 14 Jul 2023 19:36:46 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -22,10 +22,11 @@ const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/r
|
|
|
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
24
|
const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
|
|
25
|
-
const
|
|
25
|
+
const PaletteIconQuoteLeft = require('@telus-uds/palette-koodo/build/rn/icons/QuoteLeft')
|
|
26
|
+
const PaletteIconQuoteRightArrow = require('@telus-uds/palette-koodo/build/rn/icons/QuoteRightArrow')
|
|
26
27
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
27
28
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
28
|
-
const
|
|
29
|
+
const PaletteIconTooltip = require('@telus-uds/palette-koodo/build/rn/icons/Tooltip')
|
|
29
30
|
const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
|
|
30
31
|
const PaletteIconReplay = require('@telus-uds/palette-koodo/build/rn/icons/Replay')
|
|
31
32
|
const PaletteIconClosedCaptions = require('@telus-uds/palette-koodo/build/rn/icons/ClosedCaptions')
|
|
@@ -33,6 +34,7 @@ const PaletteIconFullscreenExpand = require('@telus-uds/palette-koodo/build/rn/i
|
|
|
33
34
|
const PaletteIconFullscreenMinimize = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize')
|
|
34
35
|
const PaletteIconSettingsSolid = require('@telus-uds/palette-koodo/build/rn/icons/SettingsSolid')
|
|
35
36
|
const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
|
|
37
|
+
const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
|
|
36
38
|
const PaletteIconMuted = require('@telus-uds/palette-koodo/build/rn/icons/Muted')
|
|
37
39
|
const PaletteIconUnmuted = require('@telus-uds/palette-koodo/build/rn/icons/Unmuted')
|
|
38
40
|
|
|
@@ -69,6 +71,7 @@ module.exports = {
|
|
|
69
71
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
70
72
|
borderColor: '#016b6a',
|
|
71
73
|
color: '#016b6a',
|
|
74
|
+
fontSize: 16,
|
|
72
75
|
paddingBottom: 8,
|
|
73
76
|
paddingTop: 8
|
|
74
77
|
}
|
|
@@ -78,13 +81,18 @@ module.exports = {
|
|
|
78
81
|
tokens: {
|
|
79
82
|
backgroundColor: '#c3efff',
|
|
80
83
|
color: '#000000',
|
|
84
|
+
fontSize: 16,
|
|
81
85
|
paddingBottom: 8,
|
|
82
86
|
paddingTop: 8
|
|
83
87
|
}
|
|
84
88
|
},
|
|
85
89
|
{
|
|
86
90
|
if: { purpose: 'editorial' },
|
|
87
|
-
tokens: {
|
|
91
|
+
tokens: {
|
|
92
|
+
backgroundColor: '#000000',
|
|
93
|
+
color: '#ffffff',
|
|
94
|
+
fontSize: 16
|
|
95
|
+
}
|
|
88
96
|
},
|
|
89
97
|
{
|
|
90
98
|
if: { outline: true, purpose: 'editorial' },
|
|
@@ -109,6 +117,7 @@ module.exports = {
|
|
|
109
117
|
borderWidth: 2,
|
|
110
118
|
color: '#7c1366',
|
|
111
119
|
fontName: 'StagSans',
|
|
120
|
+
fontSize: 14,
|
|
112
121
|
fontWeight: '600',
|
|
113
122
|
gradient: null,
|
|
114
123
|
paddingBottom: 2,
|
|
@@ -374,7 +383,15 @@ module.exports = {
|
|
|
374
383
|
},
|
|
375
384
|
{
|
|
376
385
|
if: { focus: true },
|
|
377
|
-
tokens: {
|
|
386
|
+
tokens: {
|
|
387
|
+
borderBottomWidth: 4,
|
|
388
|
+
borderLeftWidth: 4,
|
|
389
|
+
borderRightWidth: 4,
|
|
390
|
+
borderTopWidth: 4,
|
|
391
|
+
color: '#000000',
|
|
392
|
+
outerBorderColor: '#016b6a',
|
|
393
|
+
outerBorderGap: 2
|
|
394
|
+
}
|
|
378
395
|
},
|
|
379
396
|
{
|
|
380
397
|
if: { inverse: true, priority: 'high' },
|
|
@@ -1108,11 +1125,7 @@ module.exports = {
|
|
|
1108
1125
|
rules: [
|
|
1109
1126
|
{
|
|
1110
1127
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1111
|
-
tokens: {
|
|
1112
|
-
showPanelTabs: false,
|
|
1113
|
-
showPreviousNextNavigation: false,
|
|
1114
|
-
thumbnailSize: 48
|
|
1115
|
-
}
|
|
1128
|
+
tokens: { showPanelTabs: false, showPreviousNextNavigation: false }
|
|
1116
1129
|
}
|
|
1117
1130
|
],
|
|
1118
1131
|
tokens: {
|
|
@@ -1124,15 +1137,7 @@ module.exports = {
|
|
|
1124
1137
|
showPreviousNextNavigation: true,
|
|
1125
1138
|
spaceBetweenSlideAndPanelNavigation: 32,
|
|
1126
1139
|
spaceBetweenSlideAndPreviousNextNavigation: 24,
|
|
1127
|
-
|
|
1128
|
-
thumbnailBorderRadius: 4,
|
|
1129
|
-
thumbnailBorderWidth: 1,
|
|
1130
|
-
thumbnailContainerPaddingTop: 24,
|
|
1131
|
-
thumbnailMargin: 4,
|
|
1132
|
-
thumbnailPadding: 8,
|
|
1133
|
-
thumbnailSelectedBorderColor: '#016b6a',
|
|
1134
|
-
thumbnailSelectedBorderWidth: 2,
|
|
1135
|
-
thumbnailSize: 64
|
|
1140
|
+
stepTrackerCurrentBackgroundColor: '#ffffff'
|
|
1136
1141
|
}
|
|
1137
1142
|
},
|
|
1138
1143
|
CarouselTabsPanelItem: {
|
|
@@ -1154,6 +1159,7 @@ module.exports = {
|
|
|
1154
1159
|
type: 'state',
|
|
1155
1160
|
values: [ true ]
|
|
1156
1161
|
},
|
|
1162
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1157
1163
|
pressed: {
|
|
1158
1164
|
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.',
|
|
1159
1165
|
type: 'state',
|
|
@@ -1205,11 +1211,54 @@ module.exports = {
|
|
|
1205
1211
|
{
|
|
1206
1212
|
if: { selected: true },
|
|
1207
1213
|
tokens: {
|
|
1208
|
-
borderBottomColor: '#
|
|
1214
|
+
borderBottomColor: '#016b6a',
|
|
1209
1215
|
borderBottomWidth: 2,
|
|
1210
|
-
color: '#
|
|
1211
|
-
|
|
1212
|
-
|
|
1216
|
+
color: '#016b6a'
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
if: { hover: true, inverse: true },
|
|
1221
|
+
tokens: {
|
|
1222
|
+
borderBottomColor: '#bbeaf5',
|
|
1223
|
+
borderBottomWidth: 2,
|
|
1224
|
+
color: '#bbeaf5'
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
if: { focus: true, inverse: true },
|
|
1229
|
+
tokens: {
|
|
1230
|
+
borderBottomColor: '#016b6a',
|
|
1231
|
+
borderBottomWidth: 4,
|
|
1232
|
+
color: '#016b6a'
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
if: { inverse: true, pressed: true },
|
|
1237
|
+
tokens: {
|
|
1238
|
+
borderBottomColor: '#1b4746',
|
|
1239
|
+
borderBottomWidth: 2,
|
|
1240
|
+
color: '#1b4746'
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
1244
|
+
{
|
|
1245
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
1246
|
+
tokens: { borderBottomWidth: 4 }
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
if: { inactive: true, inverse: true },
|
|
1250
|
+
tokens: {
|
|
1251
|
+
borderBottomColor: '#c9c8c8',
|
|
1252
|
+
borderBottomWidth: 4,
|
|
1253
|
+
color: '#c9c8c8'
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
if: { inverse: true, selected: true },
|
|
1258
|
+
tokens: {
|
|
1259
|
+
borderBottomColor: '#ffffff',
|
|
1260
|
+
borderBottomWidth: 4,
|
|
1261
|
+
color: '#ffffff'
|
|
1213
1262
|
}
|
|
1214
1263
|
}
|
|
1215
1264
|
],
|
|
@@ -1218,21 +1267,74 @@ module.exports = {
|
|
|
1218
1267
|
borderBottomColor: 'transparent',
|
|
1219
1268
|
borderBottomStyle: 'solid',
|
|
1220
1269
|
borderBottomWidth: 1,
|
|
1221
|
-
color: '#
|
|
1270
|
+
color: '#000000',
|
|
1222
1271
|
flex: 1,
|
|
1223
1272
|
fontName: 'StagSans',
|
|
1224
1273
|
fontScaleCap: 64,
|
|
1225
1274
|
fontSize: 14,
|
|
1226
|
-
fontWeight: '
|
|
1275
|
+
fontWeight: '600',
|
|
1227
1276
|
justifyContent: 'flex-start',
|
|
1228
1277
|
letterSpacing: 0,
|
|
1229
|
-
lineHeight: 1.
|
|
1278
|
+
lineHeight: 1.45,
|
|
1230
1279
|
paddingBottom: 16,
|
|
1231
1280
|
paddingLeft: 0,
|
|
1232
1281
|
paddingRight: 0,
|
|
1233
1282
|
paddingTop: 0
|
|
1234
1283
|
}
|
|
1235
1284
|
},
|
|
1285
|
+
CarouselThumbnail: {
|
|
1286
|
+
appearances: {
|
|
1287
|
+
focus: {
|
|
1288
|
+
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.",
|
|
1289
|
+
platforms: [ 'rn' ],
|
|
1290
|
+
type: 'state',
|
|
1291
|
+
values: [ true, false ]
|
|
1292
|
+
},
|
|
1293
|
+
hover: {
|
|
1294
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1295
|
+
platforms: [ 'rn' ],
|
|
1296
|
+
type: 'state',
|
|
1297
|
+
values: [ true, false ]
|
|
1298
|
+
},
|
|
1299
|
+
pressed: {
|
|
1300
|
+
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.',
|
|
1301
|
+
type: 'state',
|
|
1302
|
+
values: [ true, false ]
|
|
1303
|
+
},
|
|
1304
|
+
viewport: {
|
|
1305
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1306
|
+
type: 'state',
|
|
1307
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
rules: [
|
|
1311
|
+
{
|
|
1312
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
1313
|
+
tokens: { alignItems: 'flex-start', size: 48 }
|
|
1314
|
+
},
|
|
1315
|
+
{ if: { hover: true }, tokens: { borderColor: '#1b4746' } },
|
|
1316
|
+
{
|
|
1317
|
+
if: { focus: true },
|
|
1318
|
+
tokens: { borderColor: '#016b6a', borderWidth: 2 }
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
if: { pressed: true },
|
|
1322
|
+
tokens: { borderColor: '#666666', borderWidth: 2 }
|
|
1323
|
+
}
|
|
1324
|
+
],
|
|
1325
|
+
tokens: {
|
|
1326
|
+
alignItems: 'center',
|
|
1327
|
+
borderColor: '#efefef',
|
|
1328
|
+
borderRadius: 8,
|
|
1329
|
+
borderWidth: 1,
|
|
1330
|
+
containerPaddingTop: 24,
|
|
1331
|
+
margin: 4,
|
|
1332
|
+
padding: 8,
|
|
1333
|
+
selectedBorderColor: '#016b6a',
|
|
1334
|
+
selectedBorderWidth: 2,
|
|
1335
|
+
size: 72
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1236
1338
|
Checkbox: {
|
|
1237
1339
|
appearances: {
|
|
1238
1340
|
checked: {
|
|
@@ -1592,7 +1694,7 @@ module.exports = {
|
|
|
1592
1694
|
expanded: {
|
|
1593
1695
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
1594
1696
|
type: 'state',
|
|
1595
|
-
values: [ true ]
|
|
1697
|
+
values: [ true, false ]
|
|
1596
1698
|
},
|
|
1597
1699
|
mini: { type: 'variant', values: [ true ] }
|
|
1598
1700
|
},
|
|
@@ -1656,7 +1758,7 @@ module.exports = {
|
|
|
1656
1758
|
expanded: {
|
|
1657
1759
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
1658
1760
|
type: 'state',
|
|
1659
|
-
values: [ true ]
|
|
1761
|
+
values: [ true, false ]
|
|
1660
1762
|
},
|
|
1661
1763
|
inverse: {
|
|
1662
1764
|
description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
|
|
@@ -1737,6 +1839,18 @@ module.exports = {
|
|
|
1737
1839
|
contentPaddingLeft: 16,
|
|
1738
1840
|
contentPaddingRight: 16,
|
|
1739
1841
|
contentPaddingTop: 16,
|
|
1842
|
+
contentPanelBackgroundColor: '#efefef',
|
|
1843
|
+
contentPanelBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1844
|
+
contentPanelBorderWidth: 0,
|
|
1845
|
+
contentPanelFontColor: '#000000',
|
|
1846
|
+
contentPanelFontName: 'StagSans',
|
|
1847
|
+
contentPanelFontSize: 16,
|
|
1848
|
+
contentPanelFontWeight: '700',
|
|
1849
|
+
contentPanelLineHeight: 1.5,
|
|
1850
|
+
contentPanelPaddingBottom: 16,
|
|
1851
|
+
contentPanelPaddingLeft: 24,
|
|
1852
|
+
contentPanelPaddingRight: 24,
|
|
1853
|
+
contentPanelPaddingTop: 16,
|
|
1740
1854
|
expandDividerColor: null,
|
|
1741
1855
|
expandDividerWidth: null,
|
|
1742
1856
|
expandDuration: 300,
|
|
@@ -2239,8 +2353,16 @@ module.exports = {
|
|
|
2239
2353
|
],
|
|
2240
2354
|
tokens: {
|
|
2241
2355
|
backgroundColor: 'transparent',
|
|
2356
|
+
borderBottomLeftRadius: null,
|
|
2357
|
+
borderBottomRightRadius: null,
|
|
2358
|
+
borderBottomWidth: null,
|
|
2242
2359
|
borderColor: 'transparent',
|
|
2360
|
+
borderLeftWidth: null,
|
|
2243
2361
|
borderRadius: 99999999999999,
|
|
2362
|
+
borderRightWidth: null,
|
|
2363
|
+
borderTopLeftRadius: null,
|
|
2364
|
+
borderTopRightRadius: null,
|
|
2365
|
+
borderTopWidth: null,
|
|
2244
2366
|
borderWidth: 1,
|
|
2245
2367
|
icon: null,
|
|
2246
2368
|
iconColor: '#000000',
|
|
@@ -2482,7 +2604,7 @@ module.exports = {
|
|
|
2482
2604
|
expanded: {
|
|
2483
2605
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2484
2606
|
type: 'state',
|
|
2485
|
-
values: [ true ]
|
|
2607
|
+
values: [ true, false ]
|
|
2486
2608
|
},
|
|
2487
2609
|
focus: {
|
|
2488
2610
|
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.",
|
|
@@ -2812,7 +2934,7 @@ module.exports = {
|
|
|
2812
2934
|
expanded: {
|
|
2813
2935
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2814
2936
|
type: 'state',
|
|
2815
|
-
values: [ true ]
|
|
2937
|
+
values: [ true, false ]
|
|
2816
2938
|
},
|
|
2817
2939
|
focus: {
|
|
2818
2940
|
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.",
|
|
@@ -2846,21 +2968,17 @@ module.exports = {
|
|
|
2846
2968
|
{
|
|
2847
2969
|
if: { selected: true },
|
|
2848
2970
|
tokens: {
|
|
2849
|
-
backgroundColor: '#
|
|
2850
|
-
borderColor: '#
|
|
2851
|
-
color: '#
|
|
2971
|
+
backgroundColor: '#016b6a',
|
|
2972
|
+
borderColor: '#016b6a',
|
|
2973
|
+
color: '#ffffff',
|
|
2852
2974
|
fontName: 'StagSans',
|
|
2853
|
-
fontWeight: '
|
|
2975
|
+
fontWeight: '600',
|
|
2976
|
+
outerBorderColor: '#016b6a'
|
|
2854
2977
|
}
|
|
2855
2978
|
},
|
|
2856
2979
|
{
|
|
2857
2980
|
if: { focus: true },
|
|
2858
|
-
tokens: {
|
|
2859
|
-
backgroundColor: '#ffffff',
|
|
2860
|
-
borderColor: '#016b6a',
|
|
2861
|
-
borderWidth: 3,
|
|
2862
|
-
color: '#016b6a'
|
|
2863
|
-
}
|
|
2981
|
+
tokens: { borderColor: '#016b6a', borderWidth: 4 }
|
|
2864
2982
|
},
|
|
2865
2983
|
{
|
|
2866
2984
|
if: { focus: true, pressed: true },
|
|
@@ -2873,23 +2991,44 @@ module.exports = {
|
|
|
2873
2991
|
{
|
|
2874
2992
|
if: { hover: true },
|
|
2875
2993
|
tokens: {
|
|
2876
|
-
backgroundColor: '#
|
|
2877
|
-
borderColor: '#
|
|
2878
|
-
color: '#
|
|
2994
|
+
backgroundColor: '#014847',
|
|
2995
|
+
borderColor: '#014847',
|
|
2996
|
+
color: '#ffffff'
|
|
2879
2997
|
}
|
|
2880
2998
|
},
|
|
2881
2999
|
{
|
|
2882
3000
|
if: { pressed: true },
|
|
2883
3001
|
tokens: {
|
|
2884
|
-
backgroundColor: '#
|
|
2885
|
-
borderColor: '#
|
|
3002
|
+
backgroundColor: '#595959',
|
|
3003
|
+
borderColor: '#595959',
|
|
2886
3004
|
borderWidth: 1,
|
|
2887
|
-
color: '#
|
|
3005
|
+
color: '#c9c8c8'
|
|
2888
3006
|
}
|
|
2889
3007
|
},
|
|
2890
3008
|
{
|
|
2891
3009
|
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
2892
|
-
tokens: { textAlign: '
|
|
3010
|
+
tokens: { textAlign: 'space-between', width: 288 }
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
if: { hover: true, selected: true },
|
|
3014
|
+
tokens: {
|
|
3015
|
+
backgroundColor: '#014847',
|
|
3016
|
+
borderColor: '#014847',
|
|
3017
|
+
color: '#ffffff',
|
|
3018
|
+
fontName: 'StagSans',
|
|
3019
|
+
fontWeight: '600'
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
if: { pressed: true, selected: true },
|
|
3024
|
+
tokens: {
|
|
3025
|
+
backgroundColor: '#595959',
|
|
3026
|
+
borderColor: '#595959',
|
|
3027
|
+
color: '#c9c8c8',
|
|
3028
|
+
fontName: 'StagSans',
|
|
3029
|
+
fontWeight: '600',
|
|
3030
|
+
outerBorderColor: '#595959'
|
|
3031
|
+
}
|
|
2893
3032
|
},
|
|
2894
3033
|
{
|
|
2895
3034
|
if: { expanded: true },
|
|
@@ -2900,24 +3039,24 @@ module.exports = {
|
|
|
2900
3039
|
alignSelf: 'flex-start',
|
|
2901
3040
|
backgroundColor: '#ffffff',
|
|
2902
3041
|
borderColor: '#ffffff',
|
|
2903
|
-
borderRadius:
|
|
2904
|
-
borderWidth:
|
|
2905
|
-
color: '#
|
|
3042
|
+
borderRadius: 4,
|
|
3043
|
+
borderWidth: 4,
|
|
3044
|
+
color: '#000000',
|
|
2906
3045
|
fontName: 'StagSans',
|
|
2907
3046
|
fontSize: 14,
|
|
2908
|
-
fontWeight: '
|
|
3047
|
+
fontWeight: '600',
|
|
2909
3048
|
icoMenu: PaletteIconChevronDown,
|
|
2910
|
-
lineHeight: 1.
|
|
3049
|
+
lineHeight: 1.45,
|
|
2911
3050
|
minWidth: 0,
|
|
2912
3051
|
opacity: 1,
|
|
2913
3052
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2914
3053
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2915
3054
|
outerBorderGap: 0,
|
|
2916
|
-
outerBorderWidth:
|
|
2917
|
-
paddingBottom:
|
|
3055
|
+
outerBorderWidth: 0,
|
|
3056
|
+
paddingBottom: 6,
|
|
2918
3057
|
paddingLeft: 16,
|
|
2919
3058
|
paddingRight: 16,
|
|
2920
|
-
paddingTop:
|
|
3059
|
+
paddingTop: 6,
|
|
2921
3060
|
shadow: null,
|
|
2922
3061
|
textAlign: 'center',
|
|
2923
3062
|
width: 0
|
|
@@ -3461,20 +3600,133 @@ module.exports = {
|
|
|
3461
3600
|
}
|
|
3462
3601
|
},
|
|
3463
3602
|
QuantitySelector: {
|
|
3464
|
-
appearances: {
|
|
3465
|
-
|
|
3603
|
+
appearances: {
|
|
3604
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
3605
|
+
disabled: { type: 'variant', values: [ true ] },
|
|
3606
|
+
focus: { type: 'variant', values: [ true ] },
|
|
3607
|
+
hover: { type: 'variant', values: [ true ] },
|
|
3608
|
+
pressed: { type: 'variant', values: [ true ] }
|
|
3609
|
+
},
|
|
3610
|
+
rules: [
|
|
3611
|
+
{
|
|
3612
|
+
if: { alternative: true },
|
|
3613
|
+
tokens: { paddingBottom: 8, paddingTop: 8 }
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
if: { hover: true },
|
|
3617
|
+
tokens: { inputBackgroundColor: '#efefef' }
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
if: { disabled: true },
|
|
3621
|
+
tokens: { inputBackgroundColor: '#efefef', textColor: '#c9c8c8' }
|
|
3622
|
+
},
|
|
3623
|
+
{ if: { focus: true }, tokens: { inputBorderWidth: 3 } }
|
|
3624
|
+
],
|
|
3466
3625
|
tokens: {
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
iconSize: 16,
|
|
3471
|
-
inputBackgroundColor: null,
|
|
3472
|
-
inputBorderColor: null,
|
|
3626
|
+
fontSize: 16,
|
|
3627
|
+
inputBackgroundColor: '#ffffff',
|
|
3628
|
+
inputBorderColor: '#666666',
|
|
3473
3629
|
inputBorderWidth: 1,
|
|
3474
|
-
|
|
3630
|
+
inputWidth: 64,
|
|
3631
|
+
lineHeight: 1.5,
|
|
3632
|
+
padding: 12,
|
|
3633
|
+
paddingBottom: 12,
|
|
3634
|
+
paddingLeft: 12,
|
|
3635
|
+
paddingRight: 12,
|
|
3636
|
+
paddingTop: 12,
|
|
3637
|
+
textColor: '#000000'
|
|
3638
|
+
}
|
|
3639
|
+
},
|
|
3640
|
+
QuantitySelectorSideButton: {
|
|
3641
|
+
appearances: {
|
|
3642
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
3643
|
+
decrease: { type: 'variant', values: [ true ] },
|
|
3644
|
+
disabled: { type: 'variant', values: [ true ] },
|
|
3645
|
+
focus: { type: 'variant', values: [ true ] },
|
|
3646
|
+
hover: { type: 'variant', values: [ true ] },
|
|
3647
|
+
increase: { type: 'variant', values: [ true ] },
|
|
3648
|
+
pressed: { type: 'variant', values: [ true ] }
|
|
3649
|
+
},
|
|
3650
|
+
rules: [
|
|
3651
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
|
|
3652
|
+
{
|
|
3653
|
+
if: { pressed: true },
|
|
3654
|
+
tokens: { backgroundColor: '#c9c8c8', borderWidth: 3 }
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
if: { decrease: true },
|
|
3658
|
+
tokens: {
|
|
3659
|
+
borderBottomLeftRadius: 4,
|
|
3660
|
+
borderRightWidth: 0,
|
|
3661
|
+
borderTopLeftRadius: 4,
|
|
3662
|
+
icon: PaletteIconSubtract
|
|
3663
|
+
}
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
if: { increase: true },
|
|
3667
|
+
tokens: {
|
|
3668
|
+
borderBottomRightRadius: 4,
|
|
3669
|
+
borderLeftWidth: 0,
|
|
3670
|
+
borderTopRightRadius: 4,
|
|
3671
|
+
icon: PaletteIconAdd
|
|
3672
|
+
}
|
|
3673
|
+
},
|
|
3674
|
+
{
|
|
3675
|
+
if: { focus: true, increase: true },
|
|
3676
|
+
tokens: {
|
|
3677
|
+
borderBottomWidth: 3,
|
|
3678
|
+
borderLeftWidth: 2,
|
|
3679
|
+
borderRightWidth: 3,
|
|
3680
|
+
borderTopWidth: 3
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
if: { decrease: true, focus: true },
|
|
3685
|
+
tokens: {
|
|
3686
|
+
borderBottomWidth: 3,
|
|
3687
|
+
borderLeftWidth: 3,
|
|
3688
|
+
borderRightWidth: 2,
|
|
3689
|
+
borderTopWidth: 3
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
if: { disabled: true },
|
|
3694
|
+
tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
if: { alternative: true },
|
|
3698
|
+
tokens: { paddingBottom: 12, paddingTop: 12 }
|
|
3699
|
+
},
|
|
3700
|
+
{
|
|
3701
|
+
if: { alternative: true, increase: true },
|
|
3702
|
+
tokens: { borderBottomRightRadius: 24, borderTopRightRadius: 24 }
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
if: { alternative: true, decrease: true },
|
|
3706
|
+
tokens: { borderBottomLeftRadius: 24, borderTopLeftRadius: 24 }
|
|
3707
|
+
}
|
|
3708
|
+
],
|
|
3709
|
+
tokens: {
|
|
3710
|
+
backgroundColor: '#ffffff',
|
|
3711
|
+
borderBottomLeftRadius: 0,
|
|
3712
|
+
borderBottomRightRadius: 0,
|
|
3713
|
+
borderBottomWidth: 1,
|
|
3714
|
+
borderColor: '#666666',
|
|
3715
|
+
borderLeftWidth: 1,
|
|
3716
|
+
borderRadius: 0,
|
|
3717
|
+
borderRightWidth: 1,
|
|
3718
|
+
borderTopLeftRadius: 0,
|
|
3719
|
+
borderTopRightRadius: 0,
|
|
3720
|
+
borderTopWidth: 1,
|
|
3721
|
+
borderWidth: 1,
|
|
3722
|
+
icon: null,
|
|
3723
|
+
iconColor: '#000000',
|
|
3724
|
+
iconSize: 16,
|
|
3475
3725
|
padding: 16,
|
|
3476
|
-
|
|
3477
|
-
|
|
3726
|
+
paddingBottom: 16,
|
|
3727
|
+
paddingLeft: 16,
|
|
3728
|
+
paddingRight: 16,
|
|
3729
|
+
paddingTop: 16
|
|
3478
3730
|
}
|
|
3479
3731
|
},
|
|
3480
3732
|
QuickLinks: {
|
|
@@ -4331,7 +4583,7 @@ module.exports = {
|
|
|
4331
4583
|
expanded: {
|
|
4332
4584
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
4333
4585
|
type: 'state',
|
|
4334
|
-
values: [ true ]
|
|
4586
|
+
values: [ true, false ]
|
|
4335
4587
|
},
|
|
4336
4588
|
focus: {
|
|
4337
4589
|
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.",
|
|
@@ -4427,7 +4679,7 @@ module.exports = {
|
|
|
4427
4679
|
expanded: {
|
|
4428
4680
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
4429
4681
|
type: 'state',
|
|
4430
|
-
values: [ true ]
|
|
4682
|
+
values: [ true, false ]
|
|
4431
4683
|
}
|
|
4432
4684
|
},
|
|
4433
4685
|
rules: [
|
|
@@ -4468,18 +4720,40 @@ module.exports = {
|
|
|
4468
4720
|
}
|
|
4469
4721
|
},
|
|
4470
4722
|
SkipLink: {
|
|
4471
|
-
appearances: {
|
|
4472
|
-
|
|
4723
|
+
appearances: {
|
|
4724
|
+
focus: {
|
|
4725
|
+
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.",
|
|
4726
|
+
platforms: [ 'rn' ],
|
|
4727
|
+
type: 'state',
|
|
4728
|
+
values: [ true, false ]
|
|
4729
|
+
},
|
|
4730
|
+
pressed: {
|
|
4731
|
+
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.',
|
|
4732
|
+
type: 'state',
|
|
4733
|
+
values: [ true, false ]
|
|
4734
|
+
}
|
|
4735
|
+
},
|
|
4736
|
+
rules: [
|
|
4737
|
+
{
|
|
4738
|
+
if: { focus: true, pressed: true },
|
|
4739
|
+
tokens: { color: '#595959', outlineColor: '#595959' }
|
|
4740
|
+
}
|
|
4741
|
+
],
|
|
4473
4742
|
tokens: {
|
|
4474
|
-
backgroundColor: '#
|
|
4475
|
-
borderRadius:
|
|
4476
|
-
color: '#
|
|
4743
|
+
backgroundColor: '#ffffff',
|
|
4744
|
+
borderRadius: 4,
|
|
4745
|
+
color: '#016b6a',
|
|
4746
|
+
fontName: 'StagSans',
|
|
4747
|
+
fontSize: 16,
|
|
4748
|
+
fontWeight: '600',
|
|
4749
|
+
lineHeight: 1.5,
|
|
4477
4750
|
outlineColor: '#016b6a',
|
|
4478
4751
|
outlineOffset: 0,
|
|
4479
4752
|
outlineStyle: 'solid',
|
|
4480
4753
|
outlineWidth: 2,
|
|
4481
|
-
paddingHorizontal:
|
|
4482
|
-
paddingVertical:
|
|
4754
|
+
paddingHorizontal: 2,
|
|
4755
|
+
paddingVertical: 2,
|
|
4756
|
+
textLine: 'underline'
|
|
4483
4757
|
}
|
|
4484
4758
|
},
|
|
4485
4759
|
Spinner: {
|
|
@@ -4576,11 +4850,11 @@ module.exports = {
|
|
|
4576
4850
|
completedIconColor: '#666666',
|
|
4577
4851
|
connectorColor: '#ffffff',
|
|
4578
4852
|
connectorCompletedColor: '#ffffff',
|
|
4579
|
-
knobBackgroundColor: '
|
|
4853
|
+
knobBackgroundColor: 'transparent',
|
|
4580
4854
|
knobBorderColor: '#ffffff',
|
|
4581
4855
|
knobCompletedBackgroundColor: '#ffffff',
|
|
4582
|
-
knobCompletedBorderColor: '
|
|
4583
|
-
knobCurrentBackgroundColor: '
|
|
4856
|
+
knobCompletedBorderColor: 'transparent',
|
|
4857
|
+
knobCurrentBackgroundColor: 'transparent',
|
|
4584
4858
|
knobCurrentBorderColor: '#ffffff',
|
|
4585
4859
|
knobCurrentInnerColor: '#ffffff',
|
|
4586
4860
|
labelColor: '#ffffff',
|
|
@@ -4704,36 +4978,141 @@ module.exports = {
|
|
|
4704
4978
|
}
|
|
4705
4979
|
},
|
|
4706
4980
|
Table: {
|
|
4707
|
-
appearances: {
|
|
4981
|
+
appearances: {
|
|
4982
|
+
spacing: {
|
|
4983
|
+
description: 'Adjusts the height of the table cell',
|
|
4984
|
+
type: 'variant',
|
|
4985
|
+
values: [ 'compact', 'default' ]
|
|
4986
|
+
},
|
|
4987
|
+
text: { type: 'variant', values: [ 'small' ] },
|
|
4988
|
+
type: {
|
|
4989
|
+
type: 'variant',
|
|
4990
|
+
values: [ 'subHeading', 'rowHeading', 'heading', 'default' ]
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
4708
4993
|
rules: [
|
|
4709
4994
|
{
|
|
4710
|
-
if: { spacing: 'compact' },
|
|
4711
|
-
tokens: {
|
|
4995
|
+
if: { spacing: 'compact', type: 'default' },
|
|
4996
|
+
tokens: {
|
|
4997
|
+
cellPaddingBottom: 8,
|
|
4998
|
+
cellPaddingTop: 8,
|
|
4999
|
+
fontSize: 16,
|
|
5000
|
+
lineHeight: 1.25
|
|
5001
|
+
}
|
|
5002
|
+
},
|
|
5003
|
+
{
|
|
5004
|
+
if: { spacing: 'compact', type: 'rowHeading' },
|
|
5005
|
+
tokens: {
|
|
5006
|
+
cellPaddingBottom: 8,
|
|
5007
|
+
cellPaddingTop: 8,
|
|
5008
|
+
fontName: 'StagSans',
|
|
5009
|
+
fontSize: 16,
|
|
5010
|
+
fontWeight: '600',
|
|
5011
|
+
lineHeight: 1.25
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
if: { spacing: 'compact', type: 'subHeading' },
|
|
5016
|
+
tokens: {
|
|
5017
|
+
cellBackground: '#fafafa',
|
|
5018
|
+
cellPaddingBottom: 8,
|
|
5019
|
+
cellPaddingTop: 8,
|
|
5020
|
+
fontName: 'StagSans',
|
|
5021
|
+
fontSize: 16,
|
|
5022
|
+
fontWeight: '600',
|
|
5023
|
+
lineHeight: 1.25
|
|
5024
|
+
}
|
|
5025
|
+
},
|
|
5026
|
+
{
|
|
5027
|
+
if: { spacing: 'default', type: 'heading' },
|
|
5028
|
+
tokens: {
|
|
5029
|
+
cellBackground: '#c1f2e8',
|
|
5030
|
+
cellBoxShadowColor: 'rgba(0, 0, 0, 0)',
|
|
5031
|
+
fontName: 'StagSans',
|
|
5032
|
+
fontSize: 16,
|
|
5033
|
+
fontWeight: '600',
|
|
5034
|
+
lineHeight: 1.5
|
|
5035
|
+
}
|
|
5036
|
+
},
|
|
5037
|
+
{
|
|
5038
|
+
if: { spacing: 'compact', type: 'heading' },
|
|
5039
|
+
tokens: {
|
|
5040
|
+
cellBackground: '#c1f2e8',
|
|
5041
|
+
cellBoxShadowColor: 'rgba(0, 0, 0, 0)',
|
|
5042
|
+
fontName: 'StagSans',
|
|
5043
|
+
fontSize: 16,
|
|
5044
|
+
fontWeight: '600',
|
|
5045
|
+
lineHeight: 1.25
|
|
5046
|
+
}
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
if: { spacing: 'default', type: 'subHeading' },
|
|
5050
|
+
tokens: {
|
|
5051
|
+
cellBackground: '#fafafa',
|
|
5052
|
+
fontName: 'StagSans',
|
|
5053
|
+
fontSize: 16,
|
|
5054
|
+
fontWeight: '600',
|
|
5055
|
+
lineHeight: 1.5
|
|
5056
|
+
}
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
if: { spacing: 'default', type: 'rowHeading' },
|
|
5060
|
+
tokens: {
|
|
5061
|
+
fontName: 'StagSans',
|
|
5062
|
+
fontSize: 16,
|
|
5063
|
+
fontWeight: '600',
|
|
5064
|
+
lineHeight: 1.5
|
|
5065
|
+
}
|
|
5066
|
+
},
|
|
5067
|
+
{
|
|
5068
|
+
if: { text: 'small', type: 'default' },
|
|
5069
|
+
tokens: {
|
|
5070
|
+
fontName: 'StagSans',
|
|
5071
|
+
fontSize: 14,
|
|
5072
|
+
fontWeight: '400',
|
|
5073
|
+
lineHeight: 1.42857142857
|
|
5074
|
+
}
|
|
5075
|
+
},
|
|
5076
|
+
{
|
|
5077
|
+
if: { spacing: 'default', text: 'small', type: 'rowHeading' },
|
|
5078
|
+
tokens: {
|
|
5079
|
+
fontName: 'StagSans',
|
|
5080
|
+
fontSize: 14,
|
|
5081
|
+
fontWeight: '600',
|
|
5082
|
+
lineHeight: 1.42857142857
|
|
5083
|
+
}
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
if: { spacing: 'compact', text: 'small', type: 'rowHeading' },
|
|
5087
|
+
tokens: {
|
|
5088
|
+
fontName: 'StagSans',
|
|
5089
|
+
fontSize: 14,
|
|
5090
|
+
fontWeight: '600',
|
|
5091
|
+
lineHeight: 1.14285714286
|
|
5092
|
+
}
|
|
4712
5093
|
}
|
|
4713
5094
|
],
|
|
4714
5095
|
tokens: {
|
|
4715
5096
|
cellBackground: '#ffffff',
|
|
4716
5097
|
cellBoxShadowColor: '#efefef',
|
|
4717
|
-
cellHeadingBackground: '#c1f2e8',
|
|
4718
|
-
cellHeadingBoxShadowColor: '#efefef',
|
|
4719
5098
|
cellMinWidth: 0,
|
|
4720
5099
|
cellPaddingBottom: 16,
|
|
4721
5100
|
cellPaddingLeft: 16,
|
|
4722
5101
|
cellPaddingRight: 16,
|
|
4723
5102
|
cellPaddingTop: 16,
|
|
4724
|
-
cellRowHeadingBackground: '#ffffff',
|
|
4725
5103
|
cellStickyShadow: {
|
|
4726
|
-
blur:
|
|
4727
|
-
color: 'rgba(
|
|
4728
|
-
inset:
|
|
5104
|
+
blur: 8,
|
|
5105
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
5106
|
+
inset: false,
|
|
4729
5107
|
offsetX: 0,
|
|
4730
|
-
offsetY:
|
|
5108
|
+
offsetY: 4,
|
|
4731
5109
|
spread: 0
|
|
4732
5110
|
},
|
|
4733
|
-
cellSubheadingBackground: '#fafafa',
|
|
4734
5111
|
fontName: 'StagSans',
|
|
4735
5112
|
fontSize: 16,
|
|
4736
|
-
fontWeight: '
|
|
5113
|
+
fontWeight: '400',
|
|
5114
|
+
lineHeight: 1.5,
|
|
5115
|
+
stickyBackgroundColor: '#ffffff',
|
|
4737
5116
|
tablePaddingBottom: 24
|
|
4738
5117
|
}
|
|
4739
5118
|
},
|
|
@@ -4965,6 +5344,7 @@ module.exports = {
|
|
|
4965
5344
|
icon: PaletteIconClose,
|
|
4966
5345
|
iconBackground: '#016b6a',
|
|
4967
5346
|
iconColor: '#ffffff',
|
|
5347
|
+
iconPadding: 4,
|
|
4968
5348
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4969
5349
|
outerBorderWidth: 0
|
|
4970
5350
|
}
|
|
@@ -5030,7 +5410,7 @@ module.exports = {
|
|
|
5030
5410
|
outerBorderWidth: 0,
|
|
5031
5411
|
paddingBottom: 8,
|
|
5032
5412
|
paddingLeft: 16,
|
|
5033
|
-
paddingRight:
|
|
5413
|
+
paddingRight: 16,
|
|
5034
5414
|
paddingTop: 8,
|
|
5035
5415
|
shadow: null,
|
|
5036
5416
|
textAlign: 'center'
|
|
@@ -5041,38 +5421,60 @@ module.exports = {
|
|
|
5041
5421
|
expanded: {
|
|
5042
5422
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
5043
5423
|
type: 'state',
|
|
5044
|
-
values: [ true ]
|
|
5424
|
+
values: [ true, false ]
|
|
5425
|
+
},
|
|
5426
|
+
viewport: {
|
|
5427
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5428
|
+
type: 'state',
|
|
5429
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5045
5430
|
}
|
|
5046
5431
|
},
|
|
5047
5432
|
rules: [
|
|
5433
|
+
{
|
|
5434
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
5435
|
+
tokens: {
|
|
5436
|
+
expandContentPaddingRight: 24,
|
|
5437
|
+
listMarginLeft: 2,
|
|
5438
|
+
titlePaddingLeft: 2
|
|
5439
|
+
}
|
|
5440
|
+
},
|
|
5048
5441
|
{
|
|
5049
5442
|
if: { expanded: true },
|
|
5050
5443
|
tokens: { icon: PaletteIconChevronUp }
|
|
5051
5444
|
}
|
|
5052
5445
|
],
|
|
5053
5446
|
tokens: {
|
|
5447
|
+
contentBorderColor: 'transparent',
|
|
5448
|
+
contentMarginBottom: 0,
|
|
5054
5449
|
contentPaddingBottom: 8,
|
|
5055
5450
|
contentPaddingLeft: 16,
|
|
5451
|
+
dividerColor: '#c9c8c8',
|
|
5056
5452
|
expandBaseBorderWidth: 0,
|
|
5057
5453
|
expandContentPaddingBottom: 16,
|
|
5058
5454
|
expandContentPaddingLeft: 16,
|
|
5059
5455
|
expandContentPaddingRight: 16,
|
|
5060
5456
|
expandContentPaddingTop: 16,
|
|
5061
5457
|
expandIconContainerAlignItems: 'center',
|
|
5062
|
-
expandIconContainerBorder:
|
|
5063
|
-
expandIconContainerBorderColor: '
|
|
5458
|
+
expandIconContainerBorder: 0,
|
|
5459
|
+
expandIconContainerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5064
5460
|
expandIconContainerHeight: 32,
|
|
5065
5461
|
expandIconContainerJustifyContent: 'center',
|
|
5066
5462
|
expandIconContainerMarginX: 0,
|
|
5067
5463
|
expandIconContainerMarginY: 12,
|
|
5068
5464
|
expandIconContainerWidth: 32,
|
|
5069
|
-
|
|
5465
|
+
expandTitleBorder: 0,
|
|
5466
|
+
expandTitleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5467
|
+
expandTitleColor: '#000000',
|
|
5468
|
+
expandTitleFontName: 'StagSans',
|
|
5070
5469
|
expandTitleFontSize: 16,
|
|
5470
|
+
expandTitleFontWeight: '600',
|
|
5071
5471
|
expandTitleLineHeight: 1.5,
|
|
5072
5472
|
expandTitleMarginX: 4,
|
|
5073
5473
|
expandTitleMarginY: 0,
|
|
5474
|
+
expandTitlePaddingLeft: 0,
|
|
5475
|
+
expandTitleUnderline: 'none',
|
|
5074
5476
|
icon: PaletteIconChevronDown,
|
|
5075
|
-
listColor: '#
|
|
5477
|
+
listColor: '#000000',
|
|
5076
5478
|
listFontName: 'StagSans',
|
|
5077
5479
|
listFontSize: 14,
|
|
5078
5480
|
listFontWeight: '400',
|
|
@@ -5085,23 +5487,56 @@ module.exports = {
|
|
|
5085
5487
|
titleColor: '#016b6a',
|
|
5086
5488
|
titleFontSize: 14,
|
|
5087
5489
|
titleLineHeight: 1.42857142857,
|
|
5088
|
-
titlePaddingLeft:
|
|
5089
|
-
unorderedPadding:
|
|
5490
|
+
titlePaddingLeft: 32,
|
|
5491
|
+
unorderedPadding: 12
|
|
5090
5492
|
}
|
|
5091
5493
|
},
|
|
5092
5494
|
Testimonial: {
|
|
5093
|
-
appearances: {
|
|
5094
|
-
|
|
5495
|
+
appearances: {
|
|
5496
|
+
viewport: {
|
|
5497
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5498
|
+
type: 'state',
|
|
5499
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5500
|
+
}
|
|
5501
|
+
},
|
|
5502
|
+
rules: [
|
|
5503
|
+
{
|
|
5504
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
5505
|
+
tokens: {
|
|
5506
|
+
testimonialFontNameHeading: 'StagSans',
|
|
5507
|
+
testimonialFontSizeHeading: 32,
|
|
5508
|
+
testimonialFontWeightHeading: '700',
|
|
5509
|
+
testimonialLineHeightHeading: 1.25
|
|
5510
|
+
}
|
|
5511
|
+
}
|
|
5512
|
+
],
|
|
5095
5513
|
tokens: {
|
|
5096
|
-
|
|
5514
|
+
additionalFontName: 'StagSans',
|
|
5515
|
+
additionalFontSize: 14,
|
|
5516
|
+
additionalFontWeight: '400',
|
|
5517
|
+
additionalLineHeight: 1.42857142857,
|
|
5518
|
+
authorFontName: 'StagSans',
|
|
5519
|
+
authorFontSize: 16,
|
|
5520
|
+
authorFontWeight: '600',
|
|
5521
|
+
authorLineHeight: 1.5,
|
|
5522
|
+
dividerBackgroundColor: '#c9c8c8',
|
|
5097
5523
|
dividerBorder: 1,
|
|
5098
5524
|
figcaptionGap: 12,
|
|
5099
|
-
icon:
|
|
5100
|
-
iconColor: '#
|
|
5525
|
+
icon: PaletteIconQuoteLeft,
|
|
5526
|
+
iconColor: '#c9c8c8',
|
|
5527
|
+
iconFr: PaletteIconQuoteRightArrow,
|
|
5101
5528
|
imageSize: 48,
|
|
5102
5529
|
quoteContainerGap: 4,
|
|
5103
5530
|
testimonialContainerGap: 12,
|
|
5104
|
-
|
|
5531
|
+
testimonialFontNameHeading: 'StagSans',
|
|
5532
|
+
testimonialFontNameLarge: 'StagSans',
|
|
5533
|
+
testimonialFontSizeHeading: 24,
|
|
5534
|
+
testimonialFontSizeLarge: 20,
|
|
5535
|
+
testimonialFontWeightHeading: '700',
|
|
5536
|
+
testimonialFontWeightLarge: '400',
|
|
5537
|
+
testimonialLineHeightHeading: 1.33333333333,
|
|
5538
|
+
testimonialLineHeightLarge: 1.4,
|
|
5539
|
+
textColor: '#000000'
|
|
5105
5540
|
}
|
|
5106
5541
|
},
|
|
5107
5542
|
TextArea: {
|
|
@@ -5454,16 +5889,16 @@ module.exports = {
|
|
|
5454
5889
|
rules: [
|
|
5455
5890
|
{
|
|
5456
5891
|
if: { inverse: true },
|
|
5457
|
-
tokens: { backgroundColor: '#ffffff', color: '#
|
|
5892
|
+
tokens: { backgroundColor: '#ffffff', color: '#000000' }
|
|
5458
5893
|
}
|
|
5459
5894
|
],
|
|
5460
5895
|
tokens: {
|
|
5461
5896
|
arrowBorderRadius: 0,
|
|
5462
5897
|
arrowOffset: 4,
|
|
5463
5898
|
arrowWidth: 8,
|
|
5464
|
-
backgroundColor: '#
|
|
5899
|
+
backgroundColor: '#c3efff',
|
|
5465
5900
|
borderRadius: 4,
|
|
5466
|
-
color: '#
|
|
5901
|
+
color: '#000000',
|
|
5467
5902
|
fontName: 'StagSans',
|
|
5468
5903
|
fontSize: 14,
|
|
5469
5904
|
fontWeight: '400',
|
|
@@ -5496,6 +5931,7 @@ module.exports = {
|
|
|
5496
5931
|
type: 'state',
|
|
5497
5932
|
values: [ true, false ]
|
|
5498
5933
|
},
|
|
5934
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
5499
5935
|
pressed: {
|
|
5500
5936
|
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.',
|
|
5501
5937
|
type: 'state',
|
|
@@ -5503,17 +5939,40 @@ module.exports = {
|
|
|
5503
5939
|
}
|
|
5504
5940
|
},
|
|
5505
5941
|
rules: [
|
|
5506
|
-
{ if: { hover: true }, tokens: { iconScale: 1.25 } },
|
|
5507
|
-
{ if: { pressed: true }, tokens: { iconColor: '#1b4746' } },
|
|
5508
5942
|
{
|
|
5509
|
-
if: {
|
|
5510
|
-
tokens: {
|
|
5943
|
+
if: { hover: true },
|
|
5944
|
+
tokens: { backgroundColor: '#c3efff', iconScale: 1.25 }
|
|
5945
|
+
},
|
|
5946
|
+
{
|
|
5947
|
+
if: { inverse: true },
|
|
5948
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
|
|
5949
|
+
},
|
|
5950
|
+
{
|
|
5951
|
+
if: { hover: true, inverse: true },
|
|
5952
|
+
tokens: { backgroundColor: '#c9c8c8', iconColor: '#ffffff' }
|
|
5953
|
+
},
|
|
5954
|
+
{
|
|
5955
|
+
if: { inverse: true, pressed: true },
|
|
5956
|
+
tokens: { backgroundColor: '#ffffff', iconColor: '#c9c8c8' }
|
|
5957
|
+
},
|
|
5958
|
+
{
|
|
5959
|
+
if: { inverse: null, pressed: true },
|
|
5960
|
+
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
5961
|
+
},
|
|
5962
|
+
{
|
|
5963
|
+
if: { focus: true, inverse: true },
|
|
5964
|
+
tokens: { outerBorderColor: '#ffffff' }
|
|
5965
|
+
},
|
|
5966
|
+
{
|
|
5967
|
+
if: { focus: true, inverse: null },
|
|
5968
|
+
tokens: { outerBorderColor: '#17367d' }
|
|
5511
5969
|
}
|
|
5512
5970
|
],
|
|
5513
5971
|
tokens: {
|
|
5972
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5514
5973
|
borderRadius: 32,
|
|
5515
|
-
icon:
|
|
5516
|
-
iconColor: '#
|
|
5974
|
+
icon: PaletteIconTooltip,
|
|
5975
|
+
iconColor: '#016b6a',
|
|
5517
5976
|
iconScale: 1,
|
|
5518
5977
|
iconSize: 16,
|
|
5519
5978
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -5749,6 +6208,7 @@ module.exports = {
|
|
|
5749
6208
|
fontWeight: '400',
|
|
5750
6209
|
letterSpacing: 0,
|
|
5751
6210
|
lineHeight: 1.5,
|
|
6211
|
+
superScriptFontSize: null,
|
|
5752
6212
|
textTransform: 'none'
|
|
5753
6213
|
}
|
|
5754
6214
|
},
|
|
@@ -5827,13 +6287,13 @@ module.exports = {
|
|
|
5827
6287
|
appearances: {},
|
|
5828
6288
|
rules: [],
|
|
5829
6289
|
tokens: {
|
|
5830
|
-
framedContainerBackgroundColor: '
|
|
5831
|
-
framedContainerBorderColor: '
|
|
6290
|
+
framedContainerBackgroundColor: '#fafafa',
|
|
6291
|
+
framedContainerBorderColor: '#c9c8c8',
|
|
5832
6292
|
framedContainerBorderRadius: 4,
|
|
5833
6293
|
framedContainerBorderWidth: 1,
|
|
5834
6294
|
framedContainerPadding: 24,
|
|
5835
6295
|
framedMaxHeight: 640,
|
|
5836
|
-
stackViewDividerColor: '
|
|
6296
|
+
stackViewDividerColor: '#c9c8c8'
|
|
5837
6297
|
}
|
|
5838
6298
|
},
|
|
5839
6299
|
VideoPickerSlider: {
|
|
@@ -5845,20 +6305,68 @@ module.exports = {
|
|
|
5845
6305
|
}
|
|
5846
6306
|
},
|
|
5847
6307
|
VideoPickerThumbnail: {
|
|
5848
|
-
appearances: {
|
|
5849
|
-
|
|
6308
|
+
appearances: {
|
|
6309
|
+
focus: {
|
|
6310
|
+
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.",
|
|
6311
|
+
platforms: [ 'rn' ],
|
|
6312
|
+
type: 'state',
|
|
6313
|
+
values: [ true, false ]
|
|
6314
|
+
},
|
|
6315
|
+
hover: {
|
|
6316
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
6317
|
+
platforms: [ 'rn' ],
|
|
6318
|
+
type: 'state',
|
|
6319
|
+
values: [ true, false ]
|
|
6320
|
+
},
|
|
6321
|
+
pressed: {
|
|
6322
|
+
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.',
|
|
6323
|
+
type: 'state',
|
|
6324
|
+
values: [ true, false ]
|
|
6325
|
+
},
|
|
6326
|
+
selected: {
|
|
6327
|
+
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`.',
|
|
6328
|
+
type: 'state',
|
|
6329
|
+
values: [ true ]
|
|
6330
|
+
}
|
|
6331
|
+
},
|
|
6332
|
+
rules: [
|
|
6333
|
+
{
|
|
6334
|
+
if: { focus: true },
|
|
6335
|
+
tokens: {
|
|
6336
|
+
borderColor: '#595959',
|
|
6337
|
+
borderWidth: 1,
|
|
6338
|
+
outerBorderColor: '#17367d'
|
|
6339
|
+
}
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
if: { hover: true },
|
|
6343
|
+
tokens: { borderColor: '#c9c8c8', borderWidth: 3 }
|
|
6344
|
+
},
|
|
6345
|
+
{
|
|
6346
|
+
if: { pressed: true },
|
|
6347
|
+
tokens: { borderColor: '#595959', borderWidth: 3 }
|
|
6348
|
+
},
|
|
6349
|
+
{
|
|
6350
|
+
if: { selected: true },
|
|
6351
|
+
tokens: { borderColor: '#016b6a', titleColor: '#016b6a' }
|
|
6352
|
+
}
|
|
6353
|
+
],
|
|
5850
6354
|
tokens: {
|
|
5851
|
-
borderColor: '
|
|
6355
|
+
borderColor: '#c9c8c8',
|
|
5852
6356
|
borderRadius: 4,
|
|
5853
6357
|
borderWidth: 2,
|
|
5854
|
-
|
|
6358
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
6359
|
+
outerBorderGap: 2,
|
|
6360
|
+
outerBorderRadius: 8,
|
|
6361
|
+
outerBorderWidth: 2,
|
|
6362
|
+
pressableBorderTopColor: '#c9c8c8',
|
|
5855
6363
|
pressableBorderTopWidth: 1,
|
|
5856
6364
|
pressablePaddingBottom: 16,
|
|
5857
6365
|
pressablePaddingHorizontal: 24,
|
|
5858
6366
|
pressablePaddingVertical: 16,
|
|
5859
6367
|
splashButtonRadius: 4,
|
|
5860
|
-
subTitleColor: '
|
|
5861
|
-
titleColor: '
|
|
6368
|
+
subTitleColor: '#595959',
|
|
6369
|
+
titleColor: '#000000'
|
|
5862
6370
|
}
|
|
5863
6371
|
},
|
|
5864
6372
|
VideoProgressBar: {
|
|
@@ -5960,5 +6468,5 @@ module.exports = {
|
|
|
5960
6468
|
tokens: { size: 96 }
|
|
5961
6469
|
}
|
|
5962
6470
|
},
|
|
5963
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
6471
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.38.0' }
|
|
5964
6472
|
}
|