🐞 Bug Fixes
- google-maps: Prevent zoom/pan reset when overlay toggles - by @harlan-zw in https://github.com/nuxt/scripts/issues/685 (0e4ae)
No significant changes
ScriptGoogleMapsStaticMap as standalone component - by @harlan-zw in https://github.com/nuxt/scripts/issues/673 (6947c)data-state - by @harlan-zw (61319)=== false check causing type error in registry - by @harlan-zw (f53a1)$attrs to overlay view - by @DamianGlowala and Damian Głowala in https://github.com/nuxt/scripts/issues/672 (e6ecf)The Sidebar component provides a responsive application sidebar that stays fixed on desktop and transforms into a Modal, Slideover, or Drawer on mobile. It supports three visual variants (sidebar, floating, inset) and three collapsible modes (offcanvas, icon, none):
<template>
<USidebar v-model:open="open" collapsible="icon">
<template #header>
<Logo />
</template>
<UNavigationMenu :items="items" />
<template #footer>
<UserMenu />
</template>
</USidebar>
</template>
We're introducing 3 new components to build richer AI chat interfaces:
These components integrate seamlessly with the AI SDK message parts:
<template>
<UChatMessages :messages="messages" :status="status">
<template #content="{ message }">
<template v-for="(part, index) in message.parts" :key="index">
<UChatReasoning
v-if="isReasoningUIPart(part)"
:text="part.reasoning"
:streaming="isReasoningStreaming(message, index, chat)"
/>
<UChatTool
v-else-if="isToolInvocationUIPart(part)"
:text="part.toolInvocation.toolName"
:streaming="isToolStreaming(part)"
/>
<MDC v-else-if="isTextUIPart(part)" :value="part.text" />
</template>
</template>
</UChatMessages>
</template>
moduleDependencies to manipulate options (#5384)This release adopts Nuxt's new moduleDependencies API to declaratively manage sub-module dependencies (@nuxt/icon, @nuxt/fonts, @nuxtjs/color-mode, @nuxtjs/mdc) instead of manually installing them at runtime. This requires Nuxt >= 4.1.0.
files slot (12d6020)trueValue / falseValue props (#6150) (91c6356)highlight-variant prop (#5746) (df080ce)filter prop (#6153) (a529b43)fileImage prop (#5935) (40f9c2e)autocomplete prop (#6026) (ee8a248)range prop (#6203) (c124f29)moduleDependencies to manipulate options (#5384) (dd3f5c5)lift calls for unavailable list extensions (#6100) (065db6b)status and statusText properties (1350d62), closes #6134close:prevent emit (#6226) (9a0d501)Full Changelog: https://github.com/nuxt/ui/compare/v4.5.1...v4.6.0
Full Changelog: https://github.com/nuxt-content/nuxt-studio/compare/v1.5.0...v1.5.1
ScriptGoogleMapsGeoJson component - by @harlan-zw in https://github.com/nuxt/scripts/issues/655 (ee65e)ScriptGoogleMapsGeoJson component " - by @harlan-zw in https://github.com/nuxt/scripts/issues/655 (28f80)Full Changelog: https://github.com/nuxt-content/nuxt-studio/compare/v1.4.0...v1.5.0