utopia-ui 3.0.102 → 3.0.103
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/Profile.cjs.js +1 -1
- package/dist/Profile.esm.js +1 -1
- package/dist/TagView-BNr0SWHs.js +45070 -0
- package/dist/TagView-BNr0SWHs.js.map +1 -0
- package/dist/TagView-BYCG-Gq6.js +44979 -0
- package/dist/TagView-BYCG-Gq6.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -20
- package/package.json +1 -8
package/dist/index.cjs.js
CHANGED
|
@@ -11,7 +11,7 @@ var reactQuery = require('@tanstack/react-query');
|
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var reactRouterDom = require('react-router-dom');
|
|
13
13
|
var reactToastify = require('react-toastify');
|
|
14
|
-
var TagView = require('./TagView-
|
|
14
|
+
var TagView = require('./TagView-BNr0SWHs.js');
|
|
15
15
|
var MarkerClusterGroup = require('react-leaflet-cluster');
|
|
16
16
|
var SVG = require('react-inlinesvg');
|
|
17
17
|
var axios = require('axios');
|
package/dist/index.esm.js
CHANGED
|
@@ -10,8 +10,8 @@ import * as React from 'react';
|
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, createRef, useRef, forwardRef, useMemo } from 'react';
|
|
11
11
|
import { useInRouterContext, BrowserRouter, useNavigate, useLocation, Outlet, Link, NavLink } from 'react-router-dom';
|
|
12
12
|
import { ToastContainer, toast } from 'react-toastify';
|
|
13
|
-
import { P as PermissionsProvider, T as TagsProvider, L as LayersProvider, F as FilterProvider, I as ItemsProvider, S as SelectPositionProvider, a as LeafletRefsProvider, A as AppStateProvider, C as ClusterRefProvider, u as useLayers, b as useHasUserPermission, c as useAddVisibleGroupType, d as useIsGroupTypeVisible, e as useToggleVisibleGroupType, f as useVisibleGroupType, g as useAuth, h as useIsLayerVisible, i as useToggleVisibleLayer, j as useAppState, k as useSetAppState, l as useWindowDimensions, m as useTags, n as useItems, o as useLeafletRefs, p as useAddFilterTag, q as decodeTag, r as useFilterTags, s as useRemoveFilterTag, t as useSelectPosition, v as useSetSelectPosition, w as useSetClusterRef, x as useClusterRef, y as useSetMapClicked, z as useAddVisibleLayer, B as TextView$1, D as useResetFilterTags, E as useSetItemsApi, G as useSetItemsData, H as useAddTag, J as useSetTagData, K as useSetTagApi, M as useSetPermissionData, N as useSetPermissionApi, O as useSetAdminRole, Q as ForwardRef$5, R as MapOverlayPage, U as TextAreaInput, V as TextInput, W as useGetItemTags, X as ForwardRef$6, Y as timeAgo, Z as HeaderView, _ as StartEndView$1, $ as useAddItem, a0 as useRemoveItem, a1 as PopupStartEndInput$1, a2 as hashTagRegex, a3 as randomColor, a4 as TagView, a5 as useUpdateItem, a6 as useAddMarker, a7 as useAddPopup, a8 as useAllTagsLoaded, a9 as useAllItemsLoaded, aa as useSetMarkerClicked, ab as encodeTag } from './TagView-
|
|
14
|
-
export { ac as AuthProvider } from './TagView-
|
|
13
|
+
import { P as PermissionsProvider, T as TagsProvider, L as LayersProvider, F as FilterProvider, I as ItemsProvider, S as SelectPositionProvider, a as LeafletRefsProvider, A as AppStateProvider, C as ClusterRefProvider, u as useLayers, b as useHasUserPermission, c as useAddVisibleGroupType, d as useIsGroupTypeVisible, e as useToggleVisibleGroupType, f as useVisibleGroupType, g as useAuth, h as useIsLayerVisible, i as useToggleVisibleLayer, j as useAppState, k as useSetAppState, l as useWindowDimensions, m as useTags, n as useItems, o as useLeafletRefs, p as useAddFilterTag, q as decodeTag, r as useFilterTags, s as useRemoveFilterTag, t as useSelectPosition, v as useSetSelectPosition, w as useSetClusterRef, x as useClusterRef, y as useSetMapClicked, z as useAddVisibleLayer, B as TextView$1, D as useResetFilterTags, E as useSetItemsApi, G as useSetItemsData, H as useAddTag, J as useSetTagData, K as useSetTagApi, M as useSetPermissionData, N as useSetPermissionApi, O as useSetAdminRole, Q as ForwardRef$5, R as MapOverlayPage, U as TextAreaInput, V as TextInput, W as useGetItemTags, X as ForwardRef$6, Y as timeAgo, Z as HeaderView, _ as StartEndView$1, $ as useAddItem, a0 as useRemoveItem, a1 as PopupStartEndInput$1, a2 as hashTagRegex, a3 as randomColor, a4 as TagView, a5 as useUpdateItem, a6 as useAddMarker, a7 as useAddPopup, a8 as useAllTagsLoaded, a9 as useAllItemsLoaded, aa as useSetMarkerClicked, ab as encodeTag } from './TagView-BYCG-Gq6.js';
|
|
14
|
+
export { ac as AuthProvider } from './TagView-BYCG-Gq6.js';
|
|
15
15
|
import MarkerClusterGroup from 'react-leaflet-cluster';
|
|
16
16
|
import SVG from 'react-inlinesvg';
|
|
17
17
|
export { default as SVG } from 'react-inlinesvg';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Item } from '#types/Item';
|
|
2
|
-
import type { Root } from 'hast';
|
|
3
2
|
/**
|
|
4
3
|
* @category Map
|
|
5
4
|
*/
|
|
@@ -10,22 +9,3 @@ export declare const TextView: ({ item, itemId, text, truncate, rawText, }: {
|
|
|
10
9
|
truncate?: boolean;
|
|
11
10
|
rawText?: string;
|
|
12
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const sanitizeSchema: {
|
|
14
|
-
tagNames: string[];
|
|
15
|
-
attributes: {
|
|
16
|
-
div: import("hast-util-sanitize/lib").PropertyDefinition[];
|
|
17
|
-
iframe: import("hast-util-sanitize/lib").PropertyDefinition[];
|
|
18
|
-
img: import("hast-util-sanitize/lib").PropertyDefinition[];
|
|
19
|
-
};
|
|
20
|
-
protocols: {
|
|
21
|
-
src: string[];
|
|
22
|
-
};
|
|
23
|
-
allowComments?: boolean | null | undefined;
|
|
24
|
-
allowDoctypes?: boolean | null | undefined;
|
|
25
|
-
ancestors?: Record<string, Array<string>> | null | undefined;
|
|
26
|
-
clobber?: Array<string> | null | undefined;
|
|
27
|
-
clobberPrefix?: string | null | undefined;
|
|
28
|
-
required?: Record<string, Record<string, import("hast").Properties[keyof import("hast").Properties]>> | null | undefined;
|
|
29
|
-
strip?: Array<string> | null | undefined;
|
|
30
|
-
};
|
|
31
|
-
export declare function rehypeFilterYouTubeIframes(): (tree: Root) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "utopia-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.103",
|
|
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/",
|
|
@@ -137,16 +137,9 @@
|
|
|
137
137
|
"react-inlinesvg": "^4.2.0",
|
|
138
138
|
"react-leaflet": "^4.2.1",
|
|
139
139
|
"react-leaflet-cluster": "^2.1.0",
|
|
140
|
-
"react-markdown": "^9.0.1",
|
|
141
140
|
"react-photo-album": "^3.0.2",
|
|
142
141
|
"react-router-dom": "^6.16.0",
|
|
143
142
|
"react-toastify": "^9.1.3",
|
|
144
|
-
"rehype-raw": "^7.0.0",
|
|
145
|
-
"rehype-sanitize": "^6.0.0",
|
|
146
|
-
"remark-breaks": "^4.0.0",
|
|
147
|
-
"remark-gfm": "^4.0.1",
|
|
148
|
-
"remark-parse": "^11.0.0",
|
|
149
|
-
"remove-markdown": "^0.6.2",
|
|
150
143
|
"tippy.js": "^6.3.7",
|
|
151
144
|
"tiptap-markdown": "^0.8.10",
|
|
152
145
|
"unified": "^11.0.5",
|