@telus-uds/theme-koodo 5.0.0 → 5.2.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 +676 -651
- package/build/android/theme.json +147 -8
- package/build/ios/schema.json +676 -651
- package/build/ios/theme.json +147 -8
- package/build/rn/schema.json +676 -651
- package/build/rn/theme.js +133 -11
- package/package.json +4 -4
- package/theme.json +175 -9
package/build/ios/theme.json
CHANGED
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
"fontWeight": 600,
|
|
1334
1334
|
"height": null,
|
|
1335
1335
|
"icon": null,
|
|
1336
|
-
"iconSize":
|
|
1336
|
+
"iconSize": 16,
|
|
1337
1337
|
"iconSpace": 2,
|
|
1338
1338
|
"lineHeight": 1.5,
|
|
1339
1339
|
"minWidth": 144,
|
|
@@ -1864,10 +1864,19 @@
|
|
|
1864
1864
|
"type": "variant",
|
|
1865
1865
|
"values": ["none", "small", "large"]
|
|
1866
1866
|
},
|
|
1867
|
+
"interactive": {
|
|
1868
|
+
"type": "variant",
|
|
1869
|
+
"values": [true]
|
|
1870
|
+
},
|
|
1867
1871
|
"padding": {
|
|
1868
1872
|
"type": "variant",
|
|
1869
1873
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
1870
1874
|
},
|
|
1875
|
+
"pressed": {
|
|
1876
|
+
"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.",
|
|
1877
|
+
"values": [true, false],
|
|
1878
|
+
"type": "state"
|
|
1879
|
+
},
|
|
1871
1880
|
"viewport": {
|
|
1872
1881
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1873
1882
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -2035,6 +2044,42 @@
|
|
|
2035
2044
|
"paddingRight": 0,
|
|
2036
2045
|
"paddingTop": 0
|
|
2037
2046
|
}
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"if": {
|
|
2050
|
+
"interactive": true,
|
|
2051
|
+
"pressed": false
|
|
2052
|
+
},
|
|
2053
|
+
"tokens": {
|
|
2054
|
+
"borderColor": {
|
|
2055
|
+
"red": 1,
|
|
2056
|
+
"green": 1,
|
|
2057
|
+
"blue": 1,
|
|
2058
|
+
"alpha": 1
|
|
2059
|
+
},
|
|
2060
|
+
"borderWidth": 2
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"if": {
|
|
2065
|
+
"interactive": true,
|
|
2066
|
+
"pressed": true
|
|
2067
|
+
},
|
|
2068
|
+
"tokens": {
|
|
2069
|
+
"backgroundColor": {
|
|
2070
|
+
"red": 0,
|
|
2071
|
+
"green": 0,
|
|
2072
|
+
"blue": 0,
|
|
2073
|
+
"alpha": 0.2
|
|
2074
|
+
},
|
|
2075
|
+
"borderColor": {
|
|
2076
|
+
"red": 0.78824,
|
|
2077
|
+
"green": 0.78431,
|
|
2078
|
+
"blue": 0.78431,
|
|
2079
|
+
"alpha": 1
|
|
2080
|
+
},
|
|
2081
|
+
"borderWidth": 2
|
|
2082
|
+
}
|
|
2038
2083
|
}
|
|
2039
2084
|
],
|
|
2040
2085
|
"tokens": {
|
|
@@ -2906,8 +2951,9 @@
|
|
|
2906
2951
|
"size": "large"
|
|
2907
2952
|
},
|
|
2908
2953
|
"tokens": {
|
|
2954
|
+
"blockLineHeight": 1.4,
|
|
2909
2955
|
"fontSize": 20,
|
|
2910
|
-
"iconSize":
|
|
2956
|
+
"iconSize": 20
|
|
2911
2957
|
}
|
|
2912
2958
|
},
|
|
2913
2959
|
{
|
|
@@ -2915,6 +2961,7 @@
|
|
|
2915
2961
|
"size": "small"
|
|
2916
2962
|
},
|
|
2917
2963
|
"tokens": {
|
|
2964
|
+
"blockLineHeight": 1.42857142857,
|
|
2918
2965
|
"fontSize": 14,
|
|
2919
2966
|
"iconSize": 16
|
|
2920
2967
|
}
|
|
@@ -2924,12 +2971,14 @@
|
|
|
2924
2971
|
"size": "micro"
|
|
2925
2972
|
},
|
|
2926
2973
|
"tokens": {
|
|
2974
|
+
"blockLineHeight": 1.33333333333,
|
|
2927
2975
|
"fontSize": 12,
|
|
2928
2976
|
"iconSize": 16
|
|
2929
2977
|
}
|
|
2930
2978
|
}
|
|
2931
2979
|
],
|
|
2932
2980
|
"tokens": {
|
|
2981
|
+
"blockLineHeight": 1.5,
|
|
2933
2982
|
"color": {
|
|
2934
2983
|
"red": 0,
|
|
2935
2984
|
"green": 0,
|
|
@@ -2938,7 +2987,7 @@
|
|
|
2938
2987
|
},
|
|
2939
2988
|
"fontSize": 16,
|
|
2940
2989
|
"iconDisplace": 0,
|
|
2941
|
-
"iconSize":
|
|
2990
|
+
"iconSize": 16,
|
|
2942
2991
|
"iconSpace": 1,
|
|
2943
2992
|
"leftIcon": "PaletteIconChevronLeft",
|
|
2944
2993
|
"outerBorderColor": {
|
|
@@ -4828,6 +4877,11 @@
|
|
|
4828
4877
|
"values": [true, false],
|
|
4829
4878
|
"type": "state"
|
|
4830
4879
|
},
|
|
4880
|
+
"quiet": {
|
|
4881
|
+
"description": "When it is true, it does not show the decoration",
|
|
4882
|
+
"type": "state",
|
|
4883
|
+
"values": [true, false]
|
|
4884
|
+
},
|
|
4831
4885
|
"size": {
|
|
4832
4886
|
"description": "Text sizes for block links; similar but not always identical to Typography sizes.",
|
|
4833
4887
|
"type": "variant",
|
|
@@ -4942,6 +4996,14 @@
|
|
|
4942
4996
|
"blockLineHeight": 1.4,
|
|
4943
4997
|
"iconSize": 24
|
|
4944
4998
|
}
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
"if": {
|
|
5002
|
+
"quiet": true
|
|
5003
|
+
},
|
|
5004
|
+
"tokens": {
|
|
5005
|
+
"textLine": "none"
|
|
5006
|
+
}
|
|
4945
5007
|
}
|
|
4946
5008
|
],
|
|
4947
5009
|
"tokens": {
|
|
@@ -5202,7 +5264,7 @@
|
|
|
5202
5264
|
"red": 0,
|
|
5203
5265
|
"green": 0,
|
|
5204
5266
|
"blue": 0,
|
|
5205
|
-
"alpha":
|
|
5267
|
+
"alpha": 0
|
|
5206
5268
|
},
|
|
5207
5269
|
"groupBorderColor": {
|
|
5208
5270
|
"red": 0,
|
|
@@ -5216,7 +5278,13 @@
|
|
|
5216
5278
|
"blue": 1,
|
|
5217
5279
|
"alpha": 1
|
|
5218
5280
|
},
|
|
5219
|
-
"groupIcon": "PaletteIconChevronUp"
|
|
5281
|
+
"groupIcon": "PaletteIconChevronUp",
|
|
5282
|
+
"itemColor": {
|
|
5283
|
+
"red": 0.34902,
|
|
5284
|
+
"green": 0.34902,
|
|
5285
|
+
"blue": 0.34902,
|
|
5286
|
+
"alpha": 1
|
|
5287
|
+
}
|
|
5220
5288
|
}
|
|
5221
5289
|
},
|
|
5222
5290
|
{
|
|
@@ -5395,6 +5463,11 @@
|
|
|
5395
5463
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
5396
5464
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
5397
5465
|
"type": "state"
|
|
5466
|
+
},
|
|
5467
|
+
"width": {
|
|
5468
|
+
"description": "The width of the modal",
|
|
5469
|
+
"values": ["s", "m", "l", "xl"],
|
|
5470
|
+
"type": "state"
|
|
5398
5471
|
}
|
|
5399
5472
|
},
|
|
5400
5473
|
"rules": [
|
|
@@ -5426,15 +5499,81 @@
|
|
|
5426
5499
|
"paddingTop": 32
|
|
5427
5500
|
}
|
|
5428
5501
|
},
|
|
5502
|
+
{
|
|
5503
|
+
"if": {
|
|
5504
|
+
"viewport": ["md", "lg", "xl"],
|
|
5505
|
+
"width": "s"
|
|
5506
|
+
},
|
|
5507
|
+
"tokens": {
|
|
5508
|
+
"containerPaddingBottom": 32,
|
|
5509
|
+
"containerPaddingTop": 32,
|
|
5510
|
+
"maxWidth": 320
|
|
5511
|
+
}
|
|
5512
|
+
},
|
|
5513
|
+
{
|
|
5514
|
+
"if": {
|
|
5515
|
+
"viewport": ["md", "lg", "xl"],
|
|
5516
|
+
"width": "m"
|
|
5517
|
+
},
|
|
5518
|
+
"tokens": {
|
|
5519
|
+
"containerPaddingBottom": 32,
|
|
5520
|
+
"containerPaddingTop": 32,
|
|
5521
|
+
"maxWidth": 480
|
|
5522
|
+
}
|
|
5523
|
+
},
|
|
5524
|
+
{
|
|
5525
|
+
"if": {
|
|
5526
|
+
"viewport": ["lg", "xl"],
|
|
5527
|
+
"width": "l"
|
|
5528
|
+
},
|
|
5529
|
+
"tokens": {
|
|
5530
|
+
"containerPaddingBottom": 32,
|
|
5531
|
+
"containerPaddingTop": 32,
|
|
5532
|
+
"maxWidth": 630
|
|
5533
|
+
}
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
"if": {
|
|
5537
|
+
"viewport": "xl",
|
|
5538
|
+
"width": "xl"
|
|
5539
|
+
},
|
|
5540
|
+
"tokens": {
|
|
5541
|
+
"containerPaddingBottom": 32,
|
|
5542
|
+
"containerPaddingTop": 32,
|
|
5543
|
+
"maxWidth": 768
|
|
5544
|
+
}
|
|
5545
|
+
},
|
|
5429
5546
|
{
|
|
5430
5547
|
"if": {
|
|
5431
5548
|
"maxWidth": true,
|
|
5432
|
-
"viewport":
|
|
5549
|
+
"viewport": "md"
|
|
5550
|
+
},
|
|
5551
|
+
"tokens": {
|
|
5552
|
+
"containerPaddingLeft": 16,
|
|
5553
|
+
"containerPaddingRight": 16,
|
|
5554
|
+
"maxWidth": 480
|
|
5555
|
+
}
|
|
5556
|
+
},
|
|
5557
|
+
{
|
|
5558
|
+
"if": {
|
|
5559
|
+
"maxWidth": true,
|
|
5560
|
+
"viewport": "lg"
|
|
5561
|
+
},
|
|
5562
|
+
"tokens": {
|
|
5563
|
+
"containerPaddingLeft": 16,
|
|
5564
|
+
"containerPaddingRight": 16,
|
|
5565
|
+
"maxWidth": 630
|
|
5566
|
+
}
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
"if": {
|
|
5570
|
+
"maxWidth": true,
|
|
5571
|
+
"viewport": "xl"
|
|
5433
5572
|
},
|
|
5434
5573
|
"tokens": {
|
|
5435
5574
|
"containerPaddingLeft": 16,
|
|
5436
5575
|
"containerPaddingRight": 16,
|
|
5437
|
-
"maxWidth":
|
|
5576
|
+
"maxWidth": 768
|
|
5438
5577
|
}
|
|
5439
5578
|
}
|
|
5440
5579
|
],
|
|
@@ -11662,7 +11801,7 @@
|
|
|
11662
11801
|
}
|
|
11663
11802
|
},
|
|
11664
11803
|
"metadata": {
|
|
11665
|
-
"themeTokensVersion": "2.
|
|
11804
|
+
"themeTokensVersion": "2.47.0",
|
|
11666
11805
|
"name": "theme-koodo"
|
|
11667
11806
|
}
|
|
11668
11807
|
}
|