@telus-uds/theme-allium 3.20.0 → 3.22.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 +1425 -873
- package/build/android/theme.json +203 -5
- package/build/ios/schema.json +1425 -873
- package/build/ios/theme.json +203 -5
- package/build/rn/schema.json +1425 -873
- package/build/rn/theme.js +90 -6
- package/package.json +5 -5
- package/theme.json +95 -4
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, 19 Apr 2023 18:42:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -994,6 +994,10 @@ module.exports = {
|
|
|
994
994
|
borderColor: '#e3e6e8',
|
|
995
995
|
borderRadius: 6,
|
|
996
996
|
borderWidth: 1,
|
|
997
|
+
contentAlignItems: 'stretch',
|
|
998
|
+
contentFlexGrow: 0,
|
|
999
|
+
contentFlexShrink: 0,
|
|
1000
|
+
contentJustifyContent: 'flex-start',
|
|
997
1001
|
flex: 1,
|
|
998
1002
|
minWidth: null,
|
|
999
1003
|
paddingBottom: 32,
|
|
@@ -1868,6 +1872,7 @@ module.exports = {
|
|
|
1868
1872
|
shadow: null
|
|
1869
1873
|
}
|
|
1870
1874
|
},
|
|
1875
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
1871
1876
|
InputLabel: {
|
|
1872
1877
|
appearances: {},
|
|
1873
1878
|
rules: [],
|
|
@@ -2117,7 +2122,13 @@ module.exports = {
|
|
|
2117
2122
|
rules: [
|
|
2118
2123
|
{
|
|
2119
2124
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
2120
|
-
tokens: {
|
|
2125
|
+
tokens: {
|
|
2126
|
+
height: '100%',
|
|
2127
|
+
paddingBottom: 24,
|
|
2128
|
+
paddingLeft: 24,
|
|
2129
|
+
paddingRight: 24,
|
|
2130
|
+
paddingTop: 24
|
|
2131
|
+
}
|
|
2121
2132
|
},
|
|
2122
2133
|
{
|
|
2123
2134
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
@@ -2188,7 +2199,9 @@ module.exports = {
|
|
|
2188
2199
|
backdropColor: 'rgba(244, 244, 247, 0.97)',
|
|
2189
2200
|
backdropOpacity: 1,
|
|
2190
2201
|
backgroundColor: '#ffffff',
|
|
2202
|
+
borderColor: '#e3e6e8',
|
|
2191
2203
|
borderRadius: 4,
|
|
2204
|
+
cancelButtonColor: '#2b8000',
|
|
2192
2205
|
closeIcon: PaletteIconClose,
|
|
2193
2206
|
closeIconColor: '#414547',
|
|
2194
2207
|
closeIconSize: 16,
|
|
@@ -2197,11 +2210,16 @@ module.exports = {
|
|
|
2197
2210
|
containerPaddingLeft: 0,
|
|
2198
2211
|
containerPaddingRight: 0,
|
|
2199
2212
|
containerPaddingTop: 0,
|
|
2213
|
+
gap: 16,
|
|
2214
|
+
headingColor: '#414547',
|
|
2215
|
+
headingPaddingRight: 24,
|
|
2200
2216
|
height: null,
|
|
2217
|
+
marginLeft: 24,
|
|
2218
|
+
marginRight: 24,
|
|
2201
2219
|
maxWidth: '100%',
|
|
2202
2220
|
paddingBottom: 24,
|
|
2203
|
-
paddingLeft:
|
|
2204
|
-
paddingRight:
|
|
2221
|
+
paddingLeft: 32,
|
|
2222
|
+
paddingRight: 32,
|
|
2205
2223
|
paddingTop: 24,
|
|
2206
2224
|
shadow: {
|
|
2207
2225
|
blur: 8,
|
|
@@ -2210,7 +2228,8 @@ module.exports = {
|
|
|
2210
2228
|
offsetX: 0,
|
|
2211
2229
|
offsetY: 4,
|
|
2212
2230
|
spread: 0
|
|
2213
|
-
}
|
|
2231
|
+
},
|
|
2232
|
+
subHeadingMarginTop: 8
|
|
2214
2233
|
}
|
|
2215
2234
|
},
|
|
2216
2235
|
Notification: {
|
|
@@ -3066,6 +3085,10 @@ module.exports = {
|
|
|
3066
3085
|
borderRadius: 6,
|
|
3067
3086
|
borderWidth: 1,
|
|
3068
3087
|
color: '#2c2e30',
|
|
3088
|
+
contentAlignItems: 'stretch',
|
|
3089
|
+
contentFlexGrow: 0,
|
|
3090
|
+
contentFlexShrink: 0,
|
|
3091
|
+
contentJustifyContent: 'flex-start',
|
|
3069
3092
|
contentSpace: 2,
|
|
3070
3093
|
flex: 1,
|
|
3071
3094
|
fontName: 'HelveticaNow',
|
|
@@ -3640,6 +3663,36 @@ module.exports = {
|
|
|
3640
3663
|
showStepTrackerLabel: true
|
|
3641
3664
|
}
|
|
3642
3665
|
},
|
|
3666
|
+
Table: {
|
|
3667
|
+
appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
|
|
3668
|
+
rules: [
|
|
3669
|
+
{
|
|
3670
|
+
if: { spacing: 'compact' },
|
|
3671
|
+
tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
|
|
3672
|
+
}
|
|
3673
|
+
],
|
|
3674
|
+
tokens: {
|
|
3675
|
+
cellBackground: '#ffffff',
|
|
3676
|
+
cellBoxShadowColor: '#e3e6e8',
|
|
3677
|
+
cellHeadingBackground: '#f4f4f7',
|
|
3678
|
+
cellHeadingBoxShadowColor: '#b2b9bf',
|
|
3679
|
+
cellPaddingBottom: 16,
|
|
3680
|
+
cellPaddingLeft: 16,
|
|
3681
|
+
cellPaddingRight: 16,
|
|
3682
|
+
cellPaddingTop: 16,
|
|
3683
|
+
cellRowHeadingBackground: '#ffffff',
|
|
3684
|
+
cellStickyShadow: {
|
|
3685
|
+
blur: 8,
|
|
3686
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
3687
|
+
inset: false,
|
|
3688
|
+
offsetX: 0,
|
|
3689
|
+
offsetY: 4,
|
|
3690
|
+
spread: 0
|
|
3691
|
+
},
|
|
3692
|
+
cellSubheadingBackground: '#fafafa',
|
|
3693
|
+
tablePaddingBottom: 24
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3643
3696
|
Tabs: {
|
|
3644
3697
|
appearances: {
|
|
3645
3698
|
inverse: {
|
|
@@ -4062,6 +4115,28 @@ module.exports = {
|
|
|
4062
4115
|
timelineContainerDirection: 'column'
|
|
4063
4116
|
}
|
|
4064
4117
|
},
|
|
4118
|
+
Toast: {
|
|
4119
|
+
appearances: {},
|
|
4120
|
+
rules: [],
|
|
4121
|
+
tokens: {
|
|
4122
|
+
animationBackgroundColorAfter: '#f4f4f7',
|
|
4123
|
+
animationBackgroundColorBefore: '#4b286d',
|
|
4124
|
+
animationColorAfter: '#414547',
|
|
4125
|
+
animationColorBefore: '#ffffff',
|
|
4126
|
+
animationDivColorAfter: '#2b8000',
|
|
4127
|
+
animationDivColorBefore: '#ffffff',
|
|
4128
|
+
animationFillColorAfter: '#2b8000',
|
|
4129
|
+
animationFillColorBefore: '#ffffff',
|
|
4130
|
+
animationHeightAfter: 24,
|
|
4131
|
+
animationHeightBefore: 0,
|
|
4132
|
+
animationPaddingBottomAfter: 16,
|
|
4133
|
+
animationPaddingBottomBefore: 0,
|
|
4134
|
+
animationPaddingTopAfter: 16,
|
|
4135
|
+
animationPaddingTopBefore: 0,
|
|
4136
|
+
containerBackgroundColor: '#4b286d',
|
|
4137
|
+
containerGap: 10
|
|
4138
|
+
}
|
|
4139
|
+
},
|
|
4065
4140
|
ToggleSwitch: {
|
|
4066
4141
|
appearances: {
|
|
4067
4142
|
focus: {
|
|
@@ -4591,6 +4666,15 @@ module.exports = {
|
|
|
4591
4666
|
textTransform: 'none'
|
|
4592
4667
|
}
|
|
4593
4668
|
},
|
|
4669
|
+
WaffleGrid: {
|
|
4670
|
+
appearances: {},
|
|
4671
|
+
rules: [],
|
|
4672
|
+
tokens: {
|
|
4673
|
+
itemBorderColor: '#b2b9bf',
|
|
4674
|
+
itemPadding: 16,
|
|
4675
|
+
rowBorderWidth: 1
|
|
4676
|
+
}
|
|
4677
|
+
},
|
|
4594
4678
|
spacingScale: {
|
|
4595
4679
|
appearances: {
|
|
4596
4680
|
space: {
|
|
@@ -4651,5 +4735,5 @@ module.exports = {
|
|
|
4651
4735
|
tokens: { size: 96 }
|
|
4652
4736
|
}
|
|
4653
4737
|
},
|
|
4654
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4738
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.20.0' }
|
|
4655
4739
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.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.13.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.13.2",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.20.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.12"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.13.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.13.2"
|
|
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}",
|
|
@@ -2439,6 +2443,13 @@
|
|
|
2439
2443
|
"shadow": "{system.shadow.none}"
|
|
2440
2444
|
}
|
|
2441
2445
|
},
|
|
2446
|
+
"Image": {
|
|
2447
|
+
"appearances": {},
|
|
2448
|
+
"rules": [],
|
|
2449
|
+
"tokens": {
|
|
2450
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2442
2453
|
"InputLabel": {
|
|
2443
2454
|
"appearances": {},
|
|
2444
2455
|
"rules": [],
|
|
@@ -2797,7 +2808,11 @@
|
|
|
2797
2808
|
"viewport": ["xs", "sm"]
|
|
2798
2809
|
},
|
|
2799
2810
|
"tokens": {
|
|
2800
|
-
"height": "{system.size.full}"
|
|
2811
|
+
"height": "{system.size.full}",
|
|
2812
|
+
"paddingBottom": "{palette.size.size24}",
|
|
2813
|
+
"paddingLeft": "{palette.size.size24}",
|
|
2814
|
+
"paddingRight": "{palette.size.size24}",
|
|
2815
|
+
"paddingTop": "{palette.size.size24}"
|
|
2801
2816
|
}
|
|
2802
2817
|
},
|
|
2803
2818
|
{
|
|
@@ -2892,7 +2907,9 @@
|
|
|
2892
2907
|
"backdropColor": "{palette.color.bgModal}",
|
|
2893
2908
|
"backdropOpacity": "{system.opacity.opaque}",
|
|
2894
2909
|
"backgroundColor": "{palette.color.white}",
|
|
2910
|
+
"borderColor": "{palette.color.greyMystic}",
|
|
2895
2911
|
"borderRadius": "{palette.radius.radius4}",
|
|
2912
|
+
"cancelButtonColor": "{palette.color.greenAccessible}",
|
|
2896
2913
|
"closeIcon": "{palette.icon.Close}",
|
|
2897
2914
|
"closeIconColor": "{palette.color.greyCharcoal}",
|
|
2898
2915
|
"closeIconSize": "{palette.size.size16}",
|
|
@@ -2901,13 +2918,19 @@
|
|
|
2901
2918
|
"containerPaddingLeft": "{system.size.zero}",
|
|
2902
2919
|
"containerPaddingRight": "{system.size.zero}",
|
|
2903
2920
|
"containerPaddingTop": "{system.size.zero}",
|
|
2921
|
+
"gap": "{palette.size.size16}",
|
|
2922
|
+
"headingColor": "{palette.color.greyCharcoal}",
|
|
2923
|
+
"headingPaddingRight": "{palette.size.size24}",
|
|
2904
2924
|
"height": "{system.size.none}",
|
|
2925
|
+
"marginLeft": "{palette.size.size24}",
|
|
2926
|
+
"marginRight": "{palette.size.size24}",
|
|
2905
2927
|
"maxWidth": "{system.size.full}",
|
|
2906
2928
|
"paddingBottom": "{palette.size.size24}",
|
|
2907
|
-
"paddingLeft": "{palette.size.
|
|
2908
|
-
"paddingRight": "{palette.size.
|
|
2929
|
+
"paddingLeft": "{palette.size.size32}",
|
|
2930
|
+
"paddingRight": "{palette.size.size32}",
|
|
2909
2931
|
"paddingTop": "{palette.size.size24}",
|
|
2910
|
-
"shadow": "{palette.shadow.elevation1}"
|
|
2932
|
+
"shadow": "{palette.shadow.elevation1}",
|
|
2933
|
+
"subHeadingMarginTop": "{palette.size.size8}"
|
|
2911
2934
|
}
|
|
2912
2935
|
},
|
|
2913
2936
|
"Notification": {
|
|
@@ -3859,6 +3882,10 @@
|
|
|
3859
3882
|
"borderRadius": "{palette.radius.radius6}",
|
|
3860
3883
|
"borderWidth": "{palette.border.border1}",
|
|
3861
3884
|
"color": "{palette.color.greyThunder}",
|
|
3885
|
+
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
3886
|
+
"contentFlexGrow": "{system.integer.0}",
|
|
3887
|
+
"contentFlexShrink": "{system.integer.0}",
|
|
3888
|
+
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
3862
3889
|
"contentSpace": "{system.integer.2}",
|
|
3863
3890
|
"flex": "{system.integer.1}",
|
|
3864
3891
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
@@ -4456,6 +4483,39 @@
|
|
|
4456
4483
|
"showStepTrackerLabel": "{system.show.true}"
|
|
4457
4484
|
}
|
|
4458
4485
|
},
|
|
4486
|
+
"Table": {
|
|
4487
|
+
"appearances": {
|
|
4488
|
+
"spacing": {
|
|
4489
|
+
"type": "variant",
|
|
4490
|
+
"values": ["compact"]
|
|
4491
|
+
}
|
|
4492
|
+
},
|
|
4493
|
+
"rules": [
|
|
4494
|
+
{
|
|
4495
|
+
"if": {
|
|
4496
|
+
"spacing": "compact"
|
|
4497
|
+
},
|
|
4498
|
+
"tokens": {
|
|
4499
|
+
"cellPaddingBottom": "{palette.size.size8}",
|
|
4500
|
+
"cellPaddingTop": "{palette.size.size8}"
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
],
|
|
4504
|
+
"tokens": {
|
|
4505
|
+
"cellBackground": "{palette.color.white}",
|
|
4506
|
+
"cellBoxShadowColor": "{palette.color.greyMystic}",
|
|
4507
|
+
"cellHeadingBackground": "{palette.color.greyAthens}",
|
|
4508
|
+
"cellHeadingBoxShadowColor": "{palette.color.greyCloud}",
|
|
4509
|
+
"cellPaddingBottom": "{palette.size.size16}",
|
|
4510
|
+
"cellPaddingLeft": "{palette.size.size16}",
|
|
4511
|
+
"cellPaddingRight": "{palette.size.size16}",
|
|
4512
|
+
"cellPaddingTop": "{palette.size.size16}",
|
|
4513
|
+
"cellRowHeadingBackground": "{palette.color.white}",
|
|
4514
|
+
"cellStickyShadow": "{palette.shadow.elevation1}",
|
|
4515
|
+
"cellSubheadingBackground": "{palette.color.greyAlabaster}",
|
|
4516
|
+
"tablePaddingBottom": "{palette.size.size24}"
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4459
4519
|
"Tabs": {
|
|
4460
4520
|
"appearances": {
|
|
4461
4521
|
"inverse": {
|
|
@@ -4937,6 +4997,28 @@
|
|
|
4937
4997
|
"timelineContainerDirection": "{system.direction.column}"
|
|
4938
4998
|
}
|
|
4939
4999
|
},
|
|
5000
|
+
"Toast": {
|
|
5001
|
+
"appearances": {},
|
|
5002
|
+
"rules": [],
|
|
5003
|
+
"tokens": {
|
|
5004
|
+
"animationBackgroundColorAfter": "{palette.color.greyAthens}",
|
|
5005
|
+
"animationBackgroundColorBefore": "{palette.color.purpleTelus}",
|
|
5006
|
+
"animationColorAfter": "{palette.color.greyCharcoal}",
|
|
5007
|
+
"animationColorBefore": "{palette.color.white}",
|
|
5008
|
+
"animationDivColorAfter": "{palette.color.greenAccessible}",
|
|
5009
|
+
"animationDivColorBefore": "{palette.color.white}",
|
|
5010
|
+
"animationFillColorAfter": "{palette.color.greenAccessible}",
|
|
5011
|
+
"animationFillColorBefore": "{palette.color.white}",
|
|
5012
|
+
"animationHeightAfter": "{palette.size.size24}",
|
|
5013
|
+
"animationHeightBefore": "{palette.size.size0}",
|
|
5014
|
+
"animationPaddingBottomAfter": "{palette.size.size16}",
|
|
5015
|
+
"animationPaddingBottomBefore": "{palette.size.size0}",
|
|
5016
|
+
"animationPaddingTopAfter": "{palette.size.size16}",
|
|
5017
|
+
"animationPaddingTopBefore": "{palette.size.size0}",
|
|
5018
|
+
"containerBackgroundColor": "{palette.color.purpleTelus}",
|
|
5019
|
+
"containerGap": "{palette.size.size10}"
|
|
5020
|
+
}
|
|
5021
|
+
},
|
|
4940
5022
|
"ToggleSwitch": {
|
|
4941
5023
|
"appearances": {
|
|
4942
5024
|
"focus": "{appearances.ToggleSwitch.focus}",
|
|
@@ -5671,6 +5753,15 @@
|
|
|
5671
5753
|
"textTransform": "{system.textTransform.none}"
|
|
5672
5754
|
}
|
|
5673
5755
|
},
|
|
5756
|
+
"WaffleGrid": {
|
|
5757
|
+
"appearances": {},
|
|
5758
|
+
"rules": [],
|
|
5759
|
+
"tokens": {
|
|
5760
|
+
"itemBorderColor": "{palette.color.greyCloud}",
|
|
5761
|
+
"itemPadding": "{palette.size.size16}",
|
|
5762
|
+
"rowBorderWidth": "{palette.border.border1}"
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5674
5765
|
"spacingScale": {
|
|
5675
5766
|
"appearances": {
|
|
5676
5767
|
"space": "{appearances.spacingScale.space}",
|