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.
- package/dist/Components/Input/ComboBoxInput.d.ts +11 -0
- package/dist/Components/Map/Layer.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +2 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +2 -1
- package/dist/Components/Map/UtopiaMap.d.ts +1 -1
- package/dist/Components/Map/hooks/useFilter.d.ts +6 -0
- package/dist/Components/Profile/ContactInfo.d.ts +2 -1
- package/dist/Components/Profile/ProfileSubHeader.d.ts +2 -2
- package/dist/index.js +375 -144
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
@@ -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
|
-
|
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 {};
|