utopia-ui 3.0.18 → 3.0.20

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.
Files changed (74) hide show
  1. package/README.md +9 -7
  2. package/dist/Components/AppShell/AppShell.d.ts +2 -2
  3. package/dist/Components/AppShell/Content.d.ts +1 -1
  4. package/dist/Components/AppShell/SetAppState.d.ts +1 -1
  5. package/dist/Components/AppShell/hooks/useAppState.d.ts +4 -4
  6. package/dist/Components/AppShell/hooks/useAssets.d.ts +2 -2
  7. package/dist/Components/Auth/useAuth.d.ts +8 -8
  8. package/dist/Components/Gaming/Modal.d.ts +1 -1
  9. package/dist/Components/Gaming/hooks/useQuests.d.ts +1 -1
  10. package/dist/Components/Input/Autocomplete.d.ts +1 -1
  11. package/dist/Components/Map/ItemForm.d.ts +5 -6
  12. package/dist/Components/Map/ItemView.d.ts +3 -5
  13. package/dist/Components/Map/Layer.d.ts +1 -1
  14. package/dist/Components/Map/Permissions.d.ts +1 -1
  15. package/dist/Components/Map/Subcomponents/AddButton.d.ts +1 -1
  16. package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +0 -1
  17. package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +1 -10
  18. package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +1 -1
  19. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -1
  20. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +1 -1
  21. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +3 -3
  22. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +1 -1
  23. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +1 -1
  24. package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +1 -1
  25. package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +1 -1
  26. package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +3 -4
  27. package/dist/Components/Map/Tags.d.ts +1 -1
  28. package/dist/Components/Map/UtopiaMap.d.ts +1 -1
  29. package/dist/Components/Map/UtopiaMapInner.d.ts +1 -1
  30. package/dist/Components/Map/hooks/useClusterRef.d.ts +1 -1
  31. package/dist/Components/Map/hooks/useFilter.d.ts +2 -2
  32. package/dist/Components/Map/hooks/useItems.d.ts +2 -2
  33. package/dist/Components/Map/hooks/useLayers.d.ts +2 -2
  34. package/dist/Components/Map/hooks/useLeafletRefs.d.ts +4 -4
  35. package/dist/Components/Map/hooks/usePermissions.d.ts +2 -2
  36. package/dist/Components/Map/hooks/useSelectPosition.d.ts +4 -5
  37. package/dist/Components/Map/hooks/useTags.d.ts +2 -2
  38. package/dist/Components/Profile/ProfileView.d.ts +1 -1
  39. package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +1 -1
  40. package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +1 -1
  41. package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +6 -3
  42. package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +1 -2
  43. package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +1 -1
  44. package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +1 -1
  45. package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +3 -5
  46. package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +1 -1
  47. package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +1 -1
  48. package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +1 -2
  49. package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +1 -1
  50. package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +1 -2
  51. package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +1 -1
  52. package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +2 -2
  53. package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +4 -4
  54. package/dist/Components/Profile/Templates/FlexForm.d.ts +1 -3
  55. package/dist/Components/Profile/Templates/FlexView.d.ts +1 -1
  56. package/dist/Components/Profile/Templates/OnepagerForm.d.ts +1 -19
  57. package/dist/Components/Profile/Templates/OnepagerView.d.ts +1 -1
  58. package/dist/Components/Profile/Templates/SimpleView.d.ts +1 -1
  59. package/dist/Components/Profile/Templates/TabsView.d.ts +5 -5
  60. package/dist/Components/Profile/itemFunctions.d.ts +0 -1
  61. package/dist/Components/Templates/AttestationForm.d.ts +1 -1
  62. package/dist/Components/Templates/CardPage.d.ts +3 -3
  63. package/dist/Components/Templates/DateUserInfo.d.ts +1 -1
  64. package/dist/Components/Templates/DialogModal.d.ts +3 -3
  65. package/dist/Components/Templates/ItemCard.d.ts +1 -1
  66. package/dist/Components/Templates/MapOverlayPage.d.ts +1 -1
  67. package/dist/Components/Templates/TagView.d.ts +1 -1
  68. package/dist/Components/Templates/TitleCard.d.ts +1 -1
  69. package/dist/Components/Typography/Subtitle.d.ts +1 -1
  70. package/dist/Utils/MarkerIconFactory.d.ts +1 -2
  71. package/dist/index.js +3100 -3057
  72. package/dist/index.js.map +1 -1
  73. package/dist/types.d.ts +37 -12
  74. package/package.json +15 -4
@@ -1,4 +1,4 @@
1
- import { Item } from '../../../types';
1
+ import { Item } from '#src/types';
2
2
  export declare const SimpleView: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- import { Item, Tag } from '../../../types';
1
+ import { Item, Tag } from '#src/types';
2
2
  export declare const TabsView: ({ attestations, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, }: {
3
- attestations: Array<any>;
3
+ attestations: any[];
4
4
  item: Item;
5
- offers: Array<Tag>;
6
- needs: Array<Tag>;
7
- relations: Array<Item>;
5
+ offers: Tag[];
6
+ needs: Tag[];
7
+ relations: Item[];
8
8
  updatePermission: boolean;
9
9
  loading: boolean;
10
10
  linkItem: (id: string) => Promise<void>;
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  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>;
3
2
  export declare const linkItem: (id: string, item: any, updateItem: any) => Promise<void>;
4
3
  export declare const unlinkItem: (id: string, item: any, updateItem: any) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { ItemsApi } from '../../types';
1
+ import { ItemsApi } from '#src/types';
2
2
  export declare const AttestationForm: ({ api }: {
3
3
  api?: ItemsApi<any> | undefined;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  export declare function CardPage({ title, hideTitle, children, parents, }: {
3
3
  title: string;
4
4
  hideTitle?: boolean;
5
5
  children?: React.ReactNode;
6
- parents?: Array<{
6
+ parents?: {
7
7
  name: string;
8
8
  path: string;
9
- }>;
9
+ }[];
10
10
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Item } from '../../types';
1
+ import { Item } from '#src/types';
2
2
  export declare const DateUserInfo: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- declare type Props = {
1
+ /// <reference types="react" />
2
+ interface Props {
3
3
  title: string;
4
4
  isOpened: boolean;
5
5
  onClose: () => void;
@@ -7,6 +7,6 @@ declare type Props = {
7
7
  showCloseButton?: boolean;
8
8
  closeOnClickOutside?: boolean;
9
9
  className?: string;
10
- };
10
+ }
11
11
  declare const DialogModal: ({ title, isOpened, onClose, children, showCloseButton, closeOnClickOutside, className, }: Props) => import("react/jsx-runtime").JSX.Element;
12
12
  export default DialogModal;
@@ -1,4 +1,4 @@
1
- import { Item } from '../../types';
1
+ import { Item } from '#src/types';
2
2
  export declare const ItemCard: ({ i, loading, url, parameterField, deleteCallback, }: {
3
3
  i: Item;
4
4
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  export declare function MapOverlayPage({ children, className, backdrop, card, }: {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { Tag } from '../../types';
1
+ import { Tag } from '#src/types';
2
2
  export declare const TagView: ({ tag, heighlight, onClick, count, }: {
3
3
  tag: Tag;
4
4
  heighlight?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  interface TitleCardProps {
3
3
  title?: string;
4
4
  hideTitle?: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  declare function Subtitle({ styleClass, children }: {
3
3
  styleClass: string;
4
4
  children: React.ReactNode;
@@ -1,3 +1,2 @@
1
- import * as L from 'leaflet';
2
- declare const MarkerIconFactory: (shape: string, color1: string, color2: string, icon: string) => L.DivIcon;
1
+ declare const MarkerIconFactory: (shape: string, color1: string, color2: string, icon: string) => import("leaflet").DivIcon;
3
2
  export default MarkerIconFactory;