@measured/puck 0.12.0-canary.53e3fc5 → 0.12.0-canary.5c13de5

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.
Files changed (3) hide show
  1. package/dist/index.css +252 -124
  2. package/dist/index.js +244 -363
  3. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -130,11 +130,12 @@
130
130
  Segoe UI Emoji,
131
131
  Segoe UI Symbol;
132
132
  --puck-font-family-monospaced:
133
- "Menlo",
134
- "Monaco",
135
- "Liberation Mono",
136
- "Consolas",
137
- "Courier New",
133
+ ui-monospace,
134
+ "Cascadia Code",
135
+ "Source Code Pro",
136
+ Menlo,
137
+ Consolas,
138
+ "DejaVu Sans Mono",
138
139
  monospace;
139
140
  --puck-font-family-proportional: var(--puck-font-stack), sans-serif;
140
141
  }
@@ -142,7 +143,7 @@
142
143
  /* styles/global.css */
143
144
 
144
145
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
145
- ._Button_1muck_1 {
146
+ ._Button_zx1c8_1 {
146
147
  appearance: none;
147
148
  background: none;
148
149
  border: none;
@@ -152,6 +153,7 @@
152
153
  align-items: center;
153
154
  gap: 8px;
154
155
  letter-spacing: 0.05ch;
156
+ font-family: var(--puck-font-family);
155
157
  font-size: 14px;
156
158
  font-weight: 500;
157
159
  text-align: center;
@@ -160,52 +162,52 @@
160
162
  white-space: nowrap;
161
163
  margin: 0;
162
164
  }
163
- ._Button--medium_1muck_20 {
165
+ ._Button--medium_zx1c8_21 {
164
166
  padding-bottom: 8px;
165
167
  padding-left: 20px;
166
168
  padding-right: 20px;
167
169
  padding-top: 8px;
168
170
  }
169
- ._Button--large_1muck_27 {
171
+ ._Button--large_zx1c8_28 {
170
172
  padding-bottom: 12px;
171
173
  padding-left: 20px;
172
174
  padding-right: 20px;
173
175
  padding-top: 12px;
174
176
  }
175
- ._Button-icon_1muck_34 {
177
+ ._Button-icon_zx1c8_35 {
176
178
  margin-top: 2px;
177
179
  }
178
- ._Button_1muck_1:hover {
180
+ ._Button_zx1c8_1:hover {
179
181
  text-decoration: none;
180
182
  }
181
- ._Button--primary_1muck_42 {
183
+ ._Button--primary_zx1c8_43 {
182
184
  background: var(--puck-color-blue);
183
185
  }
184
- ._Button--primary_1muck_42:hover {
186
+ ._Button--primary_zx1c8_43:hover {
185
187
  opacity: 0.7;
186
188
  transition: opacity 50ms ease-in;
187
189
  }
188
- ._Button--secondary_1muck_51 {
190
+ ._Button--secondary_zx1c8_52 {
189
191
  color: currentColor;
190
192
  border: 1px solid currentColor;
191
193
  }
192
- ._Button--secondary_1muck_51:hover {
194
+ ._Button--secondary_zx1c8_52:hover {
193
195
  background-color: var(--puck-color-grey-10);
194
196
  color: black;
195
197
  opacity: 0.7;
196
198
  }
197
- ._Button--flush_1muck_62 {
199
+ ._Button--flush_zx1c8_63 {
198
200
  border-radius: 0;
199
201
  }
200
- ._Button--disabled_1muck_66 {
202
+ ._Button--disabled_zx1c8_67 {
201
203
  background: var(--puck-color-grey-10);
202
204
  color: black;
203
205
  cursor: not-allowed;
204
206
  }
205
- ._Button--disabled_1muck_66:hover {
207
+ ._Button--disabled_zx1c8_67:hover {
206
208
  opacity: 1;
207
209
  }
208
- ._Button--fullWidth_1muck_76 {
210
+ ._Button--fullWidth_zx1c8_77 {
209
211
  width: 100%;
210
212
  }
211
213
 
@@ -397,52 +399,52 @@
397
399
  }
398
400
 
399
401
  /* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
400
- ._Input_1kw16_1 {
402
+ ._Input_sx9jb_1 {
401
403
  color: var(--puck-color-grey-3);
402
404
  padding: 16px;
403
405
  padding-bottom: 12px;
404
406
  display: block;
405
407
  font-family: var(--puck-font-stack);
406
408
  }
407
- ._Input_1kw16_1 ._Input_1kw16_1 {
409
+ ._Input_sx9jb_1 ._Input_sx9jb_1 {
408
410
  padding: 0px;
409
411
  }
410
- ._Input_1kw16_1 * {
412
+ ._Input_sx9jb_1 * {
411
413
  box-sizing: border-box;
412
414
  }
413
- ._Input_1kw16_1 + ._Input_1kw16_1 {
415
+ ._Input_sx9jb_1 + ._Input_sx9jb_1 {
414
416
  border-top: 1px solid var(--puck-color-grey-8);
415
417
  margin-top: 8px;
416
418
  }
417
- ._Input_1kw16_1 ._Input_1kw16_1 + ._Input_1kw16_1 {
419
+ ._Input_sx9jb_1 ._Input_sx9jb_1 + ._Input_sx9jb_1 {
418
420
  border-top: 0px;
419
421
  margin-top: 12px;
420
422
  }
421
- ._Input-label_1kw16_27 {
423
+ ._Input-label_sx9jb_27 {
422
424
  display: flex;
423
425
  padding-bottom: 12px;
424
426
  font-size: var(--puck-font-size-xxs);
425
427
  font-weight: 600;
426
428
  }
427
- ._Input-labelIcon_1kw16_34 {
429
+ ._Input-labelIcon_sx9jb_34 {
428
430
  color: var(--puck-color-grey-6);
429
431
  margin-right: 4px;
430
432
  padding-left: 4px;
431
433
  }
432
- ._Input-disabledIcon_1kw16_40 {
434
+ ._Input-disabledIcon_sx9jb_40 {
433
435
  color: var(--puck-color-grey-4);
434
436
  margin-left: auto;
435
437
  }
436
- ._Input-input_1kw16_45 {
438
+ ._Input-input_sx9jb_45 {
437
439
  border-width: 1px;
438
440
  border-style: solid;
439
441
  border-color: var(--puck-color-grey-8);
440
442
  border-radius: 4px;
441
443
  font-family: inherit;
442
- padding: 12px 16px;
444
+ padding: 12px 15px;
443
445
  width: 100%;
444
446
  }
445
- ._Input_1kw16_1 select._Input-input_1kw16_45 {
447
+ ._Input_sx9jb_1 select._Input-input_sx9jb_45 {
446
448
  appearance: none;
447
449
  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;
448
450
  background-size: 12px;
@@ -450,76 +452,76 @@
450
452
  background-repeat: no-repeat;
451
453
  background-color: white;
452
454
  }
453
- ._Input--readOnly_1kw16_66 > ._Input-input_1kw16_45,
454
- ._Input--readOnly_1kw16_66 > select._Input-input_1kw16_45 {
455
+ ._Input--readOnly_sx9jb_66 > ._Input-input_sx9jb_45,
456
+ ._Input--readOnly_sx9jb_66 > select._Input-input_sx9jb_45 {
455
457
  background-color: var(--puck-color-grey-11);
456
458
  border-color: var(--puck-color-grey-8);
457
459
  color: var(--puck-color-grey-5);
458
460
  opacity: 1;
459
461
  }
460
- ._Input-input_1kw16_45:hover {
462
+ ._Input-input_sx9jb_45:hover {
461
463
  border-color: var(--puck-color-neutral-3);
462
464
  }
463
- ._Input-radioGroupItems_1kw16_78 {
465
+ ._Input-radioGroupItems_sx9jb_78 {
464
466
  display: flex;
465
467
  border: 1px solid var(--puck-color-grey-7);
466
468
  border-radius: 4px;
467
469
  flex-wrap: wrap;
468
470
  overflow: hidden;
469
471
  }
470
- ._Input-radio_1kw16_78 {
472
+ ._Input-radio_sx9jb_78 {
471
473
  border-right: 1px solid var(--puck-color-grey-7);
472
474
  flex-grow: 1;
473
475
  }
474
- ._Input-radio_1kw16_78:last-of-type {
476
+ ._Input-radio_sx9jb_78:last-of-type {
475
477
  border-right: none;
476
478
  }
477
- ._Input-radioInner_1kw16_95 {
479
+ ._Input-radioInner_sx9jb_95 {
478
480
  background-color: white;
479
481
  color: var(--puck-color-grey-4);
480
482
  font-size: var(--puck-font-size-xxxs);
481
483
  padding: 8px 12px;
482
484
  text-align: center;
483
485
  }
484
- ._Input-radioInner_1kw16_95:hover {
486
+ ._Input-radioInner_sx9jb_95:hover {
485
487
  background-color: var(--puck-color-azure-9);
486
488
  cursor: pointer;
487
489
  }
488
- ._Input--readOnly_1kw16_66 ._Input-radioGroupItems_1kw16_78 {
490
+ ._Input--readOnly_sx9jb_66 ._Input-radioGroupItems_sx9jb_78 {
489
491
  border-color: var(--puck-color-grey-8);
490
492
  }
491
- ._Input--readOnly_1kw16_66 ._Input-radioInner_1kw16_95 {
493
+ ._Input--readOnly_sx9jb_66 ._Input-radioInner_sx9jb_95 {
492
494
  background-color: var(--puck-color-grey-11);
493
495
  color: var(--puck-color-grey-5);
494
496
  }
495
- ._Input-radio_1kw16_78 ._Input-radioInput_1kw16_117:checked ~ ._Input-radioInner_1kw16_95 {
497
+ ._Input-radio_sx9jb_78 ._Input-radioInput_sx9jb_117:checked ~ ._Input-radioInner_sx9jb_95 {
496
498
  background-color: var(--puck-color-azure-9);
497
499
  color: var(--puck-color-grey-1);
498
500
  font-weight: 500;
499
501
  }
500
- ._Input--readOnly_1kw16_66 ._Input-radioInput_1kw16_117:checked ~ ._Input-radioInner_1kw16_95 {
502
+ ._Input--readOnly_sx9jb_66 ._Input-radioInput_sx9jb_117:checked ~ ._Input-radioInner_sx9jb_95 {
501
503
  background-color: var(--puck-color-azure-9);
502
504
  color: var(--puck-color-grey-4);
503
505
  }
504
- ._Input-radio_1kw16_78 ._Input-radioInput_1kw16_117 {
506
+ ._Input-radio_sx9jb_78 ._Input-radioInput_sx9jb_117 {
505
507
  display: none;
506
508
  }
507
- ._Input_1kw16_1 textarea._Input-input_1kw16_45 {
509
+ ._Input_sx9jb_1 textarea._Input-input_sx9jb_45 {
508
510
  margin-bottom: -4px;
509
511
  }
510
512
 
511
513
  /* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
512
- ._ArrayField_13rp0_5 {
514
+ ._ArrayField_19z2v_5 {
513
515
  display: flex;
514
516
  flex-direction: column;
515
517
  background-color: var(--puck-color-grey-8);
516
518
  border: 1px solid var(--puck-color-grey-8);
517
519
  border-radius: 4px;
518
520
  }
519
- ._ArrayField--isDraggingFrom_13rp0_13 {
521
+ ._ArrayField--isDraggingFrom_19z2v_13 {
520
522
  background-color: var(--puck-color-azure-9);
521
523
  }
522
- ._ArrayField-addButton_13rp0_17 {
524
+ ._ArrayField-addButton_19z2v_17 {
523
525
  background-color: white;
524
526
  border: none;
525
527
  border-radius: 4px;
@@ -532,90 +534,91 @@
532
534
  padding: 16px;
533
535
  text-align: left;
534
536
  }
535
- ._ArrayField--hasItems_13rp0_31 > ._ArrayField-addButton_13rp0_17 {
537
+ ._ArrayField--hasItems_19z2v_31 > ._ArrayField-addButton_19z2v_17 {
536
538
  border-top-left-radius: 0;
537
539
  border-top-right-radius: 0;
538
540
  }
539
- ._ArrayField_13rp0_5:not(._ArrayField--isDraggingFrom_13rp0_13) > ._ArrayField-addButton_13rp0_17:hover {
541
+ ._ArrayField_19z2v_5:not(._ArrayField--isDraggingFrom_19z2v_13) > ._ArrayField-addButton_19z2v_17:hover {
540
542
  background: var(--puck-color-azure-9);
541
543
  color: var(--puck-color-azure-4);
542
544
  }
543
- ._ArrayFieldItem_13rp0_45 {
545
+ ._ArrayFieldItem_19z2v_45 {
544
546
  background: white;
545
547
  border-top-left-radius: 4px;
546
548
  border-top-right-radius: 4px;
547
549
  display: block;
548
550
  margin-bottom: 1px;
549
551
  }
550
- ._ArrayField--isDraggingFrom_13rp0_13 > ._ArrayFieldItem_13rp0_45:not(._ArrayFieldItem--isDragging_13rp0_53) {
552
+ ._ArrayField--isDraggingFrom_19z2v_13 > ._ArrayFieldItem_19z2v_45:not(._ArrayFieldItem--isDragging_19z2v_53) {
551
553
  border-bottom: 1px solid var(--puck-color-grey-8);
552
554
  margin-bottom: 0;
553
555
  }
554
- ._ArrayFieldItem--isExpanded_13rp0_58 {
556
+ ._ArrayFieldItem--isExpanded_19z2v_58 {
555
557
  border-bottom: 0;
556
558
  outline: 1px solid var(--puck-color-azure-6);
557
559
  }
558
- ._ArrayFieldItem--isDragging_13rp0_53 {
560
+ ._ArrayFieldItem--isDragging_19z2v_53 {
559
561
  box-shadow: rgba(140, 152, 164, 0.25) 0 3px 6px 0;
560
562
  }
561
- ._ArrayFieldItem_13rp0_45 + ._ArrayFieldItem_13rp0_45 {
563
+ ._ArrayFieldItem_19z2v_45 + ._ArrayFieldItem_19z2v_45 {
562
564
  border-top-left-radius: 0;
563
565
  border-top-right-radius: 0;
564
566
  }
565
- ._ArrayFieldItem-summary_13rp0_72 {
567
+ ._ArrayFieldItem-summary_19z2v_72 {
566
568
  color: var(--puck-color-grey-3);
567
569
  display: flex;
568
570
  align-items: center;
571
+ gap: 2px;
569
572
  justify-content: space-between;
570
573
  font-size: var(--puck-font-size-xxs);
571
574
  list-style: none;
572
- padding: 12px 16px;
575
+ padding: 12px 15px;
573
576
  position: relative;
574
577
  overflow: hidden;
575
578
  }
576
- ._ArrayFieldItem--readOnly_13rp0_84 > ._ArrayFieldItem-summary_13rp0_72 {
579
+ ._ArrayFieldItem--readOnly_19z2v_85 > ._ArrayFieldItem-summary_19z2v_72 {
577
580
  background-color: var(--puck-color-grey-11);
578
581
  color: var(--puck-color-grey-5);
579
582
  }
580
- ._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-summary_13rp0_72 {
583
+ ._ArrayFieldItem--isExpanded_19z2v_58 > ._ArrayFieldItem-summary_19z2v_72 {
581
584
  font-weight: 600;
582
585
  }
583
- ._ArrayFieldItem_13rp0_45:first-of-type > ._ArrayFieldItem-summary_13rp0_72 {
586
+ ._ArrayFieldItem_19z2v_45:first-of-type > ._ArrayFieldItem-summary_19z2v_72 {
584
587
  border-top-left-radius: 4px;
585
588
  border-top-right-radius: 4px;
586
589
  }
587
- ._ArrayFieldItem-summary_13rp0_72:hover,
588
- ._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-summary_13rp0_72 {
590
+ ._ArrayFieldItem-summary_19z2v_72:hover,
591
+ ._ArrayFieldItem--isExpanded_19z2v_58 > ._ArrayFieldItem-summary_19z2v_72 {
589
592
  background: var(--puck-color-azure-9);
590
593
  cursor: pointer;
591
594
  color: var(--puck-color-azure-4);
592
595
  }
593
- ._ArrayFieldItem-body_13rp0_105 {
596
+ ._ArrayFieldItem-body_19z2v_106 {
594
597
  display: none;
595
598
  }
596
- ._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-body_13rp0_105 {
599
+ ._ArrayFieldItem--isExpanded_19z2v_58 > ._ArrayFieldItem-body_19z2v_106 {
597
600
  display: block;
598
601
  }
599
- ._ArrayFieldItem-fieldset_13rp0_113 {
602
+ ._ArrayFieldItem-fieldset_19z2v_114 {
600
603
  border: none;
601
604
  border-top: 1px solid var(--puck-color-grey-8);
602
605
  margin: 0;
603
- padding: 16px;
606
+ padding: 16px 15px;
604
607
  }
605
- ._ArrayFieldItem-rhs_13rp0_120 {
608
+ ._ArrayFieldItem-rhs_19z2v_121 {
606
609
  display: flex;
607
- gap: 8px;
610
+ gap: 4px;
608
611
  align-items: center;
609
612
  }
610
- ._ArrayFieldItem-actions_13rp0_126 {
613
+ ._ArrayFieldItem-actions_19z2v_127 {
611
614
  display: flex;
612
- gap: 8px;
615
+ gap: 4px;
613
616
  opacity: 0;
614
617
  }
615
- ._ArrayFieldItem-summary_13rp0_72:hover > ._ArrayFieldItem-rhs_13rp0_120 > ._ArrayFieldItem-actions_13rp0_126 {
618
+ ._ArrayFieldItem-summary_19z2v_72:hover > ._ArrayFieldItem-rhs_19z2v_121 > ._ArrayFieldItem-actions_19z2v_127 {
616
619
  opacity: 1;
617
620
  }
618
- ._ArrayFieldItem-action_13rp0_126:hover {
621
+ ._ArrayFieldItem-action_19z2v_127:hover {
619
622
  background: var(--puck-color-grey-9);
620
623
  border-radius: 4px;
621
624
  color: var(--puck-color-blue);
@@ -832,20 +835,20 @@
832
835
  }
833
836
 
834
837
  /* css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css/#css-module-data */
835
- ._ComponentList_3rdy2_1 {
838
+ ._ComponentList_1m8r5_1 {
836
839
  font-family: var(--puck-font-stack);
837
840
  max-width: 100%;
838
841
  }
839
- ._ComponentList--isExpanded_3rdy2_6 + ._ComponentList_3rdy2_1 {
842
+ ._ComponentList--isExpanded_1m8r5_6 + ._ComponentList_1m8r5_1 {
840
843
  margin-top: 12px;
841
844
  }
842
- ._ComponentList-content_3rdy2_10 {
845
+ ._ComponentList-content_1m8r5_10 {
843
846
  display: none;
844
847
  }
845
- ._ComponentList--isExpanded_3rdy2_6 > ._ComponentList-content_3rdy2_10 {
848
+ ._ComponentList--isExpanded_1m8r5_6 > ._ComponentList-content_1m8r5_10 {
846
849
  display: block;
847
850
  }
848
- ._ComponentList-title_3rdy2_18 {
851
+ ._ComponentList-title_1m8r5_18 {
849
852
  color: var(--puck-color-grey-4);
850
853
  display: flex;
851
854
  font-size: var(--puck-font-size-xxxs);
@@ -855,21 +858,21 @@
855
858
  gap: 4px;
856
859
  border-radius: 4px;
857
860
  }
858
- ._ComponentList--isExpanded_3rdy2_6 ._ComponentList-title_3rdy2_18 {
861
+ ._ComponentList--isExpanded_1m8r5_6 ._ComponentList-title_1m8r5_18 {
859
862
  margin-bottom: 4px;
860
863
  }
861
- ._ComponentList-title_3rdy2_18:hover {
864
+ ._ComponentList-title_1m8r5_18:hover {
862
865
  background-color: var(--puck-color-azure-9);
863
866
  color: var(--puck-color-azure-4);
864
867
  cursor: pointer;
865
868
  }
866
- ._ComponentList-titleIcon_3rdy2_39 {
869
+ ._ComponentList-titleIcon_1m8r5_39 {
867
870
  margin-left: auto;
868
871
  }
869
- ._ComponentListItem_3rdy2_43:last-of-type ._ComponentListItem-draggable_3rdy2_43 {
872
+ ._ComponentListItem_1m8r5_43:last-of-type ._ComponentListItem-draggable_1m8r5_43 {
870
873
  margin-bottom: 0px;
871
874
  }
872
- ._ComponentListItem-draggable_3rdy2_43 {
875
+ ._ComponentListItem-draggable_1m8r5_43 {
873
876
  background: white;
874
877
  padding: 12px;
875
878
  display: flex;
@@ -878,68 +881,72 @@
878
881
  font-size: var(--puck-font-size-xxs);
879
882
  justify-content: space-between;
880
883
  align-items: center;
881
- gap: 12px;
882
884
  cursor: grab;
883
885
  margin-bottom: 12px;
884
886
  }
885
- ._ComponentListItemIcon_3rdy2_61 {
886
- color: var(--puck-color-grey-4);
887
+ ._ComponentListItem-name_1m8r5_60 {
888
+ overflow-x: hidden;
889
+ text-overflow: ellipsis;
890
+ white-space: nowrap;
887
891
  }
888
- ._ComponentList_3rdy2_1:not(._ComponentList--isDraggingFrom_3rdy2_65) ._ComponentListItem-draggable_3rdy2_43:hover {
892
+ ._ComponentList_1m8r5_1:not(._ComponentList--isDraggingFrom_1m8r5_66) ._ComponentListItem-draggable_1m8r5_43:hover {
889
893
  background-color: var(--puck-color-azure-9);
890
894
  color: var(--puck-color-azure-4);
891
895
  }
892
896
 
893
897
  /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
894
- ._SidebarSection_r7dv3_1 {
898
+ ._SidebarSection_1uyg2_1 {
895
899
  display: flex;
896
900
  position: relative;
897
901
  flex-direction: column;
898
902
  color: black;
899
903
  }
900
- ._SidebarSection_r7dv3_1:last-of-type {
904
+ ._SidebarSection_1uyg2_1:last-of-type {
901
905
  flex-grow: 1;
902
906
  }
903
- ._SidebarSection-title_r7dv3_12 {
907
+ ._SidebarSection-title_1uyg2_12 {
904
908
  background: white;
905
909
  padding: 16px;
906
910
  border-bottom: 1px solid var(--puck-color-grey-8);
907
911
  overflow-x: auto;
908
912
  }
909
- ._SidebarSection-content_r7dv3_19 {
913
+ ._SidebarSection-content_1uyg2_19 {
910
914
  border-bottom: 1px solid var(--puck-color-grey-8);
911
915
  padding: 16px;
912
916
  }
913
- ._SidebarSection--noPadding_r7dv3_24 ._SidebarSection-content_r7dv3_19 {
917
+ ._SidebarSection--noPadding_1uyg2_24 ._SidebarSection-content_1uyg2_19 {
914
918
  padding: 0px;
915
919
  }
916
- ._SidebarSection_r7dv3_1:last-of-type ._SidebarSection-content_r7dv3_19 {
920
+ ._SidebarSection--noPadding_1uyg2_24 ._SidebarSection-content_1uyg2_19:last-child {
921
+ padding-bottom: 4px;
922
+ }
923
+ ._SidebarSection_1uyg2_1:last-of-type ._SidebarSection-content_1uyg2_19 {
917
924
  border-bottom: none;
918
925
  flex-grow: 1;
919
926
  }
920
- ._SidebarSection-breadcrumbLabel_r7dv3_33 {
927
+ ._SidebarSection-breadcrumbLabel_1uyg2_37 {
921
928
  color: var(--puck-color-azure-3);
922
929
  flex-shrink: 0;
923
930
  }
924
- ._SidebarSection-breadcrumbLabel_r7dv3_33:hover {
931
+ ._SidebarSection-breadcrumbLabel_1uyg2_37:hover {
925
932
  color: var(--puck-color-azure-4);
926
933
  cursor: pointer;
927
934
  text-decoration: underline;
928
935
  }
929
- ._SidebarSection-breadcrumbs_r7dv3_44 {
936
+ ._SidebarSection-breadcrumbs_1uyg2_48 {
930
937
  align-items: center;
931
938
  display: flex;
932
939
  gap: 4px;
933
940
  }
934
- ._SidebarSection-breadcrumb_r7dv3_33 {
941
+ ._SidebarSection-breadcrumb_1uyg2_37 {
935
942
  align-items: center;
936
943
  display: flex;
937
944
  gap: 4px;
938
945
  }
939
- ._SidebarSection-heading_r7dv3_56 {
946
+ ._SidebarSection-heading_1uyg2_60 {
940
947
  padding-right: 16px;
941
948
  }
942
- ._SidebarSection-loadingOverlay_r7dv3_60 {
949
+ ._SidebarSection-loadingOverlay_1uyg2_64 {
943
950
  background: white;
944
951
  display: flex;
945
952
  justify-content: center;
@@ -955,7 +962,7 @@
955
962
  }
956
963
 
957
964
  /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
958
- ._LayerTree_1dcmd_1 {
965
+ ._LayerTree_o89yt_1 {
959
966
  color: var(--puck-color-grey-2);
960
967
  font-family: var(--puck-font-stack);
961
968
  font-size: var(--puck-font-size-xxs);
@@ -964,77 +971,198 @@
964
971
  list-style: none;
965
972
  padding: 0;
966
973
  }
967
- ._LayerTree-zoneTitle_1dcmd_11 {
974
+ ._LayerTree-zoneTitle_o89yt_11 {
968
975
  color: var(--puck-color-grey-4);
969
976
  font-size: var(--puck-font-size-xxxs);
970
977
  text-transform: uppercase;
971
978
  }
972
- ._LayerTree-helper_1dcmd_17 {
979
+ ._LayerTree-helper_o89yt_17 {
973
980
  text-align: center;
974
981
  color: var(--puck-color-grey-6);
975
982
  font-family: var(--puck-font-stack);
976
983
  margin: 8px 4px;
977
984
  }
978
- ._Layer_1dcmd_1 {
985
+ ._Layer_o89yt_1 {
979
986
  position: relative;
980
987
  border: 1px solid transparent;
981
988
  }
982
- ._Layer-inner_1dcmd_29 {
983
- padding-left: 20px;
984
- padding-right: 8px;
985
- border-radius: 3px;
989
+ ._Layer-inner_o89yt_29 {
990
+ padding-left: 12px;
991
+ padding-right: 4px;
992
+ border-radius: 4px;
986
993
  }
987
- ._Layer--containsZone_1dcmd_35 > ._Layer-inner_1dcmd_29 {
988
- padding-left: 8px;
994
+ ._Layer--containsZone_o89yt_35 > ._Layer-inner_o89yt_29 {
995
+ padding-left: 0;
989
996
  }
990
- ._Layer-clickable_1dcmd_39 {
997
+ ._Layer-clickable_o89yt_39 {
991
998
  align-items: center;
992
999
  display: flex;
993
1000
  }
994
- ._Layer-inner_1dcmd_29:hover {
1001
+ ._Layer-inner_o89yt_29:hover {
995
1002
  cursor: pointer;
996
1003
  }
997
- ._Layer_1dcmd_1:not(._Layer--isSelected_1dcmd_48) > ._Layer-inner_1dcmd_29:hover,
998
- ._Layer--isHovering_1dcmd_49 > ._Layer-inner_1dcmd_29 {
1004
+ ._Layer_o89yt_1:not(._Layer--isSelected_o89yt_48) > ._Layer-inner_o89yt_29:hover,
1005
+ ._Layer--isHovering_o89yt_49 > ._Layer-inner_o89yt_29 {
999
1006
  color: var(--puck-color-blue);
1000
1007
  background: var(--puck-color-azure-85);
1001
1008
  }
1002
- ._Layer--isSelected_1dcmd_48 {
1009
+ ._Layer--isSelected_o89yt_48 {
1003
1010
  background: var(--puck-color-azure-9);
1004
1011
  border-color: var(--puck-color-azure-7);
1005
1012
  border-radius: 4px;
1006
1013
  }
1007
- ._Layer--isSelected_1dcmd_48 > ._Layer-inner_1dcmd_29 {
1014
+ ._Layer--isSelected_o89yt_48 > ._Layer-inner_o89yt_29 {
1008
1015
  background: var(--puck-color-azure-85);
1009
1016
  font-weight: 600;
1010
1017
  }
1011
- ._Layer--isSelected_1dcmd_48 > ._Layer-inner_1dcmd_29 > ._Layer-clickable_1dcmd_39 > ._Layer-chevron_1dcmd_65,
1012
- ._Layer--childIsSelected_1dcmd_66 > ._Layer-inner_1dcmd_29 > ._Layer-clickable_1dcmd_39 > ._Layer-chevron_1dcmd_65 {
1018
+ ._Layer--isSelected_o89yt_48 > ._Layer-inner_o89yt_29 > ._Layer-clickable_o89yt_39 > ._Layer-chevron_o89yt_65,
1019
+ ._Layer--childIsSelected_o89yt_66 > ._Layer-inner_o89yt_29 > ._Layer-clickable_o89yt_39 > ._Layer-chevron_o89yt_65 {
1013
1020
  transform: scaleY(-1);
1014
1021
  }
1015
- ._Layer-zones_1dcmd_70 {
1022
+ ._Layer-zones_o89yt_70 {
1016
1023
  display: none;
1017
- margin-left: 20px;
1024
+ margin-left: 12px;
1018
1025
  }
1019
- ._Layer--isSelected_1dcmd_48 > ._Layer-zones_1dcmd_70,
1020
- ._Layer--childIsSelected_1dcmd_66 > ._Layer-zones_1dcmd_70 {
1026
+ ._Layer--isSelected_o89yt_48 > ._Layer-zones_o89yt_70,
1027
+ ._Layer--childIsSelected_o89yt_66 > ._Layer-zones_o89yt_70 {
1021
1028
  display: block;
1022
1029
  }
1023
- ._Layer-zones_1dcmd_70 > ._LayerTree_1dcmd_1 {
1024
- margin-left: 16px;
1030
+ ._Layer-zones_o89yt_70 > ._LayerTree_o89yt_1 {
1031
+ margin-left: 12px;
1025
1032
  }
1026
- ._Layer-title_1dcmd_84,
1027
- ._LayerTree-zoneTitle_1dcmd_11 {
1033
+ ._Layer-title_o89yt_84,
1034
+ ._LayerTree-zoneTitle_o89yt_11 {
1028
1035
  display: flex;
1029
1036
  gap: 8px;
1030
1037
  align-items: center;
1031
1038
  margin: 8px 4px;
1039
+ overflow-x: hidden;
1032
1040
  }
1033
- ._Layer-icon_1dcmd_92 {
1041
+ ._Layer-name_o89yt_93 {
1042
+ overflow-x: hidden;
1043
+ text-overflow: ellipsis;
1044
+ white-space: nowrap;
1045
+ }
1046
+ ._Layer-icon_o89yt_99 {
1034
1047
  color: var(--puck-color-rose-6);
1035
1048
  margin-top: 4px;
1036
1049
  }
1037
- ._Layer-zoneIcon_1dcmd_97 {
1050
+ ._Layer-zoneIcon_o89yt_104 {
1038
1051
  color: var(--puck-color-grey-7);
1039
1052
  margin-top: 4px;
1040
1053
  }
1054
+
1055
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
1056
+ ._Puck_vj9gy_19 {
1057
+ --puck-frame-width: minmax(266px, auto);
1058
+ --puck-side-bar-width: minmax(186px, 250px);
1059
+ --puck-space-px: 16px;
1060
+ bottom: 0;
1061
+ display: grid;
1062
+ grid-template-areas: "header header header" "left editor right";
1063
+ grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
1064
+ grid-template-rows: min-content auto;
1065
+ height: 100vh;
1066
+ left: 0;
1067
+ overflow-x: auto;
1068
+ position: fixed;
1069
+ right: 0;
1070
+ top: 0;
1071
+ }
1072
+ ._Puck--leftSideBarVisible_vj9gy_36 {
1073
+ grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
1074
+ }
1075
+ @media (min-width: 766px) {
1076
+ ._Puck_vj9gy_19 {
1077
+ --puck-frame-width: auto;
1078
+ }
1079
+ }
1080
+ @media (min-width: 990px) {
1081
+ ._Puck_vj9gy_19 {
1082
+ --puck-side-bar-width: 256px;
1083
+ }
1084
+ }
1085
+ @media (min-width: 1198px) {
1086
+ ._Puck_vj9gy_19 {
1087
+ --puck-side-bar-width: 274px;
1088
+ }
1089
+ }
1090
+ @media (min-width: 1398px) {
1091
+ ._Puck_vj9gy_19 {
1092
+ --puck-side-bar-width: 290px;
1093
+ }
1094
+ }
1095
+ @media (min-width: 1598px) {
1096
+ ._Puck_vj9gy_19 {
1097
+ --puck-side-bar-width: 320px;
1098
+ }
1099
+ }
1100
+ ._Puck-header_vj9gy_72 {
1101
+ background: var(--puck-color-white);
1102
+ border-bottom: 1px solid var(--puck-color-grey-8);
1103
+ color: var(--puck-color-black);
1104
+ grid-area: header;
1105
+ }
1106
+ ._Puck-headerInner_vj9gy_79 {
1107
+ align-items: start;
1108
+ display: grid;
1109
+ gap: var(--puck-space-px);
1110
+ grid-template-areas: "left middle right";
1111
+ grid-template-columns: 1fr auto 1fr;
1112
+ grid-template-rows: auto;
1113
+ padding: var(--puck-space-px);
1114
+ }
1115
+ ._Puck-headerToggle_vj9gy_89 {
1116
+ padding-top: 2px;
1117
+ }
1118
+ ._Puck-headerTitle_vj9gy_93 {
1119
+ align-self: center;
1120
+ }
1121
+ ._Puck-headerPath_vj9gy_97 {
1122
+ font-family: var(--puck-font-family-monospaced);
1123
+ font-size: var(--puck-font-size-xxs);
1124
+ font-weight: normal;
1125
+ word-break: break-all;
1126
+ }
1127
+ ._Puck-headerTools_vj9gy_104 {
1128
+ display: flex;
1129
+ gap: 16px;
1130
+ justify-content: flex-end;
1131
+ }
1132
+ ._Puck-leftSideBar_vj9gy_110 {
1133
+ background: var(--puck-color-grey-11);
1134
+ border-right: 1px solid var(--puck-color-grey-8);
1135
+ display: flex;
1136
+ flex-direction: column;
1137
+ grid-area: left;
1138
+ overflow-y: auto;
1139
+ }
1140
+ ._Puck-frame_vj9gy_119 {
1141
+ display: flex;
1142
+ flex-direction: column;
1143
+ grid-area: editor;
1144
+ overflow-y: auto;
1145
+ position: relative;
1146
+ }
1147
+ ._Puck-root_vj9gy_127 {
1148
+ box-shadow: 0 0 0 calc(var(--puck-space-px) * 2) var(--puck-color-grey-10);
1149
+ margin: var(--puck-space-px);
1150
+ zoom: 0.75;
1151
+ }
1152
+ @media (min-width: 1198px) {
1153
+ ._Puck-root_vj9gy_127 {
1154
+ margin: calc(var(--puck-space-px) * 2);
1155
+ }
1156
+ }
1157
+ ._Puck-page_vj9gy_139 {
1158
+ border: 1px solid var(--puck-color-grey-8);
1159
+ }
1160
+ ._Puck-rightSideBar_vj9gy_143 {
1161
+ background: var(--puck-color-white);
1162
+ border-left: 1px solid var(--puck-color-grey-8);
1163
+ display: flex;
1164
+ flex-direction: column;
1165
+ font-family: var(--puck-font-stack);
1166
+ grid-area: right;
1167
+ overflow-y: auto;
1168
+ }