@vueless/storybook 0.0.44 → 0.0.45
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/.storybook/index.css +68 -11
- package/.storybook/main.js +2 -1
- package/.storybook/manager-head.html +4 -0
- package/package.json +1 -1
package/.storybook/index.css
CHANGED
|
@@ -31,8 +31,26 @@ body {
|
|
|
31
31
|
@apply !text-gray-200;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.sbdocs .sbdocs-content > table tr {
|
|
35
|
+
@apply border-none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sbdocs .sbdocs-content > table th,
|
|
39
|
+
.sbdocs .sbdocs-content > table td {
|
|
40
|
+
@apply border-l-0 border-t-0 text-left;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sbdocs .sbdocs-content > table th:last-child,
|
|
44
|
+
.sbdocs .sbdocs-content > table td:last-child {
|
|
45
|
+
@apply border-r-0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.sbdocs .sbdocs-content > table tbody tr:last-child td {
|
|
49
|
+
@apply border-b-0;
|
|
50
|
+
}
|
|
51
|
+
|
|
34
52
|
.light .sbdocs .sbdocs-content > table th {
|
|
35
|
-
@apply bg-gray-100 border-gray-200
|
|
53
|
+
@apply bg-gray-100 border-gray-200;
|
|
36
54
|
}
|
|
37
55
|
|
|
38
56
|
.light .sbdocs .sbdocs-content > table td {
|
|
@@ -44,7 +62,7 @@ body {
|
|
|
44
62
|
}
|
|
45
63
|
|
|
46
64
|
.dark .sbdocs .sbdocs-content > table th {
|
|
47
|
-
@apply bg-gray-800 border-gray-700
|
|
65
|
+
@apply bg-gray-800 border-gray-700;
|
|
48
66
|
}
|
|
49
67
|
|
|
50
68
|
.dark .sbdocs .sbdocs-content > table td {
|
|
@@ -111,6 +129,16 @@ body {
|
|
|
111
129
|
|
|
112
130
|
/* -------------------- Args table -------------------- */
|
|
113
131
|
|
|
132
|
+
@media screen and (max-width: 600px) {
|
|
133
|
+
div:has(> .docblock-argstable) {
|
|
134
|
+
@apply !mb-10 overflow-x-scroll;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.docblock-argstable {
|
|
138
|
+
@apply !mb-0;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
114
142
|
.dark .docblock-argstable,
|
|
115
143
|
.dark .docblock-argstable-head th {
|
|
116
144
|
@apply !text-gray-200;
|
|
@@ -159,48 +187,68 @@ body {
|
|
|
159
187
|
@apply bg-gray-100 border-gray-200 text-gray-800;
|
|
160
188
|
}
|
|
161
189
|
|
|
190
|
+
.dark .rejt-value-node:hover .rejt-value,
|
|
162
191
|
.dark .sbdocs .sbdocs-content code,
|
|
163
192
|
.dark .docblock-argstable-body tr > td > div + div > span[class],
|
|
164
193
|
.dark .docblock-argstable-body tr > td > div + div > div > span,
|
|
165
194
|
.dark .docblock-argstable-body tr > td:nth-child(2) > div > div > span[class],
|
|
166
195
|
.dark .docblock-argstable-body tr > td:nth-child(3) > div > span[class],
|
|
167
196
|
.dark .docblock-argstable-body tr > td:nth-child(3) > span[class] {
|
|
168
|
-
@apply bg-gray-800 border-gray-700/50 text-gray-400;
|
|
197
|
+
@apply !bg-gray-800 !border-gray-700/50 !text-gray-400;
|
|
169
198
|
}
|
|
170
199
|
|
|
171
200
|
.dark .docblock-argstable-body tr > td > div + div > span:not([class]) {
|
|
172
201
|
@apply text-gray-400;
|
|
173
202
|
}
|
|
174
203
|
|
|
175
|
-
.dark .docblock-argstable-body tr > td
|
|
204
|
+
.dark .docblock-argstable-body tr > td .rejt-edit-form,
|
|
205
|
+
.dark .docblock-argstable-body tr > td input:not([type="checkbox"]),
|
|
176
206
|
.dark .docblock-argstable-body tr > td textarea,
|
|
177
207
|
.dark .docblock-argstable-body tr > td select,
|
|
178
208
|
.dark .docblock-argstable-body tr > td:nth-child(4) button {
|
|
179
|
-
@apply text-gray-200 bg-gray-800 border border-solid border-gray-700/50 hover:border-gray-600 focus:border-gray-500;
|
|
209
|
+
@apply text-gray-200 bg-gray-800 border border-solid border-gray-700/50 hover:border-gray-600 focus:border-gray-500 text-[13px];
|
|
180
210
|
box-shadow: none !important;
|
|
211
|
+
color-scheme: dark;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.docblock-argstable-body tr > td .rejt-add-value-node button {
|
|
215
|
+
@apply px-1.5 py-0.5 leading-none;
|
|
181
216
|
}
|
|
182
217
|
|
|
183
|
-
.light .docblock-argstable-body tr > td
|
|
218
|
+
.light .docblock-argstable-body tr > td .rejt-add-value-node button[type="submit"] {
|
|
219
|
+
@apply bg-white;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.light .docblock-argstable-body tr > td .rejt-edit-form,
|
|
223
|
+
.light .docblock-argstable-body tr > td input:not([type="checkbox"]),
|
|
184
224
|
.light .docblock-argstable-body tr > td textarea,
|
|
185
225
|
.light .docblock-argstable-body tr > td select,
|
|
186
226
|
.light .docblock-argstable-body tr > td:nth-child(4) button {
|
|
187
|
-
@apply border border-solid border-gray-300 hover:border-gray-400 focus:border-gray-500;
|
|
227
|
+
@apply text-gray-900 border border-solid border-gray-300 hover:border-gray-400 focus:border-gray-500 text-[13px];
|
|
188
228
|
box-shadow: none !important;
|
|
189
229
|
}
|
|
190
230
|
|
|
231
|
+
.dark .docblock-argstable-body label[aria-disabled] {
|
|
232
|
+
@apply bg-gray-800;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.dark .docblock-argstable-body label[aria-disabled] span {
|
|
236
|
+
@apply text-gray-200;
|
|
237
|
+
}
|
|
238
|
+
|
|
191
239
|
.dark .docblock-argstable-body [type='checkbox'],
|
|
192
240
|
.dark .docblock-argstable-body [type='radio'] {
|
|
193
|
-
@apply
|
|
241
|
+
@apply border border-solid !border-gray-700;
|
|
194
242
|
box-shadow: none !important;
|
|
195
243
|
}
|
|
196
244
|
|
|
197
245
|
.dark .docblock-argstable-body [type='checkbox']:checked,
|
|
198
246
|
.dark .docblock-argstable-body [type='radio']:checked {
|
|
199
|
-
@apply bg-gray-
|
|
247
|
+
@apply bg-gray-900 invert grayscale !border-gray-300;
|
|
200
248
|
}
|
|
201
249
|
|
|
202
|
-
.docblock-argstable-body [type='checkbox']:checked,
|
|
203
|
-
.docblock-argstable-body [type='radio']:checked {
|
|
250
|
+
.light .docblock-argstable-body [type='checkbox']:checked,
|
|
251
|
+
.light .docblock-argstable-body [type='radio']:checked {
|
|
204
252
|
@apply !bg-gray-900;
|
|
205
253
|
}
|
|
206
254
|
|
|
@@ -209,6 +257,15 @@ body {
|
|
|
209
257
|
@apply !ring-gray-300;
|
|
210
258
|
}
|
|
211
259
|
|
|
260
|
+
.dark .rejt-name,
|
|
261
|
+
.dark .rejt-collapsed-text {
|
|
262
|
+
@apply !text-gray-400;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.dark .rejt-value {
|
|
266
|
+
@apply !text-gray-200;
|
|
267
|
+
}
|
|
268
|
+
|
|
212
269
|
/* -------------------- Code block and user markdown -------------------- */
|
|
213
270
|
|
|
214
271
|
#storybook-docs h2 {
|
package/.storybook/main.js
CHANGED
|
@@ -11,7 +11,8 @@ export default {
|
|
|
11
11
|
"@storybook/addon-essentials",
|
|
12
12
|
"@storybook/addon-interactions",
|
|
13
13
|
"storybook-dark-mode",
|
|
14
|
-
//
|
|
14
|
+
// TODO: remove the condition when the dark mode will be implemented to the components.
|
|
15
|
+
process.env.NODE_ENV === "development" && "@storybook/addon-themes",
|
|
15
16
|
],
|
|
16
17
|
framework: {
|
|
17
18
|
name: "@storybook/vue3-vite",
|