@photoroom/ui 0.1.66 → 0.1.68

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/index.mjs CHANGED
@@ -30716,14 +30716,15 @@ var SH = U("", {
30716
30716
  EH.displayName = "MenuSeparator";
30717
30717
  //#endregion
30718
30718
  //#region src/components/collections/CommonMenu/SubMenu.tsx
30719
- var DH = l(function(e, t) {
30719
+ var DH = l(function({ className: e, ...t }, n) {
30720
30720
  return /* @__PURE__ */ T(bH, {
30721
- ref: t,
30721
+ ref: n,
30722
+ className: H("data-[state=open]:bg-background-subdued-hover", e),
30722
30723
  rightElement: /* @__PURE__ */ T(R, {
30723
30724
  className: "mt-0.5 shrink-0 text-content-secondary icon-size-400",
30724
30725
  "aria-hidden": "true"
30725
30726
  }),
30726
- ...e
30727
+ ...t
30727
30728
  });
30728
30729
  }), OH = ({ children: e, className: t }) => /* @__PURE__ */ T(Xz.div, {
30729
30730
  className: H("flex flex-col misc-hairline-spacing", "bg-surface-higher shadow-700 outline-none misc-dropdown-padding misc-dropdown-rounding", "misc-outer-border", "max-w-[100vw]", "overflow-auto", t),
@@ -31128,6 +31129,8 @@ var MU = ({ triggerProps: e, children: t, className: n, withPortal: r, open: a,
31128
31129
  ...r ? { forceMount: !0 } : {},
31129
31130
  children: /* @__PURE__ */ T(wU, {
31130
31131
  collisionPadding: 16,
31132
+ sideOffset: -4,
31133
+ alignOffset: -4,
31131
31134
  ...c,
31132
31135
  forceMount: !0,
31133
31136
  children: /* @__PURE__ */ T(OH, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [