@builder.io/sdk-qwik 0.14.1 → 0.14.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.
Files changed (31) hide show
  1. package/lib/browser/index.qwik.cjs +5 -1
  2. package/lib/browser/index.qwik.mjs +5 -1
  3. package/lib/edge/index.qwik.cjs +5 -1
  4. package/lib/edge/index.qwik.mjs +5 -1
  5. package/lib/node/index.qwik.cjs +5 -1
  6. package/lib/node/index.qwik.mjs +5 -1
  7. package/package.json +4 -4
  8. package/types/src/blocks/button/index.d.ts +1 -0
  9. package/types/src/blocks/columns/index.d.ts +1 -0
  10. package/types/src/blocks/custom-code/index.d.ts +1 -0
  11. package/types/src/blocks/embed/index.d.ts +1 -0
  12. package/types/src/blocks/form/form/index.d.ts +1 -0
  13. package/types/src/blocks/form/input/index.d.ts +1 -0
  14. package/types/src/blocks/form/select/index.d.ts +1 -0
  15. package/types/src/blocks/form/submit-button/index.d.ts +1 -0
  16. package/types/src/blocks/fragment/index.d.ts +1 -0
  17. package/types/src/blocks/image/index.d.ts +1 -0
  18. package/types/src/blocks/img/index.d.ts +1 -0
  19. package/types/src/blocks/raw-text/index.d.ts +1 -0
  20. package/types/src/blocks/section/index.d.ts +1 -0
  21. package/types/src/blocks/slot/index.d.ts +1 -0
  22. package/types/src/blocks/symbol/index.d.ts +1 -0
  23. package/types/src/blocks/text/index.d.ts +1 -0
  24. package/types/src/blocks/textarea/index.d.ts +1 -0
  25. package/types/src/blocks/video/index.d.ts +1 -0
  26. package/types/src/components/blocks/index.d.ts +1 -0
  27. package/types/src/components/content-variants/index.d.ts +1 -0
  28. package/types/src/components/error-boundary.d.ts +5 -0
  29. package/types/src/constants/sdk-version.d.ts +1 -1
  30. package/types/src/functions/get-content/types.d.ts +1 -1
  31. package/types/src/index-helpers/blocks-exports.d.ts +10 -11
@@ -4350,7 +4350,7 @@ function isFromTrustedHost(trustedHosts, e) {
4350
4350
  const url = new URL(e.origin), hostname = url.hostname;
4351
4351
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4352
4352
  }
4353
- const SDK_VERSION = "0.14.1";
4353
+ const SDK_VERSION = "0.14.3";
4354
4354
  const registry = {};
4355
4355
  function register(type, info) {
4356
4356
  let typeList = registry[type];
@@ -5580,6 +5580,8 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
5580
5580
  get linkComponent() {
5581
5581
  return props.builderLinkComponent;
5582
5582
  },
5583
+ blocksWrapper: "div",
5584
+ contentWrapper: "div",
5583
5585
  [qwik._IMMUTABLE]: {
5584
5586
  apiKey: qwik._fnSignal((p0) => p0.builderContext.apiKey, [
5585
5587
  props
@@ -5587,9 +5589,11 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
5587
5589
  apiVersion: qwik._fnSignal((p0) => p0.builderContext.apiVersion, [
5588
5590
  props
5589
5591
  ], "p0.builderContext.apiVersion"),
5592
+ blocksWrapper: qwik._IMMUTABLE,
5590
5593
  content: qwik._fnSignal((p0) => p0.contentToUse, [
5591
5594
  state
5592
5595
  ], "p0.contentToUse"),
5596
+ contentWrapper: qwik._IMMUTABLE,
5593
5597
  context: qwik._fnSignal((p0) => {
5594
5598
  var _a2;
5595
5599
  return {
@@ -4348,7 +4348,7 @@ function isFromTrustedHost(trustedHosts, e) {
4348
4348
  const url = new URL(e.origin), hostname = url.hostname;
4349
4349
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4350
4350
  }
4351
- const SDK_VERSION = "0.14.1";
4351
+ const SDK_VERSION = "0.14.3";
4352
4352
  const registry = {};
4353
4353
  function register(type, info) {
4354
4354
  let typeList = registry[type];
@@ -5578,6 +5578,8 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
5578
5578
  get linkComponent() {
5579
5579
  return props.builderLinkComponent;
5580
5580
  },
5581
+ blocksWrapper: "div",
5582
+ contentWrapper: "div",
5581
5583
  [_IMMUTABLE]: {
5582
5584
  apiKey: _fnSignal((p0) => p0.builderContext.apiKey, [
5583
5585
  props
@@ -5585,9 +5587,11 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
5585
5587
  apiVersion: _fnSignal((p0) => p0.builderContext.apiVersion, [
5586
5588
  props
5587
5589
  ], "p0.builderContext.apiVersion"),
5590
+ blocksWrapper: _IMMUTABLE,
5588
5591
  content: _fnSignal((p0) => p0.contentToUse, [
5589
5592
  state
5590
5593
  ], "p0.contentToUse"),
5594
+ contentWrapper: _IMMUTABLE,
5591
5595
  context: _fnSignal((p0) => {
5592
5596
  var _a2;
5593
5597
  return {
@@ -7581,7 +7581,7 @@ function isFromTrustedHost(trustedHosts, e) {
7581
7581
  const url = new URL(e.origin), hostname = url.hostname;
7582
7582
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7583
7583
  }
7584
- const SDK_VERSION = "0.14.1";
7584
+ const SDK_VERSION = "0.14.3";
7585
7585
  const registry = {};
7586
7586
  function register(type, info) {
7587
7587
  let typeList = registry[type];
@@ -8811,6 +8811,8 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
8811
8811
  get linkComponent() {
8812
8812
  return props.builderLinkComponent;
8813
8813
  },
8814
+ blocksWrapper: "div",
8815
+ contentWrapper: "div",
8814
8816
  [qwik._IMMUTABLE]: {
8815
8817
  apiKey: qwik._fnSignal((p0) => p0.builderContext.apiKey, [
8816
8818
  props
@@ -8818,9 +8820,11 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
8818
8820
  apiVersion: qwik._fnSignal((p0) => p0.builderContext.apiVersion, [
8819
8821
  props
8820
8822
  ], "p0.builderContext.apiVersion"),
8823
+ blocksWrapper: qwik._IMMUTABLE,
8821
8824
  content: qwik._fnSignal((p0) => p0.contentToUse, [
8822
8825
  state
8823
8826
  ], "p0.contentToUse"),
8827
+ contentWrapper: qwik._IMMUTABLE,
8824
8828
  context: qwik._fnSignal((p0) => {
8825
8829
  var _a2;
8826
8830
  return {
@@ -7579,7 +7579,7 @@ function isFromTrustedHost(trustedHosts, e) {
7579
7579
  const url = new URL(e.origin), hostname = url.hostname;
7580
7580
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7581
7581
  }
7582
- const SDK_VERSION = "0.14.1";
7582
+ const SDK_VERSION = "0.14.3";
7583
7583
  const registry = {};
7584
7584
  function register(type, info) {
7585
7585
  let typeList = registry[type];
@@ -8809,6 +8809,8 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
8809
8809
  get linkComponent() {
8810
8810
  return props.builderLinkComponent;
8811
8811
  },
8812
+ blocksWrapper: "div",
8813
+ contentWrapper: "div",
8812
8814
  [_IMMUTABLE]: {
8813
8815
  apiKey: _fnSignal((p0) => p0.builderContext.apiKey, [
8814
8816
  props
@@ -8816,9 +8818,11 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
8816
8818
  apiVersion: _fnSignal((p0) => p0.builderContext.apiVersion, [
8817
8819
  props
8818
8820
  ], "p0.builderContext.apiVersion"),
8821
+ blocksWrapper: _IMMUTABLE,
8819
8822
  content: _fnSignal((p0) => p0.contentToUse, [
8820
8823
  state
8821
8824
  ], "p0.contentToUse"),
8825
+ contentWrapper: _IMMUTABLE,
8822
8826
  context: _fnSignal((p0) => {
8823
8827
  var _a2;
8824
8828
  return {
@@ -4452,7 +4452,7 @@ function isFromTrustedHost(trustedHosts, e) {
4452
4452
  const url = new URL(e.origin), hostname = url.hostname;
4453
4453
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4454
4454
  }
4455
- const SDK_VERSION = "0.14.1";
4455
+ const SDK_VERSION = "0.14.3";
4456
4456
  const registry = {};
4457
4457
  function register(type, info) {
4458
4458
  let typeList = registry[type];
@@ -5682,6 +5682,8 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
5682
5682
  get linkComponent() {
5683
5683
  return props.builderLinkComponent;
5684
5684
  },
5685
+ blocksWrapper: "div",
5686
+ contentWrapper: "div",
5685
5687
  [qwik._IMMUTABLE]: {
5686
5688
  apiKey: qwik._fnSignal((p0) => p0.builderContext.apiKey, [
5687
5689
  props
@@ -5689,9 +5691,11 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
5689
5691
  apiVersion: qwik._fnSignal((p0) => p0.builderContext.apiVersion, [
5690
5692
  props
5691
5693
  ], "p0.builderContext.apiVersion"),
5694
+ blocksWrapper: qwik._IMMUTABLE,
5692
5695
  content: qwik._fnSignal((p0) => p0.contentToUse, [
5693
5696
  state
5694
5697
  ], "p0.contentToUse"),
5698
+ contentWrapper: qwik._IMMUTABLE,
5695
5699
  context: qwik._fnSignal((p0) => {
5696
5700
  var _a2;
5697
5701
  return {
@@ -4450,7 +4450,7 @@ function isFromTrustedHost(trustedHosts, e) {
4450
4450
  const url = new URL(e.origin), hostname = url.hostname;
4451
4451
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4452
4452
  }
4453
- const SDK_VERSION = "0.14.1";
4453
+ const SDK_VERSION = "0.14.3";
4454
4454
  const registry = {};
4455
4455
  function register(type, info) {
4456
4456
  let typeList = registry[type];
@@ -5680,6 +5680,8 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
5680
5680
  get linkComponent() {
5681
5681
  return props.builderLinkComponent;
5682
5682
  },
5683
+ blocksWrapper: "div",
5684
+ contentWrapper: "div",
5683
5685
  [_IMMUTABLE]: {
5684
5686
  apiKey: _fnSignal((p0) => p0.builderContext.apiKey, [
5685
5687
  props
@@ -5687,9 +5689,11 @@ const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
5687
5689
  apiVersion: _fnSignal((p0) => p0.builderContext.apiVersion, [
5688
5690
  props
5689
5691
  ], "p0.builderContext.apiVersion"),
5692
+ blocksWrapper: _IMMUTABLE,
5690
5693
  content: _fnSignal((p0) => p0.contentToUse, [
5691
5694
  state
5692
5695
  ], "p0.contentToUse"),
5696
+ contentWrapper: _IMMUTABLE,
5693
5697
  context: _fnSignal((p0) => {
5694
5698
  var _a2;
5695
5699
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -78,17 +78,17 @@
78
78
  "require": "./lib/browser/index.qwik.cjs"
79
79
  }
80
80
  },
81
- "./edge": {
81
+ "./bundle/edge": {
82
82
  "types": "./types/src/index.d.ts",
83
83
  "import": "./lib/edge/index.qwik.mjs",
84
84
  "require": "./lib/edge/index.qwik.cjs"
85
85
  },
86
- "./node": {
86
+ "./bundle/node": {
87
87
  "types": "./types/src/index.d.ts",
88
88
  "import": "./lib/node/index.qwik.mjs",
89
89
  "require": "./lib/node/index.qwik.cjs"
90
90
  },
91
- "./browser": {
91
+ "./bundle/browser": {
92
92
  "types": "./types/src/index.d.ts",
93
93
  "import": "./lib/browser/index.qwik.mjs",
94
94
  "require": "./lib/browser/index.qwik.cjs"
@@ -0,0 +1 @@
1
+ export { default } from './button.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './columns.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './custom-code.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './embed.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './form.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './input.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './select.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './submit-button.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './fragment.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './image.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './img.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './raw-text.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './section.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './slot.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './symbol.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './text.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './textarea.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './video.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './blocks.jsx';
@@ -0,0 +1 @@
1
+ export { default } from './content-variants.jsx';
@@ -0,0 +1,5 @@
1
+ export interface ErrorBoundaryProps {
2
+ children: any;
3
+ }
4
+ export declare const ErrorBoundary: import("@builder.io/qwik").Component<ErrorBoundaryProps>;
5
+ export default ErrorBoundary;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.1";
1
+ export declare const SDK_VERSION = "0.14.3";
@@ -22,7 +22,7 @@ export interface GetContentOptions {
22
22
  * }
23
23
  * ```
24
24
  */
25
- userAttributes?: (Record<string, string> & {
25
+ userAttributes?: (Record<string, any> & {
26
26
  urlPath?: string;
27
27
  }) | null;
28
28
  /**
@@ -1,11 +1,10 @@
1
- export { default as Button } from '../blocks/button/button.jsx';
2
- export { default as Columns } from '../blocks/columns/columns.jsx';
3
- export { default as Fragment } from '../blocks/fragment/fragment.jsx';
4
- export { default as Image } from '../blocks/image/image.jsx';
5
- export { default as Section } from '../blocks/section/section.jsx';
6
- export { default as Symbol } from '../blocks/symbol/symbol.jsx';
7
- export { default as Text } from '../blocks/text/text.jsx';
8
- export { default as Video } from '../blocks/video/video.jsx';
9
- import { default as Blocks } from '../components/blocks/blocks.jsx';
10
- import { default as Content } from '../components/content-variants/content-variants.jsx';
11
- export { Blocks, Content };
1
+ export { default as Button } from '../blocks/button/index.js';
2
+ export { default as Columns } from '../blocks/columns/index.js';
3
+ export { default as Fragment } from '../blocks/fragment/index.js';
4
+ export { default as Image } from '../blocks/image/index.js';
5
+ export { default as Section } from '../blocks/section/index.js';
6
+ export { default as Symbol } from '../blocks/symbol/index.js';
7
+ export { default as Text } from '../blocks/text/index.js';
8
+ export { default as Video } from '../blocks/video/index.js';
9
+ export { default as Blocks } from '../components/blocks/index.js';
10
+ export { default as Content } from '../components/content-variants/index.js';