@aloudata/aloudata-design 2.19.0-beta.5 → 2.19.0
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.
- package/dist/AldSelect/style/color.less +2 -1
- package/dist/Button/style/variables.less +1 -1
- package/dist/Table/index.js +24 -6
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -1
- package/dist/index.less +0 -1
- package/package.json +1 -1
- package/dist/Select/components/Option.d.ts +0 -11
- package/dist/Select/components/Option.js +0 -31
- package/dist/Select/components/SingleOption.d.ts +0 -11
- package/dist/Select/components/SingleOption.js +0 -28
- package/dist/Select/index.d.ts +0 -19
- package/dist/Select/index.js +0 -484
- package/dist/Select/style/emptyShowAll.less +0 -27
- package/dist/Select/style/index.d.ts +0 -2
- package/dist/Select/style/index.js +0 -2
- package/dist/Select/style/index.less +0 -176
- package/dist/Select/style/layout.less +0 -44
- package/dist/Select/style/option.less +0 -39
- package/dist/Select/style/selectDropdown.less +0 -16
- package/dist/Select/style/size.less +0 -426
- package/dist/Select/style/status.less +0 -137
- package/dist/Select/style/variables.less +0 -31
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable no-descending-specificity */
|
|
2
|
-
@import './variables.less';
|
|
3
|
-
@import '../../Empty/style/index.less';
|
|
4
|
-
@import '../../Checkbox/style/index.less';
|
|
5
|
-
@import './size.less';
|
|
6
|
-
@import './status.less';
|
|
7
|
-
@import './selectDropdown.less';
|
|
8
|
-
@import './option.less';
|
|
9
|
-
@import './layout.less';
|
|
10
|
-
@import './emptyShowAll.less';
|
|
11
|
-
|
|
12
|
-
.ald-select.ald-select {
|
|
13
|
-
display: inline-block;
|
|
14
|
-
position: relative;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
border-width: 1px;
|
|
19
|
-
border-style: solid;
|
|
20
|
-
|
|
21
|
-
.ald-select-prefix {
|
|
22
|
-
color: var(--alias-colors-text-subtle);
|
|
23
|
-
display: inline-flex;
|
|
24
|
-
position: absolute;
|
|
25
|
-
align-items: center;
|
|
26
|
-
left: 0;
|
|
27
|
-
white-space: nowrap;
|
|
28
|
-
height: 100%;
|
|
29
|
-
|
|
30
|
-
&.ald-select-prefix-single {
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.ald-select-prefix-multiple {
|
|
35
|
-
cursor: default;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ant-select-selection-overflow {
|
|
39
|
-
margin-left: 6px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ant-select {
|
|
44
|
-
.ant-select-selection-item,
|
|
45
|
-
.ant-select-selection-search-input,
|
|
46
|
-
.ant-select-selection-search-mirror,
|
|
47
|
-
.ant-select-selection-placeholder {
|
|
48
|
-
transition: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ant-select-selector {
|
|
52
|
-
align-items: center;
|
|
53
|
-
transition: none;
|
|
54
|
-
padding-right: 0;
|
|
55
|
-
padding-top: 0;
|
|
56
|
-
padding-bottom: 0;
|
|
57
|
-
position: relative;
|
|
58
|
-
|
|
59
|
-
.ant-select-selection-search {
|
|
60
|
-
display: flex;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ant-select-selection-item {
|
|
64
|
-
padding-right: 0;
|
|
65
|
-
font-weight: inherit;
|
|
66
|
-
}
|
|
67
|
-
// 多选中存在这个样式
|
|
68
|
-
.ant-select-selection-overflow {
|
|
69
|
-
align-self: normal;
|
|
70
|
-
flex-wrap: nowrap;
|
|
71
|
-
min-width: 52px;
|
|
72
|
-
height: 100%;
|
|
73
|
-
|
|
74
|
-
.ant-select-selection-overflow-item {
|
|
75
|
-
align-items: center;
|
|
76
|
-
line-height: inherit;
|
|
77
|
-
// flex: 1;
|
|
78
|
-
min-width: 0;
|
|
79
|
-
// height: 100%;
|
|
80
|
-
|
|
81
|
-
& > span {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
min-width: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.ant-select-selection-item {
|
|
87
|
-
height: auto;
|
|
88
|
-
margin-top: 0;
|
|
89
|
-
cursor: inherit;
|
|
90
|
-
|
|
91
|
-
.ant-select-selection-item-content {
|
|
92
|
-
// display: flex;
|
|
93
|
-
// align-items: center;
|
|
94
|
-
margin: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.ant-select-selection-item-remove {
|
|
98
|
-
display: flex;
|
|
99
|
-
align-items: center;
|
|
100
|
-
margin: 0;
|
|
101
|
-
font-size: inherit;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.ant-select-selection-overflow-item-rest {
|
|
106
|
-
flex: none;
|
|
107
|
-
|
|
108
|
-
.ant-select-selection-item {
|
|
109
|
-
border: none;
|
|
110
|
-
background: none;
|
|
111
|
-
margin-bottom: 0;
|
|
112
|
-
margin-left: 0;
|
|
113
|
-
|
|
114
|
-
.ant-select-selection-item-content {
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
height: 16px;
|
|
118
|
-
padding: 0 var(--alias-spacing-50);
|
|
119
|
-
border-radius: var(--alias-radius-100);
|
|
120
|
-
font-size: 12px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&.ant-select-selection-overflow-item-suffix {
|
|
126
|
-
flex: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ald-select-multiple-tag-default {
|
|
130
|
-
color: inherit;
|
|
131
|
-
min-width: 0;
|
|
132
|
-
white-space: nowrap;
|
|
133
|
-
text-overflow: ellipsis;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
// position: relative;;
|
|
136
|
-
|
|
137
|
-
&::before {
|
|
138
|
-
content: ',';
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:first-of-type {
|
|
143
|
-
.ald-select-multiple-tag-default::before {
|
|
144
|
-
content: '';
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.ant-select-selection-search-input {
|
|
149
|
-
height: inherit;
|
|
150
|
-
line-height: inherit;
|
|
151
|
-
caret-color: var(--alias-colors-text-selected);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.ant-select-selection-placeholder {
|
|
157
|
-
padding-right: 17px;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.ant-select-open {
|
|
162
|
-
.ant-select-selector {
|
|
163
|
-
.ant-select-selection-item {
|
|
164
|
-
color: inherit;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.ald-select-clear-icon,
|
|
172
|
-
.ald-select-suffix-icon {
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
color: var(--alias-colors-icon-subtle);
|
|
175
|
-
font-size: 16px;
|
|
176
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
background-color: transparent;
|
|
31
|
-
|
|
32
|
-
&::before {
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
bottom: 0;
|
|
36
|
-
margin: auto 0;
|
|
37
|
-
content: '';
|
|
38
|
-
height: 14px;
|
|
39
|
-
width: 1px;
|
|
40
|
-
background-color: var(--alias-colors-border-default);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@select-option-height: 36px;
|
|
2
|
-
|
|
3
|
-
.ald-option {
|
|
4
|
-
padding: var(--alias-padding-100) var(--alias-padding-150);
|
|
5
|
-
display: flex;
|
|
6
|
-
height: @select-option-height;
|
|
7
|
-
align-items: center;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
color: var(--alias-colors-text-default);
|
|
10
|
-
gap: var(--alias-spacing-50);
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
font-style: normal;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
line-height: 20px;
|
|
15
|
-
|
|
16
|
-
&:hover {
|
|
17
|
-
background-color: var(--alias-colors-bg-interaction-hover);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.ald-option-disabled {
|
|
21
|
-
background-color: var(--alias-colors-bg-skeleton-subtler);
|
|
22
|
-
color: var(--alias-colors-text-disabled);
|
|
23
|
-
|
|
24
|
-
&:hover {
|
|
25
|
-
cursor: default;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.ald-option-selected {
|
|
30
|
-
color: var(--alias-colors-text-selected);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ald-option-label {
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
flex: 1;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
text-overflow: ellipsis;
|
|
39
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// select 下拉框
|
|
2
|
-
.ant-select-dropdown.ant-select-dropdown {
|
|
3
|
-
padding-left: 0;
|
|
4
|
-
padding-right: 0;
|
|
5
|
-
border-radius: var(--alias-radius-75);
|
|
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);
|
|
12
|
-
background: var(--alias-colors-bg-skeleton-subtler);
|
|
13
|
-
box-shadow: var(--elevation-bottom-bottom-lg);
|
|
14
|
-
padding: 4px 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
.compact(@border-radius) {
|
|
2
|
-
&.ant-select-compact-item {
|
|
3
|
-
border-radius: 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
&.ant-select-compact-first-item {
|
|
7
|
-
border-top-left-radius: @border-radius;
|
|
8
|
-
border-bottom-left-radius: @border-radius;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&.ant-select-compact-last-item {
|
|
12
|
-
border-top-right-radius: @border-radius;
|
|
13
|
-
border-bottom-right-radius: @border-radius;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ald-select.ald-select {
|
|
18
|
-
&.ald-select-small {
|
|
19
|
-
height: @select-height-small;
|
|
20
|
-
font-size: @select-font-size-small;
|
|
21
|
-
border-radius: @select-border-radius-small;
|
|
22
|
-
.compact(@select-border-radius-small);
|
|
23
|
-
|
|
24
|
-
.ald-select-prefix {
|
|
25
|
-
margin-left: @select-padding-horizontal-small;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ant-select {
|
|
29
|
-
.ant-select-selector {
|
|
30
|
-
height: @selector-height-small;
|
|
31
|
-
line-height: @selector-height-small;
|
|
32
|
-
padding-left: calc(
|
|
33
|
-
@select-padding-horizontal-small + var(--ald-select-prefix-width)
|
|
34
|
-
);
|
|
35
|
-
padding-right: @select-padding-horizontal-small;
|
|
36
|
-
|
|
37
|
-
.ant-select-selection-item {
|
|
38
|
-
line-height: inherit;
|
|
39
|
-
font-size: @select-font-size-small;
|
|
40
|
-
height: 100%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ald-select-multiple-tag-default {
|
|
44
|
-
line-height: inherit;
|
|
45
|
-
font-size: @select-font-size-small;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ant-select-selection-search .ant-select-selection-search-input {
|
|
49
|
-
height: @selector-height-small;
|
|
50
|
-
line-height: inherit;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ant-select-selection-placeholder {
|
|
54
|
-
font-size: @select-font-size-small;
|
|
55
|
-
line-height: inherit;
|
|
56
|
-
left: calc(
|
|
57
|
-
@select-padding-horizontal-small + var(--ald-select-prefix-width)
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
63
|
-
.ant-select-selector {
|
|
64
|
-
padding-right: calc(
|
|
65
|
-
@select-padding-horizontal-small + @select-icon-use-width-small
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ant-select-arrow {
|
|
71
|
-
right: @select-padding-horizontal-small;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ant-select-clear {
|
|
75
|
-
right: @select-padding-horizontal-small;
|
|
76
|
-
|
|
77
|
-
&::before {
|
|
78
|
-
left: -@selector-gap-small;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.ald-select-prefix-select {
|
|
84
|
-
// 单选值容器
|
|
85
|
-
.ant-select-selection-item {
|
|
86
|
-
margin-left: @selector-gap-small;
|
|
87
|
-
}
|
|
88
|
-
// 多选值容器
|
|
89
|
-
.ant-select-selection-overflow {
|
|
90
|
-
margin-left: @selector-gap-small;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ant-select-selection-placeholder {
|
|
94
|
-
margin-left: @selector-gap-small;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.ald-select-has-value {
|
|
99
|
-
.ant-select {
|
|
100
|
-
&.ant-select-allow-clear:not(.ant-select-show-arrow),
|
|
101
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
102
|
-
.ant-select-selector {
|
|
103
|
-
padding-right: calc(
|
|
104
|
-
@select-padding-horizontal-small + @select-icon-use-width-small
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ant-select-arrow {
|
|
109
|
-
right: @select-padding-horizontal-small;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.ant-select-clear {
|
|
113
|
-
right: @select-padding-horizontal-small;
|
|
114
|
-
|
|
115
|
-
&::before {
|
|
116
|
-
left: -@selector-gap-small;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&.ant-select-show-arrow.ant-select-allow-clear {
|
|
122
|
-
.ant-select-selector {
|
|
123
|
-
padding-right: calc(
|
|
124
|
-
@select-padding-horizontal-small + @selector-gap-small +
|
|
125
|
-
@select-icon-use-width-small + @select-icon-use-width-small
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ant-select-arrow {
|
|
130
|
-
right: calc(
|
|
131
|
-
@select-padding-horizontal-small + @select-icon-use-width-small +
|
|
132
|
-
@selector-gap-small
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.ant-select-clear {
|
|
137
|
-
right: @select-padding-horizontal-small;
|
|
138
|
-
|
|
139
|
-
&::before {
|
|
140
|
-
left: -@selector-gap-small;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&.ald-select-middle {
|
|
149
|
-
height: @select-height-middle;
|
|
150
|
-
font-size: @select-font-size-middle;
|
|
151
|
-
border-radius: @select-border-radius-middle;
|
|
152
|
-
.compact(@select-border-radius-middle);
|
|
153
|
-
|
|
154
|
-
.ald-select-prefix {
|
|
155
|
-
margin-left: @select-padding-horizontal-middle;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.ant-select {
|
|
159
|
-
.ant-select-selector {
|
|
160
|
-
height: @selector-height-middle;
|
|
161
|
-
line-height: @selector-height-middle;
|
|
162
|
-
padding-left: calc(
|
|
163
|
-
@select-padding-horizontal-middle + var(--ald-select-prefix-width)
|
|
164
|
-
);
|
|
165
|
-
padding-right: @select-padding-horizontal-middle;
|
|
166
|
-
|
|
167
|
-
.ant-select-selection-item {
|
|
168
|
-
font-size: @select-font-size-middle;
|
|
169
|
-
line-height: inherit;
|
|
170
|
-
height: 100%;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.ald-select-multiple-tag-default {
|
|
174
|
-
font-size: @select-font-size-middle;
|
|
175
|
-
line-height: inherit;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.ant-select-selection-search .ant-select-selection-search-input {
|
|
179
|
-
height: @selector-height-middle;
|
|
180
|
-
line-height: inherit;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.ant-select-selection-placeholder {
|
|
184
|
-
font-size: @select-font-size-middle;
|
|
185
|
-
line-height: inherit;
|
|
186
|
-
left: calc(
|
|
187
|
-
@select-padding-horizontal-middle + var(--ald-select-prefix-width)
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
193
|
-
.ant-select-selector {
|
|
194
|
-
padding-right: calc(
|
|
195
|
-
@select-padding-horizontal-middle + @select-icon-use-width-middle
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.ant-select-arrow {
|
|
201
|
-
right: @select-padding-horizontal-middle;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.ant-select-clear {
|
|
205
|
-
right: @select-padding-horizontal-middle;
|
|
206
|
-
|
|
207
|
-
&::before {
|
|
208
|
-
left: -@selector-gap-middle;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.ald-select-prefix-select {
|
|
214
|
-
// 单选值容器
|
|
215
|
-
.ant-select-selection-item {
|
|
216
|
-
margin-left: @selector-gap-middle;
|
|
217
|
-
}
|
|
218
|
-
// 多选值容器
|
|
219
|
-
.ant-select-selection-overflow {
|
|
220
|
-
margin-left: @selector-gap-middle;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.ant-select-selection-placeholder {
|
|
224
|
-
margin-left: @selector-gap-middle;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&.ald-select-has-value {
|
|
229
|
-
.ant-select {
|
|
230
|
-
&.ant-select-allow-clear:not(.ant-select-show-arrow),
|
|
231
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
232
|
-
.ant-select-selector {
|
|
233
|
-
padding-right: calc(
|
|
234
|
-
@select-padding-horizontal-middle + @select-icon-use-width-middle
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.ant-select-arrow {
|
|
239
|
-
right: @select-padding-horizontal-middle;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.ant-select-clear {
|
|
243
|
-
right: @select-padding-horizontal-middle;
|
|
244
|
-
|
|
245
|
-
&::before {
|
|
246
|
-
left: -@selector-gap-middle;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
&.ant-select-show-arrow.ant-select-allow-clear {
|
|
252
|
-
.ant-select-selector {
|
|
253
|
-
padding-right: calc(
|
|
254
|
-
@select-padding-horizontal-middle + @selector-gap-middle +
|
|
255
|
-
@select-icon-use-width-middle + @select-icon-use-width-middle
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.ant-select-arrow {
|
|
260
|
-
right: calc(
|
|
261
|
-
@select-padding-horizontal-middle + @select-icon-use-width-middle +
|
|
262
|
-
@selector-gap-middle
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.ant-select-clear {
|
|
267
|
-
right: @select-padding-horizontal-middle;
|
|
268
|
-
|
|
269
|
-
&::before {
|
|
270
|
-
left: -@selector-gap-middle;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
&.ald-select-large {
|
|
279
|
-
height: @select-height-large;
|
|
280
|
-
font-size: @select-font-size-large;
|
|
281
|
-
border-radius: @select-border-radius-large;
|
|
282
|
-
.compact(@select-border-radius-large);
|
|
283
|
-
|
|
284
|
-
.ald-select-prefix {
|
|
285
|
-
margin-left: @select-padding-horizontal-large;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.ant-select {
|
|
289
|
-
.ant-select-selector {
|
|
290
|
-
height: @selector-height-large;
|
|
291
|
-
line-height: @selector-height-large;
|
|
292
|
-
padding-left: calc(
|
|
293
|
-
@select-padding-horizontal-large + var(--ald-select-prefix-width)
|
|
294
|
-
);
|
|
295
|
-
padding-right: @select-padding-horizontal-large;
|
|
296
|
-
|
|
297
|
-
.ant-select-selection-item {
|
|
298
|
-
font-size: @select-font-size-large;
|
|
299
|
-
line-height: inherit;
|
|
300
|
-
height: 100%;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.ald-select-multiple-tag-default {
|
|
304
|
-
font-size: @select-font-size-large;
|
|
305
|
-
line-height: inherit;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.ant-select-selection-search .ant-select-selection-search-input {
|
|
309
|
-
height: @selector-height-large;
|
|
310
|
-
line-height: inherit;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.ant-select-selection-placeholder {
|
|
314
|
-
font-size: @select-font-size-large;
|
|
315
|
-
line-height: inherit;
|
|
316
|
-
left: calc(
|
|
317
|
-
@select-padding-horizontal-large + var(--ald-select-prefix-width)
|
|
318
|
-
);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
322
|
-
.ant-select-selector {
|
|
323
|
-
padding-right: calc(
|
|
324
|
-
@select-padding-horizontal-large + @select-icon-use-width-large
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.ant-select-arrow {
|
|
330
|
-
right: @select-padding-horizontal-large;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.ant-select-clear {
|
|
334
|
-
right: @select-padding-horizontal-large;
|
|
335
|
-
|
|
336
|
-
&::before {
|
|
337
|
-
left: -@selector-gap-large;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.ald-select-prefix-select {
|
|
344
|
-
// 单选值容器
|
|
345
|
-
.ant-select-selection-item {
|
|
346
|
-
margin-left: @selector-gap-large;
|
|
347
|
-
}
|
|
348
|
-
// 多选值容器
|
|
349
|
-
.ant-select-selection-overflow {
|
|
350
|
-
margin-left: @selector-gap-large;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.ant-select-selection-placeholder {
|
|
354
|
-
margin-left: @selector-gap-large;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
&.ald-select-has-value {
|
|
359
|
-
.ant-select {
|
|
360
|
-
&.ant-select-allow-clear:not(.ant-select-show-arrow),
|
|
361
|
-
&.ant-select-show-arrow:not(.ant-select-allow-clear) {
|
|
362
|
-
.ant-select-selector {
|
|
363
|
-
padding-right: calc(
|
|
364
|
-
@select-padding-horizontal-large + @select-icon-use-width-large
|
|
365
|
-
);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.ant-select-arrow {
|
|
369
|
-
right: @select-padding-horizontal-large;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.ant-select-clear {
|
|
373
|
-
right: @select-padding-horizontal-large;
|
|
374
|
-
|
|
375
|
-
&::before {
|
|
376
|
-
left: -@selector-gap-large;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
&.ant-select-show-arrow.ant-select-allow-clear {
|
|
382
|
-
.ant-select-selector {
|
|
383
|
-
padding-right: calc(
|
|
384
|
-
@select-padding-horizontal-large + @selector-gap-large +
|
|
385
|
-
@select-icon-use-width-large + @select-icon-use-width-large
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.ant-select-arrow {
|
|
390
|
-
right: calc(
|
|
391
|
-
@select-padding-horizontal-large + @select-icon-use-width-large +
|
|
392
|
-
@selector-gap-large
|
|
393
|
-
);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.ant-select-clear {
|
|
397
|
-
right: @select-padding-horizontal-large;
|
|
398
|
-
|
|
399
|
-
&::before {
|
|
400
|
-
left: -@selector-gap-large;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.ant-select-selector {
|
|
409
|
-
border: none !important;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.ant-select-clear {
|
|
413
|
-
width: 16px;
|
|
414
|
-
height: 16px;
|
|
415
|
-
transform: translateY(-50%);
|
|
416
|
-
margin-top: 0;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
&.ald-select-primary {
|
|
420
|
-
font-weight: 500;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
&.ald-select-secondary {
|
|
424
|
-
font-weight: 400;
|
|
425
|
-
}
|
|
426
|
-
}
|