@linzjs/lui 12.1.4 → 12.2.0-roll-up-3.1

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
  3. package/dist/components/LuiModal/LuiModal.d.ts +1 -0
  4. package/dist/components/lol/LOLActiveFirmMessage.d.ts +1 -0
  5. package/dist/components/lol/LOLAppLauncherMenu.d.ts +1 -0
  6. package/dist/components/lol/LOLAuthorisedLink.d.ts +1 -0
  7. package/dist/components/lol/LOLLogoutLink.d.ts +1 -0
  8. package/dist/components/lol/MockBackendUtils.d.ts +3 -3
  9. package/dist/index.js +62437 -3
  10. package/dist/index.js.map +1 -0
  11. package/dist/lui.esm.js +45570 -3685
  12. package/dist/lui.esm.js.map +1 -1
  13. package/package.json +15 -10
  14. package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
  15. package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
  16. package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
  17. package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
  18. package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
  19. package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
  20. package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
  21. package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
  22. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
  23. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
  24. package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
  25. package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
  26. package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
  27. package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
  28. package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
  29. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
  30. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
  31. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
  32. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
  33. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
  34. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
  35. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
  36. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
  37. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
  38. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
  39. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
  40. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
  41. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
  42. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
  43. package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
  44. package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
  45. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
  46. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
  47. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
  48. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
  49. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
  50. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
  51. package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
  52. package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
  53. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
  54. package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
  55. package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
  56. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
  57. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
  58. package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -19
  59. package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
  60. package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -12
  61. package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
  62. package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
  63. package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
  64. package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
  65. package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
  66. package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
  67. package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
  68. package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
  69. package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
  70. package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
  71. package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
  72. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
  73. package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
  74. package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
  75. package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
  76. package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
  77. package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
  78. package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
  79. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
  80. package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
  81. package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
  82. package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
  83. package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
  84. package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
  85. package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
  86. package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
  87. package/dist/lui.cjs.development.js +0 -20537
  88. package/dist/lui.cjs.development.js.map +0 -1
  89. package/dist/lui.cjs.production.min.js +0 -2
  90. package/dist/lui.cjs.production.min.js.map +0 -1
  91. package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [12.2.0](https://github.com/linz/lui/compare/v12.1.4...v12.2.0) (2022-01-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **LuiModal:** Added prop appendToElement to LuiModal to be used as parentSelector in react-modal ([#529](https://github.com/linz/lui/issues/529)) ([5a81791](https://github.com/linz/lui/commit/5a81791a68592fcb526636056a93750b6c28ceea))
7
+
1
8
  ## [12.1.4](https://github.com/linz/lui/compare/v12.1.3...v12.1.4) (2022-01-20)
2
9
 
3
10
 
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface LuiFileInputBoxProps {
2
3
  fileDescription: string;
3
4
  acceptedExtensions: string[];
@@ -7,6 +7,7 @@ interface ILuiModal {
7
7
  maxWidth?: boolean;
8
8
  headingText?: string;
9
9
  lowContrast?: boolean;
10
+ appendToElement?: () => HTMLElement;
10
11
  }
11
12
  export declare const LuiModal: React.FC<ILuiModal>;
12
13
  export declare const LuiAlertModal: React.FC<{
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Size } from '../common/ResponsiveUtils';
2
3
  export interface ILOLActiveFirmMessageProperties {
3
4
  showFrom?: Size;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface ILOLAppLauncherMenuProps {
2
3
  pathname: string;
3
4
  enableNOCLink?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface LOLAuthorisedLinkProps {
2
3
  label: string;
3
4
  path: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface Props {
2
3
  redirectPath: () => string;
3
4
  }
@@ -9,7 +9,7 @@ interface IApi {
9
9
  }
10
10
  export declare const Api: {
11
11
  LOGIN: {
12
- handler: <RequestBodyType = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType = any, RequestParamsType extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: string | RegExp, resolver: ResponseResolver<MockedRequest<RequestBodyType, RequestParamsType>, {
12
+ handler: <RequestBodyType = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType = any, RequestParamsType extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType, RequestParamsType>, {
13
13
  set: typeof import("msw/lib/types/context").set;
14
14
  status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
15
15
  cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
@@ -37,7 +37,7 @@ export declare const Api: {
37
37
  pathname: string;
38
38
  };
39
39
  LOGOUT: {
40
- handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: string | RegExp, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
40
+ handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
41
41
  set: typeof import("msw/lib/types/context").set;
42
42
  status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
43
43
  cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
@@ -65,7 +65,7 @@ export declare const Api: {
65
65
  pathname: string;
66
66
  };
67
67
  GET_USER_INFO: {
68
- handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: string | RegExp, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
68
+ handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw/lib/types").RequestParams = import("msw/lib/types").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
69
69
  set: typeof import("msw/lib/types/context").set;
70
70
  status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
71
71
  cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;