@telus-uds/theme-koodo 4.14.0 → 4.16.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 +824 -660
- package/build/android/theme.json +84 -2
- package/build/ios/schema.json +824 -660
- package/build/ios/theme.json +84 -2
- package/build/rn/schema.json +824 -660
- package/build/rn/theme.js +66 -4
- package/package.json +4 -4
- package/theme.json +81 -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 Tue, 07 Nov 2023 16:18:20 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',
|
|
@@ -1578,6 +1597,41 @@ module.exports = {
|
|
|
1578
1597
|
textTransform: 'none'
|
|
1579
1598
|
}
|
|
1580
1599
|
},
|
|
1600
|
+
CheckboxCardGroup: {
|
|
1601
|
+
appearances: {
|
|
1602
|
+
fullWidth: {
|
|
1603
|
+
description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
|
|
1604
|
+
type: 'variant',
|
|
1605
|
+
values: [ true ]
|
|
1606
|
+
},
|
|
1607
|
+
viewport: {
|
|
1608
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1609
|
+
type: 'state',
|
|
1610
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
rules: [
|
|
1614
|
+
{
|
|
1615
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1616
|
+
tokens: { direction: 'row', space: 5 }
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
if: { fullWidth: true },
|
|
1620
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
1621
|
+
}
|
|
1622
|
+
],
|
|
1623
|
+
tokens: {
|
|
1624
|
+
borderBottomLeftRadius: 1,
|
|
1625
|
+
borderBottomRightRadius: 1,
|
|
1626
|
+
borderTopLeftRadius: 1,
|
|
1627
|
+
borderTopRightRadius: 1,
|
|
1628
|
+
direction: 'column',
|
|
1629
|
+
fieldSpace: 3,
|
|
1630
|
+
outlineOffset: 8,
|
|
1631
|
+
outlineWidth: 1,
|
|
1632
|
+
space: 3
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1581
1635
|
CheckboxGroup: {
|
|
1582
1636
|
appearances: {},
|
|
1583
1637
|
rules: [],
|
|
@@ -3060,6 +3114,7 @@ module.exports = {
|
|
|
3060
3114
|
{
|
|
3061
3115
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
3062
3116
|
tokens: {
|
|
3117
|
+
direction: 'column',
|
|
3063
3118
|
height: '100%',
|
|
3064
3119
|
paddingBottom: 24,
|
|
3065
3120
|
paddingLeft: 24,
|
|
@@ -3072,6 +3127,7 @@ module.exports = {
|
|
|
3072
3127
|
tokens: {
|
|
3073
3128
|
containerPaddingBottom: 32,
|
|
3074
3129
|
containerPaddingTop: 32,
|
|
3130
|
+
direction: 'row',
|
|
3075
3131
|
maxWidth: 576
|
|
3076
3132
|
}
|
|
3077
3133
|
},
|
|
@@ -3099,6 +3155,7 @@ module.exports = {
|
|
|
3099
3155
|
containerPaddingLeft: 0,
|
|
3100
3156
|
containerPaddingRight: 0,
|
|
3101
3157
|
containerPaddingTop: 0,
|
|
3158
|
+
direction: 'row',
|
|
3102
3159
|
gap: 16,
|
|
3103
3160
|
headingColor: '#000000',
|
|
3104
3161
|
headingPaddingRight: 24,
|
|
@@ -5896,6 +5953,7 @@ module.exports = {
|
|
|
5896
5953
|
}
|
|
5897
5954
|
],
|
|
5898
5955
|
tokens: {
|
|
5956
|
+
amexIcon: PaletteIconAmex,
|
|
5899
5957
|
backgroundColor: '#ffffff',
|
|
5900
5958
|
borderColor: '#000000',
|
|
5901
5959
|
borderRadius: 4,
|
|
@@ -5905,13 +5963,16 @@ module.exports = {
|
|
|
5905
5963
|
buttonsPaddingRight: 8,
|
|
5906
5964
|
clearButtonIcon: PaletteIconTimes,
|
|
5907
5965
|
color: '#666666',
|
|
5966
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5908
5967
|
fontName: 'StagSans',
|
|
5909
5968
|
fontSize: 16,
|
|
5910
5969
|
fontWeight: '400',
|
|
5911
5970
|
icon: null,
|
|
5912
5971
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5913
5972
|
iconSize: 24,
|
|
5973
|
+
leftIconPaddingBottom: 5,
|
|
5914
5974
|
lineHeight: 1.5,
|
|
5975
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5915
5976
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5916
5977
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5917
5978
|
outerBorderWidth: 2,
|
|
@@ -5920,7 +5981,8 @@ module.exports = {
|
|
|
5920
5981
|
paddingRight: 16,
|
|
5921
5982
|
paddingTop: 10,
|
|
5922
5983
|
passwordHideButtonIcon: PaletteIconEyeMasked,
|
|
5923
|
-
passwordShowButtonIcon: PaletteIconEyeUnmasked
|
|
5984
|
+
passwordShowButtonIcon: PaletteIconEyeUnmasked,
|
|
5985
|
+
visaIcon: PaletteIconVisa
|
|
5924
5986
|
}
|
|
5925
5987
|
},
|
|
5926
5988
|
Timeline: {
|
|
@@ -6764,5 +6826,5 @@ module.exports = {
|
|
|
6764
6826
|
tokens: { size: 96 }
|
|
6765
6827
|
}
|
|
6766
6828
|
},
|
|
6767
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
6829
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.44.0' }
|
|
6768
6830
|
}
|
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.44.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.16.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": {
|
|
@@ -1974,6 +2002,48 @@
|
|
|
1974
2002
|
"textTransform": "{system.textTransform.none}"
|
|
1975
2003
|
}
|
|
1976
2004
|
},
|
|
2005
|
+
"CheckboxCardGroup": {
|
|
2006
|
+
"appearances": {
|
|
2007
|
+
"fullWidth": {
|
|
2008
|
+
"description": "Makes cards always occupy the full width of the parent, regardless of viewport",
|
|
2009
|
+
"type": "variant",
|
|
2010
|
+
"values": [true]
|
|
2011
|
+
},
|
|
2012
|
+
"viewport": "{appearances.system.viewport}"
|
|
2013
|
+
},
|
|
2014
|
+
"rules": [
|
|
2015
|
+
{
|
|
2016
|
+
"if": {
|
|
2017
|
+
"viewport": ["md", "lg", "xl"]
|
|
2018
|
+
},
|
|
2019
|
+
"tokens": {
|
|
2020
|
+
"direction": "{system.direction.row}",
|
|
2021
|
+
"space": "{system.integer.5}"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"if": {
|
|
2026
|
+
"fullWidth": true
|
|
2027
|
+
},
|
|
2028
|
+
"tokens": {
|
|
2029
|
+
"direction": "{system.direction.column}",
|
|
2030
|
+
"fieldSpace": "{system.integer.3}",
|
|
2031
|
+
"space": "{system.integer.3}"
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
],
|
|
2035
|
+
"tokens": {
|
|
2036
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
2037
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
2038
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
2039
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
2040
|
+
"direction": "{system.direction.column}",
|
|
2041
|
+
"fieldSpace": "{system.integer.3}",
|
|
2042
|
+
"outlineOffset": "{palette.size.size8}",
|
|
2043
|
+
"outlineWidth": "{palette.border.border1}",
|
|
2044
|
+
"space": "{system.integer.3}"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
1977
2047
|
"CheckboxGroup": {
|
|
1978
2048
|
"appearances": {},
|
|
1979
2049
|
"rules": [],
|
|
@@ -4073,6 +4143,7 @@
|
|
|
4073
4143
|
"viewport": ["xs", "sm"]
|
|
4074
4144
|
},
|
|
4075
4145
|
"tokens": {
|
|
4146
|
+
"direction": "{system.direction.column}",
|
|
4076
4147
|
"height": "{system.size.full}",
|
|
4077
4148
|
"paddingBottom": "{palette.size.size24}",
|
|
4078
4149
|
"paddingLeft": "{palette.size.size24}",
|
|
@@ -4087,6 +4158,7 @@
|
|
|
4087
4158
|
"tokens": {
|
|
4088
4159
|
"containerPaddingBottom": "{palette.size.size32}",
|
|
4089
4160
|
"containerPaddingTop": "{palette.size.size32}",
|
|
4161
|
+
"direction": "{system.direction.row}",
|
|
4090
4162
|
"maxWidth": "{system.size.viewportSm}"
|
|
4091
4163
|
}
|
|
4092
4164
|
},
|
|
@@ -4117,6 +4189,7 @@
|
|
|
4117
4189
|
"containerPaddingLeft": "{system.size.zero}",
|
|
4118
4190
|
"containerPaddingRight": "{system.size.zero}",
|
|
4119
4191
|
"containerPaddingTop": "{system.size.zero}",
|
|
4192
|
+
"direction": "{system.direction.row}",
|
|
4120
4193
|
"gap": "{palette.size.size16}",
|
|
4121
4194
|
"headingColor": "{palette.color.black}",
|
|
4122
4195
|
"headingPaddingRight": "{palette.size.size24}",
|
|
@@ -7200,6 +7273,7 @@
|
|
|
7200
7273
|
}
|
|
7201
7274
|
],
|
|
7202
7275
|
"tokens": {
|
|
7276
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
7203
7277
|
"backgroundColor": "{palette.color.white}",
|
|
7204
7278
|
"borderColor": "{palette.color.black}",
|
|
7205
7279
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -7209,13 +7283,16 @@
|
|
|
7209
7283
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
7210
7284
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
7211
7285
|
"color": "{palette.color.dove}",
|
|
7286
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
7212
7287
|
"fontName": "{palette.fontName.StagSans}",
|
|
7213
7288
|
"fontSize": "{palette.fontSize.size16}",
|
|
7214
7289
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
7215
7290
|
"icon": "{system.icon.none}",
|
|
7216
7291
|
"iconColor": "{palette.color.transparent}",
|
|
7217
7292
|
"iconSize": "{palette.size.size24}",
|
|
7293
|
+
"leftIconPaddingBottom": "{palette.size.size5}",
|
|
7218
7294
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
7295
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
7219
7296
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
7220
7297
|
"outerBorderColor": "{palette.color.transparent}",
|
|
7221
7298
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -7224,7 +7301,8 @@
|
|
|
7224
7301
|
"paddingRight": "{palette.size.size16}",
|
|
7225
7302
|
"paddingTop": "{palette.size.size10}",
|
|
7226
7303
|
"passwordHideButtonIcon": "{palette.icon.EyeMasked}",
|
|
7227
|
-
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}"
|
|
7304
|
+
"passwordShowButtonIcon": "{palette.icon.EyeUnmasked}",
|
|
7305
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
7228
7306
|
}
|
|
7229
7307
|
},
|
|
7230
7308
|
"Timeline": {
|