Skip to content

v5 #5473

Description

@benjamincanac

There is no v5 release planned at the moment, I'm just opening this issue to write and remember some breaking changes that we should consider in the future:

  • Simplify NavigationMenu to only support horizontal orientation
  • Create another NavigationMenu for vertical orientation and merge with ContentNavigation (maybe NavigationAccordion?)
  • DropdownMenu & ContextMenu item label type should have the same size as other components (we might need to introduce a new type)
  • Split components that contains multiple UI components like Header and DashboardSidebar mobile menus, it's hard to proxy every prop and events this way
  • Rework Dashboard components to use a single root div when resizable + rework provider context
  • Uniformize props that extends ButtonsProps like links, actions, etc. into buttons
  • Uniformize duplicated components like Card and PageCard
  • Bump --ui-container to 90rem as it seems to be the defaults nowadays
  • Rename input and searchInput props respectively from CommandPalette and SelectMenu to filter for consistency with feat(DropdownMenu): add filter prop #6153
  • Explore the idea of having elements (buttons, input, etc.) always square (same padding on x and y) as it creates issues for example in collapsed sidebar for NavigationMenu or for DropdownMenu alignment when the button is only an icon vs it has a label
  • Unify header structure across Modal, Slideover, and Drawer to match the Sidebar pattern with wrapper (title + description) + actions slot (custom buttons + close) feat(Sidebar): new component #6038
  • Rework NavigationMenu collapsed behavior: use CSS transitions (opacity/width) instead of display: none so labels animate smoothly with sidebar width transitions, decouple visual collapse (CSS-driven) from behavioral collapse (tooltip/popover activation), and eliminate the need for manual :collapsed wiring
  • Rework close buttons so they are no longer absolute positioned (Empty div on Slideover when title or description props are not used #5336 (comment))
  • Move @tiptap/* and embla-* to peerDependencies https://github.com/nuxt/ui/blob/v4/package.json#L144-L160 https://github.com/nuxt/ui/blob/v4/package.json#L168-L174
  • Maybe get rid of Fuse.js which is only used in CommandPalette? 🤔 We could use useFilter like SelectMenu, InputMenu, etc.
  • Consistent use of start / end instead of left / right or leading / trailing v5 #5473 (comment)
  • Migrate ColorPicker to use https://reka-ui.com/docs/components/color-area / https://reka-ui.com/docs/components/color-slider
  • Configure default Toast expand to false so it's stacked by default

Please don't comment for feature requests or new components, those aren't related to a major version and can be integrated into v4. Such comments will be hidden to prevent flood like it did in #1289.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions