@wix/form-public 0.581.0 → 0.582.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.js CHANGED
@@ -43885,6 +43885,7 @@ var EXPERIMENTS = {
43885
43885
  SUBMIT_SUCCESS_NO_FOCUS: "specs.forms.SubmitSuccessNoFocus",
43886
43886
  USE_FIELDS_V2: "specs.forms.UseFieldsV2",
43887
43887
  USE_FIELDS_V2_EVENTS: "useFieldsV2Events",
43888
+ USE_FIELDS_V2_IDENTITY: "useFieldsV2Identity",
43888
43889
  USE_FIELDS_V2_PP: "useFieldsV2PP",
43889
43890
  USE_FIELDS_V2_QUIZZES: "useFieldsV2Quizzes",
43890
43891
  USE_FIELDS_V2_STANDALONE: "useFieldsV2Standalone"};
@@ -51136,7 +51137,8 @@ var useFormView2 = (form, stepId, breakpoint) => {
51136
51137
  const useFormSchemaV2PricingPlans = experiments.isExperimentEnabled(EXPERIMENTS.ENABLE_FORM_SCHEMA_V2_PRICING_PLANS);
51137
51138
  const useFormSchemaV2Quizzes = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_QUIZZES);
51138
51139
  const useFieldsV2Events = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_EVENTS);
51139
- const useFieldsV2 = useFieldsV2App || useFieldsV2Events || useFieldsV2Standalone || useFormSchemaV2Quizzes || useFieldsV2PP || useFormSchemaV2PricingPlans;
51140
+ const useFieldsV2Identity = experiments.isExperimentEnabled(EXPERIMENTS.USE_FIELDS_V2_IDENTITY);
51141
+ const useFieldsV2 = useFieldsV2App || useFieldsV2Events || useFieldsV2Identity || useFieldsV2Standalone || useFormSchemaV2Quizzes || useFieldsV2PP || useFormSchemaV2PricingPlans;
51140
51142
  return useMemo(() => {
51141
51143
  return (form?.steps || []).filter((step) => !stepId || stepId === step.id).map((step) => {
51142
51144
  return createFormView({