@telus-uds/theme-koodo 3.8.0 → 3.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 +385 -370
- package/build/android/theme.json +379 -37
- package/build/ios/schema.json +385 -370
- package/build/ios/theme.json +379 -37
- package/build/rn/schema.json +385 -370
- package/build/rn/theme.js +128 -26
- package/package.json +4 -4
- package/theme.json +259 -22
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 Tue, 28 Feb 2023 00:22:13 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -21,15 +21,31 @@ const PaletteIconInfo = require('@telus-uds/palette-koodo/build/rn/icons/Info')
|
|
|
21
21
|
module.exports = {
|
|
22
22
|
components: {
|
|
23
23
|
ActivityIndicator: {
|
|
24
|
-
appearances: {
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
appearances: {
|
|
25
|
+
size: {
|
|
26
|
+
description: 'used for full-screen spinners',
|
|
27
|
+
type: 'variant',
|
|
28
|
+
values: [ 'large' ]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
rules: [ { if: { size: 'large' }, tokens: { size: 48, thickness: 4 } } ],
|
|
32
|
+
tokens: { color: '#016b6a', size: 40, thickness: 4 }
|
|
27
33
|
},
|
|
28
34
|
Box: {
|
|
29
35
|
appearances: {
|
|
30
36
|
background: {
|
|
31
|
-
description: 'Background colour of box.
|
|
32
|
-
values: [
|
|
37
|
+
description: 'Background colour of box. White if not specified.',
|
|
38
|
+
values: [
|
|
39
|
+
'lightest', 'lighter',
|
|
40
|
+
'light', 'dark',
|
|
41
|
+
'darker', 'darkest',
|
|
42
|
+
'critical', 'danger',
|
|
43
|
+
'warning', 'positive',
|
|
44
|
+
'brand', 'white',
|
|
45
|
+
'black', 'featurePrimary',
|
|
46
|
+
'featureSecondary', 'featureNeutral',
|
|
47
|
+
'featureBrand'
|
|
48
|
+
]
|
|
33
49
|
}
|
|
34
50
|
},
|
|
35
51
|
rules: [
|
|
@@ -37,16 +53,72 @@ module.exports = {
|
|
|
37
53
|
if: { background: 'lightest' },
|
|
38
54
|
tokens: { backgroundColor: '#ffffff' }
|
|
39
55
|
},
|
|
56
|
+
{
|
|
57
|
+
if: { background: 'lighter' },
|
|
58
|
+
tokens: { backgroundColor: '#fafafa' }
|
|
59
|
+
},
|
|
40
60
|
{
|
|
41
61
|
if: { background: 'light' },
|
|
42
62
|
tokens: { backgroundColor: '#efefef' }
|
|
43
63
|
},
|
|
64
|
+
{
|
|
65
|
+
if: { background: 'dark' },
|
|
66
|
+
tokens: { backgroundColor: '#666666' }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
if: { background: 'darker' },
|
|
70
|
+
tokens: { backgroundColor: '#595959' }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
if: { background: 'darkest' },
|
|
74
|
+
tokens: { backgroundColor: '#000000' }
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
if: { background: 'critical' },
|
|
78
|
+
tokens: { backgroundColor: '#b8373e' }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: { background: 'danger' },
|
|
82
|
+
tokens: { backgroundColor: '#f8dde3' }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
if: { background: 'warning' },
|
|
86
|
+
tokens: { backgroundColor: '#feeec7' }
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
if: { background: 'positive' },
|
|
90
|
+
tokens: { backgroundColor: '#e5f7fb' }
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
if: { background: 'brand' },
|
|
94
|
+
tokens: { backgroundColor: '#016b6a' }
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
if: { background: 'white' },
|
|
98
|
+
tokens: { backgroundColor: '#ffffff' }
|
|
99
|
+
},
|
|
44
100
|
{
|
|
45
101
|
if: { background: 'black' },
|
|
46
102
|
tokens: { backgroundColor: '#000000' }
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
if: { background: 'featurePrimary' },
|
|
106
|
+
tokens: { backgroundColor: '#7c1366' }
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
if: { background: 'featureSecondary' },
|
|
110
|
+
tokens: { backgroundColor: '#17367d' }
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
if: { background: 'featureNeutral' },
|
|
114
|
+
tokens: { backgroundColor: '#595959' }
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
if: { background: 'featureBrand' },
|
|
118
|
+
tokens: { backgroundColor: '#016b6a' }
|
|
47
119
|
}
|
|
48
120
|
],
|
|
49
|
-
tokens: { backgroundColor:
|
|
121
|
+
tokens: { backgroundColor: '#ffffff', gradient: null }
|
|
50
122
|
},
|
|
51
123
|
Button: {
|
|
52
124
|
appearances: {
|
|
@@ -697,8 +769,20 @@ module.exports = {
|
|
|
697
769
|
}
|
|
698
770
|
},
|
|
699
771
|
Divider: {
|
|
700
|
-
appearances: {
|
|
701
|
-
|
|
772
|
+
appearances: {
|
|
773
|
+
decorative: {
|
|
774
|
+
description: 'Use a decorative divider to highlight an element. Non-decorative dividers are for clearly identifying separation of content.',
|
|
775
|
+
type: 'variant',
|
|
776
|
+
values: [ true ]
|
|
777
|
+
},
|
|
778
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
779
|
+
weight: { type: 'variant', values: [ 'thick' ] }
|
|
780
|
+
},
|
|
781
|
+
rules: [
|
|
782
|
+
{ if: { weight: 'thick' }, tokens: { width: 2 } },
|
|
783
|
+
{ if: { decorative: true }, tokens: { color: '#efefef' } },
|
|
784
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } }
|
|
785
|
+
],
|
|
702
786
|
tokens: { color: '#c9c8c8', width: 1 }
|
|
703
787
|
},
|
|
704
788
|
ExpandCollapse: {
|
|
@@ -957,11 +1041,11 @@ module.exports = {
|
|
|
957
1041
|
color: '#000000',
|
|
958
1042
|
fontName: 'StagSans',
|
|
959
1043
|
fontSize: 16,
|
|
960
|
-
fontWeight: '
|
|
1044
|
+
fontWeight: '600',
|
|
961
1045
|
gap: 8,
|
|
962
1046
|
hintColor: '#000000',
|
|
963
1047
|
hintFontName: 'StagSans',
|
|
964
|
-
hintFontSize:
|
|
1048
|
+
hintFontSize: 16,
|
|
965
1049
|
hintFontWeight: '400',
|
|
966
1050
|
hintLineHeight: 1.4,
|
|
967
1051
|
lineHeight: 1.4
|
|
@@ -1160,37 +1244,40 @@ module.exports = {
|
|
|
1160
1244
|
{
|
|
1161
1245
|
if: { style: 'success' },
|
|
1162
1246
|
tokens: {
|
|
1163
|
-
backgroundColor: '#
|
|
1247
|
+
backgroundColor: '#e5f7fb',
|
|
1248
|
+
color: '#000000',
|
|
1164
1249
|
icon: PaletteIconCheckCircledFilled,
|
|
1165
|
-
iconColor: '#
|
|
1250
|
+
iconColor: '#016b6a'
|
|
1166
1251
|
}
|
|
1167
1252
|
},
|
|
1168
1253
|
{
|
|
1169
1254
|
if: { style: 'warning' },
|
|
1170
1255
|
tokens: {
|
|
1171
1256
|
backgroundColor: '#feeec7',
|
|
1257
|
+
color: '#000000',
|
|
1172
1258
|
icon: PaletteIconExclamationTriangle,
|
|
1173
|
-
iconColor: '#
|
|
1259
|
+
iconColor: '#ee2c74'
|
|
1174
1260
|
}
|
|
1175
1261
|
},
|
|
1176
1262
|
{
|
|
1177
1263
|
if: { style: 'error' },
|
|
1178
1264
|
tokens: {
|
|
1179
1265
|
backgroundColor: '#f8dde3',
|
|
1266
|
+
color: '#000000',
|
|
1180
1267
|
icon: PaletteIconExclamationOctagon,
|
|
1181
1268
|
iconColor: '#df3d0c'
|
|
1182
1269
|
}
|
|
1183
1270
|
}
|
|
1184
1271
|
],
|
|
1185
1272
|
tokens: {
|
|
1186
|
-
backgroundColor: '#
|
|
1273
|
+
backgroundColor: '#fae6f4',
|
|
1187
1274
|
borderBottomWidth: 0,
|
|
1188
1275
|
borderColor: 'transparent',
|
|
1189
1276
|
borderLeftWidth: 0,
|
|
1190
1277
|
borderRadius: 0,
|
|
1191
1278
|
borderRightWidth: 0,
|
|
1192
1279
|
borderTopWidth: 0,
|
|
1193
|
-
color: '#
|
|
1280
|
+
color: '#7c1366',
|
|
1194
1281
|
dismissButtonGap: 16,
|
|
1195
1282
|
dismissIcon: PaletteIconTimes,
|
|
1196
1283
|
dismissIconColor: '#000000',
|
|
@@ -2776,8 +2863,13 @@ module.exports = {
|
|
|
2776
2863
|
}
|
|
2777
2864
|
},
|
|
2778
2865
|
Tooltip: {
|
|
2779
|
-
appearances: {},
|
|
2780
|
-
rules: [
|
|
2866
|
+
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
2867
|
+
rules: [
|
|
2868
|
+
{
|
|
2869
|
+
if: { inverse: true },
|
|
2870
|
+
tokens: { backgroundColor: '#ffffff', color: '#014847' }
|
|
2871
|
+
}
|
|
2872
|
+
],
|
|
2781
2873
|
tokens: {
|
|
2782
2874
|
arrowBorderRadius: 0,
|
|
2783
2875
|
arrowOffset: 4,
|
|
@@ -2965,9 +3057,9 @@ module.exports = {
|
|
|
2965
3057
|
description: 'Index of the intended position on the spacing scale',
|
|
2966
3058
|
type: 'state',
|
|
2967
3059
|
values: [
|
|
2968
|
-
0,
|
|
2969
|
-
|
|
2970
|
-
|
|
3060
|
+
0, 1, 2, 3, 4, 5,
|
|
3061
|
+
6, 7, 8, 9, 10, 11,
|
|
3062
|
+
12
|
|
2971
3063
|
]
|
|
2972
3064
|
},
|
|
2973
3065
|
viewport: {
|
|
@@ -2978,6 +3070,8 @@ module.exports = {
|
|
|
2978
3070
|
},
|
|
2979
3071
|
rules: [
|
|
2980
3072
|
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { size: 120 } },
|
|
3073
|
+
{ if: { space: 12 }, tokens: { size: 120 } },
|
|
3074
|
+
{ if: { space: 11 }, tokens: { size: 120 } },
|
|
2981
3075
|
{ if: { space: 10 }, tokens: { size: 80 } },
|
|
2982
3076
|
{ if: { space: 9 }, tokens: { size: 64 } },
|
|
2983
3077
|
{ if: { space: 8 }, tokens: { size: 48 } },
|
|
@@ -2989,25 +3083,33 @@ module.exports = {
|
|
|
2989
3083
|
{ if: { space: 2 }, tokens: { size: 8 } },
|
|
2990
3084
|
{ if: { space: 1 }, tokens: { size: 4 } },
|
|
2991
3085
|
{
|
|
2992
|
-
if: { space:
|
|
3086
|
+
if: { space: 11, viewport: [ 'lg', 'xl' ] },
|
|
2993
3087
|
tokens: { size: 120 }
|
|
2994
3088
|
},
|
|
2995
3089
|
{
|
|
2996
|
-
if: { space:
|
|
3090
|
+
if: { space: 10, viewport: [ 'lg', 'xl' ] },
|
|
2997
3091
|
tokens: { size: 96 }
|
|
2998
3092
|
},
|
|
2999
3093
|
{
|
|
3000
|
-
if: { space:
|
|
3094
|
+
if: { space: 9, viewport: [ 'lg', 'xl' ] },
|
|
3001
3095
|
tokens: { size: 72 }
|
|
3002
3096
|
},
|
|
3003
3097
|
{
|
|
3004
|
-
if: { space:
|
|
3098
|
+
if: { space: 8, viewport: [ 'lg', 'xl' ] },
|
|
3005
3099
|
tokens: { size: 64 }
|
|
3006
3100
|
},
|
|
3101
|
+
{
|
|
3102
|
+
if: { space: 7, viewport: [ 'lg', 'xl' ] },
|
|
3103
|
+
tokens: { size: 48 }
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
if: { space: 6, viewport: [ 'lg', 'xl' ] },
|
|
3107
|
+
tokens: { size: 40 }
|
|
3108
|
+
},
|
|
3007
3109
|
{ if: { space: 0 }, tokens: { size: 0 } }
|
|
3008
3110
|
],
|
|
3009
3111
|
tokens: { size: 96 }
|
|
3010
3112
|
}
|
|
3011
3113
|
},
|
|
3012
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
3114
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.11.0' }
|
|
3013
3115
|
}
|
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.3.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.11.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.3.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.10.0"
|
|
35
35
|
}
|