@wix/form-public 0.47.0 → 0.48.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
@@ -4,6 +4,7 @@ export { FormValues } from './_tsup-dts-rollup.cjs';
4
4
  export { CallingCountryCode } from './_tsup-dts-rollup.cjs';
5
5
  export { useForm } from './_tsup-dts-rollup.cjs';
6
6
  export { FormProvider } from './_tsup-dts-rollup.cjs';
7
+ export { Currency } from './_tsup-dts-rollup.cjs';
7
8
  export { PhoneInputProps } from './_tsup-dts-rollup.cjs';
8
9
  export { MultilineAddressProps } from './_tsup-dts-rollup.cjs';
9
10
  export { TextAreaProps } from './_tsup-dts-rollup.cjs';
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export { FormValues } from './_tsup-dts-rollup.js';
4
4
  export { CallingCountryCode } from './_tsup-dts-rollup.js';
5
5
  export { useForm } from './_tsup-dts-rollup.js';
6
6
  export { FormProvider } from './_tsup-dts-rollup.js';
7
+ export { Currency } from './_tsup-dts-rollup.js';
7
8
  export { PhoneInputProps } from './_tsup-dts-rollup.js';
8
9
  export { MultilineAddressProps } from './_tsup-dts-rollup.js';
9
10
  export { TextAreaProps } from './_tsup-dts-rollup.js';
package/dist/index.js CHANGED
@@ -21775,7 +21775,7 @@ var useForm3 = ({
21775
21775
  fieldsLayout
21776
21776
  } : null;
21777
21777
  };
21778
- var FormProvider = ({ children }) => {
21778
+ var FormProvider = ({ children, currency }) => {
21779
21779
  return /* @__PURE__ */ jsx(
21780
21780
  FormViewerProvider,
21781
21781
  {
@@ -21784,6 +21784,7 @@ var FormProvider = ({ children }) => {
21784
21784
  form: {},
21785
21785
  locale: "en",
21786
21786
  regionalFormat: "en",
21787
+ currency,
21787
21788
  WixRicosViewer: () => null,
21788
21789
  children: /* @__PURE__ */ jsx(ExternalDataProvider, { externalData: {}, children: /* @__PURE__ */ jsx(FormStatusProvider, { children }) })
21789
21790
  }