@zextras/carbonio-shell-ui 0.4.15 → 0.4.16
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/dist/CHANGELOG.md +14 -0
- package/dist/PKGBUILD +6 -6
- package/dist/commit +1 -1
- package/dist/component.json +3 -3
- package/dist/index.html +3 -3
- package/dist/{src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.6dd85d32.chunk.js → src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d34bb6cb.chunk.js} +83 -35
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d34bb6cb.chunk.js.map +1 -0
- package/dist/{src_workers_folder_ts.b953ead8.chunk.js → src_workers_folder_ts.8e2981f1.chunk.js} +2 -2
- package/dist/{src_workers_folder_ts.b953ead8.chunk.js.map → src_workers_folder_ts.8e2981f1.chunk.js.map} +1 -1
- package/dist/{src_workers_tag_ts.f72cbbc5.chunk.js → src_workers_tag_ts.7b1a9777.chunk.js} +2 -2
- package/dist/{src_workers_tag_ts.f72cbbc5.chunk.js.map → src_workers_tag_ts.7b1a9777.chunk.js.map} +1 -1
- package/dist/{style.b11f5282.css → style.992e5fb2.css} +1 -1
- package/dist/{style.b11f5282.css.map → style.992e5fb2.css.map} +1 -1
- package/dist/zapp-shell.bundle.js +2 -2
- package/dist/zapp-shell.bundle.js.map +1 -1
- package/package.json +1 -1
- package/types/exports/index.d.ts +6 -3
- package/types/misc/index.d.ts +1 -0
- package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.6dd85d32.chunk.js.map +0 -1
package/package.json
CHANGED
package/types/exports/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
7
7
|
|
|
8
|
-
import { ComponentType, FC } from 'react';
|
|
8
|
+
import { ComponentType, Dispatch, FC, SetStateAction } from 'react';
|
|
9
9
|
import { LinkProps } from 'react-router-dom';
|
|
10
10
|
import { Reducer, Store } from 'redux';
|
|
11
11
|
import { TFunction } from 'react-i18next';
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
SoapFetch
|
|
32
32
|
} from '../account';
|
|
33
33
|
import { Mods, TagActionResponse, CreateTagResponse, SoapNotify, SoapRefresh } from '../network';
|
|
34
|
-
import { HistoryParams, ShellModes } from '../misc';
|
|
34
|
+
import { HistoryParams, ShellModes, AccordionFolder } from '../misc';
|
|
35
35
|
import { Tag, Tags } from '../tags';
|
|
36
36
|
import { Folder, Folders } from '../folder';
|
|
37
37
|
import { QueryChip } from '../search';
|
|
@@ -219,8 +219,11 @@ export const useFoldersByView: (view: string) => Array<Folder>;
|
|
|
219
219
|
|
|
220
220
|
export const useFoldersAccordionByView: (
|
|
221
221
|
view: string,
|
|
222
|
-
CustomComponent: ComponentType<{ folder: Folder }
|
|
222
|
+
CustomComponent: ComponentType<{ folder: Folder }>,
|
|
223
|
+
itemProps?: (item: AccordionFolder) => Record<string, any>
|
|
223
224
|
) => Array<AccordionFolder>;
|
|
224
225
|
|
|
225
226
|
// Run Search
|
|
226
227
|
export const runSearch: (query: Array<QueryChip>, module: string) => void;
|
|
228
|
+
|
|
229
|
+
export const useLocalStorage: <T>(key: string, initialValue: T) => [T, Dispatch<SetStateAction<T>>];
|
package/types/misc/index.d.ts
CHANGED