An open source design system that's fully customizable and agent ready
TypeScript
docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884)
Joeya4815c3a38ff
diff --git a/packages/core/src/MultiSelector/MultiSelector.doc.mjs b/packages/core/src/MultiSelector/MultiSelector.doc.mjsindex 473a07574d..5ce6d8a3c1 100644--- a/packages/core/src/MultiSelector/MultiSelector.doc.mjs+++ b/packages/core/src/MultiSelector/MultiSelector.doc.mjs@@ -243,6 +243,11 @@ export const docsZh = {description:'Enable search filtering when the list exceeds ~15 options.',},+ {+ guidance: true,+ description:+ 'Use renderOption for custom option rows; the checkbox affordance remains owned by XDSMultiSelector.',+ },{guidance: true,description:@@ -278,6 +283,11 @@ export const docsDense = {description:'Enable search filtering when the list exceeds ~15 options.',},+ {+ guidance: true,+ description:+ 'renderOption for custom rows; checkbox affordance stays owned by XDSMultiSelector.',+ },{guidance: true,description:diff --git a/packages/core/src/Selector/Selector.doc.mjs b/packages/core/src/Selector/Selector.doc.mjsindex 9629b8f81c..7f699ff346 100644--- a/packages/core/src/Selector/Selector.doc.mjs+++ b/packages/core/src/Selector/Selector.doc.mjs@@ -224,6 +224,11 @@ export const docsZh = {description:'Use sections and dividers to organize options when the list exceeds ~8 items.',},+ {+ guidance: true,+ description:+ 'Use renderOption for custom option rows. Do not pass XDSSelectorOption directly as JSX children.',+ },{guidance: true,description:@@ -306,6 +311,11 @@ export const docsDense = {description:'Use sections and dividers to organize options when the list exceeds ~8 items.',},+ {+ guidance: true,+ description:+ 'renderOption for custom rows; do not pass XDSSelectorOption as JSX children.',+ },{guidance: true,description: