@availity/mui-autocomplete 1.0.1 → 1.0.2
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/CHANGELOG.md +7 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/lib/Autocomplete.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.0.2](https://github.com/Availity/element/compare/@availity/mui-autocomplete@1.0.1...@availity/mui-autocomplete@1.0.2) (2025-03-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mui-autocomplete:** resolve InputProps overwrites ([1700687](https://github.com/Availity/element/commit/17006876c43c4a8ec00d3cf5b2d3f3c4ffa35bb1))
|
|
11
|
+
|
|
5
12
|
## [1.0.1](https://github.com/Availity/element/compare/@availity/mui-autocomplete@1.0.0...@availity/mui-autocomplete@1.0.1) (2025-02-26)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ var Autocomplete = (_a) => {
|
|
|
114
114
|
size: "small"
|
|
115
115
|
};
|
|
116
116
|
const resolvedProps = (params) => ({
|
|
117
|
-
InputProps: __spreadProps(__spreadValues(__spreadValues({},
|
|
117
|
+
InputProps: __spreadProps(__spreadValues(__spreadValues({}, params == null ? void 0 : params.InputProps), FieldProps == null ? void 0 : FieldProps.InputProps), {
|
|
118
118
|
endAdornment: props.loading ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
119
119
|
(params == null ? void 0 : params.InputProps.endAdornment) || null,
|
|
120
120
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadingIndicator, {})
|
package/dist/index.mjs
CHANGED
|
@@ -78,7 +78,7 @@ var Autocomplete = (_a) => {
|
|
|
78
78
|
size: "small"
|
|
79
79
|
};
|
|
80
80
|
const resolvedProps = (params) => ({
|
|
81
|
-
InputProps: __spreadProps(__spreadValues(__spreadValues({},
|
|
81
|
+
InputProps: __spreadProps(__spreadValues(__spreadValues({}, params == null ? void 0 : params.InputProps), FieldProps == null ? void 0 : FieldProps.InputProps), {
|
|
82
82
|
endAdornment: props.loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
83
83
|
(params == null ? void 0 : params.InputProps.endAdornment) || null,
|
|
84
84
|
/* @__PURE__ */ jsx(LoadingIndicator, {})
|
package/package.json
CHANGED
package/src/lib/Autocomplete.tsx
CHANGED
|
@@ -76,8 +76,8 @@ export const Autocomplete = <
|
|
|
76
76
|
|
|
77
77
|
const resolvedProps = (params: AutocompleteRenderInputParams) => ({
|
|
78
78
|
InputProps: {
|
|
79
|
-
...FieldProps?.InputProps,
|
|
80
79
|
...params?.InputProps,
|
|
80
|
+
...FieldProps?.InputProps,
|
|
81
81
|
endAdornment: props.loading ? (
|
|
82
82
|
<>
|
|
83
83
|
{params?.InputProps.endAdornment || null}
|