@@ -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 >
137+ <div
138+ className = " pgn__form-control-description pgn__form-text pgn__form-text-invalid"
139+ feedback-for = " passwordFieldId"
140+ id = " form-field3-4"
141+ >
142+ <span
143+ className = " pgn__icon"
144+ >
145+ <svg
146+ aria-hidden = { true }
147+ fill = " none"
148+ focusable = { false }
149+ height = { 24 }
150+ role = " img"
151+ viewBox = " 0 0 24 24"
152+ width = { 24 }
153+ xmlns = " http://www.w3.org/2000/svg"
154+ >
155+ <path
156+ 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"
157+ fill = " currentColor"
158+ />
159+ </svg >
160+ </span >
161+ <div >
162+ A password is required
163+ </div >
164+ </div >
137165 <label
138- className = " d-block"
139- htmlFor = " passwordFieldId "
166+ className = " pgn__form-label d-block"
167+ htmlFor = " form-field3 "
140168 >
141169 If you still wish to continue and delete your account, please enter your account password:
142170 </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"
171+ <div
172+ className = " pgn__form-control-decorator-group"
155173 >
156- A password is required
157- </strong >
174+ <input
175+ aria-describedby = " form-field3-4"
176+ className = " has-value form-control is-invalid"
177+ id = " form-field3"
178+ name = " password"
179+ onBlur = { [Function ]}
180+ onChange = { [Function ]}
181+ type = " password"
182+ value = " fluffy bunnies"
183+ />
184+ </div >
158185 </div >
159186 </div >
160187 </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