dtable-ui-component 6.0.110-hum.3 → 6.0.110-hum.4

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.
@@ -1,4 +1,4 @@
1
- .seafile-customize-select {
1
+ .seatable-customize-select {
2
2
  position: relative;
3
3
  display: flex;
4
4
  padding: 0 16px;
@@ -15,31 +15,31 @@
15
15
  border: 1px solid rgba(0, 40, 100, 0.12);
16
16
  }
17
17
 
18
- .seafile-customize-select:focus,
19
- .seafile-customize-select.focus {
18
+ .seatable-customize-select:focus,
19
+ .seatable-customize-select.focus {
20
20
  border-color: #3E84F7 !important;
21
21
  }
22
22
 
23
- .seafile-customize-select.disabled:focus,
24
- .seafile-customize-select.focus.disabled,
25
- .seafile-customize-select.disabled:hover {
23
+ .seatable-customize-select.disabled:focus,
24
+ .seatable-customize-select.focus.disabled,
25
+ .seatable-customize-select.disabled:hover {
26
26
  border-color: rgba(0, 40, 100, 0.12) !important;
27
27
  box-shadow: unset;
28
28
  cursor: default;
29
29
  }
30
30
 
31
- .seafile-customize-select:hover {
31
+ .seatable-customize-select:hover {
32
32
  cursor: pointer;
33
33
  border-color: var(--bs-border-color);
34
34
  }
35
35
 
36
- .seafile-customize-select .seafile-multicolor-icon-down {
36
+ .seatable-customize-select .seatable-multicolor-icon-down {
37
37
  width: 12px;
38
38
  height: 12px;
39
39
  color: var(--bs-icon-color);
40
40
  }
41
41
 
42
- .seafile-customize-select .selected-option {
42
+ .seatable-customize-select .selected-option {
43
43
  display: flex;
44
44
  flex: 1;
45
45
  overflow: hidden;
@@ -49,38 +49,38 @@
49
49
  background: inherit;
50
50
  }
51
51
 
52
- .seafile-customize-select.dtable-ui-collaborator-selector .seafile-option-group .seafile-option-group-content,
53
- .seafile-customize-select.selector-group .seafile-option-group .seafile-option-group-content {
52
+ .seatable-customize-select.dtable-ui-collaborator-selector .seatable-option-group .seatable-option-group-content,
53
+ .seatable-customize-select.selector-group .seatable-option-group .seatable-option-group-content {
54
54
  padding: 10px;
55
55
  }
56
56
 
57
- .seafile-customize-select.dtable-ui-collaborator-selector .seafile-option-group .seafile-option-group-content {
57
+ .seatable-customize-select.dtable-ui-collaborator-selector .seatable-option-group .seatable-option-group-content {
58
58
  padding: 10px 0;
59
59
  }
60
60
 
61
- .seafile-customize-select.dtable-ui-collaborator-selector .option {
61
+ .seatable-customize-select.dtable-ui-collaborator-selector .option {
62
62
  padding: 5px 0 5px 10px !important;
63
63
  line-height: 20px;
64
64
  }
65
65
 
66
- .seafile-customize-select.selector-group .option {
66
+ .seatable-customize-select.selector-group .option {
67
67
  height: 30px;
68
68
  display: flex;
69
69
  align-items: center;
70
70
  }
71
71
 
72
- .seafile-customize-select.selector-group .select-group-option {
72
+ .seatable-customize-select.selector-group .select-group-option {
73
73
  justify-content: space-between;
74
74
  }
75
75
 
76
- .seafile-customize-select.selector-group .selected-option .selected-group {
76
+ .seatable-customize-select.selector-group .selected-option .selected-group {
77
77
  padding: 0 2px;
78
78
  background: #eceff4;
79
79
  border-radius: 3px;
80
80
  }
81
81
 
82
82
 
83
- .seafile-customize-select .select-placeholder {
83
+ .seatable-customize-select .select-placeholder {
84
84
  line-height: 1;
85
85
  font-size: 14px;
86
86
  white-space: nowrap;
@@ -37,6 +37,7 @@
37
37
  .seatable-option-group .seatable-option-group-search .input-icon-addon {
38
38
  z-index: 1;
39
39
  pointer-events: auto;
40
+ min-width: 2.5rem !important;
40
41
  }
41
42
 
42
43
  .seatable-option-group .seatable-option-group-search .input-icon-addon svg {
@@ -153,7 +153,9 @@ class SelectOptionGroup extends _react.Component {
153
153
  changeIndex: this.changeIndex,
154
154
  supportMultipleSelect: this.props.supportMultipleSelect,
155
155
  disableHover: this.state.disableHover,
156
- children: [opt.label, isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
156
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
157
+ children: opt.label
158
+ }), isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
157
159
  className: "dtable-font dtable-icon-check"
158
160
  })]
159
161
  }, key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110hum.3",
3
+ "version": "6.0.110hum.4",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",