@telus-uds/theme-koodo 4.2.0 → 4.4.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 +880 -618
- package/build/android/theme.json +446 -216
- package/build/ios/schema.json +880 -618
- package/build/ios/theme.json +446 -216
- package/build/rn/schema.json +880 -618
- package/build/rn/theme.js +340 -133
- package/package.json +4 -4
- package/theme.json +360 -137
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, 16 Jun 2023 21:03:48 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -21,7 +21,6 @@ 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 PaletteIconCheckCircledNotFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledNotFilled')
|
|
25
24
|
const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
|
|
26
25
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
27
26
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
@@ -677,6 +676,10 @@ module.exports = {
|
|
|
677
676
|
if: { open: true },
|
|
678
677
|
tokens: { icon: PaletteIconChevronUp }
|
|
679
678
|
},
|
|
679
|
+
{
|
|
680
|
+
if: { focus: true },
|
|
681
|
+
tokens: { outerBorderColor: '#016b6a' }
|
|
682
|
+
},
|
|
680
683
|
{
|
|
681
684
|
if: { pressed: true },
|
|
682
685
|
tokens: {
|
|
@@ -685,10 +688,6 @@ module.exports = {
|
|
|
685
688
|
color: '#ffffff'
|
|
686
689
|
}
|
|
687
690
|
},
|
|
688
|
-
{
|
|
689
|
-
if: { focus: true },
|
|
690
|
-
tokens: { outerBorderColor: '#016b6a' }
|
|
691
|
-
},
|
|
692
691
|
{
|
|
693
692
|
if: { hover: true },
|
|
694
693
|
tokens: {
|
|
@@ -701,10 +700,10 @@ module.exports = {
|
|
|
701
700
|
{
|
|
702
701
|
if: { inactive: true },
|
|
703
702
|
tokens: {
|
|
704
|
-
backgroundColor: '#
|
|
705
|
-
|
|
706
|
-
color: '#
|
|
707
|
-
iconColor: '#
|
|
703
|
+
backgroundColor: '#efefef',
|
|
704
|
+
borderColor: '#efefef',
|
|
705
|
+
color: '#c9c8c8',
|
|
706
|
+
iconColor: '#c9c8c8'
|
|
708
707
|
}
|
|
709
708
|
},
|
|
710
709
|
{
|
|
@@ -742,14 +741,6 @@ module.exports = {
|
|
|
742
741
|
{
|
|
743
742
|
if: { focus: true, pressed: true, selected: true },
|
|
744
743
|
tokens: { backgroundColor: '#1b4746', outerBorderColor: '#1b4746' }
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
if: { inactive: true },
|
|
748
|
-
tokens: {
|
|
749
|
-
backgroundColor: '#efefef',
|
|
750
|
-
color: '#c9c8c8',
|
|
751
|
-
iconColor: '#c9c8c8'
|
|
752
|
-
}
|
|
753
744
|
}
|
|
754
745
|
],
|
|
755
746
|
tokens: {
|
|
@@ -944,6 +935,12 @@ module.exports = {
|
|
|
944
935
|
description: 'Defines background related attributes of Card',
|
|
945
936
|
type: 'variant',
|
|
946
937
|
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
938
|
+
},
|
|
939
|
+
padding: { type: 'variant', values: [ 'custom' ] },
|
|
940
|
+
viewport: {
|
|
941
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
942
|
+
type: 'state',
|
|
943
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
947
944
|
}
|
|
948
945
|
},
|
|
949
946
|
rules: [
|
|
@@ -962,6 +959,24 @@ module.exports = {
|
|
|
962
959
|
{
|
|
963
960
|
if: { background: 'feature' },
|
|
964
961
|
tokens: { backgroundColor: '#f9f6a5' }
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
965
|
+
tokens: {
|
|
966
|
+
paddingBottom: 48,
|
|
967
|
+
paddingLeft: 32,
|
|
968
|
+
paddingRight: 32,
|
|
969
|
+
paddingTop: 48
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
if: { padding: 'custom' },
|
|
974
|
+
tokens: {
|
|
975
|
+
paddingBottom: 0,
|
|
976
|
+
paddingLeft: 0,
|
|
977
|
+
paddingRight: 0,
|
|
978
|
+
paddingTop: 0
|
|
979
|
+
}
|
|
965
980
|
}
|
|
966
981
|
],
|
|
967
982
|
tokens: {
|
|
@@ -975,10 +990,10 @@ module.exports = {
|
|
|
975
990
|
contentJustifyContent: 'flex-start',
|
|
976
991
|
flex: 1,
|
|
977
992
|
minWidth: null,
|
|
978
|
-
paddingBottom:
|
|
979
|
-
paddingLeft:
|
|
980
|
-
paddingRight:
|
|
981
|
-
paddingTop:
|
|
993
|
+
paddingBottom: 32,
|
|
994
|
+
paddingLeft: 24,
|
|
995
|
+
paddingRight: 24,
|
|
996
|
+
paddingTop: 32,
|
|
982
997
|
shadow: null
|
|
983
998
|
}
|
|
984
999
|
},
|
|
@@ -1233,7 +1248,7 @@ module.exports = {
|
|
|
1233
1248
|
if: { focus: true, pressed: true },
|
|
1234
1249
|
tokens: { color: '#1b4746', outerBorderColor: '#1b4746' }
|
|
1235
1250
|
},
|
|
1236
|
-
{ if: { alternative: true }, tokens: { color: '#
|
|
1251
|
+
{ if: { alternative: true }, tokens: { color: '#000000' } },
|
|
1237
1252
|
{
|
|
1238
1253
|
if: { alternative: true, hover: true },
|
|
1239
1254
|
tokens: { color: '#5c5c5c' }
|
|
@@ -1244,11 +1259,11 @@ module.exports = {
|
|
|
1244
1259
|
},
|
|
1245
1260
|
{
|
|
1246
1261
|
if: { alternative: true, focus: true },
|
|
1247
|
-
tokens: { color: '#
|
|
1262
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
1248
1263
|
},
|
|
1249
1264
|
{
|
|
1250
1265
|
if: { alternative: true, focus: true, pressed: true },
|
|
1251
|
-
tokens: { color: '#
|
|
1266
|
+
tokens: { color: '#505050', outerBorderColor: '#505050' }
|
|
1252
1267
|
},
|
|
1253
1268
|
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
1254
1269
|
{
|
|
@@ -1284,7 +1299,7 @@ module.exports = {
|
|
|
1284
1299
|
color: '#016b6a',
|
|
1285
1300
|
fontSize: 16,
|
|
1286
1301
|
iconDisplace: 0,
|
|
1287
|
-
iconSize:
|
|
1302
|
+
iconSize: 24,
|
|
1288
1303
|
iconSpace: 1,
|
|
1289
1304
|
leftIcon: PaletteIconChevronLeft,
|
|
1290
1305
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -1315,37 +1330,49 @@ module.exports = {
|
|
|
1315
1330
|
textLineHeight: 1.14285714286
|
|
1316
1331
|
}
|
|
1317
1332
|
},
|
|
1318
|
-
{
|
|
1319
|
-
if: { large: true, viewport: [ 'xs' ] },
|
|
1320
|
-
tokens: { textFontSize: 28 }
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
if: { feature: true, viewport: [ 'xs' ] },
|
|
1324
|
-
tokens: { textFontSize: 28 }
|
|
1325
|
-
},
|
|
1326
1333
|
{
|
|
1327
1334
|
if: { feature: true },
|
|
1328
1335
|
tokens: {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1336
|
+
containerBorderColor: '#016b6a',
|
|
1337
|
+
labelBorderColor: '#016b6a',
|
|
1338
|
+
textFontSize: 70,
|
|
1339
|
+
textLineHeight: 1.2,
|
|
1332
1340
|
textTimerFontName: 'StagSans',
|
|
1333
|
-
textTimerFontWeight: '
|
|
1341
|
+
textTimerFontWeight: '700'
|
|
1334
1342
|
}
|
|
1335
1343
|
},
|
|
1336
1344
|
{
|
|
1337
1345
|
if: { large: true },
|
|
1338
1346
|
tokens: {
|
|
1339
|
-
|
|
1340
|
-
|
|
1347
|
+
labelFontName: 'StagSans',
|
|
1348
|
+
labelFontSize: 16,
|
|
1349
|
+
labelFontWeight: '400',
|
|
1350
|
+
textFontSize: 70,
|
|
1351
|
+
textLineHeight: 1.2,
|
|
1341
1352
|
textTimerFontName: 'StagSans',
|
|
1342
|
-
textTimerFontWeight: '
|
|
1353
|
+
textTimerFontWeight: '700'
|
|
1343
1354
|
}
|
|
1344
1355
|
},
|
|
1345
|
-
{
|
|
1356
|
+
{
|
|
1357
|
+
if: { large: true, viewport: [ 'xs' ] },
|
|
1358
|
+
tokens: { textFontSize: 44 }
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
if: { feature: true, viewport: [ 'xs' ] },
|
|
1362
|
+
tokens: { textFontSize: 44 }
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
if: { inverse: true },
|
|
1366
|
+
tokens: {
|
|
1367
|
+
containerBorderColor: '#ffffff',
|
|
1368
|
+
labelBorderColor: '#ffffff'
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1346
1371
|
],
|
|
1347
1372
|
tokens: {
|
|
1373
|
+
containerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1348
1374
|
containerBorderRadius: 6,
|
|
1375
|
+
containerBorderWidth: 2,
|
|
1349
1376
|
containerGradient: null,
|
|
1350
1377
|
containerInverseBorder: 2,
|
|
1351
1378
|
containerInverseBorderColor: '#ffffff',
|
|
@@ -1353,7 +1380,9 @@ module.exports = {
|
|
|
1353
1380
|
containerPaddingLeftRight: 64,
|
|
1354
1381
|
inverseBorderColor: null,
|
|
1355
1382
|
labelBorderColor: null,
|
|
1383
|
+
labelFontName: 'StagSans',
|
|
1356
1384
|
labelFontSize: 16,
|
|
1385
|
+
labelFontWeight: '400',
|
|
1357
1386
|
labelLineHeight: 1.5,
|
|
1358
1387
|
textFontSize: 16,
|
|
1359
1388
|
textLineHeight: 1.14285714286,
|
|
@@ -1390,12 +1419,6 @@ module.exports = {
|
|
|
1390
1419
|
calendarMonthCaptionFontWeight: '700',
|
|
1391
1420
|
calendarMonthCaptionLineHeight: 1.2,
|
|
1392
1421
|
calendarMonthCaptionPaddingBottom: 48,
|
|
1393
|
-
dateInputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1394
|
-
dateInputBorderRadius: 4,
|
|
1395
|
-
dateInputFocusBorderColor: '#016b6a',
|
|
1396
|
-
dateInputHoverBorderColor: '#c9c8c8',
|
|
1397
|
-
dateInputInsideBorderColor: '#666666',
|
|
1398
|
-
dateInputInsideColor: null,
|
|
1399
1422
|
dateInputStrokeColor: '#666666',
|
|
1400
1423
|
dayPickerNavigationButtonPadding: 12,
|
|
1401
1424
|
dayPickerWeekHeaderColor: '#000000',
|
|
@@ -1656,22 +1679,23 @@ module.exports = {
|
|
|
1656
1679
|
appearances: {},
|
|
1657
1680
|
rules: [],
|
|
1658
1681
|
tokens: {
|
|
1682
|
+
closeButtonBackgroundColor: '#ffffff',
|
|
1659
1683
|
closeButtonBorderColor: '#000000',
|
|
1660
1684
|
closeButtonBorderSize: 0,
|
|
1661
|
-
closeButtonHeight:
|
|
1685
|
+
closeButtonHeight: 16,
|
|
1662
1686
|
closeButtonIconSize: 16,
|
|
1663
1687
|
closeButtonMarginBottom: 4,
|
|
1664
1688
|
closeButtonMarginLeft: 4,
|
|
1665
1689
|
closeButtonMarginRight: 12,
|
|
1666
1690
|
closeButtonMarginTop: 4,
|
|
1667
|
-
closeButtonWidth:
|
|
1691
|
+
closeButtonWidth: 16,
|
|
1668
1692
|
closeIcon: PaletteIconClose,
|
|
1669
1693
|
footnoteBackground: '#ffffff',
|
|
1670
1694
|
footnoteBodyBackground: '#ffffff',
|
|
1671
1695
|
footnoteBodyPaddingBottom: 32,
|
|
1672
1696
|
footnoteBodyPaddingLeft: 16,
|
|
1673
1697
|
footnoteBodyPaddingRight: 16,
|
|
1674
|
-
footnoteBodyPaddingTop:
|
|
1698
|
+
footnoteBodyPaddingTop: 0,
|
|
1675
1699
|
footnoteBorderColorMd: '#c9c8c8',
|
|
1676
1700
|
footnoteBorderTopSizeMd: 1,
|
|
1677
1701
|
footnoteHeaderPaddingBottom: 16,
|
|
@@ -1681,13 +1705,13 @@ module.exports = {
|
|
|
1681
1705
|
headerFontName: 'StagSans',
|
|
1682
1706
|
headerFontSize: 16,
|
|
1683
1707
|
headerFontWeight: '700',
|
|
1684
|
-
headerLineHeight:
|
|
1708
|
+
headerLineHeight: 1.25,
|
|
1685
1709
|
headerMargin: 16,
|
|
1686
1710
|
listItemColor: '#000000',
|
|
1687
1711
|
listItemFontSize: 14,
|
|
1688
|
-
listItemLineHeight: 1.
|
|
1712
|
+
listItemLineHeight: 1.45,
|
|
1689
1713
|
listItemMarkerFontSize: 14,
|
|
1690
|
-
listItemMarkerLineHeight: 1.
|
|
1714
|
+
listItemMarkerLineHeight: 1.45,
|
|
1691
1715
|
listItemPaddingLeft: 8,
|
|
1692
1716
|
listPaddingLeft: 32
|
|
1693
1717
|
}
|
|
@@ -2171,14 +2195,10 @@ module.exports = {
|
|
|
2171
2195
|
if: { pressed: true },
|
|
2172
2196
|
tokens: { color: '#595959', textLine: 'none' }
|
|
2173
2197
|
},
|
|
2174
|
-
{ if: { alternative: true }, tokens: { color: '#
|
|
2198
|
+
{ if: { alternative: true }, tokens: { color: '#000000' } },
|
|
2175
2199
|
{
|
|
2176
2200
|
if: { alternative: true, focus: true },
|
|
2177
|
-
tokens: { color: '#
|
|
2178
|
-
},
|
|
2179
|
-
{
|
|
2180
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
2181
|
-
tokens: { color: '#595959', outerBorderColor: '#595959' }
|
|
2201
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
2182
2202
|
},
|
|
2183
2203
|
{
|
|
2184
2204
|
if: { alternative: true, hover: true },
|
|
@@ -2186,7 +2206,11 @@ module.exports = {
|
|
|
2186
2206
|
},
|
|
2187
2207
|
{
|
|
2188
2208
|
if: { alternative: true, pressed: true },
|
|
2189
|
-
tokens: { color: '#
|
|
2209
|
+
tokens: { color: '#505050' }
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
if: { alternative: true, focus: true, pressed: true },
|
|
2213
|
+
tokens: { color: '#505050', outerBorderColor: '#505050' }
|
|
2190
2214
|
},
|
|
2191
2215
|
{ if: { inverse: true }, tokens: { color: '#e5f7fb' } },
|
|
2192
2216
|
{
|
|
@@ -2233,7 +2257,7 @@ module.exports = {
|
|
|
2233
2257
|
blockFontName: 'StagSans',
|
|
2234
2258
|
blockFontSize: 16,
|
|
2235
2259
|
blockFontWeight: '600',
|
|
2236
|
-
blockLineHeight: 1.
|
|
2260
|
+
blockLineHeight: 1.5,
|
|
2237
2261
|
borderRadius: 4,
|
|
2238
2262
|
color: '#016b6a',
|
|
2239
2263
|
icon: null,
|
|
@@ -2498,6 +2522,59 @@ module.exports = {
|
|
|
2498
2522
|
subHeadingMarginTop: 8
|
|
2499
2523
|
}
|
|
2500
2524
|
},
|
|
2525
|
+
MultiSelectFilter: {
|
|
2526
|
+
appearances: {
|
|
2527
|
+
maxHeight: {
|
|
2528
|
+
description: 'Whether MultiselectFilter modal should expand responsively to content or a set maximu height',
|
|
2529
|
+
type: 'state',
|
|
2530
|
+
values: [ true ]
|
|
2531
|
+
},
|
|
2532
|
+
maxWidth: {
|
|
2533
|
+
description: 'Whether MultiselectFilter modal should expand to content or a set maximuh width',
|
|
2534
|
+
type: 'state',
|
|
2535
|
+
values: [ true ]
|
|
2536
|
+
},
|
|
2537
|
+
viewport: {
|
|
2538
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2539
|
+
type: 'state',
|
|
2540
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
rules: [
|
|
2544
|
+
{
|
|
2545
|
+
if: { viewport: [ 'xs' ] },
|
|
2546
|
+
tokens: {
|
|
2547
|
+
buttonDirection: 'column',
|
|
2548
|
+
minHeight: '100%',
|
|
2549
|
+
minWidth: '100%'
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
if: { maxHeight: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
2554
|
+
tokens: { maxHeightSize: 480 }
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
if: { maxWidth: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
2558
|
+
tokens: { maxWidthSize: 544 }
|
|
2559
|
+
}
|
|
2560
|
+
],
|
|
2561
|
+
tokens: {
|
|
2562
|
+
buttonDirection: 'row',
|
|
2563
|
+
headerFontColor: '#000000',
|
|
2564
|
+
headerFontName: 'StagSans',
|
|
2565
|
+
headerFontSize: 24,
|
|
2566
|
+
headerFontWeight: '700',
|
|
2567
|
+
headerLineHeight: 1.33333333333,
|
|
2568
|
+
maxHeightSize: 0,
|
|
2569
|
+
maxWidthSize: 0,
|
|
2570
|
+
minHeight: 412,
|
|
2571
|
+
minWidth: 320,
|
|
2572
|
+
subHeaderFontName: 'StagSans',
|
|
2573
|
+
subHeaderFontSize: 16,
|
|
2574
|
+
subHeaderFontWeight: '400',
|
|
2575
|
+
subHeaderLineHeight: 1.5
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2501
2578
|
NavigationBar: {
|
|
2502
2579
|
appearances: {
|
|
2503
2580
|
expanded: {
|
|
@@ -2985,14 +3062,28 @@ module.exports = {
|
|
|
2985
3062
|
values: [ true ]
|
|
2986
3063
|
}
|
|
2987
3064
|
},
|
|
2988
|
-
rules: [
|
|
3065
|
+
rules: [
|
|
3066
|
+
{ if: { hover: true }, tokens: { borderWidth: 2 } },
|
|
3067
|
+
{
|
|
3068
|
+
if: { pressed: true },
|
|
3069
|
+
tokens: { backgroundColor: '#e6e6e6' }
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
if: { focus: true },
|
|
3073
|
+
tokens: {
|
|
3074
|
+
outerBorderColor: '#016b6a',
|
|
3075
|
+
outerBorderGap: 2,
|
|
3076
|
+
outerBorderWidth: 2
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
],
|
|
2989
3080
|
tokens: {
|
|
2990
3081
|
backgroundColor: '#ffffff',
|
|
2991
|
-
borderColor: '#
|
|
2992
|
-
borderRadius:
|
|
3082
|
+
borderColor: '#c9c8c8',
|
|
3083
|
+
borderRadius: 8,
|
|
2993
3084
|
borderWidth: 1,
|
|
2994
3085
|
flex: 1,
|
|
2995
|
-
outerBorderColor: '
|
|
3086
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2996
3087
|
outerBorderGap: 0,
|
|
2997
3088
|
outerBorderWidth: 0,
|
|
2998
3089
|
paddingBottom: 0,
|
|
@@ -3270,12 +3361,23 @@ module.exports = {
|
|
|
3270
3361
|
},
|
|
3271
3362
|
QuickLinksFeatureItem: {
|
|
3272
3363
|
appearances: {
|
|
3364
|
+
focus: {
|
|
3365
|
+
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.",
|
|
3366
|
+
platforms: [ 'rn' ],
|
|
3367
|
+
type: 'state',
|
|
3368
|
+
values: [ true ]
|
|
3369
|
+
},
|
|
3273
3370
|
hover: {
|
|
3274
3371
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3275
3372
|
platforms: [ 'rn' ],
|
|
3276
3373
|
type: 'state',
|
|
3277
3374
|
values: [ true ]
|
|
3278
3375
|
},
|
|
3376
|
+
pressed: {
|
|
3377
|
+
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.',
|
|
3378
|
+
type: 'state',
|
|
3379
|
+
values: [ true ]
|
|
3380
|
+
},
|
|
3279
3381
|
viewport: {
|
|
3280
3382
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3281
3383
|
type: 'state',
|
|
@@ -3287,22 +3389,49 @@ module.exports = {
|
|
|
3287
3389
|
if: { viewport: 'xl' },
|
|
3288
3390
|
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
3289
3391
|
},
|
|
3290
|
-
{ if: { hover: true }, tokens: { imageDimension: 140 } },
|
|
3291
3392
|
{
|
|
3292
|
-
if: { hover: true
|
|
3293
|
-
tokens: {
|
|
3393
|
+
if: { hover: true },
|
|
3394
|
+
tokens: {
|
|
3395
|
+
color: '#1b4746',
|
|
3396
|
+
imageDimension: 140,
|
|
3397
|
+
textLine: 'underline'
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
if: { focus: true },
|
|
3402
|
+
tokens: { color: '#016b6a', outerBorderColor: '#1b4746' }
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
if: { pressed: true },
|
|
3406
|
+
tokens: {
|
|
3407
|
+
color: '#595959',
|
|
3408
|
+
outerBorderColor: '#595959',
|
|
3409
|
+
textLine: 'underline'
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
if: { focus: true, pressed: true },
|
|
3414
|
+
tokens: {
|
|
3415
|
+
color: '#595959',
|
|
3416
|
+
outerBorderColor: '#595959',
|
|
3417
|
+
textLine: 'underline'
|
|
3418
|
+
}
|
|
3294
3419
|
}
|
|
3295
3420
|
],
|
|
3296
3421
|
tokens: {
|
|
3297
3422
|
color: '#016b6a',
|
|
3298
3423
|
contentAlignItems: 'center',
|
|
3299
3424
|
contentDirection: 'column',
|
|
3300
|
-
contentMaxDimension:
|
|
3425
|
+
contentMaxDimension: 168,
|
|
3301
3426
|
contentSpace: 3,
|
|
3427
|
+
fontName: 'StagSans',
|
|
3428
|
+
fontSize: 16,
|
|
3429
|
+
fontWeight: '600',
|
|
3430
|
+
gap: 32,
|
|
3302
3431
|
imageDimension: 128,
|
|
3303
3432
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3304
3433
|
textAlign: 'center',
|
|
3305
|
-
textLine: '
|
|
3434
|
+
textLine: 'none'
|
|
3306
3435
|
}
|
|
3307
3436
|
},
|
|
3308
3437
|
QuickLinksList: {
|
|
@@ -4210,6 +4339,7 @@ module.exports = {
|
|
|
4210
4339
|
{
|
|
4211
4340
|
if: { inverse: true },
|
|
4212
4341
|
tokens: {
|
|
4342
|
+
completedIconColor: '#666666',
|
|
4213
4343
|
connectorColor: '#ffffff',
|
|
4214
4344
|
connectorCompletedColor: '#ffffff',
|
|
4215
4345
|
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -4230,7 +4360,7 @@ module.exports = {
|
|
|
4230
4360
|
completedIconSize: 10,
|
|
4231
4361
|
connectorColor: '#016b6a',
|
|
4232
4362
|
connectorCompletedColor: '#016b6a',
|
|
4233
|
-
connectorCompletedHeight:
|
|
4363
|
+
connectorCompletedHeight: 3,
|
|
4234
4364
|
connectorHeight: 1,
|
|
4235
4365
|
connectorMinWidth: 16,
|
|
4236
4366
|
containerPaddingBottom: null,
|
|
@@ -4242,7 +4372,7 @@ module.exports = {
|
|
|
4242
4372
|
knobBorderWidth: 1,
|
|
4243
4373
|
knobCompletedBackgroundColor: '#016b6a',
|
|
4244
4374
|
knobCompletedBorderColor: '#016b6a',
|
|
4245
|
-
knobCompletedPaddingLeft:
|
|
4375
|
+
knobCompletedPaddingLeft: 1,
|
|
4246
4376
|
knobCompletedPaddingTop: 2,
|
|
4247
4377
|
knobCurrentBackgroundColor: '#016b6a',
|
|
4248
4378
|
knobCurrentBorderColor: '#016b6a',
|
|
@@ -4255,11 +4385,11 @@ module.exports = {
|
|
|
4255
4385
|
labelColor: '#016b6a',
|
|
4256
4386
|
labelCurrentColor: '#016b6a',
|
|
4257
4387
|
labelCurrentFontName: 'StagSans',
|
|
4258
|
-
labelCurrentFontWeight: '
|
|
4388
|
+
labelCurrentFontWeight: '600',
|
|
4259
4389
|
labelDirection: 'row',
|
|
4260
4390
|
labelFontName: 'StagSans',
|
|
4261
4391
|
labelFontSize: 16,
|
|
4262
|
-
labelFontWeight: '
|
|
4392
|
+
labelFontWeight: '600',
|
|
4263
4393
|
labelGap: 4,
|
|
4264
4394
|
labelLineHeight: 1.5,
|
|
4265
4395
|
labelMarginTop: 10,
|
|
@@ -4267,7 +4397,13 @@ module.exports = {
|
|
|
4267
4397
|
labelPaddingRight: 16,
|
|
4268
4398
|
showStepLabel: false,
|
|
4269
4399
|
showStepName: true,
|
|
4270
|
-
showStepTrackerLabel: true
|
|
4400
|
+
showStepTrackerLabel: true,
|
|
4401
|
+
stepLabelColor: '#016b6a',
|
|
4402
|
+
stepLabelFontName: 'StagSans',
|
|
4403
|
+
stepLabelFontSize: 16,
|
|
4404
|
+
stepLabelFontWeight: '600',
|
|
4405
|
+
stepLabelLineHeight: 1.5,
|
|
4406
|
+
textStepTrackerLabel: 2
|
|
4271
4407
|
}
|
|
4272
4408
|
},
|
|
4273
4409
|
StoryCard: {
|
|
@@ -4307,8 +4443,8 @@ module.exports = {
|
|
|
4307
4443
|
],
|
|
4308
4444
|
tokens: {
|
|
4309
4445
|
backgroundColor: '#ffffff',
|
|
4310
|
-
borderColor: '#
|
|
4311
|
-
borderRadius:
|
|
4446
|
+
borderColor: '#c9c8c8',
|
|
4447
|
+
borderRadius: 8,
|
|
4312
4448
|
borderWidth: 1,
|
|
4313
4449
|
contentAlignItems: 'stretch',
|
|
4314
4450
|
contentFlexGrow: 0,
|
|
@@ -4501,15 +4637,21 @@ module.exports = {
|
|
|
4501
4637
|
}
|
|
4502
4638
|
},
|
|
4503
4639
|
Tags: {
|
|
4504
|
-
appearances: {
|
|
4505
|
-
|
|
4640
|
+
appearances: {
|
|
4641
|
+
viewport: {
|
|
4642
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4643
|
+
type: 'state',
|
|
4644
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4645
|
+
}
|
|
4646
|
+
},
|
|
4647
|
+
rules: [ { if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } } ],
|
|
4506
4648
|
tokens: {
|
|
4507
4649
|
alignItems: 'center',
|
|
4508
4650
|
direction: 'row',
|
|
4509
4651
|
flexGrow: 0,
|
|
4510
4652
|
flexShrink: 0,
|
|
4511
4653
|
justifyContent: 'flex-start',
|
|
4512
|
-
space:
|
|
4654
|
+
space: 1
|
|
4513
4655
|
}
|
|
4514
4656
|
},
|
|
4515
4657
|
TagsItem: {
|
|
@@ -4546,75 +4688,103 @@ module.exports = {
|
|
|
4546
4688
|
{
|
|
4547
4689
|
if: { pressed: true },
|
|
4548
4690
|
tokens: {
|
|
4549
|
-
backgroundColor: '#
|
|
4550
|
-
borderColor: '#
|
|
4551
|
-
|
|
4691
|
+
backgroundColor: '#1b4746',
|
|
4692
|
+
borderColor: '#1b4746',
|
|
4693
|
+
borderWidth: 0,
|
|
4694
|
+
color: '#ffffff',
|
|
4695
|
+
iconBackground: '#1b4746',
|
|
4696
|
+
iconColor: '#ffffff',
|
|
4697
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4698
|
+
outerBorderWidth: 0
|
|
4552
4699
|
}
|
|
4553
4700
|
},
|
|
4554
4701
|
{
|
|
4555
4702
|
if: { focus: true },
|
|
4556
|
-
tokens: {
|
|
4703
|
+
tokens: {
|
|
4704
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4705
|
+
borderColor: '#016b6a',
|
|
4706
|
+
color: '#016b6a',
|
|
4707
|
+
iconBackground: 'rgba(0, 0, 0, 0)',
|
|
4708
|
+
iconColor: '#016b6a',
|
|
4709
|
+
outerBorderColor: '#016b6a',
|
|
4710
|
+
outerBorderGap: 3,
|
|
4711
|
+
outerBorderWidth: 1
|
|
4712
|
+
}
|
|
4557
4713
|
},
|
|
4558
4714
|
{
|
|
4559
4715
|
if: { hover: true },
|
|
4560
|
-
tokens: {
|
|
4716
|
+
tokens: {
|
|
4717
|
+
backgroundColor: '#1b4746',
|
|
4718
|
+
borderColor: '#1b4746',
|
|
4719
|
+
borderWidth: 0,
|
|
4720
|
+
color: '#ffffff',
|
|
4721
|
+
iconBackground: '#1b4746',
|
|
4722
|
+
iconColor: '#ffffff'
|
|
4723
|
+
}
|
|
4561
4724
|
},
|
|
4562
4725
|
{
|
|
4563
4726
|
if: { selected: true },
|
|
4564
4727
|
tokens: {
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4728
|
+
backgroundColor: '#016b6a',
|
|
4729
|
+
borderColor: '#016b6a',
|
|
4730
|
+
color: '#ffffff',
|
|
4731
|
+
icon: PaletteIconClose,
|
|
4732
|
+
iconBackground: '#016b6a',
|
|
4733
|
+
iconColor: '#ffffff',
|
|
4734
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4735
|
+
outerBorderWidth: 0
|
|
4570
4736
|
}
|
|
4571
4737
|
},
|
|
4572
4738
|
{
|
|
4573
|
-
if: {
|
|
4574
|
-
tokens: {
|
|
4739
|
+
if: { hover: true, selected: true },
|
|
4740
|
+
tokens: { backgroundColor: '#1b4746', iconBackground: '#1b4746' }
|
|
4575
4741
|
},
|
|
4576
4742
|
{
|
|
4577
|
-
if: {
|
|
4743
|
+
if: { focus: true, selected: true },
|
|
4578
4744
|
tokens: {
|
|
4579
|
-
backgroundColor: '#
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
iconColor: '#666666'
|
|
4745
|
+
backgroundColor: '#016b6a',
|
|
4746
|
+
outerBorderColor: '#016b6a',
|
|
4747
|
+
outerBorderWidth: 1
|
|
4583
4748
|
}
|
|
4584
4749
|
},
|
|
4585
4750
|
{
|
|
4586
|
-
if: { selected: true },
|
|
4587
|
-
tokens: {
|
|
4588
|
-
opacity: 0.8,
|
|
4589
|
-
outerBorderColor: '#016b6a',
|
|
4590
|
-
outerBorderGap: 1,
|
|
4591
|
-
outerBorderWidth: 4
|
|
4592
|
-
}
|
|
4751
|
+
if: { focus: true, hover: true, selected: true },
|
|
4752
|
+
tokens: { iconBackground: '#016b6a' }
|
|
4593
4753
|
},
|
|
4594
4754
|
{
|
|
4595
|
-
if: { focus: true, selected: true },
|
|
4596
|
-
tokens: {
|
|
4755
|
+
if: { focus: true, pressed: true, selected: true },
|
|
4756
|
+
tokens: { backgroundColor: '#1b4746', iconBackground: '#1b4746' }
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
if: { inactive: true },
|
|
4760
|
+
tokens: {
|
|
4761
|
+
backgroundColor: '#efefef',
|
|
4762
|
+
borderWidth: 0,
|
|
4763
|
+
color: '#c9c8c8',
|
|
4764
|
+
iconBackground: '#efefef',
|
|
4765
|
+
iconColor: '#c9c8c8'
|
|
4766
|
+
}
|
|
4597
4767
|
}
|
|
4598
4768
|
],
|
|
4599
4769
|
tokens: {
|
|
4600
4770
|
alignSelf: 'center',
|
|
4601
|
-
backgroundColor: '#
|
|
4602
|
-
borderColor: '#
|
|
4771
|
+
backgroundColor: '#ffffff',
|
|
4772
|
+
borderColor: '#016b6a',
|
|
4603
4773
|
borderRadius: 4,
|
|
4604
|
-
borderWidth:
|
|
4605
|
-
color: '#
|
|
4774
|
+
borderWidth: 1,
|
|
4775
|
+
color: '#016b6a',
|
|
4606
4776
|
fontName: 'StagSans',
|
|
4607
|
-
fontSize:
|
|
4777
|
+
fontSize: 16,
|
|
4608
4778
|
fontWeight: '600',
|
|
4609
|
-
icon:
|
|
4779
|
+
icon: PaletteIconAdd,
|
|
4610
4780
|
iconAlignSelf: 'center',
|
|
4611
4781
|
iconBackground: '#ffffff',
|
|
4612
4782
|
iconBorderRadius: 32,
|
|
4613
4783
|
iconColor: '#016b6a',
|
|
4614
|
-
iconPadding:
|
|
4784
|
+
iconPadding: 2,
|
|
4615
4785
|
iconPosition: 'right',
|
|
4616
|
-
iconSize:
|
|
4617
|
-
iconSpace:
|
|
4786
|
+
iconSize: 16,
|
|
4787
|
+
iconSpace: 2,
|
|
4618
4788
|
iconTranslateX: 0,
|
|
4619
4789
|
iconTranslateY: 0,
|
|
4620
4790
|
lineHeight: 1.5,
|
|
@@ -4623,14 +4793,13 @@ module.exports = {
|
|
|
4623
4793
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4624
4794
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4625
4795
|
outerBorderGap: 2,
|
|
4626
|
-
outerBorderWidth:
|
|
4796
|
+
outerBorderWidth: 0,
|
|
4627
4797
|
paddingBottom: 8,
|
|
4628
|
-
paddingLeft:
|
|
4629
|
-
paddingRight:
|
|
4798
|
+
paddingLeft: 16,
|
|
4799
|
+
paddingRight: 8,
|
|
4630
4800
|
paddingTop: 8,
|
|
4631
4801
|
shadow: null,
|
|
4632
|
-
textAlign: 'center'
|
|
4633
|
-
width: null
|
|
4802
|
+
textAlign: 'center'
|
|
4634
4803
|
}
|
|
4635
4804
|
},
|
|
4636
4805
|
TermsAndConditions: {
|
|
@@ -4850,14 +5019,28 @@ module.exports = {
|
|
|
4850
5019
|
}
|
|
4851
5020
|
},
|
|
4852
5021
|
Toast: {
|
|
4853
|
-
appearances: {
|
|
4854
|
-
|
|
5022
|
+
appearances: {
|
|
5023
|
+
viewport: {
|
|
5024
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5025
|
+
type: 'state',
|
|
5026
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
5027
|
+
}
|
|
5028
|
+
},
|
|
5029
|
+
rules: [
|
|
5030
|
+
{
|
|
5031
|
+
if: { viewport: [ 'xs' ] },
|
|
5032
|
+
tokens: {
|
|
5033
|
+
animationPaddingBottomAfter: 8,
|
|
5034
|
+
animationPaddingTopAfter: 8
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5037
|
+
],
|
|
4855
5038
|
tokens: {
|
|
4856
|
-
animationBackgroundColorAfter: '#
|
|
4857
|
-
animationBackgroundColorBefore: '#
|
|
4858
|
-
animationColorAfter: '#
|
|
5039
|
+
animationBackgroundColorAfter: '#efefef',
|
|
5040
|
+
animationBackgroundColorBefore: '#016b6a',
|
|
5041
|
+
animationColorAfter: '#000000',
|
|
4859
5042
|
animationColorBefore: '#ffffff',
|
|
4860
|
-
animationDivColorAfter: '#
|
|
5043
|
+
animationDivColorAfter: '#016b6a',
|
|
4861
5044
|
animationDivColorBefore: '#ffffff',
|
|
4862
5045
|
animationHeightAfter: 24,
|
|
4863
5046
|
animationHeightBefore: 0,
|
|
@@ -4865,7 +5048,9 @@ module.exports = {
|
|
|
4865
5048
|
animationPaddingBottomBefore: 0,
|
|
4866
5049
|
animationPaddingTopAfter: 16,
|
|
4867
5050
|
animationPaddingTopBefore: 0,
|
|
4868
|
-
|
|
5051
|
+
chevronlinkFontName: 'StagSans',
|
|
5052
|
+
chevronlinkFontWeight: '400',
|
|
5053
|
+
containerBackgroundColor: '#016b6a',
|
|
4869
5054
|
containerGap: 12
|
|
4870
5055
|
}
|
|
4871
5056
|
},
|
|
@@ -5101,6 +5286,11 @@ module.exports = {
|
|
|
5101
5286
|
},
|
|
5102
5287
|
Typography: {
|
|
5103
5288
|
appearances: {
|
|
5289
|
+
bold: {
|
|
5290
|
+
description: 'Sets the font weight, to bold on some body text styles. Does not change accessibility properties.',
|
|
5291
|
+
type: 'variant',
|
|
5292
|
+
values: [ true ]
|
|
5293
|
+
},
|
|
5104
5294
|
colour: {
|
|
5105
5295
|
type: 'variant',
|
|
5106
5296
|
values: [
|
|
@@ -5128,10 +5318,11 @@ module.exports = {
|
|
|
5128
5318
|
values: [
|
|
5129
5319
|
'micro', 'small',
|
|
5130
5320
|
'medium', 'large',
|
|
5131
|
-
'
|
|
5132
|
-
'
|
|
5133
|
-
'
|
|
5134
|
-
'
|
|
5321
|
+
'eyebrow', 'h1',
|
|
5322
|
+
'h2', 'h3',
|
|
5323
|
+
'h4', 'h5',
|
|
5324
|
+
'h6', 'display1',
|
|
5325
|
+
'display2'
|
|
5135
5326
|
]
|
|
5136
5327
|
},
|
|
5137
5328
|
viewport: {
|
|
@@ -5154,10 +5345,26 @@ module.exports = {
|
|
|
5154
5345
|
if: { weight: 'bold' },
|
|
5155
5346
|
tokens: { fontName: 'StagSans', fontWeight: '700' }
|
|
5156
5347
|
},
|
|
5348
|
+
{
|
|
5349
|
+
description: 'Please only bold single words while using with headings',
|
|
5350
|
+
if: { bold: true },
|
|
5351
|
+
tokens: { fontName: 'StagSans', fontWeight: '600' }
|
|
5352
|
+
},
|
|
5157
5353
|
{
|
|
5158
5354
|
if: { size: 'large' },
|
|
5159
5355
|
tokens: { fontSize: 20, lineHeight: 1.4 }
|
|
5160
5356
|
},
|
|
5357
|
+
{
|
|
5358
|
+
if: { size: 'eyebrow' },
|
|
5359
|
+
tokens: {
|
|
5360
|
+
color: '#595959',
|
|
5361
|
+
fontName: 'StagSans',
|
|
5362
|
+
fontSize: 14,
|
|
5363
|
+
fontWeight: '600',
|
|
5364
|
+
lineHeight: 1.42857142857,
|
|
5365
|
+
textTransform: 'uppercase'
|
|
5366
|
+
}
|
|
5367
|
+
},
|
|
5161
5368
|
{
|
|
5162
5369
|
if: { compact: true, size: 'large' },
|
|
5163
5370
|
tokens: { lineHeight: 1.2 }
|
|
@@ -5499,5 +5706,5 @@ module.exports = {
|
|
|
5499
5706
|
tokens: { size: 96 }
|
|
5500
5707
|
}
|
|
5501
5708
|
},
|
|
5502
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5709
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.33.0' }
|
|
5503
5710
|
}
|