dtable-ui-component 0.1.96-test2 → 0.1.96-test3

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.
@@ -2,13 +2,13 @@
2
2
  position: relative;
3
3
  }
4
4
 
5
- .dtable-ui-select-editor-container {
5
+ .dtable-ui-single-select-option-container {
6
6
  height: 40px;
7
7
  padding: 10px 5px;
8
8
  border-radius: 3px;
9
9
  cursor: pointer;
10
10
  }
11
11
 
12
- .dtable-ui-select-editor-container:hover {
12
+ .dtable-ui-single-select-option-container:hover {
13
13
  background-color: #f5f5f5;
14
14
  }
@@ -157,14 +157,16 @@ var SingleSelectEditor = /*#__PURE__*/function (_React$Component) {
157
157
  var selectedOptions = option ? [option] : [];
158
158
  return /*#__PURE__*/React.createElement("div", {
159
159
  ref: this.setEditorContainerRef,
160
- className: "cell-editor dtable-ui-single-select-editor"
160
+ className: "dtable-ui-single-select-editor"
161
161
  }, /*#__PURE__*/React.createElement("div", {
162
162
  ref: this.setEditorRef,
163
- className: "dtable-ui-select-editor-container",
163
+ className: "dtable-ui-single-select-editor-container d-inline-block",
164
164
  onClick: this.onAddOptionToggle
165
- }, option ? /*#__PURE__*/React.createElement(SelectEditorOption, {
165
+ }, option ? /*#__PURE__*/React.createElement("div", {
166
+ className: "dtable-ui-single-select-option-container"
167
+ }, /*#__PURE__*/React.createElement(SelectEditorOption, {
166
168
  option: option
167
- }) : /*#__PURE__*/React.createElement(EditEditorButton, {
169
+ })) : /*#__PURE__*/React.createElement(EditEditorButton, {
168
170
  text: getLocale('Add_an_option')
169
171
  })), isPopoverShow && /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(MediaQuery, {
170
172
  query: "(min-width: 768px)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "0.1.96-test2",
3
+ "version": "0.1.96-test3",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "0.0.9",