@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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [23.7.2](https://github.com/linz/lui/compare/v23.7.1...v23.7.2) (2025-07-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * makes button type of button ([#1240](https://github.com/linz/lui/issues/1240)) ([5896ac5](https://github.com/linz/lui/commit/5896ac56658c2926ecacb95a0adb61b4ee2ff5a0))
7
+
1
8
  ## [23.7.1](https://github.com/linz/lui/compare/v23.7.0...v23.7.1) (2025-07-24)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -35482,7 +35482,7 @@ var Drawer = React.forwardRef(function (_a, ref) {
35482
35482
  // we don't want the children to rerender when other props change
35483
35483
  var drawerContent = React.useMemo(function () {
35484
35484
  return shouldMountChildren ? (React__default["default"].createElement("div", { className: "children", key: "children" },
35485
- !hideCloseButton && (React__default["default"].createElement("button", { tabIndex: 0, title: "Close Panel", className: "close-button lui-button lui-button-tertiary", onClick: onRequestClose },
35485
+ !hideCloseButton && (React__default["default"].createElement("button", { tabIndex: 0, title: "Close Panel", type: "button", className: "close-button lui-button lui-button-tertiary", onClick: onRequestClose },
35486
35486
  React__default["default"].createElement(LuiIcon, { alt: "", name: "ic_clear", size: "sm" }))),
35487
35487
  children)) : null;
35488
35488
  }, [shouldMountChildren, children, hideCloseButton, onRequestClose]);