@antscorp/ama-ui 0.0.30 → 0.0.32

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
@@ -2,6 +2,7 @@ import { Action } from 'antd-mobile/es/components/action-sheet';
2
2
  import { ActionSheet as ActionSheet_2 } from 'antd-mobile';
3
3
  import { ActionSheetProps as ActionSheetProps_2 } from 'antd-mobile';
4
4
  import { ActionSheetShowHandler } from 'antd-mobile/es/components/action-sheet';
5
+ import { alert as alert_2 } from 'antd-mobile/es/components/modal/alert';
5
6
  import { AutoCenter } from 'antd-mobile';
6
7
  import { AutoCenterProps } from 'antd-mobile';
7
8
  import { AvatarProps as AvatarProps_2 } from 'antd-mobile';
@@ -22,15 +23,18 @@ import { CheckboxRef as CheckboxRef_2 } from 'antd-mobile';
22
23
  import { CheckList as CheckList_2 } from 'antd-mobile';
23
24
  import { CheckListProps as CheckListProps_2 } from 'antd-mobile';
24
25
  import { ChipItem } from 'antd-mobile/es/components/footer';
26
+ import { clear } from 'antd-mobile/es/components/modal/clear';
25
27
  import { Collapse as Collapse_2 } from 'antd-mobile';
26
28
  import { CollapseProps as CollapseProps_2 } from 'antd-mobile';
27
29
  import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd-mobile';
30
+ import { confirm as confirm_2 } from 'antd-mobile/es/components/modal/confirm';
28
31
  import { DatePickerProps as DatePickerProps_2 } from 'antd-mobile';
29
32
  import { default as default_2 } from 'react';
30
33
  import { DividerProps as DividerProps_2 } from 'antd-mobile';
31
34
  import { DotLoadingProps as DotLoadingProps_2 } from 'antd-mobile';
32
35
  import { EllipsisProps as EllipsisProps_2 } from 'antd-mobile';
33
36
  import { ErrorBlockProps as ErrorBlockProps_2 } from 'antd-mobile';
37
+ import { FC } from 'react';
34
38
  import { FloatingPanelProps as FloatingPanelProps_2 } from 'antd-mobile';
35
39
  import { FooterProps as FooterProps_2 } from 'antd-mobile';
36
40
  import { Form as Form_2 } from 'antd-mobile';
@@ -53,6 +57,10 @@ import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
53
57
  import { LinkItem } from 'antd-mobile/es/components/footer';
54
58
  import { List as List_2 } from 'antd-mobile';
55
59
  import { ListProps as ListProps_2 } from 'antd-mobile';
60
+ import { ModalAlertProps } from 'antd-mobile';
61
+ import { ModalConfirmProps } from 'antd-mobile';
62
+ import { ModalProps } from 'antd-mobile';
63
+ import { ModalShowProps } from 'antd-mobile';
56
64
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
57
65
  import { PageIndicatorProps as PageIndicatorProps_2 } from 'antd-mobile';
58
66
  import { PickerProps as PickerProps_2 } from 'antd-mobile';
@@ -68,6 +76,7 @@ import { SearchBarRef as SearchBarRef_2 } from 'antd-mobile';
68
76
  import { SegmentedProps as SegmentedProps_2 } from 'antd-mobile';
69
77
  import { SelectorOption } from 'antd-mobile';
70
78
  import { SelectorProps } from 'antd-mobile';
79
+ import { show } from 'antd-mobile/es/components/modal/show';
71
80
  import { SideBar as SideBar_2 } from 'antd-mobile';
72
81
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
73
82
  import { SliderProps as SliderProps_2 } from 'antd-mobile';
@@ -338,6 +347,21 @@ export declare interface ListProps extends ListProps_2 {
338
347
  optional?: boolean;
339
348
  }
340
349
 
350
+ export declare const Modal: FC<ModalProps> & {
351
+ show: show;
352
+ alert: alert_2;
353
+ confirm: confirm_2;
354
+ clear: clear;
355
+ };
356
+
357
+ export { ModalAlertProps }
358
+
359
+ export { ModalConfirmProps }
360
+
361
+ export { ModalProps }
362
+
363
+ export { ModalShowProps }
364
+
341
365
  export declare const NavBar: default_2.FC<NavBarProps>;
342
366
 
343
367
  export declare interface NavBarProps extends NavBarProps_2 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",