npm @nuxt/ui 3.0.0-alpha.13
v3.0.0-alpha.13

5 days ago

✨ Highlights

🎨 Tailwind CSS classes

Thanks to #2967, you can now use classes like text-primary dark:text-primary-400 like in Nuxt UI v2. We dynamically write into the @theme directive of Tailwind CSS to define the Nuxt UI design system colors (theme.colors) as Tailwind CSS colors.

🚨 Breaking Changes

  • useToast: don't return a promise on add
  • Toast: rename click to onClick for consistency
  • Alert/Toast: add orientation prop

🚀 Features

  • Alert/Toast: add orientation prop (2c192ac)
  • Badge: add support within button groups (#3224) (10fb843)
  • Card: add variant prop (847d4aa)
  • CommandPalette: support link props in items (e2b78a7), closes #3190
  • ContextMenu/DropdownMenu/NavigationMenu: add external-icon prop (5846c1e), closes #2996
  • Drawer: add inset prop (6d9b9ed), closes #2994
  • locale: add Azerbaijani language (#3209) (0fb6753)
  • locale: add Bengali (বাংলা) language (#3321) (1d09a2a)
  • module: generate tailwindcss theme colors (#2967) (443a0be)
  • Table: extends core options and support other options like pagination (#3177) (4aa3179)
  • Toast: handle vnodes in title and description (abd2be1), closes #3226
  • unplugin: expose options for embedded plugins, throw warnings for duplication (#3207) (6c20f8a)
  • useToast: proxy emits (089185f)

🐛 Bug Fixes

  • App: wrap ModalProvider / SlideoverProvider inside TooltipProvider (cd0a9d3), closes #3236
  • Badge: missing UAvatar import (49dd088), closes #3203
  • Calendar/InputMenu/Textarea: add missing PartialString type on ui prop (9d29e0b), closes #3299
  • Card: remove shadow-sm for consistency (8097fff)
  • Link: allow usage without vue-router in vue (f55e869), closes #3001
  • locale: export km (#3201) (995e07d)
  • Modal/Slideover: improve title & description accessibility (e419dcb), closes #3267 #3215
  • Modal: always fullscreen on mobile (#2637) (7641d89)
  • NavigationMenu: disable collapsible with collapsed prop (07e1b4f)
  • NavigationMenu: remove negative mb causing overflow issues (0e46c3e)
  • NavigationMenu: wrong level compute on vertical orientation (c1c9da4)
  • SelectMenu: wrap content with FocusScope (e7e7585), closes #2657
  • Table: proxy props without useForwardProps (f0553eb)
  • Toast: rename click to onClick for consistency (533e889)
  • useToast: don't return a promise on add (153f341)

👋 New Contributors

Full Changelog: v3.0.0-alpha.12...v3.0.0-alpha.13

Don't miss a new ui release

NewReleases is sending notifications on new releases.