@telus-uds/theme-allium 3.10.0 → 3.11.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, 08 Nov 2022 01:31:50 GMT
4
+ * Generated on Wed, 07 Dec 2022 15:09:21 GMT
5
5
  *
6
6
  */
7
7
 
@@ -681,6 +681,8 @@ module.exports = {
681
681
  fontName: 'HelveticaNow',
682
682
  fontSize: 14,
683
683
  fontWeight: '700',
684
+ iconSize: 20,
685
+ iconSpace: 2,
684
686
  lineHeight: 1.5,
685
687
  minWidth: 0,
686
688
  opacity: 1,
@@ -1109,8 +1111,9 @@ module.exports = {
1109
1111
  icon: PaletteIconCaretDown,
1110
1112
  iconColor: '#2b8000',
1111
1113
  iconGap: 8,
1114
+ iconPaddingTop: 4,
1112
1115
  iconPosition: 'left',
1113
- iconSize: 24,
1116
+ iconSize: 16,
1114
1117
  justifyContent: 'flex-start',
1115
1118
  paddingBottom: 16,
1116
1119
  paddingLeft: 8,
@@ -2210,6 +2213,60 @@ module.exports = {
2210
2213
  shadow: null
2211
2214
  }
2212
2215
  },
2216
+ QuickLinksFeature: {
2217
+ appearances: {},
2218
+ rules: [],
2219
+ tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
2220
+ },
2221
+ QuickLinksFeatureItem: {
2222
+ appearances: {
2223
+ focus: {
2224
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
2225
+ platforms: [ 'rn' ],
2226
+ type: 'state',
2227
+ values: [ true ]
2228
+ },
2229
+ hover: {
2230
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2231
+ platforms: [ 'rn' ],
2232
+ type: 'state',
2233
+ values: [ true ]
2234
+ },
2235
+ viewport: {
2236
+ description: 'The size label for the current screen viewport based on the current screen width',
2237
+ type: 'state',
2238
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2239
+ }
2240
+ },
2241
+ rules: [
2242
+ { if: { hover: true }, tokens: { color: '#1f5c09' } },
2243
+ { if: { focus: true }, tokens: { color: '#1f5c09' } },
2244
+ {
2245
+ if: { viewport: 'xl' },
2246
+ tokens: { contentMaxDimension: 184, imageDimension: 168 }
2247
+ },
2248
+ { if: { hover: true }, tokens: { imageDimension: 140 } },
2249
+ {
2250
+ if: { hover: true, viewport: 'xl' },
2251
+ tokens: { imageDimension: 184 }
2252
+ },
2253
+ {
2254
+ if: { focus: true },
2255
+ tokens: { outerBorderColor: '#1f5c09' }
2256
+ }
2257
+ ],
2258
+ tokens: {
2259
+ color: '#2c2e30',
2260
+ contentAlignItems: 'center',
2261
+ contentDirection: 'column',
2262
+ contentMaxDimension: 140,
2263
+ contentSpace: 3,
2264
+ imageDimension: 128,
2265
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
2266
+ textAlign: 'center',
2267
+ textLine: 'none'
2268
+ }
2269
+ },
2213
2270
  QuickLinksList: {
2214
2271
  appearances: {
2215
2272
  focus: {
@@ -2907,6 +2964,11 @@ module.exports = {
2907
2964
  },
2908
2965
  StepTracker: {
2909
2966
  appearances: {
2967
+ inverse: {
2968
+ description: 'Styles the step tracker for using on dark backgrounds.',
2969
+ type: 'variant',
2970
+ values: [ true ]
2971
+ },
2910
2972
  viewport: {
2911
2973
  description: 'The size label for the current screen viewport based on the current screen width',
2912
2974
  type: 'state',
@@ -2917,6 +2979,22 @@ module.exports = {
2917
2979
  {
2918
2980
  if: { viewport: [ 'lg', 'xl' ] },
2919
2981
  tokens: { showStepLabel: true, showStepTrackerLabel: false }
2982
+ },
2983
+ {
2984
+ if: { inverse: true },
2985
+ tokens: {
2986
+ connectorColor: '#ffffff',
2987
+ connectorCompletedColor: '#ffffff',
2988
+ knobBackgroundColor: 'rgba(0, 0, 0, 0)',
2989
+ knobBorderColor: '#ffffff',
2990
+ knobCompletedBackgroundColor: '#ffffff',
2991
+ knobCompletedBorderColor: '#ffffff',
2992
+ knobCurrentBackgroundColor: 'rgba(0, 0, 0, 0)',
2993
+ knobCurrentBorderColor: '#ffffff',
2994
+ knobCurrentInnerColor: '#ffffff',
2995
+ labelColor: '#ffffff',
2996
+ labelCurrentColor: '#ffffff'
2997
+ }
2920
2998
  }
2921
2999
  ],
2922
3000
  tokens: {
@@ -3836,6 +3914,10 @@ module.exports = {
3836
3914
  if: { bold: true },
3837
3915
  tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
3838
3916
  },
3917
+ {
3918
+ if: { bold: true, size: 'micro' },
3919
+ tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
3920
+ },
3839
3921
  {
3840
3922
  if: { bold: true, size: 'display1' },
3841
3923
  tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
@@ -3951,5 +4033,5 @@ module.exports = {
3951
4033
  tokens: { size: 96 }
3952
4034
  }
3953
4035
  },
3954
- metadata: { name: 'theme-allium', themeTokensVersion: '2.8.0' }
4036
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.9.0' }
3955
4037
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.10.0",
3
+ "version": "3.11.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.8.2",
12
- "@telus-uds/system-theme-tokens": "^2.8.0",
13
- "@telus-uds/system-tokens": "^0.6.0"
11
+ "@telus-uds/palette-allium": "^2.9.0",
12
+ "@telus-uds/system-theme-tokens": "^2.9.0",
13
+ "@telus-uds/system-tokens": "^0.6.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.8.2"
16
+ "@telus-uds/palette-allium": "^2.9.0"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -901,6 +901,8 @@
901
901
  "fontName": "{palette.fontName.HelveticaNow}",
902
902
  "fontSize": "{palette.fontSize.size14}",
903
903
  "fontWeight": "{palette.fontWeight.weight700}",
904
+ "iconSize": "{palette.size.size20}",
905
+ "iconSpace": "{system.integer.2}",
904
906
  "lineHeight": "{palette.lineHeight.ratio3to2}",
905
907
  "minWidth": "{system.size.zero}",
906
908
  "opacity": "{system.opacity.opaque}",
@@ -1434,8 +1436,9 @@
1434
1436
  "icon": "{palette.icon.CaretDown}",
1435
1437
  "iconColor": "{palette.color.greenAccessible}",
1436
1438
  "iconGap": "{palette.size.size8}",
1439
+ "iconPaddingTop": "{palette.size.size4}",
1437
1440
  "iconPosition": "{system.position.left}",
1438
- "iconSize": "{palette.size.size24}",
1441
+ "iconSize": "{palette.size.size16}",
1439
1442
  "justifyContent": "{system.flexJustifyContent.flexStart}",
1440
1443
  "paddingBottom": "{palette.size.size16}",
1441
1444
  "paddingLeft": "{palette.size.size8}",
@@ -2842,6 +2845,85 @@
2842
2845
  "shadow": "{system.shadow.none}"
2843
2846
  }
2844
2847
  },
2848
+ "QuickLinksFeature": {
2849
+ "appearances": {},
2850
+ "rules": [],
2851
+ "tokens": {
2852
+ "stackGap": "{system.integer.5}",
2853
+ "stackJustify": "{system.flexJustifyContent.center}",
2854
+ "stackSpace": "{system.integer.5}"
2855
+ }
2856
+ },
2857
+ "QuickLinksFeatureItem": {
2858
+ "appearances": {
2859
+ "focus": "{appearances.Link.focus}",
2860
+ "hover": "{appearances.Link.hover}",
2861
+ "viewport": "{appearances.system.viewport}"
2862
+ },
2863
+ "rules": [
2864
+ {
2865
+ "if": {
2866
+ "hover": true
2867
+ },
2868
+ "tokens": {
2869
+ "color": "{palette.color.greenSanFelix}"
2870
+ }
2871
+ },
2872
+ {
2873
+ "if": {
2874
+ "focus": true
2875
+ },
2876
+ "tokens": {
2877
+ "color": "{palette.color.greenSanFelix}"
2878
+ }
2879
+ },
2880
+ {
2881
+ "if": {
2882
+ "viewport": "xl"
2883
+ },
2884
+ "tokens": {
2885
+ "contentMaxDimension": "{palette.size.size184}",
2886
+ "imageDimension": "{palette.size.size168}"
2887
+ }
2888
+ },
2889
+ {
2890
+ "if": {
2891
+ "hover": true
2892
+ },
2893
+ "tokens": {
2894
+ "imageDimension": "{palette.size.size140}"
2895
+ }
2896
+ },
2897
+ {
2898
+ "if": {
2899
+ "hover": true,
2900
+ "viewport": "xl"
2901
+ },
2902
+ "tokens": {
2903
+ "imageDimension": "{palette.size.size184}"
2904
+ }
2905
+ },
2906
+ {
2907
+ "if": {
2908
+ "focus": true
2909
+ },
2910
+ "tokens": {
2911
+ "outerBorderColor": "{palette.color.greenSanFelix}"
2912
+ }
2913
+ }
2914
+ ],
2915
+ "tokens": {
2916
+ "color": "{palette.color.greyThunder}",
2917
+ "contentAlignItems": "{system.flexAlign.center}",
2918
+ "contentDirection": "{system.direction.column}",
2919
+ "contentMaxDimension": "{palette.size.size140}",
2920
+ "contentSpace": "{system.integer.3}",
2921
+ "imageDimension": "{palette.size.size128}",
2922
+ "outerBorderColor": "{palette.color.transparent}",
2923
+ "textAlign": "{system.textAlign.center}",
2924
+ "textLine": "{system.textLine.none}"
2925
+ }
2926
+ },
2845
2927
  "QuickLinksList": {
2846
2928
  "appearances": {
2847
2929
  "focus": "{appearances.QuickLinksList.focus}",
@@ -3566,6 +3648,11 @@
3566
3648
  },
3567
3649
  "StepTracker": {
3568
3650
  "appearances": {
3651
+ "inverse": {
3652
+ "description": "Styles the step tracker for using on dark backgrounds.",
3653
+ "type": "variant",
3654
+ "values": [true]
3655
+ },
3569
3656
  "viewport": "{appearances.system.viewport}"
3570
3657
  },
3571
3658
  "rules": [
@@ -3577,6 +3664,24 @@
3577
3664
  "showStepLabel": "{system.show.true}",
3578
3665
  "showStepTrackerLabel": "{system.show.false}"
3579
3666
  }
3667
+ },
3668
+ {
3669
+ "if": {
3670
+ "inverse": true
3671
+ },
3672
+ "tokens": {
3673
+ "connectorColor": "{palette.color.white}",
3674
+ "connectorCompletedColor": "{palette.color.white}",
3675
+ "knobBackgroundColor": "{palette.color.transparent}",
3676
+ "knobBorderColor": "{palette.color.white}",
3677
+ "knobCompletedBackgroundColor": "{palette.color.white}",
3678
+ "knobCompletedBorderColor": "{palette.color.white}",
3679
+ "knobCurrentBackgroundColor": "{palette.color.transparent}",
3680
+ "knobCurrentBorderColor": "{palette.color.white}",
3681
+ "knobCurrentInnerColor": "{palette.color.white}",
3682
+ "labelColor": "{palette.color.white}",
3683
+ "labelCurrentColor": "{palette.color.white}"
3684
+ }
3580
3685
  }
3581
3686
  ],
3582
3687
  "tokens": {
@@ -4703,6 +4808,16 @@
4703
4808
  "fontWeight": "{palette.fontWeight.weight700}"
4704
4809
  }
4705
4810
  },
4811
+ {
4812
+ "if": {
4813
+ "bold": true,
4814
+ "size": "micro"
4815
+ },
4816
+ "tokens": {
4817
+ "fontName": "{palette.fontName.HelveticaNow}",
4818
+ "fontWeight": "{palette.fontWeight.weight700}"
4819
+ }
4820
+ },
4706
4821
  {
4707
4822
  "if": {
4708
4823
  "bold": true,