@elliemae/ds-search-field 1.60.0 → 2.0.0-alpha.12

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.
Files changed (42) hide show
  1. package/cjs/DSSearchField.js +41 -98
  2. package/cjs/impl/DSSeachFieldImpl.js +154 -188
  3. package/cjs/impl/components/AdvanceSearchOption/AdvanceSearchOption.js +9 -11
  4. package/cjs/impl/components/LookupIndicator/LookupIndicator.js +13 -13
  5. package/cjs/impl/components/ModalSearchField/DataGridSearch.js +78 -95
  6. package/cjs/impl/components/ModalSearchField/ModalSearchField.js +40 -77
  7. package/cjs/index.js +3 -31
  8. package/esm/DSSearchField.js +36 -93
  9. package/esm/impl/DSSeachFieldImpl.js +148 -174
  10. package/esm/impl/components/AdvanceSearchOption/AdvanceSearchOption.js +8 -10
  11. package/esm/impl/components/LookupIndicator/LookupIndicator.js +12 -12
  12. package/esm/impl/components/ModalSearchField/DataGridSearch.js +74 -84
  13. package/esm/impl/components/ModalSearchField/ModalSearchField.js +38 -75
  14. package/esm/index.js +0 -28
  15. package/package.json +59 -16
  16. package/types/DSSearchField.d.ts +259 -0
  17. package/types/impl/DSSeachFieldImpl.d.ts +16 -0
  18. package/types/impl/components/AdvanceSearchOption/AdvanceSearchOption.d.ts +6 -0
  19. package/types/impl/components/LookupIndicator/LookupIndicator.d.ts +6 -0
  20. package/types/impl/components/ModalSearchField/DataGridSearch.d.ts +7 -0
  21. package/types/impl/components/ModalSearchField/ModalSearchField.d.ts +23 -0
  22. package/types/index.d.ts +1 -0
  23. package/DSSearchField/package.json +0 -10
  24. package/cjs/DSSearchField.js.map +0 -1
  25. package/cjs/impl/DSSeachFieldImpl.js.map +0 -1
  26. package/cjs/impl/components/AdvanceSearchOption/AdvanceSearchOption.js.map +0 -1
  27. package/cjs/impl/components/LookupIndicator/LookupIndicator.js.map +0 -1
  28. package/cjs/impl/components/ModalSearchField/DataGridSearch.js.map +0 -1
  29. package/cjs/impl/components/ModalSearchField/ModalSearchField.js.map +0 -1
  30. package/cjs/index.js.map +0 -1
  31. package/esm/DSSearchField.js.map +0 -1
  32. package/esm/impl/DSSeachFieldImpl.js.map +0 -1
  33. package/esm/impl/components/AdvanceSearchOption/AdvanceSearchOption.js.map +0 -1
  34. package/esm/impl/components/LookupIndicator/LookupIndicator.js.map +0 -1
  35. package/esm/impl/components/ModalSearchField/DataGridSearch.js.map +0 -1
  36. package/esm/impl/components/ModalSearchField/ModalSearchField.js.map +0 -1
  37. package/esm/index.js.map +0 -1
  38. package/impl/DSSeachFieldImpl/package.json +0 -10
  39. package/impl/components/AdvanceSearchOption/AdvanceSearchOption/package.json +0 -10
  40. package/impl/components/LookupIndicator/LookupIndicator/package.json +0 -10
  41. package/impl/components/ModalSearchField/DataGridSearch/package.json +0 -10
  42. package/impl/components/ModalSearchField/ModalSearchField/package.json +0 -10
@@ -1,118 +1,108 @@
1
- import _extends from '@babel/runtime/helpers/esm/extends';
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 _jsx from '@babel/runtime/helpers/esm/jsx';
2
8
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
- import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';
4
- import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';
5
- import _createClass from '@babel/runtime/helpers/esm/createClass';
6
- import _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';
7
- import _inherits from '@babel/runtime/helpers/esm/inherits';
8
- import _possibleConstructorReturn from '@babel/runtime/helpers/esm/possibleConstructorReturn';
9
- import _getPrototypeOf from '@babel/runtime/helpers/esm/getPrototypeOf';
10
- import React, { Component } from 'react';
9
+ import 'core-js/modules/web.dom-collections.iterator.js';
10
+ import { Component } from 'react';
11
11
  import DSToolbar, { ToolbarGroup } from '@elliemae/ds-toolbar';
12
12
  import { DSSearchBox } from '@elliemae/ds-form';
13
13
  import { DSDataGrid } from '@elliemae/ds-datagrids';
14
14
  import { uid } from 'uid';
15
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
15
16
 
16
- var _excluded = ["onFiltersChange"];
17
+ const _excluded = ["onFiltersChange"];
17
18
 
18
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
19
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
19
20
 
20
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
21
-
22
- var DataGridSearch = /*#__PURE__*/function (_Component) {
23
- _inherits(DataGridSearch, _Component);
24
-
25
- var _super = _createSuper(DataGridSearch);
26
-
27
- function DataGridSearch(props) {
28
- var _this;
29
-
30
- _classCallCheck(this, DataGridSearch);
31
-
32
- _this = _super.call(this, props);
33
- _this.state = {
21
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
22
+ class DataGridSearch extends Component {
23
+ constructor(props) {
24
+ super(props);
25
+ this.state = {
34
26
  filters: props.filters || []
35
27
  };
36
- _this.handleSearch = _this.handleSearch.bind(_assertThisInitialized(_this));
37
- _this.handleFiltersChange = _this.handleFiltersChange.bind(_assertThisInitialized(_this));
38
- return _this;
28
+ this.handleSearch = this.handleSearch.bind(this);
29
+ this.handleFiltersChange = this.handleFiltersChange.bind(this);
39
30
  }
40
31
 
41
- _createClass(DataGridSearch, [{
42
- key: "handleSearch",
43
- value: function handleSearch() {
44
- var customDataGridOptions = this.props.customDataGridOptions;
32
+ handleSearch() {
33
+ const {
34
+ customDataGridOptions
35
+ } = this.props;
36
+ const {
37
+ property,
38
+ value
39
+ } = arguments.length <= 0 ? undefined : arguments[0];
40
+ const {
41
+ filters
42
+ } = this.state;
43
+ this.setState({
44
+ filters: [...filters, {
45
+ group: property,
46
+ label: 'All',
47
+ value,
48
+ id: uid(16)
49
+ }]
50
+ });
51
+ if (customDataGridOptions.onFiltersChange) customDataGridOptions.onFiltersChange(...arguments);
52
+ }
45
53
 
46
- var _ref = arguments.length <= 0 ? undefined : arguments[0],
47
- property = _ref.property,
48
- value = _ref.value;
54
+ handleFiltersChange(nextFilters) {
55
+ const {
56
+ customDataGridOptions
57
+ } = this.props;
58
+ this.setState({
59
+ filters: nextFilters
60
+ });
61
+ if (customDataGridOptions.onFiltersChange) customDataGridOptions.onFiltersChange(nextFilters);
62
+ }
49
63
 
50
- var filters = this.state.filters;
51
- this.setState({
52
- filters: [].concat(_toConsumableArray(filters), [{
53
- group: property,
54
- label: 'All',
55
- value: value,
56
- id: uid(16)
57
- }])
58
- });
59
- if (customDataGridOptions.onFiltersChange) customDataGridOptions.onFiltersChange.apply(customDataGridOptions, arguments);
60
- }
61
- }, {
62
- key: "handleFiltersChange",
63
- value: function handleFiltersChange(nextFilters) {
64
- var customDataGridOptions = this.props.customDataGridOptions;
65
- this.setState({
66
- filters: nextFilters
67
- });
68
- if (customDataGridOptions.onFiltersChange) customDataGridOptions.onFiltersChange(nextFilters);
69
- }
70
- }, {
71
- key: "render",
72
- value: function render() {
73
- var _this$props = this.props,
74
- id = _this$props.id,
75
- rows = _this$props.rows,
76
- columns = _this$props.columns,
77
- boundFetchRows = _this$props.boundFetchRows,
78
- searchFilters = _this$props.searchFilters,
79
- _this$props$searchGri = _this$props.searchGrid,
80
- searchGrid = _this$props$searchGri === void 0 ? true : _this$props$searchGri,
81
- customDataGridOptions = _this$props.customDataGridOptions,
82
- handleSelect = _this$props.handleSelect;
64
+ render() {
65
+ const {
66
+ id,
67
+ rows,
68
+ columns,
69
+ boundFetchRows,
70
+ searchFilters,
71
+ searchGrid = true,
72
+ customDataGridOptions,
73
+ handleSelect
74
+ } = this.props;
83
75
 
84
- customDataGridOptions.onFiltersChange;
85
- var restCustomDataGridOptions = _objectWithoutProperties(customDataGridOptions, _excluded);
76
+ const restCustomDataGridOptions = _objectWithoutProperties(customDataGridOptions, _excluded);
86
77
 
87
- var filters = this.state.filters;
88
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DSToolbar, {
78
+ const {
79
+ filters
80
+ } = this.state;
81
+ return /*#__PURE__*/jsxs(Fragment, {
82
+ children: [/*#__PURE__*/_jsx(DSToolbar, {
89
83
  withDepth: false
90
- }, /*#__PURE__*/React.createElement(ToolbarGroup, null, /*#__PURE__*/React.createElement(DSSearchBox, {
84
+ }, void 0, /*#__PURE__*/_jsx(ToolbarGroup, {}, void 0, /*#__PURE__*/_jsx(DSSearchBox, {
91
85
  cleanOnSearch: true,
92
86
  onSearch: this.handleSearch,
93
87
  placeholder: "Search all"
94
- }))), /*#__PURE__*/React.createElement("div", {
88
+ }))), /*#__PURE__*/_jsx("div", {
95
89
  className: "datagrid-tab-content"
96
- }, /*#__PURE__*/React.createElement(DSDataGrid, _extends({
90
+ }, void 0, /*#__PURE__*/jsx(DSDataGrid, _objectSpread({
97
91
  columns: columns,
98
92
  filters: filters,
99
93
  fluidHeight: true,
100
94
  getData: boundFetchRows,
101
95
  id: id,
102
96
  onFiltersChange: this.handleFiltersChange,
103
- onSelectRow: function onSelectRow(rowId) {
104
- return handleSelect(rowId, rows);
105
- },
97
+ onSelectRow: rowId => handleSelect(rowId, rows),
106
98
  rows: rows,
107
99
  searchFilters: searchFilters,
108
100
  searchGrid: searchGrid,
109
101
  selectable: true
110
- }, restCustomDataGridOptions))));
111
- }
112
- }]);
102
+ }, restCustomDataGridOptions)))]
103
+ });
104
+ }
113
105
 
114
- return DataGridSearch;
115
- }(Component);
106
+ }
116
107
 
117
108
  export { DataGridSearch as default };
118
- //# sourceMappingURL=DataGridSearch.js.map
@@ -1,71 +1,34 @@
1
- import React from 'react';
1
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
+ import 'core-js/modules/esnext.async-iterator.map.js';
3
+ import 'core-js/modules/esnext.iterator.map.js';
4
+ import 'react';
2
5
  import DSModal from '@elliemae/ds-modal';
3
6
  import { TabTypes, DSTabs, DSTab } from '@elliemae/ds-tabs';
4
7
  import DataGridSearch from './DataGridSearch.js';
5
- import '@babel/runtime/helpers/esm/extends';
6
- import '@babel/runtime/helpers/esm/objectWithoutProperties';
7
- import '@babel/runtime/helpers/esm/toConsumableArray';
8
- import '@babel/runtime/helpers/esm/classCallCheck';
9
- import '@babel/runtime/helpers/esm/createClass';
10
- import '@babel/runtime/helpers/esm/assertThisInitialized';
11
- import '@babel/runtime/helpers/esm/inherits';
12
- import '@babel/runtime/helpers/esm/possibleConstructorReturn';
13
- import '@babel/runtime/helpers/esm/getPrototypeOf';
14
- import '@elliemae/ds-toolbar';
15
- import '@elliemae/ds-form';
16
- import '@elliemae/ds-datagrids';
17
- import 'uid';
18
8
 
19
- var ModalSearchField = function ModalSearchField(_ref) {
20
- var _ref$isOpen = _ref.isOpen,
21
- isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
22
- _ref$onClose = _ref.onClose,
23
- onClose = _ref$onClose === void 0 ? function () {
24
- return null;
25
- } : _ref$onClose,
26
- _ref$modalTitle = _ref.modalTitle,
27
- modalTitle = _ref$modalTitle === void 0 ? 'Search Field ID' : _ref$modalTitle,
28
- _ref$modalSize = _ref.modalSize,
29
- modalSize = _ref$modalSize === void 0 ? 'x-large' : _ref$modalSize,
30
- _ref$tabsAnimated = _ref.tabsAnimated,
31
- tabsAnimated = _ref$tabsAnimated === void 0 ? true : _ref$tabsAnimated,
32
- _ref$tabsEnableMouseE = _ref.tabsEnableMouseEvents,
33
- tabsEnableMouseEvents = _ref$tabsEnableMouseE === void 0 ? true : _ref$tabsEnableMouseE,
34
- _ref$tabType = _ref.tabType,
35
- tabType = _ref$tabType === void 0 ? TabTypes.NORMAL : _ref$tabType,
36
- _ref$tabData = _ref.tabData,
37
- tabData = _ref$tabData === void 0 ? [] : _ref$tabData,
38
- _ref$searchFilters = _ref.searchFilters,
39
- searchFilters = _ref$searchFilters === void 0 ? true : _ref$searchFilters,
40
- _ref$searchGrid = _ref.searchGrid,
41
- searchGrid = _ref$searchGrid === void 0 ? false : _ref$searchGrid,
42
- _ref$confirmLabel = _ref.confirmLabel,
43
- confirmLabel = _ref$confirmLabel === void 0 ? 'Apply' : _ref$confirmLabel,
44
- _ref$rejectLabel = _ref.rejectLabel,
45
- rejectLabel = _ref$rejectLabel === void 0 ? 'Cancel' : _ref$rejectLabel,
46
- _ref$modalType = _ref.modalType,
47
- modalType = _ref$modalType === void 0 ? 'confirm' : _ref$modalType,
48
- _ref$onConfirmField = _ref.onConfirmField,
49
- onConfirmField = _ref$onConfirmField === void 0 ? function () {
50
- return null;
51
- } : _ref$onConfirmField,
52
- _ref$onRejectField = _ref.onRejectField,
53
- onRejectField = _ref$onRejectField === void 0 ? function () {
54
- return null;
55
- } : _ref$onRejectField,
56
- _ref$handleSelect = _ref.handleSelect,
57
- handleSelect = _ref$handleSelect === void 0 ? function () {
58
- return null;
59
- } : _ref$handleSelect,
60
- _ref$onTabChange = _ref.onTabChange,
61
- onTabChange = _ref$onTabChange === void 0 ? function () {
62
- return null;
63
- } : _ref$onTabChange,
64
- _ref$appElement = _ref.appElement,
65
- appElement = _ref$appElement === void 0 ? null : _ref$appElement,
66
- _ref$customDataGridOp = _ref.customDataGridOptions,
67
- customDataGridOptions = _ref$customDataGridOp === void 0 ? {} : _ref$customDataGridOp;
68
- return /*#__PURE__*/React.createElement(DSModal, {
9
+ const ModalSearchField = _ref => {
10
+ let {
11
+ isOpen = false,
12
+ onClose = () => null,
13
+ modalTitle = 'Search Field ID',
14
+ modalSize = 'x-large',
15
+ tabsAnimated = true,
16
+ tabsEnableMouseEvents = true,
17
+ tabType = TabTypes.NORMAL,
18
+ tabData = [],
19
+ searchFilters = true,
20
+ searchGrid = false,
21
+ confirmLabel = 'Apply',
22
+ rejectLabel = 'Cancel',
23
+ modalType = 'confirm',
24
+ onConfirmField = () => null,
25
+ onRejectField = () => null,
26
+ handleSelect = () => null,
27
+ onTabChange = () => null,
28
+ appElement = null,
29
+ customDataGridOptions = {}
30
+ } = _ref;
31
+ return /*#__PURE__*/_jsx(DSModal, {
69
32
  dataTestId: "ds-searchfield-modal",
70
33
  appElement: appElement,
71
34
  centered: false,
@@ -79,24 +42,25 @@ var ModalSearchField = function ModalSearchField(_ref) {
79
42
  onReject: onRejectField,
80
43
  rejectLabel: rejectLabel,
81
44
  size: modalSize
82
- }, tabData.length > 0 && /*#__PURE__*/React.createElement(DSTabs, {
45
+ }, void 0, tabData.length > 0 && /*#__PURE__*/_jsx(DSTabs, {
83
46
  animated: tabsAnimated,
84
47
  enableMouseEvents: tabsEnableMouseEvents,
85
48
  onlyRenderActiveTab: true,
86
49
  onTabChange: onTabChange,
87
50
  type: tabType
88
- }, tabData.map(function (_ref2) {
89
- var tabId = _ref2.tabId,
90
- tabTitle = _ref2.tabTitle,
91
- columns = _ref2.columns,
92
- rows = _ref2.rows,
93
- boundFetchRows = _ref2.boundFetchRows;
94
- return /*#__PURE__*/React.createElement(DSTab, {
95
- key: tabId,
51
+ }, void 0, tabData.map(_ref2 => {
52
+ let {
53
+ tabId,
54
+ tabTitle,
55
+ columns,
56
+ rows,
57
+ boundFetchRows
58
+ } = _ref2;
59
+ return /*#__PURE__*/_jsx(DSTab, {
96
60
  className: "tab-content",
97
61
  tabId: tabId,
98
62
  title: tabTitle
99
- }, /*#__PURE__*/React.createElement(DataGridSearch, {
63
+ }, tabId, /*#__PURE__*/_jsx(DataGridSearch, {
100
64
  boundFetchRows: boundFetchRows,
101
65
  columns: columns,
102
66
  customDataGridOptions: customDataGridOptions,
@@ -110,4 +74,3 @@ var ModalSearchField = function ModalSearchField(_ref) {
110
74
  };
111
75
 
112
76
  export { ModalSearchField as default };
113
- //# sourceMappingURL=ModalSearchField.js.map
package/esm/index.js CHANGED
@@ -1,30 +1,2 @@
1
1
  export { DSSearchFieldWithSchema, default } from './DSSearchField.js';
2
2
  export { default as DSModalSearchField } from './impl/components/ModalSearchField/ModalSearchField.js';
3
- import 'react';
4
- import 'react-desc';
5
- import '@elliemae/ds-tabs';
6
- import './impl/DSSeachFieldImpl.js';
7
- import '@babel/runtime/helpers/esm/extends';
8
- import '@babel/runtime/helpers/esm/toConsumableArray';
9
- import '@babel/runtime/helpers/esm/defineProperty';
10
- import '@babel/runtime/helpers/esm/slicedToArray';
11
- import '@babel/runtime/helpers/esm/classCallCheck';
12
- import '@babel/runtime/helpers/esm/createClass';
13
- import '@babel/runtime/helpers/esm/inherits';
14
- import '@babel/runtime/helpers/esm/possibleConstructorReturn';
15
- import '@babel/runtime/helpers/esm/getPrototypeOf';
16
- import 'react-select';
17
- import '@elliemae/ds-classnames';
18
- import '@elliemae/ds-form';
19
- import './impl/components/AdvanceSearchOption/AdvanceSearchOption.js';
20
- import '@elliemae/ds-button';
21
- import './impl/components/LookupIndicator/LookupIndicator.js';
22
- import '@elliemae/ds-icons';
23
- import '@elliemae/ds-modal';
24
- import './impl/components/ModalSearchField/DataGridSearch.js';
25
- import '@babel/runtime/helpers/esm/objectWithoutProperties';
26
- import '@babel/runtime/helpers/esm/assertThisInitialized';
27
- import '@elliemae/ds-toolbar';
28
- import '@elliemae/ds-datagrids';
29
- import 'uid';
30
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,14 +1,54 @@
1
1
  {
2
2
  "name": "@elliemae/ds-search-field",
3
- "version": "1.60.0",
3
+ "version": "2.0.0-alpha.12",
4
4
  "license": "MIT",
5
- "description": "Ellie Mae - Dim Sum - Search Field",
6
- "main": "cjs/index.js",
7
- "module": "esm/index.js",
5
+ "description": "ICE MT - Dimsum - Search Field",
6
+ "module": "./esm/index.js",
7
+ "main": "./cjs/index.js",
8
+ "types": "./types/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./esm/index.js",
12
+ "require": "./cjs/index.js"
13
+ },
14
+ "./impl/DSSeachFieldImpl": {
15
+ "import": "./esm/impl/DSSeachFieldImpl.js",
16
+ "require": "./cjs/impl/DSSeachFieldImpl.js"
17
+ },
18
+ "./impl/components/ModalSearchField/ModalSearchField": {
19
+ "import": "./esm/impl/components/ModalSearchField/ModalSearchField.js",
20
+ "require": "./cjs/impl/components/ModalSearchField/ModalSearchField.js"
21
+ },
22
+ "./impl/components/ModalSearchField/DataGridSearch": {
23
+ "import": "./esm/impl/components/ModalSearchField/DataGridSearch.js",
24
+ "require": "./cjs/impl/components/ModalSearchField/DataGridSearch.js"
25
+ },
26
+ "./impl/components/LookupIndicator/LookupIndicator": {
27
+ "import": "./esm/impl/components/LookupIndicator/LookupIndicator.js",
28
+ "require": "./cjs/impl/components/LookupIndicator/LookupIndicator.js"
29
+ },
30
+ "./impl/components/AdvanceSearchOption/AdvanceSearchOption": {
31
+ "import": "./esm/impl/components/AdvanceSearchOption/AdvanceSearchOption.js",
32
+ "require": "./cjs/impl/components/AdvanceSearchOption/AdvanceSearchOption.js"
33
+ },
34
+ "./DSSearchField": {
35
+ "import": "./esm/DSSearchField.js",
36
+ "require": "./cjs/DSSearchField.js"
37
+ }
38
+ },
8
39
  "sideEffects": [
9
40
  "*.css",
10
41
  "*.scss"
11
42
  ],
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
46
+ },
47
+ "engines": {
48
+ "npm": ">=7",
49
+ "node": ">=14"
50
+ },
51
+ "author": "ICE MT",
12
52
  "scripts": {
13
53
  "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
14
54
  "prebuild": "exit 0",
@@ -16,23 +56,26 @@
16
56
  "build": "node ../../scripts/build/build.js"
17
57
  },
18
58
  "dependencies": {
19
- "@elliemae/ds-basic": "1.60.0",
20
- "@elliemae/ds-classnames": "1.60.0",
21
- "@elliemae/ds-datagrids": "1.60.0",
22
- "@elliemae/ds-icons": "1.60.0",
23
- "@elliemae/ds-modal": "1.60.0",
24
- "@elliemae/ds-utilities": "1.60.0",
25
- "react-desc": "^4.1.2",
26
- "react-select": "4.3.0",
59
+ "@elliemae/ds-button": "2.0.0-alpha.12",
60
+ "@elliemae/ds-classnames": "2.0.0-alpha.12",
61
+ "@elliemae/ds-datagrids": "2.0.0-alpha.12",
62
+ "@elliemae/ds-form": "2.0.0-alpha.12",
63
+ "@elliemae/ds-icons": "2.0.0-alpha.12",
64
+ "@elliemae/ds-modal": "2.0.0-alpha.12",
65
+ "@elliemae/ds-tabs": "2.0.0-alpha.12",
66
+ "@elliemae/ds-toolbar": "2.0.0-alpha.12",
67
+ "react-desc": "~4.1.3",
68
+ "react-select": "~4.3.0",
27
69
  "uid": "~2.0.0"
28
70
  },
29
71
  "publishConfig": {
30
72
  "access": "public",
31
- "directory": "dist"
73
+ "directory": "dist",
74
+ "generateSubmodules": true
32
75
  },
33
76
  "peerDependencies": {
34
- "lodash": "^4.17.20",
35
- "react": "~17.0.1",
36
- "react-dom": "^17.0.1"
77
+ "lodash": "^4.17.21",
78
+ "react": "~17.0.2",
79
+ "react-dom": "^17.0.2"
37
80
  }
38
81
  }