@availity/mui-controlled-form 0.2.1 → 0.2.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 +13 -0
- package/README.md +1 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +2 -2
- package/src/lib/TextField.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.3](https://github.com/Availity/element/compare/@availity/mui-controlled-form@0.2.2...@availity/mui-controlled-form@0.2.3) (2025-02-05)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-datepicker` updated to version `0.2.2`
|
|
10
|
+
* `theme-provider` updated to version `0.2.2`
|
|
11
|
+
## [0.2.2](https://github.com/Availity/element/compare/@availity/mui-controlled-form@0.2.1...@availity/mui-controlled-form@0.2.2) (2025-02-04)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **mui-controlled-form:** forward required from controlled text field to text field ([c223248](https://github.com/Availity/element/commit/c223248ec4a970ebb078d170d7d9fec74e02dbdc))
|
|
17
|
+
|
|
5
18
|
## [0.2.1](https://github.com/Availity/element/compare/@availity/mui-controlled-form@0.2.0...@availity/mui-controlled-form@0.2.1) (2025-02-04)
|
|
6
19
|
|
|
7
20
|
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ This package extends the Element's Form components with [react-hook-form](https:
|
|
|
12
12
|
|
|
13
13
|
Live demo and documentation in our [Storybook](https://availity.github.io/element/?path=/docs/form-components-controlled-form-introduction--docs)
|
|
14
14
|
|
|
15
|
-
Availity standards for design and usage can be found in the [Availity Design Guide](https://
|
|
15
|
+
Availity standards for design and usage can be found in the [Availity Design Guide](https://design.availity.com/2e36e50c7)
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
package/dist/index.js
CHANGED
|
@@ -845,7 +845,9 @@ var ControlledTextField = (_a) => {
|
|
|
845
845
|
const errorMessage = (_a2 = errors[name]) == null ? void 0 : _a2.message;
|
|
846
846
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
847
847
|
import_mui_textfield.TextField,
|
|
848
|
-
__spreadProps(__spreadValues(__spreadValues({}, rest),
|
|
848
|
+
__spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
|
|
849
|
+
required: !!required
|
|
850
|
+
}), register(name, {
|
|
849
851
|
required,
|
|
850
852
|
maxLength,
|
|
851
853
|
minLength,
|
package/dist/index.mjs
CHANGED
|
@@ -811,7 +811,9 @@ var ControlledTextField = (_a) => {
|
|
|
811
811
|
const errorMessage = (_a2 = errors[name]) == null ? void 0 : _a2.message;
|
|
812
812
|
return /* @__PURE__ */ jsx12(
|
|
813
813
|
TextField,
|
|
814
|
-
__spreadProps(__spreadValues(__spreadValues({}, rest),
|
|
814
|
+
__spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
|
|
815
|
+
required: !!required
|
|
816
|
+
}), register(name, {
|
|
815
817
|
required,
|
|
816
818
|
maxLength,
|
|
817
819
|
minLength,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-controlled-form",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Availity MUI ControlledForm Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@availity/mui-autocomplete": "^0.10.0",
|
|
44
44
|
"@availity/mui-checkbox": "^0.3.0",
|
|
45
|
-
"@availity/mui-datepicker": "^0.6.
|
|
45
|
+
"@availity/mui-datepicker": "^0.6.1",
|
|
46
46
|
"@availity/mui-form-utils": "^0.17.0",
|
|
47
47
|
"@availity/mui-textfield": "^0.7.0",
|
|
48
48
|
"react-hook-form": "^7.51.3"
|