From 935d244bee2cc7cda53e86b0d039752e02d787a9 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 23 Nov 2024 17:37:18 +0100 Subject: [PATCH 1/2] [docs-infra] Correctly ban the use of e.g. --- .../material/components/selects/selects.md | 2 +- docs/mui-vale.zip | Bin 4660 -> 4652 bytes .../styles/MUI/CorrectRererenceCased.yml | 7 ++++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/data/material/components/selects/selects.md b/docs/data/material/components/selects/selects.md index 4025b19b73751d..dbbb2ad619e871 100644 --- a/docs/data/material/components/selects/selects.md +++ b/docs/data/material/components/selects/selects.md @@ -200,7 +200,7 @@ If you use the ListSubheader directly, **no additional code is required**. ## Accessibility To properly label your `Select` input you need an extra element with an `id` that contains a label. -That `id` needs to match the `labelId` of the `Select` e.g. +That `id` needs to match the `labelId` of the `Select`, for example: ```jsx Age diff --git a/docs/mui-vale.zip b/docs/mui-vale.zip index 0429255690a7b7cbbacc9b3877902ac53ac112c2..b8c231a5ae44213eb38363204cd69a480ec478d0 100644 GIT binary patch delta 434 zcmdm@vPNaXbY}C8!ilrA*fWK#(wl^>HlCit3=*20#o`7Q%NDlUyqzV3S#VNMd8E}c zUF}N@3=DpZ3=F!H3pvFn_p@+L4&V^2pTgpl4#K4s+zgB?UxD&0B0z+Fjt?6C?3_Veo;|Awz=Y0H2+0z zpMOXHFa>xsgT2PVAk-5V*=uJZ{EL}kb2eu^D>&TV@>wtg!*a5}pv=UlLX*Sz4}*ne z1VUiKlluiSc~L@hGOM6FGcfdknyi@oI47?c5S!e=$v=66pabLL$sYx6*$nxBfyn>> DXJe-a delta 388 zcmZ3ZvPEUWbms7i%!#wK*xR!8)4Q|vH=dru%singb8;4o8~cWQ{d6GSyqzV3nHQ)o zlHYoV@GS-g2LH)A9F~)n7{%*D`>gYh81T4M&uwZD+`;)I?mNe&9T#sUM|S8)DSa>h z9iYdwMCqr+oQDqgb+tXd$4tI(Xl>%fPyd!|R^VD;WGj8$g;!eY71KvPeb-pk33u`r zMZTZ4a~HFcq2h(G6O z$4~aqGmU0>?&UjD@LZFSus+$wlhW@!A-&)G!oe4HjGO&9r?7&8XYx}% z3ua*WOjh9k2o4(&fe>b3xB&SwliLL{(Sqi$fcxZje)-ACf^tk@oRbXnaz@=snN Y=)k<1mtpb&UeQTHYHXH#z;I*$0RIJ=eE Date: Sat, 23 Nov 2024 17:46:41 +0100 Subject: [PATCH 2/2] more --- packages-internal/docs-utils/src/getPropsFromComponentNode.ts | 2 +- packages/api-docs-builder/utils/getPropsFromComponentNode.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages-internal/docs-utils/src/getPropsFromComponentNode.ts b/packages-internal/docs-utils/src/getPropsFromComponentNode.ts index 0c04dcd987c2f7..d6af8aa4274a41 100644 --- a/packages-internal/docs-utils/src/getPropsFromComponentNode.ts +++ b/packages-internal/docs-utils/src/getPropsFromComponentNode.ts @@ -4,7 +4,7 @@ import { TypeScriptProject } from './createTypeScriptProject'; export interface ParsedProp { /** * If `true`, some signatures do not contain this property. - * e.g: `id` in `{ id: number, value: string } | { value: string }` + * For example: `id` in `{ id: number, value: string } | { value: string }` */ onlyUsedInSomeSignatures: boolean; signatures: { symbol: ts.Symbol; componentType: ts.Type }[]; diff --git a/packages/api-docs-builder/utils/getPropsFromComponentNode.ts b/packages/api-docs-builder/utils/getPropsFromComponentNode.ts index 0c04dcd987c2f7..d6af8aa4274a41 100644 --- a/packages/api-docs-builder/utils/getPropsFromComponentNode.ts +++ b/packages/api-docs-builder/utils/getPropsFromComponentNode.ts @@ -4,7 +4,7 @@ import { TypeScriptProject } from './createTypeScriptProject'; export interface ParsedProp { /** * If `true`, some signatures do not contain this property. - * e.g: `id` in `{ id: number, value: string } | { value: string }` + * For example: `id` in `{ id: number, value: string } | { value: string }` */ onlyUsedInSomeSignatures: boolean; signatures: { symbol: ts.Symbol; componentType: ts.Type }[];