{
  "schemaVersion": 1,
  "target": "react",
  "name": "toolbar",
  "version": "0.1.0",
  "category": "layout",
  "title": "Toolbar",
  "description": "A toolbar with one shared tooltip that glides and resizes between items, one hover highlight, and toggle groups whose adjacent pressed toggles merge into a single shape.",
  "tags": [
    "toolbar",
    "toggle",
    "format bar",
    "editor",
    "tooltip",
    "roving tabindex",
    "base-ui"
  ],
  "requires": {
    "projectTypes": [
      "next",
      "vite-react"
    ],
    "styling": "tailwind-v4"
  },
  "npmDependencies": {
    "@base-ui/react": "^1.9.0",
    "motion": "^14.14.0"
  },
  "registryDependencies": [],
  "docsPath": "/components/toolbar",
  "props": [
    {
      "name": "aria-label",
      "type": "string",
      "description": "Toolbar, ToolbarToggleGroup: names the toolbar or group for screen readers. Required."
    },
    {
      "name": "tooltipSide",
      "type": "\"top\" | \"bottom\"",
      "default": "\"top\"",
      "description": "Toolbar: side the shared tooltip appears on."
    },
    {
      "name": "tooltipDelay",
      "type": "number",
      "default": "400",
      "description": "Toolbar: hover time before the tooltip first appears. Moving between items while it is up, or returning within 400ms, is instant."
    },
    {
      "name": "orientation / loopFocus / disabled",
      "type": "Base UI Toolbar props",
      "description": "Toolbar: passed to Base UI Toolbar.Root."
    },
    {
      "name": "label / shortcut / keys",
      "type": "string",
      "description": "ToolbarButton, ToolbarToggle: the tooltip text and accessible name, the shortcut shown in the tooltip, and its aria-keyshortcuts form such as Meta+B."
    },
    {
      "name": "multiple",
      "type": "boolean",
      "default": "false",
      "description": "ToolbarToggleGroup: lets several toggles be pressed; adjacent pressed toggles join into one shape. Without it one fill glides to the pressed toggle."
    },
    {
      "name": "value / defaultValue / onValueChange",
      "type": "string[]",
      "description": "ToolbarToggleGroup: the pressed values."
    },
    {
      "name": "allowEmpty",
      "type": "boolean",
      "default": "false",
      "description": "ToolbarToggleGroup: in single mode, lets the pressed toggle be released."
    },
    {
      "name": "ToolbarToggle value",
      "type": "string",
      "description": "The value this toggle adds to its group."
    }
  ],
  "accessibility": [
    "Built on Base UI Toolbar: role=\"toolbar\" with a roving tabindex, so Tab enters once and Arrow keys, Home, and End move between items.",
    "Toggles are buttons with aria-pressed inside labeled groups; every icon-only item takes its accessible name from label and can expose aria-keyshortcuts.",
    "The shared tooltip repeats the visible label, so it is aria-hidden. It appears on keyboard focus in place without gliding, hides on Escape, on press, and when focus or the pointer leaves.",
    "Keyboard moves never animate position; only pointer hover glides the tooltip and highlight.",
    "Under reduced motion the tooltip, hover highlight, and alignment fill move without animating and toggles press without scaling."
  ],
  "states": [
    "rest",
    "hover",
    "tooltip",
    "pressed",
    "merged",
    "disabled"
  ],
  "files": [
    {
      "path": "ui/toolbar.tsx",
      "content": "\"use client\";\n\nimport { Toggle as BaseToggle } from \"@base-ui/react/toggle\";\nimport { ToggleGroup as BaseToggleGroup } from \"@base-ui/react/toggle-group\";\nimport { Toolbar as BaseToolbar } from \"@base-ui/react/toolbar\";\nimport { AnimatePresence, MotionConfig, motion, useReducedMotion } from \"motion/react\";\nimport {\n  createContext,\n  useContext,\n  useEffect,\n  useId,\n  useLayoutEffect,\n  useRef,\n  useState,\n} from \"react\";\n\nfunction cx(...classes: (string | false | null | undefined)[]) {\n  return classes.filter(Boolean).join(\" \");\n}\n\nconst ease = [0.23, 1, 0.32, 1] as const;\nconst glide = { type: \"spring\", bounce: 0, duration: 0.28 } as const;\n\ninterface Tip {\n  label: string;\n  shortcut?: string;\n  /** Center of the item, relative to the toolbar. */\n  center: number;\n  /** Whether the bubble jumps there instead of gliding. */\n  snap: boolean;\n}\n\ninterface Highlight {\n  x: number;\n  width: number;\n  visible: boolean;\n  snap: boolean;\n}\n\nexport interface ToolbarProps extends Omit<BaseToolbar.Root.Props, \"className\"> {\n  /** Names the toolbar for screen readers. */\n  \"aria-label\": string;\n  /** Side of the toolbar the shared tooltip appears on. */\n  tooltipSide?: \"top\" | \"bottom\";\n  /** Milliseconds of hover before the tooltip first appears. Moving to another item while it is up is instant. */\n  tooltipDelay?: number;\n  className?: string;\n}\n\n/**\n * A toolbar with one shared tooltip and one hover highlight. The tooltip waits briefly before it\n * first appears, then glides and resizes from item to item instead of popping per item, and hides\n * at once when the pointer leaves. Arrow keys move focus between items (roving tabindex); keyboard\n * focus shows the tooltip in place without gliding.\n */\nexport function Toolbar({ tooltipSide = \"top\", tooltipDelay = 400, className, children, ...props }: ToolbarProps) {\n  const reduce = useReducedMotion();\n  const rootRef = useRef<HTMLDivElement>(null);\n  const [tip, setTip] = useState<Tip | null>(null);\n  const [tipVisible, setTipVisible] = useState(false);\n  const [highlight, setHighlight] = useState<Highlight>({ x: 0, width: 0, visible: false, snap: true });\n  const showTimer = useRef<number | undefined>(undefined);\n  const lastHidden = useRef(0);\n  const visibleRef = useRef(false);\n  visibleRef.current = tipVisible;\n\n  useEffect(() => () => window.clearTimeout(showTimer.current), []);\n\n  const measure = (item: HTMLElement) => {\n    const root = rootRef.current!;\n    const r = item.getBoundingClientRect();\n    const base = root.getBoundingClientRect();\n    return { x: r.left - base.left - root.clientLeft, width: r.width };\n  };\n\n  const describe = (item: HTMLElement, snap: boolean): Tip | null => {\n    const label = item.dataset.toolbarLabel;\n    if (!label) return null;\n    const { x, width } = measure(item);\n    return { label, shortcut: item.dataset.toolbarShortcut || undefined, center: x + width / 2, snap };\n  };\n\n  const hideTip = () => {\n    window.clearTimeout(showTimer.current);\n    if (visibleRef.current) lastHidden.current = Date.now();\n    setTipVisible(false);\n  };\n\n  const itemFrom = (target: EventTarget | null) => {\n    const el = (target as HTMLElement | null)?.closest<HTMLElement>(\"[data-toolbar-item]\");\n    return el && rootRef.current?.contains(el) && !el.hasAttribute(\"data-disabled\") ? el : null;\n  };\n\n  return (\n    <MotionConfig reducedMotion=\"user\">\n      <BaseToolbar.Root\n        ref={rootRef}\n        className={cx(\n          \"relative isolate inline-flex items-center gap-0.5 rounded-xl border p-1\",\n          \"border-zinc-950/10 bg-white shadow-[0_1px_2px_rgb(0_0_0/0.04)]\",\n          \"dark:border-white/10 dark:bg-black dark:shadow-[inset_0_1px_0_rgb(255_255_255/0.06)]\",\n          className,\n        )}\n        onPointerOver={(event) => {\n          if (event.pointerType === \"touch\") return;\n          const item = itemFrom(event.target);\n          if (!item) return;\n          const { x, width } = measure(item);\n          setHighlight((h) => ({ x, width, visible: true, snap: !h.visible }));\n          if (visibleRef.current) {\n            const next = describe(item, false);\n            if (next) setTip(next);\n            return;\n          }\n          window.clearTimeout(showTimer.current);\n          // Recently hidden: come back without the delay.\n          const warm = Date.now() - lastHidden.current < 400;\n          showTimer.current = window.setTimeout(\n            () => {\n              const next = describe(item, true);\n              if (!next) return;\n              setTip(next);\n              setTipVisible(true);\n            },\n            warm ? 0 : tooltipDelay,\n          );\n        }}\n        onPointerLeave={() => {\n          setHighlight((h) => ({ ...h, visible: false }));\n          hideTip();\n        }}\n        onPointerDown={hideTip}\n        onFocus={(event) => {\n          const item = itemFrom(event.target);\n          if (!item || !item.matches(\":focus-visible\")) return;\n          window.clearTimeout(showTimer.current);\n          const next = describe(item, true);\n          if (!next) return;\n          setTip(next);\n          setTipVisible(true);\n        }}\n        onBlur={(event) => {\n          if (!rootRef.current?.contains(event.relatedTarget as Node | null)) hideTip();\n        }}\n        onKeyDown={(event) => {\n          if (event.key === \"Escape\" && visibleRef.current) {\n            event.stopPropagation();\n            hideTip();\n          }\n        }}\n        {...props}\n      >\n        <motion.span\n          aria-hidden=\"true\"\n          className=\"pointer-events-none absolute inset-y-1 left-0 -z-10 rounded-md bg-zinc-950/[0.045] dark:bg-white/[0.07]\"\n          initial={false}\n          animate={{ x: highlight.x, width: highlight.width, opacity: highlight.visible ? 1 : 0 }}\n          transition={\n            reduce\n              ? { duration: 0 }\n              : {\n                  x: highlight.snap ? { duration: 0 } : glide,\n                  width: highlight.snap ? { duration: 0 } : glide,\n                  opacity: { duration: highlight.visible ? 0.15 : 0.12, ease: \"easeOut\" },\n                }\n          }\n        />\n        {children}\n        <SharedTooltip tip={tip} visible={tipVisible} side={tooltipSide} reduce={!!reduce} />\n      </BaseToolbar.Root>\n    </MotionConfig>\n  );\n}\n\nfunction SharedTooltip({ tip, visible, side, reduce }: { tip: Tip | null; visible: boolean; side: \"top\" | \"bottom\"; reduce: boolean }) {\n  const labelRef = useRef<HTMLSpanElement>(null);\n  const [width, setWidth] = useState(0);\n  const key = tip ? `${tip.label}|${tip.shortcut ?? \"\"}` : \"\";\n\n  useLayoutEffect(() => {\n    if (labelRef.current) setWidth(labelRef.current.offsetWidth + 16);\n  }, [key]);\n\n  if (!tip) return null;\n  const snap = reduce || tip.snap;\n\n  return (\n    <motion.div\n      aria-hidden=\"true\"\n      className={cx(\n        \"pointer-events-none absolute left-0 z-10 flex h-6 items-center justify-center overflow-hidden rounded-md\",\n        \"bg-zinc-900 text-xs font-medium whitespace-nowrap text-white shadow-[0_4px_12px_-4px_rgb(0_0_0/0.3)]\",\n        \"dark:bg-zinc-100 dark:text-zinc-900\",\n        side === \"top\" ? \"bottom-full mb-2 origin-bottom\" : \"top-full mt-2 origin-top\",\n      )}\n      initial={false}\n      animate={{ x: tip.center - width / 2, width, opacity: visible ? 1 : 0, scale: visible || reduce ? 1 : 0.97 }}\n      transition={{\n        x: snap ? { duration: 0 } : glide,\n        width: snap ? { duration: 0 } : glide,\n        opacity: visible ? { duration: reduce ? 0 : 0.14, ease } : { duration: 0.05 },\n        scale: visible ? { duration: 0.16, ease } : { duration: 0 },\n      }}\n    >\n      <AnimatePresence mode=\"popLayout\" initial={false}>\n        <motion.span\n          key={key}\n          ref={labelRef}\n          className=\"inline-flex items-center gap-1.5\"\n          initial={snap ? false : { opacity: 0, filter: \"blur(2px)\" }}\n          animate={{ opacity: 1, filter: \"blur(0px)\" }}\n          exit={snap ? { opacity: 0, transition: { duration: 0 } } : { opacity: 0, filter: \"blur(2px)\", transition: { duration: 0.1 } }}\n          transition={{ duration: 0.16, ease }}\n        >\n          {tip.label}\n          {tip.shortcut ? <span className=\"font-mono text-[11px] text-white/55 dark:text-zinc-900/55\">{tip.shortcut}</span> : null}\n        </motion.span>\n      </AnimatePresence>\n    </motion.div>\n  );\n}\n\nconst itemClass = cx(\n  \"group/tog relative inline-flex size-8 shrink-0 items-center justify-center rounded-md select-none\",\n  \"text-zinc-600 hover:text-zinc-950 data-[pressed]:text-zinc-950 dark:text-zinc-400 dark:hover:text-white dark:data-[pressed]:text-white\",\n  \"transition-[color,scale] duration-150 ease-out active:duration-100 motion-safe:active:scale-[0.94] motion-reduce:transition-none\",\n  \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-offset-1 focus-visible:outline-sky-500\",\n  \"data-[disabled]:pointer-events-none data-[disabled]:opacity-40\",\n  \"[&_svg]:size-4 [&_svg]:shrink-0\",\n);\n\nexport interface ToolbarButtonProps extends Omit<BaseToolbar.Button.Props, \"className\"> {\n  /** Shown in the shared tooltip and used as the accessible name. */\n  label: string;\n  /** Shown beside the label in the tooltip and exposed as `aria-keyshortcuts` when `keys` is set. */\n  shortcut?: string;\n  /** The shortcut in `aria-keyshortcuts` form, such as `Meta+K`. */\n  keys?: string;\n  className?: string;\n}\n\n/** An icon button in the toolbar. */\nexport function ToolbarButton({ label, shortcut, keys, className, children, ...props }: ToolbarButtonProps) {\n  return (\n    <BaseToolbar.Button\n      aria-label={label}\n      aria-keyshortcuts={keys}\n      data-toolbar-item=\"\"\n      data-toolbar-label={label}\n      data-toolbar-shortcut={shortcut}\n      className={cx(itemClass, className)}\n      {...props}\n    >\n      <span className=\"relative flex items-center justify-center\">{children}</span>\n    </BaseToolbar.Button>\n  );\n}\n\nconst GroupContext = createContext<{ multiple: boolean; value: readonly string[]; layoutId: string } | null>(null);\n\nexport interface ToolbarToggleGroupProps extends Omit<BaseToggleGroup.Props<string>, \"className\" | \"value\" | \"defaultValue\" | \"onValueChange\"> {\n  /** Names the group, such as \"Text style\". */\n  \"aria-label\": string;\n  /** Pressed values. */\n  value?: string[];\n  defaultValue?: string[];\n  onValueChange?: (value: string[]) => void;\n  /** Lets several toggles be pressed at once. Adjacent pressed toggles merge into one shape. */\n  multiple?: boolean;\n  /** In single mode, lets the pressed toggle be released so none is pressed. */\n  allowEmpty?: boolean;\n  className?: string;\n}\n\n/**\n * A group of toggles. With `multiple`, neighbors that are pressed together join into one continuous\n * shape. Without it, one fill glides to the pressed toggle.\n */\nexport function ToolbarToggleGroup({\n  multiple = false,\n  allowEmpty = false,\n  value: valueProp,\n  defaultValue = [],\n  onValueChange,\n  className,\n  children,\n  ...props\n}: ToolbarToggleGroupProps) {\n  const ref = useRef<HTMLDivElement>(null);\n  const [valueState, setValueState] = useState<string[]>(defaultValue);\n  const value = valueProp ?? valueState;\n  const layoutId = `toolbar-fill-${useId()}`;\n\n  // Mark which pressed toggles touch a pressed neighbor, before paint, so the shapes join without a flash.\n  useLayoutEffect(() => {\n    const items = Array.from(ref.current?.querySelectorAll<HTMLElement>(\"[data-toggle-value]\") ?? []);\n    const pressed = items.map((el) => value.includes(el.dataset.toggleValue ?? \"\"));\n    items.forEach((el, i) => {\n      el.toggleAttribute(\"data-join-prev\", multiple && pressed[i] && !!pressed[i - 1]);\n      el.toggleAttribute(\"data-join-next\", multiple && pressed[i] && !!pressed[i + 1]);\n    });\n  }, [value, multiple]);\n\n  return (\n    <GroupContext.Provider value={{ multiple, value, layoutId }}>\n      <BaseToggleGroup\n        ref={ref}\n        multiple={multiple}\n        value={value}\n        onValueChange={(next) => {\n          if (!multiple && next.length === 0 && !allowEmpty) return;\n          if (valueProp === undefined) setValueState(next);\n          onValueChange?.(next);\n        }}\n        render={<BaseToolbar.Group />}\n        className={cx(\"flex items-center gap-0.5\", className)}\n        {...props}\n      >\n        {children}\n      </BaseToggleGroup>\n    </GroupContext.Provider>\n  );\n}\n\nexport interface ToolbarToggleProps extends Omit<BaseToggle.Props<string>, \"className\" | \"value\"> {\n  value: string;\n  /** Shown in the shared tooltip and used as the accessible name. */\n  label: string;\n  shortcut?: string;\n  /** The shortcut in `aria-keyshortcuts` form, such as `Meta+B`. */\n  keys?: string;\n  className?: string;\n}\n\n/** A toggle inside a ToolbarToggleGroup. */\nexport function ToolbarToggle({ value, label, shortcut, keys, className, children, ...props }: ToolbarToggleProps) {\n  const group = useContext(GroupContext);\n  const pressed = group?.value.includes(value) ?? false;\n\n  return (\n    <BaseToolbar.Button\n      render={<BaseToggle value={value} {...props} />}\n      aria-label={label}\n      aria-keyshortcuts={keys}\n      data-toolbar-item=\"\"\n      data-toolbar-label={label}\n      data-toolbar-shortcut={shortcut}\n      data-toggle-value={value}\n      className={cx(itemClass, className)}\n    >\n      {group?.multiple === false ? (\n        pressed ? (\n          <motion.span\n            aria-hidden=\"true\"\n            layoutId={group.layoutId}\n            transition={{ type: \"spring\", bounce: 0, duration: 0.32 }}\n            className=\"absolute inset-0 rounded-md bg-zinc-950/[0.08] shadow-[inset_0_0_0_1px_rgb(0_0_0/0.06)] dark:bg-white/[0.13] dark:shadow-[inset_0_0_0_1px_rgb(255_255_255/0.08)]\"\n          />\n        ) : null\n      ) : (\n        <span\n          aria-hidden=\"true\"\n          className={cx(\n            \"absolute inset-0 rounded-md bg-zinc-950/[0.08] dark:bg-white/[0.13]\",\n            \"opacity-0 motion-safe:scale-x-[0.55]\",\n            \"transition-[opacity,scale,border-radius] duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none\",\n            \"group-data-[pressed]/tog:opacity-100 group-data-[pressed]/tog:scale-x-100\",\n            // Joined to a pressed neighbor: square that side, bridge the 2px gap, and grow from it.\n            \"group-data-[join-prev]/tog:-left-px group-data-[join-prev]/tog:origin-left group-data-[join-prev]/tog:rounded-l-none\",\n            \"group-data-[join-next]/tog:-right-px group-data-[join-next]/tog:origin-right group-data-[join-next]/tog:rounded-r-none\",\n            \"group-data-[join-prev]/tog:group-data-[join-next]/tog:origin-center\",\n          )}\n        />\n      )}\n      <span className=\"relative flex items-center justify-center\">{children}</span>\n    </BaseToolbar.Button>\n  );\n}\n\n/** A hairline between groups. */\nexport function ToolbarSeparator({ className, ...props }: Omit<BaseToolbar.Separator.Props, \"className\"> & { className?: string }) {\n  return <BaseToolbar.Separator className={cx(\"mx-1 h-5 w-px shrink-0 bg-zinc-950/10 dark:bg-white/15\", className)} {...props} />;\n}\n"
    }
  ],
  "example": {
    "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { Toolbar, ToolbarButton, ToolbarSeparator, ToolbarToggle, ToolbarToggleGroup } from \"@/components/shaken/ui/toolbar\";\n\nconst icon = { viewBox: \"0 0 16 16\", fill: \"none\", stroke: \"currentColor\", strokeWidth: 1.5, strokeLinecap: \"round\", strokeLinejoin: \"round\" } as const;\n\nconst align = { left: \"text-left\", center: \"text-center\", right: \"text-right\" } as const;\n\nexport default function ToolbarExample() {\n  const [style, setStyle] = useState<string[]>([\"bold\"]);\n  const [alignment, setAlignment] = useState<string[]>([\"left\"]);\n  const bold = style.includes(\"bold\");\n  const italic = style.includes(\"italic\");\n  const underline = style.includes(\"underline\");\n\n  return (\n    <div className=\"grid w-full max-w-md gap-4\">\n      <Toolbar aria-label=\"Text formatting\" className=\"justify-self-start\">\n        <ToolbarToggleGroup multiple aria-label=\"Text style\" value={style} onValueChange={setStyle}>\n          <ToolbarToggle value=\"bold\" label=\"Bold\" shortcut=\"⌘B\" keys=\"Meta+B\">\n            <svg {...icon}><path d=\"M4.75 2.75h4a2.5 2.5 0 0 1 0 5h-4zM4.75 7.75h4.75a2.75 2.75 0 0 1 0 5.5H4.75z\" /></svg>\n          </ToolbarToggle>\n          <ToolbarToggle value=\"italic\" label=\"Italic\" shortcut=\"⌘I\" keys=\"Meta+I\">\n            <svg {...icon}><path d=\"M6.75 2.75h5M4.25 13.25h5M9.75 2.75l-3.5 10.5\" /></svg>\n          </ToolbarToggle>\n          <ToolbarToggle value=\"underline\" label=\"Underline\" shortcut=\"⌘U\" keys=\"Meta+U\">\n            <svg {...icon}><path d=\"M4.25 2.75v4.5a3.75 3.75 0 0 0 7.5 0v-4.5M3.25 13.75h9.5\" /></svg>\n          </ToolbarToggle>\n        </ToolbarToggleGroup>\n        <ToolbarSeparator />\n        <ToolbarToggleGroup aria-label=\"Alignment\" value={alignment} onValueChange={setAlignment}>\n          <ToolbarToggle value=\"left\" label=\"Align left\">\n            <svg {...icon}><path d=\"M2.75 3.75h10.5M2.75 7.25h6.5M2.75 10.75h10.5M2.75 14.25h6.5\" /></svg>\n          </ToolbarToggle>\n          <ToolbarToggle value=\"center\" label=\"Align center\">\n            <svg {...icon}><path d=\"M2.75 3.75h10.5M4.75 7.25h6.5M2.75 10.75h10.5M4.75 14.25h6.5\" /></svg>\n          </ToolbarToggle>\n          <ToolbarToggle value=\"right\" label=\"Align right\">\n            <svg {...icon}><path d=\"M2.75 3.75h10.5M6.75 7.25h6.5M2.75 10.75h10.5M6.75 14.25h6.5\" /></svg>\n          </ToolbarToggle>\n        </ToolbarToggleGroup>\n        <ToolbarSeparator />\n        <ToolbarButton label=\"Insert link\" shortcut=\"⌘K\" keys=\"Meta+K\">\n          <svg {...icon}><path d=\"M6.75 9.25a2.75 2.75 0 0 0 3.9.1l2-2a2.75 2.75 0 0 0-3.9-3.9l-.6.6M9.25 6.75a2.75 2.75 0 0 0-3.9-.1l-2 2a2.75 2.75 0 0 0 3.9 3.9l.6-.6\" /></svg>\n        </ToolbarButton>\n        <ToolbarButton label=\"Add comment\" shortcut=\"⌘⌥M\" keys=\"Meta+Alt+M\">\n          <svg {...icon}><path d=\"M2.75 4.25a1.5 1.5 0 0 1 1.5-1.5h7.5a1.5 1.5 0 0 1 1.5 1.5v5.5a1.5 1.5 0 0 1-1.5 1.5H7l-3 2.5v-2.5h0a1.25 1.25 0 0 1-1.25-1.25z\" /></svg>\n        </ToolbarButton>\n      </Toolbar>\n      <p\n        className={\n          \"text-sm leading-relaxed text-zinc-700 transition-[font-weight] duration-200 ease-out motion-reduce:transition-none dark:text-zinc-300 \" +\n          align[(alignment[0] ?? \"left\") as keyof typeof align] +\n          (bold ? \" font-semibold text-zinc-950 dark:text-white\" : \" font-normal\") +\n          (italic ? \" italic\" : \"\")\n        }\n      >\n        <span\n          className={\n            \"bg-[linear-gradient(currentColor,currentColor)] bg-[length:0%_1px] bg-left-bottom bg-no-repeat pb-px \" +\n            \"transition-[background-size] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none \" +\n            (underline ? \"bg-[length:100%_1px]\" : \"\")\n          }\n        >\n          Release notes for 2.4: approvals now time out after 24 hours, and a reviewer can reassign a pending tool call\n          without restarting the run.\n        </span>\n      </p>\n    </div>\n  );\n}\n"
  }
}
