@redis-ui/components 47.5.3 → 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.
@@ -9,9 +9,9 @@ var SectionBody = (0, styled_components.default)(require_index.Content).withConf
9
9
  componentId: "RedisUI__sc-1oa2ez8-0"
10
10
  })([
11
11
  "display:flex;padding:",
12
- ";justify-content:space-between;align-items:center;&[hidden]{padding:0;}&:not(:first-child){box-shadow:inset 0 ",
13
- " 0 0 ",
14
- ";}"
12
+ ";justify-content:space-between;align-items:center;&:not(:first-child){border-top:",
13
+ " solid ",
14
+ ";}&[hidden]{padding:0;border-top:0;}"
15
15
  ], () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.body.padding, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.separator.width, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.separator.color);
16
16
  //#endregion
17
17
  exports.SectionBody = SectionBody;
@@ -7,9 +7,9 @@ var SectionBody = _styled(Content).withConfig({
7
7
  componentId: "RedisUI__sc-1oa2ez8-0"
8
8
  })([
9
9
  "display:flex;padding:",
10
- ";justify-content:space-between;align-items:center;&[hidden]{padding:0;}&:not(:first-child){box-shadow:inset 0 ",
11
- " 0 0 ",
12
- ";}"
10
+ ";justify-content:space-between;align-items:center;&:not(:first-child){border-top:",
11
+ " solid ",
12
+ ";}&[hidden]{padding:0;border-top:0;}"
13
13
  ], () => useTheme().components.section.body.padding, () => useTheme().components.section.separator.width, () => useTheme().components.section.separator.color);
14
14
  //#endregion
15
15
  export { SectionBody };
@@ -12,8 +12,8 @@ var CollapsibleRoot = (0, styled_components.default)(require_index.Root).withCon
12
12
  ";height:",
13
13
  ";background:",
14
14
  ";border-radius:",
15
- ";box-shadow:",
15
+ ";border:1px solid ",
16
16
  ";overflow:hidden;"
17
- ], () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.width, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.height, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.bgColor, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.borderRadius, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.shadow);
17
+ ], () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.width, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.height, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.bgColor, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.borderRadius, () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.section.borderColor);
18
18
  //#endregion
19
19
  exports.CollapsibleRoot = CollapsibleRoot;
@@ -10,8 +10,8 @@ var CollapsibleRoot = _styled(Root).withConfig({
10
10
  ";height:",
11
11
  ";background:",
12
12
  ";border-radius:",
13
- ";box-shadow:",
13
+ ";border:1px solid ",
14
14
  ";overflow:hidden;"
15
- ], () => useTheme().components.section.width, () => useTheme().components.section.height, () => useTheme().components.section.bgColor, () => useTheme().components.section.borderRadius, () => useTheme().components.section.shadow);
15
+ ], () => useTheme().components.section.width, () => useTheme().components.section.height, () => useTheme().components.section.bgColor, () => useTheme().components.section.borderRadius, () => useTheme().components.section.borderColor);
16
16
  //#endregion
17
17
  export { CollapsibleRoot };
@@ -11,8 +11,8 @@ var SummaryBar = styled_components.default.div.withConfig({
11
11
  "background-color:",
12
12
  ";min-height:",
13
13
  ";padding:",
14
- ";box-shadow:inset 0 ",
15
- " 0 0 ",
14
+ ";border-top:",
15
+ " solid ",
16
16
  ";",
17
17
  ""
18
18
  ], () => {
@@ -9,8 +9,8 @@ var SummaryBar = _styled.div.withConfig({
9
9
  "background-color:",
10
10
  ";min-height:",
11
11
  ";padding:",
12
- ";box-shadow:inset 0 ",
13
- " 0 0 ",
12
+ ";border-top:",
13
+ " solid ",
14
14
  ";",
15
15
  ""
16
16
  ], () => {
@@ -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.3",
4
+ "version": "47.5.5",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "repository": "git@github.com:redislabsdev/redis-ui.git",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@redis-ui/icons": "^8.0.0 || ^9.0.0",
33
- "@redis-ui/styles": "^16.4.1",
33
+ "@redis-ui/styles": "^16.4.2",
34
34
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
35
35
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
36
36
  "styled-components": "^5.0.0"