@cloudflare/kumo@1.9.0
Minor Changes
-
23865db: feat(dropdown): add LinkItem for navigation links and fix icon rendering
New Features:
- Add
DropdownMenu.LinkItemfor navigation links (semantic<a>element with proper menu item behavior) - Upgrade
@base-ui/reactfrom 1.0.0 to 1.2.0 - Add new primitives:
csp-provideranddrawerfrom Base UI 1.2.0
Bug Fixes:
- Fix
iconprop not rendering onDropdownMenu.Itemwhen nohrefis provided
Deprecations:
hrefprop onDropdownMenu.Itemis deprecated. UseDropdownMenu.LinkIteminstead.
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.LinkItemgives you full control over link attributes (target,rel, etc.) without the component making assumptions about your intent. - Add
-
68c2f0d: Add
positionMethodprop toPopover.Contentto 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
disabledprop to FlowNode for greying out connectors - Add
alignprop to FlowParallelNode for start/end alignment - Improve connector path rendering with smarter junction detection
- Fix panning behavior to not interfere with node interactions
- Add