@giteeteam/apps-team-components 1.0.18 → 1.0.20

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.
@@ -7,7 +7,7 @@ export const getNameBadge = (name) => {
7
7
  const str = name.trim();
8
8
  return String.fromCodePoint(str.codePointAt(0));
9
9
  };
10
- const randomBackgroundColor = ['#5EA1FF', '#4BCC87', '#FFD15E', '#FF945E', '#A994FF'];
10
+ const randomBackgroundColor = ['#5EA1FF', '#4BCC87', '#FFD15E'];
11
11
  export const getBackgroundColor = (s) => {
12
12
  const code = (s === null || s === void 0 ? void 0 : s.charCodeAt(0)) || 0;
13
13
  const random = Math.floor(code % randomBackgroundColor.length);
@@ -56,6 +56,7 @@ export declare const FIELD_TYPE_KEY_MAPPINGS: {
56
56
  Actors: string;
57
57
  UserGroup: string;
58
58
  HyperLink: string;
59
+ Cascade: string;
59
60
  };
60
61
  export declare const DATE_TYPE: Record<Uppercase<DateType>, DateType>;
61
62
  export declare const DATE_FORMAT: {
@@ -55,6 +55,7 @@ export const FIELD_TYPE_KEY_MAPPINGS = {
55
55
  Actors: 'Actors',
56
56
  UserGroup: 'UserGroup',
57
57
  HyperLink: 'HyperLink',
58
+ Cascade: 'Cascade',
58
59
  };
59
60
  export const DATE_TYPE = {
60
61
  DATETIME: 'dateTime',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-team-components",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Gitee team components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",