Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiframe.html
More file actions
Latest commit
348 lines (309 loc) · 11.3 KB
/
Copy pathiframe.html
File metadata and controls
348 lines (309 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<!doctype html><htmllang="en"><head><metacharset="utf-8"><title>Webpack App</title><metaname="viewport" content="width=device-width,initial-scale=1"><basetarget="_parent"><style>:not(.sb-show-preparing-story) > .sb-preparing-story,
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
:not(.sb-show-nopreview) > .sb-nopreview,
:not(.sb-show-errordisplay) > .sb-errordisplay {
display: none;
}
.sb-show-main.sb-main-centered {
margin:0;
display: flex;
align-items: center;
min-height:100vh;
}
.sb-show-main.sb-main-centered#root {
box-sizing: border-box;
margin: auto;
padding:1rem;
max-height:100%; /* Hack for centering correctly in IE11 */
}
/* Vertical centering fix for IE11 */
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.sb-show-main.sb-main-centered:after {
content:'';
min-height: inherit;
font-size:0;
}
}
.sb-show-main.sb-main-fullscreen {
margin:0;
padding:0;
display: block;
}
.sb-show-main.sb-main-padded {
margin:0;
padding:1rem;
display: block;
box-sizing: border-box;
}
.sb-wrapper {
position: fixed;
top:0;
bottom:0;
left:0;
right:0;
padding:20px;
font-family:'Nunito Sans', -apple-system,'.SFNSText-Regular','San Francisco',
BlinkMacSystemFont,'Segoe UI','Helvetica Neue', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
overflow: auto;
}
.sb-heading {
font-size:14px;
font-weight:600;
letter-spacing:0.2px;
margin:10px0;
padding-right:25px;
}
.sb-nopreview {
display: flex;
align-content: center;
justify-content: center;
}
.sb-nopreview_main {
margin: auto;
padding:30px;
border-radius:10px;
background:rgba(0,0,0,0.03);
}
.sb-nopreview_heading {
text-align: center;
}
.sb-errordisplay {
border:20px solid rgb(187,49,49);
background:#222;
color:#fff;
z-index:999999;
}
.sb-errordisplay_code {
padding:10px;
background:#000;
color:#eee;
font-family:'Operator Mono','Fira Code Retina','Fira Code','FiraCode-Retina','Andale Mono',
'Lucida Console', Consolas, Monaco, monospace;
}
.sb-errordisplaypre {
white-space: pre-wrap;
}
@-webkit-keyframes sb-rotate360 {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
@keyframes sb-rotate360 {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
@-webkit-keyframes sb-glow {
0%,
100% {
opacity:1;
}
50% {
opacity:0.4;
}
}
@keyframes sb-glow {
0%,
100% {
opacity:1;
}
50% {
opacity:0.4;
}
}
/* We display the preparing loaders *over* the rendering story */
.sb-preparing-story,
.sb-preparing-docs {
background-color: white;
}
.sb-loader {
-webkit-animation: sb-rotate360 0.7s linear infinite;
animation: sb-rotate360 0.7s linear infinite;
border-color:rgba(97,97,97,0.29);
border-radius:50%;
border-style: solid;
border-top-color:#646464;
border-width:2px;
display: inline-block;
height:32px;
left:50%;
margin-left:-16px;
margin-top:-16px;
mix-blend-mode: difference;
overflow: hidden;
position: absolute;
top:50%;
transition: all 200ms ease-out;
vertical-align: top;
width:32px;
z-index:4;
}
.sb-previewBlock {
background:#fff;
border:1px solid rgba(0,0,0,0.1);
border-radius:4px;
box-shadow:rgba(0,0,0,0.1) 01px3px0;
margin:25px auto 40px;
max-width:600px;
}
.sb-previewBlock_header {
align-items: center;
box-shadow:rgba(0,0,0,0.1) 0-1px00 inset;
display: flex;
gap:14px;
height:40px;
padding:012px;
}
.sb-previewBlock_icon {
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
animation: sb-glow 1.5s ease-in-out infinite;
background:#e6e6e6;
height:14px;
width:14px;
}
.sb-previewBlock_icon:last-child {
margin-left: auto;
}
.sb-previewBlock_body {
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
animation: sb-glow 1.5s ease-in-out infinite;
height:182px;
position: relative;
}
.sb-argstableBlock {
border-collapse: collapse;
border-spacing:0;
font-size:13px;
line-height:20px;
margin:25px auto 40px;
max-width:600px;
text-align: left;
width:100%;
}
.sb-argstableBlockth:first-of-type,
.sb-argstableBlocktd:first-of-type {
padding-left:20px;
}
.sb-argstableBlockth:nth-of-type(2),
.sb-argstableBlocktd:nth-of-type(2) {
width:35%;
}
.sb-argstableBlockth:nth-of-type(3),
.sb-argstableBlocktd:nth-of-type(3) {
width:15%;
}
.sb-argstableBlockth:laste-of-type,
.sb-argstableBlocktd:laste-of-type {
width:25%;
padding-right:20px;
}
.sb-argstableBlockthspan,
.sb-argstableBlocktdspan {
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
animation: sb-glow 1.5s ease-in-out infinite;
background-color:rgba(0,0,0,0.1);
border-radius:0;
box-shadow: none;
color: transparent;
}
.sb-argstableBlockth {
padding:10px15px;
}
.sb-argstableBlock-body {
border-radius:4px;
box-shadow:rgba(0,0,0,0.1) 01px3px1px,rgba(0,0,0,0.065) 0001px;
}
.sb-argstableBlock-bodytr {
background: transparent;
overflow: hidden;
}
.sb-argstableBlock-bodytr:not(:first-child) {
border-top:1px solid #e6e6e6;
}
.sb-argstableBlock-bodytr:first-childtd:first-child {
border-top-left-radius:4px;
}
.sb-argstableBlock-bodytr:first-childtd:last-child {
border-top-right-radius:4px;
}
.sb-argstableBlock-bodytr:last-childtd:first-child {
border-bottom-left-radius:4px;
}
.sb-argstableBlock-bodytr:last-childtd:last-child {
border-bottom-right-radius:4px;
}
.sb-argstableBlock-bodytd {
background:#fff;
padding-bottom:10px;
padding-top:10px;
vertical-align: top;
}
.sb-argstableBlock-bodytd:not(:first-of-type) {
padding-left:15px;
padding-right:15px;
}
.sb-argstableBlock-bodybutton {
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
animation: sb-glow 1.5s ease-in-out infinite;
background-color:rgba(0,0,0,0.1);
border:0;
border-radius:0;
box-shadow: none;
color: transparent;
display: inline;
font-size:12px;
line-height:1;
padding:10px16px;
}
.sb-argstableBlock-summary {
margin-top:4px;
}
.sb-argstableBlock-code {
margin-right:4px;
margin-bottom:4px;
padding:2px5px;
}</style><script>/* globals window */
/* eslint-disable no-underscore-dangle */
try{
if(window.top!==window){
window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
window.__VUE_DEVTOOLS_GLOBAL_HOOK__=window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
window.top.__VUE_DEVTOOLS_CONTEXT__=window.document;
}
}catch(e){
// eslint-disable-next-line no-console
console.warn('unable to connect to top frame for connecting dev tools');
}
window.onerror=functiononerror(message,source,line,column,err){
if(window.CONFIG_TYPE!=='DEVELOPMENT')return;
// eslint-disable-next-line no-var, vars-on-top
varxhr=newwindow.XMLHttpRequest();
xhr.open('POST','/runtime-error');
xhr.setRequestHeader('Content-Type','application/json;charset=UTF-8');
xhr.send(
JSON.stringify({
/* eslint-disable object-shorthand */
message: message,
source: source,
line: line,
column: column,
error: err&&{message: err.message,name: err.name,stack: err.stack},
origin: 'preview',
/* eslint-enable object-shorthand */
})
);
};</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><divclass="sb-preparing-story sb-wrapper"><divclass="sb-loader"></div></div><divclass="sb-preparing-docs sb-wrapper"><divclass="sb-previewBlock"><divclass="sb-previewBlock_header"><divclass="sb-previewBlock_icon"></div><divclass="sb-previewBlock_icon"></div><divclass="sb-previewBlock_icon"></div><divclass="sb-previewBlock_icon"></div></div><divclass="sb-previewBlock_body"><divclass="sb-loader"></div></div></div><tablearia-hidden="true" class="sb-argstableBlock"><theadclass="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbodyclass="sb-argstableBlock-body"><tr><td><span>propertyName</span><spantitle="Required">*</span></td><td><div><span>This is a short description</span></div><divclass="sb-argstableBlock-summary"><div><spanclass="sb-argstableBlock-code">summary</span></div></div></td><td><div><spanclass="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><divclass="sb-argstableBlock-summary"><div><spanclass="sb-argstableBlock-code">summary</span></div></div></td><td><div><spanclass="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><divclass="sb-argstableBlock-summary"><div><spanclass="sb-argstableBlock-code">summary</span></div></div></td><td><div><spanclass="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><divclass="sb-nopreview sb-wrapper"><divclass="sb-nopreview_main"><h1class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><divclass="sb-errordisplay sb-wrapper"><preid="error-message" class="sb-heading"></pre><preclass="sb-errordisplay_code"><codeid="error-stack"></code></pre></div><divid="root"></div><divid="docs-root"></div><script>window['CONFIG_TYPE']="PRODUCTION";
window['LOGLEVEL']="info";
window['FRAMEWORK_OPTIONS']={};
window['FEATURES']={"postcss":true,"emotionAlias":true,"warnOnLegacyHierarchySeparator":true};
window['STORIES']=[{"titlePrefix":"","directory":"./src/stories","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src/stories","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><scriptsrc="runtime~main.105d48ab.iframe.bundle.js"></script><scriptsrc="vendors~main.f974d86e.iframe.bundle.js"></script><scriptsrc="main.02cc7572.iframe.bundle.js"></script></body></html>