utopia-ui 3.0.9 → 3.0.11
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 -1
- package/dist/Components/AppShell/SetAppState.d.ts +5 -0
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +1 -1
- package/dist/Components/AppShell/hooks/useAppState.d.ts +17 -0
- package/dist/Components/AppShell/hooks/useAssets.d.ts +2 -2
- package/dist/Components/AppShell/index.d.ts +4 -4
- package/dist/Components/Auth/RequestPasswordPage.d.ts +2 -2
- package/dist/Components/Auth/index.d.ts +2 -2
- package/dist/Components/Auth/useAuth.d.ts +2 -2
- package/dist/Components/Gaming/Modal.d.ts +2 -2
- package/dist/Components/Gaming/hooks/useQuests.d.ts +2 -2
- package/dist/Components/Input/Autocomplete.d.ts +1 -1
- package/dist/Components/Input/ComboBoxInput.d.ts +1 -4
- package/dist/Components/Input/TextAreaInput.d.ts +1 -1
- package/dist/Components/Input/TextInput.d.ts +1 -1
- package/dist/Components/Input/index.d.ts +3 -3
- package/dist/Components/Map/ItemForm.d.ts +1 -1
- package/dist/Components/Map/Layer.d.ts +1 -1
- package/dist/Components/Map/Permissions.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/AddButton.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +2 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +2 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +1 -1
- package/dist/Components/Map/UtopiaMap.d.ts +1 -1
- package/dist/Components/Map/UtopiaMapInner.d.ts +4 -4
- package/dist/Components/Map/hooks/useClusterRef.d.ts +1 -1
- package/dist/Components/Map/hooks/useFilter.d.ts +16 -16
- package/dist/Components/Map/hooks/useItems.d.ts +9 -9
- package/dist/Components/Map/hooks/useLayers.d.ts +3 -3
- package/dist/Components/Map/hooks/useLeafletRefs.d.ts +5 -5
- package/dist/Components/Map/hooks/usePermissions.d.ts +6 -6
- package/dist/Components/Map/hooks/useSelectPosition.d.ts +5 -5
- package/dist/Components/Map/hooks/useTags.d.ts +7 -7
- package/dist/Components/Map/index.d.ts +2 -2
- package/dist/Components/Profile/ProfileForm.d.ts +1 -3
- package/dist/Components/Profile/ProfileView.d.ts +1 -2
- package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +2 -2
- package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +1 -1
- package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +1 -1
- package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +3 -6
- package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -0
- package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +5 -0
- package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +19 -0
- package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +2 -2
- package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +2 -2
- package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -0
- package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -0
- package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -0
- package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +1 -1
- package/dist/Components/Profile/Templates/FlexForm.d.ts +8 -0
- package/dist/Components/Profile/Templates/FlexView.d.ts +4 -0
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +20 -19
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +2 -3
- package/dist/Components/Profile/Templates/TabsForm.d.ts +1 -1
- package/dist/Components/Profile/Templates/TabsView.d.ts +1 -2
- package/dist/Components/Profile/index.d.ts +3 -3
- package/dist/Components/Templates/CardPage.d.ts +2 -2
- package/dist/Components/Templates/CircleLayout.d.ts +1 -1
- package/dist/Components/Templates/DateUserInfo.d.ts +1 -1
- package/dist/Components/Templates/DialogModal.d.ts +1 -1
- package/dist/Components/Templates/EmojiPicker.d.ts +1 -1
- package/dist/Components/Templates/ItemCard.d.ts +1 -1
- package/dist/Components/Templates/MapOverlayPage.d.ts +1 -1
- package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +1 -1
- package/dist/Components/Templates/SelectUser.d.ts +1 -3
- package/dist/Components/Templates/TagView.d.ts +1 -1
- package/dist/Components/Templates/TitleCard.d.ts +2 -2
- package/dist/Components/Templates/index.d.ts +4 -4
- package/dist/Components/Typography/Subtitle.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1593 -1110
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +44 -44
- package/package.json +7 -2
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { FormState } from '../Templates/OnepagerForm';
|
3
|
+
export declare const ProfileTextForm: ({ state, setState, dataField, heading, size, hideInputLabel, }: {
|
4
|
+
state: FormState;
|
5
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
6
|
+
dataField?: string | undefined;
|
7
|
+
heading: string;
|
8
|
+
size: string;
|
9
|
+
hideInputLabel: boolean;
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Item } from '../../../types';
|
3
|
+
import { FormState } from './OnepagerForm';
|
4
|
+
export declare const FlexForm: ({ item, state, setState, }: {
|
5
|
+
state: FormState;
|
6
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
7
|
+
item: Item;
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,23 +1,24 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { Item, Tag } from
|
3
|
-
export declare
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
2
|
+
import { Item, Tag } from '../../../types';
|
3
|
+
export declare type FormState = {
|
4
|
+
color: string;
|
5
|
+
id: string;
|
6
|
+
group_type: string;
|
7
|
+
status: string;
|
8
|
+
name: string;
|
9
|
+
subname: string;
|
10
|
+
text: string;
|
11
|
+
contact: string;
|
12
|
+
telephone: string;
|
13
|
+
next_appointment: string;
|
14
|
+
image: string;
|
15
|
+
marker_icon: string;
|
16
|
+
offers: Tag[];
|
17
|
+
needs: Tag[];
|
18
|
+
relations: Item[];
|
19
|
+
};
|
20
|
+
export declare const OnepagerForm: ({ item, state, setState, }: {
|
21
|
+
state: FormState;
|
21
22
|
setState: React.Dispatch<React.SetStateAction<any>>;
|
22
23
|
item: Item;
|
23
24
|
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { Item } from
|
2
|
-
export declare const OnepagerView: ({ item
|
1
|
+
import { Item } from '../../../types';
|
2
|
+
export declare const OnepagerView: ({ item }: {
|
3
3
|
item: Item;
|
4
|
-
userType: string;
|
5
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const TabsForm: ({ item, state, setState, updatePermission, linkItem, unlinkItem, loading, setUrlParams }: {
|
1
|
+
export declare const TabsForm: ({ item, state, setState, updatePermission, linkItem, unlinkItem, loading, setUrlParams, }: {
|
2
2
|
item: any;
|
3
3
|
state: any;
|
4
4
|
setState: any;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { Item, Tag } from '../../../types';
|
2
|
-
export declare const TabsView: ({ attestations,
|
2
|
+
export declare const TabsView: ({ attestations, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, }: {
|
3
3
|
attestations: Array<any>;
|
4
|
-
userType: string;
|
5
4
|
item: Item;
|
6
5
|
offers: Array<Tag>;
|
7
6
|
needs: Array<Tag>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export { UserSettings } from './UserSettings';
|
2
|
-
export { PlusButton } from
|
3
|
-
export { ProfileView } from
|
4
|
-
export { ProfileForm } from
|
2
|
+
export { PlusButton } from './Subcomponents/PlusButton';
|
3
|
+
export { ProfileView } from './ProfileView';
|
4
|
+
export { ProfileForm } from './ProfileForm';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as React from
|
2
|
-
export declare function CardPage({ title, hideTitle, children, parents }: {
|
1
|
+
import * as React from 'react';
|
2
|
+
export declare function CardPage({ title, hideTitle, children, parents, }: {
|
3
3
|
title: string;
|
4
4
|
hideTitle?: boolean;
|
5
5
|
children?: React.ReactNode;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const EmojiPicker: ({ selectedEmoji, selectedColor, selectedShape, setSelectedEmoji, setSelectedColor, setSelectedShape }: {
|
1
|
+
export declare const EmojiPicker: ({ selectedEmoji, selectedColor, selectedShape, setSelectedEmoji, setSelectedColor, setSelectedShape, }: {
|
2
2
|
selectedEmoji: any;
|
3
3
|
selectedColor: any;
|
4
4
|
selectedShape: any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
export declare function MapOverlayPage({ children, className, backdrop, card }: {
|
2
|
+
export declare function MapOverlayPage({ children, className, backdrop, card, }: {
|
3
3
|
children: React.ReactNode;
|
4
4
|
className?: string;
|
5
5
|
backdrop?: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import * as React from
|
1
|
+
import * as React from 'react';
|
2
2
|
interface TitleCardProps {
|
3
3
|
title?: string;
|
4
4
|
hideTitle?: boolean;
|
@@ -7,5 +7,5 @@ interface TitleCardProps {
|
|
7
7
|
className?: string;
|
8
8
|
TopSideButtons?: any;
|
9
9
|
}
|
10
|
-
export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className }: TitleCardProps): import("react/jsx-runtime").JSX.Element;
|
10
|
+
export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className, }: TitleCardProps): import("react/jsx-runtime").JSX.Element;
|
11
11
|
export {};
|
@@ -2,7 +2,7 @@ export { CardPage } from './CardPage';
|
|
2
2
|
export { TitleCard } from './TitleCard';
|
3
3
|
export { MapOverlayPage } from './MapOverlayPage';
|
4
4
|
export { MoonCalendar } from './MoonCalendar';
|
5
|
-
export { SelectUser } from
|
6
|
-
export { OverlayItemsIndexPage } from
|
7
|
-
export { AttestationForm } from
|
8
|
-
export { MarketView } from
|
5
|
+
export { SelectUser } from './SelectUser';
|
6
|
+
export { OverlayItemsIndexPage } from './OverlayItemsIndexPage';
|
7
|
+
export { AttestationForm } from './AttestationForm';
|
8
|
+
export { MarketView } from './MarketView';
|
package/dist/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
export {
|
3
|
-
export {
|
1
|
+
import './index.css';
|
2
|
+
export { UtopiaMap, Layer, Tags, Permissions, ItemForm, ItemView, PopupTextAreaInput, PopupStartEndInput, PopupTextInput, PopupButton, TextView, StartEndView, PopupCheckboxInput, } from './Components/Map';
|
3
|
+
export { AppShell, Content, SideBar, Sitemap } from './Components/AppShell';
|
4
|
+
export { AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage, } from './Components/Auth';
|
4
5
|
export { UserSettings, ProfileView, ProfileForm } from './Components/Profile';
|
5
6
|
export { Quests, Modal } from './Components/Gaming';
|
6
|
-
export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, MoonCalendar, SelectUser, AttestationForm, MarketView } from './Components/Templates';
|
7
|
+
export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, MoonCalendar, SelectUser, AttestationForm, MarketView, } from './Components/Templates';
|
7
8
|
export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
|
8
|
-
import "./index.css";
|
9
9
|
declare global {
|
10
10
|
interface Window {
|
11
11
|
my_modal_3: any;
|