@telus-uds/theme-koodo 3.13.0 → 3.14.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 +506 -382
- package/build/android/theme.json +244 -28
- package/build/ios/schema.json +506 -382
- package/build/ios/theme.json +244 -28
- package/build/rn/schema.json +506 -382
- package/build/rn/theme.js +145 -26
- package/package.json +4 -4
- package/theme.json +222 -29
package/build/ios/theme.json
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"appearances": {
|
|
35
35
|
"background": {
|
|
36
36
|
"description": "Background colour of box. White if not specified.",
|
|
37
|
+
"type": "variant",
|
|
37
38
|
"values": [
|
|
38
39
|
"lightest",
|
|
39
40
|
"lighter",
|
|
@@ -1189,7 +1190,47 @@
|
|
|
1189
1190
|
"type": "state"
|
|
1190
1191
|
}
|
|
1191
1192
|
},
|
|
1192
|
-
"rules": [
|
|
1193
|
+
"rules": [
|
|
1194
|
+
{
|
|
1195
|
+
"if": {
|
|
1196
|
+
"inactive": true
|
|
1197
|
+
},
|
|
1198
|
+
"tokens": {
|
|
1199
|
+
"inputBackgroundColor": {
|
|
1200
|
+
"red": 0.78824,
|
|
1201
|
+
"green": 0.78431,
|
|
1202
|
+
"blue": 0.78431,
|
|
1203
|
+
"alpha": 1
|
|
1204
|
+
},
|
|
1205
|
+
"inputBorderColor": {
|
|
1206
|
+
"red": 0,
|
|
1207
|
+
"green": 0,
|
|
1208
|
+
"blue": 0,
|
|
1209
|
+
"alpha": 0
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"if": {
|
|
1215
|
+
"checked": true,
|
|
1216
|
+
"inactive": true
|
|
1217
|
+
},
|
|
1218
|
+
"tokens": {
|
|
1219
|
+
"iconBackgroundColor": {
|
|
1220
|
+
"red": 0.78824,
|
|
1221
|
+
"green": 0.78431,
|
|
1222
|
+
"blue": 0.78431,
|
|
1223
|
+
"alpha": 1
|
|
1224
|
+
},
|
|
1225
|
+
"iconColor": {
|
|
1226
|
+
"red": 1,
|
|
1227
|
+
"green": 1,
|
|
1228
|
+
"blue": 1,
|
|
1229
|
+
"alpha": 1
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1193
1234
|
"tokens": {
|
|
1194
1235
|
"containerBackgroundColor": {
|
|
1195
1236
|
"red": 0,
|
|
@@ -1941,6 +1982,11 @@
|
|
|
1941
1982
|
"values": [true],
|
|
1942
1983
|
"type": "state"
|
|
1943
1984
|
},
|
|
1985
|
+
"password": {
|
|
1986
|
+
"description": "Password masked or not",
|
|
1987
|
+
"type": "variant",
|
|
1988
|
+
"values": [true]
|
|
1989
|
+
},
|
|
1944
1990
|
"pressed": {
|
|
1945
1991
|
"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.",
|
|
1946
1992
|
"values": [true],
|
|
@@ -1955,6 +2001,73 @@
|
|
|
1955
2001
|
"tokens": {
|
|
1956
2002
|
"outerBorderGap": 0
|
|
1957
2003
|
}
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"if": {
|
|
2007
|
+
"password": true
|
|
2008
|
+
},
|
|
2009
|
+
"tokens": {
|
|
2010
|
+
"borderColor": {
|
|
2011
|
+
"red": 0,
|
|
2012
|
+
"green": 0,
|
|
2013
|
+
"blue": 0,
|
|
2014
|
+
"alpha": 0
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"if": {
|
|
2020
|
+
"password": true,
|
|
2021
|
+
"pressed": true
|
|
2022
|
+
},
|
|
2023
|
+
"tokens": {
|
|
2024
|
+
"backgroundColor": {
|
|
2025
|
+
"red": 0.00392,
|
|
2026
|
+
"green": 0.28235,
|
|
2027
|
+
"blue": 0.27843,
|
|
2028
|
+
"alpha": 1
|
|
2029
|
+
},
|
|
2030
|
+
"iconColor": {
|
|
2031
|
+
"red": 1,
|
|
2032
|
+
"green": 1,
|
|
2033
|
+
"blue": 1,
|
|
2034
|
+
"alpha": 1
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"if": {
|
|
2040
|
+
"inactive": true
|
|
2041
|
+
},
|
|
2042
|
+
"tokens": {
|
|
2043
|
+
"backgroundColor": {
|
|
2044
|
+
"red": 0,
|
|
2045
|
+
"green": 0,
|
|
2046
|
+
"blue": 0,
|
|
2047
|
+
"alpha": 0
|
|
2048
|
+
},
|
|
2049
|
+
"borderWidth": 0,
|
|
2050
|
+
"iconColor": {
|
|
2051
|
+
"red": 1,
|
|
2052
|
+
"green": 1,
|
|
2053
|
+
"blue": 1,
|
|
2054
|
+
"alpha": 1
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"if": {
|
|
2060
|
+
"inactive": true,
|
|
2061
|
+
"password": true
|
|
2062
|
+
},
|
|
2063
|
+
"tokens": {
|
|
2064
|
+
"iconColor": {
|
|
2065
|
+
"red": 0.78824,
|
|
2066
|
+
"green": 0.78431,
|
|
2067
|
+
"blue": 0.78431,
|
|
2068
|
+
"alpha": 1
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
1958
2071
|
}
|
|
1959
2072
|
],
|
|
1960
2073
|
"tokens": {
|
|
@@ -4555,6 +4668,11 @@
|
|
|
4555
4668
|
"values": [true],
|
|
4556
4669
|
"type": "state"
|
|
4557
4670
|
},
|
|
4671
|
+
"password": {
|
|
4672
|
+
"description": "capability that helps masking and unmasking text",
|
|
4673
|
+
"type": "variant",
|
|
4674
|
+
"values": [true]
|
|
4675
|
+
},
|
|
4558
4676
|
"validation": {
|
|
4559
4677
|
"description": "Validation states for form inputs",
|
|
4560
4678
|
"values": ["error", "success"],
|
|
@@ -4691,7 +4809,9 @@
|
|
|
4691
4809
|
"paddingBottom": 10,
|
|
4692
4810
|
"paddingLeft": 16,
|
|
4693
4811
|
"paddingRight": 16,
|
|
4694
|
-
"paddingTop": 10
|
|
4812
|
+
"paddingTop": 10,
|
|
4813
|
+
"passwordHideButtonIcon": "PaletteIconEyeMasked",
|
|
4814
|
+
"passwordShowButtonIcon": "PaletteIconEyeUnmasked"
|
|
4695
4815
|
}
|
|
4696
4816
|
},
|
|
4697
4817
|
"Timeline": {
|
|
@@ -5037,6 +5157,11 @@
|
|
|
5037
5157
|
"type": "variant",
|
|
5038
5158
|
"values": ["red"]
|
|
5039
5159
|
},
|
|
5160
|
+
"compact": {
|
|
5161
|
+
"description": "Reduces line height on some body text styles. For data-rich content, not for flow content",
|
|
5162
|
+
"type": "variant",
|
|
5163
|
+
"values": [true]
|
|
5164
|
+
},
|
|
5040
5165
|
"inverse": {
|
|
5041
5166
|
"description": "Styles the link white for use on dark backgrounds.",
|
|
5042
5167
|
"type": "variant",
|
|
@@ -5044,7 +5169,20 @@
|
|
|
5044
5169
|
},
|
|
5045
5170
|
"size": {
|
|
5046
5171
|
"type": "variant",
|
|
5047
|
-
"values": [
|
|
5172
|
+
"values": [
|
|
5173
|
+
"micro",
|
|
5174
|
+
"small",
|
|
5175
|
+
"medium",
|
|
5176
|
+
"large",
|
|
5177
|
+
"h1",
|
|
5178
|
+
"h2",
|
|
5179
|
+
"h3",
|
|
5180
|
+
"h4",
|
|
5181
|
+
"h5",
|
|
5182
|
+
"h6",
|
|
5183
|
+
"display1",
|
|
5184
|
+
"display2"
|
|
5185
|
+
]
|
|
5048
5186
|
},
|
|
5049
5187
|
"viewport": {
|
|
5050
5188
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
@@ -5082,7 +5220,34 @@
|
|
|
5082
5220
|
},
|
|
5083
5221
|
"tokens": {
|
|
5084
5222
|
"fontSize": 20,
|
|
5085
|
-
"lineHeight": 1.
|
|
5223
|
+
"lineHeight": 1.4
|
|
5224
|
+
}
|
|
5225
|
+
},
|
|
5226
|
+
{
|
|
5227
|
+
"if": {
|
|
5228
|
+
"compact": true,
|
|
5229
|
+
"size": "large"
|
|
5230
|
+
},
|
|
5231
|
+
"tokens": {
|
|
5232
|
+
"lineHeight": 1.2
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"if": {
|
|
5237
|
+
"size": "medium"
|
|
5238
|
+
},
|
|
5239
|
+
"tokens": {
|
|
5240
|
+
"fontSize": 16,
|
|
5241
|
+
"lineHeight": 1.5
|
|
5242
|
+
}
|
|
5243
|
+
},
|
|
5244
|
+
{
|
|
5245
|
+
"if": {
|
|
5246
|
+
"compact": true,
|
|
5247
|
+
"size": "medium"
|
|
5248
|
+
},
|
|
5249
|
+
"tokens": {
|
|
5250
|
+
"lineHeight": 1.25
|
|
5086
5251
|
}
|
|
5087
5252
|
},
|
|
5088
5253
|
{
|
|
@@ -5091,28 +5256,76 @@
|
|
|
5091
5256
|
},
|
|
5092
5257
|
"tokens": {
|
|
5093
5258
|
"fontSize": 14,
|
|
5094
|
-
"lineHeight": 1.
|
|
5259
|
+
"lineHeight": 1.42857142857
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"if": {
|
|
5264
|
+
"compact": true,
|
|
5265
|
+
"size": "small"
|
|
5266
|
+
},
|
|
5267
|
+
"tokens": {
|
|
5268
|
+
"lineHeight": 1.14285714286
|
|
5095
5269
|
}
|
|
5096
5270
|
},
|
|
5097
5271
|
{
|
|
5098
5272
|
"if": {
|
|
5099
|
-
"size": "
|
|
5273
|
+
"size": "micro"
|
|
5274
|
+
},
|
|
5275
|
+
"tokens": {
|
|
5276
|
+
"fontSize": 12,
|
|
5277
|
+
"lineHeight": 1.33333333333
|
|
5278
|
+
}
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"if": {
|
|
5282
|
+
"compact": true,
|
|
5283
|
+
"size": "micro"
|
|
5284
|
+
},
|
|
5285
|
+
"tokens": {
|
|
5286
|
+
"lineHeight": 1.33333333333
|
|
5287
|
+
}
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"if": {
|
|
5291
|
+
"size": "display1"
|
|
5100
5292
|
},
|
|
5101
5293
|
"tokens": {
|
|
5102
5294
|
"fontName": "StagSans",
|
|
5103
|
-
"fontSize":
|
|
5295
|
+
"fontSize": 44,
|
|
5104
5296
|
"fontWeight": 700,
|
|
5297
|
+
"lineHeight": 1.22222222222
|
|
5298
|
+
}
|
|
5299
|
+
},
|
|
5300
|
+
{
|
|
5301
|
+
"if": {
|
|
5302
|
+
"size": "display1",
|
|
5303
|
+
"viewport": ["lg", "xl"]
|
|
5304
|
+
},
|
|
5305
|
+
"tokens": {
|
|
5306
|
+
"fontSize": 70,
|
|
5105
5307
|
"lineHeight": 1.2
|
|
5106
5308
|
}
|
|
5107
5309
|
},
|
|
5108
5310
|
{
|
|
5109
5311
|
"if": {
|
|
5110
|
-
"size": "
|
|
5312
|
+
"size": "display2"
|
|
5313
|
+
},
|
|
5314
|
+
"tokens": {
|
|
5315
|
+
"fontName": "StagSans",
|
|
5316
|
+
"fontSize": 36,
|
|
5317
|
+
"fontWeight": 700,
|
|
5318
|
+
"lineHeight": 1.22222222222
|
|
5319
|
+
}
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
"if": {
|
|
5323
|
+
"size": "display2",
|
|
5111
5324
|
"viewport": ["lg", "xl"]
|
|
5112
5325
|
},
|
|
5113
5326
|
"tokens": {
|
|
5114
|
-
"fontSize":
|
|
5115
|
-
"lineHeight": 1.
|
|
5327
|
+
"fontSize": 54,
|
|
5328
|
+
"lineHeight": 1.14285714286
|
|
5116
5329
|
}
|
|
5117
5330
|
},
|
|
5118
5331
|
{
|
|
@@ -5121,9 +5334,9 @@
|
|
|
5121
5334
|
},
|
|
5122
5335
|
"tokens": {
|
|
5123
5336
|
"fontName": "StagSans",
|
|
5124
|
-
"fontSize":
|
|
5337
|
+
"fontSize": 34,
|
|
5125
5338
|
"fontWeight": 700,
|
|
5126
|
-
"lineHeight": 1.
|
|
5339
|
+
"lineHeight": 1.22222222222
|
|
5127
5340
|
}
|
|
5128
5341
|
},
|
|
5129
5342
|
{
|
|
@@ -5132,8 +5345,8 @@
|
|
|
5132
5345
|
"viewport": ["lg", "xl"]
|
|
5133
5346
|
},
|
|
5134
5347
|
"tokens": {
|
|
5135
|
-
"fontSize":
|
|
5136
|
-
"lineHeight": 1.
|
|
5348
|
+
"fontSize": 44,
|
|
5349
|
+
"lineHeight": 1.22222222222
|
|
5137
5350
|
}
|
|
5138
5351
|
},
|
|
5139
5352
|
{
|
|
@@ -5148,50 +5361,53 @@
|
|
|
5148
5361
|
"alpha": 1
|
|
5149
5362
|
},
|
|
5150
5363
|
"fontName": "StagSans",
|
|
5151
|
-
"fontSize":
|
|
5364
|
+
"fontSize": 32,
|
|
5152
5365
|
"fontWeight": 700,
|
|
5153
|
-
"lineHeight": 1.
|
|
5366
|
+
"lineHeight": 1.25
|
|
5154
5367
|
}
|
|
5155
5368
|
},
|
|
5156
5369
|
{
|
|
5157
5370
|
"if": {
|
|
5158
|
-
"size": "
|
|
5159
|
-
"viewport": ["lg", "xl"]
|
|
5371
|
+
"size": "h3"
|
|
5160
5372
|
},
|
|
5161
5373
|
"tokens": {
|
|
5162
|
-
"
|
|
5374
|
+
"fontName": "StagSans",
|
|
5375
|
+
"fontSize": 24,
|
|
5376
|
+
"fontWeight": 700,
|
|
5377
|
+
"lineHeight": 1.33333333333
|
|
5163
5378
|
}
|
|
5164
5379
|
},
|
|
5165
5380
|
{
|
|
5166
5381
|
"if": {
|
|
5167
|
-
"size": "
|
|
5382
|
+
"size": "h4"
|
|
5168
5383
|
},
|
|
5169
5384
|
"tokens": {
|
|
5170
5385
|
"fontName": "StagSans",
|
|
5171
5386
|
"fontSize": 20,
|
|
5172
5387
|
"fontWeight": 700,
|
|
5173
|
-
"lineHeight": 1.
|
|
5388
|
+
"lineHeight": 1.2
|
|
5174
5389
|
}
|
|
5175
5390
|
},
|
|
5176
5391
|
{
|
|
5177
5392
|
"if": {
|
|
5178
|
-
"size": "
|
|
5179
|
-
"viewport": ["lg", "xl"]
|
|
5393
|
+
"size": "h5"
|
|
5180
5394
|
},
|
|
5181
5395
|
"tokens": {
|
|
5182
|
-
"
|
|
5183
|
-
"
|
|
5396
|
+
"fontName": "StagSans",
|
|
5397
|
+
"fontSize": 18,
|
|
5398
|
+
"fontWeight": 700,
|
|
5399
|
+
"lineHeight": 1.22222222222
|
|
5184
5400
|
}
|
|
5185
5401
|
},
|
|
5186
5402
|
{
|
|
5187
5403
|
"if": {
|
|
5188
|
-
"size": "
|
|
5404
|
+
"size": "h6"
|
|
5189
5405
|
},
|
|
5190
5406
|
"tokens": {
|
|
5191
5407
|
"fontName": "StagSans",
|
|
5192
5408
|
"fontSize": 16,
|
|
5193
5409
|
"fontWeight": 700,
|
|
5194
|
-
"lineHeight": 1.
|
|
5410
|
+
"lineHeight": 1.25
|
|
5195
5411
|
}
|
|
5196
5412
|
},
|
|
5197
5413
|
{
|
|
@@ -5424,7 +5640,7 @@
|
|
|
5424
5640
|
}
|
|
5425
5641
|
},
|
|
5426
5642
|
"metadata": {
|
|
5427
|
-
"themeTokensVersion": "2.
|
|
5643
|
+
"themeTokensVersion": "2.13.0",
|
|
5428
5644
|
"name": "theme-koodo"
|
|
5429
5645
|
}
|
|
5430
5646
|
}
|