@lobehub/ui 2.25.0 → 3.0.0
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/es/Form/components/FormFooter.d.ts +1 -1
- package/es/Hotkey/utils.d.ts +1 -1
- package/es/Layout/components/LayoutFooter.d.ts +1 -1
- package/es/Layout/components/LayoutMain.d.ts +1 -1
- package/es/Markdown/SyntaxMarkdown/MarkdownRender.d.ts +1 -1
- package/es/Markdown/SyntaxMarkdown/StreamdownRender.d.ts +1 -1
- package/es/hooks/useHighlight.d.ts +1 -1
- package/package.json +1 -1
package/es/Hotkey/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const NORMATIVE_MODIFIER: ("shift" | "
|
|
1
|
+
export declare const NORMATIVE_MODIFIER: ("shift" | "meta" | "alt" | "control" | "ctrl" | "mod")[];
|
|
2
2
|
export declare const splitKeysByPlus: (keys: string) => string[];
|
|
3
3
|
export declare const startCase: (str: string) => string;
|
|
4
4
|
export declare const checkIsAppleDevice: (isApple?: boolean) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const LayoutFooter: import("react").NamedExoticComponent<import("
|
|
2
|
+
export declare const LayoutFooter: import("react").NamedExoticComponent<import("../type").LayoutFooterProps>;
|
|
3
3
|
export default LayoutFooter;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const MarkdownRenderer: import("react").NamedExoticComponent<import("react-markdown
|
|
2
|
+
declare const MarkdownRenderer: import("react").NamedExoticComponent<import("react-markdown").Options>;
|
|
3
3
|
export default MarkdownRenderer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StreamdownRender: import("react").NamedExoticComponent<import("react-markdown
|
|
2
|
+
export declare const StreamdownRender: import("react").NamedExoticComponent<import("react-markdown").Options>;
|
|
3
3
|
export default StreamdownRender;
|
|
@@ -24,6 +24,6 @@ export declare const useHighlight: (text: string, { language, enableTransformer,
|
|
|
24
24
|
enableTransformer?: boolean | undefined;
|
|
25
25
|
language: string;
|
|
26
26
|
streaming?: boolean | undefined;
|
|
27
|
-
theme?: import("shiki
|
|
27
|
+
theme?: import("shiki").BundledTheme | undefined;
|
|
28
28
|
}) => UseHighlightResponse;
|
|
29
29
|
export { escapeHtml, loadShiki, MD5_LENGTH_THRESHOLD, shikiPromise };
|