@telus-uds/theme-koodo 3.19.0 → 3.21.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 +1072 -515
- package/build/android/theme.json +314 -37
- package/build/ios/schema.json +1072 -515
- package/build/ios/theme.json +314 -37
- package/build/rn/schema.json +1072 -515
- package/build/rn/theme.js +171 -26
- package/package.json +4 -4
- package/theme.json +208 -25
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 19 Apr 2023 18:42:10 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -888,6 +888,10 @@ module.exports = {
|
|
|
888
888
|
borderColor: null,
|
|
889
889
|
borderRadius: 0,
|
|
890
890
|
borderWidth: 0,
|
|
891
|
+
contentAlignItems: 'stretch',
|
|
892
|
+
contentFlexGrow: 0,
|
|
893
|
+
contentFlexShrink: 0,
|
|
894
|
+
contentJustifyContent: 'flex-start',
|
|
891
895
|
flex: 1,
|
|
892
896
|
minWidth: null,
|
|
893
897
|
paddingBottom: 16,
|
|
@@ -1472,10 +1476,10 @@ module.exports = {
|
|
|
1472
1476
|
],
|
|
1473
1477
|
tokens: {
|
|
1474
1478
|
backgroundColor: '#ffffff',
|
|
1475
|
-
borderColor: '#
|
|
1479
|
+
borderColor: '#016b6a',
|
|
1476
1480
|
borderRadius: 32,
|
|
1477
1481
|
borderWidth: 1,
|
|
1478
|
-
iconColor: '#
|
|
1482
|
+
iconColor: '#000000',
|
|
1479
1483
|
iconScale: 1,
|
|
1480
1484
|
iconSize: 16,
|
|
1481
1485
|
iconTranslateX: 0,
|
|
@@ -1749,6 +1753,7 @@ module.exports = {
|
|
|
1749
1753
|
shadow: null
|
|
1750
1754
|
}
|
|
1751
1755
|
},
|
|
1756
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
1752
1757
|
InputLabel: {
|
|
1753
1758
|
appearances: {},
|
|
1754
1759
|
rules: [],
|
|
@@ -1972,7 +1977,13 @@ module.exports = {
|
|
|
1972
1977
|
rules: [
|
|
1973
1978
|
{
|
|
1974
1979
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1975
|
-
tokens: {
|
|
1980
|
+
tokens: {
|
|
1981
|
+
height: '100%',
|
|
1982
|
+
paddingBottom: 24,
|
|
1983
|
+
paddingLeft: 24,
|
|
1984
|
+
paddingRight: 24,
|
|
1985
|
+
paddingTop: 24
|
|
1986
|
+
}
|
|
1976
1987
|
},
|
|
1977
1988
|
{
|
|
1978
1989
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
@@ -1995,7 +2006,9 @@ module.exports = {
|
|
|
1995
2006
|
backdropColor: '#000000',
|
|
1996
2007
|
backdropOpacity: 0.5,
|
|
1997
2008
|
backgroundColor: '#ffffff',
|
|
2009
|
+
borderColor: '#ffffff',
|
|
1998
2010
|
borderRadius: 4,
|
|
2011
|
+
cancelButtonColor: '#000000',
|
|
1999
2012
|
closeIcon: PaletteIconTimes,
|
|
2000
2013
|
closeIconColor: '#000000',
|
|
2001
2014
|
closeIconSize: 24,
|
|
@@ -2004,12 +2017,17 @@ module.exports = {
|
|
|
2004
2017
|
containerPaddingLeft: 0,
|
|
2005
2018
|
containerPaddingRight: 0,
|
|
2006
2019
|
containerPaddingTop: 0,
|
|
2020
|
+
gap: 16,
|
|
2021
|
+
headingColor: '#000000',
|
|
2022
|
+
headingPaddingRight: 24,
|
|
2007
2023
|
height: null,
|
|
2024
|
+
marginLeft: 24,
|
|
2025
|
+
marginRight: 24,
|
|
2008
2026
|
maxWidth: '100%',
|
|
2009
|
-
paddingBottom:
|
|
2010
|
-
paddingLeft:
|
|
2011
|
-
paddingRight:
|
|
2012
|
-
paddingTop:
|
|
2027
|
+
paddingBottom: 24,
|
|
2028
|
+
paddingLeft: 32,
|
|
2029
|
+
paddingRight: 32,
|
|
2030
|
+
paddingTop: 24,
|
|
2013
2031
|
shadow: {
|
|
2014
2032
|
blur: 0,
|
|
2015
2033
|
color: 'rgba(0, 0, 0, 0)',
|
|
@@ -2017,7 +2035,8 @@ module.exports = {
|
|
|
2017
2035
|
offsetX: 0,
|
|
2018
2036
|
offsetY: 0,
|
|
2019
2037
|
spread: 0
|
|
2020
|
-
}
|
|
2038
|
+
},
|
|
2039
|
+
subHeadingMarginTop: 8
|
|
2021
2040
|
}
|
|
2022
2041
|
},
|
|
2023
2042
|
Notification: {
|
|
@@ -2846,6 +2865,10 @@ module.exports = {
|
|
|
2846
2865
|
borderRadius: 4,
|
|
2847
2866
|
borderWidth: 1,
|
|
2848
2867
|
color: '#000000',
|
|
2868
|
+
contentAlignItems: 'stretch',
|
|
2869
|
+
contentFlexGrow: 0,
|
|
2870
|
+
contentFlexShrink: 0,
|
|
2871
|
+
contentJustifyContent: 'flex-start',
|
|
2849
2872
|
contentSpace: 2,
|
|
2850
2873
|
flex: 1,
|
|
2851
2874
|
fontName: 'StagSans',
|
|
@@ -3388,6 +3411,36 @@ module.exports = {
|
|
|
3388
3411
|
showStepTrackerLabel: true
|
|
3389
3412
|
}
|
|
3390
3413
|
},
|
|
3414
|
+
Table: {
|
|
3415
|
+
appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
|
|
3416
|
+
rules: [
|
|
3417
|
+
{
|
|
3418
|
+
if: { spacing: 'compact' },
|
|
3419
|
+
tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
|
|
3420
|
+
}
|
|
3421
|
+
],
|
|
3422
|
+
tokens: {
|
|
3423
|
+
cellBackground: '#ffffff',
|
|
3424
|
+
cellBoxShadowColor: '#000000',
|
|
3425
|
+
cellHeadingBackground: '#000000',
|
|
3426
|
+
cellHeadingBoxShadowColor: '#000000',
|
|
3427
|
+
cellPaddingBottom: 16,
|
|
3428
|
+
cellPaddingLeft: 16,
|
|
3429
|
+
cellPaddingRight: 16,
|
|
3430
|
+
cellPaddingTop: 16,
|
|
3431
|
+
cellRowHeadingBackground: '#ffffff',
|
|
3432
|
+
cellStickyShadow: {
|
|
3433
|
+
blur: 8,
|
|
3434
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
3435
|
+
inset: false,
|
|
3436
|
+
offsetX: 0,
|
|
3437
|
+
offsetY: 4,
|
|
3438
|
+
spread: 0
|
|
3439
|
+
},
|
|
3440
|
+
cellSubheadingBackground: '#000000',
|
|
3441
|
+
tablePaddingBottom: 24
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3391
3444
|
Tabs: {
|
|
3392
3445
|
appearances: {},
|
|
3393
3446
|
rules: [],
|
|
@@ -3395,7 +3448,7 @@ module.exports = {
|
|
|
3395
3448
|
borderBottomColor: 'transparent',
|
|
3396
3449
|
borderBottomWidth: 0,
|
|
3397
3450
|
buttonClearance: 32,
|
|
3398
|
-
gutter:
|
|
3451
|
+
gutter: null,
|
|
3399
3452
|
nextIcon: PaletteIconChevronRight,
|
|
3400
3453
|
previousIcon: PaletteIconChevronLeft,
|
|
3401
3454
|
space: 0
|
|
@@ -3415,6 +3468,12 @@ module.exports = {
|
|
|
3415
3468
|
type: 'state',
|
|
3416
3469
|
values: [ true ]
|
|
3417
3470
|
},
|
|
3471
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
3472
|
+
pressed: {
|
|
3473
|
+
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.',
|
|
3474
|
+
type: 'state',
|
|
3475
|
+
values: [ true ]
|
|
3476
|
+
},
|
|
3418
3477
|
selected: {
|
|
3419
3478
|
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.',
|
|
3420
3479
|
type: 'state',
|
|
@@ -3422,39 +3481,94 @@ module.exports = {
|
|
|
3422
3481
|
}
|
|
3423
3482
|
},
|
|
3424
3483
|
rules: [
|
|
3425
|
-
{ if: { focus: true }, tokens: { borderWidth: 4 } },
|
|
3426
|
-
{ if: { hover: true }, tokens: { backgroundColor: '#f9f6a5' } },
|
|
3427
3484
|
{
|
|
3428
3485
|
if: { selected: true },
|
|
3429
3486
|
tokens: {
|
|
3430
|
-
backgroundColor: '#
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3487
|
+
backgroundColor: '#ffffff',
|
|
3488
|
+
color: '#016b6a',
|
|
3489
|
+
highlightBarBorderWidth: 1,
|
|
3490
|
+
highlightBarHeight: 1,
|
|
3491
|
+
highlightColor: '#016b6a'
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#e6e6e6' } },
|
|
3495
|
+
{
|
|
3496
|
+
if: { focus: true },
|
|
3497
|
+
tokens: {
|
|
3498
|
+
backgroundColor: '#ffffff',
|
|
3499
|
+
highlightBarBorderWidth: 1,
|
|
3500
|
+
highlightBarHeight: 1,
|
|
3501
|
+
highlightColor: '#666666'
|
|
3502
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
if: { pressed: true },
|
|
3506
|
+
tokens: { backgroundColor: '#c9c8c8', highlightBarBorderWidth: 0 }
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
if: { focus: true, selected: true },
|
|
3510
|
+
tokens: { backgroundColor: '#ffffff', highlightColor: '#016b6a' }
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
if: { inverse: true },
|
|
3514
|
+
tokens: { backgroundColor: 'transparent', color: '#e5f7fb' }
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
if: { inverse: true, selected: true },
|
|
3518
|
+
tokens: {
|
|
3519
|
+
color: '#c9c8c8',
|
|
3520
|
+
highlightBarBorderWidth: 1,
|
|
3521
|
+
highlightBarHeight: 1,
|
|
3522
|
+
highlightColor: '#c9c8c8'
|
|
3523
|
+
}
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
if: { hover: true, inverse: true },
|
|
3527
|
+
tokens: { color: '#bbeaf5' }
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
if: { focus: true, inverse: true },
|
|
3531
|
+
tokens: {
|
|
3532
|
+
color: '#e5f7fb',
|
|
3533
|
+
highlightBarBorderWidth: 1,
|
|
3534
|
+
highlightBarHeight: 1,
|
|
3535
|
+
highlightColor: '#e5f7fb'
|
|
3536
|
+
}
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
if: { inverse: true, pressed: true },
|
|
3540
|
+
tokens: { color: '#c9c8c8', highlightBarBorderWidth: 0 }
|
|
3541
|
+
},
|
|
3542
|
+
{
|
|
3543
|
+
if: { focus: true, inverse: true, selected: true },
|
|
3544
|
+
tokens: {
|
|
3545
|
+
color: '#c9c8c8',
|
|
3546
|
+
highlightBarBorderWidth: 1,
|
|
3547
|
+
highlightBarHeight: 1,
|
|
3548
|
+
highlightColor: '#c9c8c8'
|
|
3435
3549
|
}
|
|
3436
3550
|
}
|
|
3437
3551
|
],
|
|
3438
3552
|
tokens: {
|
|
3439
|
-
backgroundColor: '#
|
|
3440
|
-
borderColor: '
|
|
3553
|
+
backgroundColor: '#ffffff',
|
|
3554
|
+
borderColor: 'transparent',
|
|
3441
3555
|
borderRadius: 0,
|
|
3442
|
-
borderWidth:
|
|
3443
|
-
color: '#
|
|
3556
|
+
borderWidth: 0,
|
|
3557
|
+
color: '#666666',
|
|
3444
3558
|
fontName: 'StagSans',
|
|
3445
3559
|
fontScaleCap: 64,
|
|
3446
3560
|
fontSize: 16,
|
|
3447
|
-
fontWeight: '
|
|
3561
|
+
fontWeight: '600',
|
|
3448
3562
|
highlightBarBorderRadius: 0,
|
|
3449
3563
|
highlightBarBorderWidth: 0,
|
|
3450
3564
|
highlightBarHeight: 0,
|
|
3451
3565
|
highlightColor: 'transparent',
|
|
3452
3566
|
highlightTriangleSize: 0,
|
|
3453
3567
|
letterSpacing: 0,
|
|
3454
|
-
lineHeight: 1.
|
|
3568
|
+
lineHeight: 1.5,
|
|
3455
3569
|
maxWidth: null,
|
|
3456
|
-
paddingHorizontal:
|
|
3457
|
-
paddingVertical:
|
|
3570
|
+
paddingHorizontal: 24,
|
|
3571
|
+
paddingVertical: 4,
|
|
3458
3572
|
space: 0,
|
|
3459
3573
|
textAlign: 'center',
|
|
3460
3574
|
textTransform: 'none'
|
|
@@ -3736,6 +3850,28 @@ module.exports = {
|
|
|
3736
3850
|
timelineContainerDirection: 'column'
|
|
3737
3851
|
}
|
|
3738
3852
|
},
|
|
3853
|
+
Toast: {
|
|
3854
|
+
appearances: {},
|
|
3855
|
+
rules: [],
|
|
3856
|
+
tokens: {
|
|
3857
|
+
animationBackgroundColorAfter: '#ffffff',
|
|
3858
|
+
animationBackgroundColorBefore: '#ffffff',
|
|
3859
|
+
animationColorAfter: '#016b6a',
|
|
3860
|
+
animationColorBefore: '#ffffff',
|
|
3861
|
+
animationDivColorAfter: '#ffffff',
|
|
3862
|
+
animationDivColorBefore: '#ffffff',
|
|
3863
|
+
animationFillColorAfter: '#ffffff',
|
|
3864
|
+
animationFillColorBefore: '#ffffff',
|
|
3865
|
+
animationHeightAfter: 24,
|
|
3866
|
+
animationHeightBefore: 0,
|
|
3867
|
+
animationPaddingBottomAfter: 16,
|
|
3868
|
+
animationPaddingBottomBefore: 0,
|
|
3869
|
+
animationPaddingTopAfter: 16,
|
|
3870
|
+
animationPaddingTopBefore: 0,
|
|
3871
|
+
containerBackgroundColor: '#ffffff',
|
|
3872
|
+
containerGap: 12
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3739
3875
|
ToggleSwitch: {
|
|
3740
3876
|
appearances: {
|
|
3741
3877
|
focus: {
|
|
@@ -4096,6 +4232,15 @@ module.exports = {
|
|
|
4096
4232
|
textTransform: 'none'
|
|
4097
4233
|
}
|
|
4098
4234
|
},
|
|
4235
|
+
WaffleGrid: {
|
|
4236
|
+
appearances: {},
|
|
4237
|
+
rules: [],
|
|
4238
|
+
tokens: {
|
|
4239
|
+
itemBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4240
|
+
itemPadding: 16,
|
|
4241
|
+
rowBorderWidth: 1
|
|
4242
|
+
}
|
|
4243
|
+
},
|
|
4099
4244
|
spacingScale: {
|
|
4100
4245
|
appearances: {
|
|
4101
4246
|
space: {
|
|
@@ -4156,5 +4301,5 @@ module.exports = {
|
|
|
4156
4301
|
tokens: { size: 96 }
|
|
4157
4302
|
}
|
|
4158
4303
|
},
|
|
4159
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4304
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.20.0' }
|
|
4160
4305
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.11.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.20.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "3.
|
|
34
|
+
"version": "3.21.0"
|
|
35
35
|
}
|