@elliemae/ds-modal-slide 2.0.1 → 2.1.0-rc.10
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/cjs/components/Footer.js
CHANGED
|
@@ -21,9 +21,9 @@ var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
|
21
21
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
22
22
|
var DSButton__default = /*#__PURE__*/_interopDefaultLegacy(DSButton);
|
|
23
23
|
|
|
24
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
24
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
25
|
|
|
26
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
26
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
27
|
|
|
28
28
|
const ModalFooter = _ref => {
|
|
29
29
|
let {
|
package/esm/components/Footer.js
CHANGED
|
@@ -11,9 +11,9 @@ import DSButton from '@elliemae/ds-button';
|
|
|
11
11
|
import { FooterWrapper } from './blocks.js';
|
|
12
12
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
14
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
15
|
|
|
16
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
16
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17
17
|
|
|
18
18
|
const ModalFooter = _ref => {
|
|
19
19
|
let {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-modal-slide",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Modal Slide",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"build": "node ../../scripts/build/build.js"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-button": "2.0.
|
|
52
|
-
"@elliemae/ds-classnames": "2.0.
|
|
53
|
-
"@elliemae/ds-grid": "2.0.
|
|
54
|
-
"@elliemae/ds-icons": "2.0.
|
|
55
|
-
"@elliemae/ds-separator": "2.0.
|
|
56
|
-
"@elliemae/ds-system": "2.0.
|
|
51
|
+
"@elliemae/ds-button": "2.1.0-rc.10",
|
|
52
|
+
"@elliemae/ds-classnames": "2.1.0-rc.10",
|
|
53
|
+
"@elliemae/ds-grid": "2.1.0-rc.10",
|
|
54
|
+
"@elliemae/ds-icons": "2.1.0-rc.10",
|
|
55
|
+
"@elliemae/ds-separator": "2.1.0-rc.10",
|
|
56
|
+
"@elliemae/ds-system": "2.1.0-rc.10",
|
|
57
57
|
"prop-types": "~15.7.2",
|
|
58
58
|
"react-desc": "~4.1.3"
|
|
59
59
|
},
|
package/types/DSModalSlide.d.ts
CHANGED
|
@@ -20,19 +20,19 @@ declare const DSModalSlide: {
|
|
|
20
20
|
* If the modal slide is centered or not
|
|
21
21
|
*/
|
|
22
22
|
centered: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* If the modal slide is visible or not
|
|
30
30
|
*/
|
|
31
31
|
isOpen: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* Main content of the modal
|
|
@@ -42,46 +42,46 @@ declare const DSModalSlide: {
|
|
|
42
42
|
* If the modal slide takes the full width or not
|
|
43
43
|
*/
|
|
44
44
|
fullWidth: {
|
|
45
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
47
|
};
|
|
48
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* If the modal slide has a header, only available for full width option
|
|
52
52
|
*/
|
|
53
53
|
header: {
|
|
54
|
-
defaultValue
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
55
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
56
|
};
|
|
57
|
-
isRequired: import("react-desc").
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* Ratio of fade out
|
|
61
61
|
*/
|
|
62
62
|
fadeOut: {
|
|
63
|
-
defaultValue
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
64
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
65
|
};
|
|
66
|
-
isRequired: import("react-desc").
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* Ratio of fade in
|
|
70
70
|
*/
|
|
71
71
|
fadeIn: {
|
|
72
|
-
defaultValue
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
73
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
74
|
};
|
|
75
|
-
isRequired: import("react-desc").
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
78
|
* Override the panel height to scroll height of the container
|
|
79
79
|
*/
|
|
80
80
|
overrideHeight: {
|
|
81
|
-
defaultValue
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
82
82
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
83
|
};
|
|
84
|
-
isRequired: import("react-desc").
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
};
|
|
@@ -18,55 +18,55 @@ declare const ModalFooter: {
|
|
|
18
18
|
* Confirm Label
|
|
19
19
|
*/
|
|
20
20
|
confirmLabel: {
|
|
21
|
-
defaultValue
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
22
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
23
|
};
|
|
24
|
-
isRequired: import("react-desc").
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Reject Label
|
|
28
28
|
*/
|
|
29
29
|
rejectLabel: {
|
|
30
|
-
defaultValue
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
31
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
32
|
};
|
|
33
|
-
isRequired: import("react-desc").
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Callback
|
|
37
37
|
*/
|
|
38
38
|
onConfirm: {
|
|
39
|
-
defaultValue
|
|
39
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
40
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
41
|
};
|
|
42
|
-
isRequired: import("react-desc").
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Callback
|
|
46
46
|
*/
|
|
47
47
|
onReject: {
|
|
48
|
-
defaultValue
|
|
48
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
49
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
50
|
};
|
|
51
|
-
isRequired: import("react-desc").
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
* Extra DSButton props for confirm btn.
|
|
55
55
|
*/
|
|
56
56
|
confirmProps: {
|
|
57
|
-
defaultValue
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
58
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
59
|
};
|
|
60
|
-
isRequired: import("react-desc").
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Extra DSButton props for reject btn.
|
|
64
64
|
*/
|
|
65
65
|
rejectProps: {
|
|
66
|
-
defaultValue
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
67
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
68
|
};
|
|
69
|
-
isRequired: import("react-desc").
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
};
|
|
@@ -9,24 +9,24 @@ declare const ModalHeader: {
|
|
|
9
9
|
propTypes: {
|
|
10
10
|
/** on modal close callback */
|
|
11
11
|
onClose: {
|
|
12
|
-
defaultValue
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
13
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
14
|
};
|
|
15
|
-
isRequired: import("react-desc").
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
16
|
};
|
|
17
17
|
/** modal toolbar component */
|
|
18
18
|
toolbar: {
|
|
19
|
-
defaultValue
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
21
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
23
|
};
|
|
24
24
|
/** modal title */
|
|
25
25
|
title: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
};
|