@measured/puck 0.21.0-canary.dfecd012 → 0.21.0-canary.e1cbf777

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-CYTATURR.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-BqwnaCVe.d.mts → actions-tsxxcX1z.d.mts} +229 -40
  6. package/dist/{walk-tree-BqwnaCVe.d.ts → actions-tsxxcX1z.d.ts} +229 -40
  7. package/dist/chunk-72SA22GI.mjs +134 -0
  8. package/dist/{chunk-5MWIJTZQ.mjs → chunk-BFXJG3MG.mjs} +6858 -7958
  9. package/dist/chunk-CSSRLPHM.mjs +11 -0
  10. package/dist/chunk-M4QBB3JM.mjs +111 -0
  11. package/dist/chunk-M6W7YEVX.mjs +95 -0
  12. package/dist/chunk-MLTVJA2A.mjs +63 -0
  13. package/dist/chunk-MVJKIFF6.mjs +419 -0
  14. package/dist/chunk-NLUHDYVR.mjs +416 -0
  15. package/dist/chunk-NOJQSXRU.mjs +33 -0
  16. package/dist/chunk-QBGM4ELA.mjs +528 -0
  17. package/dist/chunk-UNQOU2OI.mjs +53 -0
  18. package/dist/chunk-UUOBSXZR.mjs +1807 -0
  19. package/dist/chunk-V5I7CVLT.mjs +103 -0
  20. package/dist/chunk-V7333LON.mjs +708 -0
  21. package/dist/chunk-Y2EFNT5P.mjs +108 -0
  22. package/dist/full-2GJTAAZE.css +301 -0
  23. package/dist/full-GZ4L3XCF.mjs +93 -0
  24. package/dist/index-Ca6V6NQD.d.ts +118 -0
  25. package/dist/index-mQvUCH3C.d.mts +118 -0
  26. package/dist/index.css +1031 -385
  27. package/dist/index.d.mts +116 -114
  28. package/dist/index.d.ts +116 -114
  29. package/dist/index.js +12035 -7997
  30. package/dist/index.mjs +34 -12
  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-2MNXXPJP.mjs +57 -0
  36. package/dist/loaded-6QT4HD2O.mjs +57 -0
  37. package/dist/loaded-RVWBFK7L.css +87 -0
  38. package/dist/loaded-ZVPBQVNE.mjs +60 -0
  39. package/dist/no-external.css +1120 -470
  40. package/dist/no-external.d.mts +19 -2
  41. package/dist/no-external.d.ts +19 -2
  42. package/dist/no-external.js +12038 -7997
  43. package/dist/no-external.mjs +36 -9
  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 -23
  48. package/dist/rsc.mjs +18 -9
  49. package/dist/walk-tree-Bh85NMeo.d.ts +29 -0
  50. package/dist/walk-tree-CDA3K5S3.d.mts +29 -0
  51. package/package.json +31 -4
  52. package/dist/chunk-JA7SEUEH.mjs +0 -966
@@ -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,177 +1603,15 @@ 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/SidebarSection/styles.module.css/#css-module-data */
1347
- ._SidebarSection_8boj8_1 {
1348
- display: flex;
1606
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1607
+ ._PuckFields_10bh7_1 {
1349
1608
  position: relative;
1350
- flex-direction: column;
1351
- color: var(--puck-color-black);
1609
+ font-family: var(--puck-font-family);
1352
1610
  }
1353
- ._SidebarSection_8boj8_1:last-of-type {
1354
- flex-grow: 1;
1611
+ ._PuckFields--isLoading_10bh7_6 {
1612
+ min-height: 48px;
1355
1613
  }
1356
- ._SidebarSection-title_8boj8_12 {
1357
- background: var(--puck-color-white);
1358
- padding: 16px;
1359
- border-bottom: 1px solid var(--puck-color-grey-09);
1360
- border-top: 1px solid var(--puck-color-grey-09);
1361
- overflow-x: auto;
1362
- }
1363
- ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1364
- border-top: 0px;
1365
- }
1366
- ._SidebarSection-content_8boj8_24 {
1367
- padding: 16px;
1368
- }
1369
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1370
- padding: 0px;
1371
- }
1372
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1373
- padding-bottom: 4px;
1374
- }
1375
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1376
- border-bottom: none;
1377
- flex-grow: 1;
1378
- }
1379
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
1380
- background: none;
1381
- border: 0;
1382
- border-radius: 2px;
1383
- color: var(--puck-color-azure-04);
1384
- cursor: pointer;
1385
- font: inherit;
1386
- flex-shrink: 0;
1387
- padding: 0;
1388
- transition: color 50ms ease-in;
1389
- }
1390
- ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1391
- outline: 2px solid var(--puck-color-azure-05);
1392
- outline-offset: 2px;
1393
- }
1394
- @media (hover: hover) and (pointer: fine) {
1395
- ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1396
- color: var(--puck-color-azure-03);
1397
- transition: none;
1398
- }
1399
- }
1400
- ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1401
- color: var(--puck-color-azure-02);
1402
- transition: none;
1403
- }
1404
- ._SidebarSection-breadcrumbs_8boj8_70 {
1405
- align-items: center;
1406
- display: flex;
1407
- gap: 4px;
1408
- }
1409
- ._SidebarSection-breadcrumb_8boj8_41 {
1410
- align-items: center;
1411
- display: flex;
1412
- gap: 4px;
1413
- }
1414
- ._SidebarSection-heading_8boj8_82 {
1415
- padding-inline-end: 16px;
1416
- }
1417
- ._SidebarSection-loadingOverlay_8boj8_86 {
1418
- background: var(--puck-color-white);
1419
- display: flex;
1420
- justify-content: center;
1421
- align-items: center;
1422
- height: 100%;
1423
- width: 100%;
1424
- top: 0;
1425
- position: absolute;
1426
- z-index: 1;
1427
- pointer-events: all;
1428
- box-sizing: border-box;
1429
- opacity: 0.8;
1430
- }
1431
-
1432
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
1433
- ._Puck_1yxlw_19 {
1434
- --puck-space-px: 16px;
1435
- font-family: var(--puck-font-family);
1436
- overflow-x: hidden;
1437
- }
1438
- @media (min-width: 766px) {
1439
- ._Puck_1yxlw_19 {
1440
- overflow-x: auto;
1441
- }
1442
- }
1443
- ._Puck-portal_1yxlw_31 {
1444
- position: relative;
1445
- z-index: 2;
1446
- }
1447
- ._PuckLayout-inner_1yxlw_38 {
1448
- --puck-frame-width: auto;
1449
- --puck-side-bar-width: 0px;
1450
- --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, var(--puck-side-bar-width) );
1451
- --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, var(--puck-side-bar-width) );
1452
- display: grid;
1453
- grid-template-areas: "header header header" "left editor right";
1454
- grid-template-columns: 0 var(--puck-frame-width) 0;
1455
- grid-template-rows: min-content auto;
1456
- height: 100dvh;
1457
- position: relative;
1458
- z-index: 0;
1459
- }
1460
- ._PuckLayout--mounted_1yxlw_59 ._PuckLayout-inner_1yxlw_38 {
1461
- --puck-side-bar-width: 186px;
1462
- }
1463
- ._PuckLayout--leftSideBarVisible_1yxlw_63 ._PuckLayout-inner_1yxlw_38 {
1464
- grid-template-columns: var(--puck-left-side-bar-width) var(--puck-frame-width) 0;
1465
- }
1466
- ._PuckLayout--rightSideBarVisible_1yxlw_69 ._PuckLayout-inner_1yxlw_38 {
1467
- grid-template-columns: 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
1468
- }
1469
- ._PuckLayout--leftSideBarVisible_1yxlw_63._PuckLayout--rightSideBarVisible_1yxlw_69 ._PuckLayout-inner_1yxlw_38 {
1470
- grid-template-columns: var(--puck-left-side-bar-width) var(--puck-frame-width) var(--puck-right-side-bar-width);
1471
- }
1472
- @media (min-width: 458px) {
1473
- ._PuckLayout-mounted_1yxlw_83 ._PuckLayout-inner_1yxlw_38 {
1474
- --puck-frame-width: minmax(266px, auto);
1475
- }
1476
- }
1477
- @media (min-width: 638px) {
1478
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1479
- --puck-side-bar-width: minmax(186px, 250px);
1480
- }
1481
- }
1482
- @media (min-width: 766px) {
1483
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1484
- --puck-frame-width: auto;
1485
- }
1486
- }
1487
- @media (min-width: 990px) {
1488
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1489
- --puck-side-bar-width: 256px;
1490
- }
1491
- }
1492
- @media (min-width: 1198px) {
1493
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1494
- --puck-side-bar-width: 274px;
1495
- }
1496
- }
1497
- @media (min-width: 1398px) {
1498
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1499
- --puck-side-bar-width: 290px;
1500
- }
1501
- }
1502
- @media (min-width: 1598px) {
1503
- ._PuckLayout_1yxlw_38 ._PuckLayout-inner_1yxlw_38 {
1504
- --puck-side-bar-width: 320px;
1505
- }
1506
- }
1507
-
1508
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1509
- ._PuckFields_10bh7_1 {
1510
- position: relative;
1511
- font-family: var(--puck-font-family);
1512
- }
1513
- ._PuckFields--isLoading_10bh7_6 {
1514
- min-height: 48px;
1515
- }
1516
- ._PuckFields-loadingOverlay_10bh7_10 {
1614
+ ._PuckFields-loadingOverlay_10bh7_10 {
1517
1615
  background: var(--puck-color-white);
1518
1616
  display: flex;
1519
1617
  justify-content: flex-end;
@@ -1710,111 +1808,162 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1710
1808
  margin-top: 4px;
1711
1809
  }
1712
1810
 
1713
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1714
- ._ViewportControls_gejzr_1 {
1715
- display: flex;
1716
- background: var(--puck-color-grey-11);
1717
- box-sizing: border-box;
1718
- border-inline-start: 2px solid var(--puck-color-grey-11);
1719
- justify-content: center;
1720
- gap: 8px;
1721
- min-width: 358px;
1722
- padding-bottom: 16px;
1723
- padding-inline-start: var(--puck-space-px);
1724
- padding-inline-end: var(--puck-space-px);
1725
- z-index: 1;
1811
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
1812
+ ._Puck_1dd16_19 {
1813
+ --puck-space-px: 16px;
1814
+ font-family: var(--puck-font-family);
1815
+ overflow-x: hidden;
1726
1816
  }
1727
- ._ViewportControls-divider_gejzr_15 {
1728
- border-inline-end: 1px solid var(--puck-color-grey-09);
1729
- margin-inline-start: 8px;
1730
- margin-inline-end: 8px;
1817
+ @media (min-width: 766px) {
1818
+ ._Puck_1dd16_19 {
1819
+ overflow-x: auto;
1820
+ }
1731
1821
  }
1732
- ._ViewportControls-zoomSelect_gejzr_21 {
1733
- appearance: none;
1734
- 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;
1735
- background-size: 10px;
1736
- background-position: calc(100% - 12px) calc(50% + 3px);
1737
- background-repeat: no-repeat;
1738
- border: 0;
1739
- font-size: var(--puck-font-size-xxxs);
1740
- padding: 0;
1741
- width: 96px;
1822
+ ._Puck-portal_1dd16_31 {
1823
+ position: relative;
1824
+ z-index: 2;
1742
1825
  }
1743
- ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
1744
- background-position: 12px calc(50% + 3px);
1826
+ ._PuckLayout_1dd16_36 {
1827
+ height: 100dvh;
1745
1828
  }
1746
- ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
1747
- color: var(--puck-color-azure-04);
1829
+ ._PuckLayout-inner_1dd16_40 {
1830
+ --puck-frame-width: auto;
1831
+ --puck-side-nav-width: min-content;
1832
+ --puck-side-bar-width: 0px;
1833
+ --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, var(--puck-side-bar-width) );
1834
+ --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, var(--puck-side-bar-width) );
1835
+ background-color: var(--puck-color-grey-12);
1836
+ display: grid;
1837
+ grid-template-areas: "header" "editor" "left" "right" "sidenav";
1838
+ grid-template-columns: var(--puck-frame-width);
1839
+ grid-template-rows: min-content auto 0 0 var(--puck-side-nav-width);
1840
+ height: 100%;
1841
+ position: relative;
1842
+ transition: grid-template-rows 150ms ease-in;
1843
+ z-index: 0;
1844
+ overflow: hidden;
1748
1845
  }
1749
-
1750
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
1751
- ._PuckCanvas_18jay_1 {
1752
- background: var(--puck-color-grey-11);
1753
- display: flex;
1754
- grid-area: editor;
1755
- flex-direction: column;
1756
- padding: var(--puck-space-px);
1757
- overflow: auto;
1846
+ @media (min-width: 638px) {
1847
+ ._PuckLayout-inner_1dd16_40 {
1848
+ --puck-side-nav-width: 68px;
1849
+ grid-template-areas: "header header header header" "sidenav left editor right";
1850
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) 0;
1851
+ grid-template-rows: min-content auto;
1852
+ }
1853
+ ._Puck--hidePlugins_1dd16_72 ._PuckLayout-inner_1dd16_40 {
1854
+ --puck-side-nav-width: 0;
1855
+ }
1758
1856
  }
1759
- @media (min-width: 1198px) {
1760
- ._PuckCanvas_18jay_1 {
1761
- padding: calc(var(--puck-space-px) * 1.5);
1762
- padding-top: var(--puck-space-px);
1857
+ ._PuckLayout--mounted_1dd16_77 ._PuckLayout-inner_1dd16_40 {
1858
+ --puck-side-bar-width: 186px;
1859
+ }
1860
+ ._PuckLayout--mobilePanelHeightToggle_1dd16_81._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-inner_1dd16_40 {
1861
+ grid-template-rows: 0 auto 30% 0 var(--puck-side-nav-width);
1862
+ }
1863
+ ._PuckLayout--mobilePanelHeightToggle_1dd16_81._PuckLayout--leftSideBarVisible_1dd16_81._PuckLayout--isExpanded_1dd16_87 ._PuckLayout-inner_1dd16_40 {
1864
+ grid-template-rows: 0 auto 55% 0 var(--puck-side-nav-width);
1865
+ }
1866
+ @media (min-width: 638px) {
1867
+ ._PuckLayout--mobilePanelHeightToggle_1dd16_81._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-inner_1dd16_40 {
1868
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1869
+ grid-template-rows: min-content auto;
1763
1870
  }
1764
- ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
1765
- padding-top: calc(var(--puck-space-px) * 1.5);
1871
+ }
1872
+ ._PuckLayout--mobilePanelHeightMinContent_1dd16_105._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-inner_1dd16_40,
1873
+ ._PuckLayout--mobilePanelHeightMinContent_1dd16_105._PuckLayout--leftSideBarVisible_1dd16_81._PuckLayout--isExpanded_1dd16_87 ._PuckLayout-inner_1dd16_40 {
1874
+ grid-template-rows: 0 auto min-content 0 var(--puck-side-nav-width);
1875
+ }
1876
+ @media (min-width: 638px) {
1877
+ ._PuckLayout--mobilePanelHeightToggle_1dd16_81._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-inner_1dd16_40,
1878
+ ._PuckLayout--mobilePanelHeightToggle_1dd16_81._PuckLayout--leftSideBarVisible_1dd16_81._PuckLayout--isExpanded_1dd16_87 ._PuckLayout-inner_1dd16_40,
1879
+ ._PuckLayout--mobilePanelHeightMinContent_1dd16_105._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-inner_1dd16_40,
1880
+ ._PuckLayout--mobilePanelHeightMinContent_1dd16_105._PuckLayout--leftSideBarVisible_1dd16_81._PuckLayout--isExpanded_1dd16_87 ._PuckLayout-inner_1dd16_40 {
1881
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1882
+ grid-template-rows: min-content auto;
1766
1883
  }
1767
1884
  }
1768
- ._PuckCanvas-inner_18jay_21 {
1769
- display: flex;
1770
- height: 100%;
1771
- justify-content: center;
1772
- min-width: 358px;
1773
- position: relative;
1774
- width: 100%;
1885
+ @media (min-width: 638px) {
1886
+ ._PuckLayout--rightSideBarVisible_1dd16_132 ._PuckLayout-inner_1dd16_40 {
1887
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
1888
+ }
1775
1889
  }
1776
- ._PuckCanvas-root_18jay_30 {
1777
- background: white;
1778
- border: 1px solid var(--puck-color-grey-09);
1779
- box-sizing: content-box;
1780
- min-width: 321px;
1781
- position: absolute;
1782
- pointer-events: none;
1783
- transform-origin: top;
1784
- top: 0;
1785
- bottom: 0;
1786
- opacity: 0;
1890
+ @media (min-width: 638px) {
1891
+ ._PuckLayout--leftSideBarVisible_1dd16_81._PuckLayout--rightSideBarVisible_1dd16_132 ._PuckLayout-inner_1dd16_40 {
1892
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) var(--puck-right-side-bar-width);
1893
+ }
1894
+ }
1895
+ @media (min-width: 458px) {
1896
+ ._PuckLayout-mounted_1dd16_151 ._PuckLayout-inner_1dd16_40 {
1897
+ --puck-frame-width: minmax(266px, auto);
1898
+ }
1899
+ }
1900
+ @media (min-width: 638px) {
1901
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1902
+ --puck-side-bar-width: minmax(186px, 250px);
1903
+ }
1904
+ }
1905
+ @media (min-width: 766px) {
1906
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1907
+ --puck-frame-width: auto;
1908
+ }
1909
+ }
1910
+ @media (min-width: 990px) {
1911
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1912
+ --puck-side-bar-width: 256px;
1913
+ }
1787
1914
  }
1788
1915
  @media (min-width: 1198px) {
1789
- ._PuckCanvas-root_18jay_30 {
1790
- min-width: unset;
1916
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1917
+ --puck-side-bar-width: 274px;
1791
1918
  }
1792
1919
  }
1793
- @media (prefers-reduced-motion: reduce) {
1794
- ._PuckCanvas-root_18jay_30 {
1795
- transition: none !important;
1920
+ @media (min-width: 1398px) {
1921
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1922
+ --puck-side-bar-width: 290px;
1796
1923
  }
1797
1924
  }
1798
- ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
1799
- pointer-events: unset;
1800
- opacity: 1;
1925
+ @media (min-width: 1598px) {
1926
+ ._PuckLayout_1dd16_36 ._PuckLayout-inner_1dd16_40 {
1927
+ --puck-side-bar-width: 320px;
1928
+ }
1801
1929
  }
1802
- ._PuckCanvas-loader_18jay_60 {
1803
- align-items: center;
1804
- color: var(--puck-color-grey-06);
1805
- display: flex;
1806
- height: 100%;
1807
- justify-content: center;
1808
- transition: opacity 250ms ease-out;
1809
- opacity: 0;
1930
+ ._PuckLayout-nav_1dd16_192 {
1931
+ border-top: 1px solid var(--puck-color-grey-09);
1932
+ background-color: var(--puck-color-grey-12);
1933
+ grid-area: sidenav;
1934
+ overflow: hidden;
1935
+ width: 100%;
1810
1936
  }
1811
- ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
1812
- opacity: 1;
1937
+ @media (min-width: 638px) {
1938
+ ._PuckLayout-nav_1dd16_192 {
1939
+ border-top: 0;
1940
+ border-right: 1px solid var(--puck-color-grey-09);
1941
+ box-sizing: border-box;
1942
+ }
1813
1943
  }
1814
- ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
1815
- opacity: 0;
1816
- height: 0;
1817
- transition: none;
1944
+ ._PuckLayout-header_1dd16_208 {
1945
+ grid-area: header;
1946
+ }
1947
+ ._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-header_1dd16_208 {
1948
+ overflow: hidden;
1949
+ }
1950
+ @media (min-width: 638px) {
1951
+ ._PuckLayout--leftSideBarVisible_1dd16_81 ._PuckLayout-header_1dd16_208 {
1952
+ overflow: auto;
1953
+ }
1954
+ }
1955
+ ._PuckPluginTab_1dd16_222 {
1956
+ display: none;
1957
+ flex-grow: 1;
1958
+ max-height: 100%;
1959
+ }
1960
+ ._PuckPluginTab--visible_1dd16_228 {
1961
+ display: flex;
1962
+ flex-direction: column;
1963
+ }
1964
+ ._PuckPluginTab-body_1dd16_233 {
1965
+ flex-grow: 1;
1966
+ max-height: 100%;
1818
1967
  }
1819
1968
 
1820
1969
  /* css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css/#css-module-data */
@@ -1862,7 +2011,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1862
2011
  }
1863
2012
 
1864
2013
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Header/styles.module.css/#css-module-data */
1865
- ._PuckHeader_15xnq_1 {
2014
+ ._PuckHeader_63pti_1 {
1866
2015
  background: var(--puck-color-white);
1867
2016
  border-bottom: 1px solid var(--puck-color-grey-09);
1868
2017
  color: var(--puck-color-black);
@@ -1870,7 +2019,15 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1870
2019
  position: relative;
1871
2020
  max-width: 100vw;
1872
2021
  }
1873
- ._PuckHeader-inner_15xnq_10 {
2022
+ @media (min-width: 638px) {
2023
+ ._PuckHeader_63pti_1 {
2024
+ padding-left: 67px;
2025
+ }
2026
+ ._PuckHeader--hidePlugins_63pti_15 {
2027
+ padding-left: 0;
2028
+ }
2029
+ }
2030
+ ._PuckHeader-inner_63pti_20 {
1874
2031
  align-items: end;
1875
2032
  display: grid;
1876
2033
  gap: var(--puck-space-px);
@@ -1879,43 +2036,369 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1879
2036
  grid-template-rows: auto;
1880
2037
  padding: var(--puck-space-px);
1881
2038
  }
1882
- ._PuckHeader-toggle_15xnq_20 {
1883
- color: var(--puck-color-grey-05);
2039
+ @media (min-width: 638px) {
2040
+ ._PuckHeader-inner_63pti_20 {
2041
+ border-left: 1px solid var(--puck-color-grey-09);
2042
+ }
2043
+ ._PuckHeader--hidePlugins_63pti_15 ._PuckHeader-inner_63pti_20 {
2044
+ border-left: none;
2045
+ }
2046
+ }
2047
+ ._PuckHeader-toggle_63pti_40 {
2048
+ color: var(--puck-color-grey-05);
1884
2049
  display: flex;
1885
2050
  margin-inline-start: -4px;
1886
2051
  padding-top: 2px;
1887
2052
  }
1888
- ._PuckHeader--rightSideBarVisible_15xnq_27 ._PuckHeader-rightSideBarToggle_15xnq_27,
1889
- ._PuckHeader--leftSideBarVisible_15xnq_28 ._PuckHeader-leftSideBarToggle_15xnq_28 {
2053
+ ._PuckHeader--rightSideBarVisible_63pti_47 ._PuckHeader-rightSideBarToggle_63pti_47,
2054
+ ._PuckHeader--leftSideBarVisible_63pti_48 ._PuckHeader-leftSideBarToggle_63pti_48 {
1890
2055
  color: var(--puck-color-black);
1891
2056
  }
1892
- ._PuckHeader-title_15xnq_32 {
2057
+ ._PuckHeader-rightSideBarToggle_63pti_47,
2058
+ ._PuckHeader-leftSideBarToggle_63pti_48 {
2059
+ display: none;
2060
+ }
2061
+ @media (min-width: 638px) {
2062
+ ._PuckHeader-rightSideBarToggle_63pti_47,
2063
+ ._PuckHeader-leftSideBarToggle_63pti_48 {
2064
+ display: block;
2065
+ }
2066
+ }
2067
+ ._PuckHeader-title_63pti_64 {
1893
2068
  align-self: center;
1894
2069
  }
1895
- ._PuckHeader-path_15xnq_36 {
2070
+ ._PuckHeader-path_63pti_68 {
1896
2071
  font-family: var(--puck-font-family-monospaced);
1897
2072
  font-size: var(--puck-font-size-xxs);
1898
2073
  font-weight: normal;
1899
2074
  word-break: break-all;
1900
2075
  }
1901
- ._PuckHeader-tools_15xnq_43 {
2076
+ ._PuckHeader-tools_63pti_75 {
1902
2077
  display: flex;
1903
2078
  gap: 16px;
1904
2079
  justify-content: flex-end;
1905
2080
  }
1906
- ._PuckHeader-menuButton_15xnq_49 {
2081
+ ._PuckHeader-menuButton_63pti_81 {
1907
2082
  color: var(--puck-color-grey-05);
1908
2083
  margin-inline-start: -4px;
1909
2084
  }
1910
- ._PuckHeader--menuOpen_15xnq_54 ._PuckHeader-menuButton_15xnq_49 {
2085
+ ._PuckHeader--menuOpen_63pti_86 ._PuckHeader-menuButton_63pti_81 {
1911
2086
  color: var(--puck-color-black);
1912
2087
  }
1913
2088
  @media (min-width: 638px) {
1914
- ._PuckHeader-menuButton_15xnq_49 {
2089
+ ._PuckHeader-menuButton_63pti_81 {
1915
2090
  display: none;
1916
2091
  }
1917
2092
  }
1918
2093
 
2094
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
2095
+ ._SidebarSection_5otpt_1 {
2096
+ display: flex;
2097
+ position: relative;
2098
+ flex-direction: column;
2099
+ color: var(--puck-color-black);
2100
+ }
2101
+ ._SidebarSection_5otpt_1:last-of-type {
2102
+ flex-grow: 1;
2103
+ }
2104
+ ._SidebarSection-title_5otpt_12 {
2105
+ background: var(--puck-color-white);
2106
+ padding: 16px;
2107
+ border-bottom: 1px solid var(--puck-color-grey-09);
2108
+ border-top: 1px solid var(--puck-color-grey-09);
2109
+ overflow-x: auto;
2110
+ }
2111
+ ._SidebarSection--noBorderTop_5otpt_20 > ._SidebarSection-title_5otpt_12 {
2112
+ border-top: 0px;
2113
+ }
2114
+ ._SidebarSection-content_5otpt_24:last-child {
2115
+ padding-bottom: 4px;
2116
+ }
2117
+ ._SidebarSection_5otpt_1:last-of-type ._SidebarSection-content_5otpt_24 {
2118
+ border-bottom: none;
2119
+ flex-grow: 1;
2120
+ }
2121
+ ._SidebarSection-breadcrumbLabel_5otpt_33 {
2122
+ background: none;
2123
+ border: 0;
2124
+ border-radius: 2px;
2125
+ color: var(--puck-color-azure-04);
2126
+ cursor: pointer;
2127
+ font: inherit;
2128
+ flex-shrink: 0;
2129
+ padding: 0;
2130
+ transition: color 50ms ease-in;
2131
+ }
2132
+ ._SidebarSection-breadcrumbLabel_5otpt_33:focus-visible {
2133
+ outline: 2px solid var(--puck-color-azure-05);
2134
+ outline-offset: 2px;
2135
+ }
2136
+ @media (hover: hover) and (pointer: fine) {
2137
+ ._SidebarSection-breadcrumbLabel_5otpt_33:hover {
2138
+ color: var(--puck-color-azure-03);
2139
+ transition: none;
2140
+ }
2141
+ }
2142
+ ._SidebarSection-breadcrumbLabel_5otpt_33:active {
2143
+ color: var(--puck-color-azure-02);
2144
+ transition: none;
2145
+ }
2146
+ ._SidebarSection-breadcrumbs_5otpt_62 {
2147
+ align-items: center;
2148
+ display: flex;
2149
+ gap: 4px;
2150
+ }
2151
+ ._SidebarSection-breadcrumb_5otpt_33 {
2152
+ align-items: center;
2153
+ display: flex;
2154
+ gap: 4px;
2155
+ }
2156
+ ._SidebarSection-heading_5otpt_74 {
2157
+ padding-inline-end: 16px;
2158
+ }
2159
+ ._SidebarSection-loadingOverlay_5otpt_78 {
2160
+ background: var(--puck-color-white);
2161
+ display: flex;
2162
+ justify-content: center;
2163
+ align-items: center;
2164
+ height: 100%;
2165
+ width: 100%;
2166
+ top: 0;
2167
+ position: absolute;
2168
+ z-index: 1;
2169
+ pointer-events: all;
2170
+ box-sizing: border-box;
2171
+ opacity: 0.8;
2172
+ }
2173
+
2174
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Breadcrumbs/styles.module.css/#css-module-data */
2175
+ ._Breadcrumbs_1c9yh_1 {
2176
+ align-items: center;
2177
+ display: flex;
2178
+ gap: 4px;
2179
+ }
2180
+ ._Breadcrumbs-breadcrumbLabel_1c9yh_7 {
2181
+ background: none;
2182
+ border: 0;
2183
+ border-radius: 2px;
2184
+ color: var(--puck-color-azure-04);
2185
+ cursor: pointer;
2186
+ font: inherit;
2187
+ flex-shrink: 0;
2188
+ padding: 0;
2189
+ transition: color 50ms ease-in;
2190
+ }
2191
+ ._Breadcrumbs-breadcrumbLabel_1c9yh_7:focus-visible {
2192
+ outline: 2px solid var(--puck-color-azure-05);
2193
+ outline-offset: 2px;
2194
+ }
2195
+ @media (hover: hover) and (pointer: fine) {
2196
+ ._Breadcrumbs-breadcrumbLabel_1c9yh_7:hover {
2197
+ color: var(--puck-color-azure-03);
2198
+ transition: none;
2199
+ }
2200
+ }
2201
+ ._Breadcrumbs-breadcrumbLabel_1c9yh_7:active {
2202
+ color: var(--puck-color-azure-02);
2203
+ transition: none;
2204
+ }
2205
+ ._Breadcrumbs-breadcrumb_1c9yh_7 {
2206
+ align-items: center;
2207
+ display: flex;
2208
+ gap: 4px;
2209
+ }
2210
+
2211
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
2212
+ ._ViewportControls_e3unb_1 {
2213
+ position: relative;
2214
+ }
2215
+ ._ViewportControls--fullScreen_e3unb_5 {
2216
+ border-radius: 32px;
2217
+ display: flex;
2218
+ position: absolute;
2219
+ bottom: 12px;
2220
+ right: 12px;
2221
+ overflow: hidden;
2222
+ }
2223
+ ._ViewportControls-toggleButton_e3unb_14 {
2224
+ display: none;
2225
+ }
2226
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-toggleButton_e3unb_14 {
2227
+ align-items: center;
2228
+ background-color: var(--puck-color-grey-02);
2229
+ border: 1px solid var(--puck-color-grey-04);
2230
+ border-radius: 30px;
2231
+ cursor: pointer;
2232
+ color: var(--puck-color-grey-11);
2233
+ display: flex;
2234
+ justify-content: center;
2235
+ width: 42px;
2236
+ height: 42px;
2237
+ z-index: 1;
2238
+ }
2239
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-toggleButton_e3unb_14:hover {
2240
+ background-color: var(--puck-color-grey-02);
2241
+ border: 1px solid var(--puck-color-azure-04);
2242
+ color: var(--puck-color-azure-07);
2243
+ }
2244
+ ._ViewportControls--isExpanded_e3unb_38 ._ViewportControls-toggleButton_e3unb_14 {
2245
+ background-color: var(--puck-color-grey-03);
2246
+ }
2247
+ ._ViewportControls-actions_e3unb_42 {
2248
+ display: flex;
2249
+ }
2250
+ ._ViewportControls-actionsInner_e3unb_46 {
2251
+ display: flex;
2252
+ box-sizing: border-box;
2253
+ justify-content: center;
2254
+ margin-left: auto;
2255
+ margin-right: auto;
2256
+ z-index: 0;
2257
+ overflow: hidden;
2258
+ }
2259
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-actionsInner_e3unb_46 {
2260
+ background: var(--puck-color-grey-11);
2261
+ border: 1px solid var(--puck-color-grey-09);
2262
+ border-radius: 30px;
2263
+ margin-left: none;
2264
+ margin-right: none;
2265
+ padding-right: 42px;
2266
+ }
2267
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-actionsInner_e3unb_46 {
2268
+ transform: translateX(100%);
2269
+ transition: transform 150ms ease-in-out;
2270
+ }
2271
+ ._ViewportControls--fullScreen_e3unb_5._ViewportControls--isExpanded_e3unb_38 ._ViewportControls-actionsInner_e3unb_46 {
2272
+ transform: translateX(42px);
2273
+ }
2274
+ ._ViewportControls-divider_e3unb_75 {
2275
+ border-inline-end: 1px solid var(--puck-color-grey-09);
2276
+ margin-bottom: 8px;
2277
+ margin-top: 8px;
2278
+ }
2279
+ ._ViewportControls-zoomSelect_e3unb_81 {
2280
+ appearance: none;
2281
+ 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;
2282
+ background-size: 10px;
2283
+ background-position: calc(100% - 12px) calc(50% + 3px);
2284
+ background-repeat: no-repeat;
2285
+ border: 0;
2286
+ font-size: var(--puck-font-size-xxxs);
2287
+ padding: 0;
2288
+ padding-left: 8px;
2289
+ width: 96px;
2290
+ }
2291
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-zoom_e3unb_81 {
2292
+ display: none;
2293
+ }
2294
+ @media (min-width: 638px) {
2295
+ ._ViewportControls-zoom_e3unb_81,
2296
+ ._ViewportControls--fullScreen_e3unb_5 ._ViewportControls-zoom_e3unb_81 {
2297
+ display: flex;
2298
+ justify-content: center;
2299
+ }
2300
+ }
2301
+ ._ViewportControls-zoomSelect_e3unb_81:dir(rtl) {
2302
+ background-position: 12px calc(50% + 3px);
2303
+ }
2304
+ ._ViewportButton-inner_e3unb_111 {
2305
+ align-items: center;
2306
+ display: flex;
2307
+ justify-content: center;
2308
+ height: 32px;
2309
+ width: 32px;
2310
+ }
2311
+ ._ViewportButton--isActive_e3unb_119 ._ViewportButton-inner_e3unb_111 {
2312
+ color: var(--puck-color-azure-04);
2313
+ }
2314
+
2315
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
2316
+ ._PuckCanvas_t6s9b_1 {
2317
+ background: var(--puck-color-grey-11);
2318
+ display: flex;
2319
+ grid-area: editor;
2320
+ flex-direction: column;
2321
+ padding: var(--puck-space-px);
2322
+ position: relative;
2323
+ overflow: auto;
2324
+ }
2325
+ @media (min-width: 1198px) {
2326
+ ._PuckCanvas_t6s9b_1 {
2327
+ padding: calc(var(--puck-space-px) * 1.5);
2328
+ padding-top: calc(var(--puck-space-px) * 0.5);
2329
+ }
2330
+ ._PuckCanvas_t6s9b_1:not(._PuckCanvas_t6s9b_1:has(._PuckCanvas-controls_t6s9b_17)) {
2331
+ padding-top: calc(var(--puck-space-px) * 1.5);
2332
+ }
2333
+ }
2334
+ ._PuckCanvas--fullScreen_t6s9b_22 {
2335
+ padding: 0;
2336
+ overflow: hidden;
2337
+ }
2338
+ @media (min-width: 1198px) {
2339
+ ._PuckCanvas--fullScreen_t6s9b_22 {
2340
+ padding: 0;
2341
+ }
2342
+ }
2343
+ ._PuckCanvas-inner_t6s9b_33 {
2344
+ display: flex;
2345
+ height: 100%;
2346
+ justify-content: center;
2347
+ min-width: 288px;
2348
+ position: relative;
2349
+ width: 100%;
2350
+ }
2351
+ ._PuckCanvas-root_t6s9b_42 {
2352
+ background: white;
2353
+ outline: 1px solid var(--puck-color-grey-09);
2354
+ box-sizing: content-box;
2355
+ min-width: 321px;
2356
+ position: absolute;
2357
+ pointer-events: none;
2358
+ transform-origin: top;
2359
+ top: 0;
2360
+ bottom: 0;
2361
+ opacity: 0;
2362
+ }
2363
+ @media (min-width: 1198px) {
2364
+ ._PuckCanvas-root_t6s9b_42 {
2365
+ min-width: unset;
2366
+ }
2367
+ }
2368
+ @media (prefers-reduced-motion: reduce) {
2369
+ ._PuckCanvas-root_t6s9b_42 {
2370
+ transition: none !important;
2371
+ }
2372
+ }
2373
+ ._PuckCanvas--ready_t6s9b_67 ._PuckCanvas-root_t6s9b_42 {
2374
+ pointer-events: unset;
2375
+ opacity: 1;
2376
+ }
2377
+ ._PuckCanvas-loader_t6s9b_72 {
2378
+ align-items: center;
2379
+ color: var(--puck-color-grey-06);
2380
+ display: flex;
2381
+ height: 100%;
2382
+ justify-content: center;
2383
+ transition: opacity 250ms ease-out;
2384
+ opacity: 0;
2385
+ }
2386
+ ._PuckCanvas--showLoader_t6s9b_82 ._PuckCanvas-loader_t6s9b_72 {
2387
+ opacity: 1;
2388
+ }
2389
+ ._PuckCanvas--showLoader_t6s9b_82._PuckCanvas--ready_t6s9b_67 ._PuckCanvas-loader_t6s9b_72 {
2390
+ opacity: 0;
2391
+ height: 0;
2392
+ transition: none;
2393
+ }
2394
+ ._PuckCanvas-controls_t6s9b_17 {
2395
+ padding-bottom: calc(var(--puck-space-px) * 0.5);
2396
+ }
2397
+ ._PuckCanvas--fullScreen_t6s9b_22 ._PuckCanvas-controls_t6s9b_17 {
2398
+ padding-bottom: 0;
2399
+ z-index: 1;
2400
+ }
2401
+
1919
2402
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/ResizeHandle/styles.module.css/#css-module-data */
1920
2403
  @media (min-width: 766px) {
1921
2404
  ._ResizeHandle_144bf_2 {
@@ -1950,31 +2433,198 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1950
2433
  }
1951
2434
 
1952
2435
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Sidebar/styles.module.css/#css-module-data */
1953
- ._Sidebar_1xksb_1 {
2436
+ ._Sidebar_o396p_1 {
2437
+ border-block-start: 1px solid var(--puck-color-grey-09);
1954
2438
  position: relative;
1955
- display: flex;
2439
+ display: none;
1956
2440
  flex-direction: column;
1957
2441
  overflow-y: auto;
1958
2442
  }
1959
- ._Sidebar--left_1xksb_8 {
2443
+ ._Sidebar--isVisible_o396p_9 {
2444
+ display: flex;
2445
+ }
2446
+ ._Sidebar--left_o396p_13 {
1960
2447
  background: var(--puck-color-grey-12);
1961
- border-inline-end: 1px solid var(--puck-color-grey-09);
1962
2448
  grid-area: left;
1963
2449
  }
1964
- ._Sidebar--right_1xksb_14 {
2450
+ @media (min-width: 766px) {
2451
+ ._Sidebar--left_o396p_13 {
2452
+ border-block-start: 0;
2453
+ border-inline-end: 1px solid var(--puck-color-grey-09);
2454
+ }
2455
+ }
2456
+ ._Sidebar--right_o396p_25 {
1965
2457
  background: var(--puck-color-white);
1966
- border-inline-start: 1px solid var(--puck-color-grey-09);
1967
2458
  grid-area: right;
1968
2459
  }
1969
- ._Sidebar-resizeHandle_1xksb_20 {
2460
+ @media (min-width: 766px) {
2461
+ ._Sidebar--right_o396p_25 {
2462
+ border-block-start: 0;
2463
+ border-inline-start: 1px solid var(--puck-color-grey-09);
2464
+ }
2465
+ }
2466
+ ._Sidebar-resizeHandle_o396p_37 {
1970
2467
  position: absolute;
1971
2468
  height: 100%;
1972
2469
  }
1973
- ._Sidebar--left_1xksb_8 + ._Sidebar-resizeHandle_1xksb_20 {
2470
+ ._Sidebar--left_o396p_13 + ._Sidebar-resizeHandle_o396p_37 {
1974
2471
  grid-area: left;
1975
2472
  justify-self: end;
1976
2473
  }
1977
- ._Sidebar--right_1xksb_14 + ._Sidebar-resizeHandle_1xksb_20 {
2474
+ ._Sidebar--right_o396p_25 + ._Sidebar-resizeHandle_o396p_37 {
1978
2475
  grid-area: right;
1979
2476
  justify-self: start;
1980
2477
  }
2478
+
2479
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Nav/styles.module.css/#css-module-data */
2480
+ ._Nav_1tvxq_1 {
2481
+ display: flex;
2482
+ }
2483
+ ._Nav-list_1tvxq_5 {
2484
+ display: flex;
2485
+ list-style: none;
2486
+ margin: 0;
2487
+ padding: 0;
2488
+ overflow-x: auto;
2489
+ gap: 8px;
2490
+ }
2491
+ @media (min-width: 638px) {
2492
+ ._Nav-list_1tvxq_5 {
2493
+ padding-top: 32px;
2494
+ flex-direction: column;
2495
+ gap: 16px;
2496
+ width: 100%;
2497
+ }
2498
+ }
2499
+ ._Nav-mobileActions_1tvxq_23 {
2500
+ align-items: center;
2501
+ display: flex;
2502
+ justify-content: center;
2503
+ margin-inline-start: auto;
2504
+ padding: 4px 16px;
2505
+ border-inline-start: 1px solid var(--puck-color-grey-09);
2506
+ }
2507
+ @media (min-width: 638px) {
2508
+ ._Nav-mobileActions_1tvxq_23 {
2509
+ display: none;
2510
+ }
2511
+ }
2512
+ ._NavItem-link_1tvxq_38 {
2513
+ text-align: center;
2514
+ align-items: center;
2515
+ color: var(--puck-color-grey-03);
2516
+ display: flex;
2517
+ gap: 8px;
2518
+ text-decoration: none;
2519
+ cursor: pointer;
2520
+ border-radius: 4px;
2521
+ padding: 8px 4px;
2522
+ width: 64px;
2523
+ box-sizing: border-box;
2524
+ }
2525
+ @media (min-width: 638px) {
2526
+ ._NavItem-link_1tvxq_38 {
2527
+ width: auto;
2528
+ }
2529
+ }
2530
+ ._NavItem_1tvxq_38:first-of-type {
2531
+ padding-left: 16px;
2532
+ }
2533
+ ._NavItem_1tvxq_38:last-of-type {
2534
+ padding-right: 16px;
2535
+ }
2536
+ @media (min-width: 638px) {
2537
+ ._NavItem_1tvxq_38:first-of-type,
2538
+ ._NavItem_1tvxq_38:last-of-type {
2539
+ padding: 0;
2540
+ }
2541
+ }
2542
+ ._NavItem-link_1tvxq_38 {
2543
+ border-top: 4px solid transparent;
2544
+ border-bottom: 4px solid transparent;
2545
+ border-radius: 0;
2546
+ flex-direction: column;
2547
+ font-size: var(--puck-font-size-xxxs);
2548
+ }
2549
+ @media (min-width: 638px) {
2550
+ ._NavItem-link_1tvxq_38 {
2551
+ border: 0;
2552
+ border-left: 4px solid transparent;
2553
+ border-right: 4px solid transparent;
2554
+ }
2555
+ }
2556
+ ._NavItem-linkIcon_1tvxq_89 {
2557
+ height: 24px;
2558
+ width: 24px;
2559
+ }
2560
+ ._NavItem--active_1tvxq_94 > ._NavItem-link_1tvxq_38 {
2561
+ background-color: var(--puck-color-azure-10);
2562
+ color: var(--puck-color-azure-04);
2563
+ font-weight: 600;
2564
+ }
2565
+ ._NavItem--active_1tvxq_94 > ._NavItem-link_1tvxq_38 {
2566
+ background-color: transparent;
2567
+ border-top-color: var(--puck-color-azure-04);
2568
+ border-top-right-radius: 0;
2569
+ border-bottom-right-radius: 0;
2570
+ font-weight: 600;
2571
+ }
2572
+ @media (min-width: 638px) {
2573
+ ._NavItem--active_1tvxq_94 > ._NavItem-link_1tvxq_38 {
2574
+ border-top-color: transparent;
2575
+ border-right-color: var(--puck-color-azure-04);
2576
+ }
2577
+ }
2578
+ ._NavItem_1tvxq_38:not(._NavItem--active_1tvxq_94) > ._NavItem-link_1tvxq_38:hover {
2579
+ background-color: var(--puck-color-azure-11);
2580
+ color: var(--puck-color-azure-04);
2581
+ }
2582
+ @media (min-width: 638px) {
2583
+ ._NavItem--mobileOnly_1tvxq_121 {
2584
+ display: none;
2585
+ }
2586
+ }
2587
+ ._NavItem--desktopOnly_1tvxq_126 {
2588
+ display: none;
2589
+ }
2590
+ @media (min-width: 638px) {
2591
+ ._NavItem--desktopOnly_1tvxq_126 {
2592
+ display: block;
2593
+ }
2594
+ }
2595
+
2596
+ /* css-module:/home/runner/work/puck/puck/packages/core/plugins/blocks/styles.module.css/#css-module-data */
2597
+ ._BlocksPlugin_1ey1i_1 {
2598
+ padding: 16px;
2599
+ height: 100%;
2600
+ overflow-y: auto;
2601
+ box-sizing: border-box;
2602
+ }
2603
+
2604
+ /* css-module:/home/runner/work/puck/puck/packages/core/plugins/outline/styles.module.css/#css-module-data */
2605
+ ._OutlinePlugin_q92j6_1 {
2606
+ padding: 16px;
2607
+ height: 100%;
2608
+ overflow-y: auto;
2609
+ box-sizing: border-box;
2610
+ }
2611
+
2612
+ /* css-module:/home/runner/work/puck/puck/packages/core/plugins/fields/styles.module.css/#css-module-data */
2613
+ ._FieldsPlugin_nd930_1 {
2614
+ background: white;
2615
+ height: 100%;
2616
+ overflow-y: auto;
2617
+ }
2618
+ ._FieldsPlugin-header_nd930_7 {
2619
+ border-bottom: 1px solid var(--puck-color-grey-09);
2620
+ font-weight: 600;
2621
+ padding-bottom: 8px;
2622
+ padding-left: 16px;
2623
+ padding-right: 16px;
2624
+ padding-top: 8px;
2625
+ }
2626
+ @media (min-width: 638px) {
2627
+ ._FieldsPlugin-header_nd930_7 {
2628
+ padding: 16px;
2629
+ }
2630
+ }