Skip to content

Commit 40d2149

Browse files
oliviertassinariatomiks
authored andcommitted
[docs] Fix use of ellipsis (mui#3633)
1 parent ecd6475 commit 40d2149

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/scripts/generateLlmTxt/propsReferenceTableProcessor.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function convertExpressionNode(node) {
8787
return node.quasis[0].value.raw;
8888
}
8989
// For complex template literals, return a simplified representation
90-
return node.quasis.map((q) => q.value.raw).join('...');
90+
return node.quasis.map((q) => q.value.raw).join('');
9191

9292
case 'Identifier':
9393
// For identifiers like undefined, null, etc.

docs/src/app/(docs)/react/components/combobox/demos/async-multiple/css-modules/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function ExampleAsyncMultipleCombobox() {
5454
}
5555

5656
if (trimmedSearchValue === '' && !blockStartStatus) {
57-
return selectedValues.length > 0 ? null : 'Start typing to search people...';
57+
return selectedValues.length > 0 ? null : 'Start typing to search people';
5858
}
5959

6060
if (searchResults.length === 0 && !blockStartStatus) {

docs/src/app/(docs)/react/components/combobox/demos/async-multiple/tailwind/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function ExampleAsyncMultipleCombobox() {
5656
}
5757

5858
if (trimmedSearchValue === '' && !blockStartStatus) {
59-
return selectedValues.length > 0 ? null : 'Start typing to search people...';
59+
return selectedValues.length > 0 ? null : 'Start typing to search people';
6060
}
6161

6262
if (searchResults.length === 0 && !blockStartStatus) {

docs/src/app/(docs)/react/components/combobox/demos/async-single/css-modules/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function ExampleAsyncSingleCombobox() {
4141
}
4242

4343
if (trimmedSearchValue === '') {
44-
return selectedValue ? null : 'Start typing to search people...';
44+
return selectedValue ? null : 'Start typing to search people';
4545
}
4646

4747
if (searchResults.length === 0) {

docs/src/app/(docs)/react/components/combobox/demos/async-single/tailwind/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function ExampleAsyncSingleCombobox() {
4343
}
4444

4545
if (trimmedSearchValue === '') {
46-
return selectedValue ? null : 'Start typing to search people...';
46+
return selectedValue ? null : 'Start typing to search people';
4747
}
4848

4949
if (searchResults.length === 0) {

docs/src/app/(docs)/react/components/select/demos/multiple/css-modules/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const values = Object.keys(languages) as Language[];
2222

2323
function renderValue(value: Language[]) {
2424
if (value.length === 0) {
25-
return 'Select languages...';
25+
return 'Select languages';
2626
}
2727

2828
const firstLanguage = languages[value[0]];

docs/src/app/(docs)/react/components/select/demos/multiple/tailwind/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const values = Object.keys(languages) as Language[];
2121

2222
function renderValue(value: Language[]) {
2323
if (value.length === 0) {
24-
return 'Select languages...';
24+
return 'Select languages';
2525
}
2626

2727
const firstLanguage = languages[value[0]];

docs/src/app/(docs)/react/components/toast/demos/promise/css-modules/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function PromiseDemo() {
3333
}, 2000);
3434
}),
3535
{
36-
loading: 'Loading data...',
36+
loading: 'Loading data',
3737
success: (data: string) => `Success: ${data}`,
3838
error: (err: Error) => `Error: ${err.message}`,
3939
},

docs/src/app/(docs)/react/components/toast/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ const promise = toastManager.promise(
408408
}),
409409
{
410410
// Each are a shortcut for the `description` option
411-
loading: 'Loading...',
411+
loading: 'Loading',
412412
success: (data) => `Hello ${data}`,
413413
error: (err) => `Error: ${err}`,
414414
},
@@ -424,7 +424,7 @@ const promise = toastManager.promise(
424424
}),
425425
{
426426
loading: {
427-
title: 'Loading...',
427+
title: 'Loading',
428428
description: 'The promise is loading.',
429429
},
430430
success: {

docs/src/app/(private)/experiments/forms/form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ export default function Page() {
447447
{(value: string[]) =>
448448
value.length > 0
449449
? value.map((v) => fonts.find((f) => f.value === v)?.label).join(', ')
450-
: 'Select fonts...'
450+
: 'Select fonts'
451451
}
452452
</Select.Value>
453453
<Select.Icon className={styles.SelectIcon}>

0 commit comments

Comments
 (0)