utopia-ui 3.0.2 → 3.0.3
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/AppShell/SideBar.d.ts +1 -0
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +1 -0
- package/dist/Components/Auth/useAuth.d.ts +2 -2
- package/dist/Components/Map/hooks/useClusterRef.d.ts +1 -1
- package/dist/Components/Map/hooks/useSelectPosition.d.ts +1 -1
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +1 -0
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +1 -1
- package/dist/Components/Profile/Templates/TabsView.d.ts +1 -1
- package/dist/Components/Profile/itemFunctions.d.ts +1 -0
- package/dist/Components/Templates/TagView.d.ts +1 -1
- package/dist/Utils/Moon.d.ts +1 -1
- package/dist/index.js +139 -31
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +5 -2
@@ -14,10 +14,10 @@ declare type AuthContextProps = {
|
|
14
14
|
user: UserItem | null;
|
15
15
|
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
|
16
16
|
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
|
17
|
-
loading:
|
17
|
+
loading: boolean;
|
18
18
|
logout: () => Promise<any>;
|
19
19
|
updateUser: (user: UserItem) => any;
|
20
|
-
token:
|
20
|
+
token: string | null;
|
21
21
|
requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
|
22
22
|
passwordReset: (token: string, new_password: string) => Promise<any>;
|
23
23
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Item, Tag } from '
|
1
|
+
import { Item, Tag } from '../../../types';
|
2
2
|
export declare const TabsView: ({ attestations, userType, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, setUrlParams }: {
|
3
3
|
attestations: Array<any>;
|
4
4
|
userType: string;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as React from 'react';
|
1
2
|
export declare const submitNewItem: (evt: any, type: string, item: any, user: any, setLoading: any, tags: any, addTag: any, addItem: any, linkItem: any, resetFilterTags: any, layers: any, addItemPopupType: any, setAddItemPopupType: any) => Promise<void>;
|
2
3
|
export declare const linkItem: (id: string, item: any, updateItem: any) => Promise<void>;
|
3
4
|
export declare const unlinkItem: (id: string, item: any, updateItem: any) => Promise<void>;
|
@@ -2,6 +2,6 @@ import { Tag } from '../../types';
|
|
2
2
|
export declare const TagView: ({ tag, heighlight, onClick, count }: {
|
3
3
|
tag: Tag;
|
4
4
|
heighlight?: boolean | undefined;
|
5
|
-
onClick?: ((
|
5
|
+
onClick?: (() => void) | undefined;
|
6
6
|
count?: number | undefined;
|
7
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Utils/Moon.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const LUNAR_MONTH
|
1
|
+
export declare const LUNAR_MONTH = 29.530588853;
|
2
2
|
export declare const getJulianDate: (date?: Date) => number;
|
3
3
|
export declare const normalize: (value: number) => number;
|
4
4
|
export declare const getLunarAgePercent: (date?: Date) => number;
|