@photoroom/ui 0.1.772 → 0.1.773
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
|
@@ -54619,13 +54619,23 @@ function F8(e, t) {
|
|
|
54619
54619
|
T8(F8, "makeContentId");
|
|
54620
54620
|
//#endregion
|
|
54621
54621
|
//#region src/components/navigation/TabNavigation/TabNavigationItem.tsx
|
|
54622
|
-
var I8 = ({ value: e, children: t,
|
|
54623
|
-
|
|
54624
|
-
|
|
54625
|
-
|
|
54626
|
-
|
|
54627
|
-
|
|
54628
|
-
|
|
54622
|
+
var I8 = ({ value: e, children: t, badge: n, className: r, ref: i, ...a }) => {
|
|
54623
|
+
let [o, s] = Pe(!1);
|
|
54624
|
+
return /* @__PURE__ */ R(M8, {
|
|
54625
|
+
ref: i,
|
|
54626
|
+
value: e,
|
|
54627
|
+
"data-pointer-focused": o || void 0,
|
|
54628
|
+
onPointerDown: () => s(!0),
|
|
54629
|
+
onBlur: () => s(!1),
|
|
54630
|
+
className: W("relative -mx-2 flex h-10 shrink-0 items-center gap-1 px-2", "outline-hidden", "component-semi-strong-500", "text-content-secondary hover:text-content-primary", "data-[state=active]:text-content-primary", "interaction-transition transition-colors", "before:rounded-400 before:pointer-events-none before:absolute before:inset-x-0 before:inset-y-1 before:ring-inset", "focus-visible:not-data-pointer-focused:before:ring-misc-focus-indicator", "focus-visible:not-data-pointer-focused:before:misc-border-size-focus-ring", "after:pointer-events-none after:absolute after:inset-x-2 after:bottom-0 after:h-0.5", "after:bg-content-primary after:opacity-0", "after:transition-opacity after:duration-200", "data-[state=active]:after:opacity-100", r),
|
|
54631
|
+
...a,
|
|
54632
|
+
children: [t, n && /* @__PURE__ */ L(VF, {
|
|
54633
|
+
size: "small",
|
|
54634
|
+
variant: "moon-grape",
|
|
54635
|
+
children: n
|
|
54636
|
+
})]
|
|
54637
|
+
});
|
|
54638
|
+
};
|
|
54629
54639
|
I8.displayName = "TabNavigationItem";
|
|
54630
54640
|
//#endregion
|
|
54631
54641
|
//#region src/components/navigation/TabNavigation/TabNavigation.tsx
|
|
@@ -54637,7 +54647,7 @@ var L8 = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ L(A8, {
|
|
|
54637
54647
|
L8.displayName = "TabNavigation";
|
|
54638
54648
|
var R8 = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ L(j8, {
|
|
54639
54649
|
ref: t,
|
|
54640
|
-
className: W("flex w-full items-stretch gap-
|
|
54650
|
+
className: W("flex w-full items-stretch gap-6", e),
|
|
54641
54651
|
...n
|
|
54642
54652
|
});
|
|
54643
54653
|
R8.displayName = "TabNavigation.List";
|