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

react-dropdown-select

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropdown-select - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

14

dist/components/DropdownHandle.js

@@ -14,2 +14,4 @@ "use strict";

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var dropdownHandle = function dropdownHandle(_ref) {

@@ -19,3 +21,3 @@ var parentProps = _ref.parentProps,

parentMethods = _ref.parentMethods;
return parentProps.dropdownHandleRenderer ? parentProps.dropdownHandleRenderer(parentProps, parentState, parentMethods) : _react.default.createElement(DropdownHandleComponent, {
return parentProps.dropdownHandleRenderer ? parentProps.dropdownHandleRenderer(parentProps, parentState, parentMethods) : _react.default.createElement(DropdownHandleComponent, _extends({
tabIndex: "-1",

@@ -33,3 +35,3 @@ onClick: function onClick() {

className: "react-dropdown-select-dropdown-handle"
}, _react.default.createElement("svg", {
}, parentProps), _react.default.createElement("svg", {
viewBox: "0 0 10 10",

@@ -55,4 +57,10 @@ className: "react-dropdown-select-dropdown-handle-svg"

return dropdownOpen ? 'rotate(0deg)' : 'rotate(180deg)';
}, ";cursor:pointer;margin:0 5px 0 9px;:hover{path{stroke:deepskyblue;}}:focus{outline:none;path{stroke:deepskyblue;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0Ryb3Bkb3duSGFuZGxlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThCMEMiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbm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DMgTDgsNVwiXG4gICAgICAgICAgZmlsbD1cIm5vbmVcIlxuICAgICAgICAgIHN0cm9rZVdpZHRoPVwiMlwiXG4gICAgICAgICAgc3Ryb2tlPVwiIzAwMFwiXG4gICAgICAgICAgc3Ryb2tlTGluZWNhcD1cInJvdW5kXCJcbiAgICAgICAgICBzdHJva2VMaW5lam9pbj1cInJvdW5kXCJcbiAgICAgICAgLz5cbiAgICAgIDwvc3ZnPlxuICAgIDwvRHJvcGRvd25IYW5kbGVDb21wb25lbnQ+XG4gICk7XG5cbmRyb3Bkb3duSGFuZGxlLnByb3BUeXBlcyA9IHt9O1xuXG5jb25zdCBEcm9wZG93bkhhbmRsZUNvbXBvbmVudCA9IHN0eWxlZC5kaXZgXG4gIHdpZHRoOiAxMHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHRyYW5zZm9ybTogJHsoeyBkcm9wZG93bk9wZW4gfSkgPT4gKGRyb3Bkb3duT3BlbiA/ICdyb3RhdGUoMGRlZyknIDogJ3JvdGF0ZSgxODBkZWcpJyl9O1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIG1hcmdpbjogMCA1cHggMCA5cHg7XG5cbiAgOmhvdmVyIHtcbiAgICBwYXRoIHtcbiAgICAgIHN0cm9rZTogZGVlcHNreWJsdWU7XG4gICAgfVxuICB9XG5cbiAgOmZvY3VzIHtcbiAgICBvdXRsaW5lOiBub25lO1xuXG4gICAgcGF0aCB7XG4gICAgICBzdHJva2U6IGRlZXBza3libHVlO1xuICAgIH1cbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgZHJvcGRvd25IYW5kbGU7XG4iXX0= */"));
}, ";cursor:pointer;margin:0 5px 0 9px;:hover{path{stroke:", function (_ref3) {
var color = _ref3.color;
return color;
}, ";}}:focus{outline:none;path{stroke:", function (_ref4) {
var color = _ref4.color;
return color;
}, ";}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2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b3Bkb3duSGFuZGxlO1xuIl19 */"));
var _default = dropdownHandle;
exports.default = _default;

@@ -37,10 +37,10 @@ "use strict";

})(process.env.NODE_ENV === "production" ? {
name: "e3ipjj",
styles: "width:100%;border:none;margin-left:5px;background:transparent;font-size:smaller;:focus{outline:none;}"
name: "12mid5e",
styles: "width:auto;border:none;margin-left:5px;background:transparent;font-size:smaller;:focus{outline:none;}"
} : {
name: "e3ipjj",
styles: "width:100%;border:none;margin-left:5px;background:transparent;font-size:smaller;:focus{outline:none;}",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0lucHV0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCbUMiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvSW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5jb25zdCBJbnB1dCA9ICh7IHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcyB9KSA9PiB7XG4gIGNvbnN0IHBsYWNlSG9sZGVyID1cbiAgICAocGFyZW50U3RhdGUudmFsdWVzICYmIHBhcmVudFN0YXRlLnZhbHVlcy5sZW5ndGggPiAwICYmIHBhcmVudFByb3BzLmFkZFBsYWNlaG9sZGVyKSB8fFxuICAgIHBhcmVudFByb3BzLnBsYWNlaG9sZGVyO1xuXG4gIHJldHVybiBwYXJlbnRQcm9wcy5pbnB1dFJlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLmlucHV0UmVuZGVyZXIocGFyZW50UHJvcHMsIHBhcmVudFN0YXRlLCBwYXJlbnRNZXRob2RzKVxuICApIDogKFxuICAgIDxJbnB1dENvbXBvbmVudFxuICAgICAgdGFiSW5kZXg9XCItMVwiXG4gICAgICBjbGFzc05hbWU9XCJyZWFjdC1kcm9wZG93bi1zZWxlY3QtaW5wdXRcIlxuICAgICAgc2l6ZT17cGFyZW50TWV0aG9kcy5nZXRJbnB1dFNpemUoKX1cbiAgICAgIHZhbHVlPXtwYXJlbnRTdGF0ZS5zZWFyY2h9XG4gICAgICBvbkNsaWNrPXsoKSA9PiBwYXJlbnRNZXRob2RzLmRyb3BEb3duKCdvcGVuJyl9XG4gICAgICBvbkNoYW5nZT17cGFyZW50TWV0aG9kcy5zZXRTZWFyY2h9XG4gICAgICBwbGFjZWhvbGRlcj17cGxhY2VIb2xkZXJ9XG4gICAgLz5cbiAgKTtcbn07XG5cbklucHV0LnByb3BUeXBlcyA9IHt9O1xuXG5jb25zdCBJbnB1dENvbXBvbmVudCA9IHN0eWxlZC5pbnB1dGBcbiAgd2lkdGg6IDEwMCU7XG4gIGJvcmRlcjogbm9uZTtcbiAgbWFyZ2luLWxlZnQ6IDVweDtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIGZvbnQtc2l6ZTogc21hbGxlcjtcbiAgOmZvY3VzIHtcbiAgICBvdXRsaW5lOiBub25lO1xuICB9XG5gO1xuXG5leHBvcnQgZGVmYXVsdCBJbnB1dDtcbiJdfQ== */"
name: "12mid5e",
styles: "width:auto;border:none;margin-left:5px;background:transparent;font-size:smaller;:focus{outline:none;}",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0lucHV0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCbUMiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvSW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGl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nQtc2l6ZTogc21hbGxlcjtcbiAgOmZvY3VzIHtcbiAgICBvdXRsaW5lOiBub25lO1xuICB9XG5gO1xuXG5leHBvcnQgZGVmYXVsdCBJbnB1dDtcbiJdfQ== */"
});
var _default = Input;
exports.default = _default;

@@ -14,2 +14,4 @@ "use strict";

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var Item = function Item(_ref) {

@@ -21,3 +23,3 @@ var parentProps = _ref.parentProps,

itemIndex = _ref.itemIndex;
return parentProps.itemRenderer ? parentProps.itemRenderer(item, itemIndex, parentProps, parentState, parentMethods) : _react.default.createElement(ItemComponent, {
return parentProps.itemRenderer ? parentProps.itemRenderer(item, itemIndex, parentProps, parentState, parentMethods) : _react.default.createElement(ItemComponent, _extends({
role: "option",

@@ -35,3 +37,3 @@ "aria-selected": parentMethods.isSelected(item),

}
}, item[parentProps.labelField]);
}, parentProps), item[parentProps.labelField]);
};

@@ -43,11 +45,7 @@

label: "ItemComponent"
})(process.env.NODE_ENV === "production" ? {
name: "1w8xopz",
styles: "padding:10px;cursor:pointer;border-bottom:1px solid #fff;:hover,:focus{background:#f2f2f2;outline:none;}&.react-dropdown-select-item-selected{background:deepskyblue;color:#fff;border-bottom:1px solid #fff;}input{&[type='checkbox']{vertical-align:baseline;margin:0 10px 0 0;}}"
} : {
name: "1w8xopz",
styles: "padding:10px;cursor:pointer;border-bottom:1px solid #fff;:hover,:focus{background:#f2f2f2;outline:none;}&.react-dropdown-select-item-selected{background:deepskyblue;color:#fff;border-bottom:1px solid #fff;}input{&[type='checkbox']{vertical-align:baseline;margin:0 10px 0 0;}}",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0l0ZW0uanMiXSwibmFt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gIG9uS2V5UHJlc3M9eygpID0+IHBhcmVudE1ldGhvZHMuYWRkSXRlbShpdGVtKX0+XG4gICAgICB7aXRlbVtwYXJlbnRQcm9wcy5sYWJlbEZpZWxkXX1cbiAgICA8L0l0ZW1Db21wb25lbnQ+XG4gICk7XG5cbkl0ZW0ucHJvcFR5cGVzID0ge307XG5cbmNvbnN0IEl0ZW1Db21wb25lbnQgPSBzdHlsZWQuc3BhbmBcbiAgcGFkZGluZzogMTBweDtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2ZmZjtcblxuICA6aG92ZXIsXG4gIDpmb2N1cyB7XG4gICAgYmFja2dyb3VuZDogI2YyZjJmMjtcbiAgICBvdXRsaW5lOiBub25lO1xuICB9XG5cbiAgJi5yZWFjdC1kcm9wZG93bi1zZWxlY3QtaXRlbS1zZWxlY3RlZCB7XG4gICAgYmFja2dyb3VuZDogZGVlcHNreWJsdWU7XG4gICAgY29sb3I6ICNmZmY7XG4gICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICNmZmY7XG4gIH1cblxuICBpbnB1dCB7XG4gICAgJlt0eXBlPSdjaGVja2JveCddIHtcbiAgICAgIHZlcnRpY2FsLWFsaWduOiBiYXNlbGluZTtcbiAgICAgIG1hcmdpbjogMCAxMHB4IDAgMDtcbiAgICB9XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IEl0ZW07XG4iXX0= */"
});
})("padding:5px 10px;cursor:pointer;border-bottom:1px solid #fff;:hover,:focus{background:#f2f2f2;outline:none;}&.react-dropdown-select-item-selected{background:", function (_ref2) {
var color = _ref2.color;
return color;
}, ";color:#fff;border-bottom:1px solid #fff;}input{&[type='checkbox']{vertical-align:baseline;margin:0 10px 0 0;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21w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uYWRkSXRlbShpdGVtKX1cbiAgICAgIG9uS2V5UHJlc3M9eygpID0+IHBhcmVudE1ldGhvZHMuYWRkSXRlbShpdGVtKX1cbiAgICAgIHsuLi5wYXJlbnRQcm9wc30+XG4gICAgICB7aXRlbVtwYXJlbnRQcm9wcy5sYWJlbEZpZWxkXX1cbiAgICA8L0l0ZW1Db21wb25lbnQ+XG4gICk7XG5cbkl0ZW0ucHJvcFR5cGVzID0ge307XG5cbmNvbnN0IEl0ZW1Db21wb25lbnQgPSBzdHlsZWQuc3BhbmBcbiAgcGFkZGluZzogNXB4IDEwcHg7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICNmZmY7XG5cbiAgOmhvdmVyLFxuICA6Zm9jdXMge1xuICAgIGJhY2tncm91bmQ6ICNmMmYyZjI7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgfVxuXG4gICYucmVhY3QtZHJvcGRvd24tc2VsZWN0LWl0ZW0tc2VsZWN0ZWQge1xuICAgIGJhY2tncm91bmQ6ICR7KHsgY29sb3IgfSkgPT4gY29sb3J9O1xuICAgIGNvbG9yOiAjZmZmO1xuICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjZmZmO1xuICB9XG5cbiAgaW5wdXQge1xuICAgICZbdHlwZT0nY2hlY2tib3gnXSB7XG4gICAgICB2ZXJ0aWNhbC1hbGlnbjogYmFzZWxpbmU7XG4gICAgICBtYXJnaW46IDAgMTBweCAwIDA7XG4gICAgfVxuICB9XG5gO1xuXG5leHBvcnQgZGVmYXVsdCBJdGVtO1xuIl19 */"));
var _default = Item;
exports.default = _default;

@@ -14,7 +14,9 @@ "use strict";

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var Loading = function Loading(_ref) {
var parentProps = _ref.parentProps;
return parentProps.loadingRenderer ? parentProps.loadingRenderer() : _react.default.createElement(LoadingComponent, {
return parentProps.loadingRenderer ? parentProps.loadingRenderer() : _react.default.createElement(LoadingComponent, _extends({
className: "react-dropdown-select-loading"
});
}, parentProps));
};

@@ -26,11 +28,7 @@

label: "LoadingComponent"
})(process.env.NODE_ENV === "production" ? {
name: "1a6p9gc",
styles: "@keyframes dual-ring-spin{0%{transform:rotate(0deg);}100%{transform:rotate(180deg);}}padding:0 5px;display:block;width:auto;height:auto;:after{content:' ';display:block;width:16px;height:16px;border-radius:50%;border-width:1px;border-style:solid;border-color:deepskyblue transparent;animation:dual-ring-spin 0.7s ease-in-out infinite;margin:0 0 0 -10px;}"
} : {
name: "1a6p9gc",
styles: "@keyframes dual-ring-spin{0%{transform:rotate(0deg);}100%{transform:rotate(180deg);}}padding:0 5px;display:block;width:auto;height:auto;:after{content:' ';display:block;width:16px;height:16px;border-radius:50%;border-width:1px;border-style:solid;border-color:deepskyblue transparent;animation:dual-ring-spin 0.7s ease-in-out infinite;margin:0 0 0 -10px;}",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0xvYWRpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL0xvYWRpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5jb25zdCBMb2FkaW5nID0gKHsgcGFyZW50UHJvcHMgfSkgPT5cbiAgcGFyZW50UHJvcHMubG9hZGluZ1JlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLmxvYWRpbmdSZW5kZXJlcigpXG4gICkgOiAoXG4gICAgPExvYWRpbmdDb21wb25lbnQgY2xhc3NOYW1lPVwicmVhY3QtZHJvcGRvd24tc2VsZWN0LWxvYWRpbmdcIiAvPlxuICApO1xuXG5Mb2FkaW5nLnByb3BUeXBlcyA9IHt9O1xuXG5jb25zdCBMb2FkaW5nQ29tcG9uZW50ID0gc3R5bGVkLmRpdmBcbiAgQGtleWZyYW1lcyBkdWFsLXJpbmctc3BpbiB7XG4gICAgMCUge1xuICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG4gICAgfVxuICAgIDEwMCUge1xuICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTtcbiAgICB9XG4gIH1cblxuICBwYWRkaW5nOiAwIDVweDtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiBhdXRvO1xuICBoZWlnaHQ6IGF1dG87XG5cbiAgOmFmdGVyIHtcbiAgICBjb250ZW50OiAnICc7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgd2lkdGg6IDE2cHg7XG4gICAgaGVpZ2h0OiAxNnB4O1xuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICBib3JkZXItd2lkdGg6IDFweDtcbiAgICBib3JkZXItc3R5bGU6IHNvbGlkO1xuICAgIGJvcmRlci1jb2xvcjogZGVlcHNreWJsdWUgdHJhbnNwYXJlbnQ7XG4gICAgYW5pbWF0aW9uOiBkdWFsLXJpbmctc3BpbiAwLjdzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICAgIG1hcmdpbjogMCAwIDAgLTEwcHg7XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IExvYWRpbmc7XG4iXX0= */"
});
})("@keyframes dual-ring-spin{0%{transform:rotate(0deg);}100%{transform:rotate(180deg);}}padding:0 5px;display:block;width:auto;height:auto;:after{content:' ';display:block;width:16px;height:16px;border-radius:50%;border-width:1px;border-style:solid;border-color:", function (_ref2) {
var color = _ref2.color;
return color;
}, " transparent;animation:dual-ring-spin 0.7s ease-in-out infinite;margin:0 0 0 -10px;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0xvYWRpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL0xvYWRpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5jb25zdCBMb2FkaW5nID0gKHsgcGFyZW50UHJvcHMgfSkgPT5cbiAgcGFyZW50UHJvcHMubG9hZGluZ1JlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLmxvYWRpbmdSZW5kZXJlcigpXG4gICkgOiAoXG4gICAgPExvYWRpbmdDb21wb25lbnQgY2xhc3NOYW1lPVwicmVhY3QtZHJvcGRvd24tc2VsZWN0LWxvYWRpbmdcIiB7Li4ucGFyZW50UHJvcHN9IC8+XG4gICk7XG5cbkxvYWRpbmcucHJvcFR5cGVzID0ge307XG5cbmNvbnN0IExvYWRpbmdDb21wb25lbnQgPSBzdHlsZWQuZGl2YFxuICBAa2V5ZnJhbWVzIGR1YWwtcmluZy1zcGluIHtcbiAgICAwJSB7XG4gICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTtcbiAgICB9XG4gICAgMTAwJSB7XG4gICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpO1xuICAgIH1cbiAgfVxuXG4gIHBhZGRpbmc6IDAgNXB4O1xuICBkaXNwbGF5OiBibG9jaztcbiAgd2lkdGg6IGF1dG87XG4gIGhlaWdodDogYXV0bztcblxuICA6YWZ0ZXIge1xuICAgIGNvbnRlbnQ6ICcgJztcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICB3aWR0aDogMTZweDtcbiAgICBoZWlnaHQ6IDE2cHg7XG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xuICAgIGJvcmRlci13aWR0aDogMXB4O1xuICAgIGJvcmRlci1zdHlsZTogc29saWQ7XG4gICAgYm9yZGVyLWNvbG9yOiAkeyh7IGNvbG9yIH0pID0+IGNvbG9yfSB0cmFuc3BhcmVudDtcbiAgICBhbmltYXRpb246IGR1YWwtcmluZy1zcGluIDAuN3MgZWFzZS1pbi1vdXQgaW5maW5pdGU7XG4gICAgbWFyZ2luOiAwIDAgMCAtMTBweDtcbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgTG9hZGluZztcbiJdfQ== */"));
var _default = Loading;
exports.default = _default;

@@ -18,3 +18,3 @@ "use strict";

parentMethods = _ref.parentMethods;
return parentProps.noDataRenderer ? parentProps.noDataRenderer(parentProps, parentState, parentMethods) : _react.default.createElement(NoDataComponent, null, parentProps.noDataLabel);
return parentProps.noDataRenderer ? parentProps.noDataRenderer(parentProps, parentState, parentMethods) : _react.default.createElement(NoDataComponent, parentProps, parentProps.noDataLabel);
};

@@ -26,11 +26,7 @@

label: "NoDataComponent"
})(process.env.NODE_ENV === "production" ? {
name: "5e6bao",
styles: "padding:10px;text-align:center;color:deepskyblue;"
} : {
name: "5e6bao",
styles: "padding:10px;text-align:center;color:deepskyblue;",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL05vRGF0YS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFja0MiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvTm9EYXRhLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuY29uc3QgTm9EYXRhID0gKHsgcGFyZW50UHJvcHMsIHBhcmVudFN0YXRlLCBwYXJlbnRNZXRob2RzIH0pID0+XG4gIHBhcmVudFByb3BzLm5vRGF0YVJlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLm5vRGF0YVJlbmRlcmVyKHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcylcbiAgKSA6IChcbiAgICA8Tm9EYXRhQ29tcG9uZW50PlxuICAgICAgeyBwYXJlbnRQcm9wcy5ub0RhdGFMYWJlbCB9XG4gICAgPC9Ob0RhdGFDb21wb25lbnQ+XG4gICk7XG5cbk5vRGF0YS5wcm9wVHlwZXMgPSB7fTtcblxuY29uc3QgTm9EYXRhQ29tcG9uZW50ID0gc3R5bGVkLmRpdmBcbiAgcGFkZGluZzogMTBweDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBjb2xvcjogZGVlcHNreWJsdWU7XG5gO1xuXG5leHBvcnQgZGVmYXVsdCBOb0RhdGE7XG4iXX0= */"
});
})("padding:10px;text-align:center;color:", function (_ref2) {
var color = _ref2.color;
return color;
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL05vRGF0YS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFja0MiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvTm9EYXRhLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuY29uc3QgTm9EYXRhID0gKHsgcGFyZW50UHJvcHMsIHBhcmVudFN0YXRlLCBwYXJlbnRNZXRob2RzIH0pID0+XG4gIHBhcmVudFByb3BzLm5vRGF0YVJlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLm5vRGF0YVJlbmRlcmVyKHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcylcbiAgKSA6IChcbiAgICA8Tm9EYXRhQ29tcG9uZW50IHsgLi4ucGFyZW50UHJvcHMgfT5cbiAgICAgIHsgcGFyZW50UHJvcHMubm9EYXRhTGFiZWwgfVxuICAgIDwvTm9EYXRhQ29tcG9uZW50PlxuICApO1xuXG5Ob0RhdGEucHJvcFR5cGVzID0ge307XG5cbmNvbnN0IE5vRGF0YUNvbXBvbmVudCA9IHN0eWxlZC5kaXZgXG4gIHBhZGRpbmc6IDEwcHg7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgY29sb3I6ICR7KHsgY29sb3IgfSkgPT4gY29sb3J9O1xuYDtcblxuZXhwb3J0IGRlZmF1bHQgTm9EYXRhO1xuIl19 */"));
var _default = NoData;
exports.default = _default;

@@ -14,2 +14,4 @@ "use strict";

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var Option = function Option(_ref) {

@@ -20,7 +22,7 @@ var parentItem = _ref.parentItem,

parentMethods = _ref.parentMethods;
return parentItem && parentProps.optionRenderer ? parentProps.optionRenderer(parentItem, parentProps, parentState, parentMethods) : _react.default.createElement(OptionComponent, {
return parentItem && parentProps.optionRenderer ? parentProps.optionRenderer(parentItem, parentProps, parentState, parentMethods) : _react.default.createElement(OptionComponent, _extends({
role: "listitem",
disabled: parentProps.disabled,
className: "react-dropdown-select-option"
}, _react.default.createElement("span", {
}, parentProps, parentState), _react.default.createElement("span", {
className: "react-dropdown-select-option-label"

@@ -39,11 +41,7 @@ }, parentItem[parentProps.labelField]), _react.default.createElement("span", {

label: "OptionComponent"
})(process.env.NODE_ENV === "production" ? {
name: "8t18j8",
styles: "padding:0 5px;border-radius:2px;line-height:21px;margin:3px 0 3px 5px;background:deepskyblue;color:#fff;display:inline-block;.react-dropdown-select-option-remove{cursor:pointer;width:22px;height:22px;display:inline-block;text-align:center;margin:0 -5px 0 0px;border-radius:0 3px 3px 0;:hover{color:tomato;}}:hover,:hover > span{background:#00a7e6;}"
} : {
name: "8t18j8",
styles: "padding:0 5px;border-radius:2px;line-height:21px;margin:3px 0 3px 5px;background:deepskyblue;color:#fff;display:inline-block;.react-dropdown-select-option-remove{cursor:pointer;width:22px;height:22px;display:inline-block;text-align:center;margin:0 -5px 0 0px;border-radius:0 3px 3px 0;:hover{color:tomato;}}:hover,:hover > span{background:#00a7e6;}",
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL09wdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQm1DIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL09wdGlvbi5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmNvbnN0IE9wdGlvbiA9ICh7IHBhcmVudEl0ZW0sIHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcyB9KSA9PlxuICBwYXJlbnRJdGVtICYmIHBhcmVudFByb3BzLm9wdGlvblJlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLm9wdGlvblJlbmRlcmVyKHBhcmVudEl0ZW0sIHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcylcbiAgKSA6IChcbiAgICA8T3B0aW9uQ29tcG9uZW50XG4gICAgICByb2xlPVwibGlzdGl0ZW1cIlxuICAgICAgZGlzYWJsZWQ9e3BhcmVudF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HggMDtcblxuICAgIDpob3ZlciB7XG4gICAgICBjb2xvcjogdG9tYXRvO1xuICAgIH1cbiAgfVxuXG4gIDpob3ZlcixcbiAgOmhvdmVyID4gc3BhbiB7XG4gICAgYmFja2dyb3VuZDogIzAwYTdlNjtcbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgT3B0aW9uO1xuIl19 */"
});
})("padding:0 5px;border-radius:2px;line-height:21px;margin:3px 0 3px 5px;background:", function (_ref2) {
var color = _ref2.color;
return color;
}, ";color:#fff;display:inline-block;.react-dropdown-select-option-remove{cursor:pointer;width:22px;height:22px;display:inline-block;text-align:center;margin:0 -5px 0 0px;border-radius:0 3px 3px 0;:hover{color:tomato;}}:hover,:hover > span{opacity:0.9;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL09wdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1Qm1DIiwiZmlsZSI6Ii4uLy4uL3NyYy9jb21wb25lbnRzL09wdGlvbi5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmNvbnN0IE9wdGlvbiA9ICh7IHBhcmVudEl0ZW0sIHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcyB9KSA9PlxuICBwYXJlbnRJdGVtICYmIHBhcmVudFByb3BzLm9wdGlvblJlbmRlcmVyID8gKFxuICAgIHBhcmVudFByb3BzLm9wdGlvblJlbmRlcmVyKHBhcmVudEl0ZW0sIHBhcmVudFByb3BzLCBwYXJlbnRTdGF0ZSwgcGFyZW50TWV0aG9kcylcbiAgKSA6IChcbiAgICA8T3B0aW9uQ29tcG9uZW50XG4gICAgICBy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XNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIG1hcmdpbjogMCAtNXB4IDAgMHB4O1xuICAgIGJvcmRlci1yYWRpdXM6IDAgM3B4IDNweCAwO1xuXG4gICAgOmhvdmVyIHtcbiAgICAgIGNvbG9yOiB0b21hdG87XG4gICAgfVxuICB9XG5cbiAgOmhvdmVyLFxuICA6aG92ZXIgPiBzcGFuIHtcbiAgICBvcGFjaXR5OiAwLjk7XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IE9wdGlvbjtcbiJdfQ== */"));
var _default = Option;
exports.default = _default;

@@ -278,7 +278,7 @@ "use strict";

if (prevState.dropdown && prevState.dropdown !== this.state.dropdown, this.props.debounceDelay) {
if (prevState.dropdown && prevState.dropdown !== this.state.dropdown) {
this.props.onDropdownClose();
}
if (!prevState.dropdown && prevState.dropdown !== this.state.dropdown, this.props.debounceDelay) {
if (!prevState.dropdown && prevState.dropdown !== this.state.dropdown) {
this.props.onDropdownOpen();

@@ -306,3 +306,4 @@ }

disabled: this.props.disabled,
className: this.props.className
className: this.props.className,
color: this.props.color
}, _react.default.createElement(_Content.default, {

@@ -391,2 +392,3 @@ parentProps: this.props,

valueField: 'value',
color: '#0074D9',
onDropdownOpen: function onDropdownOpen() {

@@ -411,4 +413,7 @@ return undefined;

return disabled ? 'cursor: not-allowed;pointer-events: none;opacity: 0.3;' : 'pointer-events: all;';
}, ":focus-within{border-color:deepskyblue;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1VHNDIiwiZmlsZSI6Ii4uL3NyYy9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgUH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gIGNsYXNzTmFtZT17dGhpcy5wcm9wcy5jbGFzc05hbWV9PlxuICAgICAgICAgIDxDb250ZW50IHBhcmVudFByb3BzPXt0aGlzLnByb3BzfSBwYXJlbnRTdGF0ZT17dGhpcy5zdGF0ZX0gcGFyZW50TWV0aG9kcz17dGhpcy5tZXRob2RzfSAvPlxuXG4gICAgICAgICAge3RoaXMucHJvcHMubG9hZGluZyAmJiA8TG9hZGluZyBwYXJlbnRQcm9wcz17dGhpcy5wcm9wc30gLz59XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5jbGVhcmFibGUgJiYgKFxuICAgICAgICAgICAgPENsZWFyIHBhcmVudFByb3BzPXt0aGlzLnByb3BzfSBwYXJlbnRTdGF0ZT17dGhpcy5zdGF0ZX0gcGFyZW50TWV0aG9kcz17dGhpcy5tZXRob2RzfSAvPlxuICAgICAgICAgICl9XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5zZXBhcmF0b3IgJiYgKFxuICAgICAgICAgICAgPFNlcGFyYXRvclxuICAgICAgICAgICAgICBwYXJlbnRQcm9wcz17dGhpcy5wcm9wc31cbiAgICAgICAgICAgICAgcGFyZW50U3RhdGU9e3RoaXMuc3RhdGV9XG4gICAgICAgICAgICAgIHBhcmVudE1ldGhvZHM9e3RoaXMubWV0aG9kc31cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgKX1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLmRyb3Bkb3duSGFuZGxlICYmIChcbiAgICAgICAgICAgIDxEcm9wZG93bkhhbmRsZVxuICAgICAgICAgICAgICBwYXJlbnRQcm9wcz17dGhpcy5wcm9wc31cbiAgICAgICAgICAgICAgcGFyZW50U3RhdGU9e3RoaXMuc3RhdGV9XG4gICAgICAgICAgICAgIHBhcmVudE1ldGhvZHM9e3RoaXMubWV0aG9kc31cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgKX1cblxuICAgICAgICAgIHt0aGlzLnN0YXRlLmRyb3Bkb3duICYmIChcbiA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GVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcbiAgd2lkdGg6IDEwMCU7XG4gIGJvcmRlci1yYWRpdXM6IDJweDtcbiAgcGFkZGluZzogMnB4IDVweDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgbWluLWhlaWdodDogMzZweDtcbiAgJHsoeyBkaXNhYmxlZCB9KSA9PlxuICAgIGRpc2FibGVkID8gJ2N1cnNvcjogbm90LWFsbG93ZWQ7cG9pbnRlci1ldmVudHM6IG5vbmU7b3BhY2l0eTogMC4zOycgOiAncG9pbnRlci1ldmVudHM6IGFsbDsnfVxuXG4gIDpmb2N1cy13aXRoaW4ge1xuICAgIGJvcmRlci1jb2xvcjogZGVlcHNreWJsdWU7XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IFNlbGVjdDtcbiJdfQ== */"));
}, ":hover,:focus-within{border-color:", function (_ref2) {
var color = _ref2.color;
return color;
}, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5VHNDIiwiZmlsZSI6Ii4uL3NyYy9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IENsaWNrT3V0SGFuZGxlciBmcm9tICdyZWFjdC1vbmNsaWNrb3V0JztcblxuaW1wb3J0IENvbnRlbnQgZnJvbSAnLi9jb21wb25lbnRzL0NvbnRlbnQnO1xuaW1wb3J0IERyb3Bk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SAvPn1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLmNsZWFyYWJsZSAmJiAoXG4gICAgICAgICAgICA8Q2xlYXIgcGFyZW50UHJvcHM9e3RoaXMucHJvcHN9IHBhcmVudFN0YXRlPXt0aGlzLnN0YXRlfSBwYXJlbnRNZXRob2RzPXt0aGlzLm1ldGhvZHN9IC8+XG4gICAgICAgICAgKX1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLnNlcGFyYXRvciAmJiAoXG4gICAgICAgICAgICA8U2VwYXJhdG9yXG4gICAgICAgICAgICAgIHBhcmVudFByb3BzPXt0aGlzLnByb3BzfVxuICAgICAgICAgICAgICBwYXJlbnRTdGF0ZT17dGhpcy5zdGF0ZX1cbiAgICAgICAgICAgICAgcGFyZW50TWV0aG9kcz17dGhpcy5tZXRob2RzfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApfVxuXG4gICAgICAgICAge3RoaXMucHJvcHMuZHJvcGRvd25IYW5kbGUgJiYgKFxuICAgICAgICAgICAgPERyb3Bkb3duSGFuZGxlXG4gICAgICAgICAgICAgIHBhcmVudFByb3BzPXt0aGlzLnByb3BzfVxuICAgICAgICAgICAgICBwYXJlbnRTdGF0ZT17dGhpcy5zdGF0ZX1cbiAgICAgICAgICAgICAgcGFyZW50TWV0aG9kcz17dGhpcy5tZXRob2RzfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApfVxuXG4gICAgICAgICAge3RoaXMuc3RhdGUuZHJvcGRvd24gJiYgKFxuICAgICAgICAgICAgPERyb3Bkb3duXG4gICAgICAgICAgICAgIHBhcmVudFByb3BzPXt0aGlzLnByb3BzfVxuICAgICAgICAgICAgICBwYXJlbnRTdGF0ZT17dGhpcy5zdGF0ZX1cbiAgICAgICAgICAgICAgcGFyZW50TWV0aG9kcz17dGhpcy5tZXRob2RzfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApfVxuICAgICAgICA8L1JlYWN0RHJvcGRvd25TZWxlY3Q+XG4gICAgICA8L0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B4O1xuICAkeyh7IGRpc2FibGVkIH0pID0+XG4gICAgZGlzYWJsZWQgPyAnY3Vyc29yOiBub3QtYWxsb3dlZDtwb2ludGVyLWV2ZW50czogbm9uZTtvcGFjaXR5OiAwLjM7JyA6ICdwb2ludGVyLWV2ZW50czogYWxsOyd9XG5cbiAgOmhvdmVyLCBcbiAgOmZvY3VzLXdpdGhpbiB7XG4gICAgYm9yZGVyLWNvbG9yOiAkeyh7IGNvbG9yIH0pID0+IGNvbG9yfTtcbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgU2VsZWN0O1xuIl19 */"));
var _default = Select;
exports.default = _default;
{
"name": "react-dropdown-select",
"version": "1.2.7",
"version": "1.2.8",
"description": "Customizable dropdown select for react",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -21,11 +21,9 @@ # react-dropdown-select

<Select
placeholder="Select"
addPlaceholder="+"
multi={true}
values={[options[0]]}
options={options}
onChange={(values) => this.setValues(values)}
/>
options={options}
onChange={(values) => this.setValues(values)}
/>
```
> **options** and **onChange** are the minimum requered props
### Demo

@@ -58,2 +56,3 @@

| valueField | string | "value" | field in data to use for value |
| color | string | "#0074D9" | base color to use in component, also can be overwritten via CSS |
| closeOnScroll | bool | false | If true, scrolling the page will close the dropdown |

@@ -60,0 +59,0 @@ | **Callback props** ||||

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