@aloudata/aloudata-design 0.2.4 → 0.2.5

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.
@@ -1,4 +1,5 @@
1
- import { message, MessageArgsProps } from 'antd';
2
- import { ConfigOptions } from 'antd/lib/message';
1
+ import { MessageArgsProps } from 'antd';
2
+ import { ConfigOptions, MessageApi } from 'antd/lib/message';
3
3
  export type { MessageArgsProps, ConfigOptions };
4
- export default message;
4
+ declare const _default: MessageApi;
5
+ export default _default;
@@ -1,3 +1,4 @@
1
- import { notification } from 'antd';
1
+ import { NotificationApi } from 'antd/lib/notification';
2
2
  export { ArgsProps, ConfigProps, NotificationInstance } from 'antd/lib/notification';
3
- export default notification;
3
+ declare const _default: NotificationApi;
4
+ export default _default;
package/es/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { default as Layout } from './Layout';
33
33
  export type { LayoutProps } from './Layout';
34
34
  export { default as Message } from './Message';
35
35
  export type { MessageArgsProps } from './Message';
36
- export { default as notification } from './Notification';
36
+ export { default as Notification } from './Notification';
37
37
  export type { TreeProps, AntTreeNodeProps as TreeNodeProps, DataNode as TreeDataNode, } from './Tree';
38
38
  export { default as Tree } from './Tree';
39
39
  export type { SkeletonProps } from './Skeleton';
package/es/index.js CHANGED
@@ -16,7 +16,7 @@ export { default as ConfigProvider } from './ConfigProvider';
16
16
  export { default as DatePicker } from './DatePicker';
17
17
  export { default as Layout } from './Layout';
18
18
  export { default as Message } from './Message';
19
- export { default as notification } from './Notification';
19
+ export { default as Notification } from './Notification';
20
20
  export { default as Tree } from './Tree';
21
21
  export { default as Skeleton } from './Skeleton';
22
22
  export { default as Row } from './Row';
@@ -1,4 +1,5 @@
1
- import { message, MessageArgsProps } from 'antd';
2
- import { ConfigOptions } from 'antd/lib/message';
1
+ import { MessageArgsProps } from 'antd';
2
+ import { ConfigOptions, MessageApi } from 'antd/lib/message';
3
3
  export type { MessageArgsProps, ConfigOptions };
4
- export default message;
4
+ declare const _default: MessageApi;
5
+ export default _default;
@@ -1,3 +1,4 @@
1
- import { notification } from 'antd';
1
+ import { NotificationApi } from 'antd/lib/notification';
2
2
  export { ArgsProps, ConfigProps, NotificationInstance } from 'antd/lib/notification';
3
- export default notification;
3
+ declare const _default: NotificationApi;
4
+ export default _default;
package/lib/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { default as Layout } from './Layout';
33
33
  export type { LayoutProps } from './Layout';
34
34
  export { default as Message } from './Message';
35
35
  export type { MessageArgsProps } from './Message';
36
- export { default as notification } from './Notification';
36
+ export { default as Notification } from './Notification';
37
37
  export type { TreeProps, AntTreeNodeProps as TreeNodeProps, DataNode as TreeDataNode, } from './Tree';
38
38
  export { default as Tree } from './Tree';
39
39
  export type { SkeletonProps } from './Skeleton';
package/lib/index.js CHANGED
@@ -87,6 +87,12 @@ Object.defineProperty(exports, "Navigator", {
87
87
  return _Navigator.default;
88
88
  }
89
89
  });
90
+ Object.defineProperty(exports, "Notification", {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _Notification.default;
94
+ }
95
+ });
90
96
  Object.defineProperty(exports, "Radio", {
91
97
  enumerable: true,
92
98
  get: function get() {
@@ -171,12 +177,6 @@ Object.defineProperty(exports, "Upload", {
171
177
  return _Upload.default;
172
178
  }
173
179
  });
174
- Object.defineProperty(exports, "notification", {
175
- enumerable: true,
176
- get: function get() {
177
- return _Notification.default;
178
- }
179
- });
180
180
 
181
181
  var _Button = _interopRequireDefault(require("./Button"));
182
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",