@aloudata/aloudata-design 1.10.14 → 2.0.0-beta.10

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 (232) hide show
  1. package/dist/Avatar/component/Avatar/index.js +9 -7
  2. package/dist/Avatar/style/index.less +8 -1
  3. package/dist/Button/index.d.ts +3 -4
  4. package/dist/Button/index.js +7 -20
  5. package/dist/Button/style/size.less +21 -8
  6. package/dist/Button/style/type.less +61 -33
  7. package/dist/Button/style/variables.less +236 -48
  8. package/dist/Checkbox/index.js +10 -4
  9. package/dist/Checkbox/style/index.less +117 -108
  10. package/dist/Checkbox/type.d.ts +11 -0
  11. package/dist/ColorPicker/style/index.less +1 -2
  12. package/dist/DataPreviewTable/constant.d.ts +1 -1
  13. package/dist/DataPreviewTable/constant.js +1 -1
  14. package/dist/DataPreviewTable/style/index.less +11 -11
  15. package/dist/Dropdown/index.d.ts +1 -2
  16. package/dist/Dropdown/style/index.less +71 -107
  17. package/dist/Empty/image/Search.js +2 -2
  18. package/dist/Empty/image/SearchSmall.js +2 -2
  19. package/dist/Empty/index.js +2 -1
  20. package/dist/Empty/style/index.less +2 -1
  21. package/dist/Form/style/index.less +27 -6
  22. package/dist/Icon/components/AlertTriangleDuotone.d.ts +1 -1
  23. package/dist/Icon/components/AlertTriangleLine.d.ts +11 -0
  24. package/dist/Icon/components/AlertTriangleLine.js +35 -0
  25. package/dist/Icon/components/ArrowDownFill.d.ts +11 -0
  26. package/dist/Icon/components/ArrowDownFill.js +35 -0
  27. package/dist/Icon/components/AttentionCircleFill.d.ts +11 -0
  28. package/dist/Icon/components/AttentionCircleFill.js +35 -0
  29. package/dist/Icon/components/AttentionTriangleFill.d.ts +11 -0
  30. package/dist/Icon/components/AttentionTriangleFill.js +35 -0
  31. package/dist/Icon/components/AttentionTriangleLightLine.d.ts +11 -0
  32. package/dist/Icon/components/AttentionTriangleLightLine.js +35 -0
  33. package/dist/Icon/components/CancelCircleDuotone.d.ts +1 -1
  34. package/dist/Icon/components/CheckCircleDuotone.d.ts +1 -1
  35. package/dist/Icon/components/CheckCircleFill.d.ts +11 -0
  36. package/dist/Icon/components/CheckCircleFill.js +35 -0
  37. package/dist/Icon/components/CheckCircleLightLine.d.ts +11 -0
  38. package/dist/Icon/components/CheckCircleLightLine.js +38 -0
  39. package/dist/Icon/components/CheckLightLine.d.ts +11 -0
  40. package/dist/Icon/components/CheckLightLine.js +35 -0
  41. package/dist/Icon/components/ChevronDownLine.d.ts +1 -1
  42. package/dist/Icon/components/ChevronLeftLine.d.ts +1 -1
  43. package/dist/Icon/components/ChevronRightLine.d.ts +1 -1
  44. package/dist/Icon/components/CircleLightLine.d.ts +11 -0
  45. package/dist/Icon/components/CircleLightLine.js +38 -0
  46. package/dist/Icon/components/CloseCircleFill.d.ts +11 -0
  47. package/dist/Icon/components/CloseCircleFill.js +35 -0
  48. package/dist/Icon/components/CloseCircleLightLine.d.ts +11 -0
  49. package/dist/Icon/components/CloseCircleLightLine.js +35 -0
  50. package/dist/Icon/components/CloseLLine.d.ts +1 -1
  51. package/dist/Icon/components/CloseLightLine.d.ts +11 -0
  52. package/dist/Icon/components/CloseLightLine.js +35 -0
  53. package/dist/Icon/components/CloseMLine.d.ts +1 -1
  54. package/dist/Icon/components/DragLine.d.ts +1 -1
  55. package/dist/Icon/components/Ellipsis.d.ts +11 -0
  56. package/dist/Icon/components/Ellipsis.js +35 -0
  57. package/dist/Icon/components/EyeOffLine.d.ts +1 -1
  58. package/dist/Icon/components/EyeOnLine.d.ts +1 -1
  59. package/dist/Icon/components/FoldDownFill.d.ts +1 -1
  60. package/dist/Icon/components/FoldUpFill.d.ts +1 -1
  61. package/dist/Icon/components/InfoCircleDuotone.d.ts +1 -1
  62. package/dist/Icon/components/InfoCircleLine.d.ts +1 -1
  63. package/dist/Icon/components/InformationCircleFill.d.ts +11 -0
  64. package/dist/Icon/components/InformationCircleFill.js +35 -0
  65. package/dist/Icon/components/InformationCircleLightLine.d.ts +11 -0
  66. package/dist/Icon/components/InformationCircleLightLine.js +38 -0
  67. package/dist/Icon/components/Loading2Line.d.ts +1 -1
  68. package/dist/Icon/components/LoadingDuotone.d.ts +11 -0
  69. package/dist/Icon/components/LoadingDuotone.js +39 -0
  70. package/dist/Icon/components/LoadingLine.d.ts +1 -1
  71. package/dist/Icon/components/MoreVerticalLine.d.ts +1 -1
  72. package/dist/Icon/components/SearchLine.d.ts +1 -1
  73. package/dist/Icon/components/TriangleLightLine.d.ts +11 -0
  74. package/dist/Icon/components/TriangleLightLine.js +35 -0
  75. package/dist/Icon/components/User.d.ts +11 -0
  76. package/dist/Icon/components/User.js +41 -0
  77. package/dist/Icon/components/UserGroup.d.ts +11 -0
  78. package/dist/Icon/components/UserGroup.js +39 -0
  79. package/dist/Icon/index.d.ts +19 -3
  80. package/dist/Icon/index.js +19 -2
  81. package/dist/Icon/svg/Close-Circle-light-line.svg +5 -0
  82. package/dist/Icon/svg/Loading-duotone.svg +6 -0
  83. package/dist/Icon/svg/alert-triangle-duotone.svg +3 -1
  84. package/dist/Icon/svg/alert-triangle-line.svg +5 -0
  85. package/dist/Icon/svg/arrow-down-fill.svg +5 -0
  86. package/dist/Icon/svg/attention-circle-fill.svg +5 -0
  87. package/dist/Icon/svg/attention-triangle-fill.svg +5 -0
  88. package/dist/Icon/svg/attention-triangle-light-line.svg +5 -0
  89. package/dist/Icon/svg/cancel-circle-duotone.svg +7 -3
  90. package/dist/Icon/svg/check-circle-duotone.svg +6 -2
  91. package/dist/Icon/svg/check-circle-fill.svg +5 -0
  92. package/dist/Icon/svg/check-circle-light-line.svg +8 -0
  93. package/dist/Icon/svg/check-light-line.svg +5 -0
  94. package/dist/Icon/svg/chevron-down-line.svg +6 -4
  95. package/dist/Icon/svg/chevron-left-line.svg +6 -4
  96. package/dist/Icon/svg/chevron-right-line.svg +6 -4
  97. package/dist/Icon/svg/circle-light-line.svg +9 -0
  98. package/dist/Icon/svg/close-L-line.svg +11 -9
  99. package/dist/Icon/svg/close-circle-fill.svg +5 -0
  100. package/dist/Icon/svg/close-light-line.svg +5 -0
  101. package/dist/Icon/svg/close-m-line.svg +6 -4
  102. package/dist/Icon/svg/drag-line.svg +6 -4
  103. package/dist/Icon/svg/ellipsis.svg +5 -0
  104. package/dist/Icon/svg/eye-off-line.svg +6 -4
  105. package/dist/Icon/svg/eye-on-line.svg +14 -8
  106. package/dist/Icon/svg/fold-down-fill.svg +7 -6
  107. package/dist/Icon/svg/fold-up-fill.svg +7 -6
  108. package/dist/Icon/svg/info-circle-duotone.svg +4 -2
  109. package/dist/Icon/svg/info-circle-line.svg +3 -1
  110. package/dist/Icon/svg/information-circle-fill.svg +5 -0
  111. package/dist/Icon/svg/information-circle-light-line.svg +9 -0
  112. package/dist/Icon/svg/loading-2-line.svg +4 -2
  113. package/dist/Icon/svg/loading-line.svg +6 -4
  114. package/dist/Icon/svg/more-vertical-line.svg +6 -4
  115. package/dist/Icon/svg/search-line.svg +6 -4
  116. package/dist/Icon/svg/triangle-light-line.svg +5 -0
  117. package/dist/Icon/svg/user.svg +4 -0
  118. package/dist/Icon/svg/userGroup.svg +7 -0
  119. package/dist/IconButton/index.d.ts +2 -2
  120. package/dist/IconButton/index.js +8 -19
  121. package/dist/IconButton/style/index.less +49 -25
  122. package/dist/Input/components/Input/index.js +18 -2
  123. package/dist/Input/components/Password/index.d.ts +0 -5
  124. package/dist/Input/components/Password/index.js +10 -10
  125. package/dist/Input/components/TextArea/index.js +15 -2
  126. package/dist/Input/index.d.ts +2 -5
  127. package/dist/Input/index.js +1 -3
  128. package/dist/Input/style/index.less +4 -565
  129. package/dist/Input/style/reset.less +22 -0
  130. package/dist/Input/style/size.less +82 -0
  131. package/dist/Input/style/status.less +105 -0
  132. package/dist/InputNumber/style/index.less +12 -9
  133. package/dist/MemberPicker/components/MultipleOption.js +4 -3
  134. package/dist/MemberPicker/components/NickLabel.d.ts +2 -0
  135. package/dist/MemberPicker/components/NickLabel.js +8 -2
  136. package/dist/MemberPicker/components/Panel.js +2 -2
  137. package/dist/MemberPicker/components/SelectedMemberTags.js +4 -1
  138. package/dist/MemberPicker/components/SingleOption.js +1 -0
  139. package/dist/MemberPicker/index.js +2 -0
  140. package/dist/MemberPicker/interface.d.ts +1 -0
  141. package/dist/MemberPicker/style/index.less +38 -30
  142. package/dist/Menu/index.js +6 -9
  143. package/dist/Menu/style/index.less +71 -133
  144. package/dist/Modal/index.d.ts +1 -1
  145. package/dist/Modal/index.js +32 -43
  146. package/dist/Modal/style/index.less +3 -191
  147. package/dist/Modal/style/modal.less +132 -0
  148. package/dist/Modal/style/modalConfirm.less +100 -0
  149. package/dist/Navigator/style/index.less +1 -1
  150. package/dist/Pagination/index.d.ts +1 -1
  151. package/dist/Pagination/index.js +11 -3
  152. package/dist/Pagination/style/index.less +11 -4
  153. package/dist/Pagination/types.d.ts +1 -0
  154. package/dist/Popconfirm/index.js +8 -7
  155. package/dist/Popconfirm/style/index.less +58 -12
  156. package/dist/Popover/style/index.less +29 -29
  157. package/dist/Radio/components/Group/index.js +3 -5
  158. package/dist/Radio/components/Radio/index.js +2 -1
  159. package/dist/Radio/interface/radioGroup.d.ts +1 -1
  160. package/dist/Radio/style/index.less +69 -56
  161. package/dist/ScrollArea/index.d.ts +1 -0
  162. package/dist/ScrollArea/index.js +5 -2
  163. package/dist/ScrollArea/style/index.less +5 -0
  164. package/dist/Select/components/{MultipleOption.d.ts → Option.d.ts} +2 -2
  165. package/dist/Select/components/{MultipleOption.js → Option.js} +14 -11
  166. package/dist/Select/components/SingleOption.d.ts +2 -2
  167. package/dist/Select/components/SingleOption.js +3 -1
  168. package/dist/Select/index.d.ts +5 -0
  169. package/dist/Select/index.js +28 -40
  170. package/dist/Select/style/index.less +109 -77
  171. package/dist/Select/style/layout.less +43 -0
  172. package/dist/Select/style/option.less +42 -3
  173. package/dist/Select/style/selectDropdown.less +16 -0
  174. package/dist/Select/style/size.less +316 -84
  175. package/dist/Select/style/status.less +69 -21
  176. package/dist/Select/style/variables.less +13 -17
  177. package/dist/Skeleton/style/index.less +84 -4
  178. package/dist/Spin/CustomIcon/index.d.ts +3 -0
  179. package/dist/Spin/CustomIcon/index.js +20 -15
  180. package/dist/Spin/CustomIcon/index.less +32 -105
  181. package/dist/Spin/index.d.ts +2 -0
  182. package/dist/Spin/index.js +10 -5
  183. package/dist/Spin/style/index.less +17 -1
  184. package/dist/Switch/index.d.ts +1 -1
  185. package/dist/Switch/style/index.less +130 -56
  186. package/dist/Table/components/Pagination/index.js +3 -1
  187. package/dist/Table/index.js +18 -3
  188. package/dist/Table/style/index.less +24 -10
  189. package/dist/Table/types.d.ts +1 -0
  190. package/dist/Tabs/index.d.ts +7 -2
  191. package/dist/Tabs/index.js +9 -6
  192. package/dist/Tabs/style/index.less +29 -18
  193. package/dist/TextLink/index.d.ts +44 -0
  194. package/dist/TextLink/index.js +26 -0
  195. package/dist/TextLink/style/index.d.ts +2 -0
  196. package/dist/TextLink/style/index.js +2 -0
  197. package/dist/TextLink/style/index.less +14 -0
  198. package/dist/TextLink/style/size.less +37 -0
  199. package/dist/TextLink/style/type.less +44 -0
  200. package/dist/Tree/DirectoryTree.js +0 -12
  201. package/dist/Tree/Tree.js +2 -2
  202. package/dist/Tree/demo/directoryTree/index.d.ts +3 -0
  203. package/dist/Tree/demo/directoryTree/index.js +44 -0
  204. package/dist/Tree/style/index.less +31 -12
  205. package/dist/Tree/style/mixin.less +3 -5
  206. package/dist/Tree/style/reset.less +15 -0
  207. package/dist/Tree/style/var.less +1 -1
  208. package/dist/ald.min.css +1 -1
  209. package/dist/index.d.ts +2 -1
  210. package/dist/index.js +1 -1
  211. package/dist/index.less +1 -0
  212. package/dist/message/index.js +15 -14
  213. package/dist/message/style/color.less +22 -41
  214. package/dist/message/style/index.less +15 -16
  215. package/dist/notification/demo/footer.d.ts +3 -0
  216. package/dist/notification/demo/footer.js +44 -0
  217. package/dist/notification/demo/index.js +1 -0
  218. package/dist/notification/index.js +84 -55
  219. package/dist/notification/style/index.less +53 -9
  220. package/dist/style/index.less +1 -0
  221. package/dist/style/themes/default/default.less +1 -1
  222. package/dist/style/themes/default/index.less +4 -4
  223. package/dist/style/themes/default/scrollBar.less +1 -1
  224. package/dist/style/var/default.css +1334 -0
  225. package/package.json +4 -3
  226. package/dist/Icon/components/Icon.d.ts +0 -32
  227. package/dist/Icon/components/Icon.js +0 -25
  228. package/dist/Input/components/Group/index.d.ts +0 -18
  229. package/dist/Input/components/Group/index.js +0 -19
  230. package/dist/Menu/style/dropdown.less +0 -61
  231. package/dist/Select/style/multiple.less +0 -55
  232. package/dist/Select/style/single.less +0 -44
@@ -2,42 +2,23 @@
2
2
  @import './variables.less';
3
3
  @import '../../Empty/style/index.less';
4
4
  @import '../../Checkbox/style/index.less';
5
- @import './multiple.less';
6
- @import './single.less';
7
5
  @import './size.less';
8
6
  @import './status.less';
9
-
10
- .ant-select-dropdown.ant-select-dropdown {
11
- padding-left: 0;
12
- padding-right: 0;
13
- border-radius: 2px;
14
-
15
- &.ald-select-popup {
16
- // max-height: 264px;
17
- overflow-y: auto;
18
- overflow-y: overlay;
19
- border: 1px solid @BG70;
20
- padding: 0;
21
- }
22
- }
7
+ @import './selectDropdown.less';
8
+ @import './option.less';
9
+ @import './layout.less';
23
10
 
24
11
  .ald-select.ald-select {
25
12
  display: inline-block;
26
13
  position: relative;
27
14
  box-sizing: border-box;
28
- border: 1px solid @BG60;
29
15
  border-radius: 4px;
30
- background-color: @BG100;
31
- // padding: 0 4px;
32
16
  cursor: pointer;
33
- width: 100%;
34
-
35
- &.ald-select-status-error {
36
- border-color: @error-color;
37
- }
17
+ border-width: 1px;
18
+ border-style: solid;
38
19
 
39
20
  .ald-select-prefix {
40
- color: @NL40;
21
+ color: var(--alias-colors-text-subtle, #4b5563);
41
22
  display: inline-flex;
42
23
  position: absolute;
43
24
  align-items: center;
@@ -50,85 +31,136 @@
50
31
  }
51
32
 
52
33
  &.ald-select-prefix-multiple {
53
- cursor: text;
34
+ cursor: default;
54
35
  }
55
36
  }
56
37
 
57
38
  .ant-select {
58
- .ant-select-selector {
59
- color: @NL0;
60
- align-items: center;
39
+ .ant-select-selection-item,
40
+ .ant-select-selection-search-input,
41
+ .ant-select-selection-search-mirror,
42
+ .ant-select-selection-placeholder {
43
+ transition: none;
61
44
  }
62
45
 
63
- .ant-select.ald-select-prefix-select {
64
- .ant-select-selector {
65
- border: none;
46
+ .ant-select-selector {
47
+ align-items: center;
48
+ transition: none;
49
+ padding-right: 0;
50
+ padding-top: 0;
51
+ padding-bottom: 0;
52
+ position: relative;
53
+
54
+ .ant-select-selection-search {
55
+ display: flex;
66
56
  }
67
- }
68
-
69
- .ant-select-selection-overflow {
70
- align-self: normal;
71
57
 
72
- .ant-select-selection-overflow-item {
73
- // display: flex;
74
- align-items: center;
75
- line-height: inherit;
58
+ .ant-select-selection-item {
59
+ padding-right: 0;
60
+ font-weight: inherit;
61
+ }
62
+ // 多选中存在这个样式
63
+ .ant-select-selection-overflow {
64
+ align-self: normal;
65
+ flex-wrap: nowrap;
66
+ margin-left: 6px;
67
+ min-width: 52px;
76
68
  height: 100%;
77
69
 
78
- .ant-select-selection-item {
79
- height: auto;
80
- margin-top: 0;
70
+ .ant-select-selection-overflow-item {
71
+ align-items: center;
72
+ line-height: inherit;
73
+ flex: 1;
74
+ min-width: 0;
75
+ // height: 100%;
81
76
 
82
- .ant-select-selection-item-content {
83
- // display: flex;
84
- // align-items: center;
85
- margin: 0;
77
+ & > span {
78
+ display: inline-flex;
79
+ min-width: 0;
86
80
  }
87
81
 
88
- .ant-select-selection-item-remove {
89
- display: flex;
90
- align-items: center;
91
- margin: 0;
92
- font-size: inherit;
82
+ .ant-select-selection-item {
83
+ height: auto;
84
+ margin-top: 0;
85
+ cursor: inherit;
86
+
87
+ .ant-select-selection-item-content {
88
+ // display: flex;
89
+ // align-items: center;
90
+ margin: 0;
91
+ }
92
+
93
+ .ant-select-selection-item-remove {
94
+ display: flex;
95
+ align-items: center;
96
+ margin: 0;
97
+ font-size: inherit;
98
+ }
93
99
  }
94
- }
95
100
 
96
- &.ant-select-selection-overflow-item-rest {
97
- .ant-select-selection-item {
98
- border: none;
99
- background: none;
100
- margin-bottom: 0;
101
+ &.ant-select-selection-overflow-item-rest {
102
+ flex: none;
103
+
104
+ .ant-select-selection-item {
105
+ border: none;
106
+ background: none;
107
+ margin-bottom: 0;
108
+ margin-left: 0;
109
+
110
+ .ant-select-selection-item-content {
111
+ display: flex;
112
+ align-items: center;
113
+ height: 16px;
114
+ padding: 0 var(--alias-spacing-50, 4px);
115
+ border-radius: var(--alias-radius-100, 8px);
116
+ background: var(
117
+ --alias-colors-bg-accent-blue-subtle-default,
118
+ #d4e7fd
119
+ );
120
+ color: var(--alias-colors-text-information, #0f59b1);
121
+ font-size: 12px;
122
+ }
123
+ }
101
124
  }
102
- }
103
125
 
104
- .ald-select-multiple-tag-default {
105
- color: inherit;
106
- display: inline-flex;
107
- align-items: center;
126
+ &.ant-select-selection-overflow-item-suffix {
127
+ flex: none;
128
+ }
108
129
 
109
- &::before {
110
- content: ',';
130
+ .ald-select-multiple-tag-default {
131
+ color: inherit;
132
+ min-width: 0;
133
+ white-space: nowrap;
134
+ text-overflow: ellipsis;
135
+ overflow: hidden;
111
136
  }
112
- }
113
137
 
114
- .ant-select-selection-search-input {
115
- height: inherit;
116
- line-height: inherit;
117
- caret-color: @B60;
138
+ .ant-select-selection-search-input {
139
+ height: inherit;
140
+ line-height: inherit;
141
+ caret-color: var(--alias-colors-text-selected, #126fdd);
142
+ }
118
143
  }
119
144
  }
120
145
 
121
- .ant-select-selection-overflow-item-rest {
122
- .ant-select-selection-item {
123
- padding-inline-start: 0;
124
- }
146
+ .ant-select-selection-placeholder {
147
+ padding-right: 17px;
125
148
  }
149
+ }
126
150
 
127
- .ant-select-selection-overflow-item:first-of-type {
128
- .ald-select-multiple-tag-default::before {
129
- content: '';
151
+ &.ant-select-open {
152
+ .ant-select-selector {
153
+ .ant-select-selection-item {
154
+ color: inherit;
130
155
  }
131
156
  }
132
157
  }
133
158
  }
134
159
  }
160
+
161
+ .ald-select-clear-icon,
162
+ .ald-select-suffix-icon {
163
+ cursor: pointer;
164
+ color: var(--alias-colors-icon-subtle, #6b7280);
165
+ font-size: 16px;
166
+ }
@@ -0,0 +1,43 @@
1
+ .ald-select.ald-select {
2
+ .ant-select {
3
+ flex: 1;
4
+ display: flex;
5
+ align-items: center;
6
+ gap: 8px;
7
+
8
+ .ant-select-selector {
9
+ position: initial;
10
+ min-width: 0;
11
+ flex: 1;
12
+ }
13
+
14
+ .ant-select-arrow {
15
+ top: 0;
16
+ bottom: 0;
17
+ margin: auto;
18
+ }
19
+
20
+ .ant-select-clear {
21
+ position: absolute;
22
+ top: 0;
23
+ bottom: 0;
24
+ margin: auto;
25
+ transform: none;
26
+ opacity: 1;
27
+ align-items: center;
28
+ flex: none;
29
+ right: 0;
30
+
31
+ &::before {
32
+ position: absolute;
33
+ top: 0;
34
+ bottom: 0;
35
+ margin: auto 0;
36
+ content: '';
37
+ height: 14px;
38
+ width: 1px;
39
+ background-color: var(--alias-colors-border-default, #e5e7eb);
40
+ }
41
+ }
42
+ }
43
+ }
@@ -1,3 +1,42 @@
1
- // option
2
- @select-single-option-height: 32px;
3
- @select-multiple-option-height: 36px;
1
+ @select-option-height: 36px;
2
+
3
+ .ald-option {
4
+ padding: var(--alias-padding-100, 8px) var(--alias-padding-150, 12px);
5
+ display: flex;
6
+ height: @select-option-height;
7
+ align-items: center;
8
+ cursor: pointer;
9
+ color: var(--alias-colors-text-default, #1f2937);
10
+ gap: var(--alias-spacing-50, 4px);
11
+ font-size: 14px;
12
+ font-style: normal;
13
+ font-weight: 400;
14
+ line-height: 20px;
15
+
16
+ &:hover {
17
+ background-color: var(
18
+ --alias-colors-bg-interaction-hover,
19
+ rgba(0, 0, 0, 0.05)
20
+ );
21
+ }
22
+
23
+ &.ald-option-disabled {
24
+ background-color: var(--alias-colors-bg-skeleton-subtler, #fff);
25
+ color: var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25));
26
+
27
+ &:hover {
28
+ cursor: default;
29
+ }
30
+ }
31
+
32
+ &.ald-option-selected {
33
+ color: var(--alias-colors-text-selected, #126fdd);
34
+ }
35
+ }
36
+
37
+ .ald-option-label {
38
+ white-space: nowrap;
39
+ flex: 1;
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ }
@@ -0,0 +1,16 @@
1
+ // select 下拉框
2
+ .ant-select-dropdown.ant-select-dropdown {
3
+ padding-left: 0;
4
+ padding-right: 0;
5
+ border-radius: var(--alias-radius-75, 6px);
6
+
7
+ &.ald-select-popup {
8
+ // max-height: 264px;
9
+ overflow-y: auto;
10
+ overflow-y: overlay;
11
+ border: 1px solid var(--alias-colors-border-strong, #d1d5db);
12
+ background: var(--alias-colors-bg-skeleton-subtler, #fff);
13
+ box-shadow: 0 10px 18px -2px rgba(0, 0, 0, 0.08);
14
+ padding: 4px 0;
15
+ }
16
+ }