maru_design2 2.22.1 → 2.22.3
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/CHANGELOG.md +14 -0
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.22.3](https://github.com/42maru-ai/maru-design2/compare/v2.22.2...v2.22.3) (2025-02-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bug: SearchInput - delete filter.onClose [#480](https://github.com/42maru-ai/maru-design2/issues/480) ([351ea58](https://github.com/42maru-ai/maru-design2/commit/351ea58eae4a25517ba2b107d5aa82492df9c15e))
|
|
9
|
+
|
|
10
|
+
## [2.22.2](https://github.com/42maru-ai/maru-design2/compare/v2.22.1...v2.22.2) (2025-02-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* :bug: SearchInput - update search & close logic [#480](https://github.com/42maru-ai/maru-design2/issues/480) ([8813b80](https://github.com/42maru-ai/maru-design2/commit/8813b80cb3f647b9b320d7371b8700112c99a323))
|
|
16
|
+
|
|
3
17
|
## [2.22.1](https://github.com/42maru-ai/maru-design2/compare/v2.22.0...v2.22.1) (2025-02-07)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.js
CHANGED
|
@@ -26535,7 +26535,7 @@ function Filter(_a) {
|
|
|
26535
26535
|
var _b = useState(false),
|
|
26536
26536
|
open = _b[0],
|
|
26537
26537
|
setOpen = _b[1];
|
|
26538
|
-
var
|
|
26538
|
+
var handleSearch = function handleSearch() {
|
|
26539
26539
|
onSearch();
|
|
26540
26540
|
setOpen(false);
|
|
26541
26541
|
};
|
|
@@ -26561,7 +26561,9 @@ function Filter(_a) {
|
|
|
26561
26561
|
})), jsx(Popover, __assign({
|
|
26562
26562
|
anchorEl: inputWrapperRef.current,
|
|
26563
26563
|
open: open,
|
|
26564
|
-
onClose:
|
|
26564
|
+
onClose: function onClose() {
|
|
26565
|
+
return setOpen(false);
|
|
26566
|
+
},
|
|
26565
26567
|
direction: "bottom-end",
|
|
26566
26568
|
className: "maru-search-input-filter-popover"
|
|
26567
26569
|
}, {
|
|
@@ -26589,7 +26591,7 @@ function Filter(_a) {
|
|
|
26589
26591
|
}, {
|
|
26590
26592
|
children: resetButtonContent
|
|
26591
26593
|
})), jsx(Button, __assign({
|
|
26592
|
-
onClick:
|
|
26594
|
+
onClick: handleSearch
|
|
26593
26595
|
}, {
|
|
26594
26596
|
children: searchButtonContent
|
|
26595
26597
|
}))]
|