@telus-uds/theme-allium 3.17.0 → 3.19.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 +1218 -872
- package/build/android/theme.json +205 -1
- package/build/ios/schema.json +1218 -872
- package/build/ios/theme.json +205 -1
- package/build/rn/schema.json +1218 -872
- package/build/rn/theme.js +111 -2
- package/package.json +5 -5
- package/theme.json +147 -1
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, 04 Apr 2023 19:53:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -2134,6 +2134,56 @@ module.exports = {
|
|
|
2134
2134
|
paddingTop: 12
|
|
2135
2135
|
}
|
|
2136
2136
|
},
|
|
2137
|
+
OrderedList: {
|
|
2138
|
+
appearances: {
|
|
2139
|
+
compact: {
|
|
2140
|
+
description: 'When true it will reduce the line height of the list item.',
|
|
2141
|
+
type: 'variant',
|
|
2142
|
+
values: [ true ]
|
|
2143
|
+
},
|
|
2144
|
+
size: {
|
|
2145
|
+
description: 'Indicates list item text size.',
|
|
2146
|
+
type: 'variant',
|
|
2147
|
+
values: [ 'large', 'medium', 'small' ]
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
rules: [
|
|
2151
|
+
{
|
|
2152
|
+
if: { size: 'large' },
|
|
2153
|
+
tokens: { itemFontSize: 20, itemLineHeight: 1.6 }
|
|
2154
|
+
},
|
|
2155
|
+
{ if: { size: 'medium' }, tokens: {} },
|
|
2156
|
+
{
|
|
2157
|
+
if: { size: 'small' },
|
|
2158
|
+
tokens: { itemFontSize: 14, itemLineHeight: 1.42857142857 }
|
|
2159
|
+
},
|
|
2160
|
+
{ if: { compact: true }, tokens: { itemLineHeight: 1.25 } },
|
|
2161
|
+
{
|
|
2162
|
+
if: { compact: true, size: 'small' },
|
|
2163
|
+
tokens: { itemLineHeight: 1.14285714286 }
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
if: { compact: true, size: 'large' },
|
|
2167
|
+
tokens: { itemLineHeight: 1.2 }
|
|
2168
|
+
}
|
|
2169
|
+
],
|
|
2170
|
+
tokens: {
|
|
2171
|
+
headerFontName: 'HelveticaNow',
|
|
2172
|
+
headerFontWeight: '700',
|
|
2173
|
+
interItemMargin: 8,
|
|
2174
|
+
itemBulletContainerWidth: 16,
|
|
2175
|
+
itemBulletHeight: 4,
|
|
2176
|
+
itemBulletWidth: 4,
|
|
2177
|
+
itemColor: '#414547',
|
|
2178
|
+
itemFontName: 'HelveticaNow',
|
|
2179
|
+
itemFontSize: 16,
|
|
2180
|
+
itemFontWeight: '400',
|
|
2181
|
+
itemLineHeight: 1.5,
|
|
2182
|
+
itemMarginTop: 0,
|
|
2183
|
+
itemPaddingTop: 0,
|
|
2184
|
+
listGutter: 8
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2137
2187
|
Pagination: {
|
|
2138
2188
|
appearances: {
|
|
2139
2189
|
viewport: {
|
|
@@ -2839,6 +2889,52 @@ module.exports = {
|
|
|
2839
2889
|
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
2840
2890
|
},
|
|
2841
2891
|
RadioGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
|
|
2892
|
+
Ribbon: {
|
|
2893
|
+
appearances: {
|
|
2894
|
+
purpose: {
|
|
2895
|
+
type: 'variant',
|
|
2896
|
+
values: [ 'offer', 'default', 'editorial' ]
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
rules: [
|
|
2900
|
+
{
|
|
2901
|
+
if: { purpose: 'editorial' },
|
|
2902
|
+
tokens: {
|
|
2903
|
+
backgroundColor: '#676e73',
|
|
2904
|
+
curveBackgroundColor: '#2c2e30'
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
tokens: {
|
|
2909
|
+
backgroundColor: '#613889',
|
|
2910
|
+
borderRadius: 4,
|
|
2911
|
+
boxShadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
2912
|
+
boxShadowPaddingBottom: 2,
|
|
2913
|
+
boxShadowPaddingLeft: 0,
|
|
2914
|
+
boxShadowPaddingRight: 2,
|
|
2915
|
+
boxShadowPaddingTop: 0,
|
|
2916
|
+
curveAfterBackgroundColor: '#613889',
|
|
2917
|
+
curveAfterHeight: 4,
|
|
2918
|
+
curveAfterRadius: 8,
|
|
2919
|
+
curveAfterWidth: 8,
|
|
2920
|
+
curveBackgroundColor: '#3f2a54',
|
|
2921
|
+
curveHeight: 10,
|
|
2922
|
+
curveMarginTop: 4,
|
|
2923
|
+
curveWidth: 8,
|
|
2924
|
+
gradient: {
|
|
2925
|
+
angle: 135,
|
|
2926
|
+
stops: [
|
|
2927
|
+
{ color: '#4b286d', stop: 0 },
|
|
2928
|
+
{ color: '#e53293', stop: 1 }
|
|
2929
|
+
],
|
|
2930
|
+
type: 'linear'
|
|
2931
|
+
},
|
|
2932
|
+
paddingBottom: 4,
|
|
2933
|
+
paddingLeft: 8,
|
|
2934
|
+
paddingRight: 8,
|
|
2935
|
+
paddingTop: 4
|
|
2936
|
+
}
|
|
2937
|
+
},
|
|
2842
2938
|
Search: {
|
|
2843
2939
|
appearances: {
|
|
2844
2940
|
focus: {
|
|
@@ -4020,6 +4116,11 @@ module.exports = {
|
|
|
4020
4116
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4021
4117
|
type: 'state',
|
|
4022
4118
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4119
|
+
},
|
|
4120
|
+
weight: {
|
|
4121
|
+
description: 'Sets the font weight, default is regular 400 weight. Does not change accessibility properties.',
|
|
4122
|
+
type: 'variant',
|
|
4123
|
+
values: [ 'semibold', 'bold' ]
|
|
4023
4124
|
}
|
|
4024
4125
|
},
|
|
4025
4126
|
rules: [
|
|
@@ -4246,6 +4347,14 @@ module.exports = {
|
|
|
4246
4347
|
viewport: [ 'xs', 'sm', 'md' ]
|
|
4247
4348
|
},
|
|
4248
4349
|
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
if: { weight: 'semibold' },
|
|
4353
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
4354
|
+
},
|
|
4355
|
+
{
|
|
4356
|
+
if: { weight: 'bold' },
|
|
4357
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
4249
4358
|
}
|
|
4250
4359
|
],
|
|
4251
4360
|
tokens: {
|
|
@@ -4319,5 +4428,5 @@ module.exports = {
|
|
|
4319
4428
|
tokens: { size: 96 }
|
|
4320
4429
|
}
|
|
4321
4430
|
},
|
|
4322
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4431
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.17.0' }
|
|
4323
4432
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.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.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.12.3",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.17.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.9"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.12.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.12.3"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -2798,6 +2798,88 @@
|
|
|
2798
2798
|
"paddingTop": "{palette.size.size12}"
|
|
2799
2799
|
}
|
|
2800
2800
|
},
|
|
2801
|
+
"OrderedList": {
|
|
2802
|
+
"appearances": {
|
|
2803
|
+
"compact": {
|
|
2804
|
+
"description": "When true it will reduce the line height of the list item.",
|
|
2805
|
+
"type": "variant",
|
|
2806
|
+
"values": [true]
|
|
2807
|
+
},
|
|
2808
|
+
"size": {
|
|
2809
|
+
"description": "Indicates list item text size.",
|
|
2810
|
+
"type": "variant",
|
|
2811
|
+
"values": ["large", "medium", "small"]
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
"rules": [
|
|
2815
|
+
{
|
|
2816
|
+
"if": {
|
|
2817
|
+
"size": "large"
|
|
2818
|
+
},
|
|
2819
|
+
"tokens": {
|
|
2820
|
+
"itemFontSize": "{palette.fontSize.size20}",
|
|
2821
|
+
"itemLineHeight": "{palette.lineHeight.ratio8to5}"
|
|
2822
|
+
}
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"if": {
|
|
2826
|
+
"size": "medium"
|
|
2827
|
+
},
|
|
2828
|
+
"tokens": {}
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"if": {
|
|
2832
|
+
"size": "small"
|
|
2833
|
+
},
|
|
2834
|
+
"tokens": {
|
|
2835
|
+
"itemFontSize": "{palette.fontSize.size14}",
|
|
2836
|
+
"itemLineHeight": "{palette.lineHeight.ratio10to7}"
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"if": {
|
|
2841
|
+
"compact": true
|
|
2842
|
+
},
|
|
2843
|
+
"tokens": {
|
|
2844
|
+
"itemLineHeight": "{palette.lineHeight.ratio5to4}"
|
|
2845
|
+
}
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"if": {
|
|
2849
|
+
"compact": true,
|
|
2850
|
+
"size": "small"
|
|
2851
|
+
},
|
|
2852
|
+
"tokens": {
|
|
2853
|
+
"itemLineHeight": "{palette.lineHeight.ratio8to7}"
|
|
2854
|
+
}
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"if": {
|
|
2858
|
+
"compact": true,
|
|
2859
|
+
"size": "large"
|
|
2860
|
+
},
|
|
2861
|
+
"tokens": {
|
|
2862
|
+
"itemLineHeight": "{palette.lineHeight.ratio6to5}"
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
],
|
|
2866
|
+
"tokens": {
|
|
2867
|
+
"headerFontName": "{palette.fontName.HelveticaNow}",
|
|
2868
|
+
"headerFontWeight": "{palette.fontWeight.weight700}",
|
|
2869
|
+
"interItemMargin": "{palette.size.size8}",
|
|
2870
|
+
"itemBulletContainerWidth": "{palette.size.size16}",
|
|
2871
|
+
"itemBulletHeight": "{palette.size.size4}",
|
|
2872
|
+
"itemBulletWidth": "{palette.size.size4}",
|
|
2873
|
+
"itemColor": "{palette.color.greyCharcoal}",
|
|
2874
|
+
"itemFontName": "{palette.fontName.HelveticaNow}",
|
|
2875
|
+
"itemFontSize": "{palette.fontSize.size16}",
|
|
2876
|
+
"itemFontWeight": "{palette.fontWeight.weight400}",
|
|
2877
|
+
"itemLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
2878
|
+
"itemMarginTop": "{palette.size.size0}",
|
|
2879
|
+
"itemPaddingTop": "{palette.size.size0}",
|
|
2880
|
+
"listGutter": "{palette.size.size8}"
|
|
2881
|
+
}
|
|
2882
|
+
},
|
|
2801
2883
|
"Pagination": {
|
|
2802
2884
|
"appearances": {
|
|
2803
2885
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -3570,6 +3652,47 @@
|
|
|
3570
3652
|
"space": "{system.integer.2}"
|
|
3571
3653
|
}
|
|
3572
3654
|
},
|
|
3655
|
+
"Ribbon": {
|
|
3656
|
+
"appearances": {
|
|
3657
|
+
"purpose": {
|
|
3658
|
+
"type": "variant",
|
|
3659
|
+
"values": ["offer", "default", "editorial"]
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
3662
|
+
"rules": [
|
|
3663
|
+
{
|
|
3664
|
+
"if": {
|
|
3665
|
+
"purpose": "editorial"
|
|
3666
|
+
},
|
|
3667
|
+
"tokens": {
|
|
3668
|
+
"backgroundColor": "{palette.color.greyShuttle}",
|
|
3669
|
+
"curveBackgroundColor": "{palette.color.greyThunder}"
|
|
3670
|
+
}
|
|
3671
|
+
}
|
|
3672
|
+
],
|
|
3673
|
+
"tokens": {
|
|
3674
|
+
"backgroundColor": "{palette.color.purpleEminence}",
|
|
3675
|
+
"borderRadius": "{palette.size.size4}",
|
|
3676
|
+
"boxShadowColor": "{palette.color.dark10}",
|
|
3677
|
+
"boxShadowPaddingBottom": "{palette.size.size2}",
|
|
3678
|
+
"boxShadowPaddingLeft": "{palette.size.size0}",
|
|
3679
|
+
"boxShadowPaddingRight": "{palette.size.size2}",
|
|
3680
|
+
"boxShadowPaddingTop": "{palette.size.size0}",
|
|
3681
|
+
"curveAfterBackgroundColor": "{palette.color.purpleEminence}",
|
|
3682
|
+
"curveAfterHeight": "{palette.size.size4}",
|
|
3683
|
+
"curveAfterRadius": "{palette.size.size8}",
|
|
3684
|
+
"curveAfterWidth": "{palette.size.size8}",
|
|
3685
|
+
"curveBackgroundColor": "{palette.color.purpleDark}",
|
|
3686
|
+
"curveHeight": "{palette.size.size10}",
|
|
3687
|
+
"curveMarginTop": "{palette.size.size4}",
|
|
3688
|
+
"curveWidth": "{palette.size.size8}",
|
|
3689
|
+
"gradient": "{palette.gradient.purple}",
|
|
3690
|
+
"paddingBottom": "{palette.size.size4}",
|
|
3691
|
+
"paddingLeft": "{palette.size.size8}",
|
|
3692
|
+
"paddingRight": "{palette.size.size8}",
|
|
3693
|
+
"paddingTop": "{palette.size.size4}"
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3573
3696
|
"Search": {
|
|
3574
3697
|
"appearances": {
|
|
3575
3698
|
"focus": "{appearances.Search.focus}",
|
|
@@ -4861,7 +4984,12 @@
|
|
|
4861
4984
|
"display2"
|
|
4862
4985
|
]
|
|
4863
4986
|
},
|
|
4864
|
-
"viewport": "{appearances.system.viewport}"
|
|
4987
|
+
"viewport": "{appearances.system.viewport}",
|
|
4988
|
+
"weight": {
|
|
4989
|
+
"description": "Sets the font weight, default is regular 400 weight. Does not change accessibility properties.",
|
|
4990
|
+
"type": "variant",
|
|
4991
|
+
"values": ["semibold", "bold"]
|
|
4992
|
+
}
|
|
4865
4993
|
},
|
|
4866
4994
|
"rules": [
|
|
4867
4995
|
{
|
|
@@ -5242,6 +5370,24 @@
|
|
|
5242
5370
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
5243
5371
|
"fontWeight": "{palette.fontWeight.weight700}"
|
|
5244
5372
|
}
|
|
5373
|
+
},
|
|
5374
|
+
{
|
|
5375
|
+
"if": {
|
|
5376
|
+
"weight": "semibold"
|
|
5377
|
+
},
|
|
5378
|
+
"tokens": {
|
|
5379
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
5380
|
+
"fontWeight": "{palette.fontWeight.weight500}"
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
{
|
|
5384
|
+
"if": {
|
|
5385
|
+
"weight": "bold"
|
|
5386
|
+
},
|
|
5387
|
+
"tokens": {
|
|
5388
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
5389
|
+
"fontWeight": "{palette.fontWeight.weight700}"
|
|
5390
|
+
}
|
|
5245
5391
|
}
|
|
5246
5392
|
],
|
|
5247
5393
|
"tokens": {
|