@elliemae/ds-controlled-form 2.3.0 → 2.3.1
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.
|
@@ -9,7 +9,7 @@ require('core-js/modules/esnext.async-iterator.find.js');
|
|
|
9
9
|
require('core-js/modules/esnext.iterator.find.js');
|
|
10
10
|
require('core-js/modules/web.dom-collections.iterator.js');
|
|
11
11
|
var React = require('react');
|
|
12
|
-
var
|
|
12
|
+
var uid = require('uid');
|
|
13
13
|
var lodash = require('lodash');
|
|
14
14
|
|
|
15
15
|
const useCorrectOptions = (propsWithDefaults, showSelectedOptions) => {
|
|
@@ -60,7 +60,7 @@ const useCorrectOptions = (propsWithDefaults, showSelectedOptions) => {
|
|
|
60
60
|
}) === -1) {
|
|
61
61
|
var _innerRef$current2;
|
|
62
62
|
|
|
63
|
-
const creatableUuid =
|
|
63
|
+
const creatableUuid = uid.uid(6);
|
|
64
64
|
const creatableItem = {
|
|
65
65
|
dsId: "creatable-".concat(creatableUuid),
|
|
66
66
|
label: (_innerRef$current2 = innerRef.current) === null || _innerRef$current2 === void 0 ? void 0 : _innerRef$current2.value,
|
|
@@ -5,7 +5,7 @@ import 'core-js/modules/esnext.async-iterator.find.js';
|
|
|
5
5
|
import 'core-js/modules/esnext.iterator.find.js';
|
|
6
6
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
7
|
import { useCallback, useMemo } from 'react';
|
|
8
|
-
import {
|
|
8
|
+
import { uid } from 'uid';
|
|
9
9
|
import { noop } from 'lodash';
|
|
10
10
|
|
|
11
11
|
const useCorrectOptions = (propsWithDefaults, showSelectedOptions) => {
|
|
@@ -56,7 +56,7 @@ const useCorrectOptions = (propsWithDefaults, showSelectedOptions) => {
|
|
|
56
56
|
}) === -1) {
|
|
57
57
|
var _innerRef$current2;
|
|
58
58
|
|
|
59
|
-
const creatableUuid =
|
|
59
|
+
const creatableUuid = uid(6);
|
|
60
60
|
const creatableItem = {
|
|
61
61
|
dsId: "creatable-".concat(creatableUuid),
|
|
62
62
|
label: (_innerRef$current2 = innerRef.current) === null || _innerRef$current2 === void 0 ? void 0 : _innerRef$current2.value,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-controlled-form",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Controlled Form Controllers",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -720,18 +720,24 @@
|
|
|
720
720
|
"build": "node ../../scripts/build/build.js"
|
|
721
721
|
},
|
|
722
722
|
"dependencies": {
|
|
723
|
-
"@elliemae/ds-button": "2.3.
|
|
724
|
-
"@elliemae/ds-
|
|
725
|
-
"@elliemae/ds-
|
|
726
|
-
"@elliemae/ds-
|
|
727
|
-
"@elliemae/ds-
|
|
728
|
-
"@elliemae/ds-
|
|
729
|
-
"@elliemae/ds-
|
|
730
|
-
"@elliemae/ds-
|
|
731
|
-
"@elliemae/ds-
|
|
723
|
+
"@elliemae/ds-button": "2.3.1",
|
|
724
|
+
"@elliemae/ds-circular-progress-indicator": "2.3.1",
|
|
725
|
+
"@elliemae/ds-controlled-form": "2.3.1",
|
|
726
|
+
"@elliemae/ds-form": "2.3.1",
|
|
727
|
+
"@elliemae/ds-form-layout-blocks": "2.3.1",
|
|
728
|
+
"@elliemae/ds-grid": "2.3.1",
|
|
729
|
+
"@elliemae/ds-icon": "2.3.1",
|
|
730
|
+
"@elliemae/ds-icons": "2.3.1",
|
|
731
|
+
"@elliemae/ds-pills": "2.3.1",
|
|
732
|
+
"@elliemae/ds-popperjs": "2.3.1",
|
|
733
|
+
"@elliemae/ds-props-helpers": "2.3.1",
|
|
734
|
+
"@elliemae/ds-system": "2.3.1",
|
|
735
|
+
"@elliemae/ds-tooltip": "2.3.1",
|
|
736
|
+
"@elliemae/ds-truncated-tooltip-text": "2.3.1",
|
|
732
737
|
"prop-types": "~15.7.2",
|
|
733
738
|
"react-desc": "~4.1.3",
|
|
734
739
|
"react-popper": "~2.2.5",
|
|
740
|
+
"react-virtual": "~2.8.2",
|
|
735
741
|
"uid": "~2.0.0"
|
|
736
742
|
},
|
|
737
743
|
"devDependencies": {
|
|
@@ -745,6 +751,7 @@
|
|
|
745
751
|
},
|
|
746
752
|
"peerDependencies": {
|
|
747
753
|
"@elliemae/pui-theme": "~2.3.0",
|
|
754
|
+
"lodash": "^4.17.21",
|
|
748
755
|
"react": "^17.0.2",
|
|
749
756
|
"react-dom": "^17.0.2",
|
|
750
757
|
"styled-components": "^5.3.3",
|