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

@material/react-list

Package Overview
Dependencies
Maintainers
13
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/react-list - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

2

dist/index.js

@@ -1,2 +0,2 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("classnames"),require("@material/react-ripple/dist/index.js"));else if("function"==typeof define&&define.amd)define(["react","classnames","@material/react-ripple/dist/index.js"],t);else{var n="object"==typeof exports?t(require("react"),require("classnames"),require("@material/react-ripple/dist/index.js")):t(e.react,e.classnames,e["@material/react-ripple/dist/index.js"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}({0:function(t,n){t.exports=e},1:function(e,n){e.exports=t},41:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n(0)),c=a(n(1)),u=n(42),d=a(n(88)),f=a(n(89));t.ListItem=f.default;var p=a(n(91));t.ListItemGraphic=p.default;var h=a(n(92));t.ListItemText=h.default;var _=a(n(93));t.ListItemMeta=_.default;var m=a(n(94));t.ListDivider=m.default;var I=a(n(95));t.ListGroup=I.default;var y=a(n(96));t.ListGroupSubheader=y.default;function b(e){return"number"==typeof e&&!isNaN(e)||Array.isArray(e)}t.defaultListItemContext={handleClick:function(){},handleKeyDown:function(){},handleBlur:function(){},handleFocus:function(){},onDestroy:function(){},getListItemInitialTabIndex:function(){return-1},getClassNamesFromList:function(){return{}}},t.ListItemContext=l.default.createContext(t.defaultListItemContext);var x=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasInitializedListItemTabIndex=!1,t.listElement=l.default.createRef(),t.state={listItemClassNames:{}},t.initializeListType=function(){var e=t.props.singleSelection,n=u.MDCListFoundation.cssClasses,r=u.MDCListFoundation.strings;if(t.listElement.current){var i=t.listElement.current.querySelectorAll(r.ARIA_ROLE_CHECKBOX_SELECTOR),o=t.listElement.current.querySelector(r.ARIA_CHECKED_RADIO_SELECTOR);if(i.length){var s=t.listElement.current.querySelectorAll(r.ARIA_CHECKED_CHECKBOX_SELECTOR),a=[].map.call(s,function(e){return t.listElements.indexOf(e)});t.foundation.setSelectedIndex(a)}else if(e){t.listElement.current.querySelector(n.LIST_ITEM_ACTIVATED_CLASS)&&t.foundation.setUseActivatedClass(!0)}else o&&t.foundation.setSelectedIndex(t.listElements.indexOf(o))}},t.getListItemInitialTabIndex=function(e){var n=t.props.selectedIndex,r=-1;t.hasInitializedListItemTabIndex||(Array.isArray(n)&&n.length>0&&e===n[0]||n===e||-1===n)&&(r=0,t.hasInitializedListItemTabIndex=!0);return r},t.getListItemClassNames=function(){return t.state.listItemClassNames},t.handleKeyDown=function(e,n){e.persist(),t.foundation.handleKeydown(e.nativeEvent,!0,n)},t.handleClick=function(e,n){t.foundation.handleClick(n,!1)},t.handleFocus=function(e,n){t.foundation.handleFocusIn(e.nativeEvent,n)},t.handleBlur=function(e,n){t.foundation.handleFocusOut(e.nativeEvent,n)},t.onDestroy=function(e){var n=t.state.listItemClassNames;delete n[e],t.setState({listItemClassNames:n})},t.getListProps=function(e,n){return{checkboxList:Boolean(e),radioList:Boolean(n),handleKeyDown:t.handleKeyDown,handleClick:t.handleClick,handleFocus:t.handleFocus,handleBlur:t.handleBlur,onDestroy:t.onDestroy,getClassNamesFromList:t.getListItemClassNames,getListItemInitialTabIndex:t.getListItemInitialTabIndex}},t.getListPropsMemoized=d.default(t.getListProps),t}return i(n,e),n.prototype.componentDidMount=function(){var e=this.props,t=e.singleSelection,n=e.wrapFocus,r=e.selectedIndex;this.foundation=new u.MDCListFoundation(this.adapter),this.foundation.init(),this.foundation.setSingleSelection(t),this.foundation.layout(),b(r)&&this.foundation.setSelectedIndex(r),this.foundation.setWrapFocus(n),this.foundation.setVerticalOrientation("vertical"===this.props["aria-orientation"]),this.initializeListType()},n.prototype.componentDidUpdate=function(e){var t=this.props,n=t.singleSelection,r=t.wrapFocus,i=t.selectedIndex,o=i!==e.selectedIndex;n!==e.singleSelection&&this.foundation.setSingleSelection(n),o&&b(i)&&this.foundation.setSelectedIndex(i),r!==e.wrapFocus&&this.foundation.setWrapFocus(r),this.props["aria-orientation"]!==e["aria-orientation"]&&this.foundation.setVerticalOrientation("vertical"===this.props["aria-orientation"])},n.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(n.prototype,"listElements",{get:function(){return this.listElement.current?[].slice.call(this.listElement.current.querySelectorAll(u.MDCListFoundation.strings.ENABLED_ITEMS_SELECTOR)):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.nonInteractive,r=e.dense,i=e.avatarList,o=e.twoLine;return c.default("mdc-list",t,{"mdc-list--non-interactive":n,"mdc-list--dense":r,"mdc-list--avatar-list":i,"mdc-list--two-line":o})},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"adapter",{get:function(){var e=this;return{getListItemCount:function(){return e.listElements.length},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},setAttributeForElementIndex:function(t,n,r){var i=e.listElements[t];i&&i.setAttribute(n,r)},getAttributeForElementIndex:function(){return""},addClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;r[t]&&-1===r[t].indexOf(n)?r[t].push(n):r[t]=[n],e.setState({listItemClassNames:r})},removeClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;if(r[t]){var i=r[t].indexOf(n);-1!==i&&(r[t].splice(i,1),e.setState({listItemClassNames:r}))}},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t],i=u.MDCListFoundation.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;[].slice.call(r.querySelectorAll(i)).forEach(function(e){return e.setAttribute("tabindex",n)})},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},setCheckedCheckboxOrRadioAtIndex:function(){},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(u.MDCListFoundation.strings.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(u.MDCListFoundation.strings.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){var n=e.listElements[t],r=u.MDCListFoundation.strings.CHECKBOX_SELECTOR;return n.querySelector(r).checked},isFocusInsideList:function(){return!!e.listElement.current&&e.listElement.current.contains(document.activeElement)},notifyAction:function(t){e.props.handleSelect(t,e.foundation.getSelectedIndex())}}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"role",{get:function(){var e=this.props,t=e.checkboxList,n=e.radioList,r=e.role;return r||(t?"group":n?"radiogroup":null)},enumerable:!0,configurable:!0}),n.prototype.render=function(){var e=this.props,n=(e.className,e.checkboxList),r=e.radioList,i=(e.nonInteractive,e.dense,e.avatarList,e.twoLine,e.singleSelection,e.role,e.selectedIndex,e.handleSelect,e.wrapFocus,e.children),a=e.tag,c=s(e,["className","checkboxList","radioList","nonInteractive","dense","avatarList","twoLine","singleSelection","role","selectedIndex","handleSelect","wrapFocus","children","tag"]);return l.default.createElement(a,o({className:this.classes,ref:this.listElement,role:this.role},c),l.default.createElement(t.ListItemContext.Provider,{value:this.getListPropsMemoized(n,r)},i))},n.defaultProps={className:"",checkboxList:!1,radioList:!1,nonInteractive:!1,dense:!1,avatarList:!1,twoLine:!1,singleSelection:!1,selectedIndex:-1,handleSelect:function(){},wrapFocus:!0,"aria-orientation":"vertical",tag:"ul"},n}(l.default.Component);t.default=x},42:function(e,t,n){"use strict";n.r(t);"function"==typeof Symbol&&Symbol.iterator;
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("classnames"),require("@material/react-ripple/dist/index.js"));else if("function"==typeof define&&define.amd)define(["react","classnames","@material/react-ripple/dist/index.js"],t);else{var n="object"==typeof exports?t(require("react"),require("classnames"),require("@material/react-ripple/dist/index.js")):t(e.react,e.classnames,e["@material/react-ripple/dist/index.js"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}({0:function(t,n){t.exports=e},1:function(e,n){e.exports=t},41:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n(0)),c=a(n(1)),u=n(42),d=a(n(88)),f=a(n(89));t.ListItem=f.default;var p=a(n(91));t.ListItemGraphic=p.default;var h=a(n(92));t.ListItemText=h.default;var _=a(n(93));t.ListItemMeta=_.default;var m=a(n(94));t.ListDivider=m.default;var I=a(n(95));t.ListGroup=I.default;var y=a(n(96));t.ListGroupSubheader=y.default;function b(e){return"number"==typeof e&&!isNaN(e)||Array.isArray(e)}t.defaultListItemContext={handleClick:function(){},handleKeyDown:function(){},handleBlur:function(){},handleFocus:function(){},onDestroy:function(){},getListItemInitialTabIndex:function(){return-1},getClassNamesFromList:function(){return{}}},t.ListItemContext=l.default.createContext(t.defaultListItemContext);var x=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasInitializedListItemTabIndex=!1,t.listElement=l.default.createRef(),t.state={listItemClassNames:{}},t.initializeListType=function(){var e=t.props.singleSelection,n=u.MDCListFoundation.cssClasses,r=u.MDCListFoundation.strings;if(t.listElement.current){var i=t.listElement.current.querySelectorAll(r.ARIA_ROLE_CHECKBOX_SELECTOR),o=t.listElement.current.querySelector(r.ARIA_CHECKED_RADIO_SELECTOR);if(i.length){var s=t.listElement.current.querySelectorAll(r.ARIA_CHECKED_CHECKBOX_SELECTOR),a=[].map.call(s,function(e){return t.listElements.indexOf(e)});t.foundation.setSelectedIndex(a)}else if(e){t.listElement.current.querySelector(n.LIST_ITEM_ACTIVATED_CLASS)&&t.foundation.setUseActivatedClass(!0)}else o&&t.foundation.setSelectedIndex(t.listElements.indexOf(o))}},t.getListItemInitialTabIndex=function(e){var n=t.props.selectedIndex,r=-1;t.hasInitializedListItemTabIndex||(Array.isArray(n)&&n.length>0&&e===n[0]||n===e||-1===n)&&(r=0,t.hasInitializedListItemTabIndex=!0);return r},t.getListItemClassNames=function(){return t.state.listItemClassNames},t.handleKeyDown=function(e,n){e.persist(),t.foundation.handleKeydown(e.nativeEvent,!0,n)},t.handleClick=function(e,n){t.foundation.handleClick(n,!1)},t.handleFocus=function(e,n){t.foundation.handleFocusIn(e.nativeEvent,n)},t.handleBlur=function(e,n){t.foundation.handleFocusOut(e.nativeEvent,n)},t.onDestroy=function(e){var n=t.state.listItemClassNames;delete n[e],t.setState({listItemClassNames:n})},t.getListProps=function(e,n){return{checkboxList:Boolean(e),radioList:Boolean(n),handleKeyDown:t.handleKeyDown,handleClick:t.handleClick,handleFocus:t.handleFocus,handleBlur:t.handleBlur,onDestroy:t.onDestroy,getClassNamesFromList:t.getListItemClassNames,getListItemInitialTabIndex:t.getListItemInitialTabIndex}},t.getListPropsMemoized=d.default(t.getListProps),t}return i(n,e),n.prototype.componentDidMount=function(){var e=this.props,t=e.singleSelection,n=e.wrapFocus,r=e.selectedIndex;this.foundation=new u.MDCListFoundation(this.adapter),this.foundation.init(),this.foundation.setSingleSelection(t),this.foundation.layout(),b(r)&&this.foundation.setSelectedIndex(r),this.foundation.setWrapFocus(n),this.foundation.setVerticalOrientation("vertical"===this.props["aria-orientation"]),this.initializeListType()},n.prototype.componentDidUpdate=function(e){var t=this.props,n=t.singleSelection,r=t.wrapFocus,i=t.selectedIndex,o=i!==e.selectedIndex;n!==e.singleSelection&&this.foundation.setSingleSelection(n),o&&b(i)&&this.foundation.setSelectedIndex(i),r!==e.wrapFocus&&this.foundation.setWrapFocus(r),this.props["aria-orientation"]!==e["aria-orientation"]&&this.foundation.setVerticalOrientation("vertical"===this.props["aria-orientation"])},n.prototype.componentWillUnmount=function(){this.foundation.destroy()},Object.defineProperty(n.prototype,"listElements",{get:function(){return this.listElement.current?[].slice.call(this.listElement.current.querySelectorAll(u.MDCListFoundation.strings.ENABLED_ITEMS_SELECTOR)):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classes",{get:function(){var e=this.props,t=e.className,n=e.nonInteractive,r=e.dense,i=e.avatarList,o=e.twoLine;return c.default("mdc-list",t,{"mdc-list--non-interactive":n,"mdc-list--dense":r,"mdc-list--avatar-list":i,"mdc-list--two-line":o})},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"adapter",{get:function(){var e=this;return{getListItemCount:function(){return e.listElements.length},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},setAttributeForElementIndex:function(t,n,r){var i=e.listElements[t];i&&i.setAttribute(n,r)},getAttributeForElementIndex:function(){return""},addClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;r[t]&&-1===r[t].indexOf(n)?r[t].push(n):r[t]=[n],e.setState({listItemClassNames:r})},removeClassForElementIndex:function(t,n){var r=e.state.listItemClassNames;if(r[t]){var i=r[t].indexOf(n);-1!==i&&(r[t].splice(i,1),e.setState({listItemClassNames:r}))}},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t],i=u.MDCListFoundation.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;[].slice.call(r.querySelectorAll(i)).forEach(function(e){return e.setAttribute("tabindex",n)})},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},setCheckedCheckboxOrRadioAtIndex:function(){},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(u.MDCListFoundation.strings.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(u.MDCListFoundation.strings.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){var n=e.listElements[t],r=u.MDCListFoundation.strings.CHECKBOX_SELECTOR;return n.querySelector(r).checked},isFocusInsideList:function(){return!!e.listElement.current&&e.listElement.current.contains(document.activeElement)},notifyAction:function(t){e.props.handleSelect(t,e.foundation.getSelectedIndex())}}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"role",{get:function(){var e=this.props,t=e.checkboxList,n=e.radioList,r=e.role;return r||(t?"group":n?"radiogroup":null)},enumerable:!0,configurable:!0}),n.prototype.render=function(){var e=this.props,n=(e.className,e.checkboxList),r=e.radioList,i=(e.nonInteractive,e.dense,e.avatarList,e.twoLine,e.singleSelection,e.role,e.selectedIndex,e.handleSelect,e.wrapFocus,e.children),a=e.tag,c=s(e,["className","checkboxList","radioList","nonInteractive","dense","avatarList","twoLine","singleSelection","role","selectedIndex","handleSelect","wrapFocus","children","tag"]);return l.default.createElement(a,o({className:this.classes,ref:this.listElement,role:this.role},c),l.default.createElement(t.ListItemContext.Provider,{value:this.getListPropsMemoized(n,r)},i))},n.defaultProps={className:"",checkboxList:!1,radioList:!1,nonInteractive:!1,dense:!1,avatarList:!1,twoLine:!1,singleSelection:!1,selectedIndex:-1,handleSelect:function(){},wrapFocus:!0,"aria-orientation":"vertical",tag:"ul"},n}(l.default.Component);t.default=x},42:function(e,t,n){"use strict";n.r(t);"function"==typeof Symbol&&Symbol.iterator;
/*! *****************************************************************************

@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation. All rights reserved.

@@ -1,2 +0,2 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var d in i)("object"==typeof exports?exports:e)[d]=i[d]}}(window,function(){return function(e){var t={};function i(d){if(t[d])return t[d].exports;var r=t[d]={i:d,l:!1,exports:{}};return e[d].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,d){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:d})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(i.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(d,r,function(t){return e[t]}.bind(null,r));return d},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=12)}({12:function(e,t,i){e.exports={"mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list-item--selected":"mdc-list-item--selected","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--two-line":"mdc-list--two-line","mdc-list--non-interactive":"mdc-list--non-interactive","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-group":"mdc-list-group","mdc-ripple-surface--test-edge-var-bug":"mdc-ripple-surface--test-edge-var-bug","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused"}}})});
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var d in i)("object"==typeof exports?exports:e)[d]=i[d]}}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function i(d){if(t[d])return t[d].exports;var r=t[d]={i:d,l:!1,exports:{}};return e[d].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,d){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:d})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(i.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(d,r,function(t){return e[t]}.bind(null,r));return d},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=12)}({12:function(e,t,i){e.exports={"mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list-item--selected":"mdc-list-item--selected","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--two-line":"mdc-list--two-line","mdc-list--non-interactive":"mdc-list--non-interactive","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-group":"mdc-list-group","mdc-ripple-surface--test-edge-var-bug":"mdc-ripple-surface--test-edge-var-bug","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused"}}})});
//# sourceMappingURL=list.css.js.map

@@ -1,2 +0,2 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var d in i)("object"==typeof exports?exports:e)[d]=i[d]}}(window,function(){return function(e){var t={};function i(d){if(t[d])return t[d].exports;var r=t[d]={i:d,l:!1,exports:{}};return e[d].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,d){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:d})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(i.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(d,r,function(t){return e[t]}.bind(null,r));return d},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=12)}({12:function(e,t,i){e.exports={"mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--selected":"mdc-list-item--selected","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--two-line":"mdc-list--two-line","mdc-list--non-interactive":"mdc-list--non-interactive","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-group":"mdc-list-group","mdc-ripple-surface--test-edge-var-bug":"mdc-ripple-surface--test-edge-var-bug","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused"}}})});
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var d in i)("object"==typeof exports?exports:e)[d]=i[d]}}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function i(d){if(t[d])return t[d].exports;var r=t[d]={i:d,l:!1,exports:{}};return e[d].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,d){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:d})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(i.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(d,r,function(t){return e[t]}.bind(null,r));return d},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=12)}({12:function(e,t,i){e.exports={"mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--selected":"mdc-list-item--selected","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--two-line":"mdc-list--two-line","mdc-list--non-interactive":"mdc-list--non-interactive","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-group":"mdc-list-group","mdc-ripple-surface--test-edge-var-bug":"mdc-ripple-surface--test-edge-var-bug","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused"}}})});
//# sourceMappingURL=list.min.css.js.map
{
"name": "@material/react-list",
"version": "0.14.0",
"version": "0.14.1",
"description": "Material Components React List",

@@ -24,5 +24,5 @@ "license": "MIT",

"@material/list": "^1.0.0",
"@material/react-checkbox": "^0.14.0",
"@material/react-radio": "^0.14.0",
"@material/react-ripple": "^0.14.0",
"@material/react-checkbox": "^0.14.1",
"@material/react-radio": "^0.14.1",
"@material/react-ripple": "^0.14.1",
"classnames": "^2.2.6",

@@ -29,0 +29,0 @@ "memoize-one": "^5.0.4"

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

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