@builder.io/sdk-qwik 0.12.2 → 0.12.3

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.
@@ -4,7 +4,6 @@ const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
5
  const build = require("@builder.io/qwik/build");
6
6
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
7
- qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
7
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
9
8
  children: props.link ? /* @__PURE__ */ qwik._jsxS("a", {
10
9
  ...props.attributes,
@@ -25,20 +24,16 @@ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
25
24
  props
26
25
  ], "p0.text")
27
26
  }, {
28
- class: qwik._fnSignal((p0) => p0.attributes.class + " button-Button", [
27
+ class: qwik._fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
29
28
  props
30
- ], 'p0.attributes.class+" button-Button"'),
29
+ ], "`builder-button ${p0.attributes.class}`"),
30
+ role: "button",
31
31
  style: qwik._fnSignal((p0) => p0.attributes.style, [
32
32
  props
33
33
  ], "p0.attributes.style")
34
34
  }, 0, null)
35
35
  }, 1, "jc_1");
36
36
  }, "Button_component_gJoMUICXoUQ"));
37
- const STYLES$3 = `
38
- .button-Button {
39
- all: unset;
40
- }
41
- `;
42
37
  const builderContext = qwik.createContextId("Builder");
43
38
  const ComponentsContext = qwik.createContextId("Components");
44
39
  function getBlockComponentOptions(block) {
@@ -3230,7 +3225,7 @@ const getInteractionPropertiesForEvent = (event) => {
3230
3225
  }
3231
3226
  };
3232
3227
  };
3233
- const SDK_VERSION = "0.12.2";
3228
+ const SDK_VERSION = "0.12.3";
3234
3229
  const registry = {};
3235
3230
  function register(type, info) {
3236
3231
  let typeList = registry[type];
@@ -3757,6 +3752,10 @@ ${getFontCss({
3757
3752
  customFonts: props.customFonts
3758
3753
  })}
3759
3754
 
3755
+ .builder-button {
3756
+ all: unset;
3757
+ }
3758
+
3760
3759
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
3761
3760
  margin: 0;
3762
3761
  }
@@ -1,8 +1,7 @@
1
- import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useStylesScopedQrl, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { isServer } from "@builder.io/qwik/build";
4
4
  const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5
- useStylesScopedQrl(/* @__PURE__ */ inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
6
5
  return /* @__PURE__ */ _jsxC(Fragment, {
7
6
  children: props.link ? /* @__PURE__ */ _jsxS("a", {
8
7
  ...props.attributes,
@@ -23,20 +22,16 @@ const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
23
22
  props
24
23
  ], "p0.text")
25
24
  }, {
26
- class: _fnSignal((p0) => p0.attributes.class + " button-Button", [
25
+ class: _fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
27
26
  props
28
- ], 'p0.attributes.class+" button-Button"'),
27
+ ], "`builder-button ${p0.attributes.class}`"),
28
+ role: "button",
29
29
  style: _fnSignal((p0) => p0.attributes.style, [
30
30
  props
31
31
  ], "p0.attributes.style")
32
32
  }, 0, null)
33
33
  }, 1, "jc_1");
34
34
  }, "Button_component_gJoMUICXoUQ"));
35
- const STYLES$3 = `
36
- .button-Button {
37
- all: unset;
38
- }
39
- `;
40
35
  const builderContext = createContextId("Builder");
41
36
  const ComponentsContext = createContextId("Components");
42
37
  function getBlockComponentOptions(block) {
@@ -3228,7 +3223,7 @@ const getInteractionPropertiesForEvent = (event) => {
3228
3223
  }
3229
3224
  };
3230
3225
  };
3231
- const SDK_VERSION = "0.12.2";
3226
+ const SDK_VERSION = "0.12.3";
3232
3227
  const registry = {};
3233
3228
  function register(type, info) {
3234
3229
  let typeList = registry[type];
@@ -3755,6 +3750,10 @@ ${getFontCss({
3755
3750
  customFonts: props.customFonts
3756
3751
  })}
3757
3752
 
3753
+ .builder-button {
3754
+ all: unset;
3755
+ }
3756
+
3758
3757
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
3759
3758
  margin: 0;
3760
3759
  }
@@ -4,7 +4,6 @@ const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
5
  const build = require("@builder.io/qwik/build");
6
6
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
7
- qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
7
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
9
8
  children: props.link ? /* @__PURE__ */ qwik._jsxS("a", {
10
9
  ...props.attributes,
@@ -25,20 +24,16 @@ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
25
24
  props
26
25
  ], "p0.text")
27
26
  }, {
28
- class: qwik._fnSignal((p0) => p0.attributes.class + " button-Button", [
27
+ class: qwik._fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
29
28
  props
30
- ], 'p0.attributes.class+" button-Button"'),
29
+ ], "`builder-button ${p0.attributes.class}`"),
30
+ role: "button",
31
31
  style: qwik._fnSignal((p0) => p0.attributes.style, [
32
32
  props
33
33
  ], "p0.attributes.style")
34
34
  }, 0, null)
35
35
  }, 1, "jc_1");
36
36
  }, "Button_component_gJoMUICXoUQ"));
37
- const STYLES$3 = `
38
- .button-Button {
39
- all: unset;
40
- }
41
- `;
42
37
  const builderContext = qwik.createContextId("Builder");
43
38
  const ComponentsContext = qwik.createContextId("Components");
44
39
  function getBlockComponentOptions(block) {
@@ -6461,7 +6456,7 @@ const getInteractionPropertiesForEvent = (event) => {
6461
6456
  }
6462
6457
  };
6463
6458
  };
6464
- const SDK_VERSION = "0.12.2";
6459
+ const SDK_VERSION = "0.12.3";
6465
6460
  const registry = {};
6466
6461
  function register(type, info) {
6467
6462
  let typeList = registry[type];
@@ -6988,6 +6983,10 @@ ${getFontCss({
6988
6983
  customFonts: props.customFonts
6989
6984
  })}
6990
6985
 
6986
+ .builder-button {
6987
+ all: unset;
6988
+ }
6989
+
6991
6990
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
6992
6991
  margin: 0;
6993
6992
  }
@@ -1,8 +1,7 @@
1
- import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useStylesScopedQrl, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { isServer } from "@builder.io/qwik/build";
4
4
  const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5
- useStylesScopedQrl(/* @__PURE__ */ inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
6
5
  return /* @__PURE__ */ _jsxC(Fragment, {
7
6
  children: props.link ? /* @__PURE__ */ _jsxS("a", {
8
7
  ...props.attributes,
@@ -23,20 +22,16 @@ const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
23
22
  props
24
23
  ], "p0.text")
25
24
  }, {
26
- class: _fnSignal((p0) => p0.attributes.class + " button-Button", [
25
+ class: _fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
27
26
  props
28
- ], 'p0.attributes.class+" button-Button"'),
27
+ ], "`builder-button ${p0.attributes.class}`"),
28
+ role: "button",
29
29
  style: _fnSignal((p0) => p0.attributes.style, [
30
30
  props
31
31
  ], "p0.attributes.style")
32
32
  }, 0, null)
33
33
  }, 1, "jc_1");
34
34
  }, "Button_component_gJoMUICXoUQ"));
35
- const STYLES$3 = `
36
- .button-Button {
37
- all: unset;
38
- }
39
- `;
40
35
  const builderContext = createContextId("Builder");
41
36
  const ComponentsContext = createContextId("Components");
42
37
  function getBlockComponentOptions(block) {
@@ -6459,7 +6454,7 @@ const getInteractionPropertiesForEvent = (event) => {
6459
6454
  }
6460
6455
  };
6461
6456
  };
6462
- const SDK_VERSION = "0.12.2";
6457
+ const SDK_VERSION = "0.12.3";
6463
6458
  const registry = {};
6464
6459
  function register(type, info) {
6465
6460
  let typeList = registry[type];
@@ -6986,6 +6981,10 @@ ${getFontCss({
6986
6981
  customFonts: props.customFonts
6987
6982
  })}
6988
6983
 
6984
+ .builder-button {
6985
+ all: unset;
6986
+ }
6987
+
6989
6988
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
6990
6989
  margin: 0;
6991
6990
  }
@@ -6,7 +6,6 @@ const nodeEvaluate = require("./node-evaluate-4014c795.cjs");
6
6
  const build = require("@builder.io/qwik/build");
7
7
  require("node:module");
8
8
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
9
- qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
10
9
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
11
10
  children: props.link ? /* @__PURE__ */ qwik._jsxS("a", {
12
11
  ...props.attributes,
@@ -27,20 +26,16 @@ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
27
26
  props
28
27
  ], "p0.text")
29
28
  }, {
30
- class: qwik._fnSignal((p0) => p0.attributes.class + " button-Button", [
29
+ class: qwik._fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
31
30
  props
32
- ], 'p0.attributes.class+" button-Button"'),
31
+ ], "`builder-button ${p0.attributes.class}`"),
32
+ role: "button",
33
33
  style: qwik._fnSignal((p0) => p0.attributes.style, [
34
34
  props
35
35
  ], "p0.attributes.style")
36
36
  }, 0, null)
37
37
  }, 1, "jc_1");
38
38
  }, "Button_component_gJoMUICXoUQ"));
39
- const STYLES$3 = `
40
- .button-Button {
41
- all: unset;
42
- }
43
- `;
44
39
  const builderContext = qwik.createContextId("Builder");
45
40
  const ComponentsContext = qwik.createContextId("Components");
46
41
  function getBlockComponentOptions(block) {
@@ -3331,7 +3326,7 @@ const getInteractionPropertiesForEvent = (event) => {
3331
3326
  }
3332
3327
  };
3333
3328
  };
3334
- const SDK_VERSION = "0.12.2";
3329
+ const SDK_VERSION = "0.12.3";
3335
3330
  const registry = {};
3336
3331
  function register(type, info) {
3337
3332
  let typeList = registry[type];
@@ -3858,6 +3853,10 @@ ${getFontCss({
3858
3853
  customFonts: props.customFonts
3859
3854
  })}
3860
3855
 
3856
+ .builder-button {
3857
+ all: unset;
3858
+ }
3859
+
3861
3860
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
3862
3861
  margin: 0;
3863
3862
  }
@@ -1,10 +1,9 @@
1
- import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot as Slot$1, useStore, useContextProvider, _wrapProp, useStylesScopedQrl, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { s as safeDynamicRequire } from "./node-evaluate-db446d2b.js";
4
4
  import { isServer } from "@builder.io/qwik/build";
5
5
  import "node:module";
6
6
  const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
7
- useStylesScopedQrl(/* @__PURE__ */ inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
7
  return /* @__PURE__ */ _jsxC(Fragment, {
9
8
  children: props.link ? /* @__PURE__ */ _jsxS("a", {
10
9
  ...props.attributes,
@@ -25,20 +24,16 @@ const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
25
24
  props
26
25
  ], "p0.text")
27
26
  }, {
28
- class: _fnSignal((p0) => p0.attributes.class + " button-Button", [
27
+ class: _fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
29
28
  props
30
- ], 'p0.attributes.class+" button-Button"'),
29
+ ], "`builder-button ${p0.attributes.class}`"),
30
+ role: "button",
31
31
  style: _fnSignal((p0) => p0.attributes.style, [
32
32
  props
33
33
  ], "p0.attributes.style")
34
34
  }, 0, null)
35
35
  }, 1, "jc_1");
36
36
  }, "Button_component_gJoMUICXoUQ"));
37
- const STYLES$3 = `
38
- .button-Button {
39
- all: unset;
40
- }
41
- `;
42
37
  const builderContext = createContextId("Builder");
43
38
  const ComponentsContext = createContextId("Components");
44
39
  function getBlockComponentOptions(block) {
@@ -3329,7 +3324,7 @@ const getInteractionPropertiesForEvent = (event) => {
3329
3324
  }
3330
3325
  };
3331
3326
  };
3332
- const SDK_VERSION = "0.12.2";
3327
+ const SDK_VERSION = "0.12.3";
3333
3328
  const registry = {};
3334
3329
  function register(type, info) {
3335
3330
  let typeList = registry[type];
@@ -3856,6 +3851,10 @@ ${getFontCss({
3856
3851
  customFonts: props.customFonts
3857
3852
  })}
3858
3853
 
3854
+ .builder-button {
3855
+ all: unset;
3856
+ }
3857
+
3859
3858
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
3860
3859
  margin: 0;
3861
3860
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,3 @@
1
1
  import { ButtonProps } from "./button.types.js";
2
2
  export declare const Button: import("@builder.io/qwik").Component<ButtonProps>;
3
3
  export default Button;
4
- export declare const STYLES = "\n.button-Button {\n all: unset;\n}\n";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.12.2";
1
+ export declare const SDK_VERSION = "0.12.3";