@telus-uds/theme-public-mobile 2.10.0 → 2.12.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 +883 -685
- package/build/android/theme.json +151 -4
- package/build/ios/schema.json +883 -685
- package/build/ios/theme.json +151 -4
- package/build/rn/schema.json +883 -685
- package/build/rn/theme.js +154 -6
- package/package.json +4 -4
- package/theme.json +168 -3
package/build/android/theme.json
CHANGED
|
@@ -1859,10 +1859,19 @@
|
|
|
1859
1859
|
"type": "variant",
|
|
1860
1860
|
"values": ["none", "small", "large"]
|
|
1861
1861
|
},
|
|
1862
|
+
"interactive": {
|
|
1863
|
+
"type": "variant",
|
|
1864
|
+
"values": [true]
|
|
1865
|
+
},
|
|
1862
1866
|
"padding": {
|
|
1863
1867
|
"type": "variant",
|
|
1864
1868
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
1865
1869
|
},
|
|
1870
|
+
"pressed": {
|
|
1871
|
+
"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.",
|
|
1872
|
+
"values": [true, false],
|
|
1873
|
+
"type": "state"
|
|
1874
|
+
},
|
|
1866
1875
|
"viewport": {
|
|
1867
1876
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1868
1877
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -2062,6 +2071,42 @@
|
|
|
2062
2071
|
"paddingRight": 0,
|
|
2063
2072
|
"paddingTop": 0
|
|
2064
2073
|
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"if": {
|
|
2077
|
+
"interactive": true,
|
|
2078
|
+
"pressed": false
|
|
2079
|
+
},
|
|
2080
|
+
"tokens": {
|
|
2081
|
+
"borderColor": {
|
|
2082
|
+
"red": 1,
|
|
2083
|
+
"green": 1,
|
|
2084
|
+
"blue": 1,
|
|
2085
|
+
"alpha": 1
|
|
2086
|
+
},
|
|
2087
|
+
"borderWidth": 2
|
|
2088
|
+
}
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"if": {
|
|
2092
|
+
"interactive": true,
|
|
2093
|
+
"pressed": true
|
|
2094
|
+
},
|
|
2095
|
+
"tokens": {
|
|
2096
|
+
"backgroundColor": {
|
|
2097
|
+
"red": 0,
|
|
2098
|
+
"green": 0,
|
|
2099
|
+
"blue": 0,
|
|
2100
|
+
"alpha": 0.2
|
|
2101
|
+
},
|
|
2102
|
+
"borderColor": {
|
|
2103
|
+
"red": 0.80392,
|
|
2104
|
+
"green": 0.81176,
|
|
2105
|
+
"blue": 0.83529,
|
|
2106
|
+
"alpha": 1
|
|
2107
|
+
},
|
|
2108
|
+
"borderWidth": 2
|
|
2109
|
+
}
|
|
2065
2110
|
}
|
|
2066
2111
|
],
|
|
2067
2112
|
"tokens": {
|
|
@@ -2914,8 +2959,9 @@
|
|
|
2914
2959
|
"size": "large"
|
|
2915
2960
|
},
|
|
2916
2961
|
"tokens": {
|
|
2962
|
+
"blockLineHeight": 1.4,
|
|
2917
2963
|
"fontSize": 20,
|
|
2918
|
-
"iconSize":
|
|
2964
|
+
"iconSize": 20
|
|
2919
2965
|
}
|
|
2920
2966
|
},
|
|
2921
2967
|
{
|
|
@@ -2923,8 +2969,9 @@
|
|
|
2923
2969
|
"size": "small"
|
|
2924
2970
|
},
|
|
2925
2971
|
"tokens": {
|
|
2972
|
+
"blockLineHeight": 1.5,
|
|
2926
2973
|
"fontSize": 16,
|
|
2927
|
-
"iconSize":
|
|
2974
|
+
"iconSize": 16
|
|
2928
2975
|
}
|
|
2929
2976
|
},
|
|
2930
2977
|
{
|
|
@@ -2932,12 +2979,14 @@
|
|
|
2932
2979
|
"size": "micro"
|
|
2933
2980
|
},
|
|
2934
2981
|
"tokens": {
|
|
2982
|
+
"blockLineHeight": 1.4285714285714286,
|
|
2935
2983
|
"fontSize": 14,
|
|
2936
2984
|
"iconSize": 16
|
|
2937
2985
|
}
|
|
2938
2986
|
}
|
|
2939
2987
|
],
|
|
2940
2988
|
"tokens": {
|
|
2989
|
+
"blockLineHeight": 1.55555555,
|
|
2941
2990
|
"color": {
|
|
2942
2991
|
"red": 0.38824,
|
|
2943
2992
|
"green": 0.42353,
|
|
@@ -2946,7 +2995,7 @@
|
|
|
2946
2995
|
},
|
|
2947
2996
|
"fontSize": 18,
|
|
2948
2997
|
"iconDisplace": 0,
|
|
2949
|
-
"iconSize":
|
|
2998
|
+
"iconSize": 16,
|
|
2950
2999
|
"iconSpace": 1,
|
|
2951
3000
|
"leftIcon": "PaletteIconChevronLeft",
|
|
2952
3001
|
"outerBorderColor": {
|
|
@@ -2959,6 +3008,91 @@
|
|
|
2959
3008
|
"textLine": "none"
|
|
2960
3009
|
}
|
|
2961
3010
|
},
|
|
3011
|
+
"ColourToggle": {
|
|
3012
|
+
"appearances": {
|
|
3013
|
+
"pressed": {
|
|
3014
|
+
"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.",
|
|
3015
|
+
"values": [true, false],
|
|
3016
|
+
"type": "state"
|
|
3017
|
+
},
|
|
3018
|
+
"selected": {
|
|
3019
|
+
"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`.",
|
|
3020
|
+
"values": [true],
|
|
3021
|
+
"type": "state"
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"rules": [
|
|
3025
|
+
{
|
|
3026
|
+
"if": {
|
|
3027
|
+
"pressed": true
|
|
3028
|
+
},
|
|
3029
|
+
"tokens": {
|
|
3030
|
+
"bubbleBorderColor": {
|
|
3031
|
+
"red": 0.16863,
|
|
3032
|
+
"green": 0.19216,
|
|
3033
|
+
"blue": 0.27059,
|
|
3034
|
+
"alpha": 1
|
|
3035
|
+
},
|
|
3036
|
+
"bubbleBorderRadius": 45,
|
|
3037
|
+
"bubbleBorderWidth": 1
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"if": {
|
|
3042
|
+
"selected": true
|
|
3043
|
+
},
|
|
3044
|
+
"tokens": {
|
|
3045
|
+
"bubbleBorderColor": {
|
|
3046
|
+
"red": 0.22353,
|
|
3047
|
+
"green": 0.25098,
|
|
3048
|
+
"blue": 0.33725,
|
|
3049
|
+
"alpha": 1
|
|
3050
|
+
},
|
|
3051
|
+
"bubbleBorderRadius": 45,
|
|
3052
|
+
"bubbleBorderWidth": 1
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
],
|
|
3056
|
+
"tokens": {
|
|
3057
|
+
"borderColor": {
|
|
3058
|
+
"red": 0.61176,
|
|
3059
|
+
"green": 0.62353,
|
|
3060
|
+
"blue": 0.66667,
|
|
3061
|
+
"alpha": 1
|
|
3062
|
+
},
|
|
3063
|
+
"borderRadius": 45,
|
|
3064
|
+
"borderWidth": 1,
|
|
3065
|
+
"bubbleBorderColor": {
|
|
3066
|
+
"red": 0,
|
|
3067
|
+
"green": 0,
|
|
3068
|
+
"blue": 0,
|
|
3069
|
+
"alpha": 0
|
|
3070
|
+
},
|
|
3071
|
+
"bubbleBorderRadius": 0,
|
|
3072
|
+
"bubbleBorderWidth": 0,
|
|
3073
|
+
"innerBubbleBorderRadius": 45,
|
|
3074
|
+
"innerBubbleHeight": 40,
|
|
3075
|
+
"innerBubbleWidth": 40,
|
|
3076
|
+
"outerBubbleContentAlignItems": "center",
|
|
3077
|
+
"outerBubbleHeight": 48,
|
|
3078
|
+
"outerBubbleJustifyContent": "center",
|
|
3079
|
+
"outerBubbleWidth": 48,
|
|
3080
|
+
"shadow": {
|
|
3081
|
+
"inset": true,
|
|
3082
|
+
"offsetX": 0,
|
|
3083
|
+
"offsetY": 2,
|
|
3084
|
+
"blur": 2,
|
|
3085
|
+
"spread": 0,
|
|
3086
|
+
"color": {
|
|
3087
|
+
"red": 0,
|
|
3088
|
+
"green": 0,
|
|
3089
|
+
"blue": 0,
|
|
3090
|
+
"alpha": 0.1
|
|
3091
|
+
}
|
|
3092
|
+
},
|
|
3093
|
+
"space": 2
|
|
3094
|
+
}
|
|
3095
|
+
},
|
|
2962
3096
|
"Countdown": {
|
|
2963
3097
|
"appearances": {
|
|
2964
3098
|
"feature": {
|
|
@@ -4823,6 +4957,11 @@
|
|
|
4823
4957
|
"values": [true, false],
|
|
4824
4958
|
"type": "state"
|
|
4825
4959
|
},
|
|
4960
|
+
"quiet": {
|
|
4961
|
+
"description": "When it is true, it does not show the decoration",
|
|
4962
|
+
"type": "state",
|
|
4963
|
+
"values": [true, false]
|
|
4964
|
+
},
|
|
4826
4965
|
"size": {
|
|
4827
4966
|
"description": "Text sizes for block links; similar but not always identical to Typography sizes.",
|
|
4828
4967
|
"type": "variant",
|
|
@@ -4966,6 +5105,14 @@
|
|
|
4966
5105
|
"blockLineHeight": 1.4,
|
|
4967
5106
|
"iconSize": 24
|
|
4968
5107
|
}
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"if": {
|
|
5111
|
+
"quiet": true
|
|
5112
|
+
},
|
|
5113
|
+
"tokens": {
|
|
5114
|
+
"textLine": "none"
|
|
5115
|
+
}
|
|
4969
5116
|
}
|
|
4970
5117
|
],
|
|
4971
5118
|
"tokens": {
|
|
@@ -11379,7 +11526,7 @@
|
|
|
11379
11526
|
}
|
|
11380
11527
|
},
|
|
11381
11528
|
"metadata": {
|
|
11382
|
-
"themeTokensVersion": "2.
|
|
11529
|
+
"themeTokensVersion": "2.48.0",
|
|
11383
11530
|
"name": "theme-public-mobile"
|
|
11384
11531
|
}
|
|
11385
11532
|
}
|