@giteeteam/apps-team-components 1.1.1-alpha.2 → 1.1.2

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.
@@ -3,7 +3,11 @@ import { memo, useMemo } from 'react';
3
3
  import EmptyField from '../../common/EmptyField';
4
4
  import SimpleOverflowToolTip from '../../common/overflow-tooltip/SimpleOverflowToolTip';
5
5
  import { handleValue } from './BaseField';
6
- const MUTIPLE_MODE = { multiple: 'multiple', tags: 'tags' };
6
+ var MUTIPLE_MODE;
7
+ (function (MUTIPLE_MODE) {
8
+ MUTIPLE_MODE["multiple"] = "multiple";
9
+ MUTIPLE_MODE["tags"] = "tags";
10
+ })(MUTIPLE_MODE || (MUTIPLE_MODE = {}));
7
11
  const getFormattedLabel = ({ label, style = {}, }) => {
8
12
  return _jsx("span", { style: { borderRadius: 2, color: style === null || style === void 0 ? void 0 : style.color, background: style === null || style === void 0 ? void 0 : style.background }, children: label });
9
13
  };
@@ -1,10 +1,7 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
2
- import EmptyField from '../../common/EmptyField';
3
- const StoryPointReadView = ({ value, readonly }) => {
4
- if (!value) {
5
- return _jsx(EmptyField, { readonly: readonly });
6
- }
7
- return _jsx(_Fragment, { children: value });
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import NumberReadView from '../number/ReadView';
3
+ const StoryPointReadView = props => {
4
+ return _jsx(NumberReadView, { ...props });
8
5
  };
9
6
  StoryPointReadView.displayName = 'StoryPointReadView';
10
7
  export default StoryPointReadView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-team-components",
3
- "version": "1.1.1-alpha.2",
3
+ "version": "1.1.2",
4
4
  "description": "Gitee team components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",