@telus-uds/theme-koodo 3.4.0 → 3.6.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/{schema.json → android/schema.json} +498 -130
- package/build/android/theme.json +4673 -0
- package/build/ios/schema.json +10619 -0
- package/build/ios/theme.json +4673 -0
- package/build/rn/schema.json +10619 -0
- package/build/{theme.js → rn/theme.js} +206 -14
- package/package.json +3 -3
- package/theme.json +182 -7
package/theme.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"appearances": {
|
|
14
14
|
"background": {
|
|
15
15
|
"description": "Background colour of box. Transparent if not specified.",
|
|
16
|
-
"values": ["light", "lightest"]
|
|
16
|
+
"values": ["light", "lightest", "black"]
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"rules": [
|
|
@@ -32,10 +32,19 @@
|
|
|
32
32
|
"tokens": {
|
|
33
33
|
"backgroundColor": "{palette.color.gallery}"
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"if": {
|
|
38
|
+
"background": "black"
|
|
39
|
+
},
|
|
40
|
+
"tokens": {
|
|
41
|
+
"backgroundColor": "{palette.color.black}"
|
|
42
|
+
}
|
|
35
43
|
}
|
|
36
44
|
],
|
|
37
45
|
"tokens": {
|
|
38
|
-
"backgroundColor": "{system.color.none}"
|
|
46
|
+
"backgroundColor": "{system.color.none}",
|
|
47
|
+
"gradient": "{system.gradient.none}"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
41
50
|
"Button": {
|
|
@@ -236,6 +245,142 @@
|
|
|
236
245
|
"paddingTop": "{palette.size.size8}",
|
|
237
246
|
"shadow": "{system.shadow.none}",
|
|
238
247
|
"textAlign": "{system.flexJustifyContent.center}",
|
|
248
|
+
"textLine": "{system.textLine.none}",
|
|
249
|
+
"textLineStyle": "{system.textLineStyle.solid}",
|
|
250
|
+
"width": "{system.size.none}"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"ButtonDropdown": {
|
|
254
|
+
"appearances": {
|
|
255
|
+
"focus": "{appearances.ButtonDropdown.focus}",
|
|
256
|
+
"hover": "{appearances.ButtonDropdown.hover}",
|
|
257
|
+
"inactive": "{appearances.ButtonDropdown.inactive}",
|
|
258
|
+
"open": "{appearances.ButtonDropdown.open}",
|
|
259
|
+
"pressed": "{appearances.ButtonDropdown.pressed}",
|
|
260
|
+
"selected": "{appearances.ButtonDropdown.selected}"
|
|
261
|
+
},
|
|
262
|
+
"rules": [
|
|
263
|
+
{
|
|
264
|
+
"if": {
|
|
265
|
+
"open": true
|
|
266
|
+
},
|
|
267
|
+
"tokens": {
|
|
268
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"if": {
|
|
273
|
+
"pressed": true
|
|
274
|
+
},
|
|
275
|
+
"tokens": {
|
|
276
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
277
|
+
"borderColor": "{palette.color.mosque}",
|
|
278
|
+
"color": "{palette.color.white}"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"if": {
|
|
283
|
+
"focus": true
|
|
284
|
+
},
|
|
285
|
+
"tokens": {
|
|
286
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"if": {
|
|
291
|
+
"hover": true
|
|
292
|
+
},
|
|
293
|
+
"tokens": {
|
|
294
|
+
"backgroundColor": "{palette.color.darkMosque}",
|
|
295
|
+
"iconColor": "{palette.color.darkMosque}"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"if": {
|
|
300
|
+
"selected": true
|
|
301
|
+
},
|
|
302
|
+
"tokens": {
|
|
303
|
+
"opacity": "{palette.opacity.opacity8}",
|
|
304
|
+
"outerBorderColor": "{palette.color.mosque}",
|
|
305
|
+
"outerBorderGap": "{palette.size.size1}",
|
|
306
|
+
"outerBorderWidth": "{palette.border.border4}"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"if": {
|
|
311
|
+
"focus": true,
|
|
312
|
+
"pressed": true
|
|
313
|
+
},
|
|
314
|
+
"tokens": {
|
|
315
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"if": {
|
|
320
|
+
"inactive": true
|
|
321
|
+
},
|
|
322
|
+
"tokens": {
|
|
323
|
+
"backgroundColor": "{palette.color.dove}",
|
|
324
|
+
"borderWidth": "{system.border.zero}",
|
|
325
|
+
"color": "{palette.color.white}",
|
|
326
|
+
"iconColor": "{palette.color.dove}"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"if": {
|
|
331
|
+
"selected": true
|
|
332
|
+
},
|
|
333
|
+
"tokens": {
|
|
334
|
+
"opacity": "{palette.opacity.opacity8}",
|
|
335
|
+
"outerBorderColor": "{palette.color.mosque}",
|
|
336
|
+
"outerBorderGap": "{palette.size.size1}",
|
|
337
|
+
"outerBorderWidth": "{palette.border.border4}"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"if": {
|
|
342
|
+
"focus": true,
|
|
343
|
+
"selected": true
|
|
344
|
+
},
|
|
345
|
+
"tokens": {
|
|
346
|
+
"outerBorderColor": "{palette.color.darkMosque}"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"tokens": {
|
|
351
|
+
"alignSelf": "{system.flexAlign.flexStart}",
|
|
352
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
353
|
+
"borderColor": "{palette.color.darkMosque}",
|
|
354
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
355
|
+
"borderWidth": "{palette.border.none}",
|
|
356
|
+
"color": "{palette.color.white}",
|
|
357
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
358
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
359
|
+
"fontWeight": "{palette.fontWeight.weight600}",
|
|
360
|
+
"icon": "{palette.icon.ChevronDown}",
|
|
361
|
+
"iconAlignSelf": "{system.flexAlign.center}",
|
|
362
|
+
"iconBackground": "{palette.color.white}",
|
|
363
|
+
"iconBorderRadius": "{palette.radius.pill32}",
|
|
364
|
+
"iconColor": "{palette.color.mosque}",
|
|
365
|
+
"iconPadding": "{palette.size.size4}",
|
|
366
|
+
"iconPosition": "{system.position.right}",
|
|
367
|
+
"iconSize": "{palette.size.size20}",
|
|
368
|
+
"iconSpace": "{system.integer.3}",
|
|
369
|
+
"iconTranslateX": "{palette.size.size0}",
|
|
370
|
+
"iconTranslateY": "{palette.size.size0}",
|
|
371
|
+
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
372
|
+
"minWidth": "{system.size.zero}",
|
|
373
|
+
"opacity": "{system.opacity.opaque}",
|
|
374
|
+
"outerBackgroundColor": "{palette.color.transparent}",
|
|
375
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
376
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
377
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
378
|
+
"paddingBottom": "{palette.size.size8}",
|
|
379
|
+
"paddingLeft": "{palette.size.size24}",
|
|
380
|
+
"paddingRight": "{palette.size.size16}",
|
|
381
|
+
"paddingTop": "{palette.size.size8}",
|
|
382
|
+
"shadow": "{system.shadow.none}",
|
|
383
|
+
"textAlign": "{system.flexJustifyContent.center}",
|
|
239
384
|
"width": "{system.size.none}"
|
|
240
385
|
}
|
|
241
386
|
},
|
|
@@ -398,6 +543,7 @@
|
|
|
398
543
|
}
|
|
399
544
|
],
|
|
400
545
|
"tokens": {
|
|
546
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
401
547
|
"nextIcon": "{palette.icon.ChevronRight}",
|
|
402
548
|
"previousIcon": "{palette.icon.ChevronLeft}",
|
|
403
549
|
"showPanelNavigation": "{system.show.true}",
|
|
@@ -599,7 +745,7 @@
|
|
|
599
745
|
"expanded": true
|
|
600
746
|
},
|
|
601
747
|
"tokens": {
|
|
602
|
-
"icon": "{palette.icon.
|
|
748
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
603
749
|
}
|
|
604
750
|
}
|
|
605
751
|
],
|
|
@@ -607,7 +753,7 @@
|
|
|
607
753
|
"backgroundColor": "{palette.color.transparent}",
|
|
608
754
|
"borderColor": "{palette.color.transparent}",
|
|
609
755
|
"borderWidth": "{system.border.zero}",
|
|
610
|
-
"icon": "{palette.icon.
|
|
756
|
+
"icon": "{palette.icon.ChevronDown}",
|
|
611
757
|
"iconColor": "{palette.color.mosque}",
|
|
612
758
|
"iconGap": "{palette.size.size16}",
|
|
613
759
|
"iconPosition": "{system.position.left}",
|
|
@@ -833,12 +979,26 @@
|
|
|
833
979
|
},
|
|
834
980
|
"IconButton": {
|
|
835
981
|
"appearances": {
|
|
982
|
+
"compact": {
|
|
983
|
+
"description": "Without the outer border gap",
|
|
984
|
+
"type": "variant",
|
|
985
|
+
"values": [true]
|
|
986
|
+
},
|
|
836
987
|
"focus": "{appearances.Button.focus}",
|
|
837
988
|
"hover": "{appearances.Button.hover}",
|
|
838
989
|
"inactive": "{appearances.Button.inactive}",
|
|
839
990
|
"pressed": "{appearances.Button.pressed}"
|
|
840
991
|
},
|
|
841
|
-
"rules": [
|
|
992
|
+
"rules": [
|
|
993
|
+
{
|
|
994
|
+
"if": {
|
|
995
|
+
"compact": true
|
|
996
|
+
},
|
|
997
|
+
"tokens": {
|
|
998
|
+
"outerBorderGap": "{system.size.zero}"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
],
|
|
842
1002
|
"tokens": {
|
|
843
1003
|
"backgroundColor": "{system.color.transparent}",
|
|
844
1004
|
"borderColor": "{palette.color.mosque}",
|
|
@@ -1255,6 +1415,7 @@
|
|
|
1255
1415
|
},
|
|
1256
1416
|
"PaginationSideButton": {
|
|
1257
1417
|
"appearances": {
|
|
1418
|
+
"compact": "{appearances.PaginationSideButton.compact}",
|
|
1258
1419
|
"direction": "{appearances.PaginationSideButton.direction}",
|
|
1259
1420
|
"focus": "{appearances.PaginationSideButton.focus}",
|
|
1260
1421
|
"hover": "{appearances.PaginationSideButton.hover}",
|
|
@@ -1263,12 +1424,21 @@
|
|
|
1263
1424
|
"viewport": "{appearances.system.viewport}"
|
|
1264
1425
|
},
|
|
1265
1426
|
"rules": [
|
|
1427
|
+
{
|
|
1428
|
+
"if": {
|
|
1429
|
+
"compact": true
|
|
1430
|
+
},
|
|
1431
|
+
"tokens": {
|
|
1432
|
+
"displayLabel": "{system.show.false}"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1266
1435
|
{
|
|
1267
1436
|
"if": {
|
|
1268
1437
|
"viewport": ["xs", "sm"]
|
|
1269
1438
|
},
|
|
1270
1439
|
"tokens": {
|
|
1271
1440
|
"borderRadius": "{palette.radius.pill32}",
|
|
1441
|
+
"displayLabel": "{system.show.false}",
|
|
1272
1442
|
"paddingBottom": "{palette.size.size4}",
|
|
1273
1443
|
"paddingTop": "{palette.size.size4}",
|
|
1274
1444
|
"width": "{palette.size.size32}"
|
|
@@ -1335,6 +1505,7 @@
|
|
|
1335
1505
|
"borderRadius": "{palette.radius.radius4}",
|
|
1336
1506
|
"borderWidth": "{palette.border.border1}",
|
|
1337
1507
|
"color": "{palette.color.dove}",
|
|
1508
|
+
"displayLabel": "{system.show.true}",
|
|
1338
1509
|
"fontName": "{palette.fontName.StagSans}",
|
|
1339
1510
|
"fontSize": "{palette.fontSize.size16}",
|
|
1340
1511
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
@@ -2514,6 +2685,10 @@
|
|
|
2514
2685
|
"borderColor": "{palette.color.black}",
|
|
2515
2686
|
"borderRadius": "{palette.radius.radius4}",
|
|
2516
2687
|
"borderWidth": "{palette.border.border1}",
|
|
2688
|
+
"buttonSize": "{palette.size.size32}",
|
|
2689
|
+
"buttonsGap": "{palette.size.size1}",
|
|
2690
|
+
"buttonsPaddingRight": "{palette.size.size8}",
|
|
2691
|
+
"clearButtonIcon": "{palette.icon.Times}",
|
|
2517
2692
|
"color": "{palette.color.dove}",
|
|
2518
2693
|
"fontName": "{palette.fontName.StagSans}",
|
|
2519
2694
|
"fontSize": "{palette.fontSize.size16}",
|
|
@@ -2683,8 +2858,8 @@
|
|
|
2683
2858
|
"opacity": "{system.opacity.opaque}",
|
|
2684
2859
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
2685
2860
|
"outerBorderColor": "{palette.color.transparent}",
|
|
2686
|
-
"outerBorderGap": "{palette.size.
|
|
2687
|
-
"outerBorderWidth": "{palette.border.
|
|
2861
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
2862
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
2688
2863
|
"paddingBottom": "{palette.size.size4}",
|
|
2689
2864
|
"paddingLeft": "{palette.size.size8}",
|
|
2690
2865
|
"paddingRight": "{palette.size.size8}",
|