@measured/puck 0.10.1-canary.cc20c52 → 0.11.0-canary.5881e1b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +218 -24
- package/dist/index.css +295 -180
- package/dist/index.d.ts +134 -55
- package/dist/index.js +31015 -1135
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -210,25 +210,25 @@
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
|
213
|
-
.
|
|
213
|
+
._DraggableComponent_2abzb_1 {
|
|
214
214
|
pointer-events: auto;
|
|
215
215
|
}
|
|
216
|
-
._DraggableComponent--
|
|
216
|
+
._DraggableComponent--isDragging_2abzb_5 {
|
|
217
217
|
background: #abc7e510;
|
|
218
218
|
outline: 2px var(--puck-color-azure-8) solid;
|
|
219
219
|
overflow: hidden;
|
|
220
220
|
}
|
|
221
|
-
._DraggableComponent-
|
|
221
|
+
._DraggableComponent-contents_2abzb_11 {
|
|
222
222
|
position: relative;
|
|
223
223
|
pointer-events: none;
|
|
224
224
|
z-index: 0;
|
|
225
225
|
}
|
|
226
|
-
._DraggableComponent-
|
|
227
|
-
._DraggableComponent-
|
|
226
|
+
._DraggableComponent-contents_2abzb_11::before,
|
|
227
|
+
._DraggableComponent-contents_2abzb_11::after {
|
|
228
228
|
content: " ";
|
|
229
229
|
display: table;
|
|
230
230
|
}
|
|
231
|
-
._DraggableComponent-
|
|
231
|
+
._DraggableComponent-overlay_2abzb_24 {
|
|
232
232
|
display: none;
|
|
233
233
|
background: #abc7e530;
|
|
234
234
|
cursor: pointer;
|
|
@@ -236,41 +236,56 @@
|
|
|
236
236
|
width: 100%;
|
|
237
237
|
top: 0;
|
|
238
238
|
position: absolute;
|
|
239
|
-
z-index:
|
|
239
|
+
z-index: 0;
|
|
240
240
|
font-family: var(--puck-font-stack);
|
|
241
241
|
pointer-events: none;
|
|
242
242
|
box-sizing: border-box;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
._DraggableComponent-loadingOverlay_2abzb_38 {
|
|
245
|
+
background: var(--puck-color-white);
|
|
246
|
+
color: var(--puck-color-grey-2);
|
|
247
|
+
border-radius: 4px;
|
|
248
|
+
display: flex;
|
|
249
|
+
padding: 8px;
|
|
250
|
+
top: 8px;
|
|
251
|
+
right: 8px;
|
|
252
|
+
position: absolute;
|
|
253
|
+
z-index: 1;
|
|
254
|
+
pointer-events: all;
|
|
255
|
+
box-sizing: border-box;
|
|
256
|
+
opacity: 0.8;
|
|
257
|
+
z-index: 1;
|
|
258
|
+
}
|
|
259
|
+
._DraggableComponent_2abzb_1:hover:not(._DraggableComponent--isLocked_2abzb_54) > ._DraggableComponent-overlay_2abzb_24 {
|
|
245
260
|
display: block;
|
|
246
261
|
pointer-events: none;
|
|
247
262
|
}
|
|
248
|
-
._DraggableComponent--
|
|
263
|
+
._DraggableComponent--forceHover_2abzb_60 > ._DraggableComponent-overlay_2abzb_24 {
|
|
249
264
|
display: block;
|
|
250
265
|
pointer-events: none;
|
|
251
266
|
}
|
|
252
|
-
.
|
|
267
|
+
._DraggableComponent_2abzb_1:not(._DraggableComponent--isSelected_2abzb_65) > ._DraggableComponent-overlay_2abzb_24 {
|
|
253
268
|
outline: 2px var(--puck-color-azure-8) solid;
|
|
254
269
|
}
|
|
255
|
-
._DraggableComponent--
|
|
270
|
+
._DraggableComponent--indicativeHover_2abzb_70 > ._DraggableComponent-overlay_2abzb_24 {
|
|
256
271
|
display: block;
|
|
257
272
|
background: transparent;
|
|
258
273
|
pointer-events: none;
|
|
259
274
|
}
|
|
260
|
-
.
|
|
275
|
+
._DraggableComponent_2abzb_1:not(._DraggableComponent--isSelected_2abzb_65):has(._DraggableComponent_2abzb_1:hover > ._DraggableComponent-overlay_2abzb_24) > ._DraggableComponent-overlay_2abzb_24 {
|
|
261
276
|
display: none;
|
|
262
277
|
}
|
|
263
|
-
._DraggableComponent--
|
|
278
|
+
._DraggableComponent--isSelected_2abzb_65 {
|
|
264
279
|
outline: 2px var(--puck-color-azure-6) solid;
|
|
265
280
|
}
|
|
266
|
-
._DraggableComponent--
|
|
281
|
+
._DraggableComponent--isSelected_2abzb_65 > ._DraggableComponent-overlay_2abzb_24 {
|
|
267
282
|
background: none;
|
|
268
283
|
display: block;
|
|
269
284
|
position: sticky;
|
|
270
285
|
top: 56px;
|
|
271
286
|
z-index: 1;
|
|
272
287
|
}
|
|
273
|
-
._DraggableComponent-
|
|
288
|
+
._DraggableComponent-actions_2abzb_96 {
|
|
274
289
|
position: absolute;
|
|
275
290
|
right: 6.5px;
|
|
276
291
|
width: auto;
|
|
@@ -286,10 +301,10 @@
|
|
|
286
301
|
pointer-events: auto;
|
|
287
302
|
box-sizing: border-box;
|
|
288
303
|
}
|
|
289
|
-
._DraggableComponent--
|
|
304
|
+
._DraggableComponent--isSelected_2abzb_65 > ._DraggableComponent-overlay_2abzb_24 > ._DraggableComponent-actions_2abzb_96 {
|
|
290
305
|
display: flex;
|
|
291
306
|
}
|
|
292
|
-
._DraggableComponent-
|
|
307
|
+
._DraggableComponent-actionsLabel_2abzb_119 {
|
|
293
308
|
color: var(--puck-color-grey-7);
|
|
294
309
|
display: flex;
|
|
295
310
|
font-size: var(--puck-font-size-xxxs);
|
|
@@ -303,7 +318,7 @@
|
|
|
303
318
|
text-overflow: ellipsis;
|
|
304
319
|
white-space: nowrap;
|
|
305
320
|
}
|
|
306
|
-
._DraggableComponent-
|
|
321
|
+
._DraggableComponent-action_2abzb_96 {
|
|
307
322
|
background: transparent;
|
|
308
323
|
border: none;
|
|
309
324
|
color: var(--puck-color-grey-7);
|
|
@@ -311,14 +326,14 @@
|
|
|
311
326
|
border-radius: 4px;
|
|
312
327
|
overflow: hidden;
|
|
313
328
|
}
|
|
314
|
-
._DraggableComponent-
|
|
329
|
+
._DraggableComponent-action_2abzb_96:hover {
|
|
315
330
|
background: var(--puck-color-grey-2);
|
|
316
331
|
color: var(--puck-color-azure-5);
|
|
317
332
|
cursor: pointer;
|
|
318
333
|
}
|
|
319
334
|
|
|
320
335
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
|
321
|
-
.
|
|
336
|
+
._DropZone_1akqa_1 {
|
|
322
337
|
margin-left: auto;
|
|
323
338
|
margin-right: auto;
|
|
324
339
|
zoom: 1.33;
|
|
@@ -327,37 +342,36 @@
|
|
|
327
342
|
outline-offset: -1px;
|
|
328
343
|
width: 100%;
|
|
329
344
|
}
|
|
330
|
-
._DropZone-
|
|
345
|
+
._DropZone-content_1akqa_11 {
|
|
331
346
|
min-height: 128px;
|
|
332
347
|
height: 100%;
|
|
333
348
|
}
|
|
334
|
-
._DropZone--
|
|
349
|
+
._DropZone--userIsDragging_1akqa_16 ._DropZone-content_1akqa_11 {
|
|
335
350
|
pointer-events: all;
|
|
336
351
|
}
|
|
337
|
-
._DropZone--
|
|
352
|
+
._DropZone--userIsDragging_1akqa_16:not(._DropZone--draggingOverArea_1akqa_20):not(._DropZone--draggingNewComponent_1akqa_21) > ._DropZone-content_1akqa_11 {
|
|
338
353
|
pointer-events: none;
|
|
339
354
|
}
|
|
340
|
-
._DropZone--
|
|
341
|
-
._DropZone--
|
|
342
|
-
._DropZone--
|
|
355
|
+
._DropZone--isAreaSelected_1akqa_27,
|
|
356
|
+
._DropZone--draggingOverArea_1akqa_20:not(:has(._DropZone--hoveringOverArea_1akqa_28)),
|
|
357
|
+
._DropZone--hoveringOverArea_1akqa_28:not(._DropZone--isDisabled_1akqa_29):not(._DropZone--isRootZone_1akqa_30) {
|
|
343
358
|
background: var(--puck-color-azure-9);
|
|
344
359
|
outline: 2px dashed var(--puck-color-azure-7);
|
|
345
360
|
}
|
|
346
|
-
.
|
|
361
|
+
._DropZone_1akqa_1:not(._DropZone--hasChildren_1akqa_36) {
|
|
347
362
|
background: var(--puck-color-azure-9);
|
|
348
363
|
outline: 2px dashed var(--puck-color-azure-7);
|
|
349
364
|
}
|
|
350
|
-
._DropZone--
|
|
365
|
+
._DropZone--isDestination_1akqa_41 {
|
|
351
366
|
outline: 2px dashed var(--puck-color-azure-3) !important;
|
|
352
367
|
}
|
|
353
|
-
._DropZone--
|
|
368
|
+
._DropZone--isDestination_1akqa_41:not(._DropZone--isRootZone_1akqa_30) {
|
|
354
369
|
background: var(--puck-color-azure-85) !important;
|
|
355
370
|
}
|
|
356
|
-
._DropZone-
|
|
371
|
+
._DropZone-item_1akqa_49 {
|
|
357
372
|
position: relative;
|
|
358
|
-
z-index: 0;
|
|
359
373
|
}
|
|
360
|
-
._DropZone-
|
|
374
|
+
._DropZone-hitbox_1akqa_53 {
|
|
361
375
|
position: absolute;
|
|
362
376
|
bottom: -12px;
|
|
363
377
|
height: 24px;
|
|
@@ -383,38 +397,43 @@
|
|
|
383
397
|
}
|
|
384
398
|
|
|
385
399
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
|
386
|
-
.
|
|
400
|
+
._Input_1kw16_1 {
|
|
387
401
|
color: var(--puck-color-grey-3);
|
|
388
402
|
padding: 16px;
|
|
389
403
|
padding-bottom: 12px;
|
|
390
404
|
display: block;
|
|
391
405
|
font-family: var(--puck-font-stack);
|
|
392
406
|
}
|
|
393
|
-
.
|
|
407
|
+
._Input_1kw16_1 ._Input_1kw16_1 {
|
|
394
408
|
padding: 0px;
|
|
395
409
|
}
|
|
396
|
-
.
|
|
410
|
+
._Input_1kw16_1 * {
|
|
397
411
|
box-sizing: border-box;
|
|
398
412
|
}
|
|
399
|
-
.
|
|
413
|
+
._Input_1kw16_1 + ._Input_1kw16_1 {
|
|
400
414
|
border-top: 1px solid var(--puck-color-grey-8);
|
|
401
415
|
margin-top: 8px;
|
|
402
416
|
}
|
|
403
|
-
.
|
|
417
|
+
._Input_1kw16_1 ._Input_1kw16_1 + ._Input_1kw16_1 {
|
|
404
418
|
border-top: 0px;
|
|
405
419
|
margin-top: 12px;
|
|
406
420
|
}
|
|
407
|
-
._Input-
|
|
421
|
+
._Input-label_1kw16_27 {
|
|
408
422
|
display: flex;
|
|
409
423
|
padding-bottom: 12px;
|
|
410
424
|
font-size: var(--puck-font-size-xxs);
|
|
411
425
|
font-weight: 600;
|
|
412
426
|
}
|
|
413
|
-
._Input-
|
|
427
|
+
._Input-labelIcon_1kw16_34 {
|
|
414
428
|
color: var(--puck-color-grey-6);
|
|
415
429
|
margin-right: 4px;
|
|
430
|
+
padding-left: 4px;
|
|
416
431
|
}
|
|
417
|
-
._Input-
|
|
432
|
+
._Input-disabledIcon_1kw16_40 {
|
|
433
|
+
color: var(--puck-color-grey-4);
|
|
434
|
+
margin-left: auto;
|
|
435
|
+
}
|
|
436
|
+
._Input-input_1kw16_45 {
|
|
418
437
|
border-width: 1px;
|
|
419
438
|
border-style: solid;
|
|
420
439
|
border-color: var(--puck-color-grey-8);
|
|
@@ -423,7 +442,7 @@
|
|
|
423
442
|
padding: 12px 16px;
|
|
424
443
|
width: 100%;
|
|
425
444
|
}
|
|
426
|
-
.
|
|
445
|
+
._Input_1kw16_1 select._Input-input_1kw16_45 {
|
|
427
446
|
appearance: none;
|
|
428
447
|
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;
|
|
429
448
|
background-size: 12px;
|
|
@@ -431,61 +450,76 @@
|
|
|
431
450
|
background-repeat: no-repeat;
|
|
432
451
|
background-color: white;
|
|
433
452
|
}
|
|
434
|
-
._Input--
|
|
435
|
-
|
|
453
|
+
._Input--readOnly_1kw16_66 > ._Input-input_1kw16_45,
|
|
454
|
+
._Input--readOnly_1kw16_66 > select._Input-input_1kw16_45 {
|
|
455
|
+
background-color: var(--puck-color-grey-11);
|
|
436
456
|
border-color: var(--puck-color-grey-8);
|
|
457
|
+
color: var(--puck-color-grey-5);
|
|
458
|
+
opacity: 1;
|
|
437
459
|
}
|
|
438
|
-
._Input-
|
|
460
|
+
._Input-input_1kw16_45:hover {
|
|
439
461
|
border-color: var(--puck-color-neutral-3);
|
|
440
462
|
}
|
|
441
|
-
._Input-
|
|
463
|
+
._Input-radioGroupItems_1kw16_78 {
|
|
442
464
|
display: flex;
|
|
443
465
|
border: 1px solid var(--puck-color-grey-7);
|
|
444
466
|
border-radius: 4px;
|
|
445
467
|
flex-wrap: wrap;
|
|
446
468
|
overflow: hidden;
|
|
447
469
|
}
|
|
448
|
-
._Input-
|
|
470
|
+
._Input-radio_1kw16_78 {
|
|
449
471
|
border-right: 1px solid var(--puck-color-grey-7);
|
|
450
472
|
flex-grow: 1;
|
|
451
473
|
}
|
|
452
|
-
._Input-
|
|
474
|
+
._Input-radio_1kw16_78:last-of-type {
|
|
453
475
|
border-right: none;
|
|
454
476
|
}
|
|
455
|
-
._Input-
|
|
477
|
+
._Input-radioInner_1kw16_95 {
|
|
478
|
+
background-color: white;
|
|
456
479
|
color: var(--puck-color-grey-4);
|
|
457
480
|
font-size: var(--puck-font-size-xxxs);
|
|
458
481
|
padding: 8px 12px;
|
|
459
482
|
text-align: center;
|
|
460
483
|
}
|
|
461
|
-
._Input-
|
|
484
|
+
._Input-radioInner_1kw16_95:hover {
|
|
462
485
|
background-color: var(--puck-color-azure-9);
|
|
463
486
|
cursor: pointer;
|
|
464
487
|
}
|
|
465
|
-
._Input
|
|
488
|
+
._Input--readOnly_1kw16_66 ._Input-radioGroupItems_1kw16_78 {
|
|
489
|
+
border-color: var(--puck-color-grey-8);
|
|
490
|
+
}
|
|
491
|
+
._Input--readOnly_1kw16_66 ._Input-radioInner_1kw16_95 {
|
|
492
|
+
background-color: var(--puck-color-grey-11);
|
|
493
|
+
color: var(--puck-color-grey-5);
|
|
494
|
+
}
|
|
495
|
+
._Input-radio_1kw16_78 ._Input-radioInput_1kw16_117:checked ~ ._Input-radioInner_1kw16_95 {
|
|
466
496
|
background-color: var(--puck-color-azure-9);
|
|
467
|
-
color: var(--puck-color-grey-
|
|
497
|
+
color: var(--puck-color-grey-1);
|
|
468
498
|
font-weight: 500;
|
|
469
499
|
}
|
|
470
|
-
._Input-
|
|
500
|
+
._Input--readOnly_1kw16_66 ._Input-radioInput_1kw16_117:checked ~ ._Input-radioInner_1kw16_95 {
|
|
501
|
+
background-color: var(--puck-color-azure-9);
|
|
502
|
+
color: var(--puck-color-grey-4);
|
|
503
|
+
}
|
|
504
|
+
._Input-radio_1kw16_78 ._Input-radioInput_1kw16_117 {
|
|
471
505
|
display: none;
|
|
472
506
|
}
|
|
473
|
-
.
|
|
507
|
+
._Input_1kw16_1 textarea._Input-input_1kw16_45 {
|
|
474
508
|
margin-bottom: -4px;
|
|
475
509
|
}
|
|
476
510
|
|
|
477
511
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
|
478
|
-
.
|
|
512
|
+
._ArrayField_13rp0_5 {
|
|
479
513
|
display: flex;
|
|
480
514
|
flex-direction: column;
|
|
481
515
|
background-color: var(--puck-color-grey-8);
|
|
482
516
|
border: 1px solid var(--puck-color-grey-8);
|
|
483
517
|
border-radius: 4px;
|
|
484
518
|
}
|
|
485
|
-
._ArrayField--
|
|
519
|
+
._ArrayField--isDraggingFrom_13rp0_13 {
|
|
486
520
|
background-color: var(--puck-color-azure-9);
|
|
487
521
|
}
|
|
488
|
-
._ArrayField-
|
|
522
|
+
._ArrayField-addButton_13rp0_17 {
|
|
489
523
|
background-color: white;
|
|
490
524
|
border: none;
|
|
491
525
|
border-radius: 4px;
|
|
@@ -498,37 +532,37 @@
|
|
|
498
532
|
padding: 16px;
|
|
499
533
|
text-align: left;
|
|
500
534
|
}
|
|
501
|
-
._ArrayField--
|
|
535
|
+
._ArrayField--hasItems_13rp0_31 > ._ArrayField-addButton_13rp0_17 {
|
|
502
536
|
border-top-left-radius: 0;
|
|
503
537
|
border-top-right-radius: 0;
|
|
504
538
|
}
|
|
505
|
-
.
|
|
539
|
+
._ArrayField_13rp0_5:not(._ArrayField--isDraggingFrom_13rp0_13) > ._ArrayField-addButton_13rp0_17:hover {
|
|
506
540
|
background: var(--puck-color-azure-9);
|
|
507
541
|
color: var(--puck-color-azure-4);
|
|
508
542
|
}
|
|
509
|
-
.
|
|
543
|
+
._ArrayFieldItem_13rp0_45 {
|
|
510
544
|
background: white;
|
|
511
545
|
border-top-left-radius: 4px;
|
|
512
546
|
border-top-right-radius: 4px;
|
|
513
547
|
display: block;
|
|
514
548
|
margin-bottom: 1px;
|
|
515
549
|
}
|
|
516
|
-
._ArrayField--
|
|
550
|
+
._ArrayField--isDraggingFrom_13rp0_13 > ._ArrayFieldItem_13rp0_45:not(._ArrayFieldItem--isDragging_13rp0_53) {
|
|
517
551
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
518
552
|
margin-bottom: 0;
|
|
519
553
|
}
|
|
520
|
-
._ArrayFieldItem--
|
|
554
|
+
._ArrayFieldItem--isExpanded_13rp0_58 {
|
|
521
555
|
border-bottom: 0;
|
|
522
556
|
outline: 1px solid var(--puck-color-azure-6);
|
|
523
557
|
}
|
|
524
|
-
._ArrayFieldItem--
|
|
558
|
+
._ArrayFieldItem--isDragging_13rp0_53 {
|
|
525
559
|
box-shadow: rgba(140, 152, 164, 0.25) 0 3px 6px 0;
|
|
526
560
|
}
|
|
527
|
-
.
|
|
561
|
+
._ArrayFieldItem_13rp0_45 + ._ArrayFieldItem_13rp0_45 {
|
|
528
562
|
border-top-left-radius: 0;
|
|
529
563
|
border-top-right-radius: 0;
|
|
530
564
|
}
|
|
531
|
-
._ArrayFieldItem-
|
|
565
|
+
._ArrayFieldItem-summary_13rp0_72 {
|
|
532
566
|
color: var(--puck-color-grey-3);
|
|
533
567
|
display: flex;
|
|
534
568
|
align-items: center;
|
|
@@ -539,48 +573,49 @@
|
|
|
539
573
|
position: relative;
|
|
540
574
|
overflow: hidden;
|
|
541
575
|
}
|
|
542
|
-
._ArrayFieldItem--
|
|
576
|
+
._ArrayFieldItem--readOnly_13rp0_84 > ._ArrayFieldItem-summary_13rp0_72 {
|
|
577
|
+
background-color: var(--puck-color-grey-11);
|
|
578
|
+
color: var(--puck-color-grey-5);
|
|
579
|
+
}
|
|
580
|
+
._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-summary_13rp0_72 {
|
|
543
581
|
font-weight: 600;
|
|
544
582
|
}
|
|
545
|
-
.
|
|
583
|
+
._ArrayFieldItem_13rp0_45:first-of-type > ._ArrayFieldItem-summary_13rp0_72 {
|
|
546
584
|
border-top-left-radius: 4px;
|
|
547
585
|
border-top-right-radius: 4px;
|
|
548
586
|
}
|
|
549
|
-
._ArrayFieldItem-
|
|
550
|
-
._ArrayFieldItem--
|
|
587
|
+
._ArrayFieldItem-summary_13rp0_72:hover,
|
|
588
|
+
._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-summary_13rp0_72 {
|
|
551
589
|
background: var(--puck-color-azure-9);
|
|
552
590
|
cursor: pointer;
|
|
553
591
|
color: var(--puck-color-azure-4);
|
|
554
592
|
}
|
|
555
|
-
._ArrayFieldItem-
|
|
593
|
+
._ArrayFieldItem-body_13rp0_105 {
|
|
556
594
|
display: none;
|
|
557
595
|
}
|
|
558
|
-
._ArrayFieldItem-
|
|
559
|
-
display: none;
|
|
560
|
-
}
|
|
561
|
-
._ArrayFieldItem--isExpanded_zp334_58 > ._ArrayFieldItem-body_zp334_104 {
|
|
596
|
+
._ArrayFieldItem--isExpanded_13rp0_58 > ._ArrayFieldItem-body_13rp0_105 {
|
|
562
597
|
display: block;
|
|
563
598
|
}
|
|
564
|
-
._ArrayFieldItem-
|
|
599
|
+
._ArrayFieldItem-fieldset_13rp0_113 {
|
|
565
600
|
border: none;
|
|
566
601
|
border-top: 1px solid var(--puck-color-grey-8);
|
|
567
602
|
margin: 0;
|
|
568
603
|
padding: 16px;
|
|
569
604
|
}
|
|
570
|
-
._ArrayFieldItem-
|
|
605
|
+
._ArrayFieldItem-rhs_13rp0_120 {
|
|
571
606
|
display: flex;
|
|
572
607
|
gap: 8px;
|
|
573
608
|
align-items: center;
|
|
574
609
|
}
|
|
575
|
-
._ArrayFieldItem-
|
|
610
|
+
._ArrayFieldItem-actions_13rp0_126 {
|
|
576
611
|
display: flex;
|
|
577
612
|
gap: 8px;
|
|
578
613
|
opacity: 0;
|
|
579
614
|
}
|
|
580
|
-
._ArrayFieldItem-
|
|
615
|
+
._ArrayFieldItem-summary_13rp0_72:hover > ._ArrayFieldItem-rhs_13rp0_120 > ._ArrayFieldItem-actions_13rp0_126 {
|
|
581
616
|
opacity: 1;
|
|
582
617
|
}
|
|
583
|
-
._ArrayFieldItem-
|
|
618
|
+
._ArrayFieldItem-action_13rp0_126:hover {
|
|
584
619
|
background: var(--puck-color-grey-9);
|
|
585
620
|
border-radius: 4px;
|
|
586
621
|
color: var(--puck-color-blue);
|
|
@@ -599,13 +634,13 @@
|
|
|
599
634
|
}
|
|
600
635
|
|
|
601
636
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
|
602
|
-
.
|
|
637
|
+
._ExternalInput_z7jih_1 {
|
|
603
638
|
font-family: var(--puck-font-stack);
|
|
604
639
|
}
|
|
605
|
-
._ExternalInput-
|
|
640
|
+
._ExternalInput-actions_z7jih_5 {
|
|
606
641
|
display: flex;
|
|
607
642
|
}
|
|
608
|
-
._ExternalInput-
|
|
643
|
+
._ExternalInput-button_z7jih_9 {
|
|
609
644
|
display: flex;
|
|
610
645
|
gap: 8px;
|
|
611
646
|
align-items: center;
|
|
@@ -613,7 +648,7 @@
|
|
|
613
648
|
background-color: white;
|
|
614
649
|
border: 1px solid var(--puck-color-grey-8);
|
|
615
650
|
border-radius: 4px;
|
|
616
|
-
color: var(--puck-color-
|
|
651
|
+
color: var(--puck-color-azure-4);
|
|
617
652
|
padding: 12px 16px;
|
|
618
653
|
font-weight: 500;
|
|
619
654
|
white-space: nowrap;
|
|
@@ -622,24 +657,25 @@
|
|
|
622
657
|
overflow: hidden;
|
|
623
658
|
flex-grow: 1;
|
|
624
659
|
}
|
|
625
|
-
._ExternalInput-
|
|
626
|
-
._ExternalInput-
|
|
660
|
+
._ExternalInput-button_z7jih_9:hover,
|
|
661
|
+
._ExternalInput-detachButton_z7jih_28:hover {
|
|
627
662
|
cursor: pointer;
|
|
628
|
-
background: var(--puck-color-
|
|
629
|
-
|
|
663
|
+
background: var(--puck-color-azure-9);
|
|
664
|
+
color: var(--puck-color-azure-4);
|
|
630
665
|
z-index: 1;
|
|
631
666
|
}
|
|
632
|
-
._ExternalInput--
|
|
667
|
+
._ExternalInput--dataSelected_z7jih_35 ._ExternalInput-button_z7jih_9 {
|
|
668
|
+
color: var(--puck-color-grey-2);
|
|
633
669
|
display: block;
|
|
634
|
-
color: var(--puck-color-neutral-4);
|
|
635
670
|
border-top-right-radius: 0px;
|
|
636
671
|
border-bottom-right-radius: 0px;
|
|
637
672
|
}
|
|
638
|
-
._ExternalInput-
|
|
673
|
+
._ExternalInput-detachButton_z7jih_28 {
|
|
639
674
|
border: 1px solid var(--puck-color-grey-8);
|
|
640
675
|
border-top-right-radius: 4px;
|
|
641
676
|
border-bottom-right-radius: 4px;
|
|
642
|
-
background-color: var(--puck-color-
|
|
677
|
+
background-color: var(--puck-color-grey-11);
|
|
678
|
+
color: var(--puck-color-grey-4);
|
|
643
679
|
display: flex;
|
|
644
680
|
gap: 8px;
|
|
645
681
|
align-items: center;
|
|
@@ -647,87 +683,193 @@
|
|
|
647
683
|
padding: 8px 12px;
|
|
648
684
|
margin-left: -1px;
|
|
649
685
|
}
|
|
650
|
-
.
|
|
651
|
-
background: #00000099;
|
|
652
|
-
display: none;
|
|
653
|
-
justify-content: center;
|
|
654
|
-
align-items: center;
|
|
655
|
-
position: fixed;
|
|
656
|
-
top: 0;
|
|
657
|
-
left: 0;
|
|
658
|
-
bottom: 0;
|
|
659
|
-
right: 0;
|
|
660
|
-
z-index: 1;
|
|
661
|
-
padding: 64px;
|
|
662
|
-
}
|
|
663
|
-
._ExternalInput--modalVisible_l4bks_69 ._ExternalInput-modal_l4bks_55 {
|
|
664
|
-
display: flex;
|
|
665
|
-
}
|
|
666
|
-
._ExternalInput-modalInner_l4bks_73 {
|
|
667
|
-
width: 100%;
|
|
668
|
-
max-width: 1024px;
|
|
669
|
-
border-radius: 16px;
|
|
670
|
-
overflow: hidden;
|
|
671
|
-
background: white;
|
|
686
|
+
._ExternalInputModal_z7jih_56 {
|
|
672
687
|
display: flex;
|
|
673
688
|
flex-direction: column;
|
|
689
|
+
position: relative;
|
|
674
690
|
max-height: 90vh;
|
|
675
691
|
}
|
|
676
|
-
.
|
|
692
|
+
._ExternalInputModal-masthead_z7jih_63 {
|
|
677
693
|
background-color: white;
|
|
678
694
|
padding: 32px 24px;
|
|
679
695
|
}
|
|
680
|
-
.
|
|
681
|
-
overflow-x:
|
|
682
|
-
overflow-y:
|
|
696
|
+
._ExternalInputModal-tableWrapper_z7jih_68 {
|
|
697
|
+
overflow-x: auto;
|
|
698
|
+
overflow-y: auto;
|
|
683
699
|
flex-grow: 1;
|
|
684
700
|
}
|
|
685
|
-
.
|
|
701
|
+
._ExternalInputModal-table_z7jih_68 {
|
|
702
|
+
border-collapse: unset;
|
|
686
703
|
border-spacing: 0px;
|
|
687
704
|
color: var(--puck-color-neutral-4);
|
|
688
705
|
position: relative;
|
|
706
|
+
z-index: 0;
|
|
689
707
|
}
|
|
690
|
-
.
|
|
708
|
+
._ExternalInputModal-thead_z7jih_82 {
|
|
691
709
|
position: sticky;
|
|
692
710
|
top: 0;
|
|
711
|
+
z-index: 1;
|
|
693
712
|
}
|
|
694
|
-
.
|
|
713
|
+
._ExternalInputModal-th_z7jih_82 {
|
|
695
714
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
696
715
|
border-top: 1px solid var(--puck-color-grey-8);
|
|
697
716
|
font-weight: 700;
|
|
698
717
|
padding: 16px 24px;
|
|
699
718
|
opacity: 0.9;
|
|
700
719
|
}
|
|
701
|
-
.
|
|
720
|
+
._ExternalInputModal-td_z7jih_96 {
|
|
721
|
+
font-family: var(--puck-font-stack);
|
|
702
722
|
padding: 16px 24px;
|
|
703
723
|
}
|
|
704
|
-
.
|
|
724
|
+
._ExternalInputModal-tr_z7jih_101:nth-of-type(n) {
|
|
705
725
|
background-color: white;
|
|
706
726
|
}
|
|
707
|
-
.
|
|
727
|
+
._ExternalInputModal-tr_z7jih_101:nth-of-type(2n) {
|
|
708
728
|
background-color: var(--puck-color-grey-10);
|
|
709
729
|
}
|
|
710
|
-
.
|
|
730
|
+
._ExternalInputModal-tr_z7jih_101 ._ExternalInputModal-td_z7jih_96:first-of-type {
|
|
711
731
|
font-weight: 500;
|
|
712
732
|
}
|
|
713
|
-
.
|
|
733
|
+
._ExternalInputModal-tbody_z7jih_113 ._ExternalInputModal-tr_z7jih_101:hover {
|
|
714
734
|
background: var(--puck-color-grey-11);
|
|
715
735
|
color: var(--puck-color-azure-4);
|
|
716
736
|
cursor: pointer;
|
|
717
737
|
position: relative;
|
|
718
738
|
margin-left: -5px;
|
|
719
739
|
}
|
|
720
|
-
.
|
|
740
|
+
._ExternalInputModal-tbody_z7jih_113 ._ExternalInputModal-tr_z7jih_101:hover ._ExternalInputModal-td_z7jih_96:first-of-type {
|
|
721
741
|
border-left: 4px solid var(--puck-color-azure-4);
|
|
722
742
|
padding-left: 20px;
|
|
723
743
|
}
|
|
744
|
+
._ExternalInputModal-tableWrapper_z7jih_68 {
|
|
745
|
+
display: none;
|
|
746
|
+
}
|
|
747
|
+
._ExternalInputModal--hasData_z7jih_132 ._ExternalInputModal-tableWrapper_z7jih_68 {
|
|
748
|
+
display: block;
|
|
749
|
+
}
|
|
750
|
+
._ExternalInputModal-loadingBanner_z7jih_136 {
|
|
751
|
+
display: none;
|
|
752
|
+
background-color: white;
|
|
753
|
+
padding: 64px;
|
|
754
|
+
align-items: center;
|
|
755
|
+
justify-content: center;
|
|
756
|
+
}
|
|
757
|
+
._ExternalInputModal--isLoading_z7jih_144 ._ExternalInputModal-loadingBanner_z7jih_136 {
|
|
758
|
+
display: flex;
|
|
759
|
+
}
|
|
760
|
+
._ExternalInputModal-noContentBanner_z7jih_148 {
|
|
761
|
+
display: none;
|
|
762
|
+
}
|
|
763
|
+
._ExternalInputModal--loaded_z7jih_152:not(._ExternalInputModal--hasData_z7jih_132) ._ExternalInputModal-noContentBanner_z7jih_148 {
|
|
764
|
+
display: block;
|
|
765
|
+
padding: 24px;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
|
769
|
+
._Modal_hx2u6_1 {
|
|
770
|
+
background: #00000099;
|
|
771
|
+
display: none;
|
|
772
|
+
justify-content: center;
|
|
773
|
+
align-items: center;
|
|
774
|
+
position: fixed;
|
|
775
|
+
top: 0;
|
|
776
|
+
left: 0;
|
|
777
|
+
bottom: 0;
|
|
778
|
+
right: 0;
|
|
779
|
+
z-index: 1;
|
|
780
|
+
padding: 64px;
|
|
781
|
+
}
|
|
782
|
+
._Modal--isOpen_hx2u6_15 {
|
|
783
|
+
display: flex;
|
|
784
|
+
}
|
|
785
|
+
._Modal-inner_hx2u6_19 {
|
|
786
|
+
width: 100%;
|
|
787
|
+
max-width: 1024px;
|
|
788
|
+
border-radius: 16px;
|
|
789
|
+
overflow: hidden;
|
|
790
|
+
background: white;
|
|
791
|
+
display: flex;
|
|
792
|
+
flex-direction: column;
|
|
793
|
+
max-height: 90vh;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css/#css-module-data */
|
|
797
|
+
._Heading_1bvy5_1 {
|
|
798
|
+
display: block;
|
|
799
|
+
color: var(--puck-color-black);
|
|
800
|
+
font-family: var(--puck-font-stack);
|
|
801
|
+
font-weight: 700;
|
|
802
|
+
margin: 0;
|
|
803
|
+
}
|
|
804
|
+
._Heading_1bvy5_1 b {
|
|
805
|
+
font-weight: 700;
|
|
806
|
+
}
|
|
807
|
+
._Heading--xxxxl_1bvy5_13 {
|
|
808
|
+
font-size: var(--puck-font-size-xxxxl);
|
|
809
|
+
letter-spacing: 0.08ch;
|
|
810
|
+
font-weight: 800;
|
|
811
|
+
}
|
|
812
|
+
._Heading--xxxl_1bvy5_19 {
|
|
813
|
+
font-size: var(--puck-font-size-xxxl);
|
|
814
|
+
}
|
|
815
|
+
._Heading--xxl_1bvy5_23 {
|
|
816
|
+
font-size: var(--puck-font-size-xxl);
|
|
817
|
+
}
|
|
818
|
+
._Heading--xl_1bvy5_27 {
|
|
819
|
+
font-size: var(--puck-font-size-xl);
|
|
820
|
+
}
|
|
821
|
+
._Heading--l_1bvy5_31 {
|
|
822
|
+
font-size: var(--puck-font-size-l);
|
|
823
|
+
}
|
|
824
|
+
._Heading--m_1bvy5_35 {
|
|
825
|
+
font-size: var(--puck-font-size-m);
|
|
826
|
+
}
|
|
827
|
+
._Heading--s_1bvy5_39 {
|
|
828
|
+
font-size: var(--puck-font-size-s);
|
|
829
|
+
}
|
|
830
|
+
._Heading--xs_1bvy5_43 {
|
|
831
|
+
font-size: var(--puck-font-size-xs);
|
|
832
|
+
}
|
|
724
833
|
|
|
725
834
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css/#css-module-data */
|
|
726
|
-
.
|
|
835
|
+
._ComponentList_3rdy2_1 {
|
|
727
836
|
font-family: var(--puck-font-stack);
|
|
728
837
|
max-width: 100%;
|
|
729
838
|
}
|
|
730
|
-
._ComponentList
|
|
839
|
+
._ComponentList--isExpanded_3rdy2_6 + ._ComponentList_3rdy2_1 {
|
|
840
|
+
margin-top: 12px;
|
|
841
|
+
}
|
|
842
|
+
._ComponentList-content_3rdy2_10 {
|
|
843
|
+
display: none;
|
|
844
|
+
}
|
|
845
|
+
._ComponentList--isExpanded_3rdy2_6 > ._ComponentList-content_3rdy2_10 {
|
|
846
|
+
display: block;
|
|
847
|
+
}
|
|
848
|
+
._ComponentList-title_3rdy2_18 {
|
|
849
|
+
color: var(--puck-color-grey-4);
|
|
850
|
+
display: flex;
|
|
851
|
+
font-size: var(--puck-font-size-xxxs);
|
|
852
|
+
list-style: none;
|
|
853
|
+
padding: 8px;
|
|
854
|
+
text-transform: uppercase;
|
|
855
|
+
gap: 4px;
|
|
856
|
+
border-radius: 4px;
|
|
857
|
+
}
|
|
858
|
+
._ComponentList--isExpanded_3rdy2_6 ._ComponentList-title_3rdy2_18 {
|
|
859
|
+
margin-bottom: 4px;
|
|
860
|
+
}
|
|
861
|
+
._ComponentList-title_3rdy2_18:hover {
|
|
862
|
+
background-color: var(--puck-color-azure-9);
|
|
863
|
+
color: var(--puck-color-azure-4);
|
|
864
|
+
cursor: pointer;
|
|
865
|
+
}
|
|
866
|
+
._ComponentList-titleIcon_3rdy2_39 {
|
|
867
|
+
margin-left: auto;
|
|
868
|
+
}
|
|
869
|
+
._ComponentListItem_3rdy2_43:last-of-type ._ComponentListItem-draggable_3rdy2_43 {
|
|
870
|
+
margin-bottom: 0px;
|
|
871
|
+
}
|
|
872
|
+
._ComponentListItem-draggable_3rdy2_43 {
|
|
731
873
|
background: white;
|
|
732
874
|
padding: 12px;
|
|
733
875
|
display: flex;
|
|
@@ -740,103 +882,76 @@
|
|
|
740
882
|
cursor: grab;
|
|
741
883
|
margin-bottom: 12px;
|
|
742
884
|
}
|
|
743
|
-
.
|
|
744
|
-
margin-bottom: 0px;
|
|
745
|
-
}
|
|
746
|
-
._ComponentList-itemIcon_bvy0z_24 {
|
|
885
|
+
._ComponentListItemIcon_3rdy2_61 {
|
|
747
886
|
color: var(--puck-color-grey-4);
|
|
748
887
|
}
|
|
749
|
-
.
|
|
888
|
+
._ComponentList_3rdy2_1:not(._ComponentList--isDraggingFrom_3rdy2_65) ._ComponentListItem-draggable_3rdy2_43:hover {
|
|
750
889
|
background-color: var(--puck-color-azure-9);
|
|
751
890
|
color: var(--puck-color-azure-4);
|
|
752
891
|
}
|
|
753
892
|
|
|
754
893
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
|
755
|
-
.
|
|
894
|
+
._SidebarSection_r7dv3_1 {
|
|
756
895
|
display: flex;
|
|
757
896
|
position: relative;
|
|
758
897
|
flex-direction: column;
|
|
759
898
|
color: black;
|
|
760
899
|
}
|
|
761
|
-
.
|
|
900
|
+
._SidebarSection_r7dv3_1:last-of-type {
|
|
762
901
|
flex-grow: 1;
|
|
763
902
|
}
|
|
764
|
-
._SidebarSection-
|
|
903
|
+
._SidebarSection-title_r7dv3_12 {
|
|
765
904
|
background: white;
|
|
766
905
|
padding: 16px;
|
|
767
906
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
768
907
|
overflow-x: auto;
|
|
769
908
|
}
|
|
770
|
-
._SidebarSection-
|
|
909
|
+
._SidebarSection-content_r7dv3_19 {
|
|
771
910
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
772
911
|
padding: 16px;
|
|
773
912
|
}
|
|
774
|
-
._SidebarSection--
|
|
913
|
+
._SidebarSection--noPadding_r7dv3_24 ._SidebarSection-content_r7dv3_19 {
|
|
775
914
|
padding: 0px;
|
|
776
915
|
}
|
|
777
|
-
.
|
|
916
|
+
._SidebarSection_r7dv3_1:last-of-type ._SidebarSection-content_r7dv3_19 {
|
|
778
917
|
border-bottom: none;
|
|
779
918
|
flex-grow: 1;
|
|
780
919
|
}
|
|
781
|
-
._SidebarSection-
|
|
920
|
+
._SidebarSection-breadcrumbLabel_r7dv3_33 {
|
|
782
921
|
color: var(--puck-color-azure-3);
|
|
783
922
|
flex-shrink: 0;
|
|
784
923
|
}
|
|
785
|
-
._SidebarSection-
|
|
924
|
+
._SidebarSection-breadcrumbLabel_r7dv3_33:hover {
|
|
786
925
|
color: var(--puck-color-azure-4);
|
|
787
926
|
cursor: pointer;
|
|
788
927
|
text-decoration: underline;
|
|
789
928
|
}
|
|
790
|
-
._SidebarSection-
|
|
929
|
+
._SidebarSection-breadcrumbs_r7dv3_44 {
|
|
791
930
|
align-items: center;
|
|
792
931
|
display: flex;
|
|
793
932
|
gap: 4px;
|
|
794
933
|
}
|
|
795
|
-
._SidebarSection-
|
|
934
|
+
._SidebarSection-breadcrumb_r7dv3_33 {
|
|
796
935
|
align-items: center;
|
|
797
936
|
display: flex;
|
|
798
937
|
gap: 4px;
|
|
799
938
|
}
|
|
800
|
-
._SidebarSection-
|
|
939
|
+
._SidebarSection-heading_r7dv3_56 {
|
|
801
940
|
padding-right: 16px;
|
|
802
941
|
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
.
|
|
816
|
-
font-size: var(--puck-font-size-xxxxl);
|
|
817
|
-
letter-spacing: 0.08ch;
|
|
818
|
-
font-weight: 800;
|
|
819
|
-
}
|
|
820
|
-
._Heading--xxxl_1bvy5_19 {
|
|
821
|
-
font-size: var(--puck-font-size-xxxl);
|
|
822
|
-
}
|
|
823
|
-
._Heading--xxl_1bvy5_23 {
|
|
824
|
-
font-size: var(--puck-font-size-xxl);
|
|
825
|
-
}
|
|
826
|
-
._Heading--xl_1bvy5_27 {
|
|
827
|
-
font-size: var(--puck-font-size-xl);
|
|
828
|
-
}
|
|
829
|
-
._Heading--l_1bvy5_31 {
|
|
830
|
-
font-size: var(--puck-font-size-l);
|
|
831
|
-
}
|
|
832
|
-
._Heading--m_1bvy5_35 {
|
|
833
|
-
font-size: var(--puck-font-size-m);
|
|
834
|
-
}
|
|
835
|
-
._Heading--s_1bvy5_39 {
|
|
836
|
-
font-size: var(--puck-font-size-s);
|
|
837
|
-
}
|
|
838
|
-
._Heading--xs_1bvy5_43 {
|
|
839
|
-
font-size: var(--puck-font-size-xs);
|
|
942
|
+
._SidebarSection-loadingOverlay_r7dv3_60 {
|
|
943
|
+
background: white;
|
|
944
|
+
display: flex;
|
|
945
|
+
justify-content: center;
|
|
946
|
+
align-items: center;
|
|
947
|
+
height: 100%;
|
|
948
|
+
width: 100%;
|
|
949
|
+
top: 0;
|
|
950
|
+
position: absolute;
|
|
951
|
+
z-index: 1;
|
|
952
|
+
pointer-events: all;
|
|
953
|
+
box-sizing: border-box;
|
|
954
|
+
opacity: 0.8;
|
|
840
955
|
}
|
|
841
956
|
|
|
842
957
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|