@measured/puck 0.14.0-canary.712fb8e → 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-487c2755.d.ts → Config-09628f3c.d.ts} +35 -25
- package/dist/index.css +319 -222
- package/dist/index.d.ts +60 -48
- package/dist/index.js +1390 -667
- 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,9 +676,9 @@
|
|
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_u70b9_19 {
|
685
680
|
--puck-frame-width: auto;
|
686
|
-
--puck-side-bar-width:
|
681
|
+
--puck-side-bar-width: 0px;
|
687
682
|
--puck-space-px: 16px;
|
688
683
|
bottom: 0;
|
689
684
|
display: grid;
|
@@ -691,57 +686,60 @@
|
|
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--mounted_u70b9_36 {
|
696
|
+
--puck-side-bar-width: 186px;
|
697
|
+
}
|
698
|
+
._Puck--leftSideBarVisible_u70b9_40 {
|
701
699
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
702
700
|
}
|
703
|
-
._Puck--
|
701
|
+
._Puck--rightSideBarVisible_u70b9_46 {
|
704
702
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
705
703
|
}
|
706
|
-
._Puck--
|
704
|
+
._Puck--leftSideBarVisible_u70b9_40._Puck--rightSideBarVisible_u70b9_46 {
|
707
705
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
708
706
|
}
|
709
707
|
@media (min-width: 458px) {
|
710
|
-
.
|
708
|
+
._Puck-mounted_u70b9_59 {
|
711
709
|
--puck-frame-width: minmax(266px, auto);
|
712
710
|
}
|
713
711
|
}
|
714
712
|
@media (min-width: 638px) {
|
715
|
-
.
|
713
|
+
._Puck_u70b9_19 {
|
716
714
|
--puck-side-bar-width: minmax(186px, 250px);
|
717
715
|
}
|
718
716
|
}
|
719
717
|
@media (min-width: 766px) {
|
720
|
-
.
|
718
|
+
._Puck_u70b9_19 {
|
721
719
|
--puck-frame-width: auto;
|
722
720
|
}
|
723
721
|
}
|
724
722
|
@media (min-width: 990px) {
|
725
|
-
.
|
723
|
+
._Puck_u70b9_19 {
|
726
724
|
--puck-side-bar-width: 256px;
|
727
725
|
}
|
728
726
|
}
|
729
727
|
@media (min-width: 1198px) {
|
730
|
-
.
|
728
|
+
._Puck_u70b9_19 {
|
731
729
|
--puck-side-bar-width: 274px;
|
732
730
|
}
|
733
731
|
}
|
734
732
|
@media (min-width: 1398px) {
|
735
|
-
.
|
733
|
+
._Puck_u70b9_19 {
|
736
734
|
--puck-side-bar-width: 290px;
|
737
735
|
}
|
738
736
|
}
|
739
737
|
@media (min-width: 1598px) {
|
740
|
-
.
|
738
|
+
._Puck_u70b9_19 {
|
741
739
|
--puck-side-bar-width: 320px;
|
742
740
|
}
|
743
741
|
}
|
744
|
-
._Puck-
|
742
|
+
._Puck-header_u70b9_100 {
|
745
743
|
background: var(--puck-color-white);
|
746
744
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
747
745
|
color: var(--puck-color-black);
|
@@ -749,7 +747,7 @@
|
|
749
747
|
position: relative;
|
750
748
|
max-width: 100vw;
|
751
749
|
}
|
752
|
-
._Puck-
|
750
|
+
._Puck-headerInner_u70b9_109 {
|
753
751
|
align-items: end;
|
754
752
|
display: grid;
|
755
753
|
gap: var(--puck-space-px);
|
@@ -758,43 +756,43 @@
|
|
758
756
|
grid-template-rows: auto;
|
759
757
|
padding: var(--puck-space-px);
|
760
758
|
}
|
761
|
-
._Puck-
|
759
|
+
._Puck-headerToggle_u70b9_119 {
|
762
760
|
color: var(--puck-color-grey-05);
|
763
761
|
display: flex;
|
764
762
|
margin-left: -4px;
|
765
763
|
padding-top: 2px;
|
766
764
|
}
|
767
|
-
._Puck--
|
768
|
-
._Puck--
|
765
|
+
._Puck--rightSideBarVisible_u70b9_46 ._Puck-rightSideBarToggle_u70b9_126,
|
766
|
+
._Puck--leftSideBarVisible_u70b9_40 ._Puck-leftSideBarToggle_u70b9_127 {
|
769
767
|
color: var(--puck-color-black);
|
770
768
|
}
|
771
|
-
._Puck-
|
769
|
+
._Puck-headerTitle_u70b9_131 {
|
772
770
|
align-self: center;
|
773
771
|
}
|
774
|
-
._Puck-
|
772
|
+
._Puck-headerPath_u70b9_135 {
|
775
773
|
font-family: var(--puck-font-family-monospaced);
|
776
774
|
font-size: var(--puck-font-size-xxs);
|
777
775
|
font-weight: normal;
|
778
776
|
word-break: break-all;
|
779
777
|
}
|
780
|
-
._Puck-
|
778
|
+
._Puck-headerTools_u70b9_142 {
|
781
779
|
display: flex;
|
782
780
|
gap: 16px;
|
783
781
|
justify-content: flex-end;
|
784
782
|
}
|
785
|
-
._Puck-
|
783
|
+
._Puck-menuButton_u70b9_148 {
|
786
784
|
color: var(--puck-color-grey-05);
|
787
785
|
margin-left: -4px;
|
788
786
|
}
|
789
|
-
._Puck--
|
787
|
+
._Puck--menuOpen_u70b9_153 ._Puck-menuButton_u70b9_148 {
|
790
788
|
color: var(--puck-color-black);
|
791
789
|
}
|
792
790
|
@media (min-width: 638px) {
|
793
|
-
._Puck-
|
791
|
+
._Puck-menuButton_u70b9_148 {
|
794
792
|
display: none;
|
795
793
|
}
|
796
794
|
}
|
797
|
-
._Puck-
|
795
|
+
._Puck-leftSideBar_u70b9_127 {
|
798
796
|
background: var(--puck-color-grey-12);
|
799
797
|
border-right: 1px solid var(--puck-color-grey-09);
|
800
798
|
display: flex;
|
@@ -802,25 +800,7 @@
|
|
802
800
|
grid-area: left;
|
803
801
|
overflow-y: auto;
|
804
802
|
}
|
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 {
|
803
|
+
._Puck-rightSideBar_u70b9_126 {
|
824
804
|
background: var(--puck-color-white);
|
825
805
|
border-left: 1px solid var(--puck-color-grey-09);
|
826
806
|
display: flex;
|
@@ -828,6 +808,9 @@
|
|
828
808
|
grid-area: right;
|
829
809
|
overflow-y: auto;
|
830
810
|
}
|
811
|
+
._Puck-portal_u70b9_181 {
|
812
|
+
z-index: 2;
|
813
|
+
}
|
831
814
|
|
832
815
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
833
816
|
._Input_1qi5b_1 {
|
@@ -991,78 +974,89 @@ textarea._Input-input_1qi5b_46 {
|
|
991
974
|
}
|
992
975
|
|
993
976
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
994
|
-
.
|
977
|
+
._ArrayField_1lr58_5 {
|
995
978
|
display: flex;
|
996
979
|
flex-direction: column;
|
997
980
|
background-color: var(--puck-color-grey-09);
|
998
981
|
border: 1px solid var(--puck-color-grey-09);
|
999
982
|
border-radius: 4px;
|
1000
983
|
}
|
1001
|
-
._ArrayField--
|
984
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
1002
985
|
background-color: var(--puck-color-azure-11);
|
986
|
+
overflow: hidden;
|
1003
987
|
}
|
1004
|
-
._ArrayField-
|
988
|
+
._ArrayField-addButton_1lr58_18 {
|
1005
989
|
background-color: var(--puck-color-white);
|
1006
990
|
border: none;
|
1007
|
-
border-radius:
|
991
|
+
border-radius: 3px;
|
1008
992
|
display: flex;
|
1009
993
|
color: var(--puck-color-azure-05);
|
1010
994
|
justify-content: center;
|
1011
995
|
cursor: pointer;
|
1012
996
|
width: 100%;
|
1013
997
|
margin: 0;
|
1014
|
-
padding:
|
998
|
+
padding: 14px;
|
1015
999
|
text-align: left;
|
1016
1000
|
transition: background-color 50ms ease-in;
|
1017
1001
|
}
|
1018
|
-
._ArrayField--
|
1002
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1003
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1019
1004
|
border-top-left-radius: 0;
|
1020
1005
|
border-top-right-radius: 0;
|
1021
1006
|
}
|
1022
|
-
._ArrayField-
|
1007
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
1023
1008
|
outline: 2px solid var(--puck-color-azure-05);
|
1024
1009
|
outline-offset: 2px;
|
1025
1010
|
position: relative;
|
1026
1011
|
}
|
1027
1012
|
@media (hover: hover) and (pointer: fine) {
|
1028
|
-
.
|
1013
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1029
1014
|
background: var(--puck-color-azure-12);
|
1030
1015
|
color: var(--puck-color-azure-04);
|
1031
1016
|
transition: none;
|
1032
1017
|
}
|
1033
1018
|
}
|
1034
|
-
.
|
1019
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1035
1020
|
background: var(--puck-color-azure-11);
|
1036
1021
|
color: var(--puck-color-azure-04);
|
1037
1022
|
transition: none;
|
1038
1023
|
}
|
1039
|
-
.
|
1040
|
-
|
1041
|
-
border-top-
|
1042
|
-
border-top-right-radius: 4px;
|
1024
|
+
._ArrayFieldItem_1lr58_63 {
|
1025
|
+
border-top-left-radius: 3px;
|
1026
|
+
border-top-right-radius: 3px;
|
1043
1027
|
display: block;
|
1044
|
-
|
1028
|
+
position: relative;
|
1045
1029
|
}
|
1046
|
-
.
|
1047
|
-
|
1048
|
-
|
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;
|
1049
1041
|
}
|
1050
|
-
._ArrayFieldItem--
|
1042
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1051
1043
|
border-bottom: 0;
|
1052
1044
|
outline-offset: 0px !important;
|
1053
1045
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1046
|
+
z-index: 2;
|
1054
1047
|
}
|
1055
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1056
1049
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1057
1050
|
}
|
1058
|
-
._ArrayFieldItem--
|
1051
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1059
1052
|
background-color: var(--puck-color-white);
|
1060
1053
|
}
|
1061
|
-
.
|
1054
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1062
1055
|
border-top-left-radius: 0;
|
1063
1056
|
border-top-right-radius: 0;
|
1064
1057
|
}
|
1065
|
-
._ArrayFieldItem-
|
1058
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1059
|
+
background: var(--puck-color-white);
|
1066
1060
|
color: var(--puck-color-grey-04);
|
1067
1061
|
cursor: pointer;
|
1068
1062
|
display: flex;
|
@@ -1072,71 +1066,77 @@ textarea._Input-input_1qi5b_46 {
|
|
1072
1066
|
font-size: var(--puck-font-size-xxs);
|
1073
1067
|
list-style: none;
|
1074
1068
|
padding: 12px 15px;
|
1069
|
+
padding-bottom: 13px;
|
1075
1070
|
position: relative;
|
1076
1071
|
overflow: hidden;
|
1077
1072
|
transition: background-color 50ms ease-in;
|
1078
1073
|
}
|
1079
|
-
.
|
1080
|
-
|
1081
|
-
|
1074
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1075
|
+
border-top-left-radius: 3px;
|
1076
|
+
border-top-right-radius: 3px;
|
1082
1077
|
}
|
1083
|
-
.
|
1084
|
-
border-
|
1085
|
-
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;
|
1086
1081
|
}
|
1087
|
-
._ArrayFieldItem
|
1082
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem--isExpanded_1lr58_81:last-of-type {
|
1083
|
+
border-bottom-left-radius: 3px;
|
1084
|
+
border-bottom-right-radius: 3px;
|
1085
|
+
}
|
1086
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1088
1087
|
outline: 2px solid var(--puck-color-azure-05);
|
1089
1088
|
outline-offset: 2px;
|
1090
1089
|
}
|
1091
1090
|
@media (hover: hover) and (pointer: fine) {
|
1092
|
-
._ArrayFieldItem-
|
1091
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1093
1092
|
background-color: var(--puck-color-azure-12);
|
1094
1093
|
transition: none;
|
1095
1094
|
}
|
1096
1095
|
}
|
1097
|
-
._ArrayFieldItem-
|
1096
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1098
1097
|
background-color: var(--puck-color-azure-11);
|
1099
1098
|
transition: none;
|
1100
1099
|
}
|
1101
|
-
._ArrayFieldItem--
|
1100
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1102
1101
|
background: var(--puck-color-azure-11);
|
1103
1102
|
color: var(--puck-color-azure-04);
|
1104
1103
|
font-weight: 600;
|
1105
1104
|
transition: none;
|
1106
1105
|
}
|
1107
|
-
._ArrayFieldItem-
|
1106
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1107
|
+
background: var(--puck-color-white);
|
1108
1108
|
display: none;
|
1109
1109
|
}
|
1110
|
-
._ArrayFieldItem--
|
1110
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1111
1111
|
display: block;
|
1112
1112
|
}
|
1113
|
-
._ArrayFieldItem-
|
1113
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1114
1114
|
border: none;
|
1115
1115
|
border-top: 1px solid var(--puck-color-grey-09);
|
1116
1116
|
margin: 0;
|
1117
1117
|
padding: 16px 15px;
|
1118
1118
|
}
|
1119
|
-
._ArrayFieldItem-
|
1119
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1120
1120
|
display: flex;
|
1121
1121
|
gap: 4px;
|
1122
1122
|
align-items: center;
|
1123
1123
|
}
|
1124
|
-
._ArrayFieldItem-
|
1124
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1125
1125
|
color: var(--puck-color-grey-04);
|
1126
1126
|
display: flex;
|
1127
1127
|
gap: 4px;
|
1128
1128
|
opacity: 0;
|
1129
1129
|
}
|
1130
|
-
._ArrayFieldItem-
|
1131
|
-
._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 {
|
1132
1132
|
opacity: 1;
|
1133
1133
|
}
|
1134
1134
|
|
1135
1135
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
1136
|
-
._ExternalInput-
|
1136
|
+
._ExternalInput-actions_19obq_1 {
|
1137
1137
|
display: flex;
|
1138
1138
|
}
|
1139
|
-
._ExternalInput-
|
1139
|
+
._ExternalInput-button_19obq_5 {
|
1140
1140
|
display: flex;
|
1141
1141
|
gap: 8px;
|
1142
1142
|
align-items: center;
|
@@ -1155,13 +1155,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1155
1155
|
overflow: hidden;
|
1156
1156
|
flex-grow: 1;
|
1157
1157
|
}
|
1158
|
-
._ExternalInput--
|
1158
|
+
._ExternalInput--dataSelected_19obq_25 ._ExternalInput-button_19obq_5 {
|
1159
1159
|
color: var(--puck-color-grey-03);
|
1160
1160
|
display: block;
|
1161
1161
|
border-top-right-radius: 0px;
|
1162
1162
|
border-bottom-right-radius: 0px;
|
1163
1163
|
}
|
1164
|
-
._ExternalInput-
|
1164
|
+
._ExternalInput-detachButton_19obq_32 {
|
1165
1165
|
border: 1px solid var(--puck-color-grey-09);
|
1166
1166
|
border-top-right-radius: 4px;
|
1167
1167
|
border-bottom-right-radius: 4px;
|
@@ -1177,65 +1177,65 @@ textarea._Input-input_1qi5b_46 {
|
|
1177
1177
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1178
1178
|
margin-left: -1px;
|
1179
1179
|
}
|
1180
|
-
._ExternalInput-
|
1181
|
-
._ExternalInput-
|
1180
|
+
._ExternalInput-button_19obq_5:focus-visible,
|
1181
|
+
._ExternalInput-detachButton_19obq_32:focus-visible {
|
1182
1182
|
outline: 2px solid var(--puck-color-azure-05);
|
1183
1183
|
outline-offset: 2px;
|
1184
1184
|
z-index: 1;
|
1185
1185
|
}
|
1186
1186
|
@media (hover: hover) and (pointer: fine) {
|
1187
|
-
._ExternalInput-
|
1188
|
-
._ExternalInput-
|
1187
|
+
._ExternalInput-button_19obq_5:hover,
|
1188
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1189
1189
|
background: var(--puck-color-azure-12);
|
1190
1190
|
transition: none;
|
1191
1191
|
}
|
1192
|
-
._ExternalInput-
|
1192
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1193
1193
|
color: var(--puck-color-azure-04);
|
1194
1194
|
}
|
1195
1195
|
}
|
1196
|
-
._ExternalInput-
|
1197
|
-
._ExternalInput-
|
1196
|
+
._ExternalInput-button_19obq_5:active,
|
1197
|
+
._ExternalInput-detachButton_19obq_32:active {
|
1198
1198
|
background: var(--puck-color-azure-11);
|
1199
1199
|
transition: none;
|
1200
1200
|
}
|
1201
|
-
.
|
1201
|
+
._ExternalInputModal_19obq_74 {
|
1202
1202
|
color: var(--puck-color-black);
|
1203
1203
|
display: grid;
|
1204
1204
|
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
1205
1205
|
grid-template-columns: 100%;
|
1206
1206
|
position: relative;
|
1207
|
-
min-height:
|
1208
|
-
max-height:
|
1207
|
+
min-height: 50dvh;
|
1208
|
+
max-height: 90dvh;
|
1209
1209
|
}
|
1210
|
-
._ExternalInputModal-
|
1210
|
+
._ExternalInputModal-grid_19obq_84 {
|
1211
1211
|
display: flex;
|
1212
1212
|
flex-direction: column;
|
1213
1213
|
}
|
1214
1214
|
@media (min-width: 458px) {
|
1215
|
-
._ExternalInputModal-
|
1215
|
+
._ExternalInputModal-grid_19obq_84 {
|
1216
1216
|
display: grid;
|
1217
1217
|
grid-template-columns: 100%;
|
1218
1218
|
}
|
1219
|
-
._ExternalInputModal--
|
1219
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
|
1220
1220
|
grid-template-columns: 25% 75%;
|
1221
1221
|
}
|
1222
1222
|
}
|
1223
|
-
._ExternalInputModal-
|
1223
|
+
._ExternalInputModal-filters_19obq_100 {
|
1224
1224
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1225
1225
|
}
|
1226
|
-
._ExternalInputModal--
|
1226
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1227
1227
|
display: none;
|
1228
1228
|
}
|
1229
1229
|
@media (min-width: 458px) {
|
1230
|
-
._ExternalInputModal-
|
1230
|
+
._ExternalInputModal-filters_19obq_100 {
|
1231
1231
|
border-right: 1px solid var(--puck-color-grey-09);
|
1232
1232
|
display: none;
|
1233
1233
|
}
|
1234
|
-
._ExternalInputModal--
|
1234
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1235
1235
|
display: block;
|
1236
1236
|
}
|
1237
1237
|
}
|
1238
|
-
._ExternalInputModal-
|
1238
|
+
._ExternalInputModal-masthead_19obq_119 {
|
1239
1239
|
background-color: var(--puck-color-grey-12);
|
1240
1240
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1241
1241
|
display: flex;
|
@@ -1243,13 +1243,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1243
1243
|
gap: 24px;
|
1244
1244
|
padding: 24px;
|
1245
1245
|
}
|
1246
|
-
._ExternalInputModal-
|
1246
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1247
1247
|
position: relative;
|
1248
1248
|
overflow-x: auto;
|
1249
1249
|
overflow-y: auto;
|
1250
1250
|
flex-grow: 1;
|
1251
1251
|
}
|
1252
|
-
._ExternalInputModal-
|
1252
|
+
._ExternalInputModal-table_19obq_128 {
|
1253
1253
|
border-collapse: unset;
|
1254
1254
|
border-spacing: 0px;
|
1255
1255
|
color: var(--puck-color-grey-02);
|
@@ -1257,51 +1257,51 @@ textarea._Input-input_1qi5b_46 {
|
|
1257
1257
|
z-index: 0;
|
1258
1258
|
min-width: 100%;
|
1259
1259
|
}
|
1260
|
-
._ExternalInputModal-
|
1260
|
+
._ExternalInputModal-thead_19obq_144 {
|
1261
1261
|
background-color: var(--puck-color-white);
|
1262
1262
|
position: sticky;
|
1263
1263
|
top: 0;
|
1264
1264
|
z-index: 1;
|
1265
1265
|
}
|
1266
|
-
._ExternalInputModal-
|
1266
|
+
._ExternalInputModal-th_19obq_144 {
|
1267
1267
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1268
1268
|
color: var(--puck-color-grey-04);
|
1269
1269
|
font-weight: 500;
|
1270
1270
|
font-size: 14px;
|
1271
1271
|
padding: 16px 24px;
|
1272
1272
|
}
|
1273
|
-
._ExternalInputModal-
|
1273
|
+
._ExternalInputModal-td_19obq_159 {
|
1274
1274
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
1275
1275
|
padding: 16px 24px;
|
1276
1276
|
}
|
1277
|
-
._ExternalInputModal-
|
1277
|
+
._ExternalInputModal-tr_19obq_164 ._ExternalInputModal-td_19obq_159:first-of-type {
|
1278
1278
|
font-weight: 500;
|
1279
1279
|
width: 1%;
|
1280
1280
|
white-space: nowrap;
|
1281
1281
|
}
|
1282
1282
|
@media (hover: hover) and (pointer: fine) {
|
1283
|
-
._ExternalInputModal-
|
1283
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover {
|
1284
1284
|
background: var(--puck-color-azure-12);
|
1285
1285
|
color: var(--puck-color-azure-04);
|
1286
1286
|
cursor: pointer;
|
1287
1287
|
position: relative;
|
1288
1288
|
margin-left: -5px;
|
1289
1289
|
}
|
1290
|
-
._ExternalInputModal-
|
1290
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover ._ExternalInputModal-td_19obq_159:first-of-type {
|
1291
1291
|
border-left: 4px solid var(--puck-color-azure-04);
|
1292
1292
|
padding-left: 20px;
|
1293
1293
|
}
|
1294
1294
|
}
|
1295
|
-
._ExternalInputModal-
|
1295
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:last-of-type ._ExternalInputModal-td_19obq_159 {
|
1296
1296
|
border-bottom: none;
|
1297
1297
|
}
|
1298
|
-
._ExternalInputModal-
|
1298
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1299
1299
|
display: none;
|
1300
1300
|
}
|
1301
|
-
._ExternalInputModal--
|
1301
|
+
._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
|
1302
1302
|
display: block;
|
1303
1303
|
}
|
1304
|
-
._ExternalInputModal-
|
1304
|
+
._ExternalInputModal-loadingBanner_19obq_201 {
|
1305
1305
|
display: none;
|
1306
1306
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1307
1307
|
padding: 64px;
|
@@ -1313,21 +1313,21 @@ textarea._Input-input_1qi5b_46 {
|
|
1313
1313
|
right: 0;
|
1314
1314
|
bottom: 0;
|
1315
1315
|
}
|
1316
|
-
._ExternalInputModal--
|
1316
|
+
._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
|
1317
1317
|
display: flex;
|
1318
1318
|
}
|
1319
|
-
._ExternalInputModal-
|
1319
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1320
1320
|
display: flex;
|
1321
1321
|
flex-wrap: wrap;
|
1322
1322
|
gap: 12px;
|
1323
1323
|
flex-grow: 1;
|
1324
1324
|
}
|
1325
1325
|
@media (min-width: 458px) {
|
1326
|
-
._ExternalInputModal-
|
1326
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1327
1327
|
flex-wrap: nowrap;
|
1328
1328
|
}
|
1329
1329
|
}
|
1330
|
-
._ExternalInputModal-
|
1330
|
+
._ExternalInputModal-search_19obq_222 {
|
1331
1331
|
display: flex;
|
1332
1332
|
background: var(--puck-color-white);
|
1333
1333
|
border-width: 1px;
|
@@ -1337,18 +1337,18 @@ textarea._Input-input_1qi5b_46 {
|
|
1337
1337
|
flex-grow: 1;
|
1338
1338
|
transition: border-color 50ms ease-in;
|
1339
1339
|
}
|
1340
|
-
._ExternalInputModal-
|
1340
|
+
._ExternalInputModal-search_19obq_222:focus-within {
|
1341
1341
|
border-color: var(--puck-color-grey-05);
|
1342
1342
|
outline: 2px solid var(--puck-color-azure-05);
|
1343
1343
|
transition: none;
|
1344
1344
|
}
|
1345
1345
|
@media (hover: hover) and (pointer: fine) {
|
1346
|
-
._ExternalInputModal-
|
1346
|
+
._ExternalInputModal-search_19obq_222:hover {
|
1347
1347
|
border-color: var(--puck-color-grey-05);
|
1348
1348
|
transition: none;
|
1349
1349
|
}
|
1350
1350
|
}
|
1351
|
-
._ExternalInputModal-
|
1351
|
+
._ExternalInputModal-searchIcon_19obq_259 {
|
1352
1352
|
align-items: center;
|
1353
1353
|
background: var(--puck-color-grey-12);
|
1354
1354
|
border-bottom-left-radius: 4px;
|
@@ -1360,17 +1360,17 @@ textarea._Input-input_1qi5b_46 {
|
|
1360
1360
|
padding: 12px 15px;
|
1361
1361
|
transition: color 50ms ease-in;
|
1362
1362
|
}
|
1363
|
-
._ExternalInputModal-
|
1363
|
+
._ExternalInputModal-search_19obq_222:focus-within ._ExternalInputModal-searchIcon_19obq_259 {
|
1364
1364
|
color: var(--puck-color-grey-04);
|
1365
1365
|
transition: none;
|
1366
1366
|
}
|
1367
1367
|
@media (hover: hover) and (pointer: fine) {
|
1368
|
-
._ExternalInputModal-
|
1368
|
+
._ExternalInputModal-search_19obq_222:hover ._ExternalInputModal-searchIcon_19obq_259 {
|
1369
1369
|
color: var(--puck-color-grey-04);
|
1370
1370
|
transition: none;
|
1371
1371
|
}
|
1372
1372
|
}
|
1373
|
-
._ExternalInputModal-
|
1373
|
+
._ExternalInputModal-searchIconText_19obq_284 {
|
1374
1374
|
clip: rect(0 0 0 0);
|
1375
1375
|
clip-path: inset(100%);
|
1376
1376
|
height: 1px;
|
@@ -1379,7 +1379,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1379
1379
|
white-space: nowrap;
|
1380
1380
|
width: 1px;
|
1381
1381
|
}
|
1382
|
-
._ExternalInputModal-
|
1382
|
+
._ExternalInputModal-searchInput_19obq_294 {
|
1383
1383
|
border: none;
|
1384
1384
|
border-radius: 4px;
|
1385
1385
|
background: var(--puck-color-white);
|
@@ -1388,24 +1388,24 @@ textarea._Input-input_1qi5b_46 {
|
|
1388
1388
|
padding: 12px 15px;
|
1389
1389
|
width: 100%;
|
1390
1390
|
}
|
1391
|
-
._ExternalInputModal-
|
1391
|
+
._ExternalInputModal-searchInput_19obq_294:focus {
|
1392
1392
|
outline: 0;
|
1393
1393
|
}
|
1394
|
-
._ExternalInputModal-
|
1394
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1395
1395
|
display: flex;
|
1396
1396
|
gap: 8px;
|
1397
1397
|
height: 44px;
|
1398
1398
|
width: 100%;
|
1399
1399
|
}
|
1400
1400
|
@media (min-width: 458px) {
|
1401
|
-
._ExternalInputModal-
|
1401
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1402
1402
|
width: auto;
|
1403
1403
|
}
|
1404
1404
|
}
|
1405
|
-
._ExternalInputModal-
|
1405
|
+
._ExternalInputModal-searchActionIcon_19obq_321 {
|
1406
1406
|
align-self: center;
|
1407
1407
|
}
|
1408
|
-
._ExternalInputModal-
|
1408
|
+
._ExternalInputModal-footer_19obq_325 {
|
1409
1409
|
background-color: var(--puck-color-grey-12);
|
1410
1410
|
border-top: 1px solid var(--puck-color-grey-09);
|
1411
1411
|
color: var(--puck-color-grey-04);
|
@@ -1416,7 +1416,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1416
1416
|
}
|
1417
1417
|
|
1418
1418
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
1419
|
-
.
|
1419
|
+
._Modal_ikbaj_1 {
|
1420
1420
|
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1421
1421
|
display: none;
|
1422
1422
|
justify-content: center;
|
@@ -1429,10 +1429,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1429
1429
|
z-index: 1;
|
1430
1430
|
padding: 32px;
|
1431
1431
|
}
|
1432
|
-
._Modal--
|
1432
|
+
._Modal--isOpen_ikbaj_15 {
|
1433
1433
|
display: flex;
|
1434
1434
|
}
|
1435
|
-
._Modal-
|
1435
|
+
._Modal-inner_ikbaj_19 {
|
1436
1436
|
width: 100%;
|
1437
1437
|
max-width: 1024px;
|
1438
1438
|
border-radius: 8px;
|
@@ -1440,7 +1440,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1440
1440
|
background: var(--puck-color-white);
|
1441
1441
|
display: flex;
|
1442
1442
|
flex-direction: column;
|
1443
|
-
max-height:
|
1443
|
+
max-height: 90dvh;
|
1444
1444
|
}
|
1445
1445
|
|
1446
1446
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css/#css-module-data */
|
@@ -1526,6 +1526,16 @@ textarea._Input-input_1qi5b_46 {
|
|
1526
1526
|
margin-left: auto;
|
1527
1527
|
}
|
1528
1528
|
|
1529
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1530
|
+
._PuckPreview_1mia0_1 {
|
1531
|
+
height: 100%;
|
1532
|
+
}
|
1533
|
+
._PuckPreview-frame_1mia0_5 {
|
1534
|
+
border: none;
|
1535
|
+
height: 100%;
|
1536
|
+
width: 100%;
|
1537
|
+
}
|
1538
|
+
|
1529
1539
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
1530
1540
|
._LayerTree_1pgw8_1 {
|
1531
1541
|
color: var(--puck-color-grey-03);
|
@@ -1628,3 +1638,90 @@ textarea._Input-input_1qi5b_46 {
|
|
1628
1638
|
color: var(--puck-color-grey-08);
|
1629
1639
|
margin-top: 4px;
|
1630
1640
|
}
|
1641
|
+
|
1642
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1643
|
+
._ViewportControls_3zdvn_1 {
|
1644
|
+
display: flex;
|
1645
|
+
background: var(--puck-color-grey-11);
|
1646
|
+
box-sizing: border-box;
|
1647
|
+
border-left: 2px solid var(--puck-color-grey-11);
|
1648
|
+
justify-content: center;
|
1649
|
+
gap: 8px;
|
1650
|
+
min-width: 358px;
|
1651
|
+
padding-bottom: 16px;
|
1652
|
+
padding-left: var(--puck-space-px);
|
1653
|
+
padding-right: var(--puck-space-px);
|
1654
|
+
z-index: 1;
|
1655
|
+
}
|
1656
|
+
._ViewportControls-divider_3zdvn_15 {
|
1657
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1658
|
+
margin-left: 8px;
|
1659
|
+
margin-right: 8px;
|
1660
|
+
}
|
1661
|
+
._ViewportControls-zoomSelect_3zdvn_21 {
|
1662
|
+
appearance: none;
|
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;
|
1664
|
+
background-size: 10px;
|
1665
|
+
background-position: calc(100% - 12px) calc(50% + 3px);
|
1666
|
+
background-repeat: no-repeat;
|
1667
|
+
border: 0;
|
1668
|
+
font-size: var(--puck-font-size-xxxs);
|
1669
|
+
width: 96px;
|
1670
|
+
}
|
1671
|
+
._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
|
1672
|
+
color: var(--puck-color-azure-04);
|
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
|
+
}
|