File tree Expand file tree Collapse file tree
demos/promise/css-modules Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const values = Object.keys(languages) as Language[];
2222
2323function renderValue ( value : Language [ ] ) {
2424 if ( value . length === 0 ) {
25- return 'Select languages... ' ;
25+ return 'Select languages… ' ;
2626 }
2727
2828 const firstLanguage = languages [ value [ 0 ] ] ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const values = Object.keys(languages) as Language[];
2121
2222function renderValue ( value : Language [ ] ) {
2323 if ( value . length === 0 ) {
24- return 'Select languages... ' ;
24+ return 'Select languages… ' ;
2525 }
2626
2727 const firstLanguage = languages [ value [ 0 ] ] ;
Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff 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: {
Original file line number Diff line number Diff 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 } >
You can’t perform that action at this time.
0 commit comments