@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.js
CHANGED
|
@@ -38741,16 +38741,6 @@ var EMPTY_VALUE = null;
|
|
|
38741
38741
|
// ../form-fields/dist/esm/constants/default-values.js
|
|
38742
38742
|
var NOW_VALUE = "$now";
|
|
38743
38743
|
|
|
38744
|
-
// ../form-fields/dist/esm/constants/experiments.js
|
|
38745
|
-
var EXPERIMENTS = {
|
|
38746
|
-
USE_FIELDS_V2: "specs.forms.UseFieldsV2",
|
|
38747
|
-
USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone",
|
|
38748
|
-
USE_FIELDS_V2_PP: "useFieldsV2PP",
|
|
38749
|
-
USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
|
|
38750
|
-
ENABLE_FORM_SCHEMA_V2_PRICING_PLANS: "enableFormSchemaV2PricingPlans",
|
|
38751
|
-
SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
|
|
38752
|
-
STREETLESS_LOCALITY_FALLBACK: "streetlessLocalityFallback"};
|
|
38753
|
-
|
|
38754
38744
|
// ../form-fields/dist/esm/constants/breakpoints.js
|
|
38755
38745
|
var Breakpoint = /* @__PURE__ */ (function(Breakpoint2) {
|
|
38756
38746
|
Breakpoint2["LARGE"] = "large";
|
|
@@ -43765,10 +43755,16 @@ function useTranslation2() {
|
|
|
43765
43755
|
return context;
|
|
43766
43756
|
}
|
|
43767
43757
|
|
|
43768
|
-
// ../form-
|
|
43758
|
+
// ../form-experiments/dist/esm/experiments.js
|
|
43759
|
+
var EXPERIMENTS = {
|
|
43760
|
+
ENABLE_FORM_SCHEMA_V2_PRICING_PLANS: "enableFormSchemaV2PricingPlans",
|
|
43761
|
+
STREETLESS_LOCALITY_FALLBACK: "streetlessLocalityFallback",
|
|
43762
|
+
SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
|
|
43763
|
+
USE_FIELDS_V2: "specs.forms.UseFieldsV2",
|
|
43764
|
+
USE_FIELDS_V2_PP: "useFieldsV2PP",
|
|
43765
|
+
USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
|
|
43766
|
+
USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone"};
|
|
43769
43767
|
var isExperimentEnabled = (experiments, spec) => experiments?.[spec] === true || experiments?.[spec] === "true" || experiments?.[spec] === "B";
|
|
43770
|
-
|
|
43771
|
-
// ../form-fields/dist/esm/contexts/experiments-context.js
|
|
43772
43768
|
var ExperimentsContext = createContext(void 0);
|
|
43773
43769
|
var useExperiments = () => {
|
|
43774
43770
|
const experiments = useContext(ExperimentsContext) || {};
|