@linzjs/lui 13.0.0 → 13.1.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.
Files changed (96) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist/assets/icons/publish.svg +3 -0
  4. package/dist/assets/svg-content.d.ts +5 -40
  5. package/dist/assets/svg-content.tsx +74 -45
  6. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
  7. package/dist/components/LuiIcon/LuiIcon.d.ts +1 -42
  8. package/dist/components/LuiMenu/LuiMenu.d.ts +1 -0
  9. package/dist/components/lol/LOLActiveFirmMessage.d.ts +1 -0
  10. package/dist/components/lol/LOLAppLauncherMenu.d.ts +1 -0
  11. package/dist/components/lol/LOLAuthorisedLink.d.ts +1 -0
  12. package/dist/components/lol/LOLLogoutLink.d.ts +1 -0
  13. package/dist/components/lol/MockBackendUtils.d.ts +3 -3
  14. package/dist/index.js +71278 -3
  15. package/dist/index.js.map +1 -0
  16. package/dist/lui.esm.js +54441 -3695
  17. package/dist/lui.esm.js.map +1 -1
  18. package/package.json +21 -18
  19. package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
  20. package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
  21. package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
  22. package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
  23. package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
  24. package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
  25. package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
  26. package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
  27. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
  28. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
  29. package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
  30. package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
  31. package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
  32. package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
  33. package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
  34. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
  35. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
  36. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
  37. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
  38. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
  39. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
  40. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
  41. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
  42. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
  43. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
  44. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
  45. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
  46. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
  47. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
  48. package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
  49. package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
  50. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
  51. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
  52. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
  53. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
  54. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
  55. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
  56. package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
  57. package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
  58. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
  59. package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
  60. package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
  61. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
  62. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
  63. package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -20
  64. package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
  65. package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -13
  66. package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
  67. package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
  68. package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
  69. package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
  70. package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
  71. package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
  72. package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
  73. package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
  74. package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
  75. package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
  76. package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
  77. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
  78. package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
  79. package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
  80. package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
  81. package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
  82. package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
  83. package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
  84. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
  85. package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
  86. package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
  87. package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
  88. package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
  89. package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
  90. package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
  91. package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
  92. package/dist/lui.cjs.development.js +0 -20518
  93. package/dist/lui.cjs.development.js.map +0 -1
  94. package/dist/lui.cjs.production.min.js +0 -2
  95. package/dist/lui.cjs.production.min.js.map +0 -1
  96. package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ # [13.1.0](https://github.com/linz/lui/compare/v13.0.2...v13.1.0) (2022-01-31)
2
+
3
+
4
+ ### Features
5
+
6
+ * **Build:** Replace TSDX with Rollup ([#530](https://github.com/linz/lui/issues/530)) ([f40b8a1](https://github.com/linz/lui/commit/f40b8a1e85b9eb37b94c77f72a93fc12b4d85f2a))
7
+ * **Rollup:** PR to trigger master build for PR ([#542](https://github.com/linz/lui/issues/542)) ([7d7949c](https://github.com/linz/lui/commit/7d7949cb094766a52d62359e2ce9528f5985c12e))
8
+
9
+ ## [13.0.2](https://github.com/linz/lui/compare/v13.0.1...v13.0.2) (2022-01-31)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * We now pass consts into LuiLottieLight, Used to pass new object, which caused useEffect to trigger distroy ([#541](https://github.com/linz/lui/issues/541)) ([7db8b0e](https://github.com/linz/lui/commit/7db8b0e903bafe3fb26da2b849f5696a44ecf638))
15
+
16
+ ## [13.0.1](https://github.com/linz/lui/compare/v13.0.0...v13.0.1) (2022-01-31)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * handle destroy correctly for lottie ([#539](https://github.com/linz/lui/issues/539)) ([143d0f1](https://github.com/linz/lui/commit/143d0f1692f655e0c18a048d6536e3797dac29c3))
22
+
1
23
  # [13.0.0](https://github.com/linz/lui/compare/v12.2.0...v13.0.0) (2022-01-31)
2
24
 
3
25
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Lui - Linz User Interface
1
+ # Lui - Linz User Interface!
2
2
 
3
3
  > It's written in CSS and a React wrapper!!
4
4
  >
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2
+ <path d="M5 4h14v2H5zm0 10h4v6h6v-6h4l-7-7l-7 7zm8-2v6h-2v-6H9.83L12 9.83L14.17 12H13z" />
3
+ </svg>
@@ -1,41 +1,6 @@
1
1
  /// <reference types="react" />
2
- export declare const ic_account_circle: JSX.Element;
3
- export declare const ic_add_circle: JSX.Element;
4
- export declare const ic_add_circle_outline: JSX.Element;
5
- export declare const ic_arrow_back: JSX.Element;
6
- export declare const ic_arrow_back_ios: JSX.Element;
7
- export declare const ic_arrow_drop_down: JSX.Element;
8
- export declare const ic_arrow_drop_up: JSX.Element;
9
- export declare const ic_arrow_forward_ios: JSX.Element;
10
- export declare const ic_attachment: JSX.Element;
11
- export declare const ic_border_color: JSX.Element;
12
- export declare const ic_check: JSX.Element;
13
- export declare const ic_check_circle: JSX.Element;
14
- export declare const ic_check_circle_outline: JSX.Element;
15
- export declare const ic_clear: JSX.Element;
16
- export declare const ic_corporate_fare: JSX.Element;
17
- export declare const ic_create: JSX.Element;
18
- export declare const ic_error: JSX.Element;
19
- export declare const ic_error_outline: JSX.Element;
20
- export declare const ic_expand_less: JSX.Element;
21
- export declare const ic_expand_more: JSX.Element;
22
- export declare const ic_filter_list: JSX.Element;
23
- export declare const ic_flag: JSX.Element;
24
- export declare const ic_forward: JSX.Element;
25
- export declare const ic_insert_invitation: JSX.Element;
26
- export declare const ic_insert_photo: JSX.Element;
27
- export declare const ic_keyboard_arrow_down: JSX.Element;
28
- export declare const ic_keyboard_arrow_left: JSX.Element;
29
- export declare const ic_keyboard_arrow_right: JSX.Element;
30
- export declare const ic_keyboard_arrow_up: JSX.Element;
31
- export declare const ic_navigate_before: JSX.Element;
32
- export declare const ic_navigate_next: JSX.Element;
33
- export declare const ic_people_outline: JSX.Element;
34
- export declare const ic_person: JSX.Element;
35
- export declare const ic_person_add: JSX.Element;
36
- export declare const ic_remove_circle: JSX.Element;
37
- export declare const ic_remove_circle_outline: JSX.Element;
38
- export declare const ic_send: JSX.Element;
39
- export declare const ic_publish: JSX.Element;
40
- export declare const ic_view_week: JSX.Element;
41
- export declare const ic_warning: JSX.Element;
2
+ interface IconNameElementMap {
3
+ [key: string]: JSX.Element;
4
+ }
5
+ export declare const ICONS: IconNameElementMap;
6
+ export {};
@@ -1,249 +1,278 @@
1
+ // START OF GENERATED FILE`;
2
+
1
3
  // NOTE: This is a generated file, nothing you do here matters
2
4
  // The source of the all.svg file is located at './src/all.svg'
3
- // The script that generates this file is located at tools/svg-generator.js
4
- // To rebuild this file run 'yarn run generate-svgs'
5
+ // The script that generates this file is located at /svg-generator.js
6
+ // To rebuild this file run 'npm run generate-svgs'
7
+
5
8
  import React from 'react';
6
9
 
10
+ interface IconNameElementMap {
11
+ [key: string]: JSX.Element;
12
+ }
13
+
14
+ let iconMap: IconNameElementMap = {};
15
+
7
16
  // @TODO This is a generated file, nothing is safe.
8
17
 
9
- export const ic_account_circle = (
18
+ iconMap['ic_account_circle'] = (
10
19
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
11
20
  <path d="M12 19.219q1.594 0 3.352-.938T18 15.984q-.047-1.313-2.109-2.203T12 12.89t-3.891.867T6 15.984q.891 1.359 2.648 2.297t3.352.938zm0-14.203q-1.219 0-2.109.891T9 8.016t.891 2.109 2.109.891 2.109-.891T15 8.016t-.891-2.109T12 5.016zm0-3q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z" />
12
21
  </svg>
13
22
  );
14
23
 
15
- export const ic_add_circle = (
24
+ iconMap['ic_add_circle'] = (
16
25
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
17
26
  <path d="M17.016 12.984v-1.969h-4.031V6.984h-1.969v4.031H6.985v1.969h4.031v4.031h1.969v-4.031h4.031zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z" />
18
27
  </svg>
19
28
  );
20
29
 
21
- export const ic_add_circle_outline = (
30
+ iconMap['ic_add_circle_outline'] = (
22
31
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
23
32
  <path d="M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm.984 4.968v4.031h4.031v1.969h-4.031v4.031h-1.969v-4.031H6.984v-1.969h4.031V6.984h1.969z" />
24
33
  </svg>
25
34
  );
26
35
 
27
- export const ic_arrow_back = (
36
+ iconMap['ic_arrow_back'] = (
28
37
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
29
38
  <path d="M20.016 11.016v1.969H7.828l5.578 5.625L12 20.016 3.984 12 12 3.984l1.406 1.406-5.578 5.625h12.188z" />
30
39
  </svg>
31
40
  );
32
41
 
33
- export const ic_arrow_back_ios = (
42
+ iconMap['ic_arrow_back_ios'] = (
34
43
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
35
44
  <path d="M17.836 3.891 9.727 12l8.109 8.109-1.781 1.781-9.891-9.891 9.891-9.891z" />
36
45
  </svg>
37
46
  );
38
47
 
39
- export const ic_arrow_drop_down = (
48
+ iconMap['ic_arrow_drop_down'] = (
40
49
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
41
50
  <path d="M6.984 9.492h10.031l-5.016 5.016z" />
42
51
  </svg>
43
52
  );
44
53
 
45
- export const ic_arrow_drop_up = (
54
+ iconMap['ic_arrow_drop_up'] = (
46
55
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
47
56
  <path d="M6.984 14.508 12 9.492l5.016 5.016H6.985z" />
48
57
  </svg>
49
58
  );
50
59
 
51
- export const ic_arrow_forward_ios = (
60
+ iconMap['ic_arrow_forward_ios'] = (
52
61
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
53
62
  <path d="m5.93 4.125 2.156-2.109L18.07 12l-9.984 9.984-2.156-2.109L13.852 12z" />
54
63
  </svg>
55
64
  );
56
65
 
57
- export const ic_attachment = (
66
+ iconMap['ic_attachment'] = (
58
67
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
59
68
  <path d="M2.016 12.023q0-2.297 1.594-3.914t3.891-1.617h10.5q1.641 0 2.813 1.195t1.172 2.836-1.172 2.813-2.813 1.172H9.517q-1.031 0-1.781-.727t-.75-1.758.75-1.781 1.781-.75h7.5v2.016H9.423q-.422 0-.422.492t.422.492h8.578q.797 0 1.406-.586t.609-1.383-.609-1.406-1.406-.609h-10.5q-1.453 0-2.484 1.031t-1.031 2.484 1.031 2.461 2.484 1.008h9.516v2.016H7.501q-2.297 0-3.891-1.594t-1.594-3.891z" />
60
69
  </svg>
61
70
  );
62
71
 
63
- export const ic_border_color = (
72
+ iconMap['ic_border_color'] = (
64
73
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
65
74
  <path d="M0 20.016h24V24H0v-3.984zM20.719 4.031 18.75 6 15 2.25 16.969.281Q17.25 0 17.672 0t.703.281l2.344 2.344q.281.281.281.703t-.281.703zm-2.953 2.953L7.735 17.015h-3.75v-3.75L14.016 3.234z" />
66
75
  </svg>
67
76
  );
68
77
 
69
- export const ic_check = (
78
+ iconMap['ic_check'] = (
70
79
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
71
80
  <path d="M8.789 15.891 19.383 5.297l1.406 1.406-12 12-5.578-5.578 1.406-1.406z" />
72
81
  </svg>
73
82
  );
74
83
 
75
- export const ic_check_circle = (
84
+ iconMap['ic_check_circle'] = (
76
85
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
77
86
  <path d="m9.984 17.016 9-9-1.406-1.453-7.594 7.594-3.563-3.563L5.015 12zm2.016-15q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z" />
78
87
  </svg>
79
88
  );
80
89
 
81
- export const ic_check_circle_outline = (
90
+ iconMap['ic_check_circle_outline'] = (
82
91
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
83
92
  <path d="M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm4.594 5.578L18 9l-8.016 8.016L5.015 12l1.406-1.406 3.563 3.563z" />
84
93
  </svg>
85
94
  );
86
95
 
87
- export const ic_clear = (
96
+ iconMap['ic_clear'] = (
88
97
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
89
98
  <path d="M18.984 6.422 13.406 12l5.578 5.578-1.406 1.406L12 13.406l-5.578 5.578-1.406-1.406L10.594 12 5.016 6.422l1.406-1.406L12 10.594l5.578-5.578z" />
90
99
  </svg>
91
100
  );
92
101
 
93
- export const ic_corporate_fare = (
102
+ iconMap['ic_corporate_fare'] = (
94
103
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
95
104
  <path d="M12 6.984V3H2.016v18h19.969V6.984h-9.984zm-2.016 12h-6v-1.969h6v1.969zm0-3.984h-6v-2.016h6V15zm0-3.984h-6V9h6v2.016zm0-4.032h-6V5.015h6v1.969zm10.032 12H12V9h8.016v9.984zM18 11.016h-3.984v1.969H18v-1.969zM18 15h-3.984v2.016H18V15z" />
96
105
  </svg>
97
106
  );
98
107
 
99
- export const ic_create = (
108
+ iconMap['ic_create'] = (
100
109
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
101
110
  <path d="m20.719 7.031-1.828 1.828-3.75-3.75 1.828-1.828Q17.25 3 17.672 3t.703.281l2.344 2.344q.281.281.281.703t-.281.703zM3 17.25 14.063 6.187l3.75 3.75L6.75 21H3v-3.75z" />
102
111
  </svg>
103
112
  );
104
113
 
105
- export const ic_error = (
114
+ iconMap['ic_error'] = (
106
115
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
107
116
  <path d="M12.984 12.984v-6h-1.969v6h1.969zm0 4.032V15h-1.969v2.016h1.969zm-.984-15q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z" />
108
117
  </svg>
109
118
  );
110
119
 
111
- export const ic_error_outline = (
120
+ iconMap['ic_error_outline'] = (
112
121
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
113
122
  <path d="M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm-.984 4.968h1.969v6h-1.969v-6zm0 8.016h1.969v2.016h-1.969V15z" />
114
123
  </svg>
115
124
  );
116
125
 
117
- export const ic_expand_less = (
126
+ iconMap['ic_expand_less'] = (
118
127
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
119
128
  <path d="m12 8.297 6 6-1.406 1.406L12 11.109l-4.594 4.594L6 14.297z" />
120
129
  </svg>
121
130
  );
122
131
 
123
- export const ic_expand_more = (
132
+ iconMap['ic_expand_more'] = (
124
133
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
125
134
  <path d="M16.594 8.297 18 9.703l-6 6-6-6 1.406-1.406L12 12.891z" />
126
135
  </svg>
127
136
  );
128
137
 
129
- export const ic_filter_list = (
138
+ iconMap['ic_filter_list'] = (
130
139
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
131
140
  <path d="M6 12.984v-1.969h12v1.969H6zM3 6h18v2.016H3V6zm6.984 12v-2.016h4.031V18H9.984z" />
132
141
  </svg>
133
142
  );
134
143
 
135
- export const ic_flag = (
144
+ iconMap['ic_flag'] = (
136
145
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
137
146
  <path d="M13.875 5.508H19.5v9.984h-7.031l-.375-1.969H6.469v6.984H4.5V3.491h9z" />
138
147
  </svg>
139
148
  );
140
149
 
141
- export const ic_forward = (
150
+ iconMap['ic_forward'] = (
142
151
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
143
152
  <path d="M12 8.016V3.985l8.016 8.016L12 20.017v-4.031H3.984V8.017H12z" />
144
153
  </svg>
145
154
  );
146
155
 
147
- export const ic_insert_invitation = (
156
+ iconMap['ic_insert_invitation'] = (
148
157
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
149
158
  <path d="M18.984 19.992V9.023H5.015v10.969h13.969zm-3-18H18v2.016h.984q.797 0 1.406.609t.609 1.406v13.969q0 .797-.609 1.406t-1.406.609H5.015q-.844 0-1.43-.586t-.586-1.43V6.022q0-.797.586-1.406t1.43-.609h.984V1.991h2.016v2.016h7.969V1.991zm1.032 11.016v5.016H12v-5.016h5.016z" />
150
159
  </svg>
151
160
  );
152
161
 
153
- export const ic_insert_photo = (
162
+ iconMap['ic_insert_photo'] = (
154
163
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
155
164
  <path d="M8.484 13.5 5.015 18h13.969l-4.5-6-3.469 4.5zM21 18.984q0 .797-.609 1.406t-1.406.609H5.016q-.797 0-1.406-.609t-.609-1.406V5.015q0-.797.609-1.406T5.016 3h13.969q.797 0 1.406.609T21 5.015v13.969z" />
156
165
  </svg>
157
166
  );
158
167
 
159
- export const ic_keyboard_arrow_down = (
168
+ iconMap['ic_keyboard_arrow_down'] = (
160
169
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
161
170
  <path d="M7.406 8.297 12 12.891l4.594-4.594L18 9.703l-6 6-6-6z" />
162
171
  </svg>
163
172
  );
164
173
 
165
- export const ic_keyboard_arrow_left = (
174
+ iconMap['ic_keyboard_arrow_left'] = (
166
175
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
167
176
  <path d="M15.703 16.594 14.297 18l-6-6 6-6 1.406 1.406L11.109 12z" />
168
177
  </svg>
169
178
  );
170
179
 
171
- export const ic_keyboard_arrow_right = (
180
+ iconMap['ic_keyboard_arrow_right'] = (
172
181
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
173
182
  <path d="M8.297 16.594 12.891 12 8.297 7.406 9.703 6l6 6-6 6z" />
174
183
  </svg>
175
184
  );
176
185
 
177
- export const ic_keyboard_arrow_up = (
186
+ iconMap['ic_keyboard_arrow_up'] = (
178
187
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
179
188
  <path d="M7.406 15.703 6 14.297l6-6 6 6-1.406 1.406L12 11.109z" />
180
189
  </svg>
181
190
  );
182
191
 
183
- export const ic_navigate_before = (
192
+ iconMap['ic_lock'] = (
193
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 22">
194
+ <path
195
+ d="M14 7.5H13V5.5C13 2.74 10.76 0.5 8 0.5C5.24 0.5 3 2.74 3 5.5V7.5H2C0.9 7.5 0 8.4 0 9.5V19.5C0 20.6 0.9 21.5 2 21.5H14C15.1 21.5 16 20.6 16 19.5V9.5C16 8.4 15.1 7.5 14 7.5ZM8 16.5C6.9 16.5 6 15.6 6 14.5C6 13.4 6.9 12.5 8 12.5C9.1 12.5 10 13.4 10 14.5C10 15.6 9.1 16.5 8 16.5ZM11.1 7.5H4.9V5.5C4.9 3.79 6.29 2.4 8 2.4C9.71 2.4 11.1 3.79 11.1 5.5V7.5Z"
196
+ fill="#6B6966"
197
+ />
198
+ </svg>
199
+ );
200
+
201
+ iconMap['ic_navigate_before'] = (
184
202
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
185
203
  <path d="M15.703 7.406 11.109 12l4.594 4.594L14.297 18l-6-6 6-6z" />
186
204
  </svg>
187
205
  );
188
206
 
189
- export const ic_navigate_next = (
207
+ iconMap['ic_navigate_next'] = (
190
208
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
191
209
  <path d="m9.703 6 6 6-6 6-1.406-1.406L12.891 12 8.297 7.406z" />
192
210
  </svg>
193
211
  );
194
212
 
195
- export const ic_people_outline = (
213
+ iconMap['ic_people_outline'] = (
196
214
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
197
215
  <path d="M16.5 6.516q-.797 0-1.406.586t-.609 1.383.609 1.406 1.406.609 1.406-.609.609-1.406-.609-1.383-1.406-.586zm0 5.484q-1.453 0-2.484-1.031t-1.031-2.484 1.031-2.461T16.5 5.016t2.484 1.008 1.031 2.461-1.031 2.484T16.5 12zm-9-5.484q-.797 0-1.406.586t-.609 1.383.609 1.406T7.5 10.5t1.406-.609.609-1.406-.609-1.383T7.5 6.516zM7.5 12q-1.453 0-2.484-1.031T3.985 8.485t1.031-2.461T7.5 5.016t2.484 1.008 1.031 2.461-1.031 2.484T7.5 12zm14.016 5.484v-1.219q0-.469-1.664-1.125t-3.352-.656q-1.219 0-3 .563.516.609.516 1.219v1.219h7.5zm-9 0v-1.219q0-.469-1.664-1.125T7.5 14.484t-3.352.656-1.664 1.125v1.219h10.031zm3.984-4.5q2.016 0 4.266.914t2.25 2.367v2.719H.985v-2.719q0-1.453 2.25-2.367t4.266-.914q2.203 0 4.5 1.031 2.297-1.031 4.5-1.031z" />
198
216
  </svg>
199
217
  );
200
218
 
201
- export const ic_person = (
219
+ iconMap['ic_person'] = (
202
220
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
203
221
  <path d="M12 14.016q2.531 0 5.273 1.102t2.742 2.883v2.016H3.984v-2.016q0-1.781 2.742-2.883t5.273-1.102zM12 12q-1.641 0-2.813-1.172T8.015 8.015t1.172-2.836T12 3.984t2.813 1.195 1.172 2.836-1.172 2.813T12 12z" />
204
222
  </svg>
205
223
  );
206
224
 
207
- export const ic_person_add = (
225
+ iconMap['ic_person_add'] = (
208
226
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
209
227
  <path d="M15 14.016q2.531 0 5.273 1.102t2.742 2.883v2.016H6.984v-2.016q0-1.781 2.742-2.883t5.273-1.102zM6 9.984h3V12H6v3H3.984v-3h-3V9.984h3v-3H6v3zM15 12q-1.641 0-2.813-1.172t-1.172-2.813 1.172-2.836T15 3.984t2.813 1.195 1.172 2.836-1.172 2.813T15 12z" />
210
228
  </svg>
211
229
  );
212
230
 
213
- export const ic_remove_circle = (
231
+ iconMap['ic_publish'] = (
232
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
233
+ <path d="M5 4h14v2H5zm0 10h4v6h6v-6h4l-7-7l-7 7zm8-2v6h-2v-6H9.83L12 9.83L14.17 12H13z" />
234
+ </svg>
235
+ );
236
+
237
+ iconMap['ic_remove_circle'] = (
214
238
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
215
239
  <path d="M17.016 12.984v-1.969H6.985v1.969h10.031zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z" />
216
240
  </svg>
217
241
  );
218
242
 
219
- export const ic_remove_circle_outline = (
243
+ iconMap['ic_remove_circle_outline'] = (
220
244
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
221
245
  <path d="M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm-5.016 9h10.031v1.969H6.984v-1.969z" />
222
246
  </svg>
223
247
  );
224
248
 
225
- export const ic_send = (
249
+ iconMap['ic_send'] = (
226
250
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
227
251
  <path d="M1.5 21v-6.984L16.5 12l-15-2.016V3l21 9z" />
228
252
  </svg>
229
253
  );
230
254
 
231
- export const ic_publish = (
232
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
233
- <path d="M5 4h14v2H5zm0 10h4v6h6v-6h4l-7-7l-7 7zm8-2v6h-2v-6H9.83L12 9.83L14.17 12H13z" />
255
+ iconMap['ic_tick'] = (
256
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11">
257
+ <path
258
+ fill="#FFF"
259
+ d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z"
260
+ />
234
261
  </svg>
235
262
  );
236
263
 
237
- export const ic_view_week = (
264
+ iconMap['ic_view_week'] = (
238
265
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
239
266
  <path d="M13.476 5.016q.422 0 .727.281t.305.703v12q0 .422-.305.703t-.727.281h-3q-.422 0-.703-.281T9.492 18V6q0-.422.281-.703t.703-.281h3zm7.032 0q.422 0 .703.281t.281.703v12q0 .422-.281.703t-.703.281h-3q-.422 0-.727-.281T16.476 18V6q0-.422.305-.703t.727-.281h3zm-14.016 0q.422 0 .703.281T7.476 6v12q0 .422-.281.703t-.703.281h-3q-.422 0-.703-.281T2.508 18V6q0-.422.281-.703t.703-.281h3z" />
240
267
  </svg>
241
268
  );
242
269
 
243
- export const ic_warning = (
270
+ iconMap['ic_warning'] = (
244
271
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
245
272
  <path d="M12.984 14.508v-4.031h-1.969v4.031h1.969zm0 3.984v-2.016h-1.969v2.016h1.969zm-12 3L12 2.508l11.016 18.984H.985z" />
246
273
  </svg>
247
274
  );
248
275
 
249
- // END OF FILE
276
+ export const ICONS = iconMap;
277
+
278
+ // END OF GENERATED FILE
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface LuiFileInputBoxProps {
2
3
  fileDescription: string;
3
4
  acceptedExtensions: string[];
@@ -1,46 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const ICONS: {
3
- ic_account_circle: JSX.Element;
4
- ic_add_circle_outline: JSX.Element;
5
- ic_add_circle: JSX.Element;
6
- ic_arrow_back_ios: JSX.Element;
7
- ic_arrow_back: JSX.Element;
8
- ic_arrow_drop_down: JSX.Element;
9
- ic_arrow_drop_up: JSX.Element;
10
- ic_arrow_forward_ios: JSX.Element;
11
- ic_attachment: JSX.Element;
12
- ic_border_color: JSX.Element;
13
- ic_check_circle_outline: JSX.Element;
14
- ic_check_circle: JSX.Element;
15
- ic_check: JSX.Element;
16
- ic_clear: JSX.Element;
17
- ic_corporate_fare: JSX.Element;
18
- ic_create: JSX.Element;
19
- ic_error_outline: JSX.Element;
20
- ic_error: JSX.Element;
21
- ic_expand_less: JSX.Element;
22
- ic_expand_more: JSX.Element;
23
- ic_filter_list: JSX.Element;
24
- ic_flag: JSX.Element;
25
- ic_forward: JSX.Element;
26
- ic_insert_invitation: JSX.Element;
27
- ic_insert_photo: JSX.Element;
28
- ic_keyboard_arrow_down: JSX.Element;
29
- ic_keyboard_arrow_left: JSX.Element;
30
- ic_keyboard_arrow_right: JSX.Element;
31
- ic_keyboard_arrow_up: JSX.Element;
32
- ic_navigate_before: JSX.Element;
33
- ic_navigate_next: JSX.Element;
34
- ic_people_outline: JSX.Element;
35
- ic_person_add: JSX.Element;
36
- ic_person: JSX.Element;
37
- ic_publish: JSX.Element;
38
- ic_remove_circle_outline: JSX.Element;
39
- ic_remove_circle: JSX.Element;
40
- ic_send: JSX.Element;
41
- ic_view_week: JSX.Element;
42
- ic_warning: JSX.Element;
43
- };
2
+ import { ICONS } from '../../assets/svg-content';
44
3
  declare type IconSize = keyof typeof ICON_SIZES;
45
4
  declare type IconStatus = keyof typeof ICON_STATUS;
46
5
  export declare type IconName = keyof typeof ICONS;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlledMenuProps, MenuProps } from '@szhsin/react-menu';
2
3
  import '@szhsin/react-menu/dist/index.css';
3
4
  /**
@@ -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>;