@wix/form-public 0.581.0 → 0.583.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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -43895,6 +43895,7 @@ var EXPERIMENTS = {
|
|
|
43895
43895
|
SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
|
|
43896
43896
|
USE_FIELDS_V2: "specs.forms.UseFieldsV2",
|
|
43897
43897
|
USE_FIELDS_V2_EVENTS: "useFieldsV2Events",
|
|
43898
|
+
USE_FIELDS_V2_IDENTITY: "useFieldsV2Identity",
|
|
43898
43899
|
USE_FIELDS_V2_PP: "useFieldsV2PP",
|
|
43899
43900
|
USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
|
|
43900
43901
|
USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone"};
|
|
@@ -51146,7 +51147,8 @@ var useFormView2 = (form, stepId, breakpoint) => {
|
|
|
51146
51147
|
const useFormSchemaV2PricingPlans = experiments.isExperimentEnabled(EXPERIMENTS.ENABLE_FORM_SCHEMA_V2_PRICING_PLANS);
|
|
51147
51148
|
const useFormSchemaV2Quizzes = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_QUIZZES);
|
|
51148
51149
|
const useFieldsV2Events = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_EVENTS);
|
|
51149
|
-
const
|
|
51150
|
+
const useFieldsV2Identity = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_IDENTITY);
|
|
51151
|
+
const useFieldsV2 = useFieldsV2App || useFieldsV2Events || useFieldsV2Identity || useFieldsV2Standalone || useFormSchemaV2Quizzes || useFieldsV2PP || useFormSchemaV2PricingPlans;
|
|
51150
51152
|
return React178.useMemo(() => {
|
|
51151
51153
|
return (form?.steps || []).filter((step) => !stepId || stepId === step.id).map((step) => {
|
|
51152
51154
|
return createFormView({
|