@telus-uds/theme-koodo 3.16.0 → 3.17.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 +639 -440
- package/build/android/theme.json +186 -11
- package/build/ios/schema.json +639 -440
- package/build/ios/theme.json +186 -11
- package/build/rn/schema.json +639 -440
- package/build/rn/theme.js +111 -7
- package/package.json +4 -4
- package/theme.json +123 -5
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, 04 Apr 2023 14:44:52 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -2297,14 +2297,87 @@ module.exports = {
|
|
|
2297
2297
|
}
|
|
2298
2298
|
},
|
|
2299
2299
|
rules: [
|
|
2300
|
+
{
|
|
2301
|
+
if: { error: true },
|
|
2302
|
+
tokens: {
|
|
2303
|
+
inputBackgroundColor: '#ffffff',
|
|
2304
|
+
inputBorderColor: '#ffffff',
|
|
2305
|
+
inputOutlineColor: '#016b6a',
|
|
2306
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2307
|
+
outerBorderGap: 0,
|
|
2308
|
+
outerBorderWidth: 0
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2300
2311
|
{
|
|
2301
2312
|
if: { focus: true },
|
|
2302
|
-
tokens: {
|
|
2313
|
+
tokens: {
|
|
2314
|
+
outerBorderColor: '#17367d',
|
|
2315
|
+
outerBorderGap: 5,
|
|
2316
|
+
outerBorderWidth: 1
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
if: { checked: true, focus: true },
|
|
2321
|
+
tokens: {
|
|
2322
|
+
inputBackgroundColor: '#016b6a',
|
|
2323
|
+
inputBorderColor: '#ffffff',
|
|
2324
|
+
inputOutlineColor: '#016b6a',
|
|
2325
|
+
outerBorderColor: '#17367d',
|
|
2326
|
+
outerBorderGap: 5,
|
|
2327
|
+
outerBorderWidth: 1
|
|
2328
|
+
}
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
if: { hover: true },
|
|
2332
|
+
tokens: {
|
|
2333
|
+
outerBorderColor: '#17367d',
|
|
2334
|
+
outerBorderGap: 5,
|
|
2335
|
+
outerBorderWidth: 1
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
if: { checked: true, hover: true },
|
|
2340
|
+
tokens: {
|
|
2341
|
+
inputBackgroundColor: '#016b6a',
|
|
2342
|
+
inputBorderColor: '#ffffff',
|
|
2343
|
+
inputOutlineColor: '#016b6a',
|
|
2344
|
+
outerBorderColor: '#17367d',
|
|
2345
|
+
outerBorderGap: 5,
|
|
2346
|
+
outerBorderWidth: 1
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
if: { checked: true },
|
|
2351
|
+
tokens: {
|
|
2352
|
+
inputBackgroundColor: '#016b6a',
|
|
2353
|
+
inputOutlineColor: '#016b6a'
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
if: { inactive: true },
|
|
2358
|
+
tokens: {
|
|
2359
|
+
inputBackgroundColor: '#c9c8c8',
|
|
2360
|
+
inputBorderColor: '#c9c8c8',
|
|
2361
|
+
inputOutlineColor: '#c9c8c8',
|
|
2362
|
+
labelColor: '#666666'
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
if: { checked: true, inactive: true },
|
|
2367
|
+
tokens: {
|
|
2368
|
+
checkedBackgroundColor: '#c9c8c8',
|
|
2369
|
+
inputBackgroundColor: '#c9c8c8',
|
|
2370
|
+
inputBorderColor: '#ffffff',
|
|
2371
|
+
inputBorderWidth: 3,
|
|
2372
|
+
inputOutlineColor: '#c9c8c8',
|
|
2373
|
+
inputOutlineWidth: 1,
|
|
2374
|
+
labelColor: '#666666'
|
|
2375
|
+
}
|
|
2303
2376
|
}
|
|
2304
2377
|
],
|
|
2305
2378
|
tokens: {
|
|
2306
2379
|
checkedBackgroundColor: '#016b6a',
|
|
2307
|
-
checkedSize:
|
|
2380
|
+
checkedSize: 16,
|
|
2308
2381
|
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2309
2382
|
containerBorderRadius: 0,
|
|
2310
2383
|
containerOpacity: 1,
|
|
@@ -2317,10 +2390,10 @@ module.exports = {
|
|
|
2317
2390
|
descriptionLineHeight: 1.4,
|
|
2318
2391
|
descriptionMarginLeft: null,
|
|
2319
2392
|
inputBackgroundColor: '#ffffff',
|
|
2320
|
-
inputBorderColor: '#
|
|
2393
|
+
inputBorderColor: '#ffffff',
|
|
2321
2394
|
inputBorderWidth: 2,
|
|
2322
|
-
inputOutlineColor: '
|
|
2323
|
-
inputOutlineWidth:
|
|
2395
|
+
inputOutlineColor: '#016b6a',
|
|
2396
|
+
inputOutlineWidth: 2,
|
|
2324
2397
|
inputSize: 20,
|
|
2325
2398
|
labelColor: '#000000',
|
|
2326
2399
|
labelFontName: 'StagSans',
|
|
@@ -2481,6 +2554,37 @@ module.exports = {
|
|
|
2481
2554
|
tokens: { direction: 'row', fieldSpace: 2, space: 2 }
|
|
2482
2555
|
},
|
|
2483
2556
|
RadioGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
|
|
2557
|
+
Ribbon: {
|
|
2558
|
+
appearances: {
|
|
2559
|
+
purpose: {
|
|
2560
|
+
type: 'variant',
|
|
2561
|
+
values: [ 'offer', 'default', 'editorial' ]
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
rules: [],
|
|
2565
|
+
tokens: {
|
|
2566
|
+
backgroundColor: '#000000',
|
|
2567
|
+
borderRadius: 4,
|
|
2568
|
+
boxShadowColor: '#000000',
|
|
2569
|
+
boxShadowPaddingBottom: 2,
|
|
2570
|
+
boxShadowPaddingLeft: 2,
|
|
2571
|
+
boxShadowPaddingRight: 2,
|
|
2572
|
+
boxShadowPaddingTop: 2,
|
|
2573
|
+
curveAfterBackgroundColor: '#000000',
|
|
2574
|
+
curveAfterHeight: 4,
|
|
2575
|
+
curveAfterRadius: 8,
|
|
2576
|
+
curveAfterWidth: 8,
|
|
2577
|
+
curveBackgroundColor: '#000000',
|
|
2578
|
+
curveHeight: 10,
|
|
2579
|
+
curveMarginTop: 4,
|
|
2580
|
+
curveWidth: 8,
|
|
2581
|
+
gradient: null,
|
|
2582
|
+
paddingBottom: 4,
|
|
2583
|
+
paddingLeft: 8,
|
|
2584
|
+
paddingRight: 8,
|
|
2585
|
+
paddingTop: 4
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2484
2588
|
Search: {
|
|
2485
2589
|
appearances: {
|
|
2486
2590
|
focus: {
|
|
@@ -3708,5 +3812,5 @@ module.exports = {
|
|
|
3708
3812
|
tokens: { size: 96 }
|
|
3709
3813
|
}
|
|
3710
3814
|
},
|
|
3711
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
3815
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.16.0' }
|
|
3712
3816
|
}
|
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.9.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.16.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.9.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.17.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -3007,19 +3007,106 @@
|
|
|
3007
3007
|
"inactive": "{appearances.Radio.inactive}"
|
|
3008
3008
|
},
|
|
3009
3009
|
"rules": [
|
|
3010
|
+
{
|
|
3011
|
+
"if": {
|
|
3012
|
+
"error": true
|
|
3013
|
+
},
|
|
3014
|
+
"tokens": {
|
|
3015
|
+
"inputBackgroundColor": "{palette.color.white}",
|
|
3016
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3017
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3018
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
3019
|
+
"outerBorderGap": "{system.size.zero}",
|
|
3020
|
+
"outerBorderWidth": "{system.border.zero}"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3010
3023
|
{
|
|
3011
3024
|
"if": {
|
|
3012
3025
|
"focus": true
|
|
3013
3026
|
},
|
|
3014
3027
|
"tokens": {
|
|
3028
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3029
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3030
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"if": {
|
|
3035
|
+
"checked": true,
|
|
3036
|
+
"focus": true
|
|
3037
|
+
},
|
|
3038
|
+
"tokens": {
|
|
3039
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3040
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3041
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3042
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3043
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3044
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3045
|
+
}
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"if": {
|
|
3049
|
+
"hover": true
|
|
3050
|
+
},
|
|
3051
|
+
"tokens": {
|
|
3052
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3053
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3054
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
"if": {
|
|
3059
|
+
"checked": true,
|
|
3060
|
+
"hover": true
|
|
3061
|
+
},
|
|
3062
|
+
"tokens": {
|
|
3063
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3064
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3065
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3066
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3067
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3068
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"if": {
|
|
3073
|
+
"checked": true
|
|
3074
|
+
},
|
|
3075
|
+
"tokens": {
|
|
3076
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3077
|
+
"inputOutlineColor": "{palette.color.mosque}"
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"if": {
|
|
3082
|
+
"inactive": true
|
|
3083
|
+
},
|
|
3084
|
+
"tokens": {
|
|
3085
|
+
"inputBackgroundColor": "{palette.color.silver}",
|
|
3086
|
+
"inputBorderColor": "{palette.color.silver}",
|
|
3015
3087
|
"inputOutlineColor": "{palette.color.silver}",
|
|
3016
|
-
"
|
|
3088
|
+
"labelColor": "{palette.color.dove}"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"if": {
|
|
3093
|
+
"checked": true,
|
|
3094
|
+
"inactive": true
|
|
3095
|
+
},
|
|
3096
|
+
"tokens": {
|
|
3097
|
+
"checkedBackgroundColor": "{palette.color.silver}",
|
|
3098
|
+
"inputBackgroundColor": "{palette.color.silver}",
|
|
3099
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3100
|
+
"inputBorderWidth": "{palette.border.border3}",
|
|
3101
|
+
"inputOutlineColor": "{palette.color.silver}",
|
|
3102
|
+
"inputOutlineWidth": "{palette.border.border1}",
|
|
3103
|
+
"labelColor": "{palette.color.dove}"
|
|
3017
3104
|
}
|
|
3018
3105
|
}
|
|
3019
3106
|
],
|
|
3020
3107
|
"tokens": {
|
|
3021
3108
|
"checkedBackgroundColor": "{palette.color.mosque}",
|
|
3022
|
-
"checkedSize": "{palette.size.
|
|
3109
|
+
"checkedSize": "{palette.size.size16}",
|
|
3023
3110
|
"containerBackgroundColor": "{palette.color.transparent}",
|
|
3024
3111
|
"containerBorderRadius": "{palette.radius.none}",
|
|
3025
3112
|
"containerOpacity": "{system.opacity.opaque}",
|
|
@@ -3032,10 +3119,10 @@
|
|
|
3032
3119
|
"descriptionLineHeight": "{palette.lineHeight.multiply140}",
|
|
3033
3120
|
"descriptionMarginLeft": "{system.size.none}",
|
|
3034
3121
|
"inputBackgroundColor": "{palette.color.white}",
|
|
3035
|
-
"inputBorderColor": "{palette.color.
|
|
3122
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3036
3123
|
"inputBorderWidth": "{palette.border.border2}",
|
|
3037
|
-
"inputOutlineColor": "{palette.color.
|
|
3038
|
-
"inputOutlineWidth": "{palette.border.
|
|
3124
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3125
|
+
"inputOutlineWidth": "{palette.border.border2}",
|
|
3039
3126
|
"inputSize": "{palette.size.size20}",
|
|
3040
3127
|
"labelColor": "{palette.color.black}",
|
|
3041
3128
|
"labelFontName": "{palette.fontName.StagSans}",
|
|
@@ -3193,6 +3280,37 @@
|
|
|
3193
3280
|
"space": "{system.integer.2}"
|
|
3194
3281
|
}
|
|
3195
3282
|
},
|
|
3283
|
+
"Ribbon": {
|
|
3284
|
+
"appearances": {
|
|
3285
|
+
"purpose": {
|
|
3286
|
+
"type": "variant",
|
|
3287
|
+
"values": ["offer", "default", "editorial"]
|
|
3288
|
+
}
|
|
3289
|
+
},
|
|
3290
|
+
"rules": [],
|
|
3291
|
+
"tokens": {
|
|
3292
|
+
"backgroundColor": "{palette.color.black}",
|
|
3293
|
+
"borderRadius": "{palette.size.size4}",
|
|
3294
|
+
"boxShadowColor": "{palette.color.black}",
|
|
3295
|
+
"boxShadowPaddingBottom": "{palette.size.size2}",
|
|
3296
|
+
"boxShadowPaddingLeft": "{palette.size.size2}",
|
|
3297
|
+
"boxShadowPaddingRight": "{palette.size.size2}",
|
|
3298
|
+
"boxShadowPaddingTop": "{palette.size.size2}",
|
|
3299
|
+
"curveAfterBackgroundColor": "{palette.color.black}",
|
|
3300
|
+
"curveAfterHeight": "{palette.size.size4}",
|
|
3301
|
+
"curveAfterRadius": "{palette.size.size8}",
|
|
3302
|
+
"curveAfterWidth": "{palette.size.size8}",
|
|
3303
|
+
"curveBackgroundColor": "{palette.color.black}",
|
|
3304
|
+
"curveHeight": "{palette.size.size10}",
|
|
3305
|
+
"curveMarginTop": "{palette.size.size4}",
|
|
3306
|
+
"curveWidth": "{palette.size.size8}",
|
|
3307
|
+
"gradient": "{system.gradient.none}",
|
|
3308
|
+
"paddingBottom": "{palette.size.size4}",
|
|
3309
|
+
"paddingLeft": "{palette.size.size8}",
|
|
3310
|
+
"paddingRight": "{palette.size.size8}",
|
|
3311
|
+
"paddingTop": "{palette.size.size4}"
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
3196
3314
|
"Search": {
|
|
3197
3315
|
"appearances": {
|
|
3198
3316
|
"focus": "{appearances.Search.focus}",
|