@builder.io/sdk-qwik 0.1.4-0 → 0.1.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.
- package/lib/index.qwik.cjs +7 -2
- package/lib/index.qwik.mjs +8 -3
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -275,8 +275,13 @@ const RenderInlinedStyles = (props) => {
|
|
|
275
275
|
const state = {};
|
|
276
276
|
state.tag = tag$1();
|
|
277
277
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
278
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
279
|
-
|
|
278
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("style", {
|
|
279
|
+
get dangerouslySetInnerHTML() {
|
|
280
|
+
return props.styles;
|
|
281
|
+
},
|
|
282
|
+
[qwik._IMMUTABLE]: {
|
|
283
|
+
dangerouslySetInnerHTML: qwik._wrapSignal(props, "styles")
|
|
284
|
+
}
|
|
280
285
|
}),
|
|
281
286
|
[qwik._IMMUTABLE]: {
|
|
282
287
|
children: false
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext,
|
|
1
|
+
import { createContext, _IMMUTABLE, _wrapSignal, inlinedQrl, useLexicalScope, componentQrl, useContextProvider, useStore, useStylesScopedQrl, useContext, Fragment as Fragment$1, Slot, useRef, useWatchQrl, useClientEffectQrl, useCleanupQrl } from "@builder.io/qwik";
|
|
2
2
|
import { jsx, Fragment, jsxs } from "@builder.io/qwik/jsx-runtime";
|
|
3
3
|
const TARGET = "qwik";
|
|
4
4
|
function isBrowser() {
|
|
@@ -273,8 +273,13 @@ const RenderInlinedStyles = (props) => {
|
|
|
273
273
|
const state = {};
|
|
274
274
|
state.tag = tag$1();
|
|
275
275
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
276
|
-
children: /* @__PURE__ */ jsx(
|
|
277
|
-
|
|
276
|
+
children: /* @__PURE__ */ jsx("style", {
|
|
277
|
+
get dangerouslySetInnerHTML() {
|
|
278
|
+
return props.styles;
|
|
279
|
+
},
|
|
280
|
+
[_IMMUTABLE]: {
|
|
281
|
+
dangerouslySetInnerHTML: _wrapSignal(props, "styles")
|
|
282
|
+
}
|
|
278
283
|
}),
|
|
279
284
|
[_IMMUTABLE]: {
|
|
280
285
|
children: false
|