@measured/puck 0.14.0-canary.5bb1708 → 0.14.0-canary.70cf177

Sign up to get free protection for your applications and to get access to all the features.
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
- ._DraggableComponent_1vpvt_1 {
285
- outline-offset: 0px !important;
284
+ ._DraggableComponent_175tf_1 {
286
285
  pointer-events: auto;
286
+ --overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
287
287
  }
288
- ._DraggableComponent_1vpvt_1:focus-visible {
289
- outline: 2px solid var(--puck-color-azure-05);
290
- }
291
- ._DraggableComponent--isDragging_1vpvt_10 {
288
+ ._DraggableComponent--isDragging_175tf_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-contents_1vpvt_16 {
292
+ ._DraggableComponent-contents_175tf_16 {
297
293
  position: relative;
298
294
  pointer-events: none;
299
295
  z-index: 0;
300
296
  }
301
- ._DraggableComponent-contents_1vpvt_16::before,
302
- ._DraggableComponent-contents_1vpvt_16::after {
297
+ ._DraggableComponent-contents_175tf_16::before,
298
+ ._DraggableComponent-contents_175tf_16::after {
303
299
  content: " ";
304
300
  display: table;
305
301
  }
306
- ._DraggableComponent-overlay_1vpvt_29 {
307
- display: none;
308
- background: color-mix(in srgb, var(--puck-color-azure-08) 30%, transparent);
302
+ ._DraggableComponent-overlay_175tf_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_175tf_1:focus-visible ._DraggableComponent-overlay_175tf_29 {
314
+ outline: 1px solid var(--puck-color-azure-05);
315
+ }
316
+ ._DraggableComponent--isDragging_175tf_11 ._DraggableComponent-overlay_175tf_29 {
317
+ outline: 1px var(--puck-color-azure-09) solid !important;
317
318
  }
318
- ._DraggableComponent-loadingOverlay_1vpvt_42 {
319
+ ._DraggableComponent-loadingOverlay_175tf_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
- ._DraggableComponent_1vpvt_1:hover:not(._DraggableComponent--isLocked_1vpvt_58) > ._DraggableComponent-overlay_1vpvt_29 {
334
- display: block;
334
+ ._DraggableComponent_175tf_1:hover:not(._DraggableComponent--isLocked_175tf_65) > ._DraggableComponent-overlay_175tf_29 {
335
+ background: var(--overlay-background);
335
336
  pointer-events: none;
336
337
  }
337
- ._DraggableComponent--forceHover_1vpvt_64 > ._DraggableComponent-overlay_1vpvt_29 {
338
- display: block;
338
+ ._DraggableComponent--forceHover_175tf_71 > ._DraggableComponent-overlay_175tf_29 {
339
+ background: var(--overlay-background);
339
340
  pointer-events: none;
340
341
  }
341
- ._DraggableComponent_1vpvt_1:not(._DraggableComponent--isSelected_1vpvt_69) > ._DraggableComponent-overlay_1vpvt_29 {
342
+ ._DraggableComponent_175tf_1:not(._DraggableComponent--isSelected_175tf_76):hover > ._DraggableComponent-overlay_175tf_29 {
342
343
  outline: 2px var(--puck-color-azure-09) solid !important;
343
344
  }
344
- ._DraggableComponent--indicativeHover_1vpvt_74 > ._DraggableComponent-overlay_1vpvt_29 {
345
- display: block;
346
- background: transparent;
345
+ ._DraggableComponent--indicativeHover_175tf_81 > ._DraggableComponent-overlay_175tf_29 {
347
346
  pointer-events: none;
348
347
  }
349
- ._DraggableComponent_1vpvt_1:not(._DraggableComponent--isSelected_1vpvt_69):has(._DraggableComponent_1vpvt_1:hover > ._DraggableComponent-overlay_1vpvt_29) > ._DraggableComponent-overlay_1vpvt_29 {
348
+ ._DraggableComponent_175tf_1:not(._DraggableComponent--isSelected_175tf_76):has(._DraggableComponent_175tf_1:hover > ._DraggableComponent-overlay_175tf_29) > ._DraggableComponent-overlay_175tf_29 {
350
349
  display: none;
351
350
  }
352
- ._DraggableComponent--isSelected_1vpvt_69 {
351
+ ._DraggableComponent--isSelected_175tf_76 ._DraggableComponent-overlay_175tf_29 {
353
352
  outline: 2px var(--puck-color-azure-07) solid !important;
354
353
  }
355
- ._DraggableComponent--isSelected_1vpvt_69 > ._DraggableComponent-overlay_1vpvt_29 {
356
- background: none;
354
+ ._DraggableComponent--isSelected_175tf_76 > ._DraggableComponent-actionsOverlay_175tf_97 {
357
355
  display: block;
358
356
  position: sticky;
359
- top: 56px;
360
- z-index: 1;
357
+ z-index: 2;
361
358
  }
362
- ._DraggableComponent-actions_1vpvt_100 {
359
+ ._DraggableComponent-actions_175tf_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--isSelected_1vpvt_69 > ._DraggableComponent-overlay_1vpvt_29 > ._DraggableComponent-actions_1vpvt_100 {
376
+ ._DraggableComponent--isSelected_175tf_76 > ._DraggableComponent-actionsOverlay_175tf_97 > ._DraggableComponent-actions_175tf_97 {
381
377
  display: flex;
382
378
  }
383
- ._DraggableComponent-actionsLabel_1vpvt_125 {
379
+ ._DraggableComponent-actionsLabel_175tf_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: 1px solid var(--puck-color-grey-05);
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-action_1vpvt_100 {
393
+ ._DraggableComponent-action_175tf_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-action_1vpvt_100:focus-visible {
406
+ ._DraggableComponent-action_175tf_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-action_1vpvt_100:hover {
411
+ ._DraggableComponent-action_175tf_97:hover {
416
412
  color: var(--puck-color-azure-06);
417
413
  transition: none;
418
414
  }
419
415
  }
420
- ._DraggableComponent-action_1vpvt_100:active {
416
+ ._DraggableComponent-action_175tf_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
- ._DropZone_utidm_1 {
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--zoomEnabled_utidm_10 {
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--userIsDragging_utidm_23 ._DropZone-content_utidm_18 {
434
+ ._DropZone--userIsDragging_jtf9d_15 ._DropZone-content_jtf9d_10 {
445
435
  pointer-events: all;
446
436
  }
447
- ._DropZone--userIsDragging_utidm_23:not(._DropZone--draggingOverArea_utidm_27):not(._DropZone--draggingNewComponent_utidm_28) > ._DropZone-content_utidm_18 {
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--isAreaSelected_utidm_34,
451
- ._DropZone--draggingOverArea_utidm_27:not(:has(._DropZone--hoveringOverArea_utidm_35)),
452
- ._DropZone--hoveringOverArea_utidm_35:not(._DropZone--isDisabled_utidm_36):not(._DropZone--isRootZone_utidm_37) {
453
- background: var(--puck-color-azure-11);
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
- ._DropZone_utidm_1:not(._DropZone--hasChildren_utidm_43) {
457
- background: var(--puck-color-azure-11);
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--isDestination_utidm_48 {
450
+ ._DropZone--isDestination_jtf9d_40 {
461
451
  outline: 2px dashed var(--puck-color-azure-04) !important;
462
452
  }
463
- ._DropZone--isDestination_utidm_48:not(._DropZone--isRootZone_utidm_37) {
453
+ ._DropZone--isDestination_jtf9d_40:not(._DropZone--isRootZone_jtf9d_29) {
464
454
  background: var(--puck-color-azure-10) !important;
465
455
  }
466
- ._DropZone-item_utidm_56 {
456
+ ._DropZone-item_jtf9d_48 {
467
457
  position: relative;
468
458
  }
469
- ._DropZone-hitbox_utidm_60 {
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
- ._IconButton_1xqlg_1 {
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
- ._IconButton_1xqlg_1:focus-visible {
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
- ._IconButton_1xqlg_1:hover {
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
- ._IconButton_1xqlg_1:active {
492
+ ._IconButton_swpni_1:active {
503
493
  background: var(--puck-color-azure-11);
504
494
  transition: none;
505
495
  }
506
- ._IconButton-title_1xqlg_33 {
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
- ._Puck_1mnww_19 {
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: 100vh;
687
+ height: 100dvh;
695
688
  left: 0;
696
689
  position: fixed;
697
690
  right: 0;
698
691
  top: 0;
699
692
  }
700
- ._Puck--leftSideBarVisible_1mnww_36 {
693
+ ._Puck--leftSideBarVisible_3qn7l_36 {
701
694
  grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
702
695
  }
703
- ._Puck--rightSideBarVisible_1mnww_42 {
696
+ ._Puck--rightSideBarVisible_3qn7l_42 {
704
697
  grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
705
698
  }
706
- ._Puck--leftSideBarVisible_1mnww_36._Puck--rightSideBarVisible_1mnww_42 {
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
- ._Puck_1mnww_19 {
703
+ ._Puck_3qn7l_19 {
711
704
  --puck-frame-width: minmax(266px, auto);
712
705
  }
713
706
  }
714
707
  @media (min-width: 638px) {
715
- ._Puck_1mnww_19 {
708
+ ._Puck_3qn7l_19 {
716
709
  --puck-side-bar-width: minmax(186px, 250px);
717
710
  }
718
711
  }
719
712
  @media (min-width: 766px) {
720
- ._Puck_1mnww_19 {
713
+ ._Puck_3qn7l_19 {
721
714
  --puck-frame-width: auto;
722
715
  }
723
716
  }
724
717
  @media (min-width: 990px) {
725
- ._Puck_1mnww_19 {
718
+ ._Puck_3qn7l_19 {
726
719
  --puck-side-bar-width: 256px;
727
720
  }
728
721
  }
729
722
  @media (min-width: 1198px) {
730
- ._Puck_1mnww_19 {
723
+ ._Puck_3qn7l_19 {
731
724
  --puck-side-bar-width: 274px;
732
725
  }
733
726
  }
734
727
  @media (min-width: 1398px) {
735
- ._Puck_1mnww_19 {
728
+ ._Puck_3qn7l_19 {
736
729
  --puck-side-bar-width: 290px;
737
730
  }
738
731
  }
739
732
  @media (min-width: 1598px) {
740
- ._Puck_1mnww_19 {
733
+ ._Puck_3qn7l_19 {
741
734
  --puck-side-bar-width: 320px;
742
735
  }
743
736
  }
744
- ._Puck-header_1mnww_96 {
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-headerInner_1mnww_105 {
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-headerToggle_1mnww_115 {
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--rightSideBarVisible_1mnww_42 ._Puck-rightSideBarToggle_1mnww_122,
768
- ._Puck--leftSideBarVisible_1mnww_36 ._Puck-leftSideBarToggle_1mnww_123 {
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-headerTitle_1mnww_127 {
764
+ ._Puck-headerTitle_3qn7l_127 {
772
765
  align-self: center;
773
766
  }
774
- ._Puck-headerPath_1mnww_131 {
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-headerTools_1mnww_138 {
773
+ ._Puck-headerTools_3qn7l_138 {
781
774
  display: flex;
782
775
  gap: 16px;
783
776
  justify-content: flex-end;
784
777
  }
785
- ._Puck-menuButton_1mnww_144 {
778
+ ._Puck-menuButton_3qn7l_144 {
786
779
  color: var(--puck-color-grey-05);
787
780
  margin-left: -4px;
788
781
  }
789
- ._Puck--menuOpen_1mnww_149 ._Puck-menuButton_1mnww_144 {
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-menuButton_1mnww_144 {
786
+ ._Puck-menuButton_3qn7l_144 {
794
787
  display: none;
795
788
  }
796
789
  }
797
- ._Puck-leftSideBar_1mnww_123 {
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-frame_1mnww_168 {
798
+ ._Puck-frame_3qn7l_168 {
799
+ box-sizing: border-box;
806
800
  display: flex;
807
- flex-direction: column;
808
- grid-area: editor;
809
- overflow: auto;
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-root_1mnww_176 {
808
+ ._Puck-root_3qn7l_179 {
809
+ background: white;
813
810
  border: 1px solid var(--puck-color-grey-09);
814
- box-shadow: 0 0 0 calc(var(--puck-space-px) * 1.5) var(--puck-color-grey-11);
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-root_1mnww_176 {
820
- margin: calc(var(--puck-space-px) * 1.5);
819
+ ._Puck-root_3qn7l_179 {
820
+ min-width: unset;
821
821
  }
822
822
  }
823
- ._Puck-rightSideBar_1mnww_122 {
823
+ @media (prefers-reduced-motion: reduce) {
824
+ ._Puck-root_3qn7l_179 {
825
+ transition: none !important;
826
+ }
827
+ }
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-actions_q3l5a_1 {
1158
+ ._ExternalInput-actions_19obq_1 {
1137
1159
  display: flex;
1138
1160
  }
1139
- ._ExternalInput-button_q3l5a_5 {
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--dataSelected_q3l5a_25 ._ExternalInput-button_q3l5a_5 {
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-detachButton_q3l5a_32 {
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-button_q3l5a_5:focus-visible,
1181
- ._ExternalInput-detachButton_q3l5a_32:focus-visible {
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-button_q3l5a_5:hover,
1188
- ._ExternalInput-detachButton_q3l5a_32:hover {
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-detachButton_q3l5a_32:hover {
1214
+ ._ExternalInput-detachButton_19obq_32:hover {
1193
1215
  color: var(--puck-color-azure-04);
1194
1216
  }
1195
1217
  }
1196
- ._ExternalInput-button_q3l5a_5:active,
1197
- ._ExternalInput-detachButton_q3l5a_32:active {
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
- ._ExternalInputModal_q3l5a_74 {
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: 50vh;
1208
- max-height: 90vh;
1229
+ min-height: 50dvh;
1230
+ max-height: 90dvh;
1209
1231
  }
1210
- ._ExternalInputModal-grid_q3l5a_84 {
1232
+ ._ExternalInputModal-grid_19obq_84 {
1211
1233
  display: flex;
1212
1234
  flex-direction: column;
1213
1235
  }
1214
1236
  @media (min-width: 458px) {
1215
- ._ExternalInputModal-grid_q3l5a_84 {
1237
+ ._ExternalInputModal-grid_19obq_84 {
1216
1238
  display: grid;
1217
1239
  grid-template-columns: 100%;
1218
1240
  }
1219
- ._ExternalInputModal--filtersToggled_q3l5a_95 ._ExternalInputModal-grid_q3l5a_84 {
1241
+ ._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
1220
1242
  grid-template-columns: 25% 75%;
1221
1243
  }
1222
1244
  }
1223
- ._ExternalInputModal-filters_q3l5a_100 {
1245
+ ._ExternalInputModal-filters_19obq_100 {
1224
1246
  border-bottom: 1px solid var(--puck-color-grey-09);
1225
1247
  }
1226
- ._ExternalInputModal--filtersToggled_q3l5a_95 ._ExternalInputModal-filters_q3l5a_100 {
1248
+ ._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
1227
1249
  display: none;
1228
1250
  }
1229
1251
  @media (min-width: 458px) {
1230
- ._ExternalInputModal-filters_q3l5a_100 {
1252
+ ._ExternalInputModal-filters_19obq_100 {
1231
1253
  border-right: 1px solid var(--puck-color-grey-09);
1232
1254
  display: none;
1233
1255
  }
1234
- ._ExternalInputModal--filtersToggled_q3l5a_95 ._ExternalInputModal-filters_q3l5a_100 {
1256
+ ._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
1235
1257
  display: block;
1236
1258
  }
1237
1259
  }
1238
- ._ExternalInputModal-masthead_q3l5a_119 {
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-tableWrapper_q3l5a_128 {
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-table_q3l5a_128 {
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-thead_q3l5a_144 {
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-th_q3l5a_144 {
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-td_q3l5a_159 {
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-tr_q3l5a_164 ._ExternalInputModal-td_q3l5a_159:first-of-type {
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-tbody_q3l5a_171 ._ExternalInputModal-tr_q3l5a_164:hover {
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-tbody_q3l5a_171 ._ExternalInputModal-tr_q3l5a_164:hover ._ExternalInputModal-td_q3l5a_159:first-of-type {
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-tbody_q3l5a_171 ._ExternalInputModal-tr_q3l5a_164:last-of-type ._ExternalInputModal-td_q3l5a_159 {
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-tableWrapper_q3l5a_128 {
1320
+ ._ExternalInputModal-tableWrapper_19obq_128 {
1299
1321
  display: none;
1300
1322
  }
1301
- ._ExternalInputModal--hasData_q3l5a_197 ._ExternalInputModal-tableWrapper_q3l5a_128 {
1323
+ ._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
1302
1324
  display: block;
1303
1325
  }
1304
- ._ExternalInputModal-loadingBanner_q3l5a_201 {
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--isLoading_q3l5a_218 ._ExternalInputModal-loadingBanner_q3l5a_201 {
1338
+ ._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
1317
1339
  display: flex;
1318
1340
  }
1319
- ._ExternalInputModal-searchForm_q3l5a_222 {
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-searchForm_q3l5a_222 {
1348
+ ._ExternalInputModal-searchForm_19obq_222 {
1327
1349
  flex-wrap: nowrap;
1328
1350
  }
1329
1351
  }
1330
- ._ExternalInputModal-search_q3l5a_222 {
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-search_q3l5a_222:focus-within {
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-search_q3l5a_222:hover {
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-searchIcon_q3l5a_259 {
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-search_q3l5a_222:focus-within ._ExternalInputModal-searchIcon_q3l5a_259 {
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-search_q3l5a_222:hover ._ExternalInputModal-searchIcon_q3l5a_259 {
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-searchIconText_q3l5a_284 {
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-searchInput_q3l5a_294 {
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-searchInput_q3l5a_294:focus {
1413
+ ._ExternalInputModal-searchInput_19obq_294:focus {
1392
1414
  outline: 0;
1393
1415
  }
1394
- ._ExternalInputModal-searchActions_q3l5a_308 {
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-searchActions_q3l5a_308 {
1423
+ ._ExternalInputModal-searchActions_19obq_308 {
1402
1424
  width: auto;
1403
1425
  }
1404
1426
  }
1405
- ._ExternalInputModal-searchActionIcon_q3l5a_321 {
1427
+ ._ExternalInputModal-searchActionIcon_19obq_321 {
1406
1428
  align-self: center;
1407
1429
  }
1408
- ._ExternalInputModal-footer_q3l5a_325 {
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
- ._Modal_zud0i_1 {
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--isOpen_zud0i_15 {
1454
+ ._Modal--isOpen_ikbaj_15 {
1433
1455
  display: flex;
1434
1456
  }
1435
- ._Modal-inner_zud0i_19 {
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: 90vh;
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,16 @@ 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_29rm6_1 {
1553
+ height: 100%;
1554
+ }
1555
+ ._PuckPreview-iframe_29rm6_5 {
1556
+ border: none;
1557
+ height: 100%;
1558
+ width: 100%;
1559
+ }
1560
+
1529
1561
  /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
1530
1562
  ._LayerTree_1pgw8_1 {
1531
1563
  color: var(--puck-color-grey-03);
@@ -1628,3 +1660,36 @@ textarea._Input-input_1qi5b_46 {
1628
1660
  color: var(--puck-color-grey-08);
1629
1661
  margin-top: 4px;
1630
1662
  }
1663
+
1664
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1665
+ ._ViewportControls_14bhf_1 {
1666
+ display: flex;
1667
+ background: var(--puck-color-grey-11);
1668
+ box-sizing: border-box;
1669
+ border-left: 2px solid var(--puck-color-grey-11);
1670
+ justify-content: center;
1671
+ gap: 8px;
1672
+ min-width: 392px;
1673
+ padding-bottom: 16px;
1674
+ padding-left: var(--puck-space-px);
1675
+ padding-right: var(--puck-space-px);
1676
+ z-index: 1;
1677
+ }
1678
+ ._ViewportControls-divider_14bhf_15 {
1679
+ border-right: 1px solid var(--puck-color-grey-09);
1680
+ margin-left: 8px;
1681
+ margin-right: 8px;
1682
+ }
1683
+ ._ViewportControls-zoomSelect_14bhf_21 {
1684
+ appearance: none;
1685
+ 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;
1686
+ background-size: 10px;
1687
+ background-position: calc(100% - 12px) calc(50% + 3px);
1688
+ background-repeat: no-repeat;
1689
+ border: 0;
1690
+ font-size: var(--puck-font-size-xxxs);
1691
+ width: 96px;
1692
+ }
1693
+ ._ViewportButton--isActive_14bhf_33 ._ViewportButton-inner_14bhf_33 {
1694
+ color: var(--puck-color-azure-04);
1695
+ }