@goodhood-web/nebenan-base 4.3.0-development.1 → 4.3.0-development.2
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/index.js +71 -71
- package/index.mjs +3720 -3735
- package/lib/RichTextArea/components/POI/POIRecommendation.d.ts +1 -1
- package/lib/RichTextArea/components/POI/POIRecommendation.types.d.ts +2 -3
- package/lib/RichTextArea/components/POI/Store/poi.d.ts +4 -0
- package/lib/RichTextArea/components/POI/components/Suggestions/Suggestions.d.ts +1 -1
- package/lib/RichTextArea/components/POI/components/Suggestions/Suggestions.types.d.ts +1 -7
- package/package.json +1 -1
- package/lib/RichTextArea/components/POI/components/SheetComponents copy/SheetComponents.d.ts +0 -4
- package/lib/RichTextArea/components/POI/components/SheetComponents copy/SheetComponents.types.d.ts +0 -21
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { POIRecommendationProps } from './POIRecommendation.types';
|
|
2
|
-
declare const POIRecommendation: ({ onDismiss, onSelect, openSheet,
|
|
2
|
+
declare const POIRecommendation: ({ onDismiss, onSelect, openSheet, }: POIRecommendationProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default POIRecommendation;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Poi } from '../../../../../../api/src/lib/core_v2';
|
|
2
2
|
export type POIRecommendationProps = {
|
|
3
3
|
onDismiss: () => void;
|
|
4
|
-
onSelect: (
|
|
4
|
+
onSelect: (poi: Poi) => void;
|
|
5
5
|
openSheet: boolean;
|
|
6
|
-
value: RichTextAreaValueType;
|
|
7
6
|
};
|
|
8
7
|
export type POICategory = {
|
|
9
8
|
key: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SuggestionsProps } from './Suggestions.types';
|
|
2
|
-
declare const POISuggestions: ({
|
|
2
|
+
declare const POISuggestions: ({ onSelect, pois }: SuggestionsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default POISuggestions;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
1
|
import { Poi } from '../../../../../../../../api/src/lib/core_v2';
|
|
3
|
-
import { RichTextAreaValueType } from '../../../../RichTextArea.types';
|
|
4
2
|
export type SuggestionsProps = {
|
|
5
|
-
|
|
6
|
-
onChange: (value: RichTextAreaValueType) => void;
|
|
3
|
+
onSelect: (poi: Poi) => void;
|
|
7
4
|
pois: Poi[] | null;
|
|
8
|
-
query: string;
|
|
9
|
-
setPois: Dispatch<SetStateAction<Poi[] | null>>;
|
|
10
|
-
value: RichTextAreaValueType;
|
|
11
5
|
};
|
package/package.json
CHANGED
package/lib/RichTextArea/components/POI/components/SheetComponents copy/SheetComponents.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ContentProps, FooterProps, HeaderProps } from './SheetComponents.types';
|
|
2
|
-
export declare const Footer: ({ onDismiss }: FooterProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
-
export declare const Header: ({ onDismiss, setQuery }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const Content: ({ onChange, pois, query, setPois, setQuery, value, }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
package/lib/RichTextArea/components/POI/components/SheetComponents copy/SheetComponents.types.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { Poi } from '../../../../../../../../api/src/lib/core_v2';
|
|
3
|
-
import { RichTextAreaValueType } from '../../../../RichTextArea.types';
|
|
4
|
-
export type HeaderProps = {
|
|
5
|
-
onDismiss: () => void;
|
|
6
|
-
setQuery: Dispatch<SetStateAction<string>>;
|
|
7
|
-
};
|
|
8
|
-
export type FooterProps = {
|
|
9
|
-
onDismiss: () => void;
|
|
10
|
-
};
|
|
11
|
-
export type ContentProps = {
|
|
12
|
-
onChange: (value: RichTextAreaValueType) => void;
|
|
13
|
-
pois: Poi[] | null;
|
|
14
|
-
query: string;
|
|
15
|
-
setPois: Dispatch<SetStateAction<Poi[] | null>>;
|
|
16
|
-
setQuery: Dispatch<SetStateAction<string>>;
|
|
17
|
-
value: RichTextAreaValueType;
|
|
18
|
-
};
|
|
19
|
-
export type SearchInputProps = {
|
|
20
|
-
setQuery: Dispatch<SetStateAction<string>>;
|
|
21
|
-
};
|