@telus-uds/theme-koodo 4.14.0 → 4.15.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 +699 -659
- package/build/android/theme.json +35 -2
- package/build/ios/schema.json +699 -659
- package/build/ios/theme.json +35 -2
- package/build/rn/schema.json +699 -659
- package/build/rn/theme.js +28 -4
- package/package.json +4 -4
- package/theme.json +36 -3
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 01 Nov 2023 00:52:42 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -24,8 +24,12 @@ const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn
|
|
|
24
24
|
const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
|
|
25
25
|
const PaletteIconQuoteLeft = require('@telus-uds/palette-koodo/build/rn/icons/QuoteLeft')
|
|
26
26
|
const PaletteIconQuoteRightArrow = require('@telus-uds/palette-koodo/build/rn/icons/QuoteRightArrow')
|
|
27
|
+
const PaletteIconAmex = require('@telus-uds/palette-koodo/build/rn/icons/Amex')
|
|
28
|
+
const PaletteIconCreditCard = require('@telus-uds/palette-koodo/build/rn/icons/CreditCard')
|
|
29
|
+
const PaletteIconMasterCard = require('@telus-uds/palette-koodo/build/rn/icons/MasterCard')
|
|
27
30
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
28
31
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
32
|
+
const PaletteIconVisa = require('@telus-uds/palette-koodo/build/rn/icons/Visa')
|
|
29
33
|
const PaletteIconTooltip = require('@telus-uds/palette-koodo/build/rn/icons/Tooltip')
|
|
30
34
|
const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
|
|
31
35
|
const PaletteIconReplay = require('@telus-uds/palette-koodo/build/rn/icons/Replay')
|
|
@@ -857,6 +861,11 @@ module.exports = {
|
|
|
857
861
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
858
862
|
type: 'state',
|
|
859
863
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
864
|
+
},
|
|
865
|
+
width: {
|
|
866
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
867
|
+
type: 'variant',
|
|
868
|
+
values: [ 'responsive' ]
|
|
860
869
|
}
|
|
861
870
|
},
|
|
862
871
|
rules: [
|
|
@@ -864,6 +873,10 @@ module.exports = {
|
|
|
864
873
|
{
|
|
865
874
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
866
875
|
tokens: { space: 3 }
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
879
|
+
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
867
880
|
}
|
|
868
881
|
],
|
|
869
882
|
tokens: {
|
|
@@ -909,6 +922,11 @@ module.exports = {
|
|
|
909
922
|
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`.',
|
|
910
923
|
type: 'state',
|
|
911
924
|
values: [ true ]
|
|
925
|
+
},
|
|
926
|
+
width: {
|
|
927
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
928
|
+
type: 'variant',
|
|
929
|
+
values: [ 'responsive' ]
|
|
912
930
|
}
|
|
913
931
|
},
|
|
914
932
|
rules: [
|
|
@@ -944,7 +962,8 @@ module.exports = {
|
|
|
944
962
|
color: '#ffffff'
|
|
945
963
|
}
|
|
946
964
|
},
|
|
947
|
-
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
965
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
966
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
948
967
|
],
|
|
949
968
|
tokens: {
|
|
950
969
|
alignSelf: 'flex-start',
|
|
@@ -5896,6 +5915,7 @@ module.exports = {
|
|
|
5896
5915
|
}
|
|
5897
5916
|
],
|
|
5898
5917
|
tokens: {
|
|
5918
|
+
amexIcon: PaletteIconAmex,
|
|
5899
5919
|
backgroundColor: '#ffffff',
|
|
5900
5920
|
borderColor: '#000000',
|
|
5901
5921
|
borderRadius: 4,
|
|
@@ -5905,13 +5925,16 @@ module.exports = {
|
|
|
5905
5925
|
buttonsPaddingRight: 8,
|
|
5906
5926
|
clearButtonIcon: PaletteIconTimes,
|
|
5907
5927
|
color: '#666666',
|
|
5928
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5908
5929
|
fontName: 'StagSans',
|
|
5909
5930
|
fontSize: 16,
|
|
5910
5931
|
fontWeight: '400',
|
|
5911
5932
|
icon: null,
|
|
5912
5933
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5913
5934
|
iconSize: 24,
|
|
5935
|
+
leftIconPaddingBottom: 5,
|
|
5914
5936
|
lineHeight: 1.5,
|
|
5937
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5915
5938
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5916
5939
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5917
5940
|
outerBorderWidth: 2,
|
|
@@ -5920,7 +5943,8 @@ module.exports = {
|
|
|
5920
5943
|
paddingRight: 16,
|
|
5921
5944
|
paddingTop: 10,
|
|
5922
5945
|
passwordHideButtonIcon: PaletteIconEyeMasked,
|
|
5923
|
-
passwordShowButtonIcon: PaletteIconEyeUnmasked
|
|
5946
|
+
passwordShowButtonIcon: PaletteIconEyeUnmasked,
|
|
5947
|
+
visaIcon: PaletteIconVisa
|
|
5924
5948
|
}
|
|
5925
5949
|
},
|
|
5926
5950
|
Timeline: {
|
|
@@ -6764,5 +6788,5 @@ module.exports = {
|
|
|
6764
6788
|
tokens: { size: 96 }
|
|
6765
6789
|
}
|
|
6766
6790
|
},
|
|
6767
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
6791
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.43.0' }
|
|
6768
6792
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.27.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.43.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.27.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "4.
|
|
34
|
+
"version": "4.15.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1143,7 +1143,12 @@
|
|
|
1143
1143
|
},
|
|
1144
1144
|
"ButtonGroup": {
|
|
1145
1145
|
"appearances": {
|
|
1146
|
-
"viewport": "{appearances.system.viewport}"
|
|
1146
|
+
"viewport": "{appearances.system.viewport}",
|
|
1147
|
+
"width": {
|
|
1148
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1149
|
+
"type": "variant",
|
|
1150
|
+
"values": ["responsive"]
|
|
1151
|
+
}
|
|
1147
1152
|
},
|
|
1148
1153
|
"rules": [
|
|
1149
1154
|
{
|
|
@@ -1161,6 +1166,16 @@
|
|
|
1161
1166
|
"tokens": {
|
|
1162
1167
|
"space": "{system.integer.3}"
|
|
1163
1168
|
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"if": {
|
|
1172
|
+
"viewport": ["xs"],
|
|
1173
|
+
"width": "responsive"
|
|
1174
|
+
},
|
|
1175
|
+
"tokens": {
|
|
1176
|
+
"alignItems": "{system.flexAlign.stretch}",
|
|
1177
|
+
"direction": "{system.direction.column}"
|
|
1178
|
+
}
|
|
1164
1179
|
}
|
|
1165
1180
|
],
|
|
1166
1181
|
"tokens": {
|
|
@@ -1180,7 +1195,12 @@
|
|
|
1180
1195
|
"iconPosition": "{appearances.Link.iconPosition}",
|
|
1181
1196
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1182
1197
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1183
|
-
"selected": "{appearances.ButtonGroupItem.selected}"
|
|
1198
|
+
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1199
|
+
"width": {
|
|
1200
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1201
|
+
"type": "variant",
|
|
1202
|
+
"values": ["responsive"]
|
|
1203
|
+
}
|
|
1184
1204
|
},
|
|
1185
1205
|
"rules": [
|
|
1186
1206
|
{
|
|
@@ -1255,6 +1275,14 @@
|
|
|
1255
1275
|
"tokens": {
|
|
1256
1276
|
"iconSpace": "{system.integer.1}"
|
|
1257
1277
|
}
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"if": {
|
|
1281
|
+
"width": "responsive"
|
|
1282
|
+
},
|
|
1283
|
+
"tokens": {
|
|
1284
|
+
"width": "{system.size.full}"
|
|
1285
|
+
}
|
|
1258
1286
|
}
|
|
1259
1287
|
],
|
|
1260
1288
|
"tokens": {
|
|
@@ -7200,6 +7228,7 @@
|
|
|
7200
7228
|
}
|
|
7201
7229
|
],
|
|
7202
7230
|
"tokens": {
|
|
7231
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
7203
7232
|
"backgroundColor": "{palette.color.white}",
|
|
7204
7233
|
"borderColor": "{palette.color.black}",
|
|
7205
7234
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -7209,13 +7238,16 @@
|
|
|
7209
7238
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
7210
7239
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
7211
7240
|
"color": "{palette.color.dove}",
|
|
7241
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
7212
7242
|
"fontName": "{palette.fontName.StagSans}",
|
|
7213
7243
|
"fontSize": "{palette.fontSize.size16}",
|
|
7214
7244
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
7215
7245
|
"icon": "{system.icon.none}",
|
|
7216
7246
|
"iconColor": "{palette.color.transparent}",
|
|
7217
7247
|
"iconSize": "{palette.size.size24}",
|
|
7248
|
+
"leftIconPaddingBottom": "{palette.size.size5}",
|
|
7218
7249
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
7250
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
7219
7251
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
7220
7252
|
"outerBorderColor": "{palette.color.transparent}",
|
|
7221
7253
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -7224,7 +7256,8 @@
|
|
|
7224
7256
|
"paddingRight": "{palette.size.size16}",
|
|
7225
7257
|
"paddingTop": "{palette.size.size10}",
|
|
7226
7258
|
"passwordHideButtonIcon": "{palette.icon.EyeMasked}",
|
|
7227
|
-
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}"
|
|
7259
|
+
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}",
|
|
7260
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
7228
7261
|
}
|
|
7229
7262
|
},
|
|
7230
7263
|
"Timeline": {
|