@antscorp/ama-ui 0.0.18 → 0.0.20

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,5 @@
1
+ import { ActionSheet } from 'antd-mobile';
2
+ import { ActionSheetProps as ActionSheetProps_2 } from 'antd-mobile';
1
3
  import { AutoCenter } from 'antd-mobile';
2
4
  import { AutoCenterProps } from 'antd-mobile';
3
5
  import { AvatarProps as AvatarProps_2 } from 'antd-mobile';
@@ -13,6 +15,7 @@ import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd-mobile';
13
15
  import { DatePickerProps as DatePickerProps_2 } from 'antd-mobile';
14
16
  import { default as default_2 } from 'react';
15
17
  import { DividerProps as DividerProps_2 } from 'antd-mobile';
18
+ import { DotLoadingProps as DotLoadingProps_2 } from 'antd-mobile';
16
19
  import { EllipsisProps as EllipsisProps_2 } from 'antd-mobile';
17
20
  import { ErrorBlockProps as ErrorBlockProps_2 } from 'antd-mobile';
18
21
  import { FloatingPanelProps as FloatingPanelProps_2 } from 'antd-mobile';
@@ -25,17 +28,22 @@ import { ImageViewerProps as ImageViewerProps_2 } from 'antd-mobile';
25
28
  import { IndexBar as IndexBar_2 } from 'antd-mobile';
26
29
  import { IndexBarProps as IndexBarProps_2 } from 'antd-mobile';
27
30
  import { IndexBarRef as IndexBarRef_2 } from 'antd-mobile';
31
+ import { InfiniteScrollProps as InfiniteScrollProps_2 } from 'antd-mobile';
28
32
  import { InputProps as InputProps_2 } from 'antd-mobile';
29
33
  import { JumboTabs as JumboTabs_2 } from 'antd-mobile';
30
34
  import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
31
35
  import { List as List_2 } from 'antd-mobile';
32
36
  import { ListProps as ListProps_2 } from 'antd-mobile';
33
37
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
38
+ import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
34
39
  import { RefAttributes } from 'react';
35
40
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
36
41
  import { SideBar as SideBar_2 } from 'antd-mobile';
37
42
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
38
43
  import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
44
+ import { SpinLoadingProps as SpinLoadingProps_2 } from 'antd-mobile';
45
+ import { Swiper as Swiper_2 } from 'antd-mobile';
46
+ import { SwiperProps as SwiperProps_2 } from 'antd-mobile';
39
47
  import { TabBar as TabBar_2 } from 'antd-mobile';
40
48
  import { TabBarProps as TabBarProps_2 } from 'antd-mobile';
41
49
  import { Tabs as Tabs_2 } from 'antd-mobile';
@@ -44,6 +52,13 @@ import { Toast } from 'antd-mobile';
44
52
  import { ToastHandler } from 'antd-mobile/es/components/toast';
45
53
  import { ToastShowProps } from 'antd-mobile';
46
54
 
55
+ export { ActionSheet }
56
+
57
+ export declare interface ActionSheetProps extends ActionSheetProps_2 {
58
+ /** An optional prop */
59
+ optional?: string;
60
+ }
61
+
47
62
  export { AutoCenter }
48
63
 
49
64
  export { AutoCenterProps }
@@ -119,6 +134,13 @@ export declare interface DividerProps extends DividerProps_2 {
119
134
  optional?: string;
120
135
  }
121
136
 
137
+ export declare const DotLoading: default_2.FC<DotLoadingProps>;
138
+
139
+ export declare interface DotLoadingProps extends DotLoadingProps_2 {
140
+ /** An optional prop */
141
+ optional?: string;
142
+ }
143
+
122
144
  export declare const Ellipsis: React.FC<EllipsisProps>;
123
145
 
124
146
  export declare interface EllipsisProps extends EllipsisProps_2 {
@@ -177,6 +199,13 @@ export declare interface IndexBarProps extends IndexBarProps_2 {
177
199
 
178
200
  export declare type IndexBarRef = IndexBarRef_2;
179
201
 
202
+ export declare const InfiniteScroll: default_2.FC<InfiniteScrollProps>;
203
+
204
+ export declare interface InfiniteScrollProps extends InfiniteScrollProps_2 {
205
+ /** An optional prop */
206
+ optional?: string;
207
+ }
208
+
180
209
  export declare const Input: default_2.FC<InputProps>;
181
210
 
182
211
  export declare interface InputProps extends InputProps_2 {
@@ -207,6 +236,13 @@ export declare interface NavBarProps extends NavBarProps_2 {
207
236
  optional?: string;
208
237
  }
209
238
 
239
+ export declare const PullToRefresh: default_2.FC<PullToRefreshProps>;
240
+
241
+ export declare interface PullToRefreshProps extends PullToRefreshProps_2 {
242
+ /** An optional prop */
243
+ optional?: string;
244
+ }
245
+
210
246
  export declare const SafeArea: default_2.FC<SafeAreaProps>;
211
247
 
212
248
  export declare interface SafeAreaProps extends SafeAreaProps_2 {
@@ -230,6 +266,20 @@ export declare interface SpaceProps extends SpaceProps_2 {
230
266
  optional?: string;
231
267
  }
232
268
 
269
+ export declare const SpinLoading: default_2.FC<SpinLoadingProps>;
270
+
271
+ export declare interface SpinLoadingProps extends SpinLoadingProps_2 {
272
+ /** An optional prop */
273
+ optional?: string;
274
+ }
275
+
276
+ export declare const Swiper: React.FC<SwiperProps> & {
277
+ Item: typeof Swiper_2.Item;
278
+ };
279
+
280
+ export declare interface SwiperProps extends SwiperProps_2 {
281
+ }
282
+
233
283
  export declare const TabBar: React.FC<TabBarProps> & {
234
284
  Item: typeof TabBar_2.Item;
235
285
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",