react-markdown-table-ts 0.4.12 → 0.4.13

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.
package/dist/utils.d.ts CHANGED
@@ -24,9 +24,10 @@ export declare function formatMarkdownRow(columnCount: number, currentRow: Table
24
24
  * @param columnAlignments - Alignment settings for each column.
25
25
  * @param columnWidths - Widths of each column.
26
26
  * @param useTabs - Flag to use tabs between columns.
27
+ * @param hasPadding - Flag to add padding spaces around cell content.
27
28
  * @returns The Markdown string for the alignment row.
28
29
  */
29
- export declare function formatAlignmentRow(columnCount: number, columnAlignments: readonly ('left' | 'right' | 'center' | 'none')[], columnWidths?: readonly number[], useTabs?: boolean): string;
30
+ export declare function formatAlignmentRow(columnCount: number, columnAlignments: readonly ('left' | 'right' | 'center' | 'none')[], columnWidths?: readonly number[], useTabs?: boolean, hasPadding?: boolean): string;
30
31
  /**
31
32
  * Generates a complete Markdown table string from the provided data.
32
33
  * @param inputData - The table data including headers and rows.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markdown-table-ts",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "A React component that converts structured data into Markdown table syntax and displays it within a `<pre>` tag.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",