@telus-uds/theme-allium 4.15.0 → 4.17.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 +1101 -942
- package/build/android/theme.json +84 -2
- package/build/ios/schema.json +1101 -942
- package/build/ios/theme.json +84 -2
- package/build/rn/schema.json +1101 -942
- package/build/rn/theme.js +69 -5
- package/package.json +5 -5
- package/theme.json +81 -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 Tue, 07 Nov 2023 16:19:10 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',
|
|
@@ -1628,6 +1649,41 @@ module.exports = {
|
|
|
1628
1649
|
textTransform: 'none'
|
|
1629
1650
|
}
|
|
1630
1651
|
},
|
|
1652
|
+
CheckboxCardGroup: {
|
|
1653
|
+
appearances: {
|
|
1654
|
+
fullWidth: {
|
|
1655
|
+
description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
|
|
1656
|
+
type: 'variant',
|
|
1657
|
+
values: [ true ]
|
|
1658
|
+
},
|
|
1659
|
+
viewport: {
|
|
1660
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1661
|
+
type: 'state',
|
|
1662
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
rules: [
|
|
1666
|
+
{
|
|
1667
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1668
|
+
tokens: { direction: 'row', space: 5 }
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
if: { fullWidth: true },
|
|
1672
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
1673
|
+
}
|
|
1674
|
+
],
|
|
1675
|
+
tokens: {
|
|
1676
|
+
borderBottomLeftRadius: 1,
|
|
1677
|
+
borderBottomRightRadius: 1,
|
|
1678
|
+
borderTopLeftRadius: 1,
|
|
1679
|
+
borderTopRightRadius: 1,
|
|
1680
|
+
direction: 'column',
|
|
1681
|
+
fieldSpace: 3,
|
|
1682
|
+
outlineOffset: 8,
|
|
1683
|
+
outlineWidth: 1,
|
|
1684
|
+
space: 3
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1631
1687
|
CheckboxGroup: {
|
|
1632
1688
|
appearances: {},
|
|
1633
1689
|
rules: [],
|
|
@@ -3075,6 +3131,7 @@ module.exports = {
|
|
|
3075
3131
|
{
|
|
3076
3132
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
3077
3133
|
tokens: {
|
|
3134
|
+
direction: 'column',
|
|
3078
3135
|
height: '100%',
|
|
3079
3136
|
paddingBottom: 24,
|
|
3080
3137
|
paddingLeft: 24,
|
|
@@ -3087,6 +3144,7 @@ module.exports = {
|
|
|
3087
3144
|
tokens: {
|
|
3088
3145
|
containerPaddingBottom: 32,
|
|
3089
3146
|
containerPaddingTop: 32,
|
|
3147
|
+
direction: 'row',
|
|
3090
3148
|
maxWidth: 576
|
|
3091
3149
|
}
|
|
3092
3150
|
},
|
|
@@ -3162,6 +3220,7 @@ module.exports = {
|
|
|
3162
3220
|
containerPaddingLeft: 0,
|
|
3163
3221
|
containerPaddingRight: 0,
|
|
3164
3222
|
containerPaddingTop: 0,
|
|
3223
|
+
direction: 'row',
|
|
3165
3224
|
gap: 16,
|
|
3166
3225
|
headingColor: '#414547',
|
|
3167
3226
|
headingPaddingRight: 24,
|
|
@@ -5933,6 +5992,7 @@ module.exports = {
|
|
|
5933
5992
|
}
|
|
5934
5993
|
],
|
|
5935
5994
|
tokens: {
|
|
5995
|
+
amexIcon: PaletteIconAmex,
|
|
5936
5996
|
backgroundColor: '#ffffff',
|
|
5937
5997
|
borderColor: '#676e73',
|
|
5938
5998
|
borderRadius: 4,
|
|
@@ -5942,13 +6002,16 @@ module.exports = {
|
|
|
5942
6002
|
buttonsPaddingRight: 8,
|
|
5943
6003
|
clearButtonIcon: PaletteIconTimes,
|
|
5944
6004
|
color: '#414547',
|
|
6005
|
+
defaultCreditIcon: PaletteIconCreditCard,
|
|
5945
6006
|
fontName: 'HelveticaNow',
|
|
5946
6007
|
fontSize: 16,
|
|
5947
6008
|
fontWeight: '400',
|
|
5948
6009
|
icon: null,
|
|
5949
6010
|
iconColor: 'rgba(0, 0, 0, 0)',
|
|
5950
6011
|
iconSize: 24,
|
|
6012
|
+
leftIconPaddingBottom: 8,
|
|
5951
6013
|
lineHeight: 1.5,
|
|
6014
|
+
masterCardIcon: PaletteIconMasterCard,
|
|
5952
6015
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5953
6016
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
5954
6017
|
outerBorderWidth: 2,
|
|
@@ -5957,7 +6020,8 @@ module.exports = {
|
|
|
5957
6020
|
paddingRight: 16,
|
|
5958
6021
|
paddingTop: 12,
|
|
5959
6022
|
passwordHideButtonIcon: PaletteIconInvisible,
|
|
5960
|
-
passwordShowButtonIcon: PaletteIconVisible
|
|
6023
|
+
passwordShowButtonIcon: PaletteIconVisible,
|
|
6024
|
+
visaIcon: PaletteIconVisa
|
|
5961
6025
|
}
|
|
5962
6026
|
},
|
|
5963
6027
|
Timeline: {
|
|
@@ -6898,5 +6962,5 @@ module.exports = {
|
|
|
6898
6962
|
tokens: { size: 96 }
|
|
6899
6963
|
}
|
|
6900
6964
|
},
|
|
6901
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
6965
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.44.0' }
|
|
6902
6966
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.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.2",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.44.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.25"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.27.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.27.2"
|
|
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": {
|
|
@@ -1921,6 +1949,48 @@
|
|
|
1921
1949
|
"textTransform": "{system.textTransform.none}"
|
|
1922
1950
|
}
|
|
1923
1951
|
},
|
|
1952
|
+
"CheckboxCardGroup": {
|
|
1953
|
+
"appearances": {
|
|
1954
|
+
"fullWidth": {
|
|
1955
|
+
"description": "Makes cards always occupy the full width of the parent, regardless of viewport",
|
|
1956
|
+
"type": "variant",
|
|
1957
|
+
"values": [true]
|
|
1958
|
+
},
|
|
1959
|
+
"viewport": "{appearances.system.viewport}"
|
|
1960
|
+
},
|
|
1961
|
+
"rules": [
|
|
1962
|
+
{
|
|
1963
|
+
"if": {
|
|
1964
|
+
"viewport": ["md", "lg", "xl"]
|
|
1965
|
+
},
|
|
1966
|
+
"tokens": {
|
|
1967
|
+
"direction": "{system.direction.row}",
|
|
1968
|
+
"space": "{system.integer.5}"
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"if": {
|
|
1973
|
+
"fullWidth": true
|
|
1974
|
+
},
|
|
1975
|
+
"tokens": {
|
|
1976
|
+
"direction": "{system.direction.column}",
|
|
1977
|
+
"fieldSpace": "{system.integer.3}",
|
|
1978
|
+
"space": "{system.integer.3}"
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
],
|
|
1982
|
+
"tokens": {
|
|
1983
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
1984
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
1985
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
1986
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
1987
|
+
"direction": "{system.direction.column}",
|
|
1988
|
+
"fieldSpace": "{system.integer.3}",
|
|
1989
|
+
"outlineOffset": "{palette.size.size8}",
|
|
1990
|
+
"outlineWidth": "{palette.border.border1}",
|
|
1991
|
+
"space": "{system.integer.3}"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1924
1994
|
"CheckboxGroup": {
|
|
1925
1995
|
"appearances": {},
|
|
1926
1996
|
"rules": [],
|
|
@@ -3961,6 +4031,7 @@
|
|
|
3961
4031
|
"viewport": ["xs", "sm"]
|
|
3962
4032
|
},
|
|
3963
4033
|
"tokens": {
|
|
4034
|
+
"direction": "{system.direction.column}",
|
|
3964
4035
|
"height": "{system.size.full}",
|
|
3965
4036
|
"paddingBottom": "{palette.size.size24}",
|
|
3966
4037
|
"paddingLeft": "{palette.size.size24}",
|
|
@@ -3975,6 +4046,7 @@
|
|
|
3975
4046
|
"tokens": {
|
|
3976
4047
|
"containerPaddingBottom": "{palette.size.size32}",
|
|
3977
4048
|
"containerPaddingTop": "{palette.size.size32}",
|
|
4049
|
+
"direction": "{system.direction.row}",
|
|
3978
4050
|
"maxWidth": "{palette.size.size576}"
|
|
3979
4051
|
}
|
|
3980
4052
|
},
|
|
@@ -4071,6 +4143,7 @@
|
|
|
4071
4143
|
"containerPaddingLeft": "{system.size.zero}",
|
|
4072
4144
|
"containerPaddingRight": "{system.size.zero}",
|
|
4073
4145
|
"containerPaddingTop": "{system.size.zero}",
|
|
4146
|
+
"direction": "{system.direction.row}",
|
|
4074
4147
|
"gap": "{palette.size.size16}",
|
|
4075
4148
|
"headingColor": "{palette.color.greyCharcoal}",
|
|
4076
4149
|
"headingPaddingRight": "{palette.size.size24}",
|
|
@@ -7125,6 +7198,7 @@
|
|
|
7125
7198
|
}
|
|
7126
7199
|
],
|
|
7127
7200
|
"tokens": {
|
|
7201
|
+
"amexIcon": "{palette.icon.Amex}",
|
|
7128
7202
|
"backgroundColor": "{palette.color.white}",
|
|
7129
7203
|
"borderColor": "{palette.color.greyShuttle}",
|
|
7130
7204
|
"borderRadius": "{palette.radius.radius4}",
|
|
@@ -7134,13 +7208,16 @@
|
|
|
7134
7208
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
7135
7209
|
"clearButtonIcon": "{palette.icon.Times}",
|
|
7136
7210
|
"color": "{palette.color.greyCharcoal}",
|
|
7211
|
+
"defaultCreditIcon": "{palette.icon.CreditCard}",
|
|
7137
7212
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
7138
7213
|
"fontSize": "{palette.fontSize.size16}",
|
|
7139
7214
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
7140
7215
|
"icon": "{system.icon.none}",
|
|
7141
7216
|
"iconColor": "{palette.color.transparent}",
|
|
7142
7217
|
"iconSize": "{palette.size.size24}",
|
|
7218
|
+
"leftIconPaddingBottom": "{palette.size.size8}",
|
|
7143
7219
|
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
7220
|
+
"masterCardIcon": "{palette.icon.MasterCard}",
|
|
7144
7221
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
7145
7222
|
"outerBorderColor": "{palette.color.transparent}",
|
|
7146
7223
|
"outerBorderWidth": "{palette.border.border2}",
|
|
@@ -7149,7 +7226,8 @@
|
|
|
7149
7226
|
"paddingRight": "{palette.size.size16}",
|
|
7150
7227
|
"paddingTop": "{palette.size.size12}",
|
|
7151
7228
|
"passwordHideButtonIcon": "{palette.icon.Invisible}",
|
|
7152
|
-
"passwordShowButtonIcon": "{palette.icon.Visible}"
|
|
7229
|
+
"passwordShowButtonIcon": "{palette.icon.Visible}",
|
|
7230
|
+
"visaIcon": "{palette.icon.Visa}"
|
|
7153
7231
|
}
|
|
7154
7232
|
},
|
|
7155
7233
|
"Timeline": {
|