@telus-uds/theme-allium 2.0.0 → 2.1.2
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/CHANGELOG.json +32 -0
- package/CHANGELOG.md +46 -2
- package/README.md +1 -1
- package/build/schema.json +927 -784
- package/build/theme.js +27 -2
- package/package.json +9 -10
- package/theme.json +30 -0
package/build/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 01 Apr 2022 07:20:40 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -2566,6 +2566,7 @@ module.exports = {
|
|
|
2566
2566
|
tokens: {
|
|
2567
2567
|
backgroundColor: '#b2b9bf',
|
|
2568
2568
|
iconColor: '#676e73',
|
|
2569
|
+
labelColor: '#676e73',
|
|
2569
2570
|
outerBorderColor: '#b2b9bf'
|
|
2570
2571
|
}
|
|
2571
2572
|
}
|
|
@@ -2579,6 +2580,12 @@ module.exports = {
|
|
|
2579
2580
|
icon: null,
|
|
2580
2581
|
iconColor: '#676e73',
|
|
2581
2582
|
iconSize: 12,
|
|
2583
|
+
labelColor: '#414547',
|
|
2584
|
+
labelFontName: 'HelveticaNow',
|
|
2585
|
+
labelFontSize: 16,
|
|
2586
|
+
labelFontWeight: '400',
|
|
2587
|
+
labelLineHeight: 1.5,
|
|
2588
|
+
labelMarginLeft: 10,
|
|
2582
2589
|
opacity: 1,
|
|
2583
2590
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2584
2591
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -2615,6 +2622,24 @@ module.exports = {
|
|
|
2615
2622
|
width: 40
|
|
2616
2623
|
}
|
|
2617
2624
|
},
|
|
2625
|
+
ToggleSwitchGroup: {
|
|
2626
|
+
appearances: {
|
|
2627
|
+
viewport: {
|
|
2628
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
2629
|
+
type: 'state',
|
|
2630
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
rules: [ { if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } } ],
|
|
2634
|
+
tokens: {
|
|
2635
|
+
alignItems: 'flex-start',
|
|
2636
|
+
direction: 'column',
|
|
2637
|
+
flexGrow: 0,
|
|
2638
|
+
flexShrink: 0,
|
|
2639
|
+
justifyContent: 'flex-start',
|
|
2640
|
+
space: 1
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2618
2643
|
Tooltip: {
|
|
2619
2644
|
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
2620
2645
|
rules: [
|
|
@@ -2987,5 +3012,5 @@ module.exports = {
|
|
|
2987
3012
|
tokens: { size: 96 }
|
|
2988
3013
|
}
|
|
2989
3014
|
},
|
|
2990
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '1.
|
|
3015
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '1.2.2' }
|
|
2991
3016
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
|
-
"homepage": "https://github.com/telus/
|
|
6
|
+
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
8
|
"main": "build/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^1.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^1.
|
|
13
|
-
"@telus-uds/system-
|
|
11
|
+
"@telus-uds/palette-allium": "^1.1.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^1.2.2",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.1.1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^1.
|
|
16
|
+
"@telus-uds/palette-allium": "^1.1.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
|
@@ -21,14 +21,13 @@
|
|
|
21
21
|
],
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/telus/
|
|
24
|
+
"url": "git+https://github.com/telus/allium-design-system.git"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"
|
|
28
|
-
"build": "UDS_PALETTE=@telus-uds/palette-allium system-themes-build",
|
|
27
|
+
"build": "UDS_PALETTE=@telus-uds/palette-allium system-tokens-build-theme",
|
|
29
28
|
"dev": "nodemon -w src -x 'yarn build'"
|
|
30
29
|
},
|
|
31
30
|
"bugs": {
|
|
32
|
-
"url": "https://github.com/telus/
|
|
31
|
+
"url": "https://github.com/telus/allium-design-system/issues"
|
|
33
32
|
}
|
|
34
33
|
}
|
package/theme.json
CHANGED
|
@@ -3070,6 +3070,7 @@
|
|
|
3070
3070
|
"tokens": {
|
|
3071
3071
|
"backgroundColor": "{palette.color.greyCloud}",
|
|
3072
3072
|
"iconColor": "{palette.color.greyShuttle}",
|
|
3073
|
+
"labelColor": "{palette.color.greyShuttle}",
|
|
3073
3074
|
"outerBorderColor": "{palette.color.greyCloud}"
|
|
3074
3075
|
}
|
|
3075
3076
|
}
|
|
@@ -3083,6 +3084,12 @@
|
|
|
3083
3084
|
"icon": "{system.icon.none}",
|
|
3084
3085
|
"iconColor": "{palette.color.greyShuttle}",
|
|
3085
3086
|
"iconSize": "{palette.size.size12}",
|
|
3087
|
+
"labelColor": "{palette.color.greyCharcoal}",
|
|
3088
|
+
"labelFontName": "{palette.fontName.HelveticaNow}",
|
|
3089
|
+
"labelFontSize": "{palette.fontSize.size16}",
|
|
3090
|
+
"labelFontWeight": "{palette.fontWeight.weight400}",
|
|
3091
|
+
"labelLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
3092
|
+
"labelMarginLeft": "{palette.size.size10}",
|
|
3086
3093
|
"opacity": "{system.opacity.opaque}",
|
|
3087
3094
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
3088
3095
|
"outerBorderColor": "{palette.color.transparent}",
|
|
@@ -3105,6 +3112,29 @@
|
|
|
3105
3112
|
"width": "{palette.size.size40}"
|
|
3106
3113
|
}
|
|
3107
3114
|
},
|
|
3115
|
+
"ToggleSwitchGroup": {
|
|
3116
|
+
"appearances": {
|
|
3117
|
+
"viewport": "{appearances.system.viewport}"
|
|
3118
|
+
},
|
|
3119
|
+
"rules": [
|
|
3120
|
+
{
|
|
3121
|
+
"if": {
|
|
3122
|
+
"viewport": ["lg", "xl"]
|
|
3123
|
+
},
|
|
3124
|
+
"tokens": {
|
|
3125
|
+
"space": "{system.integer.3}"
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
],
|
|
3129
|
+
"tokens": {
|
|
3130
|
+
"alignItems": "{system.flexAlign.flexStart}",
|
|
3131
|
+
"direction": "{system.direction.column}",
|
|
3132
|
+
"flexGrow": "{system.integer.0}",
|
|
3133
|
+
"flexShrink": "{system.integer.0}",
|
|
3134
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
3135
|
+
"space": "{system.integer.1}"
|
|
3136
|
+
}
|
|
3137
|
+
},
|
|
3108
3138
|
"Tooltip": {
|
|
3109
3139
|
"appearances": {
|
|
3110
3140
|
"inverse": {
|