@telus-uds/theme-allium 4.9.0 → 4.11.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 +1031 -933
- package/build/android/theme.json +45 -17
- package/build/ios/schema.json +1031 -933
- package/build/ios/theme.json +45 -17
- package/build/rn/schema.json +1031 -933
- package/build/rn/theme.js +57 -15
- package/package.json +5 -5
- package/theme.json +34 -12
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Fri,
|
|
4
|
+
* Generated on Fri, 28 Jul 2023 18:09:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -198,6 +198,7 @@ module.exports = {
|
|
|
198
198
|
appearances: {
|
|
199
199
|
background: {
|
|
200
200
|
description: 'Background colour of box. Transparent if not specified.',
|
|
201
|
+
type: 'variant',
|
|
201
202
|
values: [
|
|
202
203
|
'lightest', 'lighter',
|
|
203
204
|
'light', 'dark',
|
|
@@ -1452,6 +1453,7 @@ module.exports = {
|
|
|
1452
1453
|
inputBorderWidth: 1,
|
|
1453
1454
|
inputHeight: 20,
|
|
1454
1455
|
inputOutlineColor: null,
|
|
1456
|
+
inputOutlineOffset: 0,
|
|
1455
1457
|
inputOutlineWidth: 0,
|
|
1456
1458
|
inputShadow: null,
|
|
1457
1459
|
inputWidth: 20,
|
|
@@ -1463,7 +1465,21 @@ module.exports = {
|
|
|
1463
1465
|
labelMarginLeft: 10
|
|
1464
1466
|
}
|
|
1465
1467
|
},
|
|
1466
|
-
CheckboxGroup: {
|
|
1468
|
+
CheckboxGroup: {
|
|
1469
|
+
appearances: {},
|
|
1470
|
+
rules: [],
|
|
1471
|
+
tokens: {
|
|
1472
|
+
borderBottomLeftRadius: 0,
|
|
1473
|
+
borderBottomRightRadius: 0,
|
|
1474
|
+
borderTopLeftRadius: 0,
|
|
1475
|
+
borderTopRightRadius: 0,
|
|
1476
|
+
fieldSpace: 2,
|
|
1477
|
+
outlineOffset: null,
|
|
1478
|
+
outlineWidth: 0,
|
|
1479
|
+
showIcon: false,
|
|
1480
|
+
space: 2
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1467
1483
|
ChevronLink: {
|
|
1468
1484
|
appearances: {
|
|
1469
1485
|
alternative: { type: 'variant', values: [ true ] },
|
|
@@ -1929,7 +1945,7 @@ module.exports = {
|
|
|
1929
1945
|
borderRadius: 4,
|
|
1930
1946
|
borderWidth: 1,
|
|
1931
1947
|
color: '#2c2e30',
|
|
1932
|
-
contentFontSize:
|
|
1948
|
+
contentFontSize: 16,
|
|
1933
1949
|
fontName: 'HelveticaNow',
|
|
1934
1950
|
fontWeight: '400',
|
|
1935
1951
|
icon: null,
|
|
@@ -2396,7 +2412,7 @@ module.exports = {
|
|
|
2396
2412
|
borderTopRightRadius: null,
|
|
2397
2413
|
borderTopWidth: null,
|
|
2398
2414
|
borderWidth: 1,
|
|
2399
|
-
icon:
|
|
2415
|
+
icon: PaletteIconAdd,
|
|
2400
2416
|
iconColor: '#676e73',
|
|
2401
2417
|
iconScale: 1,
|
|
2402
2418
|
iconSize: 16,
|
|
@@ -3920,7 +3936,7 @@ module.exports = {
|
|
|
3920
3936
|
rules: [],
|
|
3921
3937
|
tokens: {
|
|
3922
3938
|
backgroundColor: '#ffffff',
|
|
3923
|
-
borderColor: '#
|
|
3939
|
+
borderColor: '#b2b9bf',
|
|
3924
3940
|
borderRadius: 6,
|
|
3925
3941
|
borderWidth: 1,
|
|
3926
3942
|
flex: 1,
|
|
@@ -4029,18 +4045,38 @@ module.exports = {
|
|
|
4029
4045
|
}
|
|
4030
4046
|
},
|
|
4031
4047
|
rules: [
|
|
4032
|
-
{
|
|
4033
|
-
|
|
4048
|
+
{
|
|
4049
|
+
if: { hover: true },
|
|
4050
|
+
tokens: {
|
|
4051
|
+
backgroundColor: '#f4f4f7',
|
|
4052
|
+
itemFontColor: '#4b286d',
|
|
4053
|
+
itemUnderline: 'underline'
|
|
4054
|
+
}
|
|
4055
|
+
},
|
|
4056
|
+
{
|
|
4057
|
+
if: { focus: true },
|
|
4058
|
+
tokens: {
|
|
4059
|
+
backgroundColor: '#e3e6e8',
|
|
4060
|
+
itemFontColor: '#414547',
|
|
4061
|
+
itemUnderline: 'underline'
|
|
4062
|
+
}
|
|
4063
|
+
},
|
|
4034
4064
|
{
|
|
4035
4065
|
if: { pressed: true },
|
|
4036
|
-
tokens: {
|
|
4066
|
+
tokens: {
|
|
4067
|
+
backgroundColor: '#b2b9bf',
|
|
4068
|
+
dividerColor: '#b2b9bf',
|
|
4069
|
+
itemFontColor: '#676e73',
|
|
4070
|
+
itemIconColor: '#676e73',
|
|
4071
|
+
itemUnderline: 'underline'
|
|
4072
|
+
}
|
|
4037
4073
|
}
|
|
4038
4074
|
],
|
|
4039
4075
|
tokens: {
|
|
4040
4076
|
backgroundColor: null,
|
|
4041
|
-
dividerColor: '#
|
|
4077
|
+
dividerColor: '#676e73',
|
|
4042
4078
|
dividerSize: 1,
|
|
4043
|
-
iconMarginTop:
|
|
4079
|
+
iconMarginTop: 0,
|
|
4044
4080
|
interItemMargin: 0,
|
|
4045
4081
|
interItemMarginWithDivider: 0,
|
|
4046
4082
|
itemBulletColor: '#4b286d',
|
|
@@ -4048,13 +4084,14 @@ module.exports = {
|
|
|
4048
4084
|
itemBulletContainerWidth: 16,
|
|
4049
4085
|
itemBulletHeight: 4,
|
|
4050
4086
|
itemBulletWidth: 4,
|
|
4051
|
-
itemFontColor: '#
|
|
4087
|
+
itemFontColor: '#676e73',
|
|
4052
4088
|
itemFontName: 'HelveticaNow',
|
|
4053
4089
|
itemFontSize: 16,
|
|
4054
|
-
itemFontWeight: '
|
|
4090
|
+
itemFontWeight: '700',
|
|
4055
4091
|
itemIconColor: '#4b286d',
|
|
4056
|
-
itemIconSize:
|
|
4092
|
+
itemIconSize: 24,
|
|
4057
4093
|
itemLineHeight: 1.5,
|
|
4094
|
+
itemUnderline: 'none',
|
|
4058
4095
|
listGutter: 16,
|
|
4059
4096
|
paddingBottom: 12,
|
|
4060
4097
|
paddingLeft: null,
|
|
@@ -4388,7 +4425,11 @@ module.exports = {
|
|
|
4388
4425
|
curveMarginTop: 4,
|
|
4389
4426
|
curveWidth: 8,
|
|
4390
4427
|
fontColor: '#ffffff',
|
|
4428
|
+
fontName: 'HelveticaNow',
|
|
4429
|
+
fontSize: 12,
|
|
4430
|
+
fontWeight: '700',
|
|
4391
4431
|
gradient: null,
|
|
4432
|
+
lineHeight: 1.33333333333,
|
|
4392
4433
|
paddingBottom: 4,
|
|
4393
4434
|
paddingLeft: 8,
|
|
4394
4435
|
paddingRight: 8,
|
|
@@ -5773,7 +5814,8 @@ module.exports = {
|
|
|
5773
5814
|
chevronlinkFontName: 'HelveticaNow',
|
|
5774
5815
|
chevronlinkFontWeight: '400',
|
|
5775
5816
|
containerBackgroundColor: '#4b286d',
|
|
5776
|
-
containerGap: 10
|
|
5817
|
+
containerGap: 10,
|
|
5818
|
+
padding: 16
|
|
5777
5819
|
}
|
|
5778
5820
|
},
|
|
5779
5821
|
ToggleSwitch: {
|
|
@@ -6617,5 +6659,5 @@ module.exports = {
|
|
|
6617
6659
|
tokens: { size: 96 }
|
|
6618
6660
|
}
|
|
6619
6661
|
},
|
|
6620
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6662
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.40.0' }
|
|
6621
6663
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.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.24.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.24.3",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.40.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.20"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.24.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.24.3"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -169,6 +169,7 @@
|
|
|
169
169
|
"appearances": {
|
|
170
170
|
"background": {
|
|
171
171
|
"description": "Background colour of box. Transparent if not specified.",
|
|
172
|
+
"type": "variant",
|
|
172
173
|
"values": [
|
|
173
174
|
"lightest",
|
|
174
175
|
"lighter",
|
|
@@ -1718,6 +1719,7 @@
|
|
|
1718
1719
|
"inputBorderWidth": "{palette.border.border1}",
|
|
1719
1720
|
"inputHeight": "{palette.size.size20}",
|
|
1720
1721
|
"inputOutlineColor": "{system.color.none}",
|
|
1722
|
+
"inputOutlineOffset": "{palette.size.size0}",
|
|
1721
1723
|
"inputOutlineWidth": "{palette.border.none}",
|
|
1722
1724
|
"inputShadow": "{system.shadow.none}",
|
|
1723
1725
|
"inputWidth": "{palette.size.size20}",
|
|
@@ -1733,7 +1735,14 @@
|
|
|
1733
1735
|
"appearances": {},
|
|
1734
1736
|
"rules": [],
|
|
1735
1737
|
"tokens": {
|
|
1738
|
+
"borderBottomLeftRadius": "{system.radius.zero}",
|
|
1739
|
+
"borderBottomRightRadius": "{system.radius.zero}",
|
|
1740
|
+
"borderTopLeftRadius": "{system.radius.zero}",
|
|
1741
|
+
"borderTopRightRadius": "{system.radius.zero}",
|
|
1736
1742
|
"fieldSpace": "{system.integer.2}",
|
|
1743
|
+
"outlineOffset": "{system.size.none}",
|
|
1744
|
+
"outlineWidth": "{system.border.zero}",
|
|
1745
|
+
"showIcon": "{system.show.false}",
|
|
1737
1746
|
"space": "{system.integer.2}"
|
|
1738
1747
|
}
|
|
1739
1748
|
},
|
|
@@ -2416,7 +2425,7 @@
|
|
|
2416
2425
|
"borderRadius": "{palette.radius.radius4}",
|
|
2417
2426
|
"borderWidth": "{palette.border.border1}",
|
|
2418
2427
|
"color": "{palette.color.greyThunder}",
|
|
2419
|
-
"contentFontSize": "{palette.fontSize.
|
|
2428
|
+
"contentFontSize": "{palette.fontSize.size16}",
|
|
2420
2429
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
2421
2430
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
2422
2431
|
"icon": "{system.icon.none}",
|
|
@@ -3127,7 +3136,7 @@
|
|
|
3127
3136
|
"borderTopRightRadius": "{system.radius.none}",
|
|
3128
3137
|
"borderTopWidth": "{system.border.none}",
|
|
3129
3138
|
"borderWidth": "{palette.border.border1}",
|
|
3130
|
-
"icon": "{
|
|
3139
|
+
"icon": "{palette.icon.Add}",
|
|
3131
3140
|
"iconColor": "{palette.color.greyShuttle}",
|
|
3132
3141
|
"iconScale": "{system.iconScale.scale1}",
|
|
3133
3142
|
"iconSize": "{palette.size.size16}",
|
|
@@ -4951,7 +4960,7 @@
|
|
|
4951
4960
|
"rules": [],
|
|
4952
4961
|
"tokens": {
|
|
4953
4962
|
"backgroundColor": "{palette.color.white}",
|
|
4954
|
-
"borderColor": "{palette.color.
|
|
4963
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
4955
4964
|
"borderRadius": "{palette.radius.radius6}",
|
|
4956
4965
|
"borderWidth": "{palette.border.border1}",
|
|
4957
4966
|
"flex": "{system.integer.1}",
|
|
@@ -5065,7 +5074,9 @@
|
|
|
5065
5074
|
"hover": true
|
|
5066
5075
|
},
|
|
5067
5076
|
"tokens": {
|
|
5068
|
-
"backgroundColor": "{palette.color.greyAthens}"
|
|
5077
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
5078
|
+
"itemFontColor": "{palette.color.purpleTelus}",
|
|
5079
|
+
"itemUnderline": "{system.textLine.underline}"
|
|
5069
5080
|
}
|
|
5070
5081
|
},
|
|
5071
5082
|
{
|
|
@@ -5073,7 +5084,9 @@
|
|
|
5073
5084
|
"focus": true
|
|
5074
5085
|
},
|
|
5075
5086
|
"tokens": {
|
|
5076
|
-
"backgroundColor": "{palette.color.greyMystic}"
|
|
5087
|
+
"backgroundColor": "{palette.color.greyMystic}",
|
|
5088
|
+
"itemFontColor": "{palette.color.greyCharcoal}",
|
|
5089
|
+
"itemUnderline": "{system.textLine.underline}"
|
|
5077
5090
|
}
|
|
5078
5091
|
},
|
|
5079
5092
|
{
|
|
@@ -5082,15 +5095,18 @@
|
|
|
5082
5095
|
},
|
|
5083
5096
|
"tokens": {
|
|
5084
5097
|
"backgroundColor": "{palette.color.greyCloud}",
|
|
5085
|
-
"dividerColor": "{palette.color.greyCloud}"
|
|
5098
|
+
"dividerColor": "{palette.color.greyCloud}",
|
|
5099
|
+
"itemFontColor": "{palette.color.greyShuttle}",
|
|
5100
|
+
"itemIconColor": "{palette.color.greyShuttle}",
|
|
5101
|
+
"itemUnderline": "{system.textLine.underline}"
|
|
5086
5102
|
}
|
|
5087
5103
|
}
|
|
5088
5104
|
],
|
|
5089
5105
|
"tokens": {
|
|
5090
5106
|
"backgroundColor": "{system.color.none}",
|
|
5091
|
-
"dividerColor": "{palette.color.
|
|
5107
|
+
"dividerColor": "{palette.color.greyShuttle}",
|
|
5092
5108
|
"dividerSize": "{palette.border.border1}",
|
|
5093
|
-
"iconMarginTop": "{palette.size.
|
|
5109
|
+
"iconMarginTop": "{palette.size.size0}",
|
|
5094
5110
|
"interItemMargin": "{system.size.zero}",
|
|
5095
5111
|
"interItemMarginWithDivider": "{system.size.zero}",
|
|
5096
5112
|
"itemBulletColor": "{palette.color.purpleTelus}",
|
|
@@ -5098,13 +5114,14 @@
|
|
|
5098
5114
|
"itemBulletContainerWidth": "{palette.size.size16}",
|
|
5099
5115
|
"itemBulletHeight": "{palette.size.size4}",
|
|
5100
5116
|
"itemBulletWidth": "{palette.size.size4}",
|
|
5101
|
-
"itemFontColor": "{palette.color.
|
|
5117
|
+
"itemFontColor": "{palette.color.greyShuttle}",
|
|
5102
5118
|
"itemFontName": "{palette.fontName.HelveticaNow}",
|
|
5103
5119
|
"itemFontSize": "{palette.fontSize.size16}",
|
|
5104
|
-
"itemFontWeight": "{palette.fontWeight.
|
|
5120
|
+
"itemFontWeight": "{palette.fontWeight.weight700}",
|
|
5105
5121
|
"itemIconColor": "{palette.color.purpleTelus}",
|
|
5106
|
-
"itemIconSize": "{palette.size.
|
|
5122
|
+
"itemIconSize": "{palette.size.size24}",
|
|
5107
5123
|
"itemLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
5124
|
+
"itemUnderline": "{system.textLine.none}",
|
|
5108
5125
|
"listGutter": "{palette.size.size16}",
|
|
5109
5126
|
"paddingBottom": "{palette.size.size12}",
|
|
5110
5127
|
"paddingLeft": "{system.size.none}",
|
|
@@ -5448,7 +5465,11 @@
|
|
|
5448
5465
|
"curveMarginTop": "{palette.size.size4}",
|
|
5449
5466
|
"curveWidth": "{palette.size.size8}",
|
|
5450
5467
|
"fontColor": "{palette.color.white}",
|
|
5468
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
5469
|
+
"fontSize": "{palette.fontSize.size12}",
|
|
5470
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
5451
5471
|
"gradient": "{system.gradient.none}",
|
|
5472
|
+
"lineHeight": "{palette.lineHeight.ratio4to3}",
|
|
5452
5473
|
"paddingBottom": "{palette.size.size4}",
|
|
5453
5474
|
"paddingLeft": "{palette.size.size8}",
|
|
5454
5475
|
"paddingRight": "{palette.size.size8}",
|
|
@@ -6939,7 +6960,8 @@
|
|
|
6939
6960
|
"chevronlinkFontName": "{palette.fontName.HelveticaNow}",
|
|
6940
6961
|
"chevronlinkFontWeight": "{palette.fontWeight.weight400}",
|
|
6941
6962
|
"containerBackgroundColor": "{palette.color.purpleTelus}",
|
|
6942
|
-
"containerGap": "{palette.size.size10}"
|
|
6963
|
+
"containerGap": "{palette.size.size10}",
|
|
6964
|
+
"padding": "{palette.size.size16}"
|
|
6943
6965
|
}
|
|
6944
6966
|
},
|
|
6945
6967
|
"ToggleSwitch": {
|