The baseline is taller than the new snapshot (1200x900 to 1200x32).
Baseline History
Build 113895195d7d
Current build. There are unaccepted changes, so build 1 is still the baseline.
Build 1d67dc09 current baseline
Auto-accepted
Commenting is disabled because there's a newer build on this branch
DOM Diff
file.html a
CHANGED
@@ -1,4 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="sb-nopreview sb-wrapper">
|
2 |
<div class="sb-nopreview_main">
|
3 |
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
4 |
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
@@ -10,13 +118,62 @@
|
|
10 |
run Storybook from.</p>
|
11 |
</div>
|
12 |
</div>
|
13 |
<div class="sb-errordisplay sb-wrapper">
|
14 |
-
<div
|
15 |
-
|
16 |
-
<
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</div>
|
19 |
-
<div id="root"></div>
|
20 |
-
<
|
21 |
-
<script
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="sb-preparing-story sb-wrapper">
|
2 |
+
<div class="sb-loader"></div>
|
3 |
+
</div>
|
4 |
+
<div class="sb-preparing-docs sb-wrapper">
|
5 |
+
<div class="sb-previewBlock">
|
6 |
+
<div class="sb-previewBlock_header">
|
7 |
+
<div class="sb-previewBlock_icon"></div>
|
8 |
+
<div class="sb-previewBlock_icon"></div>
|
9 |
+
<div class="sb-previewBlock_icon"></div>
|
10 |
+
<div class="sb-previewBlock_icon"></div>
|
11 |
+
</div>
|
12 |
+
<div class="sb-previewBlock_body">
|
13 |
+
<div class="sb-loader"></div>
|
14 |
+
</div>
|
15 |
+
</div>
|
16 |
+
<table aria-hidden="true" class="sb-argstableBlock">
|
17 |
+
<thead class="sb-argstableBlock-head">
|
18 |
+
<tr>
|
19 |
+
<th>
|
20 |
+
<span>Name</span>
|
21 |
+
</th>
|
22 |
+
<th>
|
23 |
+
<span>Description</span>
|
24 |
+
</th>
|
25 |
+
<th>
|
26 |
+
<span>Default</span>
|
27 |
+
</th>
|
28 |
+
<th>
|
29 |
+
<span>Control</span>
|
30 |
+
</th>
|
31 |
+
</tr>
|
32 |
+
</thead>
|
33 |
+
<tbody class="sb-argstableBlock-body">
|
34 |
+
<tr>
|
35 |
+
<td>
|
36 |
+
<span>propertyName</span>
|
37 |
+
<span title="Required">*</span>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<div>
|
41 |
+
<span>This is a short description</span>
|
42 |
+
</div>
|
43 |
+
<div class="sb-argstableBlock-summary">
|
44 |
+
<div>
|
45 |
+
<span class="sb-argstableBlock-code">summary</span>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</td>
|
49 |
+
<td>
|
50 |
+
<div>
|
51 |
+
<span class="sb-argstableBlock-code">defaultValue</span>
|
52 |
+
</div>
|
53 |
+
</td>
|
54 |
+
<td>
|
55 |
+
<button>Set string</button>
|
56 |
+
</td>
|
57 |
+
</tr>
|
58 |
+
<tr>
|
59 |
+
<td>
|
60 |
+
<span>propertyName</span>
|
61 |
+
<span>*</span>
|
62 |
+
</td>
|
63 |
+
<td>
|
64 |
+
<div>
|
65 |
+
<span>This is a short description</span>
|
66 |
+
</div>
|
67 |
+
<div class="sb-argstableBlock-summary">
|
68 |
+
<div>
|
69 |
+
<span class="sb-argstableBlock-code">summary</span>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
</td>
|
73 |
+
<td>
|
74 |
+
<div>
|
75 |
+
<span class="sb-argstableBlock-code">defaultValue</span>
|
76 |
+
</div>
|
77 |
+
</td>
|
78 |
+
<td>
|
79 |
+
<button>Set string</button>
|
80 |
+
</td>
|
81 |
+
</tr>
|
82 |
+
<tr>
|
83 |
+
<td>
|
84 |
+
<span>propertyName</span>
|
85 |
+
<span>*</span>
|
86 |
+
</td>
|
87 |
+
<td>
|
88 |
+
<div>
|
89 |
+
<span>This is a short description</span>
|
90 |
+
</div>
|
91 |
+
<div class="sb-argstableBlock-summary">
|
92 |
+
<div>
|
93 |
+
<span class="sb-argstableBlock-code">summary</span>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</td>
|
97 |
+
<td>
|
98 |
+
<div>
|
99 |
+
<span class="sb-argstableBlock-code">defaultValue</span>
|
100 |
+
</div>
|
101 |
+
</td>
|
102 |
+
<td>
|
103 |
+
<button>Set string</button>
|
104 |
+
</td>
|
105 |
+
</tr>
|
106 |
+
</tbody>
|
107 |
+
</table>
|
108 |
+
</div>
|
109 |
<div class="sb-nopreview sb-wrapper">
|
110 |
<div class="sb-nopreview_main">
|
111 |
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
112 |
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
118 |
run Storybook from.</p>
|
119 |
</div>
|
120 |
</div>
|
121 |
<div class="sb-errordisplay sb-wrapper">
|
122 |
+
<div class="sb-errordisplay_main">
|
123 |
+
<h1 id="error-message"></h1>
|
124 |
+
<p>The component failed to render properly, likely due to a configuration
|
125 |
+
issue in Storybook. Here are some common causes and how you can address
|
126 |
+
them:</p>
|
127 |
+
<ol>
|
128 |
+
<li>
|
129 |
+
<strong>Missing Context/Providers</strong>: You can use decorators to supply specific
|
130 |
+
contexts or providers, which are sometimes necessary for components to
|
131 |
+
render correctly. For detailed instructions on using decorators, please
|
132 |
+
visit the
|
133 |
+
<a href="https://storybook.js.org/docs/writing-stories/decorators">Decorators documentation</a>.</li>
|
134 |
+
<li>
|
135 |
+
<strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up
|
136 |
+
all necessary settings for loaders, plugins, and other relevant parameters.
|
137 |
+
You can find step-by-step guides for configuring
|
138 |
+
<a href="https://storybook.js.org/docs/builders/webpack">Webpack</a>or
|
139 |
+
<a href="https://storybook.js.org/docs/builders/vite">Vite</a>with Storybook.</li>
|
140 |
+
<li>
|
141 |
+
<strong>Missing Environment Variables</strong>: Your Storybook may require specific
|
142 |
+
environment variables to function as intended. You can set up custom environment
|
143 |
+
variables as outlined in the
|
144 |
+
<a href="https://storybook.js.org/docs/configure/environment-variables">Environment Variables documentation</a>.</li>
|
145 |
+
</ol>
|
146 |
+
<pre class="sb-errordisplay_code">
|
147 |
+
<code id="error-stack"></code>
|
148 |
+
</pre>
|
149 |
+
</div>
|
150 |
</div>
|
151 |
+
<div id="storybook-root"></div>
|
152 |
+
<div id="storybook-docs" hidden="true"></div>
|
153 |
+
<script>
|
154 |
+
// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/naming-convention
|
155 |
+
function __onViteAppLoadingError(event) {
|
156 |
+
const hostname = globalThis.location.hostname;
|
157 |
+
if (hostname !== 'localhost' && globalThis.CONFIG_TYPE === 'DEVELOPMENT') {
|
158 |
+
const message = `Failed to load the Storybook preview file 'vite-app.js':
|
159 |
+
|
160 |
+
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.
|
161 |
+
Please re-run your Storybook development server with the '--host ${hostname}' flag, or manually configure your Vite allowedHosts configuration with viteFinal.
|
162 |
+
|
163 |
+
See:`;
|
164 |
+
const docs = [
|
165 |
+
'https://storybook.js.org/docs/api/cli-options#dev',
|
166 |
+
'https://storybook.js.org/docs/api/main-config/main-config-vite-final',
|
167 |
+
'https://vite.dev/config/server-options.html#server-allowedhosts',
|
168 |
+
];
|
169 |
+
console.error(`${message}\n${docs.map((doc) => `- ${doc}`).join('\n')}`);
|
170 |
+
|
171 |
+
document.getElementById('storybook-root').innerHTML =
|
172 |
+
`<p style="color: red; max-width: 70ch">${message.replaceAll(
|
173 |
+
'\n',
|
174 |
+
'<br/>'
|
175 |
+
)}<ul>${docs.map((doc) => `<li><a href='${doc}' target='_blank'>${doc}</a></li>`).join('')}<ul></p>`;
|
176 |
+
return;
|
177 |
+
}
|
178 |
+
}
|
179 |
+
</script>
|