@elliemae/ds-shuttle 2.0.0-rc.9 → 2.0.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/cjs/ShuttleImpl.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
4
3
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
|
+
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
5
|
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
6
6
|
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
7
|
require('core-js/modules/esnext.iterator.filter.js');
|
|
@@ -26,8 +26,8 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
26
26
|
|
|
27
27
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
28
28
|
|
|
29
|
-
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
30
29
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
30
|
+
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
31
31
|
|
|
32
32
|
const _excluded = ["idField", "nonSelectedItems", "moreItemsLoading"];
|
|
33
33
|
|
|
@@ -39,12 +39,12 @@ class ShuttleImpl extends react.Component {
|
|
|
39
39
|
constructor(props) {
|
|
40
40
|
super(props);
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
this.getState = () => {
|
|
43
43
|
const {
|
|
44
44
|
movedItems
|
|
45
45
|
} = this.state;
|
|
46
46
|
return Object.keys(movedItems);
|
|
47
|
-
}
|
|
47
|
+
};
|
|
48
48
|
|
|
49
49
|
this.state = {
|
|
50
50
|
prevProps: {},
|
|
@@ -305,8 +305,7 @@ class ShuttleImpl extends react.Component {
|
|
|
305
305
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
ShuttleImpl.contextType = SearchState.Context;
|
|
310
309
|
var ShuttleImpl$1 = withProviders(ShuttleImpl);
|
|
311
310
|
|
|
312
311
|
module.exports = ShuttleImpl$1;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
4
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
5
4
|
var react = require('react');
|
|
6
5
|
var dsClassnames = require('@elliemae/ds-classnames');
|
|
7
6
|
var dsUtilities = require('@elliemae/ds-utilities');
|
|
@@ -10,7 +9,6 @@ var dsForm = require('@elliemae/ds-form');
|
|
|
10
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
10
|
|
|
12
11
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
13
|
-
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
14
12
|
|
|
15
13
|
const blockName = 'shuttle-search-box';
|
|
16
14
|
const SearchBoxContainer = dsClassnames.aggregatedClasses('div')(blockName, null, _ref => {
|
|
@@ -103,11 +101,10 @@ class ShuttleSearchBox extends react.Component {
|
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
}
|
|
106
|
-
|
|
107
|
-
_defineProperty__default["default"](ShuttleSearchBox, "defaultProps", {
|
|
104
|
+
ShuttleSearchBox.defaultProps = {
|
|
108
105
|
filterOnKeyStroke: false,
|
|
109
106
|
onChange: () => null,
|
|
110
107
|
onFilter: () => null
|
|
111
|
-
}
|
|
108
|
+
};
|
|
112
109
|
|
|
113
110
|
module.exports = ShuttleSearchBox;
|
package/esm/ShuttleImpl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
2
1
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
3
3
|
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
4
4
|
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
5
5
|
import 'core-js/modules/esnext.iterator.filter.js';
|
|
@@ -32,12 +32,12 @@ class ShuttleImpl extends Component {
|
|
|
32
32
|
constructor(props) {
|
|
33
33
|
super(props);
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
this.getState = () => {
|
|
36
36
|
const {
|
|
37
37
|
movedItems
|
|
38
38
|
} = this.state;
|
|
39
39
|
return Object.keys(movedItems);
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
|
|
42
42
|
this.state = {
|
|
43
43
|
prevProps: {},
|
|
@@ -298,8 +298,7 @@ class ShuttleImpl extends Component {
|
|
|
298
298
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
ShuttleImpl.contextType = SearchState.Context;
|
|
303
302
|
var ShuttleImpl$1 = withProviders(ShuttleImpl);
|
|
304
303
|
|
|
305
304
|
export { ShuttleImpl$1 as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
-
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
3
2
|
import { Component } from 'react';
|
|
4
3
|
import { aggregatedClasses } from '@elliemae/ds-classnames';
|
|
5
4
|
import { debounce } from '@elliemae/ds-utilities';
|
|
@@ -96,11 +95,10 @@ class ShuttleSearchBox extends Component {
|
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
}
|
|
99
|
-
|
|
100
|
-
_defineProperty(ShuttleSearchBox, "defaultProps", {
|
|
98
|
+
ShuttleSearchBox.defaultProps = {
|
|
101
99
|
filterOnKeyStroke: false,
|
|
102
100
|
onChange: () => null,
|
|
103
101
|
onFilter: () => null
|
|
104
|
-
}
|
|
102
|
+
};
|
|
105
103
|
|
|
106
104
|
export { ShuttleSearchBox as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-shuttle",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Shuttle",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -152,16 +152,16 @@
|
|
|
152
152
|
"build": "node ../../scripts/build/build.js"
|
|
153
153
|
},
|
|
154
154
|
"dependencies": {
|
|
155
|
-
"@elliemae/ds-basic": "2.0.0
|
|
156
|
-
"@elliemae/ds-button": "2.0.0
|
|
157
|
-
"@elliemae/ds-circular-progress-indicator": "2.0.0
|
|
158
|
-
"@elliemae/ds-classnames": "2.0.0
|
|
159
|
-
"@elliemae/ds-form": "2.0.0
|
|
160
|
-
"@elliemae/ds-icons": "2.0.0
|
|
161
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.0.0
|
|
162
|
-
"@elliemae/ds-system": "2.0.0
|
|
163
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0
|
|
164
|
-
"@elliemae/ds-utilities": "2.0.0
|
|
155
|
+
"@elliemae/ds-basic": "2.0.0",
|
|
156
|
+
"@elliemae/ds-button": "2.0.0",
|
|
157
|
+
"@elliemae/ds-circular-progress-indicator": "2.0.0",
|
|
158
|
+
"@elliemae/ds-classnames": "2.0.0",
|
|
159
|
+
"@elliemae/ds-form": "2.0.0",
|
|
160
|
+
"@elliemae/ds-icons": "2.0.0",
|
|
161
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.0.0",
|
|
162
|
+
"@elliemae/ds-system": "2.0.0",
|
|
163
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0",
|
|
164
|
+
"@elliemae/ds-utilities": "2.0.0",
|
|
165
165
|
"constate": "~1.3.2",
|
|
166
166
|
"prop-types": "~15.7.2",
|
|
167
167
|
"react-desc": "~4.1.3",
|