@redis-ui/components 47.5.4 → 47.5.5

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.
@@ -10,7 +10,10 @@ var ResetButton = ({ children, title, ...restProps }) => {
10
10
  const theme = (0, _redislabsdev_redis_ui_styles.useTheme)().components.select.reset;
11
11
  return canUnselect ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ResetButton_style.ResetButton, {
12
12
  type: "button",
13
- onClick: resetSelection,
13
+ onClick: (e) => {
14
+ e.stopPropagation();
15
+ resetSelection();
16
+ },
14
17
  ...restProps,
15
18
  onPointerDown: (e) => e.stopPropagation(),
16
19
  title: title ?? "Clear All",
@@ -9,7 +9,10 @@ var ResetButton = ({ children, title, ...restProps }) => {
9
9
  const theme = useTheme().components.select.reset;
10
10
  return canUnselect ? /* @__PURE__ */ jsx(ResetButton$1, {
11
11
  type: "button",
12
- onClick: resetSelection,
12
+ onClick: (e) => {
13
+ e.stopPropagation();
14
+ resetSelection();
15
+ },
13
16
  ...restProps,
14
17
  onPointerDown: (e) => e.stopPropagation(),
15
18
  title: title ?? "Clear All",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/components",
3
3
  "license": "UNLICENSED",
4
- "version": "47.5.4",
4
+ "version": "47.5.5",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "repository": "git@github.com:redislabsdev/redis-ui.git",