@elmethis/core 0.4.3 → 0.4.4
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.
|
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
if (_ctx.enableModal) isModalOpen.value = true;
|
|
67
67
|
}),
|
|
68
68
|
style: normalizeStyle({
|
|
69
|
-
"--cursor": _ctx.enableModal ? "zoom-in" : "
|
|
69
|
+
"--cursor": _ctx.enableModal ? "zoom-in" : "inherit",
|
|
70
70
|
"--margin-block": _ctx.margin
|
|
71
71
|
})
|
|
72
72
|
}, null, 14, _hoisted_1))
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._wrapper_1d65k_1{width:100%;display:flex;flex-direction:column;align-items:center}._image_1d65k_8{display:block;margin-block:var(--margin-block);max-width:100%;max-height:100vh;cursor:inherit;cursor:var(--cursor, inherit)}._error_1d65k_16{display:flex;justify-content:center;align-items:center;gap:1rem;width:100%;height:100%;min-height:10rem;line-height:1.5rem;color:#c56565}._fallback_1d65k_28{margin-block:var(--margin-block);margin:0;padding:0;position:relative;width:100%;z-index:1;display:flex;justify-content:center;align-items:center;aspect-ratio:1200/630}._image-block_1d65k_41{overflow:hidden;border-radius:.25rem;box-shadow:0 0 .125rem #0000004d;display:block;max-width:100%;max-height:100vh;cursor:default;cursor:var(--cursor, default)}._alt-container_1d65k_51{max-width:80%;margin:1rem;display:flex;justify-content:center;align-items:center;gap:1rem;color:#6987b8;opacity:.8}._modal_1d65k_62{position:fixed;z-index:10;top:0;left:0;width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background-color:#23262acc;cursor:zoom-out}._modal-image_1d65k_76{display:block;max-width:100%;cursor:zoom-out}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const wrapper = "
|
|
14
|
-
const image = "
|
|
15
|
-
const error = "
|
|
16
|
-
const fallback = "
|
|
17
|
-
const modal = "
|
|
13
|
+
const wrapper = "_wrapper_1d65k_1";
|
|
14
|
+
const image = "_image_1d65k_8";
|
|
15
|
+
const error = "_error_1d65k_16";
|
|
16
|
+
const fallback = "_fallback_1d65k_28";
|
|
17
|
+
const modal = "_modal_1d65k_62";
|
|
18
18
|
const style0 = {
|
|
19
19
|
wrapper,
|
|
20
20
|
image,
|
|
21
21
|
error,
|
|
22
22
|
fallback,
|
|
23
|
-
"image-block": "_image-
|
|
24
|
-
"alt-container": "_alt-
|
|
23
|
+
"image-block": "_image-block_1d65k_41",
|
|
24
|
+
"alt-container": "_alt-container_1d65k_51",
|
|
25
25
|
modal,
|
|
26
|
-
"modal-image": "_modal-
|
|
26
|
+
"modal-image": "_modal-image_1d65k_76"
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
29
|
style0 as default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"shiki": "^3.9.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@notionhq/client": "^4.0.
|
|
35
|
+
"@notionhq/client": "^4.0.2",
|
|
36
36
|
"@storybook/vue3-vite": "9.1.2",
|
|
37
37
|
"@types/json-schema": "^7.0.15",
|
|
38
38
|
"@types/katex": "^0.16.7",
|