@wix/form-public 0.122.0 → 0.124.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.
@@ -52,6 +52,7 @@ import { RatingInput } from '@wix/form-fields/headless';
52
52
  import { default as React_2 } from 'react';
53
53
  import { ReactElement } from 'react';
54
54
  import { requests } from '@wix/ambassador-forms-v4-submission/build/cjs/proto/client/proto-generated';
55
+ import { RichText } from '@wix/form-fields/headless';
55
56
  import { FieldType as SchemaFieldType } from '@wix/form-fields';
56
57
  import { Signature } from '@wix/form-fields/headless';
57
58
  import { SubmitButton } from '@wix/form-fields/headless';
@@ -291,6 +292,8 @@ export { RadioGroup }
291
292
 
292
293
  export { RatingInput }
293
294
 
295
+ export { RichText }
296
+
294
297
  export { SchemaFieldType }
295
298
 
296
299
  export { Signature }
@@ -52,6 +52,7 @@ import { RatingInput } from '@wix/form-fields/headless';
52
52
  import { default as React_2 } from 'react';
53
53
  import { ReactElement } from 'react';
54
54
  import { requests } from '@wix/ambassador-forms-v4-submission/build/cjs/proto/client/proto-generated';
55
+ import { RichText } from '@wix/form-fields/headless';
55
56
  import { FieldType as SchemaFieldType } from '@wix/form-fields';
56
57
  import { Signature } from '@wix/form-fields/headless';
57
58
  import { SubmitButton } from '@wix/form-fields/headless';
@@ -291,6 +292,8 @@ export { RadioGroup }
291
292
 
292
293
  export { RatingInput }
293
294
 
295
+ export { RichText }
296
+
294
297
  export { SchemaFieldType }
295
298
 
296
299
  export { Signature }
package/dist/index.cjs CHANGED
@@ -43450,6 +43450,36 @@ Value2.Type = Type6;
43450
43450
  Value2.Upload = Upload;
43451
43451
  Type6.Value = TypeValue;
43452
43452
  Upload.Button = UploadButton;
43453
+ var biSettings = {
43454
+ consumer: "Forms",
43455
+ platform: "Vibesite",
43456
+ postId: "",
43457
+ containerId: ""
43458
+ };
43459
+ var RichText = (_ref) => {
43460
+ let {
43461
+ children
43462
+ } = _ref;
43463
+ const {
43464
+ id,
43465
+ FieldLayout,
43466
+ content
43467
+ } = useFieldPropsV2();
43468
+ const {
43469
+ locale
43470
+ } = useConfig();
43471
+ return /* @__PURE__ */ React44__namespace.default.createElement(FieldLayout, {
43472
+ fieldId: id,
43473
+ renderLabel: () => null,
43474
+ renderInput: () => children({
43475
+ content,
43476
+ biSettings,
43477
+ locale,
43478
+ instance: ""
43479
+ }),
43480
+ renderDescription: () => null
43481
+ });
43482
+ };
43453
43483
  /*! Bundled license information:
43454
43484
 
43455
43485
  classnames/index.js:
@@ -43492,6 +43522,7 @@ exports.PhoneInput = PhoneInput;
43492
43522
  exports.ProductList = ProductList;
43493
43523
  exports.RadioGroup = RadioGroup;
43494
43524
  exports.RatingInput = RatingInput;
43525
+ exports.RichText = RichText;
43495
43526
  exports.Signature = Signature;
43496
43527
  exports.SubmitButton = SubmitButton;
43497
43528
  exports.Tags = Tags;