[Snyk] Upgrade @material/web from 1.0.0-pre.8 to 1.4.1 #61
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.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @material/web from 1.0.0-pre.8 to 1.4.1.
ℹ️ 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 87 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @material/web
1.4.1 (2024-04-15)
Bug Fixes
1.4.0 (2024-03-21)
Features
no-navigation-wrap
to fix select accessibility (c6ffd70)@ material/web/typography/md-typescale
classes (36dd77e)Bug Fixes
::part
in all components (b74e3dd).css
files for[@ import](https://github.com/import)
-ing (cde649c)<styles>.css.js
to<styles>.css
(c35bad0)selected
state in input event (8d201e0)scroll-behavior: smooth
not working (274ce3e), closes #5497text-align
from parents (668f0ee), closes #5509CSSResult[]
types for static styles (ce41b7b)1.3.0 (2024-02-22)
Features
--md-sys-shape-*
tokens for all components (41bac9e)Bug Fixes
:host-context
rtl selectors (f2ff867)1.2.0 (2024-01-24)
Features
no-spinner
to remove number spin buttons (3c6e550)Bug Fixes
click.preventDefault()
not working when also updatingselected
(5dc870b)--md-menu-item-container-color
not working (86bd6f8)internal/controller/events
(eca1357)--md-elevation-level
no longer leaks into tabs (ddf1fb0), closes #5137tabs.scrollToTab()
not working (eb7c17e)reportValidity()
during change (6efc904)Performance Improvements
1.1.1 (2023-12-13)
Bug Fixes
1.1.0 (2023-12-12)
Features
selected-icon
slot to customize checkmark (89b4c2e)Bug Fixes
@ material/web@nightly
publishes (91c1221)cursor
using CSS (798f5ae)min-width
anduser-select
(1852238)padding
andgap
(5bb4a42)text-wrap: wrap
(5d964ad)checked
andindeterminate
not updated during input event (e78a52f)1.0.1 (2023-10-18)
Bug Fixes
isTab
check so it is possible to create your own tab (db3c865)isTab
check so it is possible to create your own tab (e10186e)md-tab
attribute to brand individual tab children (8ec0813)multiple
field to the native input (03e5a7e), closes #5064md-tab
attribute to brand individual tab childrenReverts
md-tab
attribute to brand individual tab children" is not a breaking change (43af3ba)1.0.0 (2023-09-26)
⚠ BREAKING CHANGES
<md-list-item>
now uses slots instead of properties and has removed many prescriptive items (such as avatar, image, and video items). The default slot can be used for any custom content.html <md-list-item> <div slot="overline">OVERLINE</div> <div slot="headline">First line</div> <div slot="supporting-text">Second+ lines</div> <div slot="trailing-supporting-text">Trailing</div> <md-icon slot="start">star</md-icon> <md-icon slot="end">star</md-icon> </md-list-item>
Addtype="button"
ortype="link"
for interactive list items.fixed
property topositioning="fixed"
in Menu andmenuFixed
tomenuPositioning="fixed"
start-*
andend-*
slots are now juststart
andend
, many tokens are now gone in favor of slotting.headline
property is now aslot="headline"
slot. Typeahead search text can now be set viatypeaheadText
which defaults to the slotted headlinetextContent
.select-option
now has thedisplayText
which is used to display text in themd-select
when the option is selected; defaults to the slotted headlinetextContent
.md-sub-menu-item
. Instead it is recommended to usemd-sub-menu
which can havemd-menu-item[slot=item]
andmd-menu[slot=menu]
slotted into it. This makessub-menu-item
accessible for screen readers using linear navigationlist-tabindex
andtype
should now be on the host of md-menu. The new attributes should betabindex
androle
respectively.container-size
tokens withcontainer-width
andcontainer-height
.noninteractive
property has been replaced by theinteractive
property, and by default, a list-item will no longer show a ripple or focus ring. What to change:interactive
attribute explicitly.noninteractive
attribute or property can be removed as it's the new default behavior.type
attribute from<md-chip-set>
(you can mix and match chip types!)single-select
from<md-chip-set>
. Use JS to control filter chips if single selection is required. Radio filter chips will come in a future update.always-focusable
is set."selected"
event. Listen to"click"
and useevent.target.selected
instead.md-icon[slot=end][data-variant=icon]
should now bemd-icon[slot=end-icon]
.active
from list-item, menu-item, and select-option. Instead, List uses tabindex to track whether something is focusable.option.selected
no longer reflects. Set the attribute instead if relying on the attribute for styles/queries.<h3>
or<p>
), remove the top/bottom margin as needed (since margin swapped to padding, there's no more margin collapsing).selected
index property on md-tabs toactiveTabIndex
(active-tab-index
attribute). Renameselect-on-focus
toauto-activate
-type
tokens are no longer supported. Use discrete-font
,-size
,-line-height
, and-weight
tokens instead.label-text-type
tokens with-font
,-size
,-line-height
, and-weight
selected
toactive
for primary and secondary tabs.leadingicon
andtrailingicon
withleading-icon
andtrailing-icon
leadingicon
andtrailingicon
slot names withleading-icon
andtrailing-icon
Features
<md-item>
layout component (ffe4f79)<md-item>
to@ material/web/labs
(b35212a)tabs
property to retrieve tab elements (bf48fc3)Bug Fixes
selected
attribute (573caae)selected
toactive
(23b291b)active
on tab selects them (1442f9b)Miscellaneous Chores
Code Refactoring
fixed
topositioning
(63b0142)1.0.0-pre.17 (2023-09-06)
⚠ BREAKING CHANGES
label-text-type
tokens with-font
,-size
,-line-height
, and-weight
. Additionally, renamelabel-label-*
tokens to a singlelabel-*
*-type
font tokens with-font
,-size
,-line-height
, and-weight
label-text-type
tokens withlabel-text-font
,-size
,-line-height
, and-weight
*-type
font tokens with-font
,-size
,-line-height
, and-weight
label-text-type
tokens with-font
,-size
,-line-height
, and-weight
headline-text-type
andsupporting-text-type
tokens with-font
,-size
,-line-height
, and-weight
label-text-type
tokens withlabel-text-font
,-size
,-line-height
, and-weight
resizable
attribute rather than using CSS. CSSresize
can still customize the direction (defaults to both).slot="selectedIcon"
toslot="selected"
for toggle icon buttons.variant
attributes and changemd-tab
tomd-primary-tab
, ormd-secondary-tab
if using `variant="secondary"--md-*tab-divider
tokens and usemd-tabs::part(divider)
and--md-divider-*
tokenspointer-events: none
and CSS to style them.willUpdate
to protectedFeatures
element.control = elementRef
(1e7aff5)Bug Fixes