utopia-ui 3.0.0-alpha.211 → 3.0.0-alpha.213
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/AppShell.d.ts +1 -0
- package/dist/Components/AppShell/SideBar.d.ts +0 -1
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +0 -1
- package/dist/Components/AppShell/Sitemap.d.ts +3 -0
- package/dist/Components/AppShell/index.d.ts +1 -0
- package/dist/Components/Profile/{OverlayItemProfile.d.ts → ProfileForm.d.ts} +1 -1
- package/dist/Components/Profile/ProfileView.d.ts +3 -0
- package/dist/Components/Profile/{ActionsButton.d.ts → Subcomponents/ActionsButton.d.ts} +1 -1
- package/dist/Components/Profile/{AvatarWidget.d.ts → Subcomponents/AvatarWidget.d.ts} +2 -1
- package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +5 -0
- package/dist/Components/Profile/{LinkedItemsHeaderView.d.ts → Subcomponents/LinkedItemsHeaderView.d.ts} +1 -1
- package/dist/Components/Profile/{PlusButton.d.ts → Subcomponents/PlusButton.d.ts} +1 -1
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +22 -0
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +5 -0
- package/dist/Components/Profile/Templates/SimpleForm.d.ts +1 -0
- package/dist/Components/Profile/Templates/SimpleView.d.ts +4 -0
- package/dist/Components/Profile/Templates/TabsForm.d.ts +9 -0
- package/dist/Components/Profile/Templates/TabsView.d.ts +11 -0
- package/dist/Components/Profile/UserSettings.d.ts +0 -2
- package/dist/Components/Profile/index.d.ts +3 -7
- package/dist/Components/Profile/itemFunctions.d.ts +5 -0
- package/dist/Components/Templates/index.d.ts +0 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +852 -1301
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/Components/Auth/LoginPage copy.d.ts +0 -2
- package/dist/Components/Auth/ResetPasswordPage.d.ts +0 -2
- package/dist/Components/Auth/Signuppage.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/Control.d.ts +0 -5
- package/dist/Components/Map/Subcomponents/FilterControl.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/LayerControl.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/QuestControl.d.ts +0 -2
- package/dist/Components/Map/hooks/useSetItemPosition.d.ts +0 -13
- package/dist/Components/Profile/ActionButton.d.ts +0 -5
- package/dist/Components/Profile/Editor.d.ts +0 -4
- package/dist/Components/Profile/ItemForm.d.ts +0 -1
- package/dist/Components/Profile/OverlayItemProfileSettings.d.ts +0 -3
- package/dist/Components/Profile/OverlayProfile.d.ts +0 -1
- package/dist/Components/Profile/OverlayProfileSettings.d.ts +0 -1
- package/dist/Components/Profile/OverlayUserSettings.d.ts +0 -1
- package/dist/Components/Profile/ProfileSettings.d.ts +0 -3
- package/dist/Components/Profile/Settings.d.ts +0 -4
- package/dist/Components/Profile/Tags.d.ts +0 -2
- package/dist/Components/Templates/AttestationForm.d.ts +0 -3
- package/dist/Components/Templates/CardItem.d.ts +0 -6
- package/dist/Components/Templates/ItemViewPage.d.ts +0 -14
- package/dist/Components/Templates/ItemsIndexPage.d.ts +0 -19
- package/dist/Components/Templates/MapOverlayScreen.d.ts +0 -4
- package/dist/Components/Templates/SelectUser.d.ts +0 -3
- package/dist/Utils/DynamicHeroIcon.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/AppShell/AppShell.d.ts +0 -8
- package/dist/workspace/utopia-ui/src/Components/AppShell/Content.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/AppShell/NavBar.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/AppShell/SetAssetsApi.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/AppShell/SideBar.d.ts +0 -12
- package/dist/workspace/utopia-ui/src/Components/AppShell/SidebarSubmenu.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/AppShell/hooks/useAssets.d.ts +0 -13
- package/dist/workspace/utopia-ui/src/Components/AppShell/index.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Auth/LoginPage.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Auth/RequestPasswordPage.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Auth/SetNewPasswordPage.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Auth/SignupPage.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Auth/index.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Auth/useAuth.d.ts +0 -26
- package/dist/workspace/utopia-ui/src/Components/Gaming/Modal.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Gaming/Quests.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Gaming/hooks/useQuests.d.ts +0 -13
- package/dist/workspace/utopia-ui/src/Components/Gaming/index.d.ts +0 -2
- package/dist/workspace/utopia-ui/src/Components/Input/Autocomplete.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/Input/SelectBox.d.ts +0 -16
- package/dist/workspace/utopia-ui/src/Components/Input/TextAreaInput.d.ts +0 -12
- package/dist/workspace/utopia-ui/src/Components/Input/TextInput.d.ts +0 -14
- package/dist/workspace/utopia-ui/src/Components/Input/index.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Map/ItemForm.d.ts +0 -18
- package/dist/workspace/utopia-ui/src/Components/Map/ItemView.d.ts +0 -16
- package/dist/workspace/utopia-ui/src/Components/Map/Layer.d.ts +0 -2
- package/dist/workspace/utopia-ui/src/Components/Map/Permissions.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/AddButton.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -11
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -8
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -9
- package/dist/workspace/utopia-ui/src/Components/Map/Tags.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Map/UtopiaMap.d.ts +0 -11
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useDebounce.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useFilter.d.ts +0 -32
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useItems.d.ts +0 -26
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useLayers.d.ts +0 -14
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useLeafletRefs.d.ts +0 -22
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/usePermissions.d.ts +0 -20
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useTags.d.ts +0 -22
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useTimeout.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Map/hooks/useWindowDimension.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Map/index.d.ts +0 -12
- package/dist/workspace/utopia-ui/src/Components/Profile/ColorPicker.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Profile/Editor.d.ts +0 -4
- package/dist/workspace/utopia-ui/src/Components/Profile/OverlayProfile.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Profile/OverlayProfileSettings.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Profile/OverlayUserSettings.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Profile/ProfileSettings.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Profile/TagsWidget.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Profile/UserSettings.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Components/Profile/index.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Profile/useClickOutside.d.ts +0 -2
- package/dist/workspace/utopia-ui/src/Components/Templates/CardPage.d.ts +0 -10
- package/dist/workspace/utopia-ui/src/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Templates/DialogModal.d.ts +0 -10
- package/dist/workspace/utopia-ui/src/Components/Templates/ItemsIndexPage.d.ts +0 -15
- package/dist/workspace/utopia-ui/src/Components/Templates/MapOverlayPage.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Components/Templates/MoonCalendar.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Components/Templates/TagView.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Templates/TitleCard.d.ts +0 -11
- package/dist/workspace/utopia-ui/src/Components/Templates/index.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Components/Typography/ErrorText.d.ts +0 -5
- package/dist/workspace/utopia-ui/src/Components/Typography/Subtitle.d.ts +0 -6
- package/dist/workspace/utopia-ui/src/Utils/FormatTags.d.ts +0 -2
- package/dist/workspace/utopia-ui/src/Utils/GetValue.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Utils/HashTagRegex.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Utils/MarkerIconFactory.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Utils/Moon.d.ts +0 -7
- package/dist/workspace/utopia-ui/src/Utils/RandomColor.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/Utils/ReplaceURLs.d.ts +0 -3
- package/dist/workspace/utopia-ui/src/Utils/TimeAgo.d.ts +0 -1
- package/dist/workspace/utopia-ui/src/index.d.ts +0 -13
- package/dist/workspace/utopia-ui/src/types.d.ts +0 -108
- /package/dist/Components/Profile/{ColorPicker.d.ts → Subcomponents/ColorPicker.d.ts} +0 -0
- /package/dist/Components/Profile/{ContactInfo.d.ts → Subcomponents/ContactInfo.d.ts} +0 -0
- /package/dist/Components/Profile/{ProfileSubHeader.d.ts → Subcomponents/ProfileSubHeader.d.ts} +0 -0
- /package/dist/Components/Profile/{RelationCard.d.ts → Subcomponents/RelationCard.d.ts} +0 -0
- /package/dist/Components/Profile/{SocialShareBar.d.ts → Subcomponents/SocialShareBar.d.ts} +0 -0
- /package/dist/Components/Profile/{SocialShareButton.d.ts → Subcomponents/SocialShareButton.d.ts} +0 -0
- /package/dist/Components/Profile/{TagsWidget.d.ts → Subcomponents/TagsWidget.d.ts} +0 -0
- /package/dist/Components/Profile/{useClickOutside.d.ts → hooks/useClickOutside.d.ts} +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.213",
|
4
4
|
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
|
5
5
|
"repository": "https://github.com/utopia-os/utopia-ui",
|
6
6
|
"homepage:": "https://utopia-os.org/",
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Item, LayerProps } from '../../../types';
|
3
|
-
declare type UseSelectPositionManagerResult = ReturnType<typeof useSelectPositionManager>;
|
4
|
-
declare function useSelectPositionManager(): {
|
5
|
-
selectPosition: Item | LayerProps | null;
|
6
|
-
setSelectPosition: React.Dispatch<React.SetStateAction<Item | LayerProps | null>>;
|
7
|
-
};
|
8
|
-
export declare const SelectPositionProvider: React.FunctionComponent<{
|
9
|
-
children?: React.ReactNode;
|
10
|
-
}>;
|
11
|
-
export declare const useSelectPosition: () => Item | LayerProps | null;
|
12
|
-
export declare const useSetSelectPosition: () => UseSelectPositionManagerResult["setSelectPosition"];
|
13
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const OverlayItemProfileSettings: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function OverlayProfile(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function OverlayProfileSettings(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function OverlayUserSettings(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { ItemsApi } from "../../types";
|
2
|
-
declare type breadcrumb = {
|
3
|
-
name: string;
|
4
|
-
path: string;
|
5
|
-
};
|
6
|
-
export declare const ItemViewPage: ({ api, parents, itemNameField, itemTextField, itemImageField, itemSymbolField }: {
|
7
|
-
api: ItemsApi<any>;
|
8
|
-
parents: Array<breadcrumb>;
|
9
|
-
itemNameField: string;
|
10
|
-
itemTextField: string;
|
11
|
-
itemImageField: string;
|
12
|
-
itemSymbolField: string;
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
14
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { ItemsApi } from '../../types';
|
3
|
-
declare type breadcrumb = {
|
4
|
-
name: string;
|
5
|
-
path: string;
|
6
|
-
};
|
7
|
-
export declare const ItemsIndexPage: ({ api, url, parameterField, breadcrumbs, itemNameField, itemTextField, itemImageField, itemSymbolField, itemSubnameField, children }: {
|
8
|
-
api: ItemsApi<any>;
|
9
|
-
url: string;
|
10
|
-
parameterField: string;
|
11
|
-
breadcrumbs: Array<breadcrumb>;
|
12
|
-
itemNameField: string;
|
13
|
-
itemTextField: string;
|
14
|
-
itemImageField: string;
|
15
|
-
itemSymbolField: string;
|
16
|
-
itemSubnameField: string;
|
17
|
-
children?: ReactNode;
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
19
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { AssetsApi } from '../../types';
|
3
|
-
export declare function AppShell({ appName, nameWidth, children, assetsApi }: {
|
4
|
-
appName: string;
|
5
|
-
nameWidth?: number;
|
6
|
-
children: React.ReactNode;
|
7
|
-
assetsApi: AssetsApi;
|
8
|
-
}): JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
declare type route = {
|
2
|
-
path: string;
|
3
|
-
icon: JSX.Element;
|
4
|
-
name: string;
|
5
|
-
submenu?: route;
|
6
|
-
blank?: boolean;
|
7
|
-
};
|
8
|
-
export declare function SideBar({ routes, bottomRoutes }: {
|
9
|
-
routes: route[];
|
10
|
-
bottomRoutes?: route[];
|
11
|
-
}): JSX.Element;
|
12
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import { AssetsApi } from '../../../types';
|
3
|
-
declare type UseAssetManagerResult = ReturnType<typeof useAssetsManager>;
|
4
|
-
declare function useAssetsManager(): {
|
5
|
-
api: AssetsApi;
|
6
|
-
setAssetsApi: (api: AssetsApi) => void;
|
7
|
-
};
|
8
|
-
export declare const AssetsProvider: React.FunctionComponent<{
|
9
|
-
children?: React.ReactNode;
|
10
|
-
}>;
|
11
|
-
export declare const useAssetApi: () => AssetsApi;
|
12
|
-
export declare const useSetAssetApi: () => UseAssetManagerResult["setAssetsApi"];
|
13
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function LoginPage(): JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function SetNewPasswordPage(): JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function SignupPage(): JSX.Element;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import { UserApi, UserItem } from "../../types";
|
3
|
-
declare type AuthProviderProps = {
|
4
|
-
userApi: UserApi;
|
5
|
-
children?: React.ReactNode;
|
6
|
-
};
|
7
|
-
declare type AuthCredentials = {
|
8
|
-
email: string;
|
9
|
-
password: string;
|
10
|
-
otp?: string | undefined;
|
11
|
-
};
|
12
|
-
declare type AuthContextProps = {
|
13
|
-
isAuthenticated: boolean;
|
14
|
-
user: UserItem | null;
|
15
|
-
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
|
16
|
-
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
|
17
|
-
loading: Boolean;
|
18
|
-
logout: () => Promise<any>;
|
19
|
-
updateUser: (user: UserItem) => any;
|
20
|
-
token: String | null;
|
21
|
-
requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
|
22
|
-
passwordReset: (token: string, new_password: string) => Promise<any>;
|
23
|
-
};
|
24
|
-
export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => JSX.Element;
|
25
|
-
export declare const useAuth: () => AuthContextProps;
|
26
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function Quests(): JSX.Element;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
declare type UseQuestManagerResult = ReturnType<typeof useQuestsManager>;
|
3
|
-
declare function useQuestsManager(initialOpen: boolean): {
|
4
|
-
open: boolean;
|
5
|
-
setQuestsOpen: (open: boolean) => void;
|
6
|
-
};
|
7
|
-
export declare const QuestsProvider: React.FunctionComponent<{
|
8
|
-
initialOpen: boolean;
|
9
|
-
children?: React.ReactNode;
|
10
|
-
}>;
|
11
|
-
export declare const useQuestsOpen: () => boolean;
|
12
|
-
export declare const useSetQuestOpen: () => UseQuestManagerResult["setQuestsOpen"];
|
13
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus }: {
|
2
|
-
inputProps: any;
|
3
|
-
suggestions: Array<any>;
|
4
|
-
onSelected: (suggestion: any) => void;
|
5
|
-
pushFilteredSuggestions?: any[] | undefined;
|
6
|
-
setFocus?: boolean | undefined;
|
7
|
-
}) => JSX.Element;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
declare type SelectBoxProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
type?: string;
|
5
|
-
containerStyle?: string;
|
6
|
-
defaultValue: string;
|
7
|
-
placeholder?: string;
|
8
|
-
updateFormValue: (value: string) => void;
|
9
|
-
options: {
|
10
|
-
name: string;
|
11
|
-
value: string;
|
12
|
-
}[];
|
13
|
-
labelDescription?: string;
|
14
|
-
};
|
15
|
-
export declare function SelectBox(props: SelectBoxProps): JSX.Element;
|
16
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
declare type TextAreaProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
containerStyle?: string;
|
5
|
-
dataField?: string;
|
6
|
-
inputStyle?: string;
|
7
|
-
defaultValue: string;
|
8
|
-
placeholder?: string;
|
9
|
-
updateFormValue?: (value: string) => void;
|
10
|
-
};
|
11
|
-
export declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, updateFormValue }: TextAreaProps): JSX.Element;
|
12
|
-
export {};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
declare type InputTextProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
type?: string;
|
5
|
-
dataField?: string;
|
6
|
-
containerStyle?: string;
|
7
|
-
inputStyle?: string;
|
8
|
-
defaultValue?: string;
|
9
|
-
placeholder?: string;
|
10
|
-
autocomplete?: string;
|
11
|
-
updateFormValue?: (value: string) => void;
|
12
|
-
};
|
13
|
-
export declare function TextInput({ labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, updateFormValue }: InputTextProps): JSX.Element;
|
14
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { Item } from '../../types';
|
3
|
-
import * as PropTypes from 'prop-types';
|
4
|
-
export declare const ItemForm: {
|
5
|
-
({ children, item, title, setPopupTitle }: {
|
6
|
-
children?: React.ReactNode;
|
7
|
-
item?: Item | undefined;
|
8
|
-
title?: string | undefined;
|
9
|
-
setPopupTitle?: React.Dispatch<React.SetStateAction<string>> | undefined;
|
10
|
-
}): JSX.Element;
|
11
|
-
propTypes: {
|
12
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
13
|
-
__TYPE: PropTypes.Requireable<string>;
|
14
|
-
};
|
15
|
-
defaultProps: {
|
16
|
-
__TYPE: string;
|
17
|
-
};
|
18
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { Item } from '../../types';
|
3
|
-
import * as PropTypes from 'prop-types';
|
4
|
-
export declare const ItemView: {
|
5
|
-
({ children, item }: {
|
6
|
-
children?: React.ReactNode;
|
7
|
-
item?: Item | undefined;
|
8
|
-
}): JSX.Element;
|
9
|
-
propTypes: {
|
10
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
11
|
-
__TYPE: PropTypes.Requireable<string>;
|
12
|
-
};
|
13
|
-
defaultProps: {
|
14
|
-
__TYPE: string;
|
15
|
-
};
|
16
|
-
};
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import { LayerProps } from '../../types';
|
2
|
-
export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, api, itemNameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, setItemFormPopup, itemFormPopup, clusterRef }: LayerProps) => JSX.Element;
|
package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare function LayerControl(): JSX.Element;
|
package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare function QuestControl(): JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const TagsControl: () => JSX.Element;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { LatLng } from 'leaflet';
|
3
|
-
import { LayerProps, Item } from '../../../types';
|
4
|
-
export interface ItemFormPopupProps {
|
5
|
-
position: LatLng;
|
6
|
-
layer: LayerProps;
|
7
|
-
item?: Item;
|
8
|
-
children?: React.ReactNode;
|
9
|
-
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
10
|
-
}
|
11
|
-
export declare function ItemFormPopup(props: ItemFormPopupProps): JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import { ItemFormPopupProps } from "../ItemFormPopup";
|
3
|
-
import { Item } from "../../../../types";
|
4
|
-
export declare function HeaderView({ item, setItemFormPopup }: {
|
5
|
-
item: Item;
|
6
|
-
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
7
|
-
}): JSX.Element;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Item } from '../../../../types';
|
2
|
-
export declare const PopupButton: ({ url, parameterField, text, colorField, item }: {
|
3
|
-
url: string;
|
4
|
-
parameterField?: string | undefined;
|
5
|
-
text: string;
|
6
|
-
colorField?: string | undefined;
|
7
|
-
item?: Item | undefined;
|
8
|
-
}) => JSX.Element;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { Item } from '../../../types';
|
3
|
-
import { ItemFormPopupProps } from './ItemFormPopup';
|
4
|
-
export interface ItemViewPopupProps {
|
5
|
-
item: Item;
|
6
|
-
children?: React.ReactNode;
|
7
|
-
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
8
|
-
}
|
9
|
-
export declare const ItemViewPopup: React.ForwardRefExoticComponent<ItemViewPopupProps & React.RefAttributes<unknown>>;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import "leaflet/dist/leaflet.css";
|
2
|
-
import * as React from "react";
|
3
|
-
import { LayerProps, UtopiaMapProps } from "../../types";
|
4
|
-
import "./UtopiaMap.css";
|
5
|
-
export interface MapEventListenerProps {
|
6
|
-
selectNewItemPosition: LayerProps | null;
|
7
|
-
setSelectNewItemPosition: React.Dispatch<any>;
|
8
|
-
setItemFormPopup: React.Dispatch<React.SetStateAction<any>>;
|
9
|
-
}
|
10
|
-
declare function UtopiaMap({ height, width, center, zoom, children }: UtopiaMapProps): JSX.Element;
|
11
|
-
export { UtopiaMap };
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useDebounce: (callback: any, delay: any, deps: any) => void;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import { LayerProps, Tag } from "../../../types";
|
3
|
-
declare type UseFilterManagerResult = ReturnType<typeof useFilterManager>;
|
4
|
-
declare function useFilterManager(initialTags: Tag[]): {
|
5
|
-
filterTags: Tag[];
|
6
|
-
searchPhrase: string;
|
7
|
-
visibleLayers: LayerProps[];
|
8
|
-
addFilterTag: (tag: Tag) => void;
|
9
|
-
removeFilterTag: (name: string) => void;
|
10
|
-
resetFilterTags: () => void;
|
11
|
-
setSearchPhrase: (phrase: string) => void;
|
12
|
-
addVisibleLayer: (layer: LayerProps) => void;
|
13
|
-
toggleVisibleLayer: (layer: LayerProps) => void;
|
14
|
-
resetVisibleLayers: () => void;
|
15
|
-
isLayerVisible: (layer: LayerProps) => boolean;
|
16
|
-
};
|
17
|
-
export declare const FilterProvider: React.FunctionComponent<{
|
18
|
-
initialTags: Tag[];
|
19
|
-
children?: React.ReactNode;
|
20
|
-
}>;
|
21
|
-
export declare const useFilterTags: () => Tag[];
|
22
|
-
export declare const useAddFilterTag: () => UseFilterManagerResult["addFilterTag"];
|
23
|
-
export declare const useRemoveFilterTag: () => UseFilterManagerResult["removeFilterTag"];
|
24
|
-
export declare const useResetFilterTags: () => UseFilterManagerResult["resetFilterTags"];
|
25
|
-
export declare const useSearchPhrase: () => UseFilterManagerResult["searchPhrase"];
|
26
|
-
export declare const useSetSearchPhrase: () => UseFilterManagerResult["setSearchPhrase"];
|
27
|
-
export declare const useVisibleLayer: () => UseFilterManagerResult["visibleLayers"];
|
28
|
-
export declare const useAddVisibleLayer: () => UseFilterManagerResult["addVisibleLayer"];
|
29
|
-
export declare const useToggleVisibleLayer: () => UseFilterManagerResult["toggleVisibleLayer"];
|
30
|
-
export declare const useResetVisibleLayers: () => UseFilterManagerResult["resetVisibleLayers"];
|
31
|
-
export declare const useIsLayerVisible: () => UseFilterManagerResult["isLayerVisible"];
|
32
|
-
export {};
|