@telus-uds/theme-allium 2.1.2 → 3.1.1
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 +60 -1
- package/CHANGELOG.md +31 -2
- package/build/schema.json +746 -690
- package/build/theme.js +22 -8
- package/package.json +4 -4
- package/theme.json +38 -6
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 Thu, 28 Apr 2022 18:37:44 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -568,7 +568,8 @@ module.exports = {
|
|
|
568
568
|
iconSize: 20,
|
|
569
569
|
iconSpace: 1,
|
|
570
570
|
leftIcon: PaletteIconArrowLeft,
|
|
571
|
-
rightIcon: PaletteIconArrowRight
|
|
571
|
+
rightIcon: PaletteIconArrowRight,
|
|
572
|
+
textLine: 'none'
|
|
572
573
|
}
|
|
573
574
|
},
|
|
574
575
|
Divider: {
|
|
@@ -727,8 +728,14 @@ module.exports = {
|
|
|
727
728
|
borderRadius: 32,
|
|
728
729
|
borderWidth: 1,
|
|
729
730
|
iconColor: '#676e73',
|
|
730
|
-
|
|
731
|
-
|
|
731
|
+
iconScale: 1,
|
|
732
|
+
iconSize: 16,
|
|
733
|
+
iconTranslateX: 0,
|
|
734
|
+
iconTranslateY: 0,
|
|
735
|
+
outerBorderColor: 'transparent',
|
|
736
|
+
outerBorderGap: 0,
|
|
737
|
+
outerBorderWidth: 0,
|
|
738
|
+
padding: 8,
|
|
732
739
|
shadow: {
|
|
733
740
|
blur: 2,
|
|
734
741
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -742,10 +749,16 @@ module.exports = {
|
|
|
742
749
|
Icon: {
|
|
743
750
|
appearances: {
|
|
744
751
|
rank: { type: 'variant', values: [ 'primary' ] },
|
|
745
|
-
size: {
|
|
752
|
+
size: {
|
|
753
|
+
type: 'variant',
|
|
754
|
+
values: [ 'micro', 'small', 'large', 'extraLarge' ]
|
|
755
|
+
}
|
|
746
756
|
},
|
|
747
757
|
rules: [
|
|
758
|
+
{ if: { size: 'micro' }, tokens: { size: 16 } },
|
|
748
759
|
{ if: { size: 'small' }, tokens: { size: 20 } },
|
|
760
|
+
{ if: { size: 'large' }, tokens: { size: 32 } },
|
|
761
|
+
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
749
762
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
|
|
750
763
|
],
|
|
751
764
|
tokens: {
|
|
@@ -1161,7 +1174,8 @@ module.exports = {
|
|
|
1161
1174
|
borderRadius: 4,
|
|
1162
1175
|
closeIcon: PaletteIconClose,
|
|
1163
1176
|
closeIconColor: '#414547',
|
|
1164
|
-
closeIconSize:
|
|
1177
|
+
closeIconSize: 16,
|
|
1178
|
+
closePadding: 4,
|
|
1165
1179
|
containerPaddingBottom: 0,
|
|
1166
1180
|
containerPaddingLeft: 0,
|
|
1167
1181
|
containerPaddingRight: 0,
|
|
@@ -2177,7 +2191,7 @@ module.exports = {
|
|
|
2177
2191
|
borderBottomColor: '#676e73',
|
|
2178
2192
|
borderBottomWidth: 1,
|
|
2179
2193
|
buttonClearance: 16,
|
|
2180
|
-
gutter:
|
|
2194
|
+
gutter: 4,
|
|
2181
2195
|
nextIcon: PaletteIconArrowRight,
|
|
2182
2196
|
previousIcon: PaletteIconArrowLeft,
|
|
2183
2197
|
space: 0
|
|
@@ -3012,5 +3026,5 @@ module.exports = {
|
|
|
3012
3026
|
tokens: { size: 96 }
|
|
3013
3027
|
}
|
|
3014
3028
|
},
|
|
3015
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '1.
|
|
3029
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '1.5.0' }
|
|
3016
3030
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
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/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^1.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.0.0",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^1.5.0",
|
|
13
13
|
"@telus-uds/system-tokens": "^0.1.1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^
|
|
16
|
+
"@telus-uds/palette-allium": "^2.0.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -739,7 +739,8 @@
|
|
|
739
739
|
"iconSize": "{palette.size.size20}",
|
|
740
740
|
"iconSpace": "{system.integer.1}",
|
|
741
741
|
"leftIcon": "{palette.icon.ArrowLeft}",
|
|
742
|
-
"rightIcon": "{palette.icon.ArrowRight}"
|
|
742
|
+
"rightIcon": "{palette.icon.ArrowRight}",
|
|
743
|
+
"textLine": "{system.textLine.none}"
|
|
743
744
|
}
|
|
744
745
|
},
|
|
745
746
|
"Divider": {
|
|
@@ -945,8 +946,14 @@
|
|
|
945
946
|
"borderRadius": "{palette.radius.pill32}",
|
|
946
947
|
"borderWidth": "{palette.border.border1}",
|
|
947
948
|
"iconColor": "{palette.color.greyShuttle}",
|
|
948
|
-
"
|
|
949
|
-
"
|
|
949
|
+
"iconScale": "{system.iconScale.scale1}",
|
|
950
|
+
"iconSize": "{palette.size.size16}",
|
|
951
|
+
"iconTranslateX": "{system.size.zero}",
|
|
952
|
+
"iconTranslateY": "{system.size.zero}",
|
|
953
|
+
"outerBorderColor": "{system.color.transparent}",
|
|
954
|
+
"outerBorderGap": "{system.size.zero}",
|
|
955
|
+
"outerBorderWidth": "{system.border.zero}",
|
|
956
|
+
"padding": "{palette.size.size8}",
|
|
950
957
|
"shadow": "{palette.shadow.surfaceRaised}"
|
|
951
958
|
}
|
|
952
959
|
},
|
|
@@ -958,10 +965,18 @@
|
|
|
958
965
|
},
|
|
959
966
|
"size": {
|
|
960
967
|
"type": "variant",
|
|
961
|
-
"values": ["small"]
|
|
968
|
+
"values": ["micro", "small", "large", "extraLarge"]
|
|
962
969
|
}
|
|
963
970
|
},
|
|
964
971
|
"rules": [
|
|
972
|
+
{
|
|
973
|
+
"if": {
|
|
974
|
+
"size": "micro"
|
|
975
|
+
},
|
|
976
|
+
"tokens": {
|
|
977
|
+
"size": "{palette.size.size16}"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
965
980
|
{
|
|
966
981
|
"if": {
|
|
967
982
|
"size": "small"
|
|
@@ -970,6 +985,22 @@
|
|
|
970
985
|
"size": "{palette.size.size20}"
|
|
971
986
|
}
|
|
972
987
|
},
|
|
988
|
+
{
|
|
989
|
+
"if": {
|
|
990
|
+
"size": "large"
|
|
991
|
+
},
|
|
992
|
+
"tokens": {
|
|
993
|
+
"size": "{palette.size.size32}"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"if": {
|
|
998
|
+
"size": "extraLarge"
|
|
999
|
+
},
|
|
1000
|
+
"tokens": {
|
|
1001
|
+
"size": "{palette.size.size48}"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
973
1004
|
{
|
|
974
1005
|
"if": {
|
|
975
1006
|
"rank": "primary"
|
|
@@ -1576,7 +1607,8 @@
|
|
|
1576
1607
|
"borderRadius": "{palette.radius.radius4}",
|
|
1577
1608
|
"closeIcon": "{palette.icon.Close}",
|
|
1578
1609
|
"closeIconColor": "{palette.color.greyCharcoal}",
|
|
1579
|
-
"closeIconSize": "{palette.size.
|
|
1610
|
+
"closeIconSize": "{palette.size.size16}",
|
|
1611
|
+
"closePadding": "{palette.size.size4}",
|
|
1580
1612
|
"containerPaddingBottom": "{system.size.zero}",
|
|
1581
1613
|
"containerPaddingLeft": "{system.size.zero}",
|
|
1582
1614
|
"containerPaddingRight": "{system.size.zero}",
|
|
@@ -2623,7 +2655,7 @@
|
|
|
2623
2655
|
"borderBottomColor": "{palette.color.greyShuttle}",
|
|
2624
2656
|
"borderBottomWidth": "{palette.border.border1}",
|
|
2625
2657
|
"buttonClearance": "{palette.size.size16}",
|
|
2626
|
-
"gutter": "{palette.size.
|
|
2658
|
+
"gutter": "{palette.size.size4}",
|
|
2627
2659
|
"nextIcon": "{palette.icon.ArrowRight}",
|
|
2628
2660
|
"previousIcon": "{palette.icon.ArrowLeft}",
|
|
2629
2661
|
"space": "{system.integer.0}"
|