@telus-uds/theme-allium 3.16.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 Thu, 23 Mar 2023 20:45:20 GMT
4
+ * Generated on Tue, 04 Apr 2023 14:45:26 GMT
5
5
  *
6
6
  */
7
7
 
@@ -2584,6 +2584,7 @@ module.exports = {
2584
2584
  itemBulletContainerWidth: 16,
2585
2585
  itemBulletHeight: 4,
2586
2586
  itemBulletWidth: 4,
2587
+ itemFontColor: '#000000',
2587
2588
  itemFontName: 'HelveticaNow',
2588
2589
  itemFontSize: 16,
2589
2590
  itemFontWeight: '400',
@@ -2838,6 +2839,52 @@ module.exports = {
2838
2839
  tokens: { direction: 'column', fieldSpace: 3, space: 3 }
2839
2840
  },
2840
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
+ },
2841
2888
  Search: {
2842
2889
  appearances: {
2843
2890
  focus: {
@@ -4019,6 +4066,11 @@ module.exports = {
4019
4066
  description: 'The size label for the current screen viewport based on the current screen width',
4020
4067
  type: 'state',
4021
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' ]
4022
4074
  }
4023
4075
  },
4024
4076
  rules: [
@@ -4245,6 +4297,14 @@ module.exports = {
4245
4297
  viewport: [ 'xs', 'sm', 'md' ]
4246
4298
  },
4247
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' }
4248
4308
  }
4249
4309
  ],
4250
4310
  tokens: {
@@ -4318,5 +4378,5 @@ module.exports = {
4318
4378
  tokens: { size: 96 }
4319
4379
  }
4320
4380
  },
4321
- metadata: { name: 'theme-allium', themeTokensVersion: '2.14.0' }
4381
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.16.0' }
4322
4382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "3.16.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.0",
12
- "@telus-uds/system-theme-tokens": "^2.14.0",
13
- "@telus-uds/system-tokens": "^0.6.6"
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.0"
16
+ "@telus-uds/palette-allium": "^2.12.2"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -3301,6 +3301,7 @@
3301
3301
  "itemBulletContainerWidth": "{palette.size.size16}",
3302
3302
  "itemBulletHeight": "{palette.size.size4}",
3303
3303
  "itemBulletWidth": "{palette.size.size4}",
3304
+ "itemFontColor": "{palette.color.black}",
3304
3305
  "itemFontName": "{palette.fontName.HelveticaNow}",
3305
3306
  "itemFontSize": "{palette.fontSize.size16}",
3306
3307
  "itemFontWeight": "{palette.fontWeight.weight400}",
@@ -3569,6 +3570,47 @@
3569
3570
  "space": "{system.integer.2}"
3570
3571
  }
3571
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
+ },
3572
3614
  "Search": {
3573
3615
  "appearances": {
3574
3616
  "focus": "{appearances.Search.focus}",
@@ -4860,7 +4902,12 @@
4860
4902
  "display2"
4861
4903
  ]
4862
4904
  },
4863
- "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
+ }
4864
4911
  },
4865
4912
  "rules": [
4866
4913
  {
@@ -5241,6 +5288,24 @@
5241
5288
  "fontName": "{palette.fontName.HelveticaNow}",
5242
5289
  "fontWeight": "{palette.fontWeight.weight700}"
5243
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
+ }
5244
5309
  }
5245
5310
  ],
5246
5311
  "tokens": {