@photoroom/ui 0.1.538 → 0.1.540
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
|
@@ -26810,9 +26810,10 @@ var bP = ({ variant: e = "secondary", icons: t, labels: n, className: r, ref: i,
|
|
|
26810
26810
|
className: H("group shrink-0 cursor-pointer outline-hidden", "inline-flex flex-col items-center justify-center gap-0.5 p-2.5", "rounded-500", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "radix-state-unchecked:text-content-primary", "disabled:cursor-not-allowed disabled:opacity-30", "interaction-transition transition-all", {
|
|
26811
26811
|
"aspect-square": !n,
|
|
26812
26812
|
"radix-state-unchecked:bg-background-subdued hover:radix-state-unchecked:bg-background-subdued-hover focus-visible:radix-state-unchecked:bg-background-subdued-hover active:radix-state-unchecked:bg-background-subdued-down": e === "secondary",
|
|
26813
|
-
"
|
|
26813
|
+
"focus-visible:radix-state-unchecked:bg-background-borderless-subdued-hover active:radix-state-unchecked:bg-background-borderless-subdued-down": ["borderless", "borderless-subtle"].includes(e),
|
|
26814
|
+
"hover:radix-state-unchecked:bg-background-borderless-subdued-hover": e === "borderless",
|
|
26814
26815
|
"radix-state-checked:bg-background-accent radix-state-checked:text-content-white-primary hover:radix-state-checked:bg-background-accent-hover focus-visible:radix-state-checked:bg-background-accent-hover active:radix-state-checked:bg-background-accent-down": ["secondary", "borderless"].includes(e),
|
|
26815
|
-
"
|
|
26816
|
+
"focus-visible:radix-state-checked:bg-background-subdued-hover active:radix-state-checked:bg-background-subdued-down": e === "borderless-subtle"
|
|
26816
26817
|
}, r),
|
|
26817
26818
|
ref: i,
|
|
26818
26819
|
children: [/* @__PURE__ */ L("div", {
|
|
@@ -36646,12 +36647,12 @@ var KY = ({ label: e, labelTestId: t, subtitle: n, isHidden: r, defaultIsHidden:
|
|
|
36646
36647
|
return /* @__PURE__ */ L("li", {
|
|
36647
36648
|
...h,
|
|
36648
36649
|
ref: m,
|
|
36649
|
-
className: U("relative", f),
|
|
36650
|
+
className: U("group/object-item relative", f),
|
|
36650
36651
|
children: [
|
|
36651
36652
|
/* @__PURE__ */ L("button", {
|
|
36652
36653
|
...d,
|
|
36653
36654
|
type: "button",
|
|
36654
|
-
className: U("flex items-center gap-3", "w-full p-2", (v || u) && "pe-25", "rounded-500 bg-background-subdued outline-hidden", "hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator", "focus-visible:misc-border-size-focus-ring", "text-500", "transition-colors", d?.className),
|
|
36655
|
+
className: U("flex items-center gap-3", "w-full p-2", (v || u) && "pe-25", "rounded-500 bg-background-subdued outline-hidden", "group-hover/object-item:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator", "focus-visible:misc-border-size-focus-ring", "text-500", "transition-colors", d?.className),
|
|
36655
36656
|
children: [/* @__PURE__ */ I(AW, {
|
|
36656
36657
|
imageUrl: o,
|
|
36657
36658
|
checkerboard: s,
|