@@ -41,7 +41,7 @@ exports[`ConfirmationModal should match empty password confirmation modal snapsh
4141 />
4242 <div
4343 aria-label = " Are you sure?"
44- className = " pgn__modal pgn__modal-md pgn__modal-default pgn__alert-modal"
44+ className = " pgn__modal pgn__modal-md pgn__modal-default pgn__modal-visible-overflow pgn__alert-modal"
4545 role = " dialog"
4646 >
4747 <div
@@ -131,30 +131,57 @@ exports[`ConfirmationModal should match empty password confirmation modal snapsh
131131 </div >
132132 </div >
133133 <div
134- className = " form -group"
135- data-testid = " validation-form-group "
134+ className = " pgn__form -group"
135+ for = " passwordFieldId "
136136 >
137137 <label
138- className = " d-block"
139- htmlFor = " passwordFieldId "
138+ className = " pgn__form-label d-block"
139+ htmlFor = " form-field3 "
140140 >
141141 If you still wish to continue and delete your account, please enter your account password:
142142 </label >
143- <input
144- aria-describedby = " passwordFieldId-invalid-feedback"
145- className = " form-control is-invalid"
146- id = " passwordFieldId"
147- name = " password"
148- onChange = { [MockFunction ]}
149- type = " password"
150- value = " fluffy bunnies"
151- />
152- <strong
153- className = " invalid-feedback"
154- id = " passwordFieldId-invalid-feedback"
143+ <div
144+ className = " pgn__form-control-decorator-group"
155145 >
156- A password is required
157- </strong >
146+ <input
147+ aria-describedby = " form-field3-5"
148+ className = " has-value form-control is-invalid"
149+ id = " form-field3"
150+ name = " password"
151+ onBlur = { [Function ]}
152+ onChange = { [Function ]}
153+ type = " password"
154+ value = " fluffy bunnies"
155+ />
156+ </div >
157+ <div
158+ className = " pgn__form-control-description pgn__form-text pgn__form-text-invalid"
159+ feedback-for = " passwordFieldId"
160+ id = " form-field3-5"
161+ >
162+ <span
163+ className = " pgn__icon"
164+ >
165+ <svg
166+ aria-hidden = { true }
167+ fill = " none"
168+ focusable = { false }
169+ height = { 24 }
170+ role = " img"
171+ viewBox = " 0 0 24 24"
172+ width = { 24 }
173+ xmlns = " http://www.w3.org/2000/svg"
174+ >
175+ <path
176+ d = " M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"
177+ fill = " currentColor"
178+ />
179+ </svg >
180+ </span >
181+ <div >
182+ A password is required
183+ </div >
184+ </div >
158185 </div >
159186 </div >
160187 </div >
@@ -242,7 +269,7 @@ exports[`ConfirmationModal should match open confirmation modal snapshot 1`] = `
242269 />
243270 <div
244271 aria-label = " Are you sure?"
245- className = " pgn__modal pgn__modal-md pgn__modal-default pgn__alert-modal"
272+ className = " pgn__modal pgn__modal-md pgn__modal-default pgn__modal-visible-overflow pgn__alert-modal"
246273 role = " dialog"
247274 >
248275 <div
@@ -299,30 +326,28 @@ exports[`ConfirmationModal should match open confirmation modal snapshot 1`] = `
299326 </div >
300327 </div >
301328 <div
302- className = " form -group"
303- data-testid = " validation-form-group "
329+ className = " pgn__form -group"
330+ for = " passwordFieldId "
304331 >
305332 <label
306- className = " d-block"
307- htmlFor = " passwordFieldId "
333+ className = " pgn__form-label d-block"
334+ htmlFor = " form-field1 "
308335 >
309336 If you still wish to continue and delete your account, please enter your account password:
310337 </label >
311- <input
312- aria-describedby = " "
313- className = " form-control"
314- id = " passwordFieldId"
315- name = " password"
316- onChange = { [MockFunction ]}
317- type = " password"
318- value = " fluffy bunnies"
319- />
320- <strong
321- className = " invalid-feedback"
322- id = " passwordFieldId-invalid-feedback"
338+ <div
339+ className = " pgn__form-control-decorator-group"
323340 >
324- Unable to delete account
325- </strong >
341+ <input
342+ className = " has-value form-control"
343+ id = " form-field1"
344+ name = " password"
345+ onBlur = { [Function ]}
346+ onChange = { [Function ]}
347+ type = " password"
348+ value = " fluffy bunnies"
349+ />
350+ </div >
326351 </div >
327352 </div >
328353 </div >
0 commit comments