Skip to content

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

TypeScript

docs: straighten curly apostrophes in Popover and Banner best practices (#5772)

Joey2ad586e5da19
diff --git a/.changeset/popover-banner-straight-apostrophes.md b/.changeset/popover-banner-straight-apostrophes.md
new file mode 100644
index 0000000000..8db46e4c48
--- /dev/null
+++ b/.changeset/popover-banner-straight-apostrophes.md
@@ -0,0 +1,7 @@
+---
+'@astryxdesign/core': patch
+---
+
+[docs] The Popover presentation best practice and the Banner collapsible best practice now use a straight apostrophe instead of a curly one, so the strings match the rest of the doc copy. Meaning unchanged. (#5772)
+
+@josephfarina
diff --git a/packages/core/src/Banner/Banner.doc.mjs b/packages/core/src/Banner/Banner.doc.mjs
index 69448259d2..786f91dae0 100644
--- a/packages/core/src/Banner/Banner.doc.mjs
+++ b/packages/core/src/Banner/Banner.doc.mjs
@@ -17,7 +17,7 @@ export const docs = {
{guidance: true, description: 'Keep titles short and scannable: "Payment failed" not "There was a problem processing your most recent payment."'},
{guidance: false, description: 'Use Banner for short-lived messages that disappear on their own; use Toast instead.'},
{guidance: false, description: 'Stack multiple banners with the same status; combine related messages into one banner.'},
- {guidance: true, description: 'Set collapsible={false} when the user needs the content to act on the message, like the list of fields that failed validation. Keep the default toggle when the detail is long enough to bury the banner\u2019s own message.'},
+ {guidance: true, description: 'Set collapsible={false} when the user needs the content to act on the message, like the list of fields that failed validation. Keep the default toggle when the detail is long enough to bury the banner\'s own message.'},
{guidance: true, description: 'Error and warning banners render as role="alert"; info and success render as role="status". Mount an alert banner in response to an event rather than on first paint, so assistive tech has a change to report.'},
{guidance: false, description: 'Rely on the status color or icon alone to carry meaning; say which status it is in the title text, because the icon is decorative to a screen reader.'},
],
diff --git a/packages/core/src/Popover/Popover.doc.mjs b/packages/core/src/Popover/Popover.doc.mjs
index 27f166c481..b3226e25b6 100644
--- a/packages/core/src/Popover/Popover.doc.mjs
+++ b/packages/core/src/Popover/Popover.doc.mjs
@@ -212,7 +212,7 @@ export const docs = {
{
guidance: false,
description:
- 'Assume input complexity alone determines the presentation; evaluate the task’s focus, space, and interaction requirements.',
+ "Assume input complexity alone determines the presentation; evaluate the task's focus, space, and interaction requirements.",
},
{
guidance: false,
@@ -415,7 +415,7 @@ export const docsZh = {
{
guidance: false,
description:
- 'Assume input complexity alone determines the presentation; evaluate the task’s focus, space, and interaction requirements.',
+ "Assume input complexity alone determines the presentation; evaluate the task's focus, space, and interaction requirements.",
},
{
guidance: false,
@@ -482,7 +482,7 @@ export const docsDense = {
{
guidance: false,
description:
- 'Assume input complexity alone determines the presentation; evaluate the task’s focus, space, and interaction requirements.',
+ "Assume input complexity alone determines the presentation; evaluate the task's focus, space, and interaction requirements.",
},
{
guidance: false,