@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.js
CHANGED
|
@@ -25318,8 +25318,7 @@ init_v1();
|
|
|
25318
25318
|
var DEFAULT_CONFIG = {
|
|
25319
25319
|
language: "en",
|
|
25320
25320
|
accountLanguage: "en",
|
|
25321
|
-
regionalFormat: "en"
|
|
25322
|
-
accountRegionalFormat: "en"
|
|
25321
|
+
regionalFormat: "en"
|
|
25323
25322
|
};
|
|
25324
25323
|
var ConfigContext = /* @__PURE__ */ createContext(null);
|
|
25325
25324
|
function ConfigContextProvider(_ref) {
|
|
@@ -25331,8 +25330,7 @@ function ConfigContextProvider(_ref) {
|
|
|
25331
25330
|
...configInput,
|
|
25332
25331
|
language: configInput.language ?? DEFAULT_CONFIG.language,
|
|
25333
25332
|
accountLanguage: configInput.accountLanguage ?? DEFAULT_CONFIG.accountLanguage,
|
|
25334
|
-
regionalFormat: configInput.regionalFormat ?? DEFAULT_CONFIG.regionalFormat
|
|
25335
|
-
accountRegionalFormat: configInput.accountRegionalFormat ?? DEFAULT_CONFIG.accountRegionalFormat
|
|
25333
|
+
regionalFormat: configInput.regionalFormat ?? DEFAULT_CONFIG.regionalFormat
|
|
25336
25334
|
};
|
|
25337
25335
|
return /* @__PURE__ */ React42__default.createElement(ConfigContext.Provider, {
|
|
25338
25336
|
value: config
|