@builder.io/sdk-qwik 0.15.1 → 0.16.0

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.
@@ -771,56 +771,37 @@ const getRepeatItemData = ({ block, context }) => {
771
771
  }));
772
772
  return repeatArray;
773
773
  };
774
- const applyDefaults = (shouldReceiveBuilderProps) => {
775
- return {
776
- // once we bump to a major version, toggle this to `false`.
777
- builderBlock: true,
778
- // once we bump to a major version, toggle this to `false`.
779
- builderContext: true,
780
- builderComponents: false,
781
- builderLinkComponent: false,
782
- ...shouldReceiveBuilderProps
783
- };
784
- };
785
774
  const provideLinkComponent = (block, linkComponent) => {
786
- if (!block)
787
- return {};
788
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderLinkComponent;
789
- if (!shouldReceiveProp)
790
- return {};
791
- return {
792
- builderLinkComponent: linkComponent
793
- };
775
+ var _a;
776
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderLinkComponent)
777
+ return {
778
+ builderLinkComponent: linkComponent
779
+ };
780
+ return {};
794
781
  };
795
782
  const provideRegisteredComponents = (block, registeredComponents) => {
796
- if (!block)
797
- return {};
798
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderComponents;
799
- if (!shouldReceiveProp)
800
- return {};
801
- return {
802
- builderComponents: registeredComponents
803
- };
783
+ var _a;
784
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderComponents)
785
+ return {
786
+ builderComponents: registeredComponents
787
+ };
788
+ return {};
804
789
  };
805
790
  const provideBuilderBlock = (block, builderBlock) => {
806
- if (!block)
807
- return {};
808
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderBlock;
809
- if (!shouldReceiveProp)
810
- return {};
811
- return {
812
- builderBlock
813
- };
791
+ var _a;
792
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderBlock)
793
+ return {
794
+ builderBlock
795
+ };
796
+ return {};
814
797
  };
815
798
  const provideBuilderContext = (block, context) => {
816
- if (!block)
817
- return {};
818
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderContext;
819
- if (!shouldReceiveProp)
820
- return {};
821
- return {
822
- builderContext: context
823
- };
799
+ var _a;
800
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderContext)
801
+ return {
802
+ builderContext: context
803
+ };
804
+ return {};
824
805
  };
825
806
  const SIZES = {
826
807
  small: {
@@ -1708,8 +1689,9 @@ const getWidth = function getWidth2(props, state, index) {
1708
1689
  return ((_a = state.cols[index]) == null ? void 0 : _a.width) || 100 / state.cols.length;
1709
1690
  };
1710
1691
  const getColumnCssWidth = function getColumnCssWidth2(props, state, index) {
1711
- const subtractWidth = state.gutterSize * (state.cols.length - 1) / state.cols.length;
1712
- return `calc(${getWidth(props, state, index)}% - ${subtractWidth}px)`;
1692
+ const width = getWidth(props, state, index);
1693
+ const subtractWidth = state.gutterSize * (state.cols.length - 1) * (width / 100);
1694
+ return `calc(${width}% - ${subtractWidth}px)`;
1713
1695
  };
1714
1696
  const getTabletStyle = function getTabletStyle2(props, state, { stackedStyle, desktopStyle }) {
1715
1697
  return state.stackAt === "tablet" ? stackedStyle : desktopStyle;
@@ -2656,9 +2638,6 @@ const componentInfo$h = {
2656
2638
  static: true,
2657
2639
  noWrap: true,
2658
2640
  shouldReceiveBuilderProps: {
2659
- builderBlock: false,
2660
- builderContext: false,
2661
- builderComponents: false,
2662
2641
  builderLinkComponent: true
2663
2642
  }
2664
2643
  };
@@ -2911,12 +2890,6 @@ const componentInfo$g = {
2911
2890
  }
2912
2891
  };
2913
2892
  const componentInfo$f = {
2914
- shouldReceiveBuilderProps: {
2915
- builderBlock: false,
2916
- builderContext: false,
2917
- builderComponents: false,
2918
- builderLinkComponent: false
2919
- },
2920
2893
  name: "Fragment",
2921
2894
  static: true,
2922
2895
  hidden: true,
@@ -3078,19 +3051,10 @@ const componentInfo$e = {
3078
3051
  }
3079
3052
  ],
3080
3053
  shouldReceiveBuilderProps: {
3081
- builderBlock: true,
3082
- builderContext: false,
3083
- builderComponents: false,
3084
- builderLinkComponent: false
3054
+ builderBlock: true
3085
3055
  }
3086
3056
  };
3087
3057
  const componentInfo$d = {
3088
- shouldReceiveBuilderProps: {
3089
- builderBlock: false,
3090
- builderContext: false,
3091
- builderComponents: false,
3092
- builderLinkComponent: false
3093
- },
3094
3058
  name: "Core:Section",
3095
3059
  static: true,
3096
3060
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3151,10 +3115,7 @@ const componentInfo$c = {
3151
3115
  }
3152
3116
  ],
3153
3117
  shouldReceiveBuilderProps: {
3154
- builderBlock: false,
3155
- builderContext: true,
3156
- builderComponents: false,
3157
- builderLinkComponent: false
3118
+ builderContext: true
3158
3119
  }
3159
3120
  };
3160
3121
  const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
@@ -3528,10 +3489,7 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
3528
3489
  }, "Tabs_component_MhWcxXy0lMY"));
3529
3490
  const componentInfo$9 = {
3530
3491
  shouldReceiveBuilderProps: {
3531
- builderBlock: false,
3532
- builderContext: false,
3533
- builderComponents: false,
3534
- builderLinkComponent: false
3492
+ builderBlock: false
3535
3493
  },
3536
3494
  name: "Text",
3537
3495
  static: true,
@@ -3568,12 +3526,6 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
3568
3526
  }, null, 3, "yO_0");
3569
3527
  }, "Text_component_15p0cKUxgIE"));
3570
3528
  const componentInfo$8 = {
3571
- shouldReceiveBuilderProps: {
3572
- builderBlock: false,
3573
- builderContext: false,
3574
- builderComponents: false,
3575
- builderLinkComponent: false
3576
- },
3577
3529
  name: "Custom Code",
3578
3530
  static: true,
3579
3531
  requiredPermissions: [
@@ -3653,12 +3605,6 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
3653
3605
  }, null, 3, "bY_0");
3654
3606
  }, "CustomCode_component_uYOSy7w7Zqw"));
3655
3607
  const componentInfo$7 = {
3656
- shouldReceiveBuilderProps: {
3657
- builderBlock: false,
3658
- builderContext: false,
3659
- builderComponents: false,
3660
- builderLinkComponent: false
3661
- },
3662
3608
  name: "Embed",
3663
3609
  static: true,
3664
3610
  inputs: [
@@ -3667,25 +3613,7 @@ const componentInfo$7 = {
3667
3613
  type: "url",
3668
3614
  required: true,
3669
3615
  defaultValue: "",
3670
- helperText: "e.g. enter a youtube url, google map, etc",
3671
- onChange: (options) => {
3672
- const url = options.get("url");
3673
- if (url) {
3674
- options.set("content", "Loading...");
3675
- const apiKey = _iframelyApiKey;
3676
- return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
3677
- if (options.get("url") === url) {
3678
- if (data.html)
3679
- options.set("content", data.html);
3680
- else
3681
- options.set("content", "Invalid url, please try another");
3682
- }
3683
- }).catch((_err) => {
3684
- options.set("content", "There was an error embedding this URL, please try again or another URL");
3685
- });
3686
- } else
3687
- options.delete("content");
3688
- }
3616
+ helperText: "e.g. enter a youtube url, google map, etc"
3689
3617
  },
3690
3618
  {
3691
3619
  name: "content",
@@ -4339,12 +4267,6 @@ const STYLES = `
4339
4267
  }
4340
4268
  `;
4341
4269
  const componentInfo$5 = {
4342
- shouldReceiveBuilderProps: {
4343
- builderBlock: false,
4344
- builderContext: false,
4345
- builderComponents: false,
4346
- builderLinkComponent: false
4347
- },
4348
4270
  name: "Form:Input",
4349
4271
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
4350
4272
  inputs: [
@@ -4428,12 +4350,6 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
4428
4350
  });
4429
4351
  }, "FormInputComponent_component_AUUjdN0ueMs"));
4430
4352
  const componentInfo$4 = {
4431
- shouldReceiveBuilderProps: {
4432
- builderBlock: false,
4433
- builderContext: false,
4434
- builderComponents: false,
4435
- builderLinkComponent: false
4436
- },
4437
4353
  name: "Form:Select",
4438
4354
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4439
4355
  defaultStyles: {
@@ -4503,12 +4419,6 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
4503
4419
  }));
4504
4420
  }, "SelectComponent_component_SPKbsFLikZU"));
4505
4421
  const componentInfo$3 = {
4506
- shouldReceiveBuilderProps: {
4507
- builderBlock: false,
4508
- builderContext: false,
4509
- builderComponents: false,
4510
- builderLinkComponent: false
4511
- },
4512
4422
  name: "Form:SubmitButton",
4513
4423
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4514
4424
  defaultStyles: {
@@ -4543,12 +4453,6 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
4543
4453
  }, 0, "6z_0");
4544
4454
  }, "SubmitButton_component_NXvMBMCDhwc"));
4545
4455
  const componentInfo$2 = {
4546
- shouldReceiveBuilderProps: {
4547
- builderBlock: false,
4548
- builderContext: false,
4549
- builderComponents: false,
4550
- builderLinkComponent: false
4551
- },
4552
4456
  name: "Form:TextArea",
4553
4457
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4554
4458
  inputs: [
@@ -4613,12 +4517,6 @@ const Textarea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
4613
4517
  }, 0, "kE_0");
4614
4518
  }, "Textarea_component_o1TcxV139Oc"));
4615
4519
  const componentInfo$1 = {
4616
- shouldReceiveBuilderProps: {
4617
- builderBlock: false,
4618
- builderContext: false,
4619
- builderComponents: false,
4620
- builderLinkComponent: false
4621
- },
4622
4520
  // friendlyName?
4623
4521
  name: "Raw:Img",
4624
4522
  hideFromInsertMenu: true,
@@ -4782,10 +4680,7 @@ const componentInfo = {
4782
4680
  }
4783
4681
  ],
4784
4682
  shouldReceiveBuilderProps: {
4785
- builderBlock: true,
4786
- builderContext: false,
4787
- builderComponents: false,
4788
- builderLinkComponent: false
4683
+ builderBlock: true
4789
4684
  }
4790
4685
  };
4791
4686
  const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
@@ -5433,7 +5328,7 @@ function isFromTrustedHost(trustedHosts, e) {
5433
5328
  const url = new URL(e.origin), hostname = url.hostname;
5434
5329
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5435
5330
  }
5436
- const SDK_VERSION = "0.15.1";
5331
+ const SDK_VERSION = "0.16.0";
5437
5332
  const registry = {};
5438
5333
  function register(type, info) {
5439
5334
  let typeList = registry[type];
@@ -769,56 +769,37 @@ const getRepeatItemData = ({ block, context }) => {
769
769
  }));
770
770
  return repeatArray;
771
771
  };
772
- const applyDefaults = (shouldReceiveBuilderProps) => {
773
- return {
774
- // once we bump to a major version, toggle this to `false`.
775
- builderBlock: true,
776
- // once we bump to a major version, toggle this to `false`.
777
- builderContext: true,
778
- builderComponents: false,
779
- builderLinkComponent: false,
780
- ...shouldReceiveBuilderProps
781
- };
782
- };
783
772
  const provideLinkComponent = (block, linkComponent) => {
784
- if (!block)
785
- return {};
786
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderLinkComponent;
787
- if (!shouldReceiveProp)
788
- return {};
789
- return {
790
- builderLinkComponent: linkComponent
791
- };
773
+ var _a;
774
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderLinkComponent)
775
+ return {
776
+ builderLinkComponent: linkComponent
777
+ };
778
+ return {};
792
779
  };
793
780
  const provideRegisteredComponents = (block, registeredComponents) => {
794
- if (!block)
795
- return {};
796
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderComponents;
797
- if (!shouldReceiveProp)
798
- return {};
799
- return {
800
- builderComponents: registeredComponents
801
- };
781
+ var _a;
782
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderComponents)
783
+ return {
784
+ builderComponents: registeredComponents
785
+ };
786
+ return {};
802
787
  };
803
788
  const provideBuilderBlock = (block, builderBlock) => {
804
- if (!block)
805
- return {};
806
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderBlock;
807
- if (!shouldReceiveProp)
808
- return {};
809
- return {
810
- builderBlock
811
- };
789
+ var _a;
790
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderBlock)
791
+ return {
792
+ builderBlock
793
+ };
794
+ return {};
812
795
  };
813
796
  const provideBuilderContext = (block, context) => {
814
- if (!block)
815
- return {};
816
- const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderContext;
817
- if (!shouldReceiveProp)
818
- return {};
819
- return {
820
- builderContext: context
821
- };
797
+ var _a;
798
+ if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderContext)
799
+ return {
800
+ builderContext: context
801
+ };
802
+ return {};
822
803
  };
823
804
  const SIZES = {
824
805
  small: {
@@ -1706,8 +1687,9 @@ const getWidth = function getWidth2(props, state, index) {
1706
1687
  return ((_a = state.cols[index]) == null ? void 0 : _a.width) || 100 / state.cols.length;
1707
1688
  };
1708
1689
  const getColumnCssWidth = function getColumnCssWidth2(props, state, index) {
1709
- const subtractWidth = state.gutterSize * (state.cols.length - 1) / state.cols.length;
1710
- return `calc(${getWidth(props, state, index)}% - ${subtractWidth}px)`;
1690
+ const width = getWidth(props, state, index);
1691
+ const subtractWidth = state.gutterSize * (state.cols.length - 1) * (width / 100);
1692
+ return `calc(${width}% - ${subtractWidth}px)`;
1711
1693
  };
1712
1694
  const getTabletStyle = function getTabletStyle2(props, state, { stackedStyle, desktopStyle }) {
1713
1695
  return state.stackAt === "tablet" ? stackedStyle : desktopStyle;
@@ -2654,9 +2636,6 @@ const componentInfo$h = {
2654
2636
  static: true,
2655
2637
  noWrap: true,
2656
2638
  shouldReceiveBuilderProps: {
2657
- builderBlock: false,
2658
- builderContext: false,
2659
- builderComponents: false,
2660
2639
  builderLinkComponent: true
2661
2640
  }
2662
2641
  };
@@ -2909,12 +2888,6 @@ const componentInfo$g = {
2909
2888
  }
2910
2889
  };
2911
2890
  const componentInfo$f = {
2912
- shouldReceiveBuilderProps: {
2913
- builderBlock: false,
2914
- builderContext: false,
2915
- builderComponents: false,
2916
- builderLinkComponent: false
2917
- },
2918
2891
  name: "Fragment",
2919
2892
  static: true,
2920
2893
  hidden: true,
@@ -3076,19 +3049,10 @@ const componentInfo$e = {
3076
3049
  }
3077
3050
  ],
3078
3051
  shouldReceiveBuilderProps: {
3079
- builderBlock: true,
3080
- builderContext: false,
3081
- builderComponents: false,
3082
- builderLinkComponent: false
3052
+ builderBlock: true
3083
3053
  }
3084
3054
  };
3085
3055
  const componentInfo$d = {
3086
- shouldReceiveBuilderProps: {
3087
- builderBlock: false,
3088
- builderContext: false,
3089
- builderComponents: false,
3090
- builderLinkComponent: false
3091
- },
3092
3056
  name: "Core:Section",
3093
3057
  static: true,
3094
3058
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3149,10 +3113,7 @@ const componentInfo$c = {
3149
3113
  }
3150
3114
  ],
3151
3115
  shouldReceiveBuilderProps: {
3152
- builderBlock: false,
3153
- builderContext: true,
3154
- builderComponents: false,
3155
- builderLinkComponent: false
3116
+ builderContext: true
3156
3117
  }
3157
3118
  };
3158
3119
  const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -3526,10 +3487,7 @@ const Tabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
3526
3487
  }, "Tabs_component_MhWcxXy0lMY"));
3527
3488
  const componentInfo$9 = {
3528
3489
  shouldReceiveBuilderProps: {
3529
- builderBlock: false,
3530
- builderContext: false,
3531
- builderComponents: false,
3532
- builderLinkComponent: false
3490
+ builderBlock: false
3533
3491
  },
3534
3492
  name: "Text",
3535
3493
  static: true,
@@ -3566,12 +3524,6 @@ const Text = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
3566
3524
  }, null, 3, "yO_0");
3567
3525
  }, "Text_component_15p0cKUxgIE"));
3568
3526
  const componentInfo$8 = {
3569
- shouldReceiveBuilderProps: {
3570
- builderBlock: false,
3571
- builderContext: false,
3572
- builderComponents: false,
3573
- builderLinkComponent: false
3574
- },
3575
3527
  name: "Custom Code",
3576
3528
  static: true,
3577
3529
  requiredPermissions: [
@@ -3651,12 +3603,6 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
3651
3603
  }, null, 3, "bY_0");
3652
3604
  }, "CustomCode_component_uYOSy7w7Zqw"));
3653
3605
  const componentInfo$7 = {
3654
- shouldReceiveBuilderProps: {
3655
- builderBlock: false,
3656
- builderContext: false,
3657
- builderComponents: false,
3658
- builderLinkComponent: false
3659
- },
3660
3606
  name: "Embed",
3661
3607
  static: true,
3662
3608
  inputs: [
@@ -3665,25 +3611,7 @@ const componentInfo$7 = {
3665
3611
  type: "url",
3666
3612
  required: true,
3667
3613
  defaultValue: "",
3668
- helperText: "e.g. enter a youtube url, google map, etc",
3669
- onChange: (options) => {
3670
- const url = options.get("url");
3671
- if (url) {
3672
- options.set("content", "Loading...");
3673
- const apiKey = _iframelyApiKey;
3674
- return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
3675
- if (options.get("url") === url) {
3676
- if (data.html)
3677
- options.set("content", data.html);
3678
- else
3679
- options.set("content", "Invalid url, please try another");
3680
- }
3681
- }).catch((_err) => {
3682
- options.set("content", "There was an error embedding this URL, please try again or another URL");
3683
- });
3684
- } else
3685
- options.delete("content");
3686
- }
3614
+ helperText: "e.g. enter a youtube url, google map, etc"
3687
3615
  },
3688
3616
  {
3689
3617
  name: "content",
@@ -4337,12 +4265,6 @@ const STYLES = `
4337
4265
  }
4338
4266
  `;
4339
4267
  const componentInfo$5 = {
4340
- shouldReceiveBuilderProps: {
4341
- builderBlock: false,
4342
- builderContext: false,
4343
- builderComponents: false,
4344
- builderLinkComponent: false
4345
- },
4346
4268
  name: "Form:Input",
4347
4269
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
4348
4270
  inputs: [
@@ -4426,12 +4348,6 @@ const FormInputComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
4426
4348
  });
4427
4349
  }, "FormInputComponent_component_AUUjdN0ueMs"));
4428
4350
  const componentInfo$4 = {
4429
- shouldReceiveBuilderProps: {
4430
- builderBlock: false,
4431
- builderContext: false,
4432
- builderComponents: false,
4433
- builderLinkComponent: false
4434
- },
4435
4351
  name: "Form:Select",
4436
4352
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4437
4353
  defaultStyles: {
@@ -4501,12 +4417,6 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
4501
4417
  }));
4502
4418
  }, "SelectComponent_component_SPKbsFLikZU"));
4503
4419
  const componentInfo$3 = {
4504
- shouldReceiveBuilderProps: {
4505
- builderBlock: false,
4506
- builderContext: false,
4507
- builderComponents: false,
4508
- builderLinkComponent: false
4509
- },
4510
4420
  name: "Form:SubmitButton",
4511
4421
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4512
4422
  defaultStyles: {
@@ -4541,12 +4451,6 @@ const SubmitButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4541
4451
  }, 0, "6z_0");
4542
4452
  }, "SubmitButton_component_NXvMBMCDhwc"));
4543
4453
  const componentInfo$2 = {
4544
- shouldReceiveBuilderProps: {
4545
- builderBlock: false,
4546
- builderContext: false,
4547
- builderComponents: false,
4548
- builderLinkComponent: false
4549
- },
4550
4454
  name: "Form:TextArea",
4551
4455
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4552
4456
  inputs: [
@@ -4611,12 +4515,6 @@ const Textarea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
4611
4515
  }, 0, "kE_0");
4612
4516
  }, "Textarea_component_o1TcxV139Oc"));
4613
4517
  const componentInfo$1 = {
4614
- shouldReceiveBuilderProps: {
4615
- builderBlock: false,
4616
- builderContext: false,
4617
- builderComponents: false,
4618
- builderLinkComponent: false
4619
- },
4620
4518
  // friendlyName?
4621
4519
  name: "Raw:Img",
4622
4520
  hideFromInsertMenu: true,
@@ -4780,10 +4678,7 @@ const componentInfo = {
4780
4678
  }
4781
4679
  ],
4782
4680
  shouldReceiveBuilderProps: {
4783
- builderBlock: true,
4784
- builderContext: false,
4785
- builderComponents: false,
4786
- builderLinkComponent: false
4681
+ builderBlock: true
4787
4682
  }
4788
4683
  };
4789
4684
  const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -5431,7 +5326,7 @@ function isFromTrustedHost(trustedHosts, e) {
5431
5326
  const url = new URL(e.origin), hostname = url.hostname;
5432
5327
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
5433
5328
  }
5434
- const SDK_VERSION = "0.15.1";
5329
+ const SDK_VERSION = "0.16.0";
5435
5330
  const registry = {};
5436
5331
  function register(type, info) {
5437
5332
  let typeList = registry[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,22 +15,22 @@ export declare const getInheritedStyles: ({ block, context }: {
15
15
  context: BuilderContextInterface;
16
16
  }) => Partial<CSSStyleDeclaration>;
17
17
  export declare const provideLinkComponent: (block: RegisteredComponent | null | undefined, linkComponent: any) => {
18
- builderLinkComponent?: undefined;
19
- } | {
20
18
  builderLinkComponent: any;
19
+ } | {
20
+ builderLinkComponent?: undefined;
21
21
  };
22
22
  export declare const provideRegisteredComponents: (block: RegisteredComponent | null | undefined, registeredComponents: RegisteredComponents) => {
23
- builderComponents?: undefined;
24
- } | {
25
23
  builderComponents: RegisteredComponents;
24
+ } | {
25
+ builderComponents?: undefined;
26
26
  };
27
27
  export declare const provideBuilderBlock: (block: RegisteredComponent | null | undefined, builderBlock: BuilderBlock) => {
28
- builderBlock?: undefined;
29
- } | {
30
28
  builderBlock: BuilderBlock;
29
+ } | {
30
+ builderBlock?: undefined;
31
31
  };
32
32
  export declare const provideBuilderContext: (block: RegisteredComponent | null | undefined, context: BuilderContextInterface) => {
33
- builderContext?: undefined;
34
- } | {
35
33
  builderContext: BuilderContextInterface;
34
+ } | {
35
+ builderContext?: undefined;
36
36
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.15.1";
1
+ export declare const SDK_VERSION = "0.16.0";