dtable-ui-component 6.0.110-oot.30 → 6.0.110-oot.32

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,7 +8,7 @@ exports.MenuSelectStyle = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
9
  // Seahub select is based on seafile-ui.css, so use the following content to override the default react-select style
10
10
  const DEFAULT_CONTROL_STYLE = {
11
- fontSize: '12px',
11
+ fontSize: '14px',
12
12
  padding: '0 8px',
13
13
  border: '1px solid var(--bs-border-color) !important',
14
14
  boxShadow: 'none',
@@ -17,7 +17,7 @@ const DEFAULT_CONTROL_STYLE = {
17
17
  outline: '0'
18
18
  };
19
19
  const FOCUS_CONTROL_STYLE = {
20
- fontSize: '12px',
20
+ fontSize: '14px',
21
21
  padding: '0 8px',
22
22
  border: '1px solid #3e84f7',
23
23
  boxShadow: 'none',
@@ -43,7 +43,7 @@ const controlCallback = (provided, state) => {
43
43
  });
44
44
  }
45
45
  return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
46
- fontSize: '12px',
46
+ fontSize: '14px',
47
47
  lineHeight: '1.5',
48
48
  cursor: 'pointer'
49
49
  }, DEFAULT_CONTROL_STYLE), {}, {
@@ -131,7 +131,7 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
131
131
  'display': 'none'
132
132
  };
133
133
  },
134
- indicatorsContainer: provided => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
135
- padding: '0 !important'
134
+ indicatorContainer: (provided, state) => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
135
+ padding: 0
136
136
  })
137
137
  };
@@ -3,6 +3,15 @@
3
3
  display: none;
4
4
  }
5
5
 
6
+ .seatable-select-value-container .select-option-label {
7
+ font-size: 14px !important;
8
+ }
9
+
6
10
  .seatable-check-color {
7
11
  color: var(--bs-icon-secondary-color);
8
12
  }
13
+
14
+ /* Override react-select indicator container padding */
15
+ [class*="indicatorContainer"] {
16
+ padding: 0 !important;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110oot.30",
3
+ "version": "6.0.110oot.32",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",