@telus-uds/theme-allium 3.30.0 → 3.31.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 +1088 -903
- package/build/android/theme.json +96 -19
- package/build/ios/schema.json +1088 -903
- package/build/ios/theme.json +96 -19
- package/build/rn/schema.json +1088 -903
- package/build/rn/theme.js +62 -16
- package/package.json +5 -5
- package/theme.json +63 -13
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 Sat, 27 May 2023 00:36:54 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1691,7 +1691,7 @@ module.exports = {
|
|
|
1691
1691
|
tokens: {
|
|
1692
1692
|
backgroundColor: '#fff6f8',
|
|
1693
1693
|
borderColor: '#fff6f8',
|
|
1694
|
-
color: '#
|
|
1694
|
+
color: '#c12335'
|
|
1695
1695
|
}
|
|
1696
1696
|
},
|
|
1697
1697
|
{
|
|
@@ -1700,7 +1700,7 @@ module.exports = {
|
|
|
1700
1700
|
},
|
|
1701
1701
|
{
|
|
1702
1702
|
if: { icon: true, validation: 'error' },
|
|
1703
|
-
tokens: { icon: PaletteIconStatusError, iconColor: '#
|
|
1703
|
+
tokens: { icon: PaletteIconStatusError, iconColor: '#c12335' }
|
|
1704
1704
|
}
|
|
1705
1705
|
],
|
|
1706
1706
|
tokens: {
|
|
@@ -1725,6 +1725,23 @@ module.exports = {
|
|
|
1725
1725
|
titleFontSize: 16
|
|
1726
1726
|
}
|
|
1727
1727
|
},
|
|
1728
|
+
Fieldset: {
|
|
1729
|
+
appearances: { error: { type: 'variant', values: [ true ] } },
|
|
1730
|
+
rules: [ { if: { error: true }, tokens: { outlineColor: '#e12339' } } ],
|
|
1731
|
+
tokens: {
|
|
1732
|
+
borderBottomLeftRadius: 0,
|
|
1733
|
+
borderBottomRightRadius: 0,
|
|
1734
|
+
borderTopLeftRadius: 0,
|
|
1735
|
+
borderTopRightRadius: 0,
|
|
1736
|
+
outlineColor: 'rgba(0, 0, 0, 0)',
|
|
1737
|
+
outlineOffset: null,
|
|
1738
|
+
outlineWidth: 0,
|
|
1739
|
+
paddingBottom: 0,
|
|
1740
|
+
paddingLeft: 0,
|
|
1741
|
+
paddingRight: 0,
|
|
1742
|
+
paddingTop: 0
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1728
1745
|
Footnote: {
|
|
1729
1746
|
appearances: {},
|
|
1730
1747
|
rules: [],
|
|
@@ -3816,7 +3833,21 @@ module.exports = {
|
|
|
3816
3833
|
],
|
|
3817
3834
|
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
3818
3835
|
},
|
|
3819
|
-
RadioGroup: {
|
|
3836
|
+
RadioGroup: {
|
|
3837
|
+
appearances: {},
|
|
3838
|
+
rules: [],
|
|
3839
|
+
tokens: {
|
|
3840
|
+
borderBottomLeftRadius: 1,
|
|
3841
|
+
borderBottomRightRadius: 1,
|
|
3842
|
+
borderTopLeftRadius: 1,
|
|
3843
|
+
borderTopRightRadius: 1,
|
|
3844
|
+
fieldSpace: 2,
|
|
3845
|
+
outlineOffset: 8,
|
|
3846
|
+
outlineWidth: 1,
|
|
3847
|
+
showIcon: true,
|
|
3848
|
+
space: 2
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3820
3851
|
Ribbon: {
|
|
3821
3852
|
appearances: {
|
|
3822
3853
|
purpose: {
|
|
@@ -4054,21 +4085,28 @@ module.exports = {
|
|
|
4054
4085
|
if: { validation: 'success' },
|
|
4055
4086
|
tokens: {
|
|
4056
4087
|
borderColor: '#2b8000',
|
|
4088
|
+
feedbackBackgroundColor: '#f4f9f2',
|
|
4057
4089
|
validationIcon: PaletteIconStatusSuccess,
|
|
4058
|
-
validationIconColor: '#
|
|
4090
|
+
validationIconColor: '#163e06'
|
|
4059
4091
|
}
|
|
4060
4092
|
},
|
|
4061
4093
|
{
|
|
4062
4094
|
if: { validation: 'error' },
|
|
4063
4095
|
tokens: {
|
|
4064
4096
|
borderColor: '#e12339',
|
|
4097
|
+
feedbackBackgroundColor: '#fff6f8',
|
|
4065
4098
|
validationIcon: PaletteIconStatusError,
|
|
4066
4099
|
validationIconColor: '#e12339'
|
|
4067
4100
|
}
|
|
4068
4101
|
},
|
|
4069
4102
|
{
|
|
4070
4103
|
if: { inactive: true },
|
|
4071
|
-
tokens: {
|
|
4104
|
+
tokens: {
|
|
4105
|
+
backgroundColor: '#f4f4f7',
|
|
4106
|
+
borderColor: '#f4f4f7',
|
|
4107
|
+
color: '#676e73',
|
|
4108
|
+
icon: null
|
|
4109
|
+
}
|
|
4072
4110
|
}
|
|
4073
4111
|
],
|
|
4074
4112
|
tokens: {
|
|
@@ -4077,7 +4115,7 @@ module.exports = {
|
|
|
4077
4115
|
borderRadius: 4,
|
|
4078
4116
|
borderWidth: 1,
|
|
4079
4117
|
color: '#414547',
|
|
4080
|
-
feedbackBackgroundColor: '#
|
|
4118
|
+
feedbackBackgroundColor: '#f4f4f7',
|
|
4081
4119
|
fontName: 'HelveticaNow',
|
|
4082
4120
|
fontSize: 16,
|
|
4083
4121
|
fontWeight: '400',
|
|
@@ -4878,6 +4916,11 @@ module.exports = {
|
|
|
4878
4916
|
type: 'state',
|
|
4879
4917
|
values: [ true ]
|
|
4880
4918
|
},
|
|
4919
|
+
numeric: {
|
|
4920
|
+
description: 'capability to only allow numbers',
|
|
4921
|
+
type: 'variant',
|
|
4922
|
+
values: [ true ]
|
|
4923
|
+
},
|
|
4881
4924
|
password: {
|
|
4882
4925
|
description: 'capability that helps masking and unmasking text',
|
|
4883
4926
|
type: 'variant',
|
|
@@ -5057,7 +5100,6 @@ module.exports = {
|
|
|
5057
5100
|
{
|
|
5058
5101
|
if: { focus: true },
|
|
5059
5102
|
tokens: {
|
|
5060
|
-
outerBackgroundColor: '#ffffff',
|
|
5061
5103
|
outerBorderColor: '#676e73',
|
|
5062
5104
|
outerBorderGap: 3,
|
|
5063
5105
|
outerBorderWidth: 2
|
|
@@ -5065,7 +5107,11 @@ module.exports = {
|
|
|
5065
5107
|
},
|
|
5066
5108
|
{
|
|
5067
5109
|
if: { focus: true, pressed: true },
|
|
5068
|
-
tokens: {
|
|
5110
|
+
tokens: {
|
|
5111
|
+
outerBorderColor: '#2c2e30',
|
|
5112
|
+
outerBorderGap: 3,
|
|
5113
|
+
outerBorderWidth: 2
|
|
5114
|
+
}
|
|
5069
5115
|
},
|
|
5070
5116
|
{
|
|
5071
5117
|
if: { selected: true },
|
|
@@ -5085,18 +5131,18 @@ module.exports = {
|
|
|
5085
5131
|
},
|
|
5086
5132
|
{
|
|
5087
5133
|
if: { focus: true, selected: true },
|
|
5088
|
-
tokens: { outerBorderColor: '#
|
|
5134
|
+
tokens: { outerBorderColor: '#676e73', outerBorderWidth: 2 }
|
|
5089
5135
|
},
|
|
5090
5136
|
{
|
|
5091
5137
|
if: { focus: true, pressed: true, selected: true },
|
|
5092
|
-
tokens: { outerBorderColor: '#163e06' }
|
|
5138
|
+
tokens: { outerBorderColor: '#163e06', outerBorderWidth: 2 }
|
|
5093
5139
|
},
|
|
5094
5140
|
{
|
|
5095
5141
|
if: { inactive: true },
|
|
5096
5142
|
tokens: {
|
|
5097
5143
|
backgroundColor: '#b2b9bf',
|
|
5098
|
-
iconColor: '#
|
|
5099
|
-
labelColor: '#
|
|
5144
|
+
iconColor: '#b2b9bf',
|
|
5145
|
+
labelColor: '#b2b9bf',
|
|
5100
5146
|
outerBorderColor: '#b2b9bf'
|
|
5101
5147
|
}
|
|
5102
5148
|
}
|
|
@@ -5109,7 +5155,7 @@ module.exports = {
|
|
|
5109
5155
|
borderWidth: 0,
|
|
5110
5156
|
icon: null,
|
|
5111
5157
|
iconColor: '#676e73',
|
|
5112
|
-
iconSize:
|
|
5158
|
+
iconSize: 14,
|
|
5113
5159
|
labelColor: '#414547',
|
|
5114
5160
|
labelFontName: 'HelveticaNow',
|
|
5115
5161
|
labelFontSize: 16,
|
|
@@ -5145,7 +5191,7 @@ module.exports = {
|
|
|
5145
5191
|
offsetY: 2,
|
|
5146
5192
|
spread: 0
|
|
5147
5193
|
},
|
|
5148
|
-
switchSize:
|
|
5194
|
+
switchSize: 18,
|
|
5149
5195
|
trackBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5150
5196
|
trackBorderRadius: 32,
|
|
5151
5197
|
trackBorderWidth: 3,
|
|
@@ -5739,5 +5785,5 @@ module.exports = {
|
|
|
5739
5785
|
tokens: { size: 96 }
|
|
5740
5786
|
}
|
|
5741
5787
|
},
|
|
5742
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
5788
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.28.0' }
|
|
5743
5789
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.31.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.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.19.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.28.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.8"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.19.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -2095,7 +2095,7 @@
|
|
|
2095
2095
|
"tokens": {
|
|
2096
2096
|
"backgroundColor": "{palette.color.redLight}",
|
|
2097
2097
|
"borderColor": "{palette.color.redLight}",
|
|
2098
|
-
"color": "{palette.color.
|
|
2098
|
+
"color": "{palette.color.redDark}"
|
|
2099
2099
|
}
|
|
2100
2100
|
},
|
|
2101
2101
|
{
|
|
@@ -2115,7 +2115,7 @@
|
|
|
2115
2115
|
},
|
|
2116
2116
|
"tokens": {
|
|
2117
2117
|
"icon": "{palette.icon.StatusError}",
|
|
2118
|
-
"iconColor": "{palette.color.
|
|
2118
|
+
"iconColor": "{palette.color.redDark}"
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
2121
|
],
|
|
@@ -2141,6 +2141,37 @@
|
|
|
2141
2141
|
"titleFontSize": "{palette.fontSize.size16}"
|
|
2142
2142
|
}
|
|
2143
2143
|
},
|
|
2144
|
+
"Fieldset": {
|
|
2145
|
+
"appearances": {
|
|
2146
|
+
"error": {
|
|
2147
|
+
"type": "variant",
|
|
2148
|
+
"values": [true]
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"rules": [
|
|
2152
|
+
{
|
|
2153
|
+
"if": {
|
|
2154
|
+
"error": true
|
|
2155
|
+
},
|
|
2156
|
+
"tokens": {
|
|
2157
|
+
"outlineColor": "{palette.color.red}"
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
],
|
|
2161
|
+
"tokens": {
|
|
2162
|
+
"borderBottomLeftRadius": "{system.radius.zero}",
|
|
2163
|
+
"borderBottomRightRadius": "{system.radius.zero}",
|
|
2164
|
+
"borderTopLeftRadius": "{system.radius.zero}",
|
|
2165
|
+
"borderTopRightRadius": "{system.radius.zero}",
|
|
2166
|
+
"outlineColor": "{palette.color.transparent}",
|
|
2167
|
+
"outlineOffset": "{system.size.none}",
|
|
2168
|
+
"outlineWidth": "{system.border.zero}",
|
|
2169
|
+
"paddingBottom": "{system.size.zero}",
|
|
2170
|
+
"paddingLeft": "{system.size.zero}",
|
|
2171
|
+
"paddingRight": "{system.size.zero}",
|
|
2172
|
+
"paddingTop": "{system.size.zero}"
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2144
2175
|
"Footnote": {
|
|
2145
2176
|
"appearances": {},
|
|
2146
2177
|
"rules": [],
|
|
@@ -4722,7 +4753,14 @@
|
|
|
4722
4753
|
"appearances": {},
|
|
4723
4754
|
"rules": [],
|
|
4724
4755
|
"tokens": {
|
|
4756
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
4757
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
4758
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
4759
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
4725
4760
|
"fieldSpace": "{system.integer.2}",
|
|
4761
|
+
"outlineOffset": "{palette.size.size8}",
|
|
4762
|
+
"outlineWidth": "{palette.border.border1}",
|
|
4763
|
+
"showIcon": "{system.show.true}",
|
|
4726
4764
|
"space": "{system.integer.2}"
|
|
4727
4765
|
}
|
|
4728
4766
|
},
|
|
@@ -4961,8 +4999,9 @@
|
|
|
4961
4999
|
},
|
|
4962
5000
|
"tokens": {
|
|
4963
5001
|
"borderColor": "{palette.color.greenAccessible}",
|
|
5002
|
+
"feedbackBackgroundColor": "{palette.color.greenPanache}",
|
|
4964
5003
|
"validationIcon": "{palette.icon.StatusSuccess}",
|
|
4965
|
-
"validationIconColor": "{palette.color.
|
|
5004
|
+
"validationIconColor": "{palette.color.greenDarkFern}"
|
|
4966
5005
|
}
|
|
4967
5006
|
},
|
|
4968
5007
|
{
|
|
@@ -4971,6 +5010,7 @@
|
|
|
4971
5010
|
},
|
|
4972
5011
|
"tokens": {
|
|
4973
5012
|
"borderColor": "{palette.color.red}",
|
|
5013
|
+
"feedbackBackgroundColor": "{palette.color.redLight}",
|
|
4974
5014
|
"validationIcon": "{palette.icon.StatusError}",
|
|
4975
5015
|
"validationIconColor": "{palette.color.red}"
|
|
4976
5016
|
}
|
|
@@ -4980,7 +5020,9 @@
|
|
|
4980
5020
|
"inactive": true
|
|
4981
5021
|
},
|
|
4982
5022
|
"tokens": {
|
|
4983
|
-
"
|
|
5023
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
5024
|
+
"borderColor": "{palette.color.greyAthens}",
|
|
5025
|
+
"color": "{palette.color.greyShuttle}",
|
|
4984
5026
|
"icon": "{system.icon.none}"
|
|
4985
5027
|
}
|
|
4986
5028
|
}
|
|
@@ -4991,7 +5033,7 @@
|
|
|
4991
5033
|
"borderRadius": "{palette.radius.radius4}",
|
|
4992
5034
|
"borderWidth": "{palette.border.border1}",
|
|
4993
5035
|
"color": "{palette.color.greyCharcoal}",
|
|
4994
|
-
"feedbackBackgroundColor": "{palette.color.
|
|
5036
|
+
"feedbackBackgroundColor": "{palette.color.greyAthens}",
|
|
4995
5037
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
4996
5038
|
"fontSize": "{palette.fontSize.size16}",
|
|
4997
5039
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
@@ -5866,6 +5908,11 @@
|
|
|
5866
5908
|
"focus": "{appearances.TextInput.focus}",
|
|
5867
5909
|
"hover": "{appearances.TextInput.hover}",
|
|
5868
5910
|
"inactive": "{appearances.TextInput.inactive}",
|
|
5911
|
+
"numeric": {
|
|
5912
|
+
"description": "capability to only allow numbers",
|
|
5913
|
+
"type": "variant",
|
|
5914
|
+
"values": [true]
|
|
5915
|
+
},
|
|
5869
5916
|
"password": {
|
|
5870
5917
|
"description": "capability that helps masking and unmasking text",
|
|
5871
5918
|
"type": "variant",
|
|
@@ -6049,7 +6096,6 @@
|
|
|
6049
6096
|
"focus": true
|
|
6050
6097
|
},
|
|
6051
6098
|
"tokens": {
|
|
6052
|
-
"outerBackgroundColor": "{palette.color.white}",
|
|
6053
6099
|
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
6054
6100
|
"outerBorderGap": "{palette.size.size3}",
|
|
6055
6101
|
"outerBorderWidth": "{palette.border.border2}"
|
|
@@ -6061,7 +6107,9 @@
|
|
|
6061
6107
|
"pressed": true
|
|
6062
6108
|
},
|
|
6063
6109
|
"tokens": {
|
|
6064
|
-
"outerBorderColor": "{palette.color.greyThunder}"
|
|
6110
|
+
"outerBorderColor": "{palette.color.greyThunder}",
|
|
6111
|
+
"outerBorderGap": "{palette.size.size3}",
|
|
6112
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
6065
6113
|
}
|
|
6066
6114
|
},
|
|
6067
6115
|
{
|
|
@@ -6100,7 +6148,8 @@
|
|
|
6100
6148
|
"selected": true
|
|
6101
6149
|
},
|
|
6102
6150
|
"tokens": {
|
|
6103
|
-
"outerBorderColor": "{palette.color.
|
|
6151
|
+
"outerBorderColor": "{palette.color.greyShuttle}",
|
|
6152
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
6104
6153
|
}
|
|
6105
6154
|
},
|
|
6106
6155
|
{
|
|
@@ -6110,7 +6159,8 @@
|
|
|
6110
6159
|
"selected": true
|
|
6111
6160
|
},
|
|
6112
6161
|
"tokens": {
|
|
6113
|
-
"outerBorderColor": "{palette.color.greenDarkFern}"
|
|
6162
|
+
"outerBorderColor": "{palette.color.greenDarkFern}",
|
|
6163
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
6114
6164
|
}
|
|
6115
6165
|
},
|
|
6116
6166
|
{
|
|
@@ -6119,8 +6169,8 @@
|
|
|
6119
6169
|
},
|
|
6120
6170
|
"tokens": {
|
|
6121
6171
|
"backgroundColor": "{palette.color.greyCloud}",
|
|
6122
|
-
"iconColor": "{palette.color.
|
|
6123
|
-
"labelColor": "{palette.color.
|
|
6172
|
+
"iconColor": "{palette.color.greyCloud}",
|
|
6173
|
+
"labelColor": "{palette.color.greyCloud}",
|
|
6124
6174
|
"outerBorderColor": "{palette.color.greyCloud}"
|
|
6125
6175
|
}
|
|
6126
6176
|
}
|
|
@@ -6133,7 +6183,7 @@
|
|
|
6133
6183
|
"borderWidth": "{palette.border.none}",
|
|
6134
6184
|
"icon": "{system.icon.none}",
|
|
6135
6185
|
"iconColor": "{palette.color.greyShuttle}",
|
|
6136
|
-
"iconSize": "{palette.size.
|
|
6186
|
+
"iconSize": "{palette.size.size14}",
|
|
6137
6187
|
"labelColor": "{palette.color.greyCharcoal}",
|
|
6138
6188
|
"labelFontName": "{palette.fontName.HelveticaNow}",
|
|
6139
6189
|
"labelFontSize": "{palette.fontSize.size16}",
|
|
@@ -6155,7 +6205,7 @@
|
|
|
6155
6205
|
"switchBorderWidth": "{palette.border.none}",
|
|
6156
6206
|
"switchColor": "{palette.color.white}",
|
|
6157
6207
|
"switchShadow": "{palette.shadow.surfaceRaised}",
|
|
6158
|
-
"switchSize": "{palette.size.
|
|
6208
|
+
"switchSize": "{palette.size.size18}",
|
|
6159
6209
|
"trackBorderColor": "{palette.color.transparent}",
|
|
6160
6210
|
"trackBorderRadius": "{palette.radius.pill32}",
|
|
6161
6211
|
"trackBorderWidth": "{palette.border.border3}",
|