dtable-ui-component 6.0.110-aik.7 → 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.
@@ -4,7 +4,7 @@
4
4
 
5
5
  .dtable-select.custom-select {
6
6
  display: flex;
7
- padding: 0 10px;
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: #999;
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 {
@@ -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 mr-1 pr-1 pl-2",
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
@@ -35,10 +35,6 @@
35
35
  color: #666666 !important;
36
36
  }
37
37
 
38
- .group-selector .option .select-option-name .single-select-option {
39
- margin: 0 0 0 12px;
40
- }
41
-
42
38
  .group-selector .option .select-option-name .multiple-select-option {
43
39
  margin: 0;
44
40
  }
@@ -6,7 +6,7 @@
6
6
  min-height: 60px;
7
7
  min-width: 100%;
8
8
  max-width: 15rem;
9
- padding: 0.5rem 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: 0 10px 6px;
20
+ padding: 8px 10px 0 !important
21
21
  }
22
22
 
23
23
  .option-group-search .form-control {
24
- height: 31px;
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
  }
@@ -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 mb-2",
235
+ className: "editor-list-delete",
236
236
  onClick: e => e.stopPropagation(),
237
237
  children: value.label || ''
238
238
  }), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110-aik.7",
3
+ "version": "6.0.110-aik.8",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",