@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.
@@ -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(state.tag, {
279
- children: qwik._wrapSignal(props, "styles")
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
@@ -1,4 +1,4 @@
1
- import { createContext, _wrapSignal, _IMMUTABLE, inlinedQrl, useLexicalScope, componentQrl, useContextProvider, useStore, useStylesScopedQrl, useContext, Fragment as Fragment$1, Slot, useRef, useWatchQrl, useClientEffectQrl, useCleanupQrl } from "@builder.io/qwik";
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(state.tag, {
277
- children: _wrapSignal(props, "styles")
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.1.4-0",
3
+ "version": "0.1.4",
4
4
  "description": "Builder.io Qwik SDK",
5
5
  "type": "module",
6
6
  "main": "./lib/index.qwik.cjs",