@elliemae/ds-shared 1.57.1-rc.0 → 2.0.0-alpha.11

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 (264) hide show
  1. package/cjs/Animations/BaseAnimation.js +25 -36
  2. package/cjs/Animations/Grow.js +31 -39
  3. package/cjs/Animations/GrowRight.js +31 -40
  4. package/cjs/Animations/GrowVertical.js +3 -2
  5. package/cjs/CheckableGroup.js +36 -50
  6. package/cjs/DeferRenderAfterComputation.js +12 -22
  7. package/cjs/FocusGroup/FocusGrid.js +94 -102
  8. package/cjs/FocusGroup/FocusGroup.js +215 -270
  9. package/cjs/FocusGroup/FocusGroupContext.js +1 -2
  10. package/cjs/FocusGroup/FocusGroupManager.js +88 -124
  11. package/cjs/FocusGroup/focusGroupManagerHoc.js +24 -29
  12. package/cjs/FocusGroup/index.js +14 -28
  13. package/cjs/FocusGroup/useFocusGroupItem.js +24 -27
  14. package/cjs/FocusGroup/utils/getNextCellPosition.js +14 -16
  15. package/cjs/GroupContext/Group.js +76 -104
  16. package/cjs/GroupContext/GroupContext.js +1 -2
  17. package/cjs/GroupContext/GroupItem.js +10 -11
  18. package/cjs/GroupContext/index.js +6 -15
  19. package/cjs/ScrollSync/ScrollSync.js +86 -112
  20. package/cjs/ScrollSync/ScrollSyncPane.js +49 -92
  21. package/cjs/ScrollSync/ScrollSyncProvider.js +32 -28
  22. package/cjs/ScrollSync/index.js +4 -14
  23. package/cjs/ScrollSync/useScrollSync.js +0 -1
  24. package/cjs/constants.js +43 -4
  25. package/cjs/createDataInstance/createInstancePlugin.js +6 -10
  26. package/cjs/createDataInstance/createInstanceRef.js +34 -42
  27. package/cjs/createDataInstance/utils.js +42 -76
  28. package/cjs/defer-render-hoc/index.js +19 -64
  29. package/cjs/dimsum.config.js +7 -0
  30. package/cjs/index.js +10 -21
  31. package/cjs/prop-types.js +59 -0
  32. package/cjs/react-spring/index.js +3 -6
  33. package/cjs/react-spring/renderprops.js +3 -6
  34. package/cjs/toolbar/ToolbarProvider.js +60 -81
  35. package/cjs/useDataGrid/VolatileRowsListener.js +13 -27
  36. package/cjs/useDataGrid/index.js +2 -17
  37. package/cjs/useDataGrid/initColumnDefinition.js +45 -53
  38. package/cjs/useDataGrid/useDataGrid.js +105 -152
  39. package/cjs/useDataList/index.js +2 -15
  40. package/cjs/useDataList/recordIterator.js +7 -11
  41. package/cjs/useDataList/useDataList.js +42 -63
  42. package/cjs/utils.js +39 -59
  43. package/cjs/virtualization/AutoHeightList.js +34 -27
  44. package/cjs/virtualization/FluidHeightList.js +23 -17
  45. package/cjs/virtualization/index.js +12 -18
  46. package/esm/Animations/BaseAnimation.js +24 -35
  47. package/esm/Animations/Grow.js +29 -37
  48. package/esm/Animations/GrowRight.js +29 -38
  49. package/esm/Animations/GrowVertical.js +3 -2
  50. package/esm/CheckableGroup.js +33 -46
  51. package/esm/DeferRenderAfterComputation.js +12 -21
  52. package/esm/FocusGroup/FocusGrid.js +86 -96
  53. package/esm/FocusGroup/FocusGroup.js +210 -263
  54. package/esm/FocusGroup/FocusGroupContext.js +0 -1
  55. package/esm/FocusGroup/FocusGroupManager.js +85 -115
  56. package/esm/FocusGroup/focusGroupManagerHoc.js +19 -23
  57. package/esm/FocusGroup/index.js +0 -14
  58. package/esm/FocusGroup/useFocusGroupItem.js +22 -25
  59. package/esm/FocusGroup/utils/getNextCellPosition.js +14 -16
  60. package/esm/GroupContext/Group.js +75 -96
  61. package/esm/GroupContext/GroupContext.js +1 -2
  62. package/esm/GroupContext/GroupItem.js +8 -9
  63. package/esm/GroupContext/index.js +0 -9
  64. package/esm/ScrollSync/ScrollSync.js +83 -104
  65. package/esm/ScrollSync/ScrollSyncPane.js +47 -83
  66. package/esm/ScrollSync/ScrollSyncProvider.js +31 -28
  67. package/esm/ScrollSync/index.js +0 -10
  68. package/esm/ScrollSync/useScrollSync.js +0 -1
  69. package/esm/constants.js +31 -5
  70. package/esm/createDataInstance/createInstancePlugin.js +5 -8
  71. package/esm/createDataInstance/createInstanceRef.js +29 -36
  72. package/esm/createDataInstance/utils.js +40 -74
  73. package/esm/defer-render-hoc/index.js +19 -57
  74. package/esm/dimsum.config.js +5 -0
  75. package/esm/index.js +0 -11
  76. package/esm/prop-types.js +43 -0
  77. package/esm/react-spring/index.js +1 -2
  78. package/esm/react-spring/renderprops.js +1 -2
  79. package/esm/toolbar/ToolbarProvider.js +55 -75
  80. package/esm/useDataGrid/VolatileRowsListener.js +12 -24
  81. package/esm/useDataGrid/index.js +0 -15
  82. package/esm/useDataGrid/initColumnDefinition.js +38 -45
  83. package/esm/useDataGrid/useDataGrid.js +85 -131
  84. package/esm/useDataList/index.js +0 -13
  85. package/esm/useDataList/recordIterator.js +7 -11
  86. package/esm/useDataList/useDataList.js +31 -51
  87. package/esm/utils.js +37 -57
  88. package/esm/virtualization/AutoHeightList.js +26 -19
  89. package/esm/virtualization/FluidHeightList.js +20 -14
  90. package/esm/virtualization/index.js +6 -12
  91. package/package.json +202 -13
  92. package/types/Animations/BaseAnimation.d.ts +12 -0
  93. package/types/Animations/Grow.d.ts +11 -0
  94. package/types/Animations/GrowRight.d.ts +11 -0
  95. package/types/Animations/GrowVertical.d.ts +1 -0
  96. package/types/CheckableGroup.d.ts +20 -0
  97. package/types/DeferRenderAfterComputation.d.ts +6 -0
  98. package/types/FocusGroup/FocusGrid.d.ts +10 -0
  99. package/types/FocusGroup/FocusGroup.d.ts +36 -0
  100. package/types/FocusGroup/FocusGroupContext.d.ts +3 -0
  101. package/types/FocusGroup/FocusGroupManager.d.ts +24 -0
  102. package/types/FocusGroup/focusGroupManagerHoc.d.ts +7 -0
  103. package/types/FocusGroup/index.d.ts +6 -0
  104. package/types/FocusGroup/useFocusGroupItem.d.ts +2 -0
  105. package/types/FocusGroup/utils/getNextCellPosition.d.ts +12 -0
  106. package/types/GroupContext/Group.d.ts +14 -0
  107. package/types/GroupContext/GroupContext.d.ts +2 -0
  108. package/types/GroupContext/GroupItem.d.ts +5 -0
  109. package/types/GroupContext/index.d.ts +3 -0
  110. package/types/ScrollSync/ScrollSync.d.ts +21 -0
  111. package/types/ScrollSync/ScrollSyncPane.d.ts +3 -0
  112. package/types/ScrollSync/ScrollSyncProvider.d.ts +12 -0
  113. package/types/ScrollSync/index.d.ts +2 -0
  114. package/types/ScrollSync/useScrollSync.d.ts +6 -0
  115. package/types/constants.d.ts +30 -0
  116. package/types/createDataInstance/createInstancePlugin.d.ts +1 -0
  117. package/types/createDataInstance/createInstanceRef.d.ts +12 -0
  118. package/types/createDataInstance/tests/createInstanceRef.test.d.ts +0 -0
  119. package/types/createDataInstance/utils.d.ts +9 -0
  120. package/types/dimsum.config.d.ts +4 -0
  121. package/types/index.d.ts +2 -0
  122. package/types/prop-types.d.ts +41 -0
  123. package/types/react-spring/index.d.ts +1 -0
  124. package/types/react-spring/renderprops.d.ts +1 -0
  125. package/types/toolbar/ToolbarProvider.d.ts +10 -0
  126. package/types/useDataGrid/VolatileRowsListener.d.ts +5 -0
  127. package/types/useDataGrid/index.d.ts +1 -0
  128. package/types/useDataGrid/initColumnDefinition.d.ts +4 -0
  129. package/types/useDataGrid/useDataGrid.d.ts +8 -0
  130. package/types/useDataList/index.d.ts +1 -0
  131. package/types/useDataList/recordIterator.d.ts +1 -0
  132. package/types/useDataList/useDataList.d.ts +13 -0
  133. package/types/utils.d.ts +22 -0
  134. package/types/virtualization/AutoHeightList.d.ts +2 -0
  135. package/types/virtualization/FluidHeightList.d.ts +2 -0
  136. package/types/virtualization/index.d.ts +9 -0
  137. package/Animations/BaseAnimation/package.json +0 -10
  138. package/Animations/Grow/package.json +0 -10
  139. package/Animations/GrowRight/package.json +0 -10
  140. package/Animations/GrowVertical/package.json +0 -10
  141. package/CheckableGroup/package.json +0 -10
  142. package/DeferRenderAfterComputation/package.json +0 -10
  143. package/FocusGroup/FocusGrid/package.json +0 -10
  144. package/FocusGroup/FocusGroup/package.json +0 -10
  145. package/FocusGroup/FocusGroupContext/package.json +0 -10
  146. package/FocusGroup/FocusGroupManager/package.json +0 -10
  147. package/FocusGroup/focusGroupManagerHoc/package.json +0 -10
  148. package/FocusGroup/package.json +0 -10
  149. package/FocusGroup/useFocusGroupItem/package.json +0 -10
  150. package/FocusGroup/utils/getNextCellPosition/package.json +0 -10
  151. package/GroupContext/Group/package.json +0 -10
  152. package/GroupContext/GroupContext/package.json +0 -10
  153. package/GroupContext/GroupItem/package.json +0 -10
  154. package/GroupContext/package.json +0 -10
  155. package/ScrollSync/ScrollSync/package.json +0 -10
  156. package/ScrollSync/ScrollSyncPane/package.json +0 -10
  157. package/ScrollSync/ScrollSyncProvider/package.json +0 -10
  158. package/ScrollSync/package.json +0 -10
  159. package/ScrollSync/useScrollSync/package.json +0 -10
  160. package/cjs/Animations/BaseAnimation.js.map +0 -1
  161. package/cjs/Animations/Grow.js.map +0 -1
  162. package/cjs/Animations/GrowRight.js.map +0 -1
  163. package/cjs/Animations/GrowVertical.js.map +0 -1
  164. package/cjs/CheckableGroup.js.map +0 -1
  165. package/cjs/DeferRenderAfterComputation.js.map +0 -1
  166. package/cjs/FocusGroup/FocusGrid.js.map +0 -1
  167. package/cjs/FocusGroup/FocusGroup.js.map +0 -1
  168. package/cjs/FocusGroup/FocusGroupContext.js.map +0 -1
  169. package/cjs/FocusGroup/FocusGroupManager.js.map +0 -1
  170. package/cjs/FocusGroup/focusGroupManagerHoc.js.map +0 -1
  171. package/cjs/FocusGroup/index.js.map +0 -1
  172. package/cjs/FocusGroup/useFocusGroupItem.js.map +0 -1
  173. package/cjs/FocusGroup/utils/getNextCellPosition.js.map +0 -1
  174. package/cjs/GroupContext/Group.js.map +0 -1
  175. package/cjs/GroupContext/GroupContext.js.map +0 -1
  176. package/cjs/GroupContext/GroupItem.js.map +0 -1
  177. package/cjs/GroupContext/index.js.map +0 -1
  178. package/cjs/ScrollSync/ScrollSync.js.map +0 -1
  179. package/cjs/ScrollSync/ScrollSyncPane.js.map +0 -1
  180. package/cjs/ScrollSync/ScrollSyncProvider.js.map +0 -1
  181. package/cjs/ScrollSync/index.js.map +0 -1
  182. package/cjs/ScrollSync/useScrollSync.js.map +0 -1
  183. package/cjs/constants.js.map +0 -1
  184. package/cjs/createDataInstance/createInstancePlugin.js.map +0 -1
  185. package/cjs/createDataInstance/createInstanceRef.js.map +0 -1
  186. package/cjs/createDataInstance/utils.js.map +0 -1
  187. package/cjs/defer-render-hoc/index.js.map +0 -1
  188. package/cjs/index.js.map +0 -1
  189. package/cjs/react-spring/index.js.map +0 -1
  190. package/cjs/react-spring/renderprops.js.map +0 -1
  191. package/cjs/toolbar/ToolbarProvider.js.map +0 -1
  192. package/cjs/useDataGrid/VolatileRowsListener.js.map +0 -1
  193. package/cjs/useDataGrid/index.js.map +0 -1
  194. package/cjs/useDataGrid/initColumnDefinition.js.map +0 -1
  195. package/cjs/useDataGrid/useDataGrid.js.map +0 -1
  196. package/cjs/useDataList/index.js.map +0 -1
  197. package/cjs/useDataList/recordIterator.js.map +0 -1
  198. package/cjs/useDataList/useDataList.js.map +0 -1
  199. package/cjs/utils.js.map +0 -1
  200. package/cjs/virtualization/AutoHeightList.js.map +0 -1
  201. package/cjs/virtualization/FluidHeightList.js.map +0 -1
  202. package/cjs/virtualization/index.js.map +0 -1
  203. package/constants/package.json +0 -10
  204. package/createDataInstance/createInstancePlugin/package.json +0 -10
  205. package/createDataInstance/createInstanceRef/package.json +0 -10
  206. package/createDataInstance/utils/package.json +0 -10
  207. package/defer-render-hoc/package.json +0 -10
  208. package/esm/Animations/BaseAnimation.js.map +0 -1
  209. package/esm/Animations/Grow.js.map +0 -1
  210. package/esm/Animations/GrowRight.js.map +0 -1
  211. package/esm/Animations/GrowVertical.js.map +0 -1
  212. package/esm/CheckableGroup.js.map +0 -1
  213. package/esm/DeferRenderAfterComputation.js.map +0 -1
  214. package/esm/FocusGroup/FocusGrid.js.map +0 -1
  215. package/esm/FocusGroup/FocusGroup.js.map +0 -1
  216. package/esm/FocusGroup/FocusGroupContext.js.map +0 -1
  217. package/esm/FocusGroup/FocusGroupManager.js.map +0 -1
  218. package/esm/FocusGroup/focusGroupManagerHoc.js.map +0 -1
  219. package/esm/FocusGroup/index.js.map +0 -1
  220. package/esm/FocusGroup/useFocusGroupItem.js.map +0 -1
  221. package/esm/FocusGroup/utils/getNextCellPosition.js.map +0 -1
  222. package/esm/GroupContext/Group.js.map +0 -1
  223. package/esm/GroupContext/GroupContext.js.map +0 -1
  224. package/esm/GroupContext/GroupItem.js.map +0 -1
  225. package/esm/GroupContext/index.js.map +0 -1
  226. package/esm/ScrollSync/ScrollSync.js.map +0 -1
  227. package/esm/ScrollSync/ScrollSyncPane.js.map +0 -1
  228. package/esm/ScrollSync/ScrollSyncProvider.js.map +0 -1
  229. package/esm/ScrollSync/index.js.map +0 -1
  230. package/esm/ScrollSync/useScrollSync.js.map +0 -1
  231. package/esm/constants.js.map +0 -1
  232. package/esm/createDataInstance/createInstancePlugin.js.map +0 -1
  233. package/esm/createDataInstance/createInstanceRef.js.map +0 -1
  234. package/esm/createDataInstance/utils.js.map +0 -1
  235. package/esm/defer-render-hoc/index.js.map +0 -1
  236. package/esm/index.js.map +0 -1
  237. package/esm/react-spring/index.js.map +0 -1
  238. package/esm/react-spring/renderprops.js.map +0 -1
  239. package/esm/toolbar/ToolbarProvider.js.map +0 -1
  240. package/esm/useDataGrid/VolatileRowsListener.js.map +0 -1
  241. package/esm/useDataGrid/index.js.map +0 -1
  242. package/esm/useDataGrid/initColumnDefinition.js.map +0 -1
  243. package/esm/useDataGrid/useDataGrid.js.map +0 -1
  244. package/esm/useDataList/index.js.map +0 -1
  245. package/esm/useDataList/recordIterator.js.map +0 -1
  246. package/esm/useDataList/useDataList.js.map +0 -1
  247. package/esm/utils.js.map +0 -1
  248. package/esm/virtualization/AutoHeightList.js.map +0 -1
  249. package/esm/virtualization/FluidHeightList.js.map +0 -1
  250. package/esm/virtualization/index.js.map +0 -1
  251. package/react-spring/package.json +0 -10
  252. package/react-spring/renderprops/package.json +0 -10
  253. package/toolbar/ToolbarProvider/package.json +0 -10
  254. package/useDataGrid/VolatileRowsListener/package.json +0 -10
  255. package/useDataGrid/initColumnDefinition/package.json +0 -10
  256. package/useDataGrid/package.json +0 -10
  257. package/useDataGrid/useDataGrid/package.json +0 -10
  258. package/useDataList/package.json +0 -10
  259. package/useDataList/recordIterator/package.json +0 -10
  260. package/useDataList/useDataList/package.json +0 -10
  261. package/utils/package.json +0 -10
  262. package/virtualization/AutoHeightList/package.json +0 -10
  263. package/virtualization/FluidHeightList/package.json +0 -10
  264. package/virtualization/package.json +0 -10
@@ -1,92 +1,73 @@
1
- import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';
2
1
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
3
2
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
+ import 'core-js/modules/web.dom-collections.iterator.js';
4
4
  import { useRef, useMemo } from 'react';
5
- import { setRef } from '@elliemae/ds-utilities';
5
+ import { setRef } from '@elliemae/ds-utilities/system';
6
6
  import get from 'lodash/get';
7
7
  import { reducePropsGetter, composeFormatters } from '../createDataInstance/utils.js';
8
8
  import { recordIterator } from './recordIterator.js';
9
9
  import createDataInstanceRef from '../createDataInstance/createInstanceRef.js';
10
- import '@babel/runtime/helpers/esm/slicedToArray';
11
- import 'uuid';
12
- import 'lodash';
13
10
 
14
- var _excluded = ["data", "plugins", "renderers", "itemRenderer", "customDecorators"];
11
+ const _excluded = ["data", "plugins", "renderers", "itemRenderer", "customDecorators"];
15
12
 
16
13
  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; }
17
14
 
18
15
  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; }
19
- var getItemLabel = function getItemLabel(record) {
20
- var nameKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'name';
21
- return get(record, ['data', nameKey]);
22
- };
23
- var getItemChildren = function getItemChildren(record) {
24
- var childrenKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'children';
25
- return get(record, ['data', childrenKey]);
26
- };
27
- var listRenderers = {
16
+ const getItemLabel = (record, nameKey = 'name') => get(record, ['data', nameKey]);
17
+ const getItemChildren = (record, childrenKey = 'children') => get(record, ['data', childrenKey]);
18
+ const listRenderers = {
28
19
  list: 'ul',
29
20
  item: 'li'
30
21
  }; // todo: check if a plugin is a LIST plugin rather than GRID
31
22
 
32
23
  function useDataList(_ref) {
33
- var _ref$data = _ref.data,
34
- data = _ref$data === void 0 ? [] : _ref$data,
35
- _ref$plugins = _ref.plugins,
36
- plugins = _ref$plugins === void 0 ? [] : _ref$plugins,
37
- _ref$renderers = _ref.renderers,
38
- renderers = _ref$renderers === void 0 ? listRenderers : _ref$renderers,
39
- _ref$itemRenderer = _ref.itemRenderer,
40
- itemRenderer = _ref$itemRenderer === void 0 ? [] : _ref$itemRenderer,
41
- customDecorators = _ref.customDecorators,
24
+ let {
25
+ data = [],
26
+ plugins = [],
27
+ renderers = listRenderers,
28
+ itemRenderer = [],
29
+ customDecorators
30
+ } = _ref,
42
31
  props = _objectWithoutProperties(_ref, _excluded);
43
32
 
44
- var listRef = useRef();
45
-
46
- var _createInstanceRef = createDataInstanceRef(_objectSpread({
47
- data: data,
48
- renderers: renderers,
49
- plugins: plugins,
33
+ const listRef = useRef();
34
+ const {
35
+ instance,
36
+ decorators
37
+ } = createDataInstanceRef(_objectSpread({
38
+ data,
39
+ renderers,
40
+ plugins,
50
41
  customDecorators: _objectSpread(_objectSpread({}, customDecorators), {}, {
51
- recordIterator: recordIterator,
42
+ recordIterator,
52
43
  getListProps: [],
53
44
  getItemProps: [],
54
- itemRenderer: _toConsumableArray(itemRenderer),
45
+ itemRenderer: [...itemRenderer],
55
46
  // components reduce to compose item content
56
47
  record: [],
57
48
  records: []
58
49
  })
59
- }, props)),
60
- instance = _createInstanceRef.instance,
61
- decorators = _createInstanceRef.decorators;
50
+ }, props));
62
51
 
63
- instance.current.getListRef = function () {
64
- return listRef;
65
- };
52
+ instance.current.getListRef = () => listRef;
66
53
 
67
- instance.current.setListRef = function (ref) {
54
+ instance.current.setListRef = ref => {
68
55
  listRef.current = ref;
69
56
  };
70
57
 
71
- instance.current.getItemLabel = function (record) {
72
- return getItemLabel(record, props.nameKey);
73
- };
58
+ instance.current.getItemLabel = record => getItemLabel(record, props.nameKey);
74
59
 
75
- instance.current.getItemChildren = function (record) {
76
- return getItemChildren(record, props.childrenKey);
77
- };
60
+ instance.current.getItemChildren = record => getItemChildren(record, props.childrenKey);
78
61
 
79
62
  instance.current.decorators = decorators;
80
63
  instance.current.getListProps = reducePropsGetter(decorators.getListProps, instance.current);
81
64
  instance.current.getItemProps = reducePropsGetter(decorators.getItemProps, instance.current);
82
65
  instance.current.itemRenderer = composeFormatters(instance.current.decorators.itemRenderer, instance.current);
83
- instance.current.records = useMemo(function () {
66
+ instance.current.records = useMemo(() => {
84
67
  // record iterator TREE / Simple
85
- var nextRecords = recordIterator(data, instance.current.decorators.recordIterator, decorators.record, instance.current); // compose all records
68
+ let nextRecords = recordIterator(data, instance.current.decorators.recordIterator, decorators.record, instance.current); // compose all records
86
69
 
87
- nextRecords = decorators.records.reduce(function (nextRows, getter) {
88
- return getter(nextRows, instance.current);
89
- }, nextRecords);
70
+ nextRecords = decorators.records.reduce((nextRows, getter) => getter(nextRows, instance.current), nextRecords);
90
71
  return nextRecords;
91
72
  });
92
73
  if (props.instanceRef) setRef(props.instanceRef, instance.current);
@@ -94,4 +75,3 @@ function useDataList(_ref) {
94
75
  }
95
76
 
96
77
  export { useDataList as default, getItemChildren, getItemLabel };
97
- //# sourceMappingURL=useDataList.js.map
package/esm/utils.js CHANGED
@@ -5,29 +5,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5
5
  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; }
6
6
 
7
7
  /* eslint-disable no-cond-assign */
8
- var objectType = function objectType(obj) {
9
- return Object.prototype.toString.call(obj).slice(8, -1);
10
- };
11
- var isDefined = function isDefined(param) {
12
- return typeof param !== 'undefined';
13
- };
14
- var isUndefined = function isUndefined(param) {
15
- return typeof param === 'undefined';
16
- };
17
- var isFunction = function isFunction(param) {
18
- return typeof param === 'function';
19
- };
20
- var isNumber = function isNumber(param) {
21
- return typeof param === 'number' && !isNaN(param);
22
- }; // eslint-disable-line
8
+ const objectType = obj => Object.prototype.toString.call(obj).slice(8, -1);
9
+ const isDefined = param => typeof param !== 'undefined';
10
+ const isUndefined = param => typeof param === 'undefined';
11
+ const isFunction = param => typeof param === 'function';
12
+ const isNumber = param => typeof param === 'number' && !isNaN(param); // eslint-disable-line
23
13
 
24
- var isString = function isString(str) {
25
- return objectType(str) === 'String';
26
- };
27
- var isArray = function isArray(arr) {
28
- return objectType(arr) === 'Array';
29
- };
30
- var closest = function closest(target, selector) {
14
+ const isString = str => objectType(str) === 'String';
15
+ const isArray = arr => objectType(arr) === 'Array';
16
+ const closest = (target, selector) => {
31
17
  // closest(e.target, '.field')
32
18
  while (target) {
33
19
  // eslint-disable-line
@@ -39,29 +25,30 @@ var closest = function closest(target, selector) {
39
25
 
40
26
  return null;
41
27
  };
42
- var getOffsetRect = function getOffsetRect(elem) {
28
+ const getOffsetRect = elem => {
43
29
  // (1)
44
- var box = elem.getBoundingClientRect();
45
- var _document = document,
46
- body = _document.body,
47
- documentElement = _document.documentElement; // (2)
30
+ const box = elem.getBoundingClientRect();
31
+ const {
32
+ body,
33
+ documentElement
34
+ } = document; // (2)
48
35
 
49
- var scrollTop = window.pageYOffset || documentElement.scrollTop || body.scrollTop;
50
- var scrollLeft = window.pageXOffset || documentElement.scrollLeft || body.scrollLeft; // (3)
36
+ const scrollTop = window.pageYOffset || documentElement.scrollTop || body.scrollTop;
37
+ const scrollLeft = window.pageXOffset || documentElement.scrollLeft || body.scrollLeft; // (3)
51
38
 
52
- var clientTop = documentElement.clientTop || body.clientTop || 0;
53
- var clientLeft = documentElement.clientLeft || body.clientLeft || 0; // (4)
39
+ const clientTop = documentElement.clientTop || body.clientTop || 0;
40
+ const clientLeft = documentElement.clientLeft || body.clientLeft || 0; // (4)
54
41
 
55
- var top = box.top + scrollTop - clientTop;
56
- var left = box.left + scrollLeft - clientLeft;
42
+ const top = box.top + scrollTop - clientTop;
43
+ const left = box.left + scrollLeft - clientLeft;
57
44
  return {
58
45
  top: Math.round(top),
59
46
  left: Math.round(left)
60
47
  };
61
48
  };
62
- var getTotalScroll = function getTotalScroll(elem) {
63
- var top = 0;
64
- var left = 0; // eslint-disable-next-line no-param-reassign
49
+ const getTotalScroll = elem => {
50
+ let top = 0;
51
+ let left = 0; // eslint-disable-next-line no-param-reassign
65
52
 
66
53
  while (elem = elem.parentNode) {
67
54
  top += elem.scrollTop || 0;
@@ -69,33 +56,27 @@ var getTotalScroll = function getTotalScroll(elem) {
69
56
  }
70
57
 
71
58
  return {
72
- top: top,
73
- left: left
59
+ top,
60
+ left
74
61
  };
75
62
  };
76
- var getTransformProps = function getTransformProps(x, y) {
77
- return {
78
- transform: "translate(".concat(x, "px, ").concat(y, "px)")
79
- };
80
- };
81
- var listWithChildren = function listWithChildren(list, childrenProp) {
82
- return list.map(function (item) {
83
- return _objectSpread(_objectSpread({}, item), {}, _defineProperty({}, childrenProp, item[childrenProp] ? listWithChildren(item[childrenProp], childrenProp) : []));
84
- });
85
- };
86
- var getAllNonEmptyNodesIds = function getAllNonEmptyNodesIds(items, childrenProp) {
87
- var childrenIds = [];
88
- var ids = items.filter(function (item) {
89
- return item[childrenProp].length;
90
- }).map(function (item) {
63
+ const getTransformProps = (x, y) => ({
64
+ transform: "translate(".concat(x, "px, ").concat(y, "px)")
65
+ });
66
+ const listWithChildren = (list, childrenProp) => list.map(item => _objectSpread(_objectSpread({}, item), {}, {
67
+ [childrenProp]: item[childrenProp] ? listWithChildren(item[childrenProp], childrenProp) : []
68
+ }));
69
+ const getAllNonEmptyNodesIds = (items, childrenProp) => {
70
+ let childrenIds = [];
71
+ const ids = items.filter(item => item[childrenProp].length).map(item => {
91
72
  childrenIds = childrenIds.concat(getAllNonEmptyNodesIds(item[childrenProp], childrenProp));
92
73
  return item.id;
93
74
  });
94
75
  return ids.concat(childrenIds);
95
76
  };
96
- var isInternetExplorer = function isInternetExplorer() {
97
- var ua = window.navigator.userAgent;
98
- var msie = ua.indexOf('MSIE '); // If Internet Explorer, return version number
77
+ const isInternetExplorer = () => {
78
+ const ua = window.navigator.userAgent;
79
+ const msie = ua.indexOf('MSIE '); // If Internet Explorer, return version number
99
80
 
100
81
  if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv:11\./)) {
101
82
  return true;
@@ -105,4 +86,3 @@ var isInternetExplorer = function isInternetExplorer() {
105
86
  };
106
87
 
107
88
  export { closest, getAllNonEmptyNodesIds, getOffsetRect, getTotalScroll, getTransformProps, isArray, isDefined, isFunction, isInternetExplorer, isNumber, isString, isUndefined, listWithChildren, objectType };
108
- //# sourceMappingURL=utils.js.map
@@ -1,29 +1,37 @@
1
- import _extends from '@babel/runtime/helpers/esm/extends';
1
+ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
- import React, { forwardRef, useRef } from 'react';
3
+ import { forwardRef, useRef } from 'react';
4
4
  import { FixedSizeList } from 'react-window';
5
- import { useWindowScrollerList, mergeRefs, cx } from '@elliemae/ds-utilities';
5
+ import { cx } from '@elliemae/ds-utilities/utils';
6
+ import { mergeRefs } from '@elliemae/ds-utilities/system';
7
+ import useWindowScrollerList from '@elliemae/ds-utilities/hooks/useWindowScrollerList';
8
+ import { jsx } from 'react/jsx-runtime';
6
9
 
7
- var _excluded = ["itemCount", "className", "innerRef", "itemData", "itemKey", "itemSize", "outerRef", "component"];
8
- var AutoHeightList = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
- var itemCount = _ref.itemCount,
10
- className = _ref.className,
11
- innerRef = _ref.innerRef,
12
- itemData = _ref.itemData,
13
- itemKey = _ref.itemKey,
14
- itemSize = _ref.itemSize,
15
- outerRef = _ref.outerRef,
16
- _ref$component = _ref.component,
17
- ListComponent = _ref$component === void 0 ? FixedSizeList : _ref$component,
10
+ const _excluded = ["itemCount", "className", "innerRef", "itemData", "itemKey", "itemSize", "outerRef", "component"];
11
+
12
+ 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; }
13
+
14
+ 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; }
15
+ const AutoHeightList = /*#__PURE__*/forwardRef((_ref, ref) => {
16
+ let {
17
+ itemCount,
18
+ className,
19
+ innerRef,
20
+ itemData,
21
+ itemKey,
22
+ itemSize,
23
+ outerRef,
24
+ component: ListComponent = FixedSizeList
25
+ } = _ref,
18
26
  otherProps = _objectWithoutProperties(_ref, _excluded);
19
27
 
20
- var listRef = useRef();
21
- var outerListRef = useRef();
28
+ const listRef = useRef();
29
+ const outerListRef = useRef();
22
30
  useWindowScrollerList({
23
31
  listInstance: listRef,
24
- outerListRef: outerListRef
32
+ outerListRef
25
33
  });
26
- return /*#__PURE__*/React.createElement(ListComponent, _extends({}, otherProps, {
34
+ return /*#__PURE__*/jsx(ListComponent, _objectSpread(_objectSpread({}, otherProps), {}, {
27
35
  ref: mergeRefs(ref, listRef),
28
36
  className: cx(className, 'window-scroller-override'),
29
37
  height: window.innerHeight,
@@ -39,4 +47,3 @@ var AutoHeightList = /*#__PURE__*/forwardRef(function (_ref, ref) {
39
47
  });
40
48
 
41
49
  export { AutoHeightList };
42
- //# sourceMappingURL=AutoHeightList.js.map
@@ -1,24 +1,30 @@
1
- import _extends from '@babel/runtime/helpers/esm/extends';
1
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
+ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
3
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
- import React, { forwardRef } from 'react';
4
+ import { forwardRef } from 'react';
4
5
  import AutoSizer from 'react-virtualized-auto-sizer';
6
+ import { jsx } from 'react/jsx-runtime';
5
7
 
6
- var _excluded = ["component"];
7
- var FluidHeightList = /*#__PURE__*/forwardRef(function (_ref, ref) {
8
- var Component = _ref.component,
8
+ const _excluded = ["component"];
9
+
10
+ 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; }
11
+
12
+ 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; }
13
+ const FluidHeightList = /*#__PURE__*/forwardRef((_ref, ref) => {
14
+ let {
15
+ component: Component
16
+ } = _ref,
9
17
  props = _objectWithoutProperties(_ref, _excluded);
10
18
 
11
- return /*#__PURE__*/React.createElement(AutoSizer, {
19
+ return /*#__PURE__*/_jsx(AutoSizer, {
12
20
  disableWidth: true
13
- }, function (_ref2) {
14
- var fluidHeight = _ref2.height;
15
- return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
16
- ref: ref,
17
- height: fluidHeight - 32 // taking in count the margins of the list
21
+ }, void 0, ({
22
+ height: fluidHeight
23
+ }) => /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, props), {}, {
24
+ ref: ref,
25
+ height: fluidHeight - 32 // taking in count the margins of the list
18
26
 
19
- }));
20
- });
27
+ })));
21
28
  });
22
29
 
23
30
  export { FluidHeightList };
24
- //# sourceMappingURL=FluidHeightList.js.map
@@ -2,22 +2,16 @@ import { FluidHeightList } from './FluidHeightList.js';
2
2
  export { FluidHeightList } from './FluidHeightList.js';
3
3
  import { AutoHeightList } from './AutoHeightList.js';
4
4
  export { AutoHeightList } from './AutoHeightList.js';
5
- import '@babel/runtime/helpers/esm/extends';
6
- import '@babel/runtime/helpers/esm/objectWithoutProperties';
7
- import 'react';
8
- import 'react-virtualized-auto-sizer';
9
- import 'react-window';
10
- import '@elliemae/ds-utilities';
11
5
 
12
- function getVirtualListComponent(_ref) {
13
- var Component = _ref.component,
14
- fluid = _ref.fluid;
15
- _ref.height;
16
- var autoHeight = _ref.autoHeight;
6
+ function getVirtualListComponent({
7
+ component: Component,
8
+ fluid,
9
+ height,
10
+ autoHeight
11
+ }) {
17
12
  if (autoHeight) return AutoHeightList;
18
13
  if (fluid) return FluidHeightList;
19
14
  return Component;
20
15
  }
21
16
 
22
17
  export { getVirtualListComponent };
23
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,14 +1,206 @@
1
1
  {
2
2
  "name": "@elliemae/ds-shared",
3
- "version": "1.57.1-rc.0",
3
+ "version": "2.0.0-alpha.11",
4
4
  "license": "MIT",
5
- "description": "Ellie Mae - Dim Sum - Shared components and utilities",
6
- "main": "cjs/index.js",
7
- "module": "esm/index.js",
5
+ "description": "ICE MT - Dimsum - Shared components and utilities",
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
+ "./prop-types": {
15
+ "import": "./esm/prop-types.js",
16
+ "require": "./cjs/prop-types.js"
17
+ },
18
+ "./constants": {
19
+ "import": "./esm/constants.js",
20
+ "require": "./cjs/constants.js"
21
+ },
22
+ "./dimsum.config": {
23
+ "import": "./esm/dimsum.config.js",
24
+ "require": "./cjs/dimsum.config.js"
25
+ },
26
+ "./virtualization": {
27
+ "import": "./esm/virtualization/index.js",
28
+ "require": "./cjs/virtualization/index.js"
29
+ },
30
+ "./virtualization/FluidHeightList": {
31
+ "import": "./esm/virtualization/FluidHeightList.js",
32
+ "require": "./cjs/virtualization/FluidHeightList.js"
33
+ },
34
+ "./virtualization/AutoHeightList": {
35
+ "import": "./esm/virtualization/AutoHeightList.js",
36
+ "require": "./cjs/virtualization/AutoHeightList.js"
37
+ },
38
+ "./utils": {
39
+ "import": "./esm/utils.js",
40
+ "require": "./cjs/utils.js"
41
+ },
42
+ "./useDataList/useDataList": {
43
+ "import": "./esm/useDataList/useDataList.js",
44
+ "require": "./cjs/useDataList/useDataList.js"
45
+ },
46
+ "./useDataList/recordIterator": {
47
+ "import": "./esm/useDataList/recordIterator.js",
48
+ "require": "./cjs/useDataList/recordIterator.js"
49
+ },
50
+ "./useDataList": {
51
+ "import": "./esm/useDataList/index.js",
52
+ "require": "./cjs/useDataList/index.js"
53
+ },
54
+ "./useDataGrid/VolatileRowsListener": {
55
+ "import": "./esm/useDataGrid/VolatileRowsListener.js",
56
+ "require": "./cjs/useDataGrid/VolatileRowsListener.js"
57
+ },
58
+ "./useDataGrid/useDataGrid": {
59
+ "import": "./esm/useDataGrid/useDataGrid.js",
60
+ "require": "./cjs/useDataGrid/useDataGrid.js"
61
+ },
62
+ "./useDataGrid/initColumnDefinition": {
63
+ "import": "./esm/useDataGrid/initColumnDefinition.js",
64
+ "require": "./cjs/useDataGrid/initColumnDefinition.js"
65
+ },
66
+ "./useDataGrid": {
67
+ "import": "./esm/useDataGrid/index.js",
68
+ "require": "./cjs/useDataGrid/index.js"
69
+ },
70
+ "./toolbar/ToolbarProvider": {
71
+ "import": "./esm/toolbar/ToolbarProvider.js",
72
+ "require": "./cjs/toolbar/ToolbarProvider.js"
73
+ },
74
+ "./ScrollSync/useScrollSync": {
75
+ "import": "./esm/ScrollSync/useScrollSync.js",
76
+ "require": "./cjs/ScrollSync/useScrollSync.js"
77
+ },
78
+ "./ScrollSync/ScrollSyncProvider": {
79
+ "import": "./esm/ScrollSync/ScrollSyncProvider.js",
80
+ "require": "./cjs/ScrollSync/ScrollSyncProvider.js"
81
+ },
82
+ "./ScrollSync/ScrollSyncPane": {
83
+ "import": "./esm/ScrollSync/ScrollSyncPane.js",
84
+ "require": "./cjs/ScrollSync/ScrollSyncPane.js"
85
+ },
86
+ "./ScrollSync/ScrollSync": {
87
+ "import": "./esm/ScrollSync/ScrollSync.js",
88
+ "require": "./cjs/ScrollSync/ScrollSync.js"
89
+ },
90
+ "./ScrollSync": {
91
+ "import": "./esm/ScrollSync/index.js",
92
+ "require": "./cjs/ScrollSync/index.js"
93
+ },
94
+ "./react-spring/renderprops": {
95
+ "import": "./esm/react-spring/renderprops.js",
96
+ "require": "./cjs/react-spring/renderprops.js"
97
+ },
98
+ "./react-spring": {
99
+ "import": "./esm/react-spring/index.js",
100
+ "require": "./cjs/react-spring/index.js"
101
+ },
102
+ "./GroupContext": {
103
+ "import": "./esm/GroupContext/index.js",
104
+ "require": "./cjs/GroupContext/index.js"
105
+ },
106
+ "./GroupContext/GroupItem": {
107
+ "import": "./esm/GroupContext/GroupItem.js",
108
+ "require": "./cjs/GroupContext/GroupItem.js"
109
+ },
110
+ "./GroupContext/GroupContext": {
111
+ "import": "./esm/GroupContext/GroupContext.js",
112
+ "require": "./cjs/GroupContext/GroupContext.js"
113
+ },
114
+ "./GroupContext/Group": {
115
+ "import": "./esm/GroupContext/Group.js",
116
+ "require": "./cjs/GroupContext/Group.js"
117
+ },
118
+ "./FocusGroup/utils/getNextCellPosition": {
119
+ "import": "./esm/FocusGroup/utils/getNextCellPosition.js",
120
+ "require": "./cjs/FocusGroup/utils/getNextCellPosition.js"
121
+ },
122
+ "./FocusGroup/useFocusGroupItem": {
123
+ "import": "./esm/FocusGroup/useFocusGroupItem.js",
124
+ "require": "./cjs/FocusGroup/useFocusGroupItem.js"
125
+ },
126
+ "./FocusGroup": {
127
+ "import": "./esm/FocusGroup/index.js",
128
+ "require": "./cjs/FocusGroup/index.js"
129
+ },
130
+ "./FocusGroup/focusGroupManagerHoc": {
131
+ "import": "./esm/FocusGroup/focusGroupManagerHoc.js",
132
+ "require": "./cjs/FocusGroup/focusGroupManagerHoc.js"
133
+ },
134
+ "./FocusGroup/FocusGroupManager": {
135
+ "import": "./esm/FocusGroup/FocusGroupManager.js",
136
+ "require": "./cjs/FocusGroup/FocusGroupManager.js"
137
+ },
138
+ "./FocusGroup/FocusGroupContext": {
139
+ "import": "./esm/FocusGroup/FocusGroupContext.js",
140
+ "require": "./cjs/FocusGroup/FocusGroupContext.js"
141
+ },
142
+ "./FocusGroup/FocusGroup": {
143
+ "import": "./esm/FocusGroup/FocusGroup.js",
144
+ "require": "./cjs/FocusGroup/FocusGroup.js"
145
+ },
146
+ "./FocusGroup/FocusGrid": {
147
+ "import": "./esm/FocusGroup/FocusGrid.js",
148
+ "require": "./cjs/FocusGroup/FocusGrid.js"
149
+ },
150
+ "./DeferRenderAfterComputation": {
151
+ "import": "./esm/DeferRenderAfterComputation.js",
152
+ "require": "./cjs/DeferRenderAfterComputation.js"
153
+ },
154
+ "./defer-render-hoc": {
155
+ "import": "./esm/defer-render-hoc/index.js",
156
+ "require": "./cjs/defer-render-hoc/index.js"
157
+ },
158
+ "./createDataInstance/utils": {
159
+ "import": "./esm/createDataInstance/utils.js",
160
+ "require": "./cjs/createDataInstance/utils.js"
161
+ },
162
+ "./createDataInstance/createInstanceRef": {
163
+ "import": "./esm/createDataInstance/createInstanceRef.js",
164
+ "require": "./cjs/createDataInstance/createInstanceRef.js"
165
+ },
166
+ "./createDataInstance/createInstancePlugin": {
167
+ "import": "./esm/createDataInstance/createInstancePlugin.js",
168
+ "require": "./cjs/createDataInstance/createInstancePlugin.js"
169
+ },
170
+ "./CheckableGroup": {
171
+ "import": "./esm/CheckableGroup.js",
172
+ "require": "./cjs/CheckableGroup.js"
173
+ },
174
+ "./Animations/GrowVertical": {
175
+ "import": "./esm/Animations/GrowVertical.js",
176
+ "require": "./cjs/Animations/GrowVertical.js"
177
+ },
178
+ "./Animations/GrowRight": {
179
+ "import": "./esm/Animations/GrowRight.js",
180
+ "require": "./cjs/Animations/GrowRight.js"
181
+ },
182
+ "./Animations/Grow": {
183
+ "import": "./esm/Animations/Grow.js",
184
+ "require": "./cjs/Animations/Grow.js"
185
+ },
186
+ "./Animations/BaseAnimation": {
187
+ "import": "./esm/Animations/BaseAnimation.js",
188
+ "require": "./cjs/Animations/BaseAnimation.js"
189
+ }
190
+ },
8
191
  "sideEffects": [
9
192
  "*.css",
10
193
  "*.scss"
11
194
  ],
195
+ "repository": {
196
+ "type": "git",
197
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
198
+ },
199
+ "engines": {
200
+ "npm": ">=7",
201
+ "node": ">=14"
202
+ },
203
+ "author": "ICE MT",
12
204
  "scripts": {
13
205
  "prebuild": "exit 0",
14
206
  "predev": "exit 0",
@@ -17,23 +209,20 @@
17
209
  },
18
210
  "publishConfig": {
19
211
  "access": "public",
20
- "directory": "dist"
212
+ "directory": "dist",
213
+ "generateSubmodules": true
21
214
  },
22
215
  "dependencies": {
23
- "@elliemae/ds-basic": "1.57.1-rc.0",
24
- "@elliemae/ds-utilities": "1.57.1-rc.0",
216
+ "@elliemae/ds-basic": "2.0.0-alpha.11",
217
+ "@elliemae/ds-utilities": "2.0.0-alpha.11",
25
218
  "hoist-non-react-statics": "~3.3.2",
26
- "hotkeys-js": "~3.8.2",
27
- "prop-types": "~15.7.2",
28
219
  "raf": "~3.4.1",
29
220
  "react-spring": "~8.0.27",
30
- "react-virtualized-auto-sizer": "~1.0.4",
31
- "react-window": "~1.8.6",
32
- "table-resolver": "~4.1.1",
221
+ "react-virtualized-auto-sizer": "~1.0.6",
33
222
  "uuid": "~8.3.2"
34
223
  },
35
224
  "peerDependencies": {
36
- "lodash": "~4.17.20",
225
+ "lodash": "~4.17.21",
37
226
  "react": "~16.14.0",
38
227
  "react-dom": "~16.14.0"
39
228
  }