@wix/form-public 0.218.0 → 0.219.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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -26398,6 +26398,14 @@ var addFieldToSchema = (form, field, layout) => {
|
|
|
26398
26398
|
steps: newSteps || form.steps
|
|
26399
26399
|
};
|
|
26400
26400
|
};
|
|
26401
|
+
var BiContext = /* @__PURE__ */ React42.createContext(void 0);
|
|
26402
|
+
function useBi() {
|
|
26403
|
+
const context = React42.useContext(BiContext);
|
|
26404
|
+
if (context === void 0) {
|
|
26405
|
+
throw new Error("useBi must be used within a BiProvider");
|
|
26406
|
+
}
|
|
26407
|
+
return context;
|
|
26408
|
+
}
|
|
26401
26409
|
|
|
26402
26410
|
// ../form-fields/dist/esm/ui/shared/numeric-input-utils.js
|
|
26403
26411
|
var getPattern = (multipleOf) => {
|
|
@@ -26739,14 +26747,6 @@ function usePanorama() {
|
|
|
26739
26747
|
})
|
|
26740
26748
|
};
|
|
26741
26749
|
}
|
|
26742
|
-
var BiContext = /* @__PURE__ */ React42.createContext(void 0);
|
|
26743
|
-
function useBi() {
|
|
26744
|
-
const context = React42.useContext(BiContext);
|
|
26745
|
-
if (context === void 0) {
|
|
26746
|
-
throw new Error("useBi must be used within a BiProvider");
|
|
26747
|
-
}
|
|
26748
|
-
return context;
|
|
26749
|
-
}
|
|
26750
26750
|
var ForcedState = /* @__PURE__ */ (function(ForcedState2) {
|
|
26751
26751
|
ForcedState2["BUTTONS_HOVER"] = "BUTTONS_HOVER";
|
|
26752
26752
|
ForcedState2["NEXT_BUTTON_HOVER"] = "NEXT_BUTTON_HOVER";
|