@layers-app/shared 0.0.23 → 0.0.24
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/components/AnimationWrapper/index.d.ts +2 -1
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +1 -2
- package/dist/components/AppContainer/components/MenuUserDropdown.d.ts +2 -2
- package/dist/components/AppContainer/components/MobileNavbar.d.ts +1 -2
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/types.d.ts +2 -0
- package/dist/components/AttachmentsGalleryModal/types.d.ts +5 -5
- package/dist/components/EmojiPicker/EmojiPanel.d.ts +2 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +2 -1
- package/dist/components/ErrorPage/components/Error403.d.ts +3 -0
- package/dist/components/ErrorPage/components/Error404.d.ts +2 -0
- package/dist/components/Logotype.d.ts +7 -0
- package/dist/components/NoData/NoData.d.ts +7 -3
- package/dist/components/PinModal/PinModal.d.ts +1 -0
- package/dist/components/PinModal/index.d.ts +2 -0
- package/dist/components/PinModal/slice.d.ts +20 -0
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +7 -2
- package/dist/components/SearchFilters/types.d.ts +3 -5
- package/dist/components/SortableList/SortableList.d.ts +20 -0
- package/dist/components/SortableList/components/SortableItem/SortableItem.d.ts +11 -0
- package/dist/components/SortableList/components/SortableItem/index.d.ts +1 -0
- package/dist/components/SortableList/components/SortableOverlay/SortableOverlay.d.ts +5 -0
- package/dist/components/SortableList/components/SortableOverlay/index.d.ts +1 -0
- package/dist/components/SortableList/components/index.d.ts +2 -0
- package/dist/components/SortableList/index.d.ts +1 -0
- package/dist/components/ThemeIndicator/index.d.ts +4 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -1
- package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts +11 -0
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +15 -3
- package/dist/helpers/generateLink.d.ts +6 -1
- package/dist/helpers/pickRandomIcon.d.ts +1 -0
- package/dist/hooks/useDateUtils.d.ts +9 -0
- package/dist/hooks/useMenu.d.ts +2 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +30517 -28085
- package/dist/index.umd.cjs +87 -86
- package/dist/store/aboutModal.d.ts +7 -0
- package/dist/store/timezoneStore.d.ts +16 -0
- package/dist/store/trashModal.d.ts +7 -0
- package/dist/store/workspacesOrder.d.ts +19 -0
- package/package.json +8 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface ModalState {
|
|
2
|
+
opened: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const useAboutModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ModalState>>;
|
|
5
|
+
export declare const openAboutModal: () => void;
|
|
6
|
+
export declare const closeAboutModal: () => void;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IWorkspacesOrderState {
|
|
2
|
+
timezone: string | null;
|
|
3
|
+
updateTimezone: (tz: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const useLocalTimezone: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<IWorkspacesOrderState>, "persist"> & {
|
|
6
|
+
persist: {
|
|
7
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<IWorkspacesOrderState, unknown>>) => void;
|
|
8
|
+
clearStorage: () => void;
|
|
9
|
+
rehydrate: () => void | Promise<void>;
|
|
10
|
+
hasHydrated: () => boolean;
|
|
11
|
+
onHydrate: (fn: (state: IWorkspacesOrderState) => void) => () => void;
|
|
12
|
+
onFinishHydration: (fn: (state: IWorkspacesOrderState) => void) => () => void;
|
|
13
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<IWorkspacesOrderState, unknown>>;
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface TrashModalState {
|
|
2
|
+
opened: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const useTrashModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<TrashModalState>>;
|
|
5
|
+
export declare const openTrashModal: () => void;
|
|
6
|
+
export declare const closeTrashModal: () => void;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface IOrder {
|
|
2
|
+
workspaceId: string;
|
|
3
|
+
}
|
|
4
|
+
interface IWorkspacesOrderState {
|
|
5
|
+
orders: IOrder[] | null;
|
|
6
|
+
updateOrder: (arr: IOrder[]) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const useWorkspacesOrder: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<IWorkspacesOrderState>, "persist"> & {
|
|
9
|
+
persist: {
|
|
10
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<IWorkspacesOrderState, unknown>>) => void;
|
|
11
|
+
clearStorage: () => void;
|
|
12
|
+
rehydrate: () => void | Promise<void>;
|
|
13
|
+
hasHydrated: () => boolean;
|
|
14
|
+
onHydrate: (fn: (state: IWorkspacesOrderState) => void) => () => void;
|
|
15
|
+
onFinishHydration: (fn: (state: IWorkspacesOrderState) => void) => () => void;
|
|
16
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<IWorkspacesOrderState, unknown>>;
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
19
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers-app/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"@emoji-mart/data": "^1.2.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@mantine/core": "7.
|
|
25
|
-
"@mantine/dates": "7.
|
|
26
|
-
"@mantine/dropzone": "7.
|
|
27
|
-
"@mantine/form": "7.
|
|
28
|
-
"@mantine/hooks": "7.
|
|
29
|
-
"@mantine/modals": "7.
|
|
30
|
-
"@mantine/notifications": "7.
|
|
24
|
+
"@mantine/core": "7.17.2",
|
|
25
|
+
"@mantine/dates": "7.17.2",
|
|
26
|
+
"@mantine/dropzone": "7.17.2",
|
|
27
|
+
"@mantine/form": "7.17.2",
|
|
28
|
+
"@mantine/hooks": "7.17.2",
|
|
29
|
+
"@mantine/modals": "7.17.2",
|
|
30
|
+
"@mantine/notifications": "7.17.2",
|
|
31
31
|
"@reduxjs/toolkit": "^2.2.7",
|
|
32
32
|
"@sinups/agg": "^2.0.0",
|
|
33
33
|
"@tabler/icons-react": "^3.7.0",
|