@aloudata/aloudata-design 2.18.2 → 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 (119) hide show
  1. package/dist/AldSelect/index.js +12 -6
  2. package/dist/AldSelect/style/color.less +25 -16
  3. package/dist/AldSelect/style/index.less +2 -2
  4. package/dist/Avatar/component/Avatar/index.js +8 -19
  5. package/dist/Avatar/component/Avatar/type.js +3 -3
  6. package/dist/Avatar/style/index.less +10 -3
  7. package/dist/Badge/index.js +1 -27
  8. package/dist/Badge/style/index.less +27 -1
  9. package/dist/Button/style/index.less +1 -0
  10. package/dist/Button/style/type.less +5 -5
  11. package/dist/Button/style/variables.less +70 -203
  12. package/dist/Checkbox/style/index.less +20 -37
  13. package/dist/Collapse/index.js +2 -2
  14. package/dist/Collapse/style/index.less +7 -7
  15. package/dist/ColorPicker/index.js +3 -3
  16. package/dist/ColorPicker/style/complex.less +8 -9
  17. package/dist/ColorPicker/style/index.less +7 -8
  18. package/dist/DataPreviewTable/components/Body/Cell.js +1 -1
  19. package/dist/DataPreviewTable/style/index.less +9 -9
  20. package/dist/DatePicker/style/index.less +3 -3
  21. package/dist/Divider/style/index.less +1 -1
  22. package/dist/DoubleCircleIcon/style/index.less +12 -12
  23. package/dist/Empty/style/index.less +3 -3
  24. package/dist/Form/style/index.less +4 -4
  25. package/dist/HighlightText/style/index.less +1 -1
  26. package/dist/Icon/components/CancelledCircleFill.d.ts +1 -2
  27. package/dist/Icon/components/CancelledCircleFill.js +1 -1
  28. package/dist/Icon/components/Ellipsis.d.ts +1 -2
  29. package/dist/Icon/components/Ellipsis.js +1 -1
  30. package/dist/Icon/components/LoadingDuotone.d.ts +1 -2
  31. package/dist/Icon/components/LoadingDuotone.js +1 -1
  32. package/dist/Icon/components/SortAscendingOrderColor.d.ts +1 -2
  33. package/dist/Icon/components/SortAscendingOrderColor.js +1 -1
  34. package/dist/Icon/components/SortColor.d.ts +1 -2
  35. package/dist/Icon/components/SortColor.js +1 -1
  36. package/dist/Icon/components/SortDescendingOrderColor.d.ts +1 -2
  37. package/dist/Icon/components/SortDescendingOrderColor.js +1 -1
  38. package/dist/Icon/svg/Cancelled-Circle-fill.svg +2 -1
  39. package/dist/Icon/svg/Loading-duotone.svg +3 -2
  40. package/dist/Icon/svg/Sort-Ascending-order-Color.svg +2 -1
  41. package/dist/Icon/svg/Sort-Color.svg +3 -2
  42. package/dist/Icon/svg/Sort-Descending-order-Color.svg +2 -1
  43. package/dist/Icon/svg/ellipsis.svg +2 -1
  44. package/dist/IconButton/style/index.less +17 -17
  45. package/dist/Input/components/Input/index.js +1 -1
  46. package/dist/Input/components/TextArea/index.js +1 -1
  47. package/dist/Input/style/index.less +1 -1
  48. package/dist/Input/style/size.less +11 -11
  49. package/dist/Input/style/status.less +21 -36
  50. package/dist/InputNumber/style/index.less +22 -25
  51. package/dist/InputSearch/index.js +4 -3
  52. package/dist/InputSearch/style/index.less +8 -8
  53. package/dist/List/style/index.less +11 -11
  54. package/dist/LogicTree/style/DisplayLogicItem.less +3 -3
  55. package/dist/LogicTree/style/LoginItem.less +13 -13
  56. package/dist/MemberPicker/style/index.less +28 -30
  57. package/dist/Menu/style/index.less +22 -21
  58. package/dist/Modal/index.js +12 -12
  59. package/dist/Modal/style/modal.less +17 -18
  60. package/dist/Modal/style/modalConfirm.less +11 -26
  61. package/dist/Modal/style/polyfill/index.less +3 -3
  62. package/dist/Pagination/style/index.less +3 -4
  63. package/dist/Popconfirm/index.js +2 -2
  64. package/dist/Popconfirm/style/index.less +6 -6
  65. package/dist/Popover/style/index.less +8 -8
  66. package/dist/Progress/style/index.less +2 -5
  67. package/dist/Radio/style/index.less +39 -49
  68. package/dist/RenameInput/style/index.less +3 -3
  69. package/dist/Result/index.js +8 -7
  70. package/dist/Result/style/index.less +4 -4
  71. package/dist/ScrollArea/style/index.less +1 -1
  72. package/dist/Select/index.js +1 -1
  73. package/dist/Select/style/emptyShowAll.less +1 -1
  74. package/dist/Select/style/index.less +5 -5
  75. package/dist/Select/style/layout.less +1 -1
  76. package/dist/Select/style/option.less +7 -10
  77. package/dist/Select/style/selectDropdown.less +4 -4
  78. package/dist/Select/style/status.less +21 -24
  79. package/dist/Select/style/variables.less +3 -3
  80. package/dist/Skeleton/style/index.less +15 -15
  81. package/dist/Slider/style/index.less +56 -3
  82. package/dist/Spin/style/customIcon.less +2 -2
  83. package/dist/StatusLight/index.js +9 -24
  84. package/dist/StatusLight/style/index.less +58 -6
  85. package/dist/Steps/components/Step/index.js +4 -4
  86. package/dist/Steps/style/index.less +26 -22
  87. package/dist/Switch/style/index.less +1 -1
  88. package/dist/Switch/style/status.less +3 -3
  89. package/dist/Table/components/Header.js +6 -3
  90. package/dist/Table/style/index.less +18 -18
  91. package/dist/Tabs/style/index.less +9 -9
  92. package/dist/Tag/index.js +81 -21
  93. package/dist/Tag/style/index.less +3 -2
  94. package/dist/TextLink/style/type.less +16 -16
  95. package/dist/Tooltip/style/index.less +5 -5
  96. package/dist/Tree/Tree.js +2 -2
  97. package/dist/Tree/demo/basic/index.js +1 -1
  98. package/dist/Tree/style/checkbox.less +17 -27
  99. package/dist/Tree/style/index.less +4 -4
  100. package/dist/Tree/style/mixin.less +3 -3
  101. package/dist/Tree/style/reset.less +1 -1
  102. package/dist/Tree/style/var.less +19 -19
  103. package/dist/Tree/utils/iconUtil.js +1 -1
  104. package/dist/User/style/index.less +3 -3
  105. package/dist/ald.min.css +5 -1
  106. package/dist/message/index.js +4 -4
  107. package/dist/message/style/index.less +11 -14
  108. package/dist/notification/index.js +5 -5
  109. package/dist/notification/style/index.less +6 -7
  110. package/dist/style/components/toastify.css +27 -27
  111. package/dist/style/index.less +2 -2
  112. package/dist/style/themes/default/default.less +1 -1
  113. package/dist/style/themes/default/index.less +1 -1
  114. package/dist/style/themes/default/scrollBar.less +8 -4
  115. package/dist/style/themes/default/themeColor.module.less +178 -183
  116. package/dist/style/var/default.css +1156 -256
  117. package/package.json +2 -3
  118. package/dist/Avatar/component/Avatar/avatar.d.ts +0 -3
  119. package/dist/Avatar/component/Avatar/avatar.js +0 -23
@@ -1,42 +1,27 @@
1
1
  // 光标颜色
2
- @input-caret-color: var(
3
- --alias-colors-border-accent-gray-stronger-default,
4
- #4b5563
5
- );
2
+ @input-caret-color: var(--interaction-border-hover);
6
3
  // color enabled
7
- @input-enabled-border-color: var(
8
- --alias-colors-border-accent-gray-subtle-default,
9
- #d1d5db
10
- );
11
- @input-enabled-bg-color: var(--alias-colors-bg-skeleton-subtler, #fff);
12
- @input-enabled-text-color: var(--alias-colors-text-default, #1f2937);
13
- @input-enabled-placeholder-color: var(--alias-colors-text-subtlest, #9ca3af);
4
+ @input-enabled-border-color: var(--interaction-border-neutral-normal);
5
+ @input-enabled-bg-color: var(--interaction-background-form-field);
6
+ @input-enabled-text-color: var(--content-primary);
7
+ @input-enabled-placeholder-color: var(--content-tertiary);
14
8
  // color hover
15
- @input-hover-border-color: var(
16
- --alias-colors-border-accent-gray-subtle-hover,
17
- #9ca3af
18
- );
19
- @input-hover-bg-color: var(--alias-colors-bg-skeleton-subtler, #fff);
20
- @input-hover-text-color: var(--alias-colors-text-default, #1f2937);
21
- @input-hover-placeholder-color: var(--alias-colors-text-subtlest, #9ca3af);
9
+ @input-hover-border-color: var(--interaction-border-hover);
10
+ @input-hover-bg-color: var(--interaction-background-form-field);
11
+ @input-hover-text-color: var(--content-primary);
12
+ @input-hover-placeholder-color: var(--content-tertiary);
22
13
 
23
14
  //color focus
24
- @input-focus-border-color: var(--alias-colors-border-selected, #126fdd);
25
- @input-focus-bg-color: var(--alias-colors-bg-skeleton-subtler, #fff);
26
- @input-focus-text-color: var(--alias-colors-text-default, #1f2937);
27
- @input-focus-placeholder-color: var(--alias-colors-text-subtlest, #9ca3af);
15
+ @input-focus-border-color: var(--interaction-focus-default);
16
+ @input-focus-bg-color: var(--interaction-background-form-field);
17
+ @input-focus-text-color: var(--content-primary);
18
+ @input-focus-placeholder-color: var(--content-tertiary);
28
19
 
29
20
  //color disabled
30
- @input-disabled-border-color: #d1d5db;
31
- @input-disabled-bg-color: #f3f4f6;
32
- @input-disabled-text-color: var(
33
- --alias-colors-text-disabled,
34
- rgba(0, 0, 0, 0.25)
35
- );
36
- @input-disabled-placeholder-color: var(
37
- --alias-colors-text-disabled,
38
- rgba(0, 0, 0, 0.25)
39
- );
21
+ @input-disabled-border-color: var(--interaction-border-neutral-normal);
22
+ @input-disabled-bg-color: var(--interaction-background-form-field);
23
+ @input-disabled-text-color: var(--content-primary);
24
+ @input-disabled-placeholder-color: var(--content-tertiary);
40
25
 
41
26
  .input-color(@border-color,@text-color,@bg-color,@placeholder-color) {
42
27
  border-color: @border-color;
@@ -67,7 +52,7 @@
67
52
  }
68
53
 
69
54
  &.ald-input-error {
70
- border-color: #dc2626 !important;
55
+ border-color: var(--interaction-border-alert) !important;
71
56
  }
72
57
  }
73
58
  // 带有其他内容的输入框,比如带 allowClear图标、prefix、suffix、密码图标等。
@@ -94,17 +79,17 @@
94
79
  }
95
80
  // 前缀
96
81
  .ant-input-prefix {
97
- color: var(--alias-colors-text-subtle, #4b5563);
82
+ color: var(--alias-colors-text-subtle);
98
83
  }
99
84
  // 后缀
100
85
  .ant-input-suffix {
101
86
  .ant-input-clear-icon {
102
- color: var(--alias-colors-icon-subtle, #6b7280);
87
+ color: var(--alias-colors-icon-subtle);
103
88
  }
104
89
  }
105
90
 
106
91
  &.ald-input-error {
107
- border-color: #dc2626 !important;
92
+ border-color: var(--interaction-border-alert) !important;
108
93
  }
109
94
  }
110
95
  }
@@ -16,30 +16,27 @@
16
16
  @inputNumber-border-radius-small: 4px;
17
17
  @inputNumber-padding-small: 0 7px;
18
18
 
19
- //默认
20
- @inputNumber-bg-color: var(--alias-colors-bg-skeleton-subtler, #fff);
21
- @inputNumber-border-color: var(
22
- --alias-colors-border-accent-gray-subtle-default,
23
- #d1d5db
24
- );
25
- @inputNumber-color: var(--alias-colors-text-default, #1f2937);
26
- @inputNumber-wrapper-bg-color: @BG95;
19
+ //默认 - 使用CSS变量映射
20
+ @inputNumber-bg-color: var(--background-default);
21
+ @inputNumber-border-color: var(--border-default);
22
+ @inputNumber-color: var(--content-primary);
23
+ @inputNumber-wrapper-bg-color: var(--background-neutral-subtle);
27
24
  //激活
28
- @inputNumber-active-bg-color: var(--alias-colors-bg-skeleton-subtler, #fff);
29
- @inputNumber-active-border-color: var(--alias-colors-border-selected, #126fdd);
25
+ @inputNumber-active-bg-color: var(--background-default);
26
+ @inputNumber-active-border-color: var(--interaction-border-selected);
30
27
 
31
28
  //disable
32
- @inputNumber-disabled-bg-color: #f3f4f6;
33
- @inputNumber-disabled-border-color: #d1d5db;
34
- @inputNumber-disabled-color: @NL40;
29
+ @inputNumber-disabled-bg-color: var(--background-neutral-muted);
30
+ @inputNumber-disabled-border-color: var(--border-default);
31
+ @inputNumber-disabled-color: var(--content-secondary);
35
32
  //光标颜色
36
- @inputNumber-cursor-color: @B60;
33
+ @inputNumber-cursor-color: var(--interaction-focus-default);
37
34
 
38
35
  //前后填充
39
- @inputNumber-addon-bg-color: #f8f8f8;
40
- @inputNumber-addon-color: #858585;
41
- @inputNumber-addon-border-color: @BG60;
42
- @inputNumber-addon-disable-color: #858585;
36
+ @inputNumber-addon-bg-color: var(--background-neutral-subtle);
37
+ @inputNumber-addon-color: var(--content-secondary);
38
+ @inputNumber-addon-border-color: var(--border-default);
39
+ @inputNumber-addon-disable-color: var(--content-secondary);
43
40
 
44
41
  .ald-input-number {
45
42
  &.ant-input-number {
@@ -69,20 +66,20 @@
69
66
  }
70
67
 
71
68
  .ant-input-number-handler {
72
- background-color: @BG100;
69
+ background-color: var(--background-neutral-subtle);
73
70
 
74
71
  .ant-input-number-handler-up-inner,
75
72
  .ant-input-number-handler-down-inner {
76
- color: @NL40;
73
+ color: var(--content-secondary);
77
74
  }
78
75
 
79
76
  &:hover,
80
77
  &:active {
81
- background-color: @BG100;
78
+ background-color: var(--background-neutral-subtle);
82
79
 
83
80
  .ant-input-number-handler-up-inner,
84
81
  .ant-input-number-handler-down-inner {
85
- color: @NL40;
82
+ color: var(--content-secondary);
86
83
  }
87
84
  }
88
85
  }
@@ -93,12 +90,12 @@
93
90
 
94
91
  .ant-input-number-handler-up:hover {
95
92
  height: 50% !important; // antd中就是 !important写法,这里做覆盖
96
- background: @BG80;
93
+ background: var(--action-ghost-hover);
97
94
  }
98
95
 
99
96
  .ant-input-number-handler-down:hover {
100
97
  height: 50% !important; // 这里的!important同上
101
- background: @BG80;
98
+ background: var(--action-ghost-hover);
102
99
  }
103
100
  }
104
101
 
@@ -283,5 +280,5 @@
283
280
  .ant-input-number-status-error:not(.ant-input-number-disabled):not(
284
281
  .ant-input-number-borderless
285
282
  ).ant-input-number.ant-input-number {
286
- border-color: @error-color;
283
+ border-color: var(--border-negative-strong);
287
284
  }
@@ -62,14 +62,14 @@ export default function InputSearch(props) {
62
62
  }, [locale, size]);
63
63
 
64
64
  // 判断是否为受控模式
65
- var isControlled = value !== undefined;
65
+ var isControlled = ('value' in props);
66
66
  var _useState = useState(defaultValue || ''),
67
67
  _useState2 = _slicedToArray(_useState, 2),
68
68
  searchValue = _useState2[0],
69
69
  setSearchValue = _useState2[1];
70
70
 
71
71
  // 获取当前值:受控模式使用 value,非受控模式使用内部状态
72
- var currentValue = isControlled ? value : searchValue;
72
+ var currentValue = isControlled ? value !== null && value !== void 0 ? value : '' : searchValue;
73
73
  var isComposing = useRef(false);
74
74
  var onPressEnter = useCallback(function (e) {
75
75
  if (!isComposing.current) {
@@ -93,7 +93,8 @@ export default function InputSearch(props) {
93
93
  setSearchValue(newValue);
94
94
  }
95
95
  if (!isComposing.current) {
96
- if (debounce) {
96
+ // 受控的时候debounce不生效
97
+ if (debounce && !isControlled) {
97
98
  debounceSearch(newValue);
98
99
  } else {
99
100
  onSearch(newValue);
@@ -4,11 +4,11 @@
4
4
  .ald-input-search {
5
5
  .ald-input.ald-input.ant-input-affix-wrapper {
6
6
  width: var(--init-width) !important;
7
- background-color: var(--alias-colors-bg-skeleton-subtle, #f9fafb);
7
+ background-color: var(--background-neutral-subtle);
8
8
  cursor: pointer;
9
9
 
10
10
  input {
11
- background-color: var(--alias-colors-bg-skeleton-subtle, #f9fafb);
11
+ background-color: var(--background-neutral-subtle);
12
12
  }
13
13
 
14
14
  .ant-input-suffix {
@@ -31,10 +31,10 @@
31
31
  }
32
32
 
33
33
  ::placeholder {
34
- color: var(--alias-colors-text-default, #1f2937);
34
+ color: var(--content-primary);
35
35
  font-style: normal;
36
36
  font-weight: 500;
37
- background-color: var(--alias-colors-bg-skeleton-subtle, #f9fafb);
37
+ background-color: var(--background-neutral-subtle);
38
38
  }
39
39
 
40
40
  &.ant-input-affix-wrapper-focused,
@@ -42,19 +42,19 @@
42
42
  &.input-search-has-value {
43
43
  width: 200px !important;
44
44
  transition: all 0.2s ease 0.1s !important;
45
- background-color: var(--alias-colors-bg-skeleton-subtler, #fff);
45
+ background-color: var(--background-default);
46
46
 
47
47
  &.inputMode {
48
48
  width: 100% !important;
49
49
  }
50
50
 
51
51
  input {
52
- background-color: #fff;
52
+ background-color: var(--background-default);
53
53
  }
54
54
 
55
55
  ::placeholder {
56
- color: var(--alias-colors-text-subtlest, #9ca3af);
57
- background-color: var(--alias-colors-bg-skeleton-subtler, #fff);
56
+ color: var(--content-tertiary);
57
+ background-color: var(--background-default);
58
58
  font-size: 14px;
59
59
  font-style: normal;
60
60
  font-weight: 400;
@@ -14,10 +14,10 @@
14
14
 
15
15
  &-item {
16
16
  display: flex;
17
- padding: var(--alias-padding-75, 6px) var(--alias-padding-100, 8px);
17
+ padding: var(--alias-padding-75) var(--alias-padding-100);
18
18
  align-items: center;
19
- border-radius: var(--alias-radius-75, 6px);
20
- gap: var(--alias-spacing-75, 6px);
19
+ border-radius: var(--alias-radius-75);
20
+ gap: var(--alias-spacing-75);
21
21
 
22
22
  &-prefix {
23
23
  display: flex;
@@ -31,7 +31,7 @@
31
31
  flex: 1;
32
32
  min-width: 0;
33
33
  display: flex;
34
- gap: var(--alias-spacing-75, 6px);
34
+ gap: var(--alias-spacing-75);
35
35
  align-items: center;
36
36
 
37
37
  &-avatar {
@@ -47,7 +47,7 @@
47
47
  min-width: 0;
48
48
  display: flex;
49
49
  flex-direction: column;
50
- gap: var(--alias-spacing-50, 4px);
50
+ gap: var(--alias-spacing-50);
51
51
  align-items: flex-start;
52
52
  justify-content: stretch;
53
53
 
@@ -73,21 +73,21 @@
73
73
  white-space: nowrap;
74
74
  text-overflow: ellipsis;
75
75
  max-width: 100%;
76
- color: var(--alias-colors-text-subtlest, #9ca3af);
76
+ color: var(--alias-colors-text-subtlest);
77
77
  }
78
78
  }
79
79
  }
80
80
 
81
81
  &-action {
82
82
  display: flex;
83
- gap: var(--alias-spacing-100, 8px);
83
+ gap: var(--alias-spacing-100);
84
84
  align-items: center;
85
85
  }
86
86
  }
87
87
 
88
88
  &-divider {
89
89
  height: 1px;
90
- background-color: var(--alias-colors-border-subtle, #f3f4f6);
90
+ background-color: var(--alias-colors-border-subtle);
91
91
  }
92
92
 
93
93
  .ald-list-item-wrap {
@@ -99,17 +99,17 @@
99
99
 
100
100
  .ald-list-small {
101
101
  .ald-list-item {
102
- gap: var(--alias-spacing-75, 6px);
102
+ gap: var(--alias-spacing-75);
103
103
 
104
104
  &-meta {
105
- gap: var(--alias-spacing-75, 6px);
105
+ gap: var(--alias-spacing-75);
106
106
 
107
107
  &-avatar {
108
108
  padding: 2px 0;
109
109
  }
110
110
 
111
111
  &-content {
112
- gap: var(--alias-spacing-25, 2px);
112
+ gap: var(--alias-spacing-25);
113
113
 
114
114
  &-title {
115
115
  font-size: 12px;
@@ -14,7 +14,7 @@
14
14
 
15
15
  .ald-logic-tree-horizontal-line {
16
16
  position: absolute;
17
- border-top: 1px solid #d1d5db;
17
+ border-top: 1px solid var(--border-default);
18
18
  top: 50%;
19
19
  width: @displayRecordLineWidth;
20
20
  left: -@displayRecordLineWidth;
@@ -29,14 +29,14 @@
29
29
  align-items: center;
30
30
  position: absolute;
31
31
  top: calc(50% - @displaySelectHeight / 2);
32
- background-color: #fff;
32
+ background-color: var(--background-default);
33
33
  z-index: 1;
34
34
  left: 0;
35
35
  }
36
36
 
37
37
  .ald-logic-tree-logic-vertical-line {
38
38
  position: absolute;
39
- border-left: 1px solid #d1d5db;
39
+ border-left: 1px solid var(--border-default);
40
40
  left: calc(@displaySelectWidth / 2);
41
41
  }
42
42
  }
@@ -21,7 +21,7 @@
21
21
  &:hover {
22
22
  .ald-logic-tree-node-drag-icon,
23
23
  .ald-logic-tree-record-node-drag-icon {
24
- background: #fff !important;
24
+ background: var(--background-default) !important;
25
25
  }
26
26
  }
27
27
 
@@ -35,11 +35,11 @@
35
35
  }
36
36
 
37
37
  &.is-dragging {
38
- background: var(--alias-colors-bg-selected-default, #e8f2fe);
38
+ background: var(--background-informative-subtle);
39
39
 
40
40
  .ald-logic-tree-node-drag-icon,
41
41
  .ald-logic-tree-record-node-drag-icon {
42
- background: var(--alias-colors-bg-selected-default, #e8f2fe) !important;
42
+ background: var(--background-informative-subtle) !important;
43
43
  }
44
44
  }
45
45
 
@@ -60,7 +60,7 @@
60
60
 
61
61
  .ald-logic-tree-horizontal-line {
62
62
  position: absolute;
63
- border-top: 1px solid #d1d5db;
63
+ border-top: 1px solid var(--border-default);
64
64
  top: 50%;
65
65
  width: @recordLineWidth;
66
66
  left: -@recordLineWidth;
@@ -76,8 +76,8 @@
76
76
 
77
77
  .ald-logic-tree-left-bottom-dash-line {
78
78
  position: absolute;
79
- border-bottom: 1px dashed #d1d5db;
80
- border-left: 1px dashed #d1d5db;
79
+ border-bottom: 1px dashed var(--border-default);
80
+ border-left: 1px dashed var(--border-default);
81
81
  height: calc(50% - 16px);
82
82
  width: @recordLineWidth;
83
83
  top: calc(50% - 4px);
@@ -87,7 +87,7 @@
87
87
 
88
88
  .ald-logic-tree-logic-vertical-line {
89
89
  position: absolute;
90
- border-left: 1px solid #d1d5db;
90
+ border-left: 1px solid var(--border-default);
91
91
  left: calc(@selectWidth / 2 + @dragIConWidth);
92
92
  }
93
93
 
@@ -97,7 +97,7 @@
97
97
  left: 16px;
98
98
  z-index: 1;
99
99
  width: @selectWidth !important;
100
- background: #fff !important;
100
+ background: var(--background-default) !important;
101
101
 
102
102
  .ant-select-selector {
103
103
  padding-left: 8px !important;
@@ -139,10 +139,10 @@
139
139
  display: flex;
140
140
  align-items: center;
141
141
  border-radius: 6px;
142
- background: var(--alias-colors-bg-selected-default, #e8f2fe);
142
+ background: var(--background-informative-subtle);
143
143
 
144
144
  .ald-logic-tree-record-node-drag-icon {
145
- background: var(--alias-colors-bg-selected-default, #e8f2fe) !important;
145
+ background: var(--background-informative-subtle) !important;
146
146
  }
147
147
  }
148
148
 
@@ -161,7 +161,7 @@
161
161
  z-index: 10;
162
162
 
163
163
  .ald-logic-tree-record-node-drag-icon {
164
- background-color: #fff;
164
+ background-color: var(--background-default);
165
165
  }
166
166
  }
167
167
 
@@ -187,7 +187,7 @@
187
187
  left: 16px;
188
188
  width: calc(100% - 16px);
189
189
  height: 2px;
190
- background-color: #126fdd;
190
+ background-color: var(--action-primary-normal);
191
191
  }
192
192
 
193
193
  .ald-logic-tree-logic-node.is-hover-top:last-child::after,
@@ -198,7 +198,7 @@
198
198
  left: 16px;
199
199
  width: calc(100% - 16px);
200
200
  height: 2px;
201
- background-color: #126fdd;
201
+ background-color: var(--action-primary-normal);
202
202
  }
203
203
 
204
204
  .ald-logic-tree-node-drag-icon-preview {
@@ -13,8 +13,8 @@
13
13
 
14
14
  .ald-member-picker-wrapper {
15
15
  box-sizing: border-box;
16
- border: 1px solid var(--colors-gray-400, #dbdbdb);
17
- background: var(--global-colors-base-white-950a, #fff);
16
+ border: 1px solid var(--border-default);
17
+ background: var(--background-default);
18
18
  box-shadow: 0 10px 18px -2px rgba(0, 0, 0, 0.08);
19
19
 
20
20
  &.ald-member-picker-multiple {
@@ -33,7 +33,7 @@
33
33
 
34
34
  .ald-member-picker-member-selection-wrapper {
35
35
  width: 50%;
36
- border-right: 1px solid var(--alias-colors-border-default, #e5e7eb);
36
+ border-right: 1px solid var(--border-default);
37
37
  }
38
38
 
39
39
  .ald-member-picker-member-list-wrap {
@@ -50,12 +50,12 @@
50
50
 
51
51
  .ald-member-picker-search-input.ald-member-picker-search-input {
52
52
  border: none;
53
- border-bottom: 1px solid var(--colors-gray-300, #e8e8e8) !important;
53
+ border-bottom: 1px solid var(--border-default) !important;
54
54
  border-radius: 0 !important;
55
55
  flex: 0 0 32px;
56
56
 
57
57
  &.ant-input-affix-wrapper-focused {
58
- border-color: #dbdbdb;
58
+ border-color: var(--border-default);
59
59
  }
60
60
  }
61
61
 
@@ -90,7 +90,7 @@
90
90
  padding: 8px;
91
91
 
92
92
  .ald-member-picker-has-selected {
93
- color: var(--colors-gray-900, #171717);
93
+ color: var(--content-primary);
94
94
  font-size: 13px;
95
95
  font-style: normal;
96
96
  font-weight: 400;
@@ -109,11 +109,10 @@
109
109
  display: flex;
110
110
  justify-content: center;
111
111
  align-items: center;
112
- border-radius: var(--alias-radius-50, 4px);
113
- border: 1px solid
114
- var(--alias-colors-border-accent-gray-subtler-default, #e5e7eb);
115
- background: var(--alias-colors-bg-accent-gray-subtler-default, #f9fafb);
116
- color: var(--alias-colors-text-accent-gray-default, #374151);
112
+ border-radius: var(--alias-radius-50);
113
+ border: 1px solid var(--border-default);
114
+ background: var(--background-neutral-subtle);
115
+ color: var(--content-secondary);
117
116
  text-align: center;
118
117
  font-size: 14px;
119
118
  font-weight: 400;
@@ -121,8 +120,7 @@
121
120
 
122
121
  .ald-member-picker-close {
123
122
  flex: 0 0 20px;
124
- border-left: 1px solid
125
- var(--alias-colors-border-accent-gray-subtler-default, #e5e7eb);
123
+ border-left: 1px solid var(--border-default);
126
124
  cursor: pointer;
127
125
  }
128
126
  }
@@ -132,14 +130,14 @@
132
130
  .ald-member-picker-footer {
133
131
  width: 100%;
134
132
  display: flex;
135
- padding: var(--global-number-spacing-spacing-sm, 12px)
136
- var(--global-number-spacing-spacing-lg, 24px);
133
+ padding: var(--global-number-spacing-spacing-sm)
134
+ var(--global-number-spacing-spacing-lg);
137
135
  justify-content: flex-end;
138
136
  align-items: center;
139
- gap: var(--global-number-spacing-spacing-sm, 12px);
137
+ gap: var(--global-number-spacing-spacing-sm);
140
138
  align-self: stretch;
141
- border-top: 1px solid var(--alias-colors-border-default, #e5e7eb);
142
- background: var(--alias-colors-bg-skeleton-subtler, #fff);
139
+ border-top: 1px solid var(--border-default);
140
+ background: var(--background-default);
143
141
  }
144
142
 
145
143
  .ald-member-picker-option {
@@ -173,18 +171,18 @@
173
171
  }
174
172
 
175
173
  &:hover {
176
- background: var(--colors-gray-98, #f4f4f4);
174
+ background: var(--background-neutral-subtle);
177
175
  }
178
176
 
179
177
  &.ald-member-picker-single-option-selected {
180
- background: var(--colors-blue-100, #f0f6ff);
178
+ background: var(--background-informative-subtle);
181
179
  }
182
180
 
183
181
  &.ald-member-picker-option-disabled {
184
182
  cursor: not-allowed;
185
183
 
186
184
  .ald-member-picker-nick-label-name {
187
- color: var(--colors-gray-900, #8b8b8b);
185
+ color: var(--content-secondary);
188
186
  }
189
187
  }
190
188
 
@@ -197,7 +195,7 @@
197
195
  }
198
196
 
199
197
  .ald-member-picker-name {
200
- color: var(--colors-gray-900, #171717);
198
+ color: var(--content-primary);
201
199
  font-size: 13px;
202
200
  font-style: normal;
203
201
  font-weight: 400;
@@ -209,7 +207,7 @@
209
207
  }
210
208
 
211
209
  .ald-member-picker-option-id {
212
- color: var(--alias-colors-text-subtle, #4b5563);
210
+ color: var(--content-secondary);
213
211
  font-size: 12px;
214
212
  margin-left: 4px;
215
213
  }
@@ -220,13 +218,13 @@
220
218
  width: auto;
221
219
  height: 32px;
222
220
  box-sizing: border-box;
223
- background: var(--global-colors-base-white-950a, #fff);
221
+ background: var(--background-default);
224
222
  justify-content: space-between;
225
223
  min-width: 0;
226
224
 
227
225
  .ald-member-picker-content-wrap {
228
226
  border-radius: 2px;
229
- border: 1px solid var(--colors-gray-400, #dbdbdb);
227
+ border: 1px solid var(--border-default);
230
228
  height: 100%;
231
229
  width: 100%;
232
230
  padding: 0 8px;
@@ -282,7 +280,7 @@
282
280
 
283
281
  .ald-member-picker-nick-label-name {
284
282
  flex: 1;
285
- color: var(--alias-colors-text-default, #1f2937);
283
+ color: var(--content-primary);
286
284
  font-size: 14px;
287
285
  font-weight: 400;
288
286
  line-height: 20px; /* 142.857% */
@@ -293,7 +291,7 @@
293
291
  }
294
292
 
295
293
  .ald-member-tabs {
296
- background-color: #fff;
294
+ background-color: var(--background-default);
297
295
  height: 100%;
298
296
  width: 100%;
299
297
 
@@ -315,7 +313,7 @@
315
313
  height: 40px;
316
314
  padding: 0 8px;
317
315
  line-height: 40px;
318
- border-bottom: 1px solid #e8e8e8;
316
+ border-bottom: 1px solid var(--border-default);
319
317
 
320
318
  &.ant-breadcrumb ol {
321
319
  display: flex;
@@ -348,7 +346,7 @@
348
346
  padding: 0 !important;
349
347
  border-radius: 0;
350
348
  border-radius: 4px;
351
- background: var(--colors-neutral-white, #fff);
349
+ background: var(--background-default);
352
350
  box-shadow: 0 20px 24px -4px rgba(16, 24, 40, 0.08),
353
351
  0 8px 8px -4px rgba(16, 24, 40, 0.03);
354
352
  }
@@ -356,7 +354,7 @@
356
354
  .ald-member-picker-tag {
357
355
  display: flex;
358
356
  align-items: center;
359
- gap: var(--alias-spacing-75, 6px);
357
+ gap: var(--alias-spacing-75);
360
358
  }
361
359
 
362
360
  .ald-member-selected-member-wrapper {