@linzjs/lui 21.24.2 → 21.24.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/CHANGELOG.md +7 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +1 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [21.24.3](https://github.com/linz/lui/compare/v21.24.2...v21.24.3) (2024-03-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Splitter/Control:** prevent splitter control button from submitting a form by default ([#1105](https://github.com/linz/lui/issues/1105)) ([073dc30](https://github.com/linz/lui/commit/073dc30aa6e794c28c25a029c65f3f0bb36b357a))
|
|
7
|
+
|
|
1
8
|
## [21.24.2](https://github.com/linz/lui/compare/v21.24.1...v21.24.2) (2024-03-07)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -58558,7 +58558,7 @@ var Control = React.forwardRef(function (props, forwardRef) {
|
|
|
58558
58558
|
observer.observe(separator, { attributeFilter: ['aria-valuenow'] });
|
|
58559
58559
|
return function () { return observer.disconnect(); };
|
|
58560
58560
|
}, [ref, side]);
|
|
58561
|
-
return (React__default["default"].createElement(LuiButton, __assign({ ref: ref, level: "primary" }, rest, { style: __assign(__assign({}, rest === null || rest === void 0 ? void 0 : rest.style), { width: squareButtonSide, height: squareButtonSide, borderRadius: '50%' }), className: clsx('Control', 'lui-button-icon-only', 'lui-box-shadow', rest === null || rest === void 0 ? void 0 : rest.className) }), (rest === null || rest === void 0 ? void 0 : rest.children) || React__default["default"].createElement(ControlIcon, { parent: ref, side: side })));
|
|
58561
|
+
return (React__default["default"].createElement(LuiButton, __assign({ ref: ref, level: "primary", type: "button" }, rest, { style: __assign(__assign({}, rest === null || rest === void 0 ? void 0 : rest.style), { width: squareButtonSide, height: squareButtonSide, borderRadius: '50%' }), className: clsx('Control', 'lui-button-icon-only', 'lui-box-shadow', rest === null || rest === void 0 ? void 0 : rest.className) }), (rest === null || rest === void 0 ? void 0 : rest.children) || React__default["default"].createElement(ControlIcon, { parent: ref, side: side })));
|
|
58562
58562
|
});
|
|
58563
58563
|
var getButtonProps = function (button, side) {
|
|
58564
58564
|
var _a;
|