@kopexa/callout 13.0.2 → 14.0.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.
- package/dist/callout.js +28 -17
- package/dist/callout.mjs +1 -1
- package/dist/{chunk-W7YUHR6W.mjs → chunk-ANKRTK2L.mjs} +28 -17
- package/dist/index.js +28 -17
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/callout.js
CHANGED
|
@@ -62,23 +62,34 @@ var Callout = (props) => {
|
|
|
62
62
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.ShellIcon, { className: styles.icon() });
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
className: styles.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
65
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
...variant === "destructive" && {
|
|
69
|
+
role: "alert",
|
|
70
|
+
"aria-live": "polite"
|
|
71
|
+
},
|
|
72
|
+
className: (0, import_shared_utils.cn)(styles.root(), className),
|
|
73
|
+
...rest,
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.iconContainer(), children: getIcon() }),
|
|
76
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: styles.content(), children: [
|
|
77
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.title(), children: title }),
|
|
78
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children })
|
|
79
|
+
] }),
|
|
80
|
+
onDismiss && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
81
|
+
"button",
|
|
82
|
+
{
|
|
83
|
+
type: "button",
|
|
84
|
+
onClick: onDismiss,
|
|
85
|
+
className: styles.closeButton(),
|
|
86
|
+
"aria-label": "Close",
|
|
87
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.CloseIcon, { className: "h-4 w-4" })
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
);
|
|
82
93
|
};
|
|
83
94
|
// Annotate the CommonJS export names for ESM import in node:
|
|
84
95
|
0 && (module.exports = {
|
package/dist/callout.mjs
CHANGED
|
@@ -46,23 +46,34 @@ var Callout = (props) => {
|
|
|
46
46
|
return /* @__PURE__ */ jsx(ShellIcon, { className: styles.icon() });
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
return /* @__PURE__ */ jsxs(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
className: styles.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
49
|
+
return /* @__PURE__ */ jsxs(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
...variant === "destructive" && {
|
|
53
|
+
role: "alert",
|
|
54
|
+
"aria-live": "polite"
|
|
55
|
+
},
|
|
56
|
+
className: cn(styles.root(), className),
|
|
57
|
+
...rest,
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ jsx("div", { className: styles.iconContainer(), children: getIcon() }),
|
|
60
|
+
/* @__PURE__ */ jsxs("div", { className: styles.content(), children: [
|
|
61
|
+
title && /* @__PURE__ */ jsx("div", { className: styles.title(), children: title }),
|
|
62
|
+
/* @__PURE__ */ jsx("div", { children })
|
|
63
|
+
] }),
|
|
64
|
+
onDismiss && /* @__PURE__ */ jsx(
|
|
65
|
+
"button",
|
|
66
|
+
{
|
|
67
|
+
type: "button",
|
|
68
|
+
onClick: onDismiss,
|
|
69
|
+
className: styles.closeButton(),
|
|
70
|
+
"aria-label": "Close",
|
|
71
|
+
children: /* @__PURE__ */ jsx(CloseIcon, { className: "h-4 w-4" })
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
);
|
|
66
77
|
};
|
|
67
78
|
|
|
68
79
|
export {
|
package/dist/index.js
CHANGED
|
@@ -64,23 +64,34 @@ var Callout = (props) => {
|
|
|
64
64
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.ShellIcon, { className: styles.icon() });
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
className: styles.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
67
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
...variant === "destructive" && {
|
|
71
|
+
role: "alert",
|
|
72
|
+
"aria-live": "polite"
|
|
73
|
+
},
|
|
74
|
+
className: (0, import_shared_utils.cn)(styles.root(), className),
|
|
75
|
+
...rest,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.iconContainer(), children: getIcon() }),
|
|
78
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: styles.content(), children: [
|
|
79
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: styles.title(), children: title }),
|
|
80
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children })
|
|
81
|
+
] }),
|
|
82
|
+
onDismiss && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
|
+
"button",
|
|
84
|
+
{
|
|
85
|
+
type: "button",
|
|
86
|
+
onClick: onDismiss,
|
|
87
|
+
className: styles.closeButton(),
|
|
88
|
+
"aria-label": "Close",
|
|
89
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.CloseIcon, { className: "h-4 w-4" })
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
);
|
|
84
95
|
};
|
|
85
96
|
// Annotate the CommonJS export names for ESM import in node:
|
|
86
97
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/callout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"callout"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "
|
|
31
|
+
"@kopexa/theme": "14.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@kopexa/shared-utils": "
|
|
35
|
-
"@kopexa/react-utils": "
|
|
36
|
-
"@kopexa/icons": "
|
|
34
|
+
"@kopexa/shared-utils": "14.0.0",
|
|
35
|
+
"@kopexa/react-utils": "14.0.0",
|
|
36
|
+
"@kopexa/icons": "14.0.0"
|
|
37
37
|
},
|
|
38
38
|
"clean-package": "../../../clean-package.config.json",
|
|
39
39
|
"module": "dist/index.mjs",
|