@chem-po/web-demo 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/project.json +1 -1
- package/package.json +5 -6
- package/dist/assets/Color-YHDXOIA2-CTixio2N.js +0 -1
- package/dist/assets/DocsRenderer-CFRXHY34-3rO35qoa.js +0 -575
- package/dist/assets/ExampleItemView-CP2a92hN.js +0 -1
- package/dist/assets/FirebaseList.stories-Bj5Uw3uM.js +0 -5
- package/dist/assets/MobileFrame.stories-C6fRoM1A.js +0 -13
- package/dist/assets/Playground.stories-BZjVwCHb.js +0 -1
- package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
- package/dist/assets/entry-preview-B_JVi5UV.js +0 -2
- package/dist/assets/entry-preview-docs-CEaxHzqF.js +0 -46
- package/dist/assets/iframe-CiJg9Ueh.js +0 -211
- package/dist/assets/index-BVLMb_CH.js +0 -1
- package/dist/assets/index-BcLeTgl6.js +0 -3645
- package/dist/assets/index-Bw5gtqQz.js +0 -24
- package/dist/assets/index-DFweHObD.js +0 -8
- package/dist/assets/index-DqxVLU6x.js +0 -240
- package/dist/assets/index-DrFu-skq.js +0 -6
- package/dist/assets/index-GiUgBvb1.js +0 -9
- package/dist/assets/index-RoHUUooS.js +0 -615
- package/dist/assets/jsx-runtime-CDt2p4po.js +0 -9
- package/dist/assets/list-RfpQMsfm.js +0 -10
- package/dist/assets/preview-B8lJiyuQ.js +0 -34
- package/dist/assets/preview-BWzBA1C2.js +0 -396
- package/dist/assets/preview-CPX9RCe3.js +0 -1
- package/dist/assets/preview-CvbIS5ZJ.js +0 -1
- package/dist/assets/preview-D3WyzUYc.js +0 -295
- package/dist/assets/preview-DD_OYowb.js +0 -1
- package/dist/assets/preview-DGUiP6tS.js +0 -7
- package/dist/assets/preview-DHQbi4pV.js +0 -1
- package/dist/assets/preview-NEoZ8N1F.js +0 -1
- package/dist/assets/preview-ZjA0Xxw0.js +0 -2
- package/dist/assets/react-18-B3VHhbvP.js +0 -1
- package/dist/assets/test-utils-PLR4qLHw.js +0 -9
- package/dist/assets/tiny-invariant-CopsF_GD.js +0 -1
- package/dist/iframe.html +0 -696
package/dist/iframe.html
DELETED
|
@@ -1,696 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<!--suppress HtmlUnknownTarget -->
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<title>Storybook</title>
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
|
|
9
|
-
<style>
|
|
10
|
-
@font-face {
|
|
11
|
-
font-family: 'Nunito Sans';
|
|
12
|
-
font-style: normal;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
font-display: swap;
|
|
15
|
-
src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@font-face {
|
|
19
|
-
font-family: 'Nunito Sans';
|
|
20
|
-
font-style: italic;
|
|
21
|
-
font-weight: 400;
|
|
22
|
-
font-display: swap;
|
|
23
|
-
src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@font-face {
|
|
27
|
-
font-family: 'Nunito Sans';
|
|
28
|
-
font-style: normal;
|
|
29
|
-
font-weight: 700;
|
|
30
|
-
font-display: swap;
|
|
31
|
-
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: 'Nunito Sans';
|
|
36
|
-
font-style: italic;
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
font-display: swap;
|
|
39
|
-
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
40
|
-
}
|
|
41
|
-
</style>
|
|
42
|
-
|
|
43
|
-
<script>
|
|
44
|
-
window.CONFIG_TYPE = 'PRODUCTION';
|
|
45
|
-
window.LOGLEVEL = 'info';
|
|
46
|
-
window.FRAMEWORK_OPTIONS = {};
|
|
47
|
-
window.CHANNEL_OPTIONS = {};
|
|
48
|
-
window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
|
|
49
|
-
window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:[\\\\/](?!\\.)(?:(?:(?!(?:^|[\\\\/])\\.).)*?)[\\\\/]|[\\\\/]|$)(?!\\.)(?=.)[^\\\\/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
|
|
50
|
-
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
|
|
51
|
-
window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
56
|
-
// doesn't fail (it will simply be disabled)
|
|
57
|
-
window.module = undefined;
|
|
58
|
-
window.global = window;
|
|
59
|
-
</script>
|
|
60
|
-
<base target="_parent" />
|
|
61
|
-
|
|
62
|
-
<style>
|
|
63
|
-
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
64
|
-
has rendered, which may or may not be in #storybook-root, to be display none */
|
|
65
|
-
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
66
|
-
display: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
|
70
|
-
display: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Hide our own blocks when we aren't supposed to be showing them */
|
|
74
|
-
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
|
75
|
-
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
|
76
|
-
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
77
|
-
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
78
|
-
display: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.sb-show-main.sb-main-centered {
|
|
82
|
-
margin: 0;
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
min-height: 100vh;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.sb-show-main.sb-main-centered #storybook-root {
|
|
89
|
-
box-sizing: border-box;
|
|
90
|
-
margin: auto;
|
|
91
|
-
padding: 1rem;
|
|
92
|
-
max-height: 100%;
|
|
93
|
-
/* Hack for centering correctly in IE11 */
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Vertical centering fix for IE11 */
|
|
97
|
-
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
98
|
-
.sb-show-main.sb-main-centered:after {
|
|
99
|
-
content: '';
|
|
100
|
-
min-height: inherit;
|
|
101
|
-
font-size: 0;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.sb-show-main.sb-main-fullscreen {
|
|
106
|
-
margin: 0;
|
|
107
|
-
padding: 0;
|
|
108
|
-
display: block;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.sb-show-main.sb-main-padded {
|
|
112
|
-
margin: 0;
|
|
113
|
-
padding: 1rem;
|
|
114
|
-
display: block;
|
|
115
|
-
box-sizing: border-box;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.sb-wrapper {
|
|
119
|
-
position: fixed;
|
|
120
|
-
top: 0;
|
|
121
|
-
bottom: 0;
|
|
122
|
-
left: 0;
|
|
123
|
-
right: 0;
|
|
124
|
-
box-sizing: border-box;
|
|
125
|
-
|
|
126
|
-
padding: 40px;
|
|
127
|
-
font-family:
|
|
128
|
-
'Nunito Sans',
|
|
129
|
-
-apple-system,
|
|
130
|
-
'.SFNSText-Regular',
|
|
131
|
-
'San Francisco',
|
|
132
|
-
BlinkMacSystemFont,
|
|
133
|
-
'Segoe UI',
|
|
134
|
-
'Helvetica Neue',
|
|
135
|
-
Helvetica,
|
|
136
|
-
Arial,
|
|
137
|
-
sans-serif;
|
|
138
|
-
-webkit-font-smoothing: antialiased;
|
|
139
|
-
overflow: auto;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@media (max-width: 700px) {
|
|
143
|
-
.sb-wrapper {
|
|
144
|
-
padding: 20px;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@media (max-width: 500px) {
|
|
149
|
-
.sb-wrapper {
|
|
150
|
-
padding: 10px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.sb-heading {
|
|
155
|
-
font-size: 14px;
|
|
156
|
-
font-weight: 600;
|
|
157
|
-
letter-spacing: 0.2px;
|
|
158
|
-
margin: 10px 0;
|
|
159
|
-
padding-right: 25px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.sb-nopreview {
|
|
163
|
-
display: flex;
|
|
164
|
-
align-content: center;
|
|
165
|
-
justify-content: center;
|
|
166
|
-
box-sizing: border-box;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.sb-nopreview_main {
|
|
170
|
-
margin: auto;
|
|
171
|
-
padding: 30px;
|
|
172
|
-
border-radius: 10px;
|
|
173
|
-
background: rgba(0, 0, 0, 0.03);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.sb-nopreview_heading {
|
|
177
|
-
text-align: center;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.sb-errordisplay {
|
|
181
|
-
background: #f6f9fc;
|
|
182
|
-
color: black;
|
|
183
|
-
z-index: 999999;
|
|
184
|
-
width: 100vw;
|
|
185
|
-
min-height: 100vh;
|
|
186
|
-
box-sizing: border-box;
|
|
187
|
-
|
|
188
|
-
& ol {
|
|
189
|
-
padding-left: 18px;
|
|
190
|
-
margin: 0;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
& h1 {
|
|
194
|
-
font-family: Nunito Sans;
|
|
195
|
-
font-size: 22px;
|
|
196
|
-
font-weight: 400;
|
|
197
|
-
line-height: 30px;
|
|
198
|
-
font-weight: normal;
|
|
199
|
-
margin: 0;
|
|
200
|
-
|
|
201
|
-
&::before {
|
|
202
|
-
content: '';
|
|
203
|
-
display: inline-block;
|
|
204
|
-
width: 12px;
|
|
205
|
-
height: 12px;
|
|
206
|
-
background: #ff4400;
|
|
207
|
-
border-radius: 50%;
|
|
208
|
-
margin-right: 8px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
& p,
|
|
213
|
-
& ol {
|
|
214
|
-
font-family: Nunito Sans;
|
|
215
|
-
font-size: 14px;
|
|
216
|
-
font-weight: 400;
|
|
217
|
-
line-height: 19px;
|
|
218
|
-
margin: 0;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
& li + li {
|
|
222
|
-
margin: 0;
|
|
223
|
-
padding: 0;
|
|
224
|
-
padding-top: 12px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
& a {
|
|
228
|
-
color: currentColor;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.sb-errordisplay_main {
|
|
233
|
-
margin: auto;
|
|
234
|
-
padding: 24px;
|
|
235
|
-
display: flex;
|
|
236
|
-
box-sizing: border-box;
|
|
237
|
-
|
|
238
|
-
flex-direction: column;
|
|
239
|
-
min-height: 100%;
|
|
240
|
-
width: 100%;
|
|
241
|
-
border-radius: 6px;
|
|
242
|
-
background: white;
|
|
243
|
-
border: 1px solid #ff0000;
|
|
244
|
-
box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
|
|
245
|
-
gap: 24px;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.sb-errordisplay_code {
|
|
249
|
-
padding: 10px;
|
|
250
|
-
flex: 1;
|
|
251
|
-
background: #242424;
|
|
252
|
-
color: #c6c6c6;
|
|
253
|
-
box-sizing: border-box;
|
|
254
|
-
|
|
255
|
-
font-size: 14px;
|
|
256
|
-
font-weight: 400;
|
|
257
|
-
line-height: 19px;
|
|
258
|
-
border-radius: 4px;
|
|
259
|
-
|
|
260
|
-
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
261
|
-
'Lucida Console', Consolas, Monaco, monospace;
|
|
262
|
-
margin: 0;
|
|
263
|
-
overflow: auto;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.sb-errordisplay pre {
|
|
267
|
-
white-space: pre-wrap;
|
|
268
|
-
white-space: revert;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
@-webkit-keyframes sb-rotate360 {
|
|
272
|
-
from {
|
|
273
|
-
transform: rotate(0deg);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
to {
|
|
277
|
-
transform: rotate(360deg);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
@keyframes sb-rotate360 {
|
|
282
|
-
from {
|
|
283
|
-
transform: rotate(0deg);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
to {
|
|
287
|
-
transform: rotate(360deg);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
@-webkit-keyframes sb-glow {
|
|
292
|
-
0%,
|
|
293
|
-
100% {
|
|
294
|
-
opacity: 1;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
50% {
|
|
298
|
-
opacity: 0.4;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
@keyframes sb-glow {
|
|
303
|
-
0%,
|
|
304
|
-
100% {
|
|
305
|
-
opacity: 1;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
50% {
|
|
309
|
-
opacity: 0.4;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/* We display the preparing loaders *over* the rendering story */
|
|
314
|
-
.sb-preparing-story,
|
|
315
|
-
.sb-preparing-docs {
|
|
316
|
-
background-color: white;
|
|
317
|
-
/* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
|
|
318
|
-
on top, but this isn't possible as it would require making CSS changes that could affect user code */
|
|
319
|
-
z-index: 2147483647;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.sb-loader {
|
|
323
|
-
-webkit-animation: sb-rotate360 0.7s linear infinite;
|
|
324
|
-
animation: sb-rotate360 0.7s linear infinite;
|
|
325
|
-
border-color: rgba(97, 97, 97, 0.29);
|
|
326
|
-
border-radius: 50%;
|
|
327
|
-
border-style: solid;
|
|
328
|
-
border-top-color: #646464;
|
|
329
|
-
border-width: 2px;
|
|
330
|
-
display: inline-block;
|
|
331
|
-
height: 32px;
|
|
332
|
-
left: 50%;
|
|
333
|
-
margin-left: -16px;
|
|
334
|
-
margin-top: -16px;
|
|
335
|
-
mix-blend-mode: difference;
|
|
336
|
-
overflow: hidden;
|
|
337
|
-
position: absolute;
|
|
338
|
-
top: 50%;
|
|
339
|
-
transition: all 200ms ease-out;
|
|
340
|
-
vertical-align: top;
|
|
341
|
-
width: 32px;
|
|
342
|
-
z-index: 4;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.sb-previewBlock {
|
|
346
|
-
background: #fff;
|
|
347
|
-
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
348
|
-
border-radius: 4px;
|
|
349
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
|
|
350
|
-
margin: 25px auto 40px;
|
|
351
|
-
max-width: 600px;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.sb-previewBlock_header {
|
|
355
|
-
align-items: center;
|
|
356
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
|
|
357
|
-
display: flex;
|
|
358
|
-
gap: 14px;
|
|
359
|
-
height: 40px;
|
|
360
|
-
padding: 0 12px;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.sb-previewBlock_icon {
|
|
364
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
365
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
366
|
-
background: #e6e6e6;
|
|
367
|
-
height: 14px;
|
|
368
|
-
width: 14px;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.sb-previewBlock_icon:last-child {
|
|
372
|
-
margin-left: auto;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.sb-previewBlock_body {
|
|
376
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
377
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
378
|
-
height: 182px;
|
|
379
|
-
position: relative;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.sb-argstableBlock {
|
|
383
|
-
border-collapse: collapse;
|
|
384
|
-
border-spacing: 0;
|
|
385
|
-
font-size: 13px;
|
|
386
|
-
line-height: 20px;
|
|
387
|
-
margin: 25px auto 40px;
|
|
388
|
-
max-width: 600px;
|
|
389
|
-
text-align: left;
|
|
390
|
-
width: 100%;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
.sb-argstableBlock th:first-of-type,
|
|
394
|
-
.sb-argstableBlock td:first-of-type {
|
|
395
|
-
padding-left: 20px;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.sb-argstableBlock th:nth-of-type(2),
|
|
399
|
-
.sb-argstableBlock td:nth-of-type(2) {
|
|
400
|
-
width: 35%;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.sb-argstableBlock th:nth-of-type(3),
|
|
404
|
-
.sb-argstableBlock td:nth-of-type(3) {
|
|
405
|
-
width: 15%;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.sb-argstableBlock th:last-of-type,
|
|
409
|
-
.sb-argstableBlock td:last-of-type {
|
|
410
|
-
width: 25%;
|
|
411
|
-
padding-right: 20px;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.sb-argstableBlock th span,
|
|
415
|
-
.sb-argstableBlock td span {
|
|
416
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
417
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
418
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
419
|
-
border-radius: 0;
|
|
420
|
-
box-shadow: none;
|
|
421
|
-
color: transparent;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.sb-argstableBlock th {
|
|
425
|
-
padding: 10px 15px;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.sb-argstableBlock-body {
|
|
429
|
-
border-radius: 4px;
|
|
430
|
-
box-shadow:
|
|
431
|
-
rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
|
|
432
|
-
rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.sb-argstableBlock-body tr {
|
|
436
|
-
background: transparent;
|
|
437
|
-
overflow: hidden;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.sb-argstableBlock-body tr:not(:first-child) {
|
|
441
|
-
border-top: 1px solid #e6e6e6;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
445
|
-
border-top-left-radius: 4px;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
449
|
-
border-top-right-radius: 4px;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
453
|
-
border-bottom-left-radius: 4px;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
457
|
-
border-bottom-right-radius: 4px;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.sb-argstableBlock-body td {
|
|
461
|
-
background: #fff;
|
|
462
|
-
padding-bottom: 10px;
|
|
463
|
-
padding-top: 10px;
|
|
464
|
-
vertical-align: top;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
468
|
-
padding-left: 15px;
|
|
469
|
-
padding-right: 15px;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.sb-argstableBlock-body button {
|
|
473
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
474
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
475
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
476
|
-
border: 0;
|
|
477
|
-
border-radius: 0;
|
|
478
|
-
box-shadow: none;
|
|
479
|
-
color: transparent;
|
|
480
|
-
display: inline;
|
|
481
|
-
font-size: 12px;
|
|
482
|
-
line-height: 1;
|
|
483
|
-
padding: 10px 16px;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
.sb-argstableBlock-summary {
|
|
487
|
-
margin-top: 4px;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.sb-argstableBlock-code {
|
|
491
|
-
margin-right: 4px;
|
|
492
|
-
margin-bottom: 4px;
|
|
493
|
-
padding: 2px 5px;
|
|
494
|
-
}
|
|
495
|
-
</style>
|
|
496
|
-
|
|
497
|
-
<script>
|
|
498
|
-
/* globals window */
|
|
499
|
-
/* eslint-disable no-underscore-dangle */
|
|
500
|
-
try {
|
|
501
|
-
if (window.top !== window) {
|
|
502
|
-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
503
|
-
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
504
|
-
window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
|
|
505
|
-
}
|
|
506
|
-
} catch (e) {
|
|
507
|
-
// eslint-disable-next-line no-console
|
|
508
|
-
console.warn('unable to connect to top frame for connecting dev tools');
|
|
509
|
-
}
|
|
510
|
-
</script>
|
|
511
|
-
<style>
|
|
512
|
-
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Encode+Sans:wght@100..900&family=Bakbak+One&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
|
|
513
|
-
html,
|
|
514
|
-
body,
|
|
515
|
-
#storybook-root {
|
|
516
|
-
height: 100%;
|
|
517
|
-
width: 100%;
|
|
518
|
-
}
|
|
519
|
-
/* width */
|
|
520
|
-
*::-webkit-scrollbar {
|
|
521
|
-
width: 8px;
|
|
522
|
-
border-radius: 2px;
|
|
523
|
-
overflow: hidden;
|
|
524
|
-
height: 5px;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/* Track */
|
|
528
|
-
*::-webkit-scrollbar-track {
|
|
529
|
-
box-shadow: inset 0 0 5px grey;
|
|
530
|
-
background: rgb(136, 136, 136);
|
|
531
|
-
border-radius: 2px;
|
|
532
|
-
overflow: hidden;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/* Handle */
|
|
536
|
-
*::-webkit-scrollbar-thumb {
|
|
537
|
-
border-radius: 2px;
|
|
538
|
-
background: rgb(200, 215, 217);
|
|
539
|
-
}
|
|
540
|
-
</style>
|
|
541
|
-
|
|
542
|
-
<script type="module" crossorigin src="./assets/iframe-CiJg9Ueh.js"></script>
|
|
543
|
-
</head>
|
|
544
|
-
|
|
545
|
-
<body>
|
|
546
|
-
<div class="sb-preparing-story sb-wrapper">
|
|
547
|
-
<div class="sb-loader"></div>
|
|
548
|
-
</div>
|
|
549
|
-
|
|
550
|
-
<div class="sb-preparing-docs sb-wrapper">
|
|
551
|
-
<div class="sb-previewBlock">
|
|
552
|
-
<div class="sb-previewBlock_header">
|
|
553
|
-
<div class="sb-previewBlock_icon"></div>
|
|
554
|
-
<div class="sb-previewBlock_icon"></div>
|
|
555
|
-
<div class="sb-previewBlock_icon"></div>
|
|
556
|
-
<div class="sb-previewBlock_icon"></div>
|
|
557
|
-
</div>
|
|
558
|
-
<div class="sb-previewBlock_body">
|
|
559
|
-
<div class="sb-loader"></div>
|
|
560
|
-
</div>
|
|
561
|
-
</div>
|
|
562
|
-
<table aria-hidden="true" class="sb-argstableBlock">
|
|
563
|
-
<thead class="sb-argstableBlock-head">
|
|
564
|
-
<tr>
|
|
565
|
-
<th><span>Name</span></th>
|
|
566
|
-
<th><span>Description</span></th>
|
|
567
|
-
<th><span>Default</span></th>
|
|
568
|
-
<th><span>Control </span></th>
|
|
569
|
-
</tr>
|
|
570
|
-
</thead>
|
|
571
|
-
<tbody class="sb-argstableBlock-body">
|
|
572
|
-
<tr>
|
|
573
|
-
<td><span>propertyName</span><span title="Required">*</span></td>
|
|
574
|
-
<td>
|
|
575
|
-
<div><span>This is a short description</span></div>
|
|
576
|
-
<div class="sb-argstableBlock-summary">
|
|
577
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
578
|
-
</div>
|
|
579
|
-
</td>
|
|
580
|
-
<td>
|
|
581
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
582
|
-
</td>
|
|
583
|
-
<td><button>Set string</button></td>
|
|
584
|
-
</tr>
|
|
585
|
-
<tr>
|
|
586
|
-
<td><span>propertyName</span><span>*</span></td>
|
|
587
|
-
<td>
|
|
588
|
-
<div><span>This is a short description</span></div>
|
|
589
|
-
<div class="sb-argstableBlock-summary">
|
|
590
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
591
|
-
</div>
|
|
592
|
-
</td>
|
|
593
|
-
<td>
|
|
594
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
595
|
-
</td>
|
|
596
|
-
<td><button>Set string</button></td>
|
|
597
|
-
</tr>
|
|
598
|
-
<tr>
|
|
599
|
-
<td><span>propertyName</span><span>*</span></td>
|
|
600
|
-
<td>
|
|
601
|
-
<div><span>This is a short description</span></div>
|
|
602
|
-
<div class="sb-argstableBlock-summary">
|
|
603
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
604
|
-
</div>
|
|
605
|
-
</td>
|
|
606
|
-
<td>
|
|
607
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
608
|
-
</td>
|
|
609
|
-
<td><button>Set string</button></td>
|
|
610
|
-
</tr>
|
|
611
|
-
</tbody>
|
|
612
|
-
</table>
|
|
613
|
-
</div>
|
|
614
|
-
|
|
615
|
-
<div class="sb-nopreview sb-wrapper">
|
|
616
|
-
<div class="sb-nopreview_main">
|
|
617
|
-
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
|
618
|
-
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
|
619
|
-
<ul>
|
|
620
|
-
<li>Please check the Storybook config.</li>
|
|
621
|
-
<li>Try reloading the page.</li>
|
|
622
|
-
</ul>
|
|
623
|
-
<p>
|
|
624
|
-
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
|
625
|
-
</p>
|
|
626
|
-
</div>
|
|
627
|
-
</div>
|
|
628
|
-
|
|
629
|
-
<div class="sb-errordisplay sb-wrapper">
|
|
630
|
-
<div class="sb-errordisplay_main">
|
|
631
|
-
<h1 id="error-message"></h1>
|
|
632
|
-
<p>
|
|
633
|
-
The component failed to render properly, likely due to a configuration issue in Storybook.
|
|
634
|
-
Here are some common causes and how you can address them:
|
|
635
|
-
</p>
|
|
636
|
-
<ol>
|
|
637
|
-
<li>
|
|
638
|
-
<strong>Missing Context/Providers</strong>: You can use decorators to supply specific
|
|
639
|
-
contexts or providers, which are sometimes necessary for components to render correctly. For
|
|
640
|
-
detailed instructions on using decorators, please visit the
|
|
641
|
-
<a href="https://storybook.js.org/docs/writing-stories/decorators"
|
|
642
|
-
>Decorators documentation</a
|
|
643
|
-
>.
|
|
644
|
-
</li>
|
|
645
|
-
<li>
|
|
646
|
-
<strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary
|
|
647
|
-
settings for loaders, plugins, and other relevant parameters. You can find step-by-step
|
|
648
|
-
guides for configuring
|
|
649
|
-
<a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or
|
|
650
|
-
<a href="https://storybook.js.org/docs/builders/vite">Vite</a>
|
|
651
|
-
with Storybook.
|
|
652
|
-
</li>
|
|
653
|
-
<li>
|
|
654
|
-
<strong>Missing Environment Variables</strong>: Your Storybook may require specific
|
|
655
|
-
environment variables to function as intended. You can set up custom environment variables
|
|
656
|
-
as outlined in the
|
|
657
|
-
<a href="https://storybook.js.org/docs/configure/environment-variables"
|
|
658
|
-
>Environment Variables documentation</a
|
|
659
|
-
>.
|
|
660
|
-
</li>
|
|
661
|
-
</ol>
|
|
662
|
-
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
663
|
-
</div>
|
|
664
|
-
</div>
|
|
665
|
-
|
|
666
|
-
<div id="storybook-root"></div>
|
|
667
|
-
<div id="storybook-docs"></div>
|
|
668
|
-
<script>
|
|
669
|
-
// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/naming-convention
|
|
670
|
-
function __onViteAppLoadingError(event) {
|
|
671
|
-
const hostname = globalThis.location.hostname;
|
|
672
|
-
if (hostname !== 'localhost' && globalThis.CONFIG_TYPE === 'DEVELOPMENT') {
|
|
673
|
-
const message = `Failed to load the Storybook preview file 'vite-app.js':
|
|
674
|
-
|
|
675
|
-
It looks like you're visiting the Storybook development server on another hostname than localhost: '${hostname}', but you haven't configured the necessary security features to support this.
|
|
676
|
-
Please re-run your Storybook development server with the '--host ${hostname}' flag, or manually configure your Vite allowedHosts configuration with viteFinal.
|
|
677
|
-
|
|
678
|
-
See:`;
|
|
679
|
-
const docs = [
|
|
680
|
-
'https://storybook.js.org/docs/api/cli-options#dev',
|
|
681
|
-
'https://storybook.js.org/docs/api/main-config/main-config-vite-final',
|
|
682
|
-
'https://vite.dev/config/server-options.html#server-allowedhosts',
|
|
683
|
-
];
|
|
684
|
-
console.error(`${message}\n${docs.map((doc) => `- ${doc}`).join('\n')}`);
|
|
685
|
-
|
|
686
|
-
document.getElementById('storybook-root').innerHTML =
|
|
687
|
-
`<p style="color: red; max-width: 70ch">${message.replaceAll(
|
|
688
|
-
'\n',
|
|
689
|
-
'<br/>'
|
|
690
|
-
)}<ul>${docs.map((doc) => `<li><a href='${doc}' target='_blank'>${doc}</a></li>`).join('')}<ul></p>`;
|
|
691
|
-
return;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
</script>
|
|
695
|
-
</body>
|
|
696
|
-
</html>
|