utopia-ui 3.0.0-alpha.40 → 3.0.0-alpha.41
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/Map/Layer.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +2 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +10 -0
- package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +1 -0
- package/dist/Components/Map/index.d.ts +1 -0
- package/dist/Components/Profile/ProfileSettings.d.ts +4 -0
- package/dist/Components/Profile/UserSettings.d.ts +4 -0
- package/dist/Components/Profile/index.d.ts +2 -1
- package/dist/Components/Templates/CardPage.d.ts +2 -1
- package/dist/Components/Templates/TitleCard.d.ts +5 -4
- package/dist/Utils/GetValue.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +139 -91
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +12 -5
- package/package.json +1 -1
@@ -1,3 +1,3 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { LayerProps } from '../../types';
|
3
|
-
export declare const Layer: (
|
3
|
+
export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, api, itemTitleField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, setItemFormPopup, itemFormPopup, clusterRef }: LayerProps) => JSX.Element;
|
@@ -6,6 +6,6 @@ export interface ItemFormPopupProps {
|
|
6
6
|
layer: LayerProps;
|
7
7
|
item?: Item;
|
8
8
|
children?: React.ReactNode;
|
9
|
-
setItemFormPopup
|
9
|
+
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
10
10
|
}
|
11
11
|
export declare function ItemFormPopup(props: ItemFormPopupProps): JSX.Element;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { ItemFormPopupProps } from "../ItemFormPopup";
|
3
3
|
import { Item } from "../../../../types";
|
4
|
-
export declare function HeaderView({ item, title, avatar, setItemFormPopup }: {
|
4
|
+
export declare function HeaderView({ item, title, avatar, owner, setItemFormPopup }: {
|
5
5
|
item: Item;
|
6
6
|
title?: string;
|
7
7
|
avatar?: string;
|
8
|
+
owner?: string;
|
8
9
|
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
9
10
|
}): JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Item } from '../../../../types';
|
3
|
+
export declare const PopupButton: ({ url, parameterField, text, color, colorField, item }: {
|
4
|
+
url: string;
|
5
|
+
parameterField?: string | undefined;
|
6
|
+
text: string;
|
7
|
+
color?: string | undefined;
|
8
|
+
colorField?: string | undefined;
|
9
|
+
item?: Item | undefined;
|
10
|
+
}) => JSX.Element;
|
@@ -6,6 +6,7 @@ export interface ItemViewPopupProps {
|
|
6
6
|
children?: React.ReactNode;
|
7
7
|
title?: string;
|
8
8
|
avatar?: string;
|
9
|
+
owner?: string;
|
9
10
|
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
10
11
|
}
|
11
12
|
export declare const ItemViewPopup: React.ForwardRefExoticComponent<ItemViewPopupProps & React.RefAttributes<unknown>>;
|
@@ -9,3 +9,4 @@ export { PopupStartEndInput } from './Subcomponents/ItemPopupComponents/PopupSta
|
|
9
9
|
export { PopupTextInput } from './Subcomponents/ItemPopupComponents/PopupTextInput';
|
10
10
|
export { TextView } from './Subcomponents/ItemPopupComponents/TextView';
|
11
11
|
export { StartEndView } from './Subcomponents/ItemPopupComponents/StartEndView';
|
12
|
+
export { PopupButton } from './Subcomponents/ItemPopupComponents/PopupButton';
|
@@ -1 +1,2 @@
|
|
1
|
-
export {
|
1
|
+
export { UserSettings } from './UserSettings';
|
2
|
+
export { ProfileSettings } from './ProfileSettings';
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
export declare function CardPage({ title, children, parent }: {
|
2
|
+
export declare function CardPage({ title, hideTitle, children, parent }: {
|
3
3
|
title: string;
|
4
|
+
hideTitle?: boolean;
|
4
5
|
children?: React.ReactNode;
|
5
6
|
parent?: {
|
6
7
|
name: string;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
interface TitleCardProps {
|
3
|
-
title
|
4
|
-
|
5
|
-
|
3
|
+
title?: string;
|
4
|
+
hideTitle?: boolean;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
topMargin?: string;
|
6
7
|
className?: string;
|
7
8
|
TopSideButtons?: any;
|
8
9
|
}
|
9
|
-
export declare function TitleCard({ title, children, topMargin, TopSideButtons, className }: TitleCardProps): JSX.Element;
|
10
|
+
export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className }: TitleCardProps): JSX.Element;
|
10
11
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function getValue(obj: any, path: any): any;
|
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
export { UtopiaMap, Layer, Tags, Permissions, ItemForm, ItemView, PopupTextAreaInput, PopupStartEndInput, PopupTextInput, TextView, StartEndView } from './Components/Map';
|
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
3
|
export { AuthProvider, useAuth, LoginPage, SignupPage } from "./Components/Auth";
|
4
|
-
export {
|
4
|
+
export { UserSettings, ProfileSettings } from './Components/Profile';
|
5
5
|
export { Quests, Modal } from './Components/Gaming';
|
6
6
|
export { TitleCard, CardPage } from './Components/Templates';
|
7
7
|
export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
|