@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/components/collections/CommonMenu/SubMenu.d.ts.map +1 -1
- package/components/collections/DropdownMenu/DropdownMenu.d.ts +37 -0
- package/components/collections/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/components/collections/DropdownMenu/DropdownMenu.figma.d.ts +2 -0
- package/components/collections/DropdownMenu/DropdownMenu.figma.d.ts.map +1 -0
- package/components/collections/DropdownMenu/index.d.ts +2 -0
- package/components/collections/DropdownMenu/index.d.ts.map +1 -0
- package/components/collections/LegacyDropdownMenu/SubMenu.d.ts.map +1 -1
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.d.ts +5 -0
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.d.ts.map +1 -0
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.figma.d.ts +2 -0
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.figma.d.ts.map +1 -0
- package/components/dropdown/DropdownMenuItem/index.d.ts +2 -0
- package/components/dropdown/DropdownMenuItem/index.d.ts.map +1 -0
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +6 -3
- package/package.json +1 -1
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:
|
|
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
|
-
...
|
|
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, {
|