@telus-uds/theme-koodo 3.20.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 +681 -526
- package/build/android/theme.json +51 -6
- package/build/ios/schema.json +681 -526
- package/build/ios/theme.json +51 -6
- package/build/rn/schema.json +681 -526
- package/build/rn/theme.js +39 -8
- package/package.json +4 -4
- package/theme.json +47 -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
|
|
|
@@ -888,6 +888,10 @@ module.exports = {
|
|
|
888
888
|
borderColor: null,
|
|
889
889
|
borderRadius: 0,
|
|
890
890
|
borderWidth: 0,
|
|
891
|
+
contentAlignItems: 'stretch',
|
|
892
|
+
contentFlexGrow: 0,
|
|
893
|
+
contentFlexShrink: 0,
|
|
894
|
+
contentJustifyContent: 'flex-start',
|
|
891
895
|
flex: 1,
|
|
892
896
|
minWidth: null,
|
|
893
897
|
paddingBottom: 16,
|
|
@@ -1135,7 +1139,10 @@ module.exports = {
|
|
|
1135
1139
|
}
|
|
1136
1140
|
},
|
|
1137
1141
|
rules: [
|
|
1138
|
-
{
|
|
1142
|
+
{
|
|
1143
|
+
if: { hover: true },
|
|
1144
|
+
tokens: { color: '#1b4746', iconDisplace: 4 }
|
|
1145
|
+
},
|
|
1139
1146
|
{ if: { pressed: true }, tokens: { color: '#595959' } },
|
|
1140
1147
|
{
|
|
1141
1148
|
if: { focus: true },
|
|
@@ -1179,19 +1186,30 @@ module.exports = {
|
|
|
1179
1186
|
if: { focus: true, inverse: true, pressed: true },
|
|
1180
1187
|
tokens: { color: '#bbeaf5', outerBorderColor: '#bbeaf5' }
|
|
1181
1188
|
},
|
|
1182
|
-
{
|
|
1183
|
-
|
|
1184
|
-
|
|
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
|
+
}
|
|
1185
1201
|
],
|
|
1186
1202
|
tokens: {
|
|
1187
1203
|
color: '#016b6a',
|
|
1204
|
+
height: 40,
|
|
1188
1205
|
iconDisplace: 0,
|
|
1189
|
-
iconSize:
|
|
1206
|
+
iconSize: 18,
|
|
1190
1207
|
iconSpace: 1,
|
|
1191
1208
|
leftIcon: PaletteIconChevronLeft,
|
|
1192
1209
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1193
1210
|
rightIcon: PaletteIconChevronRight,
|
|
1194
|
-
textLine: 'none'
|
|
1211
|
+
textLine: 'none',
|
|
1212
|
+
textLineHeight: 2.13
|
|
1195
1213
|
}
|
|
1196
1214
|
},
|
|
1197
1215
|
DatePicker: {
|
|
@@ -2861,6 +2879,10 @@ module.exports = {
|
|
|
2861
2879
|
borderRadius: 4,
|
|
2862
2880
|
borderWidth: 1,
|
|
2863
2881
|
color: '#000000',
|
|
2882
|
+
contentAlignItems: 'stretch',
|
|
2883
|
+
contentFlexGrow: 0,
|
|
2884
|
+
contentFlexShrink: 0,
|
|
2885
|
+
contentJustifyContent: 'flex-start',
|
|
2864
2886
|
contentSpace: 2,
|
|
2865
2887
|
flex: 1,
|
|
2866
2888
|
fontName: 'StagSans',
|
|
@@ -3312,6 +3334,15 @@ module.exports = {
|
|
|
3312
3334
|
paddingVertical: 8
|
|
3313
3335
|
}
|
|
3314
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
|
+
},
|
|
3315
3346
|
StackView: {
|
|
3316
3347
|
appearances: {},
|
|
3317
3348
|
rules: [],
|
|
@@ -4293,5 +4324,5 @@ module.exports = {
|
|
|
4293
4324
|
tokens: { size: 96 }
|
|
4294
4325
|
}
|
|
4295
4326
|
},
|
|
4296
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4327
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.21.0' }
|
|
4297
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
|
@@ -1232,6 +1232,10 @@
|
|
|
1232
1232
|
"borderColor": "{system.color.none}",
|
|
1233
1233
|
"borderRadius": "{palette.radius.none}",
|
|
1234
1234
|
"borderWidth": "{palette.border.none}",
|
|
1235
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1236
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
1237
|
+
"contentFlexShrink": "{system.integer.0}",
|
|
1238
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1235
1239
|
"flex": "{system.integer.1}",
|
|
1236
1240
|
"minWidth": "{system.size.none}",
|
|
1237
1241
|
"paddingBottom": "{palette.size.size16}",
|
|
@@ -1474,7 +1478,8 @@
|
|
|
1474
1478
|
"hover": true
|
|
1475
1479
|
},
|
|
1476
1480
|
"tokens": {
|
|
1477
|
-
"color": "{palette.color.mosqueDark}"
|
|
1481
|
+
"color": "{palette.color.mosqueDark}",
|
|
1482
|
+
"iconDisplace": "{palette.size.size4}"
|
|
1478
1483
|
}
|
|
1479
1484
|
},
|
|
1480
1485
|
{
|
|
@@ -1603,7 +1608,9 @@
|
|
|
1603
1608
|
"size": "large"
|
|
1604
1609
|
},
|
|
1605
1610
|
"tokens": {
|
|
1606
|
-
"
|
|
1611
|
+
"height": "{palette.size.size48}",
|
|
1612
|
+
"iconSize": "{palette.size.size24}",
|
|
1613
|
+
"textLineHeight": "{palette.lineHeight.ratio11to5}"
|
|
1607
1614
|
}
|
|
1608
1615
|
},
|
|
1609
1616
|
{
|
|
@@ -1611,7 +1618,9 @@
|
|
|
1611
1618
|
"size": "small"
|
|
1612
1619
|
},
|
|
1613
1620
|
"tokens": {
|
|
1614
|
-
"
|
|
1621
|
+
"height": "{palette.size.size36}",
|
|
1622
|
+
"iconSize": "{palette.size.size16}",
|
|
1623
|
+
"textLineHeight": "{palette.lineHeight.ratio15to7}"
|
|
1615
1624
|
}
|
|
1616
1625
|
},
|
|
1617
1626
|
{
|
|
@@ -1619,19 +1628,23 @@
|
|
|
1619
1628
|
"size": "micro"
|
|
1620
1629
|
},
|
|
1621
1630
|
"tokens": {
|
|
1622
|
-
"
|
|
1631
|
+
"height": "{palette.size.size32}",
|
|
1632
|
+
"iconSize": "{palette.size.size16}",
|
|
1633
|
+
"textLineHeight": "{palette.lineHeight.ratio7to3}"
|
|
1623
1634
|
}
|
|
1624
1635
|
}
|
|
1625
1636
|
],
|
|
1626
1637
|
"tokens": {
|
|
1627
1638
|
"color": "{palette.color.mosque}",
|
|
1639
|
+
"height": "{palette.size.size40}",
|
|
1628
1640
|
"iconDisplace": "{palette.size.size0}",
|
|
1629
|
-
"iconSize": "{palette.size.
|
|
1641
|
+
"iconSize": "{palette.size.size18}",
|
|
1630
1642
|
"iconSpace": "{system.integer.1}",
|
|
1631
1643
|
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
1632
1644
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1633
1645
|
"rightIcon": "{palette.icon.ChevronRight}",
|
|
1634
|
-
"textLine": "{system.textLine.none}"
|
|
1646
|
+
"textLine": "{system.textLine.none}",
|
|
1647
|
+
"textLineHeight": "{palette.lineHeight.ratio17to8}"
|
|
1635
1648
|
}
|
|
1636
1649
|
},
|
|
1637
1650
|
"DatePicker": {
|
|
@@ -3687,6 +3700,10 @@
|
|
|
3687
3700
|
"borderRadius": "{palette.radius.radius4}",
|
|
3688
3701
|
"borderWidth": "{palette.border.border1}",
|
|
3689
3702
|
"color": "{palette.color.black}",
|
|
3703
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
3704
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
3705
|
+
"contentFlexShrink": "{system.integer.0}",
|
|
3706
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
3690
3707
|
"contentSpace": "{system.integer.2}",
|
|
3691
3708
|
"flex": "{system.integer.1}",
|
|
3692
3709
|
"fontName": "{palette.fontName.StagSans}",
|
|
@@ -4162,6 +4179,30 @@
|
|
|
4162
4179
|
"paddingVertical": "{palette.size.size8}"
|
|
4163
4180
|
}
|
|
4164
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
|
+
},
|
|
4165
4206
|
"StackView": {
|
|
4166
4207
|
"appearances": {},
|
|
4167
4208
|
"rules": [],
|