@telus-uds/theme-koodo 4.12.2 → 4.12.4
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 +690 -654
- package/build/android/theme.json +119 -11
- package/build/ios/schema.json +690 -654
- package/build/ios/theme.json +119 -11
- package/build/rn/schema.json +690 -654
- package/build/rn/theme.js +48 -18
- package/package.json +4 -4
- package/theme.json +96 -17
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 Mon, 16 Oct 2023 22:46:48 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -996,6 +996,7 @@ module.exports = {
|
|
|
996
996
|
type: 'variant',
|
|
997
997
|
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
998
998
|
},
|
|
999
|
+
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
999
1000
|
padding: {
|
|
1000
1001
|
type: 'variant',
|
|
1001
1002
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1007,6 +1008,9 @@ module.exports = {
|
|
|
1007
1008
|
}
|
|
1008
1009
|
},
|
|
1009
1010
|
rules: [
|
|
1011
|
+
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1012
|
+
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
|
|
1013
|
+
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
|
|
1010
1014
|
{
|
|
1011
1015
|
if: { background: 'alternative' },
|
|
1012
1016
|
tokens: {
|
|
@@ -2221,6 +2225,10 @@ module.exports = {
|
|
|
2221
2225
|
iconScale: 1.1
|
|
2222
2226
|
}
|
|
2223
2227
|
},
|
|
2228
|
+
{
|
|
2229
|
+
if: { hover: true, inactive: true },
|
|
2230
|
+
tokens: { iconScale: 1 }
|
|
2231
|
+
},
|
|
2224
2232
|
{
|
|
2225
2233
|
if: { hover: true, password: true },
|
|
2226
2234
|
tokens: {
|
|
@@ -2235,7 +2243,11 @@ module.exports = {
|
|
|
2235
2243
|
},
|
|
2236
2244
|
{
|
|
2237
2245
|
if: { focus: true, password: true },
|
|
2238
|
-
tokens: {
|
|
2246
|
+
tokens: {
|
|
2247
|
+
borderColor: '#016b6a',
|
|
2248
|
+
borderWidth: 3,
|
|
2249
|
+
outerBorderWidth: 0
|
|
2250
|
+
}
|
|
2239
2251
|
},
|
|
2240
2252
|
{
|
|
2241
2253
|
if: { hover: true, inverse: true },
|
|
@@ -2250,14 +2262,6 @@ module.exports = {
|
|
|
2250
2262
|
outerBorderWidth: 1
|
|
2251
2263
|
}
|
|
2252
2264
|
},
|
|
2253
|
-
{
|
|
2254
|
-
if: { focus: true, password: true },
|
|
2255
|
-
tokens: {
|
|
2256
|
-
outerBorderColor: '#016b6a',
|
|
2257
|
-
outerBorderGap: 4,
|
|
2258
|
-
outerBorderWidth: 2
|
|
2259
|
-
}
|
|
2260
|
-
},
|
|
2261
2265
|
{
|
|
2262
2266
|
if: { focus: true, inverse: true },
|
|
2263
2267
|
tokens: {
|
|
@@ -2268,6 +2272,10 @@ module.exports = {
|
|
|
2268
2272
|
outerBorderWidth: 1
|
|
2269
2273
|
}
|
|
2270
2274
|
},
|
|
2275
|
+
{
|
|
2276
|
+
if: { inactive: null, pressed: true },
|
|
2277
|
+
tokens: { backgroundColor: 'transparent', iconColor: '#014847' }
|
|
2278
|
+
},
|
|
2271
2279
|
{
|
|
2272
2280
|
if: { pressed: true },
|
|
2273
2281
|
tokens: {
|
|
@@ -2352,7 +2360,7 @@ module.exports = {
|
|
|
2352
2360
|
tokens: {
|
|
2353
2361
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2354
2362
|
borderWidth: 0,
|
|
2355
|
-
iconColor: '#
|
|
2363
|
+
iconColor: '#b5b4b4',
|
|
2356
2364
|
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
2357
2365
|
}
|
|
2358
2366
|
},
|
|
@@ -2364,7 +2372,16 @@ module.exports = {
|
|
|
2364
2372
|
iconColor: '#ffffff'
|
|
2365
2373
|
}
|
|
2366
2374
|
},
|
|
2367
|
-
{ if: { compact: true }, tokens: { outerBorderGap: 0 } }
|
|
2375
|
+
{ if: { compact: true }, tokens: { outerBorderGap: 0 } },
|
|
2376
|
+
{
|
|
2377
|
+
if: { inactive: true },
|
|
2378
|
+
tokens: {
|
|
2379
|
+
backgroundColor: 'transparent',
|
|
2380
|
+
iconColor: '#b5b4b4',
|
|
2381
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2382
|
+
outerBorderWidth: 0
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2368
2385
|
],
|
|
2369
2386
|
tokens: {
|
|
2370
2387
|
backgroundColor: 'transparent',
|
|
@@ -2379,6 +2396,7 @@ module.exports = {
|
|
|
2379
2396
|
borderTopRightRadius: null,
|
|
2380
2397
|
borderTopWidth: null,
|
|
2381
2398
|
borderWidth: 1,
|
|
2399
|
+
height: null,
|
|
2382
2400
|
icon: PaletteIconAdd,
|
|
2383
2401
|
iconColor: '#000000',
|
|
2384
2402
|
iconScale: 1,
|
|
@@ -2389,7 +2407,8 @@ module.exports = {
|
|
|
2389
2407
|
outerBorderGap: 0,
|
|
2390
2408
|
outerBorderWidth: 0,
|
|
2391
2409
|
padding: 4,
|
|
2392
|
-
shadow: null
|
|
2410
|
+
shadow: null,
|
|
2411
|
+
width: null
|
|
2393
2412
|
}
|
|
2394
2413
|
},
|
|
2395
2414
|
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
@@ -3617,7 +3636,7 @@ module.exports = {
|
|
|
3617
3636
|
rules: [
|
|
3618
3637
|
{
|
|
3619
3638
|
if: { inactive: true },
|
|
3620
|
-
tokens: { backgroundColor: '#
|
|
3639
|
+
tokens: { backgroundColor: '#c9c8c8', outlineColor: '#666666' }
|
|
3621
3640
|
},
|
|
3622
3641
|
{
|
|
3623
3642
|
if: { negative: true },
|
|
@@ -6442,12 +6461,23 @@ module.exports = {
|
|
|
6442
6461
|
}
|
|
6443
6462
|
},
|
|
6444
6463
|
WaffleGrid: {
|
|
6445
|
-
appearances: {
|
|
6446
|
-
|
|
6464
|
+
appearances: {
|
|
6465
|
+
viewport: {
|
|
6466
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
6467
|
+
type: 'state',
|
|
6468
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
6469
|
+
}
|
|
6470
|
+
},
|
|
6471
|
+
rules: [
|
|
6472
|
+
{ if: { viewport: [ 'xs' ] }, tokens: { rowSize: 2 } },
|
|
6473
|
+
{ if: { viewport: [ 'sm', 'md' ] }, tokens: { rowSize: 3 } },
|
|
6474
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { rowSize: 6 } }
|
|
6475
|
+
],
|
|
6447
6476
|
tokens: {
|
|
6448
6477
|
itemBorderColor: 'rgba(0, 0, 0, 0)',
|
|
6449
6478
|
itemPadding: 16,
|
|
6450
|
-
rowBorderWidth: 1
|
|
6479
|
+
rowBorderWidth: 1,
|
|
6480
|
+
rowSize: 6
|
|
6451
6481
|
}
|
|
6452
6482
|
},
|
|
6453
6483
|
spacingScale: {
|
|
@@ -6510,5 +6540,5 @@ module.exports = {
|
|
|
6510
6540
|
tokens: { size: 96 }
|
|
6511
6541
|
}
|
|
6512
6542
|
},
|
|
6513
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.41.
|
|
6543
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.41.1' }
|
|
6514
6544
|
}
|
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.41.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.26.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.41.1"
|
|
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.26.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": "4.12.
|
|
34
|
+
"version": "4.12.4"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1320,6 +1320,10 @@
|
|
|
1320
1320
|
"type": "variant",
|
|
1321
1321
|
"values": ["alternative", "subtle", "grid", "feature"]
|
|
1322
1322
|
},
|
|
1323
|
+
"borderRadius": {
|
|
1324
|
+
"type": "variant",
|
|
1325
|
+
"values": ["none", "small", "large"]
|
|
1326
|
+
},
|
|
1323
1327
|
"padding": {
|
|
1324
1328
|
"type": "variant",
|
|
1325
1329
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -1327,6 +1331,30 @@
|
|
|
1327
1331
|
"viewport": "{appearances.system.viewport}"
|
|
1328
1332
|
},
|
|
1329
1333
|
"rules": [
|
|
1334
|
+
{
|
|
1335
|
+
"if": {
|
|
1336
|
+
"borderRadius": "none"
|
|
1337
|
+
},
|
|
1338
|
+
"tokens": {
|
|
1339
|
+
"borderRadius": "{palette.radius.none}"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"if": {
|
|
1344
|
+
"borderRadius": "small"
|
|
1345
|
+
},
|
|
1346
|
+
"tokens": {
|
|
1347
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"if": {
|
|
1352
|
+
"borderRadius": "large"
|
|
1353
|
+
},
|
|
1354
|
+
"tokens": {
|
|
1355
|
+
"borderRadius": "{palette.radius.radius8}"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1330
1358
|
{
|
|
1331
1359
|
"if": {
|
|
1332
1360
|
"background": "alternative"
|
|
@@ -3000,6 +3028,15 @@
|
|
|
3000
3028
|
"iconScale": "{system.iconScale.scale1_10}"
|
|
3001
3029
|
}
|
|
3002
3030
|
},
|
|
3031
|
+
{
|
|
3032
|
+
"if": {
|
|
3033
|
+
"hover": true,
|
|
3034
|
+
"inactive": true
|
|
3035
|
+
},
|
|
3036
|
+
"tokens": {
|
|
3037
|
+
"iconScale": "{system.iconScale.scale1}"
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3003
3040
|
{
|
|
3004
3041
|
"if": {
|
|
3005
3042
|
"hover": true,
|
|
@@ -3025,7 +3062,9 @@
|
|
|
3025
3062
|
"password": true
|
|
3026
3063
|
},
|
|
3027
3064
|
"tokens": {
|
|
3028
|
-
"borderColor": "{palette.color.mosque}"
|
|
3065
|
+
"borderColor": "{palette.color.mosque}",
|
|
3066
|
+
"borderWidth": "{palette.border.border3}",
|
|
3067
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
3029
3068
|
}
|
|
3030
3069
|
},
|
|
3031
3070
|
{
|
|
@@ -3052,25 +3091,24 @@
|
|
|
3052
3091
|
{
|
|
3053
3092
|
"if": {
|
|
3054
3093
|
"focus": true,
|
|
3055
|
-
"
|
|
3094
|
+
"inverse": true
|
|
3056
3095
|
},
|
|
3057
3096
|
"tokens": {
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3060
|
-
"
|
|
3097
|
+
"backgroundColor": "{system.color.transparent}",
|
|
3098
|
+
"borderColor": "{palette.color.icicle}",
|
|
3099
|
+
"iconColor": "{palette.color.icicle}",
|
|
3100
|
+
"outerBorderColor": "{palette.color.icicle}",
|
|
3101
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3061
3102
|
}
|
|
3062
3103
|
},
|
|
3063
3104
|
{
|
|
3064
3105
|
"if": {
|
|
3065
|
-
"
|
|
3066
|
-
"
|
|
3106
|
+
"inactive": null,
|
|
3107
|
+
"pressed": true
|
|
3067
3108
|
},
|
|
3068
3109
|
"tokens": {
|
|
3069
3110
|
"backgroundColor": "{system.color.transparent}",
|
|
3070
|
-
"
|
|
3071
|
-
"iconColor": "{palette.color.icicle}",
|
|
3072
|
-
"outerBorderColor": "{palette.color.icicle}",
|
|
3073
|
-
"outerBorderWidth": "{palette.border.border1}"
|
|
3111
|
+
"iconColor": "{palette.color.darkMosque}"
|
|
3074
3112
|
}
|
|
3075
3113
|
},
|
|
3076
3114
|
{
|
|
@@ -3202,7 +3240,7 @@
|
|
|
3202
3240
|
"tokens": {
|
|
3203
3241
|
"backgroundColor": "{palette.color.transparent}",
|
|
3204
3242
|
"borderWidth": "{system.border.zero}",
|
|
3205
|
-
"iconColor": "{palette.color.
|
|
3243
|
+
"iconColor": "{palette.color.silverDark}",
|
|
3206
3244
|
"outerBorderColor": "{palette.color.transparent}"
|
|
3207
3245
|
}
|
|
3208
3246
|
},
|
|
@@ -3225,6 +3263,17 @@
|
|
|
3225
3263
|
"tokens": {
|
|
3226
3264
|
"outerBorderGap": "{system.size.zero}"
|
|
3227
3265
|
}
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"if": {
|
|
3269
|
+
"inactive": true
|
|
3270
|
+
},
|
|
3271
|
+
"tokens": {
|
|
3272
|
+
"backgroundColor": "{system.color.transparent}",
|
|
3273
|
+
"iconColor": "{palette.color.silverDark}",
|
|
3274
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
3275
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
3276
|
+
}
|
|
3228
3277
|
}
|
|
3229
3278
|
],
|
|
3230
3279
|
"tokens": {
|
|
@@ -3240,6 +3289,7 @@
|
|
|
3240
3289
|
"borderTopRightRadius": "{system.radius.none}",
|
|
3241
3290
|
"borderTopWidth": "{system.border.none}",
|
|
3242
3291
|
"borderWidth": "{palette.border.border1}",
|
|
3292
|
+
"height": "{system.size.none}",
|
|
3243
3293
|
"icon": "{palette.icon.Add}",
|
|
3244
3294
|
"iconColor": "{palette.color.black}",
|
|
3245
3295
|
"iconScale": "{system.iconScale.scale1}",
|
|
@@ -3250,7 +3300,8 @@
|
|
|
3250
3300
|
"outerBorderGap": "{system.size.zero}",
|
|
3251
3301
|
"outerBorderWidth": "{system.border.zero}",
|
|
3252
3302
|
"padding": "{palette.size.size4}",
|
|
3253
|
-
"shadow": "{system.shadow.none}"
|
|
3303
|
+
"shadow": "{system.shadow.none}",
|
|
3304
|
+
"width": "{system.size.none}"
|
|
3254
3305
|
}
|
|
3255
3306
|
},
|
|
3256
3307
|
"Image": {
|
|
@@ -4659,7 +4710,7 @@
|
|
|
4659
4710
|
"inactive": true
|
|
4660
4711
|
},
|
|
4661
4712
|
"tokens": {
|
|
4662
|
-
"backgroundColor": "{palette.color.
|
|
4713
|
+
"backgroundColor": "{palette.color.silver}",
|
|
4663
4714
|
"outlineColor": "{palette.color.dove}"
|
|
4664
4715
|
}
|
|
4665
4716
|
},
|
|
@@ -7957,12 +8008,40 @@
|
|
|
7957
8008
|
}
|
|
7958
8009
|
},
|
|
7959
8010
|
"WaffleGrid": {
|
|
7960
|
-
"appearances": {
|
|
7961
|
-
|
|
8011
|
+
"appearances": {
|
|
8012
|
+
"viewport": "{appearances.system.viewport}"
|
|
8013
|
+
},
|
|
8014
|
+
"rules": [
|
|
8015
|
+
{
|
|
8016
|
+
"if": {
|
|
8017
|
+
"viewport": ["xs"]
|
|
8018
|
+
},
|
|
8019
|
+
"tokens": {
|
|
8020
|
+
"rowSize": "{system.integer.2}"
|
|
8021
|
+
}
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
"if": {
|
|
8025
|
+
"viewport": ["sm", "md"]
|
|
8026
|
+
},
|
|
8027
|
+
"tokens": {
|
|
8028
|
+
"rowSize": "{system.integer.3}"
|
|
8029
|
+
}
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"if": {
|
|
8033
|
+
"viewport": ["lg", "xl"]
|
|
8034
|
+
},
|
|
8035
|
+
"tokens": {
|
|
8036
|
+
"rowSize": "{system.integer.6}"
|
|
8037
|
+
}
|
|
8038
|
+
}
|
|
8039
|
+
],
|
|
7962
8040
|
"tokens": {
|
|
7963
8041
|
"itemBorderColor": "{palette.color.transparent}",
|
|
7964
8042
|
"itemPadding": "{palette.size.size16}",
|
|
7965
|
-
"rowBorderWidth": "{palette.border.border1}"
|
|
8043
|
+
"rowBorderWidth": "{palette.border.border1}",
|
|
8044
|
+
"rowSize": "{system.integer.6}"
|
|
7966
8045
|
}
|
|
7967
8046
|
},
|
|
7968
8047
|
"spacingScale": {
|