@dexteel/mesf-core 7.0.1 → 7.0.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "7.0.1"
2
+ ".": "7.0.2"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.0.2](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.0.1...@dexteel/mesf-core-v7.0.2) (2025-10-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Dialog Filter:** Add overflow 'auto' | Refactor the handleToggle function ([fa8a7bb](https://github.com/dexteel/mesf-core-frontend/commit/fa8a7bb87fb170427d27c5e0dad06457fb1fe18e))
9
+ * **Dialog Filter:** Add overflow 'auto' | Refactor the handleToggle function ([52af423](https://github.com/dexteel/mesf-core-frontend/commit/52af423acc1b4a590fb8fddd4c3556a89e611e96))
10
+
3
11
  ## [7.0.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.0.0...@dexteel/mesf-core-v7.0.1) (2025-10-23)
4
12
 
5
13
 
package/dist/index.esm.js CHANGED
@@ -547,7 +547,12 @@ var ModalTreeFilterControl = function (props) {
547
547
  setValue(Number.parseInt(nodeIds));
548
548
  };
549
549
  var handleToogle = function (event, itemId, isExpanded) {
550
- setExpanded(__spreadArray(__spreadArray([], expanded, true), [itemId], false));
550
+ if (isExpanded) {
551
+ setExpanded(function (prev) { return (prev.includes(itemId) ? prev : __spreadArray(__spreadArray([], prev, true), [itemId], false)); });
552
+ }
553
+ else {
554
+ setExpanded(function (prev) { return prev.filter(function (id) { return id !== itemId; }); });
555
+ }
551
556
  };
552
557
  var getNodeData = function (node, id) {
553
558
  if (id === undefined)
@@ -735,7 +740,7 @@ var ModalTreeFilterControl = function (props) {
735
740
  React__default.createElement(LazyLoading, null))) : (React__default.createElement(DialogContent$1, { dividers: true, style: {
736
741
  height: "500px",
737
742
  width: "100%",
738
- overflow: "hidden",
743
+ overflow: "auto",
739
744
  flexDirection: "column",
740
745
  } },
741
746
  allowSearch && (React__default.createElement(Grid2, { ref: searchContainerRef, style: {