@giteeteam/apps-team-components 1.10.7 → 1.10.9

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.
@@ -1,10 +1,10 @@
1
- export declare const readViewWrapper = "\n display: -webkit-box;\n align-items: center;\n justify-content: center;\n min-width: 62px;\n height: 22px;\n padding: 0 8px;\n font-size: 12px;\n font-weight: 600;\n line-height: 22px;\n text-align: center;\n border-radius: 4px;\n";
1
+ export declare const readViewWrapper = "\n display: -webkit-box;\n align-items: center;\n justify-content: center;\n min-width: var(--status-cell-min-width, 62px);\n height: 22px;\n padding: 0 8px;\n font-size: 12px;\n font-weight: var(--status-cell-font-weight, 600);\n line-height: 22px;\n text-align: center;\n border-radius: 4px;\n";
2
2
  export declare const workflowContentStyle = "\n max-width: 200px;\n text-align: left;\n";
3
3
  export declare const statePopoverStyle: (antPrefix: string) => string;
4
4
  export declare const flowNextStyle = "\n max-height: 260px;\n padding-top: 10px;\n overflow: auto;\n margin: -12px;\n";
5
5
  export declare const flowWrapperStyle = "\n padding: 4px 0;\n";
6
- export declare const flowStateStyle = "\n min-width: 62px;\n height: 24px;\n padding: 0 18px 0 8px;\n font-size: 12px;\n font-weight: 600;\n line-height: 24px;\n color: #fff;\n text-align: center;\n background: #cdcdcd;\n border-radius: 4px;\n box-shadow: none !important;\n\n span {\n text-decoration: none !important;\n }\n";
7
- export declare const flowStateInWorkflowStyle = "\n &.status-btn:not(.add-weights) {\n min-width: 62px;\n height: 22px;\n padding: 0 8px;\n font-size: 12px;\n font-weight: 600;\n line-height: 22px;\n color: #fff;\n text-align: center;\n background: #cdcdcd;\n border-radius: 4px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n }\n";
6
+ export declare const flowStateStyle = "\n min-width: var(--status-cell-min-width, 62px);\n height: 24px;\n padding: 0 18px 0 8px;\n font-size: 12px;\n font-weight: var(--status-cell-font-weight, 600);\n line-height: 24px;\n color: #fff;\n text-align: center;\n background: #cdcdcd;\n border-radius: 4px;\n box-shadow: none !important;\n\n span {\n text-decoration: none !important;\n }\n";
7
+ export declare const flowStateInWorkflowStyle = "\n &.status-btn:not(.add-weights) {\n min-width: var(--status-cell-min-width, 62px);\n height: 22px;\n padding: 0 8px;\n font-size: 12px;\n font-weight: var(--status-cell-font-weight, 600);\n line-height: 22px;\n color: #fff;\n text-align: center;\n background: #cdcdcd;\n border-radius: 4px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n }\n";
8
8
  export declare const flowStateButtonStyle = "\n &:not(.add-weights) > span {\n display: -webkit-box;\n }\n";
9
9
  export declare const stateBtnStyle = "\n height: 22px;\n line-height: 22px;\n";
10
10
  export declare const noStateStyle = "\n color: #909aaa;\n background: var(--color-gray-4, #F1F2F4);\n";
@@ -1,14 +1,14 @@
1
- import { statusCellMinWidth, fieldLabelColor, themeBgColorBase, gray7, blue1, gray4, gray6, gray10, blue6 } from '../../../../style/common.js';
1
+ import { statusCellMinWidth, statusCellFontWeight, fieldLabelColor, themeBgColorBase, gray7, blue1, gray4, gray6, gray10, blue6 } from '../../../../style/common.js';
2
2
 
3
3
  const readViewWrapper = `
4
4
  display: -webkit-box;
5
5
  align-items: center;
6
6
  justify-content: center;
7
- min-width: 62px;
7
+ min-width: ${statusCellMinWidth};
8
8
  height: 22px;
9
9
  padding: 0 8px;
10
10
  font-size: 12px;
11
- font-weight: 600;
11
+ font-weight: ${statusCellFontWeight};
12
12
  line-height: 22px;
13
13
  text-align: center;
14
14
  border-radius: 4px;
@@ -44,7 +44,7 @@ const flowStateStyle = `
44
44
  height: 24px;
45
45
  padding: 0 18px 0 8px;
46
46
  font-size: 12px;
47
- font-weight: 600;
47
+ font-weight: ${statusCellFontWeight};
48
48
  line-height: 24px;
49
49
  color: #fff;
50
50
  text-align: center;
@@ -62,7 +62,7 @@ const flowStateInWorkflowStyle = `
62
62
  height: 22px;
63
63
  padding: 0 8px;
64
64
  font-size: 12px;
65
- font-weight: 600;
65
+ font-weight: ${statusCellFontWeight};
66
66
  line-height: 22px;
67
67
  color: #fff;
68
68
  text-align: center;
@@ -12,5 +12,6 @@ export type UserValueOption = {
12
12
  nickname: string;
13
13
  deleted: boolean;
14
14
  enabled: boolean;
15
+ email?: string;
15
16
  };
16
17
  export declare const userDataFormat: (user: UserValue) => UserValueOption;
@@ -30,6 +30,7 @@ const userDataFormat = (user) => {
30
30
  nickname: user.nickname,
31
31
  deleted: user.deleted,
32
32
  enabled: user.enabled,
33
+ email: user.email,
33
34
  });
34
35
  };
35
36
 
@@ -22,7 +22,8 @@ export declare const green4 = "var(--color-success-4, #4DD18B)";
22
22
  export declare const green5 = "var(--color-success-5, #29c477)";
23
23
  export declare const orange4 = "var(--color-orange-4, #ffd15e)";
24
24
  export declare const orange5 = "var(--color-orange-5, #ffbf36)";
25
- export declare const statusCellMinWidth = "62px";
25
+ export declare const statusCellMinWidth = "var(--status-cell-min-width, 62px)";
26
+ export declare const statusCellFontWeight = "var(--status-cell-font-weight, 600)";
26
27
  export declare const fieldLabelColor = "#909aaa";
27
28
  export declare const themeBgColorBase = "var(--color-gray-4, #F1F2F4)";
28
29
  export declare const randomClassName: (name: string) => string;
@@ -22,7 +22,8 @@ const green4 = 'var(--color-success-4, #4DD18B)';
22
22
  const green5 = 'var(--color-success-5, #29c477)';
23
23
  const orange4 = 'var(--color-orange-4, #ffd15e)';
24
24
  const orange5 = 'var(--color-orange-5, #ffbf36)';
25
- const statusCellMinWidth = '62px';
25
+ const statusCellMinWidth = 'var(--status-cell-min-width, 62px)';
26
+ const statusCellFontWeight = 'var(--status-cell-font-weight, 600)';
26
27
  const fieldLabelColor = '#909aaa';
27
28
  const themeBgColorBase = gray4;
28
29
  const randomClassName = (name) => {
@@ -35,4 +36,4 @@ const randomClassName = (name) => {
35
36
  return `${name}_${result}`;
36
37
  };
37
38
 
38
- export { blue1, blue10, blue2, blue3, blue4, blue5, blue6, blue7, blue8, blue9, fieldLabelColor, gray1, gray10, gray2, gray3, gray4, gray5, gray6, gray7, gray8, gray9, green4, green5, orange4, orange5, randomClassName, statusCellMinWidth, themeBgColorBase };
39
+ export { blue1, blue10, blue2, blue3, blue4, blue5, blue6, blue7, blue8, blue9, fieldLabelColor, gray1, gray10, gray2, gray3, gray4, gray5, gray6, gray7, gray8, gray9, green4, green5, orange4, orange5, randomClassName, statusCellFontWeight, statusCellMinWidth, themeBgColorBase };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-team-components",
3
- "version": "1.10.7",
3
+ "version": "1.10.9",
4
4
  "description": "Gitee team components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",