@telus-uds/theme-koodo 5.1.0 → 5.3.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 +864 -651
- package/build/android/theme.json +223 -5
- package/build/ios/schema.json +864 -651
- package/build/ios/theme.json +223 -5
- package/build/rn/schema.json +864 -651
- package/build/rn/theme.js +213 -8
- package/package.json +4 -4
- package/theme.json +238 -6
package/build/ios/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": {
|
|
@@ -2951,6 +3000,91 @@
|
|
|
2951
3000
|
"textLine": "none"
|
|
2952
3001
|
}
|
|
2953
3002
|
},
|
|
3003
|
+
"ColourToggle": {
|
|
3004
|
+
"appearances": {
|
|
3005
|
+
"pressed": {
|
|
3006
|
+
"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.",
|
|
3007
|
+
"values": [true, false],
|
|
3008
|
+
"type": "state"
|
|
3009
|
+
},
|
|
3010
|
+
"selected": {
|
|
3011
|
+
"description": "Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.",
|
|
3012
|
+
"values": [true],
|
|
3013
|
+
"type": "state"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
"rules": [
|
|
3017
|
+
{
|
|
3018
|
+
"if": {
|
|
3019
|
+
"pressed": true
|
|
3020
|
+
},
|
|
3021
|
+
"tokens": {
|
|
3022
|
+
"bubbleBorderColor": {
|
|
3023
|
+
"red": 0.34902,
|
|
3024
|
+
"green": 0.34902,
|
|
3025
|
+
"blue": 0.34902,
|
|
3026
|
+
"alpha": 1
|
|
3027
|
+
},
|
|
3028
|
+
"bubbleBorderRadius": 45,
|
|
3029
|
+
"bubbleBorderWidth": 1
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"if": {
|
|
3034
|
+
"selected": true
|
|
3035
|
+
},
|
|
3036
|
+
"tokens": {
|
|
3037
|
+
"bubbleBorderColor": {
|
|
3038
|
+
"red": 0,
|
|
3039
|
+
"green": 0,
|
|
3040
|
+
"blue": 0,
|
|
3041
|
+
"alpha": 1
|
|
3042
|
+
},
|
|
3043
|
+
"bubbleBorderRadius": 45,
|
|
3044
|
+
"bubbleBorderWidth": 1
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
],
|
|
3048
|
+
"tokens": {
|
|
3049
|
+
"borderColor": {
|
|
3050
|
+
"red": 0.78824,
|
|
3051
|
+
"green": 0.78431,
|
|
3052
|
+
"blue": 0.78431,
|
|
3053
|
+
"alpha": 1
|
|
3054
|
+
},
|
|
3055
|
+
"borderRadius": 45,
|
|
3056
|
+
"borderWidth": 1,
|
|
3057
|
+
"bubbleBorderColor": {
|
|
3058
|
+
"red": 0,
|
|
3059
|
+
"green": 0,
|
|
3060
|
+
"blue": 0,
|
|
3061
|
+
"alpha": 0
|
|
3062
|
+
},
|
|
3063
|
+
"bubbleBorderRadius": 0,
|
|
3064
|
+
"bubbleBorderWidth": 0,
|
|
3065
|
+
"innerBubbleBorderRadius": 45,
|
|
3066
|
+
"innerBubbleHeight": 40,
|
|
3067
|
+
"innerBubbleWidth": 40,
|
|
3068
|
+
"outerBubbleContentAlignItems": "center",
|
|
3069
|
+
"outerBubbleHeight": 48,
|
|
3070
|
+
"outerBubbleJustifyContent": "center",
|
|
3071
|
+
"outerBubbleWidth": 48,
|
|
3072
|
+
"shadow": {
|
|
3073
|
+
"inset": true,
|
|
3074
|
+
"offsetX": 0,
|
|
3075
|
+
"offsetY": 2,
|
|
3076
|
+
"blur": 2,
|
|
3077
|
+
"spread": 0,
|
|
3078
|
+
"color": {
|
|
3079
|
+
"red": 0,
|
|
3080
|
+
"green": 0,
|
|
3081
|
+
"blue": 0,
|
|
3082
|
+
"alpha": 0.1
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
"space": 2
|
|
3086
|
+
}
|
|
3087
|
+
},
|
|
2954
3088
|
"Countdown": {
|
|
2955
3089
|
"appearances": {
|
|
2956
3090
|
"feature": {
|
|
@@ -4828,6 +4962,11 @@
|
|
|
4828
4962
|
"values": [true, false],
|
|
4829
4963
|
"type": "state"
|
|
4830
4964
|
},
|
|
4965
|
+
"quiet": {
|
|
4966
|
+
"description": "When it is true, it does not show the decoration",
|
|
4967
|
+
"type": "state",
|
|
4968
|
+
"values": [true, false]
|
|
4969
|
+
},
|
|
4831
4970
|
"size": {
|
|
4832
4971
|
"description": "Text sizes for block links; similar but not always identical to Typography sizes.",
|
|
4833
4972
|
"type": "variant",
|
|
@@ -4942,6 +5081,14 @@
|
|
|
4942
5081
|
"blockLineHeight": 1.4,
|
|
4943
5082
|
"iconSize": 24
|
|
4944
5083
|
}
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"if": {
|
|
5087
|
+
"quiet": true
|
|
5088
|
+
},
|
|
5089
|
+
"tokens": {
|
|
5090
|
+
"textLine": "none"
|
|
5091
|
+
}
|
|
4945
5092
|
}
|
|
4946
5093
|
],
|
|
4947
5094
|
"tokens": {
|
|
@@ -5401,6 +5548,11 @@
|
|
|
5401
5548
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
5402
5549
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
5403
5550
|
"type": "state"
|
|
5551
|
+
},
|
|
5552
|
+
"width": {
|
|
5553
|
+
"description": "The width of the modal",
|
|
5554
|
+
"values": ["s", "m", "l", "xl"],
|
|
5555
|
+
"type": "state"
|
|
5404
5556
|
}
|
|
5405
5557
|
},
|
|
5406
5558
|
"rules": [
|
|
@@ -5432,15 +5584,81 @@
|
|
|
5432
5584
|
"paddingTop": 32
|
|
5433
5585
|
}
|
|
5434
5586
|
},
|
|
5587
|
+
{
|
|
5588
|
+
"if": {
|
|
5589
|
+
"viewport": ["md", "lg", "xl"],
|
|
5590
|
+
"width": "s"
|
|
5591
|
+
},
|
|
5592
|
+
"tokens": {
|
|
5593
|
+
"containerPaddingBottom": 32,
|
|
5594
|
+
"containerPaddingTop": 32,
|
|
5595
|
+
"maxWidth": 320
|
|
5596
|
+
}
|
|
5597
|
+
},
|
|
5598
|
+
{
|
|
5599
|
+
"if": {
|
|
5600
|
+
"viewport": ["md", "lg", "xl"],
|
|
5601
|
+
"width": "m"
|
|
5602
|
+
},
|
|
5603
|
+
"tokens": {
|
|
5604
|
+
"containerPaddingBottom": 32,
|
|
5605
|
+
"containerPaddingTop": 32,
|
|
5606
|
+
"maxWidth": 480
|
|
5607
|
+
}
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
"if": {
|
|
5611
|
+
"viewport": ["lg", "xl"],
|
|
5612
|
+
"width": "l"
|
|
5613
|
+
},
|
|
5614
|
+
"tokens": {
|
|
5615
|
+
"containerPaddingBottom": 32,
|
|
5616
|
+
"containerPaddingTop": 32,
|
|
5617
|
+
"maxWidth": 630
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5620
|
+
{
|
|
5621
|
+
"if": {
|
|
5622
|
+
"viewport": "xl",
|
|
5623
|
+
"width": "xl"
|
|
5624
|
+
},
|
|
5625
|
+
"tokens": {
|
|
5626
|
+
"containerPaddingBottom": 32,
|
|
5627
|
+
"containerPaddingTop": 32,
|
|
5628
|
+
"maxWidth": 768
|
|
5629
|
+
}
|
|
5630
|
+
},
|
|
5435
5631
|
{
|
|
5436
5632
|
"if": {
|
|
5437
5633
|
"maxWidth": true,
|
|
5438
|
-
"viewport":
|
|
5634
|
+
"viewport": "md"
|
|
5635
|
+
},
|
|
5636
|
+
"tokens": {
|
|
5637
|
+
"containerPaddingLeft": 16,
|
|
5638
|
+
"containerPaddingRight": 16,
|
|
5639
|
+
"maxWidth": 480
|
|
5640
|
+
}
|
|
5641
|
+
},
|
|
5642
|
+
{
|
|
5643
|
+
"if": {
|
|
5644
|
+
"maxWidth": true,
|
|
5645
|
+
"viewport": "lg"
|
|
5646
|
+
},
|
|
5647
|
+
"tokens": {
|
|
5648
|
+
"containerPaddingLeft": 16,
|
|
5649
|
+
"containerPaddingRight": 16,
|
|
5650
|
+
"maxWidth": 630
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"if": {
|
|
5655
|
+
"maxWidth": true,
|
|
5656
|
+
"viewport": "xl"
|
|
5439
5657
|
},
|
|
5440
5658
|
"tokens": {
|
|
5441
5659
|
"containerPaddingLeft": 16,
|
|
5442
5660
|
"containerPaddingRight": 16,
|
|
5443
|
-
"maxWidth":
|
|
5661
|
+
"maxWidth": 768
|
|
5444
5662
|
}
|
|
5445
5663
|
}
|
|
5446
5664
|
],
|
|
@@ -11668,7 +11886,7 @@
|
|
|
11668
11886
|
}
|
|
11669
11887
|
},
|
|
11670
11888
|
"metadata": {
|
|
11671
|
-
"themeTokensVersion": "2.
|
|
11889
|
+
"themeTokensVersion": "2.48.0",
|
|
11672
11890
|
"name": "theme-koodo"
|
|
11673
11891
|
}
|
|
11674
11892
|
}
|