@linzjs/lui 23.11.1 → 23.12.0

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,17 @@
1
+ # [23.12.0](https://github.com/linz/lui/compare/v23.11.2...v23.12.0) (2025-10-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * SURVEY-27089 add LuiPermissionDeniedPage ([#1250](https://github.com/linz/lui/issues/1250)) ([82caf9d](https://github.com/linz/lui/commit/82caf9ded76bfc7a4dd5b466a86cfd5a5a358e0b))
7
+
8
+ ## [23.11.2](https://github.com/linz/lui/compare/v23.11.1...v23.11.2) (2025-10-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * this button was submiting when inside a form ([#1251](https://github.com/linz/lui/issues/1251)) ([b354bb2](https://github.com/linz/lui/commit/b354bb2b39f1adf6da372e0f11956c3c223ba055))
14
+
1
15
  ## [23.11.1](https://github.com/linz/lui/compare/v23.11.0...v23.11.1) (2025-08-21)
2
16
 
3
17
 
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
+ import { LuiErrorIllustrationType } from './LuiErrorIllustration';
2
3
  export declare const LuiErrorPage: React.FC<React.PropsWithChildren<{
3
4
  header?: React.ReactElement;
4
5
  footer?: React.ReactElement;
5
6
  content?: React.ReactElement;
6
7
  illustration?: React.ReactElement;
8
+ type?: LuiErrorIllustrationType;
7
9
  }>>;
package/dist/index.js CHANGED
@@ -18108,7 +18108,7 @@ var LuiSearchBox = function (_a) {
18108
18108
  };
18109
18109
  var LuiSearchBoxButton = React__default["default"].forwardRef(function (props, ref) {
18110
18110
  var button = React.useMemo(function () {
18111
- return (React__default["default"].createElement(LuiButton, __assign({ level: "tertiary" }, props, { ref: ref, className: "LuiSearchBox-button" }),
18111
+ return (React__default["default"].createElement(LuiButton, __assign({ type: "button", level: "tertiary" }, props, { ref: ref, className: "LuiSearchBox-button" }),
18112
18112
  props.children,
18113
18113
  React__default["default"].createElement(LuiIcon, { size: "md", name: 'ic_keyboard_arrow_down', className: 'LuiSearchBox-button-icon', alt: '' })));
18114
18114
  }, [props, ref]);
@@ -18239,7 +18239,7 @@ var LuiErrorPage = function (props) {
18239
18239
  props.header,
18240
18240
  React__default["default"].createElement("div", { className: "LuiErrorPage-wrapper" },
18241
18241
  React__default["default"].createElement("div", { className: 'LuiErrorPage-content' }, props.content),
18242
- React__default["default"].createElement("div", { className: 'LuiErrorPage-image' }, props.illustration ? props.illustration : React__default["default"].createElement(LuiErrorIllustration, null))),
18242
+ React__default["default"].createElement("div", { className: 'LuiErrorPage-image' }, props.illustration ? (props.illustration) : (React__default["default"].createElement(LuiErrorIllustration, { type: props.type })))),
18243
18243
  props.footer));
18244
18244
  };
18245
18245