Skip to content

@cloudflare/kumo@1.9.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 19:00
15b2fc7

Minor Changes

  • 23865db: feat(dropdown): add LinkItem for navigation links and fix icon rendering

    New Features:

    • Add DropdownMenu.LinkItem for navigation links (semantic <a> element with proper menu item behavior)
    • Upgrade @base-ui/react from 1.0.0 to 1.2.0
    • Add new primitives: csp-provider and drawer from Base UI 1.2.0

    Bug Fixes:

    • Fix icon prop not rendering on DropdownMenu.Item when no href is provided

    Deprecations:

    • href prop on DropdownMenu.Item is deprecated. Use DropdownMenu.LinkItem instead.

    Migration:

    // Before (deprecated)
    <DropdownMenu.Item href="https://example.com">Link</DropdownMenu.Item>
    
    // After (recommended)
    <DropdownMenu.LinkItem href="https://example.com" target="_blank">
      Link
    </DropdownMenu.LinkItem>

    DropdownMenu.LinkItem gives you full control over link attributes (target, rel, etc.) without the component making assumptions about your intent.

  • 68c2f0d: Add positionMethod prop to Popover.Content to control CSS positioning strategy. Use "fixed" when the popover needs to escape stacking contexts (e.g., inside sticky headers). Defaults to "absolute".

Patch Changes

  • 89cb5ec: Improve Flow diagram components with disabled node support and better connector rendering:
    • Add disabled prop to FlowNode for greying out connectors
    • Add align prop to FlowParallelNode for start/end alignment
    • Improve connector path rendering with smarter junction detection
    • Fix panning behavior to not interfere with node interactions