@linzjs/lui 23.7.1 → 23.7.2

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/lui.esm.js CHANGED
@@ -35453,7 +35453,7 @@ var Drawer = forwardRef$1(function (_a, ref) {
35453
35453
  // we don't want the children to rerender when other props change
35454
35454
  var drawerContent = useMemo(function () {
35455
35455
  return shouldMountChildren ? (React__default.createElement("div", { className: "children", key: "children" },
35456
- !hideCloseButton && (React__default.createElement("button", { tabIndex: 0, title: "Close Panel", className: "close-button lui-button lui-button-tertiary", onClick: onRequestClose },
35456
+ !hideCloseButton && (React__default.createElement("button", { tabIndex: 0, title: "Close Panel", type: "button", className: "close-button lui-button lui-button-tertiary", onClick: onRequestClose },
35457
35457
  React__default.createElement(LuiIcon, { alt: "", name: "ic_clear", size: "sm" }))),
35458
35458
  children)) : null;
35459
35459
  }, [shouldMountChildren, children, hideCloseButton, onRequestClose]);