@telus-uds/theme-allium 3.22.0 → 3.23.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/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 19 Apr 2023 18:42:43 GMT
4
+ * Generated on Thu, 20 Apr 2023 19:05:19 GMT
5
5
  *
6
6
  */
7
7
 
@@ -11,7 +11,6 @@ const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/Car
11
11
  const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
12
12
  const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
13
13
  const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
14
- const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
15
14
  const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
16
15
  const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
17
16
  const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
@@ -1293,7 +1292,10 @@ module.exports = {
1293
1292
  }
1294
1293
  },
1295
1294
  rules: [
1296
- { if: { hover: true }, tokens: { color: '#1f5c09' } },
1295
+ {
1296
+ if: { hover: true },
1297
+ tokens: { color: '#1f5c09', iconDisplace: 4 }
1298
+ },
1297
1299
  { if: { pressed: true }, tokens: { color: '#163e06' } },
1298
1300
  { if: { alternative: true }, tokens: { color: '#414547' } },
1299
1301
  {
@@ -1313,19 +1315,30 @@ module.exports = {
1313
1315
  if: { inverse: true, pressed: true },
1314
1316
  tokens: { color: '#e3e6e8' }
1315
1317
  },
1316
- { if: { size: 'large' }, tokens: { iconSize: 20 } },
1317
- { if: { size: 'small' }, tokens: { iconSize: 14 } },
1318
- { if: { size: 'micro' }, tokens: { iconSize: 12 } }
1318
+ {
1319
+ if: { size: 'large' },
1320
+ tokens: { height: 48, iconSize: 24, textLineHeight: 1.95 }
1321
+ },
1322
+ {
1323
+ if: { size: 'small' },
1324
+ tokens: { height: 36, iconSize: 14, textLineHeight: 2.12 }
1325
+ },
1326
+ {
1327
+ if: { size: 'micro' },
1328
+ tokens: { height: 32, iconSize: 12, textLineHeight: 1.92 }
1329
+ }
1319
1330
  ],
1320
1331
  tokens: {
1321
1332
  color: '#2b8000',
1333
+ height: 40,
1322
1334
  iconDisplace: 0,
1323
1335
  iconSize: 24,
1324
1336
  iconSpace: 1,
1325
- leftIcon: PaletteIconChevronLeft,
1337
+ leftIcon: PaletteIconArrowLeft,
1326
1338
  outerBorderColor: 'rgba(0, 0, 0, 0)',
1327
- rightIcon: PaletteIconChevronRight,
1328
- textLine: 'none'
1339
+ rightIcon: PaletteIconArrowRight,
1340
+ textLine: 'none',
1341
+ textLineHeight: 2.25
1329
1342
  }
1330
1343
  },
1331
1344
  DatePicker: {
@@ -3572,6 +3585,15 @@ module.exports = {
3572
3585
  paddingVertical: 8
3573
3586
  }
3574
3587
  },
3588
+ Spinner: {
3589
+ appearances: { size: { type: 'variant', values: [ 'small' ] } },
3590
+ rules: [ { if: { size: 'small' }, tokens: { size: 24, thickness: 2 } } ],
3591
+ tokens: {
3592
+ fullScreenOverLayBackground: 'rgba(255, 255, 255, 0.97)',
3593
+ size: 48,
3594
+ thickness: 4
3595
+ }
3596
+ },
3575
3597
  StackView: {
3576
3598
  appearances: {},
3577
3599
  rules: [],
@@ -4735,5 +4757,5 @@ module.exports = {
4735
4757
  tokens: { size: 96 }
4736
4758
  }
4737
4759
  },
4738
- metadata: { name: 'theme-allium', themeTokensVersion: '2.20.0' }
4760
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.21.0' }
4739
4761
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.22.0",
3
+ "version": "3.23.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.13.2",
12
- "@telus-uds/system-theme-tokens": "^2.20.0",
13
- "@telus-uds/system-tokens": "^0.6.12"
11
+ "@telus-uds/palette-allium": "^2.14.0",
12
+ "@telus-uds/system-theme-tokens": "^2.21.0",
13
+ "@telus-uds/system-tokens": "^0.7.0"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.13.2"
16
+ "@telus-uds/palette-allium": "^2.14.0"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -1590,7 +1590,8 @@
1590
1590
  "hover": true
1591
1591
  },
1592
1592
  "tokens": {
1593
- "color": "{palette.color.greenSanFelix}"
1593
+ "color": "{palette.color.greenSanFelix}",
1594
+ "iconDisplace": "{palette.size.size4}"
1594
1595
  }
1595
1596
  },
1596
1597
  {
@@ -1658,7 +1659,9 @@
1658
1659
  "size": "large"
1659
1660
  },
1660
1661
  "tokens": {
1661
- "iconSize": "{palette.size.size20}"
1662
+ "height": "{palette.size.size48}",
1663
+ "iconSize": "{palette.size.size24}",
1664
+ "textLineHeight": "{palette.lineHeight.ratio10to5}"
1662
1665
  }
1663
1666
  },
1664
1667
  {
@@ -1666,7 +1669,9 @@
1666
1669
  "size": "small"
1667
1670
  },
1668
1671
  "tokens": {
1669
- "iconSize": "{palette.size.size14}"
1672
+ "height": "{palette.size.size36}",
1673
+ "iconSize": "{palette.size.size14}",
1674
+ "textLineHeight": "{palette.lineHeight.ratio15to7}"
1670
1675
  }
1671
1676
  },
1672
1677
  {
@@ -1674,19 +1679,23 @@
1674
1679
  "size": "micro"
1675
1680
  },
1676
1681
  "tokens": {
1677
- "iconSize": "{palette.size.size12}"
1682
+ "height": "{palette.size.size32}",
1683
+ "iconSize": "{palette.size.size12}",
1684
+ "textLineHeight": "{palette.lineHeight.ratio2to1}"
1678
1685
  }
1679
1686
  }
1680
1687
  ],
1681
1688
  "tokens": {
1682
1689
  "color": "{palette.color.greenAccessible}",
1690
+ "height": "{palette.size.size40}",
1683
1691
  "iconDisplace": "{palette.size.size0}",
1684
1692
  "iconSize": "{palette.size.size24}",
1685
1693
  "iconSpace": "{system.integer.1}",
1686
- "leftIcon": "{palette.icon.ChevronLeft}",
1694
+ "leftIcon": "{palette.icon.ArrowLeft}",
1687
1695
  "outerBorderColor": "{palette.color.transparent}",
1688
- "rightIcon": "{palette.icon.ChevronRight}",
1689
- "textLine": "{system.textLine.none}"
1696
+ "rightIcon": "{palette.icon.ArrowRight}",
1697
+ "textLine": "{system.textLine.none}",
1698
+ "textLineHeight": "{palette.lineHeight.ratio9to4}"
1690
1699
  }
1691
1700
  },
1692
1701
  "DatePicker": {
@@ -4389,6 +4398,30 @@
4389
4398
  "paddingVertical": "{palette.size.size8}"
4390
4399
  }
4391
4400
  },
4401
+ "Spinner": {
4402
+ "appearances": {
4403
+ "size": {
4404
+ "type": "variant",
4405
+ "values": ["small"]
4406
+ }
4407
+ },
4408
+ "rules": [
4409
+ {
4410
+ "if": {
4411
+ "size": "small"
4412
+ },
4413
+ "tokens": {
4414
+ "size": "{palette.size.size24}",
4415
+ "thickness": "{palette.border.border2}"
4416
+ }
4417
+ }
4418
+ ],
4419
+ "tokens": {
4420
+ "fullScreenOverLayBackground": "{palette.color.light97}",
4421
+ "size": "{palette.size.size48}",
4422
+ "thickness": "{palette.border.border4}"
4423
+ }
4424
+ },
4392
4425
  "StackView": {
4393
4426
  "appearances": {},
4394
4427
  "rules": [],