@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.
@@ -3720,7 +3720,7 @@ function getHeadbarSummaryTitle(rootLabel, childLabel) {
3720
3720
  }
3721
3721
  const rootText = rootLabel.trim();
3722
3722
  const childText = childLabel.trim();
3723
- return rootText && childText ? `${rootText} ${childText}` : void 0;
3723
+ return rootText && childText ? `${rootText} / ${childText}` : void 0;
3724
3724
  }
3725
3725
  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)))]";
3726
3726
  var HEADBAR_DROPDOWN_CONTENT_STYLE = {
@@ -3910,10 +3910,10 @@ function HeadbarNavMenuItem({
3910
3910
  ),
3911
3911
  classNames: {
3912
3912
  icon: "text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current",
3913
- label: "flex min-w-0 items-center text-[inherit] [&_*]:!text-[inherit]"
3913
+ label: "flex shrink-0 items-center !overflow-visible !text-clip text-[inherit] [&_*]:!text-[inherit]"
3914
3914
  },
3915
3915
  className: cn2(
3916
- "max-w-[12rem] shrink-0 border shadow-none",
3916
+ "shrink-0 border shadow-none",
3917
3917
  compound && "!rounded-none !border-0 !bg-transparent",
3918
3918
  menuButtonRadiusClass,
3919
3919
  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)))]"
@@ -3984,14 +3984,14 @@ function NavigationHeadbarMenu({
3984
3984
  "span",
3985
3985
  {
3986
3986
  "data-navigation-headbar-selected-child": activeChild.id,
3987
- className: "flex min-w-0 items-center gap-1.5 whitespace-nowrap",
3987
+ className: "flex shrink-0 items-center gap-1.5 whitespace-nowrap",
3988
3988
  children: [
3989
3989
  /* @__PURE__ */ jsx("span", { className: "shrink-0", children: rootLabel }),
3990
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: ": " }),
3991
- /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: activeChildLabel })
3990
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: "/" }),
3991
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: activeChildLabel })
3992
3992
  ]
3993
3993
  }
3994
- ) : /* @__PURE__ */ jsx("span", { className: "truncate whitespace-nowrap", children: rootLabel });
3994
+ ) : /* @__PURE__ */ jsx("span", { className: "whitespace-nowrap", children: rootLabel });
3995
3995
  const title = activeChild ? getHeadbarSummaryTitle(rootLabel, activeChildLabel) : void 0;
3996
3996
  const primaryAction = item.children?.length ? /* @__PURE__ */ jsx(
3997
3997
  HeadbarNavMenuItem,
@@ -4017,7 +4017,7 @@ function NavigationHeadbarMenu({
4017
4017
  disabled: item.disabled,
4018
4018
  icon: item.icon,
4019
4019
  label: /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 items-center gap-1.5", children: [
4020
- /* @__PURE__ */ jsx("span", { className: "truncate whitespace-nowrap", children: label }),
4020
+ /* @__PURE__ */ jsx("span", { className: "whitespace-nowrap", children: label }),
4021
4021
  item.trailing
4022
4022
  ] }),
4023
4023
  onClick: () => onNavigate?.(item.id),
@@ -4027,10 +4027,10 @@ function NavigationHeadbarMenu({
4027
4027
  ),
4028
4028
  classNames: {
4029
4029
  icon: "text-[inherit] [&_*]:!text-[inherit] [&_svg]:!stroke-current",
4030
- label: "text-[inherit] [&_*]:!text-[inherit]"
4030
+ label: "shrink-0 !overflow-visible !text-clip text-[inherit] [&_*]:!text-[inherit]"
4031
4031
  },
4032
4032
  className: cn2(
4033
- "max-w-[12rem] shrink-0 border shadow-none",
4033
+ "shrink-0 border shadow-none",
4034
4034
  hasSecondaryAction && "!rounded-none !border-0 !bg-transparent",
4035
4035
  menuButtonRadiusClass,
4036
4036
  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)))]"