@aloudata/aloudata-design 2.18.3 → 2.19.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 (117) hide show
  1. package/dist/AldSelect/style/color.less +25 -16
  2. package/dist/AldSelect/style/index.less +2 -2
  3. package/dist/Avatar/component/Avatar/index.js +8 -19
  4. package/dist/Avatar/component/Avatar/type.js +3 -3
  5. package/dist/Avatar/style/index.less +10 -3
  6. package/dist/Badge/index.js +1 -27
  7. package/dist/Badge/style/index.less +27 -1
  8. package/dist/Button/style/index.less +1 -0
  9. package/dist/Button/style/type.less +5 -5
  10. package/dist/Button/style/variables.less +70 -203
  11. package/dist/Checkbox/style/index.less +20 -37
  12. package/dist/Collapse/index.js +2 -2
  13. package/dist/Collapse/style/index.less +7 -7
  14. package/dist/ColorPicker/index.js +3 -3
  15. package/dist/ColorPicker/style/complex.less +8 -9
  16. package/dist/ColorPicker/style/index.less +7 -8
  17. package/dist/DataPreviewTable/components/Body/Cell.js +1 -1
  18. package/dist/DataPreviewTable/style/index.less +9 -9
  19. package/dist/DatePicker/style/index.less +3 -3
  20. package/dist/Divider/style/index.less +1 -1
  21. package/dist/DoubleCircleIcon/style/index.less +12 -12
  22. package/dist/Empty/style/index.less +3 -3
  23. package/dist/Form/style/index.less +4 -4
  24. package/dist/HighlightText/style/index.less +1 -1
  25. package/dist/Icon/components/CancelledCircleFill.d.ts +1 -2
  26. package/dist/Icon/components/CancelledCircleFill.js +1 -1
  27. package/dist/Icon/components/Ellipsis.d.ts +1 -2
  28. package/dist/Icon/components/Ellipsis.js +1 -1
  29. package/dist/Icon/components/LoadingDuotone.d.ts +1 -2
  30. package/dist/Icon/components/LoadingDuotone.js +1 -1
  31. package/dist/Icon/components/SortAscendingOrderColor.d.ts +1 -2
  32. package/dist/Icon/components/SortAscendingOrderColor.js +1 -1
  33. package/dist/Icon/components/SortColor.d.ts +1 -2
  34. package/dist/Icon/components/SortColor.js +1 -1
  35. package/dist/Icon/components/SortDescendingOrderColor.d.ts +1 -2
  36. package/dist/Icon/components/SortDescendingOrderColor.js +1 -1
  37. package/dist/Icon/svg/Cancelled-Circle-fill.svg +2 -1
  38. package/dist/Icon/svg/Loading-duotone.svg +3 -2
  39. package/dist/Icon/svg/Sort-Ascending-order-Color.svg +2 -1
  40. package/dist/Icon/svg/Sort-Color.svg +3 -2
  41. package/dist/Icon/svg/Sort-Descending-order-Color.svg +2 -1
  42. package/dist/Icon/svg/ellipsis.svg +2 -1
  43. package/dist/IconButton/style/index.less +17 -17
  44. package/dist/Input/components/Input/index.js +1 -1
  45. package/dist/Input/components/TextArea/index.js +1 -1
  46. package/dist/Input/style/index.less +1 -1
  47. package/dist/Input/style/size.less +11 -11
  48. package/dist/Input/style/status.less +21 -36
  49. package/dist/InputNumber/style/index.less +22 -25
  50. package/dist/InputSearch/style/index.less +8 -8
  51. package/dist/List/style/index.less +11 -11
  52. package/dist/LogicTree/style/DisplayLogicItem.less +3 -3
  53. package/dist/LogicTree/style/LoginItem.less +13 -13
  54. package/dist/MemberPicker/style/index.less +28 -30
  55. package/dist/Menu/style/index.less +22 -21
  56. package/dist/Modal/index.js +12 -12
  57. package/dist/Modal/style/modal.less +17 -18
  58. package/dist/Modal/style/modalConfirm.less +11 -26
  59. package/dist/Modal/style/polyfill/index.less +3 -3
  60. package/dist/Pagination/style/index.less +3 -4
  61. package/dist/Popconfirm/index.js +2 -2
  62. package/dist/Popconfirm/style/index.less +6 -6
  63. package/dist/Popover/style/index.less +8 -8
  64. package/dist/Progress/style/index.less +2 -5
  65. package/dist/Radio/style/index.less +39 -49
  66. package/dist/RenameInput/style/index.less +3 -3
  67. package/dist/Result/index.js +8 -7
  68. package/dist/Result/style/index.less +4 -4
  69. package/dist/ScrollArea/style/index.less +1 -1
  70. package/dist/Select/index.js +1 -1
  71. package/dist/Select/style/emptyShowAll.less +1 -1
  72. package/dist/Select/style/index.less +5 -5
  73. package/dist/Select/style/layout.less +1 -1
  74. package/dist/Select/style/option.less +7 -10
  75. package/dist/Select/style/selectDropdown.less +4 -4
  76. package/dist/Select/style/status.less +21 -24
  77. package/dist/Select/style/variables.less +3 -3
  78. package/dist/Skeleton/style/index.less +15 -15
  79. package/dist/Slider/style/index.less +56 -3
  80. package/dist/Spin/style/customIcon.less +2 -2
  81. package/dist/StatusLight/index.js +9 -24
  82. package/dist/StatusLight/style/index.less +58 -6
  83. package/dist/Steps/components/Step/index.js +4 -4
  84. package/dist/Steps/style/index.less +26 -22
  85. package/dist/Switch/style/index.less +1 -1
  86. package/dist/Switch/style/status.less +3 -3
  87. package/dist/Table/components/Header.js +6 -3
  88. package/dist/Table/style/index.less +18 -18
  89. package/dist/Tabs/style/index.less +9 -9
  90. package/dist/Tag/index.js +81 -21
  91. package/dist/Tag/style/index.less +3 -2
  92. package/dist/TextLink/style/type.less +16 -16
  93. package/dist/Tooltip/style/index.less +5 -5
  94. package/dist/Tree/Tree.js +2 -2
  95. package/dist/Tree/demo/basic/index.js +1 -1
  96. package/dist/Tree/style/checkbox.less +17 -27
  97. package/dist/Tree/style/index.less +4 -4
  98. package/dist/Tree/style/mixin.less +3 -3
  99. package/dist/Tree/style/reset.less +1 -1
  100. package/dist/Tree/style/var.less +19 -19
  101. package/dist/Tree/utils/iconUtil.js +1 -1
  102. package/dist/User/style/index.less +3 -3
  103. package/dist/ald.min.css +5 -1
  104. package/dist/message/index.js +4 -4
  105. package/dist/message/style/index.less +11 -14
  106. package/dist/notification/index.js +5 -5
  107. package/dist/notification/style/index.less +6 -7
  108. package/dist/style/components/toastify.css +27 -27
  109. package/dist/style/index.less +2 -2
  110. package/dist/style/themes/default/default.less +1 -1
  111. package/dist/style/themes/default/index.less +1 -1
  112. package/dist/style/themes/default/scrollBar.less +8 -4
  113. package/dist/style/themes/default/themeColor.module.less +178 -183
  114. package/dist/style/var/default.css +1156 -256
  115. package/package.json +2 -3
  116. package/dist/Avatar/component/Avatar/avatar.d.ts +0 -3
  117. package/dist/Avatar/component/Avatar/avatar.js +0 -23
@@ -10,19 +10,19 @@ import { Slide, toast } from 'react-toastify';
10
10
  import { CheckCircleFill, CloseLLine, DangerFill, InformationCircleFill } from "../Icon";
11
11
  var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
12
12
  size: 20,
13
- color: "#6B7280"
13
+ color: "var(--alias-colors-icon-subtle)"
14
14
  });
15
15
  var iconMap = {
16
16
  info: /*#__PURE__*/React.createElement(InformationCircleFill, {
17
- color: "#fff",
17
+ color: "var(--content-inverted-primary)",
18
18
  size: 20
19
19
  }),
20
20
  success: /*#__PURE__*/React.createElement(CheckCircleFill, {
21
- color: "#fff",
21
+ color: "var(--content-inverted-primary)",
22
22
  size: 20
23
23
  }),
24
24
  error: /*#__PURE__*/React.createElement(DangerFill, {
25
- color: "#fff",
25
+ color: "var(--content-inverted-primary)",
26
26
  size: 20
27
27
  })
28
28
  };
@@ -5,8 +5,8 @@
5
5
  display: flex;
6
6
  align-items: center;
7
7
  padding: 0;
8
- border-radius: var(--alias-radius-75, 6px);
9
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
8
+ border-radius: var(--alias-radius-75);
9
+ background: var(--alias-colors-bg-skeleton-subtler);
10
10
 
11
11
  & > svg {
12
12
  flex-shrink: 0;
@@ -35,17 +35,14 @@
35
35
  display: flex;
36
36
  align-items: center;
37
37
  padding: 12px;
38
- color: var(--alias-colors-text-default, #1f2937);
38
+ color: var(--alias-colors-text-default);
39
39
  height: 52px;
40
40
  gap: 12px;
41
- border-top-right-radius: var(--alias-radius-75, 6px);
42
- border-bottom-right-radius: var(--alias-radius-75, 6px);
43
- border-top: var(--alias-stroke-md, 1px) solid
44
- var(--alias-colors-border-strong, #d1d5db);
45
- border-bottom: var(--alias-stroke-md, 1px) solid
46
- var(--alias-colors-border-strong, #d1d5db);
47
- border-right: var(--alias-stroke-md, 1px) solid
48
- var(--alias-colors-border-strong, #d1d5db);
41
+ border-top-right-radius: var(--alias-radius-75);
42
+ border-bottom-right-radius: var(--alias-radius-75);
43
+ border-top: var(--alias-stroke-md) solid var(--border-default-alpha);
44
+ border-bottom: var(--alias-stroke-md) solid var(--border-default-alpha);
45
+ border-right: var(--alias-stroke-md) solid var(--border-default-alpha);
49
46
  }
50
47
  }
51
48
  }
@@ -53,7 +50,7 @@
53
50
  &.ald-message-success {
54
51
  .ald-message-content {
55
52
  .ald-message-icon-wrap {
56
- background: var(--alias-colors-bg-accent-green-strong, #22c55e);
53
+ background: var(--alias-colors-bg-accent-green-strong);
57
54
  }
58
55
  }
59
56
  }
@@ -61,7 +58,7 @@
61
58
  &.ald-message-info {
62
59
  .ald-message-content {
63
60
  .ald-message-icon-wrap {
64
- background: var(--alias-colors-bg-accent-blue-strong, #2986f4);
61
+ background: var(--alias-colors-bg-accent-blue-strong);
65
62
  }
66
63
  }
67
64
  }
@@ -69,7 +66,7 @@
69
66
  &.ald-message-error {
70
67
  .ald-message-content {
71
68
  .ald-message-icon-wrap {
72
- background: var(--alias-colors-bg-accent-red-strong, #ef4444);
69
+ background: var(--alias-colors-bg-accent-red-strong);
73
70
  }
74
71
  }
75
72
  }
@@ -17,7 +17,7 @@ import { Slide, toast } from 'react-toastify';
17
17
  import { AttentionTriangleFill, CheckCircleFill, CloseLLine, DangerFill, InformationCircleFill } from "../Icon";
18
18
  var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
19
19
  size: 20,
20
- color: "#6B7280"
20
+ color: "var(--alias-colors-icon-subtle)"
21
21
  });
22
22
  var DEFAULT_DURATION_TIME = 4500;
23
23
  var defaultOptions = {
@@ -39,25 +39,25 @@ var iconMap = {
39
39
  info: /*#__PURE__*/React.createElement("div", {
40
40
  className: "ald-notification-notice-icon"
41
41
  }, /*#__PURE__*/React.createElement(InformationCircleFill, {
42
- color: "var(--alias-colors-icon-information ,#2986F4)",
42
+ color: "var(--alias-colors-icon-information)",
43
43
  size: 24
44
44
  })),
45
45
  success: /*#__PURE__*/React.createElement("div", {
46
46
  className: "ald-notification-notice-icon"
47
47
  }, /*#__PURE__*/React.createElement(CheckCircleFill, {
48
- color: "var(--alias-colors-icon-success ,#22C55E)",
48
+ color: "var(--alias-colors-icon-success)",
49
49
  size: 24
50
50
  })),
51
51
  error: /*#__PURE__*/React.createElement("div", {
52
52
  className: "ald-notification-notice-icon"
53
53
  }, /*#__PURE__*/React.createElement(DangerFill, {
54
- color: "var(--alias-colors-icon-error ,#EF4444)",
54
+ color: "var(--alias-colors-icon-error)",
55
55
  size: 24
56
56
  })),
57
57
  warning: /*#__PURE__*/React.createElement("div", {
58
58
  className: "ald-notification-notice-icon"
59
59
  }, /*#__PURE__*/React.createElement(AttentionTriangleFill, {
60
- color: "var(--alias-colors-icon-warning ,#EAB308)",
60
+ color: "var(--alias-colors-icon-warning)",
61
61
  size: 24
62
62
  }))
63
63
  };
@@ -4,13 +4,12 @@
4
4
  .ald-notification {
5
5
  width: 360px;
6
6
  padding: 16px;
7
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
8
- border-radius: var(--alias-radius-75, 6px);
9
- border: 1px solid var(--alias-colors-border-strong, #d1d5db);
7
+ background: var(--alias-colors-bg-skeleton-subtler);
8
+ border-radius: var(--alias-radius-75);
9
+ border: 1px solid var(--border-default-alpha);
10
10
 
11
11
  /* shadow/shadow-xl */
12
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05),
13
- 0 8px 10px -6px rgba(0, 0, 0, 0.05);
12
+ box-shadow: var(--elevation-bottom-bottom-xl);
14
13
 
15
14
  & > svg {
16
15
  flex-shrink: 0;
@@ -34,7 +33,7 @@
34
33
  gap: 4px;
35
34
 
36
35
  .ald-notification-message {
37
- color: var(--alias-colors-text-default, #1f2937);
36
+ color: var(--alias-colors-text-default);
38
37
  text-align: justify;
39
38
  font-size: 18px;
40
39
  font-style: normal;
@@ -43,7 +42,7 @@
43
42
  }
44
43
 
45
44
  .ald-notification-description {
46
- color: var(--alias-colors-text-subtle, #4b5563);
45
+ color: var(--alias-colors-text-subtle);
47
46
  font-size: 14px;
48
47
  font-style: normal;
49
48
  font-weight: 400;
@@ -1,12 +1,12 @@
1
1
  /* stylelint-disable selector-class-pattern, keyframes-name-pattern */
2
2
  :root {
3
- --toastify-color-light: #fff;
4
- --toastify-color-dark: #121212;
5
- --toastify-color-info: #3498db;
6
- --toastify-color-success: #07bc0c;
7
- --toastify-color-warning: #f1c40f;
8
- --toastify-color-error: #e74c3c;
9
- --toastify-color-transparent: rgba(255, 255, 255, 0.7);
3
+ --toastify-color-light: var(--background-default);
4
+ --toastify-color-dark: var(--background-inverted);
5
+ --toastify-color-info: var(--background-informative-strong);
6
+ --toastify-color-success: var(--background-positive-strong);
7
+ --toastify-color-warning: var(--background-warning-strong);
8
+ --toastify-color-error: var(--background-negative-strong);
9
+ --toastify-color-transparent: var(--global-white-alpha-800);
10
10
  --toastify-icon-color-info: var(--toastify-color-info);
11
11
  --toastify-icon-color-success: var(--toastify-color-success);
12
12
  --toastify-icon-color-warning: var(--toastify-color-warning);
@@ -29,30 +29,30 @@
29
29
  var(--toastify-toast-offset),
30
30
  env(safe-area-inset-bottom)
31
31
  );
32
- --toastify-toast-background: #fff;
32
+ --toastify-toast-background: var(--background-default);
33
33
  --toastify-toast-min-height: 48px;
34
34
  --toastify-toast-max-height: 800px;
35
35
  --toastify-toast-bd-radius: 6px;
36
36
  --toastify-font-family: sans-serif;
37
37
  --toastify-z-index: 9999;
38
- --toastify-text-color-light: #757575;
39
- --toastify-text-color-dark: #fff;
40
- --toastify-text-color-info: #fff;
41
- --toastify-text-color-success: #fff;
42
- --toastify-text-color-warning: #fff;
43
- --toastify-text-color-error: #fff;
44
- --toastify-spinner-color: #616161;
45
- --toastify-spinner-color-empty-area: #e0e0e0;
38
+ --toastify-text-color-light: var(--content-secondary);
39
+ --toastify-text-color-dark: var(--content-inverted-primary);
40
+ --toastify-text-color-info: var(--content-inverted-primary);
41
+ --toastify-text-color-success: var(--content-inverted-primary);
42
+ --toastify-text-color-warning: var(--content-inverted-primary);
43
+ --toastify-text-color-error: var(--content-inverted-primary);
44
+ --toastify-spinner-color: var(--alias-colors-icon-subtle);
45
+ --toastify-spinner-color-empty-area: var(--border-default);
46
46
  --toastify-color-progress-light: linear-gradient(
47
47
  to right,
48
- #4cd964,
49
- #5ac8fa,
50
- #007aff,
51
- #34aadc,
52
- #5856d6,
53
- #ff2d55
48
+ var(--data-visualisation-graphical-teal),
49
+ var(--data-visualisation-graphical-cyan),
50
+ var(--data-visualisation-graphical-blue),
51
+ var(--data-visualisation-graphical-violet),
52
+ var(--data-visualisation-graphical-pink),
53
+ var(--data-visualisation-graphical-orange)
54
54
  );
55
- --toastify-color-progress-dark: #bb86fc;
55
+ --toastify-color-progress-dark: var(--data-visualisation-graphical-purple);
56
56
  --toastify-color-progress-info: var(--toastify-color-info);
57
57
  --toastify-color-progress-success: var(--toastify-color-success);
58
58
  --toastify-color-progress-warning: var(--toastify-color-warning);
@@ -65,7 +65,7 @@
65
65
  transform: translate3d(0, 0, var(--toastify-z-index));
66
66
  position: fixed;
67
67
  box-sizing: border-box;
68
- color: #fff;
68
+ color: var(--content-inverted-primary);
69
69
  }
70
70
 
71
71
  .Toastify__toast-container--top-left {
@@ -137,7 +137,7 @@
137
137
  box-sizing: border-box;
138
138
  margin-bottom: 1rem;
139
139
  border-radius: var(--toastify-toast-bd-radius);
140
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
140
+ box-shadow: 0 4px 12px var(--semantic-neutral-alpha-100);
141
141
  display: flexbox;
142
142
  display: flex;
143
143
  -ms-flex-pack: justify;
@@ -323,7 +323,7 @@
323
323
  }
324
324
 
325
325
  .Toastify__close-button {
326
- color: #fff;
326
+ color: var(--content-inverted-primary);
327
327
  background: transparent;
328
328
  outline: none;
329
329
  border: none;
@@ -337,7 +337,7 @@
337
337
  }
338
338
 
339
339
  .Toastify__close-button--light {
340
- color: #000;
340
+ color: var(--content-primary);
341
341
  opacity: 0.3;
342
342
  }
343
343
 
@@ -16,7 +16,7 @@ body {
16
16
  }
17
17
 
18
18
  .ald-icon {
19
- color: #6b7280;
19
+ color: var(--content-secondary);
20
20
  }
21
21
 
22
22
  .rc-virtual-list {
@@ -24,7 +24,7 @@ body {
24
24
  width: 6px !important;
25
25
 
26
26
  .rc-virtual-list-scrollbar-thumb {
27
- background: #575757 !important;
27
+ background: var(--background-neutral-strong) !important;
28
28
  opacity: 0.2 !important;
29
29
  }
30
30
  }
@@ -1,4 +1,4 @@
1
- @primary-color: #126fdd;
1
+ @primary-color: var(--semantic-brand-600);
2
2
 
3
3
  // Animation
4
4
  @ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
@@ -5,7 +5,7 @@
5
5
  'Helvetica Neue', 'Segoe UI', helvetica, arial, 'Microsoft YaHei',
6
6
  'WenQuanYi Micro Hei', sans-serif;
7
7
  @ald-prefix: ald;
8
- @error-color: #d64343;
8
+ @error-color: var(--semantic-negative-600);
9
9
  // large
10
10
  @font-size-large: 16px;
11
11
  @line-height-large: 24px;
@@ -1,17 +1,21 @@
1
1
  &::-webkit-scrollbar {
2
2
  width: 12px !important;
3
3
  height: 12px !important;
4
- background: var(--global-colors-base-white-950a, #fff);
4
+ background: var(--background-default);
5
5
  opacity: 0.5;
6
6
  }
7
7
 
8
8
  &::-webkit-scrollbar-thumb {
9
- background-color: rgb(152 162 179 / 0.5);
10
- border: 3px solid transparent;
9
+ background-color: color-mix(
10
+ in srgb,
11
+ var(--semantic-neutral-600) 50%,
12
+ var(--alias-colors-icon-transp)
13
+ );
14
+ border: 3px solid var(--alias-colors-icon-transp);
11
15
  border-radius: 6px;
12
16
  background-clip: padding-box;
13
17
  }
14
18
 
15
19
  &::-webkit-scrollbar-track {
16
- background-color: transparent;
20
+ background-color: var(--alias-colors-icon-transp);
17
21
  }