dtable-ui-component 6.0.110-aik.7 → 6.0.110-aik.9

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.
@@ -40,7 +40,7 @@
40
40
  border: none;
41
41
  border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
42
42
  border-radius: 4px 4px 0 0;
43
- padding: .375rem .5rem !important;
43
+ padding: .375rem 1rem !important;
44
44
  }
45
45
 
46
46
  .dtable-ui-user-select-container .form-control:focus {
@@ -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;
@@ -98,3 +94,17 @@
98
94
  font-size: 14px;
99
95
  white-space: nowrap;
100
96
  }
97
+
98
+ .option-group-content .form-control {
99
+ border: none;
100
+ border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
101
+ border-radius: 4px 4px 0 0;
102
+ padding: .375rem 1rem !important;
103
+ height: 32px;
104
+ }
105
+
106
+ .option-group-content .form-control:focus {
107
+ border-color: transparent !important;
108
+ border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
109
+ box-shadow: none !important;
110
+ }
@@ -205,7 +205,7 @@
205
205
  .option-group-dtable-ui-collaborator-selector .option:hover,
206
206
  .option-group-dtable-ui-collaborator-selector .option.option-active {
207
207
  color: #212529;
208
- background-color: #f7f7f7;
208
+ background-color: #f5f5f5;
209
209
  }
210
210
 
211
211
  .dtable-ui-filters-list .dtable-ui-multiple-select-selector .option.option-active .select-option-name,
@@ -333,7 +333,7 @@
333
333
  display: inline-flex;
334
334
  align-items: center;
335
335
  height: 20px;
336
- margin-right: 10px;
336
+ margin-right: 4px;
337
337
  padding: 0 8px 0 2px;
338
338
  font-size: 13px;
339
339
  border-radius: 10px;
@@ -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 {
@@ -107,7 +108,7 @@
107
108
  border: none;
108
109
  border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
109
110
  border-radius: 4px 4px 0 0;
110
- padding: .375rem .5rem !important;
111
+ padding: .375rem 1rem !important;
111
112
  height: 32px;
112
113
  }
113
114
 
@@ -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
@@ -13,7 +13,7 @@
13
13
  display: flex;
14
14
  align-items: center;
15
15
  justify-content: space-between;
16
- padding: 0.25rem 8px !important;
16
+ padding: 0.25rem 8px;
17
17
  }
18
18
 
19
19
  .group-selector .option .dtable-icon-check-mark {
@@ -26,8 +26,8 @@
26
26
  }
27
27
 
28
28
  .group-selector .option.option-active {
29
- background-color: #f5f5f5 !important;
30
- color: #212529 !important;
29
+ background-color: #f5f5f5;
30
+ color: #212529;
31
31
  cursor: pointer;
32
32
  }
33
33
 
@@ -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 {
@@ -52,8 +52,7 @@
52
52
  }
53
53
 
54
54
  .option.option-active {
55
- background-color: #20a0ff;
56
- color: #fff;
55
+ background-color: #f5f5f5;
57
56
  cursor: pointer;
58
57
  }
59
58
 
@@ -73,10 +72,6 @@
73
72
  color: #aaa;
74
73
  }
75
74
 
76
- .option .select-option-name .single-select-option {
77
- margin: 0 0 0 12px;
78
- }
79
-
80
75
  .option .select-option-name .multiple-select-option {
81
76
  margin: 0;
82
77
  }
@@ -110,3 +105,16 @@
110
105
  .option-group-selector-multiple-select .option.option-active .select-option-name {
111
106
  color: #212529;
112
107
  }
108
+
109
+ .option-group-selector-single-select .option-group-search {
110
+ padding-top: 8px !important;
111
+ }
112
+
113
+ .option-group-selector-single-select .option .select-option-name .single-select-option {
114
+ margin: 0;
115
+ }
116
+
117
+
118
+ .option-group-selector-single-select .form-control {
119
+ padding: .375rem 1rem !important;
120
+ }
@@ -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.9",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",