@elmethis/qwik 0.0.8 → 0.0.9
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 +1 -1
- package/lib/index.qwik.mjs +1 -1
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -602,7 +602,7 @@ const textStyles = ".text {\n color: var(--color, #606875);\n}\n.text::selectio
|
|
|
602
602
|
const styles$k = ".icon {\n margin: 0;\n padding: 0;\n display: inline-block;\n vertical-align: middle;\n height: 1em;\n}\n.icon::selection {\n filter: brightness(1000%);\n background-color: var(--color, rgba(0, 0, 0, 0.25));\n}\n[data-theme=dark] .icon {\n color: var(--color, rgba(255, 255, 255, 0.7));\n}\n[data-theme=dark] .icon::selection {\n color: rgba(0, 0, 0, 0.7);\n background-color: var(--color, rgba(255, 255, 255, 0.25));\n}";
|
|
603
603
|
const ElmInlineIcon = qwik.component$(({ src, alt }) => {
|
|
604
604
|
qwik.useStylesScoped$(styles$k);
|
|
605
|
-
return /* @__PURE__ */ jsxRuntime.jsx("
|
|
605
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
606
606
|
class: "icon",
|
|
607
607
|
children: /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
608
608
|
src,
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -600,7 +600,7 @@ const textStyles = ".text {\n color: var(--color, #606875);\n}\n.text::selectio
|
|
|
600
600
|
const styles$k = ".icon {\n margin: 0;\n padding: 0;\n display: inline-block;\n vertical-align: middle;\n height: 1em;\n}\n.icon::selection {\n filter: brightness(1000%);\n background-color: var(--color, rgba(0, 0, 0, 0.25));\n}\n[data-theme=dark] .icon {\n color: var(--color, rgba(255, 255, 255, 0.7));\n}\n[data-theme=dark] .icon::selection {\n color: rgba(0, 0, 0, 0.7);\n background-color: var(--color, rgba(255, 255, 255, 0.25));\n}";
|
|
601
601
|
const ElmInlineIcon = component$(({ src, alt }) => {
|
|
602
602
|
useStylesScoped$(styles$k);
|
|
603
|
-
return /* @__PURE__ */ jsx("
|
|
603
|
+
return /* @__PURE__ */ jsx("span", {
|
|
604
604
|
class: "icon",
|
|
605
605
|
children: /* @__PURE__ */ jsx("img", {
|
|
606
606
|
src,
|