@wix/form-public 0.155.0 → 0.157.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.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -25344,8 +25344,7 @@ init_v1();
|
|
|
25344
25344
|
var DEFAULT_CONFIG = {
|
|
25345
25345
|
language: "en",
|
|
25346
25346
|
accountLanguage: "en",
|
|
25347
|
-
regionalFormat: "en"
|
|
25348
|
-
accountRegionalFormat: "en"
|
|
25347
|
+
regionalFormat: "en"
|
|
25349
25348
|
};
|
|
25350
25349
|
var ConfigContext = /* @__PURE__ */ React42.createContext(null);
|
|
25351
25350
|
function ConfigContextProvider(_ref) {
|
|
@@ -25357,8 +25356,7 @@ function ConfigContextProvider(_ref) {
|
|
|
25357
25356
|
...configInput,
|
|
25358
25357
|
language: configInput.language ?? DEFAULT_CONFIG.language,
|
|
25359
25358
|
accountLanguage: configInput.accountLanguage ?? DEFAULT_CONFIG.accountLanguage,
|
|
25360
|
-
regionalFormat: configInput.regionalFormat ?? DEFAULT_CONFIG.regionalFormat
|
|
25361
|
-
accountRegionalFormat: configInput.accountRegionalFormat ?? DEFAULT_CONFIG.accountRegionalFormat
|
|
25359
|
+
regionalFormat: configInput.regionalFormat ?? DEFAULT_CONFIG.regionalFormat
|
|
25362
25360
|
};
|
|
25363
25361
|
return /* @__PURE__ */ React42__namespace.default.createElement(ConfigContext.Provider, {
|
|
25364
25362
|
value: config
|