@giteeteam/apps-team-components 1.11.6 → 1.11.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.
@@ -9,7 +9,7 @@ import useI18n from '../../../lib/hooks/useI18n.js';
9
9
  import EmptyField from '../../common/EmptyField.js';
10
10
  import BaseOverflowTooltip from '../../common/overflow-tooltip/BaseOverflowTooltip.js';
11
11
  import { getPopupContainerFun } from '../../common/utils.js';
12
- import { menuBoxStyle, cellBoxStyle, checkedStyle, colorIconStyle, emptyTipStyle, dropdownStyle, headerCellStyle, downIconStyle, emptyTextStyle, emptyStyle, emptyIconStyle } from './style/index.js';
12
+ import { menuBoxStyle, cellBoxStyle, checkedStyle, colorIconStyle, emptyTipStyle, dropdownStyle, cellWrapperStyle, headerCellStyle, downIconStyle, emptyTextStyle, emptyStyle, emptyIconStyle } from './style/index.js';
13
13
 
14
14
  const filterData = (list, id) => {
15
15
  return list === null || list === void 0 ? void 0 : list.filter(v => {
@@ -51,7 +51,7 @@ const PriorityCell = props => {
51
51
  if (readonly)
52
52
  return;
53
53
  setVisible(flag);
54
- }, open: visible, getPopupContainer: triggerNode => getPopupContainerFun(getPopupContainer, triggerNode, apply, page), children: showData ? (jsxs("div", { css: css(cellBoxStyle(antPrefix), isFromHeader && headerCellStyle), children: [jsx(HollowCircleIcon, { css: css(colorIconStyle), style: { color: showData.color } }), jsx(BaseOverflowTooltip, { title: showData.name, children: showData.name }), isFromHeader && jsx(CaretDownOutlined, { css: css(downIconStyle) })] })) : !isFromHeader ? (jsx("div", { css: css(emptyTextStyle), children: jsx(EmptyField, { readonly: readonly }) })) : (jsxs("div", { css: css(emptyStyle), children: [jsx(DottedCircleIcon, { css: css(emptyIconStyle) }), t('pages.fields.view.noPriority')] })) })) }));
54
+ }, open: visible, getPopupContainer: triggerNode => getPopupContainerFun(getPopupContainer, triggerNode, apply, page), children: jsx("div", { css: css(cellWrapperStyle), children: showData ? (jsxs("div", { css: css(cellBoxStyle(antPrefix), isFromHeader && headerCellStyle), children: [jsx(HollowCircleIcon, { css: css(colorIconStyle), style: { color: showData.color } }), jsx(BaseOverflowTooltip, { title: showData.name, children: showData.name }), isFromHeader && jsx(CaretDownOutlined, { css: css(downIconStyle) })] })) : !isFromHeader ? (jsx("div", { css: css(emptyTextStyle), children: jsx(EmptyField, { readonly: readonly }) })) : (jsxs("div", { css: css(emptyStyle), children: [jsx(DottedCircleIcon, { css: css(emptyIconStyle) }), t('pages.fields.view.noPriority')] })) }) })) }));
55
55
  };
56
56
  PriorityCell.displayName = 'ActionPriorityCell';
57
57
 
@@ -11,3 +11,4 @@ export declare const iconStyle = "\n padding-left: 3px;\n color: var(--theme-t
11
11
  export declare const spinStyle = "\n width: 150px;\n height: 50px;\n line-height: 60px;\n";
12
12
  export declare const menuBoxStyle = "\n max-height: 300px;\n overflow: auto;\n";
13
13
  export declare const dropdownStyle = "\n background: var(--color-gray-1, #FFFFFF);\n\n .menu-box {\n max-height: 300px;\n overflow: auto;\n }\n";
14
+ export declare const cellWrapperStyle = "\n cursor: pointer;\n";
@@ -85,5 +85,8 @@ const dropdownStyle = `
85
85
  overflow: auto;
86
86
  }
87
87
  `;
88
+ const cellWrapperStyle = `
89
+ cursor: pointer;
90
+ `;
88
91
 
89
- export { cellBoxStyle, checkedStyle, colorIconStyle, downIconStyle, dropdownStyle, emptyIconStyle, emptyStyle, emptyTextStyle, emptyTipStyle, headerCellStyle, iconStyle, menuBoxStyle, spinStyle };
92
+ export { cellBoxStyle, cellWrapperStyle, checkedStyle, colorIconStyle, downIconStyle, dropdownStyle, emptyIconStyle, emptyStyle, emptyTextStyle, emptyTipStyle, headerCellStyle, iconStyle, menuBoxStyle, spinStyle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-team-components",
3
- "version": "1.11.6",
3
+ "version": "1.11.7",
4
4
  "description": "Gitee team components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",