@antscorp/ama-ui 0.0.34 → 0.0.36

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
@@ -17,6 +17,7 @@ import { CascaderOption } from 'antd-mobile/es/components/cascader';
17
17
  import { CascaderProps as CascaderProps_2 } from 'antd-mobile';
18
18
  import { CascaderView as CascaderView_2 } from 'antd-mobile';
19
19
  import { CascaderViewProps as CascaderViewProps_2 } from 'antd-mobile';
20
+ import { CenterPopupProps as CenterPopupProps_2 } from 'antd-mobile';
20
21
  import { Checkbox as Checkbox_2 } from 'antd-mobile';
21
22
  import { CheckboxProps as CheckboxProps_2 } from 'antd-mobile';
22
23
  import { CheckboxRef as CheckboxRef_2 } from 'antd-mobile';
@@ -30,6 +31,9 @@ import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd-mobile';
30
31
  import { confirm as confirm_2 } from 'antd-mobile/es/components/modal/confirm';
31
32
  import { DatePickerProps as DatePickerProps_2 } from 'antd-mobile';
32
33
  import { default as default_2 } from 'react';
34
+ import { Dialog } from 'antd-mobile';
35
+ import { DialogShowHandler } from 'antd-mobile/es/components/dialog';
36
+ import { DialogShowProps } from 'antd-mobile';
33
37
  import { DividerProps as DividerProps_2 } from 'antd-mobile';
34
38
  import { DotLoadingProps as DotLoadingProps_2 } from 'antd-mobile';
35
39
  import { EllipsisProps as EllipsisProps_2 } from 'antd-mobile';
@@ -57,6 +61,7 @@ import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
57
61
  import { LinkItem } from 'antd-mobile/es/components/footer';
58
62
  import { List as List_2 } from 'antd-mobile';
59
63
  import { ListProps as ListProps_2 } from 'antd-mobile';
64
+ import { MaskProps as MaskProps_2 } from 'antd-mobile';
60
65
  import { ModalAlertProps } from 'antd-mobile';
61
66
  import { ModalConfirmProps } from 'antd-mobile';
62
67
  import { ModalProps } from 'antd-mobile';
@@ -64,13 +69,18 @@ import { ModalShowProps } from 'antd-mobile';
64
69
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
65
70
  import { PageIndicatorProps as PageIndicatorProps_2 } from 'antd-mobile';
66
71
  import { PickerProps as PickerProps_2 } from 'antd-mobile';
72
+ import { Popover as Popover_2 } from 'antd-mobile';
73
+ import { PopoverProps as PopoverProps_2 } from 'antd-mobile';
74
+ import { PopupProps as PopupProps_2 } from 'antd-mobile';
67
75
  import { ProgressBarProps } from 'antd-mobile';
76
+ import { ProgressCircleProps as ProgressCircleProps_2 } from 'antd-mobile';
68
77
  import { PullStatus } from 'antd-mobile/es/components/pull-to-refresh';
69
78
  import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
70
79
  import { Radio as Radio_2 } from 'antd-mobile';
71
80
  import { RadioProps as RadioProps_2 } from 'antd-mobile';
72
81
  import { RateProps as RateProps_2 } from 'antd-mobile';
73
82
  import { RefAttributes } from 'react';
83
+ import { ResultProps as ResultProps_2 } from 'antd-mobile';
74
84
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
75
85
  import { SearchBarProps as SearchBarProps_2 } from 'antd-mobile';
76
86
  import { SearchBarRef as SearchBarRef_2 } from 'antd-mobile';
@@ -183,6 +193,13 @@ export declare interface CascaderViewProps extends CascaderViewProps_2 {
183
193
  optional?: string;
184
194
  }
185
195
 
196
+ export declare const CenterPopup: default_2.FC<CenterPopupProps>;
197
+
198
+ export declare interface CenterPopupProps extends CenterPopupProps_2 {
199
+ /** An optional prop */
200
+ optional?: string;
201
+ }
202
+
186
203
  export declare const Checkbox: typeof BaseCheckbox & {
187
204
  Group: typeof Checkbox_2.Group;
188
205
  };
@@ -228,6 +245,15 @@ export declare interface DatePickerProps extends DatePickerProps_2 {
228
245
  optional?: string;
229
246
  }
230
247
 
248
+ export { Dialog }
249
+
250
+ export declare interface DialogProps extends DialogShowProps {
251
+ /** An optional prop */
252
+ optional?: string;
253
+ }
254
+
255
+ export { DialogShowHandler }
256
+
231
257
  export declare const Divider: default_2.FC<DividerProps>;
232
258
 
233
259
  export declare interface DividerProps extends DividerProps_2 {
@@ -272,6 +298,8 @@ export declare interface FooterProps extends FooterProps_2 {
272
298
 
273
299
  export declare const Form: default_2.FC<FormProps> & {
274
300
  Item: typeof Form_2.Item;
301
+ useForm: typeof Form_2.useForm;
302
+ useWatch: typeof Form_2.useWatch;
275
303
  };
276
304
 
277
305
  export declare interface FormProps extends FormProps_2 {
@@ -348,6 +376,13 @@ export declare interface ListProps extends ListProps_2 {
348
376
  optional?: boolean;
349
377
  }
350
378
 
379
+ export declare const Mask: default_2.FC<MaskProps>;
380
+
381
+ export declare interface MaskProps extends MaskProps_2 {
382
+ /** An optional prop */
383
+ optional?: string;
384
+ }
385
+
351
386
  export declare const Modal: FC<ModalProps> & {
352
387
  show: show;
353
388
  alert: alert_2;
@@ -382,10 +417,33 @@ export declare const Picker: default_2.FC<PickerProps>;
382
417
  export declare interface PickerProps extends PickerProps_2 {
383
418
  }
384
419
 
420
+ export declare const Popover: default_2.FC<PopoverProps> & {
421
+ Menu: typeof Popover_2.Menu;
422
+ };
423
+
424
+ export declare interface PopoverProps extends PopoverProps_2 {
425
+ /** Optional */
426
+ optional?: boolean;
427
+ }
428
+
429
+ export declare const Popup: default_2.FC<PopupProps>;
430
+
431
+ export declare interface PopupProps extends PopupProps_2 {
432
+ /** An optional prop */
433
+ optional?: string;
434
+ }
435
+
385
436
  export declare const ProgressBar: FC<ProgressBarProps>;
386
437
 
387
438
  export { ProgressBarProps }
388
439
 
440
+ export declare const ProgressCircle: default_2.FC<ProgressCircleProps>;
441
+
442
+ export declare interface ProgressCircleProps extends ProgressCircleProps_2 {
443
+ /** An optional prop */
444
+ optional?: string;
445
+ }
446
+
389
447
  export { PullStatus }
390
448
 
391
449
  export declare const PullToRefresh: default_2.FC<PullToRefreshProps>;
@@ -411,6 +469,13 @@ export declare interface RateProps extends RateProps_2 {
411
469
  optional?: string;
412
470
  }
413
471
 
472
+ export declare const Result: default_2.FC<ResultProps>;
473
+
474
+ export declare interface ResultProps extends ResultProps_2 {
475
+ /** An optional prop */
476
+ optional?: string;
477
+ }
478
+
414
479
  export declare const SafeArea: default_2.FC<SafeAreaProps>;
415
480
 
416
481
  export declare interface SafeAreaProps extends SafeAreaProps_2 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",