@aloudata/aloudata-design 2.8.7 → 2.9.1

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.
Files changed (34) hide show
  1. package/dist/App/index.js +7 -1
  2. package/dist/Badge/index.js +8 -3
  3. package/dist/Icon/components/DangerFill.d.ts +11 -0
  4. package/dist/Icon/components/DangerFill.js +35 -0
  5. package/dist/Icon/index.d.ts +1 -0
  6. package/dist/Icon/index.js +1 -0
  7. package/dist/Icon/svg/danger-fill.svg +5 -0
  8. package/dist/MemberPicker/components/MemberSelection.js +3 -0
  9. package/dist/MemberPicker/components/MultipleOption.d.ts +1 -0
  10. package/dist/MemberPicker/components/MultipleOption.js +10 -3
  11. package/dist/MemberPicker/components/Panel.d.ts +1 -0
  12. package/dist/MemberPicker/components/Panel.js +8 -1
  13. package/dist/MemberPicker/components/PanelWrapper.d.ts +1 -0
  14. package/dist/MemberPicker/components/PanelWrapper.js +1 -0
  15. package/dist/MemberPicker/components/SelectedMemberTags.d.ts +1 -0
  16. package/dist/MemberPicker/components/SelectedMemberTags.js +8 -2
  17. package/dist/MemberPicker/components/SingleOption.d.ts +1 -0
  18. package/dist/MemberPicker/components/SingleOption.js +8 -2
  19. package/dist/MemberPicker/interface.d.ts +1 -1
  20. package/dist/MemberPicker/style/index.less +28 -0
  21. package/dist/ald.min.css +1 -1
  22. package/dist/index.d.ts +0 -1
  23. package/dist/index.js +1 -1
  24. package/dist/message/index.d.ts +9 -11
  25. package/dist/message/index.js +63 -119
  26. package/dist/message/style/index.less +68 -24
  27. package/dist/notification/index.d.ts +16 -9
  28. package/dist/notification/index.js +166 -114
  29. package/dist/notification/style/index.less +46 -65
  30. package/dist/style/components/toastify.less +855 -0
  31. package/package.json +2 -1
  32. package/dist/message/style/color.less +0 -36
  33. package/dist/notification/demo/footer.d.ts +0 -3
  34. package/dist/notification/demo/footer.js +0 -44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "2.8.7",
3
+ "version": "2.9.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -66,6 +66,7 @@
66
66
  "memoize-one": "^6.0.0",
67
67
  "rc-menu": "^9.8.0",
68
68
  "rc-overflow": "^1.3.2",
69
+ "react-toastify": "^10.0.5",
69
70
  "umi-request": "^1.4.0",
70
71
  "zx": "^7.1.1"
71
72
  },
@@ -1,36 +0,0 @@
1
- // info
2
- .ant-message-notice-info {
3
- .ant-message-custom-content {
4
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
5
- color: var(--colors-gray-900, #171717);
6
- border-radius: var(--alias-radius-75, 6px);
7
- }
8
- }
9
- // success
10
- .ant-message-notice-success {
11
- .ant-message-custom-content {
12
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
13
- color: var(--global-colors-base-white-950a, #fff);
14
- }
15
- }
16
- // error
17
- .ant-message-notice-error {
18
- .ant-message-custom-content {
19
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
20
- color: var(--global-colors-base-white-950a, #fff);
21
- }
22
- }
23
- // warning
24
- .ant-message-notice-warning {
25
- .ant-message-custom-content {
26
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
27
- color: var(--global-colors-base-white-950a, #fff);
28
- }
29
- }
30
- // loading
31
- .ant-message-notice-loading {
32
- .ant-message-custom-content {
33
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
34
- color: var(--colors-gray-900, #171717);
35
- }
36
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
3
- export default _default;
@@ -1,44 +0,0 @@
1
- import { App, Button, notification, Space, TextLink } from "../..";
2
- import React from 'react';
3
- export default (function () {
4
- var notices = function notices(type) {
5
- notification[type]({
6
- message: 'Notification Message',
7
- description: 'description,description,description,description,description,description,description,description',
8
- style: {
9
- width: 360,
10
- maxHeight: 500,
11
- overflow: 'auto'
12
- },
13
- footer: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
14
- type: "text",
15
- onClick: function onClick() {
16
- return console.log('Dismiss');
17
- }
18
- }, "Dismiss"), /*#__PURE__*/React.createElement(TextLink, {
19
- onClick: function onClick() {
20
- return console.log('Confirm');
21
- }
22
- }, "Confirm"))
23
- });
24
- };
25
- return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Space, {
26
- direction: "vertical"
27
- }, /*#__PURE__*/React.createElement(Button, {
28
- onClick: function onClick() {
29
- return notices('success');
30
- }
31
- }, "Notification success with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
32
- onClick: function onClick() {
33
- return notices('error');
34
- }
35
- }, "Notification error with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
36
- onClick: function onClick() {
37
- return notices('warning');
38
- }
39
- }, "Notification warning with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
40
- onClick: function onClick() {
41
- return notices('info');
42
- }
43
- }, "Notification info with message\u3001description")));
44
- });