@telus-uds/theme-koodo 3.21.0 → 3.22.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 +624 -525
- package/build/android/theme.json +43 -6
- package/build/ios/schema.json +624 -525
- package/build/ios/theme.json +43 -6
- package/build/rn/schema.json +624 -525
- package/build/rn/theme.js +31 -8
- package/package.json +4 -4
- package/theme.json +39 -6
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 Thu, 20 Apr 2023 19:04:46 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1139,7 +1139,10 @@ module.exports = {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
},
|
|
1141
1141
|
rules: [
|
|
1142
|
-
{
|
|
1142
|
+
{
|
|
1143
|
+
if: { hover: true },
|
|
1144
|
+
tokens: { color: '#1b4746', iconDisplace: 4 }
|
|
1145
|
+
},
|
|
1143
1146
|
{ if: { pressed: true }, tokens: { color: '#595959' } },
|
|
1144
1147
|
{
|
|
1145
1148
|
if: { focus: true },
|
|
@@ -1183,19 +1186,30 @@ module.exports = {
|
|
|
1183
1186
|
if: { focus: true, inverse: true, pressed: true },
|
|
1184
1187
|
tokens: { color: '#bbeaf5', outerBorderColor: '#bbeaf5' }
|
|
1185
1188
|
},
|
|
1186
|
-
{
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
+
{
|
|
1190
|
+
if: { size: 'large' },
|
|
1191
|
+
tokens: { height: 48, iconSize: 24, textLineHeight: 2.15 }
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
if: { size: 'small' },
|
|
1195
|
+
tokens: { height: 36, iconSize: 16, textLineHeight: 2.15 }
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
if: { size: 'micro' },
|
|
1199
|
+
tokens: { height: 32, iconSize: 16, textLineHeight: 2.25 }
|
|
1200
|
+
}
|
|
1189
1201
|
],
|
|
1190
1202
|
tokens: {
|
|
1191
1203
|
color: '#016b6a',
|
|
1204
|
+
height: 40,
|
|
1192
1205
|
iconDisplace: 0,
|
|
1193
|
-
iconSize:
|
|
1206
|
+
iconSize: 18,
|
|
1194
1207
|
iconSpace: 1,
|
|
1195
1208
|
leftIcon: PaletteIconChevronLeft,
|
|
1196
1209
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1197
1210
|
rightIcon: PaletteIconChevronRight,
|
|
1198
|
-
textLine: 'none'
|
|
1211
|
+
textLine: 'none',
|
|
1212
|
+
textLineHeight: 2.13
|
|
1199
1213
|
}
|
|
1200
1214
|
},
|
|
1201
1215
|
DatePicker: {
|
|
@@ -3320,6 +3334,15 @@ module.exports = {
|
|
|
3320
3334
|
paddingVertical: 8
|
|
3321
3335
|
}
|
|
3322
3336
|
},
|
|
3337
|
+
Spinner: {
|
|
3338
|
+
appearances: { size: { type: 'variant', values: [ 'small' ] } },
|
|
3339
|
+
rules: [ { if: { size: 'small' }, tokens: { size: 24, thickness: 2 } } ],
|
|
3340
|
+
tokens: {
|
|
3341
|
+
fullScreenOverLayBackground: '#fafafa',
|
|
3342
|
+
size: 48,
|
|
3343
|
+
thickness: 4
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3323
3346
|
StackView: {
|
|
3324
3347
|
appearances: {},
|
|
3325
3348
|
rules: [],
|
|
@@ -4301,5 +4324,5 @@ module.exports = {
|
|
|
4301
4324
|
tokens: { size: 96 }
|
|
4302
4325
|
}
|
|
4303
4326
|
},
|
|
4304
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4327
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.21.0' }
|
|
4305
4328
|
}
|
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.12.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.21.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.12.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": "3.
|
|
34
|
+
"version": "3.22.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1478,7 +1478,8 @@
|
|
|
1478
1478
|
"hover": true
|
|
1479
1479
|
},
|
|
1480
1480
|
"tokens": {
|
|
1481
|
-
"color": "{palette.color.mosqueDark}"
|
|
1481
|
+
"color": "{palette.color.mosqueDark}",
|
|
1482
|
+
"iconDisplace": "{palette.size.size4}"
|
|
1482
1483
|
}
|
|
1483
1484
|
},
|
|
1484
1485
|
{
|
|
@@ -1607,7 +1608,9 @@
|
|
|
1607
1608
|
"size": "large"
|
|
1608
1609
|
},
|
|
1609
1610
|
"tokens": {
|
|
1610
|
-
"
|
|
1611
|
+
"height": "{palette.size.size48}",
|
|
1612
|
+
"iconSize": "{palette.size.size24}",
|
|
1613
|
+
"textLineHeight": "{palette.lineHeight.ratio11to5}"
|
|
1611
1614
|
}
|
|
1612
1615
|
},
|
|
1613
1616
|
{
|
|
@@ -1615,7 +1618,9 @@
|
|
|
1615
1618
|
"size": "small"
|
|
1616
1619
|
},
|
|
1617
1620
|
"tokens": {
|
|
1618
|
-
"
|
|
1621
|
+
"height": "{palette.size.size36}",
|
|
1622
|
+
"iconSize": "{palette.size.size16}",
|
|
1623
|
+
"textLineHeight": "{palette.lineHeight.ratio15to7}"
|
|
1619
1624
|
}
|
|
1620
1625
|
},
|
|
1621
1626
|
{
|
|
@@ -1623,19 +1628,23 @@
|
|
|
1623
1628
|
"size": "micro"
|
|
1624
1629
|
},
|
|
1625
1630
|
"tokens": {
|
|
1626
|
-
"
|
|
1631
|
+
"height": "{palette.size.size32}",
|
|
1632
|
+
"iconSize": "{palette.size.size16}",
|
|
1633
|
+
"textLineHeight": "{palette.lineHeight.ratio7to3}"
|
|
1627
1634
|
}
|
|
1628
1635
|
}
|
|
1629
1636
|
],
|
|
1630
1637
|
"tokens": {
|
|
1631
1638
|
"color": "{palette.color.mosque}",
|
|
1639
|
+
"height": "{palette.size.size40}",
|
|
1632
1640
|
"iconDisplace": "{palette.size.size0}",
|
|
1633
|
-
"iconSize": "{palette.size.
|
|
1641
|
+
"iconSize": "{palette.size.size18}",
|
|
1634
1642
|
"iconSpace": "{system.integer.1}",
|
|
1635
1643
|
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
1636
1644
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1637
1645
|
"rightIcon": "{palette.icon.ChevronRight}",
|
|
1638
|
-
"textLine": "{system.textLine.none}"
|
|
1646
|
+
"textLine": "{system.textLine.none}",
|
|
1647
|
+
"textLineHeight": "{palette.lineHeight.ratio17to8}"
|
|
1639
1648
|
}
|
|
1640
1649
|
},
|
|
1641
1650
|
"DatePicker": {
|
|
@@ -4170,6 +4179,30 @@
|
|
|
4170
4179
|
"paddingVertical": "{palette.size.size8}"
|
|
4171
4180
|
}
|
|
4172
4181
|
},
|
|
4182
|
+
"Spinner": {
|
|
4183
|
+
"appearances": {
|
|
4184
|
+
"size": {
|
|
4185
|
+
"type": "variant",
|
|
4186
|
+
"values": ["small"]
|
|
4187
|
+
}
|
|
4188
|
+
},
|
|
4189
|
+
"rules": [
|
|
4190
|
+
{
|
|
4191
|
+
"if": {
|
|
4192
|
+
"size": "small"
|
|
4193
|
+
},
|
|
4194
|
+
"tokens": {
|
|
4195
|
+
"size": "{palette.size.size24}",
|
|
4196
|
+
"thickness": "{palette.border.border2}"
|
|
4197
|
+
}
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
"tokens": {
|
|
4201
|
+
"fullScreenOverLayBackground": "{palette.color.greyLight}",
|
|
4202
|
+
"size": "{palette.size.size48}",
|
|
4203
|
+
"thickness": "{palette.border.border4}"
|
|
4204
|
+
}
|
|
4205
|
+
},
|
|
4173
4206
|
"StackView": {
|
|
4174
4207
|
"appearances": {},
|
|
4175
4208
|
"rules": [],
|