@measured/puck 0.14.0-canary.f975d87 → 0.14.1-canary.041ca64
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-1444273f.d.ts → Config-09628f3c.d.ts} +43 -26
- package/dist/index.css +419 -266
- package/dist/index.d.ts +92 -51
- package/dist/index.js +1526 -723
- 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,65 +159,71 @@
|
|
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 {
|
221
|
+
justify-content: center;
|
219
222
|
width: 100%;
|
220
223
|
}
|
224
|
+
._Button-spinner_1t64k_100 {
|
225
|
+
padding-left: 8px;
|
226
|
+
}
|
221
227
|
|
222
228
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Drawer/styles.module.css/#css-module-data */
|
223
229
|
._Drawer_6zh0b_1 {
|
@@ -277,41 +283,42 @@
|
|
277
283
|
}
|
278
284
|
|
279
285
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
280
|
-
.
|
281
|
-
outline-offset: 0px !important;
|
286
|
+
._DraggableComponent_1542z_1 {
|
282
287
|
pointer-events: auto;
|
288
|
+
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
283
289
|
}
|
284
|
-
.
|
285
|
-
outline: 2px solid var(--puck-color-azure-05);
|
286
|
-
}
|
287
|
-
._DraggableComponent--isDragging_1vpvt_10 {
|
290
|
+
._DraggableComponent--isDragging_1542z_11 {
|
288
291
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
289
|
-
outline: 2px var(--puck-color-azure-09) solid !important;
|
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-
|
303
|
-
display: none;
|
304
|
-
background: color-mix(in srgb, var(--puck-color-azure-08) 30%, transparent);
|
304
|
+
._DraggableComponent-overlay_1542z_29 {
|
305
305
|
cursor: pointer;
|
306
306
|
height: 100%;
|
307
307
|
width: 100%;
|
308
308
|
top: 0;
|
309
|
+
outline-offset: -2px;
|
309
310
|
position: absolute;
|
310
|
-
z-index: 0;
|
311
311
|
pointer-events: none;
|
312
312
|
box-sizing: border-box;
|
313
|
+
z-index: 1;
|
313
314
|
}
|
314
|
-
._DraggableComponent-
|
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;
|
320
|
+
}
|
321
|
+
._DraggableComponent-loadingOverlay_1542z_49 {
|
315
322
|
background: var(--puck-color-white);
|
316
323
|
color: var(--puck-color-grey-03);
|
317
324
|
border-radius: 4px;
|
@@ -326,40 +333,34 @@
|
|
326
333
|
opacity: 0.8;
|
327
334
|
z-index: 1;
|
328
335
|
}
|
329
|
-
.
|
330
|
-
|
336
|
+
._DraggableComponent_1542z_1:hover:not(._DraggableComponent--isLocked_1542z_65) > ._DraggableComponent-overlay_1542z_29 {
|
337
|
+
background: var(--overlay-background);
|
331
338
|
pointer-events: none;
|
332
339
|
}
|
333
|
-
._DraggableComponent--
|
334
|
-
|
340
|
+
._DraggableComponent--forceHover_1542z_71 > ._DraggableComponent-overlay_1542z_29 {
|
341
|
+
background: var(--overlay-background);
|
335
342
|
pointer-events: none;
|
336
343
|
}
|
337
|
-
.
|
344
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):hover > ._DraggableComponent-overlay_1542z_29 {
|
338
345
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
339
346
|
}
|
340
|
-
._DraggableComponent--
|
341
|
-
display: block;
|
342
|
-
background: transparent;
|
347
|
+
._DraggableComponent--indicativeHover_1542z_81 > ._DraggableComponent-overlay_1542z_29 {
|
343
348
|
pointer-events: none;
|
344
349
|
}
|
345
|
-
.
|
350
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):has(._DraggableComponent_1542z_1:hover > ._DraggableComponent-overlay_1542z_29) > ._DraggableComponent-overlay_1542z_29 {
|
346
351
|
display: none;
|
347
352
|
}
|
348
|
-
._DraggableComponent--
|
353
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-overlay_1542z_29 {
|
349
354
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
350
355
|
}
|
351
|
-
._DraggableComponent--
|
352
|
-
background: none;
|
356
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 {
|
353
357
|
display: block;
|
354
358
|
position: sticky;
|
355
|
-
|
356
|
-
z-index: 1;
|
359
|
+
z-index: 2;
|
357
360
|
}
|
358
|
-
._DraggableComponent-
|
361
|
+
._DraggableComponent-actions_1542z_97 {
|
359
362
|
position: absolute;
|
360
|
-
right: 6.5px;
|
361
363
|
width: auto;
|
362
|
-
top: -48px;
|
363
364
|
padding: 4px;
|
364
365
|
border-top-left-radius: 8px;
|
365
366
|
border-top-right-radius: 8px;
|
@@ -372,11 +373,12 @@
|
|
372
373
|
gap: 4px;
|
373
374
|
pointer-events: auto;
|
374
375
|
box-sizing: border-box;
|
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);
|
@@ -386,11 +388,11 @@
|
|
386
388
|
padding-left: 8px;
|
387
389
|
padding-right: 16px;
|
388
390
|
margin-right: 8px;
|
389
|
-
border-right:
|
391
|
+
border-right: 0.5px solid var(--puck-color-grey-05);
|
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,23 +405,23 @@
|
|
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
|
}
|
420
422
|
|
421
423
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
422
|
-
.
|
424
|
+
._DropZone_w4btq_1 {
|
423
425
|
margin-left: auto;
|
424
426
|
margin-right: auto;
|
425
427
|
position: relative;
|
@@ -427,42 +429,36 @@
|
|
427
429
|
outline-offset: -1px;
|
428
430
|
width: 100%;
|
429
431
|
}
|
430
|
-
._DropZone
|
431
|
-
zoom: 1.33;
|
432
|
-
}
|
433
|
-
._DropZone--zoomEnabled_utidm_10 ._DropZone-renderWrapper_utidm_14 {
|
434
|
-
zoom: 0.75;
|
435
|
-
}
|
436
|
-
._DropZone-content_utidm_18 {
|
432
|
+
._DropZone-content_w4btq_10 {
|
437
433
|
min-height: 128px;
|
438
434
|
height: 100%;
|
439
435
|
}
|
440
|
-
._DropZone--
|
436
|
+
._DropZone--userIsDragging_w4btq_15 ._DropZone-content_w4btq_10 {
|
441
437
|
pointer-events: all;
|
442
438
|
}
|
443
|
-
._DropZone--
|
439
|
+
._DropZone--userIsDragging_w4btq_15:not(._DropZone--draggingOverArea_w4btq_19):not(._DropZone--draggingNewComponent_w4btq_20) > ._DropZone-content_w4btq_10 {
|
444
440
|
pointer-events: none;
|
445
441
|
}
|
446
|
-
._DropZone--
|
447
|
-
._DropZone--
|
448
|
-
._DropZone--
|
449
|
-
background: var(--puck-color-azure-
|
442
|
+
._DropZone--isAreaSelected_w4btq_26,
|
443
|
+
._DropZone--draggingOverArea_w4btq_19:not(:has(._DropZone--hoveringOverArea_w4btq_27)),
|
444
|
+
._DropZone--hoveringOverArea_w4btq_27:not(._DropZone--isDisabled_w4btq_28):not(._DropZone--isRootZone_w4btq_29):not(._DropZone--hasChildren_w4btq_30) {
|
445
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
450
446
|
outline: 2px dashed var(--puck-color-azure-08);
|
451
447
|
}
|
452
|
-
.
|
453
|
-
background: var(--puck-color-azure-
|
448
|
+
._DropZone_w4btq_1:not(._DropZone--hasChildren_w4btq_30) {
|
449
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
454
450
|
outline: 2px dashed var(--puck-color-azure-08);
|
455
451
|
}
|
456
|
-
._DropZone--
|
452
|
+
._DropZone--isDestination_w4btq_40 {
|
457
453
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
458
454
|
}
|
459
|
-
._DropZone--
|
460
|
-
background: var(--puck-color-azure-
|
455
|
+
._DropZone--isDestination_w4btq_40:not(._DropZone--isRootZone_w4btq_29) {
|
456
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent) !important;
|
461
457
|
}
|
462
|
-
._DropZone-
|
458
|
+
._DropZone-item_w4btq_52 {
|
463
459
|
position: relative;
|
464
460
|
}
|
465
|
-
._DropZone-
|
461
|
+
._DropZone-hitbox_w4btq_56 {
|
466
462
|
position: absolute;
|
467
463
|
bottom: -12px;
|
468
464
|
height: 24px;
|
@@ -471,35 +467,35 @@
|
|
471
467
|
}
|
472
468
|
|
473
469
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
474
|
-
.
|
470
|
+
._IconButton_swpni_1 {
|
475
471
|
align-items: center;
|
476
472
|
background: transparent;
|
477
473
|
border: none;
|
478
474
|
border-radius: 4px;
|
479
475
|
color: currentColor;
|
480
|
-
cursor: pointer;
|
481
476
|
display: flex;
|
482
477
|
font-family: var(--puck-font-family);
|
483
478
|
justify-content: center;
|
484
479
|
padding: 4px;
|
485
480
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
486
481
|
}
|
487
|
-
.
|
482
|
+
._IconButton_swpni_1:focus-visible {
|
488
483
|
outline: 2px solid var(--puck-color-azure-05);
|
489
484
|
outline-offset: -2px;
|
490
485
|
}
|
491
486
|
@media (hover: hover) and (pointer: fine) {
|
492
|
-
.
|
487
|
+
._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
|
493
488
|
background: var(--puck-color-azure-12);
|
494
489
|
color: var(--puck-color-azure-04);
|
490
|
+
cursor: pointer;
|
495
491
|
transition: none;
|
496
492
|
}
|
497
493
|
}
|
498
|
-
.
|
494
|
+
._IconButton_swpni_1:active {
|
499
495
|
background: var(--puck-color-azure-11);
|
500
496
|
transition: none;
|
501
497
|
}
|
502
|
-
._IconButton-
|
498
|
+
._IconButton-title_swpni_33 {
|
503
499
|
clip: rect(0 0 0 0);
|
504
500
|
clip-path: inset(100%);
|
505
501
|
height: 1px;
|
@@ -508,6 +504,9 @@
|
|
508
504
|
white-space: nowrap;
|
509
505
|
width: 1px;
|
510
506
|
}
|
507
|
+
._IconButton--disabled_swpni_20 {
|
508
|
+
color: var(--puck-color-grey-07);
|
509
|
+
}
|
511
510
|
|
512
511
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
513
512
|
._SidebarSection_125qe_1 {
|
@@ -677,9 +676,9 @@
|
|
677
676
|
}
|
678
677
|
|
679
678
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
680
|
-
.
|
679
|
+
._Puck_u70b9_19 {
|
681
680
|
--puck-frame-width: auto;
|
682
|
-
--puck-side-bar-width:
|
681
|
+
--puck-side-bar-width: 0px;
|
683
682
|
--puck-space-px: 16px;
|
684
683
|
bottom: 0;
|
685
684
|
display: grid;
|
@@ -687,57 +686,60 @@
|
|
687
686
|
grid-template-areas: "header header header" "left editor right";
|
688
687
|
grid-template-columns: 0 var(--puck-frame-width) 0;
|
689
688
|
grid-template-rows: min-content auto;
|
690
|
-
height:
|
689
|
+
height: 100dvh;
|
691
690
|
left: 0;
|
692
691
|
position: fixed;
|
693
692
|
right: 0;
|
694
693
|
top: 0;
|
695
694
|
}
|
696
|
-
._Puck--
|
695
|
+
._Puck--mounted_u70b9_36 {
|
696
|
+
--puck-side-bar-width: 186px;
|
697
|
+
}
|
698
|
+
._Puck--leftSideBarVisible_u70b9_40 {
|
697
699
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
698
700
|
}
|
699
|
-
._Puck--
|
701
|
+
._Puck--rightSideBarVisible_u70b9_46 {
|
700
702
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
701
703
|
}
|
702
|
-
._Puck--
|
704
|
+
._Puck--leftSideBarVisible_u70b9_40._Puck--rightSideBarVisible_u70b9_46 {
|
703
705
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
704
706
|
}
|
705
707
|
@media (min-width: 458px) {
|
706
|
-
.
|
708
|
+
._Puck-mounted_u70b9_59 {
|
707
709
|
--puck-frame-width: minmax(266px, auto);
|
708
710
|
}
|
709
711
|
}
|
710
712
|
@media (min-width: 638px) {
|
711
|
-
.
|
713
|
+
._Puck_u70b9_19 {
|
712
714
|
--puck-side-bar-width: minmax(186px, 250px);
|
713
715
|
}
|
714
716
|
}
|
715
717
|
@media (min-width: 766px) {
|
716
|
-
.
|
718
|
+
._Puck_u70b9_19 {
|
717
719
|
--puck-frame-width: auto;
|
718
720
|
}
|
719
721
|
}
|
720
722
|
@media (min-width: 990px) {
|
721
|
-
.
|
723
|
+
._Puck_u70b9_19 {
|
722
724
|
--puck-side-bar-width: 256px;
|
723
725
|
}
|
724
726
|
}
|
725
727
|
@media (min-width: 1198px) {
|
726
|
-
.
|
728
|
+
._Puck_u70b9_19 {
|
727
729
|
--puck-side-bar-width: 274px;
|
728
730
|
}
|
729
731
|
}
|
730
732
|
@media (min-width: 1398px) {
|
731
|
-
.
|
733
|
+
._Puck_u70b9_19 {
|
732
734
|
--puck-side-bar-width: 290px;
|
733
735
|
}
|
734
736
|
}
|
735
737
|
@media (min-width: 1598px) {
|
736
|
-
.
|
738
|
+
._Puck_u70b9_19 {
|
737
739
|
--puck-side-bar-width: 320px;
|
738
740
|
}
|
739
741
|
}
|
740
|
-
._Puck-
|
742
|
+
._Puck-header_u70b9_100 {
|
741
743
|
background: var(--puck-color-white);
|
742
744
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
743
745
|
color: var(--puck-color-black);
|
@@ -745,7 +747,7 @@
|
|
745
747
|
position: relative;
|
746
748
|
max-width: 100vw;
|
747
749
|
}
|
748
|
-
._Puck-
|
750
|
+
._Puck-headerInner_u70b9_109 {
|
749
751
|
align-items: end;
|
750
752
|
display: grid;
|
751
753
|
gap: var(--puck-space-px);
|
@@ -754,43 +756,43 @@
|
|
754
756
|
grid-template-rows: auto;
|
755
757
|
padding: var(--puck-space-px);
|
756
758
|
}
|
757
|
-
._Puck-
|
759
|
+
._Puck-headerToggle_u70b9_119 {
|
758
760
|
color: var(--puck-color-grey-05);
|
759
761
|
display: flex;
|
760
762
|
margin-left: -4px;
|
761
763
|
padding-top: 2px;
|
762
764
|
}
|
763
|
-
._Puck--
|
764
|
-
._Puck--
|
765
|
+
._Puck--rightSideBarVisible_u70b9_46 ._Puck-rightSideBarToggle_u70b9_126,
|
766
|
+
._Puck--leftSideBarVisible_u70b9_40 ._Puck-leftSideBarToggle_u70b9_127 {
|
765
767
|
color: var(--puck-color-black);
|
766
768
|
}
|
767
|
-
._Puck-
|
769
|
+
._Puck-headerTitle_u70b9_131 {
|
768
770
|
align-self: center;
|
769
771
|
}
|
770
|
-
._Puck-
|
772
|
+
._Puck-headerPath_u70b9_135 {
|
771
773
|
font-family: var(--puck-font-family-monospaced);
|
772
774
|
font-size: var(--puck-font-size-xxs);
|
773
775
|
font-weight: normal;
|
774
776
|
word-break: break-all;
|
775
777
|
}
|
776
|
-
._Puck-
|
778
|
+
._Puck-headerTools_u70b9_142 {
|
777
779
|
display: flex;
|
778
780
|
gap: 16px;
|
779
781
|
justify-content: flex-end;
|
780
782
|
}
|
781
|
-
._Puck-
|
783
|
+
._Puck-menuButton_u70b9_148 {
|
782
784
|
color: var(--puck-color-grey-05);
|
783
785
|
margin-left: -4px;
|
784
786
|
}
|
785
|
-
._Puck--
|
787
|
+
._Puck--menuOpen_u70b9_153 ._Puck-menuButton_u70b9_148 {
|
786
788
|
color: var(--puck-color-black);
|
787
789
|
}
|
788
790
|
@media (min-width: 638px) {
|
789
|
-
._Puck-
|
791
|
+
._Puck-menuButton_u70b9_148 {
|
790
792
|
display: none;
|
791
793
|
}
|
792
794
|
}
|
793
|
-
._Puck-
|
795
|
+
._Puck-leftSideBar_u70b9_127 {
|
794
796
|
background: var(--puck-color-grey-12);
|
795
797
|
border-right: 1px solid var(--puck-color-grey-09);
|
796
798
|
display: flex;
|
@@ -798,25 +800,7 @@
|
|
798
800
|
grid-area: left;
|
799
801
|
overflow-y: auto;
|
800
802
|
}
|
801
|
-
._Puck-
|
802
|
-
display: flex;
|
803
|
-
flex-direction: column;
|
804
|
-
grid-area: editor;
|
805
|
-
overflow: auto;
|
806
|
-
position: relative;
|
807
|
-
}
|
808
|
-
._Puck-root_1mnww_176 {
|
809
|
-
border: 1px solid var(--puck-color-grey-09);
|
810
|
-
box-shadow: 0 0 0 calc(var(--puck-space-px) * 1.5) var(--puck-color-grey-11);
|
811
|
-
margin: var(--puck-space-px);
|
812
|
-
min-width: 321px;
|
813
|
-
}
|
814
|
-
@media (min-width: 1198px) {
|
815
|
-
._Puck-root_1mnww_176 {
|
816
|
-
margin: calc(var(--puck-space-px) * 1.5);
|
817
|
-
}
|
818
|
-
}
|
819
|
-
._Puck-rightSideBar_1mnww_122 {
|
803
|
+
._Puck-rightSideBar_u70b9_126 {
|
820
804
|
background: var(--puck-color-white);
|
821
805
|
border-left: 1px solid var(--puck-color-grey-09);
|
822
806
|
display: flex;
|
@@ -824,45 +808,49 @@
|
|
824
808
|
grid-area: right;
|
825
809
|
overflow-y: auto;
|
826
810
|
}
|
811
|
+
._Puck-portal_u70b9_181 {
|
812
|
+
z-index: 2;
|
813
|
+
}
|
827
814
|
|
828
815
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
829
|
-
.
|
816
|
+
._Input_1qi5b_1 {
|
830
817
|
color: var(--puck-color-grey-04);
|
831
818
|
padding: 16px;
|
832
819
|
padding-bottom: 12px;
|
833
820
|
display: block;
|
834
821
|
}
|
835
|
-
.
|
822
|
+
._Input_1qi5b_1 ._Input_1qi5b_1 {
|
836
823
|
padding: 0px;
|
837
824
|
}
|
838
|
-
.
|
825
|
+
._Input_1qi5b_1 * {
|
839
826
|
box-sizing: border-box;
|
840
827
|
}
|
841
|
-
.
|
828
|
+
._Input_1qi5b_1 + ._Input_1qi5b_1 {
|
842
829
|
border-top: 1px solid var(--puck-color-grey-09);
|
843
830
|
margin-top: 8px;
|
844
831
|
}
|
845
|
-
.
|
832
|
+
._Input_1qi5b_1 ._Input_1qi5b_1 + ._Input_1qi5b_1 {
|
846
833
|
border-top: 0px;
|
847
834
|
margin-top: 12px;
|
848
835
|
}
|
849
|
-
._Input-
|
836
|
+
._Input-label_1qi5b_26 {
|
850
837
|
align-items: center;
|
851
838
|
display: flex;
|
852
839
|
padding-bottom: 12px;
|
853
840
|
font-size: var(--puck-font-size-xxs);
|
854
841
|
font-weight: 600;
|
855
842
|
}
|
856
|
-
._Input-
|
843
|
+
._Input-labelIcon_1qi5b_34 {
|
857
844
|
color: var(--puck-color-grey-07);
|
845
|
+
display: flex;
|
858
846
|
margin-right: 4px;
|
859
847
|
padding-left: 4px;
|
860
848
|
}
|
861
|
-
._Input-
|
849
|
+
._Input-disabledIcon_1qi5b_41 {
|
862
850
|
color: var(--puck-color-grey-05);
|
863
851
|
margin-left: auto;
|
864
852
|
}
|
865
|
-
._Input-
|
853
|
+
._Input-input_1qi5b_46 {
|
866
854
|
background: var(--puck-color-white);
|
867
855
|
border-width: 1px;
|
868
856
|
border-style: solid;
|
@@ -874,7 +862,7 @@
|
|
874
862
|
transition: border-color 50ms ease-in;
|
875
863
|
width: 100%;
|
876
864
|
}
|
877
|
-
select._Input-
|
865
|
+
select._Input-input_1qi5b_46 {
|
878
866
|
appearance: none;
|
879
867
|
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;
|
880
868
|
background-size: 12px;
|
@@ -884,25 +872,25 @@ select._Input-input_3msty_45 {
|
|
884
872
|
cursor: pointer;
|
885
873
|
}
|
886
874
|
@media (hover: hover) and (pointer: fine) {
|
887
|
-
.
|
888
|
-
.
|
875
|
+
._Input_1qi5b_1:has(> input):hover ._Input-input_1qi5b_46:not([readonly]),
|
876
|
+
._Input_1qi5b_1:has(> textarea):hover ._Input-input_1qi5b_46:not([readonly]) {
|
889
877
|
border-color: var(--puck-color-grey-05);
|
890
878
|
transition: none;
|
891
879
|
}
|
892
|
-
.
|
880
|
+
._Input_1qi5b_1:has(> select):hover ._Input-input_1qi5b_46:not([disabled]) {
|
893
881
|
background-color: var(--puck-color-azure-12);
|
894
882
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
|
895
883
|
border-color: var(--puck-color-grey-05);
|
896
884
|
transition: none;
|
897
885
|
}
|
898
886
|
}
|
899
|
-
._Input-
|
887
|
+
._Input-input_1qi5b_46:focus {
|
900
888
|
border-color: var(--puck-color-grey-05);
|
901
889
|
outline: 2px solid var(--puck-color-azure-05);
|
902
890
|
transition: none;
|
903
891
|
}
|
904
|
-
._Input--
|
905
|
-
._Input--
|
892
|
+
._Input--readOnly_1qi5b_90 > ._Input-input_1qi5b_46,
|
893
|
+
._Input--readOnly_1qi5b_90 > select._Input-input_1qi5b_46 {
|
906
894
|
background-color: var(--puck-color-grey-11);
|
907
895
|
border-color: var(--puck-color-grey-09);
|
908
896
|
color: var(--puck-color-grey-04);
|
@@ -911,34 +899,34 @@ select._Input-input_3msty_45 {
|
|
911
899
|
outline: 0;
|
912
900
|
transition: none;
|
913
901
|
}
|
914
|
-
._Input-
|
902
|
+
._Input-radioGroupItems_1qi5b_101 {
|
915
903
|
display: flex;
|
916
904
|
border: 1px solid var(--puck-color-grey-09);
|
917
905
|
border-radius: 4px;
|
918
906
|
flex-wrap: wrap;
|
919
907
|
}
|
920
|
-
._Input-
|
908
|
+
._Input-radio_1qi5b_101 {
|
921
909
|
border-right: 1px solid var(--puck-color-grey-09);
|
922
910
|
flex-grow: 1;
|
923
911
|
}
|
924
|
-
._Input-
|
912
|
+
._Input-radio_1qi5b_101:first-of-type {
|
925
913
|
border-bottom-left-radius: 4px;
|
926
914
|
border-top-left-radius: 4px;
|
927
915
|
}
|
928
|
-
._Input-
|
916
|
+
._Input-radio_1qi5b_101:first-of-type ._Input-radioInner_1qi5b_118 {
|
929
917
|
border-bottom-left-radius: 3px;
|
930
918
|
border-top-left-radius: 3px;
|
931
919
|
}
|
932
|
-
._Input-
|
920
|
+
._Input-radio_1qi5b_101:last-of-type {
|
933
921
|
border-bottom-right-radius: 4px;
|
934
922
|
border-right: 0;
|
935
923
|
border-top-right-radius: 4px;
|
936
924
|
}
|
937
|
-
._Input-
|
925
|
+
._Input-radio_1qi5b_101:last-of-type ._Input-radioInner_1qi5b_118 {
|
938
926
|
border-bottom-right-radius: 3px;
|
939
927
|
border-top-right-radius: 3px;
|
940
928
|
}
|
941
|
-
._Input-
|
929
|
+
._Input-radioInner_1qi5b_118 {
|
942
930
|
background-color: var(--puck-color-white);
|
943
931
|
color: var(--puck-color-grey-04);
|
944
932
|
cursor: pointer;
|
@@ -947,32 +935,32 @@ select._Input-input_3msty_45 {
|
|
947
935
|
text-align: center;
|
948
936
|
transition: background-color 50ms ease-in;
|
949
937
|
}
|
950
|
-
._Input-
|
938
|
+
._Input-radio_1qi5b_101:has(:focus-visible) {
|
951
939
|
outline: 2px solid var(--puck-color-azure-05);
|
952
940
|
outline-offset: 2px;
|
953
941
|
position: relative;
|
954
942
|
}
|
955
943
|
@media (hover: hover) and (pointer: fine) {
|
956
|
-
._Input-
|
944
|
+
._Input-radioInner_1qi5b_118:hover {
|
957
945
|
background-color: var(--puck-color-azure-12);
|
958
946
|
transition: none;
|
959
947
|
}
|
960
948
|
}
|
961
|
-
._Input--
|
949
|
+
._Input--readOnly_1qi5b_90 ._Input-radioInner_1qi5b_118 {
|
962
950
|
background-color: var(--puck-color-white);
|
963
951
|
color: var(--puck-color-grey-04);
|
964
952
|
cursor: default;
|
965
953
|
}
|
966
|
-
._Input-
|
954
|
+
._Input-radio_1qi5b_101 ._Input-radioInput_1qi5b_163:checked ~ ._Input-radioInner_1qi5b_118 {
|
967
955
|
background-color: var(--puck-color-azure-11);
|
968
956
|
color: var(--puck-color-azure-04);
|
969
957
|
font-weight: 500;
|
970
958
|
}
|
971
|
-
._Input--
|
959
|
+
._Input--readOnly_1qi5b_90 ._Input-radioInput_1qi5b_163:checked ~ ._Input-radioInner_1qi5b_118 {
|
972
960
|
background-color: var(--puck-color-grey-11);
|
973
961
|
color: var(--puck-color-grey-04);
|
974
962
|
}
|
975
|
-
._Input-
|
963
|
+
._Input-radio_1qi5b_101 ._Input-radioInput_1qi5b_163 {
|
976
964
|
clip: rect(0 0 0 0);
|
977
965
|
clip-path: inset(100%);
|
978
966
|
height: 1px;
|
@@ -981,83 +969,94 @@ select._Input-input_3msty_45 {
|
|
981
969
|
white-space: nowrap;
|
982
970
|
width: 1px;
|
983
971
|
}
|
984
|
-
textarea._Input-
|
972
|
+
textarea._Input-input_1qi5b_46 {
|
985
973
|
margin-bottom: -4px;
|
986
974
|
}
|
987
975
|
|
988
976
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
989
|
-
.
|
977
|
+
._ArrayField_1lr58_5 {
|
990
978
|
display: flex;
|
991
979
|
flex-direction: column;
|
992
980
|
background-color: var(--puck-color-grey-09);
|
993
981
|
border: 1px solid var(--puck-color-grey-09);
|
994
982
|
border-radius: 4px;
|
995
983
|
}
|
996
|
-
._ArrayField--
|
984
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
997
985
|
background-color: var(--puck-color-azure-11);
|
986
|
+
overflow: hidden;
|
998
987
|
}
|
999
|
-
._ArrayField-
|
988
|
+
._ArrayField-addButton_1lr58_18 {
|
1000
989
|
background-color: var(--puck-color-white);
|
1001
990
|
border: none;
|
1002
|
-
border-radius:
|
991
|
+
border-radius: 3px;
|
1003
992
|
display: flex;
|
1004
993
|
color: var(--puck-color-azure-05);
|
1005
994
|
justify-content: center;
|
1006
995
|
cursor: pointer;
|
1007
996
|
width: 100%;
|
1008
997
|
margin: 0;
|
1009
|
-
padding:
|
998
|
+
padding: 14px;
|
1010
999
|
text-align: left;
|
1011
1000
|
transition: background-color 50ms ease-in;
|
1012
1001
|
}
|
1013
|
-
._ArrayField--
|
1002
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1003
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1014
1004
|
border-top-left-radius: 0;
|
1015
1005
|
border-top-right-radius: 0;
|
1016
1006
|
}
|
1017
|
-
._ArrayField-
|
1007
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
1018
1008
|
outline: 2px solid var(--puck-color-azure-05);
|
1019
1009
|
outline-offset: 2px;
|
1020
1010
|
position: relative;
|
1021
1011
|
}
|
1022
1012
|
@media (hover: hover) and (pointer: fine) {
|
1023
|
-
.
|
1013
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1024
1014
|
background: var(--puck-color-azure-12);
|
1025
1015
|
color: var(--puck-color-azure-04);
|
1026
1016
|
transition: none;
|
1027
1017
|
}
|
1028
1018
|
}
|
1029
|
-
.
|
1019
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1030
1020
|
background: var(--puck-color-azure-11);
|
1031
1021
|
color: var(--puck-color-azure-04);
|
1032
1022
|
transition: none;
|
1033
1023
|
}
|
1034
|
-
.
|
1035
|
-
|
1036
|
-
border-top-
|
1037
|
-
border-top-right-radius: 4px;
|
1024
|
+
._ArrayFieldItem_1lr58_63 {
|
1025
|
+
border-top-left-radius: 3px;
|
1026
|
+
border-top-right-radius: 3px;
|
1038
1027
|
display: block;
|
1039
|
-
|
1028
|
+
position: relative;
|
1040
1029
|
}
|
1041
|
-
.
|
1042
|
-
|
1043
|
-
|
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;
|
1044
1041
|
}
|
1045
|
-
._ArrayFieldItem--
|
1042
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1046
1043
|
border-bottom: 0;
|
1047
1044
|
outline-offset: 0px !important;
|
1048
1045
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1046
|
+
z-index: 2;
|
1049
1047
|
}
|
1050
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1051
1049
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1052
1050
|
}
|
1053
|
-
._ArrayFieldItem--
|
1051
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1054
1052
|
background-color: var(--puck-color-white);
|
1055
1053
|
}
|
1056
|
-
.
|
1054
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1057
1055
|
border-top-left-radius: 0;
|
1058
1056
|
border-top-right-radius: 0;
|
1059
1057
|
}
|
1060
|
-
._ArrayFieldItem-
|
1058
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1059
|
+
background: var(--puck-color-white);
|
1061
1060
|
color: var(--puck-color-grey-04);
|
1062
1061
|
cursor: pointer;
|
1063
1062
|
display: flex;
|
@@ -1067,71 +1066,77 @@ textarea._Input-input_3msty_45 {
|
|
1067
1066
|
font-size: var(--puck-font-size-xxs);
|
1068
1067
|
list-style: none;
|
1069
1068
|
padding: 12px 15px;
|
1069
|
+
padding-bottom: 13px;
|
1070
1070
|
position: relative;
|
1071
1071
|
overflow: hidden;
|
1072
1072
|
transition: background-color 50ms ease-in;
|
1073
1073
|
}
|
1074
|
-
.
|
1075
|
-
|
1076
|
-
|
1074
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1075
|
+
border-top-left-radius: 3px;
|
1076
|
+
border-top-right-radius: 3px;
|
1077
1077
|
}
|
1078
|
-
.
|
1079
|
-
border-
|
1080
|
-
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;
|
1081
1085
|
}
|
1082
|
-
._ArrayFieldItem-
|
1086
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1083
1087
|
outline: 2px solid var(--puck-color-azure-05);
|
1084
1088
|
outline-offset: 2px;
|
1085
1089
|
}
|
1086
1090
|
@media (hover: hover) and (pointer: fine) {
|
1087
|
-
._ArrayFieldItem-
|
1091
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1088
1092
|
background-color: var(--puck-color-azure-12);
|
1089
1093
|
transition: none;
|
1090
1094
|
}
|
1091
1095
|
}
|
1092
|
-
._ArrayFieldItem-
|
1096
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1093
1097
|
background-color: var(--puck-color-azure-11);
|
1094
1098
|
transition: none;
|
1095
1099
|
}
|
1096
|
-
._ArrayFieldItem--
|
1100
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1097
1101
|
background: var(--puck-color-azure-11);
|
1098
1102
|
color: var(--puck-color-azure-04);
|
1099
1103
|
font-weight: 600;
|
1100
1104
|
transition: none;
|
1101
1105
|
}
|
1102
|
-
._ArrayFieldItem-
|
1106
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1107
|
+
background: var(--puck-color-white);
|
1103
1108
|
display: none;
|
1104
1109
|
}
|
1105
|
-
._ArrayFieldItem--
|
1110
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1106
1111
|
display: block;
|
1107
1112
|
}
|
1108
|
-
._ArrayFieldItem-
|
1113
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1109
1114
|
border: none;
|
1110
1115
|
border-top: 1px solid var(--puck-color-grey-09);
|
1111
1116
|
margin: 0;
|
1112
1117
|
padding: 16px 15px;
|
1113
1118
|
}
|
1114
|
-
._ArrayFieldItem-
|
1119
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1115
1120
|
display: flex;
|
1116
1121
|
gap: 4px;
|
1117
1122
|
align-items: center;
|
1118
1123
|
}
|
1119
|
-
._ArrayFieldItem-
|
1124
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1120
1125
|
color: var(--puck-color-grey-04);
|
1121
1126
|
display: flex;
|
1122
1127
|
gap: 4px;
|
1123
1128
|
opacity: 0;
|
1124
1129
|
}
|
1125
|
-
._ArrayFieldItem-
|
1126
|
-
._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 {
|
1127
1132
|
opacity: 1;
|
1128
1133
|
}
|
1129
1134
|
|
1130
1135
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
1131
|
-
._ExternalInput-
|
1136
|
+
._ExternalInput-actions_19obq_1 {
|
1132
1137
|
display: flex;
|
1133
1138
|
}
|
1134
|
-
._ExternalInput-
|
1139
|
+
._ExternalInput-button_19obq_5 {
|
1135
1140
|
display: flex;
|
1136
1141
|
gap: 8px;
|
1137
1142
|
align-items: center;
|
@@ -1150,13 +1155,13 @@ textarea._Input-input_3msty_45 {
|
|
1150
1155
|
overflow: hidden;
|
1151
1156
|
flex-grow: 1;
|
1152
1157
|
}
|
1153
|
-
._ExternalInput--
|
1158
|
+
._ExternalInput--dataSelected_19obq_25 ._ExternalInput-button_19obq_5 {
|
1154
1159
|
color: var(--puck-color-grey-03);
|
1155
1160
|
display: block;
|
1156
1161
|
border-top-right-radius: 0px;
|
1157
1162
|
border-bottom-right-radius: 0px;
|
1158
1163
|
}
|
1159
|
-
._ExternalInput-
|
1164
|
+
._ExternalInput-detachButton_19obq_32 {
|
1160
1165
|
border: 1px solid var(--puck-color-grey-09);
|
1161
1166
|
border-top-right-radius: 4px;
|
1162
1167
|
border-bottom-right-radius: 4px;
|
@@ -1172,48 +1177,79 @@ textarea._Input-input_3msty_45 {
|
|
1172
1177
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1173
1178
|
margin-left: -1px;
|
1174
1179
|
}
|
1175
|
-
._ExternalInput-
|
1176
|
-
._ExternalInput-
|
1180
|
+
._ExternalInput-button_19obq_5:focus-visible,
|
1181
|
+
._ExternalInput-detachButton_19obq_32:focus-visible {
|
1177
1182
|
outline: 2px solid var(--puck-color-azure-05);
|
1178
1183
|
outline-offset: 2px;
|
1179
1184
|
z-index: 1;
|
1180
1185
|
}
|
1181
1186
|
@media (hover: hover) and (pointer: fine) {
|
1182
|
-
._ExternalInput-
|
1183
|
-
._ExternalInput-
|
1187
|
+
._ExternalInput-button_19obq_5:hover,
|
1188
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1184
1189
|
background: var(--puck-color-azure-12);
|
1185
1190
|
transition: none;
|
1186
1191
|
}
|
1187
|
-
._ExternalInput-
|
1192
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1188
1193
|
color: var(--puck-color-azure-04);
|
1189
1194
|
}
|
1190
1195
|
}
|
1191
|
-
._ExternalInput-
|
1192
|
-
._ExternalInput-
|
1196
|
+
._ExternalInput-button_19obq_5:active,
|
1197
|
+
._ExternalInput-detachButton_19obq_32:active {
|
1193
1198
|
background: var(--puck-color-azure-11);
|
1194
1199
|
transition: none;
|
1195
1200
|
}
|
1196
|
-
.
|
1201
|
+
._ExternalInputModal_19obq_74 {
|
1197
1202
|
color: var(--puck-color-black);
|
1203
|
+
display: grid;
|
1204
|
+
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
1205
|
+
grid-template-columns: 100%;
|
1206
|
+
position: relative;
|
1207
|
+
min-height: 50dvh;
|
1208
|
+
max-height: 90dvh;
|
1209
|
+
}
|
1210
|
+
._ExternalInputModal-grid_19obq_84 {
|
1198
1211
|
display: flex;
|
1199
1212
|
flex-direction: column;
|
1200
|
-
position: relative;
|
1201
|
-
max-height: 90vh;
|
1202
1213
|
}
|
1203
|
-
|
1204
|
-
|
1214
|
+
@media (min-width: 458px) {
|
1215
|
+
._ExternalInputModal-grid_19obq_84 {
|
1216
|
+
display: grid;
|
1217
|
+
grid-template-columns: 100%;
|
1218
|
+
}
|
1219
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
|
1220
|
+
grid-template-columns: 25% 75%;
|
1221
|
+
}
|
1222
|
+
}
|
1223
|
+
._ExternalInputModal-filters_19obq_100 {
|
1224
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
1225
|
+
}
|
1226
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1227
|
+
display: none;
|
1228
|
+
}
|
1229
|
+
@media (min-width: 458px) {
|
1230
|
+
._ExternalInputModal-filters_19obq_100 {
|
1231
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1232
|
+
display: none;
|
1233
|
+
}
|
1234
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1235
|
+
display: block;
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
._ExternalInputModal-masthead_19obq_119 {
|
1239
|
+
background-color: var(--puck-color-grey-12);
|
1240
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
1205
1241
|
display: flex;
|
1206
1242
|
flex-wrap: wrap;
|
1207
1243
|
gap: 24px;
|
1208
|
-
padding:
|
1244
|
+
padding: 24px;
|
1209
1245
|
}
|
1210
|
-
._ExternalInputModal-
|
1246
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1211
1247
|
position: relative;
|
1212
1248
|
overflow-x: auto;
|
1213
1249
|
overflow-y: auto;
|
1214
1250
|
flex-grow: 1;
|
1215
1251
|
}
|
1216
|
-
._ExternalInputModal-
|
1252
|
+
._ExternalInputModal-table_19obq_128 {
|
1217
1253
|
border-collapse: unset;
|
1218
1254
|
border-spacing: 0px;
|
1219
1255
|
color: var(--puck-color-grey-02);
|
@@ -1221,50 +1257,51 @@ textarea._Input-input_3msty_45 {
|
|
1221
1257
|
z-index: 0;
|
1222
1258
|
min-width: 100%;
|
1223
1259
|
}
|
1224
|
-
._ExternalInputModal-
|
1260
|
+
._ExternalInputModal-thead_19obq_144 {
|
1261
|
+
background-color: var(--puck-color-white);
|
1225
1262
|
position: sticky;
|
1226
1263
|
top: 0;
|
1227
1264
|
z-index: 1;
|
1228
1265
|
}
|
1229
|
-
._ExternalInputModal-
|
1266
|
+
._ExternalInputModal-th_19obq_144 {
|
1230
1267
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1231
|
-
|
1232
|
-
font-weight:
|
1268
|
+
color: var(--puck-color-grey-04);
|
1269
|
+
font-weight: 500;
|
1270
|
+
font-size: 14px;
|
1233
1271
|
padding: 16px 24px;
|
1234
|
-
opacity: 0.9;
|
1235
1272
|
}
|
1236
|
-
._ExternalInputModal-
|
1273
|
+
._ExternalInputModal-td_19obq_159 {
|
1274
|
+
border-bottom: 1px solid var(--puck-color-grey-10);
|
1237
1275
|
padding: 16px 24px;
|
1238
1276
|
}
|
1239
|
-
._ExternalInputModal-
|
1240
|
-
background-color: var(--puck-color-white);
|
1241
|
-
}
|
1242
|
-
._ExternalInputModal-tr_oqtaj_124:nth-of-type(2n) {
|
1243
|
-
background-color: var(--puck-color-grey-12);
|
1244
|
-
}
|
1245
|
-
._ExternalInputModal-tr_oqtaj_124 ._ExternalInputModal-td_oqtaj_120:first-of-type {
|
1277
|
+
._ExternalInputModal-tr_19obq_164 ._ExternalInputModal-td_19obq_159:first-of-type {
|
1246
1278
|
font-weight: 500;
|
1279
|
+
width: 1%;
|
1280
|
+
white-space: nowrap;
|
1247
1281
|
}
|
1248
1282
|
@media (hover: hover) and (pointer: fine) {
|
1249
|
-
._ExternalInputModal-
|
1250
|
-
background: var(--puck-color-
|
1283
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover {
|
1284
|
+
background: var(--puck-color-azure-12);
|
1251
1285
|
color: var(--puck-color-azure-04);
|
1252
1286
|
cursor: pointer;
|
1253
1287
|
position: relative;
|
1254
1288
|
margin-left: -5px;
|
1255
1289
|
}
|
1256
|
-
._ExternalInputModal-
|
1290
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover ._ExternalInputModal-td_19obq_159:first-of-type {
|
1257
1291
|
border-left: 4px solid var(--puck-color-azure-04);
|
1258
1292
|
padding-left: 20px;
|
1259
1293
|
}
|
1260
1294
|
}
|
1261
|
-
._ExternalInputModal-
|
1295
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:last-of-type ._ExternalInputModal-td_19obq_159 {
|
1296
|
+
border-bottom: none;
|
1297
|
+
}
|
1298
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1262
1299
|
display: none;
|
1263
1300
|
}
|
1264
|
-
._ExternalInputModal--
|
1301
|
+
._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
|
1265
1302
|
display: block;
|
1266
1303
|
}
|
1267
|
-
._ExternalInputModal-
|
1304
|
+
._ExternalInputModal-loadingBanner_19obq_201 {
|
1268
1305
|
display: none;
|
1269
1306
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1270
1307
|
padding: 64px;
|
@@ -1276,46 +1313,42 @@ textarea._Input-input_3msty_45 {
|
|
1276
1313
|
right: 0;
|
1277
1314
|
bottom: 0;
|
1278
1315
|
}
|
1279
|
-
._ExternalInputModal--
|
1316
|
+
._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
|
1280
1317
|
display: flex;
|
1281
1318
|
}
|
1282
|
-
._ExternalInputModal-
|
1283
|
-
display: none;
|
1284
|
-
border-top: 1px solid var(--puck-color-grey-09);
|
1285
|
-
padding: 24px;
|
1286
|
-
text-align: center;
|
1287
|
-
}
|
1288
|
-
._ExternalInputModal--loaded_oqtaj_185:not(._ExternalInputModal--hasData_oqtaj_157) ._ExternalInputModal-noContentBanner_oqtaj_178 {
|
1289
|
-
display: block;
|
1290
|
-
}
|
1291
|
-
._ExternalInputModal-searchForm_oqtaj_190 {
|
1319
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1292
1320
|
display: flex;
|
1293
|
-
|
1294
|
-
height: 43px;
|
1321
|
+
flex-wrap: wrap;
|
1295
1322
|
gap: 12px;
|
1323
|
+
flex-grow: 1;
|
1296
1324
|
}
|
1297
|
-
|
1325
|
+
@media (min-width: 458px) {
|
1326
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1327
|
+
flex-wrap: nowrap;
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
._ExternalInputModal-search_19obq_222 {
|
1298
1331
|
display: flex;
|
1299
1332
|
background: var(--puck-color-white);
|
1300
1333
|
border-width: 1px;
|
1301
1334
|
border-style: solid;
|
1302
1335
|
border-color: var(--puck-color-grey-09);
|
1303
1336
|
border-radius: 4px;
|
1337
|
+
flex-grow: 1;
|
1304
1338
|
transition: border-color 50ms ease-in;
|
1305
|
-
width: 100%;
|
1306
1339
|
}
|
1307
|
-
._ExternalInputModal-
|
1340
|
+
._ExternalInputModal-search_19obq_222:focus-within {
|
1308
1341
|
border-color: var(--puck-color-grey-05);
|
1309
1342
|
outline: 2px solid var(--puck-color-azure-05);
|
1310
1343
|
transition: none;
|
1311
1344
|
}
|
1312
1345
|
@media (hover: hover) and (pointer: fine) {
|
1313
|
-
._ExternalInputModal-
|
1346
|
+
._ExternalInputModal-search_19obq_222:hover {
|
1314
1347
|
border-color: var(--puck-color-grey-05);
|
1315
1348
|
transition: none;
|
1316
1349
|
}
|
1317
1350
|
}
|
1318
|
-
._ExternalInputModal-
|
1351
|
+
._ExternalInputModal-searchIcon_19obq_259 {
|
1319
1352
|
align-items: center;
|
1320
1353
|
background: var(--puck-color-grey-12);
|
1321
1354
|
border-bottom-left-radius: 4px;
|
@@ -1327,17 +1360,17 @@ textarea._Input-input_3msty_45 {
|
|
1327
1360
|
padding: 12px 15px;
|
1328
1361
|
transition: color 50ms ease-in;
|
1329
1362
|
}
|
1330
|
-
._ExternalInputModal-
|
1363
|
+
._ExternalInputModal-search_19obq_222:focus-within ._ExternalInputModal-searchIcon_19obq_259 {
|
1331
1364
|
color: var(--puck-color-grey-04);
|
1332
1365
|
transition: none;
|
1333
1366
|
}
|
1334
1367
|
@media (hover: hover) and (pointer: fine) {
|
1335
|
-
._ExternalInputModal-
|
1368
|
+
._ExternalInputModal-search_19obq_222:hover ._ExternalInputModal-searchIcon_19obq_259 {
|
1336
1369
|
color: var(--puck-color-grey-04);
|
1337
1370
|
transition: none;
|
1338
1371
|
}
|
1339
1372
|
}
|
1340
|
-
._ExternalInputModal-
|
1373
|
+
._ExternalInputModal-searchIconText_19obq_284 {
|
1341
1374
|
clip: rect(0 0 0 0);
|
1342
1375
|
clip-path: inset(100%);
|
1343
1376
|
height: 1px;
|
@@ -1346,7 +1379,7 @@ textarea._Input-input_3msty_45 {
|
|
1346
1379
|
white-space: nowrap;
|
1347
1380
|
width: 1px;
|
1348
1381
|
}
|
1349
|
-
._ExternalInputModal-
|
1382
|
+
._ExternalInputModal-searchInput_19obq_294 {
|
1350
1383
|
border: none;
|
1351
1384
|
border-radius: 4px;
|
1352
1385
|
background: var(--puck-color-white);
|
@@ -1355,13 +1388,36 @@ textarea._Input-input_3msty_45 {
|
|
1355
1388
|
padding: 12px 15px;
|
1356
1389
|
width: 100%;
|
1357
1390
|
}
|
1358
|
-
._ExternalInputModal-
|
1391
|
+
._ExternalInputModal-searchInput_19obq_294:focus {
|
1359
1392
|
outline: 0;
|
1360
1393
|
}
|
1394
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1395
|
+
display: flex;
|
1396
|
+
gap: 8px;
|
1397
|
+
height: 44px;
|
1398
|
+
width: 100%;
|
1399
|
+
}
|
1400
|
+
@media (min-width: 458px) {
|
1401
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1402
|
+
width: auto;
|
1403
|
+
}
|
1404
|
+
}
|
1405
|
+
._ExternalInputModal-searchActionIcon_19obq_321 {
|
1406
|
+
align-self: center;
|
1407
|
+
}
|
1408
|
+
._ExternalInputModal-footer_19obq_325 {
|
1409
|
+
background-color: var(--puck-color-grey-12);
|
1410
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1411
|
+
color: var(--puck-color-grey-04);
|
1412
|
+
font-weight: 500;
|
1413
|
+
font-size: 14px;
|
1414
|
+
padding: 16px;
|
1415
|
+
text-align: right;
|
1416
|
+
}
|
1361
1417
|
|
1362
1418
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
1363
|
-
.
|
1364
|
-
background: color-mix(in srgb, var(--puck-color-black)
|
1419
|
+
._Modal_ikbaj_1 {
|
1420
|
+
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1365
1421
|
display: none;
|
1366
1422
|
justify-content: center;
|
1367
1423
|
align-items: center;
|
@@ -1371,20 +1427,20 @@ textarea._Input-input_3msty_45 {
|
|
1371
1427
|
bottom: 0;
|
1372
1428
|
right: 0;
|
1373
1429
|
z-index: 1;
|
1374
|
-
padding:
|
1430
|
+
padding: 32px;
|
1375
1431
|
}
|
1376
|
-
._Modal--
|
1432
|
+
._Modal--isOpen_ikbaj_15 {
|
1377
1433
|
display: flex;
|
1378
1434
|
}
|
1379
|
-
._Modal-
|
1435
|
+
._Modal-inner_ikbaj_19 {
|
1380
1436
|
width: 100%;
|
1381
1437
|
max-width: 1024px;
|
1382
|
-
border-radius:
|
1438
|
+
border-radius: 8px;
|
1383
1439
|
overflow: hidden;
|
1384
1440
|
background: var(--puck-color-white);
|
1385
1441
|
display: flex;
|
1386
1442
|
flex-direction: column;
|
1387
|
-
max-height:
|
1443
|
+
max-height: 90dvh;
|
1388
1444
|
}
|
1389
1445
|
|
1390
1446
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css/#css-module-data */
|
@@ -1470,6 +1526,16 @@ textarea._Input-input_3msty_45 {
|
|
1470
1526
|
margin-left: auto;
|
1471
1527
|
}
|
1472
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
|
+
|
1473
1539
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
1474
1540
|
._LayerTree_1pgw8_1 {
|
1475
1541
|
color: var(--puck-color-grey-03);
|
@@ -1572,3 +1638,90 @@ textarea._Input-input_3msty_45 {
|
|
1572
1638
|
color: var(--puck-color-grey-08);
|
1573
1639
|
margin-top: 4px;
|
1574
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
|
+
}
|