@telus-uds/theme-allium 4.12.0 → 4.13.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 Aug 2023 23:50:28 GMT
4
+ * Generated on Tue, 12 Sep 2023 15:30:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -2823,14 +2823,14 @@ module.exports = {
2823
2823
  itemFontWeight: '700',
2824
2824
  itemHeight: 40,
2825
2825
  itemOutline: 0,
2826
- itemPaddingBottom: 12,
2826
+ itemPaddingBottom: 8,
2827
2827
  itemPaddingLeft: 16,
2828
2828
  itemPaddingRight: 16,
2829
- itemPaddingTop: 12,
2829
+ itemPaddingTop: 8,
2830
2830
  itemTextDecoration: 'none',
2831
2831
  lineHeight: 1.14285714286,
2832
2832
  minHeight: '100%',
2833
- minWidth: 288,
2833
+ minWidth: '100%',
2834
2834
  shadow: {
2835
2835
  blur: 8,
2836
2836
  color: 'rgba(0, 0, 0, 0.1)',
@@ -4629,7 +4629,7 @@ module.exports = {
4629
4629
  borderColor: '#2b8000',
4630
4630
  feedbackBackgroundColor: '#f4f9f2',
4631
4631
  validationIcon: PaletteIconStatusSuccess,
4632
- validationIconColor: '#163e06'
4632
+ validationIconColor: '#2b8000'
4633
4633
  }
4634
4634
  },
4635
4635
  {
@@ -6595,12 +6595,23 @@ module.exports = {
6595
6595
  }
6596
6596
  },
6597
6597
  WaffleGrid: {
6598
- appearances: {},
6599
- rules: [],
6598
+ appearances: {
6599
+ viewport: {
6600
+ description: 'The size label for the current screen viewport based on the current screen width',
6601
+ type: 'state',
6602
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
6603
+ }
6604
+ },
6605
+ rules: [
6606
+ { if: { viewport: [ 'xs' ] }, tokens: { rowSize: 2 } },
6607
+ { if: { viewport: [ 'sm', 'md' ] }, tokens: { rowSize: 3 } },
6608
+ { if: { viewport: [ 'lg', 'xl' ] }, tokens: { rowSize: 6 } }
6609
+ ],
6600
6610
  tokens: {
6601
6611
  itemBorderColor: '#b2b9bf',
6602
6612
  itemPadding: 16,
6603
- rowBorderWidth: 1
6613
+ rowBorderWidth: 1,
6614
+ rowSize: 6
6604
6615
  }
6605
6616
  },
6606
6617
  spacingScale: {
@@ -6663,5 +6674,5 @@ module.exports = {
6663
6674
  tokens: { size: 96 }
6664
6675
  }
6665
6676
  },
6666
- metadata: { name: 'theme-allium', themeTokensVersion: '2.41.0' }
6677
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.41.1' }
6667
6678
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "4.12.0",
3
+ "version": "4.13.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.24.4",
12
- "@telus-uds/system-theme-tokens": "^2.41.0",
13
- "@telus-uds/system-tokens": "^0.7.21"
11
+ "@telus-uds/palette-allium": "^2.24.5",
12
+ "@telus-uds/system-theme-tokens": "^2.41.1",
13
+ "@telus-uds/system-tokens": "^0.7.22"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.24.4"
16
+ "@telus-uds/palette-allium": "^2.24.5"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -3690,14 +3690,14 @@
3690
3690
  "itemFontWeight": "{palette.fontWeight.weight700}",
3691
3691
  "itemHeight": "{palette.size.size40}",
3692
3692
  "itemOutline": "{palette.border.none}",
3693
- "itemPaddingBottom": "{palette.size.size12}",
3693
+ "itemPaddingBottom": "{palette.size.size8}",
3694
3694
  "itemPaddingLeft": "{palette.size.size16}",
3695
3695
  "itemPaddingRight": "{palette.size.size16}",
3696
- "itemPaddingTop": "{palette.size.size12}",
3696
+ "itemPaddingTop": "{palette.size.size8}",
3697
3697
  "itemTextDecoration": "{system.textLine.none}",
3698
3698
  "lineHeight": "{palette.lineHeight.ratio8to7}",
3699
3699
  "minHeight": "{system.size.full}",
3700
- "minWidth": "{palette.size.size288}",
3700
+ "minWidth": "{system.size.full}",
3701
3701
  "shadow": "{palette.shadow.elevation1}"
3702
3702
  }
3703
3703
  },
@@ -5662,7 +5662,7 @@
5662
5662
  "borderColor": "{palette.color.greenAccessible}",
5663
5663
  "feedbackBackgroundColor": "{palette.color.greenPanache}",
5664
5664
  "validationIcon": "{palette.icon.StatusSuccess}",
5665
- "validationIconColor": "{palette.color.greenDarkFern}"
5665
+ "validationIconColor": "{palette.color.greenAccessible}"
5666
5666
  }
5667
5667
  },
5668
5668
  {
@@ -8034,12 +8034,40 @@
8034
8034
  }
8035
8035
  },
8036
8036
  "WaffleGrid": {
8037
- "appearances": {},
8038
- "rules": [],
8037
+ "appearances": {
8038
+ "viewport": "{appearances.system.viewport}"
8039
+ },
8040
+ "rules": [
8041
+ {
8042
+ "if": {
8043
+ "viewport": ["xs"]
8044
+ },
8045
+ "tokens": {
8046
+ "rowSize": "{system.integer.2}"
8047
+ }
8048
+ },
8049
+ {
8050
+ "if": {
8051
+ "viewport": ["sm", "md"]
8052
+ },
8053
+ "tokens": {
8054
+ "rowSize": "{system.integer.3}"
8055
+ }
8056
+ },
8057
+ {
8058
+ "if": {
8059
+ "viewport": ["lg", "xl"]
8060
+ },
8061
+ "tokens": {
8062
+ "rowSize": "{system.integer.6}"
8063
+ }
8064
+ }
8065
+ ],
8039
8066
  "tokens": {
8040
8067
  "itemBorderColor": "{palette.color.greyCloud}",
8041
8068
  "itemPadding": "{palette.size.size16}",
8042
- "rowBorderWidth": "{palette.border.border1}"
8069
+ "rowBorderWidth": "{palette.border.border1}",
8070
+ "rowSize": "{system.integer.6}"
8043
8071
  }
8044
8072
  },
8045
8073
  "spacingScale": {