utopia-ui 3.0.0-alpha.41 → 3.0.0-alpha.43

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.
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function LoginPage(): JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare function RequestPasswordPage({ reset_url }: {
3
+ reset_url: any;
4
+ }): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function ResetPasswordPage(reset_url: any): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function SetNewPasswordPage(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function SignupPage(): JSX.Element;
@@ -1,3 +1,5 @@
1
1
  export { AuthProvider, useAuth } from "./useAuth";
2
2
  export { LoginPage } from "./LoginPage";
3
- export { SignupPage } from "./SignupPage";
3
+ export { SignupPage } from './SignupPage';
4
+ export { RequestPasswordPage } from './RequestPasswordPage';
5
+ export { SetNewPasswordPage } from './SetNewPasswordPage';
@@ -18,6 +18,8 @@ declare type AuthContextProps = {
18
18
  logout: () => Promise<any>;
19
19
  updateUser: (user: UserItem) => any;
20
20
  token: String | null;
21
+ requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
22
+ passwordReset: (token: string, new_password: string) => Promise<any>;
21
23
  };
22
24
  export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => JSX.Element;
23
25
  export declare const useAuth: () => AuthContextProps;
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { Item } from '../../../../types';
3
- export declare const PopupButton: ({ url, parameterField, text, color, colorField, item }: {
3
+ export declare const PopupButton: ({ url, parameterField, text, colorField, item }: {
4
4
  url: string;
5
5
  parameterField?: string | undefined;
6
6
  text: string;
7
- color?: string | undefined;
8
7
  colorField?: string | undefined;
9
8
  item?: Item | undefined;
10
9
  }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare function MapOverlayPage({ children }: {
3
+ children: React.ReactNode;
4
+ }): JSX.Element;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare function MapOverlayScreen({ children }: {
3
+ children: React.ReactNode;
4
+ }): JSX.Element;
@@ -1,2 +1,3 @@
1
1
  export { CardPage } from './CardPage';
2
2
  export { TitleCard } from './TitleCard';
3
+ export { MapOverlayPage } from './MapOverlayPage';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { UtopiaMap, Layer, Tags, Permissions, ItemForm, ItemView, PopupTextAreaInput, PopupStartEndInput, PopupTextInput, PopupButton, TextView, StartEndView } from './Components/Map';
2
2
  export { AppShell, Content, SideBar } from "./Components/AppShell";
3
- export { AuthProvider, useAuth, LoginPage, SignupPage } from "./Components/Auth";
3
+ export { AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage } from "./Components/Auth";
4
4
  export { UserSettings, ProfileSettings } from './Components/Profile';
5
5
  export { Quests, Modal } from './Components/Gaming';
6
6
  export { TitleCard, CardPage } from './Components/Templates';