dtable-ui-component 6.0.120-xms.21 → 6.0.120-xms.23

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.
@@ -29,7 +29,10 @@ const IconButton = _ref => {
29
29
  others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
30
  const iconFontSize = size === 'sm' ? '12px' : size === 'middle' ? '14px' : '16px';
31
31
  const iconStyle = (0, _objectSpread2.default)({
32
- fontSize: iconFontSize
32
+ fontSize: iconFontSize,
33
+ display: 'inline-flex',
34
+ alignItems: 'center',
35
+ justifyContent: 'center'
33
36
  }, style);
34
37
  const iconWrapper = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", (0, _objectSpread2.default)((0, _objectSpread2.default)({
35
38
  className: (0, _classnames.default)('seatable-icon-btn', className, {
@@ -127,7 +127,7 @@ function ImagePreviewerLightbox(props) {
127
127
  downloadImageTip: (0, _lang.getLocale)('Download_image'),
128
128
  preLineMetadaTip: (0, _lang.getLocale)('Pre_Line'),
129
129
  nextLineMetadaTip: (0, _lang.getLocale)('Next_Line'),
130
- closeMetadataTip: (0, _lang.getLocale)('Close')
130
+ closeTip: (0, _lang.getLocale)('Close')
131
131
  });
132
132
  }
133
133
  var _default = exports.default = ImagePreviewerLightbox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.120xms.21",
3
+ "version": "6.0.120xms.23",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.8",