@blocklet/discuss-kit-ux 1.6.252 → 1.6.254
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/components/chat/hooks.d.ts +1 -0
- package/dist/components/chat/unread-notification.d.ts +1 -0
- package/dist/components/editor/preview.d.ts +3 -0
- package/dist/{editor-CxgvO4o6.mjs → editor-DHGKk8sm.mjs} +1 -1
- package/dist/{index-CNu5t46j.mjs → index-DxtzXjYS.mjs} +38 -911
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +178 -1052
- package/package.json +8 -7
|
@@ -6,6 +6,7 @@ interface UnreadNotificationProviderProps {
|
|
|
6
6
|
}
|
|
7
7
|
interface UnreadNotificationContextType {
|
|
8
8
|
unread: boolean;
|
|
9
|
+
initialUnread: boolean | undefined;
|
|
9
10
|
markAsUnread: (value?: boolean) => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const UnreadNotificationContext: import('react').Context<UnreadNotificationContextType>;
|
|
@@ -5,3 +5,6 @@ export interface EditorProps extends Omit<BlockletEditorProps, 'onChange' | 'ref
|
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare function EditorPreview({ content, children, ...rest }: EditorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare namespace EditorPreview {
|
|
9
|
+
var fallback: import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
}
|
|
@@ -4,7 +4,7 @@ import { OnContentChangePlugin } from "@blocklet/editor/lib/ext/OnContentChangeP
|
|
|
4
4
|
import { CtrlsShortcutPlugin } from "@blocklet/editor/lib/ext/ShortcutPlugin";
|
|
5
5
|
import { SafeAreaPlugin } from "@blocklet/editor/lib/ext/SafeAreaPlugin";
|
|
6
6
|
import { lazy } from "react";
|
|
7
|
-
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-
|
|
7
|
+
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-DxtzXjYS.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|