@schemacast/react 0.0.0-stage → 0.5.1
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/LICENSE +21 -0
- package/README.md +37 -2
- package/dist/auto-visual.d.ts +32 -0
- package/dist/auto-visual.js +27 -0
- package/dist/field-by-key.d.ts +3 -0
- package/dist/field-by-key.js +7 -0
- package/dist/format-field-value.d.ts +16 -0
- package/dist/format-field-value.js +84 -0
- package/dist/implemented-archetypes.d.ts +2 -0
- package/dist/implemented-archetypes.js +17 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +10 -0
- package/dist/use-selected-view-id.d.ts +6 -0
- package/dist/use-selected-view-id.js +17 -0
- package/dist/view-switcher.d.ts +26 -0
- package/dist/view-switcher.js +63 -0
- package/dist/views/archetype-view.d.ts +16 -0
- package/dist/views/archetype-view.js +71 -0
- package/dist/views/bar-chart-options.d.ts +22 -0
- package/dist/views/bar-chart-options.js +103 -0
- package/dist/views/bar-chart-view.d.ts +17 -0
- package/dist/views/bar-chart-view.js +25 -0
- package/dist/views/build-hierarchy-tree-data.d.ts +8 -0
- package/dist/views/build-hierarchy-tree-data.js +32 -0
- package/dist/views/build-node-graph-data.d.ts +20 -0
- package/dist/views/build-node-graph-data.js +44 -0
- package/dist/views/chart-series-data.d.ts +61 -0
- package/dist/views/chart-series-data.js +150 -0
- package/dist/views/chart-value-axes.d.ts +45 -0
- package/dist/views/chart-value-axes.js +214 -0
- package/dist/views/data-table-constants.d.ts +3 -0
- package/dist/views/data-table-constants.js +3 -0
- package/dist/views/data-table-rows.d.ts +8 -0
- package/dist/views/data-table-rows.js +50 -0
- package/dist/views/data-table-view.d.ts +16 -0
- package/dist/views/data-table-view.js +76 -0
- package/dist/views/detail-card-view.d.ts +16 -0
- package/dist/views/detail-card-view.js +59 -0
- package/dist/views/edge-weight-width.d.ts +23 -0
- package/dist/views/edge-weight-width.js +47 -0
- package/dist/views/hierarchy-tree-view.d.ts +16 -0
- package/dist/views/hierarchy-tree-view.js +58 -0
- package/dist/views/json-tree-view.d.ts +15 -0
- package/dist/views/json-tree-view.js +115 -0
- package/dist/views/kanban-view.d.ts +16 -0
- package/dist/views/kanban-view.js +41 -0
- package/dist/views/kpi-grid-view.d.ts +16 -0
- package/dist/views/kpi-grid-view.js +34 -0
- package/dist/views/line-chart-options.d.ts +16 -0
- package/dist/views/line-chart-options.js +98 -0
- package/dist/views/line-chart-view.d.ts +16 -0
- package/dist/views/line-chart-view.js +31 -0
- package/dist/views/node-graph-options.d.ts +26 -0
- package/dist/views/node-graph-options.js +111 -0
- package/dist/views/node-graph-view.d.ts +16 -0
- package/dist/views/node-graph-view.js +28 -0
- package/dist/views/pie-chart-view.d.ts +16 -0
- package/dist/views/pie-chart-view.js +56 -0
- package/dist/views/timeline-view.d.ts +16 -0
- package/dist/views/timeline-view.js +86 -0
- package/dist/views/use-echarts.d.ts +4 -0
- package/dist/views/use-echarts.js +233 -0
- package/dist/visual-spec-view.d.ts +28 -0
- package/dist/visual-spec-view.js +31 -0
- package/package.json +56 -3
- package/styles.css +688 -0
package/styles.css
ADDED
|
@@ -0,0 +1,688 @@
|
|
|
1
|
+
.schemacast-auto-visual {
|
|
2
|
+
--schemacast-background: #ffffff;
|
|
3
|
+
--schemacast-foreground: #202a36;
|
|
4
|
+
--schemacast-muted: #637083;
|
|
5
|
+
--schemacast-border: #d7dee8;
|
|
6
|
+
--schemacast-hover: #f0f4f8;
|
|
7
|
+
--schemacast-active: #e8f0fb;
|
|
8
|
+
--schemacast-accent: #2867b2;
|
|
9
|
+
--schemacast-pie-color-1: #2867b2;
|
|
10
|
+
--schemacast-pie-color-2: #c44e52;
|
|
11
|
+
--schemacast-pie-color-3: #55a868;
|
|
12
|
+
--schemacast-pie-color-4: #8172b3;
|
|
13
|
+
--schemacast-pie-color-5: #cc8c2f;
|
|
14
|
+
--schemacast-pie-color-6: #4c9f9a;
|
|
15
|
+
--schemacast-pie-color-7: #b55d9e;
|
|
16
|
+
--schemacast-pie-color-8: #7a7a4e;
|
|
17
|
+
--schemacast-json-string: #0f766e;
|
|
18
|
+
--schemacast-json-number: #1d4ed8;
|
|
19
|
+
--schemacast-json-boolean: #6d28d9;
|
|
20
|
+
--schemacast-json-null: #637083;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
color: var(--schemacast-foreground);
|
|
23
|
+
font-family:
|
|
24
|
+
Inter,
|
|
25
|
+
ui-sans-serif,
|
|
26
|
+
system-ui,
|
|
27
|
+
-apple-system,
|
|
28
|
+
BlinkMacSystemFont,
|
|
29
|
+
'Segoe UI',
|
|
30
|
+
sans-serif;
|
|
31
|
+
font-size: 0.9375rem;
|
|
32
|
+
line-height: 1.5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.schemacast-view-switcher {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 0.25rem;
|
|
38
|
+
overflow-x: auto;
|
|
39
|
+
border-bottom: 1px solid var(--schemacast-border);
|
|
40
|
+
margin: 0 0 1rem;
|
|
41
|
+
scrollbar-width: thin;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.schemacast-view-switcher-tab {
|
|
45
|
+
appearance: none;
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
border: 0;
|
|
48
|
+
border-bottom: 2px solid transparent;
|
|
49
|
+
border-radius: 0.375rem 0.375rem 0 0;
|
|
50
|
+
margin-bottom: -1px;
|
|
51
|
+
padding: 0.625rem 0.875rem;
|
|
52
|
+
background: transparent;
|
|
53
|
+
color: var(--schemacast-muted);
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
font: inherit;
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
transition:
|
|
58
|
+
background-color 120ms ease,
|
|
59
|
+
border-color 120ms ease,
|
|
60
|
+
color 120ms ease;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.schemacast-view-switcher-tab:hover {
|
|
64
|
+
background: var(--schemacast-hover);
|
|
65
|
+
color: var(--schemacast-foreground);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.schemacast-view-switcher-tab[aria-selected='true'] {
|
|
69
|
+
border-bottom-color: var(--schemacast-accent);
|
|
70
|
+
background: var(--schemacast-active);
|
|
71
|
+
color: var(--schemacast-foreground);
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.schemacast-view-switcher-tab:focus-visible,
|
|
76
|
+
.schemacast-view-rationale-summary:focus-visible {
|
|
77
|
+
outline: 2px solid var(--schemacast-accent);
|
|
78
|
+
outline-offset: 2px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.schemacast-view-switcher-tab:focus:not(:focus-visible) {
|
|
82
|
+
outline: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.schemacast-view-panel {
|
|
86
|
+
min-width: 0;
|
|
87
|
+
border: 1px solid var(--schemacast-border);
|
|
88
|
+
border-radius: 0.75rem;
|
|
89
|
+
padding: 1.125rem;
|
|
90
|
+
background: var(--schemacast-background);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.schemacast-auto-visual .sr-only {
|
|
94
|
+
position: absolute;
|
|
95
|
+
width: 1px;
|
|
96
|
+
height: 1px;
|
|
97
|
+
padding: 0;
|
|
98
|
+
margin: -1px;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
clip: rect(0, 0, 0, 0);
|
|
101
|
+
clip-path: inset(50%);
|
|
102
|
+
white-space: nowrap;
|
|
103
|
+
border: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.schemacast-view-panel-header {
|
|
107
|
+
margin-bottom: 1rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.schemacast-view-rationale {
|
|
111
|
+
color: var(--schemacast-muted);
|
|
112
|
+
font-size: 0.8125rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.schemacast-view-rationale-summary {
|
|
116
|
+
width: fit-content;
|
|
117
|
+
border-radius: 0.25rem;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
font-weight: 500;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.schemacast-view-rationale-summary:hover {
|
|
123
|
+
color: var(--schemacast-foreground);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.schemacast-view-rationale-content {
|
|
127
|
+
display: grid;
|
|
128
|
+
gap: 0.25rem;
|
|
129
|
+
margin-top: 0.5rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.schemacast-view-rationale-item {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-wrap: wrap;
|
|
135
|
+
gap: 0.25rem 0.625rem;
|
|
136
|
+
margin: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.schemacast-view-rationale-label {
|
|
140
|
+
min-width: 3.25rem;
|
|
141
|
+
color: var(--schemacast-muted);
|
|
142
|
+
font-weight: 600;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.schemacast-data-table-view {
|
|
146
|
+
min-width: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.schemacast-data-table-toolbar {
|
|
150
|
+
display: flex;
|
|
151
|
+
justify-content: flex-end;
|
|
152
|
+
margin-bottom: 0.875rem;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.schemacast-data-table-search {
|
|
156
|
+
display: grid;
|
|
157
|
+
width: min(100%, 22rem);
|
|
158
|
+
gap: 0.375rem;
|
|
159
|
+
color: var(--schemacast-muted);
|
|
160
|
+
font-size: 0.8125rem;
|
|
161
|
+
font-weight: 600;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.schemacast-data-table-search-input {
|
|
165
|
+
width: 100%;
|
|
166
|
+
border: 1px solid var(--schemacast-border);
|
|
167
|
+
border-radius: 0.5rem;
|
|
168
|
+
padding: 0.625rem 0.75rem;
|
|
169
|
+
background: var(--schemacast-background);
|
|
170
|
+
color: var(--schemacast-foreground);
|
|
171
|
+
font: inherit;
|
|
172
|
+
font-weight: 400;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.schemacast-data-table-search-input::placeholder {
|
|
176
|
+
color: var(--schemacast-muted);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.schemacast-data-table-search-input:focus-visible,
|
|
180
|
+
.schemacast-data-table-sort-button:focus-visible,
|
|
181
|
+
.schemacast-data-table-pagination-button:focus-visible {
|
|
182
|
+
outline: 2px solid var(--schemacast-accent);
|
|
183
|
+
outline-offset: 2px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.schemacast-data-table-scroll {
|
|
187
|
+
width: 100%;
|
|
188
|
+
overflow-x: auto;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.schemacast-data-table {
|
|
192
|
+
width: 100%;
|
|
193
|
+
border-collapse: collapse;
|
|
194
|
+
font-variant-numeric: tabular-nums;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.schemacast-data-table-header {
|
|
198
|
+
border-bottom: 1px solid var(--schemacast-border);
|
|
199
|
+
padding: 0.75rem 0.875rem;
|
|
200
|
+
background: var(--schemacast-hover);
|
|
201
|
+
text-align: left;
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.schemacast-data-table-header--numeric {
|
|
206
|
+
text-align: right;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.schemacast-data-table-sort-button {
|
|
210
|
+
display: inline-flex;
|
|
211
|
+
align-items: center;
|
|
212
|
+
gap: 0.375rem;
|
|
213
|
+
border: 0;
|
|
214
|
+
border-radius: 0.25rem;
|
|
215
|
+
padding: 0;
|
|
216
|
+
background: transparent;
|
|
217
|
+
color: inherit;
|
|
218
|
+
cursor: pointer;
|
|
219
|
+
font: inherit;
|
|
220
|
+
font-weight: 600;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.schemacast-data-table-sort-button:hover {
|
|
224
|
+
color: var(--schemacast-accent);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.schemacast-data-table-sort-indicator {
|
|
228
|
+
color: var(--schemacast-accent);
|
|
229
|
+
font-size: 0.875em;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.schemacast-data-table-cell {
|
|
233
|
+
border-bottom: 1px solid var(--schemacast-border);
|
|
234
|
+
padding: 0.75rem 0.875rem;
|
|
235
|
+
vertical-align: middle;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.schemacast-data-table-cell--numeric {
|
|
239
|
+
text-align: right;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.schemacast-data-table-row:hover .schemacast-data-table-cell {
|
|
243
|
+
background: var(--schemacast-hover);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.schemacast-data-table-pagination {
|
|
247
|
+
display: flex;
|
|
248
|
+
align-items: center;
|
|
249
|
+
justify-content: space-between;
|
|
250
|
+
gap: 1rem;
|
|
251
|
+
margin-top: 0.875rem;
|
|
252
|
+
color: var(--schemacast-muted);
|
|
253
|
+
font-size: 0.8125rem;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.schemacast-data-table-pagination-controls {
|
|
257
|
+
display: flex;
|
|
258
|
+
gap: 0.5rem;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.schemacast-data-table-pagination-button {
|
|
262
|
+
border: 1px solid var(--schemacast-border);
|
|
263
|
+
border-radius: 0.375rem;
|
|
264
|
+
padding: 0.375rem 0.625rem;
|
|
265
|
+
background: var(--schemacast-background);
|
|
266
|
+
color: var(--schemacast-foreground);
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
font: inherit;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.schemacast-data-table-pagination-button:hover:not(:disabled) {
|
|
272
|
+
background: var(--schemacast-hover);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.schemacast-data-table-pagination-button:disabled {
|
|
276
|
+
cursor: not-allowed;
|
|
277
|
+
opacity: 0.55;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.schemacast-detail-card {
|
|
281
|
+
display: grid;
|
|
282
|
+
min-width: 0;
|
|
283
|
+
gap: 0.75rem;
|
|
284
|
+
border: 1px solid var(--schemacast-border);
|
|
285
|
+
border-radius: 0.75rem;
|
|
286
|
+
padding: 1rem;
|
|
287
|
+
background: var(--schemacast-background);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.schemacast-detail-card-header {
|
|
291
|
+
display: grid;
|
|
292
|
+
gap: 0.125rem;
|
|
293
|
+
margin-bottom: 0.5rem;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.schemacast-detail-card-header h3 {
|
|
297
|
+
margin: 0;
|
|
298
|
+
color: var(--schemacast-foreground);
|
|
299
|
+
font-size: 1.25rem;
|
|
300
|
+
line-height: 1.25;
|
|
301
|
+
overflow-wrap: anywhere;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.schemacast-detail-card-header p {
|
|
305
|
+
margin: 0;
|
|
306
|
+
color: var(--schemacast-muted);
|
|
307
|
+
font-size: 0.875rem;
|
|
308
|
+
overflow-wrap: anywhere;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.schemacast-detail-card-grid {
|
|
312
|
+
display: grid;
|
|
313
|
+
margin: 0;
|
|
314
|
+
padding: 0;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.schemacast-detail-card-row {
|
|
318
|
+
display: grid;
|
|
319
|
+
grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
|
|
320
|
+
gap: 1rem;
|
|
321
|
+
border-bottom: 1px solid var(--schemacast-border);
|
|
322
|
+
padding: 0.75rem 0;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.schemacast-detail-card-row:last-child {
|
|
326
|
+
border-bottom: 0;
|
|
327
|
+
padding-bottom: 0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.schemacast-detail-card-label,
|
|
331
|
+
.schemacast-detail-card-value {
|
|
332
|
+
min-width: 0;
|
|
333
|
+
margin: 0;
|
|
334
|
+
overflow-wrap: anywhere;
|
|
335
|
+
text-align: left;
|
|
336
|
+
font-weight: 400;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.schemacast-detail-card-label {
|
|
340
|
+
color: var(--schemacast-muted);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.schemacast-detail-card-value {
|
|
344
|
+
color: var(--schemacast-foreground);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.schemacast-detail-card-badge {
|
|
348
|
+
display: inline-flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
border: 1px solid var(--schemacast-border);
|
|
351
|
+
border-radius: 999px;
|
|
352
|
+
padding: 0.125rem 0.5rem;
|
|
353
|
+
background: var(--schemacast-active);
|
|
354
|
+
color: var(--schemacast-foreground);
|
|
355
|
+
font-size: 0.8125rem;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.schemacast-detail-card-image-value {
|
|
359
|
+
display: inline-flex;
|
|
360
|
+
min-width: 0;
|
|
361
|
+
align-items: center;
|
|
362
|
+
gap: 0.625rem;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.schemacast-detail-card-avatar {
|
|
366
|
+
width: 2.5rem;
|
|
367
|
+
height: 2.5rem;
|
|
368
|
+
border: 1px solid var(--schemacast-border);
|
|
369
|
+
border-radius: 50%;
|
|
370
|
+
background: var(--schemacast-hover);
|
|
371
|
+
object-fit: cover;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.schemacast-detail-card-url-fallback {
|
|
375
|
+
overflow-wrap: anywhere;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.schemacast-kpi-grid {
|
|
379
|
+
display: grid;
|
|
380
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
|
381
|
+
gap: 1rem;
|
|
382
|
+
margin: 0;
|
|
383
|
+
padding: 0;
|
|
384
|
+
list-style: none;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.schemacast-kpi-card {
|
|
388
|
+
display: grid;
|
|
389
|
+
min-width: 0;
|
|
390
|
+
align-content: start;
|
|
391
|
+
gap: 0.5rem;
|
|
392
|
+
border: 1px solid var(--schemacast-border);
|
|
393
|
+
border-radius: 0.75rem;
|
|
394
|
+
padding: 1rem;
|
|
395
|
+
background: var(--schemacast-background);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.schemacast-kpi-label {
|
|
399
|
+
color: var(--schemacast-muted);
|
|
400
|
+
font-size: 0.8125rem;
|
|
401
|
+
font-weight: 600;
|
|
402
|
+
line-height: 1.35;
|
|
403
|
+
overflow-wrap: anywhere;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.schemacast-kpi-value {
|
|
407
|
+
color: var(--schemacast-foreground);
|
|
408
|
+
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
409
|
+
font-variant-numeric: tabular-nums;
|
|
410
|
+
line-height: 1.15;
|
|
411
|
+
overflow-wrap: anywhere;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.schemacast-timeline {
|
|
415
|
+
display: grid;
|
|
416
|
+
gap: 0;
|
|
417
|
+
margin: 0;
|
|
418
|
+
padding: 0;
|
|
419
|
+
list-style: none;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.schemacast-timeline-item {
|
|
423
|
+
position: relative;
|
|
424
|
+
display: grid;
|
|
425
|
+
grid-template-columns: 1.25rem minmax(0, 1fr);
|
|
426
|
+
gap: 0.875rem;
|
|
427
|
+
min-width: 0;
|
|
428
|
+
padding: 0.125rem 0 1.25rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.schemacast-timeline-item:not(:last-child)::before {
|
|
432
|
+
position: absolute;
|
|
433
|
+
top: 0.875rem;
|
|
434
|
+
bottom: 0;
|
|
435
|
+
left: 0.5625rem;
|
|
436
|
+
width: 2px;
|
|
437
|
+
background: var(--schemacast-border);
|
|
438
|
+
content: '';
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.schemacast-timeline-marker {
|
|
442
|
+
position: relative;
|
|
443
|
+
z-index: 1;
|
|
444
|
+
grid-column: 1;
|
|
445
|
+
grid-row: 1;
|
|
446
|
+
justify-self: center;
|
|
447
|
+
width: 0.75rem;
|
|
448
|
+
height: 0.75rem;
|
|
449
|
+
margin-top: 0.375rem;
|
|
450
|
+
border: 2px solid var(--schemacast-background);
|
|
451
|
+
border-radius: 50%;
|
|
452
|
+
background: var(--schemacast-accent);
|
|
453
|
+
box-shadow: 0 0 0 1px var(--schemacast-accent);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.schemacast-timeline-content {
|
|
457
|
+
display: grid;
|
|
458
|
+
grid-column: 2;
|
|
459
|
+
grid-row: 1;
|
|
460
|
+
gap: 0.25rem;
|
|
461
|
+
min-width: 0;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.schemacast-timeline-title {
|
|
465
|
+
color: var(--schemacast-foreground);
|
|
466
|
+
overflow-wrap: anywhere;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.schemacast-timeline-date {
|
|
470
|
+
color: var(--schemacast-muted);
|
|
471
|
+
font-size: 0.8125rem;
|
|
472
|
+
font-variant-numeric: tabular-nums;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.schemacast-kanban-board {
|
|
476
|
+
display: flex;
|
|
477
|
+
align-items: flex-start;
|
|
478
|
+
gap: 1rem;
|
|
479
|
+
overflow-x: auto;
|
|
480
|
+
padding-bottom: 0.5rem;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.schemacast-kanban-column {
|
|
484
|
+
flex: 0 0 min(20rem, 85vw);
|
|
485
|
+
min-width: 0;
|
|
486
|
+
border: 1px solid var(--schemacast-border);
|
|
487
|
+
border-radius: 0.75rem;
|
|
488
|
+
padding: 0.875rem;
|
|
489
|
+
background: var(--schemacast-hover);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.schemacast-kanban-column-header {
|
|
493
|
+
border-bottom: 1px solid var(--schemacast-border);
|
|
494
|
+
padding-bottom: 0.75rem;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.schemacast-kanban-column-header h4 {
|
|
498
|
+
margin: 0;
|
|
499
|
+
color: var(--schemacast-foreground);
|
|
500
|
+
font-size: 0.9375rem;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.schemacast-kanban-column-header span {
|
|
504
|
+
color: var(--schemacast-muted);
|
|
505
|
+
font-weight: 500;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.schemacast-kanban-card-list {
|
|
509
|
+
display: grid;
|
|
510
|
+
gap: 0.75rem;
|
|
511
|
+
margin: 0.75rem 0 0;
|
|
512
|
+
padding: 0;
|
|
513
|
+
list-style: none;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.schemacast-kanban-card {
|
|
517
|
+
display: grid;
|
|
518
|
+
gap: 0.375rem;
|
|
519
|
+
border: 1px solid var(--schemacast-border);
|
|
520
|
+
border-radius: 0.5rem;
|
|
521
|
+
padding: 0.75rem;
|
|
522
|
+
background: var(--schemacast-background);
|
|
523
|
+
color: var(--schemacast-foreground);
|
|
524
|
+
overflow-wrap: anywhere;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.schemacast-kanban-card span {
|
|
528
|
+
font-weight: 600;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.schemacast-kanban-card small {
|
|
532
|
+
color: var(--schemacast-muted);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.schemacast-json-tree {
|
|
536
|
+
min-width: 0;
|
|
537
|
+
overflow-x: auto;
|
|
538
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
539
|
+
font-size: 0.875rem;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.schemacast-json-tree-search {
|
|
543
|
+
display: grid;
|
|
544
|
+
width: min(100%, 22rem);
|
|
545
|
+
gap: 0.375rem;
|
|
546
|
+
margin-bottom: 1rem;
|
|
547
|
+
color: var(--schemacast-muted);
|
|
548
|
+
font-family: inherit;
|
|
549
|
+
font-size: 0.8125rem;
|
|
550
|
+
font-weight: 600;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.schemacast-json-tree-search-input {
|
|
554
|
+
width: 100%;
|
|
555
|
+
border: 1px solid var(--schemacast-border);
|
|
556
|
+
border-radius: 0.5rem;
|
|
557
|
+
padding: 0.625rem 0.75rem;
|
|
558
|
+
background: var(--schemacast-background);
|
|
559
|
+
color: var(--schemacast-foreground);
|
|
560
|
+
font: inherit;
|
|
561
|
+
font-weight: 400;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.schemacast-json-tree-search-input:focus-visible,
|
|
565
|
+
.schemacast-json-tree-toggle:focus-visible {
|
|
566
|
+
outline: 2px solid var(--schemacast-accent);
|
|
567
|
+
outline-offset: 2px;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.schemacast-json-tree-section {
|
|
571
|
+
margin-top: 1rem;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.schemacast-json-tree-section-title {
|
|
575
|
+
margin: 0 0 0.5rem;
|
|
576
|
+
color: var(--schemacast-muted);
|
|
577
|
+
font-family: inherit;
|
|
578
|
+
font-size: 0.8125rem;
|
|
579
|
+
font-weight: 600;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.schemacast-json-tree-line {
|
|
583
|
+
display: flex;
|
|
584
|
+
min-height: 1.625rem;
|
|
585
|
+
align-items: baseline;
|
|
586
|
+
gap: 0.375rem;
|
|
587
|
+
white-space: pre;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.schemacast-json-tree-toggle {
|
|
591
|
+
display: inline-flex;
|
|
592
|
+
align-items: baseline;
|
|
593
|
+
gap: 0.375rem;
|
|
594
|
+
border: 0;
|
|
595
|
+
border-radius: 0.25rem;
|
|
596
|
+
padding: 0;
|
|
597
|
+
background: transparent;
|
|
598
|
+
color: var(--schemacast-foreground);
|
|
599
|
+
cursor: pointer;
|
|
600
|
+
font: inherit;
|
|
601
|
+
text-align: left;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.schemacast-json-tree-toggle:hover {
|
|
605
|
+
color: var(--schemacast-accent);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.schemacast-json-tree-arrow {
|
|
609
|
+
width: 1em;
|
|
610
|
+
color: var(--schemacast-muted);
|
|
611
|
+
text-align: center;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.schemacast-json-tree-key,
|
|
615
|
+
.schemacast-json-tree-bracket,
|
|
616
|
+
.schemacast-json-tree-closing-bracket {
|
|
617
|
+
color: var(--schemacast-foreground);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.schemacast-json-tree-value--string {
|
|
621
|
+
color: var(--schemacast-json-string);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.schemacast-json-tree-value--number {
|
|
625
|
+
color: var(--schemacast-json-number);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.schemacast-json-tree-value--boolean {
|
|
629
|
+
color: var(--schemacast-json-boolean);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.schemacast-json-tree-value--null,
|
|
633
|
+
.schemacast-json-tree-value--other {
|
|
634
|
+
color: var(--schemacast-json-null);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
@media (prefers-color-scheme: dark) {
|
|
638
|
+
:root:not([data-theme]) .schemacast-auto-visual {
|
|
639
|
+
--schemacast-background: #171d26;
|
|
640
|
+
--schemacast-foreground: #e7edf5;
|
|
641
|
+
--schemacast-muted: #a0adbd;
|
|
642
|
+
--schemacast-border: #394555;
|
|
643
|
+
--schemacast-hover: #252f3c;
|
|
644
|
+
--schemacast-active: #263b55;
|
|
645
|
+
--schemacast-accent: #82b8ff;
|
|
646
|
+
--schemacast-pie-color-1: #82b8ff;
|
|
647
|
+
--schemacast-pie-color-2: #ff8a80;
|
|
648
|
+
--schemacast-pie-color-3: #8fd6a6;
|
|
649
|
+
--schemacast-pie-color-4: #c1a8ff;
|
|
650
|
+
--schemacast-pie-color-5: #ffc66d;
|
|
651
|
+
--schemacast-pie-color-6: #73d6cf;
|
|
652
|
+
--schemacast-pie-color-7: #f3a5d9;
|
|
653
|
+
--schemacast-pie-color-8: #c7c78a;
|
|
654
|
+
--schemacast-json-string: #5eead4;
|
|
655
|
+
--schemacast-json-number: #93c5fd;
|
|
656
|
+
--schemacast-json-boolean: #c4b5fd;
|
|
657
|
+
--schemacast-json-null: #a0adbd;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
:root[data-theme='dark'] .schemacast-auto-visual,
|
|
662
|
+
.schemacast-auto-visual[data-theme='dark'] {
|
|
663
|
+
--schemacast-background: #171d26;
|
|
664
|
+
--schemacast-foreground: #e7edf5;
|
|
665
|
+
--schemacast-muted: #a0adbd;
|
|
666
|
+
--schemacast-border: #394555;
|
|
667
|
+
--schemacast-hover: #252f3c;
|
|
668
|
+
--schemacast-active: #263b55;
|
|
669
|
+
--schemacast-accent: #82b8ff;
|
|
670
|
+
--schemacast-pie-color-1: #82b8ff;
|
|
671
|
+
--schemacast-pie-color-2: #ff8a80;
|
|
672
|
+
--schemacast-pie-color-3: #8fd6a6;
|
|
673
|
+
--schemacast-pie-color-4: #c1a8ff;
|
|
674
|
+
--schemacast-pie-color-5: #ffc66d;
|
|
675
|
+
--schemacast-pie-color-6: #73d6cf;
|
|
676
|
+
--schemacast-pie-color-7: #f3a5d9;
|
|
677
|
+
--schemacast-pie-color-8: #c7c78a;
|
|
678
|
+
--schemacast-json-string: #5eead4;
|
|
679
|
+
--schemacast-json-number: #93c5fd;
|
|
680
|
+
--schemacast-json-boolean: #c4b5fd;
|
|
681
|
+
--schemacast-json-null: #a0adbd;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
@media (prefers-reduced-motion: reduce) {
|
|
685
|
+
.schemacast-view-switcher-tab {
|
|
686
|
+
transition: none;
|
|
687
|
+
}
|
|
688
|
+
}
|