@measured/puck 0.14.0-canary.70cf177 → 0.14.0-canary.83be956
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -0
- package/dist/{Config-29dc2731.d.ts → Config-09628f3c.d.ts} +17 -24
- package/dist/index.css +192 -160
- package/dist/index.d.ts +58 -48
- package/dist/index.js +427 -330
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +4 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
@@ -137,7 +137,7 @@
|
|
137
137
|
/* styles.css */
|
138
138
|
|
139
139
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
|
140
|
-
.
|
140
|
+
._Button_1t64k_1 {
|
141
141
|
appearance: none;
|
142
142
|
background: none;
|
143
143
|
border: 1px solid transparent;
|
@@ -159,67 +159,69 @@
|
|
159
159
|
white-space: nowrap;
|
160
160
|
margin: 0;
|
161
161
|
}
|
162
|
-
.
|
163
|
-
.
|
162
|
+
._Button_1t64k_1:hover,
|
163
|
+
._Button_1t64k_1:active {
|
164
164
|
transition: none;
|
165
165
|
}
|
166
|
-
._Button--
|
166
|
+
._Button--medium_1t64k_29 {
|
167
167
|
min-height: 34px;
|
168
168
|
padding-bottom: 7px;
|
169
169
|
padding-left: 19px;
|
170
170
|
padding-right: 19px;
|
171
171
|
padding-top: 7px;
|
172
172
|
}
|
173
|
-
._Button--
|
173
|
+
._Button--large_1t64k_37 {
|
174
174
|
padding-bottom: 11px;
|
175
175
|
padding-left: 19px;
|
176
176
|
padding-right: 19px;
|
177
177
|
padding-top: 11px;
|
178
178
|
}
|
179
|
-
._Button-
|
179
|
+
._Button-icon_1t64k_44 {
|
180
180
|
margin-top: 2px;
|
181
181
|
}
|
182
|
-
._Button--
|
182
|
+
._Button--primary_1t64k_48 {
|
183
183
|
background: var(--puck-color-azure-04);
|
184
184
|
}
|
185
|
-
.
|
185
|
+
._Button_1t64k_1:focus-visible {
|
186
186
|
outline: 2px solid var(--puck-color-azure-05);
|
187
187
|
outline-offset: 2px;
|
188
188
|
}
|
189
189
|
@media (hover: hover) and (pointer: fine) {
|
190
|
-
._Button--
|
190
|
+
._Button--primary_1t64k_48:hover {
|
191
191
|
background-color: var(--puck-color-azure-03);
|
192
192
|
}
|
193
193
|
}
|
194
|
-
._Button--
|
194
|
+
._Button--primary_1t64k_48:active {
|
195
195
|
background-color: var(--puck-color-azure-02);
|
196
196
|
}
|
197
|
-
._Button--
|
198
|
-
border: 1px solid
|
199
|
-
color:
|
197
|
+
._Button--secondary_1t64k_67 {
|
198
|
+
border: 1px solid currentColor;
|
199
|
+
color: currentColor;
|
200
200
|
}
|
201
201
|
@media (hover: hover) and (pointer: fine) {
|
202
|
-
._Button--
|
202
|
+
._Button--secondary_1t64k_67:hover {
|
203
203
|
background-color: var(--puck-color-azure-12);
|
204
|
+
color: var(--puck-color-black);
|
204
205
|
}
|
205
206
|
}
|
206
|
-
._Button--
|
207
|
+
._Button--secondary_1t64k_67:active {
|
207
208
|
background-color: var(--puck-color-azure-11);
|
209
|
+
color: var(--puck-color-black);
|
208
210
|
}
|
209
|
-
._Button--
|
211
|
+
._Button--flush_1t64k_84 {
|
210
212
|
border-radius: 0;
|
211
213
|
}
|
212
|
-
._Button--
|
213
|
-
._Button--
|
214
|
+
._Button--disabled_1t64k_88,
|
215
|
+
._Button--disabled_1t64k_88:hover {
|
214
216
|
background-color: var(--puck-color-grey-07);
|
215
217
|
color: var(--puck-color-grey-03);
|
216
218
|
cursor: not-allowed;
|
217
219
|
}
|
218
|
-
._Button--
|
220
|
+
._Button--fullWidth_1t64k_95 {
|
219
221
|
justify-content: center;
|
220
222
|
width: 100%;
|
221
223
|
}
|
222
|
-
._Button-
|
224
|
+
._Button-spinner_1t64k_100 {
|
223
225
|
padding-left: 8px;
|
224
226
|
}
|
225
227
|
|
@@ -281,25 +283,25 @@
|
|
281
283
|
}
|
282
284
|
|
283
285
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
284
|
-
.
|
286
|
+
._DraggableComponent_1542z_1 {
|
285
287
|
pointer-events: auto;
|
286
288
|
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
287
289
|
}
|
288
|
-
._DraggableComponent--
|
290
|
+
._DraggableComponent--isDragging_1542z_11 {
|
289
291
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
290
292
|
overflow: hidden;
|
291
293
|
}
|
292
|
-
._DraggableComponent-
|
294
|
+
._DraggableComponent-contents_1542z_16 {
|
293
295
|
position: relative;
|
294
296
|
pointer-events: none;
|
295
297
|
z-index: 0;
|
296
298
|
}
|
297
|
-
._DraggableComponent-
|
298
|
-
._DraggableComponent-
|
299
|
+
._DraggableComponent-contents_1542z_16::before,
|
300
|
+
._DraggableComponent-contents_1542z_16::after {
|
299
301
|
content: " ";
|
300
302
|
display: table;
|
301
303
|
}
|
302
|
-
._DraggableComponent-
|
304
|
+
._DraggableComponent-overlay_1542z_29 {
|
303
305
|
cursor: pointer;
|
304
306
|
height: 100%;
|
305
307
|
width: 100%;
|
@@ -310,13 +312,13 @@
|
|
310
312
|
box-sizing: border-box;
|
311
313
|
z-index: 1;
|
312
314
|
}
|
313
|
-
.
|
315
|
+
._DraggableComponent_1542z_1:focus-visible > ._DraggableComponent-overlay_1542z_29 {
|
314
316
|
outline: 1px solid var(--puck-color-azure-05);
|
315
317
|
}
|
316
|
-
._DraggableComponent--
|
318
|
+
._DraggableComponent--isDragging_1542z_11 > ._DraggableComponent-overlay_1542z_29 {
|
317
319
|
outline: 1px var(--puck-color-azure-09) solid !important;
|
318
320
|
}
|
319
|
-
._DraggableComponent-
|
321
|
+
._DraggableComponent-loadingOverlay_1542z_49 {
|
320
322
|
background: var(--puck-color-white);
|
321
323
|
color: var(--puck-color-grey-03);
|
322
324
|
border-radius: 4px;
|
@@ -331,32 +333,32 @@
|
|
331
333
|
opacity: 0.8;
|
332
334
|
z-index: 1;
|
333
335
|
}
|
334
|
-
.
|
336
|
+
._DraggableComponent_1542z_1:hover:not(._DraggableComponent--isLocked_1542z_65) > ._DraggableComponent-overlay_1542z_29 {
|
335
337
|
background: var(--overlay-background);
|
336
338
|
pointer-events: none;
|
337
339
|
}
|
338
|
-
._DraggableComponent--
|
340
|
+
._DraggableComponent--forceHover_1542z_71 > ._DraggableComponent-overlay_1542z_29 {
|
339
341
|
background: var(--overlay-background);
|
340
342
|
pointer-events: none;
|
341
343
|
}
|
342
|
-
.
|
344
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):hover > ._DraggableComponent-overlay_1542z_29 {
|
343
345
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
344
346
|
}
|
345
|
-
._DraggableComponent--
|
347
|
+
._DraggableComponent--indicativeHover_1542z_81 > ._DraggableComponent-overlay_1542z_29 {
|
346
348
|
pointer-events: none;
|
347
349
|
}
|
348
|
-
.
|
350
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):has(._DraggableComponent_1542z_1:hover > ._DraggableComponent-overlay_1542z_29) > ._DraggableComponent-overlay_1542z_29 {
|
349
351
|
display: none;
|
350
352
|
}
|
351
|
-
._DraggableComponent--
|
353
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-overlay_1542z_29 {
|
352
354
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
353
355
|
}
|
354
|
-
._DraggableComponent--
|
356
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 {
|
355
357
|
display: block;
|
356
358
|
position: sticky;
|
357
359
|
z-index: 2;
|
358
360
|
}
|
359
|
-
._DraggableComponent-
|
361
|
+
._DraggableComponent-actions_1542z_97 {
|
360
362
|
position: absolute;
|
361
363
|
width: auto;
|
362
364
|
padding: 4px;
|
@@ -373,10 +375,10 @@
|
|
373
375
|
box-sizing: border-box;
|
374
376
|
transform-origin: right top;
|
375
377
|
}
|
376
|
-
._DraggableComponent--
|
378
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 > ._DraggableComponent-actions_1542z_97 {
|
377
379
|
display: flex;
|
378
380
|
}
|
379
|
-
._DraggableComponent-
|
381
|
+
._DraggableComponent-actionsLabel_1542z_127 {
|
380
382
|
color: var(--puck-color-grey-08);
|
381
383
|
display: flex;
|
382
384
|
font-size: var(--puck-font-size-xxxs);
|
@@ -390,7 +392,7 @@
|
|
390
392
|
text-overflow: ellipsis;
|
391
393
|
white-space: nowrap;
|
392
394
|
}
|
393
|
-
._DraggableComponent-
|
395
|
+
._DraggableComponent-action_1542z_97 {
|
394
396
|
background: transparent;
|
395
397
|
border: none;
|
396
398
|
color: var(--puck-color-grey-08);
|
@@ -403,17 +405,17 @@
|
|
403
405
|
justify-content: center;
|
404
406
|
transition: color 50ms ease-in;
|
405
407
|
}
|
406
|
-
._DraggableComponent-
|
408
|
+
._DraggableComponent-action_1542z_97:focus-visible {
|
407
409
|
outline: 2px solid var(--puck-color-azure-05);
|
408
410
|
outline-offset: -2px;
|
409
411
|
}
|
410
412
|
@media (hover: hover) and (pointer: fine) {
|
411
|
-
._DraggableComponent-
|
413
|
+
._DraggableComponent-action_1542z_97:hover {
|
412
414
|
color: var(--puck-color-azure-06);
|
413
415
|
transition: none;
|
414
416
|
}
|
415
417
|
}
|
416
|
-
._DraggableComponent-
|
418
|
+
._DraggableComponent-action_1542z_97:active {
|
417
419
|
color: var(--puck-color-azure-07);
|
418
420
|
transition: none;
|
419
421
|
}
|
@@ -674,9 +676,9 @@
|
|
674
676
|
}
|
675
677
|
|
676
678
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
677
|
-
.
|
679
|
+
._Puck_u70b9_19 {
|
678
680
|
--puck-frame-width: auto;
|
679
|
-
--puck-side-bar-width:
|
681
|
+
--puck-side-bar-width: 0px;
|
680
682
|
--puck-space-px: 16px;
|
681
683
|
bottom: 0;
|
682
684
|
display: grid;
|
@@ -690,51 +692,54 @@
|
|
690
692
|
right: 0;
|
691
693
|
top: 0;
|
692
694
|
}
|
693
|
-
._Puck--
|
695
|
+
._Puck--mounted_u70b9_36 {
|
696
|
+
--puck-side-bar-width: 186px;
|
697
|
+
}
|
698
|
+
._Puck--leftSideBarVisible_u70b9_40 {
|
694
699
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
695
700
|
}
|
696
|
-
._Puck--
|
701
|
+
._Puck--rightSideBarVisible_u70b9_46 {
|
697
702
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
698
703
|
}
|
699
|
-
._Puck--
|
704
|
+
._Puck--leftSideBarVisible_u70b9_40._Puck--rightSideBarVisible_u70b9_46 {
|
700
705
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
701
706
|
}
|
702
707
|
@media (min-width: 458px) {
|
703
|
-
.
|
708
|
+
._Puck-mounted_u70b9_59 {
|
704
709
|
--puck-frame-width: minmax(266px, auto);
|
705
710
|
}
|
706
711
|
}
|
707
712
|
@media (min-width: 638px) {
|
708
|
-
.
|
713
|
+
._Puck_u70b9_19 {
|
709
714
|
--puck-side-bar-width: minmax(186px, 250px);
|
710
715
|
}
|
711
716
|
}
|
712
717
|
@media (min-width: 766px) {
|
713
|
-
.
|
718
|
+
._Puck_u70b9_19 {
|
714
719
|
--puck-frame-width: auto;
|
715
720
|
}
|
716
721
|
}
|
717
722
|
@media (min-width: 990px) {
|
718
|
-
.
|
723
|
+
._Puck_u70b9_19 {
|
719
724
|
--puck-side-bar-width: 256px;
|
720
725
|
}
|
721
726
|
}
|
722
727
|
@media (min-width: 1198px) {
|
723
|
-
.
|
728
|
+
._Puck_u70b9_19 {
|
724
729
|
--puck-side-bar-width: 274px;
|
725
730
|
}
|
726
731
|
}
|
727
732
|
@media (min-width: 1398px) {
|
728
|
-
.
|
733
|
+
._Puck_u70b9_19 {
|
729
734
|
--puck-side-bar-width: 290px;
|
730
735
|
}
|
731
736
|
}
|
732
737
|
@media (min-width: 1598px) {
|
733
|
-
.
|
738
|
+
._Puck_u70b9_19 {
|
734
739
|
--puck-side-bar-width: 320px;
|
735
740
|
}
|
736
741
|
}
|
737
|
-
._Puck-
|
742
|
+
._Puck-header_u70b9_100 {
|
738
743
|
background: var(--puck-color-white);
|
739
744
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
740
745
|
color: var(--puck-color-black);
|
@@ -742,7 +747,7 @@
|
|
742
747
|
position: relative;
|
743
748
|
max-width: 100vw;
|
744
749
|
}
|
745
|
-
._Puck-
|
750
|
+
._Puck-headerInner_u70b9_109 {
|
746
751
|
align-items: end;
|
747
752
|
display: grid;
|
748
753
|
gap: var(--puck-space-px);
|
@@ -751,43 +756,43 @@
|
|
751
756
|
grid-template-rows: auto;
|
752
757
|
padding: var(--puck-space-px);
|
753
758
|
}
|
754
|
-
._Puck-
|
759
|
+
._Puck-headerToggle_u70b9_119 {
|
755
760
|
color: var(--puck-color-grey-05);
|
756
761
|
display: flex;
|
757
762
|
margin-left: -4px;
|
758
763
|
padding-top: 2px;
|
759
764
|
}
|
760
|
-
._Puck--
|
761
|
-
._Puck--
|
765
|
+
._Puck--rightSideBarVisible_u70b9_46 ._Puck-rightSideBarToggle_u70b9_126,
|
766
|
+
._Puck--leftSideBarVisible_u70b9_40 ._Puck-leftSideBarToggle_u70b9_127 {
|
762
767
|
color: var(--puck-color-black);
|
763
768
|
}
|
764
|
-
._Puck-
|
769
|
+
._Puck-headerTitle_u70b9_131 {
|
765
770
|
align-self: center;
|
766
771
|
}
|
767
|
-
._Puck-
|
772
|
+
._Puck-headerPath_u70b9_135 {
|
768
773
|
font-family: var(--puck-font-family-monospaced);
|
769
774
|
font-size: var(--puck-font-size-xxs);
|
770
775
|
font-weight: normal;
|
771
776
|
word-break: break-all;
|
772
777
|
}
|
773
|
-
._Puck-
|
778
|
+
._Puck-headerTools_u70b9_142 {
|
774
779
|
display: flex;
|
775
780
|
gap: 16px;
|
776
781
|
justify-content: flex-end;
|
777
782
|
}
|
778
|
-
._Puck-
|
783
|
+
._Puck-menuButton_u70b9_148 {
|
779
784
|
color: var(--puck-color-grey-05);
|
780
785
|
margin-left: -4px;
|
781
786
|
}
|
782
|
-
._Puck--
|
787
|
+
._Puck--menuOpen_u70b9_153 ._Puck-menuButton_u70b9_148 {
|
783
788
|
color: var(--puck-color-black);
|
784
789
|
}
|
785
790
|
@media (min-width: 638px) {
|
786
|
-
._Puck-
|
791
|
+
._Puck-menuButton_u70b9_148 {
|
787
792
|
display: none;
|
788
793
|
}
|
789
794
|
}
|
790
|
-
._Puck-
|
795
|
+
._Puck-leftSideBar_u70b9_127 {
|
791
796
|
background: var(--puck-color-grey-12);
|
792
797
|
border-right: 1px solid var(--puck-color-grey-09);
|
793
798
|
display: flex;
|
@@ -795,37 +800,7 @@
|
|
795
800
|
grid-area: left;
|
796
801
|
overflow-y: auto;
|
797
802
|
}
|
798
|
-
._Puck-
|
799
|
-
box-sizing: border-box;
|
800
|
-
display: flex;
|
801
|
-
height: 100%;
|
802
|
-
justify-content: center;
|
803
|
-
min-width: 392px;
|
804
|
-
overflow: hidden;
|
805
|
-
position: relative;
|
806
|
-
width: 100%;
|
807
|
-
}
|
808
|
-
._Puck-root_3qn7l_179 {
|
809
|
-
background: white;
|
810
|
-
border: 1px solid var(--puck-color-grey-09);
|
811
|
-
box-sizing: border-box;
|
812
|
-
min-width: 321px;
|
813
|
-
position: absolute;
|
814
|
-
transform-origin: top;
|
815
|
-
top: 0;
|
816
|
-
bottom: 0;
|
817
|
-
}
|
818
|
-
@media (min-width: 1198px) {
|
819
|
-
._Puck-root_3qn7l_179 {
|
820
|
-
min-width: unset;
|
821
|
-
}
|
822
|
-
}
|
823
|
-
@media (prefers-reduced-motion: reduce) {
|
824
|
-
._Puck-root_3qn7l_179 {
|
825
|
-
transition: none !important;
|
826
|
-
}
|
827
|
-
}
|
828
|
-
._Puck-rightSideBar_3qn7l_122 {
|
803
|
+
._Puck-rightSideBar_u70b9_126 {
|
829
804
|
background: var(--puck-color-white);
|
830
805
|
border-left: 1px solid var(--puck-color-grey-09);
|
831
806
|
display: flex;
|
@@ -833,22 +808,8 @@
|
|
833
808
|
grid-area: right;
|
834
809
|
overflow-y: auto;
|
835
810
|
}
|
836
|
-
._Puck-
|
837
|
-
|
838
|
-
display: flex;
|
839
|
-
grid-area: editor;
|
840
|
-
flex-direction: column;
|
841
|
-
padding: var(--puck-space-px);
|
842
|
-
overflow: auto;
|
843
|
-
}
|
844
|
-
@media (min-width: 1198px) {
|
845
|
-
._Puck-canvas_3qn7l_211 {
|
846
|
-
padding: calc(var(--puck-space-px) * 1.5);
|
847
|
-
padding-top: var(--puck-space-px);
|
848
|
-
}
|
849
|
-
._Puck-canvas_3qn7l_211:not(._Puck-canvas_3qn7l_211:has(._Puck-canvasControls_3qn7l_226)) {
|
850
|
-
padding-top: calc(var(--puck-space-px) * 1.5);
|
851
|
-
}
|
811
|
+
._Puck-portal_u70b9_181 {
|
812
|
+
z-index: 2;
|
852
813
|
}
|
853
814
|
|
854
815
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
@@ -1013,78 +974,89 @@ textarea._Input-input_1qi5b_46 {
|
|
1013
974
|
}
|
1014
975
|
|
1015
976
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
1016
|
-
.
|
977
|
+
._ArrayField_1lr58_5 {
|
1017
978
|
display: flex;
|
1018
979
|
flex-direction: column;
|
1019
980
|
background-color: var(--puck-color-grey-09);
|
1020
981
|
border: 1px solid var(--puck-color-grey-09);
|
1021
982
|
border-radius: 4px;
|
1022
983
|
}
|
1023
|
-
._ArrayField--
|
984
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
1024
985
|
background-color: var(--puck-color-azure-11);
|
986
|
+
overflow: hidden;
|
1025
987
|
}
|
1026
|
-
._ArrayField-
|
988
|
+
._ArrayField-addButton_1lr58_18 {
|
1027
989
|
background-color: var(--puck-color-white);
|
1028
990
|
border: none;
|
1029
|
-
border-radius:
|
991
|
+
border-radius: 3px;
|
1030
992
|
display: flex;
|
1031
993
|
color: var(--puck-color-azure-05);
|
1032
994
|
justify-content: center;
|
1033
995
|
cursor: pointer;
|
1034
996
|
width: 100%;
|
1035
997
|
margin: 0;
|
1036
|
-
padding:
|
998
|
+
padding: 14px;
|
1037
999
|
text-align: left;
|
1038
1000
|
transition: background-color 50ms ease-in;
|
1039
1001
|
}
|
1040
|
-
._ArrayField--
|
1002
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1003
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1041
1004
|
border-top-left-radius: 0;
|
1042
1005
|
border-top-right-radius: 0;
|
1043
1006
|
}
|
1044
|
-
._ArrayField-
|
1007
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
1045
1008
|
outline: 2px solid var(--puck-color-azure-05);
|
1046
1009
|
outline-offset: 2px;
|
1047
1010
|
position: relative;
|
1048
1011
|
}
|
1049
1012
|
@media (hover: hover) and (pointer: fine) {
|
1050
|
-
.
|
1013
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1051
1014
|
background: var(--puck-color-azure-12);
|
1052
1015
|
color: var(--puck-color-azure-04);
|
1053
1016
|
transition: none;
|
1054
1017
|
}
|
1055
1018
|
}
|
1056
|
-
.
|
1019
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1057
1020
|
background: var(--puck-color-azure-11);
|
1058
1021
|
color: var(--puck-color-azure-04);
|
1059
1022
|
transition: none;
|
1060
1023
|
}
|
1061
|
-
.
|
1062
|
-
|
1063
|
-
border-top-
|
1064
|
-
border-top-right-radius: 4px;
|
1024
|
+
._ArrayFieldItem_1lr58_63 {
|
1025
|
+
border-top-left-radius: 3px;
|
1026
|
+
border-top-right-radius: 3px;
|
1065
1027
|
display: block;
|
1066
|
-
|
1028
|
+
position: relative;
|
1067
1029
|
}
|
1068
|
-
.
|
1069
|
-
|
1070
|
-
|
1030
|
+
._ArrayFieldItem_1lr58_63:not(._ArrayFieldItem--isDragging_1lr58_71):not(:first-of-type)::before {
|
1031
|
+
background-color: var(--puck-color-grey-09);
|
1032
|
+
position: absolute;
|
1033
|
+
width: 100%;
|
1034
|
+
height: 1px;
|
1035
|
+
content: "";
|
1036
|
+
z-index: 1;
|
1037
|
+
top: -1px;
|
1038
|
+
}
|
1039
|
+
._ArrayFieldItem--isExpanded_1lr58_81::before {
|
1040
|
+
display: none;
|
1071
1041
|
}
|
1072
|
-
._ArrayFieldItem--
|
1042
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1073
1043
|
border-bottom: 0;
|
1074
1044
|
outline-offset: 0px !important;
|
1075
1045
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1046
|
+
z-index: 2;
|
1076
1047
|
}
|
1077
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1078
1049
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1079
1050
|
}
|
1080
|
-
._ArrayFieldItem--
|
1051
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1081
1052
|
background-color: var(--puck-color-white);
|
1082
1053
|
}
|
1083
|
-
.
|
1054
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1084
1055
|
border-top-left-radius: 0;
|
1085
1056
|
border-top-right-radius: 0;
|
1086
1057
|
}
|
1087
|
-
._ArrayFieldItem-
|
1058
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1059
|
+
background: var(--puck-color-white);
|
1088
1060
|
color: var(--puck-color-grey-04);
|
1089
1061
|
cursor: pointer;
|
1090
1062
|
display: flex;
|
@@ -1094,63 +1066,69 @@ textarea._Input-input_1qi5b_46 {
|
|
1094
1066
|
font-size: var(--puck-font-size-xxs);
|
1095
1067
|
list-style: none;
|
1096
1068
|
padding: 12px 15px;
|
1069
|
+
padding-bottom: 13px;
|
1097
1070
|
position: relative;
|
1098
1071
|
overflow: hidden;
|
1099
1072
|
transition: background-color 50ms ease-in;
|
1100
1073
|
}
|
1101
|
-
.
|
1102
|
-
|
1103
|
-
|
1074
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1075
|
+
border-top-left-radius: 3px;
|
1076
|
+
border-top-right-radius: 3px;
|
1104
1077
|
}
|
1105
|
-
.
|
1106
|
-
border-
|
1107
|
-
border-
|
1078
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem_1lr58_63:last-of-type:not(._ArrayFieldItem--isExpanded_1lr58_81) > ._ArrayFieldItem-summary_1lr58_97 {
|
1079
|
+
border-bottom-left-radius: 3px;
|
1080
|
+
border-bottom-right-radius: 3px;
|
1081
|
+
}
|
1082
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem--isExpanded_1lr58_81:last-of-type {
|
1083
|
+
border-bottom-left-radius: 3px;
|
1084
|
+
border-bottom-right-radius: 3px;
|
1108
1085
|
}
|
1109
|
-
._ArrayFieldItem-
|
1086
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1110
1087
|
outline: 2px solid var(--puck-color-azure-05);
|
1111
1088
|
outline-offset: 2px;
|
1112
1089
|
}
|
1113
1090
|
@media (hover: hover) and (pointer: fine) {
|
1114
|
-
._ArrayFieldItem-
|
1091
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1115
1092
|
background-color: var(--puck-color-azure-12);
|
1116
1093
|
transition: none;
|
1117
1094
|
}
|
1118
1095
|
}
|
1119
|
-
._ArrayFieldItem-
|
1096
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1120
1097
|
background-color: var(--puck-color-azure-11);
|
1121
1098
|
transition: none;
|
1122
1099
|
}
|
1123
|
-
._ArrayFieldItem--
|
1100
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1124
1101
|
background: var(--puck-color-azure-11);
|
1125
1102
|
color: var(--puck-color-azure-04);
|
1126
1103
|
font-weight: 600;
|
1127
1104
|
transition: none;
|
1128
1105
|
}
|
1129
|
-
._ArrayFieldItem-
|
1106
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1107
|
+
background: var(--puck-color-white);
|
1130
1108
|
display: none;
|
1131
1109
|
}
|
1132
|
-
._ArrayFieldItem--
|
1110
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1133
1111
|
display: block;
|
1134
1112
|
}
|
1135
|
-
._ArrayFieldItem-
|
1113
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1136
1114
|
border: none;
|
1137
1115
|
border-top: 1px solid var(--puck-color-grey-09);
|
1138
1116
|
margin: 0;
|
1139
1117
|
padding: 16px 15px;
|
1140
1118
|
}
|
1141
|
-
._ArrayFieldItem-
|
1119
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1142
1120
|
display: flex;
|
1143
1121
|
gap: 4px;
|
1144
1122
|
align-items: center;
|
1145
1123
|
}
|
1146
|
-
._ArrayFieldItem-
|
1124
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1147
1125
|
color: var(--puck-color-grey-04);
|
1148
1126
|
display: flex;
|
1149
1127
|
gap: 4px;
|
1150
1128
|
opacity: 0;
|
1151
1129
|
}
|
1152
|
-
._ArrayFieldItem-
|
1153
|
-
._ArrayFieldItem-
|
1130
|
+
._ArrayFieldItem-summary_1lr58_97:focus-within > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186,
|
1131
|
+
._ArrayFieldItem-summary_1lr58_97:hover > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186 {
|
1154
1132
|
opacity: 1;
|
1155
1133
|
}
|
1156
1134
|
|
@@ -1549,10 +1527,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1549
1527
|
}
|
1550
1528
|
|
1551
1529
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1552
|
-
.
|
1530
|
+
._PuckPreview_1mia0_1 {
|
1553
1531
|
height: 100%;
|
1554
1532
|
}
|
1555
|
-
._PuckPreview-
|
1533
|
+
._PuckPreview-frame_1mia0_5 {
|
1556
1534
|
border: none;
|
1557
1535
|
height: 100%;
|
1558
1536
|
width: 100%;
|
@@ -1662,25 +1640,25 @@ textarea._Input-input_1qi5b_46 {
|
|
1662
1640
|
}
|
1663
1641
|
|
1664
1642
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1665
|
-
.
|
1643
|
+
._ViewportControls_3zdvn_1 {
|
1666
1644
|
display: flex;
|
1667
1645
|
background: var(--puck-color-grey-11);
|
1668
1646
|
box-sizing: border-box;
|
1669
1647
|
border-left: 2px solid var(--puck-color-grey-11);
|
1670
1648
|
justify-content: center;
|
1671
1649
|
gap: 8px;
|
1672
|
-
min-width:
|
1650
|
+
min-width: 358px;
|
1673
1651
|
padding-bottom: 16px;
|
1674
1652
|
padding-left: var(--puck-space-px);
|
1675
1653
|
padding-right: var(--puck-space-px);
|
1676
1654
|
z-index: 1;
|
1677
1655
|
}
|
1678
|
-
._ViewportControls-
|
1656
|
+
._ViewportControls-divider_3zdvn_15 {
|
1679
1657
|
border-right: 1px solid var(--puck-color-grey-09);
|
1680
1658
|
margin-left: 8px;
|
1681
1659
|
margin-right: 8px;
|
1682
1660
|
}
|
1683
|
-
._ViewportControls-
|
1661
|
+
._ViewportControls-zoomSelect_3zdvn_21 {
|
1684
1662
|
appearance: none;
|
1685
1663
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
1686
1664
|
background-size: 10px;
|
@@ -1690,6 +1668,60 @@ textarea._Input-input_1qi5b_46 {
|
|
1690
1668
|
font-size: var(--puck-font-size-xxxs);
|
1691
1669
|
width: 96px;
|
1692
1670
|
}
|
1693
|
-
._ViewportButton--
|
1671
|
+
._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
|
1694
1672
|
color: var(--puck-color-azure-04);
|
1695
1673
|
}
|
1674
|
+
|
1675
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1676
|
+
._PuckCanvas_6zd4y_1 {
|
1677
|
+
background: var(--puck-color-grey-11);
|
1678
|
+
display: flex;
|
1679
|
+
grid-area: editor;
|
1680
|
+
flex-direction: column;
|
1681
|
+
padding: var(--puck-space-px);
|
1682
|
+
overflow: auto;
|
1683
|
+
}
|
1684
|
+
@media (min-width: 1198px) {
|
1685
|
+
._PuckCanvas_6zd4y_1 {
|
1686
|
+
padding: calc(var(--puck-space-px) * 1.5);
|
1687
|
+
padding-top: var(--puck-space-px);
|
1688
|
+
}
|
1689
|
+
._PuckCanvas_6zd4y_1:not(._PuckCanvas_6zd4y_1:has(._PuckCanvas-controls_6zd4y_16)) {
|
1690
|
+
padding-top: calc(var(--puck-space-px) * 1.5);
|
1691
|
+
}
|
1692
|
+
}
|
1693
|
+
._PuckCanvas-inner_6zd4y_21 {
|
1694
|
+
box-sizing: border-box;
|
1695
|
+
display: flex;
|
1696
|
+
height: 100%;
|
1697
|
+
justify-content: center;
|
1698
|
+
min-width: 358px;
|
1699
|
+
overflow: hidden;
|
1700
|
+
position: relative;
|
1701
|
+
width: 100%;
|
1702
|
+
}
|
1703
|
+
._PuckCanvas-root_6zd4y_32 {
|
1704
|
+
background: white;
|
1705
|
+
border: 1px solid var(--puck-color-grey-09);
|
1706
|
+
box-sizing: border-box;
|
1707
|
+
min-width: 321px;
|
1708
|
+
position: absolute;
|
1709
|
+
transform-origin: top;
|
1710
|
+
top: 0;
|
1711
|
+
bottom: 0;
|
1712
|
+
opacity: 0;
|
1713
|
+
}
|
1714
|
+
@media (min-width: 1198px) {
|
1715
|
+
._PuckCanvas-root_6zd4y_32 {
|
1716
|
+
min-width: unset;
|
1717
|
+
}
|
1718
|
+
}
|
1719
|
+
@media (prefers-reduced-motion: reduce) {
|
1720
|
+
._PuckCanvas-root_6zd4y_32 {
|
1721
|
+
transition: none !important;
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
._PuckCanvas--ready_6zd4y_56 ._PuckCanvas-root_6zd4y_32 {
|
1725
|
+
opacity: 1;
|
1726
|
+
transition: opacity 150ms ease-out;
|
1727
|
+
}
|