2588 Commits

Author SHA1 Message Date
reslear fab73ab2ec fix(LocaleSelect): add missing keys in emoji mapping (#6629)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-22 16:43:44 +02:00
ReCoN-96 7225e9f451 fix(module): remove inline script in SPA mode for strict CSP (#6577)
Co-authored-by: Vincent Legros <vincent.legros@numberly.com>
2026-06-16 17:15:26 +02:00
Benjamin Canac cccb3d5a4a feat(vite): add root option to override .nuxt-ui directory location (#6595) 2026-06-16 16:25:07 +02:00
Benjamin Canac 09eb639a33 feat(components): allow hiding icon with false (#6597) 2026-06-16 11:11:05 +02:00
Robin 006324aeb9 feat(Modal/Slideover): add leave and enter events (#6596) 2026-06-15 17:29:21 +02:00
Daniele Nicosia f99778e3e7 feat(ChatMessages): expose registerMessageRef (#6275)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-06-15 13:51:23 +02:00
Johnson Towoju 52d3c45478 fix(ProseCodeCollapse): cap root max-height instead of toggling pre height (#6565)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-12 17:42:07 +02:00
Hendrik Heil 238e291791 fix(templates): resolve vite root to an absolute path for #build aliases (#6586)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 14:33:29 +02:00
Benjamin Canac 02259a6ae9 fix(CommandPalette): only scroll to highlighted item when focused (#6579) 2026-06-12 11:13:12 +02:00
Benjamin Canac ca3c72eb66 feat(Calendar): add month and year selection (#6582)
Co-authored-by: onmax <22072217+onmax@users.noreply.github.com>
2026-06-11 19:00:04 +02:00
Benjamin Canac b026ca2cdb feat(theme): uniformize focus styles across components (#6576) 2026-06-11 17:19:04 +02:00
renovate[bot] 8c433975c8 chore(deps): update vue-tsc to ^3.3.4 (#6573)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-09 15:13:54 +02:00
Benjamin Canac e8d18c37a0 fix(Select): open menu on label click (#6575) 2026-06-09 15:04:54 +02:00
Benjamin Canac c3bef7a21b fix(SelectMenu): bind id and aria attributes on trigger (#6572) 2026-06-09 11:57:36 +02:00
Benjamin Canac 9e5b8a6bff fix(Tabs): render active indicator during SSR (#6570) 2026-06-09 10:26:36 +02:00
Benjamin Canac ea576e2f32 feat(theme): allow replacing slot classes with a function (#6562) 2026-06-08 17:50:02 +02:00
Benjamin Canac 52367b1ac3 fix(ProseKbd): type default slot as VNode[] 2026-06-08 15:36:14 +02:00
Ali Maher 89b30e8ebe feat(PinInput): add separator prop (#6392)
Co-authored-by: Ali Maher <ali@ali-pc.ali-pc>
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-08 15:29:04 +02:00
Benjamin Canac a2a8bc907a feat(module): add theme.unstyled option (#6551) 2026-06-08 15:27:01 +02:00
neukinal e9ab75888a fix(Link): set default for locale prop (#6563)
Co-authored-by: neukinal <TODO>
2026-06-08 09:34:16 +02:00
Benjamin Canac dc0515128e feat(useTour): new composable (#6557) 2026-06-05 16:54:08 +02:00
Enzo Innocenzi 5199b7e1d2 feat(ContentSearch/DashboardSearch): forward input config to command palette (#6312)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-05 16:41:43 +02:00
Benjamin Canac d850ae6053 feat(ScrollArea): add shadow prop (#6561) 2026-06-05 14:04:59 +02:00
Cydrick Nonog 4da3a5d343 feat(FileUpload): expose removeFile in slots (#6492) 2026-06-04 18:28:56 +02:00
Benjamin Canac af80a674a5 feat(Sidebar): add transition prop (#6484) 2026-06-04 17:23:45 +02:00
Martins Zeltins fa52538252 feat(locale): add Latvian language (#6552) 2026-06-04 17:23:01 +02:00
emilsgulbis f66eb65f5c feat(Select/SelectMenu): use multiple in theme (#6554) 2026-06-04 17:20:29 +02:00
renovate[bot] 5c8343041c chore(deps): update nuxt framework to ^4.4.7 (#6549)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-06-04 11:40:43 +02:00
Benjamin Canac ed2f955f09 fix(InputNumber/InputDate/InputTime/Calendar): restore locale prop (#6546) 2026-06-03 17:29:18 +02:00
Benjamin Canac 9afaeb2dc6 docs(toast): add duration prop
Resolves #6540
2026-06-03 16:54:42 +02:00
Benjamin Canac 0414dd0d1b fix(InputMenu/SelectMenu): re-highlight first item when items change (#6538)
Co-authored-by: lorado <4480983+lorado@users.noreply.github.com>
2026-06-03 14:55:00 +02:00
Benjamin Canac f8186e2d49 fix(Form): support setting the name attribute (#6539) 2026-06-03 14:54:02 +02:00
Benjamin Canac f0571c3786 fix(module): merge custom variants into AppConfig type (#6531) 2026-06-01 12:13:59 +02:00
Benjamin Canac ffaf163f77 fix(module): expose component theme keys in AppConfig type (#6520) 2026-05-28 14:41:24 +02:00
Benjamin Canac c9fc7a4183 docs: fix missing CSS variables on prerendered pages (#6519) 2026-05-28 12:54:36 +02:00
Benjamin Canac 7a0825ad6a fix(Form): add method="post" to prevent credential leaking via GET before hydration (#6512) 2026-05-28 10:27:15 +02:00
Benjamin Canac 2dac778034 fix(module): revert tagPriority to -2 for inline style tag 2026-05-27 12:12:18 +02:00
Thanet S. 5d82418c56 fix(locale): improve Thai translation accuracy and consistency (#6509) 2026-05-27 10:20:46 +02:00
Benjamin Canac f4d7cbe71f fix(Select/SelectMenu/InputMenu): add fallback for max-height (#6503) 2026-05-26 16:11:49 +02:00
Benjamin Canac 631f5dc543 fix(ContentSearch/DashboardSearch): proxy missing CommandPalette props (#6505) 2026-05-26 15:41:14 +02:00
Akuria d50c121c05 fix(Icon): avoid recursive icon resolution (#6495) 2026-05-26 10:36:21 +02:00
Maxime Pauvert eb468e6095 fix(ChatMessage): add wrap-break-word to content slot (#6476) 2026-05-21 15:36:21 +02:00
Maxime Pauvert 48685b6fa6 feat(ChatMessage): add body slot and improve actions alignment (#6460)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-05-21 14:57:26 +02:00
Benjamin Canac 2799fa6f2b fix(InputMenu)!: rename autocomplete prop to mode to free up HTML attribute (#6474) 2026-05-21 11:59:05 +02:00
renovate[bot] 3736eeeb2d chore(deps): update nuxt framework to ^4.4.6 (#6408)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2026-05-20 15:43:32 +02:00
Benjamin Canac f639b19db2 fix(ContentSearch): preserve intermediate ancestors in breadcrumb prefix (#6466) 2026-05-20 14:09:22 +02:00
Benjamin Canac f51b1e8809 fix(components): apply theme.prefix to hardcoded utility classes
Static utility classes inside Nuxt UI's own components (e.g.
`class="hidden lg:block"`, `class="dark:hidden"`,
`class="focus:outline-none peer"`) bypassed `applyPrefixToObject`,
which only walks theme objects. When a consumer set `theme.prefix`
(and Tailwind's matching `prefix(...)`), these classes silently
stopped applying — both light and dark variants of
ColorModeImage/Avatar/Button rendered simultaneously, mobile and
desktop ContentToc both showed, card overlay anchors lost focus
styles, etc.

Add an internal `usePrefix()` composable that reads
`appConfig.ui.prefix` and returns a `(classString) => prefixedClassString`
function, then wrap literal utility strings across affected
components: Page*, Color*, Content*, Banner, BlogPost,
ChangelogVersion, PageCard, PageFeature, User.
2026-05-19 17:16:05 +02:00
Benjamin Canac 083c2a9846 fix(module): ship stripped #build/ui.css fallback for tooling
Tools that resolve `#build/ui.css` via Node's `imports` field (Prettier
with `prettier-plugin-tailwindcss`, Tailwind IntelliSense) were reading
the shipped `.nuxt/ui.css`, which contained an unprefixed `@apply`
directive. With `theme.prefix` set, Tailwind threw `Cannot apply
unprefixed utility class 'antialiased'`, breaking Prettier and killing
IntelliSense.

Split the template in two: keep the dynamic `.nuxt/ui.css` for the
consumer's runtime (Vite alias resolves to their generated file with the
prefix correctly interpolated), and ship a new stripped `.nuxt/ui.static.css`
containing only the `@theme` blocks — no `@source` directives (paths
don't exist on consumer machines) and no body rule (handled at runtime).

Resolves #5504, resolves #6070.
2026-05-19 16:44:53 +02:00
Benjamin Canac a1bef8babc feat(ContentSearch): add async search support via useSearchCollection (#6432) 2026-05-19 15:52:39 +02:00
Akuria 65b47ce7b4 fix(InputMenu/Select/SelectMenu): respect trailing: false over default trailingIcon (#6457) 2026-05-19 10:55:34 +02:00