bianic-ui 1.9.2 → 1.9.3
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2210,7 +2210,7 @@ var DropdownContainer = React.forwardRef(function DropdownContainer(propsComp, r
|
|
|
2210
2210
|
onClose();
|
|
2211
2211
|
};
|
|
2212
2212
|
return (open && (React.createElement(React.Fragment, null,
|
|
2213
|
-
isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen
|
|
2213
|
+
isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen", style: { zIndex: zIndex }, onClick: function () { return onClose(); } })),
|
|
2214
2214
|
React.createElement("div", __assign({ style: {
|
|
2215
2215
|
zIndex: zIndex + 10, // Ensure dropdown is above overlay
|
|
2216
2216
|
}, ref: ref, className: "bianic-dropdown-container bg-bia-white shadow-[0px_3px_20px_0px_rgba(0,0,0,0.20)] ".concat(containerClass) }, restProps), React.Children.map(children, function (child) {
|
package/dist/esm/index.js
CHANGED
|
@@ -2208,7 +2208,7 @@ var DropdownContainer = forwardRef(function DropdownContainer(propsComp, ref) {
|
|
|
2208
2208
|
onClose();
|
|
2209
2209
|
};
|
|
2210
2210
|
return (open && (React.createElement(React.Fragment, null,
|
|
2211
|
-
isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen
|
|
2211
|
+
isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen", style: { zIndex: zIndex }, onClick: function () { return onClose(); } })),
|
|
2212
2212
|
React.createElement("div", __assign({ style: {
|
|
2213
2213
|
zIndex: zIndex + 10, // Ensure dropdown is above overlay
|
|
2214
2214
|
}, ref: ref, className: "bianic-dropdown-container bg-bia-white shadow-[0px_3px_20px_0px_rgba(0,0,0,0.20)] ".concat(containerClass) }, restProps), Children.map(children, function (child) {
|
package/package.json
CHANGED