Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

docs(dense): fix bestPractices count parity for Text (#2912)

Joeya96898077205
diff --git a/packages/core/src/Text/Text.doc.mjs b/packages/core/src/Text/Text.doc.mjs
index 4f4208e778..d31c3dce66 100644
--- a/packages/core/src/Text/Text.doc.mjs
+++ b/packages/core/src/Text/Text.doc.mjs
@@ -165,6 +165,7 @@ export const docsDense = {
{ guidance: false, description: 'Skip heading levels \u2014 sequential h1 \u2192 h2 \u2192 h3.' },
{ guidance: false, description: 'Raw <p>/<h1>/<span> \u2014 use XDSText/XDSHeading for theme tokens.' },
{ guidance: false, description: '`variant` prop \u2014 does not exist. Use `type` for text styling or XDSHeading for headings.' },
+ { guidance: false, description: 'XDSText for headings: use XDSHeading with level (1\u20136).' },
],
},
};
\ No newline at end of file