@measured/puck 0.11.0-canary.6145c32 → 0.11.0-canary.7f13efc
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 +265 -182
- package/dist/index.d.ts +118 -55
- package/dist/index.js +30894 -1134
- 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;
|
|
431
|
+
}
|
|
432
|
+
._Input-disabledIcon_1kw16_40 {
|
|
433
|
+
color: var(--puck-color-grey-4);
|
|
434
|
+
margin-left: auto;
|
|
416
435
|
}
|
|
417
|
-
._Input-
|
|
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-
|
|
556
|
-
display: none;
|
|
557
|
-
}
|
|
558
|
-
._ArrayFieldItem-body_zp334_104 {
|
|
593
|
+
._ArrayFieldItem-body_13rp0_105 {
|
|
559
594
|
display: none;
|
|
560
595
|
}
|
|
561
|
-
._ArrayFieldItem--
|
|
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_ufl4h_1 {
|
|
603
638
|
font-family: var(--puck-font-stack);
|
|
604
639
|
}
|
|
605
|
-
._ExternalInput-
|
|
640
|
+
._ExternalInput-actions_ufl4h_5 {
|
|
606
641
|
display: flex;
|
|
607
642
|
}
|
|
608
|
-
._ExternalInput-
|
|
643
|
+
._ExternalInput-button_ufl4h_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_ufl4h_9:hover,
|
|
661
|
+
._ExternalInput-detachButton_ufl4h_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--hasData_ufl4h_35 ._ExternalInput-button_ufl4h_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_ufl4h_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,161 @@
|
|
|
647
683
|
padding: 8px 12px;
|
|
648
684
|
margin-left: -1px;
|
|
649
685
|
}
|
|
650
|
-
._ExternalInput-
|
|
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;
|
|
672
|
-
display: flex;
|
|
673
|
-
flex-direction: column;
|
|
674
|
-
max-height: 90vh;
|
|
675
|
-
}
|
|
676
|
-
._ExternalInput-modalHeading_l4bks_84 {
|
|
686
|
+
._ExternalInput-masthead_ufl4h_56 {
|
|
677
687
|
background-color: white;
|
|
678
688
|
padding: 32px 24px;
|
|
679
689
|
}
|
|
680
|
-
._ExternalInput-
|
|
690
|
+
._ExternalInput-modalTableWrapper_ufl4h_61 {
|
|
681
691
|
overflow-x: scroll;
|
|
682
692
|
overflow-y: scroll;
|
|
683
693
|
flex-grow: 1;
|
|
684
694
|
}
|
|
685
|
-
.
|
|
695
|
+
._ExternalInput-table_ufl4h_67 {
|
|
686
696
|
border-spacing: 0px;
|
|
687
697
|
color: var(--puck-color-neutral-4);
|
|
688
698
|
position: relative;
|
|
689
699
|
}
|
|
690
|
-
.
|
|
700
|
+
._ExternalInput-table_ufl4h_67 thead {
|
|
691
701
|
position: sticky;
|
|
692
702
|
top: 0;
|
|
693
703
|
}
|
|
694
|
-
.
|
|
704
|
+
._ExternalInput-table_ufl4h_67 th {
|
|
695
705
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
696
706
|
border-top: 1px solid var(--puck-color-grey-8);
|
|
697
707
|
font-weight: 700;
|
|
698
708
|
padding: 16px 24px;
|
|
699
709
|
opacity: 0.9;
|
|
700
710
|
}
|
|
701
|
-
.
|
|
711
|
+
._ExternalInput-table_ufl4h_67 td {
|
|
702
712
|
padding: 16px 24px;
|
|
703
713
|
}
|
|
704
|
-
.
|
|
714
|
+
._ExternalInput-table_ufl4h_67 tr:nth-of-type(n) {
|
|
705
715
|
background-color: white;
|
|
706
716
|
}
|
|
707
|
-
.
|
|
717
|
+
._ExternalInput-table_ufl4h_67 tr:nth-of-type(2n) {
|
|
708
718
|
background-color: var(--puck-color-grey-10);
|
|
709
719
|
}
|
|
710
|
-
.
|
|
720
|
+
._ExternalInput-table_ufl4h_67 tr td:first-of-type {
|
|
711
721
|
font-weight: 500;
|
|
712
722
|
}
|
|
713
|
-
.
|
|
723
|
+
._ExternalInput-table_ufl4h_67 tbody tr:hover {
|
|
714
724
|
background: var(--puck-color-grey-11);
|
|
715
725
|
color: var(--puck-color-azure-4);
|
|
716
726
|
cursor: pointer;
|
|
717
727
|
position: relative;
|
|
718
728
|
margin-left: -5px;
|
|
719
729
|
}
|
|
720
|
-
.
|
|
730
|
+
._ExternalInput-table_ufl4h_67 tbody tr:hover td:first-of-type {
|
|
721
731
|
border-left: 4px solid var(--puck-color-azure-4);
|
|
722
732
|
padding-left: 20px;
|
|
723
733
|
}
|
|
724
734
|
|
|
735
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
|
736
|
+
._Modal_hx2u6_1 {
|
|
737
|
+
background: #00000099;
|
|
738
|
+
display: none;
|
|
739
|
+
justify-content: center;
|
|
740
|
+
align-items: center;
|
|
741
|
+
position: fixed;
|
|
742
|
+
top: 0;
|
|
743
|
+
left: 0;
|
|
744
|
+
bottom: 0;
|
|
745
|
+
right: 0;
|
|
746
|
+
z-index: 1;
|
|
747
|
+
padding: 64px;
|
|
748
|
+
}
|
|
749
|
+
._Modal--isOpen_hx2u6_15 {
|
|
750
|
+
display: flex;
|
|
751
|
+
}
|
|
752
|
+
._Modal-inner_hx2u6_19 {
|
|
753
|
+
width: 100%;
|
|
754
|
+
max-width: 1024px;
|
|
755
|
+
border-radius: 16px;
|
|
756
|
+
overflow: hidden;
|
|
757
|
+
background: white;
|
|
758
|
+
display: flex;
|
|
759
|
+
flex-direction: column;
|
|
760
|
+
max-height: 90vh;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css/#css-module-data */
|
|
764
|
+
._Heading_7sjz7_1 {
|
|
765
|
+
display: block;
|
|
766
|
+
color: var(--puck-color-black);
|
|
767
|
+
font-family: var(--puck-font-stack);
|
|
768
|
+
font-weight: 700;
|
|
769
|
+
margin: 0;
|
|
770
|
+
word-break: break-word;
|
|
771
|
+
}
|
|
772
|
+
._Heading_7sjz7_1 b {
|
|
773
|
+
font-weight: 700;
|
|
774
|
+
}
|
|
775
|
+
._Heading--xxxxl_7sjz7_14 {
|
|
776
|
+
font-size: var(--puck-font-size-xxxxl);
|
|
777
|
+
letter-spacing: 0.08ch;
|
|
778
|
+
font-weight: 800;
|
|
779
|
+
}
|
|
780
|
+
._Heading--xxxl_7sjz7_20 {
|
|
781
|
+
font-size: var(--puck-font-size-xxxl);
|
|
782
|
+
}
|
|
783
|
+
._Heading--xxl_7sjz7_24 {
|
|
784
|
+
font-size: var(--puck-font-size-xxl);
|
|
785
|
+
}
|
|
786
|
+
._Heading--xl_7sjz7_28 {
|
|
787
|
+
font-size: var(--puck-font-size-xl);
|
|
788
|
+
}
|
|
789
|
+
._Heading--l_7sjz7_32 {
|
|
790
|
+
font-size: var(--puck-font-size-l);
|
|
791
|
+
}
|
|
792
|
+
._Heading--m_7sjz7_36 {
|
|
793
|
+
font-size: var(--puck-font-size-m);
|
|
794
|
+
}
|
|
795
|
+
._Heading--s_7sjz7_40 {
|
|
796
|
+
font-size: var(--puck-font-size-s);
|
|
797
|
+
}
|
|
798
|
+
._Heading--xs_7sjz7_44 {
|
|
799
|
+
font-size: var(--puck-font-size-xs);
|
|
800
|
+
}
|
|
801
|
+
|
|
725
802
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css/#css-module-data */
|
|
726
|
-
.
|
|
803
|
+
._ComponentList_3rdy2_1 {
|
|
727
804
|
font-family: var(--puck-font-stack);
|
|
728
805
|
max-width: 100%;
|
|
729
806
|
}
|
|
730
|
-
._ComponentList
|
|
807
|
+
._ComponentList--isExpanded_3rdy2_6 + ._ComponentList_3rdy2_1 {
|
|
808
|
+
margin-top: 12px;
|
|
809
|
+
}
|
|
810
|
+
._ComponentList-content_3rdy2_10 {
|
|
811
|
+
display: none;
|
|
812
|
+
}
|
|
813
|
+
._ComponentList--isExpanded_3rdy2_6 > ._ComponentList-content_3rdy2_10 {
|
|
814
|
+
display: block;
|
|
815
|
+
}
|
|
816
|
+
._ComponentList-title_3rdy2_18 {
|
|
817
|
+
color: var(--puck-color-grey-4);
|
|
818
|
+
display: flex;
|
|
819
|
+
font-size: var(--puck-font-size-xxxs);
|
|
820
|
+
list-style: none;
|
|
821
|
+
padding: 8px;
|
|
822
|
+
text-transform: uppercase;
|
|
823
|
+
gap: 4px;
|
|
824
|
+
border-radius: 4px;
|
|
825
|
+
}
|
|
826
|
+
._ComponentList--isExpanded_3rdy2_6 ._ComponentList-title_3rdy2_18 {
|
|
827
|
+
margin-bottom: 4px;
|
|
828
|
+
}
|
|
829
|
+
._ComponentList-title_3rdy2_18:hover {
|
|
830
|
+
background-color: var(--puck-color-azure-9);
|
|
831
|
+
color: var(--puck-color-azure-4);
|
|
832
|
+
cursor: pointer;
|
|
833
|
+
}
|
|
834
|
+
._ComponentList-titleIcon_3rdy2_39 {
|
|
835
|
+
margin-left: auto;
|
|
836
|
+
}
|
|
837
|
+
._ComponentListItem_3rdy2_43:last-of-type ._ComponentListItem-draggable_3rdy2_43 {
|
|
838
|
+
margin-bottom: 0px;
|
|
839
|
+
}
|
|
840
|
+
._ComponentListItem-draggable_3rdy2_43 {
|
|
731
841
|
background: white;
|
|
732
842
|
padding: 12px;
|
|
733
843
|
display: flex;
|
|
@@ -740,103 +850,76 @@
|
|
|
740
850
|
cursor: grab;
|
|
741
851
|
margin-bottom: 12px;
|
|
742
852
|
}
|
|
743
|
-
.
|
|
744
|
-
margin-bottom: 0px;
|
|
745
|
-
}
|
|
746
|
-
._ComponentList-itemIcon_bvy0z_24 {
|
|
853
|
+
._ComponentListItemIcon_3rdy2_61 {
|
|
747
854
|
color: var(--puck-color-grey-4);
|
|
748
855
|
}
|
|
749
|
-
.
|
|
856
|
+
._ComponentList_3rdy2_1:not(._ComponentList--isDraggingFrom_3rdy2_65) ._ComponentListItem-draggable_3rdy2_43:hover {
|
|
750
857
|
background-color: var(--puck-color-azure-9);
|
|
751
858
|
color: var(--puck-color-azure-4);
|
|
752
859
|
}
|
|
753
860
|
|
|
754
861
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
|
755
|
-
.
|
|
862
|
+
._SidebarSection_r7dv3_1 {
|
|
756
863
|
display: flex;
|
|
757
864
|
position: relative;
|
|
758
865
|
flex-direction: column;
|
|
759
866
|
color: black;
|
|
760
867
|
}
|
|
761
|
-
.
|
|
868
|
+
._SidebarSection_r7dv3_1:last-of-type {
|
|
762
869
|
flex-grow: 1;
|
|
763
870
|
}
|
|
764
|
-
._SidebarSection-
|
|
871
|
+
._SidebarSection-title_r7dv3_12 {
|
|
765
872
|
background: white;
|
|
766
873
|
padding: 16px;
|
|
767
874
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
768
875
|
overflow-x: auto;
|
|
769
876
|
}
|
|
770
|
-
._SidebarSection-
|
|
877
|
+
._SidebarSection-content_r7dv3_19 {
|
|
771
878
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
|
772
879
|
padding: 16px;
|
|
773
880
|
}
|
|
774
|
-
._SidebarSection--
|
|
881
|
+
._SidebarSection--noPadding_r7dv3_24 ._SidebarSection-content_r7dv3_19 {
|
|
775
882
|
padding: 0px;
|
|
776
883
|
}
|
|
777
|
-
.
|
|
884
|
+
._SidebarSection_r7dv3_1:last-of-type ._SidebarSection-content_r7dv3_19 {
|
|
778
885
|
border-bottom: none;
|
|
779
886
|
flex-grow: 1;
|
|
780
887
|
}
|
|
781
|
-
._SidebarSection-
|
|
888
|
+
._SidebarSection-breadcrumbLabel_r7dv3_33 {
|
|
782
889
|
color: var(--puck-color-azure-3);
|
|
783
890
|
flex-shrink: 0;
|
|
784
891
|
}
|
|
785
|
-
._SidebarSection-
|
|
892
|
+
._SidebarSection-breadcrumbLabel_r7dv3_33:hover {
|
|
786
893
|
color: var(--puck-color-azure-4);
|
|
787
894
|
cursor: pointer;
|
|
788
895
|
text-decoration: underline;
|
|
789
896
|
}
|
|
790
|
-
._SidebarSection-
|
|
897
|
+
._SidebarSection-breadcrumbs_r7dv3_44 {
|
|
791
898
|
align-items: center;
|
|
792
899
|
display: flex;
|
|
793
900
|
gap: 4px;
|
|
794
901
|
}
|
|
795
|
-
._SidebarSection-
|
|
902
|
+
._SidebarSection-breadcrumb_r7dv3_33 {
|
|
796
903
|
align-items: center;
|
|
797
904
|
display: flex;
|
|
798
905
|
gap: 4px;
|
|
799
906
|
}
|
|
800
|
-
._SidebarSection-
|
|
907
|
+
._SidebarSection-heading_r7dv3_56 {
|
|
801
908
|
padding-right: 16px;
|
|
802
909
|
}
|
|
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);
|
|
910
|
+
._SidebarSection-loadingOverlay_r7dv3_60 {
|
|
911
|
+
background: white;
|
|
912
|
+
display: flex;
|
|
913
|
+
justify-content: center;
|
|
914
|
+
align-items: center;
|
|
915
|
+
height: 100%;
|
|
916
|
+
width: 100%;
|
|
917
|
+
top: 0;
|
|
918
|
+
position: absolute;
|
|
919
|
+
z-index: 1;
|
|
920
|
+
pointer-events: all;
|
|
921
|
+
box-sizing: border-box;
|
|
922
|
+
opacity: 0.8;
|
|
840
923
|
}
|
|
841
924
|
|
|
842
925
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|