@measured/puck 0.14.0-canary.1c4c076 → 0.14.0-canary.26bc4ff
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-ab049d49.d.ts → Config-09628f3c.d.ts} +39 -26
- package/dist/index.css +315 -221
- package/dist/index.d.ts +86 -49
- package/dist/index.js +1414 -673
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +4 -1
- package/package.json +4 -2
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,41 +283,42 @@
|
|
281
283
|
}
|
282
284
|
|
283
285
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
284
|
-
.
|
285
|
-
outline-offset: 0px !important;
|
286
|
+
._DraggableComponent_1542z_1 {
|
286
287
|
pointer-events: auto;
|
288
|
+
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
287
289
|
}
|
288
|
-
.
|
289
|
-
outline: 2px solid var(--puck-color-azure-05);
|
290
|
-
}
|
291
|
-
._DraggableComponent--isDragging_1vpvt_10 {
|
290
|
+
._DraggableComponent--isDragging_1542z_11 {
|
292
291
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
293
|
-
outline: 2px var(--puck-color-azure-09) solid !important;
|
294
292
|
overflow: hidden;
|
295
293
|
}
|
296
|
-
._DraggableComponent-
|
294
|
+
._DraggableComponent-contents_1542z_16 {
|
297
295
|
position: relative;
|
298
296
|
pointer-events: none;
|
299
297
|
z-index: 0;
|
300
298
|
}
|
301
|
-
._DraggableComponent-
|
302
|
-
._DraggableComponent-
|
299
|
+
._DraggableComponent-contents_1542z_16::before,
|
300
|
+
._DraggableComponent-contents_1542z_16::after {
|
303
301
|
content: " ";
|
304
302
|
display: table;
|
305
303
|
}
|
306
|
-
._DraggableComponent-
|
307
|
-
display: none;
|
308
|
-
background: color-mix(in srgb, var(--puck-color-azure-08) 30%, transparent);
|
304
|
+
._DraggableComponent-overlay_1542z_29 {
|
309
305
|
cursor: pointer;
|
310
306
|
height: 100%;
|
311
307
|
width: 100%;
|
312
308
|
top: 0;
|
309
|
+
outline-offset: -2px;
|
313
310
|
position: absolute;
|
314
|
-
z-index: 0;
|
315
311
|
pointer-events: none;
|
316
312
|
box-sizing: border-box;
|
313
|
+
z-index: 1;
|
314
|
+
}
|
315
|
+
._DraggableComponent_1542z_1:focus-visible > ._DraggableComponent-overlay_1542z_29 {
|
316
|
+
outline: 1px solid var(--puck-color-azure-05);
|
317
|
+
}
|
318
|
+
._DraggableComponent--isDragging_1542z_11 > ._DraggableComponent-overlay_1542z_29 {
|
319
|
+
outline: 1px var(--puck-color-azure-09) solid !important;
|
317
320
|
}
|
318
|
-
._DraggableComponent-
|
321
|
+
._DraggableComponent-loadingOverlay_1542z_49 {
|
319
322
|
background: var(--puck-color-white);
|
320
323
|
color: var(--puck-color-grey-03);
|
321
324
|
border-radius: 4px;
|
@@ -330,40 +333,34 @@
|
|
330
333
|
opacity: 0.8;
|
331
334
|
z-index: 1;
|
332
335
|
}
|
333
|
-
.
|
334
|
-
|
336
|
+
._DraggableComponent_1542z_1:hover:not(._DraggableComponent--isLocked_1542z_65) > ._DraggableComponent-overlay_1542z_29 {
|
337
|
+
background: var(--overlay-background);
|
335
338
|
pointer-events: none;
|
336
339
|
}
|
337
|
-
._DraggableComponent--
|
338
|
-
|
340
|
+
._DraggableComponent--forceHover_1542z_71 > ._DraggableComponent-overlay_1542z_29 {
|
341
|
+
background: var(--overlay-background);
|
339
342
|
pointer-events: none;
|
340
343
|
}
|
341
|
-
.
|
344
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):hover > ._DraggableComponent-overlay_1542z_29 {
|
342
345
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
343
346
|
}
|
344
|
-
._DraggableComponent--
|
345
|
-
display: block;
|
346
|
-
background: transparent;
|
347
|
+
._DraggableComponent--indicativeHover_1542z_81 > ._DraggableComponent-overlay_1542z_29 {
|
347
348
|
pointer-events: none;
|
348
349
|
}
|
349
|
-
.
|
350
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):has(._DraggableComponent_1542z_1:hover > ._DraggableComponent-overlay_1542z_29) > ._DraggableComponent-overlay_1542z_29 {
|
350
351
|
display: none;
|
351
352
|
}
|
352
|
-
._DraggableComponent--
|
353
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-overlay_1542z_29 {
|
353
354
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
354
355
|
}
|
355
|
-
._DraggableComponent--
|
356
|
-
background: none;
|
356
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 {
|
357
357
|
display: block;
|
358
358
|
position: sticky;
|
359
|
-
|
360
|
-
z-index: 1;
|
359
|
+
z-index: 2;
|
361
360
|
}
|
362
|
-
._DraggableComponent-
|
361
|
+
._DraggableComponent-actions_1542z_97 {
|
363
362
|
position: absolute;
|
364
|
-
right: 6.5px;
|
365
363
|
width: auto;
|
366
|
-
top: -48px;
|
367
364
|
padding: 4px;
|
368
365
|
border-top-left-radius: 8px;
|
369
366
|
border-top-right-radius: 8px;
|
@@ -376,11 +373,12 @@
|
|
376
373
|
gap: 4px;
|
377
374
|
pointer-events: auto;
|
378
375
|
box-sizing: border-box;
|
376
|
+
transform-origin: right top;
|
379
377
|
}
|
380
|
-
._DraggableComponent--
|
378
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 > ._DraggableComponent-actions_1542z_97 {
|
381
379
|
display: flex;
|
382
380
|
}
|
383
|
-
._DraggableComponent-
|
381
|
+
._DraggableComponent-actionsLabel_1542z_127 {
|
384
382
|
color: var(--puck-color-grey-08);
|
385
383
|
display: flex;
|
386
384
|
font-size: var(--puck-font-size-xxxs);
|
@@ -390,11 +388,11 @@
|
|
390
388
|
padding-left: 8px;
|
391
389
|
padding-right: 16px;
|
392
390
|
margin-right: 8px;
|
393
|
-
border-right:
|
391
|
+
border-right: 0.5px solid var(--puck-color-grey-05);
|
394
392
|
text-overflow: ellipsis;
|
395
393
|
white-space: nowrap;
|
396
394
|
}
|
397
|
-
._DraggableComponent-
|
395
|
+
._DraggableComponent-action_1542z_97 {
|
398
396
|
background: transparent;
|
399
397
|
border: none;
|
400
398
|
color: var(--puck-color-grey-08);
|
@@ -407,23 +405,23 @@
|
|
407
405
|
justify-content: center;
|
408
406
|
transition: color 50ms ease-in;
|
409
407
|
}
|
410
|
-
._DraggableComponent-
|
408
|
+
._DraggableComponent-action_1542z_97:focus-visible {
|
411
409
|
outline: 2px solid var(--puck-color-azure-05);
|
412
410
|
outline-offset: -2px;
|
413
411
|
}
|
414
412
|
@media (hover: hover) and (pointer: fine) {
|
415
|
-
._DraggableComponent-
|
413
|
+
._DraggableComponent-action_1542z_97:hover {
|
416
414
|
color: var(--puck-color-azure-06);
|
417
415
|
transition: none;
|
418
416
|
}
|
419
417
|
}
|
420
|
-
._DraggableComponent-
|
418
|
+
._DraggableComponent-action_1542z_97:active {
|
421
419
|
color: var(--puck-color-azure-07);
|
422
420
|
transition: none;
|
423
421
|
}
|
424
422
|
|
425
423
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
426
|
-
.
|
424
|
+
._DropZone_jtf9d_1 {
|
427
425
|
margin-left: auto;
|
428
426
|
margin-right: auto;
|
429
427
|
position: relative;
|
@@ -431,42 +429,36 @@
|
|
431
429
|
outline-offset: -1px;
|
432
430
|
width: 100%;
|
433
431
|
}
|
434
|
-
._DropZone
|
435
|
-
zoom: 1.33;
|
436
|
-
}
|
437
|
-
._DropZone--zoomEnabled_utidm_10 ._DropZone-renderWrapper_utidm_14 {
|
438
|
-
zoom: 0.75;
|
439
|
-
}
|
440
|
-
._DropZone-content_utidm_18 {
|
432
|
+
._DropZone-content_jtf9d_10 {
|
441
433
|
min-height: 128px;
|
442
434
|
height: 100%;
|
443
435
|
}
|
444
|
-
._DropZone--
|
436
|
+
._DropZone--userIsDragging_jtf9d_15 ._DropZone-content_jtf9d_10 {
|
445
437
|
pointer-events: all;
|
446
438
|
}
|
447
|
-
._DropZone--
|
439
|
+
._DropZone--userIsDragging_jtf9d_15:not(._DropZone--draggingOverArea_jtf9d_19):not(._DropZone--draggingNewComponent_jtf9d_20) > ._DropZone-content_jtf9d_10 {
|
448
440
|
pointer-events: none;
|
449
441
|
}
|
450
|
-
._DropZone--
|
451
|
-
._DropZone--
|
452
|
-
._DropZone--
|
453
|
-
background: var(--puck-color-azure-
|
442
|
+
._DropZone--isAreaSelected_jtf9d_26,
|
443
|
+
._DropZone--draggingOverArea_jtf9d_19:not(:has(._DropZone--hoveringOverArea_jtf9d_27)),
|
444
|
+
._DropZone--hoveringOverArea_jtf9d_27:not(._DropZone--isDisabled_jtf9d_28):not(._DropZone--isRootZone_jtf9d_29):not(._DropZone--hasChildren_jtf9d_30) {
|
445
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
454
446
|
outline: 2px dashed var(--puck-color-azure-08);
|
455
447
|
}
|
456
|
-
.
|
457
|
-
background: var(--puck-color-azure-
|
448
|
+
._DropZone_jtf9d_1:not(._DropZone--hasChildren_jtf9d_30) {
|
449
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
458
450
|
outline: 2px dashed var(--puck-color-azure-08);
|
459
451
|
}
|
460
|
-
._DropZone--
|
452
|
+
._DropZone--isDestination_jtf9d_40 {
|
461
453
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
462
454
|
}
|
463
|
-
._DropZone--
|
455
|
+
._DropZone--isDestination_jtf9d_40:not(._DropZone--isRootZone_jtf9d_29) {
|
464
456
|
background: var(--puck-color-azure-10) !important;
|
465
457
|
}
|
466
|
-
._DropZone-
|
458
|
+
._DropZone-item_jtf9d_48 {
|
467
459
|
position: relative;
|
468
460
|
}
|
469
|
-
._DropZone-
|
461
|
+
._DropZone-hitbox_jtf9d_52 {
|
470
462
|
position: absolute;
|
471
463
|
bottom: -12px;
|
472
464
|
height: 24px;
|
@@ -475,35 +467,35 @@
|
|
475
467
|
}
|
476
468
|
|
477
469
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
478
|
-
.
|
470
|
+
._IconButton_swpni_1 {
|
479
471
|
align-items: center;
|
480
472
|
background: transparent;
|
481
473
|
border: none;
|
482
474
|
border-radius: 4px;
|
483
475
|
color: currentColor;
|
484
|
-
cursor: pointer;
|
485
476
|
display: flex;
|
486
477
|
font-family: var(--puck-font-family);
|
487
478
|
justify-content: center;
|
488
479
|
padding: 4px;
|
489
480
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
490
481
|
}
|
491
|
-
.
|
482
|
+
._IconButton_swpni_1:focus-visible {
|
492
483
|
outline: 2px solid var(--puck-color-azure-05);
|
493
484
|
outline-offset: -2px;
|
494
485
|
}
|
495
486
|
@media (hover: hover) and (pointer: fine) {
|
496
|
-
.
|
487
|
+
._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
|
497
488
|
background: var(--puck-color-azure-12);
|
498
489
|
color: var(--puck-color-azure-04);
|
490
|
+
cursor: pointer;
|
499
491
|
transition: none;
|
500
492
|
}
|
501
493
|
}
|
502
|
-
.
|
494
|
+
._IconButton_swpni_1:active {
|
503
495
|
background: var(--puck-color-azure-11);
|
504
496
|
transition: none;
|
505
497
|
}
|
506
|
-
._IconButton-
|
498
|
+
._IconButton-title_swpni_33 {
|
507
499
|
clip: rect(0 0 0 0);
|
508
500
|
clip-path: inset(100%);
|
509
501
|
height: 1px;
|
@@ -512,6 +504,9 @@
|
|
512
504
|
white-space: nowrap;
|
513
505
|
width: 1px;
|
514
506
|
}
|
507
|
+
._IconButton--disabled_swpni_20 {
|
508
|
+
color: var(--puck-color-grey-07);
|
509
|
+
}
|
515
510
|
|
516
511
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
517
512
|
._SidebarSection_125qe_1 {
|
@@ -681,7 +676,7 @@
|
|
681
676
|
}
|
682
677
|
|
683
678
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
684
|
-
.
|
679
|
+
._Puck_1d0ul_19 {
|
685
680
|
--puck-frame-width: auto;
|
686
681
|
--puck-side-bar-width: 186px;
|
687
682
|
--puck-space-px: 16px;
|
@@ -691,57 +686,57 @@
|
|
691
686
|
grid-template-areas: "header header header" "left editor right";
|
692
687
|
grid-template-columns: 0 var(--puck-frame-width) 0;
|
693
688
|
grid-template-rows: min-content auto;
|
694
|
-
height:
|
689
|
+
height: 100dvh;
|
695
690
|
left: 0;
|
696
691
|
position: fixed;
|
697
692
|
right: 0;
|
698
693
|
top: 0;
|
699
694
|
}
|
700
|
-
._Puck--
|
695
|
+
._Puck--leftSideBarVisible_1d0ul_36 {
|
701
696
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
702
697
|
}
|
703
|
-
._Puck--
|
698
|
+
._Puck--rightSideBarVisible_1d0ul_42 {
|
704
699
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
705
700
|
}
|
706
|
-
._Puck--
|
701
|
+
._Puck--leftSideBarVisible_1d0ul_36._Puck--rightSideBarVisible_1d0ul_42 {
|
707
702
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
708
703
|
}
|
709
704
|
@media (min-width: 458px) {
|
710
|
-
.
|
705
|
+
._Puck_1d0ul_19 {
|
711
706
|
--puck-frame-width: minmax(266px, auto);
|
712
707
|
}
|
713
708
|
}
|
714
709
|
@media (min-width: 638px) {
|
715
|
-
.
|
710
|
+
._Puck_1d0ul_19 {
|
716
711
|
--puck-side-bar-width: minmax(186px, 250px);
|
717
712
|
}
|
718
713
|
}
|
719
714
|
@media (min-width: 766px) {
|
720
|
-
.
|
715
|
+
._Puck_1d0ul_19 {
|
721
716
|
--puck-frame-width: auto;
|
722
717
|
}
|
723
718
|
}
|
724
719
|
@media (min-width: 990px) {
|
725
|
-
.
|
720
|
+
._Puck_1d0ul_19 {
|
726
721
|
--puck-side-bar-width: 256px;
|
727
722
|
}
|
728
723
|
}
|
729
724
|
@media (min-width: 1198px) {
|
730
|
-
.
|
725
|
+
._Puck_1d0ul_19 {
|
731
726
|
--puck-side-bar-width: 274px;
|
732
727
|
}
|
733
728
|
}
|
734
729
|
@media (min-width: 1398px) {
|
735
|
-
.
|
730
|
+
._Puck_1d0ul_19 {
|
736
731
|
--puck-side-bar-width: 290px;
|
737
732
|
}
|
738
733
|
}
|
739
734
|
@media (min-width: 1598px) {
|
740
|
-
.
|
735
|
+
._Puck_1d0ul_19 {
|
741
736
|
--puck-side-bar-width: 320px;
|
742
737
|
}
|
743
738
|
}
|
744
|
-
._Puck-
|
739
|
+
._Puck-header_1d0ul_96 {
|
745
740
|
background: var(--puck-color-white);
|
746
741
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
747
742
|
color: var(--puck-color-black);
|
@@ -749,7 +744,7 @@
|
|
749
744
|
position: relative;
|
750
745
|
max-width: 100vw;
|
751
746
|
}
|
752
|
-
._Puck-
|
747
|
+
._Puck-headerInner_1d0ul_105 {
|
753
748
|
align-items: end;
|
754
749
|
display: grid;
|
755
750
|
gap: var(--puck-space-px);
|
@@ -758,43 +753,43 @@
|
|
758
753
|
grid-template-rows: auto;
|
759
754
|
padding: var(--puck-space-px);
|
760
755
|
}
|
761
|
-
._Puck-
|
756
|
+
._Puck-headerToggle_1d0ul_115 {
|
762
757
|
color: var(--puck-color-grey-05);
|
763
758
|
display: flex;
|
764
759
|
margin-left: -4px;
|
765
760
|
padding-top: 2px;
|
766
761
|
}
|
767
|
-
._Puck--
|
768
|
-
._Puck--
|
762
|
+
._Puck--rightSideBarVisible_1d0ul_42 ._Puck-rightSideBarToggle_1d0ul_122,
|
763
|
+
._Puck--leftSideBarVisible_1d0ul_36 ._Puck-leftSideBarToggle_1d0ul_123 {
|
769
764
|
color: var(--puck-color-black);
|
770
765
|
}
|
771
|
-
._Puck-
|
766
|
+
._Puck-headerTitle_1d0ul_127 {
|
772
767
|
align-self: center;
|
773
768
|
}
|
774
|
-
._Puck-
|
769
|
+
._Puck-headerPath_1d0ul_131 {
|
775
770
|
font-family: var(--puck-font-family-monospaced);
|
776
771
|
font-size: var(--puck-font-size-xxs);
|
777
772
|
font-weight: normal;
|
778
773
|
word-break: break-all;
|
779
774
|
}
|
780
|
-
._Puck-
|
775
|
+
._Puck-headerTools_1d0ul_138 {
|
781
776
|
display: flex;
|
782
777
|
gap: 16px;
|
783
778
|
justify-content: flex-end;
|
784
779
|
}
|
785
|
-
._Puck-
|
780
|
+
._Puck-menuButton_1d0ul_144 {
|
786
781
|
color: var(--puck-color-grey-05);
|
787
782
|
margin-left: -4px;
|
788
783
|
}
|
789
|
-
._Puck--
|
784
|
+
._Puck--menuOpen_1d0ul_149 ._Puck-menuButton_1d0ul_144 {
|
790
785
|
color: var(--puck-color-black);
|
791
786
|
}
|
792
787
|
@media (min-width: 638px) {
|
793
|
-
._Puck-
|
788
|
+
._Puck-menuButton_1d0ul_144 {
|
794
789
|
display: none;
|
795
790
|
}
|
796
791
|
}
|
797
|
-
._Puck-
|
792
|
+
._Puck-leftSideBar_1d0ul_123 {
|
798
793
|
background: var(--puck-color-grey-12);
|
799
794
|
border-right: 1px solid var(--puck-color-grey-09);
|
800
795
|
display: flex;
|
@@ -802,25 +797,7 @@
|
|
802
797
|
grid-area: left;
|
803
798
|
overflow-y: auto;
|
804
799
|
}
|
805
|
-
._Puck-
|
806
|
-
display: flex;
|
807
|
-
flex-direction: column;
|
808
|
-
grid-area: editor;
|
809
|
-
overflow: auto;
|
810
|
-
position: relative;
|
811
|
-
}
|
812
|
-
._Puck-root_1mnww_176 {
|
813
|
-
border: 1px solid var(--puck-color-grey-09);
|
814
|
-
box-shadow: 0 0 0 calc(var(--puck-space-px) * 1.5) var(--puck-color-grey-11);
|
815
|
-
margin: var(--puck-space-px);
|
816
|
-
min-width: 321px;
|
817
|
-
}
|
818
|
-
@media (min-width: 1198px) {
|
819
|
-
._Puck-root_1mnww_176 {
|
820
|
-
margin: calc(var(--puck-space-px) * 1.5);
|
821
|
-
}
|
822
|
-
}
|
823
|
-
._Puck-rightSideBar_1mnww_122 {
|
800
|
+
._Puck-rightSideBar_1d0ul_122 {
|
824
801
|
background: var(--puck-color-white);
|
825
802
|
border-left: 1px solid var(--puck-color-grey-09);
|
826
803
|
display: flex;
|
@@ -828,6 +805,9 @@
|
|
828
805
|
grid-area: right;
|
829
806
|
overflow-y: auto;
|
830
807
|
}
|
808
|
+
._Puck-portal_1d0ul_177 {
|
809
|
+
z-index: 2;
|
810
|
+
}
|
831
811
|
|
832
812
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
833
813
|
._Input_1qi5b_1 {
|
@@ -991,78 +971,89 @@ textarea._Input-input_1qi5b_46 {
|
|
991
971
|
}
|
992
972
|
|
993
973
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
994
|
-
.
|
974
|
+
._ArrayField_1lr58_5 {
|
995
975
|
display: flex;
|
996
976
|
flex-direction: column;
|
997
977
|
background-color: var(--puck-color-grey-09);
|
998
978
|
border: 1px solid var(--puck-color-grey-09);
|
999
979
|
border-radius: 4px;
|
1000
980
|
}
|
1001
|
-
._ArrayField--
|
981
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
1002
982
|
background-color: var(--puck-color-azure-11);
|
983
|
+
overflow: hidden;
|
1003
984
|
}
|
1004
|
-
._ArrayField-
|
985
|
+
._ArrayField-addButton_1lr58_18 {
|
1005
986
|
background-color: var(--puck-color-white);
|
1006
987
|
border: none;
|
1007
|
-
border-radius:
|
988
|
+
border-radius: 3px;
|
1008
989
|
display: flex;
|
1009
990
|
color: var(--puck-color-azure-05);
|
1010
991
|
justify-content: center;
|
1011
992
|
cursor: pointer;
|
1012
993
|
width: 100%;
|
1013
994
|
margin: 0;
|
1014
|
-
padding:
|
995
|
+
padding: 14px;
|
1015
996
|
text-align: left;
|
1016
997
|
transition: background-color 50ms ease-in;
|
1017
998
|
}
|
1018
|
-
._ArrayField--
|
999
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1000
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1019
1001
|
border-top-left-radius: 0;
|
1020
1002
|
border-top-right-radius: 0;
|
1021
1003
|
}
|
1022
|
-
._ArrayField-
|
1004
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
1023
1005
|
outline: 2px solid var(--puck-color-azure-05);
|
1024
1006
|
outline-offset: 2px;
|
1025
1007
|
position: relative;
|
1026
1008
|
}
|
1027
1009
|
@media (hover: hover) and (pointer: fine) {
|
1028
|
-
.
|
1010
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1029
1011
|
background: var(--puck-color-azure-12);
|
1030
1012
|
color: var(--puck-color-azure-04);
|
1031
1013
|
transition: none;
|
1032
1014
|
}
|
1033
1015
|
}
|
1034
|
-
.
|
1016
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1035
1017
|
background: var(--puck-color-azure-11);
|
1036
1018
|
color: var(--puck-color-azure-04);
|
1037
1019
|
transition: none;
|
1038
1020
|
}
|
1039
|
-
.
|
1040
|
-
|
1041
|
-
border-top-
|
1042
|
-
border-top-right-radius: 4px;
|
1021
|
+
._ArrayFieldItem_1lr58_63 {
|
1022
|
+
border-top-left-radius: 3px;
|
1023
|
+
border-top-right-radius: 3px;
|
1043
1024
|
display: block;
|
1044
|
-
|
1025
|
+
position: relative;
|
1045
1026
|
}
|
1046
|
-
.
|
1047
|
-
|
1048
|
-
|
1027
|
+
._ArrayFieldItem_1lr58_63:not(._ArrayFieldItem--isDragging_1lr58_71):not(:first-of-type)::before {
|
1028
|
+
background-color: var(--puck-color-grey-09);
|
1029
|
+
position: absolute;
|
1030
|
+
width: 100%;
|
1031
|
+
height: 1px;
|
1032
|
+
content: "";
|
1033
|
+
z-index: 1;
|
1034
|
+
top: -1px;
|
1035
|
+
}
|
1036
|
+
._ArrayFieldItem--isExpanded_1lr58_81::before {
|
1037
|
+
display: none;
|
1049
1038
|
}
|
1050
|
-
._ArrayFieldItem--
|
1039
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1051
1040
|
border-bottom: 0;
|
1052
1041
|
outline-offset: 0px !important;
|
1053
1042
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1043
|
+
z-index: 2;
|
1054
1044
|
}
|
1055
|
-
._ArrayFieldItem--
|
1045
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1056
1046
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1057
1047
|
}
|
1058
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1059
1049
|
background-color: var(--puck-color-white);
|
1060
1050
|
}
|
1061
|
-
.
|
1051
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1062
1052
|
border-top-left-radius: 0;
|
1063
1053
|
border-top-right-radius: 0;
|
1064
1054
|
}
|
1065
|
-
._ArrayFieldItem-
|
1055
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1056
|
+
background: var(--puck-color-white);
|
1066
1057
|
color: var(--puck-color-grey-04);
|
1067
1058
|
cursor: pointer;
|
1068
1059
|
display: flex;
|
@@ -1072,71 +1063,77 @@ textarea._Input-input_1qi5b_46 {
|
|
1072
1063
|
font-size: var(--puck-font-size-xxs);
|
1073
1064
|
list-style: none;
|
1074
1065
|
padding: 12px 15px;
|
1066
|
+
padding-bottom: 13px;
|
1075
1067
|
position: relative;
|
1076
1068
|
overflow: hidden;
|
1077
1069
|
transition: background-color 50ms ease-in;
|
1078
1070
|
}
|
1079
|
-
.
|
1080
|
-
|
1081
|
-
|
1071
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1072
|
+
border-top-left-radius: 3px;
|
1073
|
+
border-top-right-radius: 3px;
|
1082
1074
|
}
|
1083
|
-
.
|
1084
|
-
border-
|
1085
|
-
border-
|
1075
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem_1lr58_63:last-of-type:not(._ArrayFieldItem--isExpanded_1lr58_81) > ._ArrayFieldItem-summary_1lr58_97 {
|
1076
|
+
border-bottom-left-radius: 3px;
|
1077
|
+
border-bottom-right-radius: 3px;
|
1078
|
+
}
|
1079
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem--isExpanded_1lr58_81:last-of-type {
|
1080
|
+
border-bottom-left-radius: 3px;
|
1081
|
+
border-bottom-right-radius: 3px;
|
1086
1082
|
}
|
1087
|
-
._ArrayFieldItem-
|
1083
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1088
1084
|
outline: 2px solid var(--puck-color-azure-05);
|
1089
1085
|
outline-offset: 2px;
|
1090
1086
|
}
|
1091
1087
|
@media (hover: hover) and (pointer: fine) {
|
1092
|
-
._ArrayFieldItem-
|
1088
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1093
1089
|
background-color: var(--puck-color-azure-12);
|
1094
1090
|
transition: none;
|
1095
1091
|
}
|
1096
1092
|
}
|
1097
|
-
._ArrayFieldItem-
|
1093
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1098
1094
|
background-color: var(--puck-color-azure-11);
|
1099
1095
|
transition: none;
|
1100
1096
|
}
|
1101
|
-
._ArrayFieldItem--
|
1097
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1102
1098
|
background: var(--puck-color-azure-11);
|
1103
1099
|
color: var(--puck-color-azure-04);
|
1104
1100
|
font-weight: 600;
|
1105
1101
|
transition: none;
|
1106
1102
|
}
|
1107
|
-
._ArrayFieldItem-
|
1103
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1104
|
+
background: var(--puck-color-white);
|
1108
1105
|
display: none;
|
1109
1106
|
}
|
1110
|
-
._ArrayFieldItem--
|
1107
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1111
1108
|
display: block;
|
1112
1109
|
}
|
1113
|
-
._ArrayFieldItem-
|
1110
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1114
1111
|
border: none;
|
1115
1112
|
border-top: 1px solid var(--puck-color-grey-09);
|
1116
1113
|
margin: 0;
|
1117
1114
|
padding: 16px 15px;
|
1118
1115
|
}
|
1119
|
-
._ArrayFieldItem-
|
1116
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1120
1117
|
display: flex;
|
1121
1118
|
gap: 4px;
|
1122
1119
|
align-items: center;
|
1123
1120
|
}
|
1124
|
-
._ArrayFieldItem-
|
1121
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1125
1122
|
color: var(--puck-color-grey-04);
|
1126
1123
|
display: flex;
|
1127
1124
|
gap: 4px;
|
1128
1125
|
opacity: 0;
|
1129
1126
|
}
|
1130
|
-
._ArrayFieldItem-
|
1131
|
-
._ArrayFieldItem-
|
1127
|
+
._ArrayFieldItem-summary_1lr58_97:focus-within > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186,
|
1128
|
+
._ArrayFieldItem-summary_1lr58_97:hover > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186 {
|
1132
1129
|
opacity: 1;
|
1133
1130
|
}
|
1134
1131
|
|
1135
1132
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
1136
|
-
._ExternalInput-
|
1133
|
+
._ExternalInput-actions_19obq_1 {
|
1137
1134
|
display: flex;
|
1138
1135
|
}
|
1139
|
-
._ExternalInput-
|
1136
|
+
._ExternalInput-button_19obq_5 {
|
1140
1137
|
display: flex;
|
1141
1138
|
gap: 8px;
|
1142
1139
|
align-items: center;
|
@@ -1155,13 +1152,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1155
1152
|
overflow: hidden;
|
1156
1153
|
flex-grow: 1;
|
1157
1154
|
}
|
1158
|
-
._ExternalInput--
|
1155
|
+
._ExternalInput--dataSelected_19obq_25 ._ExternalInput-button_19obq_5 {
|
1159
1156
|
color: var(--puck-color-grey-03);
|
1160
1157
|
display: block;
|
1161
1158
|
border-top-right-radius: 0px;
|
1162
1159
|
border-bottom-right-radius: 0px;
|
1163
1160
|
}
|
1164
|
-
._ExternalInput-
|
1161
|
+
._ExternalInput-detachButton_19obq_32 {
|
1165
1162
|
border: 1px solid var(--puck-color-grey-09);
|
1166
1163
|
border-top-right-radius: 4px;
|
1167
1164
|
border-bottom-right-radius: 4px;
|
@@ -1177,65 +1174,65 @@ textarea._Input-input_1qi5b_46 {
|
|
1177
1174
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1178
1175
|
margin-left: -1px;
|
1179
1176
|
}
|
1180
|
-
._ExternalInput-
|
1181
|
-
._ExternalInput-
|
1177
|
+
._ExternalInput-button_19obq_5:focus-visible,
|
1178
|
+
._ExternalInput-detachButton_19obq_32:focus-visible {
|
1182
1179
|
outline: 2px solid var(--puck-color-azure-05);
|
1183
1180
|
outline-offset: 2px;
|
1184
1181
|
z-index: 1;
|
1185
1182
|
}
|
1186
1183
|
@media (hover: hover) and (pointer: fine) {
|
1187
|
-
._ExternalInput-
|
1188
|
-
._ExternalInput-
|
1184
|
+
._ExternalInput-button_19obq_5:hover,
|
1185
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1189
1186
|
background: var(--puck-color-azure-12);
|
1190
1187
|
transition: none;
|
1191
1188
|
}
|
1192
|
-
._ExternalInput-
|
1189
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1193
1190
|
color: var(--puck-color-azure-04);
|
1194
1191
|
}
|
1195
1192
|
}
|
1196
|
-
._ExternalInput-
|
1197
|
-
._ExternalInput-
|
1193
|
+
._ExternalInput-button_19obq_5:active,
|
1194
|
+
._ExternalInput-detachButton_19obq_32:active {
|
1198
1195
|
background: var(--puck-color-azure-11);
|
1199
1196
|
transition: none;
|
1200
1197
|
}
|
1201
|
-
.
|
1198
|
+
._ExternalInputModal_19obq_74 {
|
1202
1199
|
color: var(--puck-color-black);
|
1203
1200
|
display: grid;
|
1204
1201
|
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
1205
1202
|
grid-template-columns: 100%;
|
1206
1203
|
position: relative;
|
1207
|
-
min-height:
|
1208
|
-
max-height:
|
1204
|
+
min-height: 50dvh;
|
1205
|
+
max-height: 90dvh;
|
1209
1206
|
}
|
1210
|
-
._ExternalInputModal-
|
1207
|
+
._ExternalInputModal-grid_19obq_84 {
|
1211
1208
|
display: flex;
|
1212
1209
|
flex-direction: column;
|
1213
1210
|
}
|
1214
1211
|
@media (min-width: 458px) {
|
1215
|
-
._ExternalInputModal-
|
1212
|
+
._ExternalInputModal-grid_19obq_84 {
|
1216
1213
|
display: grid;
|
1217
1214
|
grid-template-columns: 100%;
|
1218
1215
|
}
|
1219
|
-
._ExternalInputModal--
|
1216
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
|
1220
1217
|
grid-template-columns: 25% 75%;
|
1221
1218
|
}
|
1222
1219
|
}
|
1223
|
-
._ExternalInputModal-
|
1220
|
+
._ExternalInputModal-filters_19obq_100 {
|
1224
1221
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1225
1222
|
}
|
1226
|
-
._ExternalInputModal--
|
1223
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1227
1224
|
display: none;
|
1228
1225
|
}
|
1229
1226
|
@media (min-width: 458px) {
|
1230
|
-
._ExternalInputModal-
|
1227
|
+
._ExternalInputModal-filters_19obq_100 {
|
1231
1228
|
border-right: 1px solid var(--puck-color-grey-09);
|
1232
1229
|
display: none;
|
1233
1230
|
}
|
1234
|
-
._ExternalInputModal--
|
1231
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1235
1232
|
display: block;
|
1236
1233
|
}
|
1237
1234
|
}
|
1238
|
-
._ExternalInputModal-
|
1235
|
+
._ExternalInputModal-masthead_19obq_119 {
|
1239
1236
|
background-color: var(--puck-color-grey-12);
|
1240
1237
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1241
1238
|
display: flex;
|
@@ -1243,13 +1240,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1243
1240
|
gap: 24px;
|
1244
1241
|
padding: 24px;
|
1245
1242
|
}
|
1246
|
-
._ExternalInputModal-
|
1243
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1247
1244
|
position: relative;
|
1248
1245
|
overflow-x: auto;
|
1249
1246
|
overflow-y: auto;
|
1250
1247
|
flex-grow: 1;
|
1251
1248
|
}
|
1252
|
-
._ExternalInputModal-
|
1249
|
+
._ExternalInputModal-table_19obq_128 {
|
1253
1250
|
border-collapse: unset;
|
1254
1251
|
border-spacing: 0px;
|
1255
1252
|
color: var(--puck-color-grey-02);
|
@@ -1257,51 +1254,51 @@ textarea._Input-input_1qi5b_46 {
|
|
1257
1254
|
z-index: 0;
|
1258
1255
|
min-width: 100%;
|
1259
1256
|
}
|
1260
|
-
._ExternalInputModal-
|
1257
|
+
._ExternalInputModal-thead_19obq_144 {
|
1261
1258
|
background-color: var(--puck-color-white);
|
1262
1259
|
position: sticky;
|
1263
1260
|
top: 0;
|
1264
1261
|
z-index: 1;
|
1265
1262
|
}
|
1266
|
-
._ExternalInputModal-
|
1263
|
+
._ExternalInputModal-th_19obq_144 {
|
1267
1264
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1268
1265
|
color: var(--puck-color-grey-04);
|
1269
1266
|
font-weight: 500;
|
1270
1267
|
font-size: 14px;
|
1271
1268
|
padding: 16px 24px;
|
1272
1269
|
}
|
1273
|
-
._ExternalInputModal-
|
1270
|
+
._ExternalInputModal-td_19obq_159 {
|
1274
1271
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
1275
1272
|
padding: 16px 24px;
|
1276
1273
|
}
|
1277
|
-
._ExternalInputModal-
|
1274
|
+
._ExternalInputModal-tr_19obq_164 ._ExternalInputModal-td_19obq_159:first-of-type {
|
1278
1275
|
font-weight: 500;
|
1279
1276
|
width: 1%;
|
1280
1277
|
white-space: nowrap;
|
1281
1278
|
}
|
1282
1279
|
@media (hover: hover) and (pointer: fine) {
|
1283
|
-
._ExternalInputModal-
|
1280
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover {
|
1284
1281
|
background: var(--puck-color-azure-12);
|
1285
1282
|
color: var(--puck-color-azure-04);
|
1286
1283
|
cursor: pointer;
|
1287
1284
|
position: relative;
|
1288
1285
|
margin-left: -5px;
|
1289
1286
|
}
|
1290
|
-
._ExternalInputModal-
|
1287
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover ._ExternalInputModal-td_19obq_159:first-of-type {
|
1291
1288
|
border-left: 4px solid var(--puck-color-azure-04);
|
1292
1289
|
padding-left: 20px;
|
1293
1290
|
}
|
1294
1291
|
}
|
1295
|
-
._ExternalInputModal-
|
1292
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:last-of-type ._ExternalInputModal-td_19obq_159 {
|
1296
1293
|
border-bottom: none;
|
1297
1294
|
}
|
1298
|
-
._ExternalInputModal-
|
1295
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1299
1296
|
display: none;
|
1300
1297
|
}
|
1301
|
-
._ExternalInputModal--
|
1298
|
+
._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
|
1302
1299
|
display: block;
|
1303
1300
|
}
|
1304
|
-
._ExternalInputModal-
|
1301
|
+
._ExternalInputModal-loadingBanner_19obq_201 {
|
1305
1302
|
display: none;
|
1306
1303
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1307
1304
|
padding: 64px;
|
@@ -1313,21 +1310,21 @@ textarea._Input-input_1qi5b_46 {
|
|
1313
1310
|
right: 0;
|
1314
1311
|
bottom: 0;
|
1315
1312
|
}
|
1316
|
-
._ExternalInputModal--
|
1313
|
+
._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
|
1317
1314
|
display: flex;
|
1318
1315
|
}
|
1319
|
-
._ExternalInputModal-
|
1316
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1320
1317
|
display: flex;
|
1321
1318
|
flex-wrap: wrap;
|
1322
1319
|
gap: 12px;
|
1323
1320
|
flex-grow: 1;
|
1324
1321
|
}
|
1325
1322
|
@media (min-width: 458px) {
|
1326
|
-
._ExternalInputModal-
|
1323
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1327
1324
|
flex-wrap: nowrap;
|
1328
1325
|
}
|
1329
1326
|
}
|
1330
|
-
._ExternalInputModal-
|
1327
|
+
._ExternalInputModal-search_19obq_222 {
|
1331
1328
|
display: flex;
|
1332
1329
|
background: var(--puck-color-white);
|
1333
1330
|
border-width: 1px;
|
@@ -1337,18 +1334,18 @@ textarea._Input-input_1qi5b_46 {
|
|
1337
1334
|
flex-grow: 1;
|
1338
1335
|
transition: border-color 50ms ease-in;
|
1339
1336
|
}
|
1340
|
-
._ExternalInputModal-
|
1337
|
+
._ExternalInputModal-search_19obq_222:focus-within {
|
1341
1338
|
border-color: var(--puck-color-grey-05);
|
1342
1339
|
outline: 2px solid var(--puck-color-azure-05);
|
1343
1340
|
transition: none;
|
1344
1341
|
}
|
1345
1342
|
@media (hover: hover) and (pointer: fine) {
|
1346
|
-
._ExternalInputModal-
|
1343
|
+
._ExternalInputModal-search_19obq_222:hover {
|
1347
1344
|
border-color: var(--puck-color-grey-05);
|
1348
1345
|
transition: none;
|
1349
1346
|
}
|
1350
1347
|
}
|
1351
|
-
._ExternalInputModal-
|
1348
|
+
._ExternalInputModal-searchIcon_19obq_259 {
|
1352
1349
|
align-items: center;
|
1353
1350
|
background: var(--puck-color-grey-12);
|
1354
1351
|
border-bottom-left-radius: 4px;
|
@@ -1360,17 +1357,17 @@ textarea._Input-input_1qi5b_46 {
|
|
1360
1357
|
padding: 12px 15px;
|
1361
1358
|
transition: color 50ms ease-in;
|
1362
1359
|
}
|
1363
|
-
._ExternalInputModal-
|
1360
|
+
._ExternalInputModal-search_19obq_222:focus-within ._ExternalInputModal-searchIcon_19obq_259 {
|
1364
1361
|
color: var(--puck-color-grey-04);
|
1365
1362
|
transition: none;
|
1366
1363
|
}
|
1367
1364
|
@media (hover: hover) and (pointer: fine) {
|
1368
|
-
._ExternalInputModal-
|
1365
|
+
._ExternalInputModal-search_19obq_222:hover ._ExternalInputModal-searchIcon_19obq_259 {
|
1369
1366
|
color: var(--puck-color-grey-04);
|
1370
1367
|
transition: none;
|
1371
1368
|
}
|
1372
1369
|
}
|
1373
|
-
._ExternalInputModal-
|
1370
|
+
._ExternalInputModal-searchIconText_19obq_284 {
|
1374
1371
|
clip: rect(0 0 0 0);
|
1375
1372
|
clip-path: inset(100%);
|
1376
1373
|
height: 1px;
|
@@ -1379,7 +1376,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1379
1376
|
white-space: nowrap;
|
1380
1377
|
width: 1px;
|
1381
1378
|
}
|
1382
|
-
._ExternalInputModal-
|
1379
|
+
._ExternalInputModal-searchInput_19obq_294 {
|
1383
1380
|
border: none;
|
1384
1381
|
border-radius: 4px;
|
1385
1382
|
background: var(--puck-color-white);
|
@@ -1388,24 +1385,24 @@ textarea._Input-input_1qi5b_46 {
|
|
1388
1385
|
padding: 12px 15px;
|
1389
1386
|
width: 100%;
|
1390
1387
|
}
|
1391
|
-
._ExternalInputModal-
|
1388
|
+
._ExternalInputModal-searchInput_19obq_294:focus {
|
1392
1389
|
outline: 0;
|
1393
1390
|
}
|
1394
|
-
._ExternalInputModal-
|
1391
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1395
1392
|
display: flex;
|
1396
1393
|
gap: 8px;
|
1397
1394
|
height: 44px;
|
1398
1395
|
width: 100%;
|
1399
1396
|
}
|
1400
1397
|
@media (min-width: 458px) {
|
1401
|
-
._ExternalInputModal-
|
1398
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1402
1399
|
width: auto;
|
1403
1400
|
}
|
1404
1401
|
}
|
1405
|
-
._ExternalInputModal-
|
1402
|
+
._ExternalInputModal-searchActionIcon_19obq_321 {
|
1406
1403
|
align-self: center;
|
1407
1404
|
}
|
1408
|
-
._ExternalInputModal-
|
1405
|
+
._ExternalInputModal-footer_19obq_325 {
|
1409
1406
|
background-color: var(--puck-color-grey-12);
|
1410
1407
|
border-top: 1px solid var(--puck-color-grey-09);
|
1411
1408
|
color: var(--puck-color-grey-04);
|
@@ -1416,7 +1413,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1416
1413
|
}
|
1417
1414
|
|
1418
1415
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
1419
|
-
.
|
1416
|
+
._Modal_ikbaj_1 {
|
1420
1417
|
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1421
1418
|
display: none;
|
1422
1419
|
justify-content: center;
|
@@ -1429,10 +1426,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1429
1426
|
z-index: 1;
|
1430
1427
|
padding: 32px;
|
1431
1428
|
}
|
1432
|
-
._Modal--
|
1429
|
+
._Modal--isOpen_ikbaj_15 {
|
1433
1430
|
display: flex;
|
1434
1431
|
}
|
1435
|
-
._Modal-
|
1432
|
+
._Modal-inner_ikbaj_19 {
|
1436
1433
|
width: 100%;
|
1437
1434
|
max-width: 1024px;
|
1438
1435
|
border-radius: 8px;
|
@@ -1440,7 +1437,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1440
1437
|
background: var(--puck-color-white);
|
1441
1438
|
display: flex;
|
1442
1439
|
flex-direction: column;
|
1443
|
-
max-height:
|
1440
|
+
max-height: 90dvh;
|
1444
1441
|
}
|
1445
1442
|
|
1446
1443
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css/#css-module-data */
|
@@ -1526,6 +1523,16 @@ textarea._Input-input_1qi5b_46 {
|
|
1526
1523
|
margin-left: auto;
|
1527
1524
|
}
|
1528
1525
|
|
1526
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1527
|
+
._PuckPreview_1mia0_1 {
|
1528
|
+
height: 100%;
|
1529
|
+
}
|
1530
|
+
._PuckPreview-frame_1mia0_5 {
|
1531
|
+
border: none;
|
1532
|
+
height: 100%;
|
1533
|
+
width: 100%;
|
1534
|
+
}
|
1535
|
+
|
1529
1536
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
1530
1537
|
._LayerTree_1pgw8_1 {
|
1531
1538
|
color: var(--puck-color-grey-03);
|
@@ -1628,3 +1635,90 @@ textarea._Input-input_1qi5b_46 {
|
|
1628
1635
|
color: var(--puck-color-grey-08);
|
1629
1636
|
margin-top: 4px;
|
1630
1637
|
}
|
1638
|
+
|
1639
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1640
|
+
._ViewportControls_3zdvn_1 {
|
1641
|
+
display: flex;
|
1642
|
+
background: var(--puck-color-grey-11);
|
1643
|
+
box-sizing: border-box;
|
1644
|
+
border-left: 2px solid var(--puck-color-grey-11);
|
1645
|
+
justify-content: center;
|
1646
|
+
gap: 8px;
|
1647
|
+
min-width: 358px;
|
1648
|
+
padding-bottom: 16px;
|
1649
|
+
padding-left: var(--puck-space-px);
|
1650
|
+
padding-right: var(--puck-space-px);
|
1651
|
+
z-index: 1;
|
1652
|
+
}
|
1653
|
+
._ViewportControls-divider_3zdvn_15 {
|
1654
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1655
|
+
margin-left: 8px;
|
1656
|
+
margin-right: 8px;
|
1657
|
+
}
|
1658
|
+
._ViewportControls-zoomSelect_3zdvn_21 {
|
1659
|
+
appearance: none;
|
1660
|
+
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;
|
1661
|
+
background-size: 10px;
|
1662
|
+
background-position: calc(100% - 12px) calc(50% + 3px);
|
1663
|
+
background-repeat: no-repeat;
|
1664
|
+
border: 0;
|
1665
|
+
font-size: var(--puck-font-size-xxxs);
|
1666
|
+
width: 96px;
|
1667
|
+
}
|
1668
|
+
._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
|
1669
|
+
color: var(--puck-color-azure-04);
|
1670
|
+
}
|
1671
|
+
|
1672
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1673
|
+
._PuckCanvas_6zd4y_1 {
|
1674
|
+
background: var(--puck-color-grey-11);
|
1675
|
+
display: flex;
|
1676
|
+
grid-area: editor;
|
1677
|
+
flex-direction: column;
|
1678
|
+
padding: var(--puck-space-px);
|
1679
|
+
overflow: auto;
|
1680
|
+
}
|
1681
|
+
@media (min-width: 1198px) {
|
1682
|
+
._PuckCanvas_6zd4y_1 {
|
1683
|
+
padding: calc(var(--puck-space-px) * 1.5);
|
1684
|
+
padding-top: var(--puck-space-px);
|
1685
|
+
}
|
1686
|
+
._PuckCanvas_6zd4y_1:not(._PuckCanvas_6zd4y_1:has(._PuckCanvas-controls_6zd4y_16)) {
|
1687
|
+
padding-top: calc(var(--puck-space-px) * 1.5);
|
1688
|
+
}
|
1689
|
+
}
|
1690
|
+
._PuckCanvas-inner_6zd4y_21 {
|
1691
|
+
box-sizing: border-box;
|
1692
|
+
display: flex;
|
1693
|
+
height: 100%;
|
1694
|
+
justify-content: center;
|
1695
|
+
min-width: 358px;
|
1696
|
+
overflow: hidden;
|
1697
|
+
position: relative;
|
1698
|
+
width: 100%;
|
1699
|
+
}
|
1700
|
+
._PuckCanvas-root_6zd4y_32 {
|
1701
|
+
background: white;
|
1702
|
+
border: 1px solid var(--puck-color-grey-09);
|
1703
|
+
box-sizing: border-box;
|
1704
|
+
min-width: 321px;
|
1705
|
+
position: absolute;
|
1706
|
+
transform-origin: top;
|
1707
|
+
top: 0;
|
1708
|
+
bottom: 0;
|
1709
|
+
opacity: 0;
|
1710
|
+
}
|
1711
|
+
@media (min-width: 1198px) {
|
1712
|
+
._PuckCanvas-root_6zd4y_32 {
|
1713
|
+
min-width: unset;
|
1714
|
+
}
|
1715
|
+
}
|
1716
|
+
@media (prefers-reduced-motion: reduce) {
|
1717
|
+
._PuckCanvas-root_6zd4y_32 {
|
1718
|
+
transition: none !important;
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
._PuckCanvas--ready_6zd4y_56 ._PuckCanvas-root_6zd4y_32 {
|
1722
|
+
opacity: 1;
|
1723
|
+
transition: opacity 150ms ease-out;
|
1724
|
+
}
|