@dxos/react-ui 0.7.5-labs.8c02d2a → 0.7.5-labs.c0e040f

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.
@@ -253,16 +253,12 @@ var AvatarFrame = /* @__PURE__ */ forwardRef3(({ classNames, children, ...props
253
253
  y: ringGap + ringWidth,
254
254
  rx
255
255
  }))), variant === "circle" ? /* @__PURE__ */ React4.createElement("circle", {
256
- className: hue ? tx("hue.fill", "avatar__frame__circle", {
257
- hue
258
- }) : "fill-[var(--surface-bg)]",
259
256
  cx: "50%",
260
257
  cy: "50%",
261
- r
258
+ r,
259
+ fill: hue ? `var(--dx-${hue}Fill)` : "var(--surface-bg)"
262
260
  }) : /* @__PURE__ */ React4.createElement("rect", {
263
- className: hue ? tx("hue.fill", "avatar__frame__rect", {
264
- hue
265
- }) : "fill-[var(--surface-bg)]",
261
+ fill: hue ? `var(--dx-${hue}Fill)` : "var(--surface-bg)",
266
262
  x: ringGap + ringWidth,
267
263
  y: ringGap + ringWidth,
268
264
  width: 2 * r,
@@ -969,13 +965,13 @@ var DialogOverlay = /* @__PURE__ */ forwardRef12(({ classNames, children, blockA
969
965
  }, children));
970
966
  });
971
967
  DialogOverlay.displayName = DIALOG_OVERLAY_NAME;
972
- var DialogContent = /* @__PURE__ */ forwardRef12(({ classNames, children, ...props }, forwardedRef) => {
968
+ var DialogContent = /* @__PURE__ */ forwardRef12(({ classNames, children, inOverlayLayout: propsInOverlayLayout, ...props }, forwardedRef) => {
973
969
  const { tx } = useThemeContext();
974
970
  const { inOverlayLayout } = useOverlayLayoutContext(DIALOG_CONTENT_NAME);
975
971
  return /* @__PURE__ */ React18.createElement(DialogContentPrimitive, {
976
972
  ...props,
977
973
  className: tx("dialog.content", "dialog", {
978
- inOverlayLayout
974
+ inOverlayLayout: propsInOverlayLayout || inOverlayLayout
979
975
  }, classNames),
980
976
  ref: forwardedRef
981
977
  }, children);