@measured/puck 0.21.0-canary.f3ce0d72 → 0.21.0-canary.fee2ba98

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 (52) hide show
  1. package/dist/Editor-EHVB6NFF.mjs +204 -0
  2. package/dist/Editor-F2LSS6SE.css +403 -0
  3. package/dist/Render-OFE6QLI2.mjs +55 -0
  4. package/dist/Render-QEMDIDQC.css +101 -0
  5. package/dist/{walk-tree-CL-j099F.d.mts → actions-DwdqNb63.d.mts} +216 -52
  6. package/dist/{walk-tree-CL-j099F.d.ts → actions-DwdqNb63.d.ts} +216 -52
  7. package/dist/chunk-2334PLLL.mjs +111 -0
  8. package/dist/chunk-4N3WJM5Y.mjs +33 -0
  9. package/dist/{chunk-73365SXB.mjs → chunk-6AGLD64M.mjs} +5492 -7477
  10. package/dist/chunk-CSSRLPHM.mjs +11 -0
  11. package/dist/chunk-D6RJOV2Z.mjs +1727 -0
  12. package/dist/chunk-M6W7YEVX.mjs +95 -0
  13. package/dist/chunk-NLUHDYVR.mjs +416 -0
  14. package/dist/chunk-NQEE2254.mjs +706 -0
  15. package/dist/chunk-PXYVL42X.mjs +53 -0
  16. package/dist/chunk-QBGM4ELA.mjs +528 -0
  17. package/dist/chunk-QLQZDFXM.mjs +63 -0
  18. package/dist/chunk-T3WX7XJ6.mjs +132 -0
  19. package/dist/chunk-V5I7CVLT.mjs +103 -0
  20. package/dist/chunk-Y2EFNT5P.mjs +108 -0
  21. package/dist/chunk-Y656T6AQ.mjs +419 -0
  22. package/dist/full-2GJTAAZE.css +301 -0
  23. package/dist/full-TVZATY2K.mjs +93 -0
  24. package/dist/index-AfAtzigt.d.ts +117 -0
  25. package/dist/index-jxA1wrW4.d.mts +117 -0
  26. package/dist/index.css +636 -759
  27. package/dist/index.d.mts +100 -133
  28. package/dist/index.d.ts +100 -133
  29. package/dist/index.js +8328 -5321
  30. package/dist/index.mjs +26 -20
  31. package/dist/internal.d.mts +27 -0
  32. package/dist/internal.d.ts +27 -0
  33. package/dist/internal.js +908 -0
  34. package/dist/internal.mjs +13 -0
  35. package/dist/loaded-ICVILKS6.mjs +60 -0
  36. package/dist/loaded-IHAGHNLA.mjs +57 -0
  37. package/dist/loaded-ONU7LATV.mjs +57 -0
  38. package/dist/loaded-RVWBFK7L.css +87 -0
  39. package/dist/no-external.css +736 -855
  40. package/dist/no-external.d.mts +19 -2
  41. package/dist/no-external.d.ts +19 -2
  42. package/dist/no-external.js +8331 -5321
  43. package/dist/no-external.mjs +28 -17
  44. package/dist/rsc.css +101 -0
  45. package/dist/rsc.d.mts +17 -2
  46. package/dist/rsc.d.ts +17 -2
  47. package/dist/rsc.js +411 -26
  48. package/dist/rsc.mjs +18 -9
  49. package/dist/walk-tree-DRy9ca1P.d.ts +29 -0
  50. package/dist/walk-tree-Dppc3XGY.d.mts +29 -0
  51. package/package.json +31 -4
  52. package/dist/chunk-FY5AZKYD.mjs +0 -967
@@ -1,151 +1,9 @@
1
- /* styles/color.css */
2
- :root {
3
- --puck-color-rose-01: #4a001c;
4
- --puck-color-rose-02: #670833;
5
- --puck-color-rose-03: #87114c;
6
- --puck-color-rose-04: #a81a66;
7
- --puck-color-rose-05: #bc5089;
8
- --puck-color-rose-06: #cc7ca5;
9
- --puck-color-rose-07: #d89aba;
10
- --puck-color-rose-08: #e3b8cf;
11
- --puck-color-rose-09: #efd6e3;
12
- --puck-color-rose-10: #f6eaf1;
13
- --puck-color-rose-11: #faf4f8;
14
- --puck-color-rose-12: #fef8fc;
15
- --puck-color-azure-01: #00175d;
16
- --puck-color-azure-02: #002c77;
17
- --puck-color-azure-03: #014292;
18
- --puck-color-azure-04: #0158ad;
19
- --puck-color-azure-05: #3479be;
20
- --puck-color-azure-06: #6499cf;
21
- --puck-color-azure-07: #88b0da;
22
- --puck-color-azure-08: #abc7e5;
23
- --puck-color-azure-09: #cfdff0;
24
- --puck-color-azure-10: #e7eef7;
25
- --puck-color-azure-11: #f3f6fb;
26
- --puck-color-azure-12: #f7faff;
27
- --puck-color-green-01: #002000;
28
- --puck-color-green-02: #043604;
29
- --puck-color-green-03: #084e08;
30
- --puck-color-green-04: #0c680c;
31
- --puck-color-green-05: #1d882f;
32
- --puck-color-green-06: #2faa53;
33
- --puck-color-green-07: #56c16f;
34
- --puck-color-green-08: #7dd78b;
35
- --puck-color-green-09: #b8e8bf;
36
- --puck-color-green-10: #ddf3e0;
37
- --puck-color-green-11: #eff8f0;
38
- --puck-color-green-12: #f3fcf4;
39
- --puck-color-yellow-01: #211000;
40
- --puck-color-yellow-02: #362700;
41
- --puck-color-yellow-03: #4c4000;
42
- --puck-color-yellow-04: #645a00;
43
- --puck-color-yellow-05: #877614;
44
- --puck-color-yellow-06: #ab9429;
45
- --puck-color-yellow-07: #bfac4e;
46
- --puck-color-yellow-08: #d4c474;
47
- --puck-color-yellow-09: #e6deb1;
48
- --puck-color-yellow-10: #f3efd9;
49
- --puck-color-yellow-11: #f9f7ed;
50
- --puck-color-yellow-12: #fcfaf0;
51
- --puck-color-red-01: #4c0000;
52
- --puck-color-red-02: #6a0a10;
53
- --puck-color-red-03: #8a1422;
54
- --puck-color-red-04: #ac1f35;
55
- --puck-color-red-05: #bf5366;
56
- --puck-color-red-06: #ce7e8e;
57
- --puck-color-red-07: #d99ca8;
58
- --puck-color-red-08: #e4b9c2;
59
- --puck-color-red-09: #efd7db;
60
- --puck-color-red-10: #f6eaec;
61
- --puck-color-red-11: #faf4f5;
62
- --puck-color-red-12: #fff9fa;
63
- --puck-color-grey-01: #181818;
64
- --puck-color-grey-02: #292929;
65
- --puck-color-grey-03: #404040;
66
- --puck-color-grey-04: #5a5a5a;
67
- --puck-color-grey-05: #767676;
68
- --puck-color-grey-06: #949494;
69
- --puck-color-grey-07: #ababab;
70
- --puck-color-grey-08: #c3c3c3;
71
- --puck-color-grey-09: #dcdcdc;
72
- --puck-color-grey-10: #efefef;
73
- --puck-color-grey-11: #f5f5f5;
74
- --puck-color-grey-12: #fafafa;
75
- --puck-color-black: #000000;
76
- --puck-color-white: #ffffff;
77
- }
78
-
79
- /* styles/typography.css */
80
- :root {
81
- --puck-font-size-scale-base-unitless: 12;
82
- --puck-font-size-xxxs-unitless: 12;
83
- --puck-font-size-xxs-unitless: 14;
84
- --puck-font-size-xs-unitless: 16;
85
- --puck-font-size-s-unitless: 18;
86
- --puck-font-size-m-unitless: 21;
87
- --puck-font-size-l-unitless: 24;
88
- --puck-font-size-xl-unitless: 28;
89
- --puck-font-size-xxl-unitless: 36;
90
- --puck-font-size-xxxl-unitless: 48;
91
- --puck-font-size-xxxxl-unitless: 56;
92
- --puck-font-size-xxxs: calc(1rem * var(--puck-font-size-xxxs-unitless) / 16);
93
- --puck-font-size-xxs: calc(1rem * var(--puck-font-size-xxs-unitless) / 16);
94
- --puck-font-size-xs: calc(1rem * var(--puck-font-size-xs-unitless) / 16);
95
- --puck-font-size-s: calc(1rem * var(--puck-font-size-s-unitless) / 16);
96
- --puck-font-size-m: calc(1rem * var(--puck-font-size-m-unitless) / 16);
97
- --puck-font-size-l: calc(1rem * var(--puck-font-size-l-unitless) / 16);
98
- --puck-font-size-xl: calc(1rem * var(--puck-font-size-xl-unitless) / 16);
99
- --puck-font-size-xxl: calc(1rem * var(--puck-font-size-xxl-unitless) / 16);
100
- --puck-font-size-xxxl: calc(1rem * var(--puck-font-size-xxxl-unitless) / 16);
101
- --puck-font-size-xxxxl: calc( 1rem * var(--puck-font-size-xxxxl-unitless) / 16 );
102
- --puck-font-size-base: var(--puck-font-size-xs);
103
- --line-height-reset: 1;
104
- --line-height-xs: calc( var(--space-m-unitless) / var(--puck-font-size-m-unitless) );
105
- --line-height-s: calc( var(--space-m-unitless) / var(--puck-font-size-s-unitless) );
106
- --line-height-m: calc( var(--space-m-unitless) / var(--puck-font-size-xs-unitless) );
107
- --line-height-l: calc( var(--space-m-unitless) / var(--puck-font-size-xxs-unitless) );
108
- --line-height-xl: calc( var(--space-m-unitless) / var(--puck-font-size-scale-base-unitless) );
109
- --line-height-base: var(--line-height-m);
110
- --fallback-font-stack:
111
- -apple-system,
112
- BlinkMacSystemFont,
113
- Segoe UI,
114
- Helvetica Neue,
115
- sans-serif,
116
- Apple Color Emoji,
117
- Segoe UI Emoji,
118
- Segoe UI Symbol;
119
- --puck-font-family: Inter, var(--fallback-font-stack);
120
- --puck-font-family-monospaced:
121
- ui-monospace,
122
- "Cascadia Code",
123
- "Source Code Pro",
124
- Menlo,
125
- Consolas,
126
- "DejaVu Sans Mono",
127
- monospace;
128
- }
129
- @supports (font-variation-settings: normal) {
130
- :root {
131
- --puck-font-family: InterVariable, var(--fallback-font-stack);
132
- }
133
- }
134
-
135
- /* bundle/core.css */
136
- #frame-root {
137
- height: 1px;
138
- min-height: 100vh;
139
- }
140
- [data-puck-entry] {
141
- position: relative;
142
- z-index: 0;
143
- }
1
+ @import "https://rsms.me/inter/inter.css";
144
2
 
145
3
  /* bundle/no-external.css */
146
4
 
147
5
  /* css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css/#css-module-data */
148
- ._ActionBar_rvadt_1 {
6
+ ._ActionBar_1nmyk_1 {
149
7
  align-items: center;
150
8
  cursor: default;
151
9
  display: flex;
@@ -161,7 +19,7 @@
161
19
  font-family: var(--puck-font-family);
162
20
  min-height: 26px;
163
21
  }
164
- ._ActionBar-label_rvadt_18 {
22
+ ._ActionBar-label_1nmyk_18 {
165
23
  color: var(--puck-color-grey-08);
166
24
  font-size: var(--puck-font-size-xxxs);
167
25
  font-weight: 500;
@@ -172,13 +30,13 @@
172
30
  text-overflow: ellipsis;
173
31
  white-space: nowrap;
174
32
  }
175
- ._ActionBar-action_rvadt_30 + ._ActionBar-label_rvadt_18 {
33
+ ._ActionBarAction_1nmyk_30 + ._ActionBar-label_1nmyk_18 {
176
34
  padding-inline-start: 0;
177
35
  }
178
- ._ActionBar-label_rvadt_18 + ._ActionBar-action_rvadt_30 {
36
+ ._ActionBar-label_1nmyk_18 + ._ActionBarAction_1nmyk_30 {
179
37
  margin-inline-start: -4px;
180
38
  }
181
- ._ActionBar-group_rvadt_38 {
39
+ ._ActionBar-group_1nmyk_38 {
182
40
  align-items: center;
183
41
  border-inline-start: 0.5px solid var(--puck-color-grey-05);
184
42
  display: flex;
@@ -186,18 +44,18 @@
186
44
  padding-inline-start: 4px;
187
45
  padding-inline-end: 4px;
188
46
  }
189
- ._ActionBar-group_rvadt_38:first-of-type {
47
+ ._ActionBar-group_1nmyk_38:first-of-type {
190
48
  border-inline-start: 0;
191
49
  }
192
- ._ActionBar-group_rvadt_38:empty {
50
+ ._ActionBar-group_1nmyk_38:empty {
193
51
  display: none;
194
52
  }
195
- ._ActionBar-action_rvadt_30 {
53
+ ._ActionBarAction_1nmyk_30 {
196
54
  background: transparent;
197
55
  border: none;
198
56
  color: var(--puck-color-grey-08);
199
57
  cursor: pointer;
200
- padding: 6px 8px;
58
+ padding: 6px;
201
59
  margin-inline-start: 4px;
202
60
  margin-inline-end: 4px;
203
61
  border-radius: 4px;
@@ -207,26 +65,37 @@
207
65
  justify-content: center;
208
66
  transition: color 50ms ease-in;
209
67
  }
210
- ._ActionBar-action_rvadt_30 svg {
68
+ ._ActionBarAction--disabled_1nmyk_71 {
69
+ cursor: auto;
70
+ color: var(--puck-color-grey-06);
71
+ }
72
+ ._ActionBarAction_1nmyk_30 svg {
211
73
  max-width: none !important;
212
74
  }
213
- ._ActionBar-action_rvadt_30:focus-visible {
75
+ ._ActionBarAction_1nmyk_30:focus-visible {
214
76
  outline: 2px solid var(--puck-color-azure-05);
215
77
  outline-offset: -2px;
216
78
  }
217
79
  @media (hover: hover) and (pointer: fine) {
218
- ._ActionBar-action_rvadt_30:hover {
80
+ ._ActionBarAction_1nmyk_30:hover:not(._ActionBarAction--disabled_1nmyk_71) {
219
81
  color: var(--puck-color-azure-06);
220
82
  transition: none;
221
83
  }
222
84
  }
223
- ._ActionBar-action_rvadt_30:active {
85
+ ._ActionBarAction_1nmyk_30:active:not(._ActionBarAction--disabled_1nmyk_71),
86
+ ._ActionBarAction--active_1nmyk_93 {
224
87
  color: var(--puck-color-azure-07);
225
88
  transition: none;
226
89
  }
227
- ._ActionBar-group_rvadt_38 * {
90
+ ._ActionBar-group_1nmyk_38 * {
228
91
  margin: 0;
229
92
  }
93
+ ._ActionBar-separator_1nmyk_102 {
94
+ background: var(--puck-color-grey-05);
95
+ margin-inline: 4px;
96
+ width: 0.5px;
97
+ height: 100%;
98
+ }
230
99
 
231
100
  /* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
232
101
  ._InputWrapper_bsxfo_1 + ._InputWrapper_bsxfo_1 {
@@ -543,7 +412,7 @@ textarea._Input-input_bsxfo_26 {
543
412
  }
544
413
 
545
414
  /* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
546
- ._IconButton_swpni_1 {
415
+ ._IconButton_ffob9_1 {
547
416
  align-items: center;
548
417
  background: transparent;
549
418
  border: none;
@@ -555,23 +424,26 @@ textarea._Input-input_bsxfo_26 {
555
424
  padding: 4px;
556
425
  transition: background-color 50ms ease-in, color 50ms ease-in;
557
426
  }
558
- ._IconButton_swpni_1:focus-visible {
427
+ ._IconButton--active_ffob9_14 {
428
+ color: var(--puck-color-azure-04);
429
+ }
430
+ ._IconButton_ffob9_1:focus-visible {
559
431
  outline: 2px solid var(--puck-color-azure-05);
560
432
  outline-offset: -2px;
561
433
  }
562
434
  @media (hover: hover) and (pointer: fine) {
563
- ._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
564
- background: var(--puck-color-azure-12);
435
+ ._IconButton_ffob9_1:hover:not(._IconButton--disabled_ffob9_24) {
436
+ background: var(--puck-color-grey-10);
565
437
  color: var(--puck-color-azure-04);
566
438
  cursor: pointer;
567
439
  transition: none;
568
440
  }
569
441
  }
570
- ._IconButton_swpni_1:active {
442
+ ._IconButton_ffob9_1:active {
571
443
  background: var(--puck-color-azure-11);
572
444
  transition: none;
573
445
  }
574
- ._IconButton-title_swpni_33 {
446
+ ._IconButton-title_ffob9_37 {
575
447
  clip: rect(0 0 0 0);
576
448
  clip-path: inset(100%);
577
449
  height: 1px;
@@ -580,7 +452,7 @@ textarea._Input-input_bsxfo_26 {
580
452
  white-space: nowrap;
581
453
  width: 1px;
582
454
  }
583
- ._IconButton--disabled_swpni_20 {
455
+ ._IconButton--disabled_ffob9_24 {
584
456
  color: var(--puck-color-grey-07);
585
457
  }
586
458
 
@@ -636,36 +508,182 @@ textarea._Input-input_bsxfo_26 {
636
508
  transition: none !important;
637
509
  }
638
510
 
639
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
640
- ._ExternalInput-actions_91ls0_1 {
641
- display: flex;
642
- }
643
- ._ExternalInput-button_91ls0_5 {
644
- display: flex;
645
- gap: 8px;
646
- align-items: center;
647
- justify-content: center;
648
- background-color: var(--puck-color-white);
649
- border: 1px solid var(--puck-color-grey-09);
650
- border-radius: 4px;
651
- color: var(--puck-color-azure-04);
652
- padding: 12px 16px;
653
- font-weight: 500;
654
- white-space: nowrap;
655
- text-overflow: ellipsis;
656
- transition: background-color 50ms ease-in;
657
- position: relative;
658
- overflow: hidden;
659
- flex-grow: 1;
660
- }
661
- ._ExternalInput--dataSelected_91ls0_24 ._ExternalInput-button_91ls0_5 {
662
- color: var(--puck-color-grey-03);
663
- display: block;
664
- border-top-right-radius: 0px;
665
- border-bottom-right-radius: 0px;
666
- }
667
- ._ExternalInput--readOnly_91ls0_31 ._ExternalInput-button_91ls0_5 {
668
- background-color: var(--puck-color-grey-11);
511
+ /* styles/color.css */
512
+ :root {
513
+ --puck-color-rose-01: #4a001c;
514
+ --puck-color-rose-02: #670833;
515
+ --puck-color-rose-03: #87114c;
516
+ --puck-color-rose-04: #a81a66;
517
+ --puck-color-rose-05: #bc5089;
518
+ --puck-color-rose-06: #cc7ca5;
519
+ --puck-color-rose-07: #d89aba;
520
+ --puck-color-rose-08: #e3b8cf;
521
+ --puck-color-rose-09: #efd6e3;
522
+ --puck-color-rose-10: #f6eaf1;
523
+ --puck-color-rose-11: #faf4f8;
524
+ --puck-color-rose-12: #fef8fc;
525
+ --puck-color-azure-01: #00175d;
526
+ --puck-color-azure-02: #002c77;
527
+ --puck-color-azure-03: #014292;
528
+ --puck-color-azure-04: #0158ad;
529
+ --puck-color-azure-05: #3479be;
530
+ --puck-color-azure-06: #6499cf;
531
+ --puck-color-azure-07: #88b0da;
532
+ --puck-color-azure-08: #abc7e5;
533
+ --puck-color-azure-09: #cfdff0;
534
+ --puck-color-azure-10: #e7eef7;
535
+ --puck-color-azure-11: #f3f6fb;
536
+ --puck-color-azure-12: #f7faff;
537
+ --puck-color-green-01: #002000;
538
+ --puck-color-green-02: #043604;
539
+ --puck-color-green-03: #084e08;
540
+ --puck-color-green-04: #0c680c;
541
+ --puck-color-green-05: #1d882f;
542
+ --puck-color-green-06: #2faa53;
543
+ --puck-color-green-07: #56c16f;
544
+ --puck-color-green-08: #7dd78b;
545
+ --puck-color-green-09: #b8e8bf;
546
+ --puck-color-green-10: #ddf3e0;
547
+ --puck-color-green-11: #eff8f0;
548
+ --puck-color-green-12: #f3fcf4;
549
+ --puck-color-yellow-01: #211000;
550
+ --puck-color-yellow-02: #362700;
551
+ --puck-color-yellow-03: #4c4000;
552
+ --puck-color-yellow-04: #645a00;
553
+ --puck-color-yellow-05: #877614;
554
+ --puck-color-yellow-06: #ab9429;
555
+ --puck-color-yellow-07: #bfac4e;
556
+ --puck-color-yellow-08: #d4c474;
557
+ --puck-color-yellow-09: #e6deb1;
558
+ --puck-color-yellow-10: #f3efd9;
559
+ --puck-color-yellow-11: #f9f7ed;
560
+ --puck-color-yellow-12: #fcfaf0;
561
+ --puck-color-red-01: #4c0000;
562
+ --puck-color-red-02: #6a0a10;
563
+ --puck-color-red-03: #8a1422;
564
+ --puck-color-red-04: #ac1f35;
565
+ --puck-color-red-05: #bf5366;
566
+ --puck-color-red-06: #ce7e8e;
567
+ --puck-color-red-07: #d99ca8;
568
+ --puck-color-red-08: #e4b9c2;
569
+ --puck-color-red-09: #efd7db;
570
+ --puck-color-red-10: #f6eaec;
571
+ --puck-color-red-11: #faf4f5;
572
+ --puck-color-red-12: #fff9fa;
573
+ --puck-color-grey-01: #181818;
574
+ --puck-color-grey-02: #292929;
575
+ --puck-color-grey-03: #404040;
576
+ --puck-color-grey-04: #5a5a5a;
577
+ --puck-color-grey-05: #767676;
578
+ --puck-color-grey-06: #949494;
579
+ --puck-color-grey-07: #ababab;
580
+ --puck-color-grey-08: #c3c3c3;
581
+ --puck-color-grey-09: #dcdcdc;
582
+ --puck-color-grey-10: #efefef;
583
+ --puck-color-grey-11: #f5f5f5;
584
+ --puck-color-grey-12: #fafafa;
585
+ --puck-color-black: #000000;
586
+ --puck-color-white: #ffffff;
587
+ }
588
+
589
+ /* styles/typography.css */
590
+ :root {
591
+ --puck-font-size-scale-base-unitless: 12;
592
+ --puck-font-size-xxxs-unitless: 12;
593
+ --puck-font-size-xxs-unitless: 14;
594
+ --puck-font-size-xs-unitless: 16;
595
+ --puck-font-size-s-unitless: 18;
596
+ --puck-font-size-m-unitless: 21;
597
+ --puck-font-size-l-unitless: 24;
598
+ --puck-font-size-xl-unitless: 28;
599
+ --puck-font-size-xxl-unitless: 36;
600
+ --puck-font-size-xxxl-unitless: 48;
601
+ --puck-font-size-xxxxl-unitless: 56;
602
+ --puck-font-size-xxxs: calc(1rem * var(--puck-font-size-xxxs-unitless) / 16);
603
+ --puck-font-size-xxs: calc(1rem * var(--puck-font-size-xxs-unitless) / 16);
604
+ --puck-font-size-xs: calc(1rem * var(--puck-font-size-xs-unitless) / 16);
605
+ --puck-font-size-s: calc(1rem * var(--puck-font-size-s-unitless) / 16);
606
+ --puck-font-size-m: calc(1rem * var(--puck-font-size-m-unitless) / 16);
607
+ --puck-font-size-l: calc(1rem * var(--puck-font-size-l-unitless) / 16);
608
+ --puck-font-size-xl: calc(1rem * var(--puck-font-size-xl-unitless) / 16);
609
+ --puck-font-size-xxl: calc(1rem * var(--puck-font-size-xxl-unitless) / 16);
610
+ --puck-font-size-xxxl: calc(1rem * var(--puck-font-size-xxxl-unitless) / 16);
611
+ --puck-font-size-xxxxl: calc( 1rem * var(--puck-font-size-xxxxl-unitless) / 16 );
612
+ --puck-font-size-base: var(--puck-font-size-xs);
613
+ --line-height-reset: 1;
614
+ --line-height-xs: calc( var(--space-m-unitless) / var(--puck-font-size-m-unitless) );
615
+ --line-height-s: calc( var(--space-m-unitless) / var(--puck-font-size-s-unitless) );
616
+ --line-height-m: calc( var(--space-m-unitless) / var(--puck-font-size-xs-unitless) );
617
+ --line-height-l: calc( var(--space-m-unitless) / var(--puck-font-size-xxs-unitless) );
618
+ --line-height-xl: calc( var(--space-m-unitless) / var(--puck-font-size-scale-base-unitless) );
619
+ --line-height-base: var(--line-height-m);
620
+ --fallback-font-stack:
621
+ -apple-system,
622
+ BlinkMacSystemFont,
623
+ Segoe UI,
624
+ Helvetica Neue,
625
+ sans-serif,
626
+ Apple Color Emoji,
627
+ Segoe UI Emoji,
628
+ Segoe UI Symbol;
629
+ --puck-font-family: Inter, var(--fallback-font-stack);
630
+ --puck-font-family-monospaced:
631
+ ui-monospace,
632
+ "Cascadia Code",
633
+ "Source Code Pro",
634
+ Menlo,
635
+ Consolas,
636
+ "DejaVu Sans Mono",
637
+ monospace;
638
+ }
639
+ @supports (font-variation-settings: normal) {
640
+ :root {
641
+ --puck-font-family: InterVariable, var(--fallback-font-stack);
642
+ }
643
+ }
644
+
645
+ /* bundle/core.css */
646
+ #frame-root {
647
+ height: 1px;
648
+ min-height: 100vh;
649
+ }
650
+ [data-puck-entry] {
651
+ position: relative;
652
+ z-index: 0;
653
+ }
654
+
655
+ /* bundle/index.css */
656
+
657
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
658
+ ._ExternalInput-actions_91ls0_1 {
659
+ display: flex;
660
+ }
661
+ ._ExternalInput-button_91ls0_5 {
662
+ display: flex;
663
+ gap: 8px;
664
+ align-items: center;
665
+ justify-content: center;
666
+ background-color: var(--puck-color-white);
667
+ border: 1px solid var(--puck-color-grey-09);
668
+ border-radius: 4px;
669
+ color: var(--puck-color-azure-04);
670
+ padding: 12px 16px;
671
+ font-weight: 500;
672
+ white-space: nowrap;
673
+ text-overflow: ellipsis;
674
+ transition: background-color 50ms ease-in;
675
+ position: relative;
676
+ overflow: hidden;
677
+ flex-grow: 1;
678
+ }
679
+ ._ExternalInput--dataSelected_91ls0_24 ._ExternalInput-button_91ls0_5 {
680
+ color: var(--puck-color-grey-03);
681
+ display: block;
682
+ border-top-right-radius: 0px;
683
+ border-bottom-right-radius: 0px;
684
+ }
685
+ ._ExternalInput--readOnly_91ls0_31 ._ExternalInput-button_91ls0_5 {
686
+ background-color: var(--puck-color-grey-11);
669
687
  }
670
688
  ._ExternalInput-detachButton_91ls0_35 {
671
689
  border: 1px solid var(--puck-color-grey-09);
@@ -1082,6 +1100,248 @@ textarea._Input-input_bsxfo_26 {
1082
1100
  padding-inline-start: 8px;
1083
1101
  }
1084
1102
 
1103
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/styles.module.css/#css-module-data */
1104
+ ._RichTextMenu_k97eh_1 {
1105
+ display: flex;
1106
+ flex-direction: row;
1107
+ flex-wrap: nowrap;
1108
+ }
1109
+ ._RichTextMenu--form_k97eh_7 {
1110
+ border-top-left-radius: 4px;
1111
+ border-top-right-radius: 4px;
1112
+ padding: 6px 6px;
1113
+ background-color: var(--puck-color-grey-12);
1114
+ position: relative;
1115
+ scrollbar-width: none;
1116
+ overflow-x: auto;
1117
+ }
1118
+ ._RichTextMenu-group_k97eh_17 {
1119
+ display: flex;
1120
+ align-items: space-between;
1121
+ flex-direction: row;
1122
+ flex-wrap: nowrap;
1123
+ padding-inline: 6px;
1124
+ gap: 2px;
1125
+ position: relative;
1126
+ }
1127
+ ._RichTextMenu-group_k97eh_17:first-of-type {
1128
+ padding-left: 0;
1129
+ }
1130
+ ._RichTextMenu-group_k97eh_17:last-of-type {
1131
+ padding-right: 0;
1132
+ }
1133
+ ._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 {
1134
+ color: var(--puck-color-grey-08);
1135
+ gap: 0px;
1136
+ flex-wrap: nowrap;
1137
+ }
1138
+ ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
1139
+ border-left: 1px solid var(--puck-color-grey-10);
1140
+ }
1141
+ ._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
1142
+ border-left: 0.5px solid var(--puck-color-grey-05);
1143
+ }
1144
+
1145
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
1146
+ ._Control_1aveu_1 .lucide {
1147
+ height: 18px;
1148
+ width: 18px;
1149
+ }
1150
+ ._Control--inline_1aveu_6 .lucide {
1151
+ height: 16px;
1152
+ width: 16px;
1153
+ }
1154
+
1155
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Select/styles.module.css/#css-module-data */
1156
+ ._Select_xjbef_1 {
1157
+ position: relative;
1158
+ z-index: 1;
1159
+ }
1160
+ ._Select-button_xjbef_6 {
1161
+ align-items: center;
1162
+ background: transparent;
1163
+ border: none;
1164
+ border-radius: 4px;
1165
+ display: flex;
1166
+ justify-content: center;
1167
+ gap: 0px;
1168
+ height: 100%;
1169
+ padding: 4px;
1170
+ padding-right: 2px;
1171
+ }
1172
+ ._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6 {
1173
+ color: currentColor;
1174
+ }
1175
+ ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6 {
1176
+ cursor: pointer;
1177
+ }
1178
+ ._Select-buttonIcon_xjbef_27 {
1179
+ align-items: center;
1180
+ display: flex;
1181
+ justify-content: center;
1182
+ }
1183
+ ._Select--standalone_xjbef_33 ._Select-buttonIcon_xjbef_27 .lucide {
1184
+ height: 18px;
1185
+ width: 18px;
1186
+ }
1187
+ ._Select--actionBar_xjbef_38 ._Select-buttonIcon_xjbef_27 .lucide {
1188
+ height: 16px;
1189
+ width: 16px;
1190
+ }
1191
+ ._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6:hover,
1192
+ ._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
1193
+ background: var(--puck-color-grey-10);
1194
+ color: var(--puck-color-azure-04);
1195
+ }
1196
+ ._Select--disabled_xjbef_23 ._Select-button_xjbef_6 {
1197
+ color: var(--puck-color-grey-07);
1198
+ }
1199
+ ._Select--actionBar_xjbef_38 {
1200
+ &._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6:hover,
1201
+ &._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
1202
+ background: none;
1203
+ color: var(--puck-color-azure-07);
1204
+ }
1205
+ }
1206
+ ._Select-items_xjbef_61 {
1207
+ background: white;
1208
+ border: 1px solid var(--puck-color-grey-09);
1209
+ border-radius: 8px;
1210
+ margin: 10px 8px;
1211
+ margin-left: 0;
1212
+ padding: 4px;
1213
+ z-index: 2;
1214
+ list-style: none;
1215
+ }
1216
+ ._SelectItem_xjbef_72 {
1217
+ background: transparent;
1218
+ border-radius: 4px;
1219
+ border: none;
1220
+ color: var(--puck-color-grey-04);
1221
+ cursor: pointer;
1222
+ display: flex;
1223
+ gap: 8px;
1224
+ align-items: center;
1225
+ font-size: var(--puck-font-size-xxs);
1226
+ margin: 0;
1227
+ padding: 8px 12px;
1228
+ width: 100%;
1229
+ }
1230
+ ._SelectItem--isSelected_xjbef_87 {
1231
+ background: var(--puck-color-azure-11);
1232
+ color: var(--puck-color-azure-04);
1233
+ font-weight: 500;
1234
+ }
1235
+ ._SelectItem--isSelected_xjbef_87 ._SelectItem-icon_xjbef_93 {
1236
+ color: var(--puck-color-azure-04);
1237
+ }
1238
+ ._SelectItem_xjbef_72:hover {
1239
+ background: var(--puck-color-azure-11);
1240
+ color: var(--puck-color-azure-04);
1241
+ }
1242
+
1243
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextEditor/styles.module.css/#css-module-data */
1244
+ ._RichTextEditor_1elol_1 .ProseMirror {
1245
+ white-space: pre-wrap;
1246
+ word-wrap: break-word;
1247
+ cursor: text;
1248
+ outline: none;
1249
+ position: relative;
1250
+ }
1251
+ ._RichTextEditor_1elol_1 .rich-text * {
1252
+ white-space: pre-wrap;
1253
+ user-select: auto;
1254
+ -webkit-user-select: auto;
1255
+ }
1256
+ ._RichTextEditor_1elol_1 .rich-text blockquote {
1257
+ margin: 1em 0;
1258
+ padding: 0 1em;
1259
+ border-left: 4px solid var(--puck-color-grey-09);
1260
+ }
1261
+ ._RichTextEditor_1elol_1 .rich-text code {
1262
+ background-color: var(--puck-color-grey-11);
1263
+ padding: 4px 8px;
1264
+ border-radius: 4px;
1265
+ }
1266
+ ._RichTextEditor_1elol_1 .rich-text p:empty::before {
1267
+ content: "\a0";
1268
+ }
1269
+ ._RichTextEditor_1elol_1 .rich-text pre code {
1270
+ display: block;
1271
+ padding: 8px 12px;
1272
+ }
1273
+ ._RichTextEditor_1elol_1 .rich-text > *:first-child,
1274
+ ._RichTextEditor_1elol_1 .ProseMirror > *:first-child,
1275
+ ._RichTextEditor_1elol_1 .rich-text * p:first-of-type {
1276
+ margin-top: 0;
1277
+ }
1278
+ ._RichTextEditor_1elol_1 .rich-text > *:last-child,
1279
+ ._RichTextEditor_1elol_1 .ProseMirror > *:last-child,
1280
+ ._RichTextEditor_1elol_1 .rich-text * p:last-of-type {
1281
+ margin-bottom: 0;
1282
+ }
1283
+ ._RichTextEditor--editor_1elol_50 {
1284
+ background: var(--puck-color-white);
1285
+ border-width: 1px;
1286
+ border-style: solid;
1287
+ border-color: var(--puck-color-grey-09);
1288
+ border-radius: 4px;
1289
+ box-sizing: border-box;
1290
+ display: flex;
1291
+ flex-direction: column;
1292
+ font-family: inherit;
1293
+ font-size: var(--puck-font-size-xxs);
1294
+ resize: vertical;
1295
+ transition: border-color 50ms ease-in;
1296
+ width: 100%;
1297
+ max-width: 100%;
1298
+ min-height: 128px;
1299
+ }
1300
+ ._RichTextEditor--editor_1elol_50 .rich-text {
1301
+ flex-grow: 1;
1302
+ }
1303
+ ._RichTextEditor--editor_1elol_50 .rich-text:not(:has(.ProseMirror)),
1304
+ ._RichTextEditor--editor_1elol_50 .rich-text .ProseMirror {
1305
+ height: 100%;
1306
+ padding: 12px 15px;
1307
+ }
1308
+ ._RichTextEditor--editor_1elol_50 .rich-text ul,
1309
+ ._RichTextEditor--editor_1elol_50 .rich-text ol {
1310
+ padding-left: 24px;
1311
+ }
1312
+ ._RichTextEditor--editor_1elol_50 .rich-text li {
1313
+ line-height: 1.5;
1314
+ }
1315
+ ._RichTextEditor--editor_1elol_50 .rich-text p {
1316
+ margin-block: 12px;
1317
+ }
1318
+ ._RichTextEditor--editor_1elol_50 .rich-text ul {
1319
+ list-style: disc;
1320
+ }
1321
+ ._RichTextEditor--editor_1elol_50 .rich-text ol {
1322
+ list-style: decimal;
1323
+ }
1324
+ ._RichTextEditor--editor_1elol_50:focus-within {
1325
+ border-color: var(--puck-color-grey-05);
1326
+ outline: 2px solid var(--puck-color-azure-05);
1327
+ transition: none;
1328
+ }
1329
+ ._RichTextEditor--editor_1elol_50._RichTextEditor--disabled_1elol_106 {
1330
+ background: var(--puck-color-grey-11);
1331
+ }
1332
+ ._RichTextEditor_1elol_1:not(:focus-within):not(._RichTextEditor--isActive_1elol_110) .ProseMirror ::selection {
1333
+ background-color: transparent;
1334
+ }
1335
+ ._RichTextEditor-menu_1elol_116 {
1336
+ border-bottom: 1px solid var(--puck-color-grey-10);
1337
+ position: sticky;
1338
+ top: 0;
1339
+ z-index: 1;
1340
+ }
1341
+ ._RichTextEditor--disabled_1elol_106 ._RichTextEditor-menu_1elol_116 {
1342
+ border-bottom: 1px solid var(--puck-color-grey-09);
1343
+ }
1344
+
1085
1345
  /* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
1086
1346
  ._ObjectField_1ua3y_5 {
1087
1347
  display: flex;
@@ -1324,7 +1584,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1324
1584
  outline-offset: 2px;
1325
1585
  }
1326
1586
  [data-puck-overlay-portal]:focus-within {
1327
- outline: 2px var(--puck-color-azure-07) solid;
1587
+ outline: 2px var(--puck-color-azure-07) dashed;
1328
1588
  outline-offset: 2px;
1329
1589
  }
1330
1590
 
@@ -1343,23 +1603,185 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1343
1603
  display: none;
1344
1604
  }
1345
1605
 
1346
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1347
- ._PuckFields_10bh7_1 {
1606
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1607
+ ._SidebarSection_8boj8_1 {
1608
+ display: flex;
1348
1609
  position: relative;
1349
- font-family: var(--puck-font-family);
1610
+ flex-direction: column;
1611
+ color: var(--puck-color-black);
1350
1612
  }
1351
- ._PuckFields--isLoading_10bh7_6 {
1352
- min-height: 48px;
1613
+ ._SidebarSection_8boj8_1:last-of-type {
1614
+ flex-grow: 1;
1353
1615
  }
1354
- ._PuckFields-loadingOverlay_10bh7_10 {
1616
+ ._SidebarSection-title_8boj8_12 {
1355
1617
  background: var(--puck-color-white);
1356
- display: flex;
1357
- justify-content: flex-end;
1358
- align-items: flex-start;
1359
- height: 100%;
1360
- width: 100%;
1361
- top: 0px;
1362
- position: absolute;
1618
+ padding: 16px;
1619
+ border-bottom: 1px solid var(--puck-color-grey-09);
1620
+ border-top: 1px solid var(--puck-color-grey-09);
1621
+ overflow-x: auto;
1622
+ }
1623
+ ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1624
+ border-top: 0px;
1625
+ }
1626
+ ._SidebarSection-content_8boj8_24 {
1627
+ padding: 16px;
1628
+ }
1629
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1630
+ padding: 0px;
1631
+ }
1632
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1633
+ padding-bottom: 4px;
1634
+ }
1635
+ ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1636
+ border-bottom: none;
1637
+ flex-grow: 1;
1638
+ }
1639
+ ._SidebarSection-breadcrumbLabel_8boj8_41 {
1640
+ background: none;
1641
+ border: 0;
1642
+ border-radius: 2px;
1643
+ color: var(--puck-color-azure-04);
1644
+ cursor: pointer;
1645
+ font: inherit;
1646
+ flex-shrink: 0;
1647
+ padding: 0;
1648
+ transition: color 50ms ease-in;
1649
+ }
1650
+ ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1651
+ outline: 2px solid var(--puck-color-azure-05);
1652
+ outline-offset: 2px;
1653
+ }
1654
+ @media (hover: hover) and (pointer: fine) {
1655
+ ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1656
+ color: var(--puck-color-azure-03);
1657
+ transition: none;
1658
+ }
1659
+ }
1660
+ ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1661
+ color: var(--puck-color-azure-02);
1662
+ transition: none;
1663
+ }
1664
+ ._SidebarSection-breadcrumbs_8boj8_70 {
1665
+ align-items: center;
1666
+ display: flex;
1667
+ gap: 4px;
1668
+ }
1669
+ ._SidebarSection-breadcrumb_8boj8_41 {
1670
+ align-items: center;
1671
+ display: flex;
1672
+ gap: 4px;
1673
+ }
1674
+ ._SidebarSection-heading_8boj8_82 {
1675
+ padding-inline-end: 16px;
1676
+ }
1677
+ ._SidebarSection-loadingOverlay_8boj8_86 {
1678
+ background: var(--puck-color-white);
1679
+ display: flex;
1680
+ justify-content: center;
1681
+ align-items: center;
1682
+ height: 100%;
1683
+ width: 100%;
1684
+ top: 0;
1685
+ position: absolute;
1686
+ z-index: 1;
1687
+ pointer-events: all;
1688
+ box-sizing: border-box;
1689
+ opacity: 0.8;
1690
+ }
1691
+
1692
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
1693
+ ._Puck_1yxlw_19 {
1694
+ --puck-space-px: 16px;
1695
+ font-family: var(--puck-font-family);
1696
+ overflow-x: hidden;
1697
+ }
1698
+ @media (min-width: 766px) {
1699
+ ._Puck_1yxlw_19 {
1700
+ overflow-x: auto;
1701
+ }
1702
+ }
1703
+ ._Puck-portal_1yxlw_31 {
1704
+ position: relative;
1705
+ z-index: 2;
1706
+ }
1707
+ ._PuckLayout-inner_1yxlw_38 {
1708
+ --puck-frame-width: auto;
1709
+ --puck-side-bar-width: 0px;
1710
+ --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, var(--puck-side-bar-width) );
1711
+ --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, var(--puck-side-bar-width) );
1712
+ display: grid;
1713
+ grid-template-areas: "header header header" "left editor right";
1714
+ grid-template-columns: 0 var(--puck-frame-width) 0;
1715
+ grid-template-rows: min-content auto;
1716
+ height: 100dvh;
1717
+ position: relative;
1718
+ z-index: 0;
1719
+ }
1720
+ ._PuckLayout--mounted_1yxlw_59 ._PuckLayout-inner_1yxlw_38 {
1721
+ --puck-side-bar-width: 186px;
1722
+ }
1723
+ ._PuckLayout--leftSideBarVisible_1yxlw_63 ._PuckLayout-inner_1yxlw_38 {
1724
+ grid-template-columns: var(--puck-left-side-bar-width) var(--puck-frame-width) 0;
1725
+ }
1726
+ ._PuckLayout--rightSideBarVisible_1yxlw_69 ._PuckLayout-inner_1yxlw_38 {
1727
+ grid-template-columns: 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
1728
+ }
1729
+ ._PuckLayout--leftSideBarVisible_1yxlw_63._PuckLayout--rightSideBarVisible_1yxlw_69 ._PuckLayout-inner_1yxlw_38 {
1730
+ grid-template-columns: var(--puck-left-side-bar-width) var(--puck-frame-width) var(--puck-right-side-bar-width);
1731
+ }
1732
+ @media (min-width: 458px) {
1733
+ ._PuckLayout-mounted_1yxlw_83 ._PuckLayout-inner_1yxlw_38 {
1734
+ --puck-frame-width: minmax(266px, auto);
1735
+ }
1736
+ }
1737
+ @media (min-width: 638px) {
1738
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1739
+ --puck-side-bar-width: minmax(186px, 250px);
1740
+ }
1741
+ }
1742
+ @media (min-width: 766px) {
1743
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1744
+ --puck-frame-width: auto;
1745
+ }
1746
+ }
1747
+ @media (min-width: 990px) {
1748
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1749
+ --puck-side-bar-width: 256px;
1750
+ }
1751
+ }
1752
+ @media (min-width: 1198px) {
1753
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1754
+ --puck-side-bar-width: 274px;
1755
+ }
1756
+ }
1757
+ @media (min-width: 1398px) {
1758
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1759
+ --puck-side-bar-width: 290px;
1760
+ }
1761
+ }
1762
+ @media (min-width: 1598px) {
1763
+ ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1764
+ --puck-side-bar-width: 320px;
1765
+ }
1766
+ }
1767
+
1768
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1769
+ ._PuckFields_10bh7_1 {
1770
+ position: relative;
1771
+ font-family: var(--puck-font-family);
1772
+ }
1773
+ ._PuckFields--isLoading_10bh7_6 {
1774
+ min-height: 48px;
1775
+ }
1776
+ ._PuckFields-loadingOverlay_10bh7_10 {
1777
+ background: var(--puck-color-white);
1778
+ display: flex;
1779
+ justify-content: flex-end;
1780
+ align-items: flex-start;
1781
+ height: 100%;
1782
+ width: 100%;
1783
+ top: 0px;
1784
+ position: absolute;
1363
1785
  z-index: 1;
1364
1786
  pointer-events: all;
1365
1787
  box-sizing: border-box;
@@ -1434,14 +1856,6 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1434
1856
  margin-inline-start: auto;
1435
1857
  }
1436
1858
 
1437
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Components/styles.module.css/#css-module-data */
1438
- ._Components_3pbdy_1 {
1439
- padding: 16px;
1440
- height: 100%;
1441
- overflow-y: auto;
1442
- box-sizing: border-box;
1443
- }
1444
-
1445
1859
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
1446
1860
  ._PuckPreview_z2rgu_1 {
1447
1861
  position: relative;
@@ -1556,168 +1970,111 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1556
1970
  margin-top: 4px;
1557
1971
  }
1558
1972
 
1559
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/styles.module.css/#css-module-data */
1560
- ._Outline_cvjlj_1 {
1561
- padding: 16px;
1562
- height: 100%;
1563
- overflow-y: auto;
1973
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1974
+ ._ViewportControls_gejzr_1 {
1975
+ display: flex;
1976
+ background: var(--puck-color-grey-11);
1564
1977
  box-sizing: border-box;
1978
+ border-inline-start: 2px solid var(--puck-color-grey-11);
1979
+ justify-content: center;
1980
+ gap: 8px;
1981
+ min-width: 358px;
1982
+ padding-bottom: 16px;
1983
+ padding-inline-start: var(--puck-space-px);
1984
+ padding-inline-end: var(--puck-space-px);
1985
+ z-index: 1;
1565
1986
  }
1566
-
1567
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
1568
- ._Puck_lqzmv_19 {
1569
- --puck-space-px: 16px;
1570
- font-family: var(--puck-font-family);
1571
- height: 100%;
1572
- overflow-x: hidden;
1987
+ ._ViewportControls-divider_gejzr_15 {
1988
+ border-inline-end: 1px solid var(--puck-color-grey-09);
1989
+ margin-inline-start: 8px;
1990
+ margin-inline-end: 8px;
1573
1991
  }
1574
- @media (min-width: 766px) {
1575
- ._Puck_lqzmv_19 {
1576
- overflow-x: auto;
1577
- }
1992
+ ._ViewportControls-zoomSelect_gejzr_21 {
1993
+ appearance: none;
1994
+ 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;
1995
+ background-size: 10px;
1996
+ background-position: calc(100% - 12px) calc(50% + 3px);
1997
+ background-repeat: no-repeat;
1998
+ border: 0;
1999
+ font-size: var(--puck-font-size-xxxs);
2000
+ padding: 0;
2001
+ width: 96px;
1578
2002
  }
1579
- ._Puck-portal_lqzmv_32 {
1580
- position: relative;
1581
- z-index: 2;
2003
+ ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
2004
+ background-position: 12px calc(50% + 3px);
1582
2005
  }
1583
- ._PuckLayout_lqzmv_37 {
1584
- height: 100dvh;
2006
+ ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
2007
+ color: var(--puck-color-azure-04);
1585
2008
  }
1586
- ._PuckLayout-inner_lqzmv_41 {
1587
- --puck-frame-width: auto;
1588
- --puck-side-nav-width: min-content;
1589
- --puck-side-bar-width: 0px;
1590
- --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, var(--puck-side-bar-width) );
1591
- --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, var(--puck-side-bar-width) );
1592
- background-color: var(--puck-color-grey-12);
1593
- display: grid;
1594
- grid-template-areas: "header" "editor" "left" "right" "sidenav";
1595
- grid-template-columns: var(--puck-frame-width);
1596
- grid-template-rows: min-content auto 0 0 var(--puck-side-nav-width);
1597
- height: 100%;
1598
- position: relative;
1599
- transition: grid-template-rows 150ms ease-in;
1600
- z-index: 0;
1601
- overflow: hidden;
2009
+
2010
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
2011
+ ._PuckCanvas_18jay_1 {
2012
+ background: var(--puck-color-grey-11);
2013
+ display: flex;
2014
+ grid-area: editor;
2015
+ flex-direction: column;
2016
+ padding: var(--puck-space-px);
2017
+ overflow: auto;
1602
2018
  }
1603
- @media (min-width: 638px) {
1604
- ._PuckLayout-inner_lqzmv_41 {
1605
- --puck-side-nav-width: 68px;
1606
- grid-template-areas: "header header header header" "sidenav left editor right";
1607
- grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) 0;
1608
- grid-template-rows: min-content auto;
2019
+ @media (min-width: 1198px) {
2020
+ ._PuckCanvas_18jay_1 {
2021
+ padding: calc(var(--puck-space-px) * 1.5);
2022
+ padding-top: var(--puck-space-px);
1609
2023
  }
1610
- }
1611
- ._PuckLayout--mounted_lqzmv_74 ._PuckLayout-inner_lqzmv_41 {
1612
- --puck-side-bar-width: 186px;
1613
- }
1614
- ._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41 {
1615
- grid-template-rows: 0 auto 30% 0 var(--puck-side-nav-width);
1616
- }
1617
- ._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
1618
- grid-template-rows: 0 auto 55% 0 var(--puck-side-nav-width);
1619
- }
1620
- @media (min-width: 638px) {
1621
- ._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41 {
1622
- grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1623
- grid-template-rows: min-content auto;
2024
+ ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
2025
+ padding-top: calc(var(--puck-space-px) * 1.5);
1624
2026
  }
1625
2027
  }
1626
- ._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
1627
- ._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
1628
- grid-template-rows: 0 auto min-content 0 var(--puck-side-nav-width);
2028
+ ._PuckCanvas-inner_18jay_21 {
2029
+ display: flex;
2030
+ height: 100%;
2031
+ justify-content: center;
2032
+ min-width: 358px;
2033
+ position: relative;
2034
+ width: 100%;
1629
2035
  }
1630
- @media (min-width: 638px) {
1631
- ._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
1632
- ._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41,
1633
- ._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
1634
- ._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
1635
- grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1636
- grid-template-rows: min-content auto;
1637
- }
2036
+ ._PuckCanvas-root_18jay_30 {
2037
+ background: white;
2038
+ border: 1px solid var(--puck-color-grey-09);
2039
+ box-sizing: content-box;
2040
+ min-width: 321px;
2041
+ position: absolute;
2042
+ pointer-events: none;
2043
+ transform-origin: top;
2044
+ top: 0;
2045
+ bottom: 0;
2046
+ opacity: 0;
1638
2047
  }
1639
- @media (min-width: 638px) {
1640
- ._PuckLayout--rightSideBarVisible_lqzmv_129 ._PuckLayout-inner_lqzmv_41 {
1641
- grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
2048
+ @media (min-width: 1198px) {
2049
+ ._PuckCanvas-root_18jay_30 {
2050
+ min-width: unset;
1642
2051
  }
1643
2052
  }
1644
- @media (min-width: 638px) {
1645
- ._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--rightSideBarVisible_lqzmv_129 ._PuckLayout-inner_lqzmv_41 {
1646
- grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) var(--puck-right-side-bar-width);
2053
+ @media (prefers-reduced-motion: reduce) {
2054
+ ._PuckCanvas-root_18jay_30 {
2055
+ transition: none !important;
1647
2056
  }
1648
2057
  }
1649
- @media (min-width: 458px) {
1650
- ._PuckLayout-mounted_lqzmv_148 ._PuckLayout-inner_lqzmv_41 {
1651
- --puck-frame-width: minmax(266px, auto);
1652
- }
2058
+ ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
2059
+ pointer-events: unset;
2060
+ opacity: 1;
1653
2061
  }
1654
- @media (min-width: 638px) {
1655
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1656
- --puck-side-bar-width: minmax(186px, 250px);
1657
- }
2062
+ ._PuckCanvas-loader_18jay_60 {
2063
+ align-items: center;
2064
+ color: var(--puck-color-grey-06);
2065
+ display: flex;
2066
+ height: 100%;
2067
+ justify-content: center;
2068
+ transition: opacity 250ms ease-out;
2069
+ opacity: 0;
1658
2070
  }
1659
- @media (min-width: 766px) {
1660
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1661
- --puck-frame-width: auto;
1662
- }
2071
+ ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
2072
+ opacity: 1;
1663
2073
  }
1664
- @media (min-width: 990px) {
1665
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1666
- --puck-side-bar-width: 256px;
1667
- }
1668
- }
1669
- @media (min-width: 1198px) {
1670
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1671
- --puck-side-bar-width: 274px;
1672
- }
1673
- }
1674
- @media (min-width: 1398px) {
1675
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1676
- --puck-side-bar-width: 290px;
1677
- }
1678
- }
1679
- @media (min-width: 1598px) {
1680
- ._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
1681
- --puck-side-bar-width: 320px;
1682
- }
1683
- }
1684
- ._PuckLayout-nav_lqzmv_189 {
1685
- border-top: 1px solid var(--puck-color-grey-09);
1686
- background-color: var(--puck-color-grey-12);
1687
- grid-area: sidenav;
1688
- overflow: hidden;
1689
- width: 100%;
1690
- }
1691
- @media (min-width: 638px) {
1692
- ._PuckLayout-nav_lqzmv_189 {
1693
- border-top: 0;
1694
- border-right: 1px solid var(--puck-color-grey-09);
1695
- box-sizing: border-box;
1696
- }
1697
- }
1698
- ._PuckLayout-header_lqzmv_205 {
1699
- grid-area: header;
1700
- }
1701
- ._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-header_lqzmv_205 {
1702
- overflow: hidden;
1703
- }
1704
- @media (min-width: 638px) {
1705
- ._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-header_lqzmv_205 {
1706
- overflow: auto;
1707
- }
1708
- }
1709
- ._PuckPluginTab_lqzmv_219 {
1710
- display: none;
1711
- flex-grow: 1;
1712
- overflow: hidden;
1713
- }
1714
- ._PuckPluginTab--visible_lqzmv_225 {
1715
- display: flex;
1716
- flex-direction: column;
1717
- }
1718
- ._PuckPluginTab-body_lqzmv_230 {
1719
- flex-grow: 1;
1720
- overflow: hidden;
2074
+ ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
2075
+ opacity: 0;
2076
+ height: 0;
2077
+ transition: none;
1721
2078
  }
1722
2079
 
1723
2080
  /* css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css/#css-module-data */
@@ -1765,7 +2122,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1765
2122
  }
1766
2123
 
1767
2124
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Header/styles.module.css/#css-module-data */
1768
- ._PuckHeader_1bhmt_1 {
2125
+ ._PuckHeader_15xnq_1 {
1769
2126
  background: var(--puck-color-white);
1770
2127
  border-bottom: 1px solid var(--puck-color-grey-09);
1771
2128
  color: var(--puck-color-black);
@@ -1773,12 +2130,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1773
2130
  position: relative;
1774
2131
  max-width: 100vw;
1775
2132
  }
1776
- @media (min-width: 638px) {
1777
- ._PuckHeader_1bhmt_1 {
1778
- padding-left: 67px;
1779
- }
1780
- }
1781
- ._PuckHeader-inner_1bhmt_16 {
2133
+ ._PuckHeader-inner_15xnq_10 {
1782
2134
  align-items: end;
1783
2135
  display: grid;
1784
2136
  gap: var(--puck-space-px);
@@ -1787,372 +2139,43 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1787
2139
  grid-template-rows: auto;
1788
2140
  padding: var(--puck-space-px);
1789
2141
  }
1790
- @media (min-width: 638px) {
1791
- ._PuckHeader-inner_1bhmt_16 {
1792
- border-left: 1px solid var(--puck-color-grey-09);
1793
- }
1794
- }
1795
- ._PuckHeader-toggle_1bhmt_32 {
2142
+ ._PuckHeader-toggle_15xnq_20 {
1796
2143
  color: var(--puck-color-grey-05);
1797
2144
  display: flex;
1798
2145
  margin-inline-start: -4px;
1799
2146
  padding-top: 2px;
1800
2147
  }
1801
- ._PuckHeader--rightSideBarVisible_1bhmt_39 ._PuckHeader-rightSideBarToggle_1bhmt_39,
1802
- ._PuckHeader--leftSideBarVisible_1bhmt_40 ._PuckHeader-leftSideBarToggle_1bhmt_40 {
2148
+ ._PuckHeader--rightSideBarVisible_15xnq_27 ._PuckHeader-rightSideBarToggle_15xnq_27,
2149
+ ._PuckHeader--leftSideBarVisible_15xnq_28 ._PuckHeader-leftSideBarToggle_15xnq_28 {
1803
2150
  color: var(--puck-color-black);
1804
2151
  }
1805
- ._PuckHeader-rightSideBarToggle_1bhmt_39,
1806
- ._PuckHeader-leftSideBarToggle_1bhmt_40 {
1807
- display: none;
1808
- }
1809
- @media (min-width: 638px) {
1810
- ._PuckHeader-rightSideBarToggle_1bhmt_39,
1811
- ._PuckHeader-leftSideBarToggle_1bhmt_40 {
1812
- display: block;
1813
- }
1814
- }
1815
- ._PuckHeader-title_1bhmt_56 {
2152
+ ._PuckHeader-title_15xnq_32 {
1816
2153
  align-self: center;
1817
2154
  }
1818
- ._PuckHeader-path_1bhmt_60 {
2155
+ ._PuckHeader-path_15xnq_36 {
1819
2156
  font-family: var(--puck-font-family-monospaced);
1820
2157
  font-size: var(--puck-font-size-xxs);
1821
2158
  font-weight: normal;
1822
2159
  word-break: break-all;
1823
2160
  }
1824
- ._PuckHeader-tools_1bhmt_67 {
2161
+ ._PuckHeader-tools_15xnq_43 {
1825
2162
  display: flex;
1826
2163
  gap: 16px;
1827
2164
  justify-content: flex-end;
1828
2165
  }
1829
- ._PuckHeader-menuButton_1bhmt_73 {
2166
+ ._PuckHeader-menuButton_15xnq_49 {
1830
2167
  color: var(--puck-color-grey-05);
1831
2168
  margin-inline-start: -4px;
1832
2169
  }
1833
- ._PuckHeader--menuOpen_1bhmt_78 ._PuckHeader-menuButton_1bhmt_73 {
2170
+ ._PuckHeader--menuOpen_15xnq_54 ._PuckHeader-menuButton_15xnq_49 {
1834
2171
  color: var(--puck-color-black);
1835
2172
  }
1836
2173
  @media (min-width: 638px) {
1837
- ._PuckHeader-menuButton_1bhmt_73 {
2174
+ ._PuckHeader-menuButton_15xnq_49 {
1838
2175
  display: none;
1839
2176
  }
1840
2177
  }
1841
2178
 
1842
- /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1843
- ._SidebarSection_8boj8_1 {
1844
- display: flex;
1845
- position: relative;
1846
- flex-direction: column;
1847
- color: var(--puck-color-black);
1848
- }
1849
- ._SidebarSection_8boj8_1:last-of-type {
1850
- flex-grow: 1;
1851
- }
1852
- ._SidebarSection-title_8boj8_12 {
1853
- background: var(--puck-color-white);
1854
- padding: 16px;
1855
- border-bottom: 1px solid var(--puck-color-grey-09);
1856
- border-top: 1px solid var(--puck-color-grey-09);
1857
- overflow-x: auto;
1858
- }
1859
- ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1860
- border-top: 0px;
1861
- }
1862
- ._SidebarSection-content_8boj8_24 {
1863
- padding: 16px;
1864
- }
1865
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1866
- padding: 0px;
1867
- }
1868
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1869
- padding-bottom: 4px;
1870
- }
1871
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1872
- border-bottom: none;
1873
- flex-grow: 1;
1874
- }
1875
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
1876
- background: none;
1877
- border: 0;
1878
- border-radius: 2px;
1879
- color: var(--puck-color-azure-04);
1880
- cursor: pointer;
1881
- font: inherit;
1882
- flex-shrink: 0;
1883
- padding: 0;
1884
- transition: color 50ms ease-in;
1885
- }
1886
- ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1887
- outline: 2px solid var(--puck-color-azure-05);
1888
- outline-offset: 2px;
1889
- }
1890
- @media (hover: hover) and (pointer: fine) {
1891
- ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1892
- color: var(--puck-color-azure-03);
1893
- transition: none;
1894
- }
1895
- }
1896
- ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1897
- color: var(--puck-color-azure-02);
1898
- transition: none;
1899
- }
1900
- ._SidebarSection-breadcrumbs_8boj8_70 {
1901
- align-items: center;
1902
- display: flex;
1903
- gap: 4px;
1904
- }
1905
- ._SidebarSection-breadcrumb_8boj8_41 {
1906
- align-items: center;
1907
- display: flex;
1908
- gap: 4px;
1909
- }
1910
- ._SidebarSection-heading_8boj8_82 {
1911
- padding-inline-end: 16px;
1912
- }
1913
- ._SidebarSection-loadingOverlay_8boj8_86 {
1914
- background: var(--puck-color-white);
1915
- display: flex;
1916
- justify-content: center;
1917
- align-items: center;
1918
- height: 100%;
1919
- width: 100%;
1920
- top: 0;
1921
- position: absolute;
1922
- z-index: 1;
1923
- pointer-events: all;
1924
- box-sizing: border-box;
1925
- opacity: 0.8;
1926
- }
1927
-
1928
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Breadcrumbs/styles.module.css/#css-module-data */
1929
- ._Breadcrumbs_1c9yh_1 {
1930
- align-items: center;
1931
- display: flex;
1932
- gap: 4px;
1933
- }
1934
- ._Breadcrumbs-breadcrumbLabel_1c9yh_7 {
1935
- background: none;
1936
- border: 0;
1937
- border-radius: 2px;
1938
- color: var(--puck-color-azure-04);
1939
- cursor: pointer;
1940
- font: inherit;
1941
- flex-shrink: 0;
1942
- padding: 0;
1943
- transition: color 50ms ease-in;
1944
- }
1945
- ._Breadcrumbs-breadcrumbLabel_1c9yh_7:focus-visible {
1946
- outline: 2px solid var(--puck-color-azure-05);
1947
- outline-offset: 2px;
1948
- }
1949
- @media (hover: hover) and (pointer: fine) {
1950
- ._Breadcrumbs-breadcrumbLabel_1c9yh_7:hover {
1951
- color: var(--puck-color-azure-03);
1952
- transition: none;
1953
- }
1954
- }
1955
- ._Breadcrumbs-breadcrumbLabel_1c9yh_7:active {
1956
- color: var(--puck-color-azure-02);
1957
- transition: none;
1958
- }
1959
- ._Breadcrumbs-breadcrumb_1c9yh_7 {
1960
- align-items: center;
1961
- display: flex;
1962
- gap: 4px;
1963
- }
1964
-
1965
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1966
- ._ViewportControls_e3unb_1 {
1967
- position: relative;
1968
- }
1969
- ._ViewportControls--fullScreen_e3unb_5 {
1970
- border-radius: 32px;
1971
- display: flex;
1972
- position: absolute;
1973
- bottom: 12px;
1974
- right: 12px;
1975
- overflow: hidden;
1976
- }
1977
- ._ViewportControls-toggleButton_e3unb_14 {
1978
- display: none;
1979
- }
1980
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-toggleButton_e3unb_14 {
1981
- align-items: center;
1982
- background-color: var(--puck-color-grey-02);
1983
- border: 1px solid var(--puck-color-grey-04);
1984
- border-radius: 30px;
1985
- cursor: pointer;
1986
- color: var(--puck-color-grey-11);
1987
- display: flex;
1988
- justify-content: center;
1989
- width: 42px;
1990
- height: 42px;
1991
- z-index: 1;
1992
- }
1993
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-toggleButton_e3unb_14:hover {
1994
- background-color: var(--puck-color-grey-02);
1995
- border: 1px solid var(--puck-color-azure-04);
1996
- color: var(--puck-color-azure-07);
1997
- }
1998
- ._ViewportControls--isExpanded_e3unb_38 ._ViewportControls-toggleButton_e3unb_14 {
1999
- background-color: var(--puck-color-grey-03);
2000
- }
2001
- ._ViewportControls-actions_e3unb_42 {
2002
- display: flex;
2003
- }
2004
- ._ViewportControls-actionsInner_e3unb_46 {
2005
- display: flex;
2006
- box-sizing: border-box;
2007
- justify-content: center;
2008
- margin-left: auto;
2009
- margin-right: auto;
2010
- z-index: 0;
2011
- overflow: hidden;
2012
- }
2013
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-actionsInner_e3unb_46 {
2014
- background: var(--puck-color-grey-11);
2015
- border: 1px solid var(--puck-color-grey-09);
2016
- border-radius: 30px;
2017
- margin-left: none;
2018
- margin-right: none;
2019
- padding-right: 42px;
2020
- }
2021
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-actionsInner_e3unb_46 {
2022
- transform: translateX(100%);
2023
- transition: transform 150ms ease-in-out;
2024
- }
2025
- ._ViewportControls--fullScreen_e3unb_5._ViewportControls--isExpanded_e3unb_38 ._ViewportControls-actionsInner_e3unb_46 {
2026
- transform: translateX(42px);
2027
- }
2028
- ._ViewportControls-divider_e3unb_75 {
2029
- border-inline-end: 1px solid var(--puck-color-grey-09);
2030
- margin-bottom: 8px;
2031
- margin-top: 8px;
2032
- }
2033
- ._ViewportControls-zoomSelect_e3unb_81 {
2034
- appearance: none;
2035
- 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;
2036
- background-size: 10px;
2037
- background-position: calc(100% - 12px) calc(50% + 3px);
2038
- background-repeat: no-repeat;
2039
- border: 0;
2040
- font-size: var(--puck-font-size-xxxs);
2041
- padding: 0;
2042
- padding-left: 8px;
2043
- width: 96px;
2044
- }
2045
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-zoom_e3unb_81 {
2046
- display: none;
2047
- }
2048
- @media (min-width: 638px) {
2049
- ._ViewportControls-zoom_e3unb_81,
2050
- ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-zoom_e3unb_81 {
2051
- display: flex;
2052
- justify-content: center;
2053
- }
2054
- }
2055
- ._ViewportControls-zoomSelect_e3unb_81:dir(rtl) {
2056
- background-position: 12px calc(50% + 3px);
2057
- }
2058
- ._ViewportButton-inner_e3unb_111 {
2059
- align-items: center;
2060
- display: flex;
2061
- justify-content: center;
2062
- height: 32px;
2063
- width: 32px;
2064
- }
2065
- ._ViewportButton--isActive_e3unb_119 ._ViewportButton-inner_e3unb_111 {
2066
- color: var(--puck-color-azure-04);
2067
- }
2068
-
2069
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
2070
- ._PuckCanvas_t6s9b_1 {
2071
- background: var(--puck-color-grey-11);
2072
- display: flex;
2073
- grid-area: editor;
2074
- flex-direction: column;
2075
- padding: var(--puck-space-px);
2076
- position: relative;
2077
- overflow: auto;
2078
- }
2079
- @media (min-width: 1198px) {
2080
- ._PuckCanvas_t6s9b_1 {
2081
- padding: calc(var(--puck-space-px) * 1.5);
2082
- padding-top: calc(var(--puck-space-px) * 0.5);
2083
- }
2084
- ._PuckCanvas_t6s9b_1:not(._PuckCanvas_t6s9b_1:has(._PuckCanvas-controls_t6s9b_17)) {
2085
- padding-top: calc(var(--puck-space-px) * 1.5);
2086
- }
2087
- }
2088
- ._PuckCanvas--fullScreen_t6s9b_22 {
2089
- padding: 0;
2090
- overflow: hidden;
2091
- }
2092
- @media (min-width: 1198px) {
2093
- ._PuckCanvas--fullScreen_t6s9b_22 {
2094
- padding: 0;
2095
- }
2096
- }
2097
- ._PuckCanvas-inner_t6s9b_33 {
2098
- display: flex;
2099
- height: 100%;
2100
- justify-content: center;
2101
- min-width: 288px;
2102
- position: relative;
2103
- width: 100%;
2104
- }
2105
- ._PuckCanvas-root_t6s9b_42 {
2106
- background: white;
2107
- outline: 1px solid var(--puck-color-grey-09);
2108
- box-sizing: content-box;
2109
- min-width: 321px;
2110
- position: absolute;
2111
- pointer-events: none;
2112
- transform-origin: top;
2113
- top: 0;
2114
- bottom: 0;
2115
- opacity: 0;
2116
- }
2117
- @media (min-width: 1198px) {
2118
- ._PuckCanvas-root_t6s9b_42 {
2119
- min-width: unset;
2120
- }
2121
- }
2122
- @media (prefers-reduced-motion: reduce) {
2123
- ._PuckCanvas-root_t6s9b_42 {
2124
- transition: none !important;
2125
- }
2126
- }
2127
- ._PuckCanvas--ready_t6s9b_67 ._PuckCanvas-root_t6s9b_42 {
2128
- pointer-events: unset;
2129
- opacity: 1;
2130
- }
2131
- ._PuckCanvas-loader_t6s9b_72 {
2132
- align-items: center;
2133
- color: var(--puck-color-grey-06);
2134
- display: flex;
2135
- height: 100%;
2136
- justify-content: center;
2137
- transition: opacity 250ms ease-out;
2138
- opacity: 0;
2139
- }
2140
- ._PuckCanvas--showLoader_t6s9b_82 ._PuckCanvas-loader_t6s9b_72 {
2141
- opacity: 1;
2142
- }
2143
- ._PuckCanvas--showLoader_t6s9b_82._PuckCanvas--ready_t6s9b_67 ._PuckCanvas-loader_t6s9b_72 {
2144
- opacity: 0;
2145
- height: 0;
2146
- transition: none;
2147
- }
2148
- ._PuckCanvas-controls_t6s9b_17 {
2149
- padding-bottom: calc(var(--puck-space-px) * 0.5);
2150
- }
2151
- ._PuckCanvas--fullScreen_t6s9b_22 ._PuckCanvas-controls_t6s9b_17 {
2152
- padding-bottom: 0;
2153
- z-index: 1;
2154
- }
2155
-
2156
2179
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/ResizeHandle/styles.module.css/#css-module-data */
2157
2180
  @media (min-width: 766px) {
2158
2181
  ._ResizeHandle_144bf_2 {
@@ -2187,173 +2210,31 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
2187
2210
  }
2188
2211
 
2189
2212
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Sidebar/styles.module.css/#css-module-data */
2190
- ._Sidebar_o396p_1 {
2191
- border-block-start: 1px solid var(--puck-color-grey-09);
2213
+ ._Sidebar_1xksb_1 {
2192
2214
  position: relative;
2193
- display: none;
2215
+ display: flex;
2194
2216
  flex-direction: column;
2195
2217
  overflow-y: auto;
2196
2218
  }
2197
- ._Sidebar--isVisible_o396p_9 {
2198
- display: flex;
2199
- }
2200
- ._Sidebar--left_o396p_13 {
2219
+ ._Sidebar--left_1xksb_8 {
2201
2220
  background: var(--puck-color-grey-12);
2221
+ border-inline-end: 1px solid var(--puck-color-grey-09);
2202
2222
  grid-area: left;
2203
2223
  }
2204
- @media (min-width: 766px) {
2205
- ._Sidebar--left_o396p_13 {
2206
- border-block-start: 0;
2207
- border-inline-end: 1px solid var(--puck-color-grey-09);
2208
- }
2209
- }
2210
- ._Sidebar--right_o396p_25 {
2224
+ ._Sidebar--right_1xksb_14 {
2211
2225
  background: var(--puck-color-white);
2226
+ border-inline-start: 1px solid var(--puck-color-grey-09);
2212
2227
  grid-area: right;
2213
2228
  }
2214
- @media (min-width: 766px) {
2215
- ._Sidebar--right_o396p_25 {
2216
- border-block-start: 0;
2217
- border-inline-start: 1px solid var(--puck-color-grey-09);
2218
- }
2219
- }
2220
- ._Sidebar-resizeHandle_o396p_37 {
2229
+ ._Sidebar-resizeHandle_1xksb_20 {
2221
2230
  position: absolute;
2222
2231
  height: 100%;
2223
2232
  }
2224
- ._Sidebar--left_o396p_13 + ._Sidebar-resizeHandle_o396p_37 {
2233
+ ._Sidebar--left_1xksb_8 + ._Sidebar-resizeHandle_1xksb_20 {
2225
2234
  grid-area: left;
2226
2235
  justify-self: end;
2227
2236
  }
2228
- ._Sidebar--right_o396p_25 + ._Sidebar-resizeHandle_o396p_37 {
2237
+ ._Sidebar--right_1xksb_14 + ._Sidebar-resizeHandle_1xksb_20 {
2229
2238
  grid-area: right;
2230
2239
  justify-self: start;
2231
2240
  }
2232
-
2233
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Nav/styles.module.css/#css-module-data */
2234
- ._Nav_3nnxc_1 {
2235
- display: flex;
2236
- }
2237
- ._Nav-list_3nnxc_5 {
2238
- display: flex;
2239
- list-style: none;
2240
- margin: 0;
2241
- padding: 0;
2242
- overflow-x: auto;
2243
- gap: 8px;
2244
- }
2245
- @media (min-width: 638px) {
2246
- ._Nav-list_3nnxc_5 {
2247
- padding-top: 32px;
2248
- flex-direction: column;
2249
- gap: 16px;
2250
- width: 100%;
2251
- }
2252
- }
2253
- ._Nav-mobileActions_3nnxc_23 {
2254
- align-items: center;
2255
- display: flex;
2256
- justify-content: center;
2257
- margin-inline-start: auto;
2258
- padding: 4px 16px;
2259
- border-inline-start: 1px solid var(--puck-color-grey-09);
2260
- }
2261
- @media (min-width: 638px) {
2262
- ._Nav-mobileActions_3nnxc_23 {
2263
- display: none;
2264
- }
2265
- }
2266
- ._NavItem-link_3nnxc_38 {
2267
- align-items: center;
2268
- color: var(--puck-color-grey-03);
2269
- display: flex;
2270
- gap: 8px;
2271
- text-decoration: none;
2272
- cursor: pointer;
2273
- border-radius: 4px;
2274
- padding: 8px 4px;
2275
- width: 64px;
2276
- box-sizing: border-box;
2277
- }
2278
- @media (min-width: 638px) {
2279
- ._NavItem-link_3nnxc_38 {
2280
- width: auto;
2281
- }
2282
- }
2283
- ._NavItem_3nnxc_38:first-of-type {
2284
- padding-left: 16px;
2285
- }
2286
- ._NavItem_3nnxc_38:last-of-type {
2287
- padding-right: 16px;
2288
- }
2289
- @media (min-width: 638px) {
2290
- ._NavItem_3nnxc_38:first-of-type,
2291
- ._NavItem_3nnxc_38:last-of-type {
2292
- padding: 0;
2293
- }
2294
- }
2295
- ._NavItem-link_3nnxc_38 {
2296
- border-top: 4px solid transparent;
2297
- border-bottom: 4px solid transparent;
2298
- border-radius: 0;
2299
- flex-direction: column;
2300
- font-size: var(--puck-font-size-xxxs);
2301
- }
2302
- @media (min-width: 638px) {
2303
- ._NavItem-link_3nnxc_38 {
2304
- border: 0;
2305
- border-left: 4px solid transparent;
2306
- border-right: 4px solid transparent;
2307
- }
2308
- }
2309
- ._NavItem-linkIcon_3nnxc_88 {
2310
- height: 24px;
2311
- width: 24px;
2312
- }
2313
- ._NavItem--active_3nnxc_93 > ._NavItem-link_3nnxc_38 {
2314
- background-color: var(--puck-color-azure-10);
2315
- color: var(--puck-color-azure-04);
2316
- font-weight: 600;
2317
- }
2318
- ._NavItem--active_3nnxc_93 > ._NavItem-link_3nnxc_38 {
2319
- background-color: transparent;
2320
- border-top-color: var(--puck-color-azure-04);
2321
- border-top-right-radius: 0;
2322
- border-bottom-right-radius: 0;
2323
- font-weight: 600;
2324
- }
2325
- @media (min-width: 638px) {
2326
- ._NavItem--active_3nnxc_93 > ._NavItem-link_3nnxc_38 {
2327
- border-top-color: transparent;
2328
- border-right-color: var(--puck-color-azure-04);
2329
- }
2330
- }
2331
- ._NavItem_3nnxc_38:not(._NavItem--active_3nnxc_93) > ._NavItem-link_3nnxc_38:hover {
2332
- background-color: var(--puck-color-azure-11);
2333
- color: var(--puck-color-azure-04);
2334
- }
2335
- @media (min-width: 638px) {
2336
- ._NavItem--mobileOnly_3nnxc_120 {
2337
- display: none;
2338
- }
2339
- }
2340
-
2341
- /* css-module:/home/runner/work/puck/puck/packages/core/plugins/fields/styles.module.css/#css-module-data */
2342
- ._FieldsPlugin_nd930_1 {
2343
- background: white;
2344
- height: 100%;
2345
- overflow-y: auto;
2346
- }
2347
- ._FieldsPlugin-header_nd930_7 {
2348
- border-bottom: 1px solid var(--puck-color-grey-09);
2349
- font-weight: 600;
2350
- padding-bottom: 8px;
2351
- padding-left: 16px;
2352
- padding-right: 16px;
2353
- padding-top: 8px;
2354
- }
2355
- @media (min-width: 638px) {
2356
- ._FieldsPlugin-header_nd930_7 {
2357
- padding: 16px;
2358
- }
2359
- }