@@ -19,6 +19,10 @@ import {
19
19
TextVariants ,
20
20
Text ,
21
21
TextContent ,
22
+ DescriptionList ,
23
+ DescriptionListDescription ,
24
+ DescriptionListGroup ,
25
+ DescriptionListTerm ,
22
26
} from '@patternfly/react-core' ;
23
27
import { NamespacePolicyType } from '../../../constants' ;
24
28
import { convertTime , getTimeUnitString } from '../../../utils' ;
@@ -43,13 +47,13 @@ const REVIEW_ICON_MAP = {
43
47
* @deprecated
44
48
*/
45
49
const ReviewListTitle : React . FC < { text : string } > = ( { text } ) => (
46
- < dt >
50
+ < DescriptionListTerm >
47
51
< TextContent className = "ocs-install-wizard__text-content" >
48
52
< Text component = { TextVariants . h3 } className = "ocs-install-wizard__h3 " >
49
53
{ text }
50
54
</ Text >
51
55
</ TextContent >
52
- </ dt >
56
+ </ DescriptionListTerm >
53
57
) ;
54
58
55
59
/**
@@ -79,23 +83,25 @@ const ReviewListBody: React.FC<ReviewListBodyProps> = ({
79
83
: REVIEW_ICON_MAP [ alert ?. variant || AlertVariant . success ] ;
80
84
81
85
return (
82
- < dd className = "ocs-install-wizard__dd" >
83
- { alert ?. variant || ! hideIcon ? (
84
- < Split >
85
- < SplitItem >
86
- < Icon className = "ocs-install-wizard__icon" />
87
- </ SplitItem >
88
- < SplitItem isFilled >
89
- { children }
90
- { alert ?. variant ? (
91
- < ValidationMessage validation = { validation } />
92
- ) : null }
93
- </ SplitItem >
94
- </ Split >
95
- ) : (
96
- children
97
- ) }
98
- </ dd >
86
+ < DescriptionListGroup >
87
+ < DescriptionListDescription className = "ocs-install-wizard__dd" >
88
+ { alert ?. variant || ! hideIcon ? (
89
+ < Split >
90
+ < SplitItem >
91
+ < Icon className = "ocs-install-wizard__icon" />
92
+ </ SplitItem >
93
+ < SplitItem isFilled >
94
+ { children }
95
+ { alert ?. variant ? (
96
+ < ValidationMessage validation = { validation } />
97
+ ) : null }
98
+ </ SplitItem >
99
+ </ Split >
100
+ ) : (
101
+ children
102
+ ) }
103
+ </ DescriptionListDescription >
104
+ </ DescriptionListGroup >
99
105
) ;
100
106
} ;
101
107
@@ -208,7 +214,7 @@ const ReviewPage: React.FC<ReviewPageProps> = ({ state }) => {
208
214
< Title size = "xl" headingLevel = "h2" >
209
215
{ t ( 'Review BucketClass' ) }
210
216
</ Title >
211
- < dl >
217
+ < DescriptionList >
212
218
< ReviewListTitle text = { t ( 'General' ) } />
213
219
< br />
214
220
< div className = "nb-create-bc-list--indent" >
@@ -234,7 +240,7 @@ const ReviewPage: React.FC<ReviewPageProps> = ({ state }) => {
234
240
? getReviewForNamespaceStore ( )
235
241
: getReviewForBackingStore ( ) }
236
242
</ div >
237
- </ dl >
243
+ </ DescriptionList >
238
244
{ isLoading && < LoadingInline /> }
239
245
{ ! ! error && (
240
246
< Alert variant = "danger" title = "Error" isInline >
0 commit comments