Skip to content

Commit

Permalink
Merge pull request #198 from mashmatrix/enable-inline-story
Browse files Browse the repository at this point in the history
Change storybook rendering with inline information
  • Loading branch information
stomita authored Mar 30, 2017
2 parents 2dace67 + 1879f0e commit 1e80f87
Show file tree
Hide file tree
Showing 59 changed files with 56,954 additions and 60,900 deletions.
119 changes: 46 additions & 73 deletions .storybook/__storyshots__/Badge.shot
Original file line number Diff line number Diff line change
@@ -1,73 +1,13 @@
exports[`Default`] = `
<div>
<div
style={
Object {
"position": "relative",
"zIndex": 0,
}
}>
<span
className="slds-badge">
Badge Label
</span>
</div>
<a
onClick={[Function]}
style={
Object {
"background": "#28c",
"borderRadius": "0 0 0 5px",
"color": "#fff",
"cursor": "pointer",
"display": "block",
"fontFamily": "sans-serif",
"fontSize": 12,
"padding": "5px 15px",
"position": "fixed",
"right": 0,
"textDecoration": "none",
"top": 0,
}
}>
?
</a>
<div
style={
Object {
"background": "white",
"bottom": 0,
"display": "none",
"left": 0,
"overflow": "auto",
"padding": "0 40px",
"position": "absolute",
"right": 0,
"top": 0,
}
}>
<a
onClick={[Function]}
<div
className="content-wrapper">
<div>
<div
style={
Object {
"background": "#28c",
"borderRadius": "0 0 0 5px",
"color": "#fff",
"cursor": "pointer",
"display": "block",
"fontFamily": "sans-serif",
"fontSize": 12,
"padding": "5px 15px",
"position": "fixed",
"right": 0,
"textDecoration": "none",
"top": 0,
"padding": "16px",
}
}>
×
</a>
<div
style={undefined}>
<div
style={
Object {
Expand All @@ -77,7 +17,7 @@ exports[`Default`] = `
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
",
"fontSize": 15,
"fontSize": "15px",
"fontWeight": 300,
"lineHeight": 1.45,
}
Expand All @@ -87,13 +27,14 @@ exports[`Default`] = `
Object {
"borderBottom": "1px solid #eee",
"marginBottom": 10,
"paddingTop": 10,
}
}>
<h1
style={
Object {
"fontSize": 35,
"margin": "20px 0 0 0",
"fontSize": "35px",
"margin": 0,
"padding": 0,
}
}>
Expand All @@ -102,7 +43,7 @@ exports[`Default`] = `
<h2
style={
Object {
"fontSize": 22,
"fontSize": "22px",
"fontWeight": 400,
"margin": "0 0 10px 0",
"padding": 0,
Expand All @@ -111,10 +52,42 @@ exports[`Default`] = `
Default
</h2>
</div>
</div>
</div>
<div>
<div>
<span
className="slds-badge">
Badge Label
</span>
</div>
</div>
<div
style={
Object {
"padding": "16px",
}
}>
<div
style={
Object {
"WebkitFontSmoothing": "antialiased",
"color": "#444",
"fontFamily": "
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
",
"fontSize": "15px",
"fontWeight": 300,
"lineHeight": 1.45,
}
}>
<div
style={
Object {
"marginBottom": 0,
"borderTop": "1px solid rgb(238, 238, 238)",
"marginTop": "10px",
"padding": "16px 0",
}
}>
<p
Expand All @@ -126,7 +99,7 @@ exports[`Default`] = `
-apple-system, \".SFNSText-Regular\", \"San Francisco\", \"Roboto\",
\"Segoe UI\", \"Helvetica Neue\", \"Lucida Grande\", sans-serif
",
"fontSize": 15,
"fontSize": "15px",
}
}>
Default badge
Expand All @@ -137,7 +110,7 @@ exports[`Default`] = `
style={
Object {
"borderBottom": "1px solid #EEE",
"fontSize": 25,
"fontSize": "25px",
"margin": "20px 0 0 0",
"padding": "0 0 5px 0",
}
Expand Down Expand Up @@ -251,7 +224,7 @@ exports[`Default`] = `
style={
Object {
"borderBottom": "1px solid #EEE",
"fontSize": 25,
"fontSize": "25px",
"margin": "20px 0 0 0",
"padding": "0 0 5px 0",
}
Expand Down
Loading

0 comments on commit 1e80f87

Please sign in to comment.