@telus-uds/theme-allium 3.0.0 → 3.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 +46 -1
- package/CHANGELOG.md +26 -2
- package/build/schema.json +676 -669
- package/build/theme.js +20 -4
- package/package.json +2 -2
- package/theme.json +53 -2
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 Tue, 17 May 2022 20:59:58 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -749,10 +749,16 @@ module.exports = {
|
|
|
749
749
|
Icon: {
|
|
750
750
|
appearances: {
|
|
751
751
|
rank: { type: 'variant', values: [ 'primary' ] },
|
|
752
|
-
size: {
|
|
752
|
+
size: {
|
|
753
|
+
type: 'variant',
|
|
754
|
+
values: [ 'micro', 'small', 'large', 'extraLarge' ]
|
|
755
|
+
}
|
|
753
756
|
},
|
|
754
757
|
rules: [
|
|
758
|
+
{ if: { size: 'micro' }, tokens: { size: 16 } },
|
|
755
759
|
{ if: { size: 'small' }, tokens: { size: 20 } },
|
|
760
|
+
{ if: { size: 'large' }, tokens: { size: 32 } },
|
|
761
|
+
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
756
762
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
|
|
757
763
|
],
|
|
758
764
|
tokens: {
|
|
@@ -1168,7 +1174,8 @@ module.exports = {
|
|
|
1168
1174
|
borderRadius: 4,
|
|
1169
1175
|
closeIcon: PaletteIconClose,
|
|
1170
1176
|
closeIconColor: '#414547',
|
|
1171
|
-
closeIconSize:
|
|
1177
|
+
closeIconSize: 16,
|
|
1178
|
+
closePadding: 4,
|
|
1172
1179
|
containerPaddingBottom: 0,
|
|
1173
1180
|
containerPaddingLeft: 0,
|
|
1174
1181
|
containerPaddingRight: 0,
|
|
@@ -1668,6 +1675,15 @@ module.exports = {
|
|
|
1668
1675
|
radioInputBorderColor: 'rgba(0, 0, 0, 0)'
|
|
1669
1676
|
}
|
|
1670
1677
|
},
|
|
1678
|
+
{ if: { checked: true }, tokens: { borderColor: '#7c53a5' } },
|
|
1679
|
+
{
|
|
1680
|
+
if: { checked: true, pressed: true },
|
|
1681
|
+
tokens: { borderColor: '#4b286d' }
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
if: { checked: true, hover: true },
|
|
1685
|
+
tokens: { borderColor: '#4b286d' }
|
|
1686
|
+
},
|
|
1671
1687
|
{
|
|
1672
1688
|
if: { error: true },
|
|
1673
1689
|
tokens: {
|
|
@@ -3019,5 +3035,5 @@ module.exports = {
|
|
|
3019
3035
|
tokens: { size: 96 }
|
|
3020
3036
|
}
|
|
3021
3037
|
},
|
|
3022
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '1.
|
|
3038
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '1.5.0' }
|
|
3023
3039
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@telus-uds/palette-allium": "^2.0.0",
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^1.
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^1.5.0",
|
|
13
13
|
"@telus-uds/system-tokens": "^0.1.1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
package/theme.json
CHANGED
|
@@ -965,10 +965,18 @@
|
|
|
965
965
|
},
|
|
966
966
|
"size": {
|
|
967
967
|
"type": "variant",
|
|
968
|
-
"values": ["small"]
|
|
968
|
+
"values": ["micro", "small", "large", "extraLarge"]
|
|
969
969
|
}
|
|
970
970
|
},
|
|
971
971
|
"rules": [
|
|
972
|
+
{
|
|
973
|
+
"if": {
|
|
974
|
+
"size": "micro"
|
|
975
|
+
},
|
|
976
|
+
"tokens": {
|
|
977
|
+
"size": "{palette.size.size16}"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
972
980
|
{
|
|
973
981
|
"if": {
|
|
974
982
|
"size": "small"
|
|
@@ -977,6 +985,22 @@
|
|
|
977
985
|
"size": "{palette.size.size20}"
|
|
978
986
|
}
|
|
979
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
|
+
},
|
|
980
1004
|
{
|
|
981
1005
|
"if": {
|
|
982
1006
|
"rank": "primary"
|
|
@@ -1583,7 +1607,8 @@
|
|
|
1583
1607
|
"borderRadius": "{palette.radius.radius4}",
|
|
1584
1608
|
"closeIcon": "{palette.icon.Close}",
|
|
1585
1609
|
"closeIconColor": "{palette.color.greyCharcoal}",
|
|
1586
|
-
"closeIconSize": "{palette.size.
|
|
1610
|
+
"closeIconSize": "{palette.size.size16}",
|
|
1611
|
+
"closePadding": "{palette.size.size4}",
|
|
1587
1612
|
"containerPaddingBottom": "{system.size.zero}",
|
|
1588
1613
|
"containerPaddingLeft": "{system.size.zero}",
|
|
1589
1614
|
"containerPaddingRight": "{system.size.zero}",
|
|
@@ -2085,6 +2110,32 @@
|
|
|
2085
2110
|
"radioInputBorderColor": "{palette.color.transparent}"
|
|
2086
2111
|
}
|
|
2087
2112
|
},
|
|
2113
|
+
{
|
|
2114
|
+
"if": {
|
|
2115
|
+
"checked": true
|
|
2116
|
+
},
|
|
2117
|
+
"tokens": {
|
|
2118
|
+
"borderColor": "{palette.color.purpleDeluge}"
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"if": {
|
|
2123
|
+
"checked": true,
|
|
2124
|
+
"pressed": true
|
|
2125
|
+
},
|
|
2126
|
+
"tokens": {
|
|
2127
|
+
"borderColor": "{palette.color.purpleTelus}"
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"if": {
|
|
2132
|
+
"checked": true,
|
|
2133
|
+
"hover": true
|
|
2134
|
+
},
|
|
2135
|
+
"tokens": {
|
|
2136
|
+
"borderColor": "{palette.color.purpleTelus}"
|
|
2137
|
+
}
|
|
2138
|
+
},
|
|
2088
2139
|
{
|
|
2089
2140
|
"if": {
|
|
2090
2141
|
"error": true
|