@telus-uds/theme-koodo 5.1.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 +138 -5
- package/build/ios/schema.json +676 -651
- package/build/ios/theme.json +138 -5
- package/build/rn/schema.json +676 -651
- package/build/rn/theme.js +129 -8
- package/package.json +4 -4
- package/theme.json +171 -6
package/build/android/theme.json
CHANGED
|
@@ -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": {
|
|
@@ -5401,6 +5463,11 @@
|
|
|
5401
5463
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
5402
5464
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
5403
5465
|
"type": "state"
|
|
5466
|
+
},
|
|
5467
|
+
"width": {
|
|
5468
|
+
"description": "The width of the modal",
|
|
5469
|
+
"values": ["s", "m", "l", "xl"],
|
|
5470
|
+
"type": "state"
|
|
5404
5471
|
}
|
|
5405
5472
|
},
|
|
5406
5473
|
"rules": [
|
|
@@ -5432,15 +5499,81 @@
|
|
|
5432
5499
|
"paddingTop": 32
|
|
5433
5500
|
}
|
|
5434
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
|
+
},
|
|
5435
5546
|
{
|
|
5436
5547
|
"if": {
|
|
5437
5548
|
"maxWidth": true,
|
|
5438
|
-
"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"
|
|
5439
5572
|
},
|
|
5440
5573
|
"tokens": {
|
|
5441
5574
|
"containerPaddingLeft": 16,
|
|
5442
5575
|
"containerPaddingRight": 16,
|
|
5443
|
-
"maxWidth":
|
|
5576
|
+
"maxWidth": 768
|
|
5444
5577
|
}
|
|
5445
5578
|
}
|
|
5446
5579
|
],
|
|
@@ -11668,7 +11801,7 @@
|
|
|
11668
11801
|
}
|
|
11669
11802
|
},
|
|
11670
11803
|
"metadata": {
|
|
11671
|
-
"themeTokensVersion": "2.
|
|
11804
|
+
"themeTokensVersion": "2.47.0",
|
|
11672
11805
|
"name": "theme-koodo"
|
|
11673
11806
|
}
|
|
11674
11807
|
}
|