@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.
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const FormFooter: import("react").NamedExoticComponent<import("../..").DivProps>;
2
+ declare const FormFooter: import("react").NamedExoticComponent<import("../type").FormFooterProps>;
3
3
  export default FormFooter;
@@ -1,4 +1,4 @@
1
- export declare const NORMATIVE_MODIFIER: ("shift" | "alt" | "control" | "ctrl" | "meta" | "mod")[];
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("../..").DivProps>;
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
- export declare const LayoutMain: import("react").NamedExoticComponent<import("../..").DivProps>;
2
+ export declare const LayoutMain: import("react").NamedExoticComponent<import("../type").LayoutFooterProps>;
3
3
  export default LayoutMain;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const MarkdownRenderer: import("react").NamedExoticComponent<import("react-markdown/lib").Options>;
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/lib").Options>;
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/dist/themes.mjs").BundledTheme | undefined;
27
+ theme?: import("shiki").BundledTheme | undefined;
28
28
  }) => UseHighlightResponse;
29
29
  export { escapeHtml, loadShiki, MD5_LENGTH_THRESHOLD, shikiPromise };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "2.25.0",
3
+ "version": "3.0.0",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",