utopia-ui 3.0.81 → 3.0.83
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/README.md +4 -0
- package/dist/index.cjs +481 -240
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.esm.js +481 -240
- package/dist/index.esm.js.map +1 -1
- package/dist/types/src/Components/AppShell/AppShell.d.ts +2 -1
- package/dist/types/src/Components/AppShell/SetAppState.d.ts +2 -1
- package/dist/types/src/Components/AppShell/hooks/useAppState.d.ts +2 -0
- package/dist/types/src/Components/Map/Permissions.d.ts +30 -9
- package/dist/types/src/Components/Map/Tags.d.ts +22 -0
- package/dist/types/src/Components/Map/UtopiaMap.d.ts +58 -2
- package/dist/types/src/Components/Map/UtopiaMapInner.d.ts +11 -2
- package/dist/types/src/Components/Profile/ItemFunctions.spec.d.ts +1 -0
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
@@ -27,14 +27,16 @@ interface UtopiaMapProps {
|
|
27
27
|
showFilterControl?: boolean
|
28
28
|
showLayerControl?: boolean
|
29
29
|
showGratitudeControl?: boolean
|
30
|
+
showThemeControl?: boolean
|
30
31
|
infoText?: string
|
31
32
|
donationWidget?: boolean
|
33
|
+
defaultTheme?: string
|
32
34
|
}
|
33
35
|
|
34
36
|
/**
|
35
37
|
* @category Map
|
36
38
|
*/
|
37
|
-
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, donationWidget, }: UtopiaMapProps): react_jsx_runtime.JSX.Element;
|
39
|
+
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, showThemeControl, defaultTheme, infoText, donationWidget, }: UtopiaMapProps): react_jsx_runtime.JSX.Element;
|
38
40
|
|
39
41
|
/**
|
40
42
|
* @category Types
|
@@ -125,6 +127,7 @@ interface Item {
|
|
125
127
|
telephone?: string
|
126
128
|
next_appointment?: string
|
127
129
|
gallery?: GalleryItem[]
|
130
|
+
openCollectiveSlug?: string
|
128
131
|
|
129
132
|
// {
|
130
133
|
// coordinates: [number, number]
|
@@ -356,11 +359,12 @@ interface AssetsApi {
|
|
356
359
|
/**
|
357
360
|
* @category AppShell
|
358
361
|
*/
|
359
|
-
declare function AppShell({ appName, children, assetsApi, embedded, }: {
|
362
|
+
declare function AppShell({ appName, children, assetsApi, embedded, openCollectiveApiKey, }: {
|
360
363
|
appName: string;
|
361
364
|
children: React.ReactNode;
|
362
365
|
assetsApi: AssetsApi;
|
363
366
|
embedded?: boolean;
|
367
|
+
openCollectiveApiKey?: string;
|
364
368
|
}): react_jsx_runtime.JSX.Element;
|
365
369
|
|
366
370
|
interface Route {
|