@telus-uds/theme-allium 4.13.0 → 4.13.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/build/android/schema.json +828 -799
- package/build/android/theme.json +32 -2
- package/build/ios/schema.json +828 -799
- package/build/ios/theme.json +32 -2
- package/build/rn/schema.json +828 -799
- package/build/rn/theme.js +12 -5
- package/package.json +3 -3
- package/theme.json +42 -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 Mon, 16 Oct 2023 22:47:36 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1037,6 +1037,7 @@ module.exports = {
|
|
|
1037
1037
|
type: 'variant',
|
|
1038
1038
|
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
1039
1039
|
},
|
|
1040
|
+
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1040
1041
|
padding: {
|
|
1041
1042
|
type: 'variant',
|
|
1042
1043
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1048,6 +1049,9 @@ module.exports = {
|
|
|
1048
1049
|
}
|
|
1049
1050
|
},
|
|
1050
1051
|
rules: [
|
|
1052
|
+
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1053
|
+
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
1054
|
+
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 12 } },
|
|
1051
1055
|
{
|
|
1052
1056
|
if: { background: 'alternative' },
|
|
1053
1057
|
tokens: { backgroundColor: '#f4f4f7' }
|
|
@@ -2259,6 +2263,7 @@ module.exports = {
|
|
|
2259
2263
|
iconScale: 1.1
|
|
2260
2264
|
}
|
|
2261
2265
|
},
|
|
2266
|
+
{ if: { hover: true }, tokens: { iconScale: 1 } },
|
|
2262
2267
|
{
|
|
2263
2268
|
if: { hover: true, password: true },
|
|
2264
2269
|
tokens: {
|
|
@@ -2290,9 +2295,9 @@ module.exports = {
|
|
|
2290
2295
|
{
|
|
2291
2296
|
if: { focus: true, password: true },
|
|
2292
2297
|
tokens: {
|
|
2298
|
+
borderWidth: 3,
|
|
2293
2299
|
outerBorderColor: '#3f2a54',
|
|
2294
|
-
|
|
2295
|
-
outerBorderWidth: 2
|
|
2300
|
+
outerBorderWidth: 0
|
|
2296
2301
|
}
|
|
2297
2302
|
},
|
|
2298
2303
|
{
|
|
@@ -2320,7 +2325,7 @@ module.exports = {
|
|
|
2320
2325
|
backgroundColor: '#3f2a54',
|
|
2321
2326
|
borderColor: '#3f2a54',
|
|
2322
2327
|
iconColor: '#ffffff',
|
|
2323
|
-
outerBorderGap:
|
|
2328
|
+
outerBorderGap: 0
|
|
2324
2329
|
}
|
|
2325
2330
|
},
|
|
2326
2331
|
{
|
|
@@ -2412,6 +2417,7 @@ module.exports = {
|
|
|
2412
2417
|
borderTopRightRadius: null,
|
|
2413
2418
|
borderTopWidth: null,
|
|
2414
2419
|
borderWidth: 1,
|
|
2420
|
+
height: null,
|
|
2415
2421
|
icon: PaletteIconAdd,
|
|
2416
2422
|
iconColor: '#676e73',
|
|
2417
2423
|
iconScale: 1,
|
|
@@ -2422,7 +2428,8 @@ module.exports = {
|
|
|
2422
2428
|
outerBorderGap: 0,
|
|
2423
2429
|
outerBorderWidth: null,
|
|
2424
2430
|
padding: 4,
|
|
2425
|
-
shadow: null
|
|
2431
|
+
shadow: null,
|
|
2432
|
+
width: null
|
|
2426
2433
|
}
|
|
2427
2434
|
},
|
|
2428
2435
|
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.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/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.25.0",
|
|
12
12
|
"@telus-uds/system-theme-tokens": "^2.41.1",
|
|
13
13
|
"@telus-uds/system-tokens": "^0.7.22"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.25.0"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -1258,6 +1258,10 @@
|
|
|
1258
1258
|
"type": "variant",
|
|
1259
1259
|
"values": ["alternative", "subtle", "grid", "feature"]
|
|
1260
1260
|
},
|
|
1261
|
+
"borderRadius": {
|
|
1262
|
+
"type": "variant",
|
|
1263
|
+
"values": ["none", "small", "large"]
|
|
1264
|
+
},
|
|
1261
1265
|
"padding": {
|
|
1262
1266
|
"type": "variant",
|
|
1263
1267
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -1265,6 +1269,30 @@
|
|
|
1265
1269
|
"viewport": "{appearances.system.viewport}"
|
|
1266
1270
|
},
|
|
1267
1271
|
"rules": [
|
|
1272
|
+
{
|
|
1273
|
+
"if": {
|
|
1274
|
+
"borderRadius": "none"
|
|
1275
|
+
},
|
|
1276
|
+
"tokens": {
|
|
1277
|
+
"borderRadius": "{palette.radius.none}"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"if": {
|
|
1282
|
+
"borderRadius": "small"
|
|
1283
|
+
},
|
|
1284
|
+
"tokens": {
|
|
1285
|
+
"borderRadius": "{palette.radius.radius6}"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"if": {
|
|
1290
|
+
"borderRadius": "large"
|
|
1291
|
+
},
|
|
1292
|
+
"tokens": {
|
|
1293
|
+
"borderRadius": "{palette.radius.radius12}"
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1268
1296
|
{
|
|
1269
1297
|
"if": {
|
|
1270
1298
|
"background": "alternative"
|
|
@@ -2898,6 +2926,14 @@
|
|
|
2898
2926
|
"iconScale": "{system.iconScale.scale1_10}"
|
|
2899
2927
|
}
|
|
2900
2928
|
},
|
|
2929
|
+
{
|
|
2930
|
+
"if": {
|
|
2931
|
+
"hover": true
|
|
2932
|
+
},
|
|
2933
|
+
"tokens": {
|
|
2934
|
+
"iconScale": "{system.iconScale.scale1}"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2901
2937
|
{
|
|
2902
2938
|
"if": {
|
|
2903
2939
|
"hover": true,
|
|
@@ -2952,9 +2988,9 @@
|
|
|
2952
2988
|
"password": true
|
|
2953
2989
|
},
|
|
2954
2990
|
"tokens": {
|
|
2991
|
+
"borderWidth": "{palette.border.border3}",
|
|
2955
2992
|
"outerBorderColor": "{palette.color.purpleDark}",
|
|
2956
|
-
"
|
|
2957
|
-
"outerBorderWidth": "{palette.border.border2}"
|
|
2993
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
2958
2994
|
}
|
|
2959
2995
|
},
|
|
2960
2996
|
{
|
|
@@ -2990,7 +3026,7 @@
|
|
|
2990
3026
|
"backgroundColor": "{palette.color.purpleDark}",
|
|
2991
3027
|
"borderColor": "{palette.color.purpleDark}",
|
|
2992
3028
|
"iconColor": "{palette.color.white}",
|
|
2993
|
-
"outerBorderGap": "{
|
|
3029
|
+
"outerBorderGap": "{system.size.zero}"
|
|
2994
3030
|
}
|
|
2995
3031
|
},
|
|
2996
3032
|
{
|
|
@@ -3136,6 +3172,7 @@
|
|
|
3136
3172
|
"borderTopRightRadius": "{system.radius.none}",
|
|
3137
3173
|
"borderTopWidth": "{system.border.none}",
|
|
3138
3174
|
"borderWidth": "{palette.border.border1}",
|
|
3175
|
+
"height": "{system.size.none}",
|
|
3139
3176
|
"icon": "{palette.icon.Add}",
|
|
3140
3177
|
"iconColor": "{palette.color.greyShuttle}",
|
|
3141
3178
|
"iconScale": "{system.iconScale.scale1}",
|
|
@@ -3146,7 +3183,8 @@
|
|
|
3146
3183
|
"outerBorderGap": "{system.size.zero}",
|
|
3147
3184
|
"outerBorderWidth": "{system.border.none}",
|
|
3148
3185
|
"padding": "{palette.size.size4}",
|
|
3149
|
-
"shadow": "{system.shadow.none}"
|
|
3186
|
+
"shadow": "{system.shadow.none}",
|
|
3187
|
+
"width": "{system.size.none}"
|
|
3150
3188
|
}
|
|
3151
3189
|
},
|
|
3152
3190
|
"Image": {
|