@cellaware/utils 8.6.16 → 8.6.17

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.
@@ -888,6 +888,7 @@ export function mapTeamsStyles(columnNames, htmlRowStyles, htmlColumnStyles, tea
888
888
  const applyRowStyleToColumns = (style) => {
889
889
  for (const columnName of columnNames) {
890
890
  const columnStyle = getColumnStyle(style);
891
+ console.log(columnStyle);
891
892
  const teamsColumnStyle = teamsColumnStyles.find(c => c.columnName === columnName);
892
893
  if (!!teamsColumnStyle) {
893
894
  teamsColumnStyle.styles.push(columnStyle);
@@ -43,6 +43,7 @@ export declare function createTeamsValueCard(title: string, columnName: string,
43
43
  } | {
44
44
  type: string;
45
45
  roundedCorners: boolean;
46
+ style: string | undefined;
46
47
  items: {
47
48
  type: string;
48
49
  text: any;
@@ -51,7 +52,6 @@ export declare function createTeamsValueCard(title: string, columnName: string,
51
52
  color: string | undefined;
52
53
  weight: string | undefined;
53
54
  }[];
54
- style: string | undefined;
55
55
  })[];
56
56
  };
57
57
  export declare function createTeamsChartCard(title: string, png: string, summary: string): {
@@ -72,6 +72,7 @@ export function createTeamsValueCard(title, columnName, value, styles, summary)
72
72
  {
73
73
  type: "Container",
74
74
  roundedCorners: true,
75
+ style,
75
76
  items: [
76
77
  {
77
78
  type: "TextBlock",
@@ -81,8 +82,7 @@ export function createTeamsValueCard(title, columnName, value, styles, summary)
81
82
  color,
82
83
  weight
83
84
  }
84
- ],
85
- style
85
+ ]
86
86
  },
87
87
  createTeamsSummaryItem(summary)
88
88
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.6.16",
3
+ "version": "8.6.17",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",