@inf-monkeys-tech/monkeys-design 2.0.57 → 2.0.58

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.
@@ -3743,7 +3743,7 @@ function getHeadbarSummaryTitle(rootLabel, childLabel) {
3743
3743
  }
3744
3744
  const rootText = rootLabel.trim();
3745
3745
  const childText = childLabel.trim();
3746
- return rootText && childText ? `${rootText} ${childText}` : void 0;
3746
+ return rootText && childText ? `${rootText} / ${childText}` : void 0;
3747
3747
  }
3748
3748
  var HEADBAR_DROPDOWN_ITEM_CLASS = "relative flex w-full min-w-0 cursor-pointer select-none items-center gap-2.5 px-3 py-2 text-sm outline-hidden transition-colors hover:!bg-[var(--monkeys-component-navigation-headbar-item-hover-background,hsl(var(--accent)))] hover:!text-[var(--monkeys-component-navigation-headbar-item-hover-foreground,hsl(var(--accent-foreground)))] focus:!bg-[var(--monkeys-component-navigation-headbar-item-hover-background,hsl(var(--accent)))] focus:!text-[var(--monkeys-component-navigation-headbar-item-hover-foreground,hsl(var(--accent-foreground)))] data-[highlighted]:!bg-[var(--monkeys-component-navigation-headbar-item-hover-background,hsl(var(--accent)))] data-[highlighted]:!text-[var(--monkeys-component-navigation-headbar-item-hover-foreground,hsl(var(--accent-foreground)))]";
3749
3749
  var HEADBAR_DROPDOWN_CONTENT_STYLE = {
@@ -3933,10 +3933,10 @@ function HeadbarNavMenuItem({
3933
3933
  ),
3934
3934
  classNames: {
3935
3935
  icon: "text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current",
3936
- label: "flex min-w-0 items-center text-[inherit] [&_*]:!text-[inherit]"
3936
+ label: "flex shrink-0 items-center !overflow-visible !text-clip text-[inherit] [&_*]:!text-[inherit]"
3937
3937
  },
3938
3938
  className: cn2(
3939
- "max-w-[12rem] shrink-0 border shadow-none",
3939
+ "shrink-0 border shadow-none",
3940
3940
  compound && "!rounded-none !border-0 !bg-transparent",
3941
3941
  menuButtonRadiusClass,
3942
3942
  isActive || isOpen ? "" : "hover:!bg-[var(--monkeys-component-navigation-headbar-item-hover-background,hsl(var(--muted)))] hover:!text-[var(--monkeys-component-navigation-headbar-item-hover-foreground,hsl(var(--foreground)))]"
@@ -4007,14 +4007,14 @@ function NavigationHeadbarMenu({
4007
4007
  "span",
4008
4008
  {
4009
4009
  "data-navigation-headbar-selected-child": activeChild.id,
4010
- className: "flex min-w-0 items-center gap-1.5 whitespace-nowrap",
4010
+ className: "flex shrink-0 items-center gap-1.5 whitespace-nowrap",
4011
4011
  children: [
4012
4012
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: rootLabel }),
4013
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: ": " }),
4014
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate", children: activeChildLabel })
4013
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: "/" }),
4014
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: activeChildLabel })
4015
4015
  ]
4016
4016
  }
4017
- ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate whitespace-nowrap", children: rootLabel });
4017
+ ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "whitespace-nowrap", children: rootLabel });
4018
4018
  const title = activeChild ? getHeadbarSummaryTitle(rootLabel, activeChildLabel) : void 0;
4019
4019
  const primaryAction = item.children?.length ? /* @__PURE__ */ jsxRuntime.jsx(
4020
4020
  HeadbarNavMenuItem,
@@ -4040,7 +4040,7 @@ function NavigationHeadbarMenu({
4040
4040
  disabled: item.disabled,
4041
4041
  icon: item.icon,
4042
4042
  label: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 items-center gap-1.5", children: [
4043
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate whitespace-nowrap", children: label }),
4043
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "whitespace-nowrap", children: label }),
4044
4044
  item.trailing
4045
4045
  ] }),
4046
4046
  onClick: () => onNavigate?.(item.id),
@@ -4050,10 +4050,10 @@ function NavigationHeadbarMenu({
4050
4050
  ),
4051
4051
  classNames: {
4052
4052
  icon: "text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current",
4053
- label: "text-[inherit] [&_*]:!text-[inherit]"
4053
+ label: "shrink-0 !overflow-visible !text-clip text-[inherit] [&_*]:!text-[inherit]"
4054
4054
  },
4055
4055
  className: cn2(
4056
- "max-w-[12rem] shrink-0 border shadow-none",
4056
+ "shrink-0 border shadow-none",
4057
4057
  hasSecondaryAction && "!rounded-none !border-0 !bg-transparent",
4058
4058
  menuButtonRadiusClass,
4059
4059
  isActive ? "" : "hover:!bg-[var(--monkeys-component-navigation-headbar-item-hover-background,hsl(var(--muted)))] hover:!text-[var(--monkeys-component-navigation-headbar-item-hover-foreground,hsl(var(--foreground)))]"