An open source design system that's fully customizable and agent ready
TypeScript
docs(core): document Heading's justify prop (#3176)
Durvesh Pilankar676d0063581b
diff --git a/.changeset/heading-justify-prop-doc.md b/.changeset/heading-justify-prop-doc.mdnew file mode 100644index 0000000000..7290ea17d8--- /dev/null+++ b/.changeset/heading-justify-prop-doc.md@@ -0,0 +1,6 @@+---+'@astryxdesign/core': patch+---++[docs] Document Heading's `justify` prop, which was supported by the component but missing from the docsite properties tab (#2847)+@durvesh1992diff --git a/packages/core/src/Text/Heading.doc.mjs b/packages/core/src/Text/Heading.doc.mjsindex ae87574766..afe508d2d2 100644--- a/packages/core/src/Text/Heading.doc.mjs+++ b/packages/core/src/Text/Heading.doc.mjs@@ -64,6 +64,12 @@ export const docs = {type: "'wrap' | 'nowrap' | 'balance' | 'pretty'",description: 'Text wrapping behavior.',},+ {+ name: 'justify',+ type: "'start' | 'center' | 'end'",+ description: 'Text alignment (justification). Uses logical values (start/end) for i18n/RTL compatibility.',+ default: "'start'",+ },{name: 'hasCapsize',type: 'boolean',@@ -145,6 +151,12 @@ export const docsZh = {type: "'wrap' | 'nowrap' | 'balance' | 'pretty'",description: '文本换行行为。',},+ {+ name: 'justify',+ type: "'start' | 'center' | 'end'",+ description: '文本对齐(两端对齐)。使用逻辑值(start/end)以兼容 i18n/RTL。',+ default: "'start'",+ },{name: 'hasCapsize',type: 'boolean',@@ -180,6 +192,7 @@ export const docsDense = {hasTruncateTooltip: "Tooltip for truncated text; true=default position, false=disabled, or a placement ('above' | 'below' | 'start' | 'end').",wordBreak: "Word break behavior; defaults 'break-all' for single-line, 'break-word' otherwise.",textWrap: 'Text wrapping behavior.',+ justify: "Text alignment (justification); logical values 'start' | 'center' | 'end' for RTL.",hasCapsize: 'Optical alignment via text-box-trim; forces block display.',hasStrikethrough: 'Strikethrough text decoration.',id: 'HTML id attribute.',