@measured/puck 0.14.0-canary.712fb8e → 0.14.0-canary.924c85a
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-487c2755.d.ts → Config-29dc2731.d.ts} +19 -2
- package/dist/index.css +227 -153
- package/dist/index.d.ts +7 -5
- package/dist/index.js +1154 -522
- package/dist/rsc.d.ts +1 -1
- package/package.json +4 -2
package/dist/index.css
CHANGED
@@ -281,41 +281,42 @@
|
|
281
281
|
}
|
282
282
|
|
283
283
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
284
|
-
.
|
285
|
-
outline-offset: 0px !important;
|
284
|
+
._DraggableComponent_17mte_1 {
|
286
285
|
pointer-events: auto;
|
286
|
+
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
287
287
|
}
|
288
|
-
.
|
289
|
-
outline: 2px solid var(--puck-color-azure-05);
|
290
|
-
}
|
291
|
-
._DraggableComponent--isDragging_1vpvt_10 {
|
288
|
+
._DraggableComponent--isDragging_17mte_11 {
|
292
289
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
293
|
-
outline: 2px var(--puck-color-azure-09) solid !important;
|
294
290
|
overflow: hidden;
|
295
291
|
}
|
296
|
-
._DraggableComponent-
|
292
|
+
._DraggableComponent-contents_17mte_16 {
|
297
293
|
position: relative;
|
298
294
|
pointer-events: none;
|
299
295
|
z-index: 0;
|
300
296
|
}
|
301
|
-
._DraggableComponent-
|
302
|
-
._DraggableComponent-
|
297
|
+
._DraggableComponent-contents_17mte_16::before,
|
298
|
+
._DraggableComponent-contents_17mte_16::after {
|
303
299
|
content: " ";
|
304
300
|
display: table;
|
305
301
|
}
|
306
|
-
._DraggableComponent-
|
307
|
-
display: none;
|
308
|
-
background: color-mix(in srgb, var(--puck-color-azure-08) 30%, transparent);
|
302
|
+
._DraggableComponent-overlay_17mte_29 {
|
309
303
|
cursor: pointer;
|
310
304
|
height: 100%;
|
311
305
|
width: 100%;
|
312
306
|
top: 0;
|
307
|
+
outline-offset: -2px;
|
313
308
|
position: absolute;
|
314
|
-
z-index: 0;
|
315
309
|
pointer-events: none;
|
316
310
|
box-sizing: border-box;
|
311
|
+
z-index: 1;
|
312
|
+
}
|
313
|
+
._DraggableComponent_17mte_1:focus-visible ._DraggableComponent-overlay_17mte_29 {
|
314
|
+
outline: 1px solid var(--puck-color-azure-05);
|
317
315
|
}
|
318
|
-
._DraggableComponent-
|
316
|
+
._DraggableComponent--isDragging_17mte_11 ._DraggableComponent-overlay_17mte_29 {
|
317
|
+
outline: 1px var(--puck-color-azure-09) solid !important;
|
318
|
+
}
|
319
|
+
._DraggableComponent-loadingOverlay_17mte_49 {
|
319
320
|
background: var(--puck-color-white);
|
320
321
|
color: var(--puck-color-grey-03);
|
321
322
|
border-radius: 4px;
|
@@ -330,40 +331,34 @@
|
|
330
331
|
opacity: 0.8;
|
331
332
|
z-index: 1;
|
332
333
|
}
|
333
|
-
.
|
334
|
-
|
334
|
+
._DraggableComponent_17mte_1:hover:not(._DraggableComponent--isLocked_17mte_65) > ._DraggableComponent-overlay_17mte_29 {
|
335
|
+
background: var(--overlay-background);
|
335
336
|
pointer-events: none;
|
336
337
|
}
|
337
|
-
._DraggableComponent--
|
338
|
-
|
338
|
+
._DraggableComponent--forceHover_17mte_71 > ._DraggableComponent-overlay_17mte_29 {
|
339
|
+
background: var(--overlay-background);
|
339
340
|
pointer-events: none;
|
340
341
|
}
|
341
|
-
.
|
342
|
+
._DraggableComponent_17mte_1:not(._DraggableComponent--isSelected_17mte_76):hover > ._DraggableComponent-overlay_17mte_29 {
|
342
343
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
343
344
|
}
|
344
|
-
._DraggableComponent--
|
345
|
-
display: block;
|
346
|
-
background: transparent;
|
345
|
+
._DraggableComponent--indicativeHover_17mte_81 > ._DraggableComponent-overlay_17mte_29 {
|
347
346
|
pointer-events: none;
|
348
347
|
}
|
349
|
-
.
|
348
|
+
._DraggableComponent_17mte_1:not(._DraggableComponent--isSelected_17mte_76):has(._DraggableComponent_17mte_1:hover > ._DraggableComponent-overlay_17mte_29) > ._DraggableComponent-overlay_17mte_29 {
|
350
349
|
display: none;
|
351
350
|
}
|
352
|
-
._DraggableComponent--
|
351
|
+
._DraggableComponent--isSelected_17mte_76 > ._DraggableComponent-overlay_17mte_29 {
|
353
352
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
354
353
|
}
|
355
|
-
._DraggableComponent--
|
356
|
-
background: none;
|
354
|
+
._DraggableComponent--isSelected_17mte_76 > ._DraggableComponent-actionsOverlay_17mte_97 {
|
357
355
|
display: block;
|
358
356
|
position: sticky;
|
359
|
-
|
360
|
-
z-index: 1;
|
357
|
+
z-index: 2;
|
361
358
|
}
|
362
|
-
._DraggableComponent-
|
359
|
+
._DraggableComponent-actions_17mte_97 {
|
363
360
|
position: absolute;
|
364
|
-
right: 6.5px;
|
365
361
|
width: auto;
|
366
|
-
top: -48px;
|
367
362
|
padding: 4px;
|
368
363
|
border-top-left-radius: 8px;
|
369
364
|
border-top-right-radius: 8px;
|
@@ -376,11 +371,12 @@
|
|
376
371
|
gap: 4px;
|
377
372
|
pointer-events: auto;
|
378
373
|
box-sizing: border-box;
|
374
|
+
transform-origin: right top;
|
379
375
|
}
|
380
|
-
._DraggableComponent--
|
376
|
+
._DraggableComponent--isSelected_17mte_76 > ._DraggableComponent-actionsOverlay_17mte_97 > ._DraggableComponent-actions_17mte_97 {
|
381
377
|
display: flex;
|
382
378
|
}
|
383
|
-
._DraggableComponent-
|
379
|
+
._DraggableComponent-actionsLabel_17mte_127 {
|
384
380
|
color: var(--puck-color-grey-08);
|
385
381
|
display: flex;
|
386
382
|
font-size: var(--puck-font-size-xxxs);
|
@@ -390,11 +386,11 @@
|
|
390
386
|
padding-left: 8px;
|
391
387
|
padding-right: 16px;
|
392
388
|
margin-right: 8px;
|
393
|
-
border-right:
|
389
|
+
border-right: 0.5px solid var(--puck-color-grey-05);
|
394
390
|
text-overflow: ellipsis;
|
395
391
|
white-space: nowrap;
|
396
392
|
}
|
397
|
-
._DraggableComponent-
|
393
|
+
._DraggableComponent-action_17mte_97 {
|
398
394
|
background: transparent;
|
399
395
|
border: none;
|
400
396
|
color: var(--puck-color-grey-08);
|
@@ -407,23 +403,23 @@
|
|
407
403
|
justify-content: center;
|
408
404
|
transition: color 50ms ease-in;
|
409
405
|
}
|
410
|
-
._DraggableComponent-
|
406
|
+
._DraggableComponent-action_17mte_97:focus-visible {
|
411
407
|
outline: 2px solid var(--puck-color-azure-05);
|
412
408
|
outline-offset: -2px;
|
413
409
|
}
|
414
410
|
@media (hover: hover) and (pointer: fine) {
|
415
|
-
._DraggableComponent-
|
411
|
+
._DraggableComponent-action_17mte_97:hover {
|
416
412
|
color: var(--puck-color-azure-06);
|
417
413
|
transition: none;
|
418
414
|
}
|
419
415
|
}
|
420
|
-
._DraggableComponent-
|
416
|
+
._DraggableComponent-action_17mte_97:active {
|
421
417
|
color: var(--puck-color-azure-07);
|
422
418
|
transition: none;
|
423
419
|
}
|
424
420
|
|
425
421
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
426
|
-
.
|
422
|
+
._DropZone_jtf9d_1 {
|
427
423
|
margin-left: auto;
|
428
424
|
margin-right: auto;
|
429
425
|
position: relative;
|
@@ -431,42 +427,36 @@
|
|
431
427
|
outline-offset: -1px;
|
432
428
|
width: 100%;
|
433
429
|
}
|
434
|
-
._DropZone
|
435
|
-
zoom: 1.33;
|
436
|
-
}
|
437
|
-
._DropZone--zoomEnabled_utidm_10 ._DropZone-renderWrapper_utidm_14 {
|
438
|
-
zoom: 0.75;
|
439
|
-
}
|
440
|
-
._DropZone-content_utidm_18 {
|
430
|
+
._DropZone-content_jtf9d_10 {
|
441
431
|
min-height: 128px;
|
442
432
|
height: 100%;
|
443
433
|
}
|
444
|
-
._DropZone--
|
434
|
+
._DropZone--userIsDragging_jtf9d_15 ._DropZone-content_jtf9d_10 {
|
445
435
|
pointer-events: all;
|
446
436
|
}
|
447
|
-
._DropZone--
|
437
|
+
._DropZone--userIsDragging_jtf9d_15:not(._DropZone--draggingOverArea_jtf9d_19):not(._DropZone--draggingNewComponent_jtf9d_20) > ._DropZone-content_jtf9d_10 {
|
448
438
|
pointer-events: none;
|
449
439
|
}
|
450
|
-
._DropZone--
|
451
|
-
._DropZone--
|
452
|
-
._DropZone--
|
453
|
-
background: var(--puck-color-azure-
|
440
|
+
._DropZone--isAreaSelected_jtf9d_26,
|
441
|
+
._DropZone--draggingOverArea_jtf9d_19:not(:has(._DropZone--hoveringOverArea_jtf9d_27)),
|
442
|
+
._DropZone--hoveringOverArea_jtf9d_27:not(._DropZone--isDisabled_jtf9d_28):not(._DropZone--isRootZone_jtf9d_29):not(._DropZone--hasChildren_jtf9d_30) {
|
443
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
454
444
|
outline: 2px dashed var(--puck-color-azure-08);
|
455
445
|
}
|
456
|
-
.
|
457
|
-
background: var(--puck-color-azure-
|
446
|
+
._DropZone_jtf9d_1:not(._DropZone--hasChildren_jtf9d_30) {
|
447
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
458
448
|
outline: 2px dashed var(--puck-color-azure-08);
|
459
449
|
}
|
460
|
-
._DropZone--
|
450
|
+
._DropZone--isDestination_jtf9d_40 {
|
461
451
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
462
452
|
}
|
463
|
-
._DropZone--
|
453
|
+
._DropZone--isDestination_jtf9d_40:not(._DropZone--isRootZone_jtf9d_29) {
|
464
454
|
background: var(--puck-color-azure-10) !important;
|
465
455
|
}
|
466
|
-
._DropZone-
|
456
|
+
._DropZone-item_jtf9d_48 {
|
467
457
|
position: relative;
|
468
458
|
}
|
469
|
-
._DropZone-
|
459
|
+
._DropZone-hitbox_jtf9d_52 {
|
470
460
|
position: absolute;
|
471
461
|
bottom: -12px;
|
472
462
|
height: 24px;
|
@@ -475,35 +465,35 @@
|
|
475
465
|
}
|
476
466
|
|
477
467
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
478
|
-
.
|
468
|
+
._IconButton_swpni_1 {
|
479
469
|
align-items: center;
|
480
470
|
background: transparent;
|
481
471
|
border: none;
|
482
472
|
border-radius: 4px;
|
483
473
|
color: currentColor;
|
484
|
-
cursor: pointer;
|
485
474
|
display: flex;
|
486
475
|
font-family: var(--puck-font-family);
|
487
476
|
justify-content: center;
|
488
477
|
padding: 4px;
|
489
478
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
490
479
|
}
|
491
|
-
.
|
480
|
+
._IconButton_swpni_1:focus-visible {
|
492
481
|
outline: 2px solid var(--puck-color-azure-05);
|
493
482
|
outline-offset: -2px;
|
494
483
|
}
|
495
484
|
@media (hover: hover) and (pointer: fine) {
|
496
|
-
.
|
485
|
+
._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
|
497
486
|
background: var(--puck-color-azure-12);
|
498
487
|
color: var(--puck-color-azure-04);
|
488
|
+
cursor: pointer;
|
499
489
|
transition: none;
|
500
490
|
}
|
501
491
|
}
|
502
|
-
.
|
492
|
+
._IconButton_swpni_1:active {
|
503
493
|
background: var(--puck-color-azure-11);
|
504
494
|
transition: none;
|
505
495
|
}
|
506
|
-
._IconButton-
|
496
|
+
._IconButton-title_swpni_33 {
|
507
497
|
clip: rect(0 0 0 0);
|
508
498
|
clip-path: inset(100%);
|
509
499
|
height: 1px;
|
@@ -512,6 +502,9 @@
|
|
512
502
|
white-space: nowrap;
|
513
503
|
width: 1px;
|
514
504
|
}
|
505
|
+
._IconButton--disabled_swpni_20 {
|
506
|
+
color: var(--puck-color-grey-07);
|
507
|
+
}
|
515
508
|
|
516
509
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
517
510
|
._SidebarSection_125qe_1 {
|
@@ -681,7 +674,7 @@
|
|
681
674
|
}
|
682
675
|
|
683
676
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
684
|
-
.
|
677
|
+
._Puck_3qn7l_19 {
|
685
678
|
--puck-frame-width: auto;
|
686
679
|
--puck-side-bar-width: 186px;
|
687
680
|
--puck-space-px: 16px;
|
@@ -691,57 +684,57 @@
|
|
691
684
|
grid-template-areas: "header header header" "left editor right";
|
692
685
|
grid-template-columns: 0 var(--puck-frame-width) 0;
|
693
686
|
grid-template-rows: min-content auto;
|
694
|
-
height:
|
687
|
+
height: 100dvh;
|
695
688
|
left: 0;
|
696
689
|
position: fixed;
|
697
690
|
right: 0;
|
698
691
|
top: 0;
|
699
692
|
}
|
700
|
-
._Puck--
|
693
|
+
._Puck--leftSideBarVisible_3qn7l_36 {
|
701
694
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
702
695
|
}
|
703
|
-
._Puck--
|
696
|
+
._Puck--rightSideBarVisible_3qn7l_42 {
|
704
697
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
705
698
|
}
|
706
|
-
._Puck--
|
699
|
+
._Puck--leftSideBarVisible_3qn7l_36._Puck--rightSideBarVisible_3qn7l_42 {
|
707
700
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
708
701
|
}
|
709
702
|
@media (min-width: 458px) {
|
710
|
-
.
|
703
|
+
._Puck_3qn7l_19 {
|
711
704
|
--puck-frame-width: minmax(266px, auto);
|
712
705
|
}
|
713
706
|
}
|
714
707
|
@media (min-width: 638px) {
|
715
|
-
.
|
708
|
+
._Puck_3qn7l_19 {
|
716
709
|
--puck-side-bar-width: minmax(186px, 250px);
|
717
710
|
}
|
718
711
|
}
|
719
712
|
@media (min-width: 766px) {
|
720
|
-
.
|
713
|
+
._Puck_3qn7l_19 {
|
721
714
|
--puck-frame-width: auto;
|
722
715
|
}
|
723
716
|
}
|
724
717
|
@media (min-width: 990px) {
|
725
|
-
.
|
718
|
+
._Puck_3qn7l_19 {
|
726
719
|
--puck-side-bar-width: 256px;
|
727
720
|
}
|
728
721
|
}
|
729
722
|
@media (min-width: 1198px) {
|
730
|
-
.
|
723
|
+
._Puck_3qn7l_19 {
|
731
724
|
--puck-side-bar-width: 274px;
|
732
725
|
}
|
733
726
|
}
|
734
727
|
@media (min-width: 1398px) {
|
735
|
-
.
|
728
|
+
._Puck_3qn7l_19 {
|
736
729
|
--puck-side-bar-width: 290px;
|
737
730
|
}
|
738
731
|
}
|
739
732
|
@media (min-width: 1598px) {
|
740
|
-
.
|
733
|
+
._Puck_3qn7l_19 {
|
741
734
|
--puck-side-bar-width: 320px;
|
742
735
|
}
|
743
736
|
}
|
744
|
-
._Puck-
|
737
|
+
._Puck-header_3qn7l_96 {
|
745
738
|
background: var(--puck-color-white);
|
746
739
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
747
740
|
color: var(--puck-color-black);
|
@@ -749,7 +742,7 @@
|
|
749
742
|
position: relative;
|
750
743
|
max-width: 100vw;
|
751
744
|
}
|
752
|
-
._Puck-
|
745
|
+
._Puck-headerInner_3qn7l_105 {
|
753
746
|
align-items: end;
|
754
747
|
display: grid;
|
755
748
|
gap: var(--puck-space-px);
|
@@ -758,43 +751,43 @@
|
|
758
751
|
grid-template-rows: auto;
|
759
752
|
padding: var(--puck-space-px);
|
760
753
|
}
|
761
|
-
._Puck-
|
754
|
+
._Puck-headerToggle_3qn7l_115 {
|
762
755
|
color: var(--puck-color-grey-05);
|
763
756
|
display: flex;
|
764
757
|
margin-left: -4px;
|
765
758
|
padding-top: 2px;
|
766
759
|
}
|
767
|
-
._Puck--
|
768
|
-
._Puck--
|
760
|
+
._Puck--rightSideBarVisible_3qn7l_42 ._Puck-rightSideBarToggle_3qn7l_122,
|
761
|
+
._Puck--leftSideBarVisible_3qn7l_36 ._Puck-leftSideBarToggle_3qn7l_123 {
|
769
762
|
color: var(--puck-color-black);
|
770
763
|
}
|
771
|
-
._Puck-
|
764
|
+
._Puck-headerTitle_3qn7l_127 {
|
772
765
|
align-self: center;
|
773
766
|
}
|
774
|
-
._Puck-
|
767
|
+
._Puck-headerPath_3qn7l_131 {
|
775
768
|
font-family: var(--puck-font-family-monospaced);
|
776
769
|
font-size: var(--puck-font-size-xxs);
|
777
770
|
font-weight: normal;
|
778
771
|
word-break: break-all;
|
779
772
|
}
|
780
|
-
._Puck-
|
773
|
+
._Puck-headerTools_3qn7l_138 {
|
781
774
|
display: flex;
|
782
775
|
gap: 16px;
|
783
776
|
justify-content: flex-end;
|
784
777
|
}
|
785
|
-
._Puck-
|
778
|
+
._Puck-menuButton_3qn7l_144 {
|
786
779
|
color: var(--puck-color-grey-05);
|
787
780
|
margin-left: -4px;
|
788
781
|
}
|
789
|
-
._Puck--
|
782
|
+
._Puck--menuOpen_3qn7l_149 ._Puck-menuButton_3qn7l_144 {
|
790
783
|
color: var(--puck-color-black);
|
791
784
|
}
|
792
785
|
@media (min-width: 638px) {
|
793
|
-
._Puck-
|
786
|
+
._Puck-menuButton_3qn7l_144 {
|
794
787
|
display: none;
|
795
788
|
}
|
796
789
|
}
|
797
|
-
._Puck-
|
790
|
+
._Puck-leftSideBar_3qn7l_123 {
|
798
791
|
background: var(--puck-color-grey-12);
|
799
792
|
border-right: 1px solid var(--puck-color-grey-09);
|
800
793
|
display: flex;
|
@@ -802,25 +795,37 @@
|
|
802
795
|
grid-area: left;
|
803
796
|
overflow-y: auto;
|
804
797
|
}
|
805
|
-
._Puck-
|
798
|
+
._Puck-frame_3qn7l_168 {
|
799
|
+
box-sizing: border-box;
|
806
800
|
display: flex;
|
807
|
-
|
808
|
-
|
809
|
-
|
801
|
+
height: 100%;
|
802
|
+
justify-content: center;
|
803
|
+
min-width: 392px;
|
804
|
+
overflow: hidden;
|
810
805
|
position: relative;
|
806
|
+
width: 100%;
|
811
807
|
}
|
812
|
-
._Puck-
|
808
|
+
._Puck-root_3qn7l_179 {
|
809
|
+
background: white;
|
813
810
|
border: 1px solid var(--puck-color-grey-09);
|
814
|
-
box-
|
815
|
-
margin: var(--puck-space-px);
|
811
|
+
box-sizing: border-box;
|
816
812
|
min-width: 321px;
|
813
|
+
position: absolute;
|
814
|
+
transform-origin: top;
|
815
|
+
top: 0;
|
816
|
+
bottom: 0;
|
817
817
|
}
|
818
818
|
@media (min-width: 1198px) {
|
819
|
-
._Puck-
|
820
|
-
|
819
|
+
._Puck-root_3qn7l_179 {
|
820
|
+
min-width: unset;
|
821
|
+
}
|
822
|
+
}
|
823
|
+
@media (prefers-reduced-motion: reduce) {
|
824
|
+
._Puck-root_3qn7l_179 {
|
825
|
+
transition: none !important;
|
821
826
|
}
|
822
827
|
}
|
823
|
-
._Puck-
|
828
|
+
._Puck-rightSideBar_3qn7l_122 {
|
824
829
|
background: var(--puck-color-white);
|
825
830
|
border-left: 1px solid var(--puck-color-grey-09);
|
826
831
|
display: flex;
|
@@ -828,6 +833,23 @@
|
|
828
833
|
grid-area: right;
|
829
834
|
overflow-y: auto;
|
830
835
|
}
|
836
|
+
._Puck-canvas_3qn7l_211 {
|
837
|
+
background: var(--puck-color-grey-11);
|
838
|
+
display: flex;
|
839
|
+
grid-area: editor;
|
840
|
+
flex-direction: column;
|
841
|
+
padding: var(--puck-space-px);
|
842
|
+
overflow: auto;
|
843
|
+
}
|
844
|
+
@media (min-width: 1198px) {
|
845
|
+
._Puck-canvas_3qn7l_211 {
|
846
|
+
padding: calc(var(--puck-space-px) * 1.5);
|
847
|
+
padding-top: var(--puck-space-px);
|
848
|
+
}
|
849
|
+
._Puck-canvas_3qn7l_211:not(._Puck-canvas_3qn7l_211:has(._Puck-canvasControls_3qn7l_226)) {
|
850
|
+
padding-top: calc(var(--puck-space-px) * 1.5);
|
851
|
+
}
|
852
|
+
}
|
831
853
|
|
832
854
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
833
855
|
._Input_1qi5b_1 {
|
@@ -1133,10 +1155,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1133
1155
|
}
|
1134
1156
|
|
1135
1157
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
1136
|
-
._ExternalInput-
|
1158
|
+
._ExternalInput-actions_19obq_1 {
|
1137
1159
|
display: flex;
|
1138
1160
|
}
|
1139
|
-
._ExternalInput-
|
1161
|
+
._ExternalInput-button_19obq_5 {
|
1140
1162
|
display: flex;
|
1141
1163
|
gap: 8px;
|
1142
1164
|
align-items: center;
|
@@ -1155,13 +1177,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1155
1177
|
overflow: hidden;
|
1156
1178
|
flex-grow: 1;
|
1157
1179
|
}
|
1158
|
-
._ExternalInput--
|
1180
|
+
._ExternalInput--dataSelected_19obq_25 ._ExternalInput-button_19obq_5 {
|
1159
1181
|
color: var(--puck-color-grey-03);
|
1160
1182
|
display: block;
|
1161
1183
|
border-top-right-radius: 0px;
|
1162
1184
|
border-bottom-right-radius: 0px;
|
1163
1185
|
}
|
1164
|
-
._ExternalInput-
|
1186
|
+
._ExternalInput-detachButton_19obq_32 {
|
1165
1187
|
border: 1px solid var(--puck-color-grey-09);
|
1166
1188
|
border-top-right-radius: 4px;
|
1167
1189
|
border-bottom-right-radius: 4px;
|
@@ -1177,65 +1199,65 @@ textarea._Input-input_1qi5b_46 {
|
|
1177
1199
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1178
1200
|
margin-left: -1px;
|
1179
1201
|
}
|
1180
|
-
._ExternalInput-
|
1181
|
-
._ExternalInput-
|
1202
|
+
._ExternalInput-button_19obq_5:focus-visible,
|
1203
|
+
._ExternalInput-detachButton_19obq_32:focus-visible {
|
1182
1204
|
outline: 2px solid var(--puck-color-azure-05);
|
1183
1205
|
outline-offset: 2px;
|
1184
1206
|
z-index: 1;
|
1185
1207
|
}
|
1186
1208
|
@media (hover: hover) and (pointer: fine) {
|
1187
|
-
._ExternalInput-
|
1188
|
-
._ExternalInput-
|
1209
|
+
._ExternalInput-button_19obq_5:hover,
|
1210
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1189
1211
|
background: var(--puck-color-azure-12);
|
1190
1212
|
transition: none;
|
1191
1213
|
}
|
1192
|
-
._ExternalInput-
|
1214
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1193
1215
|
color: var(--puck-color-azure-04);
|
1194
1216
|
}
|
1195
1217
|
}
|
1196
|
-
._ExternalInput-
|
1197
|
-
._ExternalInput-
|
1218
|
+
._ExternalInput-button_19obq_5:active,
|
1219
|
+
._ExternalInput-detachButton_19obq_32:active {
|
1198
1220
|
background: var(--puck-color-azure-11);
|
1199
1221
|
transition: none;
|
1200
1222
|
}
|
1201
|
-
.
|
1223
|
+
._ExternalInputModal_19obq_74 {
|
1202
1224
|
color: var(--puck-color-black);
|
1203
1225
|
display: grid;
|
1204
1226
|
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
1205
1227
|
grid-template-columns: 100%;
|
1206
1228
|
position: relative;
|
1207
|
-
min-height:
|
1208
|
-
max-height:
|
1229
|
+
min-height: 50dvh;
|
1230
|
+
max-height: 90dvh;
|
1209
1231
|
}
|
1210
|
-
._ExternalInputModal-
|
1232
|
+
._ExternalInputModal-grid_19obq_84 {
|
1211
1233
|
display: flex;
|
1212
1234
|
flex-direction: column;
|
1213
1235
|
}
|
1214
1236
|
@media (min-width: 458px) {
|
1215
|
-
._ExternalInputModal-
|
1237
|
+
._ExternalInputModal-grid_19obq_84 {
|
1216
1238
|
display: grid;
|
1217
1239
|
grid-template-columns: 100%;
|
1218
1240
|
}
|
1219
|
-
._ExternalInputModal--
|
1241
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
|
1220
1242
|
grid-template-columns: 25% 75%;
|
1221
1243
|
}
|
1222
1244
|
}
|
1223
|
-
._ExternalInputModal-
|
1245
|
+
._ExternalInputModal-filters_19obq_100 {
|
1224
1246
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1225
1247
|
}
|
1226
|
-
._ExternalInputModal--
|
1248
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1227
1249
|
display: none;
|
1228
1250
|
}
|
1229
1251
|
@media (min-width: 458px) {
|
1230
|
-
._ExternalInputModal-
|
1252
|
+
._ExternalInputModal-filters_19obq_100 {
|
1231
1253
|
border-right: 1px solid var(--puck-color-grey-09);
|
1232
1254
|
display: none;
|
1233
1255
|
}
|
1234
|
-
._ExternalInputModal--
|
1256
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1235
1257
|
display: block;
|
1236
1258
|
}
|
1237
1259
|
}
|
1238
|
-
._ExternalInputModal-
|
1260
|
+
._ExternalInputModal-masthead_19obq_119 {
|
1239
1261
|
background-color: var(--puck-color-grey-12);
|
1240
1262
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1241
1263
|
display: flex;
|
@@ -1243,13 +1265,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1243
1265
|
gap: 24px;
|
1244
1266
|
padding: 24px;
|
1245
1267
|
}
|
1246
|
-
._ExternalInputModal-
|
1268
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1247
1269
|
position: relative;
|
1248
1270
|
overflow-x: auto;
|
1249
1271
|
overflow-y: auto;
|
1250
1272
|
flex-grow: 1;
|
1251
1273
|
}
|
1252
|
-
._ExternalInputModal-
|
1274
|
+
._ExternalInputModal-table_19obq_128 {
|
1253
1275
|
border-collapse: unset;
|
1254
1276
|
border-spacing: 0px;
|
1255
1277
|
color: var(--puck-color-grey-02);
|
@@ -1257,51 +1279,51 @@ textarea._Input-input_1qi5b_46 {
|
|
1257
1279
|
z-index: 0;
|
1258
1280
|
min-width: 100%;
|
1259
1281
|
}
|
1260
|
-
._ExternalInputModal-
|
1282
|
+
._ExternalInputModal-thead_19obq_144 {
|
1261
1283
|
background-color: var(--puck-color-white);
|
1262
1284
|
position: sticky;
|
1263
1285
|
top: 0;
|
1264
1286
|
z-index: 1;
|
1265
1287
|
}
|
1266
|
-
._ExternalInputModal-
|
1288
|
+
._ExternalInputModal-th_19obq_144 {
|
1267
1289
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1268
1290
|
color: var(--puck-color-grey-04);
|
1269
1291
|
font-weight: 500;
|
1270
1292
|
font-size: 14px;
|
1271
1293
|
padding: 16px 24px;
|
1272
1294
|
}
|
1273
|
-
._ExternalInputModal-
|
1295
|
+
._ExternalInputModal-td_19obq_159 {
|
1274
1296
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
1275
1297
|
padding: 16px 24px;
|
1276
1298
|
}
|
1277
|
-
._ExternalInputModal-
|
1299
|
+
._ExternalInputModal-tr_19obq_164 ._ExternalInputModal-td_19obq_159:first-of-type {
|
1278
1300
|
font-weight: 500;
|
1279
1301
|
width: 1%;
|
1280
1302
|
white-space: nowrap;
|
1281
1303
|
}
|
1282
1304
|
@media (hover: hover) and (pointer: fine) {
|
1283
|
-
._ExternalInputModal-
|
1305
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover {
|
1284
1306
|
background: var(--puck-color-azure-12);
|
1285
1307
|
color: var(--puck-color-azure-04);
|
1286
1308
|
cursor: pointer;
|
1287
1309
|
position: relative;
|
1288
1310
|
margin-left: -5px;
|
1289
1311
|
}
|
1290
|
-
._ExternalInputModal-
|
1312
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover ._ExternalInputModal-td_19obq_159:first-of-type {
|
1291
1313
|
border-left: 4px solid var(--puck-color-azure-04);
|
1292
1314
|
padding-left: 20px;
|
1293
1315
|
}
|
1294
1316
|
}
|
1295
|
-
._ExternalInputModal-
|
1317
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:last-of-type ._ExternalInputModal-td_19obq_159 {
|
1296
1318
|
border-bottom: none;
|
1297
1319
|
}
|
1298
|
-
._ExternalInputModal-
|
1320
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1299
1321
|
display: none;
|
1300
1322
|
}
|
1301
|
-
._ExternalInputModal--
|
1323
|
+
._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
|
1302
1324
|
display: block;
|
1303
1325
|
}
|
1304
|
-
._ExternalInputModal-
|
1326
|
+
._ExternalInputModal-loadingBanner_19obq_201 {
|
1305
1327
|
display: none;
|
1306
1328
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1307
1329
|
padding: 64px;
|
@@ -1313,21 +1335,21 @@ textarea._Input-input_1qi5b_46 {
|
|
1313
1335
|
right: 0;
|
1314
1336
|
bottom: 0;
|
1315
1337
|
}
|
1316
|
-
._ExternalInputModal--
|
1338
|
+
._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
|
1317
1339
|
display: flex;
|
1318
1340
|
}
|
1319
|
-
._ExternalInputModal-
|
1341
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1320
1342
|
display: flex;
|
1321
1343
|
flex-wrap: wrap;
|
1322
1344
|
gap: 12px;
|
1323
1345
|
flex-grow: 1;
|
1324
1346
|
}
|
1325
1347
|
@media (min-width: 458px) {
|
1326
|
-
._ExternalInputModal-
|
1348
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1327
1349
|
flex-wrap: nowrap;
|
1328
1350
|
}
|
1329
1351
|
}
|
1330
|
-
._ExternalInputModal-
|
1352
|
+
._ExternalInputModal-search_19obq_222 {
|
1331
1353
|
display: flex;
|
1332
1354
|
background: var(--puck-color-white);
|
1333
1355
|
border-width: 1px;
|
@@ -1337,18 +1359,18 @@ textarea._Input-input_1qi5b_46 {
|
|
1337
1359
|
flex-grow: 1;
|
1338
1360
|
transition: border-color 50ms ease-in;
|
1339
1361
|
}
|
1340
|
-
._ExternalInputModal-
|
1362
|
+
._ExternalInputModal-search_19obq_222:focus-within {
|
1341
1363
|
border-color: var(--puck-color-grey-05);
|
1342
1364
|
outline: 2px solid var(--puck-color-azure-05);
|
1343
1365
|
transition: none;
|
1344
1366
|
}
|
1345
1367
|
@media (hover: hover) and (pointer: fine) {
|
1346
|
-
._ExternalInputModal-
|
1368
|
+
._ExternalInputModal-search_19obq_222:hover {
|
1347
1369
|
border-color: var(--puck-color-grey-05);
|
1348
1370
|
transition: none;
|
1349
1371
|
}
|
1350
1372
|
}
|
1351
|
-
._ExternalInputModal-
|
1373
|
+
._ExternalInputModal-searchIcon_19obq_259 {
|
1352
1374
|
align-items: center;
|
1353
1375
|
background: var(--puck-color-grey-12);
|
1354
1376
|
border-bottom-left-radius: 4px;
|
@@ -1360,17 +1382,17 @@ textarea._Input-input_1qi5b_46 {
|
|
1360
1382
|
padding: 12px 15px;
|
1361
1383
|
transition: color 50ms ease-in;
|
1362
1384
|
}
|
1363
|
-
._ExternalInputModal-
|
1385
|
+
._ExternalInputModal-search_19obq_222:focus-within ._ExternalInputModal-searchIcon_19obq_259 {
|
1364
1386
|
color: var(--puck-color-grey-04);
|
1365
1387
|
transition: none;
|
1366
1388
|
}
|
1367
1389
|
@media (hover: hover) and (pointer: fine) {
|
1368
|
-
._ExternalInputModal-
|
1390
|
+
._ExternalInputModal-search_19obq_222:hover ._ExternalInputModal-searchIcon_19obq_259 {
|
1369
1391
|
color: var(--puck-color-grey-04);
|
1370
1392
|
transition: none;
|
1371
1393
|
}
|
1372
1394
|
}
|
1373
|
-
._ExternalInputModal-
|
1395
|
+
._ExternalInputModal-searchIconText_19obq_284 {
|
1374
1396
|
clip: rect(0 0 0 0);
|
1375
1397
|
clip-path: inset(100%);
|
1376
1398
|
height: 1px;
|
@@ -1379,7 +1401,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1379
1401
|
white-space: nowrap;
|
1380
1402
|
width: 1px;
|
1381
1403
|
}
|
1382
|
-
._ExternalInputModal-
|
1404
|
+
._ExternalInputModal-searchInput_19obq_294 {
|
1383
1405
|
border: none;
|
1384
1406
|
border-radius: 4px;
|
1385
1407
|
background: var(--puck-color-white);
|
@@ -1388,24 +1410,24 @@ textarea._Input-input_1qi5b_46 {
|
|
1388
1410
|
padding: 12px 15px;
|
1389
1411
|
width: 100%;
|
1390
1412
|
}
|
1391
|
-
._ExternalInputModal-
|
1413
|
+
._ExternalInputModal-searchInput_19obq_294:focus {
|
1392
1414
|
outline: 0;
|
1393
1415
|
}
|
1394
|
-
._ExternalInputModal-
|
1416
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1395
1417
|
display: flex;
|
1396
1418
|
gap: 8px;
|
1397
1419
|
height: 44px;
|
1398
1420
|
width: 100%;
|
1399
1421
|
}
|
1400
1422
|
@media (min-width: 458px) {
|
1401
|
-
._ExternalInputModal-
|
1423
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1402
1424
|
width: auto;
|
1403
1425
|
}
|
1404
1426
|
}
|
1405
|
-
._ExternalInputModal-
|
1427
|
+
._ExternalInputModal-searchActionIcon_19obq_321 {
|
1406
1428
|
align-self: center;
|
1407
1429
|
}
|
1408
|
-
._ExternalInputModal-
|
1430
|
+
._ExternalInputModal-footer_19obq_325 {
|
1409
1431
|
background-color: var(--puck-color-grey-12);
|
1410
1432
|
border-top: 1px solid var(--puck-color-grey-09);
|
1411
1433
|
color: var(--puck-color-grey-04);
|
@@ -1416,7 +1438,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1416
1438
|
}
|
1417
1439
|
|
1418
1440
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
1419
|
-
.
|
1441
|
+
._Modal_ikbaj_1 {
|
1420
1442
|
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1421
1443
|
display: none;
|
1422
1444
|
justify-content: center;
|
@@ -1429,10 +1451,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1429
1451
|
z-index: 1;
|
1430
1452
|
padding: 32px;
|
1431
1453
|
}
|
1432
|
-
._Modal--
|
1454
|
+
._Modal--isOpen_ikbaj_15 {
|
1433
1455
|
display: flex;
|
1434
1456
|
}
|
1435
|
-
._Modal-
|
1457
|
+
._Modal-inner_ikbaj_19 {
|
1436
1458
|
width: 100%;
|
1437
1459
|
max-width: 1024px;
|
1438
1460
|
border-radius: 8px;
|
@@ -1440,7 +1462,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1440
1462
|
background: var(--puck-color-white);
|
1441
1463
|
display: flex;
|
1442
1464
|
flex-direction: column;
|
1443
|
-
max-height:
|
1465
|
+
max-height: 90dvh;
|
1444
1466
|
}
|
1445
1467
|
|
1446
1468
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css/#css-module-data */
|
@@ -1526,6 +1548,25 @@ textarea._Input-input_1qi5b_46 {
|
|
1526
1548
|
margin-left: auto;
|
1527
1549
|
}
|
1528
1550
|
|
1551
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1552
|
+
._PuckPreview_379hm_1 {
|
1553
|
+
height: 100%;
|
1554
|
+
}
|
1555
|
+
._PuckPreview-iframe_379hm_5 {
|
1556
|
+
border: none;
|
1557
|
+
height: 100%;
|
1558
|
+
width: 100%;
|
1559
|
+
}
|
1560
|
+
._PuckPreview-content_379hm_11 {
|
1561
|
+
height: 100%;
|
1562
|
+
width: 100%;
|
1563
|
+
opacity: 0;
|
1564
|
+
transition: opacity 150ms ease-out;
|
1565
|
+
}
|
1566
|
+
._PuckPreview--stylesLoaded_379hm_18 ._PuckPreview-content_379hm_11 {
|
1567
|
+
opacity: 1;
|
1568
|
+
}
|
1569
|
+
|
1529
1570
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
1530
1571
|
._LayerTree_1pgw8_1 {
|
1531
1572
|
color: var(--puck-color-grey-03);
|
@@ -1628,3 +1669,36 @@ textarea._Input-input_1qi5b_46 {
|
|
1628
1669
|
color: var(--puck-color-grey-08);
|
1629
1670
|
margin-top: 4px;
|
1630
1671
|
}
|
1672
|
+
|
1673
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1674
|
+
._ViewportControls_14bhf_1 {
|
1675
|
+
display: flex;
|
1676
|
+
background: var(--puck-color-grey-11);
|
1677
|
+
box-sizing: border-box;
|
1678
|
+
border-left: 2px solid var(--puck-color-grey-11);
|
1679
|
+
justify-content: center;
|
1680
|
+
gap: 8px;
|
1681
|
+
min-width: 392px;
|
1682
|
+
padding-bottom: 16px;
|
1683
|
+
padding-left: var(--puck-space-px);
|
1684
|
+
padding-right: var(--puck-space-px);
|
1685
|
+
z-index: 1;
|
1686
|
+
}
|
1687
|
+
._ViewportControls-divider_14bhf_15 {
|
1688
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1689
|
+
margin-left: 8px;
|
1690
|
+
margin-right: 8px;
|
1691
|
+
}
|
1692
|
+
._ViewportControls-zoomSelect_14bhf_21 {
|
1693
|
+
appearance: none;
|
1694
|
+
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
1695
|
+
background-size: 10px;
|
1696
|
+
background-position: calc(100% - 12px) calc(50% + 3px);
|
1697
|
+
background-repeat: no-repeat;
|
1698
|
+
border: 0;
|
1699
|
+
font-size: var(--puck-font-size-xxxs);
|
1700
|
+
width: 96px;
|
1701
|
+
}
|
1702
|
+
._ViewportButton--isActive_14bhf_33 ._ViewportButton-inner_14bhf_33 {
|
1703
|
+
color: var(--puck-color-azure-04);
|
1704
|
+
}
|