@dxos/react-ui 0.4.10-main.fa5a270 → 0.4.10-main.fd4f2a3

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.
@@ -622,12 +622,13 @@ var DIALOG_CONTENT_NAME = "DialogContent";
622
622
  var [OverlayLayoutProvider, useOverlayLayoutContext] = createContext5(DIALOG_OVERLAY_NAME, {
623
623
  inOverlayLayout: false
624
624
  });
625
- var DialogOverlay = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
625
+ var DialogOverlay = /* @__PURE__ */ forwardRef9(({ classNames, children, blockAlign, ...props }, forwardedRef) => {
626
626
  const { tx } = useThemeContext();
627
627
  return /* @__PURE__ */ React11.createElement(DialogOverlayPrimitive, {
628
628
  ...props,
629
- className: tx("dialog.overlay", "dialog__overlay", {}, classNames),
630
- ref: forwardedRef
629
+ className: tx("dialog.overlay", "dialog__overlay", {}, classNames, "data-[block-align=start]:justify-center", "data-[block-align=start]:items-start", "data-[block-align=center]:place-content-center"),
630
+ ref: forwardedRef,
631
+ "data-block-align": blockAlign
631
632
  }, /* @__PURE__ */ React11.createElement(OverlayLayoutProvider, {
632
633
  inOverlayLayout: true
633
634
  }, children));