@wix/form-public 0.481.0 → 0.482.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 +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -55716,12 +55716,13 @@ var FormViewerProvider = ({ i18n, bi: bi2, biFormFillSessionId, form, isMobile:
|
|
|
55716
55716
|
translationNamespace
|
|
55717
55717
|
]);
|
|
55718
55718
|
const formBi = useFormBi(form, bi2, biFormFillSessionId);
|
|
55719
|
-
const defaultPortalContainer = useMemo(() => compId ? ({ children: portalChildren }) => (
|
|
55720
|
-
|
|
55721
|
-
|
|
55722
|
-
|
|
55723
|
-
|
|
55724
|
-
|
|
55719
|
+
const defaultPortalContainer = useMemo(() => compId ? ({ children: portalChildren }) => /* @__PURE__ */ React171.createElement("div", {
|
|
55720
|
+
className: `${compId} ${compId}_ooi`,
|
|
55721
|
+
// no box = keeps the widget's CSS vars without inheriting its height and margins
|
|
55722
|
+
style: {
|
|
55723
|
+
display: "contents"
|
|
55724
|
+
}
|
|
55725
|
+
}, portalChildren) : void 0, [
|
|
55725
55726
|
compId
|
|
55726
55727
|
]);
|
|
55727
55728
|
const resolvedPortalContainer = PortalContainer ?? defaultPortalContainer;
|