@builder.io/sdk-qwik 0.8.0 → 0.9.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.
@@ -3733,7 +3733,7 @@ function getBlockActions(options) {
3733
3733
  }
3734
3734
  return obj;
3735
3735
  }
3736
- function transformBlockProperties(properties) {
3736
+ function transformBlockProperties({ properties }) {
3737
3737
  return properties;
3738
3738
  }
3739
3739
  const extractRelevantRootBlockProperties = (block) => {
@@ -3755,7 +3755,11 @@ function getBlockProperties({ block, context }) {
3755
3755
  (_a = block.properties) == null ? void 0 : _a.class
3756
3756
  ].filter(Boolean).join(" ")
3757
3757
  };
3758
- return transformBlockProperties(properties);
3758
+ return transformBlockProperties({
3759
+ properties,
3760
+ context,
3761
+ block
3762
+ });
3759
3763
  }
3760
3764
  function getStyleAttribute(style) {
3761
3765
  switch (TARGET) {
@@ -4264,45 +4268,60 @@ const BlocksWrapper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
4264
4268
  props
4265
4269
  ]));
4266
4270
  const state = {};
4267
- return /* @__PURE__ */ qwik._jsxQ("div", {
4271
+ return /* @__PURE__ */ qwik._jsxC(props.BlocksWrapper, {
4272
+ get class() {
4273
+ return className.value + " props-blocks-wrapper-BlocksWrapper";
4274
+ },
4275
+ get "builder-path"() {
4276
+ return props.path;
4277
+ },
4278
+ get "builder-parent-id"() {
4279
+ return props.parent;
4280
+ },
4281
+ get style() {
4282
+ return props.styleProp;
4283
+ },
4268
4284
  onClick$: /* @__PURE__ */ qwik.inlinedQrl((event) => {
4269
4285
  const [props2, state2] = qwik.useLexicalScope();
4270
4286
  return onClick$1(props2);
4271
- }, "BlocksWrapper_component_div_onClick_1NkidSBS3D0", [
4287
+ }, "BlocksWrapper_component_onClick_ufezvOupQrM", [
4272
4288
  props,
4273
4289
  state
4274
4290
  ]),
4275
4291
  onKeyPress$: /* @__PURE__ */ qwik.inlinedQrl((event) => {
4276
4292
  const [props2, state2] = qwik.useLexicalScope();
4277
4293
  return onClick$1(props2);
4278
- }, "BlocksWrapper_component_div_onKeyPress_Aaf0oNYOi80", [
4294
+ }, "BlocksWrapper_component_onKeyPress_9bz8vCQc3kg", [
4279
4295
  props,
4280
4296
  state
4281
4297
  ]),
4282
4298
  onMouseEnter$: /* @__PURE__ */ qwik.inlinedQrl((event) => {
4283
4299
  const [props2, state2] = qwik.useLexicalScope();
4284
4300
  return onMouseEnter(props2);
4285
- }, "BlocksWrapper_component_div_onMouseEnter_TxzAP5tI9Zc", [
4301
+ }, "BlocksWrapper_component_onMouseEnter_j4FJjnLtraQ", [
4286
4302
  props,
4287
4303
  state
4288
- ])
4289
- }, {
4290
- "builder-parent-id": qwik._fnSignal((p0) => p0.parent, [
4291
- props
4292
- ], "p0.parent"),
4293
- "builder-path": qwik._fnSignal((p0) => p0.path, [
4294
- props
4295
- ], "p0.path"),
4296
- class: qwik._fnSignal((p0) => p0.value + " div-BlocksWrapper", [
4297
- className
4298
- ], 'p0.value+" div-BlocksWrapper"'),
4299
- style: qwik._fnSignal((p0) => p0.styleProp, [
4300
- props
4301
- ], "p0.styleProp")
4302
- }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "3u_0"), 0, "3u_1");
4304
+ ]),
4305
+ ...props.BlocksWrapperProps,
4306
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "3u_0"),
4307
+ [qwik._IMMUTABLE]: {
4308
+ "builder-parent-id": qwik._fnSignal((p0) => p0.parent, [
4309
+ props
4310
+ ], "p0.parent"),
4311
+ "builder-path": qwik._fnSignal((p0) => p0.path, [
4312
+ props
4313
+ ], "p0.path"),
4314
+ class: qwik._fnSignal((p0) => p0.value + " props-blocks-wrapper-BlocksWrapper", [
4315
+ className
4316
+ ], 'p0.value+" props-blocks-wrapper-BlocksWrapper"'),
4317
+ style: qwik._fnSignal((p0) => p0.styleProp, [
4318
+ props
4319
+ ], "p0.styleProp")
4320
+ }
4321
+ }, 0, "3u_1");
4303
4322
  }, "BlocksWrapper_component_45hR0o6abzg"));
4304
4323
  const STYLES$2 = `
4305
- .div-BlocksWrapper {
4324
+ .props-blocks-wrapper-BlocksWrapper {
4306
4325
  display: flex;
4307
4326
  flex-direction: column;
4308
4327
  align-items: stretch;
@@ -4324,6 +4343,14 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
4324
4343
  get styleProp() {
4325
4344
  return props.styleProp;
4326
4345
  },
4346
+ get BlocksWrapper() {
4347
+ var _a;
4348
+ return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
4349
+ },
4350
+ get BlocksWrapperProps() {
4351
+ var _a;
4352
+ return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
4353
+ },
4327
4354
  children: [
4328
4355
  props.blocks ? (props.blocks || []).map((block) => {
4329
4356
  return /* @__PURE__ */ qwik._jsxC(Block, {
@@ -4362,6 +4389,18 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
4362
4389
  }) : null
4363
4390
  ],
4364
4391
  [qwik._IMMUTABLE]: {
4392
+ BlocksWrapper: qwik._fnSignal((p0) => {
4393
+ var _a;
4394
+ return (_a = p0.context) == null ? void 0 : _a.BlocksWrapper;
4395
+ }, [
4396
+ props
4397
+ ], "p0.context?.BlocksWrapper"),
4398
+ BlocksWrapperProps: qwik._fnSignal((p0) => {
4399
+ var _a;
4400
+ return (_a = p0.context) == null ? void 0 : _a.BlocksWrapperProps;
4401
+ }, [
4402
+ props
4403
+ ], "p0.context?.BlocksWrapperProps"),
4365
4404
  blocks: qwik._fnSignal((p0) => p0.blocks, [
4366
4405
  props
4367
4406
  ], "p0.blocks"),
@@ -6398,7 +6437,7 @@ const getInteractionPropertiesForEvent = (event) => {
6398
6437
  }
6399
6438
  };
6400
6439
  };
6401
- const SDK_VERSION = "0.8.0";
6440
+ const SDK_VERSION = "0.9.0";
6402
6441
  const registry = {};
6403
6442
  function register(type, info) {
6404
6443
  let typeList = registry[type];
@@ -6660,6 +6699,7 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
6660
6699
  qwik._jsxBranch();
6661
6700
  const elementRef = qwik.useSignal();
6662
6701
  const state = qwik.useStore({
6702
+ ContentWrapper: props.contentWrapper || "div",
6663
6703
  clicked: false,
6664
6704
  forceReRenderCount: 0,
6665
6705
  httpReqsData: {},
@@ -6801,7 +6841,7 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
6801
6841
  state
6802
6842
  ]));
6803
6843
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
6804
- children: props.builderContextSignal.content ? /* @__PURE__ */ qwik.createElement("div", {
6844
+ children: props.builderContextSignal.content ? /* @__PURE__ */ qwik.createElement(state.ContentWrapper, {
6805
6845
  apiKey: props.apiKey,
6806
6846
  contentId: (_a = props.builderContextSignal.content) == null ? void 0 : _a.id,
6807
6847
  variationId: (_b = props.builderContextSignal.content) == null ? void 0 : _b.testVariationId,
@@ -6822,6 +6862,7 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
6822
6862
  hidden: true,
6823
6863
  "aria-hidden": true
6824
6864
  },
6865
+ ...props.contentWrapperProps,
6825
6866
  class: `variant-${((_d = props.content) == null ? void 0 : _d.testVariationId) || ((_e = props.content) == null ? void 0 : _e.id)}`
6826
6867
  }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "06_0")) : null
6827
6868
  }, 1, "06_1");
@@ -6965,7 +7006,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
6965
7006
  ...acc,
6966
7007
  [info.name]: serializeComponentInfo(info)
6967
7008
  }), {}),
6968
- inheritedStyles: {}
7009
+ inheritedStyles: {},
7010
+ BlocksWrapper: props.blocksWrapper || "div",
7011
+ BlocksWrapperProps: props.blocksWrapperProps || {}
6969
7012
  },
6970
7013
  registeredComponents: [
6971
7014
  ...getDefaultRegisteredComponents(),
@@ -7026,6 +7069,12 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
7026
7069
  get builderContextSignal() {
7027
7070
  return state.builderContextSignal;
7028
7071
  },
7072
+ get contentWrapper() {
7073
+ return props.contentWrapper;
7074
+ },
7075
+ get contentWrapperProps() {
7076
+ return props.contentWrapperProps;
7077
+ },
7029
7078
  children: [
7030
7079
  props.isSsrAbTest ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
7031
7080
  get scriptStr() {
@@ -7111,6 +7160,12 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
7111
7160
  content: qwik._fnSignal((p0) => p0.content, [
7112
7161
  props
7113
7162
  ], "p0.content"),
7163
+ contentWrapper: qwik._fnSignal((p0) => p0.contentWrapper, [
7164
+ props
7165
+ ], "p0.contentWrapper"),
7166
+ contentWrapperProps: qwik._fnSignal((p0) => p0.contentWrapperProps, [
7167
+ props
7168
+ ], "p0.contentWrapperProps"),
7114
7169
  context: qwik._fnSignal((p0) => p0.context, [
7115
7170
  props
7116
7171
  ], "p0.context"),
@@ -7249,6 +7304,18 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7249
7304
  get isSsrAbTest() {
7250
7305
  return state.shouldRenderVariants;
7251
7306
  },
7307
+ get blocksWrapper() {
7308
+ return props.blocksWrapper;
7309
+ },
7310
+ get blocksWrapperProps() {
7311
+ return props.blocksWrapperProps;
7312
+ },
7313
+ get contentWrapper() {
7314
+ return props.contentWrapper;
7315
+ },
7316
+ get contentWrapperProps() {
7317
+ return props.contentWrapperProps;
7318
+ },
7252
7319
  [qwik._IMMUTABLE]: {
7253
7320
  apiKey: qwik._fnSignal((p0) => p0.apiKey, [
7254
7321
  props
@@ -7256,9 +7323,21 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7256
7323
  apiVersion: qwik._fnSignal((p0) => p0.apiVersion, [
7257
7324
  props
7258
7325
  ], "p0.apiVersion"),
7326
+ blocksWrapper: qwik._fnSignal((p0) => p0.blocksWrapper, [
7327
+ props
7328
+ ], "p0.blocksWrapper"),
7329
+ blocksWrapperProps: qwik._fnSignal((p0) => p0.blocksWrapperProps, [
7330
+ props
7331
+ ], "p0.blocksWrapperProps"),
7259
7332
  canTrack: qwik._fnSignal((p0) => p0.canTrack, [
7260
7333
  props
7261
7334
  ], "p0.canTrack"),
7335
+ contentWrapper: qwik._fnSignal((p0) => p0.contentWrapper, [
7336
+ props
7337
+ ], "p0.contentWrapper"),
7338
+ contentWrapperProps: qwik._fnSignal((p0) => p0.contentWrapperProps, [
7339
+ props
7340
+ ], "p0.contentWrapperProps"),
7262
7341
  context: qwik._fnSignal((p0) => p0.context, [
7263
7342
  props
7264
7343
  ], "p0.context"),
@@ -7327,6 +7406,18 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7327
7406
  get isSsrAbTest() {
7328
7407
  return state.shouldRenderVariants;
7329
7408
  },
7409
+ get blocksWrapper() {
7410
+ return props.blocksWrapper;
7411
+ },
7412
+ get blocksWrapperProps() {
7413
+ return props.blocksWrapperProps;
7414
+ },
7415
+ get contentWrapper() {
7416
+ return props.contentWrapper;
7417
+ },
7418
+ get contentWrapperProps() {
7419
+ return props.contentWrapperProps;
7420
+ },
7330
7421
  [qwik._IMMUTABLE]: {
7331
7422
  apiKey: qwik._fnSignal((p0) => p0.apiKey, [
7332
7423
  props
@@ -7334,12 +7425,24 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7334
7425
  apiVersion: qwik._fnSignal((p0) => p0.apiVersion, [
7335
7426
  props
7336
7427
  ], "p0.apiVersion"),
7428
+ blocksWrapper: qwik._fnSignal((p0) => p0.blocksWrapper, [
7429
+ props
7430
+ ], "p0.blocksWrapper"),
7431
+ blocksWrapperProps: qwik._fnSignal((p0) => p0.blocksWrapperProps, [
7432
+ props
7433
+ ], "p0.blocksWrapperProps"),
7337
7434
  canTrack: qwik._fnSignal((p0) => p0.canTrack, [
7338
7435
  props
7339
7436
  ], "p0.canTrack"),
7340
7437
  content: qwik._fnSignal((p0) => p0.value, [
7341
7438
  defaultContent
7342
7439
  ], "p0.value"),
7440
+ contentWrapper: qwik._fnSignal((p0) => p0.contentWrapper, [
7441
+ props
7442
+ ], "p0.contentWrapper"),
7443
+ contentWrapperProps: qwik._fnSignal((p0) => p0.contentWrapperProps, [
7444
+ props
7445
+ ], "p0.contentWrapperProps"),
7343
7446
  context: qwik._fnSignal((p0) => p0.context, [
7344
7447
  props
7345
7448
  ], "p0.context"),
@@ -3731,7 +3731,7 @@ function getBlockActions(options) {
3731
3731
  }
3732
3732
  return obj;
3733
3733
  }
3734
- function transformBlockProperties(properties) {
3734
+ function transformBlockProperties({ properties }) {
3735
3735
  return properties;
3736
3736
  }
3737
3737
  const extractRelevantRootBlockProperties = (block) => {
@@ -3753,7 +3753,11 @@ function getBlockProperties({ block, context }) {
3753
3753
  (_a = block.properties) == null ? void 0 : _a.class
3754
3754
  ].filter(Boolean).join(" ")
3755
3755
  };
3756
- return transformBlockProperties(properties);
3756
+ return transformBlockProperties({
3757
+ properties,
3758
+ context,
3759
+ block
3760
+ });
3757
3761
  }
3758
3762
  function getStyleAttribute(style) {
3759
3763
  switch (TARGET) {
@@ -4262,45 +4266,60 @@ const BlocksWrapper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
4262
4266
  props
4263
4267
  ]));
4264
4268
  const state = {};
4265
- return /* @__PURE__ */ _jsxQ("div", {
4269
+ return /* @__PURE__ */ _jsxC(props.BlocksWrapper, {
4270
+ get class() {
4271
+ return className.value + " props-blocks-wrapper-BlocksWrapper";
4272
+ },
4273
+ get "builder-path"() {
4274
+ return props.path;
4275
+ },
4276
+ get "builder-parent-id"() {
4277
+ return props.parent;
4278
+ },
4279
+ get style() {
4280
+ return props.styleProp;
4281
+ },
4266
4282
  onClick$: /* @__PURE__ */ inlinedQrl((event) => {
4267
4283
  const [props2, state2] = useLexicalScope();
4268
4284
  return onClick$1(props2);
4269
- }, "BlocksWrapper_component_div_onClick_1NkidSBS3D0", [
4285
+ }, "BlocksWrapper_component_onClick_ufezvOupQrM", [
4270
4286
  props,
4271
4287
  state
4272
4288
  ]),
4273
4289
  onKeyPress$: /* @__PURE__ */ inlinedQrl((event) => {
4274
4290
  const [props2, state2] = useLexicalScope();
4275
4291
  return onClick$1(props2);
4276
- }, "BlocksWrapper_component_div_onKeyPress_Aaf0oNYOi80", [
4292
+ }, "BlocksWrapper_component_onKeyPress_9bz8vCQc3kg", [
4277
4293
  props,
4278
4294
  state
4279
4295
  ]),
4280
4296
  onMouseEnter$: /* @__PURE__ */ inlinedQrl((event) => {
4281
4297
  const [props2, state2] = useLexicalScope();
4282
4298
  return onMouseEnter(props2);
4283
- }, "BlocksWrapper_component_div_onMouseEnter_TxzAP5tI9Zc", [
4299
+ }, "BlocksWrapper_component_onMouseEnter_j4FJjnLtraQ", [
4284
4300
  props,
4285
4301
  state
4286
- ])
4287
- }, {
4288
- "builder-parent-id": _fnSignal((p0) => p0.parent, [
4289
- props
4290
- ], "p0.parent"),
4291
- "builder-path": _fnSignal((p0) => p0.path, [
4292
- props
4293
- ], "p0.path"),
4294
- class: _fnSignal((p0) => p0.value + " div-BlocksWrapper", [
4295
- className
4296
- ], 'p0.value+" div-BlocksWrapper"'),
4297
- style: _fnSignal((p0) => p0.styleProp, [
4298
- props
4299
- ], "p0.styleProp")
4300
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "3u_0"), 0, "3u_1");
4302
+ ]),
4303
+ ...props.BlocksWrapperProps,
4304
+ children: /* @__PURE__ */ _jsxC(Slot, null, 3, "3u_0"),
4305
+ [_IMMUTABLE]: {
4306
+ "builder-parent-id": _fnSignal((p0) => p0.parent, [
4307
+ props
4308
+ ], "p0.parent"),
4309
+ "builder-path": _fnSignal((p0) => p0.path, [
4310
+ props
4311
+ ], "p0.path"),
4312
+ class: _fnSignal((p0) => p0.value + " props-blocks-wrapper-BlocksWrapper", [
4313
+ className
4314
+ ], 'p0.value+" props-blocks-wrapper-BlocksWrapper"'),
4315
+ style: _fnSignal((p0) => p0.styleProp, [
4316
+ props
4317
+ ], "p0.styleProp")
4318
+ }
4319
+ }, 0, "3u_1");
4301
4320
  }, "BlocksWrapper_component_45hR0o6abzg"));
4302
4321
  const STYLES$2 = `
4303
- .div-BlocksWrapper {
4322
+ .props-blocks-wrapper-BlocksWrapper {
4304
4323
  display: flex;
4305
4324
  flex-direction: column;
4306
4325
  align-items: stretch;
@@ -4322,6 +4341,14 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
4322
4341
  get styleProp() {
4323
4342
  return props.styleProp;
4324
4343
  },
4344
+ get BlocksWrapper() {
4345
+ var _a;
4346
+ return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
4347
+ },
4348
+ get BlocksWrapperProps() {
4349
+ var _a;
4350
+ return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
4351
+ },
4325
4352
  children: [
4326
4353
  props.blocks ? (props.blocks || []).map((block) => {
4327
4354
  return /* @__PURE__ */ _jsxC(Block, {
@@ -4360,6 +4387,18 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
4360
4387
  }) : null
4361
4388
  ],
4362
4389
  [_IMMUTABLE]: {
4390
+ BlocksWrapper: _fnSignal((p0) => {
4391
+ var _a;
4392
+ return (_a = p0.context) == null ? void 0 : _a.BlocksWrapper;
4393
+ }, [
4394
+ props
4395
+ ], "p0.context?.BlocksWrapper"),
4396
+ BlocksWrapperProps: _fnSignal((p0) => {
4397
+ var _a;
4398
+ return (_a = p0.context) == null ? void 0 : _a.BlocksWrapperProps;
4399
+ }, [
4400
+ props
4401
+ ], "p0.context?.BlocksWrapperProps"),
4363
4402
  blocks: _fnSignal((p0) => p0.blocks, [
4364
4403
  props
4365
4404
  ], "p0.blocks"),
@@ -6396,7 +6435,7 @@ const getInteractionPropertiesForEvent = (event) => {
6396
6435
  }
6397
6436
  };
6398
6437
  };
6399
- const SDK_VERSION = "0.8.0";
6438
+ const SDK_VERSION = "0.9.0";
6400
6439
  const registry = {};
6401
6440
  function register(type, info) {
6402
6441
  let typeList = registry[type];
@@ -6658,6 +6697,7 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6658
6697
  _jsxBranch();
6659
6698
  const elementRef = useSignal();
6660
6699
  const state = useStore({
6700
+ ContentWrapper: props.contentWrapper || "div",
6661
6701
  clicked: false,
6662
6702
  forceReRenderCount: 0,
6663
6703
  httpReqsData: {},
@@ -6799,7 +6839,7 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6799
6839
  state
6800
6840
  ]));
6801
6841
  return /* @__PURE__ */ _jsxC(Fragment, {
6802
- children: props.builderContextSignal.content ? /* @__PURE__ */ createElement("div", {
6842
+ children: props.builderContextSignal.content ? /* @__PURE__ */ createElement(state.ContentWrapper, {
6803
6843
  apiKey: props.apiKey,
6804
6844
  contentId: (_a = props.builderContextSignal.content) == null ? void 0 : _a.id,
6805
6845
  variationId: (_b = props.builderContextSignal.content) == null ? void 0 : _b.testVariationId,
@@ -6820,6 +6860,7 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6820
6860
  hidden: true,
6821
6861
  "aria-hidden": true
6822
6862
  },
6863
+ ...props.contentWrapperProps,
6823
6864
  class: `variant-${((_d = props.content) == null ? void 0 : _d.testVariationId) || ((_e = props.content) == null ? void 0 : _e.id)}`
6824
6865
  }, /* @__PURE__ */ _jsxC(Slot, null, 3, "06_0")) : null
6825
6866
  }, 1, "06_1");
@@ -6963,7 +7004,9 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
6963
7004
  ...acc,
6964
7005
  [info.name]: serializeComponentInfo(info)
6965
7006
  }), {}),
6966
- inheritedStyles: {}
7007
+ inheritedStyles: {},
7008
+ BlocksWrapper: props.blocksWrapper || "div",
7009
+ BlocksWrapperProps: props.blocksWrapperProps || {}
6967
7010
  },
6968
7011
  registeredComponents: [
6969
7012
  ...getDefaultRegisteredComponents(),
@@ -7024,6 +7067,12 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
7024
7067
  get builderContextSignal() {
7025
7068
  return state.builderContextSignal;
7026
7069
  },
7070
+ get contentWrapper() {
7071
+ return props.contentWrapper;
7072
+ },
7073
+ get contentWrapperProps() {
7074
+ return props.contentWrapperProps;
7075
+ },
7027
7076
  children: [
7028
7077
  props.isSsrAbTest ? /* @__PURE__ */ _jsxC(InlinedScript, {
7029
7078
  get scriptStr() {
@@ -7109,6 +7158,12 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
7109
7158
  content: _fnSignal((p0) => p0.content, [
7110
7159
  props
7111
7160
  ], "p0.content"),
7161
+ contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
7162
+ props
7163
+ ], "p0.contentWrapper"),
7164
+ contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
7165
+ props
7166
+ ], "p0.contentWrapperProps"),
7112
7167
  context: _fnSignal((p0) => p0.context, [
7113
7168
  props
7114
7169
  ], "p0.context"),
@@ -7247,6 +7302,18 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
7247
7302
  get isSsrAbTest() {
7248
7303
  return state.shouldRenderVariants;
7249
7304
  },
7305
+ get blocksWrapper() {
7306
+ return props.blocksWrapper;
7307
+ },
7308
+ get blocksWrapperProps() {
7309
+ return props.blocksWrapperProps;
7310
+ },
7311
+ get contentWrapper() {
7312
+ return props.contentWrapper;
7313
+ },
7314
+ get contentWrapperProps() {
7315
+ return props.contentWrapperProps;
7316
+ },
7250
7317
  [_IMMUTABLE]: {
7251
7318
  apiKey: _fnSignal((p0) => p0.apiKey, [
7252
7319
  props
@@ -7254,9 +7321,21 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
7254
7321
  apiVersion: _fnSignal((p0) => p0.apiVersion, [
7255
7322
  props
7256
7323
  ], "p0.apiVersion"),
7324
+ blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
7325
+ props
7326
+ ], "p0.blocksWrapper"),
7327
+ blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
7328
+ props
7329
+ ], "p0.blocksWrapperProps"),
7257
7330
  canTrack: _fnSignal((p0) => p0.canTrack, [
7258
7331
  props
7259
7332
  ], "p0.canTrack"),
7333
+ contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
7334
+ props
7335
+ ], "p0.contentWrapper"),
7336
+ contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
7337
+ props
7338
+ ], "p0.contentWrapperProps"),
7260
7339
  context: _fnSignal((p0) => p0.context, [
7261
7340
  props
7262
7341
  ], "p0.context"),
@@ -7325,6 +7404,18 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
7325
7404
  get isSsrAbTest() {
7326
7405
  return state.shouldRenderVariants;
7327
7406
  },
7407
+ get blocksWrapper() {
7408
+ return props.blocksWrapper;
7409
+ },
7410
+ get blocksWrapperProps() {
7411
+ return props.blocksWrapperProps;
7412
+ },
7413
+ get contentWrapper() {
7414
+ return props.contentWrapper;
7415
+ },
7416
+ get contentWrapperProps() {
7417
+ return props.contentWrapperProps;
7418
+ },
7328
7419
  [_IMMUTABLE]: {
7329
7420
  apiKey: _fnSignal((p0) => p0.apiKey, [
7330
7421
  props
@@ -7332,12 +7423,24 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
7332
7423
  apiVersion: _fnSignal((p0) => p0.apiVersion, [
7333
7424
  props
7334
7425
  ], "p0.apiVersion"),
7426
+ blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
7427
+ props
7428
+ ], "p0.blocksWrapper"),
7429
+ blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
7430
+ props
7431
+ ], "p0.blocksWrapperProps"),
7335
7432
  canTrack: _fnSignal((p0) => p0.canTrack, [
7336
7433
  props
7337
7434
  ], "p0.canTrack"),
7338
7435
  content: _fnSignal((p0) => p0.value, [
7339
7436
  defaultContent
7340
7437
  ], "p0.value"),
7438
+ contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
7439
+ props
7440
+ ], "p0.contentWrapper"),
7441
+ contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
7442
+ props
7443
+ ], "p0.contentWrapperProps"),
7341
7444
  context: _fnSignal((p0) => p0.context, [
7342
7445
  props
7343
7446
  ], "p0.context"),