arengibook 1.2.320-main → 1.2.323-main
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/dist/index.js +6 -2
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -42458,8 +42458,12 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
42458
42458
|
var next = objValue ? _toConsumableArray$a(objValue.map(function (opt) {
|
|
42459
42459
|
return opt[optionValue];
|
|
42460
42460
|
})) : value !== null && value !== void 0 ? value : [];
|
|
42461
|
-
|
|
42462
|
-
|
|
42461
|
+
var nextStr = JSON.stringify(_toConsumableArray$a(next).sort());
|
|
42462
|
+
var currentStr = JSON.stringify(_toConsumableArray$a(selectedOptions).sort());
|
|
42463
|
+
if (nextStr !== currentStr) {
|
|
42464
|
+
setSelectedOptions(next);
|
|
42465
|
+
setAppliedOptions(next);
|
|
42466
|
+
}
|
|
42463
42467
|
}, [value, objValue, optionValue]);
|
|
42464
42468
|
useEffect(function () {
|
|
42465
42469
|
var observer = new MutationObserver(function () {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arengibook",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.323-main",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"chromatic": "npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --only-changed --exit-zero-on-changes"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"arengibook": "^1.2.320-main",
|
|
25
26
|
"classnames": "^2.5.1",
|
|
26
27
|
"html-react-parser": "^5.2.3",
|
|
27
28
|
"primeicons": "^7.0.0",
|