@telus-uds/components-base 3.12.0 → 3.12.1

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,12 +1,20 @@
1
1
  # Change Log - @telus-uds/components-base
2
2
 
3
- This log was last generated on Fri, 11 Jul 2025 22:15:36 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 16 Jul 2025 15:16:33 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 3.12.1
8
+
9
+ Wed, 16 Jul 2025 15:16:33 GMT
10
+
11
+ ### Patches
12
+
13
+ - `ListboxOverlay`: fix console warning (guillermo.peitzner@telus.com)
14
+
7
15
  ## 3.12.0
8
16
 
9
- Fri, 11 Jul 2025 22:15:36 GMT
17
+ Fri, 11 Jul 2025 22:22:37 GMT
10
18
 
11
19
  ### Minor changes
12
20
 
@@ -62,13 +62,12 @@ const DropdownOverlay = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
62
62
  });
63
63
  const withPortal = Overlay => {
64
64
  // eslint-disable-next-line react/display-name, react/no-multi-comp
65
- return props => {
66
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Portal.default, {
67
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Overlay, {
68
- ...props
69
- })
70
- });
71
- };
65
+ return /*#__PURE__*/_react.default.forwardRef((props, ref) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Portal.default, {
66
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Overlay, {
67
+ ...props,
68
+ ref: ref
69
+ })
70
+ }));
72
71
  };
73
72
  DropdownOverlay.displayName = 'DropdownOverlay';
74
73
  DropdownOverlay.propTypes = {
@@ -55,13 +55,12 @@ const DropdownOverlay = /*#__PURE__*/React.forwardRef((_ref, ref) => {
55
55
  });
56
56
  const withPortal = Overlay => {
57
57
  // eslint-disable-next-line react/display-name, react/no-multi-comp
58
- return props => {
59
- return /*#__PURE__*/_jsx(Portal, {
60
- children: /*#__PURE__*/_jsx(Overlay, {
61
- ...props
62
- })
63
- });
64
- };
58
+ return /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(Portal, {
59
+ children: /*#__PURE__*/_jsx(Overlay, {
60
+ ...props,
61
+ ref: ref
62
+ })
63
+ }));
65
64
  };
66
65
  DropdownOverlay.displayName = 'DropdownOverlay';
67
66
  DropdownOverlay.propTypes = {
package/lib/package.json CHANGED
@@ -84,6 +84,6 @@
84
84
  "standard-engine": {
85
85
  "skip": true
86
86
  },
87
- "version": "3.12.0",
87
+ "version": "3.12.1",
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.12.0",
87
+ "version": "3.12.1",
88
88
  "types": "types/index.d.ts"
89
89
  }
@@ -55,13 +55,11 @@ const DropdownOverlay = React.forwardRef(
55
55
 
56
56
  const withPortal = (Overlay) => {
57
57
  // eslint-disable-next-line react/display-name, react/no-multi-comp
58
- return (props) => {
59
- return (
60
- <Portal>
61
- <Overlay {...props} />
62
- </Portal>
63
- )
64
- }
58
+ return React.forwardRef((props, ref) => (
59
+ <Portal>
60
+ <Overlay {...props} ref={ref} />
61
+ </Portal>
62
+ ))
65
63
  }
66
64
 
67
65
  DropdownOverlay.displayName = 'DropdownOverlay'