utopia-ui 3.0.0-alpha.86 → 3.0.0-alpha.88

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 (126) hide show
  1. package/dist/Components/AppShell/AppShell.d.ts +1 -1
  2. package/dist/Components/AppShell/SetAssetsApi.d.ts +1 -2
  3. package/dist/Components/Auth/LoginPage.d.ts +1 -2
  4. package/dist/Components/Auth/RequestPasswordPage.d.ts +1 -2
  5. package/dist/Components/Auth/SetNewPasswordPage.d.ts +1 -2
  6. package/dist/Components/Auth/SignupPage.d.ts +1 -2
  7. package/dist/Components/Auth/useAuth.d.ts +1 -1
  8. package/dist/Components/Map/ItemForm.d.ts +1 -1
  9. package/dist/Components/Map/ItemView.d.ts +1 -1
  10. package/dist/Components/Map/Layer.d.ts +1 -2
  11. package/dist/Components/Map/Permissions.d.ts +1 -2
  12. package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -2
  13. package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +1 -1
  14. package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +1 -1
  15. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -2
  16. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +1 -2
  17. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +1 -2
  18. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +1 -2
  19. package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +1 -2
  20. package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +1 -2
  21. package/dist/Components/Map/Tags.d.ts +1 -2
  22. package/dist/Components/Map/UtopiaMap.d.ts +1 -1
  23. package/dist/Components/Profile/Editor.d.ts +1 -2
  24. package/dist/Components/Profile/OverlayProfile.d.ts +1 -2
  25. package/dist/Components/Profile/OverlayProfileSettings.d.ts +1 -2
  26. package/dist/Components/Profile/OverlayUserSettings.d.ts +1 -2
  27. package/dist/Components/Profile/ProfileSettings.d.ts +1 -2
  28. package/dist/Components/Profile/TagsWidget.d.ts +1 -2
  29. package/dist/Components/Profile/UserSettings.d.ts +1 -2
  30. package/dist/Components/Templates/CardPage.d.ts +5 -5
  31. package/dist/Components/Templates/ItemViewPage.d.ts +14 -0
  32. package/dist/Components/Templates/ItemsIndexPage.d.ts +16 -0
  33. package/dist/Components/Templates/TagView.d.ts +1 -2
  34. package/dist/Components/Templates/index.d.ts +2 -0
  35. package/dist/Components/Typography/ErrorText.d.ts +1 -2
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +70 -16
  38. package/dist/index.js.map +1 -1
  39. package/dist/types.d.ts +1 -0
  40. package/dist/workspace/utopia-ui/src/Components/AppShell/AppShell.d.ts +8 -0
  41. package/dist/workspace/utopia-ui/src/Components/AppShell/Content.d.ts +6 -0
  42. package/dist/workspace/utopia-ui/src/Components/AppShell/NavBar.d.ts +4 -0
  43. package/dist/workspace/utopia-ui/src/Components/AppShell/SetAssetsApi.d.ts +4 -0
  44. package/dist/workspace/utopia-ui/src/Components/AppShell/SideBar.d.ts +12 -0
  45. package/dist/workspace/utopia-ui/src/Components/AppShell/SidebarSubmenu.d.ts +7 -0
  46. package/dist/workspace/utopia-ui/src/Components/AppShell/hooks/useAssets.d.ts +13 -0
  47. package/dist/workspace/utopia-ui/src/Components/AppShell/index.d.ts +3 -0
  48. package/dist/workspace/utopia-ui/src/Components/Auth/LoginPage.d.ts +1 -0
  49. package/dist/workspace/utopia-ui/src/Components/Auth/RequestPasswordPage.d.ts +3 -0
  50. package/dist/workspace/utopia-ui/src/Components/Auth/SetNewPasswordPage.d.ts +1 -0
  51. package/dist/workspace/utopia-ui/src/Components/Auth/SignupPage.d.ts +1 -0
  52. package/dist/workspace/utopia-ui/src/Components/Auth/index.d.ts +5 -0
  53. package/dist/workspace/utopia-ui/src/Components/Auth/useAuth.d.ts +26 -0
  54. package/dist/workspace/utopia-ui/src/Components/Gaming/Modal.d.ts +5 -0
  55. package/dist/workspace/utopia-ui/src/Components/Gaming/Quests.d.ts +1 -0
  56. package/dist/workspace/utopia-ui/src/Components/Gaming/hooks/useQuests.d.ts +13 -0
  57. package/dist/workspace/utopia-ui/src/Components/Gaming/index.d.ts +2 -0
  58. package/dist/workspace/utopia-ui/src/Components/Input/Autocomplete.d.ts +7 -0
  59. package/dist/workspace/utopia-ui/src/Components/Input/SelectBox.d.ts +16 -0
  60. package/dist/workspace/utopia-ui/src/Components/Input/TextAreaInput.d.ts +12 -0
  61. package/dist/workspace/utopia-ui/src/Components/Input/TextInput.d.ts +14 -0
  62. package/dist/workspace/utopia-ui/src/Components/Input/index.d.ts +3 -0
  63. package/dist/workspace/utopia-ui/src/Components/Map/ItemForm.d.ts +18 -0
  64. package/dist/workspace/utopia-ui/src/Components/Map/ItemView.d.ts +16 -0
  65. package/dist/workspace/utopia-ui/src/Components/Map/Layer.d.ts +2 -0
  66. package/dist/workspace/utopia-ui/src/Components/Map/Permissions.d.ts +6 -0
  67. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/AddButton.d.ts +4 -0
  68. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/Control.d.ts +6 -0
  69. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -0
  70. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -0
  71. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -0
  72. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/SearchControl.d.ts +3 -0
  73. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -0
  74. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +11 -0
  75. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +7 -0
  76. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +8 -0
  77. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +4 -0
  78. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -0
  79. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -0
  80. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -0
  81. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +6 -0
  82. package/dist/workspace/utopia-ui/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +9 -0
  83. package/dist/workspace/utopia-ui/src/Components/Map/Tags.d.ts +5 -0
  84. package/dist/workspace/utopia-ui/src/Components/Map/UtopiaMap.d.ts +11 -0
  85. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useDebounce.d.ts +1 -0
  86. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useFilter.d.ts +32 -0
  87. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useItems.d.ts +26 -0
  88. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useLayers.d.ts +14 -0
  89. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useLeafletRefs.d.ts +22 -0
  90. package/dist/workspace/utopia-ui/src/Components/Map/hooks/usePermissions.d.ts +20 -0
  91. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useTags.d.ts +22 -0
  92. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useTimeout.d.ts +4 -0
  93. package/dist/workspace/utopia-ui/src/Components/Map/hooks/useWindowDimension.d.ts +4 -0
  94. package/dist/workspace/utopia-ui/src/Components/Map/index.d.ts +12 -0
  95. package/dist/workspace/utopia-ui/src/Components/Profile/ColorPicker.d.ts +6 -0
  96. package/dist/workspace/utopia-ui/src/Components/Profile/Editor.d.ts +4 -0
  97. package/dist/workspace/utopia-ui/src/Components/Profile/OverlayProfile.d.ts +1 -0
  98. package/dist/workspace/utopia-ui/src/Components/Profile/OverlayProfileSettings.d.ts +1 -0
  99. package/dist/workspace/utopia-ui/src/Components/Profile/OverlayUserSettings.d.ts +1 -0
  100. package/dist/workspace/utopia-ui/src/Components/Profile/ProfileSettings.d.ts +3 -0
  101. package/dist/workspace/utopia-ui/src/Components/Profile/TagsWidget.d.ts +6 -0
  102. package/dist/workspace/utopia-ui/src/Components/Profile/UserSettings.d.ts +3 -0
  103. package/dist/workspace/utopia-ui/src/Components/Profile/index.d.ts +5 -0
  104. package/dist/workspace/utopia-ui/src/Components/Profile/useClickOutside.d.ts +2 -0
  105. package/dist/workspace/utopia-ui/src/Components/Templates/CardPage.d.ts +10 -0
  106. package/dist/workspace/utopia-ui/src/Components/Templates/CircleLayout.d.ts +5 -0
  107. package/dist/workspace/utopia-ui/src/Components/Templates/DialogModal.d.ts +10 -0
  108. package/dist/workspace/utopia-ui/src/Components/Templates/ItemsIndexPage.d.ts +15 -0
  109. package/dist/workspace/utopia-ui/src/Components/Templates/MapOverlayPage.d.ts +7 -0
  110. package/dist/workspace/utopia-ui/src/Components/Templates/MoonCalendar.d.ts +1 -0
  111. package/dist/workspace/utopia-ui/src/Components/Templates/TagView.d.ts +6 -0
  112. package/dist/workspace/utopia-ui/src/Components/Templates/TitleCard.d.ts +11 -0
  113. package/dist/workspace/utopia-ui/src/Components/Templates/index.d.ts +6 -0
  114. package/dist/workspace/utopia-ui/src/Components/Typography/ErrorText.d.ts +5 -0
  115. package/dist/workspace/utopia-ui/src/Components/Typography/Subtitle.d.ts +6 -0
  116. package/dist/workspace/utopia-ui/src/Utils/FormatTags.d.ts +2 -0
  117. package/dist/workspace/utopia-ui/src/Utils/GetValue.d.ts +1 -0
  118. package/dist/workspace/utopia-ui/src/Utils/HashTagRegex.d.ts +1 -0
  119. package/dist/workspace/utopia-ui/src/Utils/MarkerIconFactory.d.ts +3 -0
  120. package/dist/workspace/utopia-ui/src/Utils/Moon.d.ts +7 -0
  121. package/dist/workspace/utopia-ui/src/Utils/RandomColor.d.ts +1 -0
  122. package/dist/workspace/utopia-ui/src/Utils/ReplaceURLs.d.ts +3 -0
  123. package/dist/workspace/utopia-ui/src/Utils/TimeAgo.d.ts +1 -0
  124. package/dist/workspace/utopia-ui/src/index.d.ts +13 -0
  125. package/dist/workspace/utopia-ui/src/types.d.ts +108 -0
  126. package/package.json +1 -1
@@ -5,4 +5,4 @@ export declare function AppShell({ appName, nameWidth, children, assetsApi }: {
5
5
  nameWidth?: number;
6
6
  children: React.ReactNode;
7
7
  assetsApi: AssetsApi;
8
- }): JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { AssetsApi } from '../../types';
3
2
  export declare const SetAssetsApi: ({ assetsApi }: {
4
3
  assetsApi: AssetsApi;
5
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function LoginPage(): JSX.Element;
1
+ export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function RequestPasswordPage({ reset_url }: {
3
2
  reset_url: any;
4
- }): JSX.Element;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function SetNewPasswordPage(): JSX.Element;
1
+ export declare function SetNewPasswordPage(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function SignupPage(): JSX.Element;
1
+ export declare function SignupPage(): import("react/jsx-runtime").JSX.Element;
@@ -21,6 +21,6 @@ declare type AuthContextProps = {
21
21
  requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
22
22
  passwordReset: (token: string, new_password: string) => Promise<any>;
23
23
  };
24
- export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => JSX.Element;
24
+ export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
25
25
  export declare const useAuth: () => AuthContextProps;
26
26
  export {};
@@ -7,7 +7,7 @@ export declare const ItemForm: {
7
7
  item?: Item | undefined;
8
8
  title?: string | undefined;
9
9
  setPopupTitle?: React.Dispatch<React.SetStateAction<string>> | undefined;
10
- }): JSX.Element;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
11
  propTypes: {
12
12
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
13
  __TYPE: PropTypes.Requireable<string>;
@@ -5,7 +5,7 @@ export declare const ItemView: {
5
5
  ({ children, item }: {
6
6
  children?: React.ReactNode;
7
7
  item?: Item | undefined;
8
- }): JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
9
  propTypes: {
10
10
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
11
11
  __TYPE: PropTypes.Requireable<string>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { LayerProps } from '../../types';
3
- 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;
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) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { ItemsApi, Permission } from '../../types';
3
2
  export declare function Permissions({ data, api, adminRole }: {
4
3
  data?: Permission[];
5
4
  api?: ItemsApi<Permission>;
6
5
  adminRole?: string;
7
- }): JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const SearchControl: ({ clusterRef }: {
3
2
  clusterRef: any;
4
- }) => JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -8,4 +8,4 @@ export interface ItemFormPopupProps {
8
8
  children?: React.ReactNode;
9
9
  setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
10
10
  }
11
- export declare function ItemFormPopup(props: ItemFormPopupProps): JSX.Element;
11
+ export declare function ItemFormPopup(props: ItemFormPopupProps): import("react/jsx-runtime").JSX.Element;
@@ -4,4 +4,4 @@ import { Item } from "../../../../types";
4
4
  export declare function HeaderView({ item, setItemFormPopup }: {
5
5
  item: Item;
6
6
  setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
7
- }): JSX.Element;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const PopupButton: ({ url, parameterField, text, colorField, item }: {
4
3
  url: string;
@@ -6,4 +5,4 @@ export declare const PopupButton: ({ url, parameterField, text, colorField, item
6
5
  text: string;
7
6
  colorField?: string | undefined;
8
7
  item?: Item | undefined;
9
- }) => JSX.Element;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const PopupStartEndInput: ({ item }: {
4
3
  item?: Item | undefined;
5
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const PopupTextAreaInput: ({ dataField, placeholder, style, item }: {
4
3
  dataField: string;
5
4
  placeholder: string;
6
5
  style?: string | undefined;
7
6
  item?: Item | undefined;
8
- }) => JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const PopupTextInput: ({ dataField, placeholder, style, item }: {
4
3
  dataField: string;
5
4
  placeholder: string;
6
5
  style?: string | undefined;
7
6
  item?: Item | undefined;
8
- }) => JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const StartEndView: ({ item }: {
4
3
  item?: Item | undefined;
5
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Item } from '../../../../types';
3
2
  export declare const TextView: ({ item, truncate, itemTextField }: {
4
3
  item?: Item | undefined;
5
4
  truncate?: boolean | undefined;
6
5
  itemTextField?: string | undefined;
7
- }) => JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ItemsApi, Tag } from '../../types';
3
2
  export declare function Tags({ data, api }: {
4
3
  data?: Tag[];
5
4
  api?: ItemsApi<Tag>;
6
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -7,5 +7,5 @@ export interface MapEventListenerProps {
7
7
  setSelectNewItemPosition: React.Dispatch<any>;
8
8
  setItemFormPopup: React.Dispatch<React.SetStateAction<any>>;
9
9
  }
10
- declare function UtopiaMap({ height, width, center, zoom, children }: UtopiaMapProps): JSX.Element;
10
+ declare function UtopiaMap({ height, width, center, zoom, children }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
11
11
  export { UtopiaMap };
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare function TextEditor({ value, updateFormValue }: {
3
2
  value: string;
4
3
  updateFormValue: (string: any) => void;
5
- }): JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function OverlayProfile(): JSX.Element;
1
+ export declare function OverlayProfile(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function OverlayProfileSettings(): JSX.Element;
1
+ export declare function OverlayProfileSettings(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function OverlayUserSettings(): JSX.Element;
1
+ export declare function OverlayUserSettings(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'react-image-crop/dist/ReactCrop.css';
3
2
  import 'react-toastify/dist/ReactToastify.css';
4
- export declare function ProfileSettings(): JSX.Element;
3
+ export declare function ProfileSettings(): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const TagsWidget: ({ placeholder, containerStyle, defaultTags, onUpdate }: {
3
2
  placeholder: any;
4
3
  containerStyle: any;
5
4
  defaultTags: any;
6
5
  onUpdate: any;
7
- }) => JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'react-image-crop/dist/ReactCrop.css';
3
2
  import 'react-toastify/dist/ReactToastify.css';
4
- export declare function UserSettings(): JSX.Element;
3
+ export declare function UserSettings(): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
- export declare function CardPage({ title, hideTitle, children, parent }: {
2
+ export declare function CardPage({ title, hideTitle, children, parents }: {
3
3
  title: string;
4
4
  hideTitle?: boolean;
5
5
  children?: React.ReactNode;
6
- parent?: {
6
+ parents?: Array<{
7
7
  name: string;
8
- url: string;
9
- };
10
- }): JSX.Element;
8
+ path: string;
9
+ }>;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,16 @@
1
+ import { ItemsApi } from '../../types';
2
+ declare type breadcrumb = {
3
+ name: string;
4
+ path: string;
5
+ };
6
+ export declare const ItemsIndexPage: ({ api, url, parameterField, breadcrumbs, itemNameField, itemTextField, itemImageField, itemSymbolField }: {
7
+ api: ItemsApi<any>;
8
+ url: string;
9
+ parameterField: string;
10
+ breadcrumbs: Array<breadcrumb>;
11
+ itemNameField: string;
12
+ itemTextField: string;
13
+ itemImageField: string;
14
+ itemSymbolField: string;
15
+ }) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Tag } from '../../types';
3
2
  export declare const TagView: ({ tag, heighlight, onClick }: {
4
3
  tag: Tag;
5
4
  heighlight?: boolean | undefined;
6
5
  onClick?: ((e: any) => void) | undefined;
7
- }) => JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -3,3 +3,5 @@ export { TitleCard } from './TitleCard';
3
3
  export { MapOverlayPage } from './MapOverlayPage';
4
4
  export { CircleLayout } from './CircleLayout';
5
5
  export { MoonCalendar } from './MoonCalendar';
6
+ export { ItemsIndexPage } from "./ItemsIndexPage";
7
+ export { ItemViewPage } from "./ItemViewPage";
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare function ErrorText({ styleClass, children }: {
3
2
  styleClass: any;
4
3
  children: any;
5
- }): JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
6
5
  export default ErrorText;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { AppShell, Content, SideBar } from "./Components/AppShell";
3
3
  export { AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage } from "./Components/Auth";
4
4
  export { UserSettings, ProfileSettings, OverlayProfile, OverlayProfileSettings, OverlayUserSettings } from './Components/Profile';
5
5
  export { Quests, Modal } from './Components/Gaming';
6
- export { TitleCard, CardPage, MapOverlayPage, CircleLayout, MoonCalendar } from './Components/Templates';
6
+ export { TitleCard, CardPage, MapOverlayPage, CircleLayout, MoonCalendar, ItemsIndexPage, ItemViewPage } from './Components/Templates';
7
7
  export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
8
8
  import "./index.css";
9
9
  declare global {