@telus-uds/theme-koodo 4.8.0 → 4.10.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 +1220 -712
- package/build/android/theme.json +576 -112
- package/build/ios/schema.json +1220 -712
- package/build/ios/theme.json +576 -112
- package/build/rn/schema.json +1220 -712
- package/build/rn/theme.js +362 -72
- package/package.json +4 -4
- package/theme.json +477 -55
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Fri,
|
|
4
|
+
* Generated on Fri, 21 Jul 2023 00:41:07 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,
|
|
@@ -1116,11 +1125,7 @@ module.exports = {
|
|
|
1116
1125
|
rules: [
|
|
1117
1126
|
{
|
|
1118
1127
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1119
|
-
tokens: {
|
|
1120
|
-
showPanelTabs: false,
|
|
1121
|
-
showPreviousNextNavigation: false,
|
|
1122
|
-
thumbnailSize: 48
|
|
1123
|
-
}
|
|
1128
|
+
tokens: { showPanelTabs: false, showPreviousNextNavigation: false }
|
|
1124
1129
|
}
|
|
1125
1130
|
],
|
|
1126
1131
|
tokens: {
|
|
@@ -1132,15 +1137,7 @@ module.exports = {
|
|
|
1132
1137
|
showPreviousNextNavigation: true,
|
|
1133
1138
|
spaceBetweenSlideAndPanelNavigation: 32,
|
|
1134
1139
|
spaceBetweenSlideAndPreviousNextNavigation: 24,
|
|
1135
|
-
|
|
1136
|
-
thumbnailBorderRadius: 4,
|
|
1137
|
-
thumbnailBorderWidth: 1,
|
|
1138
|
-
thumbnailContainerPaddingTop: 24,
|
|
1139
|
-
thumbnailMargin: 4,
|
|
1140
|
-
thumbnailPadding: 8,
|
|
1141
|
-
thumbnailSelectedBorderColor: '#016b6a',
|
|
1142
|
-
thumbnailSelectedBorderWidth: 2,
|
|
1143
|
-
thumbnailSize: 64
|
|
1140
|
+
stepTrackerCurrentBackgroundColor: '#ffffff'
|
|
1144
1141
|
}
|
|
1145
1142
|
},
|
|
1146
1143
|
CarouselTabsPanelItem: {
|
|
@@ -1162,6 +1159,7 @@ module.exports = {
|
|
|
1162
1159
|
type: 'state',
|
|
1163
1160
|
values: [ true ]
|
|
1164
1161
|
},
|
|
1162
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1165
1163
|
pressed: {
|
|
1166
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.',
|
|
1167
1165
|
type: 'state',
|
|
@@ -1213,11 +1211,54 @@ module.exports = {
|
|
|
1213
1211
|
{
|
|
1214
1212
|
if: { selected: true },
|
|
1215
1213
|
tokens: {
|
|
1216
|
-
borderBottomColor: '#
|
|
1214
|
+
borderBottomColor: '#016b6a',
|
|
1217
1215
|
borderBottomWidth: 2,
|
|
1218
|
-
color: '#
|
|
1219
|
-
|
|
1220
|
-
|
|
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'
|
|
1221
1262
|
}
|
|
1222
1263
|
}
|
|
1223
1264
|
],
|
|
@@ -1226,21 +1267,74 @@ module.exports = {
|
|
|
1226
1267
|
borderBottomColor: 'transparent',
|
|
1227
1268
|
borderBottomStyle: 'solid',
|
|
1228
1269
|
borderBottomWidth: 1,
|
|
1229
|
-
color: '#
|
|
1270
|
+
color: '#000000',
|
|
1230
1271
|
flex: 1,
|
|
1231
1272
|
fontName: 'StagSans',
|
|
1232
1273
|
fontScaleCap: 64,
|
|
1233
1274
|
fontSize: 14,
|
|
1234
|
-
fontWeight: '
|
|
1275
|
+
fontWeight: '600',
|
|
1235
1276
|
justifyContent: 'flex-start',
|
|
1236
1277
|
letterSpacing: 0,
|
|
1237
|
-
lineHeight: 1.
|
|
1278
|
+
lineHeight: 1.45,
|
|
1238
1279
|
paddingBottom: 16,
|
|
1239
1280
|
paddingLeft: 0,
|
|
1240
1281
|
paddingRight: 0,
|
|
1241
1282
|
paddingTop: 0
|
|
1242
1283
|
}
|
|
1243
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
|
+
},
|
|
1244
1338
|
Checkbox: {
|
|
1245
1339
|
appearances: {
|
|
1246
1340
|
checked: {
|
|
@@ -1600,7 +1694,7 @@ module.exports = {
|
|
|
1600
1694
|
expanded: {
|
|
1601
1695
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
1602
1696
|
type: 'state',
|
|
1603
|
-
values: [ true ]
|
|
1697
|
+
values: [ true, false ]
|
|
1604
1698
|
},
|
|
1605
1699
|
mini: { type: 'variant', values: [ true ] }
|
|
1606
1700
|
},
|
|
@@ -1664,7 +1758,7 @@ module.exports = {
|
|
|
1664
1758
|
expanded: {
|
|
1665
1759
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
1666
1760
|
type: 'state',
|
|
1667
|
-
values: [ true ]
|
|
1761
|
+
values: [ true, false ]
|
|
1668
1762
|
},
|
|
1669
1763
|
inverse: {
|
|
1670
1764
|
description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
|
|
@@ -1795,7 +1889,7 @@ module.exports = {
|
|
|
1795
1889
|
borderRadius: 0,
|
|
1796
1890
|
borderWidth: 0,
|
|
1797
1891
|
color: '#000000',
|
|
1798
|
-
contentFontSize:
|
|
1892
|
+
contentFontSize: 16,
|
|
1799
1893
|
fontName: 'StagSans',
|
|
1800
1894
|
fontWeight: '400',
|
|
1801
1895
|
icon: null,
|
|
@@ -2259,10 +2353,18 @@ module.exports = {
|
|
|
2259
2353
|
],
|
|
2260
2354
|
tokens: {
|
|
2261
2355
|
backgroundColor: 'transparent',
|
|
2356
|
+
borderBottomLeftRadius: null,
|
|
2357
|
+
borderBottomRightRadius: null,
|
|
2358
|
+
borderBottomWidth: null,
|
|
2262
2359
|
borderColor: 'transparent',
|
|
2360
|
+
borderLeftWidth: null,
|
|
2263
2361
|
borderRadius: 99999999999999,
|
|
2362
|
+
borderRightWidth: null,
|
|
2363
|
+
borderTopLeftRadius: null,
|
|
2364
|
+
borderTopRightRadius: null,
|
|
2365
|
+
borderTopWidth: null,
|
|
2264
2366
|
borderWidth: 1,
|
|
2265
|
-
icon:
|
|
2367
|
+
icon: PaletteIconAdd,
|
|
2266
2368
|
iconColor: '#000000',
|
|
2267
2369
|
iconScale: 1,
|
|
2268
2370
|
iconSize: 16,
|
|
@@ -2502,7 +2604,7 @@ module.exports = {
|
|
|
2502
2604
|
expanded: {
|
|
2503
2605
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2504
2606
|
type: 'state',
|
|
2505
|
-
values: [ true ]
|
|
2607
|
+
values: [ true, false ]
|
|
2506
2608
|
},
|
|
2507
2609
|
focus: {
|
|
2508
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.",
|
|
@@ -2832,7 +2934,7 @@ module.exports = {
|
|
|
2832
2934
|
expanded: {
|
|
2833
2935
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2834
2936
|
type: 'state',
|
|
2835
|
-
values: [ true ]
|
|
2937
|
+
values: [ true, false ]
|
|
2836
2938
|
},
|
|
2837
2939
|
focus: {
|
|
2838
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.",
|
|
@@ -3257,9 +3359,26 @@ module.exports = {
|
|
|
3257
3359
|
},
|
|
3258
3360
|
{
|
|
3259
3361
|
if: { hover: true },
|
|
3260
|
-
tokens: {
|
|
3362
|
+
tokens: {
|
|
3363
|
+
borderBottomWidth: 1,
|
|
3364
|
+
borderColor: '#016b6a',
|
|
3365
|
+
borderLeftWidth: 1,
|
|
3366
|
+
borderRightWidth: 1,
|
|
3367
|
+
borderTopWidth: 1,
|
|
3368
|
+
iconDisplace: 4,
|
|
3369
|
+
textLine: 'none'
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
if: { focus: true },
|
|
3374
|
+
tokens: {
|
|
3375
|
+
borderBottomWidth: 1,
|
|
3376
|
+
borderColor: '#016b6a',
|
|
3377
|
+
borderLeftWidth: 1,
|
|
3378
|
+
borderRightWidth: 1,
|
|
3379
|
+
borderTopWidth: 1
|
|
3380
|
+
}
|
|
3261
3381
|
},
|
|
3262
|
-
{ if: { focus: true }, tokens: { borderColor: '#016b6a' } },
|
|
3263
3382
|
{
|
|
3264
3383
|
if: { selected: true },
|
|
3265
3384
|
tokens: {
|
|
@@ -3283,12 +3402,12 @@ module.exports = {
|
|
|
3283
3402
|
],
|
|
3284
3403
|
tokens: {
|
|
3285
3404
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3286
|
-
borderBottomWidth:
|
|
3405
|
+
borderBottomWidth: 0,
|
|
3287
3406
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
3288
|
-
borderLeftWidth:
|
|
3407
|
+
borderLeftWidth: 0,
|
|
3289
3408
|
borderRadius: 4,
|
|
3290
|
-
borderRightWidth:
|
|
3291
|
-
borderTopWidth:
|
|
3409
|
+
borderRightWidth: 0,
|
|
3410
|
+
borderTopWidth: 0,
|
|
3292
3411
|
color: '#016b6a',
|
|
3293
3412
|
displayLabel: true,
|
|
3294
3413
|
fontName: 'StagSans',
|
|
@@ -3297,7 +3416,7 @@ module.exports = {
|
|
|
3297
3416
|
height: null,
|
|
3298
3417
|
icon: null,
|
|
3299
3418
|
iconDisplace: 0,
|
|
3300
|
-
iconSize:
|
|
3419
|
+
iconSize: 16,
|
|
3301
3420
|
lineHeight: 1.5,
|
|
3302
3421
|
outerBorderColor: 'transparent',
|
|
3303
3422
|
outerBorderWidth: 1,
|
|
@@ -3498,20 +3617,133 @@ module.exports = {
|
|
|
3498
3617
|
}
|
|
3499
3618
|
},
|
|
3500
3619
|
QuantitySelector: {
|
|
3501
|
-
appearances: {
|
|
3502
|
-
|
|
3620
|
+
appearances: {
|
|
3621
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
3622
|
+
disabled: { type: 'variant', values: [ true ] },
|
|
3623
|
+
focus: { type: 'variant', values: [ true ] },
|
|
3624
|
+
hover: { type: 'variant', values: [ true ] },
|
|
3625
|
+
pressed: { type: 'variant', values: [ true ] }
|
|
3626
|
+
},
|
|
3627
|
+
rules: [
|
|
3628
|
+
{
|
|
3629
|
+
if: { alternative: true },
|
|
3630
|
+
tokens: { paddingBottom: 8, paddingTop: 8 }
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
if: { hover: true },
|
|
3634
|
+
tokens: { inputBackgroundColor: '#efefef' }
|
|
3635
|
+
},
|
|
3636
|
+
{
|
|
3637
|
+
if: { disabled: true },
|
|
3638
|
+
tokens: { inputBackgroundColor: '#efefef', textColor: '#c9c8c8' }
|
|
3639
|
+
},
|
|
3640
|
+
{ if: { focus: true }, tokens: { inputBorderWidth: 3 } }
|
|
3641
|
+
],
|
|
3503
3642
|
tokens: {
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
iconSize: 16,
|
|
3508
|
-
inputBackgroundColor: null,
|
|
3509
|
-
inputBorderColor: null,
|
|
3643
|
+
fontSize: 16,
|
|
3644
|
+
inputBackgroundColor: '#ffffff',
|
|
3645
|
+
inputBorderColor: '#666666',
|
|
3510
3646
|
inputBorderWidth: 1,
|
|
3511
|
-
|
|
3647
|
+
inputWidth: 64,
|
|
3648
|
+
lineHeight: 1.5,
|
|
3649
|
+
padding: 12,
|
|
3650
|
+
paddingBottom: 12,
|
|
3651
|
+
paddingLeft: 12,
|
|
3652
|
+
paddingRight: 12,
|
|
3653
|
+
paddingTop: 12,
|
|
3654
|
+
textColor: '#000000'
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
QuantitySelectorSideButton: {
|
|
3658
|
+
appearances: {
|
|
3659
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
3660
|
+
decrease: { type: 'variant', values: [ true ] },
|
|
3661
|
+
disabled: { type: 'variant', values: [ true ] },
|
|
3662
|
+
focus: { type: 'variant', values: [ true ] },
|
|
3663
|
+
hover: { type: 'variant', values: [ true ] },
|
|
3664
|
+
increase: { type: 'variant', values: [ true ] },
|
|
3665
|
+
pressed: { type: 'variant', values: [ true ] }
|
|
3666
|
+
},
|
|
3667
|
+
rules: [
|
|
3668
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
|
|
3669
|
+
{
|
|
3670
|
+
if: { pressed: true },
|
|
3671
|
+
tokens: { backgroundColor: '#c9c8c8', borderWidth: 3 }
|
|
3672
|
+
},
|
|
3673
|
+
{
|
|
3674
|
+
if: { decrease: true },
|
|
3675
|
+
tokens: {
|
|
3676
|
+
borderBottomLeftRadius: 4,
|
|
3677
|
+
borderRightWidth: 0,
|
|
3678
|
+
borderTopLeftRadius: 4,
|
|
3679
|
+
icon: PaletteIconSubtract
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
if: { increase: true },
|
|
3684
|
+
tokens: {
|
|
3685
|
+
borderBottomRightRadius: 4,
|
|
3686
|
+
borderLeftWidth: 0,
|
|
3687
|
+
borderTopRightRadius: 4,
|
|
3688
|
+
icon: PaletteIconAdd
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
if: { focus: true, increase: true },
|
|
3693
|
+
tokens: {
|
|
3694
|
+
borderBottomWidth: 3,
|
|
3695
|
+
borderLeftWidth: 2,
|
|
3696
|
+
borderRightWidth: 3,
|
|
3697
|
+
borderTopWidth: 3
|
|
3698
|
+
}
|
|
3699
|
+
},
|
|
3700
|
+
{
|
|
3701
|
+
if: { decrease: true, focus: true },
|
|
3702
|
+
tokens: {
|
|
3703
|
+
borderBottomWidth: 3,
|
|
3704
|
+
borderLeftWidth: 3,
|
|
3705
|
+
borderRightWidth: 2,
|
|
3706
|
+
borderTopWidth: 3
|
|
3707
|
+
}
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
if: { disabled: true },
|
|
3711
|
+
tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
if: { alternative: true },
|
|
3715
|
+
tokens: { paddingBottom: 12, paddingTop: 12 }
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
if: { alternative: true, increase: true },
|
|
3719
|
+
tokens: { borderBottomRightRadius: 24, borderTopRightRadius: 24 }
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
if: { alternative: true, decrease: true },
|
|
3723
|
+
tokens: { borderBottomLeftRadius: 24, borderTopLeftRadius: 24 }
|
|
3724
|
+
}
|
|
3725
|
+
],
|
|
3726
|
+
tokens: {
|
|
3727
|
+
backgroundColor: '#ffffff',
|
|
3728
|
+
borderBottomLeftRadius: 0,
|
|
3729
|
+
borderBottomRightRadius: 0,
|
|
3730
|
+
borderBottomWidth: 1,
|
|
3731
|
+
borderColor: '#666666',
|
|
3732
|
+
borderLeftWidth: 1,
|
|
3733
|
+
borderRadius: 0,
|
|
3734
|
+
borderRightWidth: 1,
|
|
3735
|
+
borderTopLeftRadius: 0,
|
|
3736
|
+
borderTopRightRadius: 0,
|
|
3737
|
+
borderTopWidth: 1,
|
|
3738
|
+
borderWidth: 1,
|
|
3739
|
+
icon: null,
|
|
3740
|
+
iconColor: '#000000',
|
|
3741
|
+
iconSize: 16,
|
|
3512
3742
|
padding: 16,
|
|
3513
|
-
|
|
3514
|
-
|
|
3743
|
+
paddingBottom: 16,
|
|
3744
|
+
paddingLeft: 16,
|
|
3745
|
+
paddingRight: 16,
|
|
3746
|
+
paddingTop: 16
|
|
3515
3747
|
}
|
|
3516
3748
|
},
|
|
3517
3749
|
QuickLinks: {
|
|
@@ -4368,7 +4600,7 @@ module.exports = {
|
|
|
4368
4600
|
expanded: {
|
|
4369
4601
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
4370
4602
|
type: 'state',
|
|
4371
|
-
values: [ true ]
|
|
4603
|
+
values: [ true, false ]
|
|
4372
4604
|
},
|
|
4373
4605
|
focus: {
|
|
4374
4606
|
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.",
|
|
@@ -4464,7 +4696,7 @@ module.exports = {
|
|
|
4464
4696
|
expanded: {
|
|
4465
4697
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
4466
4698
|
type: 'state',
|
|
4467
|
-
values: [ true ]
|
|
4699
|
+
values: [ true, false ]
|
|
4468
4700
|
}
|
|
4469
4701
|
},
|
|
4470
4702
|
rules: [
|
|
@@ -4635,11 +4867,11 @@ module.exports = {
|
|
|
4635
4867
|
completedIconColor: '#666666',
|
|
4636
4868
|
connectorColor: '#ffffff',
|
|
4637
4869
|
connectorCompletedColor: '#ffffff',
|
|
4638
|
-
knobBackgroundColor: '
|
|
4870
|
+
knobBackgroundColor: 'transparent',
|
|
4639
4871
|
knobBorderColor: '#ffffff',
|
|
4640
4872
|
knobCompletedBackgroundColor: '#ffffff',
|
|
4641
|
-
knobCompletedBorderColor: '
|
|
4642
|
-
knobCurrentBackgroundColor: '
|
|
4873
|
+
knobCompletedBorderColor: 'transparent',
|
|
4874
|
+
knobCurrentBackgroundColor: 'transparent',
|
|
4643
4875
|
knobCurrentBorderColor: '#ffffff',
|
|
4644
4876
|
knobCurrentInnerColor: '#ffffff',
|
|
4645
4877
|
labelColor: '#ffffff',
|
|
@@ -5206,7 +5438,7 @@ module.exports = {
|
|
|
5206
5438
|
expanded: {
|
|
5207
5439
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
5208
5440
|
type: 'state',
|
|
5209
|
-
values: [ true ]
|
|
5441
|
+
values: [ true, false ]
|
|
5210
5442
|
},
|
|
5211
5443
|
viewport: {
|
|
5212
5444
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -5277,18 +5509,51 @@ module.exports = {
|
|
|
5277
5509
|
}
|
|
5278
5510
|
},
|
|
5279
5511
|
Testimonial: {
|
|
5280
|
-
appearances: {
|
|
5281
|
-
|
|
5512
|
+
appearances: {
|
|
5513
|
+
viewport: {
|
|
5514
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5515
|
+
type: 'state',
|
|
5516
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5517
|
+
}
|
|
5518
|
+
},
|
|
5519
|
+
rules: [
|
|
5520
|
+
{
|
|
5521
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
5522
|
+
tokens: {
|
|
5523
|
+
testimonialFontNameHeading: 'StagSans',
|
|
5524
|
+
testimonialFontSizeHeading: 32,
|
|
5525
|
+
testimonialFontWeightHeading: '700',
|
|
5526
|
+
testimonialLineHeightHeading: 1.25
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
],
|
|
5282
5530
|
tokens: {
|
|
5283
|
-
|
|
5531
|
+
additionalFontName: 'StagSans',
|
|
5532
|
+
additionalFontSize: 14,
|
|
5533
|
+
additionalFontWeight: '400',
|
|
5534
|
+
additionalLineHeight: 1.42857142857,
|
|
5535
|
+
authorFontName: 'StagSans',
|
|
5536
|
+
authorFontSize: 16,
|
|
5537
|
+
authorFontWeight: '600',
|
|
5538
|
+
authorLineHeight: 1.5,
|
|
5539
|
+
dividerBackgroundColor: '#c9c8c8',
|
|
5284
5540
|
dividerBorder: 1,
|
|
5285
5541
|
figcaptionGap: 12,
|
|
5286
|
-
icon:
|
|
5287
|
-
iconColor: '#
|
|
5542
|
+
icon: PaletteIconQuoteLeft,
|
|
5543
|
+
iconColor: '#c9c8c8',
|
|
5544
|
+
iconFr: PaletteIconQuoteRightArrow,
|
|
5288
5545
|
imageSize: 48,
|
|
5289
5546
|
quoteContainerGap: 4,
|
|
5290
5547
|
testimonialContainerGap: 12,
|
|
5291
|
-
|
|
5548
|
+
testimonialFontNameHeading: 'StagSans',
|
|
5549
|
+
testimonialFontNameLarge: 'StagSans',
|
|
5550
|
+
testimonialFontSizeHeading: 24,
|
|
5551
|
+
testimonialFontSizeLarge: 20,
|
|
5552
|
+
testimonialFontWeightHeading: '700',
|
|
5553
|
+
testimonialFontWeightLarge: '400',
|
|
5554
|
+
testimonialLineHeightHeading: 1.33333333333,
|
|
5555
|
+
testimonialLineHeightLarge: 1.4,
|
|
5556
|
+
textColor: '#000000'
|
|
5292
5557
|
}
|
|
5293
5558
|
},
|
|
5294
5559
|
TextArea: {
|
|
@@ -5473,7 +5738,8 @@ module.exports = {
|
|
|
5473
5738
|
chevronlinkFontName: 'StagSans',
|
|
5474
5739
|
chevronlinkFontWeight: '400',
|
|
5475
5740
|
containerBackgroundColor: '#016b6a',
|
|
5476
|
-
containerGap: 12
|
|
5741
|
+
containerGap: 12,
|
|
5742
|
+
padding: 16
|
|
5477
5743
|
}
|
|
5478
5744
|
},
|
|
5479
5745
|
ToggleSwitch: {
|
|
@@ -5641,16 +5907,16 @@ module.exports = {
|
|
|
5641
5907
|
rules: [
|
|
5642
5908
|
{
|
|
5643
5909
|
if: { inverse: true },
|
|
5644
|
-
tokens: { backgroundColor: '#ffffff', color: '#
|
|
5910
|
+
tokens: { backgroundColor: '#ffffff', color: '#000000' }
|
|
5645
5911
|
}
|
|
5646
5912
|
],
|
|
5647
5913
|
tokens: {
|
|
5648
5914
|
arrowBorderRadius: 0,
|
|
5649
5915
|
arrowOffset: 4,
|
|
5650
5916
|
arrowWidth: 8,
|
|
5651
|
-
backgroundColor: '#
|
|
5917
|
+
backgroundColor: '#c3efff',
|
|
5652
5918
|
borderRadius: 4,
|
|
5653
|
-
color: '#
|
|
5919
|
+
color: '#000000',
|
|
5654
5920
|
fontName: 'StagSans',
|
|
5655
5921
|
fontSize: 14,
|
|
5656
5922
|
fontWeight: '400',
|
|
@@ -5683,6 +5949,7 @@ module.exports = {
|
|
|
5683
5949
|
type: 'state',
|
|
5684
5950
|
values: [ true, false ]
|
|
5685
5951
|
},
|
|
5952
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
5686
5953
|
pressed: {
|
|
5687
5954
|
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.',
|
|
5688
5955
|
type: 'state',
|
|
@@ -5690,17 +5957,40 @@ module.exports = {
|
|
|
5690
5957
|
}
|
|
5691
5958
|
},
|
|
5692
5959
|
rules: [
|
|
5693
|
-
{ if: { hover: true }, tokens: { iconScale: 1.25 } },
|
|
5694
|
-
{ if: { pressed: true }, tokens: { iconColor: '#1b4746' } },
|
|
5695
5960
|
{
|
|
5696
|
-
if: {
|
|
5697
|
-
tokens: {
|
|
5961
|
+
if: { hover: true },
|
|
5962
|
+
tokens: { backgroundColor: '#c3efff', iconScale: 1.25 }
|
|
5963
|
+
},
|
|
5964
|
+
{
|
|
5965
|
+
if: { inverse: true },
|
|
5966
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
|
|
5967
|
+
},
|
|
5968
|
+
{
|
|
5969
|
+
if: { hover: true, inverse: true },
|
|
5970
|
+
tokens: { backgroundColor: '#c9c8c8', iconColor: '#ffffff' }
|
|
5971
|
+
},
|
|
5972
|
+
{
|
|
5973
|
+
if: { inverse: true, pressed: true },
|
|
5974
|
+
tokens: { backgroundColor: '#ffffff', iconColor: '#c9c8c8' }
|
|
5975
|
+
},
|
|
5976
|
+
{
|
|
5977
|
+
if: { inverse: null, pressed: true },
|
|
5978
|
+
tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
|
|
5979
|
+
},
|
|
5980
|
+
{
|
|
5981
|
+
if: { focus: true, inverse: true },
|
|
5982
|
+
tokens: { outerBorderColor: '#ffffff' }
|
|
5983
|
+
},
|
|
5984
|
+
{
|
|
5985
|
+
if: { focus: true, inverse: null },
|
|
5986
|
+
tokens: { outerBorderColor: '#17367d' }
|
|
5698
5987
|
}
|
|
5699
5988
|
],
|
|
5700
5989
|
tokens: {
|
|
5990
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5701
5991
|
borderRadius: 32,
|
|
5702
|
-
icon:
|
|
5703
|
-
iconColor: '#
|
|
5992
|
+
icon: PaletteIconTooltip,
|
|
5993
|
+
iconColor: '#016b6a',
|
|
5704
5994
|
iconScale: 1,
|
|
5705
5995
|
iconSize: 16,
|
|
5706
5996
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -6196,5 +6486,5 @@ module.exports = {
|
|
|
6196
6486
|
tokens: { size: 96 }
|
|
6197
6487
|
}
|
|
6198
6488
|
},
|
|
6199
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
6489
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.39.0' }
|
|
6200
6490
|
}
|