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

@rmwc/select

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/select - npm Package Compare versions

Comparing version 8.0.3 to 8.0.4

18

dist/select/foundation.js

@@ -58,5 +58,3 @@ "use strict";

return {
setSelectedText: function (text) {
setSelectedTextContent(text);
},
setSelectedText: function (text) { return setSelectedTextContent(text); },
openMenu: function () {

@@ -87,2 +85,7 @@ setMenuOpen(true);

setSelectAnchorAttr: function (attr, value) {
if (attr === 'tabindex') {
if (isNative())
return;
attr = 'tabIndex';
}
return anchorEl.setProp(attr, value);

@@ -106,11 +109,6 @@ },

}
if (menu.current === undefined) {
return -1;
}
var index = menu.current.selectedIndex;
return index instanceof Array ? index[0] : index;
return selectedIndex.current;
},
setSelectedIndex: function (index) {
var _a;
return (_a = menu.current) === null || _a === void 0 ? void 0 : _a.setSelectedIndex(index);
return selectedIndex;
}

@@ -117,0 +115,0 @@ };

@@ -55,5 +55,3 @@ import { __assign, __read, __rest } from "tslib";

return {
setSelectedText: function (text) {
setSelectedTextContent(text);
},
setSelectedText: function (text) { return setSelectedTextContent(text); },
openMenu: function () {

@@ -84,2 +82,7 @@ setMenuOpen(true);

setSelectAnchorAttr: function (attr, value) {
if (attr === 'tabindex') {
if (isNative())
return;
attr = 'tabIndex';
}
return anchorEl.setProp(attr, value);

@@ -103,11 +106,6 @@ },

}
if (menu.current === undefined) {
return -1;
}
var index = menu.current.selectedIndex;
return index instanceof Array ? index[0] : index;
return selectedIndex.current;
},
setSelectedIndex: function (index) {
var _a;
return (_a = menu.current) === null || _a === void 0 ? void 0 : _a.setSelectedIndex(index);
return selectedIndex;
}

@@ -114,0 +112,0 @@ };

{
"name": "@rmwc/select",
"version": "8.0.3",
"version": "8.0.4",
"description": "RMWC Select component",

@@ -40,13 +40,13 @@ "main": "dist/index.js",

"@material/select": "^8.0.0",
"@rmwc/base": "^8.0.3",
"@rmwc/floating-label": "^8.0.3",
"@rmwc/icon": "^8.0.3",
"@rmwc/line-ripple": "^8.0.3",
"@rmwc/list": "^8.0.3",
"@rmwc/menu": "^8.0.3",
"@rmwc/notched-outline": "^8.0.3",
"@rmwc/ripple": "^8.0.3",
"@rmwc/types": "^8.0.3"
"@rmwc/base": "^8.0.4",
"@rmwc/floating-label": "^8.0.4",
"@rmwc/icon": "^8.0.4",
"@rmwc/line-ripple": "^8.0.4",
"@rmwc/list": "^8.0.4",
"@rmwc/menu": "^8.0.4",
"@rmwc/notched-outline": "^8.0.4",
"@rmwc/ripple": "^8.0.4",
"@rmwc/types": "^8.0.4"
},
"gitHead": "d9befec0e3b258864b71686eecd16c16feb43cf1"
}
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