@telus-uds/components-base 3.14.1 → 3.14.2

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/CHANGELOG.md CHANGED
@@ -1,15 +1,16 @@
1
1
  # Change Log - @telus-uds/components-base
2
2
 
3
- This log was last generated on Fri, 05 Sep 2025 17:37:54 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 05 Sep 2025 18:30:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 3.14.1
7
+ ## 3.14.2
8
8
 
9
- Fri, 05 Sep 2025 17:37:54 GMT
9
+ Fri, 05 Sep 2025 18:30:47 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
+ - `FlexGrid`: fix maxWidth prop (guillermo.peitzner@telus.com)
13
14
  - `FlexGrid`: change default limitWidth value prop to true (guillermo.peitzner@telus.com)
14
15
 
15
16
  ## 3.13.0
@@ -52,12 +52,15 @@ const resolveContentMaxWidth = (contentMinWidthValue, responsiveWidth) => {
52
52
  */
53
53
  const getMaxWidthForViewport = (viewportKey, limitWidth, contentMinWidth, maxWidth) => {
54
54
  if (limitWidth) {
55
- return _systemConstants.viewports.map.get(viewportKey === 'xs' ? 'sm' : viewportKey);
55
+ if (viewportKey === 'xs') {
56
+ return null;
57
+ }
58
+ return _systemConstants.viewports.map.get(viewportKey);
56
59
  }
57
60
  if (contentMinWidth) {
58
61
  return maxWidth;
59
62
  }
60
- return viewportKey === 'xl' ? _systemConstants.viewports.map.get('xl') : null;
63
+ return null;
61
64
  };
62
65
 
63
66
  /**
@@ -45,12 +45,15 @@ const resolveContentMaxWidth = (contentMinWidthValue, responsiveWidth) => {
45
45
  */
46
46
  const getMaxWidthForViewport = (viewportKey, limitWidth, contentMinWidth, maxWidth) => {
47
47
  if (limitWidth) {
48
- return viewports.map.get(viewportKey === 'xs' ? 'sm' : viewportKey);
48
+ if (viewportKey === 'xs') {
49
+ return null;
50
+ }
51
+ return viewports.map.get(viewportKey);
49
52
  }
50
53
  if (contentMinWidth) {
51
54
  return maxWidth;
52
55
  }
53
- return viewportKey === 'xl' ? viewports.map.get('xl') : null;
56
+ return null;
54
57
  };
55
58
 
56
59
  /**
package/lib/package.json CHANGED
@@ -84,6 +84,6 @@
84
84
  "standard-engine": {
85
85
  "skip": true
86
86
  },
87
- "version": "3.14.1",
87
+ "version": "3.14.2",
88
88
  "types": "types/index.d.ts"
89
89
  }
package/package.json CHANGED
@@ -84,6 +84,6 @@
84
84
  "standard-engine": {
85
85
  "skip": true
86
86
  },
87
- "version": "3.14.1",
87
+ "version": "3.14.2",
88
88
  "types": "types/index.d.ts"
89
89
  }
@@ -60,14 +60,17 @@ const resolveContentMaxWidth = (contentMinWidthValue, responsiveWidth) => {
60
60
  */
61
61
  const getMaxWidthForViewport = (viewportKey, limitWidth, contentMinWidth, maxWidth) => {
62
62
  if (limitWidth) {
63
- return viewports.map.get(viewportKey === 'xs' ? 'sm' : viewportKey)
63
+ if (viewportKey === 'xs') {
64
+ return null
65
+ }
66
+ return viewports.map.get(viewportKey)
64
67
  }
65
68
 
66
69
  if (contentMinWidth) {
67
70
  return maxWidth
68
71
  }
69
72
 
70
- return viewportKey === 'xl' ? viewports.map.get('xl') : null
73
+ return null
71
74
  }
72
75
 
73
76
  /**