[Snyk] Upgrade @nuxt/ui from 2.14.2 to 2.18.2 #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @nuxt/ui from 2.14.2 to 2.18.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 8 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: @nuxt/ui
🐛 Bug Fixes
UIcon
import (4fd1be2)Full Changelog: v2.18.1...v2.18.2
🐛 Bug Fixes
Full Changelog: v2.18.0...v2.18.1
Read our updated documentation on https://ui.nuxt.com/.
✨ Nuxt Icon
In the last couple of weeks,
nuxt-icon
went through a complete rewrite made by @ antfu and is now officially called@ nuxt/icon
.It now works much better with SSR (no flicking on the client side) so we no longer need to rely on Tailwind CSS (
@ egoist/tailwindcss-icons
) to bundle icons. You can check nuxt/icon#154 for more details.This implies a few breaking changes but is a big step towards
v3
:ui.icons
module option (nuxt.config.ts
) is removedYou no longer need to specify which Iconify collection you want to use as
@ nuxt/icon
discovers them automatically. You can remove it safely if you used it with an array of collection or withall
. Nuxt Icon will also automatically warn you if you didn't install a@ iconify-json
collection.If you used it as an object to provide custom collections, you can now use the
icon
key in yournuxt.config.ts
: https://github.com/nuxt/icon?tab=readme-ov-file#custom-local-collectionsdynamic
prop (<UIcon />
component) and theui.icons.dynamic
option (app.config.ts
) are removedThe
dynamic
prop was introduced in https://github.com/nuxt/ui/releases/tag/v2.11.0 to use nuxt-icon instead of the default behaviour with @ egoist/tailwindcss-icons. It was useful when using dynamic class names or for icons coming from a database for example.You no longer need this as
@ nuxt/icon
will automatically fallback to Iconify API when the requested icon is not bundled.nuxtIcon
option has been renamed toicon
(app.config.ts
)When using the
dynamic
mode (nuxt-icon
), you might have used thenuxtIcon
key in yourapp.config.ts
. In Nuxt Icon v1, this has been renamed toicon
: https://github.com/nuxt/icon?tab=readme-ov-file#configuration-%EF%B8%8F🚀 Features
help
slot (c3122f7), closes #1957static
groups (#1458) (b264ad2)@ egoist/tailwindcss-icons
to new@ nuxt/icon
(#1789) (c904604)selected
to label slot props (#1587) (d18477d)label
/leading
/trailing
slots props (#1349) (6b216ca)showCreateOptionWhen
prop (#1853) (7e974b5)as
prop (#1955) (bce94db)rowClass
property incolumns
(#1632) (748e491)icon
in items (#1798) (e8eb394)🐛 Bug Fixes
rotate
on rtl icon (53003fc)mix-blend-overlay
on indicators (#1714) (f74f1df)error
slot sohelp
slot can render (#1888) (99c52e5)label
withvalue-attribute
and async search (4d5f250), closes #1780ariaLabel
to be picked (720c44d), closes #1934<progress>
to improve accessibility (#1881) (abd13f1)modelValue
prop (#1913) (8eca5a0)👋 New Contributors
Full Changelog: v2.17.0...v2.18.0
Read our updated documentation on https://ui.nuxt.com/.
🚀 Features
actions
slot (#1785) (c8dd71c)valibot
to v0.31.0 (#1848) (1d5bd89){color}
(#1830) (3ebff4d)top
andbottom
side (#1834) (50ad14f)content
prop to avoid the render of the HTML markup (#1831) (6e2678d)🐛 Bug Fixes
div
for description (e8898d1), closes #1551aria-current
to be overrideable (ebfb835), closes #1856empty-state
whennull
(249bbd4), closes #1787setErrors
with a path (#1818) (06990be)hidden
(#1797) (e7c2f78)exactHash
type (581b470), closes #1767modelValue
is an empty string (9b9ccdb), closes #1862value
andtext
(6c124bb), closes #1702👋 New Contributors
Full Changelog: v2.16.0...v2.17.0
Read our updated documentation on https://ui.nuxt.com/.
file
type without absolute positioning (#1712)🚀 Features
@ nuxtjs/tailwindcss
(#1665) (821e15b)<caption>
(#1680) (3fca668)🐛 Bug Fixes
click
event toULink
(5481dab)file
type without absolute positioning (#1712) (ed5c74d)aria-sort
for sortable table headings (#1675) (6f60fa9)👋 New Contributors
Full Changelog: v2.15.2...v2.16.0
🚀 Enhancements
unmount
prop to allow lazy mounting for heavy components (#1590) (91e5002)checkbox
ui config (#1409) (8b54660)🐛 Bug Fixes
min-w-0
on wrapper to truncate (9f01145), closes #1650👋 New Contributors
Full Changelog: v2.15.1...v2.15.2
🚀 Enhancements
as
prop to useNuxtImg
underneath (49b73aa), closes #1577🐛 Bug Fixes
@ change
event value (#1580) (c98d6e3)w-full
only on horizontal wrapper (#1565) (bd8b737)mouseenter
event on container (7288953)file
type andchange
events (#1570) (878f707)mouseenter
event on container (8517897), closes #1564👋 New Contributors
Full Changelog: v2.15.0...v2.15.1
Read our updated documentation on https://ui.nuxt.com/.
This PR includes a small breaking change on the
URange
,USelect
andUCheckbox
components: the@ change
event's payload is now the input's value instead of the HTML event to match other inputs.🚀 Features
open
event with index (#1559) (224ec3c)icon
&avatar
slots (#1401) (cee3e12)loading
prop (#1546) (e1e05af)🐛 Bug Fixes
data-n-ids
to root element (#1495) (a2b8b70)import.meta.*
properties (#1561) (cc62e34)@ touchstart.passive
instead of@ touchstart.prevent
(#1520) (a563d8f)filteredOptions
might be undefined (#1541) (b0ecac5)Boolean
type as model value (#1550) (c49f899)👋 New Contributors
Full Changelog: v2.14.2...v2.15.0
🐛 Bug Fixes
description
alignment when no title provided (ca4f06a), closes #1408FormGroup
(#1427) (6e77f1d)hover
mode on touch devices (70bf4a7)relative
class to icon (0a4a9e3)overflow-hidden
(#1460) (002129c)description
alignment when no title provided (9cce445)hover
mode on touch devices (b50fbcf)fieldset
config (2d64b50), closes #1472null
model value (4b6e80e), closes #1421relative
class to icon (0b29dd4), closes #1245👋 New Contributors
Full Changelog: v2.14.1...v2.14.2
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: