@elliemae/ds-imagelibrarymodal 2.0.0-next.1 → 2.0.0-next.13
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.
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
4
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
5
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
6
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
3
8
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
9
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
10
|
require('react');
|
|
@@ -3,13 +3,20 @@
|
|
|
3
3
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
4
4
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
5
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
|
+
require('core-js/modules/esnext.async-iterator.map.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.map.js');
|
|
8
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
9
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
10
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
11
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
12
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
6
13
|
var React = require('react');
|
|
7
14
|
var DSModal = require('@elliemae/ds-modal');
|
|
8
|
-
var DSSpinner = require('@elliemae/ds-
|
|
9
|
-
var
|
|
15
|
+
var DSSpinner = require('@elliemae/ds-spinner');
|
|
16
|
+
var dsIcon = require('@elliemae/ds-icon');
|
|
10
17
|
var lodash = require('lodash');
|
|
11
18
|
var ImageLoader = require('react-loading-image');
|
|
12
|
-
var
|
|
19
|
+
var dsIcons = require('@elliemae/ds-icons');
|
|
13
20
|
var jsxRuntime = require('react/jsx-runtime');
|
|
14
21
|
|
|
15
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -21,7 +28,6 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
21
28
|
var DSModal__default = /*#__PURE__*/_interopDefaultLegacy(DSModal);
|
|
22
29
|
var DSSpinner__default = /*#__PURE__*/_interopDefaultLegacy(DSSpinner);
|
|
23
30
|
var ImageLoader__default = /*#__PURE__*/_interopDefaultLegacy(ImageLoader);
|
|
24
|
-
var ImageMissing__default = /*#__PURE__*/_interopDefaultLegacy(ImageMissing);
|
|
25
31
|
|
|
26
32
|
const _excluded = ["containerProps", "imagesData", "onSelect", "disableDoubleClick"];
|
|
27
33
|
|
|
@@ -114,7 +120,7 @@ class ImageLibraryModalImpl extends React__default["default"].PureComponent {
|
|
|
114
120
|
children: /*#__PURE__*/_jsx__default["default"]("div", {
|
|
115
121
|
className: "content"
|
|
116
122
|
}, void 0, name)
|
|
117
|
-
}), id ||
|
|
123
|
+
}), id || "".concat(name, "_").concat(idx));
|
|
118
124
|
});
|
|
119
125
|
});
|
|
120
126
|
|
|
@@ -123,9 +129,9 @@ class ImageLibraryModalImpl extends React__default["default"].PureComponent {
|
|
|
123
129
|
size: "m"
|
|
124
130
|
})));
|
|
125
131
|
|
|
126
|
-
_defineProperty__default["default"](this, "renderError", () => /*#__PURE__*/_jsx__default["default"](
|
|
127
|
-
color:
|
|
128
|
-
size:
|
|
132
|
+
_defineProperty__default["default"](this, "renderError", () => /*#__PURE__*/_jsx__default["default"](dsIcons.ImageMissing, {
|
|
133
|
+
color: dsIcon.DSIconColors.NEUTRAL,
|
|
134
|
+
size: dsIcon.DSIconSizes.M
|
|
129
135
|
}));
|
|
130
136
|
|
|
131
137
|
this.state = {
|
|
@@ -1,3 +1,8 @@
|
|
|
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';
|
|
1
6
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
3
8
|
import 'react';
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
2
2
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.map.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.map.js';
|
|
6
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
7
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
8
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
9
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
10
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
4
11
|
import React from 'react';
|
|
5
12
|
import DSModal from '@elliemae/ds-modal';
|
|
6
|
-
import DSSpinner from '@elliemae/ds-
|
|
7
|
-
import { DSIconColors, DSIconSizes } from '@elliemae/ds-
|
|
13
|
+
import DSSpinner from '@elliemae/ds-spinner';
|
|
14
|
+
import { DSIconColors, DSIconSizes } from '@elliemae/ds-icon';
|
|
8
15
|
import { includes } from 'lodash';
|
|
9
16
|
import ImageLoader from 'react-loading-image';
|
|
10
|
-
import ImageMissing from '@elliemae/ds-icons
|
|
17
|
+
import { ImageMissing } from '@elliemae/ds-icons';
|
|
11
18
|
import { jsx } from 'react/jsx-runtime';
|
|
12
19
|
|
|
13
20
|
const _excluded = ["containerProps", "imagesData", "onSelect", "disableDoubleClick"];
|
|
@@ -101,7 +108,7 @@ class ImageLibraryModalImpl extends React.PureComponent {
|
|
|
101
108
|
children: /*#__PURE__*/_jsx("div", {
|
|
102
109
|
className: "content"
|
|
103
110
|
}, void 0, name)
|
|
104
|
-
}), id ||
|
|
111
|
+
}), id || "".concat(name, "_").concat(idx));
|
|
105
112
|
});
|
|
106
113
|
});
|
|
107
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-imagelibrarymodal",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Image Library Modal",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -40,10 +40,12 @@
|
|
|
40
40
|
"build": "node ../../scripts/build/build.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elliemae/ds-basic": "2.0.0-next.
|
|
44
|
-
"@elliemae/ds-classnames": "2.0.0-next.
|
|
45
|
-
"@elliemae/ds-
|
|
46
|
-
"
|
|
43
|
+
"@elliemae/ds-basic": "2.0.0-next.13",
|
|
44
|
+
"@elliemae/ds-classnames": "2.0.0-next.13",
|
|
45
|
+
"@elliemae/ds-icons": "2.0.0-next.13",
|
|
46
|
+
"@elliemae/ds-shared": "2.0.0-next.13",
|
|
47
|
+
"prop-types": "~15.7.2",
|
|
48
|
+
"react-loading-image": "~0.5.0"
|
|
47
49
|
},
|
|
48
50
|
"peerDependencies": {
|
|
49
51
|
"lodash": "^4.17.21",
|
package/cjs/package.json
DELETED