utopia-ui 3.0.0-alpha.4 → 3.0.0-alpha.5
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/FancyTextAreaInput.d.ts +13 -0
- package/dist/Components/Input/TributeTextAreaInput copy.d.ts +13 -0
- package/dist/Components/Input/TributeTextAreaInput.d.ts +13 -0
- package/dist/Components/Map/Subcomponents/FilterControl.d.ts +2 -0
- package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +1 -2
- package/dist/Components/Map/Subcomponents/SearchBar.d.ts +2 -0
- package/dist/Components/Map/Subcomponents/TagFilterControl.d.ts +2 -0
- package/dist/Components/Map/Tags.d.ts +4 -3
- package/dist/Components/Map/hooks/useFilter.d.ts +22 -0
- package/dist/Components/Map/hooks/useItems.d.ts +4 -0
- package/dist/Components/Map/hooks/useTags.d.ts +5 -1
- package/dist/Utils/HashTagRegex.d.ts +1 -0
- package/dist/Utils/HeighlightTags.d.ts +1 -2
- package/dist/Utils/RandomColor.d.ts +1 -0
- package/dist/Utils/ReplaceURLs.d.ts +3 -1
- package/dist/Utils/TaggedText.d.ts +3 -0
- package/dist/index.js +467 -166
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +3 -4
- package/package.json +3 -1
package/dist/types.d.ts
CHANGED
@@ -19,13 +19,12 @@ export interface LayerProps {
|
|
19
19
|
markerIcon: string;
|
20
20
|
markerShape: string;
|
21
21
|
markerDefaultColor: string;
|
22
|
-
tags?: Tag[];
|
23
22
|
api?: ItemsApi<any>;
|
24
23
|
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
25
24
|
itemFormPopup?: ItemFormPopupProps | null;
|
26
25
|
}
|
27
26
|
export declare class Item {
|
28
|
-
id: string
|
27
|
+
id: string;
|
29
28
|
name: string;
|
30
29
|
text: string;
|
31
30
|
position: Geometry;
|
@@ -33,10 +32,10 @@ export declare class Item {
|
|
33
32
|
date_updated?: string | null;
|
34
33
|
start?: string;
|
35
34
|
end?: string;
|
36
|
-
tags?: number[];
|
37
35
|
api?: ItemsApi<any>;
|
36
|
+
tags?: Tag[];
|
38
37
|
[key: string]: any;
|
39
|
-
constructor(id: string
|
38
|
+
constructor(id: string, name: string, text: string, position: Geometry, layer?: LayerProps, api?: ItemsApi<any>);
|
40
39
|
}
|
41
40
|
export declare class Geometry {
|
42
41
|
type: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.5",
|
4
4
|
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
|
5
5
|
"repository": "https://github.com/utopia-os/utopia-ui",
|
6
6
|
"homepage:": "https://utopia-os.org/",
|
@@ -48,7 +48,9 @@
|
|
48
48
|
"react-leaflet": "^4.2.1",
|
49
49
|
"react-leaflet-cluster": "^2.1.0",
|
50
50
|
"react-router-dom": "^6.11.2",
|
51
|
+
"react-string-replace": "^1.1.1",
|
51
52
|
"react-toastify": "^9.1.3",
|
53
|
+
"tributejs": "^5.1.3",
|
52
54
|
"tw-elements": "^1.0.0-beta2"
|
53
55
|
}
|
54
56
|
}
|