dtable-ui-component 7.0.0-ahn.15 → 7.0.0-ahn.17

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.
@@ -8,3 +8,8 @@
8
8
  font-size: 14px;
9
9
  color: var(--bs-icon-color);
10
10
  }
11
+
12
+ .seatable-option .select-option-name .seatable-tip-default {
13
+ font-size: 12px;
14
+ margin-top: 4px
15
+ }
@@ -9,6 +9,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
9
9
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _reactSelect = require("react-select");
12
+ require("./dtable-select-label.css");
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  const _excluded = ["innerProps"]; // DtableSelect is based on seatable-ui.css, so use the following content to override the default react-select style
14
15
  const DEFAULT_CONTROL_STYLE = {
@@ -98,8 +99,6 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
98
99
  ':hover': {
99
100
  backgroundColor: 'var(--bs-btn-background-hover)'
100
101
  },
101
- '.select-option-name': 'font-size: 12px',
102
- '.select-option-name .seatable-tip-default': 'font-size: 12px, margin-top: 4px',
103
102
  '.header-icon': HEADER_ICON_STYLE
104
103
  });
105
104
  },
@@ -211,7 +210,8 @@ const Option = props => {
211
210
  width: '100%',
212
211
  whiteSpace: 'pre-line'
213
212
  },
214
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
213
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
214
+ className: "seatable-option",
215
215
  children: label
216
216
  }), isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
217
217
  className: "dtable-font dtable-icon-check",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "7.0.0ahn.15",
3
+ "version": "7.0.0ahn.17",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "5.0.9",