Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.4d62de70c.0 to 15.0.0-canary.4e840d685.0

5

CHANGELOG.md

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

# [15.0.0-canary.4d62de70c.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.4d62de70c.0) (2023-02-09)
# [15.0.0-canary.4e840d685.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.4e840d685.0) (2023-05-02)

@@ -12,3 +12,6 @@

* 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 +18,0 @@ * **list:** Fixing css for calculating `$mdc-list-subheader-margin` param. ([357f2e5](https://github.com/material-components/material-components-web/commit/357f2e5f15f6374c9d93da135a8b070239ba7464))

@@ -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;

3

foundation.js

@@ -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.4d62de70c.0",
"version": "15.0.0-canary.4e840d685.0",
"license": "MIT",

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

"dependencies": {
"@material/base": "15.0.0-canary.4d62de70c.0",
"@material/density": "15.0.0-canary.4d62de70c.0",
"@material/dom": "15.0.0-canary.4d62de70c.0",
"@material/feature-targeting": "15.0.0-canary.4d62de70c.0",
"@material/ripple": "15.0.0-canary.4d62de70c.0",
"@material/rtl": "15.0.0-canary.4d62de70c.0",
"@material/shape": "15.0.0-canary.4d62de70c.0",
"@material/theme": "15.0.0-canary.4d62de70c.0",
"@material/tokens": "15.0.0-canary.4d62de70c.0",
"@material/typography": "15.0.0-canary.4d62de70c.0",
"@material/base": "15.0.0-canary.4e840d685.0",
"@material/density": "15.0.0-canary.4e840d685.0",
"@material/dom": "15.0.0-canary.4e840d685.0",
"@material/feature-targeting": "15.0.0-canary.4e840d685.0",
"@material/ripple": "15.0.0-canary.4e840d685.0",
"@material/rtl": "15.0.0-canary.4e840d685.0",
"@material/shape": "15.0.0-canary.4e840d685.0",
"@material/theme": "15.0.0-canary.4e840d685.0",
"@material/tokens": "15.0.0-canary.4e840d685.0",
"@material/typography": "15.0.0-canary.4e840d685.0",
"tslib": "^2.1.0"
},
"gitHead": "d2081b5045fc9871ff56b0d31ddacd235e2316d5"
"gitHead": "feb1f9f53257b520aff6dfe5dd1a15e319e73a40"
}

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 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