@wix/form-public 0.563.0 → 0.564.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 +9 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -38751,16 +38751,6 @@ var EMPTY_VALUE = null;
|
|
|
38751
38751
|
// ../form-fields/dist/esm/constants/default-values.js
|
|
38752
38752
|
var NOW_VALUE = "$now";
|
|
38753
38753
|
|
|
38754
|
-
// ../form-fields/dist/esm/constants/experiments.js
|
|
38755
|
-
var EXPERIMENTS = {
|
|
38756
|
-
USE_FIELDS_V2: "specs.forms.UseFieldsV2",
|
|
38757
|
-
USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone",
|
|
38758
|
-
USE_FIELDS_V2_PP: "useFieldsV2PP",
|
|
38759
|
-
USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
|
|
38760
|
-
ENABLE_FORM_SCHEMA_V2_PRICING_PLANS: "enableFormSchemaV2PricingPlans",
|
|
38761
|
-
SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
|
|
38762
|
-
STREETLESS_LOCALITY_FALLBACK: "streetlessLocalityFallback"};
|
|
38763
|
-
|
|
38764
38754
|
// ../form-fields/dist/esm/constants/breakpoints.js
|
|
38765
38755
|
var Breakpoint = /* @__PURE__ */ (function(Breakpoint2) {
|
|
38766
38756
|
Breakpoint2["LARGE"] = "large";
|
|
@@ -43775,10 +43765,16 @@ function useTranslation2() {
|
|
|
43775
43765
|
return context;
|
|
43776
43766
|
}
|
|
43777
43767
|
|
|
43778
|
-
// ../form-
|
|
43768
|
+
// ../form-experiments/dist/esm/experiments.js
|
|
43769
|
+
var EXPERIMENTS = {
|
|
43770
|
+
ENABLE_FORM_SCHEMA_V2_PRICING_PLANS: "enableFormSchemaV2PricingPlans",
|
|
43771
|
+
STREETLESS_LOCALITY_FALLBACK: "streetlessLocalityFallback",
|
|
43772
|
+
SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
|
|
43773
|
+
USE_FIELDS_V2: "specs.forms.UseFieldsV2",
|
|
43774
|
+
USE_FIELDS_V2_PP: "useFieldsV2PP",
|
|
43775
|
+
USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
|
|
43776
|
+
USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone"};
|
|
43779
43777
|
var isExperimentEnabled = (experiments, spec) => experiments?.[spec] === true || experiments?.[spec] === "true" || experiments?.[spec] === "B";
|
|
43780
|
-
|
|
43781
|
-
// ../form-fields/dist/esm/contexts/experiments-context.js
|
|
43782
43778
|
var ExperimentsContext = React172.createContext(void 0);
|
|
43783
43779
|
var useExperiments = () => {
|
|
43784
43780
|
const experiments = React172.useContext(ExperimentsContext) || {};
|