@linzjs/lui 23.11.2 → 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,10 @@
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
+
1
8
  ## [23.11.2](https://github.com/linz/lui/compare/v23.11.1...v23.11.2) (2025-10-02)
2
9
 
3
10
 
@@ -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
@@ -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