@elliemae/ds-mini-toolbar 2.4.2-rc.9 → 2.4.2

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.
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _jsx = require('@babel/runtime/helpers/jsx');
6
- require('core-js/modules/web.dom-collections.iterator.js');
7
6
  var react = require('react');
8
7
  var reactDesc = require('react-desc');
9
8
  var DSDropdownMenu = require('@elliemae/ds-dropdownmenu');
@@ -69,7 +69,7 @@ const useGenerateItems = items => {
69
69
  sharedProps: sharedProps,
70
70
  ContextualRegion: ContextualRegion,
71
71
  contextualRegionProps: contextualRegionProps
72
- }, "".concat(instanceUID, "-shortcut-").concat(index$1));
72
+ }, `${instanceUID}-shortcut-${index$1}`);
73
73
  }), [instanceUID, items]);
74
74
  const dropdownMenuItems = react.useMemo(() => items.map((item, index$1) => {
75
75
  const {
@@ -87,7 +87,7 @@ const useGenerateItems = items => {
87
87
  } = _objectSpread(_objectSpread({}, sharedProps), dropdownComponentProps);
88
88
 
89
89
  if (component === index.SEPARATOR) dropdownItem.type = 'separator';else {
90
- dropdownItem.id = "".concat(instanceUID, "-dropdown-").concat(index$1);
90
+ dropdownItem.id = `${instanceUID}-dropdown-${index$1}`;
91
91
 
92
92
  dropdownItem.onClick = () => onClick(item);
93
93
 
@@ -112,7 +112,7 @@ const useGenerateItems = items => {
112
112
  dropdownItem.type = 'subMenu';
113
113
  dropdownItem.label = label;
114
114
  dropdownItem.subItems = sharedProps.options.map((option, index) => {
115
- option.id = "".concat(instanceUID, "-option-").concat(index);
115
+ option.id = `${instanceUID}-option-${index}`;
116
116
 
117
117
  option.onClick = () => dropdownComponentProps.onSelectMenuItem(option);
118
118
 
@@ -1,5 +1,4 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
- import 'core-js/modules/web.dom-collections.iterator.js';
3
2
  import { useState, useCallback } from 'react';
4
3
  import { describe } from 'react-desc';
5
4
  import DSDropdownMenu from '@elliemae/ds-dropdownmenu';
@@ -60,7 +60,7 @@ const useGenerateItems = items => {
60
60
  sharedProps: sharedProps,
61
61
  ContextualRegion: ContextualRegion,
62
62
  contextualRegionProps: contextualRegionProps
63
- }, "".concat(instanceUID, "-shortcut-").concat(index));
63
+ }, `${instanceUID}-shortcut-${index}`);
64
64
  }), [instanceUID, items]);
65
65
  const dropdownMenuItems = useMemo(() => items.map((item, index) => {
66
66
  const {
@@ -78,7 +78,7 @@ const useGenerateItems = items => {
78
78
  } = _objectSpread(_objectSpread({}, sharedProps), dropdownComponentProps);
79
79
 
80
80
  if (component === SEPARATOR) dropdownItem.type = 'separator';else {
81
- dropdownItem.id = "".concat(instanceUID, "-dropdown-").concat(index);
81
+ dropdownItem.id = `${instanceUID}-dropdown-${index}`;
82
82
 
83
83
  dropdownItem.onClick = () => onClick(item);
84
84
 
@@ -103,7 +103,7 @@ const useGenerateItems = items => {
103
103
  dropdownItem.type = 'subMenu';
104
104
  dropdownItem.label = label;
105
105
  dropdownItem.subItems = sharedProps.options.map((option, index) => {
106
- option.id = "".concat(instanceUID, "-option-").concat(index);
106
+ option.id = `${instanceUID}-option-${index}`;
107
107
 
108
108
  option.onClick = () => dropdownComponentProps.onSelectMenuItem(option);
109
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-mini-toolbar",
3
- "version": "2.4.2-rc.9",
3
+ "version": "2.4.2",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - MiniToolbar",
6
6
  "module": "./esm/index.js",
@@ -72,11 +72,11 @@
72
72
  "build": "node ../../scripts/build/build.js"
73
73
  },
74
74
  "dependencies": {
75
- "@elliemae/ds-button": "2.4.2-rc.9",
76
- "@elliemae/ds-dropdownmenu": "2.4.2-rc.9",
77
- "@elliemae/ds-form": "2.4.2-rc.9",
78
- "@elliemae/ds-icons": "2.4.2-rc.9",
79
- "@elliemae/ds-system": "2.4.2-rc.9",
75
+ "@elliemae/ds-button": "2.4.2",
76
+ "@elliemae/ds-dropdownmenu": "2.4.2",
77
+ "@elliemae/ds-form": "2.4.2",
78
+ "@elliemae/ds-icons": "2.4.2",
79
+ "@elliemae/ds-system": "2.4.2",
80
80
  "react-desc": "~4.1.3",
81
81
  "uid": "~2.0.0"
82
82
  },