utopia-ui 3.0.91 → 3.0.93
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/index.cjs +66 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +66 -27
- package/dist/index.esm.js.map +1 -1
- package/dist/types/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +3 -1
- package/dist/types/src/Components/Map/UtopiaMap.d.ts +3 -1
- package/dist/types/src/Components/Map/UtopiaMapInner.d.ts +2 -1
- package/package.json +1 -1
@@ -33,7 +33,7 @@ import type { GeoJsonObject } from 'geojson';
|
|
33
33
|
* ```
|
34
34
|
* @category Map
|
35
35
|
*/
|
36
|
-
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, showZoomControl, showThemeControl, defaultTheme, donationWidget, }: {
|
36
|
+
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, showZoomControl, showThemeControl, defaultTheme, donationWidget, expandLayerControl, }: {
|
37
37
|
/** height of the map (default '500px') */
|
38
38
|
height?: string;
|
39
39
|
/** width of the map (default '100%') */
|
@@ -60,5 +60,7 @@ declare function UtopiaMap({ height, width, center, zoom, children, geo, showFil
|
|
60
60
|
defaultTheme?: string;
|
61
61
|
/** ask to donate to the Utopia Project OpenCollective campaign (default false) */
|
62
62
|
donationWidget?: boolean;
|
63
|
+
/** open layer control on map initialisation */
|
64
|
+
expandLayerControl?: boolean;
|
63
65
|
}): import("react/jsx-runtime").JSX.Element;
|
64
66
|
export { UtopiaMap };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { GeoJsonObject } from 'geojson';
|
2
|
-
export declare function UtopiaMapInner({ children, geo, showFilterControl, showGratitudeControl, showLayerControl, showThemeControl, defaultTheme, donationWidget, }: {
|
2
|
+
export declare function UtopiaMapInner({ children, geo, showFilterControl, showGratitudeControl, showLayerControl, showThemeControl, defaultTheme, donationWidget, expandLayerControl, }: {
|
3
3
|
children?: React.ReactNode;
|
4
4
|
geo?: GeoJsonObject;
|
5
5
|
showFilterControl?: boolean;
|
@@ -8,4 +8,5 @@ export declare function UtopiaMapInner({ children, geo, showFilterControl, showG
|
|
8
8
|
donationWidget?: boolean;
|
9
9
|
showThemeControl?: boolean;
|
10
10
|
defaultTheme?: string;
|
11
|
+
expandLayerControl?: boolean;
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.93",
|
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/",
|