@aloudata/aloudata-design 1.10.13 → 2.0.0-beta.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 (195) hide show
  1. package/dist/Button/index.d.ts +3 -4
  2. package/dist/Button/index.js +7 -20
  3. package/dist/Button/style/size.less +21 -8
  4. package/dist/Button/style/type.less +61 -33
  5. package/dist/Button/style/variables.less +229 -44
  6. package/dist/Checkbox/style/index.less +111 -114
  7. package/dist/Dropdown/index.d.ts +1 -2
  8. package/dist/Dropdown/style/index.less +70 -107
  9. package/dist/Icon/components/AlertTriangleDuotone.d.ts +1 -1
  10. package/dist/Icon/components/AlertTriangleLine.d.ts +11 -0
  11. package/dist/Icon/components/AlertTriangleLine.js +35 -0
  12. package/dist/Icon/components/ArrowDownFill.d.ts +11 -0
  13. package/dist/Icon/components/ArrowDownFill.js +35 -0
  14. package/dist/Icon/components/AttentionCircleFill.d.ts +11 -0
  15. package/dist/Icon/components/AttentionCircleFill.js +35 -0
  16. package/dist/Icon/components/AttentionTriangleFill.d.ts +11 -0
  17. package/dist/Icon/components/AttentionTriangleFill.js +35 -0
  18. package/dist/Icon/components/AttentionTriangleLightLine.d.ts +11 -0
  19. package/dist/Icon/components/AttentionTriangleLightLine.js +35 -0
  20. package/dist/Icon/components/CancelCircleDuotone.d.ts +1 -1
  21. package/dist/Icon/components/CheckCircleDuotone.d.ts +1 -1
  22. package/dist/Icon/components/CheckCircleFill.d.ts +11 -0
  23. package/dist/Icon/components/CheckCircleFill.js +35 -0
  24. package/dist/Icon/components/CheckCircleLightLine.d.ts +11 -0
  25. package/dist/Icon/components/CheckCircleLightLine.js +38 -0
  26. package/dist/Icon/components/CheckLightLine.d.ts +11 -0
  27. package/dist/Icon/components/CheckLightLine.js +35 -0
  28. package/dist/Icon/components/ChevronDownLine.d.ts +1 -1
  29. package/dist/Icon/components/ChevronLeftLine.d.ts +1 -1
  30. package/dist/Icon/components/ChevronRightLine.d.ts +1 -1
  31. package/dist/Icon/components/CircleLightLine.d.ts +11 -0
  32. package/dist/Icon/components/CircleLightLine.js +38 -0
  33. package/dist/Icon/components/CloseCircleFill.d.ts +11 -0
  34. package/dist/Icon/components/CloseCircleFill.js +35 -0
  35. package/dist/Icon/components/CloseLLine.d.ts +1 -1
  36. package/dist/Icon/components/CloseLightLine.d.ts +11 -0
  37. package/dist/Icon/components/CloseLightLine.js +35 -0
  38. package/dist/Icon/components/CloseMLine.d.ts +1 -1
  39. package/dist/Icon/components/DragLine.d.ts +1 -1
  40. package/dist/Icon/components/Ellipsis.d.ts +11 -0
  41. package/dist/Icon/components/Ellipsis.js +35 -0
  42. package/dist/Icon/components/EyeOffLine.d.ts +1 -1
  43. package/dist/Icon/components/EyeOnLine.d.ts +1 -1
  44. package/dist/Icon/components/FoldDownFill.d.ts +1 -1
  45. package/dist/Icon/components/FoldUpFill.d.ts +1 -1
  46. package/dist/Icon/components/InfoCircleDuotone.d.ts +1 -1
  47. package/dist/Icon/components/InfoCircleLine.d.ts +1 -1
  48. package/dist/Icon/components/InformationCircleFill.d.ts +11 -0
  49. package/dist/Icon/components/InformationCircleFill.js +35 -0
  50. package/dist/Icon/components/InformationCircleLightLine.d.ts +11 -0
  51. package/dist/Icon/components/InformationCircleLightLine.js +38 -0
  52. package/dist/Icon/components/Loading2Line.d.ts +1 -1
  53. package/dist/Icon/components/LoadingDuotone.d.ts +11 -0
  54. package/dist/Icon/components/LoadingDuotone.js +39 -0
  55. package/dist/Icon/components/LoadingLine.d.ts +1 -1
  56. package/dist/Icon/components/MoreVerticalLine.d.ts +1 -1
  57. package/dist/Icon/components/SearchLine.d.ts +1 -1
  58. package/dist/Icon/components/TriangleLightLine.d.ts +11 -0
  59. package/dist/Icon/components/TriangleLightLine.js +35 -0
  60. package/dist/Icon/index.d.ts +16 -3
  61. package/dist/Icon/index.js +16 -2
  62. package/dist/Icon/svg/Loading-duotone.svg +6 -0
  63. package/dist/Icon/svg/alert-triangle-duotone.svg +3 -1
  64. package/dist/Icon/svg/alert-triangle-line.svg +5 -0
  65. package/dist/Icon/svg/arrow-down-fill.svg +5 -0
  66. package/dist/Icon/svg/attention-circle-fill.svg +5 -0
  67. package/dist/Icon/svg/attention-triangle-fill.svg +5 -0
  68. package/dist/Icon/svg/attention-triangle-light-line.svg +5 -0
  69. package/dist/Icon/svg/cancel-circle-duotone.svg +7 -3
  70. package/dist/Icon/svg/check-circle-duotone.svg +6 -2
  71. package/dist/Icon/svg/check-circle-fill.svg +5 -0
  72. package/dist/Icon/svg/check-circle-light-line.svg +8 -0
  73. package/dist/Icon/svg/check-light-line.svg +5 -0
  74. package/dist/Icon/svg/chevron-down-line.svg +6 -4
  75. package/dist/Icon/svg/chevron-left-line.svg +6 -4
  76. package/dist/Icon/svg/chevron-right-line.svg +6 -4
  77. package/dist/Icon/svg/circle-light-line.svg +9 -0
  78. package/dist/Icon/svg/close-L-line.svg +11 -9
  79. package/dist/Icon/svg/close-circle-fill.svg +5 -0
  80. package/dist/Icon/svg/close-light-line.svg +5 -0
  81. package/dist/Icon/svg/close-m-line.svg +6 -4
  82. package/dist/Icon/svg/drag-line.svg +6 -4
  83. package/dist/Icon/svg/ellipsis.svg +5 -0
  84. package/dist/Icon/svg/eye-off-line.svg +6 -4
  85. package/dist/Icon/svg/eye-on-line.svg +14 -8
  86. package/dist/Icon/svg/fold-down-fill.svg +7 -6
  87. package/dist/Icon/svg/fold-up-fill.svg +7 -6
  88. package/dist/Icon/svg/info-circle-duotone.svg +4 -2
  89. package/dist/Icon/svg/info-circle-line.svg +3 -1
  90. package/dist/Icon/svg/information-circle-fill.svg +5 -0
  91. package/dist/Icon/svg/information-circle-light-line.svg +9 -0
  92. package/dist/Icon/svg/loading-2-line.svg +4 -2
  93. package/dist/Icon/svg/loading-line.svg +6 -4
  94. package/dist/Icon/svg/more-vertical-line.svg +6 -4
  95. package/dist/Icon/svg/search-line.svg +6 -4
  96. package/dist/Icon/svg/triangle-light-line.svg +5 -0
  97. package/dist/IconButton/index.d.ts +2 -2
  98. package/dist/IconButton/index.js +8 -19
  99. package/dist/IconButton/style/index.less +49 -25
  100. package/dist/Input/components/Input/index.js +18 -2
  101. package/dist/Input/components/Password/index.d.ts +0 -5
  102. package/dist/Input/components/Password/index.js +10 -10
  103. package/dist/Input/components/TextArea/index.js +15 -2
  104. package/dist/Input/index.d.ts +2 -5
  105. package/dist/Input/index.js +1 -3
  106. package/dist/Input/style/index.less +4 -565
  107. package/dist/Input/style/reset.less +22 -0
  108. package/dist/Input/style/size.less +82 -0
  109. package/dist/Input/style/status.less +105 -0
  110. package/dist/MemberPicker/components/MemberSelection.d.ts +2 -1
  111. package/dist/MemberPicker/components/MemberSelection.js +9 -1
  112. package/dist/MemberPicker/components/MultipleOption.js +1 -1
  113. package/dist/MemberPicker/components/Panel.d.ts +2 -1
  114. package/dist/MemberPicker/components/Panel.js +9 -3
  115. package/dist/MemberPicker/components/PanelWrapper.d.ts +3 -2
  116. package/dist/MemberPicker/components/PanelWrapper.js +5 -2
  117. package/dist/MemberPicker/components/SelectedMemberTags.d.ts +2 -1
  118. package/dist/MemberPicker/components/SelectedMemberTags.js +19 -2
  119. package/dist/MemberPicker/components/UserGroupSelection.d.ts +3 -2
  120. package/dist/MemberPicker/components/UserGroupSelection.js +8 -1
  121. package/dist/MemberPicker/index.js +4 -1
  122. package/dist/MemberPicker/interface.d.ts +1 -0
  123. package/dist/MemberPicker/style/index.less +10 -2
  124. package/dist/Menu/index.js +6 -9
  125. package/dist/Menu/style/index.less +72 -133
  126. package/dist/Modal/index.d.ts +1 -1
  127. package/dist/Modal/index.js +32 -43
  128. package/dist/Modal/style/index.less +3 -191
  129. package/dist/Modal/style/modal.less +132 -0
  130. package/dist/Modal/style/modalConfirm.less +100 -0
  131. package/dist/Pagination/index.js +4 -2
  132. package/dist/Pagination/style/index.less +11 -4
  133. package/dist/Popconfirm/index.js +8 -7
  134. package/dist/Popconfirm/style/index.less +16 -6
  135. package/dist/Popover/style/index.less +29 -29
  136. package/dist/Radio/components/Group/index.js +3 -5
  137. package/dist/Radio/components/Radio/index.js +2 -1
  138. package/dist/Radio/interface/radioGroup.d.ts +1 -1
  139. package/dist/Radio/style/index.less +69 -56
  140. package/dist/Select/components/{MultipleOption.d.ts → Option.d.ts} +2 -2
  141. package/dist/Select/components/{MultipleOption.js → Option.js} +14 -11
  142. package/dist/Select/components/SingleOption.d.ts +2 -2
  143. package/dist/Select/components/SingleOption.js +3 -1
  144. package/dist/Select/index.d.ts +5 -0
  145. package/dist/Select/index.js +26 -41
  146. package/dist/Select/style/index.less +96 -76
  147. package/dist/Select/style/layout.less +41 -0
  148. package/dist/Select/style/option.less +42 -0
  149. package/dist/Select/style/selectDropdown.less +17 -0
  150. package/dist/Select/style/size.less +95 -82
  151. package/dist/Select/style/status.less +69 -21
  152. package/dist/Select/style/variables.less +9 -16
  153. package/dist/Spin/CustomIcon/index.d.ts +3 -0
  154. package/dist/Spin/CustomIcon/index.js +20 -15
  155. package/dist/Spin/CustomIcon/index.less +32 -105
  156. package/dist/Spin/index.d.ts +2 -0
  157. package/dist/Spin/index.js +8 -2
  158. package/dist/Spin/style/index.less +9 -1
  159. package/dist/Switch/index.d.ts +1 -1
  160. package/dist/Switch/style/index.less +130 -56
  161. package/dist/Table/style/index.less +16 -8
  162. package/dist/Tabs/index.d.ts +2 -2
  163. package/dist/Tabs/index.js +4 -4
  164. package/dist/Tabs/style/index.less +20 -16
  165. package/dist/TextLink/index.d.ts +44 -0
  166. package/dist/TextLink/index.js +25 -0
  167. package/dist/TextLink/style/index.d.ts +2 -0
  168. package/dist/TextLink/style/index.js +2 -0
  169. package/dist/TextLink/style/index.less +9 -0
  170. package/dist/TextLink/style/size.less +37 -0
  171. package/dist/TextLink/style/type.less +44 -0
  172. package/dist/Tree/style/var.less +1 -1
  173. package/dist/ald.min.css +1 -1
  174. package/dist/index.d.ts +2 -1
  175. package/dist/index.js +1 -1
  176. package/dist/index.less +1 -0
  177. package/dist/message/index.js +15 -14
  178. package/dist/message/style/color.less +22 -41
  179. package/dist/message/style/index.less +15 -16
  180. package/dist/notification/demo/index.js +1 -0
  181. package/dist/notification/index.js +18 -18
  182. package/dist/notification/style/index.less +12 -6
  183. package/dist/style/index.less +1 -0
  184. package/dist/style/themes/default/default.less +1 -1
  185. package/dist/style/themes/default/index.less +3 -3
  186. package/dist/style/themes/default/scrollBar.less +1 -1
  187. package/dist/style/var/default.css +1334 -0
  188. package/package.json +4 -3
  189. package/dist/Icon/components/Icon.d.ts +0 -32
  190. package/dist/Icon/components/Icon.js +0 -25
  191. package/dist/Input/components/Group/index.d.ts +0 -18
  192. package/dist/Input/components/Group/index.js +0 -19
  193. package/dist/Menu/style/dropdown.less +0 -61
  194. package/dist/Select/style/multiple.less +0 -55
  195. package/dist/Select/style/single.less +0 -44
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export type { CollapsePanelProps, CollapseProps } from './Collapse';
22
22
  export { default as ColorPicker } from './ColorPicker';
23
23
  export type { IColorPickerProps } from './ColorPicker';
24
24
  export { default as ConfigProvider } from './ConfigProvider';
25
+ export type { SizeType } from './ConfigProvider/sizeContext';
25
26
  export { default as DataPreviewTable } from './DataPreviewTable';
26
27
  export type { ITableProps as DataPreviewTableProps, DataPreviewTableRef, PreviewColumn, } from './DataPreviewTable/interface';
27
28
  export { default as DatePicker } from './DatePicker';
@@ -36,7 +37,6 @@ export { default as Empty } from './Empty';
36
37
  export type { IEmptyProps as EmptyProps } from './Empty';
37
38
  export { default as Form } from './Form';
38
39
  export type { FormInstance, FormItemProps, FormProps } from './Form';
39
- export { default as Icon } from './Icon';
40
40
  export { default as IconButton } from './IconButton';
41
41
  export { default as Input } from './Input';
42
42
  export type { IInputProps as InputProps, InputRef, TSize, TextAreaRef, } from './Input';
@@ -83,6 +83,7 @@ export { default as Tabs } from './Tabs';
83
83
  export type { ITabsProps as TabsProps, TabsSize } from './Tabs';
84
84
  export { default as Tag } from './Tag';
85
85
  export type { TagProps, TagType } from './Tag';
86
+ export { default as TextLink } from './TextLink';
86
87
  export { default as Tooltip } from './Tooltip';
87
88
  export type { ActionType as TooltipActionType, ITooltipProps as TooltipProps, } from './Tooltip';
88
89
  export { default as Tree } from './Tree';
package/dist/index.js CHANGED
@@ -20,7 +20,6 @@ export { default as Drawer } from "./Drawer";
20
20
  export { default as Dropdown } from "./Dropdown";
21
21
  export { default as Empty } from "./Empty";
22
22
  export { default as Form } from "./Form";
23
- export { default as Icon } from "./Icon";
24
23
  export { default as IconButton } from "./IconButton";
25
24
  export { default as Input } from "./Input";
26
25
  export { default as InputNumber } from "./InputNumber";
@@ -46,6 +45,7 @@ export { default as Switch } from "./Switch";
46
45
  export { default as Table } from "./Table";
47
46
  export { default as Tabs } from "./Tabs";
48
47
  export { default as Tag } from "./Tag";
48
+ export { default as TextLink } from "./TextLink";
49
49
  export { default as Tooltip } from "./Tooltip";
50
50
  export { default as Tree } from "./Tree";
51
51
  export { default as Typography } from "./Typography";
package/dist/index.less CHANGED
@@ -47,3 +47,4 @@
47
47
  @import './Tree/style/index.less';
48
48
  @import './Upload/style/index.less';
49
49
  @import './Typography/style/index.less';
50
+ @import './TextLink/style/index.less';
@@ -6,8 +6,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
6
6
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
7
7
  import { message as AntdMessage } from 'antd';
8
8
  import React from 'react';
9
- import { AlertTriangleDuotone, CheckCircleDuotone, InfoCircleLine, LoadingLine } from "../Icon";
10
- import styles from "../style/themes/default/themeColor.module.less";
9
+ import { AttentionTriangleFill, CheckCircleFill, CloseCircleFill, InformationCircleFill, LoadingLine } from "../Icon";
11
10
  function isReactNode(value) {
12
11
  return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' || _typeof(value) === 'symbol' || value === null || value === undefined || /*#__PURE__*/React.isValidElement(value);
13
12
  }
@@ -15,35 +14,36 @@ var iconMap = {
15
14
  info: {
16
15
  icon: /*#__PURE__*/React.createElement("div", {
17
16
  className: "ald-message-icon-wrap"
18
- }, /*#__PURE__*/React.createElement(InfoCircleLine, {
19
- fill: styles.B40
17
+ }, /*#__PURE__*/React.createElement(InformationCircleFill, {
18
+ color: 'var(--alias-colors-icon-information)',
19
+ size: 20
20
20
  })),
21
21
  type: 'info'
22
22
  },
23
23
  success: {
24
24
  icon: /*#__PURE__*/React.createElement("div", {
25
25
  className: "ald-message-icon-wrap"
26
- }, /*#__PURE__*/React.createElement(CheckCircleDuotone, {
27
- color: styles.ND0,
28
- fill: styles.SA40
26
+ }, /*#__PURE__*/React.createElement(CheckCircleFill, {
27
+ color: 'var(--alias-colors-icon-success)',
28
+ size: 20
29
29
  })),
30
30
  type: 'success'
31
31
  },
32
32
  error: {
33
33
  icon: /*#__PURE__*/React.createElement("div", {
34
34
  className: "ald-message-icon-wrap"
35
- }, /*#__PURE__*/React.createElement(AlertTriangleDuotone, {
36
- color: styles.ND0,
37
- fill: styles.SC40
35
+ }, /*#__PURE__*/React.createElement(CloseCircleFill, {
36
+ color: 'var(--alias-colors-icon-danger)',
37
+ size: 20
38
38
  })),
39
39
  type: 'error'
40
40
  },
41
41
  warning: {
42
42
  icon: /*#__PURE__*/React.createElement("div", {
43
43
  className: "ald-message-icon-wrap"
44
- }, /*#__PURE__*/React.createElement(AlertTriangleDuotone, {
45
- color: styles.ND0,
46
- fill: styles.SB40
44
+ }, /*#__PURE__*/React.createElement(AttentionTriangleFill, {
45
+ color: 'var(--alias-colors-icon-warning)',
46
+ size: 20
47
47
  })),
48
48
  type: 'warning'
49
49
  },
@@ -51,7 +51,8 @@ var iconMap = {
51
51
  icon: /*#__PURE__*/React.createElement("div", {
52
52
  className: "ald-message-icon-wrap"
53
53
  }, /*#__PURE__*/React.createElement(LoadingLine, {
54
- className: "ald-loading-spin"
54
+ className: "ald-loading-spin",
55
+ size: 20
55
56
  })),
56
57
  type: 'loading'
57
58
  }
@@ -1,55 +1,36 @@
1
1
  // info
2
- .ant-message-notice-info{
3
- .ant-message-custom-content{
4
- background-color: @BG100;
5
- color:@NL0;
6
-
7
- .ald-message-icon-wrap{
8
- background-color: @B95;
9
- }
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);
10
7
  }
11
8
  }
12
9
  // success
13
- .ant-message-notice-success{
14
- .ant-message-custom-content{
15
- background-color: @SA10;
16
- color:@ND0;
17
-
18
- .ald-message-icon-wrap{
19
- background-color: @SA40;
20
- }
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);
21
14
  }
22
15
  }
23
16
  // error
24
- .ant-message-notice-error{
25
- .ant-message-custom-content{
26
- background-color: @SC10;
27
- color:@ND0;
28
-
29
- .ald-message-icon-wrap{
30
- background-color: @SC40;
31
- }
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);
32
21
  }
33
22
  }
34
23
  // warning
35
- .ant-message-notice-warning{
36
- .ant-message-custom-content{
37
- background-color: @SB20;
38
- color:@ND0;
39
-
40
- .ald-message-icon-wrap{
41
- background-color: @SB40;
42
- }
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);
43
28
  }
44
29
  }
45
30
  // loading
46
- .ant-message-notice-loading{
47
- .ant-message-custom-content{
48
- background-color: @BG100;
49
- color:@NL0;
50
-
51
- .ald-message-icon-wrap{
52
- background-color: @B95;
53
- }
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);
54
35
  }
55
- }
36
+ }
@@ -1,32 +1,31 @@
1
1
  @import '../../style/index.less';
2
- @import './color.less';
3
2
 
4
3
  .ant-message .ant-message-notice {
5
4
  .ant-message-notice-content {
6
5
  padding: 0;
7
- box-shadow: 0 12px 16px -4px rgb(16 24 40 / 0.08),
8
- 0 4px 6px -2px rgb(16 24 40 / 0.03);
6
+ border-radius: var(--alias-radius-75, 6px);
7
+ border: 1px solid var(--alias-colors-border-strong, #d1d5db);
8
+ background: var(--alias-colors-bg-skeleton-subtler, #fff);
9
+ box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.04),
10
+ 0 20px 25px -5px rgba(0, 0, 0, 0.1);
9
11
 
10
12
  .ant-message-custom-content {
11
- padding: 0;
12
13
  display: flex;
14
+ overflow: hidden;
15
+ padding: var(--alias-padding-150-minus-1, 12px)
16
+ var(--alias-padding-200-minus-1, 16px);
13
17
  align-items: center;
14
- border-radius: 4px;
15
- padding-right: 16px;
16
- font-size: 13px;
18
+ color: var(--alias-colors-text-default, #1f2937);
19
+ font-size: 14px;
20
+ font-weight: 500;
17
21
  line-height: 20px;
18
- overflow: hidden;
19
- font-weight: 600;
20
22
 
21
23
  .ald-message-icon-wrap {
24
+ display: grid;
25
+ place-items: center;
22
26
  flex-shrink: 0;
23
- width: 40px;
24
- height: 40px;
25
- display: flex;
26
- justify-content: center;
27
- align-items: center;
28
- font-size: 16px;
29
- margin-right: 16px;
27
+ font-size: 20px;
28
+ margin-right: 6px;
30
29
  }
31
30
  }
32
31
  }
@@ -6,6 +6,7 @@ export default (function () {
6
6
  message: 'Notification Message',
7
7
  description: 'description,description,description,description,description,description,description,description',
8
8
  style: {
9
+ width: 360,
9
10
  maxHeight: 500,
10
11
  overflow: 'auto'
11
12
  }
@@ -13,7 +13,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
13
13
  import { notification as AntdNotification } from 'antd';
14
14
  import classnames from 'classnames';
15
15
  import React from 'react';
16
- import { AlertTriangleDuotone, CancelCircleDuotone, CheckCircleDuotone, CloseMLine, InfoCircleLine } from "../Icon";
16
+ import { AlertTriangleDuotone, CancelCircleDuotone, CheckCircleDuotone, CloseLLine, InfoCircleLine } from "../Icon";
17
17
  import theme from "../style/themes/default/themeColor.module.less";
18
18
  var iconMap = {
19
19
  info: /*#__PURE__*/React.createElement(InfoCircleLine, {
@@ -21,44 +21,44 @@ var iconMap = {
21
21
  size: 20
22
22
  }),
23
23
  success: /*#__PURE__*/React.createElement(CheckCircleDuotone, {
24
- color: "#16B667",
25
- fill: "#FFFFFF",
26
- size: 20
24
+ fill: 'var(--global-colors-base-white-950a)',
25
+ color: 'var(--global-colors-green-600)',
26
+ size: 24
27
27
  }),
28
28
  error: /*#__PURE__*/React.createElement(CancelCircleDuotone, {
29
29
  color: "#D64343",
30
30
  fill: "#FFFFFF",
31
- size: 20
31
+ size: 24
32
32
  }),
33
33
  warning: /*#__PURE__*/React.createElement(AlertTriangleDuotone, {
34
34
  color: "#FFB01F",
35
35
  fill: "#FFFFFF",
36
- size: 20
36
+ size: 24
37
37
  })
38
38
  };
39
- var closeX = /*#__PURE__*/React.createElement(CloseMLine, {
39
+ var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
40
40
  size: 20,
41
- color: theme.NL40
41
+ color: "#171717"
42
42
  });
43
43
  var getSDefaultStyle = function getSDefaultStyle(type) {
44
44
  return _objectSpread(_objectSpread(_objectSpread(_objectSpread({
45
- padding: '16px 24px',
45
+ padding: '12px 16px',
46
46
  background: theme.SC95,
47
47
  border: '1px solid',
48
- borderRadius: '4px',
48
+ borderRadius: '2px',
49
49
  boxShadow: theme.SHADOW_LG
50
50
  }, type === 'error' && {
51
- background: theme.SC95,
52
- borderColor: theme.SC60
51
+ background: '#FBECEC',
52
+ borderColor: '#E98B8B'
53
53
  }), type === 'success' && {
54
- background: theme.SA95,
55
- borderColor: theme.SA60
54
+ background: '#E8F9F0',
55
+ borderColor: '#73D8A6'
56
56
  }), type === 'warning' && {
57
- background: theme.SB95,
58
- borderColor: theme.SB60
57
+ background: '#FFFAF0',
58
+ borderColor: '#FFD180'
59
59
  }), type === 'info' && {
60
- background: theme.B95,
61
- borderColor: theme.B60
60
+ background: '#F0F6FF',
61
+ borderColor: '#84AADF'
62
62
  });
63
63
  };
64
64
  var notification = {
@@ -2,13 +2,16 @@
2
2
 
3
3
  .ald-notification-notice.ant-notification-notice {
4
4
  .ant-notification-notice-icon {
5
- top: 18px;
5
+ top: 10px;
6
6
  }
7
7
 
8
8
  .ant-notification-notice-message {
9
9
  margin-inline-start: 28px;
10
10
  padding-inline-end: 28px;
11
- margin-bottom: 4px;
11
+ margin-bottom: 4px !important;
12
+ margin-left: 32px !important;
13
+ line-height: 20px;
14
+ color: var(--colors-gray-900, #171717);
12
15
  }
13
16
 
14
17
  .ant-notification-notice-description {
@@ -16,14 +19,17 @@
16
19
  font-weight: 400;
17
20
  font-size: 13px;
18
21
  line-height: 20px;
19
- color: @NL40;
22
+ color: var(--colors-gray-800, #575757);
20
23
  }
21
24
 
22
25
  .ant-notification-notice-close {
23
- top: 17px;
26
+ top: 12px;
27
+ right: 16px;
28
+ width: fit-content;
29
+ height: fit-content;
24
30
 
25
- &:hover{
26
- background:none;
31
+ &:hover {
32
+ background: none;
27
33
  }
28
34
  }
29
35
  }
@@ -1,4 +1,5 @@
1
1
  @root-entry-name: default;
2
+ @import './var/default.css';
2
3
  @import './mixins/index.less';
3
4
  @import './core/index.less';
4
5
  @import './themes/default/scrollBar.less';
@@ -1,4 +1,4 @@
1
- @primary-color: @B40;
1
+ @primary-color: #126fdd;
2
2
 
3
3
  // Animation
4
4
  @ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
@@ -11,7 +11,7 @@
11
11
  @padding-bottom-large: 6px;
12
12
  @padding-left-large: 12px;
13
13
  @padding-right-large: 12px;
14
- @border-radius-large: 4px;
14
+ @border-radius-large: 8px;
15
15
 
16
16
  // middle
17
17
  @font-size-middle: 13px;
@@ -20,7 +20,7 @@
20
20
  @padding-bottom-middle: 6px;
21
21
  @padding-left-middle: 12px;
22
22
  @padding-right-middle: 12px;
23
- @border-radius-middle: 2px;
23
+ @border-radius-middle: 8px;
24
24
 
25
25
  // small
26
26
  @font-size-small: 12px;
@@ -29,4 +29,4 @@
29
29
  @padding-bottom-small: 6px;
30
30
  @padding-left-small: 8px;
31
31
  @padding-right-small: 8px;
32
- @border-radius-small: 2px;
32
+ @border-radius-small: 8px;
@@ -1,7 +1,7 @@
1
1
  &::-webkit-scrollbar {
2
2
  width: 12px !important;
3
3
  height: 12px !important;
4
- background: var(--colors-neutral-white, #fff);
4
+ background: var(--global-colors-base-white-950a, #fff);
5
5
  opacity: 0.5;
6
6
  }
7
7