@elliemae/pui-app-sdk 3.2.1 → 3.2.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.
|
@@ -59,7 +59,7 @@ __export(radio_group_exports, {
|
|
|
59
59
|
RadioGroup: () => RadioGroup
|
|
60
60
|
});
|
|
61
61
|
var React = __toESM(require("react"));
|
|
62
|
-
var
|
|
62
|
+
var import_ds_form = require("@elliemae/ds-form");
|
|
63
63
|
var import_react_hook_form = require("react-hook-form");
|
|
64
64
|
const RadioGroup = (_a) => {
|
|
65
65
|
var _b = _a, { name, rules = {} } = _b, rest = __objRest(_b, ["name", "rules"]);
|
|
@@ -68,7 +68,7 @@ const RadioGroup = (_a) => {
|
|
|
68
68
|
rules,
|
|
69
69
|
render: (_a2) => {
|
|
70
70
|
var { field: _b2 } = _a2, _c = _b2, { value } = _c, restProps = __objRest(_c, ["value"]);
|
|
71
|
-
return /* @__PURE__ */ React.createElement(
|
|
71
|
+
return /* @__PURE__ */ React.createElement(import_ds_form.DSRadioGroup, __spreadProps(__spreadValues(__spreadValues({}, rest), restProps), {
|
|
72
72
|
activeValue: value
|
|
73
73
|
}));
|
|
74
74
|
}
|
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import * as React from "react";
|
|
33
|
-
import DSRadioGroup from "@elliemae/ds-form
|
|
33
|
+
import { DSRadioGroup } from "@elliemae/ds-form";
|
|
34
34
|
import {
|
|
35
35
|
Controller
|
|
36
36
|
} from "react-hook-form";
|