@telus-uds/theme-allium 4.17.0 → 4.17.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/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Tue, 07 Nov 2023 16:19:10 GMT
4
+ * Generated on Fri, 10 Nov 2023 22:27:15 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1681,6 +1681,7 @@ module.exports = {
1681
1681
  fieldSpace: 3,
1682
1682
  outlineOffset: 8,
1683
1683
  outlineWidth: 1,
1684
+ showIcon: true,
1684
1685
  space: 3
1685
1686
  }
1686
1687
  },
@@ -1688,14 +1689,14 @@ module.exports = {
1688
1689
  appearances: {},
1689
1690
  rules: [],
1690
1691
  tokens: {
1691
- borderBottomLeftRadius: 0,
1692
- borderBottomRightRadius: 0,
1693
- borderTopLeftRadius: 0,
1694
- borderTopRightRadius: 0,
1692
+ borderBottomLeftRadius: 1,
1693
+ borderBottomRightRadius: 1,
1694
+ borderTopLeftRadius: 1,
1695
+ borderTopRightRadius: 1,
1695
1696
  fieldSpace: 2,
1696
- outlineOffset: null,
1697
- outlineWidth: 0,
1698
- showIcon: false,
1697
+ outlineOffset: 8,
1698
+ outlineWidth: 1,
1699
+ showIcon: true,
1699
1700
  space: 2
1700
1701
  }
1701
1702
  },
@@ -2751,6 +2752,11 @@ module.exports = {
2751
2752
  type: 'state',
2752
2753
  values: [ true, false ]
2753
2754
  },
2755
+ quiet: {
2756
+ description: 'When it is true, it does not show the decoration',
2757
+ type: 'state',
2758
+ values: [ true, false ]
2759
+ },
2754
2760
  size: {
2755
2761
  description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
2756
2762
  type: 'variant',
@@ -2831,6 +2837,23 @@ module.exports = {
2831
2837
  {
2832
2838
  if: { hover: true, light: true },
2833
2839
  tokens: { color: '#414547', textLine: 'none' }
2840
+ },
2841
+ { if: { quiet: true }, tokens: { textLine: 'none' } },
2842
+ {
2843
+ if: { hover: true, quiet: true },
2844
+ tokens: { color: '#1f5c09', textLine: 'underline' }
2845
+ },
2846
+ {
2847
+ if: { alternative: true, hover: true, quiet: true },
2848
+ tokens: { color: '#2c2e30', textLine: 'underline' }
2849
+ },
2850
+ {
2851
+ if: { hover: true, inverse: true, quiet: true },
2852
+ tokens: { color: '#f4f4f7', textLine: 'underline' }
2853
+ },
2854
+ {
2855
+ if: { hover: true, light: true, quiet: true },
2856
+ tokens: { color: '#414547', textLine: 'underline' }
2834
2857
  }
2835
2858
  ],
2836
2859
  tokens: {
@@ -4627,7 +4650,18 @@ module.exports = {
4627
4650
  tokens: { direction: 'row', space: 5 }
4628
4651
  }
4629
4652
  ],
4630
- tokens: { direction: 'column', fieldSpace: 3, space: 3 }
4653
+ tokens: {
4654
+ borderBottomLeftRadius: 1,
4655
+ borderBottomRightRadius: 1,
4656
+ borderTopLeftRadius: 1,
4657
+ borderTopRightRadius: 1,
4658
+ direction: 'column',
4659
+ fieldSpace: 3,
4660
+ outlineOffset: 8,
4661
+ outlineWidth: 1,
4662
+ showIcon: true,
4663
+ space: 3
4664
+ }
4631
4665
  },
4632
4666
  RadioGroup: {
4633
4667
  appearances: {},
@@ -6962,5 +6996,5 @@ module.exports = {
6962
6996
  tokens: { size: 96 }
6963
6997
  }
6964
6998
  },
6965
- metadata: { name: 'theme-allium', themeTokensVersion: '2.44.0' }
6999
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.44.1' }
6966
7000
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "4.17.0",
3
+ "version": "4.17.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.27.2",
12
- "@telus-uds/system-theme-tokens": "^2.44.0",
13
- "@telus-uds/system-tokens": "^0.7.25"
11
+ "@telus-uds/palette-allium": "^2.27.3",
12
+ "@telus-uds/system-theme-tokens": "^2.44.1",
13
+ "@telus-uds/system-tokens": "^0.7.26"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.27.2"
16
+ "@telus-uds/palette-allium": "^2.27.3"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -1988,6 +1988,7 @@
1988
1988
  "fieldSpace": "{system.integer.3}",
1989
1989
  "outlineOffset": "{palette.size.size8}",
1990
1990
  "outlineWidth": "{palette.border.border1}",
1991
+ "showIcon": "{system.show.true}",
1991
1992
  "space": "{system.integer.3}"
1992
1993
  }
1993
1994
  },
@@ -1995,14 +1996,14 @@
1995
1996
  "appearances": {},
1996
1997
  "rules": [],
1997
1998
  "tokens": {
1998
- "borderBottomLeftRadius": "{system.radius.zero}",
1999
- "borderBottomRightRadius": "{system.radius.zero}",
2000
- "borderTopLeftRadius": "{system.radius.zero}",
2001
- "borderTopRightRadius": "{system.radius.zero}",
1999
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
2000
+ "borderBottomRightRadius": "{palette.radius.radius1}",
2001
+ "borderTopLeftRadius": "{palette.radius.radius1}",
2002
+ "borderTopRightRadius": "{palette.radius.radius1}",
2002
2003
  "fieldSpace": "{system.integer.2}",
2003
- "outlineOffset": "{system.size.none}",
2004
- "outlineWidth": "{system.border.zero}",
2005
- "showIcon": "{system.show.false}",
2004
+ "outlineOffset": "{palette.size.size8}",
2005
+ "outlineWidth": "{palette.border.border1}",
2006
+ "showIcon": "{system.show.true}",
2006
2007
  "space": "{system.integer.2}"
2007
2008
  }
2008
2009
  },
@@ -3519,6 +3520,11 @@
3519
3520
  "values": [true]
3520
3521
  },
3521
3522
  "pressed": "{appearances.Link.pressed}",
3523
+ "quiet": {
3524
+ "description": "When it is true, it does not show the decoration",
3525
+ "type": "state",
3526
+ "values": [true, false]
3527
+ },
3522
3528
  "size": {
3523
3529
  "description": "Text sizes for block links; similar but not always identical to Typography sizes.",
3524
3530
  "type": "variant",
@@ -3712,6 +3718,57 @@
3712
3718
  "color": "{palette.color.greyCharcoal}",
3713
3719
  "textLine": "{system.textLine.none}"
3714
3720
  }
3721
+ },
3722
+ {
3723
+ "if": {
3724
+ "quiet": true
3725
+ },
3726
+ "tokens": {
3727
+ "textLine": "{system.textLine.none}"
3728
+ }
3729
+ },
3730
+ {
3731
+ "if": {
3732
+ "hover": true,
3733
+ "quiet": true
3734
+ },
3735
+ "tokens": {
3736
+ "color": "{palette.color.greenSanFelix}",
3737
+ "textLine": "{system.textLine.underline}"
3738
+ }
3739
+ },
3740
+ {
3741
+ "if": {
3742
+ "alternative": true,
3743
+ "hover": true,
3744
+ "quiet": true
3745
+ },
3746
+ "tokens": {
3747
+ "color": "{palette.color.greyThunder}",
3748
+ "textLine": "{system.textLine.underline}"
3749
+ }
3750
+ },
3751
+ {
3752
+ "if": {
3753
+ "hover": true,
3754
+ "inverse": true,
3755
+ "quiet": true
3756
+ },
3757
+ "tokens": {
3758
+ "color": "{palette.color.greyAthens}",
3759
+ "textLine": "{system.textLine.underline}"
3760
+ }
3761
+ },
3762
+ {
3763
+ "if": {
3764
+ "hover": true,
3765
+ "light": true,
3766
+ "quiet": true
3767
+ },
3768
+ "tokens": {
3769
+ "color": "{palette.color.greyCharcoal}",
3770
+ "textLine": "{system.textLine.underline}"
3771
+ }
3715
3772
  }
3716
3773
  ],
3717
3774
  "tokens": {
@@ -5709,8 +5766,15 @@
5709
5766
  }
5710
5767
  ],
5711
5768
  "tokens": {
5769
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
5770
+ "borderBottomRightRadius": "{palette.radius.radius1}",
5771
+ "borderTopLeftRadius": "{palette.radius.radius1}",
5772
+ "borderTopRightRadius": "{palette.radius.radius1}",
5712
5773
  "direction": "{system.direction.column}",
5713
5774
  "fieldSpace": "{system.integer.3}",
5775
+ "outlineOffset": "{palette.size.size8}",
5776
+ "outlineWidth": "{palette.border.border1}",
5777
+ "showIcon": "{system.show.true}",
5714
5778
  "space": "{system.integer.3}"
5715
5779
  }
5716
5780
  },