@telus-uds/theme-allium 3.17.0 → 3.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 Mon, 03 Apr 2023 20:32:40 GMT
4
+ * Generated on Tue, 04 Apr 2023 14:45:26 GMT
5
5
  *
6
6
  */
7
7
 
@@ -2839,6 +2839,52 @@ module.exports = {
2839
2839
  tokens: { direction: 'column', fieldSpace: 3, space: 3 }
2840
2840
  },
2841
2841
  RadioGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
2842
+ Ribbon: {
2843
+ appearances: {
2844
+ purpose: {
2845
+ type: 'variant',
2846
+ values: [ 'offer', 'default', 'editorial' ]
2847
+ }
2848
+ },
2849
+ rules: [
2850
+ {
2851
+ if: { purpose: 'editorial' },
2852
+ tokens: {
2853
+ backgroundColor: '#676e73',
2854
+ curveBackgroundColor: '#2c2e30'
2855
+ }
2856
+ }
2857
+ ],
2858
+ tokens: {
2859
+ backgroundColor: '#613889',
2860
+ borderRadius: 4,
2861
+ boxShadowColor: 'rgba(0, 0, 0, 0.1)',
2862
+ boxShadowPaddingBottom: 2,
2863
+ boxShadowPaddingLeft: 0,
2864
+ boxShadowPaddingRight: 2,
2865
+ boxShadowPaddingTop: 0,
2866
+ curveAfterBackgroundColor: '#613889',
2867
+ curveAfterHeight: 4,
2868
+ curveAfterRadius: 8,
2869
+ curveAfterWidth: 8,
2870
+ curveBackgroundColor: '#3f2a54',
2871
+ curveHeight: 10,
2872
+ curveMarginTop: 4,
2873
+ curveWidth: 8,
2874
+ gradient: {
2875
+ angle: 135,
2876
+ stops: [
2877
+ { color: '#4b286d', stop: 0 },
2878
+ { color: '#e53293', stop: 1 }
2879
+ ],
2880
+ type: 'linear'
2881
+ },
2882
+ paddingBottom: 4,
2883
+ paddingLeft: 8,
2884
+ paddingRight: 8,
2885
+ paddingTop: 4
2886
+ }
2887
+ },
2842
2888
  Search: {
2843
2889
  appearances: {
2844
2890
  focus: {
@@ -4020,6 +4066,11 @@ module.exports = {
4020
4066
  description: 'The size label for the current screen viewport based on the current screen width',
4021
4067
  type: 'state',
4022
4068
  values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4069
+ },
4070
+ weight: {
4071
+ description: 'Sets the font weight, default is regular 400 weight. Does not change accessibility properties.',
4072
+ type: 'variant',
4073
+ values: [ 'semibold', 'bold' ]
4023
4074
  }
4024
4075
  },
4025
4076
  rules: [
@@ -4246,6 +4297,14 @@ module.exports = {
4246
4297
  viewport: [ 'xs', 'sm', 'md' ]
4247
4298
  },
4248
4299
  tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
4300
+ },
4301
+ {
4302
+ if: { weight: 'semibold' },
4303
+ tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
4304
+ },
4305
+ {
4306
+ if: { weight: 'bold' },
4307
+ tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
4249
4308
  }
4250
4309
  ],
4251
4310
  tokens: {
@@ -4319,5 +4378,5 @@ module.exports = {
4319
4378
  tokens: { size: 96 }
4320
4379
  }
4321
4380
  },
4322
- metadata: { name: 'theme-allium', themeTokensVersion: '2.15.0' }
4381
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.16.0' }
4323
4382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.17.0",
3
+ "version": "3.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.12.1",
12
- "@telus-uds/system-theme-tokens": "^2.15.0",
13
- "@telus-uds/system-tokens": "^0.6.7"
11
+ "@telus-uds/palette-allium": "^2.12.2",
12
+ "@telus-uds/system-theme-tokens": "^2.16.0",
13
+ "@telus-uds/system-tokens": "^0.6.8"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.12.1"
16
+ "@telus-uds/palette-allium": "^2.12.2"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -3570,6 +3570,47 @@
3570
3570
  "space": "{system.integer.2}"
3571
3571
  }
3572
3572
  },
3573
+ "Ribbon": {
3574
+ "appearances": {
3575
+ "purpose": {
3576
+ "type": "variant",
3577
+ "values": ["offer", "default", "editorial"]
3578
+ }
3579
+ },
3580
+ "rules": [
3581
+ {
3582
+ "if": {
3583
+ "purpose": "editorial"
3584
+ },
3585
+ "tokens": {
3586
+ "backgroundColor": "{palette.color.greyShuttle}",
3587
+ "curveBackgroundColor": "{palette.color.greyThunder}"
3588
+ }
3589
+ }
3590
+ ],
3591
+ "tokens": {
3592
+ "backgroundColor": "{palette.color.purpleEminence}",
3593
+ "borderRadius": "{palette.size.size4}",
3594
+ "boxShadowColor": "{palette.color.dark10}",
3595
+ "boxShadowPaddingBottom": "{palette.size.size2}",
3596
+ "boxShadowPaddingLeft": "{palette.size.size0}",
3597
+ "boxShadowPaddingRight": "{palette.size.size2}",
3598
+ "boxShadowPaddingTop": "{palette.size.size0}",
3599
+ "curveAfterBackgroundColor": "{palette.color.purpleEminence}",
3600
+ "curveAfterHeight": "{palette.size.size4}",
3601
+ "curveAfterRadius": "{palette.size.size8}",
3602
+ "curveAfterWidth": "{palette.size.size8}",
3603
+ "curveBackgroundColor": "{palette.color.purpleDark}",
3604
+ "curveHeight": "{palette.size.size10}",
3605
+ "curveMarginTop": "{palette.size.size4}",
3606
+ "curveWidth": "{palette.size.size8}",
3607
+ "gradient": "{palette.gradient.purple}",
3608
+ "paddingBottom": "{palette.size.size4}",
3609
+ "paddingLeft": "{palette.size.size8}",
3610
+ "paddingRight": "{palette.size.size8}",
3611
+ "paddingTop": "{palette.size.size4}"
3612
+ }
3613
+ },
3573
3614
  "Search": {
3574
3615
  "appearances": {
3575
3616
  "focus": "{appearances.Search.focus}",
@@ -4861,7 +4902,12 @@
4861
4902
  "display2"
4862
4903
  ]
4863
4904
  },
4864
- "viewport": "{appearances.system.viewport}"
4905
+ "viewport": "{appearances.system.viewport}",
4906
+ "weight": {
4907
+ "description": "Sets the font weight, default is regular 400 weight. Does not change accessibility properties.",
4908
+ "type": "variant",
4909
+ "values": ["semibold", "bold"]
4910
+ }
4865
4911
  },
4866
4912
  "rules": [
4867
4913
  {
@@ -5242,6 +5288,24 @@
5242
5288
  "fontName": "{palette.fontName.HelveticaNow}",
5243
5289
  "fontWeight": "{palette.fontWeight.weight700}"
5244
5290
  }
5291
+ },
5292
+ {
5293
+ "if": {
5294
+ "weight": "semibold"
5295
+ },
5296
+ "tokens": {
5297
+ "fontName": "{palette.fontName.HelveticaNow}",
5298
+ "fontWeight": "{palette.fontWeight.weight500}"
5299
+ }
5300
+ },
5301
+ {
5302
+ "if": {
5303
+ "weight": "bold"
5304
+ },
5305
+ "tokens": {
5306
+ "fontName": "{palette.fontName.HelveticaNow}",
5307
+ "fontWeight": "{palette.fontWeight.weight700}"
5308
+ }
5245
5309
  }
5246
5310
  ],
5247
5311
  "tokens": {