Skip to content

Commit 2d3a582

Browse files
committed
Split storyshots snapshots into multiple files
1 parent d979f0a commit 2d3a582

17 files changed

+5958
-5942
lines changed
Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`Storyshots Bootstrap/Button Block 1`] = `
4+
<button
5+
className="btn btn-outline-secondary btn-block "
6+
disabled={null}
7+
onClick={[Function]}
8+
style={null}
9+
type="button"
10+
>
11+
Click Me!
12+
</button>
13+
`;
14+
15+
exports[`Storyshots Bootstrap/Button Disabled 1`] = `
16+
<button
17+
className="btn btn-outline-secondary "
18+
disabled="disabed"
19+
onClick={null}
20+
style={null}
21+
type="button"
22+
>
23+
Click Me!
24+
</button>
25+
`;
26+
27+
exports[`Storyshots Bootstrap/Button Disabled Success 1`] = `
28+
<button
29+
className="btn btn-success "
30+
disabled="disabed"
31+
onClick={null}
32+
style={null}
33+
type="button"
34+
>
35+
Click Me!
36+
</button>
37+
`;
38+
39+
exports[`Storyshots Bootstrap/Button Large 1`] = `
40+
<button
41+
className="btn btn-outline-secondary btn-lg"
42+
disabled={null}
43+
onClick={[Function]}
44+
style={null}
45+
type="button"
46+
>
47+
Click Me!
48+
</button>
49+
`;
50+
51+
exports[`Storyshots Bootstrap/Button Success 1`] = `
52+
<button
53+
className="btn btn-success "
54+
disabled={null}
55+
onClick={[Function]}
56+
style={null}
57+
type="button"
58+
>
59+
Click Me!
60+
</button>
61+
`;
62+
63+
exports[`Storyshots Bootstrap/Button With onClick 1`] = `
64+
<button
65+
className="btn btn-outline-secondary "
66+
disabled={null}
67+
onClick={[Function]}
68+
style={null}
69+
type="button"
70+
>
71+
Click Me!
72+
</button>
73+
`;
74+
75+
exports[`Storyshots Bootstrap/CloseButton Disabled 1`] = `
76+
<div
77+
style={
78+
Object {
79+
"background": "#ddd",
80+
"height": "100px",
81+
"width": "100px",
82+
}
83+
}
84+
>
85+
<button
86+
aria-label="Close"
87+
className="close"
88+
disabled="disabed"
89+
onClick={null}
90+
type="button"
91+
>
92+
<span
93+
aria-hidden="true"
94+
>
95+
×
96+
</span>
97+
</button>
98+
</div>
99+
`;
100+
101+
exports[`Storyshots Bootstrap/CloseButton With onClick 1`] = `
102+
<div
103+
style={
104+
Object {
105+
"background": "#ddd",
106+
"height": "100px",
107+
"width": "100px",
108+
}
109+
}
110+
>
111+
<button
112+
aria-label="Close"
113+
className="close"
114+
disabled={null}
115+
onClick={[Function]}
116+
type="button"
117+
>
118+
<span
119+
aria-hidden="true"
120+
>
121+
×
122+
</span>
123+
</button>
124+
</div>
125+
`;
126+
127+
exports[`Storyshots Bootstrap/Link Disabled 1`] = `
128+
<a
129+
className="btn btn-link "
130+
disabled="disabled"
131+
href="#"
132+
role="button"
133+
target={null}
134+
>
135+
Click Me!
136+
</a>
137+
`;
138+
139+
exports[`Storyshots Bootstrap/Link Disabled Success 1`] = `
140+
<a
141+
className="btn btn-success "
142+
disabled="disabled"
143+
href="#"
144+
role="button"
145+
target={null}
146+
>
147+
Click Me!
148+
</a>
149+
`;
150+
151+
exports[`Storyshots Bootstrap/Link Large 1`] = `
152+
<a
153+
className="btn btn-link btn-lg"
154+
disabled={null}
155+
href="javascript: alert('Linked!');"
156+
role="button"
157+
target={null}
158+
>
159+
Click Me!
160+
</a>
161+
`;
162+
163+
exports[`Storyshots Bootstrap/Link Opens new tab 1`] = `
164+
<a
165+
className="btn btn-link "
166+
disabled={null}
167+
href="example.com"
168+
role="button"
169+
target="_blank"
170+
>
171+
<svg
172+
aria-hidden="true"
173+
aria-label="Open in new window"
174+
className="octicon"
175+
height={16}
176+
role="img"
177+
style={
178+
Object {
179+
"display": "inline-block",
180+
"fill": "currentColor",
181+
"userSelect": "none",
182+
"verticalAlign": "text-bottom",
183+
}
184+
}
185+
viewBox="0 0 12 16"
186+
width={12}
187+
>
188+
<path
189+
d="M11 10h1v3c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3v1H1v10h10v-3zM6 2l2.25 2.25L5 7.5 6.5 9l3.25-3.25L12 8V2H6z"
190+
fillRule="evenodd"
191+
/>
192+
</svg>
193+
Open External Site
194+
</a>
195+
`;
196+
197+
exports[`Storyshots Bootstrap/Link Success 1`] = `
198+
<a
199+
className="btn btn-success "
200+
disabled={null}
201+
href="javascript: alert('Linked!');"
202+
role="button"
203+
target={null}
204+
>
205+
Click Me!
206+
</a>
207+
`;
208+
209+
exports[`Storyshots Bootstrap/Link With href 1`] = `
210+
<a
211+
className="btn btn-link "
212+
disabled={null}
213+
href="javascript: alert('Linked!');"
214+
role="button"
215+
target={null}
216+
>
217+
Click Me!
218+
</a>
219+
`;

0 commit comments

Comments
 (0)