@elmethis/qwik 0.0.40 → 0.0.42
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/lib/index.qwik.cjs +5 -3
- package/lib/index.qwik.mjs +5 -3
- package/package.json +3 -3
package/lib/index.qwik.cjs
CHANGED
|
@@ -2329,7 +2329,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2329
2329
|
height,
|
|
2330
2330
|
onLoad$: handleImageLoad,
|
|
2331
2331
|
style: {
|
|
2332
|
-
"--opacity": isLoading.value ? 0 : 1,
|
|
2332
|
+
"--opacity": isLoading.value ? 0.01 : 1,
|
|
2333
2333
|
"--cursor": enableModal ? isShowModal.value ? "zoom-out" : "zoom-in" : "default",
|
|
2334
2334
|
"--aspect-ratio": width && height ? `${width} / ${height}` : "auto"
|
|
2335
2335
|
}
|
|
@@ -2350,7 +2350,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2350
2350
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
2351
2351
|
class: styles$h["image-container"],
|
|
2352
2352
|
style: {
|
|
2353
|
-
"--opacity": isLoading.value ? 1 : 0
|
|
2353
|
+
"--opacity": isLoading.value ? 1 : 0.01
|
|
2354
2354
|
},
|
|
2355
2355
|
onClick$: handleToggleModal,
|
|
2356
2356
|
children: [
|
|
@@ -2364,7 +2364,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2364
2364
|
caption2 && /* @__PURE__ */ jsxRuntime.jsxs("figcaption", {
|
|
2365
2365
|
class: styles$h["caption-box"],
|
|
2366
2366
|
style: {
|
|
2367
|
-
"--opacity": isLoading.value ? 0 : 1
|
|
2367
|
+
"--opacity": isLoading.value ? 0.01 : 1
|
|
2368
2368
|
},
|
|
2369
2369
|
children: [
|
|
2370
2370
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
@@ -3104,6 +3104,8 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
3104
3104
|
alt: component.props.alt,
|
|
3105
3105
|
width: component.props.width,
|
|
3106
3106
|
height: component.props.height,
|
|
3107
|
+
srcset: component.props.srcset,
|
|
3108
|
+
sizes: component.props.sizes,
|
|
3107
3109
|
enableModal: true
|
|
3108
3110
|
}, key);
|
|
3109
3111
|
case "CodeBlock":
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -2327,7 +2327,7 @@ const ElmBlockImage = component$(({ src, alt, caption: caption2, width, height,
|
|
|
2327
2327
|
height,
|
|
2328
2328
|
onLoad$: handleImageLoad,
|
|
2329
2329
|
style: {
|
|
2330
|
-
"--opacity": isLoading.value ? 0 : 1,
|
|
2330
|
+
"--opacity": isLoading.value ? 0.01 : 1,
|
|
2331
2331
|
"--cursor": enableModal ? isShowModal.value ? "zoom-out" : "zoom-in" : "default",
|
|
2332
2332
|
"--aspect-ratio": width && height ? `${width} / ${height}` : "auto"
|
|
2333
2333
|
}
|
|
@@ -2348,7 +2348,7 @@ const ElmBlockImage = component$(({ src, alt, caption: caption2, width, height,
|
|
|
2348
2348
|
/* @__PURE__ */ jsxs("div", {
|
|
2349
2349
|
class: styles$h["image-container"],
|
|
2350
2350
|
style: {
|
|
2351
|
-
"--opacity": isLoading.value ? 1 : 0
|
|
2351
|
+
"--opacity": isLoading.value ? 1 : 0.01
|
|
2352
2352
|
},
|
|
2353
2353
|
onClick$: handleToggleModal,
|
|
2354
2354
|
children: [
|
|
@@ -2362,7 +2362,7 @@ const ElmBlockImage = component$(({ src, alt, caption: caption2, width, height,
|
|
|
2362
2362
|
caption2 && /* @__PURE__ */ jsxs("figcaption", {
|
|
2363
2363
|
class: styles$h["caption-box"],
|
|
2364
2364
|
style: {
|
|
2365
|
-
"--opacity": isLoading.value ? 0 : 1
|
|
2365
|
+
"--opacity": isLoading.value ? 0.01 : 1
|
|
2366
2366
|
},
|
|
2367
2367
|
children: [
|
|
2368
2368
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -3102,6 +3102,8 @@ const ElmJarkup = component$((props) => {
|
|
|
3102
3102
|
alt: component.props.alt,
|
|
3103
3103
|
width: component.props.width,
|
|
3104
3104
|
height: component.props.height,
|
|
3105
|
+
srcset: component.props.srcset,
|
|
3106
|
+
sizes: component.props.sizes,
|
|
3105
3107
|
enableModal: true
|
|
3106
3108
|
}, key);
|
|
3107
3109
|
case "CodeBlock":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/qwik",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint": "10.1.0",
|
|
46
46
|
"eslint-plugin-qwik": "1.19.2",
|
|
47
47
|
"globals": "17.4.0",
|
|
48
|
-
"jarkup-ts": "^0.
|
|
48
|
+
"jarkup-ts": "^0.13.0",
|
|
49
49
|
"np": "^11.0.2",
|
|
50
50
|
"prettier": "3.8.1",
|
|
51
51
|
"sass": "^1.98.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@mdi/js": "^7.4.47",
|
|
62
|
-
"katex": "^0.16.
|
|
62
|
+
"katex": "^0.16.44",
|
|
63
63
|
"lodash-es": "^4.17.23",
|
|
64
64
|
"marked": "^17.0.5",
|
|
65
65
|
"polished": "^4.3.1",
|