utopia-ui 3.0.76 → 3.0.78
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 +1131 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1133 -40
- package/dist/index.esm.js.map +1 -1
- package/dist/types/src/Components/AppShell/ContextWrapper.d.ts +1 -1
- package/dist/types/src/Components/AppShell/index.d.ts +1 -0
- package/dist/types/src/Components/Item/PopupForm.d.ts +6 -0
- package/dist/types/src/Components/Item/PopupView.d.ts +6 -0
- package/dist/types/src/Components/Item/TemplateItemContext.d.ts +3 -0
- package/dist/types/src/Components/Item/index.d.ts +37 -0
- package/dist/types/src/Components/Item/templateify.d.ts +4 -0
- package/dist/types/src/Components/Map/LayerContext.d.ts +12 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/index.d.ts +7 -0
- package/package.json +2 -1
- package/dist/types/src/Components/AppShell/Sitemap.d.ts +0 -6
- package/dist/types/src/Components/Input/SelectBox.d.ts +0 -19
- package/dist/types/src/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/types/src/Components/Templates/MoonCalendar.d.ts +0 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const ContextWrapper: ({ children }: {
|
2
2
|
children: React.ReactNode;
|
3
|
-
}) =>
|
3
|
+
}) => import("react").ReactNode;
|
4
4
|
export declare const Wrappers: ({ children }: {
|
5
5
|
children: any;
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export { PopupForm } from './PopupForm';
|
2
|
+
export { PopupView } from './PopupView';
|
3
|
+
export declare const TextView: import("react").ComponentType<Omit<{
|
4
|
+
item?: import("../Map").Item;
|
5
|
+
itemId?: string;
|
6
|
+
text?: string;
|
7
|
+
truncate?: boolean;
|
8
|
+
rawText?: string;
|
9
|
+
itemTextField?: string;
|
10
|
+
}, "item">>;
|
11
|
+
export declare const StartEndView: import("react").ComponentType<Omit<{
|
12
|
+
item?: import("../Map").Item;
|
13
|
+
}, "item">>;
|
14
|
+
export declare const PopupTextInput: import("react").ComponentType<Omit<{
|
15
|
+
dataField: string;
|
16
|
+
placeholder: string;
|
17
|
+
style?: string;
|
18
|
+
item?: import("../Map").Item;
|
19
|
+
}, "item">>;
|
20
|
+
export declare const PopupButton: import("react").ComponentType<Omit<{
|
21
|
+
url: string;
|
22
|
+
parameterField?: string;
|
23
|
+
text: string;
|
24
|
+
item?: import("../Map").Item;
|
25
|
+
}, "item">>;
|
26
|
+
export declare const PopupCheckboxInput: import("react").ComponentType<Omit<{
|
27
|
+
dataField: string;
|
28
|
+
label: string;
|
29
|
+
item?: import("../Map").Item;
|
30
|
+
}, "item">>;
|
31
|
+
export declare const PopupTextAreaInput: import("react").ComponentType<Omit<{
|
32
|
+
dataField: string;
|
33
|
+
placeholder: string;
|
34
|
+
style?: string;
|
35
|
+
item?: import("../Map").Item;
|
36
|
+
}, "item">>;
|
37
|
+
export declare const PopupStartEndInput: import("react").ComponentType<Omit<import("../Map/Subcomponents/ItemPopupComponents/PopupStartEndInput").StartEndInputProps, "item">>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
|
2
|
+
interface LayerContextType {
|
3
|
+
name: string;
|
4
|
+
markerDefaultColor: string;
|
5
|
+
markerDefaultColor2: string;
|
6
|
+
markerShape: string;
|
7
|
+
markerIcon: string;
|
8
|
+
itemFormPopup: ItemFormPopupProps | null | undefined;
|
9
|
+
setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>> | undefined;
|
10
|
+
}
|
11
|
+
declare const LayerContext: import("react").Context<LayerContextType>;
|
12
|
+
export default LayerContext;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export { PopupTextAreaInput } from './PopupTextAreaInput';
|
2
|
+
export { PopupStartEndInput } from './PopupStartEndInput';
|
3
|
+
export { PopupTextInput } from './PopupTextInput';
|
4
|
+
export { PopupCheckboxInput } from './PopupCheckboxInput';
|
5
|
+
export { TextView } from './TextView';
|
6
|
+
export { StartEndView } from './StartEndView';
|
7
|
+
export { PopupButton } from './PopupButton';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.78",
|
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/",
|
@@ -99,6 +99,7 @@
|
|
99
99
|
"radash": "^12.1.0",
|
100
100
|
"react-colorful": "^5.6.1",
|
101
101
|
"react-image-crop": "^10.1.8",
|
102
|
+
"react-inlinesvg": "^4.2.0",
|
102
103
|
"react-leaflet": "^4.2.1",
|
103
104
|
"react-leaflet-cluster": "^2.1.0",
|
104
105
|
"react-markdown": "^9.0.1",
|
@@ -1,19 +0,0 @@
|
|
1
|
-
interface SelectBoxProps {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
type?: string;
|
5
|
-
containerStyle?: string;
|
6
|
-
defaultValue: string;
|
7
|
-
placeholder?: string;
|
8
|
-
updateFormValue: (value: string) => void;
|
9
|
-
options: {
|
10
|
-
name: string;
|
11
|
-
value: string;
|
12
|
-
}[];
|
13
|
-
labelDescription?: string;
|
14
|
-
}
|
15
|
-
/**
|
16
|
-
* @category Input
|
17
|
-
*/
|
18
|
-
export declare function SelectBox(props: SelectBoxProps): import("react/jsx-runtime").JSX.Element;
|
19
|
-
export {};
|