11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
3+ exports [` Storyshots Design System/Buttons/Radio Button Default 1` ] = `
4+ <div
5+ style = {
6+ Object {
7+ " padding" : " 1rem" ,
8+ }
9+ }
10+ >
11+ <input
12+ className = " RadioButton"
13+ disabled = { false }
14+ id = " default"
15+ name = " "
16+ type = " radio"
17+ />
18+ </div >
19+ ` ;
20+
21+ exports [` Storyshots Design System/Buttons/Radio Button Disabled 1` ] = `
22+ <div
23+ style = {
24+ Object {
25+ " padding" : " 1rem" ,
26+ }
27+ }
28+ >
29+ <input
30+ className = " RadioButton"
31+ disabled = { true }
32+ id = " disabled"
33+ name = " "
34+ type = " radio"
35+ />
36+ </div >
37+ ` ;
38+
339exports [` Storyshots Design System/Card all cards 1` ] = `
4- <div >
5- <div
6- className = " card"
7- >
40+ <div
41+ style = {
42+ Object {
43+ " padding" : " 1rem" ,
44+ }
45+ }
46+ >
47+ <div >
848 <div
9- className = " card-body "
49+ className = " card"
1050 >
1151 <div
12- className = " card-title h5 "
52+ className = " card-body "
1353 >
14- Test Card
15- </div >
16- <div >
17- Some quick example text to build on the card title and make up the bulk of the card' s content.
54+ <div
55+ className = " card-title h5"
56+ >
57+ Test Card
58+ </div >
59+ <div >
60+ Some quick example text to build on the card title and make up the bulk of the card' s content.
61+ </div >
1862 </div >
1963 </div >
2064 </div >
2165</div >
2266` ;
2367
68+ exports [` Storyshots Design System/Form Control Label Radio 1` ] = `
69+ <div
70+ style = {
71+ Object {
72+ " padding" : " 1rem" ,
73+ }
74+ }
75+ >
76+ <label
77+ className = " FormControlLabel"
78+ htmlFor = " radio"
79+ >
80+ <span
81+ className = " FormControlLabel__control"
82+ >
83+ <input
84+ className = " RadioButton"
85+ disabled = { false }
86+ id = " radio"
87+ name = " radio"
88+ type = " radio"
89+ />
90+ </span >
91+ Labeled radio button
92+ </label >
93+ </div >
94+ ` ;
95+
2496exports [` Storyshots Design System/Form Default 1` ] = `
2597<div
2698 style = {
@@ -39,7 +111,7 @@ exports[`Storyshots Design System/Form Default 1`] = `
39111 id = " first-name"
40112 >
41113 <label
42- className = " FormLabel "
114+ className = " InputLabel "
43115 htmlFor = " first-name"
44116 >
45117 First name
@@ -55,12 +127,12 @@ exports[`Storyshots Design System/Form Default 1`] = `
55127 id = " last-name"
56128 >
57129 <label
58- className = " FormLabel "
130+ className = " InputLabel "
59131 htmlFor = " last-name"
60132 >
61133 Last name
62134 <span
63- className = " FormLabel__helper -text"
135+ className = " InputLabel__helper -text"
64136 >
65137 (required)
66138 </span >
@@ -76,7 +148,7 @@ exports[`Storyshots Design System/Form Default 1`] = `
76148 id = " email"
77149 >
78150 <label
79- className = " FormLabel "
151+ className = " InputLabel "
80152 htmlFor = " email"
81153 >
82154 Email
@@ -92,12 +164,12 @@ exports[`Storyshots Design System/Form Default 1`] = `
92164 id = " phone"
93165 >
94166 <label
95- className = " FormLabel "
167+ className = " InputLabel "
96168 htmlFor = " phone"
97169 >
98170 Phone
99171 <span
100- className = " FormLabel__helper -text"
172+ className = " InputLabel__helper -text"
101173 >
102174 (required)
103175 </span >
@@ -113,6 +185,45 @@ exports[`Storyshots Design System/Form Default 1`] = `
113185 Invalid phone number
114186 </div >
115187 </div >
188+ <div
189+ className = " RadioButtonGroup"
190+ name = " radio-buttons"
191+ >
192+ <label
193+ className = " FormControlLabel"
194+ htmlFor = " "
195+ >
196+ <span
197+ className = " FormControlLabel__control"
198+ >
199+ <input
200+ className = " RadioButton"
201+ disabled = { false }
202+ id = " first"
203+ name = " radio-buttons"
204+ type = " radio"
205+ />
206+ </span >
207+ first choice
208+ </label >
209+ <label
210+ className = " FormControlLabel"
211+ htmlFor = " "
212+ >
213+ <span
214+ className = " FormControlLabel__control"
215+ >
216+ <input
217+ className = " RadioButton"
218+ disabled = { false }
219+ id = " second"
220+ name = " radio-buttons"
221+ type = " radio"
222+ />
223+ </span >
224+ second choice
225+ </label >
226+ </div >
116227 <button
117228 className = " btn btn-primary"
118229 type = " submit"
@@ -157,12 +268,12 @@ exports[`Storyshots Design System/Form Group Required 1`] = `
157268 id = " with-required"
158269 >
159270 <label
160- className = " FormLabel "
271+ className = " InputLabel "
161272 htmlFor = " "
162273 >
163274 Form Group with label
164275 <span
165- className = " FormLabel__helper -text"
276+ className = " InputLabel__helper -text"
166277 >
167278 (required)
168279 </span >
@@ -188,7 +299,7 @@ exports[`Storyshots Design System/Form Group With Errors 1`] = `
188299 id = " with-errors"
189300 >
190301 <label
191- className = " FormLabel "
302+ className = " InputLabel "
192303 htmlFor = " "
193304 >
194305 Form Group with errors
@@ -225,7 +336,7 @@ exports[`Storyshots Design System/Form Group With Label 1`] = `
225336 id = " with-label"
226337 >
227338 <label
228- className = " FormLabel "
339+ className = " InputLabel "
229340 htmlFor = " input"
230341 >
231342 Form Group with label
@@ -257,7 +368,7 @@ exports[`Storyshots Design System/Form Inline 1`] = `
257368 id = " first-name"
258369 >
259370 <label
260- className = " FormLabel "
371+ className = " InputLabel "
261372 htmlFor = " first-name"
262373 >
263374 First name
@@ -273,12 +384,12 @@ exports[`Storyshots Design System/Form Inline 1`] = `
273384 id = " last-name"
274385 >
275386 <label
276- className = " FormLabel "
387+ className = " InputLabel "
277388 htmlFor = " last-name"
278389 >
279390 Last name
280391 <span
281- className = " FormLabel__helper -text"
392+ className = " InputLabel__helper -text"
282393 >
283394 (required)
284395 </span >
@@ -294,7 +405,7 @@ exports[`Storyshots Design System/Form Inline 1`] = `
294405 id = " description"
295406 >
296407 <label
297- className = " FormLabel "
408+ className = " InputLabel "
298409 htmlFor = " description"
299410 >
300411 Description
0 commit comments