Socket
Socket
Sign inDemoInstall

@material/list

Package Overview
Dependencies
Maintainers
14
Versions
1698
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/list - npm Package Compare versions

Comparing version 15.0.0-canary.6c265915c.0 to 15.0.0-canary.6cda3ce8d.0

6

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

# [15.0.0-canary.6c265915c.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.6c265915c.0) (2023-03-09)
# [15.0.0-canary.6cda3ce8d.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.6cda3ce8d.0) (2023-09-12)

@@ -12,3 +12,7 @@

* **list:** Remove ripple styles for disabled items in deprecated list. ([f52358d](https://github.com/material-components/material-components-web/commit/f52358dd0796308919bb78deffc573d0d933c7de))
* correct behavior of checkboxes/radios in a list. ([f771b09](https://github.com/material-components/material-components-web/commit/f771b091ce1e5b1b97b3a508f1459e4665008a80))
* **list:** Allow alt + enter to select index for lists. ([113b1a3](https://github.com/material-components/material-components-web/commit/113b1a38e87337fdd00c7495fda3299df2dbc317))
* **list:** behavior in case of changing focus from -1 to -1 with forceUpdate: true ([ae278a2](https://github.com/material-components/material-components-web/commit/ae278a2fe94fdb8c5d0716fb34cbe84a691d6146))
* **list:** Fix list leading/trailing icon theming ([36a4cba](https://github.com/material-components/material-components-web/commit/36a4cba9944392b391b86d41405ee21fb97f4c22))
* **list:** Fixes how list handles `CTRL-A` keyboard interactions for multi-selection lists when there are disabled list items. ([a911b38](https://github.com/material-components/material-components-web/commit/a911b386b2fded69e3468ef42e7ef25eb33fcd70))

@@ -15,0 +19,0 @@ * **list:** Fixing css for calculating `$mdc-list-subheader-margin` param. ([357f2e5](https://github.com/material-components/material-components-web/commit/357f2e5f15f6374c9d93da135a8b070239ba7464))

5

component.js

@@ -380,6 +380,3 @@ /**

var target = evt.target;
// Toggle the checkbox only if it's not the target of the event, or the
// checkbox will have 2 change events.
var toggleCheckbox = !matches(target, strings.CHECKBOX_RADIO_SELECTOR);
this.foundation.handleClick(index, toggleCheckbox, evt);
this.foundation.handleClick(index, matches(target, strings.CHECKBOX_RADIO_SELECTOR), evt);
};

@@ -386,0 +383,0 @@ return MDCList;

@@ -387,3 +387,4 @@ /**

}
else if ((isEnter || isSpace) && eventHasModifiers([])) {
else if ((isEnter || isSpace) &&
(eventHasModifiers([]) || eventHasModifiers(['Alt']))) {
if (isRootListItem) {

@@ -390,0 +391,0 @@ // Return early if enter key is pressed on anchor element which triggers

{
"name": "@material/list",
"description": "The Material Components for the web list component",
"version": "15.0.0-canary.6c265915c.0",
"version": "15.0.0-canary.6cda3ce8d.0",
"license": "MIT",

@@ -20,15 +20,15 @@ "main": "dist/mdc.list.js",

"dependencies": {
"@material/base": "15.0.0-canary.6c265915c.0",
"@material/density": "15.0.0-canary.6c265915c.0",
"@material/dom": "15.0.0-canary.6c265915c.0",
"@material/feature-targeting": "15.0.0-canary.6c265915c.0",
"@material/ripple": "15.0.0-canary.6c265915c.0",
"@material/rtl": "15.0.0-canary.6c265915c.0",
"@material/shape": "15.0.0-canary.6c265915c.0",
"@material/theme": "15.0.0-canary.6c265915c.0",
"@material/tokens": "15.0.0-canary.6c265915c.0",
"@material/typography": "15.0.0-canary.6c265915c.0",
"@material/base": "15.0.0-canary.6cda3ce8d.0",
"@material/density": "15.0.0-canary.6cda3ce8d.0",
"@material/dom": "15.0.0-canary.6cda3ce8d.0",
"@material/feature-targeting": "15.0.0-canary.6cda3ce8d.0",
"@material/ripple": "15.0.0-canary.6cda3ce8d.0",
"@material/rtl": "15.0.0-canary.6cda3ce8d.0",
"@material/shape": "15.0.0-canary.6cda3ce8d.0",
"@material/theme": "15.0.0-canary.6cda3ce8d.0",
"@material/tokens": "15.0.0-canary.6cda3ce8d.0",
"@material/typography": "15.0.0-canary.6cda3ce8d.0",
"tslib": "^2.1.0"
},
"gitHead": "2226d2e658d88eace91ac63729977eb6bd7a9af9"
"gitHead": "adb36c6339e7bf37fe1e8ca96526a9673ca602e7"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc