Skip to content

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

TypeScript

docs(SideNav,BottomSheet): recast em dashes in prop descriptions (#5054)

Joey48088c61109b
diff --git a/packages/core/src/SideNav/SideNavCollapseButton.doc.mjs b/packages/core/src/SideNav/SideNavCollapseButton.doc.mjs
index 1fca97e6dd..fa0cd73385 100644
--- a/packages/core/src/SideNav/SideNavCollapseButton.doc.mjs
+++ b/packages/core/src/SideNav/SideNavCollapseButton.doc.mjs
@@ -27,7 +27,7 @@ export const docs = {
{
name: 'size',
type: "'sm' | 'md' | 'lg'",
- description: "Button size. Defaults to the size its container cascades — 'sm' inside a SideNav footer — and to 'md' with no container. Set it when the button sits outside a sized container and has to match its neighbours.",
+ description: "Button size. Defaults to the size its container cascades ('sm' inside a SideNav footer) and to 'md' with no container. Set it when the button sits outside a sized container and has to match its neighbours.",
},
{
name: 'children',
@@ -78,7 +78,7 @@ export const docsDense = {
description: 'Toggle button for sidenav collapse. Place inside SideNav (reads context) or outside (pass the same controlled collapsible config both get). Icon-only ghost button by default.',
propDescriptions: {
collapsible: 'Controlled collapsible config, same object SideNav gets. Only needed when button rendered outside sidenav.',
- handleRef: 'Deprecated — pass collapsible instead.',
+ handleRef: 'Deprecated. Pass collapsible instead.',
label: 'Custom label. Text button w/ chevron when provided, icon-only when omitted.',
size: "Button size. Inherits from the container ('sm' in a SideNav footer), else 'md'.",
children: 'Custom content. Overrides default chevron icon + label.',
diff --git a/packages/lab/src/BottomSheet/BottomSheet.doc.mjs b/packages/lab/src/BottomSheet/BottomSheet.doc.mjs
index feb2b2c0ed..60309412f2 100644
--- a/packages/lab/src/BottomSheet/BottomSheet.doc.mjs
+++ b/packages/lab/src/BottomSheet/BottomSheet.doc.mjs
@@ -71,7 +71,7 @@ export const docs = {
name: 'hasScrim',
type: 'boolean',
description:
- 'For a standalone BottomSheet, whether to render a scrim—the semi-transparent overlay that covers and blocks the background. true (default) uses showModal(): top layer, focus trap, ::backdrop scrim, body scroll lock, and tap-scrim-to-dismiss, with the background inert. false uses show() with no scrim, leaving the page behind interactive and scrollable. For a multi-step flow, configure hasScrim on BottomSheetSwitcher instead; it owns one shared dialog across every child.',
+ 'For a standalone BottomSheet, whether to render a scrim, the semi-transparent overlay that covers and blocks the background. true (default) uses showModal(): top layer, focus trap, ::backdrop scrim, body scroll lock, and tap-scrim-to-dismiss, with the background inert. false uses show() with no scrim, leaving the page behind interactive and scrollable. For a multi-step flow, configure hasScrim on BottomSheetSwitcher instead; it owns one shared dialog across every child.',
default: 'true',
},
],
diff --git a/packages/lab/src/TransferList/TransferList.doc.mjs b/packages/lab/src/TransferList/TransferList.doc.mjs
index 7a6f0ae375..421da01e23 100644
--- a/packages/lab/src/TransferList/TransferList.doc.mjs
+++ b/packages/lab/src/TransferList/TransferList.doc.mjs
@@ -116,7 +116,7 @@ export const docs = {
name: 'searchPlaceholder',
type: 'string',
description: 'Placeholder shown in the shared search field.',
- default: "'Search\u2026'",
+ default: "'Search...'",
},
{
name: 'isReorderable',
@@ -332,7 +332,7 @@ export const docs = {
name: 'searchPlaceholder',
type: 'string',
description: 'Placeholder shown in the shared search field.',
- default: "'Search\u2026'",
+ default: "'Search...'",
},
{
name: 'isReorderable',