@telus-uds/theme-koodo 3.29.0 → 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 +748 -553
- package/build/android/theme.json +227 -74
- package/build/ios/schema.json +748 -553
- package/build/ios/theme.json +227 -74
- package/build/rn/schema.json +748 -553
- package/build/rn/theme.js +149 -71
- package/package.json +4 -4
- package/theme.json +154 -66
package/theme.json
CHANGED
|
@@ -1054,8 +1054,27 @@
|
|
|
1054
1054
|
}
|
|
1055
1055
|
},
|
|
1056
1056
|
"ButtonGroup": {
|
|
1057
|
-
"appearances": {
|
|
1058
|
-
|
|
1057
|
+
"appearances": {
|
|
1058
|
+
"viewport": "{appearances.system.viewport}"
|
|
1059
|
+
},
|
|
1060
|
+
"rules": [
|
|
1061
|
+
{
|
|
1062
|
+
"if": {
|
|
1063
|
+
"viewport": ["xs", "sm"]
|
|
1064
|
+
},
|
|
1065
|
+
"tokens": {
|
|
1066
|
+
"space": "{system.integer.2}"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"if": {
|
|
1071
|
+
"viewport": ["md", "lg", "xl"]
|
|
1072
|
+
},
|
|
1073
|
+
"tokens": {
|
|
1074
|
+
"space": "{system.integer.3}"
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
1059
1078
|
"tokens": {
|
|
1060
1079
|
"alignItems": "{system.flexAlign.center}",
|
|
1061
1080
|
"direction": "{system.direction.row}",
|
|
@@ -1063,7 +1082,7 @@
|
|
|
1063
1082
|
"flexGrow": "{system.integer.0}",
|
|
1064
1083
|
"flexShrink": "{system.integer.0}",
|
|
1065
1084
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1066
|
-
"space": "{system.integer.
|
|
1085
|
+
"space": "{system.integer.2}"
|
|
1067
1086
|
}
|
|
1068
1087
|
},
|
|
1069
1088
|
"ButtonGroupItem": {
|
|
@@ -1081,8 +1100,7 @@
|
|
|
1081
1100
|
"pressed": true
|
|
1082
1101
|
},
|
|
1083
1102
|
"tokens": {
|
|
1084
|
-
"backgroundColor": "{palette.color.
|
|
1085
|
-
"borderColor": "{palette.color.mosque}",
|
|
1103
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1086
1104
|
"color": "{palette.color.white}"
|
|
1087
1105
|
}
|
|
1088
1106
|
},
|
|
@@ -1099,7 +1117,8 @@
|
|
|
1099
1117
|
"hover": true
|
|
1100
1118
|
},
|
|
1101
1119
|
"tokens": {
|
|
1102
|
-
"backgroundColor": "{palette.color.mosqueDark}"
|
|
1120
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1121
|
+
"color": "{palette.color.white}"
|
|
1103
1122
|
}
|
|
1104
1123
|
},
|
|
1105
1124
|
{
|
|
@@ -1107,49 +1126,38 @@
|
|
|
1107
1126
|
"selected": true
|
|
1108
1127
|
},
|
|
1109
1128
|
"tokens": {
|
|
1110
|
-
"
|
|
1111
|
-
"
|
|
1112
|
-
"outerBorderGap": "{palette.size.size1}",
|
|
1113
|
-
"outerBorderWidth": "{palette.border.border4}"
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
"if": {
|
|
1118
|
-
"focus": true,
|
|
1119
|
-
"pressed": true
|
|
1120
|
-
},
|
|
1121
|
-
"tokens": {
|
|
1122
|
-
"outerBorderColor": "{palette.color.bilbao}"
|
|
1129
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
1130
|
+
"color": "{palette.color.white}"
|
|
1123
1131
|
}
|
|
1124
1132
|
},
|
|
1125
1133
|
{
|
|
1126
1134
|
"if": {
|
|
1127
|
-
"
|
|
1135
|
+
"hover": true,
|
|
1136
|
+
"selected": true
|
|
1128
1137
|
},
|
|
1129
1138
|
"tokens": {
|
|
1130
|
-
"backgroundColor": "{palette.color.
|
|
1131
|
-
"borderWidth": "{system.border.zero}",
|
|
1139
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1132
1140
|
"color": "{palette.color.white}"
|
|
1133
1141
|
}
|
|
1134
1142
|
},
|
|
1135
1143
|
{
|
|
1136
1144
|
"if": {
|
|
1145
|
+
"pressed": true,
|
|
1137
1146
|
"selected": true
|
|
1138
1147
|
},
|
|
1139
1148
|
"tokens": {
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
"outerBorderGap": "{palette.size.size1}",
|
|
1143
|
-
"outerBorderWidth": "{palette.border.border4}"
|
|
1149
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1150
|
+
"color": "{palette.color.white}"
|
|
1144
1151
|
}
|
|
1145
1152
|
},
|
|
1146
1153
|
{
|
|
1147
1154
|
"if": {
|
|
1148
|
-
"
|
|
1149
|
-
"selected": true
|
|
1155
|
+
"inactive": true
|
|
1150
1156
|
},
|
|
1151
1157
|
"tokens": {
|
|
1152
|
-
"
|
|
1158
|
+
"backgroundColor": "{palette.color.silver}",
|
|
1159
|
+
"borderWidth": "{system.border.zero}",
|
|
1160
|
+
"color": "{palette.color.white}"
|
|
1153
1161
|
}
|
|
1154
1162
|
},
|
|
1155
1163
|
{
|
|
@@ -1163,24 +1171,24 @@
|
|
|
1163
1171
|
],
|
|
1164
1172
|
"tokens": {
|
|
1165
1173
|
"alignSelf": "{system.flexAlign.flexStart}",
|
|
1166
|
-
"backgroundColor": "{palette.color.
|
|
1167
|
-
"borderColor": "{palette.color.
|
|
1174
|
+
"backgroundColor": "{palette.color.white}",
|
|
1175
|
+
"borderColor": "{palette.color.mosque}",
|
|
1168
1176
|
"borderRadius": "{palette.radius.radius4}",
|
|
1169
|
-
"borderWidth": "{palette.border.
|
|
1170
|
-
"color": "{palette.color.
|
|
1177
|
+
"borderWidth": "{palette.border.border1}",
|
|
1178
|
+
"color": "{palette.color.mosque}",
|
|
1171
1179
|
"fontName": "{palette.fontName.StagSans}",
|
|
1172
|
-
"fontSize": "{palette.fontSize.
|
|
1180
|
+
"fontSize": "{palette.fontSize.size16}",
|
|
1173
1181
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
1174
|
-
"height": "{palette.size.
|
|
1182
|
+
"height": "{palette.size.size48}",
|
|
1175
1183
|
"iconSize": "{palette.size.size20}",
|
|
1176
|
-
"iconSpace": "{system.integer.
|
|
1177
|
-
"lineHeight": "{palette.lineHeight.
|
|
1184
|
+
"iconSpace": "{system.integer.2}",
|
|
1185
|
+
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
1178
1186
|
"minWidth": "{system.size.zero}",
|
|
1179
1187
|
"opacity": "{system.opacity.opaque}",
|
|
1180
1188
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
1181
1189
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1182
|
-
"outerBorderGap": "{palette.size.
|
|
1183
|
-
"outerBorderWidth": "{palette.border.
|
|
1190
|
+
"outerBorderGap": "{palette.size.size3}",
|
|
1191
|
+
"outerBorderWidth": "{palette.border.border1}",
|
|
1184
1192
|
"paddingBottom": "{palette.size.size8}",
|
|
1185
1193
|
"paddingLeft": "{palette.size.size24}",
|
|
1186
1194
|
"paddingRight": "{palette.size.size24}",
|
|
@@ -2095,6 +2103,37 @@
|
|
|
2095
2103
|
"titleFontSize": "{palette.fontSize.size16}"
|
|
2096
2104
|
}
|
|
2097
2105
|
},
|
|
2106
|
+
"Fieldset": {
|
|
2107
|
+
"appearances": {
|
|
2108
|
+
"error": {
|
|
2109
|
+
"type": "variant",
|
|
2110
|
+
"values": [true]
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
"rules": [
|
|
2114
|
+
{
|
|
2115
|
+
"if": {
|
|
2116
|
+
"error": true
|
|
2117
|
+
},
|
|
2118
|
+
"tokens": {
|
|
2119
|
+
"outlineColor": "{palette.color.amaranth}"
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
],
|
|
2123
|
+
"tokens": {
|
|
2124
|
+
"borderBottomLeftRadius": "{system.radius.zero}",
|
|
2125
|
+
"borderBottomRightRadius": "{system.radius.zero}",
|
|
2126
|
+
"borderTopLeftRadius": "{system.radius.zero}",
|
|
2127
|
+
"borderTopRightRadius": "{system.radius.zero}",
|
|
2128
|
+
"outlineColor": "{palette.color.transparent}",
|
|
2129
|
+
"outlineOffset": "{system.size.none}",
|
|
2130
|
+
"outlineWidth": "{system.border.zero}",
|
|
2131
|
+
"paddingBottom": "{system.size.zero}",
|
|
2132
|
+
"paddingLeft": "{system.size.zero}",
|
|
2133
|
+
"paddingRight": "{system.size.zero}",
|
|
2134
|
+
"paddingTop": "{system.size.zero}"
|
|
2135
|
+
}
|
|
2136
|
+
},
|
|
2098
2137
|
"Footnote": {
|
|
2099
2138
|
"appearances": {},
|
|
2100
2139
|
"rules": [],
|
|
@@ -4470,7 +4509,14 @@
|
|
|
4470
4509
|
"appearances": {},
|
|
4471
4510
|
"rules": [],
|
|
4472
4511
|
"tokens": {
|
|
4512
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
4513
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
4514
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
4515
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
4473
4516
|
"fieldSpace": "{system.integer.2}",
|
|
4517
|
+
"outlineOffset": "{palette.size.size8}",
|
|
4518
|
+
"outlineWidth": "{palette.border.border1}",
|
|
4519
|
+
"showIcon": "{system.show.true}",
|
|
4474
4520
|
"space": "{system.integer.2}"
|
|
4475
4521
|
}
|
|
4476
4522
|
},
|
|
@@ -5563,6 +5609,11 @@
|
|
|
5563
5609
|
"focus": "{appearances.TextInput.focus}",
|
|
5564
5610
|
"hover": "{appearances.TextInput.hover}",
|
|
5565
5611
|
"inactive": "{appearances.TextInput.inactive}",
|
|
5612
|
+
"numeric": {
|
|
5613
|
+
"description": "capability to only allow numbers",
|
|
5614
|
+
"type": "variant",
|
|
5615
|
+
"values": [true]
|
|
5616
|
+
},
|
|
5566
5617
|
"password": {
|
|
5567
5618
|
"description": "capability that helps masking and unmasking text",
|
|
5568
5619
|
"type": "variant",
|
|
@@ -5731,7 +5782,8 @@
|
|
|
5731
5782
|
"hover": true
|
|
5732
5783
|
},
|
|
5733
5784
|
"tokens": {
|
|
5734
|
-
"backgroundColor": "{palette.color.
|
|
5785
|
+
"backgroundColor": "{palette.color.silverDark}",
|
|
5786
|
+
"switchColor": "{palette.color.mortarDark}"
|
|
5735
5787
|
}
|
|
5736
5788
|
},
|
|
5737
5789
|
{
|
|
@@ -5739,7 +5791,8 @@
|
|
|
5739
5791
|
"pressed": true
|
|
5740
5792
|
},
|
|
5741
5793
|
"tokens": {
|
|
5742
|
-
"backgroundColor": "{palette.color.
|
|
5794
|
+
"backgroundColor": "{palette.color.silverDark}",
|
|
5795
|
+
"switchColor": "{palette.color.mortarDark}"
|
|
5743
5796
|
}
|
|
5744
5797
|
},
|
|
5745
5798
|
{
|
|
@@ -5747,7 +5800,11 @@
|
|
|
5747
5800
|
"focus": true
|
|
5748
5801
|
},
|
|
5749
5802
|
"tokens": {
|
|
5750
|
-
"
|
|
5803
|
+
"backgroundColor": "{palette.color.silverDark}",
|
|
5804
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
5805
|
+
"outerBorderGap": "{palette.size.size3}",
|
|
5806
|
+
"outerBorderWidth": "{palette.border.border1}",
|
|
5807
|
+
"switchColor": "{palette.color.mortarDark}"
|
|
5751
5808
|
}
|
|
5752
5809
|
},
|
|
5753
5810
|
{
|
|
@@ -5755,7 +5812,11 @@
|
|
|
5755
5812
|
"selected": true
|
|
5756
5813
|
},
|
|
5757
5814
|
"tokens": {
|
|
5758
|
-
"backgroundColor": "{palette.color.
|
|
5815
|
+
"backgroundColor": "{palette.color.icicle}",
|
|
5816
|
+
"icon": "{palette.icon.Check}",
|
|
5817
|
+
"iconColor": "{palette.color.white}",
|
|
5818
|
+
"switchBorderColor": "{palette.color.transparent}",
|
|
5819
|
+
"switchColor": "{palette.color.mosque}"
|
|
5759
5820
|
}
|
|
5760
5821
|
},
|
|
5761
5822
|
{
|
|
@@ -5764,7 +5825,7 @@
|
|
|
5764
5825
|
"selected": true
|
|
5765
5826
|
},
|
|
5766
5827
|
"tokens": {
|
|
5767
|
-
"backgroundColor": "{palette.color.
|
|
5828
|
+
"backgroundColor": "{palette.color.icicleDark}"
|
|
5768
5829
|
}
|
|
5769
5830
|
},
|
|
5770
5831
|
{
|
|
@@ -5782,7 +5843,19 @@
|
|
|
5782
5843
|
"selected": true
|
|
5783
5844
|
},
|
|
5784
5845
|
"tokens": {
|
|
5785
|
-
"outerBorderColor": "{palette.color.
|
|
5846
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
5847
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
5848
|
+
}
|
|
5849
|
+
},
|
|
5850
|
+
{
|
|
5851
|
+
"if": {
|
|
5852
|
+
"focus": true,
|
|
5853
|
+
"pressed": true
|
|
5854
|
+
},
|
|
5855
|
+
"tokens": {
|
|
5856
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
5857
|
+
"outerBorderGap": "{palette.size.size3}",
|
|
5858
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
5786
5859
|
}
|
|
5787
5860
|
},
|
|
5788
5861
|
{
|
|
@@ -5792,7 +5865,7 @@
|
|
|
5792
5865
|
"selected": true
|
|
5793
5866
|
},
|
|
5794
5867
|
"tokens": {
|
|
5795
|
-
"outerBorderColor": "{palette.color.
|
|
5868
|
+
"outerBorderColor": "{palette.color.chathamsBlue}"
|
|
5796
5869
|
}
|
|
5797
5870
|
},
|
|
5798
5871
|
{
|
|
@@ -5800,50 +5873,65 @@
|
|
|
5800
5873
|
"inactive": true
|
|
5801
5874
|
},
|
|
5802
5875
|
"tokens": {
|
|
5803
|
-
"
|
|
5876
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
5877
|
+
"iconColor": "{palette.color.silver}",
|
|
5878
|
+
"opacity": "{palette.opacity.opacity5}",
|
|
5879
|
+
"switchBorderColor": "{palette.color.transparent}",
|
|
5880
|
+
"switchColor": "{palette.color.white}"
|
|
5804
5881
|
}
|
|
5805
5882
|
}
|
|
5806
5883
|
],
|
|
5807
5884
|
"tokens": {
|
|
5808
5885
|
"alignSelf": "{system.flexAlign.flexStart}",
|
|
5809
|
-
"backgroundColor": "{palette.color.
|
|
5886
|
+
"backgroundColor": "{palette.color.silver}",
|
|
5810
5887
|
"borderColor": "{palette.color.transparent}",
|
|
5811
|
-
"borderRadius": "{palette.radius.
|
|
5888
|
+
"borderRadius": "{palette.radius.pill32}",
|
|
5812
5889
|
"borderWidth": "{palette.border.none}",
|
|
5813
5890
|
"icon": "{system.icon.none}",
|
|
5814
|
-
"iconColor": "{
|
|
5815
|
-
"iconSize": "{palette.size.
|
|
5891
|
+
"iconColor": "{system.color.none}",
|
|
5892
|
+
"iconSize": "{palette.size.size12}",
|
|
5816
5893
|
"labelColor": "{palette.color.black}",
|
|
5817
5894
|
"labelFontName": "{palette.fontName.StagSans}",
|
|
5818
5895
|
"labelFontSize": "{palette.fontSize.size16}",
|
|
5819
|
-
"labelFontWeight": "{palette.fontWeight.
|
|
5896
|
+
"labelFontWeight": "{palette.fontWeight.weight600}",
|
|
5820
5897
|
"labelLineHeight": "{palette.lineHeight.multiply150}",
|
|
5821
5898
|
"labelMarginLeft": "{palette.size.size8}",
|
|
5822
5899
|
"opacity": "{system.opacity.opaque}",
|
|
5823
5900
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
5824
5901
|
"outerBorderColor": "{palette.color.transparent}",
|
|
5825
|
-
"outerBorderGap": "{palette.size.
|
|
5826
|
-
"outerBorderWidth": "{palette.border.
|
|
5827
|
-
"paddingBottom": "{
|
|
5828
|
-
"paddingLeft": "{
|
|
5829
|
-
"paddingRight": "{
|
|
5830
|
-
"paddingTop": "{
|
|
5902
|
+
"outerBorderGap": "{palette.size.size0}",
|
|
5903
|
+
"outerBorderWidth": "{palette.border.none}",
|
|
5904
|
+
"paddingBottom": "{system.size.zero}",
|
|
5905
|
+
"paddingLeft": "{system.size.zero}",
|
|
5906
|
+
"paddingRight": "{system.size.zero}",
|
|
5907
|
+
"paddingTop": "{system.size.zero}",
|
|
5831
5908
|
"shadow": "{system.shadow.none}",
|
|
5832
5909
|
"switchBorderColor": "{palette.color.transparent}",
|
|
5833
5910
|
"switchBorderRadius": "{palette.radius.pill32}",
|
|
5834
5911
|
"switchBorderWidth": "{palette.border.none}",
|
|
5835
|
-
"switchColor": "{palette.color.
|
|
5836
|
-
"switchShadow": "{
|
|
5837
|
-
"switchSize": "{palette.size.
|
|
5912
|
+
"switchColor": "{palette.color.mortar}",
|
|
5913
|
+
"switchShadow": "{palette.shadow.surfaceRaised}",
|
|
5914
|
+
"switchSize": "{palette.size.size18}",
|
|
5838
5915
|
"trackBorderColor": "{palette.color.transparent}",
|
|
5839
|
-
"trackBorderRadius": "{palette.radius.
|
|
5840
|
-
"trackBorderWidth": "{palette.border.
|
|
5841
|
-
"width": "{palette.size.
|
|
5916
|
+
"trackBorderRadius": "{palette.radius.radius12}",
|
|
5917
|
+
"trackBorderWidth": "{palette.border.border3}",
|
|
5918
|
+
"width": "{palette.size.size40}"
|
|
5842
5919
|
}
|
|
5843
5920
|
},
|
|
5844
5921
|
"ToggleSwitchGroup": {
|
|
5845
|
-
"appearances": {
|
|
5846
|
-
|
|
5922
|
+
"appearances": {
|
|
5923
|
+
"viewport": "{appearances.system.viewport}"
|
|
5924
|
+
},
|
|
5925
|
+
"rules": [
|
|
5926
|
+
{
|
|
5927
|
+
"if": {
|
|
5928
|
+
"viewport": ["lg", "xl"]
|
|
5929
|
+
},
|
|
5930
|
+
"tokens": {
|
|
5931
|
+
"space": "{system.integer.3}"
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
],
|
|
5847
5935
|
"tokens": {
|
|
5848
5936
|
"alignItems": "{system.flexAlign.flexStart}",
|
|
5849
5937
|
"direction": "{system.direction.column}",
|