@lobehub/ui 1.145.1 → 1.145.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.
@@ -1,11 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { DivProps, SvgProps } from "../types";
3
- export interface FileTypeIconProps extends SvgProps {
3
+ type IconProps = SvgProps & DivProps;
4
+ export interface FileTypeIconProps extends IconProps {
4
5
  color?: string;
5
6
  filetype?: string;
6
7
  size?: number;
7
8
  type?: 'file' | 'folder';
8
9
  variant?: 'color' | 'mono';
9
10
  }
10
- declare const FileTypeIcon: import("react").NamedExoticComponent<FileTypeIconProps & DivProps>;
11
+ declare const FileTypeIcon: import("react").NamedExoticComponent<FileTypeIconProps>;
11
12
  export default FileTypeIcon;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { DivProps } from "../types";
3
- export interface MaterialFileTypeIconProps {
3
+ export interface MaterialFileTypeIconProps extends DivProps {
4
4
  filename: string;
5
5
  open?: boolean;
6
6
  size?: number;
7
7
  type?: 'file' | 'folder';
8
8
  variant?: 'pure' | 'file' | 'folder';
9
9
  }
10
- declare const MaterialFileTypeIcon: import("react").NamedExoticComponent<MaterialFileTypeIconProps & DivProps>;
10
+ declare const MaterialFileTypeIcon: import("react").NamedExoticComponent<MaterialFileTypeIconProps>;
11
11
  export default MaterialFileTypeIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.145.1",
3
+ "version": "1.145.2",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",