@arco-design/mobile-react 2.25.0 → 2.25.1

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.en-US.md +2 -2
  3. package/README.md +2 -2
  4. package/cjs/checkbox/index.d.ts +4 -2
  5. package/cjs/checkbox/index.js +1 -1
  6. package/cjs/date-picker/index.d.ts +3 -1
  7. package/cjs/image-picker/index.d.ts +3 -1
  8. package/cjs/input/index.d.ts +3 -1
  9. package/cjs/picker/index.d.ts +3 -1
  10. package/cjs/picker-view/index.d.ts +3 -1
  11. package/cjs/radio/index.d.ts +4 -2
  12. package/cjs/rate/index.d.ts +3 -1
  13. package/cjs/slider/index.d.ts +3 -1
  14. package/cjs/stepper/index.d.ts +3 -1
  15. package/cjs/switch/index.d.ts +3 -1
  16. package/cjs/textarea/index.d.ts +3 -1
  17. package/dist/index.js +1 -1
  18. package/esm/checkbox/index.d.ts +4 -2
  19. package/esm/checkbox/index.js +1 -1
  20. package/esm/date-picker/index.d.ts +3 -1
  21. package/esm/image-picker/index.d.ts +3 -1
  22. package/esm/input/index.d.ts +3 -1
  23. package/esm/picker/index.d.ts +3 -1
  24. package/esm/picker-view/index.d.ts +3 -1
  25. package/esm/radio/index.d.ts +4 -2
  26. package/esm/rate/index.d.ts +3 -1
  27. package/esm/slider/index.d.ts +3 -1
  28. package/esm/stepper/index.d.ts +3 -1
  29. package/esm/switch/index.d.ts +3 -1
  30. package/esm/textarea/index.d.ts +3 -1
  31. package/package.json +3 -3
  32. package/umd/checkbox/index.d.ts +4 -2
  33. package/umd/checkbox/index.js +1 -1
  34. package/umd/date-picker/index.d.ts +3 -1
  35. package/umd/image-picker/index.d.ts +3 -1
  36. package/umd/input/index.d.ts +3 -1
  37. package/umd/picker/index.d.ts +3 -1
  38. package/umd/picker-view/index.d.ts +3 -1
  39. package/umd/radio/index.d.ts +4 -2
  40. package/umd/rate/index.d.ts +3 -1
  41. package/umd/slider/index.d.ts +3 -1
  42. package/umd/stepper/index.d.ts +3 -1
  43. package/umd/switch/index.d.ts +3 -1
  44. package/umd/textarea/index.d.ts +3 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.25.1](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.25.0...@arco-design/mobile-react@2.25.1) (2023-02-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * checkbox & radio exported type ([901681c](https://github.com/arco-design/arco-design-mobile/commit/901681ccfd4788b3e50954dbde6e4475ac1dbdc4))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.25.0](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.24.2...@arco-design/mobile-react@2.25.0) (2023-02-01)
7
18
 
8
19
 
package/README.en-US.md CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="_b
59
59
  React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">Click here</a>**
60
60
 
61
61
  ```
62
- <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.24.2/dist/style.min.css">
63
- <script src="https://unpkg.com/@arco-design/mobile-react@2.24.2/dist/index.min.js"></script>
62
+ <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.25.0/dist/style.min.css">
63
+ <script src="https://unpkg.com/@arco-design/mobile-react@2.25.0/dist/index.min.js"></script>
64
64
  ```
65
65
 
66
66
  ## Full import
package/README.md CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="
59
59
  React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">戳这里获取</a>**
60
60
 
61
61
  ```
62
- <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.24.2/dist/style.min.css">
63
- <script src="https://unpkg.com/@arco-design/mobile-react@2.24.2/dist/index.min.js"></script>
62
+ <link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.25.0/dist/style.min.css">
63
+ <script src="https://unpkg.com/@arco-design/mobile-react@2.25.0/dist/index.min.js"></script>
64
64
  ```
65
65
 
66
66
  ## 引入全部
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & "CheckboxGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 复选框,可用状态下点击切换选择,支持禁用,支持复选项组。
@@ -17,7 +17,7 @@ Object.keys(_type).forEach(function (key) {
17
17
  * 复选项组
18
18
  * @en Checkbox group
19
19
  * @displayName CheckboxGroup
20
- * */
20
+ */
21
21
  var Group = (0, _mobileUtils.componentWrapper)((0, _group.componentGenerator)(_checkbox.Checkbox), 'CheckboxGroup');
22
22
 
23
23
  /**
@@ -9,7 +9,9 @@ export interface DatePickerRef {
9
9
  */
10
10
  dom: HTMLDivElement | null;
11
11
  }
12
- declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & "DatePicker";
12
+ declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & {
13
+ displayName?: string | undefined;
14
+ };
13
15
  /**
14
16
  * 日期时间选择器,基于`Picker`组件扩展,支持指定范围,单位可精确到秒。
15
17
  * @en Date picker, based on the `Picker` component, supports the specified range, the unit can be accurate to seconds.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ImagePickerProps, ImagePickerRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & "ImagePicker";
4
+ declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 图片选择器组件
7
9
  * @en ImagePicker Component
@@ -45,7 +45,9 @@ export interface InputRef {
45
45
  */
46
46
  input: HTMLInputElement | null;
47
47
  }
48
- declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & "Input";
48
+ declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
49
+ displayName?: string | undefined;
50
+ };
49
51
  /**
50
52
  * 输入框组件,支持添加前后缀。
51
53
  * @en The input box, supports adding prefixes and suffixes.
@@ -35,7 +35,9 @@ export interface PickerRef {
35
35
  */
36
36
  scrollToCurrentIndex: () => void;
37
37
  }
38
- declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & "Picker";
38
+ declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & {
39
+ displayName?: string | undefined;
40
+ };
39
41
  /**
40
42
  * 选择器组件,形式是弹起的浮层。
41
43
  * @en The selector component, in the form of a popup layer.
@@ -42,7 +42,9 @@ export interface PickerViewRef {
42
42
  */
43
43
  scrollToCurrentIndex: () => void;
44
44
  }
45
- declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & "PickerView";
45
+ declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & {
46
+ displayName?: string | undefined;
47
+ };
46
48
  /**
47
49
  * 选择器视图组件,不含弹窗,方便使用方灵活定制选择器。
48
50
  * @en The picker view component, not has contain popup, which is convenient for the user to flexibly customize the picker.
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & "RadioGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 单选框,可用状态下点击切换选择,支持禁用,支持单选项组。
@@ -94,7 +94,9 @@ export interface RateRef {
94
94
  */
95
95
  dom: HTMLDivElement | null;
96
96
  }
97
- declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & "Rate";
97
+ declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & {
98
+ displayName?: string | undefined;
99
+ };
98
100
  /**
99
101
  * 评分组件,支持受控模式
100
102
  * @en Rate component, supports controlled mode
@@ -138,7 +138,9 @@ export interface SliderRef {
138
138
  */
139
139
  dom: HTMLDivElement | null;
140
140
  }
141
- declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & "Slider";
141
+ declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & {
142
+ displayName?: string | undefined;
143
+ };
142
144
  /**
143
145
  * 滑动型输入器,展示当前值和可选范围。
144
146
  * @en Slide input component, displays the current value and optional range.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { StepperProps, StepperRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & "Stepper";
4
+ declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 步进器组件,支持受控模式
7
9
  * @en Stepper component, provide controlled mode
@@ -90,7 +90,9 @@ export interface SwitchRef {
90
90
  */
91
91
  dom: HTMLDivElement | null;
92
92
  }
93
- declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & "Switch";
93
+ declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & {
94
+ displayName?: string | undefined;
95
+ };
94
96
  /**
95
97
  * 开关组件,支持点击和滑动触发开关动作。
96
98
  * @en A switch component that supports click and slide trigger switch actions.
@@ -81,7 +81,9 @@ export interface TextareaRef {
81
81
  */
82
82
  resize: () => void;
83
83
  }
84
- declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & "Textarea";
84
+ declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & {
85
+ displayName?: string | undefined;
86
+ };
85
87
  /**
86
88
  * 多行文本输入框组件,支持自适应内容高度。
87
89
  * @en A multi-line textarea, supports adaptive content height.
package/dist/index.js CHANGED
@@ -7374,7 +7374,7 @@
7374
7374
  * 复选项组
7375
7375
  * @en Checkbox group
7376
7376
  * @displayName CheckboxGroup
7377
- * */
7377
+ */
7378
7378
  var Group$2 = componentWrapper(componentGenerator$8(Checkbox$1), 'CheckboxGroup');
7379
7379
  /**
7380
7380
  * 复选框,可用状态下点击切换选择,支持禁用,支持复选项组。
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & "CheckboxGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 复选框,可用状态下点击切换选择,支持禁用,支持复选项组。
@@ -7,7 +7,7 @@ export * from './type';
7
7
  * 复选项组
8
8
  * @en Checkbox group
9
9
  * @displayName CheckboxGroup
10
- * */
10
+ */
11
11
  var Group = componentWrapper(componentGenerator(Checkbox), 'CheckboxGroup');
12
12
 
13
13
  /**
@@ -9,7 +9,9 @@ export interface DatePickerRef {
9
9
  */
10
10
  dom: HTMLDivElement | null;
11
11
  }
12
- declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & "DatePicker";
12
+ declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & {
13
+ displayName?: string | undefined;
14
+ };
13
15
  /**
14
16
  * 日期时间选择器,基于`Picker`组件扩展,支持指定范围,单位可精确到秒。
15
17
  * @en Date picker, based on the `Picker` component, supports the specified range, the unit can be accurate to seconds.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ImagePickerProps, ImagePickerRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & "ImagePicker";
4
+ declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 图片选择器组件
7
9
  * @en ImagePicker Component
@@ -45,7 +45,9 @@ export interface InputRef {
45
45
  */
46
46
  input: HTMLInputElement | null;
47
47
  }
48
- declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & "Input";
48
+ declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
49
+ displayName?: string | undefined;
50
+ };
49
51
  /**
50
52
  * 输入框组件,支持添加前后缀。
51
53
  * @en The input box, supports adding prefixes and suffixes.
@@ -35,7 +35,9 @@ export interface PickerRef {
35
35
  */
36
36
  scrollToCurrentIndex: () => void;
37
37
  }
38
- declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & "Picker";
38
+ declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & {
39
+ displayName?: string | undefined;
40
+ };
39
41
  /**
40
42
  * 选择器组件,形式是弹起的浮层。
41
43
  * @en The selector component, in the form of a popup layer.
@@ -42,7 +42,9 @@ export interface PickerViewRef {
42
42
  */
43
43
  scrollToCurrentIndex: () => void;
44
44
  }
45
- declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & "PickerView";
45
+ declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & {
46
+ displayName?: string | undefined;
47
+ };
46
48
  /**
47
49
  * 选择器视图组件,不含弹窗,方便使用方灵活定制选择器。
48
50
  * @en The picker view component, not has contain popup, which is convenient for the user to flexibly customize the picker.
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & "RadioGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 单选框,可用状态下点击切换选择,支持禁用,支持单选项组。
@@ -94,7 +94,9 @@ export interface RateRef {
94
94
  */
95
95
  dom: HTMLDivElement | null;
96
96
  }
97
- declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & "Rate";
97
+ declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & {
98
+ displayName?: string | undefined;
99
+ };
98
100
  /**
99
101
  * 评分组件,支持受控模式
100
102
  * @en Rate component, supports controlled mode
@@ -138,7 +138,9 @@ export interface SliderRef {
138
138
  */
139
139
  dom: HTMLDivElement | null;
140
140
  }
141
- declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & "Slider";
141
+ declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & {
142
+ displayName?: string | undefined;
143
+ };
142
144
  /**
143
145
  * 滑动型输入器,展示当前值和可选范围。
144
146
  * @en Slide input component, displays the current value and optional range.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { StepperProps, StepperRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & "Stepper";
4
+ declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 步进器组件,支持受控模式
7
9
  * @en Stepper component, provide controlled mode
@@ -90,7 +90,9 @@ export interface SwitchRef {
90
90
  */
91
91
  dom: HTMLDivElement | null;
92
92
  }
93
- declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & "Switch";
93
+ declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & {
94
+ displayName?: string | undefined;
95
+ };
94
96
  /**
95
97
  * 开关组件,支持点击和滑动触发开关动作。
96
98
  * @en A switch component that supports click and slide trigger switch actions.
@@ -81,7 +81,9 @@ export interface TextareaRef {
81
81
  */
82
82
  resize: () => void;
83
83
  }
84
- declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & "Textarea";
84
+ declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & {
85
+ displayName?: string | undefined;
86
+ };
85
87
  /**
86
88
  * 多行文本输入框组件,支持自适应内容高度。
87
89
  * @en A multi-line textarea, supports adaptive content height.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-design/mobile-react",
3
- "version": "2.25.0",
3
+ "version": "2.25.1",
4
4
  "description": "",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -15,7 +15,7 @@
15
15
  "author": "taoyiyue@bytedance.com",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@arco-design/mobile-utils": "2.13.0",
18
+ "@arco-design/mobile-utils": "2.13.1",
19
19
  "@arco-design/transformable": "^1.0.0",
20
20
  "lodash.throttle": "^4.1.1",
21
21
  "resize-observer-polyfill": "^1.5.1"
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "fc2a622794d8ca20215086267ee88083bf48f59f"
38
+ "gitHead": "11368cb310e081d8094f17fcff5307bb28fb00f3"
39
39
  }
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & "CheckboxGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").CheckboxGroupProps<string | number, import("./type").CheckboxProps<string | number> & import("react").RefAttributes<import("./type").CheckboxRef>> & import("react").RefAttributes<import("./type").CheckboxGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 复选框,可用状态下点击切换选择,支持禁用,支持复选项组。
@@ -26,7 +26,7 @@
26
26
  * 复选项组
27
27
  * @en Checkbox group
28
28
  * @displayName CheckboxGroup
29
- * */
29
+ */
30
30
  var Group = (0, _mobileUtils.componentWrapper)((0, _group.componentGenerator)(_checkbox.Checkbox), 'CheckboxGroup');
31
31
 
32
32
  /**
@@ -9,7 +9,9 @@ export interface DatePickerRef {
9
9
  */
10
10
  dom: HTMLDivElement | null;
11
11
  }
12
- declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & "DatePicker";
12
+ declare const _default: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<DatePickerRef>> & {
13
+ displayName?: string | undefined;
14
+ };
13
15
  /**
14
16
  * 日期时间选择器,基于`Picker`组件扩展,支持指定范围,单位可精确到秒。
15
17
  * @en Date picker, based on the `Picker` component, supports the specified range, the unit can be accurate to seconds.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ImagePickerProps, ImagePickerRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & "ImagePicker";
4
+ declare const _default: React.ForwardRefExoticComponent<ImagePickerProps & React.RefAttributes<ImagePickerRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 图片选择器组件
7
9
  * @en ImagePicker Component
@@ -45,7 +45,9 @@ export interface InputRef {
45
45
  */
46
46
  input: HTMLInputElement | null;
47
47
  }
48
- declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & "Input";
48
+ declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
49
+ displayName?: string | undefined;
50
+ };
49
51
  /**
50
52
  * 输入框组件,支持添加前后缀。
51
53
  * @en The input box, supports adding prefixes and suffixes.
@@ -35,7 +35,9 @@ export interface PickerRef {
35
35
  */
36
36
  scrollToCurrentIndex: () => void;
37
37
  }
38
- declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & "Picker";
38
+ declare const _default: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>> & {
39
+ displayName?: string | undefined;
40
+ };
39
41
  /**
40
42
  * 选择器组件,形式是弹起的浮层。
41
43
  * @en The selector component, in the form of a popup layer.
@@ -42,7 +42,9 @@ export interface PickerViewRef {
42
42
  */
43
43
  scrollToCurrentIndex: () => void;
44
44
  }
45
- declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & "PickerView";
45
+ declare const _default: React.ForwardRefExoticComponent<PickerViewProps & React.RefAttributes<PickerViewRef>> & {
46
+ displayName?: string | undefined;
47
+ };
46
48
  /**
47
49
  * 选择器视图组件,不含弹窗,方便使用方灵活定制选择器。
48
50
  * @en The picker view component, not has contain popup, which is convenient for the user to flexibly customize the picker.
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export * from './type';
3
3
  declare const _default: import("react").ForwardRefExoticComponent<import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & {
4
- Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & "RadioGroup";
4
+ Group: import("react").ForwardRefExoticComponent<import("./type").RadioGroupProps<string | number, import("./type").RadioProps<string | number> & import("react").RefAttributes<import("./type").RadioRef>> & import("react").RefAttributes<import("./type").RadioGroupRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  } & {
6
- displayName: string;
8
+ displayName?: string | undefined;
7
9
  };
8
10
  /**
9
11
  * 单选框,可用状态下点击切换选择,支持禁用,支持单选项组。
@@ -94,7 +94,9 @@ export interface RateRef {
94
94
  */
95
95
  dom: HTMLDivElement | null;
96
96
  }
97
- declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & "Rate";
97
+ declare const _default: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>> & {
98
+ displayName?: string | undefined;
99
+ };
98
100
  /**
99
101
  * 评分组件,支持受控模式
100
102
  * @en Rate component, supports controlled mode
@@ -138,7 +138,9 @@ export interface SliderRef {
138
138
  */
139
139
  dom: HTMLDivElement | null;
140
140
  }
141
- declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & "Slider";
141
+ declare const _default: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRef>> & {
142
+ displayName?: string | undefined;
143
+ };
142
144
  /**
143
145
  * 滑动型输入器,展示当前值和可选范围。
144
146
  * @en Slide input component, displays the current value and optional range.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { StepperProps, StepperRef } from './type';
3
3
  export * from './type';
4
- declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & "Stepper";
4
+ declare const _default: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperRef>> & {
5
+ displayName?: string | undefined;
6
+ };
5
7
  /**
6
8
  * 步进器组件,支持受控模式
7
9
  * @en Stepper component, provide controlled mode
@@ -90,7 +90,9 @@ export interface SwitchRef {
90
90
  */
91
91
  dom: HTMLDivElement | null;
92
92
  }
93
- declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & "Switch";
93
+ declare const _default: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<SwitchRef>> & {
94
+ displayName?: string | undefined;
95
+ };
94
96
  /**
95
97
  * 开关组件,支持点击和滑动触发开关动作。
96
98
  * @en A switch component that supports click and slide trigger switch actions.
@@ -81,7 +81,9 @@ export interface TextareaRef {
81
81
  */
82
82
  resize: () => void;
83
83
  }
84
- declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & "Textarea";
84
+ declare const _default: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<TextareaRef>> & {
85
+ displayName?: string | undefined;
86
+ };
85
87
  /**
86
88
  * 多行文本输入框组件,支持自适应内容高度。
87
89
  * @en A multi-line textarea, supports adaptive content height.