@telus-uds/theme-allium 4.15.0 → 4.16.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 +976 -941
- package/build/android/theme.json +35 -2
- package/build/ios/schema.json +976 -941
- package/build/ios/theme.json +35 -2
- package/build/rn/schema.json +976 -941
- package/build/rn/theme.js +31 -5
- package/package.json +5 -5
- package/theme.json +36 -3
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 Wed, 01 Nov 2023 00:53:28 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -25,8 +25,12 @@ const PaletteIconSearchBold = require('@telus-uds/palette-allium/build/rn/icons/
|
|
|
25
25
|
const PaletteIconPlaySolid = require('@telus-uds/palette-allium/build/rn/icons/PlaySolid')
|
|
26
26
|
const PaletteIconQuoteLeft = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeft')
|
|
27
27
|
const PaletteIconQuoteLeftArrow = require('@telus-uds/palette-allium/build/rn/icons/QuoteLeftArrow')
|
|
28
|
+
const PaletteIconAmex = require('@telus-uds/palette-allium/build/rn/icons/Amex')
|
|
29
|
+
const PaletteIconCreditCard = require('@telus-uds/palette-allium/build/rn/icons/CreditCard')
|
|
30
|
+
const PaletteIconMasterCard = require('@telus-uds/palette-allium/build/rn/icons/MasterCard')
|
|
28
31
|
const PaletteIconInvisible = require('@telus-uds/palette-allium/build/rn/icons/Invisible')
|
|
29
32
|
const PaletteIconVisible = require('@telus-uds/palette-allium/build/rn/icons/Visible')
|
|
33
|
+
const PaletteIconVisa = require('@telus-uds/palette-allium/build/rn/icons/Visa')
|
|
30
34
|
const PaletteIconQuestion = require('@telus-uds/palette-allium/build/rn/icons/Question')
|
|
31
35
|
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
32
36
|
const PaletteIconReplay = require('@telus-uds/palette-allium/build/rn/icons/Replay')
|
|
@@ -886,9 +890,20 @@ module.exports = {
|
|
|
886
890
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
887
891
|
type: 'state',
|
|
888
892
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
893
|
+
},
|
|
894
|
+
width: {
|
|
895
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
896
|
+
type: 'variant',
|
|
897
|
+
values: [ 'responsive' ]
|
|
889
898
|
}
|
|
890
899
|
},
|
|
891
|
-
rules: [
|
|
900
|
+
rules: [
|
|
901
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } },
|
|
902
|
+
{
|
|
903
|
+
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
904
|
+
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
905
|
+
}
|
|
906
|
+
],
|
|
892
907
|
tokens: {
|
|
893
908
|
alignItems: 'center',
|
|
894
909
|
direction: 'row',
|
|
@@ -932,6 +947,11 @@ module.exports = {
|
|
|
932
947
|
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
933
948
|
type: 'state',
|
|
934
949
|
values: [ true ]
|
|
950
|
+
},
|
|
951
|
+
width: {
|
|
952
|
+
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
953
|
+
type: 'variant',
|
|
954
|
+
values: [ 'responsive' ]
|
|
935
955
|
}
|
|
936
956
|
},
|
|
937
957
|
rules: [
|
|
@@ -986,7 +1006,8 @@ module.exports = {
|
|
|
986
1006
|
color: '#ffffff'
|
|
987
1007
|
}
|
|
988
1008
|
},
|
|
989
|
-
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
1009
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1010
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
990
1011
|
],
|
|
991
1012
|
tokens: {
|
|
992
1013
|
alignSelf: 'flex-start',
|
|
@@ -5933,6 +5954,7 @@ module.exports = {
|
|
|
5933
5954
|
}
|
|
5934
5955
|
],
|
|
5935
5956
|
tokens: {
|
|
5957
|
+
amexIcon: PaletteIconAmex,
|
|
5936
5958
|
backgroundColor: '#ffffff',
|
|
5937
5959
|
borderColor: '#676e73',
|
|
5938
5960
|
borderRadius: 4,
|
|
@@ -5942,13 +5964,16 @@ module.exports = {
|
|
|
5942
5964
|
buttonsPaddingRight: 8,
|
|
5943
5965
|
clearButtonIcon: PaletteIconTimes,
|
|
5944
5966
|
color: '#414547',
|
|
5967
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5945
5968
|
fontName: 'HelveticaNow',
|
|
5946
5969
|
fontSize: 16,
|
|
5947
5970
|
fontWeight: '400',
|
|
5948
5971
|
icon: null,
|
|
5949
5972
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5950
5973
|
iconSize: 24,
|
|
5974
|
+
leftIconPaddingBottom: 8,
|
|
5951
5975
|
lineHeight: 1.5,
|
|
5976
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5952
5977
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5953
5978
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5954
5979
|
outerBorderWidth: 2,
|
|
@@ -5957,7 +5982,8 @@ module.exports = {
|
|
|
5957
5982
|
paddingRight: 16,
|
|
5958
5983
|
paddingTop: 12,
|
|
5959
5984
|
passwordHideButtonIcon: PaletteIconInvisible,
|
|
5960
|
-
passwordShowButtonIcon: PaletteIconVisible
|
|
5985
|
+
passwordShowButtonIcon: PaletteIconVisible,
|
|
5986
|
+
visaIcon: PaletteIconVisa
|
|
5961
5987
|
}
|
|
5962
5988
|
},
|
|
5963
5989
|
Timeline: {
|
|
@@ -6898,5 +6924,5 @@ module.exports = {
|
|
|
6898
6924
|
tokens: { size: 96 }
|
|
6899
6925
|
}
|
|
6900
6926
|
},
|
|
6901
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6927
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.43.0' }
|
|
6902
6928
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.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.27.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.27.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.43.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.24"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.27.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.27.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -1068,7 +1068,12 @@
|
|
|
1068
1068
|
},
|
|
1069
1069
|
"ButtonGroup": {
|
|
1070
1070
|
"appearances": {
|
|
1071
|
-
"viewport": "{appearances.system.viewport}"
|
|
1071
|
+
"viewport": "{appearances.system.viewport}",
|
|
1072
|
+
"width": {
|
|
1073
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1074
|
+
"type": "variant",
|
|
1075
|
+
"values": ["responsive"]
|
|
1076
|
+
}
|
|
1072
1077
|
},
|
|
1073
1078
|
"rules": [
|
|
1074
1079
|
{
|
|
@@ -1078,6 +1083,16 @@
|
|
|
1078
1083
|
"tokens": {
|
|
1079
1084
|
"space": "{system.integer.3}"
|
|
1080
1085
|
}
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"if": {
|
|
1089
|
+
"viewport": ["xs"],
|
|
1090
|
+
"width": "responsive"
|
|
1091
|
+
},
|
|
1092
|
+
"tokens": {
|
|
1093
|
+
"alignItems": "{system.flexAlign.stretch}",
|
|
1094
|
+
"direction": "{system.direction.column}"
|
|
1095
|
+
}
|
|
1081
1096
|
}
|
|
1082
1097
|
],
|
|
1083
1098
|
"tokens": {
|
|
@@ -1097,7 +1112,12 @@
|
|
|
1097
1112
|
"iconPosition": "{appearances.Link.iconPosition}",
|
|
1098
1113
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1099
1114
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1100
|
-
"selected": "{appearances.ButtonGroupItem.selected}"
|
|
1115
|
+
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1116
|
+
"width": {
|
|
1117
|
+
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1118
|
+
"type": "variant",
|
|
1119
|
+
"values": ["responsive"]
|
|
1120
|
+
}
|
|
1101
1121
|
},
|
|
1102
1122
|
"rules": [
|
|
1103
1123
|
{
|
|
@@ -1194,6 +1214,14 @@
|
|
|
1194
1214
|
"tokens": {
|
|
1195
1215
|
"iconSpace": "{system.integer.1}"
|
|
1196
1216
|
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"if": {
|
|
1220
|
+
"width": "responsive"
|
|
1221
|
+
},
|
|
1222
|
+
"tokens": {
|
|
1223
|
+
"width": "{system.size.full}"
|
|
1224
|
+
}
|
|
1197
1225
|
}
|
|
1198
1226
|
],
|
|
1199
1227
|
"tokens": {
|
|
@@ -7125,6 +7153,7 @@
|
|
|
7125
7153
|
}
|
|
7126
7154
|
],
|
|
7127
7155
|
"tokens": {
|
|
7156
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
7128
7157
|
"backgroundColor": "{palette.color.white}",
|
|
7129
7158
|
"borderColor": "{palette.color.greyShuttle}",
|
|
7130
7159
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -7134,13 +7163,16 @@
|
|
|
7134
7163
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
7135
7164
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
7136
7165
|
"color": "{palette.color.greyCharcoal}",
|
|
7166
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
7137
7167
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
7138
7168
|
"fontSize": "{palette.fontSize.size16}",
|
|
7139
7169
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
7140
7170
|
"icon": "{system.icon.none}",
|
|
7141
7171
|
"iconColor": "{palette.color.transparent}",
|
|
7142
7172
|
"iconSize": "{palette.size.size24}",
|
|
7173
|
+
"leftIconPaddingBottom": "{palette.size.size8}",
|
|
7143
7174
|
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
7175
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
7144
7176
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
7145
7177
|
"outerBorderColor": "{palette.color.transparent}",
|
|
7146
7178
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -7149,7 +7181,8 @@
|
|
|
7149
7181
|
"paddingRight": "{palette.size.size16}",
|
|
7150
7182
|
"paddingTop": "{palette.size.size12}",
|
|
7151
7183
|
"passwordHideButtonIcon": "{palette.icon.Invisible}",
|
|
7152
|
-
"passwordShowButtonIcon": "{palette.icon.Visible}"
|
|
7184
|
+
"passwordShowButtonIcon": "{palette.icon.Visible}",
|
|
7185
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
7153
7186
|
}
|
|
7154
7187
|
},
|
|
7155
7188
|
"Timeline": {
|