An open source design system that's fully customizable and agent ready
TypeScript
docs(core): document Table verticalAlign and textOverflow props (#3214)
Durvesh Pilankar51a3463ca492
diff --git a/.changeset/table-verticalalign-textoverflow-doc.md b/.changeset/table-verticalalign-textoverflow-doc.mdnew file mode 100644index 0000000000..733c58c98e--- /dev/null+++ b/.changeset/table-verticalalign-textoverflow-doc.md@@ -0,0 +1,6 @@+---+'@astryxdesign/core': patch+---++[docs] Document Table's `verticalAlign` and `textOverflow` props, which were supported by the component but missing from the docsite properties tab+@durvesh1992diff --git a/packages/core/src/Table/Table.doc.mjs b/packages/core/src/Table/Table.doc.mjsindex 9163984fb4..99e4568fcf 100644--- a/packages/core/src/Table/Table.doc.mjs+++ b/packages/core/src/Table/Table.doc.mjs@@ -71,6 +71,18 @@ export const docs = {description: 'Applies a hover highlight background to rows on pointer devices.',default: 'false',},+ {+ name: 'verticalAlign',+ type: "'middle' | 'top' | 'bottom'",+ description: 'Vertical alignment for body row cells. Controls `vertical-align` on the `<td>` elements.',+ default: "'middle'",+ },+ {+ name: 'textOverflow',+ type: "'wrap' | 'truncate'",+ description: "How body cell text behaves when it exceeds the column width. 'wrap' lets text wrap and the row grow taller; 'truncate' clips with an ellipsis (default-rendered cells show a tooltip on hover when truncated). Header cells always truncate.",+ default: "'wrap'",+ },{name: 'plugins',type: 'Record<string, TablePlugin<T>>',