@cellaware/utils 8.3.3 → 8.3.4

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.
@@ -848,6 +848,11 @@ export function datagridToString(datagridState, rowCnt) {
848
848
  }
849
849
  const totalRowCnt = datagridState.adjRowData.length;
850
850
  rowCnt = rowCnt ?? totalRowCnt;
851
+ if (rowCnt < totalRowCnt) {
852
+ const message = `Displaying the first ${rowCnt} rows.`;
853
+ htmlBuf += `<p style="font-style: italic;">${message}</p>`;
854
+ markdownBuf += `\n*${message}*\n\n`;
855
+ }
851
856
  // Header:
852
857
  htmlBuf += '<table>\n\t<thead>\n\t\t<tr>';
853
858
  let columns = [];
@@ -928,11 +933,6 @@ export function datagridToString(datagridState, rowCnt) {
928
933
  rowIdx++;
929
934
  }
930
935
  htmlBuf += '\n\t</tbody>\n</table>';
931
- if (rowCnt < totalRowCnt) {
932
- const message = `Displaying the first ${rowCnt} rows.`;
933
- htmlBuf += `<blockquote>${message}</blockquote>`;
934
- markdownBuf += `\n> ${message}\n\n`;
935
- }
936
936
  return {
937
937
  html: htmlBuf,
938
938
  markdown: markdownBuf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.3.3",
3
+ "version": "8.3.4",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",