@telus-uds/theme-koodo 4.3.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 -576
- package/build/android/theme.json +372 -161
- package/build/ios/schema.json +880 -576
- package/build/ios/theme.json +372 -161
- package/build/rn/schema.json +880 -576
- package/build/rn/theme.js +284 -107
- package/package.json +4 -4
- package/theme.json +297 -109
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, 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: {
|
|
@@ -1308,7 +1299,7 @@ module.exports = {
|
|
|
1308
1299
|
color: '#016b6a',
|
|
1309
1300
|
fontSize: 16,
|
|
1310
1301
|
iconDisplace: 0,
|
|
1311
|
-
iconSize:
|
|
1302
|
+
iconSize: 24,
|
|
1312
1303
|
iconSpace: 1,
|
|
1313
1304
|
leftIcon: PaletteIconChevronLeft,
|
|
1314
1305
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -1339,37 +1330,49 @@ module.exports = {
|
|
|
1339
1330
|
textLineHeight: 1.14285714286
|
|
1340
1331
|
}
|
|
1341
1332
|
},
|
|
1342
|
-
{
|
|
1343
|
-
if: { large: true, viewport: [ 'xs' ] },
|
|
1344
|
-
tokens: { textFontSize: 28 }
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
if: { feature: true, viewport: [ 'xs' ] },
|
|
1348
|
-
tokens: { textFontSize: 28 }
|
|
1349
|
-
},
|
|
1350
1333
|
{
|
|
1351
1334
|
if: { feature: true },
|
|
1352
1335
|
tokens: {
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1336
|
+
containerBorderColor: '#016b6a',
|
|
1337
|
+
labelBorderColor: '#016b6a',
|
|
1338
|
+
textFontSize: 70,
|
|
1339
|
+
textLineHeight: 1.2,
|
|
1356
1340
|
textTimerFontName: 'StagSans',
|
|
1357
|
-
textTimerFontWeight: '
|
|
1341
|
+
textTimerFontWeight: '700'
|
|
1358
1342
|
}
|
|
1359
1343
|
},
|
|
1360
1344
|
{
|
|
1361
1345
|
if: { large: true },
|
|
1362
1346
|
tokens: {
|
|
1363
|
-
|
|
1364
|
-
|
|
1347
|
+
labelFontName: 'StagSans',
|
|
1348
|
+
labelFontSize: 16,
|
|
1349
|
+
labelFontWeight: '400',
|
|
1350
|
+
textFontSize: 70,
|
|
1351
|
+
textLineHeight: 1.2,
|
|
1365
1352
|
textTimerFontName: 'StagSans',
|
|
1366
|
-
textTimerFontWeight: '
|
|
1353
|
+
textTimerFontWeight: '700'
|
|
1367
1354
|
}
|
|
1368
1355
|
},
|
|
1369
|
-
{
|
|
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
|
+
}
|
|
1370
1371
|
],
|
|
1371
1372
|
tokens: {
|
|
1373
|
+
containerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1372
1374
|
containerBorderRadius: 6,
|
|
1375
|
+
containerBorderWidth: 2,
|
|
1373
1376
|
containerGradient: null,
|
|
1374
1377
|
containerInverseBorder: 2,
|
|
1375
1378
|
containerInverseBorderColor: '#ffffff',
|
|
@@ -1377,7 +1380,9 @@ module.exports = {
|
|
|
1377
1380
|
containerPaddingLeftRight: 64,
|
|
1378
1381
|
inverseBorderColor: null,
|
|
1379
1382
|
labelBorderColor: null,
|
|
1383
|
+
labelFontName: 'StagSans',
|
|
1380
1384
|
labelFontSize: 16,
|
|
1385
|
+
labelFontWeight: '400',
|
|
1381
1386
|
labelLineHeight: 1.5,
|
|
1382
1387
|
textFontSize: 16,
|
|
1383
1388
|
textLineHeight: 1.14285714286,
|
|
@@ -1674,22 +1679,23 @@ module.exports = {
|
|
|
1674
1679
|
appearances: {},
|
|
1675
1680
|
rules: [],
|
|
1676
1681
|
tokens: {
|
|
1682
|
+
closeButtonBackgroundColor: '#ffffff',
|
|
1677
1683
|
closeButtonBorderColor: '#000000',
|
|
1678
1684
|
closeButtonBorderSize: 0,
|
|
1679
|
-
closeButtonHeight:
|
|
1685
|
+
closeButtonHeight: 16,
|
|
1680
1686
|
closeButtonIconSize: 16,
|
|
1681
1687
|
closeButtonMarginBottom: 4,
|
|
1682
1688
|
closeButtonMarginLeft: 4,
|
|
1683
1689
|
closeButtonMarginRight: 12,
|
|
1684
1690
|
closeButtonMarginTop: 4,
|
|
1685
|
-
closeButtonWidth:
|
|
1691
|
+
closeButtonWidth: 16,
|
|
1686
1692
|
closeIcon: PaletteIconClose,
|
|
1687
1693
|
footnoteBackground: '#ffffff',
|
|
1688
1694
|
footnoteBodyBackground: '#ffffff',
|
|
1689
1695
|
footnoteBodyPaddingBottom: 32,
|
|
1690
1696
|
footnoteBodyPaddingLeft: 16,
|
|
1691
1697
|
footnoteBodyPaddingRight: 16,
|
|
1692
|
-
footnoteBodyPaddingTop:
|
|
1698
|
+
footnoteBodyPaddingTop: 0,
|
|
1693
1699
|
footnoteBorderColorMd: '#c9c8c8',
|
|
1694
1700
|
footnoteBorderTopSizeMd: 1,
|
|
1695
1701
|
footnoteHeaderPaddingBottom: 16,
|
|
@@ -1699,13 +1705,13 @@ module.exports = {
|
|
|
1699
1705
|
headerFontName: 'StagSans',
|
|
1700
1706
|
headerFontSize: 16,
|
|
1701
1707
|
headerFontWeight: '700',
|
|
1702
|
-
headerLineHeight:
|
|
1708
|
+
headerLineHeight: 1.25,
|
|
1703
1709
|
headerMargin: 16,
|
|
1704
1710
|
listItemColor: '#000000',
|
|
1705
1711
|
listItemFontSize: 14,
|
|
1706
|
-
listItemLineHeight: 1.
|
|
1712
|
+
listItemLineHeight: 1.45,
|
|
1707
1713
|
listItemMarkerFontSize: 14,
|
|
1708
|
-
listItemMarkerLineHeight: 1.
|
|
1714
|
+
listItemMarkerLineHeight: 1.45,
|
|
1709
1715
|
listItemPaddingLeft: 8,
|
|
1710
1716
|
listPaddingLeft: 32
|
|
1711
1717
|
}
|
|
@@ -2251,7 +2257,7 @@ module.exports = {
|
|
|
2251
2257
|
blockFontName: 'StagSans',
|
|
2252
2258
|
blockFontSize: 16,
|
|
2253
2259
|
blockFontWeight: '600',
|
|
2254
|
-
blockLineHeight: 1.
|
|
2260
|
+
blockLineHeight: 1.5,
|
|
2255
2261
|
borderRadius: 4,
|
|
2256
2262
|
color: '#016b6a',
|
|
2257
2263
|
icon: null,
|
|
@@ -2516,6 +2522,59 @@ module.exports = {
|
|
|
2516
2522
|
subHeadingMarginTop: 8
|
|
2517
2523
|
}
|
|
2518
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
|
+
},
|
|
2519
2578
|
NavigationBar: {
|
|
2520
2579
|
appearances: {
|
|
2521
2580
|
expanded: {
|
|
@@ -3003,14 +3062,28 @@ module.exports = {
|
|
|
3003
3062
|
values: [ true ]
|
|
3004
3063
|
}
|
|
3005
3064
|
},
|
|
3006
|
-
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
|
+
],
|
|
3007
3080
|
tokens: {
|
|
3008
3081
|
backgroundColor: '#ffffff',
|
|
3009
|
-
borderColor: '#
|
|
3010
|
-
borderRadius:
|
|
3082
|
+
borderColor: '#c9c8c8',
|
|
3083
|
+
borderRadius: 8,
|
|
3011
3084
|
borderWidth: 1,
|
|
3012
3085
|
flex: 1,
|
|
3013
|
-
outerBorderColor: '
|
|
3086
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3014
3087
|
outerBorderGap: 0,
|
|
3015
3088
|
outerBorderWidth: 0,
|
|
3016
3089
|
paddingBottom: 0,
|
|
@@ -3288,12 +3361,23 @@ module.exports = {
|
|
|
3288
3361
|
},
|
|
3289
3362
|
QuickLinksFeatureItem: {
|
|
3290
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
|
+
},
|
|
3291
3370
|
hover: {
|
|
3292
3371
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3293
3372
|
platforms: [ 'rn' ],
|
|
3294
3373
|
type: 'state',
|
|
3295
3374
|
values: [ true ]
|
|
3296
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
|
+
},
|
|
3297
3381
|
viewport: {
|
|
3298
3382
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3299
3383
|
type: 'state',
|
|
@@ -3305,22 +3389,49 @@ module.exports = {
|
|
|
3305
3389
|
if: { viewport: 'xl' },
|
|
3306
3390
|
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
3307
3391
|
},
|
|
3308
|
-
{ if: { hover: true }, tokens: { imageDimension: 140 } },
|
|
3309
3392
|
{
|
|
3310
|
-
if: { hover: true
|
|
3311
|
-
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
|
+
}
|
|
3312
3419
|
}
|
|
3313
3420
|
],
|
|
3314
3421
|
tokens: {
|
|
3315
3422
|
color: '#016b6a',
|
|
3316
3423
|
contentAlignItems: 'center',
|
|
3317
3424
|
contentDirection: 'column',
|
|
3318
|
-
contentMaxDimension:
|
|
3425
|
+
contentMaxDimension: 168,
|
|
3319
3426
|
contentSpace: 3,
|
|
3427
|
+
fontName: 'StagSans',
|
|
3428
|
+
fontSize: 16,
|
|
3429
|
+
fontWeight: '600',
|
|
3430
|
+
gap: 32,
|
|
3320
3431
|
imageDimension: 128,
|
|
3321
3432
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3322
3433
|
textAlign: 'center',
|
|
3323
|
-
textLine: '
|
|
3434
|
+
textLine: 'none'
|
|
3324
3435
|
}
|
|
3325
3436
|
},
|
|
3326
3437
|
QuickLinksList: {
|
|
@@ -4228,6 +4339,7 @@ module.exports = {
|
|
|
4228
4339
|
{
|
|
4229
4340
|
if: { inverse: true },
|
|
4230
4341
|
tokens: {
|
|
4342
|
+
completedIconColor: '#666666',
|
|
4231
4343
|
connectorColor: '#ffffff',
|
|
4232
4344
|
connectorCompletedColor: '#ffffff',
|
|
4233
4345
|
knobBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -4248,7 +4360,7 @@ module.exports = {
|
|
|
4248
4360
|
completedIconSize: 10,
|
|
4249
4361
|
connectorColor: '#016b6a',
|
|
4250
4362
|
connectorCompletedColor: '#016b6a',
|
|
4251
|
-
connectorCompletedHeight:
|
|
4363
|
+
connectorCompletedHeight: 3,
|
|
4252
4364
|
connectorHeight: 1,
|
|
4253
4365
|
connectorMinWidth: 16,
|
|
4254
4366
|
containerPaddingBottom: null,
|
|
@@ -4260,7 +4372,7 @@ module.exports = {
|
|
|
4260
4372
|
knobBorderWidth: 1,
|
|
4261
4373
|
knobCompletedBackgroundColor: '#016b6a',
|
|
4262
4374
|
knobCompletedBorderColor: '#016b6a',
|
|
4263
|
-
knobCompletedPaddingLeft:
|
|
4375
|
+
knobCompletedPaddingLeft: 1,
|
|
4264
4376
|
knobCompletedPaddingTop: 2,
|
|
4265
4377
|
knobCurrentBackgroundColor: '#016b6a',
|
|
4266
4378
|
knobCurrentBorderColor: '#016b6a',
|
|
@@ -4273,11 +4385,11 @@ module.exports = {
|
|
|
4273
4385
|
labelColor: '#016b6a',
|
|
4274
4386
|
labelCurrentColor: '#016b6a',
|
|
4275
4387
|
labelCurrentFontName: 'StagSans',
|
|
4276
|
-
labelCurrentFontWeight: '
|
|
4388
|
+
labelCurrentFontWeight: '600',
|
|
4277
4389
|
labelDirection: 'row',
|
|
4278
4390
|
labelFontName: 'StagSans',
|
|
4279
4391
|
labelFontSize: 16,
|
|
4280
|
-
labelFontWeight: '
|
|
4392
|
+
labelFontWeight: '600',
|
|
4281
4393
|
labelGap: 4,
|
|
4282
4394
|
labelLineHeight: 1.5,
|
|
4283
4395
|
labelMarginTop: 10,
|
|
@@ -4285,7 +4397,13 @@ module.exports = {
|
|
|
4285
4397
|
labelPaddingRight: 16,
|
|
4286
4398
|
showStepLabel: false,
|
|
4287
4399
|
showStepName: true,
|
|
4288
|
-
showStepTrackerLabel: true
|
|
4400
|
+
showStepTrackerLabel: true,
|
|
4401
|
+
stepLabelColor: '#016b6a',
|
|
4402
|
+
stepLabelFontName: 'StagSans',
|
|
4403
|
+
stepLabelFontSize: 16,
|
|
4404
|
+
stepLabelFontWeight: '600',
|
|
4405
|
+
stepLabelLineHeight: 1.5,
|
|
4406
|
+
textStepTrackerLabel: 2
|
|
4289
4407
|
}
|
|
4290
4408
|
},
|
|
4291
4409
|
StoryCard: {
|
|
@@ -4519,15 +4637,21 @@ module.exports = {
|
|
|
4519
4637
|
}
|
|
4520
4638
|
},
|
|
4521
4639
|
Tags: {
|
|
4522
|
-
appearances: {
|
|
4523
|
-
|
|
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 } } ],
|
|
4524
4648
|
tokens: {
|
|
4525
4649
|
alignItems: 'center',
|
|
4526
4650
|
direction: 'row',
|
|
4527
4651
|
flexGrow: 0,
|
|
4528
4652
|
flexShrink: 0,
|
|
4529
4653
|
justifyContent: 'flex-start',
|
|
4530
|
-
space:
|
|
4654
|
+
space: 1
|
|
4531
4655
|
}
|
|
4532
4656
|
},
|
|
4533
4657
|
TagsItem: {
|
|
@@ -4564,75 +4688,103 @@ module.exports = {
|
|
|
4564
4688
|
{
|
|
4565
4689
|
if: { pressed: true },
|
|
4566
4690
|
tokens: {
|
|
4567
|
-
backgroundColor: '#
|
|
4568
|
-
borderColor: '#
|
|
4569
|
-
|
|
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
|
|
4570
4699
|
}
|
|
4571
4700
|
},
|
|
4572
4701
|
{
|
|
4573
4702
|
if: { focus: true },
|
|
4574
|
-
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
|
+
}
|
|
4575
4713
|
},
|
|
4576
4714
|
{
|
|
4577
4715
|
if: { hover: true },
|
|
4578
|
-
tokens: {
|
|
4716
|
+
tokens: {
|
|
4717
|
+
backgroundColor: '#1b4746',
|
|
4718
|
+
borderColor: '#1b4746',
|
|
4719
|
+
borderWidth: 0,
|
|
4720
|
+
color: '#ffffff',
|
|
4721
|
+
iconBackground: '#1b4746',
|
|
4722
|
+
iconColor: '#ffffff'
|
|
4723
|
+
}
|
|
4579
4724
|
},
|
|
4580
4725
|
{
|
|
4581
4726
|
if: { selected: true },
|
|
4582
4727
|
tokens: {
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
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
|
|
4588
4736
|
}
|
|
4589
4737
|
},
|
|
4590
4738
|
{
|
|
4591
|
-
if: {
|
|
4592
|
-
tokens: {
|
|
4739
|
+
if: { hover: true, selected: true },
|
|
4740
|
+
tokens: { backgroundColor: '#1b4746', iconBackground: '#1b4746' }
|
|
4593
4741
|
},
|
|
4594
4742
|
{
|
|
4595
|
-
if: {
|
|
4743
|
+
if: { focus: true, selected: true },
|
|
4596
4744
|
tokens: {
|
|
4597
|
-
backgroundColor: '#
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
iconColor: '#666666'
|
|
4745
|
+
backgroundColor: '#016b6a',
|
|
4746
|
+
outerBorderColor: '#016b6a',
|
|
4747
|
+
outerBorderWidth: 1
|
|
4601
4748
|
}
|
|
4602
4749
|
},
|
|
4603
4750
|
{
|
|
4604
|
-
if: { selected: true },
|
|
4605
|
-
tokens: {
|
|
4606
|
-
opacity: 0.8,
|
|
4607
|
-
outerBorderColor: '#016b6a',
|
|
4608
|
-
outerBorderGap: 1,
|
|
4609
|
-
outerBorderWidth: 4
|
|
4610
|
-
}
|
|
4751
|
+
if: { focus: true, hover: true, selected: true },
|
|
4752
|
+
tokens: { iconBackground: '#016b6a' }
|
|
4611
4753
|
},
|
|
4612
4754
|
{
|
|
4613
|
-
if: { focus: true, selected: true },
|
|
4614
|
-
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
|
+
}
|
|
4615
4767
|
}
|
|
4616
4768
|
],
|
|
4617
4769
|
tokens: {
|
|
4618
4770
|
alignSelf: 'center',
|
|
4619
|
-
backgroundColor: '#
|
|
4620
|
-
borderColor: '#
|
|
4771
|
+
backgroundColor: '#ffffff',
|
|
4772
|
+
borderColor: '#016b6a',
|
|
4621
4773
|
borderRadius: 4,
|
|
4622
|
-
borderWidth:
|
|
4623
|
-
color: '#
|
|
4774
|
+
borderWidth: 1,
|
|
4775
|
+
color: '#016b6a',
|
|
4624
4776
|
fontName: 'StagSans',
|
|
4625
|
-
fontSize:
|
|
4777
|
+
fontSize: 16,
|
|
4626
4778
|
fontWeight: '600',
|
|
4627
|
-
icon:
|
|
4779
|
+
icon: PaletteIconAdd,
|
|
4628
4780
|
iconAlignSelf: 'center',
|
|
4629
4781
|
iconBackground: '#ffffff',
|
|
4630
4782
|
iconBorderRadius: 32,
|
|
4631
4783
|
iconColor: '#016b6a',
|
|
4632
|
-
iconPadding:
|
|
4784
|
+
iconPadding: 2,
|
|
4633
4785
|
iconPosition: 'right',
|
|
4634
|
-
iconSize:
|
|
4635
|
-
iconSpace:
|
|
4786
|
+
iconSize: 16,
|
|
4787
|
+
iconSpace: 2,
|
|
4636
4788
|
iconTranslateX: 0,
|
|
4637
4789
|
iconTranslateY: 0,
|
|
4638
4790
|
lineHeight: 1.5,
|
|
@@ -4641,14 +4793,13 @@ module.exports = {
|
|
|
4641
4793
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4642
4794
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4643
4795
|
outerBorderGap: 2,
|
|
4644
|
-
outerBorderWidth:
|
|
4796
|
+
outerBorderWidth: 0,
|
|
4645
4797
|
paddingBottom: 8,
|
|
4646
|
-
paddingLeft:
|
|
4647
|
-
paddingRight:
|
|
4798
|
+
paddingLeft: 16,
|
|
4799
|
+
paddingRight: 8,
|
|
4648
4800
|
paddingTop: 8,
|
|
4649
4801
|
shadow: null,
|
|
4650
|
-
textAlign: 'center'
|
|
4651
|
-
width: null
|
|
4802
|
+
textAlign: 'center'
|
|
4652
4803
|
}
|
|
4653
4804
|
},
|
|
4654
4805
|
TermsAndConditions: {
|
|
@@ -4868,14 +5019,28 @@ module.exports = {
|
|
|
4868
5019
|
}
|
|
4869
5020
|
},
|
|
4870
5021
|
Toast: {
|
|
4871
|
-
appearances: {
|
|
4872
|
-
|
|
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
|
+
],
|
|
4873
5038
|
tokens: {
|
|
4874
|
-
animationBackgroundColorAfter: '#
|
|
4875
|
-
animationBackgroundColorBefore: '#
|
|
4876
|
-
animationColorAfter: '#
|
|
5039
|
+
animationBackgroundColorAfter: '#efefef',
|
|
5040
|
+
animationBackgroundColorBefore: '#016b6a',
|
|
5041
|
+
animationColorAfter: '#000000',
|
|
4877
5042
|
animationColorBefore: '#ffffff',
|
|
4878
|
-
animationDivColorAfter: '#
|
|
5043
|
+
animationDivColorAfter: '#016b6a',
|
|
4879
5044
|
animationDivColorBefore: '#ffffff',
|
|
4880
5045
|
animationHeightAfter: 24,
|
|
4881
5046
|
animationHeightBefore: 0,
|
|
@@ -4883,7 +5048,9 @@ module.exports = {
|
|
|
4883
5048
|
animationPaddingBottomBefore: 0,
|
|
4884
5049
|
animationPaddingTopAfter: 16,
|
|
4885
5050
|
animationPaddingTopBefore: 0,
|
|
4886
|
-
|
|
5051
|
+
chevronlinkFontName: 'StagSans',
|
|
5052
|
+
chevronlinkFontWeight: '400',
|
|
5053
|
+
containerBackgroundColor: '#016b6a',
|
|
4887
5054
|
containerGap: 12
|
|
4888
5055
|
}
|
|
4889
5056
|
},
|
|
@@ -5119,6 +5286,11 @@ module.exports = {
|
|
|
5119
5286
|
},
|
|
5120
5287
|
Typography: {
|
|
5121
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
|
+
},
|
|
5122
5294
|
colour: {
|
|
5123
5295
|
type: 'variant',
|
|
5124
5296
|
values: [
|
|
@@ -5173,6 +5345,11 @@ module.exports = {
|
|
|
5173
5345
|
if: { weight: 'bold' },
|
|
5174
5346
|
tokens: { fontName: 'StagSans', fontWeight: '700' }
|
|
5175
5347
|
},
|
|
5348
|
+
{
|
|
5349
|
+
description: 'Please only bold single words while using with headings',
|
|
5350
|
+
if: { bold: true },
|
|
5351
|
+
tokens: { fontName: 'StagSans', fontWeight: '600' }
|
|
5352
|
+
},
|
|
5176
5353
|
{
|
|
5177
5354
|
if: { size: 'large' },
|
|
5178
5355
|
tokens: { fontSize: 20, lineHeight: 1.4 }
|
|
@@ -5529,5 +5706,5 @@ module.exports = {
|
|
|
5529
5706
|
tokens: { size: 96 }
|
|
5530
5707
|
}
|
|
5531
5708
|
},
|
|
5532
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5709
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.33.0' }
|
|
5533
5710
|
}
|