@dxos/react-ui 0.4.10-main.181e72f → 0.4.10-main.1a9d28b
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.
|
@@ -219,9 +219,7 @@ var AvatarFrame = /* @__PURE__ */ forwardRef2(({ classNames, children, ...props
|
|
|
219
219
|
cy: "50%",
|
|
220
220
|
r
|
|
221
221
|
}) : /* @__PURE__ */ React3.createElement("rect", {
|
|
222
|
-
className:
|
|
223
|
-
hue
|
|
224
|
-
}) : "fill-[var(--surface-bg)]",
|
|
222
|
+
className: "avatarFrameFill fill-[var(--surface-bg)]",
|
|
225
223
|
x: ringGap + ringWidth,
|
|
226
224
|
y: ringGap + ringWidth,
|
|
227
225
|
width: 2 * r,
|
|
@@ -624,13 +622,13 @@ var DIALOG_CONTENT_NAME = "DialogContent";
|
|
|
624
622
|
var [OverlayLayoutProvider, useOverlayLayoutContext] = createContext5(DIALOG_OVERLAY_NAME, {
|
|
625
623
|
inOverlayLayout: false
|
|
626
624
|
});
|
|
627
|
-
var DialogOverlay = /* @__PURE__ */ forwardRef9(({ classNames, children,
|
|
625
|
+
var DialogOverlay = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
|
|
628
626
|
const { tx } = useThemeContext();
|
|
629
627
|
return /* @__PURE__ */ React11.createElement(DialogOverlayPrimitive, {
|
|
630
628
|
...props,
|
|
631
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"),
|
|
632
630
|
ref: forwardedRef,
|
|
633
|
-
"data-block-align": blockAlign
|
|
631
|
+
"data-block-align": props.blockAlign
|
|
634
632
|
}, /* @__PURE__ */ React11.createElement(OverlayLayoutProvider, {
|
|
635
633
|
inOverlayLayout: true
|
|
636
634
|
}, children));
|