@elliemae/pui-app-sdk 2.19.0 → 2.20.0
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/dist/cjs/utils/micro-frontend/guest.js +1 -2
- package/dist/cjs/view/error-toast/index.js +5 -5
- package/dist/cjs/view/error-toast/index.stories.js +8 -8
- package/dist/cjs/view/fields/check-box/index.js +1 -1
- package/dist/cjs/view/fields/check-box/set-value.stories.js +2 -2
- package/dist/cjs/view/fields/combo-box/index.js +1 -1
- package/dist/cjs/view/fields/date-input/index.js +1 -1
- package/dist/cjs/view/fields/form-item-layout/index.js +1 -1
- package/dist/cjs/view/fields/input-mask/index.js +1 -1
- package/dist/cjs/view/fields/large-text-box/index.js +1 -1
- package/dist/cjs/view/fields/radio/index.js +1 -1
- package/dist/cjs/view/fields/radio/set-value.stories.js +2 -2
- package/dist/cjs/view/fields/radio-group/index.js +1 -1
- package/dist/cjs/view/fields/radio-group/index.stories.js +1 -1
- package/dist/cjs/view/fields/text-box/index.js +1 -1
- package/dist/cjs/view/form/submit-button/index.js +2 -2
- package/dist/cjs/view/modals/wait-message/index.js +2 -2
- package/dist/es/utils/micro-frontend/guest.js +1 -1
- package/dist/es/view/error-toast/index.js +1 -1
- package/dist/es/view/error-toast/index.stories.js +2 -2
- package/dist/es/view/fields/check-box/index.js +1 -1
- package/dist/es/view/fields/check-box/set-value.stories.js +1 -1
- package/dist/es/view/fields/combo-box/index.js +1 -1
- package/dist/es/view/fields/date-input/index.js +1 -1
- package/dist/es/view/fields/form-item-layout/index.js +1 -1
- package/dist/es/view/fields/input-mask/index.js +1 -1
- package/dist/es/view/fields/large-text-box/index.js +1 -1
- package/dist/es/view/fields/radio/index.js +1 -1
- package/dist/es/view/fields/radio/set-value.stories.js +1 -1
- package/dist/es/view/fields/radio-group/index.js +1 -1
- package/dist/es/view/fields/radio-group/index.stories.js +1 -1
- package/dist/es/view/fields/text-box/index.js +1 -1
- package/dist/es/view/form/submit-button/index.js +1 -1
- package/dist/es/view/modals/wait-message/index.js +1 -1
- package/dist/types/view/fields/check-box/index.d.ts +1 -1
- package/dist/types/view/fields/input-mask/index.d.ts +1 -1
- package/package.json +10 -2
|
@@ -139,8 +139,7 @@ class CMicroAppGuest {
|
|
|
139
139
|
|
|
140
140
|
host = ((_window$parent = window.parent) === null || _window$parent === void 0 ? void 0 : (_window$parent$emui = _window$parent.emui) === null || _window$parent$emui === void 0 ? void 0 : _window$parent$emui.MicroAppHost) || null;
|
|
141
141
|
} else if (_emSsfGuest.default && this.props.hostName) {
|
|
142
|
-
_emSsfGuest.default.connect();
|
|
143
|
-
|
|
142
|
+
await _emSsfGuest.default.connect();
|
|
144
143
|
const timeout = new Promise(resolve => {
|
|
145
144
|
setTimeout(resolve, 100, null);
|
|
146
145
|
});
|
|
@@ -7,7 +7,7 @@ exports.ErrorToast = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _dsToast = require("@elliemae/ds-toast");
|
|
11
11
|
|
|
12
12
|
var _reactRedux = require("../../data/react-redux.js");
|
|
13
13
|
|
|
@@ -22,21 +22,21 @@ const ErrorToast = /*#__PURE__*/(0, _react.memo)(props => {
|
|
|
22
22
|
// Only show toast when there is error set in redux state
|
|
23
23
|
if (storeError && (storeError !== null && storeError !== void 0 && storeError.description || storeError !== null && storeError !== void 0 && storeError.messageText)) {
|
|
24
24
|
const toastProps = {
|
|
25
|
-
position:
|
|
25
|
+
position: _dsToast.ToastPosition.TOP_RIGHT,
|
|
26
26
|
messageTitle: 'Error',
|
|
27
|
-
type:
|
|
27
|
+
type: _dsToast.ToastType.ERROR,
|
|
28
28
|
...props,
|
|
29
29
|
...storeError
|
|
30
30
|
};
|
|
31
31
|
const messageText = toastProps.description || toastProps.messageText;
|
|
32
|
-
if (messageText) (0,
|
|
32
|
+
if (messageText) (0, _dsToast.toast)({
|
|
33
33
|
messageText,
|
|
34
34
|
...toastProps
|
|
35
35
|
});
|
|
36
36
|
dispatch(_index.actions.clear());
|
|
37
37
|
}
|
|
38
38
|
}, [storeError, props, dispatch]);
|
|
39
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
39
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_dsToast.DSToast, { ...props
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
exports.ErrorToast = ErrorToast;
|
|
@@ -11,9 +11,9 @@ var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _dsToast = require("@elliemae/ds-toast");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _dsButton = _interopRequireDefault(require("@elliemae/ds-button"));
|
|
17
17
|
|
|
18
18
|
var _reactRedux = require("../../data/react-redux.js");
|
|
19
19
|
|
|
@@ -62,7 +62,7 @@ exports.BasicError = BasicError;
|
|
|
62
62
|
|
|
63
63
|
const showToast = ({
|
|
64
64
|
messageText = 'Toast Message',
|
|
65
|
-
type =
|
|
65
|
+
type = _dsToast.ToastType.DEFAULT,
|
|
66
66
|
...props
|
|
67
67
|
}) => _index.error.set({
|
|
68
68
|
type,
|
|
@@ -73,25 +73,25 @@ const showToast = ({
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
const successToast = props => showToast({ ...props,
|
|
76
|
-
type:
|
|
76
|
+
type: _dsToast.ToastType.SUCCESS
|
|
77
77
|
});
|
|
78
78
|
|
|
79
79
|
const infoToast = props => showToast({ ...props,
|
|
80
|
-
type:
|
|
80
|
+
type: _dsToast.ToastType.INFO
|
|
81
81
|
});
|
|
82
82
|
|
|
83
83
|
const warningToast = props => showToast({ ...props,
|
|
84
|
-
type:
|
|
84
|
+
type: _dsToast.ToastType.WARNING
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
const errorToast = props => showToast({ ...props,
|
|
88
|
-
type:
|
|
88
|
+
type: _dsToast.ToastType.ERROR
|
|
89
89
|
});
|
|
90
90
|
|
|
91
91
|
const ToastButton = ({
|
|
92
92
|
labelText,
|
|
93
93
|
onClick
|
|
94
|
-
}) => /*#__PURE__*/(0, _jsx3.default)(
|
|
94
|
+
}) => /*#__PURE__*/(0, _jsx3.default)(_dsButton.default, {
|
|
95
95
|
buttonType: "text",
|
|
96
96
|
labelText: labelText,
|
|
97
97
|
onClick: onClick
|
|
@@ -15,7 +15,7 @@ exports.CheckBox = void 0;
|
|
|
15
15
|
|
|
16
16
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
17
17
|
|
|
18
|
-
var _Checkbox = _interopRequireWildcard(require("@elliemae/ds-
|
|
18
|
+
var _Checkbox = _interopRequireWildcard(require("@elliemae/ds-form/Checkbox"));
|
|
19
19
|
|
|
20
20
|
var _reactHookForm = require("react-hook-form");
|
|
21
21
|
|
|
@@ -13,7 +13,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _dsButton = _interopRequireDefault(require("@elliemae/ds-button"));
|
|
17
17
|
|
|
18
18
|
var _index = require("../../form/index.js");
|
|
19
19
|
|
|
@@ -78,6 +78,6 @@ SetValue.args = {
|
|
|
78
78
|
defaultChecked: false
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
var _StyledDSButton = /*#__PURE__*/(0, _styledComponents.default)(
|
|
81
|
+
var _StyledDSButton = /*#__PURE__*/(0, _styledComponents.default)(_dsButton.default).withConfig({
|
|
82
82
|
componentId: "sc-1lqqv9c-0"
|
|
83
83
|
})(["margin-top:10px;"]);
|
|
@@ -9,7 +9,7 @@ exports.ComboBox = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _ComboBox = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _ComboBox = _interopRequireDefault(require("@elliemae/ds-form/ComboBox"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.DateInput = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _DateInput = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _DateInput = _interopRequireDefault(require("@elliemae/ds-form/DateInput"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.FormItemLayout = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _FormItem = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _FormItem = _interopRequireDefault(require("@elliemae/ds-form/FormItem"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ Object.defineProperty(exports, "MASK_TYPES", {
|
|
|
21
21
|
|
|
22
22
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
23
23
|
|
|
24
|
-
var _InputMask = _interopRequireWildcard(require("@elliemae/ds-
|
|
24
|
+
var _InputMask = _interopRequireWildcard(require("@elliemae/ds-form/InputMask"));
|
|
25
25
|
|
|
26
26
|
var _reactHookForm = require("react-hook-form");
|
|
27
27
|
|
|
@@ -9,7 +9,7 @@ exports.LargeTextBox = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _LargeInputText = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _LargeInputText = _interopRequireDefault(require("@elliemae/ds-form/LargeInputText"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.Radio = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _Radio = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _Radio = _interopRequireDefault(require("@elliemae/ds-form/Radio"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -13,7 +13,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _dsButton = _interopRequireDefault(require("@elliemae/ds-button"));
|
|
17
17
|
|
|
18
18
|
var _index = require("../../form/index.js");
|
|
19
19
|
|
|
@@ -76,6 +76,6 @@ SetValue.args = {
|
|
|
76
76
|
defaultChecked: true
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
var _StyledDSButton = /*#__PURE__*/(0, _styledComponents.default)(
|
|
79
|
+
var _StyledDSButton = /*#__PURE__*/(0, _styledComponents.default)(_dsButton.default).withConfig({
|
|
80
80
|
componentId: "sc-fd8n0e-0"
|
|
81
81
|
})(["margin-top:10px;"]);
|
|
@@ -9,7 +9,7 @@ exports.RadioGroup = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _RadioGroup = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _RadioGroup = _interopRequireDefault(require("@elliemae/ds-form/RadioGroup"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.default = exports.Basic = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _Radio = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _Radio = _interopRequireDefault(require("@elliemae/ds-form/Radio"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.TextBox = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
var _TextBox = _interopRequireDefault(require("@elliemae/ds-
|
|
12
|
+
var _TextBox = _interopRequireDefault(require("@elliemae/ds-form/TextBox"));
|
|
13
13
|
|
|
14
14
|
var _reactHookForm = require("react-hook-form");
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ exports.FormSubmitButton = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _reactHookForm = require("react-hook-form");
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _dsButton = _interopRequireDefault(require("@elliemae/ds-button"));
|
|
13
13
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ const FormSubmitButton = ({ ...rest
|
|
|
21
21
|
mode
|
|
22
22
|
}
|
|
23
23
|
} = (0, _reactHookForm.useFormContext)();
|
|
24
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_dsButton.default, { ...rest,
|
|
25
25
|
type: "submit",
|
|
26
26
|
disabled: mode !== 'onSubmit' && (!formState.isDirty || formState.isDirty && !formState.isValid)
|
|
27
27
|
});
|
|
@@ -11,7 +11,7 @@ var _jsx3 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _dsLoadingIndicator = _interopRequireDefault(require("@elliemae/ds-loading-indicator"));
|
|
15
15
|
|
|
16
16
|
var _reactRedux = require("../../../data/react-redux.js");
|
|
17
17
|
|
|
@@ -45,7 +45,7 @@ const WaitMessage = /*#__PURE__*/(0, _react.memo)(({
|
|
|
45
45
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
46
46
|
children: [/*#__PURE__*/(0, _jsx3.default)(_htmlWaitMessage.HTMLWaitMessage, {
|
|
47
47
|
close: isOpen !== null
|
|
48
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
48
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_dsLoadingIndicator.default, {
|
|
49
49
|
id: "em-loading",
|
|
50
50
|
size: size,
|
|
51
51
|
style: style,
|
|
@@ -126,7 +126,7 @@ export class CMicroAppGuest {
|
|
|
126
126
|
|
|
127
127
|
host = ((_window$parent = window.parent) === null || _window$parent === void 0 ? void 0 : (_window$parent$emui = _window$parent.emui) === null || _window$parent$emui === void 0 ? void 0 : _window$parent$emui.MicroAppHost) || null;
|
|
128
128
|
} else if (ssfGuest && this.props.hostName) {
|
|
129
|
-
ssfGuest.connect();
|
|
129
|
+
await ssfGuest.connect();
|
|
130
130
|
const timeout = new Promise(resolve => {
|
|
131
131
|
setTimeout(resolve, 100, null);
|
|
132
132
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, memo } from 'react';
|
|
2
|
-
import { ToastPosition, ToastType, DSToast, toast } from '@elliemae/ds-
|
|
2
|
+
import { ToastPosition, ToastType, DSToast, toast } from '@elliemae/ds-toast';
|
|
3
3
|
import { useAppSelector, useAppDispatch } from "../../data/react-redux.js";
|
|
4
4
|
import { actions as error } from "../../data/error/index.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -3,8 +3,8 @@ import _jsx from "@babel/runtime/helpers/jsx";
|
|
|
3
3
|
var _ErrorToast, _Renderer, _Renderer2;
|
|
4
4
|
|
|
5
5
|
import { useEffect, useState } from 'react';
|
|
6
|
-
import { ToastType } from '@elliemae/ds-
|
|
7
|
-
import DSButton from '@elliemae/ds-
|
|
6
|
+
import { ToastType } from '@elliemae/ds-toast';
|
|
7
|
+
import DSButton from '@elliemae/ds-button';
|
|
8
8
|
import { useAppDispatch } from "../../data/react-redux.js";
|
|
9
9
|
import { error } from "../../index.js";
|
|
10
10
|
import { ErrorToast } from "./index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSCheckbox, { CHECKBOX_VARIANT } from '@elliemae/ds-
|
|
2
|
+
import DSCheckbox, { CHECKBOX_VARIANT } from '@elliemae/ds-form/Checkbox';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const CheckBox = ({
|
|
@@ -4,7 +4,7 @@ import _styled from "styled-components";
|
|
|
4
4
|
var _ToggleValue;
|
|
5
5
|
|
|
6
6
|
import { useFormContext, get } from 'react-hook-form';
|
|
7
|
-
import DSButton from '@elliemae/ds-
|
|
7
|
+
import DSButton from '@elliemae/ds-button';
|
|
8
8
|
import { Form } from "../../form/index.js";
|
|
9
9
|
import { CheckBox, CHECKBOX_VARIANT } from "./index.js";
|
|
10
10
|
import { ConnectForm } from "../connect-form.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSComboBox from '@elliemae/ds-
|
|
2
|
+
import DSComboBox from '@elliemae/ds-form/ComboBox';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const ComboBox = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSDateInput from '@elliemae/ds-
|
|
2
|
+
import DSDateInput from '@elliemae/ds-form/DateInput';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const DateInput = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSFormItemLayout from '@elliemae/ds-
|
|
2
|
+
import DSFormItemLayout from '@elliemae/ds-form/FormItem';
|
|
3
3
|
import { get } from 'react-hook-form';
|
|
4
4
|
import { ConnectForm } from "../connect-form.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSInputMask, { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-
|
|
2
|
+
import DSInputMask, { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form/InputMask';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const InputMask = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSLargeInputText from '@elliemae/ds-
|
|
2
|
+
import DSLargeInputText from '@elliemae/ds-form/LargeInputText';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const LargeTextBox = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSRadio from '@elliemae/ds-
|
|
2
|
+
import DSRadio from '@elliemae/ds-form/Radio';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const Radio = ({
|
|
@@ -4,7 +4,7 @@ import _styled from "styled-components";
|
|
|
4
4
|
var _ToggleValue;
|
|
5
5
|
|
|
6
6
|
import { useFormContext, get } from 'react-hook-form';
|
|
7
|
-
import DSButton from '@elliemae/ds-
|
|
7
|
+
import DSButton from '@elliemae/ds-button';
|
|
8
8
|
import { Form } from "../../form/index.js";
|
|
9
9
|
import { Radio } from "./index.js";
|
|
10
10
|
import { ConnectForm } from "../connect-form.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSRadioGroup from '@elliemae/ds-
|
|
2
|
+
import DSRadioGroup from '@elliemae/ds-form/RadioGroup';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const RadioGroup = ({
|
|
@@ -2,7 +2,7 @@ import _jsx from "@babel/runtime/helpers/jsx";
|
|
|
2
2
|
|
|
3
3
|
var _DSRadio, _DSRadio2;
|
|
4
4
|
|
|
5
|
-
import DSRadio from '@elliemae/ds-
|
|
5
|
+
import DSRadio from '@elliemae/ds-form/Radio';
|
|
6
6
|
import { get } from 'react-hook-form';
|
|
7
7
|
import { RadioGroup } from "./index.js";
|
|
8
8
|
import { Form } from "../../form/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _jsx2 from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import DSTextBox from '@elliemae/ds-
|
|
2
|
+
import DSTextBox from '@elliemae/ds-form/TextBox';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const TextBox = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
2
|
import { memo, useEffect } from 'react';
|
|
3
|
-
import DSLoadingIndicator from '@elliemae/ds-
|
|
3
|
+
import DSLoadingIndicator from '@elliemae/ds-loading-indicator';
|
|
4
4
|
import { useAppSelector } from "../../../data/react-redux.js";
|
|
5
5
|
import { HTMLWaitMessage } from "./html-wait-message.js";
|
|
6
6
|
import { waitStartEvent, waitEndEvent } from "../../../analytics/user-wait-event.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CHECKBOX_VARIANT } from '@elliemae/ds-
|
|
2
|
+
import { CHECKBOX_VARIANT } from '@elliemae/ds-form/Checkbox';
|
|
3
3
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
4
4
|
export declare type CheckBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
5
5
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-
|
|
2
|
+
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form/InputMask';
|
|
3
3
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
4
4
|
export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
5
5
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -90,9 +90,13 @@
|
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@elliemae/app-react-dependencies": "^2.10.0",
|
|
92
92
|
"@elliemae/ds-basic": "^1.60.0",
|
|
93
|
+
"@elliemae/ds-button": "^1.60.0",
|
|
94
|
+
"@elliemae/ds-form": "^1.60.0",
|
|
95
|
+
"@elliemae/ds-loading-indicator": "^1.60.0",
|
|
93
96
|
"@elliemae/ds-date-picker": "^1.60.0",
|
|
94
97
|
"@elliemae/ds-modal": "^1.60.0",
|
|
95
98
|
"@elliemae/ds-popperjs": "^1.60.0",
|
|
99
|
+
"@elliemae/ds-toast": "^1.60.0",
|
|
96
100
|
"@elliemae/em-ssf-guest": "^1.11.1",
|
|
97
101
|
"@elliemae/pui-diagnostics": "^2.7.2",
|
|
98
102
|
"@elliemae/pui-micro-frontend-base": "^1.10.0",
|
|
@@ -103,11 +107,15 @@
|
|
|
103
107
|
"@elliemae/app-react-dependencies": "~2.10.0",
|
|
104
108
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
|
|
105
109
|
"@elliemae/ds-basic": "~1.60.0",
|
|
110
|
+
"@elliemae/ds-button": "~1.60.0",
|
|
111
|
+
"@elliemae/ds-form": "~1.60.0",
|
|
112
|
+
"@elliemae/ds-loading-indicator": "~1.60.0",
|
|
106
113
|
"@elliemae/ds-date-picker": "~1.60.0",
|
|
107
114
|
"@elliemae/ds-modal": "~1.60.0",
|
|
108
115
|
"@elliemae/ds-popperjs": "~1.60.0",
|
|
116
|
+
"@elliemae/ds-toast": "~1.60.0",
|
|
109
117
|
"@elliemae/em-ssf-guest": "~1.11.1",
|
|
110
|
-
"@elliemae/pui-cli": "~5.21.
|
|
118
|
+
"@elliemae/pui-cli": "~5.21.3",
|
|
111
119
|
"@elliemae/pui-diagnostics": "~2.7.2",
|
|
112
120
|
"@elliemae/pui-e2e-test-sdk": "~6.8.0",
|
|
113
121
|
"@elliemae/pui-micro-frontend-base": "~1.10.0",
|