@goodhood-web/nebenan-base 4.5.0-development.16 → 4.5.0-development.18
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 +67 -67
- package/index.mjs +4534 -4526
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/FormRichTextArea.d.ts +2 -0
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.types.d.ts +1 -0
- package/lib/MultiImageCropper/components/ImageCropperPanel/ImageCropperPanel.d.ts +1 -1
- package/lib/RichTextArea/RichTextArea.types.d.ts +1 -0
- package/lib/RichTextArea/lexical/plugins/MentionPlugin.d.ts +2 -1
- package/lib/RichTextArea/lexical/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { UseControllerProps } from 'react-hook-form';
|
|
|
2
2
|
import { RichTextAreaProps, RichTextAreaRef } from '../../../../../RichTextArea/RichTextArea.types';
|
|
3
3
|
import { ContentFormData } from '../../../../validationSchemas';
|
|
4
4
|
export type FormRichTextAreaInputProps = UseControllerProps<ContentFormData> & Partial<RichTextAreaProps> & {
|
|
5
|
+
groupId?: number;
|
|
5
6
|
name: string;
|
|
6
7
|
};
|
|
7
8
|
declare const FormRichTextAreaInput: import('react').ForwardRefExoticComponent<UseControllerProps<{
|
|
@@ -139,6 +140,7 @@ declare const FormRichTextAreaInput: import('react').ForwardRefExoticComponent<U
|
|
|
139
140
|
};
|
|
140
141
|
price?: string | null | undefined;
|
|
141
142
|
}> & Partial<RichTextAreaProps> & {
|
|
143
|
+
groupId?: number;
|
|
142
144
|
name: string;
|
|
143
145
|
} & import('react').RefAttributes<RichTextAreaRef>>;
|
|
144
146
|
export default FormRichTextAreaInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PostFieldsProps } from './PostFields.types';
|
|
2
|
-
declare const PostFields: ({ onPoiDismiss, poiClicked, postFieldPlaceholders, richTextAreaRef, }: PostFieldsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const PostFields: ({ groupId, onPoiDismiss, poiClicked, postFieldPlaceholders, richTextAreaRef, }: PostFieldsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default PostFields;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CropperRef } from 'react-advanced-cropper';
|
|
2
2
|
import { MultiImageCropperProps } from '../../MultiImageCropper.types';
|
|
3
3
|
type ImageCropperPanelProps = {
|
|
4
|
-
aspectRatio
|
|
4
|
+
aspectRatio?: number;
|
|
5
5
|
cropperRef: React.RefObject<CropperRef>;
|
|
6
6
|
handleCrop: () => void;
|
|
7
7
|
handleReset: () => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface MentionPluginProps {
|
|
2
2
|
anchorRef: React.RefObject<HTMLElement>;
|
|
3
|
+
groupId?: number;
|
|
3
4
|
}
|
|
4
|
-
export declare function MentionPlugin({ anchorRef }: MentionPluginProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function MentionPlugin({ anchorRef, groupId }: MentionPluginProps): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export {};
|
|
@@ -5,7 +5,7 @@ export declare function generateGID(userId: number): string;
|
|
|
5
5
|
/**
|
|
6
6
|
* Fetch neighbours for mention suggestions
|
|
7
7
|
*/
|
|
8
|
-
export declare function fetchNeighbours(query: string): Promise<{
|
|
8
|
+
export declare function fetchNeighbours(query: string, groupId?: number, postId?: number): Promise<{
|
|
9
9
|
page: import('../../../../../api/src/lib/core').components["schemas"]["Core_V3_Neighbour_List"];
|
|
10
10
|
page_info: import('../../../../../api/src/lib/core').components["schemas"]["PageInfo"];
|
|
11
11
|
} | undefined>;
|