@measured/puck 0.12.0-canary.ac59e51 → 0.12.0-canary.b0d1620
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +9 -9
- package/dist/{Config-60a50493.d.ts → Config-a03de579.d.ts} +1 -0
- package/dist/index.css +287 -150
- package/dist/index.d.ts +4 -4
- package/dist/index.js +415 -523
- package/dist/rsc.d.ts +1 -1
- package/package.json +22 -1
package/dist/index.css
CHANGED
@@ -130,11 +130,12 @@
|
|
130
130
|
Segoe UI Emoji,
|
131
131
|
Segoe UI Symbol;
|
132
132
|
--puck-font-family-monospaced:
|
133
|
-
|
134
|
-
"
|
135
|
-
"
|
136
|
-
|
137
|
-
|
133
|
+
ui-monospace,
|
134
|
+
"Cascadia Code",
|
135
|
+
"Source Code Pro",
|
136
|
+
Menlo,
|
137
|
+
Consolas,
|
138
|
+
"DejaVu Sans Mono",
|
138
139
|
monospace;
|
139
140
|
--puck-font-family-proportional: var(--puck-font-stack), sans-serif;
|
140
141
|
}
|
@@ -142,7 +143,7 @@
|
|
142
143
|
/* styles/global.css */
|
143
144
|
|
144
145
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
|
145
|
-
.
|
146
|
+
._Button_zx1c8_1 {
|
146
147
|
appearance: none;
|
147
148
|
background: none;
|
148
149
|
border: none;
|
@@ -152,6 +153,7 @@
|
|
152
153
|
align-items: center;
|
153
154
|
gap: 8px;
|
154
155
|
letter-spacing: 0.05ch;
|
156
|
+
font-family: var(--puck-font-family);
|
155
157
|
font-size: 14px;
|
156
158
|
font-weight: 500;
|
157
159
|
text-align: center;
|
@@ -160,52 +162,52 @@
|
|
160
162
|
white-space: nowrap;
|
161
163
|
margin: 0;
|
162
164
|
}
|
163
|
-
._Button--
|
165
|
+
._Button--medium_zx1c8_21 {
|
164
166
|
padding-bottom: 8px;
|
165
167
|
padding-left: 20px;
|
166
168
|
padding-right: 20px;
|
167
169
|
padding-top: 8px;
|
168
170
|
}
|
169
|
-
._Button--
|
171
|
+
._Button--large_zx1c8_28 {
|
170
172
|
padding-bottom: 12px;
|
171
173
|
padding-left: 20px;
|
172
174
|
padding-right: 20px;
|
173
175
|
padding-top: 12px;
|
174
176
|
}
|
175
|
-
._Button-
|
177
|
+
._Button-icon_zx1c8_35 {
|
176
178
|
margin-top: 2px;
|
177
179
|
}
|
178
|
-
.
|
180
|
+
._Button_zx1c8_1:hover {
|
179
181
|
text-decoration: none;
|
180
182
|
}
|
181
|
-
._Button--
|
183
|
+
._Button--primary_zx1c8_43 {
|
182
184
|
background: var(--puck-color-blue);
|
183
185
|
}
|
184
|
-
._Button--
|
186
|
+
._Button--primary_zx1c8_43:hover {
|
185
187
|
opacity: 0.7;
|
186
188
|
transition: opacity 50ms ease-in;
|
187
189
|
}
|
188
|
-
._Button--
|
190
|
+
._Button--secondary_zx1c8_52 {
|
189
191
|
color: currentColor;
|
190
192
|
border: 1px solid currentColor;
|
191
193
|
}
|
192
|
-
._Button--
|
194
|
+
._Button--secondary_zx1c8_52:hover {
|
193
195
|
background-color: var(--puck-color-grey-10);
|
194
196
|
color: black;
|
195
197
|
opacity: 0.7;
|
196
198
|
}
|
197
|
-
._Button--
|
199
|
+
._Button--flush_zx1c8_63 {
|
198
200
|
border-radius: 0;
|
199
201
|
}
|
200
|
-
._Button--
|
202
|
+
._Button--disabled_zx1c8_67 {
|
201
203
|
background: var(--puck-color-grey-10);
|
202
204
|
color: black;
|
203
205
|
cursor: not-allowed;
|
204
206
|
}
|
205
|
-
._Button--
|
207
|
+
._Button--disabled_zx1c8_67:hover {
|
206
208
|
opacity: 1;
|
207
209
|
}
|
208
|
-
._Button--
|
210
|
+
._Button--fullWidth_zx1c8_77 {
|
209
211
|
width: 100%;
|
210
212
|
}
|
211
213
|
|
@@ -397,52 +399,54 @@
|
|
397
399
|
}
|
398
400
|
|
399
401
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
400
|
-
.
|
402
|
+
._Input_199j9_1 {
|
401
403
|
color: var(--puck-color-grey-3);
|
402
404
|
padding: 16px;
|
403
405
|
padding-bottom: 12px;
|
404
406
|
display: block;
|
405
407
|
font-family: var(--puck-font-stack);
|
406
408
|
}
|
407
|
-
.
|
409
|
+
._Input_199j9_1 ._Input_199j9_1 {
|
408
410
|
padding: 0px;
|
409
411
|
}
|
410
|
-
.
|
412
|
+
._Input_199j9_1 * {
|
411
413
|
box-sizing: border-box;
|
412
414
|
}
|
413
|
-
.
|
415
|
+
._Input_199j9_1 + ._Input_199j9_1 {
|
414
416
|
border-top: 1px solid var(--puck-color-grey-8);
|
415
417
|
margin-top: 8px;
|
416
418
|
}
|
417
|
-
.
|
419
|
+
._Input_199j9_1 ._Input_199j9_1 + ._Input_199j9_1 {
|
418
420
|
border-top: 0px;
|
419
421
|
margin-top: 12px;
|
420
422
|
}
|
421
|
-
._Input-
|
423
|
+
._Input-label_199j9_27 {
|
424
|
+
align-items: center;
|
422
425
|
display: flex;
|
423
426
|
padding-bottom: 12px;
|
424
427
|
font-size: var(--puck-font-size-xxs);
|
425
428
|
font-weight: 600;
|
426
429
|
}
|
427
|
-
._Input-
|
430
|
+
._Input-labelIcon_199j9_35 {
|
428
431
|
color: var(--puck-color-grey-6);
|
429
432
|
margin-right: 4px;
|
430
433
|
padding-left: 4px;
|
431
434
|
}
|
432
|
-
._Input-
|
435
|
+
._Input-disabledIcon_199j9_41 {
|
433
436
|
color: var(--puck-color-grey-4);
|
434
437
|
margin-left: auto;
|
435
438
|
}
|
436
|
-
._Input-
|
439
|
+
._Input-input_199j9_46 {
|
440
|
+
background: white;
|
437
441
|
border-width: 1px;
|
438
442
|
border-style: solid;
|
439
443
|
border-color: var(--puck-color-grey-8);
|
440
444
|
border-radius: 4px;
|
441
445
|
font-family: inherit;
|
442
|
-
padding: 12px
|
446
|
+
padding: 12px 15px;
|
443
447
|
width: 100%;
|
444
448
|
}
|
445
|
-
.
|
449
|
+
._Input_199j9_1 select._Input-input_199j9_46 {
|
446
450
|
appearance: none;
|
447
451
|
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;
|
448
452
|
background-size: 12px;
|
@@ -450,76 +454,81 @@
|
|
450
454
|
background-repeat: no-repeat;
|
451
455
|
background-color: white;
|
452
456
|
}
|
453
|
-
._Input--
|
454
|
-
._Input--
|
457
|
+
._Input--readOnly_199j9_68 > ._Input-input_199j9_46,
|
458
|
+
._Input--readOnly_199j9_68 > select._Input-input_199j9_46 {
|
455
459
|
background-color: var(--puck-color-grey-11);
|
456
460
|
border-color: var(--puck-color-grey-8);
|
457
461
|
color: var(--puck-color-grey-5);
|
458
462
|
opacity: 1;
|
459
463
|
}
|
460
|
-
._Input-
|
464
|
+
._Input-input_199j9_46:hover {
|
461
465
|
border-color: var(--puck-color-neutral-3);
|
462
466
|
}
|
463
|
-
._Input-
|
467
|
+
._Input-input_199j9_46:focus {
|
468
|
+
border-color: var(--puck-color-azure-4);
|
469
|
+
outline: var(--puck-color-azure-8) 4px solid;
|
470
|
+
outline-offset: 0;
|
471
|
+
}
|
472
|
+
._Input-radioGroupItems_199j9_86 {
|
464
473
|
display: flex;
|
465
474
|
border: 1px solid var(--puck-color-grey-7);
|
466
475
|
border-radius: 4px;
|
467
476
|
flex-wrap: wrap;
|
468
477
|
overflow: hidden;
|
469
478
|
}
|
470
|
-
._Input-
|
479
|
+
._Input-radio_199j9_86 {
|
471
480
|
border-right: 1px solid var(--puck-color-grey-7);
|
472
481
|
flex-grow: 1;
|
473
482
|
}
|
474
|
-
._Input-
|
483
|
+
._Input-radio_199j9_86:last-of-type {
|
475
484
|
border-right: none;
|
476
485
|
}
|
477
|
-
._Input-
|
486
|
+
._Input-radioInner_199j9_103 {
|
478
487
|
background-color: white;
|
479
488
|
color: var(--puck-color-grey-4);
|
480
489
|
font-size: var(--puck-font-size-xxxs);
|
481
490
|
padding: 8px 12px;
|
482
491
|
text-align: center;
|
483
492
|
}
|
484
|
-
._Input-
|
493
|
+
._Input-radioInner_199j9_103:hover {
|
485
494
|
background-color: var(--puck-color-azure-9);
|
486
495
|
cursor: pointer;
|
487
496
|
}
|
488
|
-
._Input--
|
497
|
+
._Input--readOnly_199j9_68 ._Input-radioGroupItems_199j9_86 {
|
489
498
|
border-color: var(--puck-color-grey-8);
|
490
499
|
}
|
491
|
-
._Input--
|
500
|
+
._Input--readOnly_199j9_68 ._Input-radioInner_199j9_103 {
|
492
501
|
background-color: var(--puck-color-grey-11);
|
493
502
|
color: var(--puck-color-grey-5);
|
494
503
|
}
|
495
|
-
._Input-
|
504
|
+
._Input-radio_199j9_86 ._Input-radioInput_199j9_125:checked ~ ._Input-radioInner_199j9_103 {
|
496
505
|
background-color: var(--puck-color-azure-9);
|
497
506
|
color: var(--puck-color-grey-1);
|
498
507
|
font-weight: 500;
|
499
508
|
}
|
500
|
-
._Input--
|
509
|
+
._Input--readOnly_199j9_68 ._Input-radioInput_199j9_125:checked ~ ._Input-radioInner_199j9_103 {
|
501
510
|
background-color: var(--puck-color-azure-9);
|
502
511
|
color: var(--puck-color-grey-4);
|
503
512
|
}
|
504
|
-
._Input-
|
513
|
+
._Input-radio_199j9_86 ._Input-radioInput_199j9_125 {
|
505
514
|
display: none;
|
506
515
|
}
|
507
|
-
.
|
516
|
+
._Input_199j9_1 textarea._Input-input_199j9_46 {
|
508
517
|
margin-bottom: -4px;
|
509
518
|
}
|
510
519
|
|
511
520
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
512
|
-
.
|
521
|
+
._ArrayField_hsw7n_5 {
|
513
522
|
display: flex;
|
514
523
|
flex-direction: column;
|
515
524
|
background-color: var(--puck-color-grey-8);
|
516
525
|
border: 1px solid var(--puck-color-grey-8);
|
517
526
|
border-radius: 4px;
|
518
527
|
}
|
519
|
-
._ArrayField--
|
528
|
+
._ArrayField--isDraggingFrom_hsw7n_13 {
|
520
529
|
background-color: var(--puck-color-azure-9);
|
521
530
|
}
|
522
|
-
._ArrayField-
|
531
|
+
._ArrayField-addButton_hsw7n_17 {
|
523
532
|
background-color: white;
|
524
533
|
border: none;
|
525
534
|
border-radius: 4px;
|
@@ -532,90 +541,92 @@
|
|
532
541
|
padding: 16px;
|
533
542
|
text-align: left;
|
534
543
|
}
|
535
|
-
._ArrayField--
|
544
|
+
._ArrayField--hasItems_hsw7n_31 > ._ArrayField-addButton_hsw7n_17 {
|
536
545
|
border-top-left-radius: 0;
|
537
546
|
border-top-right-radius: 0;
|
538
547
|
}
|
539
|
-
.
|
548
|
+
._ArrayField_hsw7n_5:not(._ArrayField--isDraggingFrom_hsw7n_13) > ._ArrayField-addButton_hsw7n_17:hover {
|
540
549
|
background: var(--puck-color-azure-9);
|
541
550
|
color: var(--puck-color-azure-4);
|
542
551
|
}
|
543
|
-
.
|
552
|
+
._ArrayFieldItem_hsw7n_45 {
|
544
553
|
background: white;
|
545
554
|
border-top-left-radius: 4px;
|
546
555
|
border-top-right-radius: 4px;
|
547
556
|
display: block;
|
548
557
|
margin-bottom: 1px;
|
549
558
|
}
|
550
|
-
._ArrayField--
|
559
|
+
._ArrayField--isDraggingFrom_hsw7n_13 > ._ArrayFieldItem_hsw7n_45:not(._ArrayFieldItem--isDragging_hsw7n_53) {
|
551
560
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
552
561
|
margin-bottom: 0;
|
553
562
|
}
|
554
|
-
._ArrayFieldItem--
|
563
|
+
._ArrayFieldItem--isExpanded_hsw7n_58 {
|
555
564
|
border-bottom: 0;
|
556
|
-
outline:
|
565
|
+
outline-offset: 0px !important;
|
566
|
+
outline: 1px solid var(--puck-color-azure-6) !important;
|
557
567
|
}
|
558
|
-
._ArrayFieldItem--
|
568
|
+
._ArrayFieldItem--isDragging_hsw7n_53 {
|
559
569
|
box-shadow: rgba(140, 152, 164, 0.25) 0 3px 6px 0;
|
560
570
|
}
|
561
|
-
.
|
571
|
+
._ArrayFieldItem_hsw7n_45 + ._ArrayFieldItem_hsw7n_45 {
|
562
572
|
border-top-left-radius: 0;
|
563
573
|
border-top-right-radius: 0;
|
564
574
|
}
|
565
|
-
._ArrayFieldItem-
|
575
|
+
._ArrayFieldItem-summary_hsw7n_73 {
|
566
576
|
color: var(--puck-color-grey-3);
|
567
577
|
display: flex;
|
568
578
|
align-items: center;
|
579
|
+
gap: 2px;
|
569
580
|
justify-content: space-between;
|
570
581
|
font-size: var(--puck-font-size-xxs);
|
571
582
|
list-style: none;
|
572
|
-
padding: 12px
|
583
|
+
padding: 12px 15px;
|
573
584
|
position: relative;
|
574
585
|
overflow: hidden;
|
575
586
|
}
|
576
|
-
._ArrayFieldItem--
|
587
|
+
._ArrayFieldItem--readOnly_hsw7n_86 > ._ArrayFieldItem-summary_hsw7n_73 {
|
577
588
|
background-color: var(--puck-color-grey-11);
|
578
589
|
color: var(--puck-color-grey-5);
|
579
590
|
}
|
580
|
-
._ArrayFieldItem--
|
591
|
+
._ArrayFieldItem--isExpanded_hsw7n_58 > ._ArrayFieldItem-summary_hsw7n_73 {
|
581
592
|
font-weight: 600;
|
582
593
|
}
|
583
|
-
.
|
594
|
+
._ArrayFieldItem_hsw7n_45:first-of-type > ._ArrayFieldItem-summary_hsw7n_73 {
|
584
595
|
border-top-left-radius: 4px;
|
585
596
|
border-top-right-radius: 4px;
|
586
597
|
}
|
587
|
-
._ArrayFieldItem-
|
588
|
-
._ArrayFieldItem--
|
598
|
+
._ArrayFieldItem-summary_hsw7n_73:hover,
|
599
|
+
._ArrayFieldItem--isExpanded_hsw7n_58 > ._ArrayFieldItem-summary_hsw7n_73 {
|
589
600
|
background: var(--puck-color-azure-9);
|
590
601
|
cursor: pointer;
|
591
602
|
color: var(--puck-color-azure-4);
|
592
603
|
}
|
593
|
-
._ArrayFieldItem-
|
604
|
+
._ArrayFieldItem-body_hsw7n_107 {
|
594
605
|
display: none;
|
595
606
|
}
|
596
|
-
._ArrayFieldItem--
|
607
|
+
._ArrayFieldItem--isExpanded_hsw7n_58 > ._ArrayFieldItem-body_hsw7n_107 {
|
597
608
|
display: block;
|
598
609
|
}
|
599
|
-
._ArrayFieldItem-
|
610
|
+
._ArrayFieldItem-fieldset_hsw7n_115 {
|
600
611
|
border: none;
|
601
612
|
border-top: 1px solid var(--puck-color-grey-8);
|
602
613
|
margin: 0;
|
603
|
-
padding: 16px;
|
614
|
+
padding: 16px 15px;
|
604
615
|
}
|
605
|
-
._ArrayFieldItem-
|
616
|
+
._ArrayFieldItem-rhs_hsw7n_122 {
|
606
617
|
display: flex;
|
607
|
-
gap:
|
618
|
+
gap: 4px;
|
608
619
|
align-items: center;
|
609
620
|
}
|
610
|
-
._ArrayFieldItem-
|
621
|
+
._ArrayFieldItem-actions_hsw7n_128 {
|
611
622
|
display: flex;
|
612
|
-
gap:
|
623
|
+
gap: 4px;
|
613
624
|
opacity: 0;
|
614
625
|
}
|
615
|
-
._ArrayFieldItem-
|
626
|
+
._ArrayFieldItem-summary_hsw7n_73:hover > ._ArrayFieldItem-rhs_hsw7n_122 > ._ArrayFieldItem-actions_hsw7n_128 {
|
616
627
|
opacity: 1;
|
617
628
|
}
|
618
|
-
._ArrayFieldItem-
|
629
|
+
._ArrayFieldItem-action_hsw7n_128:hover {
|
619
630
|
background: var(--puck-color-grey-9);
|
620
631
|
border-radius: 4px;
|
621
632
|
color: var(--puck-color-blue);
|
@@ -634,13 +645,13 @@
|
|
634
645
|
}
|
635
646
|
|
636
647
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
637
|
-
.
|
648
|
+
._ExternalInput_157li_1 {
|
638
649
|
font-family: var(--puck-font-stack);
|
639
650
|
}
|
640
|
-
._ExternalInput-
|
651
|
+
._ExternalInput-actions_157li_5 {
|
641
652
|
display: flex;
|
642
653
|
}
|
643
|
-
._ExternalInput-
|
654
|
+
._ExternalInput-button_157li_9 {
|
644
655
|
display: flex;
|
645
656
|
gap: 8px;
|
646
657
|
align-items: center;
|
@@ -657,20 +668,20 @@
|
|
657
668
|
overflow: hidden;
|
658
669
|
flex-grow: 1;
|
659
670
|
}
|
660
|
-
._ExternalInput-
|
661
|
-
._ExternalInput-
|
671
|
+
._ExternalInput-button_157li_9:hover,
|
672
|
+
._ExternalInput-detachButton_157li_28:hover {
|
662
673
|
cursor: pointer;
|
663
674
|
background: var(--puck-color-azure-9);
|
664
675
|
color: var(--puck-color-azure-4);
|
665
676
|
z-index: 1;
|
666
677
|
}
|
667
|
-
._ExternalInput--
|
678
|
+
._ExternalInput--dataSelected_157li_35 ._ExternalInput-button_157li_9 {
|
668
679
|
color: var(--puck-color-grey-2);
|
669
680
|
display: block;
|
670
681
|
border-top-right-radius: 0px;
|
671
682
|
border-bottom-right-radius: 0px;
|
672
683
|
}
|
673
|
-
._ExternalInput-
|
684
|
+
._ExternalInput-detachButton_157li_28 {
|
674
685
|
border: 1px solid var(--puck-color-grey-8);
|
675
686
|
border-top-right-radius: 4px;
|
676
687
|
border-bottom-right-radius: 4px;
|
@@ -683,84 +694,85 @@
|
|
683
694
|
padding: 8px 12px;
|
684
695
|
margin-left: -1px;
|
685
696
|
}
|
686
|
-
.
|
697
|
+
._ExternalInputModal_157li_56 {
|
687
698
|
display: flex;
|
688
699
|
flex-direction: column;
|
689
700
|
position: relative;
|
690
701
|
max-height: 90vh;
|
691
702
|
}
|
692
|
-
._ExternalInputModal-
|
703
|
+
._ExternalInputModal-masthead_157li_63 {
|
693
704
|
background-color: white;
|
694
705
|
padding: 32px 24px;
|
695
706
|
}
|
696
|
-
._ExternalInputModal-
|
707
|
+
._ExternalInputModal-tableWrapper_157li_68 {
|
697
708
|
overflow-x: auto;
|
698
709
|
overflow-y: auto;
|
699
710
|
flex-grow: 1;
|
700
711
|
}
|
701
|
-
._ExternalInputModal-
|
712
|
+
._ExternalInputModal-table_157li_68 {
|
702
713
|
border-collapse: unset;
|
703
714
|
border-spacing: 0px;
|
704
715
|
color: var(--puck-color-neutral-4);
|
705
716
|
position: relative;
|
706
717
|
z-index: 0;
|
718
|
+
min-width: 100%;
|
707
719
|
}
|
708
|
-
._ExternalInputModal-
|
720
|
+
._ExternalInputModal-thead_157li_83 {
|
709
721
|
position: sticky;
|
710
722
|
top: 0;
|
711
723
|
z-index: 1;
|
712
724
|
}
|
713
|
-
._ExternalInputModal-
|
725
|
+
._ExternalInputModal-th_157li_83 {
|
714
726
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
715
727
|
border-top: 1px solid var(--puck-color-grey-8);
|
716
728
|
font-weight: 700;
|
717
729
|
padding: 16px 24px;
|
718
730
|
opacity: 0.9;
|
719
731
|
}
|
720
|
-
._ExternalInputModal-
|
732
|
+
._ExternalInputModal-td_157li_97 {
|
721
733
|
font-family: var(--puck-font-stack);
|
722
734
|
padding: 16px 24px;
|
723
735
|
}
|
724
|
-
._ExternalInputModal-
|
736
|
+
._ExternalInputModal-tr_157li_102:nth-of-type(n) {
|
725
737
|
background-color: white;
|
726
738
|
}
|
727
|
-
._ExternalInputModal-
|
739
|
+
._ExternalInputModal-tr_157li_102:nth-of-type(2n) {
|
728
740
|
background-color: var(--puck-color-grey-10);
|
729
741
|
}
|
730
|
-
._ExternalInputModal-
|
742
|
+
._ExternalInputModal-tr_157li_102 ._ExternalInputModal-td_157li_97:first-of-type {
|
731
743
|
font-weight: 500;
|
732
744
|
}
|
733
|
-
._ExternalInputModal-
|
745
|
+
._ExternalInputModal-tbody_157li_114 ._ExternalInputModal-tr_157li_102:hover {
|
734
746
|
background: var(--puck-color-grey-11);
|
735
747
|
color: var(--puck-color-azure-4);
|
736
748
|
cursor: pointer;
|
737
749
|
position: relative;
|
738
750
|
margin-left: -5px;
|
739
751
|
}
|
740
|
-
._ExternalInputModal-
|
752
|
+
._ExternalInputModal-tbody_157li_114 ._ExternalInputModal-tr_157li_102:hover ._ExternalInputModal-td_157li_97:first-of-type {
|
741
753
|
border-left: 4px solid var(--puck-color-azure-4);
|
742
754
|
padding-left: 20px;
|
743
755
|
}
|
744
|
-
._ExternalInputModal-
|
756
|
+
._ExternalInputModal-tableWrapper_157li_68 {
|
745
757
|
display: none;
|
746
758
|
}
|
747
|
-
._ExternalInputModal--
|
759
|
+
._ExternalInputModal--hasData_157li_133 ._ExternalInputModal-tableWrapper_157li_68 {
|
748
760
|
display: block;
|
749
761
|
}
|
750
|
-
._ExternalInputModal-
|
762
|
+
._ExternalInputModal-loadingBanner_157li_137 {
|
751
763
|
display: none;
|
752
764
|
background-color: white;
|
753
765
|
padding: 64px;
|
754
766
|
align-items: center;
|
755
767
|
justify-content: center;
|
756
768
|
}
|
757
|
-
._ExternalInputModal--
|
769
|
+
._ExternalInputModal--isLoading_157li_145 ._ExternalInputModal-loadingBanner_157li_137 {
|
758
770
|
display: flex;
|
759
771
|
}
|
760
|
-
._ExternalInputModal-
|
772
|
+
._ExternalInputModal-noContentBanner_157li_149 {
|
761
773
|
display: none;
|
762
774
|
}
|
763
|
-
._ExternalInputModal--
|
775
|
+
._ExternalInputModal--loaded_157li_153:not(._ExternalInputModal--hasData_157li_133) ._ExternalInputModal-noContentBanner_157li_149 {
|
764
776
|
display: block;
|
765
777
|
padding: 24px;
|
766
778
|
}
|
@@ -832,20 +844,20 @@
|
|
832
844
|
}
|
833
845
|
|
834
846
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css/#css-module-data */
|
835
|
-
.
|
847
|
+
._ComponentList_1m8r5_1 {
|
836
848
|
font-family: var(--puck-font-stack);
|
837
849
|
max-width: 100%;
|
838
850
|
}
|
839
|
-
._ComponentList--
|
851
|
+
._ComponentList--isExpanded_1m8r5_6 + ._ComponentList_1m8r5_1 {
|
840
852
|
margin-top: 12px;
|
841
853
|
}
|
842
|
-
._ComponentList-
|
854
|
+
._ComponentList-content_1m8r5_10 {
|
843
855
|
display: none;
|
844
856
|
}
|
845
|
-
._ComponentList--
|
857
|
+
._ComponentList--isExpanded_1m8r5_6 > ._ComponentList-content_1m8r5_10 {
|
846
858
|
display: block;
|
847
859
|
}
|
848
|
-
._ComponentList-
|
860
|
+
._ComponentList-title_1m8r5_18 {
|
849
861
|
color: var(--puck-color-grey-4);
|
850
862
|
display: flex;
|
851
863
|
font-size: var(--puck-font-size-xxxs);
|
@@ -855,21 +867,21 @@
|
|
855
867
|
gap: 4px;
|
856
868
|
border-radius: 4px;
|
857
869
|
}
|
858
|
-
._ComponentList--
|
870
|
+
._ComponentList--isExpanded_1m8r5_6 ._ComponentList-title_1m8r5_18 {
|
859
871
|
margin-bottom: 4px;
|
860
872
|
}
|
861
|
-
._ComponentList-
|
873
|
+
._ComponentList-title_1m8r5_18:hover {
|
862
874
|
background-color: var(--puck-color-azure-9);
|
863
875
|
color: var(--puck-color-azure-4);
|
864
876
|
cursor: pointer;
|
865
877
|
}
|
866
|
-
._ComponentList-
|
878
|
+
._ComponentList-titleIcon_1m8r5_39 {
|
867
879
|
margin-left: auto;
|
868
880
|
}
|
869
|
-
.
|
881
|
+
._ComponentListItem_1m8r5_43:last-of-type ._ComponentListItem-draggable_1m8r5_43 {
|
870
882
|
margin-bottom: 0px;
|
871
883
|
}
|
872
|
-
._ComponentListItem-
|
884
|
+
._ComponentListItem-draggable_1m8r5_43 {
|
873
885
|
background: white;
|
874
886
|
padding: 12px;
|
875
887
|
display: flex;
|
@@ -878,68 +890,72 @@
|
|
878
890
|
font-size: var(--puck-font-size-xxs);
|
879
891
|
justify-content: space-between;
|
880
892
|
align-items: center;
|
881
|
-
gap: 12px;
|
882
893
|
cursor: grab;
|
883
894
|
margin-bottom: 12px;
|
884
895
|
}
|
885
|
-
.
|
886
|
-
|
896
|
+
._ComponentListItem-name_1m8r5_60 {
|
897
|
+
overflow-x: hidden;
|
898
|
+
text-overflow: ellipsis;
|
899
|
+
white-space: nowrap;
|
887
900
|
}
|
888
|
-
.
|
901
|
+
._ComponentList_1m8r5_1:not(._ComponentList--isDraggingFrom_1m8r5_66) ._ComponentListItem-draggable_1m8r5_43:hover {
|
889
902
|
background-color: var(--puck-color-azure-9);
|
890
903
|
color: var(--puck-color-azure-4);
|
891
904
|
}
|
892
905
|
|
893
906
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
894
|
-
.
|
907
|
+
._SidebarSection_1uyg2_1 {
|
895
908
|
display: flex;
|
896
909
|
position: relative;
|
897
910
|
flex-direction: column;
|
898
911
|
color: black;
|
899
912
|
}
|
900
|
-
.
|
913
|
+
._SidebarSection_1uyg2_1:last-of-type {
|
901
914
|
flex-grow: 1;
|
902
915
|
}
|
903
|
-
._SidebarSection-
|
916
|
+
._SidebarSection-title_1uyg2_12 {
|
904
917
|
background: white;
|
905
918
|
padding: 16px;
|
906
919
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
907
920
|
overflow-x: auto;
|
908
921
|
}
|
909
|
-
._SidebarSection-
|
922
|
+
._SidebarSection-content_1uyg2_19 {
|
910
923
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
911
924
|
padding: 16px;
|
912
925
|
}
|
913
|
-
._SidebarSection--
|
926
|
+
._SidebarSection--noPadding_1uyg2_24 ._SidebarSection-content_1uyg2_19 {
|
914
927
|
padding: 0px;
|
915
928
|
}
|
916
|
-
.
|
929
|
+
._SidebarSection--noPadding_1uyg2_24 ._SidebarSection-content_1uyg2_19:last-child {
|
930
|
+
padding-bottom: 4px;
|
931
|
+
}
|
932
|
+
._SidebarSection_1uyg2_1:last-of-type ._SidebarSection-content_1uyg2_19 {
|
917
933
|
border-bottom: none;
|
918
934
|
flex-grow: 1;
|
919
935
|
}
|
920
|
-
._SidebarSection-
|
936
|
+
._SidebarSection-breadcrumbLabel_1uyg2_37 {
|
921
937
|
color: var(--puck-color-azure-3);
|
922
938
|
flex-shrink: 0;
|
923
939
|
}
|
924
|
-
._SidebarSection-
|
940
|
+
._SidebarSection-breadcrumbLabel_1uyg2_37:hover {
|
925
941
|
color: var(--puck-color-azure-4);
|
926
942
|
cursor: pointer;
|
927
943
|
text-decoration: underline;
|
928
944
|
}
|
929
|
-
._SidebarSection-
|
945
|
+
._SidebarSection-breadcrumbs_1uyg2_48 {
|
930
946
|
align-items: center;
|
931
947
|
display: flex;
|
932
948
|
gap: 4px;
|
933
949
|
}
|
934
|
-
._SidebarSection-
|
950
|
+
._SidebarSection-breadcrumb_1uyg2_37 {
|
935
951
|
align-items: center;
|
936
952
|
display: flex;
|
937
953
|
gap: 4px;
|
938
954
|
}
|
939
|
-
._SidebarSection-
|
955
|
+
._SidebarSection-heading_1uyg2_60 {
|
940
956
|
padding-right: 16px;
|
941
957
|
}
|
942
|
-
._SidebarSection-
|
958
|
+
._SidebarSection-loadingOverlay_1uyg2_64 {
|
943
959
|
background: white;
|
944
960
|
display: flex;
|
945
961
|
justify-content: center;
|
@@ -955,7 +971,7 @@
|
|
955
971
|
}
|
956
972
|
|
957
973
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
958
|
-
.
|
974
|
+
._LayerTree_o89yt_1 {
|
959
975
|
color: var(--puck-color-grey-2);
|
960
976
|
font-family: var(--puck-font-stack);
|
961
977
|
font-size: var(--puck-font-size-xxs);
|
@@ -964,77 +980,198 @@
|
|
964
980
|
list-style: none;
|
965
981
|
padding: 0;
|
966
982
|
}
|
967
|
-
._LayerTree-
|
983
|
+
._LayerTree-zoneTitle_o89yt_11 {
|
968
984
|
color: var(--puck-color-grey-4);
|
969
985
|
font-size: var(--puck-font-size-xxxs);
|
970
986
|
text-transform: uppercase;
|
971
987
|
}
|
972
|
-
._LayerTree-
|
988
|
+
._LayerTree-helper_o89yt_17 {
|
973
989
|
text-align: center;
|
974
990
|
color: var(--puck-color-grey-6);
|
975
991
|
font-family: var(--puck-font-stack);
|
976
992
|
margin: 8px 4px;
|
977
993
|
}
|
978
|
-
.
|
994
|
+
._Layer_o89yt_1 {
|
979
995
|
position: relative;
|
980
996
|
border: 1px solid transparent;
|
981
997
|
}
|
982
|
-
._Layer-
|
983
|
-
padding-left:
|
984
|
-
padding-right:
|
985
|
-
border-radius:
|
998
|
+
._Layer-inner_o89yt_29 {
|
999
|
+
padding-left: 12px;
|
1000
|
+
padding-right: 4px;
|
1001
|
+
border-radius: 4px;
|
986
1002
|
}
|
987
|
-
._Layer--
|
988
|
-
padding-left:
|
1003
|
+
._Layer--containsZone_o89yt_35 > ._Layer-inner_o89yt_29 {
|
1004
|
+
padding-left: 0;
|
989
1005
|
}
|
990
|
-
._Layer-
|
1006
|
+
._Layer-clickable_o89yt_39 {
|
991
1007
|
align-items: center;
|
992
1008
|
display: flex;
|
993
1009
|
}
|
994
|
-
._Layer-
|
1010
|
+
._Layer-inner_o89yt_29:hover {
|
995
1011
|
cursor: pointer;
|
996
1012
|
}
|
997
|
-
.
|
998
|
-
._Layer--
|
1013
|
+
._Layer_o89yt_1:not(._Layer--isSelected_o89yt_48) > ._Layer-inner_o89yt_29:hover,
|
1014
|
+
._Layer--isHovering_o89yt_49 > ._Layer-inner_o89yt_29 {
|
999
1015
|
color: var(--puck-color-blue);
|
1000
1016
|
background: var(--puck-color-azure-85);
|
1001
1017
|
}
|
1002
|
-
._Layer--
|
1018
|
+
._Layer--isSelected_o89yt_48 {
|
1003
1019
|
background: var(--puck-color-azure-9);
|
1004
1020
|
border-color: var(--puck-color-azure-7);
|
1005
1021
|
border-radius: 4px;
|
1006
1022
|
}
|
1007
|
-
._Layer--
|
1023
|
+
._Layer--isSelected_o89yt_48 > ._Layer-inner_o89yt_29 {
|
1008
1024
|
background: var(--puck-color-azure-85);
|
1009
1025
|
font-weight: 600;
|
1010
1026
|
}
|
1011
|
-
._Layer--
|
1012
|
-
._Layer--
|
1027
|
+
._Layer--isSelected_o89yt_48 > ._Layer-inner_o89yt_29 > ._Layer-clickable_o89yt_39 > ._Layer-chevron_o89yt_65,
|
1028
|
+
._Layer--childIsSelected_o89yt_66 > ._Layer-inner_o89yt_29 > ._Layer-clickable_o89yt_39 > ._Layer-chevron_o89yt_65 {
|
1013
1029
|
transform: scaleY(-1);
|
1014
1030
|
}
|
1015
|
-
._Layer-
|
1031
|
+
._Layer-zones_o89yt_70 {
|
1016
1032
|
display: none;
|
1017
|
-
margin-left:
|
1033
|
+
margin-left: 12px;
|
1018
1034
|
}
|
1019
|
-
._Layer--
|
1020
|
-
._Layer--
|
1035
|
+
._Layer--isSelected_o89yt_48 > ._Layer-zones_o89yt_70,
|
1036
|
+
._Layer--childIsSelected_o89yt_66 > ._Layer-zones_o89yt_70 {
|
1021
1037
|
display: block;
|
1022
1038
|
}
|
1023
|
-
._Layer-
|
1024
|
-
margin-left:
|
1039
|
+
._Layer-zones_o89yt_70 > ._LayerTree_o89yt_1 {
|
1040
|
+
margin-left: 12px;
|
1025
1041
|
}
|
1026
|
-
._Layer-
|
1027
|
-
._LayerTree-
|
1042
|
+
._Layer-title_o89yt_84,
|
1043
|
+
._LayerTree-zoneTitle_o89yt_11 {
|
1028
1044
|
display: flex;
|
1029
1045
|
gap: 8px;
|
1030
1046
|
align-items: center;
|
1031
1047
|
margin: 8px 4px;
|
1048
|
+
overflow-x: hidden;
|
1032
1049
|
}
|
1033
|
-
._Layer-
|
1050
|
+
._Layer-name_o89yt_93 {
|
1051
|
+
overflow-x: hidden;
|
1052
|
+
text-overflow: ellipsis;
|
1053
|
+
white-space: nowrap;
|
1054
|
+
}
|
1055
|
+
._Layer-icon_o89yt_99 {
|
1034
1056
|
color: var(--puck-color-rose-6);
|
1035
1057
|
margin-top: 4px;
|
1036
1058
|
}
|
1037
|
-
._Layer-
|
1059
|
+
._Layer-zoneIcon_o89yt_104 {
|
1038
1060
|
color: var(--puck-color-grey-7);
|
1039
1061
|
margin-top: 4px;
|
1040
1062
|
}
|
1063
|
+
|
1064
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
1065
|
+
._Puck_vj9gy_19 {
|
1066
|
+
--puck-frame-width: minmax(266px, auto);
|
1067
|
+
--puck-side-bar-width: minmax(186px, 250px);
|
1068
|
+
--puck-space-px: 16px;
|
1069
|
+
bottom: 0;
|
1070
|
+
display: grid;
|
1071
|
+
grid-template-areas: "header header header" "left editor right";
|
1072
|
+
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
1073
|
+
grid-template-rows: min-content auto;
|
1074
|
+
height: 100vh;
|
1075
|
+
left: 0;
|
1076
|
+
overflow-x: auto;
|
1077
|
+
position: fixed;
|
1078
|
+
right: 0;
|
1079
|
+
top: 0;
|
1080
|
+
}
|
1081
|
+
._Puck--leftSideBarVisible_vj9gy_36 {
|
1082
|
+
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
1083
|
+
}
|
1084
|
+
@media (min-width: 766px) {
|
1085
|
+
._Puck_vj9gy_19 {
|
1086
|
+
--puck-frame-width: auto;
|
1087
|
+
}
|
1088
|
+
}
|
1089
|
+
@media (min-width: 990px) {
|
1090
|
+
._Puck_vj9gy_19 {
|
1091
|
+
--puck-side-bar-width: 256px;
|
1092
|
+
}
|
1093
|
+
}
|
1094
|
+
@media (min-width: 1198px) {
|
1095
|
+
._Puck_vj9gy_19 {
|
1096
|
+
--puck-side-bar-width: 274px;
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
@media (min-width: 1398px) {
|
1100
|
+
._Puck_vj9gy_19 {
|
1101
|
+
--puck-side-bar-width: 290px;
|
1102
|
+
}
|
1103
|
+
}
|
1104
|
+
@media (min-width: 1598px) {
|
1105
|
+
._Puck_vj9gy_19 {
|
1106
|
+
--puck-side-bar-width: 320px;
|
1107
|
+
}
|
1108
|
+
}
|
1109
|
+
._Puck-header_vj9gy_72 {
|
1110
|
+
background: var(--puck-color-white);
|
1111
|
+
border-bottom: 1px solid var(--puck-color-grey-8);
|
1112
|
+
color: var(--puck-color-black);
|
1113
|
+
grid-area: header;
|
1114
|
+
}
|
1115
|
+
._Puck-headerInner_vj9gy_79 {
|
1116
|
+
align-items: start;
|
1117
|
+
display: grid;
|
1118
|
+
gap: var(--puck-space-px);
|
1119
|
+
grid-template-areas: "left middle right";
|
1120
|
+
grid-template-columns: 1fr auto 1fr;
|
1121
|
+
grid-template-rows: auto;
|
1122
|
+
padding: var(--puck-space-px);
|
1123
|
+
}
|
1124
|
+
._Puck-headerToggle_vj9gy_89 {
|
1125
|
+
padding-top: 2px;
|
1126
|
+
}
|
1127
|
+
._Puck-headerTitle_vj9gy_93 {
|
1128
|
+
align-self: center;
|
1129
|
+
}
|
1130
|
+
._Puck-headerPath_vj9gy_97 {
|
1131
|
+
font-family: var(--puck-font-family-monospaced);
|
1132
|
+
font-size: var(--puck-font-size-xxs);
|
1133
|
+
font-weight: normal;
|
1134
|
+
word-break: break-all;
|
1135
|
+
}
|
1136
|
+
._Puck-headerTools_vj9gy_104 {
|
1137
|
+
display: flex;
|
1138
|
+
gap: 16px;
|
1139
|
+
justify-content: flex-end;
|
1140
|
+
}
|
1141
|
+
._Puck-leftSideBar_vj9gy_110 {
|
1142
|
+
background: var(--puck-color-grey-11);
|
1143
|
+
border-right: 1px solid var(--puck-color-grey-8);
|
1144
|
+
display: flex;
|
1145
|
+
flex-direction: column;
|
1146
|
+
grid-area: left;
|
1147
|
+
overflow-y: auto;
|
1148
|
+
}
|
1149
|
+
._Puck-frame_vj9gy_119 {
|
1150
|
+
display: flex;
|
1151
|
+
flex-direction: column;
|
1152
|
+
grid-area: editor;
|
1153
|
+
overflow-y: auto;
|
1154
|
+
position: relative;
|
1155
|
+
}
|
1156
|
+
._Puck-root_vj9gy_127 {
|
1157
|
+
box-shadow: 0 0 0 calc(var(--puck-space-px) * 2) var(--puck-color-grey-10);
|
1158
|
+
margin: var(--puck-space-px);
|
1159
|
+
zoom: 0.75;
|
1160
|
+
}
|
1161
|
+
@media (min-width: 1198px) {
|
1162
|
+
._Puck-root_vj9gy_127 {
|
1163
|
+
margin: calc(var(--puck-space-px) * 2);
|
1164
|
+
}
|
1165
|
+
}
|
1166
|
+
._Puck-page_vj9gy_139 {
|
1167
|
+
border: 1px solid var(--puck-color-grey-8);
|
1168
|
+
}
|
1169
|
+
._Puck-rightSideBar_vj9gy_143 {
|
1170
|
+
background: var(--puck-color-white);
|
1171
|
+
border-left: 1px solid var(--puck-color-grey-8);
|
1172
|
+
display: flex;
|
1173
|
+
flex-direction: column;
|
1174
|
+
font-family: var(--puck-font-stack);
|
1175
|
+
grid-area: right;
|
1176
|
+
overflow-y: auto;
|
1177
|
+
}
|