@telus-uds/theme-allium 3.21.0 → 3.23.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 +1038 -873
- package/build/android/theme.json +52 -7
- package/build/ios/schema.json +1038 -873
- package/build/ios/theme.json +52 -7
- package/build/rn/schema.json +1038 -873
- package/build/rn/theme.js +40 -10
- package/package.json +5 -5
- package/theme.json +48 -7
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:05:19 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -11,7 +11,6 @@ const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/Car
|
|
|
11
11
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
12
12
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
13
13
|
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
14
|
-
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
15
14
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
16
15
|
const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
|
|
17
16
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
@@ -994,6 +993,10 @@ module.exports = {
|
|
|
994
993
|
borderColor: '#e3e6e8',
|
|
995
994
|
borderRadius: 6,
|
|
996
995
|
borderWidth: 1,
|
|
996
|
+
contentAlignItems: 'stretch',
|
|
997
|
+
contentFlexGrow: 0,
|
|
998
|
+
contentFlexShrink: 0,
|
|
999
|
+
contentJustifyContent: 'flex-start',
|
|
997
1000
|
flex: 1,
|
|
998
1001
|
minWidth: null,
|
|
999
1002
|
paddingBottom: 32,
|
|
@@ -1289,7 +1292,10 @@ module.exports = {
|
|
|
1289
1292
|
}
|
|
1290
1293
|
},
|
|
1291
1294
|
rules: [
|
|
1292
|
-
{
|
|
1295
|
+
{
|
|
1296
|
+
if: { hover: true },
|
|
1297
|
+
tokens: { color: '#1f5c09', iconDisplace: 4 }
|
|
1298
|
+
},
|
|
1293
1299
|
{ if: { pressed: true }, tokens: { color: '#163e06' } },
|
|
1294
1300
|
{ if: { alternative: true }, tokens: { color: '#414547' } },
|
|
1295
1301
|
{
|
|
@@ -1309,19 +1315,30 @@ module.exports = {
|
|
|
1309
1315
|
if: { inverse: true, pressed: true },
|
|
1310
1316
|
tokens: { color: '#e3e6e8' }
|
|
1311
1317
|
},
|
|
1312
|
-
{
|
|
1313
|
-
|
|
1314
|
-
|
|
1318
|
+
{
|
|
1319
|
+
if: { size: 'large' },
|
|
1320
|
+
tokens: { height: 48, iconSize: 24, textLineHeight: 1.95 }
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
if: { size: 'small' },
|
|
1324
|
+
tokens: { height: 36, iconSize: 14, textLineHeight: 2.12 }
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
if: { size: 'micro' },
|
|
1328
|
+
tokens: { height: 32, iconSize: 12, textLineHeight: 1.92 }
|
|
1329
|
+
}
|
|
1315
1330
|
],
|
|
1316
1331
|
tokens: {
|
|
1317
1332
|
color: '#2b8000',
|
|
1333
|
+
height: 40,
|
|
1318
1334
|
iconDisplace: 0,
|
|
1319
1335
|
iconSize: 24,
|
|
1320
1336
|
iconSpace: 1,
|
|
1321
|
-
leftIcon:
|
|
1337
|
+
leftIcon: PaletteIconArrowLeft,
|
|
1322
1338
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1323
|
-
rightIcon:
|
|
1324
|
-
textLine: 'none'
|
|
1339
|
+
rightIcon: PaletteIconArrowRight,
|
|
1340
|
+
textLine: 'none',
|
|
1341
|
+
textLineHeight: 2.25
|
|
1325
1342
|
}
|
|
1326
1343
|
},
|
|
1327
1344
|
DatePicker: {
|
|
@@ -3081,6 +3098,10 @@ module.exports = {
|
|
|
3081
3098
|
borderRadius: 6,
|
|
3082
3099
|
borderWidth: 1,
|
|
3083
3100
|
color: '#2c2e30',
|
|
3101
|
+
contentAlignItems: 'stretch',
|
|
3102
|
+
contentFlexGrow: 0,
|
|
3103
|
+
contentFlexShrink: 0,
|
|
3104
|
+
contentJustifyContent: 'flex-start',
|
|
3084
3105
|
contentSpace: 2,
|
|
3085
3106
|
flex: 1,
|
|
3086
3107
|
fontName: 'HelveticaNow',
|
|
@@ -3564,6 +3585,15 @@ module.exports = {
|
|
|
3564
3585
|
paddingVertical: 8
|
|
3565
3586
|
}
|
|
3566
3587
|
},
|
|
3588
|
+
Spinner: {
|
|
3589
|
+
appearances: { size: { type: 'variant', values: [ 'small' ] } },
|
|
3590
|
+
rules: [ { if: { size: 'small' }, tokens: { size: 24, thickness: 2 } } ],
|
|
3591
|
+
tokens: {
|
|
3592
|
+
fullScreenOverLayBackground: 'rgba(255, 255, 255, 0.97)',
|
|
3593
|
+
size: 48,
|
|
3594
|
+
thickness: 4
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3567
3597
|
StackView: {
|
|
3568
3598
|
appearances: {},
|
|
3569
3599
|
rules: [],
|
|
@@ -4727,5 +4757,5 @@ module.exports = {
|
|
|
4727
4757
|
tokens: { size: 96 }
|
|
4728
4758
|
}
|
|
4729
4759
|
},
|
|
4730
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4760
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.21.0' }
|
|
4731
4761
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.14.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.21.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.14.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -1264,6 +1264,10 @@
|
|
|
1264
1264
|
"borderColor": "{palette.color.greyMystic}",
|
|
1265
1265
|
"borderRadius": "{palette.radius.radius6}",
|
|
1266
1266
|
"borderWidth": "{palette.border.border1}",
|
|
1267
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1268
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
1269
|
+
"contentFlexShrink": "{system.integer.0}",
|
|
1270
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1267
1271
|
"flex": "{system.integer.1}",
|
|
1268
1272
|
"minWidth": "{system.size.none}",
|
|
1269
1273
|
"paddingBottom": "{palette.size.size32}",
|
|
@@ -1586,7 +1590,8 @@
|
|
|
1586
1590
|
"hover": true
|
|
1587
1591
|
},
|
|
1588
1592
|
"tokens": {
|
|
1589
|
-
"color": "{palette.color.greenSanFelix}"
|
|
1593
|
+
"color": "{palette.color.greenSanFelix}",
|
|
1594
|
+
"iconDisplace": "{palette.size.size4}"
|
|
1590
1595
|
}
|
|
1591
1596
|
},
|
|
1592
1597
|
{
|
|
@@ -1654,7 +1659,9 @@
|
|
|
1654
1659
|
"size": "large"
|
|
1655
1660
|
},
|
|
1656
1661
|
"tokens": {
|
|
1657
|
-
"
|
|
1662
|
+
"height": "{palette.size.size48}",
|
|
1663
|
+
"iconSize": "{palette.size.size24}",
|
|
1664
|
+
"textLineHeight": "{palette.lineHeight.ratio10to5}"
|
|
1658
1665
|
}
|
|
1659
1666
|
},
|
|
1660
1667
|
{
|
|
@@ -1662,7 +1669,9 @@
|
|
|
1662
1669
|
"size": "small"
|
|
1663
1670
|
},
|
|
1664
1671
|
"tokens": {
|
|
1665
|
-
"
|
|
1672
|
+
"height": "{palette.size.size36}",
|
|
1673
|
+
"iconSize": "{palette.size.size14}",
|
|
1674
|
+
"textLineHeight": "{palette.lineHeight.ratio15to7}"
|
|
1666
1675
|
}
|
|
1667
1676
|
},
|
|
1668
1677
|
{
|
|
@@ -1670,19 +1679,23 @@
|
|
|
1670
1679
|
"size": "micro"
|
|
1671
1680
|
},
|
|
1672
1681
|
"tokens": {
|
|
1673
|
-
"
|
|
1682
|
+
"height": "{palette.size.size32}",
|
|
1683
|
+
"iconSize": "{palette.size.size12}",
|
|
1684
|
+
"textLineHeight": "{palette.lineHeight.ratio2to1}"
|
|
1674
1685
|
}
|
|
1675
1686
|
}
|
|
1676
1687
|
],
|
|
1677
1688
|
"tokens": {
|
|
1678
1689
|
"color": "{palette.color.greenAccessible}",
|
|
1690
|
+
"height": "{palette.size.size40}",
|
|
1679
1691
|
"iconDisplace": "{palette.size.size0}",
|
|
1680
1692
|
"iconSize": "{palette.size.size24}",
|
|
1681
1693
|
"iconSpace": "{system.integer.1}",
|
|
1682
|
-
"leftIcon": "{palette.icon.
|
|
1694
|
+
"leftIcon": "{palette.icon.ArrowLeft}",
|
|
1683
1695
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1684
|
-
"rightIcon": "{palette.icon.
|
|
1685
|
-
"textLine": "{system.textLine.none}"
|
|
1696
|
+
"rightIcon": "{palette.icon.ArrowRight}",
|
|
1697
|
+
"textLine": "{system.textLine.none}",
|
|
1698
|
+
"textLineHeight": "{palette.lineHeight.ratio9to4}"
|
|
1686
1699
|
}
|
|
1687
1700
|
},
|
|
1688
1701
|
"DatePicker": {
|
|
@@ -3878,6 +3891,10 @@
|
|
|
3878
3891
|
"borderRadius": "{palette.radius.radius6}",
|
|
3879
3892
|
"borderWidth": "{palette.border.border1}",
|
|
3880
3893
|
"color": "{palette.color.greyThunder}",
|
|
3894
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
3895
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
3896
|
+
"contentFlexShrink": "{system.integer.0}",
|
|
3897
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
3881
3898
|
"contentSpace": "{system.integer.2}",
|
|
3882
3899
|
"flex": "{system.integer.1}",
|
|
3883
3900
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
@@ -4381,6 +4398,30 @@
|
|
|
4381
4398
|
"paddingVertical": "{palette.size.size8}"
|
|
4382
4399
|
}
|
|
4383
4400
|
},
|
|
4401
|
+
"Spinner": {
|
|
4402
|
+
"appearances": {
|
|
4403
|
+
"size": {
|
|
4404
|
+
"type": "variant",
|
|
4405
|
+
"values": ["small"]
|
|
4406
|
+
}
|
|
4407
|
+
},
|
|
4408
|
+
"rules": [
|
|
4409
|
+
{
|
|
4410
|
+
"if": {
|
|
4411
|
+
"size": "small"
|
|
4412
|
+
},
|
|
4413
|
+
"tokens": {
|
|
4414
|
+
"size": "{palette.size.size24}",
|
|
4415
|
+
"thickness": "{palette.border.border2}"
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
],
|
|
4419
|
+
"tokens": {
|
|
4420
|
+
"fullScreenOverLayBackground": "{palette.color.light97}",
|
|
4421
|
+
"size": "{palette.size.size48}",
|
|
4422
|
+
"thickness": "{palette.border.border4}"
|
|
4423
|
+
}
|
|
4424
|
+
},
|
|
4384
4425
|
"StackView": {
|
|
4385
4426
|
"appearances": {},
|
|
4386
4427
|
"rules": [],
|