@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 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({}, FieldProps == null ? void 0 : FieldProps.InputProps), params == null ? void 0 : params.InputProps), {
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({}, FieldProps == null ? void 0 : FieldProps.InputProps), params == null ? void 0 : params.InputProps), {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-autocomplete",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Availity MUI Autocomplete Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -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}