Storybook deploy

This commit is contained in:
Nicolas Gallagher
2016-07-13 23:59:52 -07:00
parent 923ab5ad21
commit d9a61ee657
6 changed files with 167 additions and 0 deletions

21
storybook/iframe.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
if (window.parent !== window) {
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
}
</script>
<title>React Storybook</title>
</head>
<body>
<div id="root"></div>
<div id="error-display"></div>
<script src="static/preview.bundle.js"></script>
</body>
</html>

43
storybook/index.html Normal file
View File

@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>React Storybook</title>
<style>
/*
When resizing panels, the drag event breaks if the cursor
moves over the iframe. Add the 'dragging' class to the body
at drag start and remove it when the drag ends.
*/
.dragging iframe {
pointer-events: none;
}
/* Styling the fuzzy search box placeholders */
.searchBox::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #ddd;
font-size: 16px;
}
.searchBox::-moz-placeholder { /* Firefox 19+ */
color: #ddd;
font-size: 16px;
}
.searchBox:focus{
border-color: #EEE !important;
}
.btn:hover{
background-color: #eee
}
</style>
</head>
<body style="margin: 0;">
<div id="root"></div>
<script src="static/manager.bundle.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACmiIA;;;;;;;;;;;;;;AA84FA;;;;;;;;;;;AAw5EA;AA2sIA;AAugFA;;;;;AAsjBA;;;;;;;;;AA8oCA;AA6zEA;;;;;AAyrDA;;;AAusDA;AAo3IA;AAq2BA;AAy0FA;AAguHA;AAkgHA","sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"preview.bundle.js","sources":["webpack:///preview.bundle.js","webpack:///"],"mappings":"AAAA;ACuyGA;AAqwGA;AA43GA;;;;;;;;;;;;;;AAuCA;;;;;;;;;AAovFA;AAyzEA;AA6mGA;AAkoJA;AAs8DA;AA27EA;AAq/CA;AA49DA;AAo8EA;AAk8FA;;;AAorDA;AA4rIA;AAwsHA;AAu1HA;AA2nEA","sourceRoot":""}