@plasmicpkgs/react-aria 0.0.85 → 0.0.86

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.
@@ -2443,9 +2443,6 @@ var __objRest$a = (source, exclude) => {
2443
2443
  }
2444
2444
  return target;
2445
2445
  };
2446
- const INLINE_STYLES = {
2447
- outline: "none"
2448
- };
2449
2446
  const BaseModal = forwardRef(
2450
2447
  function BaseModalInner(props, ref) {
2451
2448
  var _b, _c, _d;
@@ -2495,14 +2492,14 @@ const BaseModal = forwardRef(
2495
2492
  (_a2 = mergedProps.onOpenChange) == null ? void 0 : _a2.call(mergedProps, true);
2496
2493
  }
2497
2494
  }));
2498
- const bodyInCanvas = /* @__PURE__ */ React.createElement("div", { style: INLINE_STYLES }, children);
2499
- const bodyInPreview = /* @__PURE__ */ React.createElement(Dialog, { style: INLINE_STYLES }, children);
2495
+ const dialogInCanvas = /* @__PURE__ */ React.createElement("div", { className }, children);
2496
+ const dialog = /* @__PURE__ */ React.createElement(Dialog, { className }, children);
2500
2497
  return /* @__PURE__ */ React.createElement(
2501
2498
  ModalOverlay,
2502
2499
  __spreadProps$8(__spreadValues$c({}, mergedProps), {
2503
2500
  className: `${resetClassName} ${modalOverlayClass}`
2504
2501
  }),
2505
- /* @__PURE__ */ React.createElement(Modal, { className }, canvasCtx ? bodyInCanvas : bodyInPreview)
2502
+ /* @__PURE__ */ React.createElement(Modal, null, canvasCtx ? dialogInCanvas : dialog)
2506
2503
  );
2507
2504
  }
2508
2505
  );