@telus-uds/theme-allium 3.20.0 → 3.21.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 +1368 -872
- package/build/android/theme.json +195 -5
- package/build/ios/schema.json +1368 -872
- package/build/ios/theme.json +195 -5
- package/build/rn/schema.json +1368 -872
- package/build/rn/theme.js +82 -6
- package/package.json +5 -5
- package/theme.json +87 -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 11:23:39 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1868,6 +1868,7 @@ module.exports = {
|
|
|
1868
1868
|
shadow: null
|
|
1869
1869
|
}
|
|
1870
1870
|
},
|
|
1871
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
1871
1872
|
InputLabel: {
|
|
1872
1873
|
appearances: {},
|
|
1873
1874
|
rules: [],
|
|
@@ -2117,7 +2118,13 @@ module.exports = {
|
|
|
2117
2118
|
rules: [
|
|
2118
2119
|
{
|
|
2119
2120
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
2120
|
-
tokens: {
|
|
2121
|
+
tokens: {
|
|
2122
|
+
height: '100%',
|
|
2123
|
+
paddingBottom: 24,
|
|
2124
|
+
paddingLeft: 24,
|
|
2125
|
+
paddingRight: 24,
|
|
2126
|
+
paddingTop: 24
|
|
2127
|
+
}
|
|
2121
2128
|
},
|
|
2122
2129
|
{
|
|
2123
2130
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
@@ -2188,7 +2195,9 @@ module.exports = {
|
|
|
2188
2195
|
backdropColor: 'rgba(244, 244, 247, 0.97)',
|
|
2189
2196
|
backdropOpacity: 1,
|
|
2190
2197
|
backgroundColor: '#ffffff',
|
|
2198
|
+
borderColor: '#e3e6e8',
|
|
2191
2199
|
borderRadius: 4,
|
|
2200
|
+
cancelButtonColor: '#2b8000',
|
|
2192
2201
|
closeIcon: PaletteIconClose,
|
|
2193
2202
|
closeIconColor: '#414547',
|
|
2194
2203
|
closeIconSize: 16,
|
|
@@ -2197,11 +2206,16 @@ module.exports = {
|
|
|
2197
2206
|
containerPaddingLeft: 0,
|
|
2198
2207
|
containerPaddingRight: 0,
|
|
2199
2208
|
containerPaddingTop: 0,
|
|
2209
|
+
gap: 16,
|
|
2210
|
+
headingColor: '#414547',
|
|
2211
|
+
headingPaddingRight: 24,
|
|
2200
2212
|
height: null,
|
|
2213
|
+
marginLeft: 24,
|
|
2214
|
+
marginRight: 24,
|
|
2201
2215
|
maxWidth: '100%',
|
|
2202
2216
|
paddingBottom: 24,
|
|
2203
|
-
paddingLeft:
|
|
2204
|
-
paddingRight:
|
|
2217
|
+
paddingLeft: 32,
|
|
2218
|
+
paddingRight: 32,
|
|
2205
2219
|
paddingTop: 24,
|
|
2206
2220
|
shadow: {
|
|
2207
2221
|
blur: 8,
|
|
@@ -2210,7 +2224,8 @@ module.exports = {
|
|
|
2210
2224
|
offsetX: 0,
|
|
2211
2225
|
offsetY: 4,
|
|
2212
2226
|
spread: 0
|
|
2213
|
-
}
|
|
2227
|
+
},
|
|
2228
|
+
subHeadingMarginTop: 8
|
|
2214
2229
|
}
|
|
2215
2230
|
},
|
|
2216
2231
|
Notification: {
|
|
@@ -3640,6 +3655,36 @@ module.exports = {
|
|
|
3640
3655
|
showStepTrackerLabel: true
|
|
3641
3656
|
}
|
|
3642
3657
|
},
|
|
3658
|
+
Table: {
|
|
3659
|
+
appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
|
|
3660
|
+
rules: [
|
|
3661
|
+
{
|
|
3662
|
+
if: { spacing: 'compact' },
|
|
3663
|
+
tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
|
|
3664
|
+
}
|
|
3665
|
+
],
|
|
3666
|
+
tokens: {
|
|
3667
|
+
cellBackground: '#ffffff',
|
|
3668
|
+
cellBoxShadowColor: '#e3e6e8',
|
|
3669
|
+
cellHeadingBackground: '#f4f4f7',
|
|
3670
|
+
cellHeadingBoxShadowColor: '#b2b9bf',
|
|
3671
|
+
cellPaddingBottom: 16,
|
|
3672
|
+
cellPaddingLeft: 16,
|
|
3673
|
+
cellPaddingRight: 16,
|
|
3674
|
+
cellPaddingTop: 16,
|
|
3675
|
+
cellRowHeadingBackground: '#ffffff',
|
|
3676
|
+
cellStickyShadow: {
|
|
3677
|
+
blur: 8,
|
|
3678
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
3679
|
+
inset: false,
|
|
3680
|
+
offsetX: 0,
|
|
3681
|
+
offsetY: 4,
|
|
3682
|
+
spread: 0
|
|
3683
|
+
},
|
|
3684
|
+
cellSubheadingBackground: '#fafafa',
|
|
3685
|
+
tablePaddingBottom: 24
|
|
3686
|
+
}
|
|
3687
|
+
},
|
|
3643
3688
|
Tabs: {
|
|
3644
3689
|
appearances: {
|
|
3645
3690
|
inverse: {
|
|
@@ -4062,6 +4107,28 @@ module.exports = {
|
|
|
4062
4107
|
timelineContainerDirection: 'column'
|
|
4063
4108
|
}
|
|
4064
4109
|
},
|
|
4110
|
+
Toast: {
|
|
4111
|
+
appearances: {},
|
|
4112
|
+
rules: [],
|
|
4113
|
+
tokens: {
|
|
4114
|
+
animationBackgroundColorAfter: '#f4f4f7',
|
|
4115
|
+
animationBackgroundColorBefore: '#4b286d',
|
|
4116
|
+
animationColorAfter: '#414547',
|
|
4117
|
+
animationColorBefore: '#ffffff',
|
|
4118
|
+
animationDivColorAfter: '#2b8000',
|
|
4119
|
+
animationDivColorBefore: '#ffffff',
|
|
4120
|
+
animationFillColorAfter: '#2b8000',
|
|
4121
|
+
animationFillColorBefore: '#ffffff',
|
|
4122
|
+
animationHeightAfter: 24,
|
|
4123
|
+
animationHeightBefore: 0,
|
|
4124
|
+
animationPaddingBottomAfter: 16,
|
|
4125
|
+
animationPaddingBottomBefore: 0,
|
|
4126
|
+
animationPaddingTopAfter: 16,
|
|
4127
|
+
animationPaddingTopBefore: 0,
|
|
4128
|
+
containerBackgroundColor: '#4b286d',
|
|
4129
|
+
containerGap: 10
|
|
4130
|
+
}
|
|
4131
|
+
},
|
|
4065
4132
|
ToggleSwitch: {
|
|
4066
4133
|
appearances: {
|
|
4067
4134
|
focus: {
|
|
@@ -4591,6 +4658,15 @@ module.exports = {
|
|
|
4591
4658
|
textTransform: 'none'
|
|
4592
4659
|
}
|
|
4593
4660
|
},
|
|
4661
|
+
WaffleGrid: {
|
|
4662
|
+
appearances: {},
|
|
4663
|
+
rules: [],
|
|
4664
|
+
tokens: {
|
|
4665
|
+
itemBorderColor: '#b2b9bf',
|
|
4666
|
+
itemPadding: 16,
|
|
4667
|
+
rowBorderWidth: 1
|
|
4668
|
+
}
|
|
4669
|
+
},
|
|
4594
4670
|
spacingScale: {
|
|
4595
4671
|
appearances: {
|
|
4596
4672
|
space: {
|
|
@@ -4651,5 +4727,5 @@ module.exports = {
|
|
|
4651
4727
|
tokens: { size: 96 }
|
|
4652
4728
|
}
|
|
4653
4729
|
},
|
|
4654
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4730
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.19.0' }
|
|
4655
4731
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.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.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.19.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.11"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.13.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.13.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -2439,6 +2439,13 @@
|
|
|
2439
2439
|
"shadow": "{system.shadow.none}"
|
|
2440
2440
|
}
|
|
2441
2441
|
},
|
|
2442
|
+
"Image": {
|
|
2443
|
+
"appearances": {},
|
|
2444
|
+
"rules": [],
|
|
2445
|
+
"tokens": {
|
|
2446
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2442
2449
|
"InputLabel": {
|
|
2443
2450
|
"appearances": {},
|
|
2444
2451
|
"rules": [],
|
|
@@ -2797,7 +2804,11 @@
|
|
|
2797
2804
|
"viewport": ["xs", "sm"]
|
|
2798
2805
|
},
|
|
2799
2806
|
"tokens": {
|
|
2800
|
-
"height": "{system.size.full}"
|
|
2807
|
+
"height": "{system.size.full}",
|
|
2808
|
+
"paddingBottom": "{palette.size.size24}",
|
|
2809
|
+
"paddingLeft": "{palette.size.size24}",
|
|
2810
|
+
"paddingRight": "{palette.size.size24}",
|
|
2811
|
+
"paddingTop": "{palette.size.size24}"
|
|
2801
2812
|
}
|
|
2802
2813
|
},
|
|
2803
2814
|
{
|
|
@@ -2892,7 +2903,9 @@
|
|
|
2892
2903
|
"backdropColor": "{palette.color.bgModal}",
|
|
2893
2904
|
"backdropOpacity": "{system.opacity.opaque}",
|
|
2894
2905
|
"backgroundColor": "{palette.color.white}",
|
|
2906
|
+
"borderColor": "{palette.color.greyMystic}",
|
|
2895
2907
|
"borderRadius": "{palette.radius.radius4}",
|
|
2908
|
+
"cancelButtonColor": "{palette.color.greenAccessible}",
|
|
2896
2909
|
"closeIcon": "{palette.icon.Close}",
|
|
2897
2910
|
"closeIconColor": "{palette.color.greyCharcoal}",
|
|
2898
2911
|
"closeIconSize": "{palette.size.size16}",
|
|
@@ -2901,13 +2914,19 @@
|
|
|
2901
2914
|
"containerPaddingLeft": "{system.size.zero}",
|
|
2902
2915
|
"containerPaddingRight": "{system.size.zero}",
|
|
2903
2916
|
"containerPaddingTop": "{system.size.zero}",
|
|
2917
|
+
"gap": "{palette.size.size16}",
|
|
2918
|
+
"headingColor": "{palette.color.greyCharcoal}",
|
|
2919
|
+
"headingPaddingRight": "{palette.size.size24}",
|
|
2904
2920
|
"height": "{system.size.none}",
|
|
2921
|
+
"marginLeft": "{palette.size.size24}",
|
|
2922
|
+
"marginRight": "{palette.size.size24}",
|
|
2905
2923
|
"maxWidth": "{system.size.full}",
|
|
2906
2924
|
"paddingBottom": "{palette.size.size24}",
|
|
2907
|
-
"paddingLeft": "{palette.size.
|
|
2908
|
-
"paddingRight": "{palette.size.
|
|
2925
|
+
"paddingLeft": "{palette.size.size32}",
|
|
2926
|
+
"paddingRight": "{palette.size.size32}",
|
|
2909
2927
|
"paddingTop": "{palette.size.size24}",
|
|
2910
|
-
"shadow": "{palette.shadow.elevation1}"
|
|
2928
|
+
"shadow": "{palette.shadow.elevation1}",
|
|
2929
|
+
"subHeadingMarginTop": "{palette.size.size8}"
|
|
2911
2930
|
}
|
|
2912
2931
|
},
|
|
2913
2932
|
"Notification": {
|
|
@@ -4456,6 +4475,39 @@
|
|
|
4456
4475
|
"showStepTrackerLabel": "{system.show.true}"
|
|
4457
4476
|
}
|
|
4458
4477
|
},
|
|
4478
|
+
"Table": {
|
|
4479
|
+
"appearances": {
|
|
4480
|
+
"spacing": {
|
|
4481
|
+
"type": "variant",
|
|
4482
|
+
"values": ["compact"]
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4485
|
+
"rules": [
|
|
4486
|
+
{
|
|
4487
|
+
"if": {
|
|
4488
|
+
"spacing": "compact"
|
|
4489
|
+
},
|
|
4490
|
+
"tokens": {
|
|
4491
|
+
"cellPaddingBottom": "{palette.size.size8}",
|
|
4492
|
+
"cellPaddingTop": "{palette.size.size8}"
|
|
4493
|
+
}
|
|
4494
|
+
}
|
|
4495
|
+
],
|
|
4496
|
+
"tokens": {
|
|
4497
|
+
"cellBackground": "{palette.color.white}",
|
|
4498
|
+
"cellBoxShadowColor": "{palette.color.greyMystic}",
|
|
4499
|
+
"cellHeadingBackground": "{palette.color.greyAthens}",
|
|
4500
|
+
"cellHeadingBoxShadowColor": "{palette.color.greyCloud}",
|
|
4501
|
+
"cellPaddingBottom": "{palette.size.size16}",
|
|
4502
|
+
"cellPaddingLeft": "{palette.size.size16}",
|
|
4503
|
+
"cellPaddingRight": "{palette.size.size16}",
|
|
4504
|
+
"cellPaddingTop": "{palette.size.size16}",
|
|
4505
|
+
"cellRowHeadingBackground": "{palette.color.white}",
|
|
4506
|
+
"cellStickyShadow": "{palette.shadow.elevation1}",
|
|
4507
|
+
"cellSubheadingBackground": "{palette.color.greyAlabaster}",
|
|
4508
|
+
"tablePaddingBottom": "{palette.size.size24}"
|
|
4509
|
+
}
|
|
4510
|
+
},
|
|
4459
4511
|
"Tabs": {
|
|
4460
4512
|
"appearances": {
|
|
4461
4513
|
"inverse": {
|
|
@@ -4937,6 +4989,28 @@
|
|
|
4937
4989
|
"timelineContainerDirection": "{system.direction.column}"
|
|
4938
4990
|
}
|
|
4939
4991
|
},
|
|
4992
|
+
"Toast": {
|
|
4993
|
+
"appearances": {},
|
|
4994
|
+
"rules": [],
|
|
4995
|
+
"tokens": {
|
|
4996
|
+
"animationBackgroundColorAfter": "{palette.color.greyAthens}",
|
|
4997
|
+
"animationBackgroundColorBefore": "{palette.color.purpleTelus}",
|
|
4998
|
+
"animationColorAfter": "{palette.color.greyCharcoal}",
|
|
4999
|
+
"animationColorBefore": "{palette.color.white}",
|
|
5000
|
+
"animationDivColorAfter": "{palette.color.greenAccessible}",
|
|
5001
|
+
"animationDivColorBefore": "{palette.color.white}",
|
|
5002
|
+
"animationFillColorAfter": "{palette.color.greenAccessible}",
|
|
5003
|
+
"animationFillColorBefore": "{palette.color.white}",
|
|
5004
|
+
"animationHeightAfter": "{palette.size.size24}",
|
|
5005
|
+
"animationHeightBefore": "{palette.size.size0}",
|
|
5006
|
+
"animationPaddingBottomAfter": "{palette.size.size16}",
|
|
5007
|
+
"animationPaddingBottomBefore": "{palette.size.size0}",
|
|
5008
|
+
"animationPaddingTopAfter": "{palette.size.size16}",
|
|
5009
|
+
"animationPaddingTopBefore": "{palette.size.size0}",
|
|
5010
|
+
"containerBackgroundColor": "{palette.color.purpleTelus}",
|
|
5011
|
+
"containerGap": "{palette.size.size10}"
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
4940
5014
|
"ToggleSwitch": {
|
|
4941
5015
|
"appearances": {
|
|
4942
5016
|
"focus": "{appearances.ToggleSwitch.focus}",
|
|
@@ -5671,6 +5745,15 @@
|
|
|
5671
5745
|
"textTransform": "{system.textTransform.none}"
|
|
5672
5746
|
}
|
|
5673
5747
|
},
|
|
5748
|
+
"WaffleGrid": {
|
|
5749
|
+
"appearances": {},
|
|
5750
|
+
"rules": [],
|
|
5751
|
+
"tokens": {
|
|
5752
|
+
"itemBorderColor": "{palette.color.greyCloud}",
|
|
5753
|
+
"itemPadding": "{palette.size.size16}",
|
|
5754
|
+
"rowBorderWidth": "{palette.border.border1}"
|
|
5755
|
+
}
|
|
5756
|
+
},
|
|
5674
5757
|
"spacingScale": {
|
|
5675
5758
|
"appearances": {
|
|
5676
5759
|
"space": "{appearances.spacingScale.space}",
|