@antscorp/ama-ui 0.0.19 → 0.0.21

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/dist/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
+ import { Action } from 'antd-mobile/es/components/action-sheet';
2
+ import { ActionSheet as ActionSheet_2 } from 'antd-mobile';
3
+ import { ActionSheetProps as ActionSheetProps_2 } from 'antd-mobile';
4
+ import { ActionSheetShowHandler } from 'antd-mobile/es/components/action-sheet';
1
5
  import { AutoCenter } from 'antd-mobile';
2
6
  import { AutoCenterProps } from 'antd-mobile';
3
7
  import { AvatarProps as AvatarProps_2 } from 'antd-mobile';
@@ -13,6 +17,7 @@ import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd-mobile';
13
17
  import { DatePickerProps as DatePickerProps_2 } from 'antd-mobile';
14
18
  import { default as default_2 } from 'react';
15
19
  import { DividerProps as DividerProps_2 } from 'antd-mobile';
20
+ import { DotLoadingProps as DotLoadingProps_2 } from 'antd-mobile';
16
21
  import { EllipsisProps as EllipsisProps_2 } from 'antd-mobile';
17
22
  import { ErrorBlockProps as ErrorBlockProps_2 } from 'antd-mobile';
18
23
  import { FloatingPanelProps as FloatingPanelProps_2 } from 'antd-mobile';
@@ -25,17 +30,20 @@ import { ImageViewerProps as ImageViewerProps_2 } from 'antd-mobile';
25
30
  import { IndexBar as IndexBar_2 } from 'antd-mobile';
26
31
  import { IndexBarProps as IndexBarProps_2 } from 'antd-mobile';
27
32
  import { IndexBarRef as IndexBarRef_2 } from 'antd-mobile';
33
+ import { InfiniteScrollProps as InfiniteScrollProps_2 } from 'antd-mobile';
28
34
  import { InputProps as InputProps_2 } from 'antd-mobile';
29
35
  import { JumboTabs as JumboTabs_2 } from 'antd-mobile';
30
36
  import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
31
37
  import { List as List_2 } from 'antd-mobile';
32
38
  import { ListProps as ListProps_2 } from 'antd-mobile';
33
39
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
40
+ import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
34
41
  import { RefAttributes } from 'react';
35
42
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
36
43
  import { SideBar as SideBar_2 } from 'antd-mobile';
37
44
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
38
45
  import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
46
+ import { SpinLoadingProps as SpinLoadingProps_2 } from 'antd-mobile';
39
47
  import { Swiper as Swiper_2 } from 'antd-mobile';
40
48
  import { SwiperProps as SwiperProps_2 } from 'antd-mobile';
41
49
  import { TabBar as TabBar_2 } from 'antd-mobile';
@@ -46,6 +54,21 @@ import { Toast } from 'antd-mobile';
46
54
  import { ToastHandler } from 'antd-mobile/es/components/toast';
47
55
  import { ToastShowProps } from 'antd-mobile';
48
56
 
57
+ export { Action }
58
+
59
+ export declare const ActionSheet: ActionSheetType;
60
+
61
+ export declare interface ActionSheetProps extends ActionSheetProps_2 {
62
+ /** An optional prop */
63
+ optional?: string;
64
+ }
65
+
66
+ export { ActionSheetShowHandler }
67
+
68
+ declare type ActionSheetType = React.FC<ActionSheetProps> & {
69
+ show: typeof ActionSheet_2.show;
70
+ };
71
+
49
72
  export { AutoCenter }
50
73
 
51
74
  export { AutoCenterProps }
@@ -121,6 +144,13 @@ export declare interface DividerProps extends DividerProps_2 {
121
144
  optional?: string;
122
145
  }
123
146
 
147
+ export declare const DotLoading: default_2.FC<DotLoadingProps>;
148
+
149
+ export declare interface DotLoadingProps extends DotLoadingProps_2 {
150
+ /** An optional prop */
151
+ optional?: string;
152
+ }
153
+
124
154
  export declare const Ellipsis: React.FC<EllipsisProps>;
125
155
 
126
156
  export declare interface EllipsisProps extends EllipsisProps_2 {
@@ -179,6 +209,13 @@ export declare interface IndexBarProps extends IndexBarProps_2 {
179
209
 
180
210
  export declare type IndexBarRef = IndexBarRef_2;
181
211
 
212
+ export declare const InfiniteScroll: default_2.FC<InfiniteScrollProps>;
213
+
214
+ export declare interface InfiniteScrollProps extends InfiniteScrollProps_2 {
215
+ /** An optional prop */
216
+ optional?: string;
217
+ }
218
+
182
219
  export declare const Input: default_2.FC<InputProps>;
183
220
 
184
221
  export declare interface InputProps extends InputProps_2 {
@@ -209,6 +246,13 @@ export declare interface NavBarProps extends NavBarProps_2 {
209
246
  optional?: string;
210
247
  }
211
248
 
249
+ export declare const PullToRefresh: default_2.FC<PullToRefreshProps>;
250
+
251
+ export declare interface PullToRefreshProps extends PullToRefreshProps_2 {
252
+ /** An optional prop */
253
+ optional?: string;
254
+ }
255
+
212
256
  export declare const SafeArea: default_2.FC<SafeAreaProps>;
213
257
 
214
258
  export declare interface SafeAreaProps extends SafeAreaProps_2 {
@@ -232,6 +276,13 @@ export declare interface SpaceProps extends SpaceProps_2 {
232
276
  optional?: string;
233
277
  }
234
278
 
279
+ export declare const SpinLoading: default_2.FC<SpinLoadingProps>;
280
+
281
+ export declare interface SpinLoadingProps extends SpinLoadingProps_2 {
282
+ /** An optional prop */
283
+ optional?: string;
284
+ }
285
+
235
286
  export declare const Swiper: React.FC<SwiperProps> & {
236
287
  Item: typeof Swiper_2.Item;
237
288
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",