bianic-ui 1.15.0-alpha.4 → 1.15.0-alpha.5

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 CHANGED
@@ -2445,7 +2445,7 @@ var DropdownContainer = function (propsComp) {
2445
2445
  return;
2446
2446
  setPositionStyle(getDropdownStyle(anchorRef, dropdownRef));
2447
2447
  console.log('rect changed', rect);
2448
- }, [rect]);
2448
+ }, [rect === null || rect === void 0 ? void 0 : rect.left, rect === null || rect === void 0 ? void 0 : rect.top, rect === null || rect === void 0 ? void 0 : rect.width, rect === null || rect === void 0 ? void 0 : rect.height]);
2449
2449
  return (React.createElement(React.Fragment, null,
2450
2450
  isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen", style: { zIndex: zIndex }, onClick: function () { return onClose(); } })),
2451
2451
  reactDom.createPortal(React.createElement("div", __assign({ ref: dropdownRef, className: "absolute max-w-fit bianic-dropdown-container bg-bia-white shadow-[0px_3px_20px_0px_rgba(0,0,0,0.20)] ".concat(containerClass), style: __assign({ zIndex: zIndex + 10 }, positionStyle) }, restProps), React.Children.map(children, function (child) {
package/dist/esm/index.js CHANGED
@@ -2443,7 +2443,7 @@ var DropdownContainer = function (propsComp) {
2443
2443
  return;
2444
2444
  setPositionStyle(getDropdownStyle(anchorRef, dropdownRef));
2445
2445
  console.log('rect changed', rect);
2446
- }, [rect]);
2446
+ }, [rect === null || rect === void 0 ? void 0 : rect.left, rect === null || rect === void 0 ? void 0 : rect.top, rect === null || rect === void 0 ? void 0 : rect.width, rect === null || rect === void 0 ? void 0 : rect.height]);
2447
2447
  return (React.createElement(React.Fragment, null,
2448
2448
  isWithOverlay && (React.createElement("div", { className: "bianic-dropdown-overlay fixed left-0 top-0 h-screen w-screen", style: { zIndex: zIndex }, onClick: function () { return onClose(); } })),
2449
2449
  createPortal(React.createElement("div", __assign({ ref: dropdownRef, className: "absolute max-w-fit bianic-dropdown-container bg-bia-white shadow-[0px_3px_20px_0px_rgba(0,0,0,0.20)] ".concat(containerClass), style: __assign({ zIndex: zIndex + 10 }, positionStyle) }, restProps), Children.map(children, function (child) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "1.15.0-alpha.4",
6
+ "version": "1.15.0-alpha.5",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "scripts": {
9
9
  "rollup": "rollup -c",