@kopexa/preview-card 17.0.5 → 17.1.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.
- package/dist/{chunk-33X6KVZF.mjs → chunk-FIOH7FQZ.mjs} +10 -4
- package/dist/index.js +10 -4
- package/dist/index.mjs +1 -1
- package/dist/preview-card.js +10 -4
- package/dist/preview-card.mjs +1 -1
- package/package.json +6 -6
|
@@ -14,15 +14,21 @@ var PreviewCardRoot = (props) => {
|
|
|
14
14
|
children,
|
|
15
15
|
asChild,
|
|
16
16
|
size,
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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
|
-
|
|
50
|
-
|
|
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
package/dist/preview-card.js
CHANGED
|
@@ -38,15 +38,21 @@ var PreviewCardRoot = (props) => {
|
|
|
38
38
|
children,
|
|
39
39
|
asChild,
|
|
40
40
|
size,
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
49
|
-
|
|
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
|
};
|
package/dist/preview-card.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/preview-card",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.1.2",
|
|
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.
|
|
31
|
+
"@kopexa/theme": "17.4.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@radix-ui/react-slot": "^1.2.4",
|
|
35
|
-
"@kopexa/
|
|
36
|
-
"@kopexa/
|
|
37
|
-
"@kopexa/react-utils": "17.0.
|
|
38
|
-
"@kopexa/
|
|
35
|
+
"@kopexa/button": "17.0.8",
|
|
36
|
+
"@kopexa/icons": "17.0.8",
|
|
37
|
+
"@kopexa/react-utils": "17.0.8",
|
|
38
|
+
"@kopexa/shared-utils": "17.0.8"
|
|
39
39
|
},
|
|
40
40
|
"clean-package": "../../../clean-package.config.json",
|
|
41
41
|
"module": "dist/index.mjs",
|