neko-ui 2.0.7 → 2.0.8

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.
@@ -54,7 +54,7 @@ export interface BaseOption {
54
54
  status?: Status;
55
55
  /** 分组子选项 */
56
56
  options?: (BaseOption | string)[];
57
- [key: string]: any;
57
+ [key: string]: Any;
58
58
  }
59
59
  export declare enum FieldName {
60
60
  /** 标题 */
@@ -1,7 +1,7 @@
1
1
  import { type JSX } from 'solid-js';
2
2
  declare interface MediaRecorderDataAvailableEvent extends Event {
3
3
  /** MediaRecorderDataAvailableEvent */
4
- data: any;
4
+ data: Any;
5
5
  }
6
6
  export interface CaptureScreenProps extends JSX.ButtonHTMLAttributes<HTMLDivElement> {
7
7
  /** 自定义类名 */
@@ -12,7 +12,7 @@ interface BaseSchema {
12
12
  name?: string;
13
13
  title?: string;
14
14
  items?: never;
15
- [key: string]: any;
15
+ [key: string]: Any;
16
16
  }
17
17
  interface ArraySchema extends Omit<BaseSchema, 'type' | 'items'> {
18
18
  type: 'array';
@@ -8,7 +8,8 @@ export interface ImgProps {
8
8
  /** 开启关闭大图的回调函数 */
9
9
  onOpenChange?: (open: boolean | null) => void;
10
10
  /** 点击遮罩关闭
11
- * @default false
11
+ * @since 2.0.8
12
+ * @default true
12
13
  */
13
14
  maskClosable?: boolean;
14
15
  /** 通过 `esc` 按键关闭