@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.
package/dist/index.d.cts CHANGED
@@ -30,6 +30,7 @@ export { ProductList } from './_tsup-dts-rollup.cjs';
30
30
  export { Donation } from './_tsup-dts-rollup.cjs';
31
31
  export { PaymentInput } from './_tsup-dts-rollup.cjs';
32
32
  export { Signature } from './_tsup-dts-rollup.cjs';
33
+ export { RichText } from './_tsup-dts-rollup.cjs';
33
34
  export { MultilineAddressProps } from './_tsup-dts-rollup.cjs';
34
35
  export { PhoneInputProps } from './_tsup-dts-rollup.cjs';
35
36
  export { TextAreaProps } from './_tsup-dts-rollup.cjs';
package/dist/index.d.ts CHANGED
@@ -30,6 +30,7 @@ export { ProductList } from './_tsup-dts-rollup.js';
30
30
  export { Donation } from './_tsup-dts-rollup.js';
31
31
  export { PaymentInput } from './_tsup-dts-rollup.js';
32
32
  export { Signature } from './_tsup-dts-rollup.js';
33
+ export { RichText } from './_tsup-dts-rollup.js';
33
34
  export { MultilineAddressProps } from './_tsup-dts-rollup.js';
34
35
  export { PhoneInputProps } from './_tsup-dts-rollup.js';
35
36
  export { TextAreaProps } from './_tsup-dts-rollup.js';
package/dist/index.js CHANGED
@@ -43424,6 +43424,36 @@ Value2.Type = Type6;
43424
43424
  Value2.Upload = Upload;
43425
43425
  Type6.Value = TypeValue;
43426
43426
  Upload.Button = UploadButton;
43427
+ var biSettings = {
43428
+ consumer: "Forms",
43429
+ platform: "Vibesite",
43430
+ postId: "",
43431
+ containerId: ""
43432
+ };
43433
+ var RichText = (_ref) => {
43434
+ let {
43435
+ children
43436
+ } = _ref;
43437
+ const {
43438
+ id,
43439
+ FieldLayout,
43440
+ content
43441
+ } = useFieldPropsV2();
43442
+ const {
43443
+ locale
43444
+ } = useConfig();
43445
+ return /* @__PURE__ */ React44__default.createElement(FieldLayout, {
43446
+ fieldId: id,
43447
+ renderLabel: () => null,
43448
+ renderInput: () => children({
43449
+ content,
43450
+ biSettings,
43451
+ locale,
43452
+ instance: ""
43453
+ }),
43454
+ renderDescription: () => null
43455
+ });
43456
+ };
43427
43457
  /*! Bundled license information:
43428
43458
 
43429
43459
  classnames/index.js:
@@ -43448,6 +43478,6 @@ signature_pad/dist/signature_pad.js:
43448
43478
  *)
43449
43479
  */
43450
43480
 
43451
- export { Checkbox, CheckboxGroup, DateInput, DatePicker, DateTimeInput, Donation, Dropdown, FileUpload, FixedPayment, FormProvider, LoginBar, MultilineAddress, NumberInput, PaymentInput, PhoneInput, ProductList, RadioGroup, RatingInput, Signature, SubmitButton, Tags, TextArea, TextInput, TimeInput2 as TimeInput, UniqueFieldSuffixContextProvider, useFieldProps, useForm3 as useForm };
43481
+ export { Checkbox, CheckboxGroup, DateInput, DatePicker, DateTimeInput, Donation, Dropdown, FileUpload, FixedPayment, FormProvider, LoginBar, MultilineAddress, NumberInput, PaymentInput, PhoneInput, ProductList, RadioGroup, RatingInput, RichText, Signature, SubmitButton, Tags, TextArea, TextInput, TimeInput2 as TimeInput, UniqueFieldSuffixContextProvider, useFieldProps, useForm3 as useForm };
43452
43482
  //# sourceMappingURL=index.js.map
43453
43483
  //# sourceMappingURL=index.js.map