@aloudata/aloudata-design 1.10.14 → 2.0.0-beta.2
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/Button/index.d.ts +3 -4
- package/dist/Button/index.js +7 -20
- package/dist/Button/style/size.less +21 -8
- package/dist/Button/style/type.less +61 -33
- package/dist/Button/style/variables.less +229 -44
- package/dist/Checkbox/style/index.less +111 -114
- package/dist/Dropdown/index.d.ts +1 -2
- package/dist/Dropdown/style/index.less +70 -107
- package/dist/Icon/components/AlertTriangleDuotone.d.ts +1 -1
- package/dist/Icon/components/AlertTriangleLine.d.ts +11 -0
- package/dist/Icon/components/AlertTriangleLine.js +35 -0
- package/dist/Icon/components/ArrowDownFill.d.ts +11 -0
- package/dist/Icon/components/ArrowDownFill.js +35 -0
- package/dist/Icon/components/AttentionCircleFill.d.ts +11 -0
- package/dist/Icon/components/AttentionCircleFill.js +35 -0
- package/dist/Icon/components/AttentionTriangleFill.d.ts +11 -0
- package/dist/Icon/components/AttentionTriangleFill.js +35 -0
- package/dist/Icon/components/AttentionTriangleLightLine.d.ts +11 -0
- package/dist/Icon/components/AttentionTriangleLightLine.js +35 -0
- package/dist/Icon/components/CancelCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/CheckCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/CheckCircleFill.d.ts +11 -0
- package/dist/Icon/components/CheckCircleFill.js +35 -0
- package/dist/Icon/components/CheckCircleLightLine.d.ts +11 -0
- package/dist/Icon/components/CheckCircleLightLine.js +38 -0
- package/dist/Icon/components/CheckLightLine.d.ts +11 -0
- package/dist/Icon/components/CheckLightLine.js +35 -0
- package/dist/Icon/components/ChevronDownLine.d.ts +1 -1
- package/dist/Icon/components/ChevronLeftLine.d.ts +1 -1
- package/dist/Icon/components/ChevronRightLine.d.ts +1 -1
- package/dist/Icon/components/CircleLightLine.d.ts +11 -0
- package/dist/Icon/components/CircleLightLine.js +38 -0
- package/dist/Icon/components/CloseCircleFill.d.ts +11 -0
- package/dist/Icon/components/CloseCircleFill.js +35 -0
- package/dist/Icon/components/CloseLLine.d.ts +1 -1
- package/dist/Icon/components/CloseLightLine.d.ts +11 -0
- package/dist/Icon/components/CloseLightLine.js +35 -0
- package/dist/Icon/components/CloseMLine.d.ts +1 -1
- package/dist/Icon/components/DragLine.d.ts +1 -1
- package/dist/Icon/components/Ellipsis.d.ts +11 -0
- package/dist/Icon/components/Ellipsis.js +35 -0
- package/dist/Icon/components/EyeOffLine.d.ts +1 -1
- package/dist/Icon/components/EyeOnLine.d.ts +1 -1
- package/dist/Icon/components/FoldDownFill.d.ts +1 -1
- package/dist/Icon/components/FoldUpFill.d.ts +1 -1
- package/dist/Icon/components/InfoCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/InfoCircleLine.d.ts +1 -1
- package/dist/Icon/components/InformationCircleFill.d.ts +11 -0
- package/dist/Icon/components/InformationCircleFill.js +35 -0
- package/dist/Icon/components/InformationCircleLightLine.d.ts +11 -0
- package/dist/Icon/components/InformationCircleLightLine.js +38 -0
- package/dist/Icon/components/Loading2Line.d.ts +1 -1
- package/dist/Icon/components/LoadingDuotone.d.ts +11 -0
- package/dist/Icon/components/LoadingDuotone.js +39 -0
- package/dist/Icon/components/LoadingLine.d.ts +1 -1
- package/dist/Icon/components/MoreVerticalLine.d.ts +1 -1
- package/dist/Icon/components/SearchLine.d.ts +1 -1
- package/dist/Icon/components/TriangleLightLine.d.ts +11 -0
- package/dist/Icon/components/TriangleLightLine.js +35 -0
- package/dist/Icon/index.d.ts +16 -3
- package/dist/Icon/index.js +16 -2
- package/dist/Icon/svg/Loading-duotone.svg +6 -0
- package/dist/Icon/svg/alert-triangle-duotone.svg +3 -1
- package/dist/Icon/svg/alert-triangle-line.svg +5 -0
- package/dist/Icon/svg/arrow-down-fill.svg +5 -0
- package/dist/Icon/svg/attention-circle-fill.svg +5 -0
- package/dist/Icon/svg/attention-triangle-fill.svg +5 -0
- package/dist/Icon/svg/attention-triangle-light-line.svg +5 -0
- package/dist/Icon/svg/cancel-circle-duotone.svg +7 -3
- package/dist/Icon/svg/check-circle-duotone.svg +6 -2
- package/dist/Icon/svg/check-circle-fill.svg +5 -0
- package/dist/Icon/svg/check-circle-light-line.svg +8 -0
- package/dist/Icon/svg/check-light-line.svg +5 -0
- package/dist/Icon/svg/chevron-down-line.svg +6 -4
- package/dist/Icon/svg/chevron-left-line.svg +6 -4
- package/dist/Icon/svg/chevron-right-line.svg +6 -4
- package/dist/Icon/svg/circle-light-line.svg +9 -0
- package/dist/Icon/svg/close-L-line.svg +11 -9
- package/dist/Icon/svg/close-circle-fill.svg +5 -0
- package/dist/Icon/svg/close-light-line.svg +5 -0
- package/dist/Icon/svg/close-m-line.svg +6 -4
- package/dist/Icon/svg/drag-line.svg +6 -4
- package/dist/Icon/svg/ellipsis.svg +5 -0
- package/dist/Icon/svg/eye-off-line.svg +6 -4
- package/dist/Icon/svg/eye-on-line.svg +14 -8
- package/dist/Icon/svg/fold-down-fill.svg +7 -6
- package/dist/Icon/svg/fold-up-fill.svg +7 -6
- package/dist/Icon/svg/info-circle-duotone.svg +4 -2
- package/dist/Icon/svg/info-circle-line.svg +3 -1
- package/dist/Icon/svg/information-circle-fill.svg +5 -0
- package/dist/Icon/svg/information-circle-light-line.svg +9 -0
- package/dist/Icon/svg/loading-2-line.svg +4 -2
- package/dist/Icon/svg/loading-line.svg +6 -4
- package/dist/Icon/svg/more-vertical-line.svg +6 -4
- package/dist/Icon/svg/search-line.svg +6 -4
- package/dist/Icon/svg/triangle-light-line.svg +5 -0
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/IconButton/index.js +8 -19
- package/dist/IconButton/style/index.less +49 -25
- package/dist/Input/components/Input/index.js +18 -2
- package/dist/Input/components/Password/index.d.ts +0 -5
- package/dist/Input/components/Password/index.js +10 -10
- package/dist/Input/components/TextArea/index.js +15 -2
- package/dist/Input/index.d.ts +2 -5
- package/dist/Input/index.js +1 -3
- package/dist/Input/style/index.less +4 -565
- package/dist/Input/style/reset.less +22 -0
- package/dist/Input/style/size.less +82 -0
- package/dist/Input/style/status.less +105 -0
- package/dist/MemberPicker/style/index.less +2 -2
- package/dist/Menu/index.js +6 -9
- package/dist/Menu/style/index.less +72 -133
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Modal/index.js +32 -43
- package/dist/Modal/style/index.less +3 -191
- package/dist/Modal/style/modal.less +132 -0
- package/dist/Modal/style/modalConfirm.less +100 -0
- package/dist/Pagination/index.js +4 -2
- package/dist/Pagination/style/index.less +11 -4
- package/dist/Popconfirm/index.js +8 -7
- package/dist/Popconfirm/style/index.less +16 -6
- package/dist/Popover/style/index.less +29 -29
- package/dist/Radio/components/Group/index.js +3 -5
- package/dist/Radio/components/Radio/index.js +2 -1
- package/dist/Radio/interface/radioGroup.d.ts +1 -1
- package/dist/Radio/style/index.less +69 -56
- package/dist/Select/components/{MultipleOption.d.ts → Option.d.ts} +2 -2
- package/dist/Select/components/{MultipleOption.js → Option.js} +14 -11
- package/dist/Select/components/SingleOption.d.ts +2 -2
- package/dist/Select/components/SingleOption.js +3 -1
- package/dist/Select/index.d.ts +5 -0
- package/dist/Select/index.js +26 -40
- package/dist/Select/style/index.less +96 -76
- package/dist/Select/style/layout.less +41 -0
- package/dist/Select/style/option.less +42 -3
- package/dist/Select/style/selectDropdown.less +17 -0
- package/dist/Select/style/size.less +95 -82
- package/dist/Select/style/status.less +69 -21
- package/dist/Select/style/variables.less +8 -15
- package/dist/Skeleton/style/index.less +84 -4
- package/dist/Spin/CustomIcon/index.d.ts +3 -0
- package/dist/Spin/CustomIcon/index.js +20 -15
- package/dist/Spin/CustomIcon/index.less +32 -105
- package/dist/Spin/index.d.ts +2 -0
- package/dist/Spin/index.js +8 -2
- package/dist/Spin/style/index.less +9 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/style/index.less +130 -56
- package/dist/Table/style/index.less +16 -8
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Tabs/index.js +4 -4
- package/dist/Tabs/style/index.less +20 -16
- package/dist/TextLink/index.d.ts +44 -0
- package/dist/TextLink/index.js +25 -0
- package/dist/TextLink/style/index.d.ts +2 -0
- package/dist/TextLink/style/index.js +2 -0
- package/dist/TextLink/style/index.less +9 -0
- package/dist/TextLink/style/size.less +37 -0
- package/dist/TextLink/style/type.less +44 -0
- package/dist/Tree/style/var.less +1 -1
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.less +1 -0
- package/dist/message/index.js +15 -14
- package/dist/message/style/color.less +22 -41
- package/dist/message/style/index.less +15 -16
- package/dist/notification/demo/index.js +1 -0
- package/dist/notification/index.js +18 -18
- package/dist/notification/style/index.less +12 -6
- package/dist/style/index.less +1 -0
- package/dist/style/themes/default/default.less +1 -1
- package/dist/style/themes/default/index.less +3 -3
- package/dist/style/themes/default/scrollBar.less +1 -1
- package/dist/style/var/default.css +1334 -0
- package/package.json +4 -3
- package/dist/Icon/components/Icon.d.ts +0 -32
- package/dist/Icon/components/Icon.js +0 -25
- package/dist/Input/components/Group/index.d.ts +0 -18
- package/dist/Input/components/Group/index.js +0 -19
- package/dist/Menu/style/dropdown.less +0 -61
- package/dist/Select/style/multiple.less +0 -55
- 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
|
-
.
|
|
11
|
-
|
|
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:
|
|
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:
|
|
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,124 @@
|
|
|
50
31
|
}
|
|
51
32
|
|
|
52
33
|
&.ald-select-prefix-multiple {
|
|
53
|
-
cursor:
|
|
34
|
+
cursor: default;
|
|
54
35
|
}
|
|
55
36
|
}
|
|
56
37
|
|
|
57
38
|
.ant-select {
|
|
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;
|
|
44
|
+
}
|
|
45
|
+
|
|
58
46
|
.ant-select-selector {
|
|
59
|
-
color: @NL0;
|
|
60
47
|
align-items: center;
|
|
61
|
-
|
|
48
|
+
transition: none;
|
|
49
|
+
padding-right: 0;
|
|
62
50
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
border: none;
|
|
51
|
+
.ant-select-selection-search {
|
|
52
|
+
display: flex;
|
|
66
53
|
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.ant-select-selection-overflow {
|
|
70
|
-
align-self: normal;
|
|
71
54
|
|
|
72
|
-
.ant-select-selection-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
55
|
+
.ant-select-selection-item {
|
|
56
|
+
padding-right: 0;
|
|
57
|
+
font-weight: inherit;
|
|
58
|
+
}
|
|
59
|
+
// 多选中存在这个样式
|
|
60
|
+
.ant-select-selection-overflow {
|
|
61
|
+
align-self: normal;
|
|
77
62
|
|
|
78
|
-
.ant-select-selection-item {
|
|
79
|
-
|
|
80
|
-
|
|
63
|
+
.ant-select-selection-overflow-item {
|
|
64
|
+
align-items: center;
|
|
65
|
+
line-height: inherit;
|
|
66
|
+
height: 100%;
|
|
81
67
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// align-items: center;
|
|
85
|
-
margin: 0;
|
|
68
|
+
& > span {
|
|
69
|
+
display: inline-flex;
|
|
86
70
|
}
|
|
87
71
|
|
|
88
|
-
.ant-select-selection-item
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
.ant-select-selection-item {
|
|
73
|
+
height: auto;
|
|
74
|
+
margin-top: 0;
|
|
75
|
+
cursor: inherit;
|
|
76
|
+
|
|
77
|
+
.ant-select-selection-item-content {
|
|
78
|
+
// display: flex;
|
|
79
|
+
// align-items: center;
|
|
80
|
+
margin: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ant-select-selection-item-remove {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
margin: 0;
|
|
87
|
+
font-size: inherit;
|
|
88
|
+
}
|
|
93
89
|
}
|
|
94
|
-
}
|
|
95
90
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
91
|
+
&.ant-select-selection-overflow-item-rest {
|
|
92
|
+
.ant-select-selection-item {
|
|
93
|
+
border: none;
|
|
94
|
+
background: none;
|
|
95
|
+
margin-bottom: 0;
|
|
96
|
+
margin-left: 0;
|
|
97
|
+
|
|
98
|
+
.ant-select-selection-item-content {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
height: 16px;
|
|
102
|
+
padding: 0 var(--alias-spacing-50, 4px);
|
|
103
|
+
border-radius: var(--alias-radius-100, 8px);
|
|
104
|
+
background: var(
|
|
105
|
+
--alias-colors-bg-accent-blue-subtle-default,
|
|
106
|
+
#d4e7fd
|
|
107
|
+
);
|
|
108
|
+
color: var(--alias-colors-text-information, #0f59b1);
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
101
112
|
}
|
|
102
|
-
}
|
|
103
113
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
.ald-select-multiple-tag-default {
|
|
115
|
+
color: inherit;
|
|
116
|
+
display: inline-flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
}
|
|
108
119
|
|
|
109
|
-
|
|
110
|
-
|
|
120
|
+
.ant-select-selection-search-input {
|
|
121
|
+
height: inherit;
|
|
122
|
+
line-height: inherit;
|
|
123
|
+
caret-color: var(--alias-colors-text-selected, #126fdd);
|
|
111
124
|
}
|
|
112
125
|
}
|
|
113
126
|
|
|
114
|
-
.ant-select-selection-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
127
|
+
.ant-select-selection-overflow-item:first-of-type {
|
|
128
|
+
.ald-select-multiple-tag-default::before {
|
|
129
|
+
content: '';
|
|
130
|
+
}
|
|
118
131
|
}
|
|
119
132
|
}
|
|
120
133
|
|
|
121
|
-
.ant-select-selection-
|
|
122
|
-
|
|
123
|
-
padding-inline-start: 0;
|
|
124
|
-
}
|
|
134
|
+
.ant-select-selection-placeholder {
|
|
135
|
+
padding-right: 17px;
|
|
125
136
|
}
|
|
137
|
+
}
|
|
126
138
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
139
|
+
&.ant-select-open {
|
|
140
|
+
.ant-select-selector {
|
|
141
|
+
.ant-select-selection-item {
|
|
142
|
+
color: inherit;
|
|
130
143
|
}
|
|
131
144
|
}
|
|
132
145
|
}
|
|
133
146
|
}
|
|
134
147
|
}
|
|
148
|
+
|
|
149
|
+
.ald-select-clear-icon,
|
|
150
|
+
.ald-select-suffix-icon {
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
color: var(--alias-colors-icon-subtle, #6b7280);
|
|
153
|
+
font-size: 16px;
|
|
154
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
position: initial;
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ant-select-clear {
|
|
20
|
+
transform: none;
|
|
21
|
+
opacity: 1;
|
|
22
|
+
align-items: center;
|
|
23
|
+
flex: none;
|
|
24
|
+
position: relative;
|
|
25
|
+
margin-left: 8px;
|
|
26
|
+
right: 0;
|
|
27
|
+
|
|
28
|
+
&::before {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 0;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
margin: auto 0;
|
|
33
|
+
left: -8px;
|
|
34
|
+
content: '';
|
|
35
|
+
height: 14px;
|
|
36
|
+
width: 1px;
|
|
37
|
+
background-color: var(--alias-colors-border-default, #e5e7eb);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,3 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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,17 @@
|
|
|
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 4px 6px -2px rgba(0, 0, 0, 0.05),
|
|
14
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
15
|
+
padding: 4px 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -18,43 +18,46 @@
|
|
|
18
18
|
&.ald-select-small {
|
|
19
19
|
height: @select-height-small;
|
|
20
20
|
font-size: @select-font-size-small;
|
|
21
|
-
// line-height: @select-line-height-small;
|
|
22
21
|
border-radius: @select-border-radius-small;
|
|
23
22
|
.compact(@select-border-radius-small);
|
|
24
23
|
|
|
25
24
|
.ald-select-prefix {
|
|
26
|
-
margin-left: @select-padding-
|
|
25
|
+
margin-left: @select-padding-horizontal-small;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
.ant-select
|
|
30
|
-
|
|
31
|
-
padding-left: calc(
|
|
32
|
-
@select-padding-left-small + var(--ald-select-prefix-width)
|
|
33
|
-
);
|
|
28
|
+
.ant-select {
|
|
29
|
+
padding-right: @select-padding-horizontal-small;
|
|
34
30
|
|
|
35
|
-
.ant-select-
|
|
31
|
+
.ant-select-selector {
|
|
32
|
+
height: @selector-height-small;
|
|
36
33
|
line-height: @selector-height-small;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
padding-left: calc(
|
|
35
|
+
@select-padding-horizontal-small + var(--ald-select-prefix-width)
|
|
36
|
+
);
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
.ant-select-selection-item {
|
|
39
|
+
line-height: inherit;
|
|
40
|
+
font-size: @select-font-size-small;
|
|
41
|
+
height: 100%;
|
|
42
|
+
}
|
|
45
43
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
.ald-select-multiple-tag-default {
|
|
45
|
+
line-height: inherit;
|
|
46
|
+
font-size: @select-font-size-small;
|
|
47
|
+
}
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
49
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
50
|
+
height: @selector-height-small;
|
|
51
|
+
line-height: inherit;
|
|
52
|
+
}
|
|
55
53
|
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
.ant-select-selection-placeholder {
|
|
55
|
+
font-size: @select-font-size-small;
|
|
56
|
+
line-height: inherit;
|
|
57
|
+
left: calc(
|
|
58
|
+
@select-padding-horizontal-small + var(--ald-select-prefix-width)
|
|
59
|
+
);
|
|
60
|
+
}
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
|
|
@@ -72,45 +75,46 @@
|
|
|
72
75
|
&.ald-select-middle {
|
|
73
76
|
height: @select-height-middle;
|
|
74
77
|
font-size: @select-font-size-middle;
|
|
75
|
-
// line-height: @select-line-height-middle;
|
|
76
78
|
border-radius: @select-border-radius-middle;
|
|
77
79
|
.compact(@select-border-radius-middle);
|
|
78
80
|
|
|
79
81
|
.ald-select-prefix {
|
|
80
|
-
margin-left: @select-padding-
|
|
82
|
+
margin-left: @select-padding-horizontal-middle;
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
.ant-select
|
|
84
|
-
|
|
85
|
-
padding-left: calc(
|
|
86
|
-
@select-padding-left-middle + var(--ald-select-prefix-width)
|
|
87
|
-
);
|
|
85
|
+
.ant-select {
|
|
86
|
+
padding-right: @select-padding-horizontal-middle;
|
|
88
87
|
|
|
89
|
-
.ant-select-
|
|
88
|
+
.ant-select-selector {
|
|
89
|
+
height: @selector-height-middle;
|
|
90
90
|
line-height: @selector-height-middle;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
padding-left: calc(
|
|
92
|
+
@select-padding-horizontal-middle + var(--ald-select-prefix-width)
|
|
93
|
+
);
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
.ant-select-selection-item {
|
|
96
|
+
font-size: @select-font-size-middle;
|
|
97
|
+
line-height: inherit;
|
|
98
|
+
height: 100%;
|
|
99
|
+
}
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
.ald-select-multiple-tag-default {
|
|
102
|
+
font-size: @select-font-size-middle;
|
|
103
|
+
line-height: inherit;
|
|
104
|
+
}
|
|
103
105
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
@select-padding-left-middle + var(--ald-select-prefix-width)
|
|
109
|
-
);
|
|
110
|
-
}
|
|
106
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
107
|
+
height: @selector-height-middle;
|
|
108
|
+
line-height: inherit;
|
|
109
|
+
}
|
|
111
110
|
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
.ant-select-selection-placeholder {
|
|
112
|
+
font-size: @select-font-size-middle;
|
|
113
|
+
line-height: inherit;
|
|
114
|
+
left: calc(
|
|
115
|
+
@select-padding-horizontal-middle + var(--ald-select-prefix-width)
|
|
116
|
+
);
|
|
117
|
+
}
|
|
114
118
|
}
|
|
115
119
|
}
|
|
116
120
|
|
|
@@ -128,53 +132,54 @@
|
|
|
128
132
|
&.ald-select-large {
|
|
129
133
|
height: @select-height-large;
|
|
130
134
|
font-size: @select-font-size-large;
|
|
131
|
-
// line-height: @select-line-height-large;
|
|
132
135
|
border-radius: @select-border-radius-large;
|
|
133
136
|
.compact(@select-border-radius-large);
|
|
134
137
|
|
|
135
138
|
.ald-select-prefix {
|
|
136
|
-
margin-left: @select-padding-
|
|
139
|
+
margin-left: @select-padding-horizontal-large;
|
|
137
140
|
}
|
|
138
141
|
|
|
139
|
-
.ant-select
|
|
140
|
-
|
|
141
|
-
padding-left: calc(
|
|
142
|
-
@select-padding-left-large + var(--ald-select-prefix-width)
|
|
143
|
-
);
|
|
144
|
-
|
|
145
|
-
.ant-select-selection-item {
|
|
146
|
-
line-height: @selector-height-large;
|
|
147
|
-
font-size: @select-font-size-large;
|
|
148
|
-
height: 100%;
|
|
149
|
-
}
|
|
142
|
+
.ant-select {
|
|
143
|
+
padding-right: @select-padding-horizontal-large;
|
|
150
144
|
|
|
151
|
-
.
|
|
152
|
-
|
|
145
|
+
.ant-select-selector {
|
|
146
|
+
height: @selector-height-large;
|
|
153
147
|
line-height: @selector-height-large;
|
|
154
|
-
|
|
148
|
+
padding-left: calc(
|
|
149
|
+
@select-padding-horizontal-large + var(--ald-select-prefix-width)
|
|
150
|
+
);
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
.ant-select-selection-item {
|
|
153
|
+
font-size: @select-font-size-large;
|
|
154
|
+
line-height: inherit;
|
|
155
|
+
height: 100%;
|
|
156
|
+
}
|
|
159
157
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
158
|
+
.ald-select-multiple-tag-default {
|
|
159
|
+
font-size: @select-font-size-large;
|
|
160
|
+
line-height: inherit;
|
|
161
|
+
}
|
|
165
162
|
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
164
|
+
height: @selector-height-large;
|
|
165
|
+
line-height: inherit;
|
|
166
|
+
}
|
|
168
167
|
|
|
169
|
-
.ant-select-selection-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
168
|
+
.ant-select-selection-placeholder {
|
|
169
|
+
font-size: @select-font-size-large;
|
|
170
|
+
line-height: inherit;
|
|
171
|
+
left: calc(
|
|
172
|
+
@select-padding-horizontal-large + var(--ald-select-prefix-width)
|
|
173
|
+
);
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
|
|
179
|
+
.ant-select-selector {
|
|
180
|
+
border: none !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
178
183
|
.ant-select-clear {
|
|
179
184
|
width: 16px;
|
|
180
185
|
height: 16px;
|
|
@@ -191,4 +196,12 @@
|
|
|
191
196
|
margin-left: @selector-item-margin-left-large;
|
|
192
197
|
}
|
|
193
198
|
}
|
|
199
|
+
|
|
200
|
+
&.ald-select-primary {
|
|
201
|
+
font-weight: 500;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&.ald-select-secondary {
|
|
205
|
+
font-weight: 400;
|
|
206
|
+
}
|
|
194
207
|
}
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
.select-color(@borderColor, @bgColor,@textColor) {
|
|
2
|
+
border-color: @borderColor;
|
|
3
|
+
background-color: @bgColor;
|
|
4
|
+
color: @textColor;
|
|
5
|
+
|
|
6
|
+
.ant-select-selection-placeholder {
|
|
7
|
+
color: var(--alias-colors-text-subtlest, #9ca3af);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ald-select.ald-select-primary {
|
|
12
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-subtle, #F9FAFB),var(--alias-colors-text-default, #1f2937));
|
|
13
|
+
|
|
14
|
+
&.ald-select-fitted {
|
|
15
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-subtle, #F9FAFB),var(--alias-colors-text-default, #1f2937));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-hover, #9ca3af),var(--alias-colors-bg-skeleton-subtler, #FFF),var(--alias-colors-text-default, #1f2937));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:active {
|
|
23
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-strong, #F3F4F6),var(--alias-colors-text-default, #1f2937));
|
|
24
|
+
}
|
|
25
|
+
|
|
16
26
|
&.ald-select-disabled {
|
|
17
|
-
border-
|
|
18
|
-
|
|
19
|
-
box-shadow: none;
|
|
27
|
+
.select-color(var(--alias-colors-border-disabled, rgba(0, 0, 0, 0.1)),var(--alias-colors-bg-transp, rgba(0, 0, 0, 0)),var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25)));
|
|
28
|
+
|
|
20
29
|
cursor: default;
|
|
21
30
|
|
|
22
31
|
.ant-select .ant-select-selector {
|
|
@@ -25,11 +34,50 @@
|
|
|
25
34
|
.ant-select-selection-search input {
|
|
26
35
|
cursor: default;
|
|
27
36
|
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.ald-select-status-error {
|
|
41
|
+
.select-color(var(--alias-colors-border-danger, #DC2626),var(--alias-colors-bg-skeleton-subtle, #F9FAFB),var(--alias-colors-text-default, #1f2937));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ald-select {
|
|
46
|
+
&.ald-select-secondary {
|
|
47
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-subtler, #FFF),var(--alias-colors-text-default, #1f2937));
|
|
48
|
+
|
|
49
|
+
&.ald-select-fitted {
|
|
50
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-subtler, #FFF),var(--alias-colors-text-default, #1f2937));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-hover, #9ca3af),var(--alias-colors-bg-skeleton-subtler, #FFF),var(--alias-colors-text-default, #1f2937));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:active {
|
|
58
|
+
.select-color(var(--alias-colors-border-accent-gray-subtle-default, #D1D5DB),var(--alias-colors-bg-skeleton-subtler, #FFF),var(--alias-colors-text-default, #1f2937));
|
|
59
|
+
}
|
|
28
60
|
|
|
29
|
-
|
|
30
|
-
.
|
|
31
|
-
|
|
61
|
+
&.ald-select-disabled {
|
|
62
|
+
.select-color(var(--alias-colors-border-disabled, rgba(0, 0, 0, 0.1)),var(--alias-colors-bg-transp, rgba(0, 0, 0, 0)),var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25)));
|
|
63
|
+
|
|
64
|
+
cursor: default;
|
|
65
|
+
|
|
66
|
+
.ant-select {
|
|
67
|
+
cursor: default;
|
|
68
|
+
|
|
69
|
+
.ant-select-selector {
|
|
70
|
+
cursor: default;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ant-select-selection-search input {
|
|
74
|
+
cursor: default;
|
|
75
|
+
}
|
|
32
76
|
}
|
|
33
77
|
}
|
|
34
78
|
}
|
|
79
|
+
|
|
80
|
+
&.ald-select-status-error {
|
|
81
|
+
.select-color(var(--alias-colors-border-danger, #DC2626),var(--alias-colors-bg-skeleton-subtle, #F9FAFB),var(--alias-colors-text-default, #1f2937));
|
|
82
|
+
}
|
|
35
83
|
}
|