@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, className: n, ref: r, ...i }) => /* @__PURE__ */ L(M8, {
54623
- ref: r,
54624
- value: e,
54625
- className: W("relative flex shrink-0 items-center", "px-2 py-3", "outline-hidden", "component-semi-strong-500", "text-content-secondary hover:text-content-primary", "data-[state=active]:text-content-primary", "interaction-transition transition-colors", "focus-visible:ring-misc-focus-indicator focus-visible: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", n),
54626
- ...i,
54627
- children: t
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-2", e),
54650
+ className: W("flex w-full items-stretch gap-6", e),
54641
54651
  ...n
54642
54652
  });
54643
54653
  R8.displayName = "TabNavigation.List";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.772",
3
+ "version": "0.1.773",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [