utopia-ui 3.0.0-alpha.185 → 3.0.0-alpha.187

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.
@@ -0,0 +1,11 @@
1
+ interface ComboBoxProps {
2
+ id?: string;
3
+ options: {
4
+ value: string;
5
+ label: string;
6
+ }[];
7
+ value: string;
8
+ onValueChange: (newValue: string) => void;
9
+ }
10
+ declare const ComboBoxInput: ({ id, options, value, onValueChange }: ComboBoxProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default ComboBoxInput;
@@ -1,2 +1,2 @@
1
1
  import { LayerProps } from '../../types';
2
- export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, setItemFormPopup, itemFormPopup, clusterRef }: LayerProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef }: LayerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const FilterControl: () => JSX.Element;
1
+ export declare function FilterControl(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Item, ItemsApi } from "../../../../types";
2
- export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname }: {
2
+ export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress }: {
3
3
  item: Item;
4
4
  api?: ItemsApi<any>;
5
5
  editCallback?: any;
@@ -13,4 +13,5 @@ export declare function HeaderView({ item, api, editCallback, deleteCallback, se
13
13
  big?: boolean;
14
14
  hideSubname?: boolean;
15
15
  truncateSubname?: boolean;
16
+ showAddress?: boolean;
16
17
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const TextView: ({ item, truncate, itemTextField }: {
2
+ export declare const TextView: ({ item, truncate, itemTextField, rawText }: {
3
3
  item?: Item | undefined;
4
4
  truncate?: boolean | undefined;
5
5
  itemTextField?: string | undefined;
6
+ rawText?: string | undefined;
6
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import "leaflet/dist/leaflet.css";
2
2
  import { UtopiaMapProps } from "../../types";
3
3
  import "./UtopiaMap.css";
4
- declare function UtopiaMap({ height, width, center, zoom, children, geo }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
4
+ declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showLayerControl }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
5
5
  export { UtopiaMap };
@@ -13,6 +13,9 @@ declare function useFilterManager(initialTags: Tag[]): {
13
13
  toggleVisibleLayer: (layer: LayerProps) => void;
14
14
  resetVisibleLayers: () => void;
15
15
  isLayerVisible: (layer: LayerProps) => boolean;
16
+ addVisibleGroupType: (groupType: string) => void;
17
+ toggleVisibleGroupType: (groupType: string) => void;
18
+ isGroupTypeVisible: (groupType: string) => boolean;
16
19
  };
17
20
  export declare const FilterProvider: React.FunctionComponent<{
18
21
  initialTags: Tag[];
@@ -29,4 +32,7 @@ export declare const useAddVisibleLayer: () => UseFilterManagerResult["addVisibl
29
32
  export declare const useToggleVisibleLayer: () => UseFilterManagerResult["toggleVisibleLayer"];
30
33
  export declare const useResetVisibleLayers: () => UseFilterManagerResult["resetVisibleLayers"];
31
34
  export declare const useIsLayerVisible: () => UseFilterManagerResult["isLayerVisible"];
35
+ export declare const useAddVisibleGroupType: () => UseFilterManagerResult["addVisibleGroupType"];
36
+ export declare const useToggleVisibleGroupType: () => UseFilterManagerResult["toggleVisibleGroupType"];
37
+ export declare const useIsGroupTypeVisible: () => UseFilterManagerResult["isGroupTypeVisible"];
32
38
  export {};
@@ -1,5 +1,6 @@
1
- declare const ContactInfo: ({ email, name, avatar }: {
1
+ declare const ContactInfo: ({ email, telephone, name, avatar }: {
2
2
  email: string;
3
+ telephone: string;
3
4
  name: string;
4
5
  avatar: string;
5
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
- declare const SubHeader: ({ location, type, url, title }: {
2
- location: any;
1
+ declare const SubHeader: ({ type, status, url, title }: {
3
2
  type: any;
3
+ status: any;
4
4
  url: any;
5
5
  title: any;
6
6
  }) => import("react/jsx-runtime").JSX.Element;