@elliemae/ds-dialog 2.3.0-alpha.8 → 2.3.0-next.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/DSDialog.js +131 -0
- package/cjs/DSDialogDatatestid.js +10 -0
- package/cjs/defaultProps.js +19 -0
- package/cjs/index.js +70 -0
- package/cjs/propTypes.js +31 -0
- package/cjs/sharedTypes.js +7 -0
- package/cjs/styles.js +145 -0
- package/cjs/utils.js +35 -0
- package/esm/DSDialog.js +119 -0
- package/esm/DSDialogDatatestid.js +6 -0
- package/esm/defaultProps.js +15 -0
- package/{dist/esm → esm}/index.js +19 -48
- package/esm/propTypes.js +23 -0
- package/esm/sharedTypes.js +5 -0
- package/esm/styles.js +125 -0
- package/esm/utils.js +28 -0
- package/package.json +35 -41
- package/types/DSDialog.d.ts +376 -0
- package/types/DSDialogDatatestid.d.ts +4 -0
- package/types/defaultProps.d.ts +2 -0
- package/types/index.d.ts +52 -0
- package/types/propTypes.d.ts +388 -0
- package/types/sharedTypes.d.ts +6 -0
- package/types/styles.d.ts +23 -0
- package/types/tests/DSDialog.test.d.ts +1 -0
- package/types/utils.d.ts +20 -0
- package/dist/cjs/DSDialog.js +0 -99
- package/dist/cjs/DSDialog.js.map +0 -7
- package/dist/cjs/DSDialogDatatestid.js +0 -38
- package/dist/cjs/DSDialogDatatestid.js.map +0 -7
- package/dist/cjs/DSDialogInternalTypes.js +0 -27
- package/dist/cjs/DSDialogInternalTypes.js.map +0 -7
- package/dist/cjs/DSDialogTypes.js +0 -27
- package/dist/cjs/DSDialogTypes.js.map +0 -7
- package/dist/cjs/defaultProps.js +0 -45
- package/dist/cjs/defaultProps.js.map +0 -7
- package/dist/cjs/index.js +0 -94
- package/dist/cjs/index.js.map +0 -7
- package/dist/cjs/propTypes.js +0 -46
- package/dist/cjs/propTypes.js.map +0 -7
- package/dist/cjs/styles.js +0 -151
- package/dist/cjs/styles.js.map +0 -7
- package/dist/cjs/utils.js +0 -55
- package/dist/cjs/utils.js.map +0 -7
- package/dist/esm/DSDialog.js +0 -75
- package/dist/esm/DSDialog.js.map +0 -7
- package/dist/esm/DSDialogDatatestid.js +0 -9
- package/dist/esm/DSDialogDatatestid.js.map +0 -7
- package/dist/esm/DSDialogInternalTypes.js +0 -2
- package/dist/esm/DSDialogInternalTypes.js.map +0 -7
- package/dist/esm/DSDialogTypes.js +0 -2
- package/dist/esm/DSDialogTypes.js.map +0 -7
- package/dist/esm/defaultProps.js +0 -16
- package/dist/esm/defaultProps.js.map +0 -7
- package/dist/esm/index.js.map +0 -7
- package/dist/esm/propTypes.js +0 -17
- package/dist/esm/propTypes.js.map +0 -7
- package/dist/esm/styles.js +0 -122
- package/dist/esm/styles.js.map +0 -7
- package/dist/esm/utils.js +0 -26
- package/dist/esm/utils.js.map +0 -7
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DSDialogTitle,
|
|
10
|
-
DSDialogAddon,
|
|
11
|
-
DSDialogDefaultLayout,
|
|
12
|
-
DSDialogPrimaryMessage,
|
|
13
|
-
DSDialogSecondaryMessage
|
|
14
|
-
} from "./styles";
|
|
1
|
+
import { describe } from 'react-desc';
|
|
2
|
+
import { globalAttributesPropTypes } from '@elliemae/ds-props-helpers';
|
|
3
|
+
import { DSDialogBody, DSDialogHeader, DSDialogFooter, DSDialogSeparator, DSDialogTitle, DSDialogAddon, DSDialogDefaultLayout, DSDialogPrimaryMessage, DSDialogSecondaryMessage } from './styles.js';
|
|
4
|
+
export { DSDialogAddon, DSDialogBody, DSDialogDefaultLayout, DSDialogFooter, DSDialogHeader, DSDialogPrimaryMessage, DSDialogSecondaryMessage, DSDialogSeparator, DSDialogTitle } from './styles.js';
|
|
5
|
+
export { DSDialog, DSDialogWithSchema } from './DSDialog.js';
|
|
6
|
+
export { DSDialogDatatestid } from './DSDialogDatatestid.js';
|
|
7
|
+
export { DSDialogSizes } from './utils.js';
|
|
8
|
+
|
|
15
9
|
DSDialogBody.propTypes = globalAttributesPropTypes;
|
|
16
10
|
DSDialogHeader.propTypes = globalAttributesPropTypes;
|
|
17
11
|
DSDialogFooter.propTypes = globalAttributesPropTypes;
|
|
@@ -21,15 +15,15 @@ DSDialogAddon.propTypes = globalAttributesPropTypes;
|
|
|
21
15
|
DSDialogDefaultLayout.propTypes = globalAttributesPropTypes;
|
|
22
16
|
DSDialogPrimaryMessage.propTypes = globalAttributesPropTypes;
|
|
23
17
|
DSDialogSecondaryMessage.propTypes = globalAttributesPropTypes;
|
|
24
|
-
DSDialogBody.displayName =
|
|
25
|
-
DSDialogHeader.displayName =
|
|
26
|
-
DSDialogFooter.displayName =
|
|
27
|
-
DSDialogSeparator.displayName =
|
|
28
|
-
DSDialogTitle.displayName =
|
|
29
|
-
DSDialogAddon.displayName =
|
|
30
|
-
DSDialogDefaultLayout.displayName =
|
|
31
|
-
DSDialogPrimaryMessage.displayName =
|
|
32
|
-
DSDialogSecondaryMessage.displayName =
|
|
18
|
+
DSDialogBody.displayName = 'DSDialogBody';
|
|
19
|
+
DSDialogHeader.displayName = 'DSDialogHeader';
|
|
20
|
+
DSDialogFooter.displayName = 'DSDialogFooter';
|
|
21
|
+
DSDialogSeparator.displayName = 'DSDialogSeparator';
|
|
22
|
+
DSDialogTitle.displayName = 'DSDialogTitle';
|
|
23
|
+
DSDialogAddon.displayName = 'DSDialogAddon';
|
|
24
|
+
DSDialogDefaultLayout.displayName = 'DSDialogDefaultLayout';
|
|
25
|
+
DSDialogPrimaryMessage.displayName = 'DSDialogPrimaryMessage';
|
|
26
|
+
DSDialogSecondaryMessage.displayName = 'DSDialogSecondaryMessage';
|
|
33
27
|
const DSDialogBodyWithSchema = describe(DSDialogBody);
|
|
34
28
|
const DSDialogHeaderWithSchema = describe(DSDialogHeader);
|
|
35
29
|
const DSDialogFooterWithSchema = describe(DSDialogFooter);
|
|
@@ -48,28 +42,5 @@ DSDialogAddonWithSchema.propTypes = globalAttributesPropTypes;
|
|
|
48
42
|
DSDialogDefaultLayoutWithSchema.propTypes = globalAttributesPropTypes;
|
|
49
43
|
DSDialogPrimaryMessageWithSchema.propTypes = globalAttributesPropTypes;
|
|
50
44
|
DSDialogSecondaryMessageWithSchema.propTypes = globalAttributesPropTypes;
|
|
51
|
-
|
|
52
|
-
export
|
|
53
|
-
import { DSDialogSizes } from "./utils";
|
|
54
|
-
export {
|
|
55
|
-
DSDialogAddon,
|
|
56
|
-
DSDialogAddonWithSchema,
|
|
57
|
-
DSDialogBody,
|
|
58
|
-
DSDialogBodyWithSchema,
|
|
59
|
-
DSDialogDefaultLayout,
|
|
60
|
-
DSDialogDefaultLayoutWithSchema,
|
|
61
|
-
DSDialogFooter,
|
|
62
|
-
DSDialogFooterWithSchema,
|
|
63
|
-
DSDialogHeader,
|
|
64
|
-
DSDialogHeaderWithSchema,
|
|
65
|
-
DSDialogPrimaryMessage,
|
|
66
|
-
DSDialogPrimaryMessageWithSchema,
|
|
67
|
-
DSDialogSecondaryMessage,
|
|
68
|
-
DSDialogSecondaryMessageWithSchema,
|
|
69
|
-
DSDialogSeparator,
|
|
70
|
-
DSDialogSeparatorWithSchema,
|
|
71
|
-
DSDialogSizes,
|
|
72
|
-
DSDialogTitle,
|
|
73
|
-
DSDialogTitleWithSchema
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=index.js.map
|
|
45
|
+
|
|
46
|
+
export { DSDialogAddonWithSchema, DSDialogBodyWithSchema, DSDialogDefaultLayoutWithSchema, DSDialogFooterWithSchema, DSDialogHeaderWithSchema, DSDialogPrimaryMessageWithSchema, DSDialogSecondaryMessageWithSchema, DSDialogSeparatorWithSchema, DSDialogTitleWithSchema };
|
package/esm/propTypes.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
+
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
7
|
+
import { PropTypes, globalAttributesPropTypes } from '@elliemae/ds-props-helpers';
|
|
8
|
+
import { DSDialogSizesArrayValues, DSDialogSizes } from './utils.js';
|
|
9
|
+
|
|
10
|
+
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; }
|
|
11
|
+
|
|
12
|
+
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; }
|
|
13
|
+
const propTypes = _objectSpread(_objectSpread({}, globalAttributesPropTypes), {}, {
|
|
14
|
+
isOpen: PropTypes.bool.description('Whether the Dialog is open or not.').defaultValue(false),
|
|
15
|
+
children: PropTypes.node.description('Nested components.').isRequired,
|
|
16
|
+
centered: PropTypes.bool.description('Centers the Dialog.').defaultValue(false),
|
|
17
|
+
removeAutoFocus: PropTypes.bool.description('Removes focus in the Dialog container when is open. If you want to focus an specific element in the Dialog, it should be set to true.').defaultValue(false),
|
|
18
|
+
onClickOutside: PropTypes.func.description('Callback that should be used to close the modal when the user clicks outside.').defaultValue(() => {}),
|
|
19
|
+
onClose: PropTypes.func.description('Callback triggered with ESC key.').defaultValue(() => {}),
|
|
20
|
+
size: PropTypes.oneOf(DSDialogSizesArrayValues).description("Dialog's width size.").defaultValue(DSDialogSizes.DEFAULT)
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { propTypes };
|
package/esm/styles.js
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { createGlobalStyle } from '@elliemae/ds-system';
|
|
4
|
+
import { space, sizing, layout, flexboxes } from '@xstyled/styled-components';
|
|
5
|
+
import { allSizes } from './utils.js';
|
|
6
|
+
|
|
7
|
+
var _templateObject;
|
|
8
|
+
const FixedBody = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n body {\n overflow: hidden;\n \n ", "\n }\n"])), _ref => {
|
|
9
|
+
let {
|
|
10
|
+
bodyInfo
|
|
11
|
+
} = _ref;
|
|
12
|
+
return bodyInfo.overflow ? "padding-right: calc( ".concat(bodyInfo.padding, " + 15px ) !important;") : "";
|
|
13
|
+
});
|
|
14
|
+
const StyledDialogBackground = /*#__PURE__*/styled.div.withConfig({
|
|
15
|
+
componentId: "sc-106vqwv-0"
|
|
16
|
+
})(["position:fixed;top:0;bottom:0;width:100%;height:100%;background:rgba(37,41,47,50%);overflow-y:auto;z-index:", ";"], _ref2 => {
|
|
17
|
+
let {
|
|
18
|
+
zIndex
|
|
19
|
+
} = _ref2;
|
|
20
|
+
return zIndex;
|
|
21
|
+
});
|
|
22
|
+
const StyledDialogContainer = /*#__PURE__*/styled.div.withConfig({
|
|
23
|
+
componentId: "sc-106vqwv-1"
|
|
24
|
+
})(["height:fit-content;position:absolute;top:0;bottom:0;left:0;right:0;margin:", ";width:", ";min-width:300px;box-shadow:0 10px 20px 0 ", ";background:", ";overflow-y:auto;", " &:focus{outline:none;}"], _ref3 => {
|
|
25
|
+
let {
|
|
26
|
+
centered
|
|
27
|
+
} = _ref3;
|
|
28
|
+
return centered ? 'auto' : '20vh auto auto auto';
|
|
29
|
+
}, _ref4 => {
|
|
30
|
+
let {
|
|
31
|
+
size
|
|
32
|
+
} = _ref4;
|
|
33
|
+
return allSizes[size];
|
|
34
|
+
}, _ref5 => {
|
|
35
|
+
let {
|
|
36
|
+
theme
|
|
37
|
+
} = _ref5;
|
|
38
|
+
return theme.colors.neutral[500];
|
|
39
|
+
}, _ref6 => {
|
|
40
|
+
let {
|
|
41
|
+
theme
|
|
42
|
+
} = _ref6;
|
|
43
|
+
return theme.colors.neutral['000'];
|
|
44
|
+
}, space);
|
|
45
|
+
const DSDialogTitle = /*#__PURE__*/styled.h3.withConfig({
|
|
46
|
+
componentId: "sc-106vqwv-2"
|
|
47
|
+
})(["font-size:", ";display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:28px;margin:0;"], _ref7 => {
|
|
48
|
+
let {
|
|
49
|
+
theme
|
|
50
|
+
} = _ref7;
|
|
51
|
+
return theme.fontSizes.title[700];
|
|
52
|
+
});
|
|
53
|
+
const DSDialogAddon = /*#__PURE__*/styled.div.withConfig({
|
|
54
|
+
componentId: "sc-106vqwv-3"
|
|
55
|
+
})([""]);
|
|
56
|
+
const DSDialogHeader = /*#__PURE__*/styled.div.withConfig({
|
|
57
|
+
componentId: "sc-106vqwv-4"
|
|
58
|
+
})(["display:grid;align-items:center;grid-auto-flow:column;min-height:", ";padding:10px ", ";& ", " + ", "{align-self:flex-start;justify-self:flex-end;}& ", ":only-child{justify-self:flex-end;}", " ", ""], _ref8 => {
|
|
59
|
+
let {
|
|
60
|
+
theme
|
|
61
|
+
} = _ref8;
|
|
62
|
+
return theme.space.m;
|
|
63
|
+
}, _ref9 => {
|
|
64
|
+
let {
|
|
65
|
+
theme
|
|
66
|
+
} = _ref9;
|
|
67
|
+
return theme.space.xs;
|
|
68
|
+
}, DSDialogTitle, DSDialogAddon, DSDialogAddon, space, sizing);
|
|
69
|
+
const DSDialogSeparator = /*#__PURE__*/styled.hr.attrs(() => ({
|
|
70
|
+
'aria-hidden': true
|
|
71
|
+
})).withConfig({
|
|
72
|
+
componentId: "sc-106vqwv-5"
|
|
73
|
+
})(["margin:0;border-top:1px solid ", ";"], _ref10 => {
|
|
74
|
+
let {
|
|
75
|
+
theme
|
|
76
|
+
} = _ref10;
|
|
77
|
+
return theme.colors.neutral['080'];
|
|
78
|
+
});
|
|
79
|
+
const DSDialogBody = /*#__PURE__*/styled.div.withConfig({
|
|
80
|
+
componentId: "sc-106vqwv-6"
|
|
81
|
+
})(["padding:", ";overflow-y:auto;", " ", " ", " ", ""], _ref11 => {
|
|
82
|
+
let {
|
|
83
|
+
theme
|
|
84
|
+
} = _ref11;
|
|
85
|
+
return theme.space.xs;
|
|
86
|
+
}, layout, space, flexboxes, sizing);
|
|
87
|
+
const DSDialogPrimaryMessage = /*#__PURE__*/styled.h3.withConfig({
|
|
88
|
+
componentId: "sc-106vqwv-7"
|
|
89
|
+
})(["margin:0;"]);
|
|
90
|
+
const DSDialogSecondaryMessage = /*#__PURE__*/styled.p.withConfig({
|
|
91
|
+
componentId: "sc-106vqwv-8"
|
|
92
|
+
})(["margin:0;color:", ";"], _ref12 => {
|
|
93
|
+
let {
|
|
94
|
+
theme
|
|
95
|
+
} = _ref12;
|
|
96
|
+
return theme.colors.neutral[500];
|
|
97
|
+
});
|
|
98
|
+
const DSDialogDefaultLayout = /*#__PURE__*/styled.div.withConfig({
|
|
99
|
+
componentId: "sc-106vqwv-9"
|
|
100
|
+
})(["display:grid;grid-auto-flow:row;justify-items:center;align-items:center;grid-gap:", ";", "{text-align:center;}"], _ref13 => {
|
|
101
|
+
let {
|
|
102
|
+
theme
|
|
103
|
+
} = _ref13;
|
|
104
|
+
return theme.space.xxs;
|
|
105
|
+
}, DSDialogSecondaryMessage);
|
|
106
|
+
const DSDialogFooter = /*#__PURE__*/styled.div.withConfig({
|
|
107
|
+
componentId: "sc-106vqwv-10"
|
|
108
|
+
})(["display:grid;grid-auto-flow:column;align-items:center;justify-content:flex-end;grid-gap:", ";min-height:", ";padding:0 ", ";", " ", " ", ""], _ref14 => {
|
|
109
|
+
let {
|
|
110
|
+
theme
|
|
111
|
+
} = _ref14;
|
|
112
|
+
return theme.space.xxs;
|
|
113
|
+
}, _ref15 => {
|
|
114
|
+
let {
|
|
115
|
+
theme
|
|
116
|
+
} = _ref15;
|
|
117
|
+
return theme.space.m;
|
|
118
|
+
}, _ref16 => {
|
|
119
|
+
let {
|
|
120
|
+
theme
|
|
121
|
+
} = _ref16;
|
|
122
|
+
return theme.space.xs;
|
|
123
|
+
}, space, flexboxes, sizing);
|
|
124
|
+
|
|
125
|
+
export { DSDialogAddon, DSDialogBody, DSDialogDefaultLayout, DSDialogFooter, DSDialogHeader, DSDialogPrimaryMessage, DSDialogSecondaryMessage, DSDialogSeparator, DSDialogTitle, FixedBody, StyledDialogBackground, StyledDialogContainer };
|
package/esm/utils.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
|
+
|
|
6
|
+
const getSpaceProps = props => Object.fromEntries(Object.entries(props).filter(_ref => {
|
|
7
|
+
let [key] = _ref;
|
|
8
|
+
return /^[pm][xytblr]?$/.exec(key);
|
|
9
|
+
}));
|
|
10
|
+
const DSDialogSizes = {
|
|
11
|
+
DEFAULT: 'default',
|
|
12
|
+
SMALL: 'small',
|
|
13
|
+
MEDIUM: 'medium',
|
|
14
|
+
LARGE: 'large',
|
|
15
|
+
XLARGE: 'x-large',
|
|
16
|
+
XXLARGE: 'xx-large'
|
|
17
|
+
};
|
|
18
|
+
const DSDialogSizesArrayValues = Object.values(DSDialogSizes);
|
|
19
|
+
const allSizes = {
|
|
20
|
+
default: '576px',
|
|
21
|
+
small: '320px',
|
|
22
|
+
medium: '656px',
|
|
23
|
+
large: '848px',
|
|
24
|
+
'x-large': '1042px',
|
|
25
|
+
'xx-large': '1440px'
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { DSDialogSizes, DSDialogSizesArrayValues, allSizes, getSpaceProps };
|
package/package.json
CHANGED
|
@@ -1,50 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-dialog",
|
|
3
|
-
"version": "2.3.0-
|
|
3
|
+
"version": "2.3.0-next.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Dialog",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"module": "./dist/esm/index.js",
|
|
10
|
-
"main": "./dist/cjs/index.js",
|
|
11
|
-
"types": "./dist/types/index.d.ts",
|
|
6
|
+
"module": "./esm/index.js",
|
|
7
|
+
"main": "./cjs/index.js",
|
|
8
|
+
"types": "./types/index.d.ts",
|
|
12
9
|
"exports": {
|
|
13
10
|
".": {
|
|
14
|
-
"import": "./
|
|
15
|
-
"require": "./
|
|
11
|
+
"import": "./esm/index.js",
|
|
12
|
+
"require": "./cjs/index.js"
|
|
16
13
|
},
|
|
17
14
|
"./utils": {
|
|
18
|
-
"import": "./
|
|
19
|
-
"require": "./
|
|
15
|
+
"import": "./esm/utils.js",
|
|
16
|
+
"require": "./cjs/utils.js"
|
|
20
17
|
},
|
|
21
18
|
"./styles": {
|
|
22
|
-
"import": "./
|
|
23
|
-
"require": "./
|
|
24
|
-
},
|
|
25
|
-
"./propTypes": {
|
|
26
|
-
"import": "./dist/esm/propTypes.js",
|
|
27
|
-
"require": "./dist/cjs/propTypes.js"
|
|
19
|
+
"import": "./esm/styles.js",
|
|
20
|
+
"require": "./cjs/styles.js"
|
|
28
21
|
},
|
|
29
|
-
"./
|
|
30
|
-
"import": "./
|
|
31
|
-
"require": "./
|
|
22
|
+
"./sharedTypes": {
|
|
23
|
+
"import": "./esm/sharedTypes.js",
|
|
24
|
+
"require": "./cjs/sharedTypes.js"
|
|
32
25
|
},
|
|
33
|
-
"./
|
|
34
|
-
"import": "./
|
|
35
|
-
"require": "./
|
|
26
|
+
"./propTypes": {
|
|
27
|
+
"import": "./esm/propTypes.js",
|
|
28
|
+
"require": "./cjs/propTypes.js"
|
|
36
29
|
},
|
|
37
30
|
"./DSDialogDatatestid": {
|
|
38
|
-
"import": "./
|
|
39
|
-
"require": "./
|
|
31
|
+
"import": "./esm/DSDialogDatatestid.js",
|
|
32
|
+
"require": "./cjs/DSDialogDatatestid.js"
|
|
40
33
|
},
|
|
41
34
|
"./DSDialog": {
|
|
42
|
-
"import": "./
|
|
43
|
-
"require": "./
|
|
35
|
+
"import": "./esm/DSDialog.js",
|
|
36
|
+
"require": "./cjs/DSDialog.js"
|
|
44
37
|
},
|
|
45
38
|
"./defaultProps": {
|
|
46
|
-
"import": "./
|
|
47
|
-
"require": "./
|
|
39
|
+
"import": "./esm/defaultProps.js",
|
|
40
|
+
"require": "./cjs/defaultProps.js"
|
|
48
41
|
}
|
|
49
42
|
},
|
|
50
43
|
"sideEffects": [
|
|
@@ -56,14 +49,20 @@
|
|
|
56
49
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
57
50
|
},
|
|
58
51
|
"engines": {
|
|
59
|
-
"
|
|
60
|
-
"node": ">=
|
|
52
|
+
"npm": ">=7",
|
|
53
|
+
"node": ">=14"
|
|
61
54
|
},
|
|
62
55
|
"author": "ICE MT",
|
|
56
|
+
"scripts": {
|
|
57
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
58
|
+
"prebuild": "exit 0",
|
|
59
|
+
"predev": "exit 0",
|
|
60
|
+
"build": "node ../../scripts/build/build.js"
|
|
61
|
+
},
|
|
63
62
|
"dependencies": {
|
|
64
|
-
"@elliemae/ds-props-helpers": "2.3.0-
|
|
65
|
-
"@elliemae/ds-system": "2.3.0-
|
|
66
|
-
"@xstyled/styled-components": "~3.1.
|
|
63
|
+
"@elliemae/ds-props-helpers": "2.3.0-next.10",
|
|
64
|
+
"@elliemae/ds-system": "2.3.0-next.10",
|
|
65
|
+
"@xstyled/styled-components": "~3.1.1",
|
|
67
66
|
"react-desc": "~4.1.3"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {
|
|
@@ -76,12 +75,7 @@
|
|
|
76
75
|
},
|
|
77
76
|
"publishConfig": {
|
|
78
77
|
"access": "public",
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
"scripts": {
|
|
82
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
83
|
-
"prebuild": "exit 0",
|
|
84
|
-
"predev": "exit 0",
|
|
85
|
-
"build": "node ../../scripts/build/build.js"
|
|
78
|
+
"directory": "dist",
|
|
79
|
+
"generateSubmodules": true
|
|
86
80
|
}
|
|
87
81
|
}
|