@builder.io/sdk-solid 1.0.35 → 1.0.36

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.
package/lib/node/dev.js CHANGED
@@ -305,6 +305,19 @@ function flattenState({
305
305
  });
306
306
  }
307
307
 
308
+ // src/constants/sdk-name.ts
309
+ var SDK_NAME_FOR_TARGET = (() => {
310
+ switch (TARGET) {
311
+ case "rsc":
312
+ return "react-nextjs";
313
+ case "reactNative":
314
+ return "react-native";
315
+ default:
316
+ return TARGET;
317
+ }
318
+ })();
319
+ var SDK_NAME = `@builder.io/sdk-${SDK_NAME_FOR_TARGET}`;
320
+
308
321
  // src/functions/fast-clone.ts
309
322
  var fastClone = (obj) => JSON.parse(JSON.stringify(obj));
310
323
 
@@ -383,6 +396,7 @@ if (typeof output === 'object' && output !== null) {
383
396
  };
384
397
  var IVM_INSTANCE = null;
385
398
  var IVM_CONTEXT = null;
399
+ var SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
386
400
  var getIvm = () => {
387
401
  try {
388
402
  if (IVM_INSTANCE)
@@ -393,14 +407,15 @@ var getIvm = () => {
393
407
  } catch (error2) {
394
408
  logger.error("isolated-vm import error.", error2);
395
409
  }
396
- throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
410
+ const ERROR_MESSAGE = `${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on a Node server.
397
411
 
398
- In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
399
- importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
400
- a server-only execution path within your application.
412
+ SOLUTION: In a server-only execution path within your application, do one of the following:
413
+
414
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
415
+ - add the following import: \`await import('isolated-vm')\`.
401
416
 
402
- Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
403
- `);
417
+ For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
418
+ throw new Error(ERROR_MESSAGE);
404
419
  };
405
420
  function setIsolateContext(options = {
406
421
  memoryLimit: 128
@@ -4241,6 +4256,9 @@ function SelectComponent(props) {
4241
4256
  },
4242
4257
  get name() {
4243
4258
  return props.name;
4259
+ },
4260
+ get required() {
4261
+ return props.required;
4244
4262
  }
4245
4263
  }), false, true);
4246
4264
  insert(_el$, createComponent(For, {
@@ -4301,8 +4319,72 @@ function SubmitButton(props) {
4301
4319
  }
4302
4320
  var submit_button_default = SubmitButton;
4303
4321
 
4304
- // src/blocks/img/component-info.ts
4322
+ // src/blocks/form/textarea/component-info.ts
4305
4323
  var componentInfo17 = {
4324
+ name: "Form:TextArea",
4325
+ image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4326
+ inputs: [{
4327
+ advanced: true,
4328
+ name: "value",
4329
+ type: "string"
4330
+ }, {
4331
+ name: "name",
4332
+ type: "string",
4333
+ required: true,
4334
+ helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
4335
+ }, {
4336
+ name: "defaultValue",
4337
+ type: "string"
4338
+ }, {
4339
+ name: "placeholder",
4340
+ type: "string",
4341
+ defaultValue: "Hello there"
4342
+ }, {
4343
+ name: "required",
4344
+ type: "boolean",
4345
+ defaultValue: false
4346
+ }],
4347
+ defaultStyles: {
4348
+ paddingTop: "10px",
4349
+ paddingBottom: "10px",
4350
+ paddingLeft: "10px",
4351
+ paddingRight: "10px",
4352
+ borderRadius: "3px",
4353
+ borderWidth: "1px",
4354
+ borderStyle: "solid",
4355
+ borderColor: "#ccc"
4356
+ },
4357
+ static: true,
4358
+ noWrap: true
4359
+ };
4360
+ var _tmpl$17 = /* @__PURE__ */ template(`<textarea>`);
4361
+ function Textarea(props) {
4362
+ return (() => {
4363
+ const _el$ = _tmpl$17();
4364
+ spread(_el$, mergeProps({}, () => props.attributes, {
4365
+ get placeholder() {
4366
+ return props.placeholder;
4367
+ },
4368
+ get name() {
4369
+ return props.name;
4370
+ },
4371
+ get value() {
4372
+ return props.value;
4373
+ },
4374
+ get defaultValue() {
4375
+ return props.defaultValue;
4376
+ },
4377
+ get required() {
4378
+ return props.required;
4379
+ }
4380
+ }), false, false);
4381
+ return _el$;
4382
+ })();
4383
+ }
4384
+ var textarea_default = Textarea;
4385
+
4386
+ // src/blocks/img/component-info.ts
4387
+ var componentInfo18 = {
4306
4388
  // friendlyName?
4307
4389
  name: "Raw:Img",
4308
4390
  hideFromInsertMenu: true,
@@ -4317,10 +4399,10 @@ var componentInfo17 = {
4317
4399
  noWrap: true,
4318
4400
  static: true
4319
4401
  };
4320
- var _tmpl$17 = /* @__PURE__ */ template(`<img>`);
4402
+ var _tmpl$18 = /* @__PURE__ */ template(`<img>`);
4321
4403
  function ImgComponent(props) {
4322
4404
  return (() => {
4323
- const _el$ = _tmpl$17();
4405
+ const _el$ = _tmpl$18();
4324
4406
  spread(_el$, mergeProps({
4325
4407
  get style() {
4326
4408
  return {
@@ -4344,7 +4426,7 @@ function ImgComponent(props) {
4344
4426
  var img_default = ImgComponent;
4345
4427
 
4346
4428
  // src/blocks/video/component-info.ts
4347
- var componentInfo18 = {
4429
+ var componentInfo19 = {
4348
4430
  name: "Video",
4349
4431
  canHaveChildren: true,
4350
4432
  defaultStyles: {
@@ -4426,7 +4508,7 @@ var componentInfo18 = {
4426
4508
  advanced: true
4427
4509
  }]
4428
4510
  };
4429
- var _tmpl$18 = /* @__PURE__ */ template(`<source type=video/mp4>`);
4511
+ var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
4430
4512
  var _tmpl$28 = /* @__PURE__ */ template(`<div>`);
4431
4513
  var _tmpl$35 = /* @__PURE__ */ template(`<div><video class=builder-video>`);
4432
4514
  function Video(props) {
@@ -4489,7 +4571,7 @@ function Video(props) {
4489
4571
  return !props.lazyLoad;
4490
4572
  },
4491
4573
  get children() {
4492
- const _el$3 = _tmpl$18();
4574
+ const _el$3 = _tmpl$19();
4493
4575
  effect(() => setAttribute(_el$3, "src", props.video));
4494
4576
  return _el$3;
4495
4577
  }
@@ -4563,12 +4645,15 @@ var getExtraComponents = () => [{
4563
4645
  }, {
4564
4646
  component: select_default,
4565
4647
  ...componentInfo15
4648
+ }, {
4649
+ component: textarea_default,
4650
+ ...componentInfo17
4566
4651
  }], {
4567
4652
  component: img_default,
4568
- ...componentInfo17
4653
+ ...componentInfo18
4569
4654
  }, {
4570
4655
  component: video_default,
4571
- ...componentInfo18
4656
+ ...componentInfo19
4572
4657
  }];
4573
4658
 
4574
4659
  // src/constants/builder-registered-components.ts
@@ -4671,10 +4756,10 @@ var getUpdateVariantVisibilityScript = ({
4671
4756
  }) => `window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME}(
4672
4757
  "${variationId}", "${contentId}", ${isHydrationTarget}
4673
4758
  )`;
4674
- var _tmpl$19 = /* @__PURE__ */ template(`<script>`);
4759
+ var _tmpl$20 = /* @__PURE__ */ template(`<script>`);
4675
4760
  function InlinedScript(props) {
4676
4761
  return (() => {
4677
- const _el$ = _tmpl$19();
4762
+ const _el$ = _tmpl$20();
4678
4763
  effect((_p$) => {
4679
4764
  const _v$ = props.scriptStr, _v$2 = props.id;
4680
4765
  _v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
@@ -5188,7 +5273,7 @@ function isFromTrustedHost(trustedHosts, e) {
5188
5273
  }
5189
5274
 
5190
5275
  // src/constants/sdk-version.ts
5191
- var SDK_VERSION = "1.0.35";
5276
+ var SDK_VERSION = "1.0.36";
5192
5277
 
5193
5278
  // src/functions/register.ts
5194
5279
  var registry = {};
@@ -6172,7 +6257,7 @@ var fetchSymbolContent = async ({
6172
6257
  };
6173
6258
 
6174
6259
  // src/blocks/symbol/symbol.tsx
6175
- var _tmpl$20 = /* @__PURE__ */ template(`<div>`);
6260
+ var _tmpl$21 = /* @__PURE__ */ template(`<div>`);
6176
6261
  function Symbol(props) {
6177
6262
  const [contentToUse, setContentToUse] = createSignal(props.symbol?.content);
6178
6263
  const blocksWrapper = createMemo(() => {
@@ -6204,7 +6289,7 @@ function Symbol(props) {
6204
6289
  }
6205
6290
  createEffect(on(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
6206
6291
  return (() => {
6207
- const _el$ = _tmpl$20();
6292
+ const _el$ = _tmpl$21();
6208
6293
  spread(_el$, mergeProps({
6209
6294
  get ["class"]() {
6210
6295
  return className();
package/lib/node/dev.jsx CHANGED
@@ -291,6 +291,19 @@ function flattenState({
291
291
  });
292
292
  }
293
293
 
294
+ // src/constants/sdk-name.ts
295
+ var SDK_NAME_FOR_TARGET = (() => {
296
+ switch (TARGET) {
297
+ case "rsc":
298
+ return "react-nextjs";
299
+ case "reactNative":
300
+ return "react-native";
301
+ default:
302
+ return TARGET;
303
+ }
304
+ })();
305
+ var SDK_NAME = `@builder.io/sdk-${SDK_NAME_FOR_TARGET}`;
306
+
294
307
  // src/functions/fast-clone.ts
295
308
  var fastClone = (obj) => JSON.parse(JSON.stringify(obj));
296
309
 
@@ -372,6 +385,7 @@ if (typeof output === 'object' && output !== null) {
372
385
  };
373
386
  var IVM_INSTANCE = null;
374
387
  var IVM_CONTEXT = null;
388
+ var SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
375
389
  var getIvm = () => {
376
390
  try {
377
391
  if (IVM_INSTANCE)
@@ -382,14 +396,15 @@ var getIvm = () => {
382
396
  } catch (error2) {
383
397
  logger.error("isolated-vm import error.", error2);
384
398
  }
385
- throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
399
+ const ERROR_MESSAGE = `${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on a Node server.
386
400
 
387
- In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
388
- importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
389
- a server-only execution path within your application.
401
+ SOLUTION: In a server-only execution path within your application, do one of the following:
402
+
403
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
404
+ - add the following import: \`await import('isolated-vm')\`.
390
405
 
391
- Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
392
- `);
406
+ For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
407
+ throw new Error(ERROR_MESSAGE);
393
408
  };
394
409
  function setIsolateContext(options = {
395
410
  memoryLimit: 128
@@ -3824,6 +3839,7 @@ function SelectComponent(props) {
3824
3839
  key={isEditing() && props.defaultValue ? props.defaultValue : "default-key"}
3825
3840
  defaultValue={props.defaultValue}
3826
3841
  name={props.name}
3842
+ required={props.required}
3827
3843
  ><For8 each={props.options}>{(option, _index) => {
3828
3844
  const index = _index();
3829
3845
  return <option key={`${option.name}-${index}`} value={option.value}>{option.name || option.value}</option>;
@@ -3865,8 +3881,61 @@ function SubmitButton(props) {
3865
3881
  }
3866
3882
  var submit_button_default = SubmitButton;
3867
3883
 
3868
- // src/blocks/img/component-info.ts
3884
+ // src/blocks/form/textarea/component-info.ts
3869
3885
  var componentInfo17 = {
3886
+ name: "Form:TextArea",
3887
+ image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3888
+ inputs: [{
3889
+ advanced: true,
3890
+ name: "value",
3891
+ type: "string"
3892
+ }, {
3893
+ name: "name",
3894
+ type: "string",
3895
+ required: true,
3896
+ helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
3897
+ }, {
3898
+ name: "defaultValue",
3899
+ type: "string"
3900
+ }, {
3901
+ name: "placeholder",
3902
+ type: "string",
3903
+ defaultValue: "Hello there"
3904
+ }, {
3905
+ name: "required",
3906
+ type: "boolean",
3907
+ defaultValue: false
3908
+ }],
3909
+ defaultStyles: {
3910
+ paddingTop: "10px",
3911
+ paddingBottom: "10px",
3912
+ paddingLeft: "10px",
3913
+ paddingRight: "10px",
3914
+ borderRadius: "3px",
3915
+ borderWidth: "1px",
3916
+ borderStyle: "solid",
3917
+ borderColor: "#ccc"
3918
+ },
3919
+ static: true,
3920
+ noWrap: true
3921
+ };
3922
+
3923
+ // src/blocks/form/textarea/textarea.tsx
3924
+ function Textarea(props) {
3925
+ return <><textarea
3926
+ {...{}}
3927
+ {...props.attributes}
3928
+ placeholder={props.placeholder}
3929
+ name={props.name}
3930
+ value={props.value}
3931
+ defaultValue={props.defaultValue}
3932
+ required={props.required}
3933
+ /></>;
3934
+ }
3935
+ var textarea_default = Textarea;
3936
+
3937
+ // src/blocks/img/component-info.ts
3938
+ var componentInfo18 = {
3870
3939
  // friendlyName?
3871
3940
  name: "Raw:Img",
3872
3941
  hideFromInsertMenu: true,
@@ -3899,7 +3968,7 @@ function ImgComponent(props) {
3899
3968
  var img_default = ImgComponent;
3900
3969
 
3901
3970
  // src/blocks/video/component-info.ts
3902
- var componentInfo18 = {
3971
+ var componentInfo19 = {
3903
3972
  name: "Video",
3904
3973
  canHaveChildren: true,
3905
3974
  defaultStyles: {
@@ -4088,12 +4157,15 @@ var getExtraComponents = () => [{
4088
4157
  }, {
4089
4158
  component: select_default,
4090
4159
  ...componentInfo15
4160
+ }, {
4161
+ component: textarea_default,
4162
+ ...componentInfo17
4091
4163
  }], {
4092
4164
  component: img_default,
4093
- ...componentInfo17
4165
+ ...componentInfo18
4094
4166
  }, {
4095
4167
  component: video_default,
4096
- ...componentInfo18
4168
+ ...componentInfo19
4097
4169
  }];
4098
4170
 
4099
4171
  // src/constants/builder-registered-components.ts
@@ -4713,7 +4785,7 @@ function isFromTrustedHost(trustedHosts, e) {
4713
4785
  }
4714
4786
 
4715
4787
  // src/constants/sdk-version.ts
4716
- var SDK_VERSION = "1.0.35";
4788
+ var SDK_VERSION = "1.0.36";
4717
4789
 
4718
4790
  // src/functions/register.ts
4719
4791
  var registry = {};
package/lib/node/index.js CHANGED
@@ -304,6 +304,19 @@ function flattenState({
304
304
  });
305
305
  }
306
306
 
307
+ // src/constants/sdk-name.ts
308
+ var SDK_NAME_FOR_TARGET = (() => {
309
+ switch (TARGET) {
310
+ case "rsc":
311
+ return "react-nextjs";
312
+ case "reactNative":
313
+ return "react-native";
314
+ default:
315
+ return TARGET;
316
+ }
317
+ })();
318
+ var SDK_NAME = `@builder.io/sdk-${SDK_NAME_FOR_TARGET}`;
319
+
307
320
  // src/functions/fast-clone.ts
308
321
  var fastClone = (obj) => JSON.parse(JSON.stringify(obj));
309
322
 
@@ -382,6 +395,7 @@ if (typeof output === 'object' && output !== null) {
382
395
  };
383
396
  var IVM_INSTANCE = null;
384
397
  var IVM_CONTEXT = null;
398
+ var SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
385
399
  var getIvm = () => {
386
400
  try {
387
401
  if (IVM_INSTANCE)
@@ -392,14 +406,15 @@ var getIvm = () => {
392
406
  } catch (error2) {
393
407
  logger.error("isolated-vm import error.", error2);
394
408
  }
395
- throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
409
+ const ERROR_MESSAGE = `${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on a Node server.
396
410
 
397
- In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
398
- importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
399
- a server-only execution path within your application.
411
+ SOLUTION: In a server-only execution path within your application, do one of the following:
412
+
413
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
414
+ - add the following import: \`await import('isolated-vm')\`.
400
415
 
401
- Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
402
- `);
416
+ For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
417
+ throw new Error(ERROR_MESSAGE);
403
418
  };
404
419
  function setIsolateContext(options = {
405
420
  memoryLimit: 128
@@ -4231,6 +4246,9 @@ function SelectComponent(props) {
4231
4246
  },
4232
4247
  get name() {
4233
4248
  return props.name;
4249
+ },
4250
+ get required() {
4251
+ return props.required;
4234
4252
  }
4235
4253
  }), false, true);
4236
4254
  insert(_el$, createComponent(For, {
@@ -4291,8 +4309,72 @@ function SubmitButton(props) {
4291
4309
  }
4292
4310
  var submit_button_default = SubmitButton;
4293
4311
 
4294
- // src/blocks/img/component-info.ts
4312
+ // src/blocks/form/textarea/component-info.ts
4295
4313
  var componentInfo17 = {
4314
+ name: "Form:TextArea",
4315
+ image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4316
+ inputs: [{
4317
+ advanced: true,
4318
+ name: "value",
4319
+ type: "string"
4320
+ }, {
4321
+ name: "name",
4322
+ type: "string",
4323
+ required: true,
4324
+ helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
4325
+ }, {
4326
+ name: "defaultValue",
4327
+ type: "string"
4328
+ }, {
4329
+ name: "placeholder",
4330
+ type: "string",
4331
+ defaultValue: "Hello there"
4332
+ }, {
4333
+ name: "required",
4334
+ type: "boolean",
4335
+ defaultValue: false
4336
+ }],
4337
+ defaultStyles: {
4338
+ paddingTop: "10px",
4339
+ paddingBottom: "10px",
4340
+ paddingLeft: "10px",
4341
+ paddingRight: "10px",
4342
+ borderRadius: "3px",
4343
+ borderWidth: "1px",
4344
+ borderStyle: "solid",
4345
+ borderColor: "#ccc"
4346
+ },
4347
+ static: true,
4348
+ noWrap: true
4349
+ };
4350
+ var _tmpl$17 = /* @__PURE__ */ template(`<textarea>`);
4351
+ function Textarea(props) {
4352
+ return (() => {
4353
+ const _el$ = _tmpl$17();
4354
+ spread(_el$, mergeProps({}, () => props.attributes, {
4355
+ get placeholder() {
4356
+ return props.placeholder;
4357
+ },
4358
+ get name() {
4359
+ return props.name;
4360
+ },
4361
+ get value() {
4362
+ return props.value;
4363
+ },
4364
+ get defaultValue() {
4365
+ return props.defaultValue;
4366
+ },
4367
+ get required() {
4368
+ return props.required;
4369
+ }
4370
+ }), false, false);
4371
+ return _el$;
4372
+ })();
4373
+ }
4374
+ var textarea_default = Textarea;
4375
+
4376
+ // src/blocks/img/component-info.ts
4377
+ var componentInfo18 = {
4296
4378
  // friendlyName?
4297
4379
  name: "Raw:Img",
4298
4380
  hideFromInsertMenu: true,
@@ -4307,10 +4389,10 @@ var componentInfo17 = {
4307
4389
  noWrap: true,
4308
4390
  static: true
4309
4391
  };
4310
- var _tmpl$17 = /* @__PURE__ */ template(`<img>`);
4392
+ var _tmpl$18 = /* @__PURE__ */ template(`<img>`);
4311
4393
  function ImgComponent(props) {
4312
4394
  return (() => {
4313
- const _el$ = _tmpl$17();
4395
+ const _el$ = _tmpl$18();
4314
4396
  spread(_el$, mergeProps({
4315
4397
  get style() {
4316
4398
  return {
@@ -4334,7 +4416,7 @@ function ImgComponent(props) {
4334
4416
  var img_default = ImgComponent;
4335
4417
 
4336
4418
  // src/blocks/video/component-info.ts
4337
- var componentInfo18 = {
4419
+ var componentInfo19 = {
4338
4420
  name: "Video",
4339
4421
  canHaveChildren: true,
4340
4422
  defaultStyles: {
@@ -4416,7 +4498,7 @@ var componentInfo18 = {
4416
4498
  advanced: true
4417
4499
  }]
4418
4500
  };
4419
- var _tmpl$18 = /* @__PURE__ */ template(`<source type=video/mp4>`);
4501
+ var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
4420
4502
  var _tmpl$28 = /* @__PURE__ */ template(`<div>`);
4421
4503
  var _tmpl$35 = /* @__PURE__ */ template(`<div><video class=builder-video>`);
4422
4504
  function Video(props) {
@@ -4479,7 +4561,7 @@ function Video(props) {
4479
4561
  return !props.lazyLoad;
4480
4562
  },
4481
4563
  get children() {
4482
- const _el$3 = _tmpl$18();
4564
+ const _el$3 = _tmpl$19();
4483
4565
  effect(() => setAttribute(_el$3, "src", props.video));
4484
4566
  return _el$3;
4485
4567
  }
@@ -4553,12 +4635,15 @@ var getExtraComponents = () => [{
4553
4635
  }, {
4554
4636
  component: select_default,
4555
4637
  ...componentInfo15
4638
+ }, {
4639
+ component: textarea_default,
4640
+ ...componentInfo17
4556
4641
  }], {
4557
4642
  component: img_default,
4558
- ...componentInfo17
4643
+ ...componentInfo18
4559
4644
  }, {
4560
4645
  component: video_default,
4561
- ...componentInfo18
4646
+ ...componentInfo19
4562
4647
  }];
4563
4648
 
4564
4649
  // src/constants/builder-registered-components.ts
@@ -4661,10 +4746,10 @@ var getUpdateVariantVisibilityScript = ({
4661
4746
  }) => `window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME}(
4662
4747
  "${variationId}", "${contentId}", ${isHydrationTarget}
4663
4748
  )`;
4664
- var _tmpl$19 = /* @__PURE__ */ template(`<script>`);
4749
+ var _tmpl$20 = /* @__PURE__ */ template(`<script>`);
4665
4750
  function InlinedScript(props) {
4666
4751
  return (() => {
4667
- const _el$ = _tmpl$19();
4752
+ const _el$ = _tmpl$20();
4668
4753
  effect((_p$) => {
4669
4754
  const _v$ = props.scriptStr, _v$2 = props.id;
4670
4755
  _v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
@@ -5173,7 +5258,7 @@ function isFromTrustedHost(trustedHosts, e) {
5173
5258
  }
5174
5259
 
5175
5260
  // src/constants/sdk-version.ts
5176
- var SDK_VERSION = "1.0.35";
5261
+ var SDK_VERSION = "1.0.36";
5177
5262
 
5178
5263
  // src/functions/register.ts
5179
5264
  var registry = {};
@@ -6155,7 +6240,7 @@ var fetchSymbolContent = async ({
6155
6240
  };
6156
6241
 
6157
6242
  // src/blocks/symbol/symbol.tsx
6158
- var _tmpl$20 = /* @__PURE__ */ template(`<div>`);
6243
+ var _tmpl$21 = /* @__PURE__ */ template(`<div>`);
6159
6244
  function Symbol(props) {
6160
6245
  const [contentToUse, setContentToUse] = createSignal(props.symbol?.content);
6161
6246
  const blocksWrapper = createMemo(() => {
@@ -6187,7 +6272,7 @@ function Symbol(props) {
6187
6272
  }
6188
6273
  createEffect(on(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
6189
6274
  return (() => {
6190
- const _el$ = _tmpl$20();
6275
+ const _el$ = _tmpl$21();
6191
6276
  spread(_el$, mergeProps({
6192
6277
  get ["class"]() {
6193
6278
  return className();