@kopexa/preview-card 17.0.5 → 17.1.0

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.
@@ -14,15 +14,21 @@ var PreviewCardRoot = (props) => {
14
14
  children,
15
15
  asChild,
16
16
  size,
17
- isBordered,
18
- isHoverable,
17
+ border,
18
+ hoverBorder,
19
+ hoverBg,
20
+ hoverTitle,
21
+ showAction,
19
22
  ...rest
20
23
  } = props;
21
24
  const Component = asChild ? Slot : "div";
22
25
  const styles = previewCard({
23
26
  size,
24
- isBordered,
25
- isHoverable
27
+ border,
28
+ hoverBorder,
29
+ hoverBg,
30
+ hoverTitle,
31
+ showAction
26
32
  });
27
33
  return /* @__PURE__ */ jsx(Provider, { value: { styles }, children: /* @__PURE__ */ jsx(Component, { className: styles.root({ className }), ...rest, children }) });
28
34
  };
package/dist/index.js CHANGED
@@ -39,15 +39,21 @@ var PreviewCardRoot = (props) => {
39
39
  children,
40
40
  asChild,
41
41
  size,
42
- isBordered,
43
- isHoverable,
42
+ border,
43
+ hoverBorder,
44
+ hoverBg,
45
+ hoverTitle,
46
+ showAction,
44
47
  ...rest
45
48
  } = props;
46
49
  const Component = asChild ? import_react_slot.Slot : "div";
47
50
  const styles = (0, import_theme.previewCard)({
48
51
  size,
49
- isBordered,
50
- isHoverable
52
+ border,
53
+ hoverBorder,
54
+ hoverBg,
55
+ hoverTitle,
56
+ showAction
51
57
  });
52
58
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { value: { styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { className: styles.root({ className }), ...rest, children }) });
53
59
  };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  PreviewCard
4
- } from "./chunk-33X6KVZF.mjs";
4
+ } from "./chunk-FIOH7FQZ.mjs";
5
5
  export {
6
6
  PreviewCard
7
7
  };
@@ -38,15 +38,21 @@ var PreviewCardRoot = (props) => {
38
38
  children,
39
39
  asChild,
40
40
  size,
41
- isBordered,
42
- isHoverable,
41
+ border,
42
+ hoverBorder,
43
+ hoverBg,
44
+ hoverTitle,
45
+ showAction,
43
46
  ...rest
44
47
  } = props;
45
48
  const Component = asChild ? import_react_slot.Slot : "div";
46
49
  const styles = (0, import_theme.previewCard)({
47
50
  size,
48
- isBordered,
49
- isHoverable
51
+ border,
52
+ hoverBorder,
53
+ hoverBg,
54
+ hoverTitle,
55
+ showAction
50
56
  });
51
57
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { value: { styles }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { className: styles.root({ className }), ...rest, children }) });
52
58
  };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  PreviewCard,
4
4
  PreviewCardAction
5
- } from "./chunk-33X6KVZF.mjs";
5
+ } from "./chunk-FIOH7FQZ.mjs";
6
6
  export {
7
7
  PreviewCard,
8
8
  PreviewCardAction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/preview-card",
3
- "version": "17.0.5",
3
+ "version": "17.1.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "preview-card"
@@ -28,14 +28,14 @@
28
28
  "motion": ">=12.23.6",
29
29
  "react": ">=19.0.0-rc.0",
30
30
  "react-dom": ">=19.0.0-rc.0",
31
- "@kopexa/theme": "17.1.2"
31
+ "@kopexa/theme": "17.2.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "@radix-ui/react-slot": "^1.2.4",
35
- "@kopexa/icons": "17.0.5",
36
- "@kopexa/shared-utils": "17.0.5",
37
- "@kopexa/react-utils": "17.0.5",
38
- "@kopexa/button": "17.0.5"
35
+ "@kopexa/button": "17.0.6",
36
+ "@kopexa/shared-utils": "17.0.6",
37
+ "@kopexa/icons": "17.0.6",
38
+ "@kopexa/react-utils": "17.0.6"
39
39
  },
40
40
  "clean-package": "../../../clean-package.config.json",
41
41
  "module": "dist/index.mjs",