@salemcobalt/ui 0.2.0-rc.27 → 0.2.0-rc.28

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/dist/index.d.ts CHANGED
@@ -749,7 +749,8 @@ interface DialogContentProps extends Omit<Dialog$1.Popup.Props, 'className'> {
749
749
  className?: string | undefined;
750
750
  }
751
751
  /**
752
- * Portal, backdrop and the popup. Focus moves inside on open and returns to the trigger on close.
752
+ * Portal, backdrop and the popup. Focus moves inside on open and returns to the trigger on close. A dialog opened
753
+ * from inside another has its own backdrop too, over the first dialog.
753
754
  * Menus, selects and tooltips opened from inside render above it (`--sc-z-dropdown` > `--sc-z-dialog`).
754
755
  */
755
756
  declare function Content$2({ size, variant, dismissOnSwipe, className, children, ...rest }: DialogContentProps): react.JSX.Element;
package/dist/index.js CHANGED
@@ -634,7 +634,7 @@ function Content({
634
634
  const isSheet = variant === "sheet";
635
635
  const swipe = isSheet && dismissOnSwipe && dismissible;
636
636
  return /* @__PURE__ */ jsxs5(BaseDialog.Portal, { children: [
637
- /* @__PURE__ */ jsx6(BaseDialog.Backdrop, { className: "sc-dialog__backdrop" }),
637
+ /* @__PURE__ */ jsx6(BaseDialog.Backdrop, { className: "sc-dialog__backdrop", forceRender: true }),
638
638
  /* @__PURE__ */ jsxs5(
639
639
  BaseDialog.Popup,
640
640
  {