@availity/mui-controlled-form 1.4.1 → 1.4.3

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,27 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.4.3](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.4.2...@availity/mui-controlled-form@1.4.3) (2025-10-30)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-button` updated to version `1.4.2`
10
+ * `mui-layout` updated to version `1.4.2`
11
+ * `mui-menu` updated to version `1.4.2`
12
+ * `mui-paper` updated to version `1.4.2`
13
+ * `mui-typography` updated to version `1.4.2`
14
+ * `mui-autocomplete` updated to version `1.4.2`
15
+ * `mui-checkbox` updated to version `1.4.2`
16
+ * `mui-datepicker` updated to version `1.4.2`
17
+ * `mui-form-utils` updated to version `1.4.2`
18
+ * `mui-textfield` updated to version `1.4.2`
19
+ * `theme-provider` updated to version `1.4.2`
20
+ ## [1.4.2](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.4.1...@availity/mui-controlled-form@1.4.2) (2025-10-09)
21
+
22
+ ### Dependency Updates
23
+
24
+ * `mui-autocomplete` updated to version `1.4.1`
25
+ * `@availity/mock` updated to version `1.4.1`
5
26
  ## [1.4.1](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.4.0...@availity/mui-controlled-form@1.4.1) (2025-07-17)
6
27
 
7
28
  ### Dependency Updates
package/dist/index.js CHANGED
@@ -147,7 +147,7 @@ var ControlledAsyncAutocomplete = (_a) => {
147
147
  },
148
148
  onBlur: onBlur2,
149
149
  value: (_c = (_b2 = (_a2 = transform == null ? void 0 : transform.input) == null ? void 0 : _a2.call(transform, value2)) != null ? _b2 : value2) != null ? _c : null,
150
- loadOptions: (offset, limit, inputValue) => __async(void 0, null, function* () {
150
+ loadOptions: (offset, limit, inputValue) => __async(null, null, function* () {
151
151
  const { options, hasMore, offset: returnedOffsetValue } = yield rest.loadOptions(offset, limit, inputValue);
152
152
  if (defaultToFirstOption && offset === 0) {
153
153
  setValue(name, rest.multiple ? [options[0]] : options[0]);
@@ -309,7 +309,7 @@ var ControlledCodesAutocomplete = (_a) => {
309
309
  "list",
310
310
  "watchParams"
311
311
  ]);
312
- const handleLoadOptions = (offset, limit, inputValue) => __async(void 0, null, function* () {
312
+ const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
313
313
  const resp = yield (0, import_mui_autocomplete3.fetchCodes)(__spreadProps(__spreadValues({}, apiConfig), {
314
314
  params: __spreadProps(__spreadValues({}, apiConfig.params), { list, offset, limit, q: inputValue })
315
315
  }));
@@ -467,7 +467,7 @@ var ControlledOrganizationAutocomplete = (_a) => {
467
467
  "queryKey",
468
468
  "apiConfig"
469
469
  ]);
470
- const handleLoadOptions = (offset, limit) => __async(void 0, null, function* () {
470
+ const handleLoadOptions = (offset, limit) => __async(null, null, function* () {
471
471
  const resp = yield (0, import_mui_autocomplete4.fetchOrgs)(__spreadProps(__spreadValues({}, apiConfig), { params: __spreadProps(__spreadValues({ dropdown: true }, apiConfig.params), { offset, limit }) }));
472
472
  return resp;
473
473
  });
@@ -495,7 +495,7 @@ var ControlledProviderAutocomplete = (_a) => {
495
495
  "customerId",
496
496
  "queryKey"
497
497
  ]);
498
- const handleLoadOptions = (offset, limit, inputValue) => __async(void 0, null, function* () {
498
+ const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
499
499
  const resp = yield (0, import_mui_autocomplete5.fetchProviders)(customerId, __spreadProps(__spreadValues({}, apiConfig), {
500
500
  params: __spreadProps(__spreadValues({}, apiConfig.params), { offset, limit, q: inputValue })
501
501
  }));
package/dist/index.mjs CHANGED
@@ -111,7 +111,7 @@ var ControlledAsyncAutocomplete = (_a) => {
111
111
  },
112
112
  onBlur: onBlur2,
113
113
  value: (_c = (_b2 = (_a2 = transform == null ? void 0 : transform.input) == null ? void 0 : _a2.call(transform, value2)) != null ? _b2 : value2) != null ? _c : null,
114
- loadOptions: (offset, limit, inputValue) => __async(void 0, null, function* () {
114
+ loadOptions: (offset, limit, inputValue) => __async(null, null, function* () {
115
115
  const { options, hasMore, offset: returnedOffsetValue } = yield rest.loadOptions(offset, limit, inputValue);
116
116
  if (defaultToFirstOption && offset === 0) {
117
117
  setValue(name, rest.multiple ? [options[0]] : options[0]);
@@ -273,7 +273,7 @@ var ControlledCodesAutocomplete = (_a) => {
273
273
  "list",
274
274
  "watchParams"
275
275
  ]);
276
- const handleLoadOptions = (offset, limit, inputValue) => __async(void 0, null, function* () {
276
+ const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
277
277
  const resp = yield fetchCodes(__spreadProps(__spreadValues({}, apiConfig), {
278
278
  params: __spreadProps(__spreadValues({}, apiConfig.params), { list, offset, limit, q: inputValue })
279
279
  }));
@@ -431,7 +431,7 @@ var ControlledOrganizationAutocomplete = (_a) => {
431
431
  "queryKey",
432
432
  "apiConfig"
433
433
  ]);
434
- const handleLoadOptions = (offset, limit) => __async(void 0, null, function* () {
434
+ const handleLoadOptions = (offset, limit) => __async(null, null, function* () {
435
435
  const resp = yield fetchOrgs(__spreadProps(__spreadValues({}, apiConfig), { params: __spreadProps(__spreadValues({ dropdown: true }, apiConfig.params), { offset, limit }) }));
436
436
  return resp;
437
437
  });
@@ -459,7 +459,7 @@ var ControlledProviderAutocomplete = (_a) => {
459
459
  "customerId",
460
460
  "queryKey"
461
461
  ]);
462
- const handleLoadOptions = (offset, limit, inputValue) => __async(void 0, null, function* () {
462
+ const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
463
463
  const resp = yield fetchProviders(customerId, __spreadProps(__spreadValues({}, apiConfig), {
464
464
  params: __spreadProps(__spreadValues({}, apiConfig.params), { offset, limit, q: inputValue })
465
465
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-controlled-form",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Availity MUI/react-hook-form controlled form components - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,20 +40,20 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "dependencies": {
43
- "@availity/mui-autocomplete": "^1.2.5",
44
- "@availity/mui-checkbox": "^1.0.3",
45
- "@availity/mui-datepicker": "^1.2.0",
46
- "@availity/mui-form-utils": "^1.3.2",
47
- "@availity/mui-textfield": "^1.3.1",
43
+ "@availity/mui-autocomplete": "^1.2.7",
44
+ "@availity/mui-checkbox": "^1.0.4",
45
+ "@availity/mui-datepicker": "^1.2.1",
46
+ "@availity/mui-form-utils": "^1.3.3",
47
+ "@availity/mui-textfield": "^1.3.2",
48
48
  "react-hook-form": "^7.55.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@availity/api-axios": "^11.0.0",
52
- "@availity/mui-button": "^1.1.4",
53
- "@availity/mui-layout": "^1.0.2",
54
- "@availity/mui-menu": "^1.0.6",
55
- "@availity/mui-paper": "^1.0.2",
56
- "@availity/mui-typography": "^1.0.2",
52
+ "@availity/mui-button": "^1.1.5",
53
+ "@availity/mui-layout": "^1.0.3",
54
+ "@availity/mui-menu": "^1.0.7",
55
+ "@availity/mui-paper": "^1.0.3",
56
+ "@availity/mui-typography": "^1.0.3",
57
57
  "@hookform/resolvers": "^4.1.3",
58
58
  "@mui/material": "^6.4.5",
59
59
  "@tanstack/react-query": "^4.36.1",
@@ -71,5 +71,6 @@
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
74
- }
74
+ },
75
+ "sideEffects": false
75
76
  }