File tree Expand file tree Collapse file tree
sharedComponents/SelectionModal
experiment-configurations-section Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const TitleButton = ({
3939 className = "item-card-header__title-btn"
4040 onClick = { onTitleClick }
4141 >
42- < Truncate lines = { 1 } className = { `${ namePrefix } -card-title mb-0` } > { title } </ Truncate >
42+ < Truncate . Deprecated lines = { 1 } className = { `${ namePrefix } -card-title mb-0` } > { title } </ Truncate . Deprecated >
4343 </ Button >
4444 </ OverlayTrigger >
4545 ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const TitleLink = ({
1414 className = "item-card-header__title-btn"
1515 to = { titleLink }
1616 >
17- < Truncate lines = { 1 } className = { `${ namePrefix } -card-title mb-0` } > { title } </ Truncate >
17+ < Truncate . Deprecated lines = { 1 } className = { `${ namePrefix } -card-title mb-0` } > { title } </ Truncate . Deprecated >
1818 </ Button >
1919) ;
2020
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ const PageAlerts = ({
378378 dismissError = { ( ) => dispatch ( dismissError ( msgObj . key ) ) }
379379 >
380380 < Alert . Heading > { msgObj . title } </ Alert . Heading >
381- { msgObj . desc && < Truncate lines = { 2 } > { msgObj . desc } </ Truncate > }
381+ { msgObj . desc && < Truncate . Deprecated lines = { 2 } > { msgObj . desc } </ Truncate . Deprecated > }
382382 </ ErrorAlert >
383383 ) : (
384384 < Alert
@@ -387,7 +387,7 @@ const PageAlerts = ({
387387 key = { msgObj . key }
388388 >
389389 < Alert . Heading > { msgObj . title } </ Alert . Heading >
390- { msgObj . desc && < Truncate lines = { 2 } > { msgObj . desc } </ Truncate > }
390+ { msgObj . desc && < Truncate . Deprecated lines = { 2 } > { msgObj . desc } </ Truncate . Deprecated > }
391391 </ Alert >
392392 )
393393 ) )
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ exports[`TitleHeader snapshots initialized 1`] = `
1414<div
1515 className = " d-flex flex-row align-items-center mt-1"
1616>
17- <Truncate >
17+ <Truncate.Deprecated >
1818 {
1919 " useSelector" : [Function ],
2020 }
21- </Truncate >
21+ </Truncate.Deprecated >
2222 <IconButton
2323 alt = " Edit Title"
2424 className = " mx-2"
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ const TitleHeader = ({
4949 }
5050 return (
5151 < div className = "d-flex flex-row align-items-center mt-1" >
52- < Truncate >
52+ < Truncate . Deprecated >
5353 { title }
54- </ Truncate >
54+ </ Truncate . Deprecated >
5555 < IconButton
5656 alt = { intl . formatMessage ( messages . editTitleLabel ) }
5757 iconAs = { Icon }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const GalleryCard = ({
6666 </ div >
6767 < div className = "card-text px-3 py-2" style = { { marginTop : '10px' } } >
6868 < h3 className = "text-primary-500" >
69- < Truncate > { asset . displayName } </ Truncate >
69+ < Truncate . Deprecated > { asset . displayName } </ Truncate . Deprecated >
7070 </ h3 >
7171 { asset . transcripts && (
7272 < div style = { { margin : '0 0 5px 0' } } >
Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ exports[`GalleryCard component snapshot with duration badge 1`] = `
5959 <h3
6060 className = " text-primary-500"
6161 >
62- <Truncate >
62+ <Truncate.Deprecated >
6363 props.img.displayName
64- </Truncate >
64+ </Truncate.Deprecated >
6565 </h3 >
6666 <p
6767 className = " text-gray-500"
@@ -138,9 +138,9 @@ exports[`GalleryCard component snapshot with duration transcripts 1`] = `
138138 <h3
139139 className = " text-primary-500"
140140 >
141- <Truncate >
141+ <Truncate.Deprecated >
142142 props.img.displayName
143- </Truncate >
143+ </Truncate.Deprecated >
144144 </h3 >
145145 <div
146146 style = {
@@ -232,9 +232,9 @@ exports[`GalleryCard component snapshot with status badge 1`] = `
232232 <h3
233233 className = " text-primary-500"
234234 >
235- <Truncate >
235+ <Truncate.Deprecated >
236236 props.img.displayName
237- </Truncate >
237+ </Truncate.Deprecated >
238238 </h3 >
239239 <p
240240 className = " text-gray-500"
@@ -312,9 +312,9 @@ exports[`GalleryCard component snapshot with thumbnail fallback and load error 1
312312 <h3
313313 className = " text-primary-500"
314314 >
315- <Truncate >
315+ <Truncate.Deprecated >
316316 props.img.displayName
317- </Truncate >
317+ </Truncate.Deprecated >
318318 </h3 >
319319 <p
320320 className = " text-gray-500"
@@ -392,9 +392,9 @@ exports[`GalleryCard component snapshot with thumbnail fallback and no error 1`]
392392 <h3
393393 className = " text-primary-500"
394394 >
395- <Truncate >
395+ <Truncate.Deprecated >
396396 props.img.displayName
397- </Truncate >
397+ </Truncate.Deprecated >
398398 </h3 >
399399 <p
400400 className = " text-gray-500"
@@ -471,9 +471,9 @@ exports[`GalleryCard component snapshot: dateAdded=12345 1`] = `
471471 <h3
472472 className = " text-primary-500"
473473 >
474- <Truncate >
474+ <Truncate.Deprecated >
475475 props.img.displayName
476- </Truncate >
476+ </Truncate.Deprecated >
477477 </h3 >
478478 <p
479479 className = " text-gray-500"
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ const FileInfoModalSidebar = ({
5757 </ div >
5858 < ActionRow >
5959 < div style = { { wordBreak : 'break-word' } } >
60- < Truncate lines = { 1 } >
60+ < Truncate . Deprecated lines = { 1 } >
6161 { asset ?. portableUrl }
62- </ Truncate >
62+ </ Truncate . Deprecated >
6363 </ div >
6464 < ActionRow . Spacer />
6565 < IconButton
@@ -74,9 +74,9 @@ const FileInfoModalSidebar = ({
7474 </ div >
7575 < ActionRow >
7676 < div style = { { wordBreak : 'break-word' } } >
77- < Truncate lines = { 1 } >
77+ < Truncate . Deprecated lines = { 1 } >
7878 { asset ?. externalUrl }
79- </ Truncate >
79+ </ Truncate . Deprecated >
8080 </ div >
8181 < ActionRow . Spacer />
8282 < IconButton
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ const DeleteConfirmationModal = ({
3535 styling = "basic"
3636 title = { (
3737 < h3 className = "h5 m-n2" >
38- < Truncate lines = { 1 } >
38+ < Truncate . Deprecated lines = { 1 } >
3939 { original . displayName }
40- </ Truncate >
40+ </ Truncate . Deprecated >
4141 </ h3 >
4242 ) }
4343 data-testid = { `collapsible-${ original . id } ` }
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ const InfoModal = ({
4848 < ModalDialog . Header >
4949 < ModalDialog . Title >
5050 < div style = { { wordBreak : 'break-word' } } >
51- < Truncate lines = { 2 } className = "font-weight-bold small mt-3" >
51+ < Truncate . Deprecated lines = { 2 } className = "font-weight-bold small mt-3" >
5252 { file ?. displayName }
53- </ Truncate >
53+ </ Truncate . Deprecated >
5454 </ div >
5555 </ ModalDialog . Title >
5656 </ ModalDialog . Header >
You can’t perform that action at this time.
0 commit comments