dtable-ui-component 6.0.110-oot.5 → 6.0.110-oot.7

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.
@@ -96,4 +96,5 @@
96
96
  line-height: 20px;
97
97
  margin-right: 8px;
98
98
  width: calc(100% - 20px);
99
+ white-space: nowrap;
99
100
  }
@@ -100,7 +100,7 @@ class DTableCustomizeSelect extends _react.Component {
100
100
  tabIndex: "0",
101
101
  role: "button",
102
102
  ref: node => this.selector = node,
103
- className: (0, _classnames.default)('seatable-customize-select custom-select', {
103
+ className: (0, _classnames.default)('seatable-customize-select dtable-select custom-select', {
104
104
  'focus': this.state.isShowSelectOptions
105
105
  }, {
106
106
  'disabled': isLocked
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .seatable-option-group .seatable-option-group-search .form-control {
26
- height: 31px;
26
+ height: 32px;
27
27
  border: none;
28
28
  padding: .375rem 1rem;
29
29
  cursor: pointer;
@@ -65,7 +65,7 @@
65
65
  align-items: center;
66
66
  width: 100%;
67
67
  line-height: 24px;
68
- padding: 0.25rem 10px;
68
+ padding: 0.25rem 8px;
69
69
  clear: both;
70
70
  font-weight: 400;
71
71
  text-align: inherit;
@@ -75,6 +75,7 @@
75
75
  text-overflow: ellipsis;
76
76
  white-space: nowrap;
77
77
  border-radius: 4px;
78
+ height: 32px;
78
79
  }
79
80
 
80
81
  .seatable-select-option.seatable-select-option-active {
@@ -96,18 +97,19 @@
96
97
  color: #aaa;
97
98
  } */
98
99
 
99
- .seatable-select-option .select-option-name .single-select-option {
100
+ /* .seatable-select-option .select-option-name .single-select-option {
100
101
  margin: 0 0 0 12px;
101
- }
102
+ } */
102
103
 
103
104
  .seatable-select-option .select-option-name .multiple-select-option {
104
105
  margin: 0;
105
106
  }
106
107
 
107
108
  .seatable-option-group .dtable-icon-check {
108
- color:'var(--bs-icon-color)'
109
+ color: var(--bs-icon-color);
109
110
  }
110
111
 
112
+ .select-label,
111
113
  .seatable-option-group-selector-single-select .select-option-name,
112
114
  .seatable-option-group-selector-multiple-select .multiple-option-name {
113
115
  display: flex;
@@ -119,11 +121,11 @@
119
121
  display: inline-flex;
120
122
  width: 20px;
121
123
  text-align: center;
124
+ color: var(--bs-icon-color);
122
125
  }
123
126
 
124
- .seatable-option-group-selector-multiple-select .multiple-check-icon .dtable-icon-check-mark {
127
+ .seatable-option-group-selector-multiple-select .multiple-check-icon .dtable-icon-check {
125
128
  font-size: 12px;
126
- color: #798d99;
127
129
  }
128
130
 
129
131
  .seatable-option-group-selector-single-select .seatable-select-option:hover,
@@ -154,6 +154,7 @@ class SelectOptionGroup extends _react.Component {
154
154
  supportMultipleSelect: this.props.supportMultipleSelect,
155
155
  disableHover: this.state.disableHover,
156
156
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
157
+ className: "select-label",
157
158
  children: opt.label
158
159
  }), isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
159
160
  className: "dtable-font dtable-icon-check seatable-check-color"
@@ -129,8 +129,6 @@ class DTableSelect extends _react.default.Component {
129
129
  options.shift();
130
130
  }
131
131
  }
132
-
133
- // 保持 label 为纯文本
134
132
  const optionsWithCheck = options.map(option => (0, _objectSpread2.default)({}, option));
135
133
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSelect.default, {
136
134
  value: value,
@@ -182,7 +180,7 @@ class DTableSelect extends _react.default.Component {
182
180
  })]
183
181
  });
184
182
  }
185
- // context === 'value',即已选项显示区
183
+ // context === 'value'
186
184
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
187
185
  className: "select-option-label",
188
186
  children: option.label
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110oot.5",
3
+ "version": "6.0.110oot.7",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",