@telus-uds/theme-allium 3.13.0 → 3.14.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 +876 -860
- package/build/android/theme.json +114 -6
- package/build/ios/schema.json +876 -860
- package/build/ios/theme.json +114 -6
- package/build/rn/schema.json +876 -860
- package/build/rn/theme.js +40 -8
- package/package.json +5 -5
- package/theme.json +93 -6
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, 07 Mar 2023 21:06:38 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -10,6 +10,8 @@ const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/Car
|
|
|
10
10
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
11
11
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
12
12
|
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
13
|
+
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
14
|
+
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
13
15
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
14
16
|
const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
|
|
15
17
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
@@ -1146,28 +1148,58 @@ module.exports = {
|
|
|
1146
1148
|
CheckboxGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
|
|
1147
1149
|
ChevronLink: {
|
|
1148
1150
|
appearances: {
|
|
1151
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
1149
1152
|
hover: {
|
|
1150
1153
|
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1151
1154
|
platforms: [ 'rn' ],
|
|
1152
1155
|
type: 'state',
|
|
1153
1156
|
values: [ true ]
|
|
1154
1157
|
},
|
|
1158
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1159
|
+
pressed: {
|
|
1160
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1161
|
+
type: 'state',
|
|
1162
|
+
values: [ true ]
|
|
1163
|
+
},
|
|
1155
1164
|
size: {
|
|
1156
|
-
description: 'Sets the size of the text and icon; these variants are shared with
|
|
1165
|
+
description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
|
|
1157
1166
|
type: 'variant',
|
|
1158
1167
|
values: [ 'large', 'small', 'micro' ]
|
|
1159
1168
|
}
|
|
1160
1169
|
},
|
|
1161
1170
|
rules: [
|
|
1162
|
-
{ if: { hover: true }, tokens: {
|
|
1163
|
-
{ if: {
|
|
1171
|
+
{ if: { hover: true }, tokens: { color: '#1f5c09' } },
|
|
1172
|
+
{ if: { pressed: true }, tokens: { color: '#163e06' } },
|
|
1173
|
+
{ if: { alternative: true }, tokens: { color: '#414547' } },
|
|
1174
|
+
{
|
|
1175
|
+
if: { alternative: true, hover: true },
|
|
1176
|
+
tokens: { color: '#2c2e30' }
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
if: { alternative: true, pressed: true },
|
|
1180
|
+
tokens: { color: '#2c2e30' }
|
|
1181
|
+
},
|
|
1182
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
1183
|
+
{
|
|
1184
|
+
if: { hover: true, inverse: true },
|
|
1185
|
+
tokens: { color: '#f4f4f7' }
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
if: { inverse: true, pressed: true },
|
|
1189
|
+
tokens: { color: '#e3e6e8' }
|
|
1190
|
+
},
|
|
1191
|
+
{ if: { size: 'large' }, tokens: { iconSize: 20 } },
|
|
1192
|
+
{ if: { size: 'small' }, tokens: { iconSize: 14 } },
|
|
1193
|
+
{ if: { size: 'micro' }, tokens: { iconSize: 12 } }
|
|
1164
1194
|
],
|
|
1165
1195
|
tokens: {
|
|
1196
|
+
color: '#2b8000',
|
|
1166
1197
|
iconDisplace: 0,
|
|
1167
|
-
iconSize:
|
|
1198
|
+
iconSize: 24,
|
|
1168
1199
|
iconSpace: 1,
|
|
1169
|
-
leftIcon:
|
|
1170
|
-
|
|
1200
|
+
leftIcon: PaletteIconChevronLeft,
|
|
1201
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1202
|
+
rightIcon: PaletteIconChevronRight,
|
|
1171
1203
|
textLine: 'none'
|
|
1172
1204
|
}
|
|
1173
1205
|
},
|
|
@@ -4139,5 +4171,5 @@ module.exports = {
|
|
|
4139
4171
|
tokens: { size: 96 }
|
|
4140
4172
|
}
|
|
4141
4173
|
},
|
|
4142
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4174
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.12.0' }
|
|
4143
4175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.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.10.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.10.2",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.12.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.4"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.10.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.10.2"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -1411,9 +1411,18 @@
|
|
|
1411
1411
|
},
|
|
1412
1412
|
"ChevronLink": {
|
|
1413
1413
|
"appearances": {
|
|
1414
|
+
"alternative": {
|
|
1415
|
+
"type": "variant",
|
|
1416
|
+
"values": [true]
|
|
1417
|
+
},
|
|
1414
1418
|
"hover": "{appearances.ChevronLink.hover}",
|
|
1419
|
+
"inverse": {
|
|
1420
|
+
"type": "variant",
|
|
1421
|
+
"values": [true]
|
|
1422
|
+
},
|
|
1423
|
+
"pressed": "{appearances.ChevronLink.pressed}",
|
|
1415
1424
|
"size": {
|
|
1416
|
-
"description": "Sets the size of the text and icon; these variants are shared with
|
|
1425
|
+
"description": "Sets the size of the text and icon; these variants are shared with ChevronLink",
|
|
1417
1426
|
"type": "variant",
|
|
1418
1427
|
"values": ["large", "small", "micro"]
|
|
1419
1428
|
}
|
|
@@ -1424,7 +1433,67 @@
|
|
|
1424
1433
|
"hover": true
|
|
1425
1434
|
},
|
|
1426
1435
|
"tokens": {
|
|
1427
|
-
"
|
|
1436
|
+
"color": "{palette.color.greenSanFelix}"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"if": {
|
|
1441
|
+
"pressed": true
|
|
1442
|
+
},
|
|
1443
|
+
"tokens": {
|
|
1444
|
+
"color": "{palette.color.greenDarkFern}"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"if": {
|
|
1449
|
+
"alternative": true
|
|
1450
|
+
},
|
|
1451
|
+
"tokens": {
|
|
1452
|
+
"color": "{palette.color.greyCharcoal}"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"if": {
|
|
1457
|
+
"alternative": true,
|
|
1458
|
+
"hover": true
|
|
1459
|
+
},
|
|
1460
|
+
"tokens": {
|
|
1461
|
+
"color": "{palette.color.greyThunder}"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"if": {
|
|
1466
|
+
"alternative": true,
|
|
1467
|
+
"pressed": true
|
|
1468
|
+
},
|
|
1469
|
+
"tokens": {
|
|
1470
|
+
"color": "{palette.color.greyThunder}"
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"if": {
|
|
1475
|
+
"inverse": true
|
|
1476
|
+
},
|
|
1477
|
+
"tokens": {
|
|
1478
|
+
"color": "{palette.color.white}"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"if": {
|
|
1483
|
+
"hover": true,
|
|
1484
|
+
"inverse": true
|
|
1485
|
+
},
|
|
1486
|
+
"tokens": {
|
|
1487
|
+
"color": "{palette.color.greyAthens}"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"if": {
|
|
1492
|
+
"inverse": true,
|
|
1493
|
+
"pressed": true
|
|
1494
|
+
},
|
|
1495
|
+
"tokens": {
|
|
1496
|
+
"color": "{palette.color.greyMystic}"
|
|
1428
1497
|
}
|
|
1429
1498
|
},
|
|
1430
1499
|
{
|
|
@@ -1432,16 +1501,34 @@
|
|
|
1432
1501
|
"size": "large"
|
|
1433
1502
|
},
|
|
1434
1503
|
"tokens": {
|
|
1435
|
-
"iconSize": "{palette.size.
|
|
1504
|
+
"iconSize": "{palette.size.size20}"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"if": {
|
|
1509
|
+
"size": "small"
|
|
1510
|
+
},
|
|
1511
|
+
"tokens": {
|
|
1512
|
+
"iconSize": "{palette.size.size14}"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"if": {
|
|
1517
|
+
"size": "micro"
|
|
1518
|
+
},
|
|
1519
|
+
"tokens": {
|
|
1520
|
+
"iconSize": "{palette.size.size12}"
|
|
1436
1521
|
}
|
|
1437
1522
|
}
|
|
1438
1523
|
],
|
|
1439
1524
|
"tokens": {
|
|
1525
|
+
"color": "{palette.color.greenAccessible}",
|
|
1440
1526
|
"iconDisplace": "{palette.size.size0}",
|
|
1441
|
-
"iconSize": "{palette.size.
|
|
1527
|
+
"iconSize": "{palette.size.size24}",
|
|
1442
1528
|
"iconSpace": "{system.integer.1}",
|
|
1443
|
-
"leftIcon": "{palette.icon.
|
|
1444
|
-
"
|
|
1529
|
+
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
1530
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
1531
|
+
"rightIcon": "{palette.icon.ChevronRight}",
|
|
1445
1532
|
"textLine": "{system.textLine.none}"
|
|
1446
1533
|
}
|
|
1447
1534
|
},
|