@telus-uds/theme-koodo 3.29.0 → 3.30.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 +748 -553
- package/build/android/theme.json +227 -74
- package/build/ios/schema.json +748 -553
- package/build/ios/theme.json +227 -74
- package/build/rn/schema.json +748 -553
- package/build/rn/theme.js +149 -71
- package/package.json +4 -4
- package/theme.json +154 -66
package/build/android/theme.json
CHANGED
|
@@ -1233,8 +1233,31 @@
|
|
|
1233
1233
|
}
|
|
1234
1234
|
},
|
|
1235
1235
|
"ButtonGroup": {
|
|
1236
|
-
"appearances": {
|
|
1237
|
-
|
|
1236
|
+
"appearances": {
|
|
1237
|
+
"viewport": {
|
|
1238
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1239
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
1240
|
+
"type": "state"
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
"rules": [
|
|
1244
|
+
{
|
|
1245
|
+
"if": {
|
|
1246
|
+
"viewport": ["xs", "sm"]
|
|
1247
|
+
},
|
|
1248
|
+
"tokens": {
|
|
1249
|
+
"space": 2
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"if": {
|
|
1254
|
+
"viewport": ["md", "lg", "xl"]
|
|
1255
|
+
},
|
|
1256
|
+
"tokens": {
|
|
1257
|
+
"space": 3
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
1238
1261
|
"tokens": {
|
|
1239
1262
|
"alignItems": "center",
|
|
1240
1263
|
"direction": "row",
|
|
@@ -1242,7 +1265,7 @@
|
|
|
1242
1265
|
"flexGrow": 0,
|
|
1243
1266
|
"flexShrink": 0,
|
|
1244
1267
|
"justifyContent": "flex-start",
|
|
1245
|
-
"space":
|
|
1268
|
+
"space": 2
|
|
1246
1269
|
}
|
|
1247
1270
|
},
|
|
1248
1271
|
"ButtonGroupItem": {
|
|
@@ -1275,15 +1298,9 @@
|
|
|
1275
1298
|
},
|
|
1276
1299
|
"tokens": {
|
|
1277
1300
|
"backgroundColor": {
|
|
1278
|
-
"red": 0.
|
|
1279
|
-
"green": 0.
|
|
1280
|
-
"blue": 0.
|
|
1281
|
-
"alpha": 1
|
|
1282
|
-
},
|
|
1283
|
-
"borderColor": {
|
|
1284
|
-
"red": 0.00392,
|
|
1285
|
-
"green": 0.41961,
|
|
1286
|
-
"blue": 0.41569,
|
|
1301
|
+
"red": 0.10588,
|
|
1302
|
+
"green": 0.27843,
|
|
1303
|
+
"blue": 0.27451,
|
|
1287
1304
|
"alpha": 1
|
|
1288
1305
|
},
|
|
1289
1306
|
"color": {
|
|
@@ -1299,29 +1316,32 @@
|
|
|
1299
1316
|
"selected": true
|
|
1300
1317
|
},
|
|
1301
1318
|
"tokens": {
|
|
1302
|
-
"
|
|
1303
|
-
"outerBorderColor": {
|
|
1319
|
+
"backgroundColor": {
|
|
1304
1320
|
"red": 0.00392,
|
|
1305
1321
|
"green": 0.41961,
|
|
1306
1322
|
"blue": 0.41569,
|
|
1307
1323
|
"alpha": 1
|
|
1308
1324
|
},
|
|
1309
|
-
"
|
|
1310
|
-
|
|
1325
|
+
"color": {
|
|
1326
|
+
"red": 1,
|
|
1327
|
+
"green": 1,
|
|
1328
|
+
"blue": 1,
|
|
1329
|
+
"alpha": 1
|
|
1330
|
+
}
|
|
1311
1331
|
}
|
|
1312
1332
|
},
|
|
1313
1333
|
{
|
|
1314
1334
|
"if": {
|
|
1315
|
-
"
|
|
1335
|
+
"pressed": true,
|
|
1336
|
+
"selected": true
|
|
1316
1337
|
},
|
|
1317
1338
|
"tokens": {
|
|
1318
1339
|
"backgroundColor": {
|
|
1319
|
-
"red": 0.
|
|
1320
|
-
"green": 0.
|
|
1321
|
-
"blue": 0.
|
|
1340
|
+
"red": 0.10588,
|
|
1341
|
+
"green": 0.27843,
|
|
1342
|
+
"blue": 0.27451,
|
|
1322
1343
|
"alpha": 1
|
|
1323
1344
|
},
|
|
1324
|
-
"borderWidth": 0,
|
|
1325
1345
|
"color": {
|
|
1326
1346
|
"red": 1,
|
|
1327
1347
|
"green": 1,
|
|
@@ -1332,18 +1352,22 @@
|
|
|
1332
1352
|
},
|
|
1333
1353
|
{
|
|
1334
1354
|
"if": {
|
|
1335
|
-
"
|
|
1355
|
+
"inactive": true
|
|
1336
1356
|
},
|
|
1337
1357
|
"tokens": {
|
|
1338
|
-
"
|
|
1339
|
-
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1342
|
-
"blue": 0.41569,
|
|
1358
|
+
"backgroundColor": {
|
|
1359
|
+
"red": 0.78824,
|
|
1360
|
+
"green": 0.78431,
|
|
1361
|
+
"blue": 0.78431,
|
|
1343
1362
|
"alpha": 1
|
|
1344
1363
|
},
|
|
1345
|
-
"
|
|
1346
|
-
"
|
|
1364
|
+
"borderWidth": 0,
|
|
1365
|
+
"color": {
|
|
1366
|
+
"red": 1,
|
|
1367
|
+
"green": 1,
|
|
1368
|
+
"blue": 1,
|
|
1369
|
+
"alpha": 1
|
|
1370
|
+
}
|
|
1347
1371
|
}
|
|
1348
1372
|
},
|
|
1349
1373
|
{
|
|
@@ -1358,32 +1382,32 @@
|
|
|
1358
1382
|
"tokens": {
|
|
1359
1383
|
"alignSelf": "flex-start",
|
|
1360
1384
|
"backgroundColor": {
|
|
1361
|
-
"red":
|
|
1362
|
-
"green":
|
|
1363
|
-
"blue":
|
|
1385
|
+
"red": 1,
|
|
1386
|
+
"green": 1,
|
|
1387
|
+
"blue": 1,
|
|
1364
1388
|
"alpha": 1
|
|
1365
1389
|
},
|
|
1366
1390
|
"borderColor": {
|
|
1367
|
-
"red": 0.
|
|
1368
|
-
"green": 0.
|
|
1369
|
-
"blue": 0.
|
|
1391
|
+
"red": 0.00392,
|
|
1392
|
+
"green": 0.41961,
|
|
1393
|
+
"blue": 0.41569,
|
|
1370
1394
|
"alpha": 1
|
|
1371
1395
|
},
|
|
1372
1396
|
"borderRadius": 4,
|
|
1373
|
-
"borderWidth":
|
|
1397
|
+
"borderWidth": 1,
|
|
1374
1398
|
"color": {
|
|
1375
|
-
"red":
|
|
1376
|
-
"green":
|
|
1377
|
-
"blue":
|
|
1399
|
+
"red": 0.00392,
|
|
1400
|
+
"green": 0.41961,
|
|
1401
|
+
"blue": 0.41569,
|
|
1378
1402
|
"alpha": 1
|
|
1379
1403
|
},
|
|
1380
1404
|
"fontName": "StagSans",
|
|
1381
|
-
"fontSize":
|
|
1405
|
+
"fontSize": 16,
|
|
1382
1406
|
"fontWeight": 600,
|
|
1383
|
-
"height":
|
|
1407
|
+
"height": 48,
|
|
1384
1408
|
"iconSize": 20,
|
|
1385
|
-
"iconSpace":
|
|
1386
|
-
"lineHeight": 1.
|
|
1409
|
+
"iconSpace": 2,
|
|
1410
|
+
"lineHeight": 1.5,
|
|
1387
1411
|
"minWidth": 0,
|
|
1388
1412
|
"opacity": 1,
|
|
1389
1413
|
"outerBackgroundColor": {
|
|
@@ -1398,8 +1422,8 @@
|
|
|
1398
1422
|
"blue": 0,
|
|
1399
1423
|
"alpha": 0
|
|
1400
1424
|
},
|
|
1401
|
-
"outerBorderGap":
|
|
1402
|
-
"outerBorderWidth":
|
|
1425
|
+
"outerBorderGap": 3,
|
|
1426
|
+
"outerBorderWidth": 1,
|
|
1403
1427
|
"paddingBottom": 8,
|
|
1404
1428
|
"paddingLeft": 24,
|
|
1405
1429
|
"paddingRight": 24,
|
|
@@ -2655,6 +2679,47 @@
|
|
|
2655
2679
|
"titleFontSize": 16
|
|
2656
2680
|
}
|
|
2657
2681
|
},
|
|
2682
|
+
"Fieldset": {
|
|
2683
|
+
"appearances": {
|
|
2684
|
+
"error": {
|
|
2685
|
+
"type": "variant",
|
|
2686
|
+
"values": [true]
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
"rules": [
|
|
2690
|
+
{
|
|
2691
|
+
"if": {
|
|
2692
|
+
"error": true
|
|
2693
|
+
},
|
|
2694
|
+
"tokens": {
|
|
2695
|
+
"outlineColor": {
|
|
2696
|
+
"red": 0.93333,
|
|
2697
|
+
"green": 0.17255,
|
|
2698
|
+
"blue": 0.4549,
|
|
2699
|
+
"alpha": 1
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
],
|
|
2704
|
+
"tokens": {
|
|
2705
|
+
"borderBottomLeftRadius": 0,
|
|
2706
|
+
"borderBottomRightRadius": 0,
|
|
2707
|
+
"borderTopLeftRadius": 0,
|
|
2708
|
+
"borderTopRightRadius": 0,
|
|
2709
|
+
"outlineColor": {
|
|
2710
|
+
"red": 0,
|
|
2711
|
+
"green": 0,
|
|
2712
|
+
"blue": 0,
|
|
2713
|
+
"alpha": 0
|
|
2714
|
+
},
|
|
2715
|
+
"outlineOffset": null,
|
|
2716
|
+
"outlineWidth": 0,
|
|
2717
|
+
"paddingBottom": 0,
|
|
2718
|
+
"paddingLeft": 0,
|
|
2719
|
+
"paddingRight": 0,
|
|
2720
|
+
"paddingTop": 0
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2658
2723
|
"Footnote": {
|
|
2659
2724
|
"appearances": {},
|
|
2660
2725
|
"rules": [],
|
|
@@ -5826,7 +5891,14 @@
|
|
|
5826
5891
|
"appearances": {},
|
|
5827
5892
|
"rules": [],
|
|
5828
5893
|
"tokens": {
|
|
5894
|
+
"borderBottomLeftRadius": 1,
|
|
5895
|
+
"borderBottomRightRadius": 1,
|
|
5896
|
+
"borderTopLeftRadius": 1,
|
|
5897
|
+
"borderTopRightRadius": 1,
|
|
5829
5898
|
"fieldSpace": 2,
|
|
5899
|
+
"outlineOffset": 8,
|
|
5900
|
+
"outlineWidth": 1,
|
|
5901
|
+
"showIcon": true,
|
|
5830
5902
|
"space": 2
|
|
5831
5903
|
}
|
|
5832
5904
|
},
|
|
@@ -7515,6 +7587,11 @@
|
|
|
7515
7587
|
"values": [true],
|
|
7516
7588
|
"type": "state"
|
|
7517
7589
|
},
|
|
7590
|
+
"numeric": {
|
|
7591
|
+
"description": "capability to only allow numbers",
|
|
7592
|
+
"type": "variant",
|
|
7593
|
+
"values": [true]
|
|
7594
|
+
},
|
|
7518
7595
|
"password": {
|
|
7519
7596
|
"description": "capability that helps masking and unmasking text",
|
|
7520
7597
|
"type": "variant",
|
|
@@ -7802,9 +7879,15 @@
|
|
|
7802
7879
|
},
|
|
7803
7880
|
"tokens": {
|
|
7804
7881
|
"backgroundColor": {
|
|
7805
|
-
"red": 0.
|
|
7806
|
-
"green": 0.
|
|
7807
|
-
"blue":
|
|
7882
|
+
"red": 0.7098,
|
|
7883
|
+
"green": 0.70588,
|
|
7884
|
+
"blue": 0.70588,
|
|
7885
|
+
"alpha": 1
|
|
7886
|
+
},
|
|
7887
|
+
"switchColor": {
|
|
7888
|
+
"red": 0.31373,
|
|
7889
|
+
"green": 0.31373,
|
|
7890
|
+
"blue": 0.31373,
|
|
7808
7891
|
"alpha": 1
|
|
7809
7892
|
}
|
|
7810
7893
|
}
|
|
@@ -7815,9 +7898,28 @@
|
|
|
7815
7898
|
},
|
|
7816
7899
|
"tokens": {
|
|
7817
7900
|
"backgroundColor": {
|
|
7901
|
+
"red": 0.89804,
|
|
7902
|
+
"green": 0.96863,
|
|
7903
|
+
"blue": 0.98431,
|
|
7904
|
+
"alpha": 1
|
|
7905
|
+
},
|
|
7906
|
+
"icon": "PaletteIconCheck",
|
|
7907
|
+
"iconColor": {
|
|
7908
|
+
"red": 1,
|
|
7909
|
+
"green": 1,
|
|
7910
|
+
"blue": 1,
|
|
7911
|
+
"alpha": 1
|
|
7912
|
+
},
|
|
7913
|
+
"switchBorderColor": {
|
|
7818
7914
|
"red": 0,
|
|
7819
|
-
"green": 0
|
|
7820
|
-
"blue": 0
|
|
7915
|
+
"green": 0,
|
|
7916
|
+
"blue": 0,
|
|
7917
|
+
"alpha": 0
|
|
7918
|
+
},
|
|
7919
|
+
"switchColor": {
|
|
7920
|
+
"red": 0.00392,
|
|
7921
|
+
"green": 0.41961,
|
|
7922
|
+
"blue": 0.41569,
|
|
7821
7923
|
"alpha": 1
|
|
7822
7924
|
}
|
|
7823
7925
|
}
|
|
@@ -7841,16 +7943,40 @@
|
|
|
7841
7943
|
"inactive": true
|
|
7842
7944
|
},
|
|
7843
7945
|
"tokens": {
|
|
7844
|
-
"
|
|
7946
|
+
"backgroundColor": {
|
|
7947
|
+
"red": 0.93725,
|
|
7948
|
+
"green": 0.93725,
|
|
7949
|
+
"blue": 0.93725,
|
|
7950
|
+
"alpha": 1
|
|
7951
|
+
},
|
|
7952
|
+
"iconColor": {
|
|
7953
|
+
"red": 0.78824,
|
|
7954
|
+
"green": 0.78431,
|
|
7955
|
+
"blue": 0.78431,
|
|
7956
|
+
"alpha": 1
|
|
7957
|
+
},
|
|
7958
|
+
"opacity": 0.5,
|
|
7959
|
+
"switchBorderColor": {
|
|
7960
|
+
"red": 0,
|
|
7961
|
+
"green": 0,
|
|
7962
|
+
"blue": 0,
|
|
7963
|
+
"alpha": 0
|
|
7964
|
+
},
|
|
7965
|
+
"switchColor": {
|
|
7966
|
+
"red": 1,
|
|
7967
|
+
"green": 1,
|
|
7968
|
+
"blue": 1,
|
|
7969
|
+
"alpha": 1
|
|
7970
|
+
}
|
|
7845
7971
|
}
|
|
7846
7972
|
}
|
|
7847
7973
|
],
|
|
7848
7974
|
"tokens": {
|
|
7849
7975
|
"alignSelf": "flex-start",
|
|
7850
7976
|
"backgroundColor": {
|
|
7851
|
-
"red": 0.
|
|
7852
|
-
"green": 0.
|
|
7853
|
-
"blue": 0.
|
|
7977
|
+
"red": 0.78824,
|
|
7978
|
+
"green": 0.78431,
|
|
7979
|
+
"blue": 0.78431,
|
|
7854
7980
|
"alpha": 1
|
|
7855
7981
|
},
|
|
7856
7982
|
"borderColor": {
|
|
@@ -7859,7 +7985,7 @@
|
|
|
7859
7985
|
"blue": 0,
|
|
7860
7986
|
"alpha": 0
|
|
7861
7987
|
},
|
|
7862
|
-
"borderRadius":
|
|
7988
|
+
"borderRadius": 32,
|
|
7863
7989
|
"borderWidth": 0,
|
|
7864
7990
|
"icon": null,
|
|
7865
7991
|
"iconColor": {
|
|
@@ -7868,7 +7994,7 @@
|
|
|
7868
7994
|
"blue": 0,
|
|
7869
7995
|
"alpha": 0
|
|
7870
7996
|
},
|
|
7871
|
-
"iconSize":
|
|
7997
|
+
"iconSize": 12,
|
|
7872
7998
|
"labelColor": {
|
|
7873
7999
|
"red": 0,
|
|
7874
8000
|
"green": 0,
|
|
@@ -7877,7 +8003,7 @@
|
|
|
7877
8003
|
},
|
|
7878
8004
|
"labelFontName": "StagSans",
|
|
7879
8005
|
"labelFontSize": 16,
|
|
7880
|
-
"labelFontWeight":
|
|
8006
|
+
"labelFontWeight": 600,
|
|
7881
8007
|
"labelLineHeight": 1.5,
|
|
7882
8008
|
"labelMarginLeft": 8,
|
|
7883
8009
|
"opacity": 1,
|
|
@@ -7893,12 +8019,12 @@
|
|
|
7893
8019
|
"blue": 0,
|
|
7894
8020
|
"alpha": 0
|
|
7895
8021
|
},
|
|
7896
|
-
"outerBorderGap":
|
|
7897
|
-
"outerBorderWidth":
|
|
7898
|
-
"paddingBottom":
|
|
7899
|
-
"paddingLeft":
|
|
7900
|
-
"paddingRight":
|
|
7901
|
-
"paddingTop":
|
|
8022
|
+
"outerBorderGap": 0,
|
|
8023
|
+
"outerBorderWidth": 0,
|
|
8024
|
+
"paddingBottom": 0,
|
|
8025
|
+
"paddingLeft": 0,
|
|
8026
|
+
"paddingRight": 0,
|
|
8027
|
+
"paddingTop": 0,
|
|
7902
8028
|
"shadow": null,
|
|
7903
8029
|
"switchBorderColor": {
|
|
7904
8030
|
"red": 0,
|
|
@@ -7909,27 +8035,54 @@
|
|
|
7909
8035
|
"switchBorderRadius": 32,
|
|
7910
8036
|
"switchBorderWidth": 0,
|
|
7911
8037
|
"switchColor": {
|
|
7912
|
-
"red":
|
|
7913
|
-
"green":
|
|
7914
|
-
"blue":
|
|
8038
|
+
"red": 0.34902,
|
|
8039
|
+
"green": 0.34902,
|
|
8040
|
+
"blue": 0.34902,
|
|
7915
8041
|
"alpha": 1
|
|
7916
8042
|
},
|
|
7917
|
-
"switchShadow":
|
|
7918
|
-
|
|
8043
|
+
"switchShadow": {
|
|
8044
|
+
"inset": false,
|
|
8045
|
+
"offsetX": 0,
|
|
8046
|
+
"offsetY": 2,
|
|
8047
|
+
"blur": 2,
|
|
8048
|
+
"spread": 0,
|
|
8049
|
+
"color": {
|
|
8050
|
+
"red": 0,
|
|
8051
|
+
"green": 0,
|
|
8052
|
+
"blue": 0,
|
|
8053
|
+
"alpha": 0.1
|
|
8054
|
+
}
|
|
8055
|
+
},
|
|
8056
|
+
"switchSize": 18,
|
|
7919
8057
|
"trackBorderColor": {
|
|
7920
8058
|
"red": 0,
|
|
7921
8059
|
"green": 0,
|
|
7922
8060
|
"blue": 0,
|
|
7923
8061
|
"alpha": 0
|
|
7924
8062
|
},
|
|
7925
|
-
"trackBorderRadius":
|
|
7926
|
-
"trackBorderWidth":
|
|
7927
|
-
"width":
|
|
8063
|
+
"trackBorderRadius": 12,
|
|
8064
|
+
"trackBorderWidth": 3,
|
|
8065
|
+
"width": 40
|
|
7928
8066
|
}
|
|
7929
8067
|
},
|
|
7930
8068
|
"ToggleSwitchGroup": {
|
|
7931
|
-
"appearances": {
|
|
7932
|
-
|
|
8069
|
+
"appearances": {
|
|
8070
|
+
"viewport": {
|
|
8071
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
8072
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
8073
|
+
"type": "state"
|
|
8074
|
+
}
|
|
8075
|
+
},
|
|
8076
|
+
"rules": [
|
|
8077
|
+
{
|
|
8078
|
+
"if": {
|
|
8079
|
+
"viewport": ["lg", "xl"]
|
|
8080
|
+
},
|
|
8081
|
+
"tokens": {
|
|
8082
|
+
"space": 3
|
|
8083
|
+
}
|
|
8084
|
+
}
|
|
8085
|
+
],
|
|
7933
8086
|
"tokens": {
|
|
7934
8087
|
"alignItems": "flex-start",
|
|
7935
8088
|
"direction": "column",
|
|
@@ -8805,7 +8958,7 @@
|
|
|
8805
8958
|
}
|
|
8806
8959
|
},
|
|
8807
8960
|
"metadata": {
|
|
8808
|
-
"themeTokensVersion": "2.
|
|
8961
|
+
"themeTokensVersion": "2.28.0",
|
|
8809
8962
|
"name": "theme-koodo"
|
|
8810
8963
|
}
|
|
8811
8964
|
}
|