@telus-uds/theme-allium 4.17.0 → 4.18.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 Tue, 07 Nov 2023 16:19:10 GMT
4
+ * Generated on Wed, 15 Nov 2023 18:33:41 GMT
5
5
  *
6
6
  */
7
7
 
@@ -19,6 +19,7 @@ const PaletteIconSubtract = require('@telus-uds/palette-allium/build/rn/icons/Su
19
19
  const PaletteIconExpand = require('@telus-uds/palette-allium/build/rn/icons/Expand')
20
20
  const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
21
21
  const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
22
+ const PaletteIconBulletFill = require('@telus-uds/palette-allium/build/rn/icons/BulletFill')
22
23
  const PaletteIconStatusWarning = require('@telus-uds/palette-allium/build/rn/icons/StatusWarning')
23
24
  const PaletteIconTimes = require('@telus-uds/palette-allium/build/rn/icons/Times')
24
25
  const PaletteIconSearchBold = require('@telus-uds/palette-allium/build/rn/icons/SearchBold')
@@ -1681,6 +1682,7 @@ module.exports = {
1681
1682
  fieldSpace: 3,
1682
1683
  outlineOffset: 8,
1683
1684
  outlineWidth: 1,
1685
+ showIcon: true,
1684
1686
  space: 3
1685
1687
  }
1686
1688
  },
@@ -1688,14 +1690,14 @@ module.exports = {
1688
1690
  appearances: {},
1689
1691
  rules: [],
1690
1692
  tokens: {
1691
- borderBottomLeftRadius: 0,
1692
- borderBottomRightRadius: 0,
1693
- borderTopLeftRadius: 0,
1694
- borderTopRightRadius: 0,
1693
+ borderBottomLeftRadius: 1,
1694
+ borderBottomRightRadius: 1,
1695
+ borderTopLeftRadius: 1,
1696
+ borderTopRightRadius: 1,
1695
1697
  fieldSpace: 2,
1696
- outlineOffset: null,
1697
- outlineWidth: 0,
1698
- showIcon: false,
1698
+ outlineOffset: 8,
1699
+ outlineWidth: 1,
1700
+ showIcon: true,
1699
1701
  space: 2
1700
1702
  }
1701
1703
  },
@@ -2751,6 +2753,11 @@ module.exports = {
2751
2753
  type: 'state',
2752
2754
  values: [ true, false ]
2753
2755
  },
2756
+ quiet: {
2757
+ description: 'When it is true, it does not show the decoration',
2758
+ type: 'state',
2759
+ values: [ true, false ]
2760
+ },
2754
2761
  size: {
2755
2762
  description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
2756
2763
  type: 'variant',
@@ -2831,6 +2838,23 @@ module.exports = {
2831
2838
  {
2832
2839
  if: { hover: true, light: true },
2833
2840
  tokens: { color: '#414547', textLine: 'none' }
2841
+ },
2842
+ { if: { quiet: true }, tokens: { textLine: 'none' } },
2843
+ {
2844
+ if: { hover: true, quiet: true },
2845
+ tokens: { color: '#1f5c09', textLine: 'underline' }
2846
+ },
2847
+ {
2848
+ if: { alternative: true, hover: true, quiet: true },
2849
+ tokens: { color: '#2c2e30', textLine: 'underline' }
2850
+ },
2851
+ {
2852
+ if: { hover: true, inverse: true, quiet: true },
2853
+ tokens: { color: '#f4f4f7', textLine: 'underline' }
2854
+ },
2855
+ {
2856
+ if: { hover: true, light: true, quiet: true },
2857
+ tokens: { color: '#414547', textLine: 'underline' }
2834
2858
  }
2835
2859
  ],
2836
2860
  tokens: {
@@ -2871,26 +2895,26 @@ module.exports = {
2871
2895
  {
2872
2896
  if: { size: 'large' },
2873
2897
  tokens: {
2874
- iconMarginTop: 6,
2898
+ iconMarginTop: 4,
2875
2899
  itemFontSize: 20,
2876
- itemIconSize: 20,
2900
+ itemIconSize: 24,
2877
2901
  itemLineHeight: 1.6,
2878
- listGutter: 12
2902
+ listGutter: 8
2879
2903
  }
2880
2904
  },
2881
2905
  {
2882
2906
  if: { size: 'small' },
2883
2907
  tokens: {
2884
- iconMarginTop: 3,
2908
+ iconMarginTop: 0,
2885
2909
  itemFontSize: 14,
2886
- itemIconSize: 14,
2910
+ itemIconSize: 24,
2887
2911
  itemLineHeight: 1.42857142857,
2888
- listGutter: 12
2912
+ listGutter: 8
2889
2913
  }
2890
2914
  },
2891
2915
  {
2892
2916
  if: { compact: true },
2893
- tokens: { iconMarginTop: 2, itemLineHeight: 1.25 }
2917
+ tokens: { iconMarginTop: 0, itemLineHeight: 1.25 }
2894
2918
  },
2895
2919
  {
2896
2920
  if: { compact: true, size: 'small' },
@@ -2902,23 +2926,22 @@ module.exports = {
2902
2926
  }
2903
2927
  ],
2904
2928
  tokens: {
2929
+ bulletIcon: PaletteIconBulletFill,
2905
2930
  dividerColor: '#b2b9bf',
2906
2931
  dividerSize: 1,
2907
- iconMarginTop: 4,
2932
+ iconMarginTop: 0,
2908
2933
  interItemMargin: 8,
2909
2934
  interItemMarginWithDivider: 16,
2910
2935
  itemBulletColor: '#4b286d',
2911
2936
  itemBulletContainerAlign: 'center',
2912
- itemBulletContainerWidth: 16,
2913
- itemBulletHeight: 4,
2914
- itemBulletWidth: 4,
2937
+ itemBulletContainerWidth: 24,
2915
2938
  itemFontName: 'HelveticaNow',
2916
2939
  itemFontSize: 16,
2917
2940
  itemFontWeight: '400',
2918
2941
  itemIconColor: '#4b286d',
2919
- itemIconSize: 16,
2942
+ itemIconSize: 24,
2920
2943
  itemLineHeight: 1.5,
2921
- listGutter: 16
2944
+ listGutter: 8
2922
2945
  }
2923
2946
  },
2924
2947
  Listbox: {
@@ -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: {},
@@ -5826,7 +5860,7 @@ module.exports = {
5826
5860
  tokens: {
5827
5861
  contentBorderColor: 'transparent',
5828
5862
  contentMarginBottom: 0,
5829
- contentPaddingBottom: 8,
5863
+ contentPaddingBottom: 0,
5830
5864
  contentPaddingLeft: 16,
5831
5865
  dividerColor: '#b2b9bf',
5832
5866
  expandBaseBorderWidth: 0,
@@ -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.45.0' }
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.18.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.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.28.0",
12
+ "@telus-uds/system-theme-tokens": "^2.45.0",
13
+ "@telus-uds/system-tokens": "^0.7.27"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.27.2"
16
+ "@telus-uds/palette-allium": "^2.28.0"
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": {
@@ -3754,11 +3811,11 @@
3754
3811
  "size": "large"
3755
3812
  },
3756
3813
  "tokens": {
3757
- "iconMarginTop": "{palette.size.size6}",
3814
+ "iconMarginTop": "{palette.size.size4}",
3758
3815
  "itemFontSize": "{palette.fontSize.size20}",
3759
- "itemIconSize": "{palette.size.size20}",
3816
+ "itemIconSize": "{palette.size.size24}",
3760
3817
  "itemLineHeight": "{palette.lineHeight.ratio8to5}",
3761
- "listGutter": "{palette.size.size12}"
3818
+ "listGutter": "{palette.size.size8}"
3762
3819
  }
3763
3820
  },
3764
3821
  {
@@ -3766,11 +3823,11 @@
3766
3823
  "size": "small"
3767
3824
  },
3768
3825
  "tokens": {
3769
- "iconMarginTop": "{palette.size.size3}",
3826
+ "iconMarginTop": "{palette.size.size0}",
3770
3827
  "itemFontSize": "{palette.fontSize.size14}",
3771
- "itemIconSize": "{palette.size.size14}",
3828
+ "itemIconSize": "{palette.size.size24}",
3772
3829
  "itemLineHeight": "{palette.lineHeight.ratio10to7}",
3773
- "listGutter": "{palette.size.size12}"
3830
+ "listGutter": "{palette.size.size8}"
3774
3831
  }
3775
3832
  },
3776
3833
  {
@@ -3778,7 +3835,7 @@
3778
3835
  "compact": true
3779
3836
  },
3780
3837
  "tokens": {
3781
- "iconMarginTop": "{palette.size.size2}",
3838
+ "iconMarginTop": "{palette.size.size0}",
3782
3839
  "itemLineHeight": "{palette.lineHeight.ratio5to4}"
3783
3840
  }
3784
3841
  },
@@ -3802,23 +3859,22 @@
3802
3859
  }
3803
3860
  ],
3804
3861
  "tokens": {
3862
+ "bulletIcon": "{palette.icon.BulletFill}",
3805
3863
  "dividerColor": "{palette.color.greyCloud}",
3806
3864
  "dividerSize": "{palette.border.border1}",
3807
- "iconMarginTop": "{palette.size.size4}",
3865
+ "iconMarginTop": "{palette.size.size0}",
3808
3866
  "interItemMargin": "{palette.size.size8}",
3809
3867
  "interItemMarginWithDivider": "{palette.size.size16}",
3810
3868
  "itemBulletColor": "{palette.color.purpleTelus}",
3811
3869
  "itemBulletContainerAlign": "{system.textAlign.center}",
3812
- "itemBulletContainerWidth": "{palette.size.size16}",
3813
- "itemBulletHeight": "{palette.size.size4}",
3814
- "itemBulletWidth": "{palette.size.size4}",
3870
+ "itemBulletContainerWidth": "{palette.size.size24}",
3815
3871
  "itemFontName": "{palette.fontName.HelveticaNow}",
3816
3872
  "itemFontSize": "{palette.fontSize.size16}",
3817
3873
  "itemFontWeight": "{palette.fontWeight.weight400}",
3818
3874
  "itemIconColor": "{palette.color.purpleTelus}",
3819
- "itemIconSize": "{palette.size.size16}",
3875
+ "itemIconSize": "{palette.size.size24}",
3820
3876
  "itemLineHeight": "{palette.lineHeight.ratio3to2}",
3821
- "listGutter": "{palette.size.size16}"
3877
+ "listGutter": "{palette.size.size8}"
3822
3878
  }
3823
3879
  },
3824
3880
  "Listbox": {
@@ -5709,8 +5765,15 @@
5709
5765
  }
5710
5766
  ],
5711
5767
  "tokens": {
5768
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
5769
+ "borderBottomRightRadius": "{palette.radius.radius1}",
5770
+ "borderTopLeftRadius": "{palette.radius.radius1}",
5771
+ "borderTopRightRadius": "{palette.radius.radius1}",
5712
5772
  "direction": "{system.direction.column}",
5713
5773
  "fieldSpace": "{system.integer.3}",
5774
+ "outlineOffset": "{palette.size.size8}",
5775
+ "outlineWidth": "{palette.border.border1}",
5776
+ "showIcon": "{system.show.true}",
5714
5777
  "space": "{system.integer.3}"
5715
5778
  }
5716
5779
  },
@@ -7030,7 +7093,7 @@
7030
7093
  "tokens": {
7031
7094
  "contentBorderColor": "{system.color.transparent}",
7032
7095
  "contentMarginBottom": "{palette.size.size0}",
7033
- "contentPaddingBottom": "{palette.size.size8}",
7096
+ "contentPaddingBottom": "{palette.size.size0}",
7034
7097
  "contentPaddingLeft": "{palette.size.size16}",
7035
7098
  "dividerColor": "{palette.color.greyCloud}",
7036
7099
  "expandBaseBorderWidth": "{palette.border.none}",