@telus-uds/theme-koodo 3.28.1 → 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 +755 -553
- package/build/android/theme.json +228 -74
- package/build/ios/schema.json +755 -553
- package/build/ios/theme.json +228 -74
- package/build/rn/schema.json +755 -553
- package/build/rn/theme.js +150 -71
- package/package.json +4 -4
- package/theme.json +155 -66
package/build/ios/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
|
},
|
|
@@ -6985,6 +7057,7 @@
|
|
|
6985
7057
|
"blue": 0.93725,
|
|
6986
7058
|
"alpha": 1
|
|
6987
7059
|
},
|
|
7060
|
+
"cellMinWidth": 0,
|
|
6988
7061
|
"cellPaddingBottom": 16,
|
|
6989
7062
|
"cellPaddingLeft": 16,
|
|
6990
7063
|
"cellPaddingRight": 16,
|
|
@@ -7514,6 +7587,11 @@
|
|
|
7514
7587
|
"values": [true],
|
|
7515
7588
|
"type": "state"
|
|
7516
7589
|
},
|
|
7590
|
+
"numeric": {
|
|
7591
|
+
"description": "capability to only allow numbers",
|
|
7592
|
+
"type": "variant",
|
|
7593
|
+
"values": [true]
|
|
7594
|
+
},
|
|
7517
7595
|
"password": {
|
|
7518
7596
|
"description": "capability that helps masking and unmasking text",
|
|
7519
7597
|
"type": "variant",
|
|
@@ -7801,9 +7879,15 @@
|
|
|
7801
7879
|
},
|
|
7802
7880
|
"tokens": {
|
|
7803
7881
|
"backgroundColor": {
|
|
7804
|
-
"red": 0.
|
|
7805
|
-
"green": 0.
|
|
7806
|
-
"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,
|
|
7807
7891
|
"alpha": 1
|
|
7808
7892
|
}
|
|
7809
7893
|
}
|
|
@@ -7814,9 +7898,28 @@
|
|
|
7814
7898
|
},
|
|
7815
7899
|
"tokens": {
|
|
7816
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": {
|
|
7817
7914
|
"red": 0,
|
|
7818
|
-
"green": 0
|
|
7819
|
-
"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,
|
|
7820
7923
|
"alpha": 1
|
|
7821
7924
|
}
|
|
7822
7925
|
}
|
|
@@ -7840,16 +7943,40 @@
|
|
|
7840
7943
|
"inactive": true
|
|
7841
7944
|
},
|
|
7842
7945
|
"tokens": {
|
|
7843
|
-
"
|
|
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
|
+
}
|
|
7844
7971
|
}
|
|
7845
7972
|
}
|
|
7846
7973
|
],
|
|
7847
7974
|
"tokens": {
|
|
7848
7975
|
"alignSelf": "flex-start",
|
|
7849
7976
|
"backgroundColor": {
|
|
7850
|
-
"red": 0.
|
|
7851
|
-
"green": 0.
|
|
7852
|
-
"blue": 0.
|
|
7977
|
+
"red": 0.78824,
|
|
7978
|
+
"green": 0.78431,
|
|
7979
|
+
"blue": 0.78431,
|
|
7853
7980
|
"alpha": 1
|
|
7854
7981
|
},
|
|
7855
7982
|
"borderColor": {
|
|
@@ -7858,7 +7985,7 @@
|
|
|
7858
7985
|
"blue": 0,
|
|
7859
7986
|
"alpha": 0
|
|
7860
7987
|
},
|
|
7861
|
-
"borderRadius":
|
|
7988
|
+
"borderRadius": 32,
|
|
7862
7989
|
"borderWidth": 0,
|
|
7863
7990
|
"icon": null,
|
|
7864
7991
|
"iconColor": {
|
|
@@ -7867,7 +7994,7 @@
|
|
|
7867
7994
|
"blue": 0,
|
|
7868
7995
|
"alpha": 0
|
|
7869
7996
|
},
|
|
7870
|
-
"iconSize":
|
|
7997
|
+
"iconSize": 12,
|
|
7871
7998
|
"labelColor": {
|
|
7872
7999
|
"red": 0,
|
|
7873
8000
|
"green": 0,
|
|
@@ -7876,7 +8003,7 @@
|
|
|
7876
8003
|
},
|
|
7877
8004
|
"labelFontName": "StagSans",
|
|
7878
8005
|
"labelFontSize": 16,
|
|
7879
|
-
"labelFontWeight":
|
|
8006
|
+
"labelFontWeight": 600,
|
|
7880
8007
|
"labelLineHeight": 1.5,
|
|
7881
8008
|
"labelMarginLeft": 8,
|
|
7882
8009
|
"opacity": 1,
|
|
@@ -7892,12 +8019,12 @@
|
|
|
7892
8019
|
"blue": 0,
|
|
7893
8020
|
"alpha": 0
|
|
7894
8021
|
},
|
|
7895
|
-
"outerBorderGap":
|
|
7896
|
-
"outerBorderWidth":
|
|
7897
|
-
"paddingBottom":
|
|
7898
|
-
"paddingLeft":
|
|
7899
|
-
"paddingRight":
|
|
7900
|
-
"paddingTop":
|
|
8022
|
+
"outerBorderGap": 0,
|
|
8023
|
+
"outerBorderWidth": 0,
|
|
8024
|
+
"paddingBottom": 0,
|
|
8025
|
+
"paddingLeft": 0,
|
|
8026
|
+
"paddingRight": 0,
|
|
8027
|
+
"paddingTop": 0,
|
|
7901
8028
|
"shadow": null,
|
|
7902
8029
|
"switchBorderColor": {
|
|
7903
8030
|
"red": 0,
|
|
@@ -7908,27 +8035,54 @@
|
|
|
7908
8035
|
"switchBorderRadius": 32,
|
|
7909
8036
|
"switchBorderWidth": 0,
|
|
7910
8037
|
"switchColor": {
|
|
7911
|
-
"red":
|
|
7912
|
-
"green":
|
|
7913
|
-
"blue":
|
|
8038
|
+
"red": 0.34902,
|
|
8039
|
+
"green": 0.34902,
|
|
8040
|
+
"blue": 0.34902,
|
|
7914
8041
|
"alpha": 1
|
|
7915
8042
|
},
|
|
7916
|
-
"switchShadow":
|
|
7917
|
-
|
|
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,
|
|
7918
8057
|
"trackBorderColor": {
|
|
7919
8058
|
"red": 0,
|
|
7920
8059
|
"green": 0,
|
|
7921
8060
|
"blue": 0,
|
|
7922
8061
|
"alpha": 0
|
|
7923
8062
|
},
|
|
7924
|
-
"trackBorderRadius":
|
|
7925
|
-
"trackBorderWidth":
|
|
7926
|
-
"width":
|
|
8063
|
+
"trackBorderRadius": 12,
|
|
8064
|
+
"trackBorderWidth": 3,
|
|
8065
|
+
"width": 40
|
|
7927
8066
|
}
|
|
7928
8067
|
},
|
|
7929
8068
|
"ToggleSwitchGroup": {
|
|
7930
|
-
"appearances": {
|
|
7931
|
-
|
|
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
|
+
],
|
|
7932
8086
|
"tokens": {
|
|
7933
8087
|
"alignItems": "flex-start",
|
|
7934
8088
|
"direction": "column",
|
|
@@ -8804,7 +8958,7 @@
|
|
|
8804
8958
|
}
|
|
8805
8959
|
},
|
|
8806
8960
|
"metadata": {
|
|
8807
|
-
"themeTokensVersion": "2.
|
|
8961
|
+
"themeTokensVersion": "2.28.0",
|
|
8808
8962
|
"name": "theme-koodo"
|
|
8809
8963
|
}
|
|
8810
8964
|
}
|