@builder.io/sdk-qwik 0.16.4 → 0.16.5

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.
@@ -1133,7 +1133,7 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
1133
1133
  registeredComponents: props2.registeredComponents,
1134
1134
  builderBlock: processedBlock2.value,
1135
1135
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
1136
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
1136
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
1137
1137
  };
1138
1138
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
1139
1139
  blockComponent,
@@ -5219,7 +5219,7 @@ function isFromTrustedHost(trustedHosts, e) {
5219
5219
  const url = new URL(e.origin), hostname = url.hostname;
5220
5220
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5221
5221
  }
5222
- const SDK_VERSION = "0.16.4";
5222
+ const SDK_VERSION = "0.16.5";
5223
5223
  const registry = {};
5224
5224
  function register(type, info) {
5225
5225
  let typeList = registry[type];
@@ -1131,7 +1131,7 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
1131
1131
  registeredComponents: props2.registeredComponents,
1132
1132
  builderBlock: processedBlock2.value,
1133
1133
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
1134
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
1134
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
1135
1135
  };
1136
1136
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
1137
1137
  blockComponent,
@@ -5217,7 +5217,7 @@ function isFromTrustedHost(trustedHosts, e) {
5217
5217
  const url = new URL(e.origin), hostname = url.hostname;
5218
5218
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5219
5219
  }
5220
- const SDK_VERSION = "0.16.4";
5220
+ const SDK_VERSION = "0.16.5";
5221
5221
  const registry = {};
5222
5222
  function register(type, info) {
5223
5223
  let typeList = registry[type];
@@ -4357,7 +4357,7 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
4357
4357
  registeredComponents: props2.registeredComponents,
4358
4358
  builderBlock: processedBlock2.value,
4359
4359
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
4360
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
4360
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
4361
4361
  };
4362
4362
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
4363
4363
  blockComponent,
@@ -8443,7 +8443,7 @@ function isFromTrustedHost(trustedHosts, e) {
8443
8443
  const url = new URL(e.origin), hostname = url.hostname;
8444
8444
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
8445
8445
  }
8446
- const SDK_VERSION = "0.16.4";
8446
+ const SDK_VERSION = "0.16.5";
8447
8447
  const registry = {};
8448
8448
  function register(type, info) {
8449
8449
  let typeList = registry[type];
@@ -4355,7 +4355,7 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
4355
4355
  registeredComponents: props2.registeredComponents,
4356
4356
  builderBlock: processedBlock2.value,
4357
4357
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
4358
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
4358
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
4359
4359
  };
4360
4360
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
4361
4361
  blockComponent,
@@ -8441,7 +8441,7 @@ function isFromTrustedHost(trustedHosts, e) {
8441
8441
  const url = new URL(e.origin), hostname = url.hostname;
8442
8442
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
8443
8443
  }
8444
- const SDK_VERSION = "0.16.4";
8444
+ const SDK_VERSION = "0.16.5";
8445
8445
  const registry = {};
8446
8446
  function register(type, info) {
8447
8447
  let typeList = registry[type];
@@ -1278,7 +1278,7 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
1278
1278
  registeredComponents: props2.registeredComponents,
1279
1279
  builderBlock: processedBlock2.value,
1280
1280
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
1281
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
1281
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
1282
1282
  };
1283
1283
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
1284
1284
  blockComponent,
@@ -5364,7 +5364,7 @@ function isFromTrustedHost(trustedHosts, e) {
5364
5364
  const url = new URL(e.origin), hostname = url.hostname;
5365
5365
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5366
5366
  }
5367
- const SDK_VERSION = "0.16.4";
5367
+ const SDK_VERSION = "0.16.5";
5368
5368
  const registry = {};
5369
5369
  function register(type, info) {
5370
5370
  let typeList = registry[type];
@@ -1276,7 +1276,7 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
1276
1276
  registeredComponents: props2.registeredComponents,
1277
1277
  builderBlock: processedBlock2.value,
1278
1278
  includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
1279
- isInteractive: !((_c = blockComponent2.value) == null ? void 0 : _c.isRSC)
1279
+ isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
1280
1280
  };
1281
1281
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
1282
1282
  blockComponent,
@@ -5362,7 +5362,7 @@ function isFromTrustedHost(trustedHosts, e) {
5362
5362
  const url = new URL(e.origin), hostname = url.hostname;
5363
5363
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5364
5364
  }
5365
- const SDK_VERSION = "0.16.4";
5365
+ const SDK_VERSION = "0.16.5";
5366
5366
  const registry = {};
5367
5367
  function register(type, info) {
5368
5368
  let typeList = registry[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.16.4",
3
+ "version": "0.16.5",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2,7 +2,8 @@ import type { BuilderRenderContext, RegisteredComponent } from '../../context/ty
2
2
  import type { ApiVersion } from '../../types/api-version';
3
3
  import type { BuilderContent } from '../../types/builder-content';
4
4
  import type { Nullable } from '../../types/typescript';
5
- export interface ContentVariantsPrps {
5
+ import type { ExtraFrameworkProps } from './extra-framework-props-types';
6
+ export interface ContentVariantsPrps extends ExtraFrameworkProps {
6
7
  /**
7
8
  * The Builder content JSON to render (required).
8
9
  */
@@ -0,0 +1,2 @@
1
+ export interface ExtraFrameworkProps {
2
+ }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.16.4";
1
+ export declare const SDK_VERSION = "0.16.5";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * no-op type for extra context types on a per-SDK basis
3
+ * See `overrides/react-native/src/context/extra-context-types.ts` for an example
4
+ * */
5
+ export interface ExtraContextTypes {
6
+ }
@@ -3,13 +3,14 @@ import type { ApiVersion } from '../types/api-version';
3
3
  import type { BuilderContent } from '../types/builder-content';
4
4
  import type { ComponentInfo } from '../types/components';
5
5
  import type { Dictionary, Nullable } from '../types/typescript';
6
+ import type { ExtraContextTypes } from './extra-context-types';
6
7
  export type RegisteredComponent = ComponentInfo & {
7
8
  component: any;
8
9
  };
9
10
  export type RegisteredComponents = Dictionary<RegisteredComponent>;
10
11
  export type BuilderRenderState = Record<string, unknown>;
11
12
  export type BuilderRenderContext = Record<string, unknown>;
12
- export interface BuilderContextInterface extends Pick<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'> {
13
+ export interface BuilderContextInterface extends Pick<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'>, ExtraContextTypes {
13
14
  content: Nullable<BuilderContent>;
14
15
  context: BuilderRenderContext;
15
16
  /**