dynamic-mui 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-modules/components/controls/Select/select.js +7 -2
- package/dist-modules/data/select.js +5 -0
- package/docs/asset-manifest.json +5 -5
- package/docs/build/{2.3c12d3a0.js → 2.7567d890.js} +2 -2
- package/docs/build/main.523b831f.js +1 -0
- package/docs/index.html +2 -2
- package/package.json +2 -2
- package/docs/build/main.4e61cdbd.js +0 -1
- /package/docs/build/{2.3c12d3a0.js.LICENSE.txt → 2.7567d890.js.LICENSE.txt} +0 -0
|
@@ -15,7 +15,7 @@ var _helper = require("../../../util/helper");
|
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } /* eslint-disable default-param-last */
|
|
18
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); } /* eslint-disable default-param-last,react/jsx-no-duplicate-props */
|
|
19
19
|
// import useUpdateEffect from '../../../util/useUpdateEffect';
|
|
20
20
|
|
|
21
21
|
const icon = /*#__PURE__*/_react.default.createElement(_CheckBoxOutlineBlank.default, {
|
|
@@ -43,7 +43,8 @@ function Select(_ref2) {
|
|
|
43
43
|
MuiAttributes = {},
|
|
44
44
|
options = [],
|
|
45
45
|
MuiBoxAttributes = {},
|
|
46
|
-
id = ''
|
|
46
|
+
id = '',
|
|
47
|
+
InputProps = {}
|
|
47
48
|
} = attributes;
|
|
48
49
|
const [value, setValue] = _react.default.useState((attributes === null || attributes === void 0 ? void 0 : attributes.value) && getValue(options, attributes === null || attributes === void 0 ? void 0 : attributes.value));
|
|
49
50
|
// const [inputValue, setInputValue] = React.useState('');
|
|
@@ -100,6 +101,10 @@ function Select(_ref2) {
|
|
|
100
101
|
inputProps: {
|
|
101
102
|
...params.inputProps,
|
|
102
103
|
autoComplete: 'new-password'
|
|
104
|
+
},
|
|
105
|
+
InputProps: {
|
|
106
|
+
...params.InputProps,
|
|
107
|
+
...(0, _helper.getInputProps)(InputProps)
|
|
103
108
|
}
|
|
104
109
|
}))
|
|
105
110
|
}));
|
package/docs/asset-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"main.js": "/DinakaranS/-dynamic-mui/build/main.
|
|
3
|
+
"main.js": "/DinakaranS/-dynamic-mui/build/main.523b831f.js",
|
|
4
4
|
"runtime-main.js": "/DinakaranS/-dynamic-mui/build/bundle.2d61df25.js",
|
|
5
|
-
"build/2.
|
|
6
|
-
"build/2.
|
|
5
|
+
"build/2.7567d890.js": "/DinakaranS/-dynamic-mui/build/2.7567d890.js",
|
|
6
|
+
"build/2.7567d890.js.LICENSE.txt": "/DinakaranS/-dynamic-mui/build/2.7567d890.js.LICENSE.txt",
|
|
7
7
|
"index.html": "/DinakaranS/-dynamic-mui/index.html"
|
|
8
8
|
},
|
|
9
9
|
"entrypoints": [
|
|
10
10
|
"build/bundle.2d61df25.js",
|
|
11
|
-
"build/2.
|
|
12
|
-
"build/main.
|
|
11
|
+
"build/2.7567d890.js",
|
|
12
|
+
"build/main.523b831f.js"
|
|
13
13
|
]
|
|
14
14
|
}
|