dtable-ui-component 6.0.110-aik.6 → 6.0.110-aik.8
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/lib/DTableCustomizeSelect/index.css +2 -6
- package/lib/DTableGroupSelect/index.css +2 -1
- package/lib/DTableGroupSelect/index.js +1 -1
- package/lib/DTableGroupSelect/select-option-group.css +2 -6
- package/lib/SelectOptionGroup/index.css +17 -8
- package/lib/SelectOptionGroup/index.js +2 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.dtable-select.custom-select {
|
|
6
6
|
display: flex;
|
|
7
|
-
padding: 0
|
|
7
|
+
padding: 0 16px;
|
|
8
8
|
border-radius: 3px;
|
|
9
9
|
align-items: center;
|
|
10
10
|
justify-content: space-between;
|
|
@@ -39,14 +39,10 @@
|
|
|
39
39
|
.dtable-select .dtable-icon-down3 {
|
|
40
40
|
display: inline-block;
|
|
41
41
|
font-size: 12px;
|
|
42
|
-
color: #
|
|
42
|
+
color: #666666;
|
|
43
43
|
transition: all 0.1s;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.dtable-select .dtable-icon-down3:hover {
|
|
47
|
-
color: #555;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
46
|
.dtable-select .selected-option {
|
|
51
47
|
display: flex;
|
|
52
48
|
flex: 1;
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
font-size: 14px !important;
|
|
91
91
|
color: #212529;
|
|
92
92
|
margin-left: 6px;
|
|
93
|
+
margin-right: 8px
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
.group-select .selected-option-show .selected-option-item .dtable-icon-x {
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
width: 12px;
|
|
130
131
|
line-height: 12px;
|
|
131
132
|
top: 4px;
|
|
132
|
-
right:
|
|
133
|
+
right: 22px;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
.seatable-group-select .seatable-icon-btn:not(.disabled):hover {
|
|
@@ -86,7 +86,7 @@ class DTableGroupSelect extends _react.Component {
|
|
|
86
86
|
children: [selectedOptions.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
87
87
|
className: "selected-option-show",
|
|
88
88
|
children: selectedOptions.map(item => /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
89
|
-
className: "selected-option-item
|
|
89
|
+
className: "selected-option-item",
|
|
90
90
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
91
91
|
className: "selected-option-item-name",
|
|
92
92
|
children: item.name
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.group-selector .option .dtable-icon-check-mark {
|
|
20
20
|
font-size: 12px;
|
|
21
|
-
color: #
|
|
21
|
+
color: #666666;
|
|
22
22
|
height: 12px !important;
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
@@ -32,11 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.group-selector .option.option-active .dtable-icon-check-mark {
|
|
35
|
-
color: #
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.group-selector .option .select-option-name .single-select-option {
|
|
39
|
-
margin: 0 0 0 12px;
|
|
35
|
+
color: #666666 !important;
|
|
40
36
|
}
|
|
41
37
|
|
|
42
38
|
.group-selector .option .select-option-name .multiple-select-option {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
min-height: 60px;
|
|
7
7
|
min-width: 100%;
|
|
8
8
|
max-width: 15rem;
|
|
9
|
-
padding: 0.
|
|
9
|
+
padding-top: 0.25rem;
|
|
10
10
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
11
11
|
background: #fff;
|
|
12
12
|
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
.option-group .option-group-search {
|
|
18
18
|
width: 100%;
|
|
19
19
|
min-width: 170px;
|
|
20
|
-
padding:
|
|
20
|
+
padding: 8px 10px 0 !important
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.option-group-search .form-control {
|
|
24
|
-
height:
|
|
24
|
+
height: 32px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.option-group .none-search-result {
|
|
@@ -73,10 +73,6 @@
|
|
|
73
73
|
color: #aaa;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.option .select-option-name .single-select-option {
|
|
77
|
-
margin: 0 0 0 12px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
76
|
.option .select-option-name .multiple-select-option {
|
|
81
77
|
margin: 0;
|
|
82
78
|
}
|
|
@@ -96,7 +92,7 @@
|
|
|
96
92
|
|
|
97
93
|
.option-group-dtable-ui-multiple-select-selector .multiple-check-icon .dtable-icon-check-mark {
|
|
98
94
|
font-size: 12px;
|
|
99
|
-
color: #
|
|
95
|
+
color: #666666;
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
.option-group-dtable-ui-single-select-selector .option:hover,
|
|
@@ -110,3 +106,16 @@
|
|
|
110
106
|
.option-group-selector-multiple-select .option.option-active .select-option-name {
|
|
111
107
|
color: #212529;
|
|
112
108
|
}
|
|
109
|
+
|
|
110
|
+
.option-group-selector-single-select .option-group-search {
|
|
111
|
+
padding-top: 8px !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.option-group-selector-single-select .option .select-option-name .single-select-option {
|
|
115
|
+
margin: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
.option-group-selector-single-select .form-control {
|
|
120
|
+
padding: .375rem .5rem !important;
|
|
121
|
+
}
|
|
@@ -215,7 +215,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
215
215
|
style = {
|
|
216
216
|
position: 'fixed',
|
|
217
217
|
left: position.x,
|
|
218
|
-
top: position.y + position.height,
|
|
218
|
+
top: position.y + position.height + 4,
|
|
219
219
|
minWidth: position.width,
|
|
220
220
|
opacity: 0
|
|
221
221
|
};
|
|
@@ -232,7 +232,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
232
232
|
style: style,
|
|
233
233
|
onMouseDown: this.onMouseDown,
|
|
234
234
|
children: [isShowSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
235
|
-
className: "editor-list-delete
|
|
235
|
+
className: "editor-list-delete",
|
|
236
236
|
onClick: e => e.stopPropagation(),
|
|
237
237
|
children: value.label || ''
|
|
238
238
|
}), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|