@workday/canvas-kit-react 14.0.0-alpha.1255-next.0 → 14.0.0-alpha.1257-next.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.
@@ -21,7 +21,7 @@ exports.modalOverlayContainerStencil = (0, canvas_kit_styling_1.createStencil)({
21
21
  }, "modal-overlay-container-bd009b");
22
22
  exports.useModalOverlay = (0, common_1.createElemPropsHook)(popup_1.usePopupModel)(({ state }, ref) => {
23
23
  const elementRef = (0, common_1.useForkRef)(ref, state.stackRef);
24
- (0, popup_1.usePopupStack)(elementRef);
24
+ (0, popup_1.usePopupStack)(elementRef, state.targetRef);
25
25
  return {
26
26
  // The ref should not be applied to an element. The passed ref will apply to the stackRef instead
27
27
  ref: undefined,
@@ -15,7 +15,7 @@ export const modalOverlayContainerStencil = createStencil({
15
15
  }, "modal-overlay-container-bd009b");
16
16
  export const useModalOverlay = createElemPropsHook(usePopupModel)(({ state }, ref) => {
17
17
  const elementRef = useForkRef(ref, state.stackRef);
18
- usePopupStack(elementRef);
18
+ usePopupStack(elementRef, state.targetRef);
19
19
  return {
20
20
  // The ref should not be applied to an element. The passed ref will apply to the stackRef instead
21
21
  ref: undefined,
@@ -63,7 +63,7 @@ export const modalOverlayContainerStencil = createStencil({
63
63
 
64
64
  export const useModalOverlay = createElemPropsHook(usePopupModel)(({state}, ref) => {
65
65
  const elementRef = useForkRef(ref, state.stackRef);
66
- usePopupStack(elementRef);
66
+ usePopupStack(elementRef, state.targetRef);
67
67
 
68
68
  return {
69
69
  // The ref should not be applied to an element. The passed ref will apply to the stackRef instead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "14.0.0-alpha.1255-next.0",
3
+ "version": "14.0.0-alpha.1257-next.0",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -52,8 +52,8 @@
52
52
  "@popperjs/core": "^2.5.4",
53
53
  "@tanstack/react-virtual": "^3.13.9",
54
54
  "@workday/canvas-colors-web": "^2.0.0",
55
- "@workday/canvas-kit-popup-stack": "^14.0.0-alpha.1255-next.0",
56
- "@workday/canvas-kit-styling": "^14.0.0-alpha.1255-next.0",
55
+ "@workday/canvas-kit-popup-stack": "^14.0.0-alpha.1257-next.0",
56
+ "@workday/canvas-kit-styling": "^14.0.0-alpha.1257-next.0",
57
57
  "@workday/canvas-system-icons-web": "^3.0.35",
58
58
  "@workday/canvas-tokens-web": "3.0.0-alpha.12",
59
59
  "@workday/design-assets-types": "^0.2.10",
@@ -68,5 +68,5 @@
68
68
  "@workday/canvas-accent-icons-web": "^3.0.0",
69
69
  "@workday/canvas-applet-icons-web": "^2.0.0"
70
70
  },
71
- "gitHead": "c9c268e7ad9537d58be91036c75c3ec66b586877"
71
+ "gitHead": "4638acfc42f1ba3f4b2cfe455750dc0916e33d3c"
72
72
  }