An open source design system that's fully customizable and agent ready
TypeScript
docs: normalize smart typography in doc prose (#2838)
Joey0a209b6fe429
diff --git a/packages/core/src/Chat/ChatComposer.doc.mjs b/packages/core/src/Chat/ChatComposer.doc.mjsindex 90487a078b..1d3b9cafee 100644--- a/packages/core/src/Chat/ChatComposer.doc.mjs+++ b/packages/core/src/Chat/ChatComposer.doc.mjs@@ -39,7 +39,7 @@ export const docs = {name: 'placeholder',type: 'string',description: 'Placeholder text shown when the input is empty.',- default: "'Type a message…'",+ default: "'Type a message...'",},{name: 'isDisabled',diff --git a/packages/core/src/Chat/ChatComposerInput.doc.mjs b/packages/core/src/Chat/ChatComposerInput.doc.mjsindex 3c2c41ddad..35ab688ac6 100644--- a/packages/core/src/Chat/ChatComposerInput.doc.mjs+++ b/packages/core/src/Chat/ChatComposerInput.doc.mjs@@ -28,7 +28,7 @@ export const docs = {name: 'placeholder',type: 'string',description: 'Placeholder text shown when the input is empty.',- default: "'Type a message…'",+ default: "'Type a message...'",},{name: 'maxRows',diff --git a/packages/core/src/Chat/ChatMessageBubble.doc.mjs b/packages/core/src/Chat/ChatMessageBubble.doc.mjsindex 5810a14c75..58fad90cd2 100644--- a/packages/core/src/Chat/ChatMessageBubble.doc.mjs+++ b/packages/core/src/Chat/ChatMessageBubble.doc.mjs@@ -7,12 +7,12 @@ export const docs = {subComponentOf: 'Chat',displayName: 'Chat Message Bubble',isHiddenFromOverview: true,- description: 'Styled content container — the chat “bubble.” Reads sender from parent XDSChatMessage context to auto-style the background. Use filled for standard messages and ghost when content needs alignment without a visible boundary. Supports name/metadata slots aligned with bubble padding, and multi-bubble grouping via the group prop for consecutive messages from the same sender.',+ description: 'Styled content container for the chat "bubble." Reads sender from parent XDSChatMessage context to auto-style the background. Use filled for standard messages and ghost when content needs alignment without a visible boundary. Supports name/metadata slots aligned with bubble padding, and multi-bubble grouping via the group prop for consecutive messages from the same sender.',props: [{name: 'children',type: 'ReactNode',- description: 'Bubble content — text, XDSMarkdown, or any ReactNode.',+ description: 'Bubble content: text, XDSMarkdown, or any ReactNode.',required: true,},{diff --git a/packages/core/src/DateTimeInput/DateTimeInput.doc.mjs b/packages/core/src/DateTimeInput/DateTimeInput.doc.mjsindex be45c75c11..2ed82fc583 100644--- a/packages/core/src/DateTimeInput/DateTimeInput.doc.mjs+++ b/packages/core/src/DateTimeInput/DateTimeInput.doc.mjs@@ -151,7 +151,7 @@ export const docs = {{ guidance: true, description: 'Provide clear labels and descriptions so users understand what datetime is expected.' },{ guidance: true, description: 'Use min and max to restrict selectable datetimes to valid ranges.' },{ guidance: true, description: 'Use hasClear when the datetime is optional so the user can easily reset it.' },- { guidance: true, description: 'Choose the hour format (12h or 24h) that matches your audience’s locale.' },+ { guidance: true, description: "Choose the hour format (12h or 24h) that matches your audience's locale." },{ guidance: false, description: 'Use DateTimeInput when only a date is needed; use DateInput instead.' },{ guidance: false, description: 'Use DateTimeInput when only a time is needed; use TimeInput instead.' },{ guidance: false, description: 'Hide the label without surrounding context that makes the field purpose obvious.' },@@ -178,7 +178,7 @@ export const docsZh = {{ guidance: true, description: 'Provide clear labels and descriptions so users understand what datetime is expected.' },{ guidance: true, description: 'Use min and max to restrict selectable datetimes to valid ranges.' },{ guidance: true, description: 'Use hasClear when the datetime is optional so the user can easily reset it.' },- { guidance: true, description: 'Choose the hour format (12h or 24h) that matches your audience’s locale.' },+ { guidance: true, description: "Choose the hour format (12h or 24h) that matches your audience's locale." },{ guidance: false, description: 'Use DateTimeInput when only a date is needed; use DateInput instead.' },{ guidance: false, description: 'Use DateTimeInput when only a time is needed; use TimeInput instead.' },{ guidance: false, description: 'Hide the label without surrounding context that makes the field purpose obvious.' },@@ -225,7 +225,7 @@ export const docsDense = {{ guidance: true, description: 'Provide clear labels + descriptions so users understand what datetime is expected.' },{ guidance: true, description: 'Use min and max to restrict selectable datetimes to valid ranges.' },{ guidance: true, description: 'Use hasClear when the datetime is optional so the user can reset it.' },- { guidance: true, description: 'Choose the hour format (12h or 24h) that matches your audience\u2019s locale.' },+ { guidance: true, description: "Choose the hour format (12h or 24h) that matches your audience's locale." },{ guidance: false, description: 'Use DateTimeInput when only a date is needed; use DateInput instead.' },{ guidance: false, description: 'Use DateTimeInput when only a time is needed; use TimeInput instead.' },{ guidance: false, description: 'Hide the label without surrounding context that makes the field purpose obvious.' },diff --git a/packages/core/src/Markdown/Markdown.doc.mjs b/packages/core/src/Markdown/Markdown.doc.mjsindex ebf1e0b79f..c0125a50f5 100644--- a/packages/core/src/Markdown/Markdown.doc.mjs+++ b/packages/core/src/Markdown/Markdown.doc.mjs@@ -93,7 +93,7 @@ export const docs = {name: 'autolink',type: "'gfm'",description:- "Opt-in autolinking of bare URLs and emails. 'gfm' applies GitHub-Flavored Markdown autolink-literal rules: bare https?://…, www.…, <scheme:url>, <email>, and user@host all become links. Trailing sentence punctuation and unbalanced trailing close-parens are excluded; matches inside code spans, code blocks, existing links, and image alt text are skipped. Default behavior (option unset) is unchanged.",+ "Opt-in autolinking of bare URLs and emails. 'gfm' applies GitHub-Flavored Markdown autolink-literal rules: bare https?://..., www...., <scheme:url>, <email>, and user@host all become links. Trailing sentence punctuation and unbalanced trailing close-parens are excluded; matches inside code spans, code blocks, existing links, and image alt text are skipped. Default behavior (option unset) is unchanged.",},{name: 'xstyle',