@antscorp/ama-ui 0.0.24 → 0.0.26

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
@@ -37,7 +37,9 @@ import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
37
37
  import { List as List_2 } from 'antd-mobile';
38
38
  import { ListProps as ListProps_2 } from 'antd-mobile';
39
39
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
40
+ import { PageIndicatorProps as PageIndicatorProps_2 } from 'antd-mobile';
40
41
  import { PickerProps as PickerProps_2 } from 'antd-mobile';
42
+ import { PullStatus } from 'antd-mobile/es/components/pull-to-refresh';
41
43
  import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
42
44
  import { RefAttributes } from 'react';
43
45
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
@@ -46,12 +48,15 @@ import { SideBar as SideBar_2 } from 'antd-mobile';
46
48
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
47
49
  import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
48
50
  import { SpinLoadingProps as SpinLoadingProps_2 } from 'antd-mobile';
51
+ import { Steps as Steps_2 } from 'antd-mobile';
52
+ import { StepsProps as StepsProps_2 } from 'antd-mobile';
49
53
  import { Swiper as Swiper_2 } from 'antd-mobile';
50
54
  import { SwiperProps as SwiperProps_2 } from 'antd-mobile';
51
55
  import { TabBar as TabBar_2 } from 'antd-mobile';
52
56
  import { TabBarProps as TabBarProps_2 } from 'antd-mobile';
53
57
  import { Tabs as Tabs_2 } from 'antd-mobile';
54
58
  import { TabsProps as TabsProps_2 } from 'antd-mobile';
59
+ import { TagProps as TagProps_2 } from 'antd-mobile';
55
60
  import { Toast } from 'antd-mobile';
56
61
  import { ToastHandler } from 'antd-mobile/es/components/toast';
57
62
  import { ToastShowProps } from 'antd-mobile';
@@ -75,7 +80,7 @@ export { AutoCenter }
75
80
 
76
81
  export { AutoCenterProps }
77
82
 
78
- export declare const Avatar: React.FC<AvatarProps>;
83
+ export declare const Avatar: default_2.FC<AvatarProps>;
79
84
 
80
85
  export declare interface AvatarProps extends AvatarProps_2 {
81
86
  /** An optional prop */
@@ -109,14 +114,14 @@ export declare const CapsuleTabs: default_2.FC<CapsuleTabsProps> & {
109
114
  export declare interface CapsuleTabsProps extends CapsuleTabsProps_2 {
110
115
  }
111
116
 
112
- export declare const Card: React.FC<CardProps>;
117
+ export declare const Card: default_2.FC<CardProps>;
113
118
 
114
119
  export declare interface CardProps extends CardProps_2 {
115
120
  /** An optional prop */
116
121
  optional?: string;
117
122
  }
118
123
 
119
- export declare const Collapse: React.FC<CollapseProps> & {
124
+ export declare const Collapse: default_2.FC<CollapseProps> & {
120
125
  Panel: typeof Collapse_2.Panel;
121
126
  };
122
127
 
@@ -132,7 +137,7 @@ declare interface ConfigProviderProps extends ConfigProviderProps_2 {
132
137
  optional?: string;
133
138
  }
134
139
 
135
- export declare const DatePicker: React.FC<DatePickerProps>;
140
+ export declare const DatePicker: default_2.FC<DatePickerProps>;
136
141
 
137
142
  export declare interface DatePickerProps extends DatePickerProps_2 {
138
143
  /** An optional prop */
@@ -153,21 +158,21 @@ export declare interface DotLoadingProps extends DotLoadingProps_2 {
153
158
  optional?: string;
154
159
  }
155
160
 
156
- export declare const Ellipsis: React.FC<EllipsisProps>;
161
+ export declare const Ellipsis: default_2.FC<EllipsisProps>;
157
162
 
158
163
  export declare interface EllipsisProps extends EllipsisProps_2 {
159
164
  /** An optional prop */
160
165
  optional?: string;
161
166
  }
162
167
 
163
- export declare const ErrorBlock: React.FC<ErrorBlockProps>;
168
+ export declare const ErrorBlock: default_2.FC<ErrorBlockProps>;
164
169
 
165
170
  export declare interface ErrorBlockProps extends ErrorBlockProps_2 {
166
171
  /** An optional prop */
167
172
  optional?: string;
168
173
  }
169
174
 
170
- export declare const FloatingPanel: React.FC<FloatingPanelProps>;
175
+ export declare const FloatingPanel: default_2.FC<FloatingPanelProps>;
171
176
 
172
177
  export declare interface FloatingPanelProps extends FloatingPanelProps_2 {
173
178
  /** An optional prop */
@@ -183,7 +188,7 @@ export declare interface GridProps extends GridProps_2 {
183
188
  optional?: string;
184
189
  }
185
190
 
186
- declare const Image_2: React.FC<ImageProps>;
191
+ declare const Image_2: default_2.FC<ImageProps>;
187
192
  export { Image_2 as Image }
188
193
 
189
194
  export declare interface ImageProps extends ImageProps_2 {
@@ -191,7 +196,7 @@ export declare interface ImageProps extends ImageProps_2 {
191
196
  optional?: string;
192
197
  }
193
198
 
194
- export declare const ImageViewer: React.FC<ImageViewerProps> & {
199
+ export declare const ImageViewer: default_2.FC<ImageViewerProps> & {
195
200
  Multi: typeof ImageViewer_2.Multi;
196
201
  };
197
202
 
@@ -223,7 +228,7 @@ export declare const Input: default_2.FC<InputProps>;
223
228
  export declare interface InputProps extends InputProps_2 {
224
229
  }
225
230
 
226
- export declare const JumboTabs: React.FC<JumboTabsProps> & {
231
+ export declare const JumboTabs: default_2.FC<JumboTabsProps> & {
227
232
  Tab: typeof JumboTabs_2.Tab;
228
233
  };
229
234
 
@@ -232,7 +237,7 @@ export declare interface JumboTabsProps extends JumboTabsProps_2 {
232
237
  optional?: boolean;
233
238
  }
234
239
 
235
- export declare const List: React.FC<ListProps> & {
240
+ export declare const List: default_2.FC<ListProps> & {
236
241
  Item: typeof List_2.Item;
237
242
  };
238
243
 
@@ -248,11 +253,20 @@ export declare interface NavBarProps extends NavBarProps_2 {
248
253
  optional?: string;
249
254
  }
250
255
 
251
- export declare const Picker: React.FC<PickerProps>;
256
+ export declare const PageIndicator: default_2.FC<PageIndicatorProps>;
257
+
258
+ export declare interface PageIndicatorProps extends PageIndicatorProps_2 {
259
+ /** An optional prop */
260
+ optional?: string;
261
+ }
262
+
263
+ export declare const Picker: default_2.FC<PickerProps>;
252
264
 
253
265
  export declare interface PickerProps extends PickerProps_2 {
254
266
  }
255
267
 
268
+ export { PullStatus }
269
+
256
270
  export declare const PullToRefresh: default_2.FC<PullToRefreshProps>;
257
271
 
258
272
  export declare interface PullToRefreshProps extends PullToRefreshProps_2 {
@@ -274,7 +288,7 @@ export declare interface SegmentedProps extends SegmentedProps_2 {
274
288
  optional?: string;
275
289
  }
276
290
 
277
- export declare const SideBar: React.FC<SideBarProps> & {
291
+ export declare const SideBar: default_2.FC<SideBarProps> & {
278
292
  Item: typeof SideBar_2.Item;
279
293
  };
280
294
 
@@ -283,7 +297,7 @@ export declare interface SideBarProps extends SideBarProps_2 {
283
297
  optional?: boolean;
284
298
  }
285
299
 
286
- export declare const Space: React.FC<SpaceProps>;
300
+ export declare const Space: default_2.FC<SpaceProps>;
287
301
 
288
302
  export declare interface SpaceProps extends SpaceProps_2 {
289
303
  /** An optional prop */
@@ -297,14 +311,23 @@ export declare interface SpinLoadingProps extends SpinLoadingProps_2 {
297
311
  optional?: string;
298
312
  }
299
313
 
300
- export declare const Swiper: React.FC<SwiperProps> & {
314
+ export declare const Steps: default_2.FC<StepsProps> & {
315
+ Step: typeof Steps_2.Step;
316
+ };
317
+
318
+ export declare interface StepsProps extends StepsProps_2 {
319
+ /** Optional */
320
+ optional?: boolean;
321
+ }
322
+
323
+ export declare const Swiper: default_2.FC<SwiperProps> & {
301
324
  Item: typeof Swiper_2.Item;
302
325
  };
303
326
 
304
327
  export declare interface SwiperProps extends SwiperProps_2 {
305
328
  }
306
329
 
307
- export declare const TabBar: React.FC<TabBarProps> & {
330
+ export declare const TabBar: default_2.FC<TabBarProps> & {
308
331
  Item: typeof TabBar_2.Item;
309
332
  };
310
333
 
@@ -313,7 +336,7 @@ export declare interface TabBarProps extends TabBarProps_2 {
313
336
  optional?: boolean;
314
337
  }
315
338
 
316
- export declare const Tabs: React.FC<TabsProps> & {
339
+ export declare const Tabs: default_2.FC<TabsProps> & {
317
340
  Tab: typeof Tabs_2.Tab;
318
341
  };
319
342
 
@@ -322,6 +345,13 @@ export declare interface TabsProps extends TabsProps_2 {
322
345
  optional?: boolean;
323
346
  }
324
347
 
348
+ export declare const Tag: default_2.FC<TagProps>;
349
+
350
+ export declare interface TagProps extends TagProps_2 {
351
+ /** An optional prop */
352
+ optional?: string;
353
+ }
354
+
325
355
  export declare type ThemeConfig = {
326
356
  token: {
327
357
  colorPrimary: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",