@datawheel/bespoke 0.1.18 → 0.1.19
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/index.css +0 -133
- package/dist/index.js +497 -259
- package/dist/server.js +265 -95
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -304,143 +304,10 @@
|
|
|
304
304
|
top: 0;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
/* components/blocks/BlockElement.css */
|
|
308
|
-
.cr-section-block {
|
|
309
|
-
display: block;
|
|
310
|
-
position: relative;
|
|
311
|
-
transition: box-shadow 0.1s;
|
|
312
|
-
}
|
|
313
|
-
.cr-section-block .cr-block-placeholder {
|
|
314
|
-
color: #ccc;
|
|
315
|
-
font-style: italic;
|
|
316
|
-
}
|
|
317
|
-
.cr-section-block .cr-block-skeleton {
|
|
318
|
-
background-color: rgba(0, 0, 0, 0.25);
|
|
319
|
-
border-radius: 2px;
|
|
320
|
-
display: inline-block;
|
|
321
|
-
width: 100px;
|
|
322
|
-
}
|
|
323
|
-
.cr-section-block .cr-block-skeleton.value {
|
|
324
|
-
width: 80px;
|
|
325
|
-
}
|
|
326
|
-
.cr-section-block .cr-block-controls {
|
|
327
|
-
background: rgba(255, 255, 255, 0.75);
|
|
328
|
-
display: flex;
|
|
329
|
-
opacity: 0;
|
|
330
|
-
position: absolute;
|
|
331
|
-
right: 0;
|
|
332
|
-
top: 0;
|
|
333
|
-
transition: opacity 0.1s;
|
|
334
|
-
z-index: 1;
|
|
335
|
-
}
|
|
336
|
-
.cr-section-block .cr-block-controls:hover {
|
|
337
|
-
opacity: 1;
|
|
338
|
-
}
|
|
339
|
-
.cr-section-block .cr-block-link {
|
|
340
|
-
left: -20px;
|
|
341
|
-
position: absolute;
|
|
342
|
-
top: calc(50% - 10px);
|
|
343
|
-
}
|
|
344
|
-
.cr-section-block .cr-block-link.consumer {
|
|
345
|
-
transform: scaleX(-1);
|
|
346
|
-
}
|
|
347
|
-
.cr-section-block:hover {
|
|
348
|
-
box-shadow: 0 1px 3px rgb(0 0 0 / 5%), 0 1px 2px rgb(0 0 0 / 10%);
|
|
349
|
-
z-index: 1;
|
|
350
|
-
}
|
|
351
|
-
.cr-section-block:hover .cr-block-controls {
|
|
352
|
-
opacity: 1;
|
|
353
|
-
}
|
|
354
|
-
.cms-block-editor-dialog {
|
|
355
|
-
width: 80%;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/* components/sections/Section.css */
|
|
359
|
-
.cms-section {
|
|
360
|
-
position: relative;
|
|
361
|
-
}
|
|
362
|
-
.cms-section .cms-section-content {
|
|
363
|
-
display: flex;
|
|
364
|
-
}
|
|
365
|
-
.cms-section .cms-section-content .cms-section-column {
|
|
366
|
-
display: flex;
|
|
367
|
-
flex-direction: column;
|
|
368
|
-
}
|
|
369
|
-
.cms-section .cms-section-content .cms-section-column .cms-entity-add-button {
|
|
370
|
-
align-self: center;
|
|
371
|
-
height: 0;
|
|
372
|
-
opacity: 0;
|
|
373
|
-
transition: opacity 0.1s;
|
|
374
|
-
}
|
|
375
|
-
.cms-section .cms-section-content .cms-section-column:hover .cms-entity-add-button {
|
|
376
|
-
opacity: 1;
|
|
377
|
-
}
|
|
378
|
-
.cms-section .cms-section-content .cms-section-column + .cms-entity-add-button {
|
|
379
|
-
align-self: center;
|
|
380
|
-
opacity: 0;
|
|
381
|
-
transition: opacity 0.1s;
|
|
382
|
-
width: 0;
|
|
383
|
-
}
|
|
384
|
-
.cms-section .cms-section-content .cms-section-column + .cms-entity-add-button > * {
|
|
385
|
-
margin-left: -10px;
|
|
386
|
-
}
|
|
387
|
-
.cms-section .cms-section-content .cms-section-column:hover + .cms-entity-add-button,
|
|
388
|
-
.cms-section .cms-section-content .cms-section-column + .cms-entity-add-button:hover {
|
|
389
|
-
opacity: 1;
|
|
390
|
-
}
|
|
391
|
-
.cms-section .cms-section-content .cms-entity-add-button:only-child {
|
|
392
|
-
align-self: center;
|
|
393
|
-
display: flex;
|
|
394
|
-
flex: 1;
|
|
395
|
-
justify-content: center;
|
|
396
|
-
}
|
|
397
|
-
.cms-section-click-to-edit {
|
|
398
|
-
opacity: 0;
|
|
399
|
-
transition: opacity 0.1s;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
307
|
/* components/options/Options.css */
|
|
403
308
|
.cms-section-options {
|
|
404
309
|
}
|
|
405
310
|
|
|
406
|
-
/* components/sections/SectionHeader.css */
|
|
407
|
-
.cms-section-header {
|
|
408
|
-
background-color: rgba(255, 255, 255, 0.5);
|
|
409
|
-
left: 0;
|
|
410
|
-
margin: 0;
|
|
411
|
-
opacity: 0;
|
|
412
|
-
top: 0;
|
|
413
|
-
transition: opacity 0.1s;
|
|
414
|
-
width: 100%;
|
|
415
|
-
z-index: 2;
|
|
416
|
-
position: absolute;
|
|
417
|
-
display: flex;
|
|
418
|
-
flex-direction: column;
|
|
419
|
-
}
|
|
420
|
-
.cms-section-header .cms-section-header-editor {
|
|
421
|
-
align-items: center;
|
|
422
|
-
flex-direction: row;
|
|
423
|
-
display: flex;
|
|
424
|
-
justify-content: space-between;
|
|
425
|
-
width: 100%;
|
|
426
|
-
}
|
|
427
|
-
.cms-section-header .cms-section-header-editor > * {
|
|
428
|
-
flex: 1 0 33%;
|
|
429
|
-
}
|
|
430
|
-
.cms-section-header .cms-section-header-editor > *:first-child {
|
|
431
|
-
text-align: left;
|
|
432
|
-
}
|
|
433
|
-
.cms-section-header .cms-section-header-editor > *:not(:first-child):not(:last-child) {
|
|
434
|
-
text-align: center;
|
|
435
|
-
}
|
|
436
|
-
.cms-section-header .cms-section-header-editor > *:not(:first-child):not(:last-child) svg {
|
|
437
|
-
width: 100%;
|
|
438
|
-
}
|
|
439
|
-
.cms-section-header .cms-section-header-editor > *:last-child {
|
|
440
|
-
display: flex !important;
|
|
441
|
-
justify-content: flex-end;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
311
|
/* views/EditReport.css */
|
|
445
312
|
.mantine-Header-root ~ .mantine-AppShell-body {
|
|
446
313
|
min-height: calc(100vh - 50px);
|