@measured/puck 0.14.0-canary.22a4182 → 0.14.0-canary.26bc4ff
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 +8 -0
- package/dist/{Config-1444273f.d.ts → Config-09628f3c.d.ts} +43 -26
- package/dist/index.css +414 -264
- package/dist/index.d.ts +92 -51
- package/dist/index.js +1525 -723
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +4 -1
- package/package.json +4 -2
package/dist/index.css
CHANGED
@@ -137,7 +137,7 @@
|
|
137
137
|
/* styles.css */
|
138
138
|
|
139
139
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
|
140
|
-
.
|
140
|
+
._Button_1t64k_1 {
|
141
141
|
appearance: none;
|
142
142
|
background: none;
|
143
143
|
border: 1px solid transparent;
|
@@ -159,65 +159,71 @@
|
|
159
159
|
white-space: nowrap;
|
160
160
|
margin: 0;
|
161
161
|
}
|
162
|
-
.
|
163
|
-
.
|
162
|
+
._Button_1t64k_1:hover,
|
163
|
+
._Button_1t64k_1:active {
|
164
164
|
transition: none;
|
165
165
|
}
|
166
|
-
._Button--
|
166
|
+
._Button--medium_1t64k_29 {
|
167
167
|
min-height: 34px;
|
168
168
|
padding-bottom: 7px;
|
169
169
|
padding-left: 19px;
|
170
170
|
padding-right: 19px;
|
171
171
|
padding-top: 7px;
|
172
172
|
}
|
173
|
-
._Button--
|
173
|
+
._Button--large_1t64k_37 {
|
174
174
|
padding-bottom: 11px;
|
175
175
|
padding-left: 19px;
|
176
176
|
padding-right: 19px;
|
177
177
|
padding-top: 11px;
|
178
178
|
}
|
179
|
-
._Button-
|
179
|
+
._Button-icon_1t64k_44 {
|
180
180
|
margin-top: 2px;
|
181
181
|
}
|
182
|
-
._Button--
|
182
|
+
._Button--primary_1t64k_48 {
|
183
183
|
background: var(--puck-color-azure-04);
|
184
184
|
}
|
185
|
-
.
|
185
|
+
._Button_1t64k_1:focus-visible {
|
186
186
|
outline: 2px solid var(--puck-color-azure-05);
|
187
187
|
outline-offset: 2px;
|
188
188
|
}
|
189
189
|
@media (hover: hover) and (pointer: fine) {
|
190
|
-
._Button--
|
190
|
+
._Button--primary_1t64k_48:hover {
|
191
191
|
background-color: var(--puck-color-azure-03);
|
192
192
|
}
|
193
193
|
}
|
194
|
-
._Button--
|
194
|
+
._Button--primary_1t64k_48:active {
|
195
195
|
background-color: var(--puck-color-azure-02);
|
196
196
|
}
|
197
|
-
._Button--
|
198
|
-
border: 1px solid
|
199
|
-
color:
|
197
|
+
._Button--secondary_1t64k_67 {
|
198
|
+
border: 1px solid currentColor;
|
199
|
+
color: currentColor;
|
200
200
|
}
|
201
201
|
@media (hover: hover) and (pointer: fine) {
|
202
|
-
._Button--
|
202
|
+
._Button--secondary_1t64k_67:hover {
|
203
203
|
background-color: var(--puck-color-azure-12);
|
204
|
+
color: var(--puck-color-black);
|
204
205
|
}
|
205
206
|
}
|
206
|
-
._Button--
|
207
|
+
._Button--secondary_1t64k_67:active {
|
207
208
|
background-color: var(--puck-color-azure-11);
|
209
|
+
color: var(--puck-color-black);
|
208
210
|
}
|
209
|
-
._Button--
|
211
|
+
._Button--flush_1t64k_84 {
|
210
212
|
border-radius: 0;
|
211
213
|
}
|
212
|
-
._Button--
|
213
|
-
._Button--
|
214
|
+
._Button--disabled_1t64k_88,
|
215
|
+
._Button--disabled_1t64k_88:hover {
|
214
216
|
background-color: var(--puck-color-grey-07);
|
215
217
|
color: var(--puck-color-grey-03);
|
216
218
|
cursor: not-allowed;
|
217
219
|
}
|
218
|
-
._Button--
|
220
|
+
._Button--fullWidth_1t64k_95 {
|
221
|
+
justify-content: center;
|
219
222
|
width: 100%;
|
220
223
|
}
|
224
|
+
._Button-spinner_1t64k_100 {
|
225
|
+
padding-left: 8px;
|
226
|
+
}
|
221
227
|
|
222
228
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Drawer/styles.module.css/#css-module-data */
|
223
229
|
._Drawer_6zh0b_1 {
|
@@ -277,41 +283,42 @@
|
|
277
283
|
}
|
278
284
|
|
279
285
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
280
|
-
.
|
281
|
-
outline-offset: 0px !important;
|
286
|
+
._DraggableComponent_1542z_1 {
|
282
287
|
pointer-events: auto;
|
288
|
+
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
283
289
|
}
|
284
|
-
.
|
285
|
-
outline: 2px solid var(--puck-color-azure-05);
|
286
|
-
}
|
287
|
-
._DraggableComponent--isDragging_1vpvt_10 {
|
290
|
+
._DraggableComponent--isDragging_1542z_11 {
|
288
291
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
289
|
-
outline: 2px var(--puck-color-azure-09) solid !important;
|
290
292
|
overflow: hidden;
|
291
293
|
}
|
292
|
-
._DraggableComponent-
|
294
|
+
._DraggableComponent-contents_1542z_16 {
|
293
295
|
position: relative;
|
294
296
|
pointer-events: none;
|
295
297
|
z-index: 0;
|
296
298
|
}
|
297
|
-
._DraggableComponent-
|
298
|
-
._DraggableComponent-
|
299
|
+
._DraggableComponent-contents_1542z_16::before,
|
300
|
+
._DraggableComponent-contents_1542z_16::after {
|
299
301
|
content: " ";
|
300
302
|
display: table;
|
301
303
|
}
|
302
|
-
._DraggableComponent-
|
303
|
-
display: none;
|
304
|
-
background: color-mix(in srgb, var(--puck-color-azure-08) 30%, transparent);
|
304
|
+
._DraggableComponent-overlay_1542z_29 {
|
305
305
|
cursor: pointer;
|
306
306
|
height: 100%;
|
307
307
|
width: 100%;
|
308
308
|
top: 0;
|
309
|
+
outline-offset: -2px;
|
309
310
|
position: absolute;
|
310
|
-
z-index: 0;
|
311
311
|
pointer-events: none;
|
312
312
|
box-sizing: border-box;
|
313
|
+
z-index: 1;
|
314
|
+
}
|
315
|
+
._DraggableComponent_1542z_1:focus-visible > ._DraggableComponent-overlay_1542z_29 {
|
316
|
+
outline: 1px solid var(--puck-color-azure-05);
|
313
317
|
}
|
314
|
-
._DraggableComponent-
|
318
|
+
._DraggableComponent--isDragging_1542z_11 > ._DraggableComponent-overlay_1542z_29 {
|
319
|
+
outline: 1px var(--puck-color-azure-09) solid !important;
|
320
|
+
}
|
321
|
+
._DraggableComponent-loadingOverlay_1542z_49 {
|
315
322
|
background: var(--puck-color-white);
|
316
323
|
color: var(--puck-color-grey-03);
|
317
324
|
border-radius: 4px;
|
@@ -326,40 +333,34 @@
|
|
326
333
|
opacity: 0.8;
|
327
334
|
z-index: 1;
|
328
335
|
}
|
329
|
-
.
|
330
|
-
|
336
|
+
._DraggableComponent_1542z_1:hover:not(._DraggableComponent--isLocked_1542z_65) > ._DraggableComponent-overlay_1542z_29 {
|
337
|
+
background: var(--overlay-background);
|
331
338
|
pointer-events: none;
|
332
339
|
}
|
333
|
-
._DraggableComponent--
|
334
|
-
|
340
|
+
._DraggableComponent--forceHover_1542z_71 > ._DraggableComponent-overlay_1542z_29 {
|
341
|
+
background: var(--overlay-background);
|
335
342
|
pointer-events: none;
|
336
343
|
}
|
337
|
-
.
|
344
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):hover > ._DraggableComponent-overlay_1542z_29 {
|
338
345
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
339
346
|
}
|
340
|
-
._DraggableComponent--
|
341
|
-
display: block;
|
342
|
-
background: transparent;
|
347
|
+
._DraggableComponent--indicativeHover_1542z_81 > ._DraggableComponent-overlay_1542z_29 {
|
343
348
|
pointer-events: none;
|
344
349
|
}
|
345
|
-
.
|
350
|
+
._DraggableComponent_1542z_1:not(._DraggableComponent--isSelected_1542z_76):has(._DraggableComponent_1542z_1:hover > ._DraggableComponent-overlay_1542z_29) > ._DraggableComponent-overlay_1542z_29 {
|
346
351
|
display: none;
|
347
352
|
}
|
348
|
-
._DraggableComponent--
|
353
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-overlay_1542z_29 {
|
349
354
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
350
355
|
}
|
351
|
-
._DraggableComponent--
|
352
|
-
background: none;
|
356
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 {
|
353
357
|
display: block;
|
354
358
|
position: sticky;
|
355
|
-
|
356
|
-
z-index: 1;
|
359
|
+
z-index: 2;
|
357
360
|
}
|
358
|
-
._DraggableComponent-
|
361
|
+
._DraggableComponent-actions_1542z_97 {
|
359
362
|
position: absolute;
|
360
|
-
right: 6.5px;
|
361
363
|
width: auto;
|
362
|
-
top: -48px;
|
363
364
|
padding: 4px;
|
364
365
|
border-top-left-radius: 8px;
|
365
366
|
border-top-right-radius: 8px;
|
@@ -372,11 +373,12 @@
|
|
372
373
|
gap: 4px;
|
373
374
|
pointer-events: auto;
|
374
375
|
box-sizing: border-box;
|
376
|
+
transform-origin: right top;
|
375
377
|
}
|
376
|
-
._DraggableComponent--
|
378
|
+
._DraggableComponent--isSelected_1542z_76 > ._DraggableComponent-actionsOverlay_1542z_97 > ._DraggableComponent-actions_1542z_97 {
|
377
379
|
display: flex;
|
378
380
|
}
|
379
|
-
._DraggableComponent-
|
381
|
+
._DraggableComponent-actionsLabel_1542z_127 {
|
380
382
|
color: var(--puck-color-grey-08);
|
381
383
|
display: flex;
|
382
384
|
font-size: var(--puck-font-size-xxxs);
|
@@ -386,11 +388,11 @@
|
|
386
388
|
padding-left: 8px;
|
387
389
|
padding-right: 16px;
|
388
390
|
margin-right: 8px;
|
389
|
-
border-right:
|
391
|
+
border-right: 0.5px solid var(--puck-color-grey-05);
|
390
392
|
text-overflow: ellipsis;
|
391
393
|
white-space: nowrap;
|
392
394
|
}
|
393
|
-
._DraggableComponent-
|
395
|
+
._DraggableComponent-action_1542z_97 {
|
394
396
|
background: transparent;
|
395
397
|
border: none;
|
396
398
|
color: var(--puck-color-grey-08);
|
@@ -403,23 +405,23 @@
|
|
403
405
|
justify-content: center;
|
404
406
|
transition: color 50ms ease-in;
|
405
407
|
}
|
406
|
-
._DraggableComponent-
|
408
|
+
._DraggableComponent-action_1542z_97:focus-visible {
|
407
409
|
outline: 2px solid var(--puck-color-azure-05);
|
408
410
|
outline-offset: -2px;
|
409
411
|
}
|
410
412
|
@media (hover: hover) and (pointer: fine) {
|
411
|
-
._DraggableComponent-
|
413
|
+
._DraggableComponent-action_1542z_97:hover {
|
412
414
|
color: var(--puck-color-azure-06);
|
413
415
|
transition: none;
|
414
416
|
}
|
415
417
|
}
|
416
|
-
._DraggableComponent-
|
418
|
+
._DraggableComponent-action_1542z_97:active {
|
417
419
|
color: var(--puck-color-azure-07);
|
418
420
|
transition: none;
|
419
421
|
}
|
420
422
|
|
421
423
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
422
|
-
.
|
424
|
+
._DropZone_jtf9d_1 {
|
423
425
|
margin-left: auto;
|
424
426
|
margin-right: auto;
|
425
427
|
position: relative;
|
@@ -427,42 +429,36 @@
|
|
427
429
|
outline-offset: -1px;
|
428
430
|
width: 100%;
|
429
431
|
}
|
430
|
-
._DropZone
|
431
|
-
zoom: 1.33;
|
432
|
-
}
|
433
|
-
._DropZone--zoomEnabled_utidm_10 ._DropZone-renderWrapper_utidm_14 {
|
434
|
-
zoom: 0.75;
|
435
|
-
}
|
436
|
-
._DropZone-content_utidm_18 {
|
432
|
+
._DropZone-content_jtf9d_10 {
|
437
433
|
min-height: 128px;
|
438
434
|
height: 100%;
|
439
435
|
}
|
440
|
-
._DropZone--
|
436
|
+
._DropZone--userIsDragging_jtf9d_15 ._DropZone-content_jtf9d_10 {
|
441
437
|
pointer-events: all;
|
442
438
|
}
|
443
|
-
._DropZone--
|
439
|
+
._DropZone--userIsDragging_jtf9d_15:not(._DropZone--draggingOverArea_jtf9d_19):not(._DropZone--draggingNewComponent_jtf9d_20) > ._DropZone-content_jtf9d_10 {
|
444
440
|
pointer-events: none;
|
445
441
|
}
|
446
|
-
._DropZone--
|
447
|
-
._DropZone--
|
448
|
-
._DropZone--
|
449
|
-
background: var(--puck-color-azure-
|
442
|
+
._DropZone--isAreaSelected_jtf9d_26,
|
443
|
+
._DropZone--draggingOverArea_jtf9d_19:not(:has(._DropZone--hoveringOverArea_jtf9d_27)),
|
444
|
+
._DropZone--hoveringOverArea_jtf9d_27:not(._DropZone--isDisabled_jtf9d_28):not(._DropZone--isRootZone_jtf9d_29):not(._DropZone--hasChildren_jtf9d_30) {
|
445
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
450
446
|
outline: 2px dashed var(--puck-color-azure-08);
|
451
447
|
}
|
452
|
-
.
|
453
|
-
background: var(--puck-color-azure-
|
448
|
+
._DropZone_jtf9d_1:not(._DropZone--hasChildren_jtf9d_30) {
|
449
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
454
450
|
outline: 2px dashed var(--puck-color-azure-08);
|
455
451
|
}
|
456
|
-
._DropZone--
|
452
|
+
._DropZone--isDestination_jtf9d_40 {
|
457
453
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
458
454
|
}
|
459
|
-
._DropZone--
|
455
|
+
._DropZone--isDestination_jtf9d_40:not(._DropZone--isRootZone_jtf9d_29) {
|
460
456
|
background: var(--puck-color-azure-10) !important;
|
461
457
|
}
|
462
|
-
._DropZone-
|
458
|
+
._DropZone-item_jtf9d_48 {
|
463
459
|
position: relative;
|
464
460
|
}
|
465
|
-
._DropZone-
|
461
|
+
._DropZone-hitbox_jtf9d_52 {
|
466
462
|
position: absolute;
|
467
463
|
bottom: -12px;
|
468
464
|
height: 24px;
|
@@ -471,35 +467,35 @@
|
|
471
467
|
}
|
472
468
|
|
473
469
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
474
|
-
.
|
470
|
+
._IconButton_swpni_1 {
|
475
471
|
align-items: center;
|
476
472
|
background: transparent;
|
477
473
|
border: none;
|
478
474
|
border-radius: 4px;
|
479
475
|
color: currentColor;
|
480
|
-
cursor: pointer;
|
481
476
|
display: flex;
|
482
477
|
font-family: var(--puck-font-family);
|
483
478
|
justify-content: center;
|
484
479
|
padding: 4px;
|
485
480
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
486
481
|
}
|
487
|
-
.
|
482
|
+
._IconButton_swpni_1:focus-visible {
|
488
483
|
outline: 2px solid var(--puck-color-azure-05);
|
489
484
|
outline-offset: -2px;
|
490
485
|
}
|
491
486
|
@media (hover: hover) and (pointer: fine) {
|
492
|
-
.
|
487
|
+
._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
|
493
488
|
background: var(--puck-color-azure-12);
|
494
489
|
color: var(--puck-color-azure-04);
|
490
|
+
cursor: pointer;
|
495
491
|
transition: none;
|
496
492
|
}
|
497
493
|
}
|
498
|
-
.
|
494
|
+
._IconButton_swpni_1:active {
|
499
495
|
background: var(--puck-color-azure-11);
|
500
496
|
transition: none;
|
501
497
|
}
|
502
|
-
._IconButton-
|
498
|
+
._IconButton-title_swpni_33 {
|
503
499
|
clip: rect(0 0 0 0);
|
504
500
|
clip-path: inset(100%);
|
505
501
|
height: 1px;
|
@@ -508,6 +504,9 @@
|
|
508
504
|
white-space: nowrap;
|
509
505
|
width: 1px;
|
510
506
|
}
|
507
|
+
._IconButton--disabled_swpni_20 {
|
508
|
+
color: var(--puck-color-grey-07);
|
509
|
+
}
|
511
510
|
|
512
511
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
513
512
|
._SidebarSection_125qe_1 {
|
@@ -677,7 +676,7 @@
|
|
677
676
|
}
|
678
677
|
|
679
678
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
680
|
-
.
|
679
|
+
._Puck_1d0ul_19 {
|
681
680
|
--puck-frame-width: auto;
|
682
681
|
--puck-side-bar-width: 186px;
|
683
682
|
--puck-space-px: 16px;
|
@@ -687,57 +686,57 @@
|
|
687
686
|
grid-template-areas: "header header header" "left editor right";
|
688
687
|
grid-template-columns: 0 var(--puck-frame-width) 0;
|
689
688
|
grid-template-rows: min-content auto;
|
690
|
-
height:
|
689
|
+
height: 100dvh;
|
691
690
|
left: 0;
|
692
691
|
position: fixed;
|
693
692
|
right: 0;
|
694
693
|
top: 0;
|
695
694
|
}
|
696
|
-
._Puck--
|
695
|
+
._Puck--leftSideBarVisible_1d0ul_36 {
|
697
696
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
698
697
|
}
|
699
|
-
._Puck--
|
698
|
+
._Puck--rightSideBarVisible_1d0ul_42 {
|
700
699
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
701
700
|
}
|
702
|
-
._Puck--
|
701
|
+
._Puck--leftSideBarVisible_1d0ul_36._Puck--rightSideBarVisible_1d0ul_42 {
|
703
702
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
704
703
|
}
|
705
704
|
@media (min-width: 458px) {
|
706
|
-
.
|
705
|
+
._Puck_1d0ul_19 {
|
707
706
|
--puck-frame-width: minmax(266px, auto);
|
708
707
|
}
|
709
708
|
}
|
710
709
|
@media (min-width: 638px) {
|
711
|
-
.
|
710
|
+
._Puck_1d0ul_19 {
|
712
711
|
--puck-side-bar-width: minmax(186px, 250px);
|
713
712
|
}
|
714
713
|
}
|
715
714
|
@media (min-width: 766px) {
|
716
|
-
.
|
715
|
+
._Puck_1d0ul_19 {
|
717
716
|
--puck-frame-width: auto;
|
718
717
|
}
|
719
718
|
}
|
720
719
|
@media (min-width: 990px) {
|
721
|
-
.
|
720
|
+
._Puck_1d0ul_19 {
|
722
721
|
--puck-side-bar-width: 256px;
|
723
722
|
}
|
724
723
|
}
|
725
724
|
@media (min-width: 1198px) {
|
726
|
-
.
|
725
|
+
._Puck_1d0ul_19 {
|
727
726
|
--puck-side-bar-width: 274px;
|
728
727
|
}
|
729
728
|
}
|
730
729
|
@media (min-width: 1398px) {
|
731
|
-
.
|
730
|
+
._Puck_1d0ul_19 {
|
732
731
|
--puck-side-bar-width: 290px;
|
733
732
|
}
|
734
733
|
}
|
735
734
|
@media (min-width: 1598px) {
|
736
|
-
.
|
735
|
+
._Puck_1d0ul_19 {
|
737
736
|
--puck-side-bar-width: 320px;
|
738
737
|
}
|
739
738
|
}
|
740
|
-
._Puck-
|
739
|
+
._Puck-header_1d0ul_96 {
|
741
740
|
background: var(--puck-color-white);
|
742
741
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
743
742
|
color: var(--puck-color-black);
|
@@ -745,7 +744,7 @@
|
|
745
744
|
position: relative;
|
746
745
|
max-width: 100vw;
|
747
746
|
}
|
748
|
-
._Puck-
|
747
|
+
._Puck-headerInner_1d0ul_105 {
|
749
748
|
align-items: end;
|
750
749
|
display: grid;
|
751
750
|
gap: var(--puck-space-px);
|
@@ -754,43 +753,43 @@
|
|
754
753
|
grid-template-rows: auto;
|
755
754
|
padding: var(--puck-space-px);
|
756
755
|
}
|
757
|
-
._Puck-
|
756
|
+
._Puck-headerToggle_1d0ul_115 {
|
758
757
|
color: var(--puck-color-grey-05);
|
759
758
|
display: flex;
|
760
759
|
margin-left: -4px;
|
761
760
|
padding-top: 2px;
|
762
761
|
}
|
763
|
-
._Puck--
|
764
|
-
._Puck--
|
762
|
+
._Puck--rightSideBarVisible_1d0ul_42 ._Puck-rightSideBarToggle_1d0ul_122,
|
763
|
+
._Puck--leftSideBarVisible_1d0ul_36 ._Puck-leftSideBarToggle_1d0ul_123 {
|
765
764
|
color: var(--puck-color-black);
|
766
765
|
}
|
767
|
-
._Puck-
|
766
|
+
._Puck-headerTitle_1d0ul_127 {
|
768
767
|
align-self: center;
|
769
768
|
}
|
770
|
-
._Puck-
|
769
|
+
._Puck-headerPath_1d0ul_131 {
|
771
770
|
font-family: var(--puck-font-family-monospaced);
|
772
771
|
font-size: var(--puck-font-size-xxs);
|
773
772
|
font-weight: normal;
|
774
773
|
word-break: break-all;
|
775
774
|
}
|
776
|
-
._Puck-
|
775
|
+
._Puck-headerTools_1d0ul_138 {
|
777
776
|
display: flex;
|
778
777
|
gap: 16px;
|
779
778
|
justify-content: flex-end;
|
780
779
|
}
|
781
|
-
._Puck-
|
780
|
+
._Puck-menuButton_1d0ul_144 {
|
782
781
|
color: var(--puck-color-grey-05);
|
783
782
|
margin-left: -4px;
|
784
783
|
}
|
785
|
-
._Puck--
|
784
|
+
._Puck--menuOpen_1d0ul_149 ._Puck-menuButton_1d0ul_144 {
|
786
785
|
color: var(--puck-color-black);
|
787
786
|
}
|
788
787
|
@media (min-width: 638px) {
|
789
|
-
._Puck-
|
788
|
+
._Puck-menuButton_1d0ul_144 {
|
790
789
|
display: none;
|
791
790
|
}
|
792
791
|
}
|
793
|
-
._Puck-
|
792
|
+
._Puck-leftSideBar_1d0ul_123 {
|
794
793
|
background: var(--puck-color-grey-12);
|
795
794
|
border-right: 1px solid var(--puck-color-grey-09);
|
796
795
|
display: flex;
|
@@ -798,25 +797,7 @@
|
|
798
797
|
grid-area: left;
|
799
798
|
overflow-y: auto;
|
800
799
|
}
|
801
|
-
._Puck-
|
802
|
-
display: flex;
|
803
|
-
flex-direction: column;
|
804
|
-
grid-area: editor;
|
805
|
-
overflow: auto;
|
806
|
-
position: relative;
|
807
|
-
}
|
808
|
-
._Puck-root_1mnww_176 {
|
809
|
-
border: 1px solid var(--puck-color-grey-09);
|
810
|
-
box-shadow: 0 0 0 calc(var(--puck-space-px) * 1.5) var(--puck-color-grey-11);
|
811
|
-
margin: var(--puck-space-px);
|
812
|
-
min-width: 321px;
|
813
|
-
}
|
814
|
-
@media (min-width: 1198px) {
|
815
|
-
._Puck-root_1mnww_176 {
|
816
|
-
margin: calc(var(--puck-space-px) * 1.5);
|
817
|
-
}
|
818
|
-
}
|
819
|
-
._Puck-rightSideBar_1mnww_122 {
|
800
|
+
._Puck-rightSideBar_1d0ul_122 {
|
820
801
|
background: var(--puck-color-white);
|
821
802
|
border-left: 1px solid var(--puck-color-grey-09);
|
822
803
|
display: flex;
|
@@ -824,45 +805,49 @@
|
|
824
805
|
grid-area: right;
|
825
806
|
overflow-y: auto;
|
826
807
|
}
|
808
|
+
._Puck-portal_1d0ul_177 {
|
809
|
+
z-index: 2;
|
810
|
+
}
|
827
811
|
|
828
812
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
829
|
-
.
|
813
|
+
._Input_1qi5b_1 {
|
830
814
|
color: var(--puck-color-grey-04);
|
831
815
|
padding: 16px;
|
832
816
|
padding-bottom: 12px;
|
833
817
|
display: block;
|
834
818
|
}
|
835
|
-
.
|
819
|
+
._Input_1qi5b_1 ._Input_1qi5b_1 {
|
836
820
|
padding: 0px;
|
837
821
|
}
|
838
|
-
.
|
822
|
+
._Input_1qi5b_1 * {
|
839
823
|
box-sizing: border-box;
|
840
824
|
}
|
841
|
-
.
|
825
|
+
._Input_1qi5b_1 + ._Input_1qi5b_1 {
|
842
826
|
border-top: 1px solid var(--puck-color-grey-09);
|
843
827
|
margin-top: 8px;
|
844
828
|
}
|
845
|
-
.
|
829
|
+
._Input_1qi5b_1 ._Input_1qi5b_1 + ._Input_1qi5b_1 {
|
846
830
|
border-top: 0px;
|
847
831
|
margin-top: 12px;
|
848
832
|
}
|
849
|
-
._Input-
|
833
|
+
._Input-label_1qi5b_26 {
|
850
834
|
align-items: center;
|
851
835
|
display: flex;
|
852
836
|
padding-bottom: 12px;
|
853
837
|
font-size: var(--puck-font-size-xxs);
|
854
838
|
font-weight: 600;
|
855
839
|
}
|
856
|
-
._Input-
|
840
|
+
._Input-labelIcon_1qi5b_34 {
|
857
841
|
color: var(--puck-color-grey-07);
|
842
|
+
display: flex;
|
858
843
|
margin-right: 4px;
|
859
844
|
padding-left: 4px;
|
860
845
|
}
|
861
|
-
._Input-
|
846
|
+
._Input-disabledIcon_1qi5b_41 {
|
862
847
|
color: var(--puck-color-grey-05);
|
863
848
|
margin-left: auto;
|
864
849
|
}
|
865
|
-
._Input-
|
850
|
+
._Input-input_1qi5b_46 {
|
866
851
|
background: var(--puck-color-white);
|
867
852
|
border-width: 1px;
|
868
853
|
border-style: solid;
|
@@ -874,7 +859,7 @@
|
|
874
859
|
transition: border-color 50ms ease-in;
|
875
860
|
width: 100%;
|
876
861
|
}
|
877
|
-
select._Input-
|
862
|
+
select._Input-input_1qi5b_46 {
|
878
863
|
appearance: none;
|
879
864
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
880
865
|
background-size: 12px;
|
@@ -884,25 +869,25 @@ select._Input-input_3msty_45 {
|
|
884
869
|
cursor: pointer;
|
885
870
|
}
|
886
871
|
@media (hover: hover) and (pointer: fine) {
|
887
|
-
.
|
888
|
-
.
|
872
|
+
._Input_1qi5b_1:has(> input):hover ._Input-input_1qi5b_46:not([readonly]),
|
873
|
+
._Input_1qi5b_1:has(> textarea):hover ._Input-input_1qi5b_46:not([readonly]) {
|
889
874
|
border-color: var(--puck-color-grey-05);
|
890
875
|
transition: none;
|
891
876
|
}
|
892
|
-
.
|
877
|
+
._Input_1qi5b_1:has(> select):hover ._Input-input_1qi5b_46:not([disabled]) {
|
893
878
|
background-color: var(--puck-color-azure-12);
|
894
879
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
|
895
880
|
border-color: var(--puck-color-grey-05);
|
896
881
|
transition: none;
|
897
882
|
}
|
898
883
|
}
|
899
|
-
._Input-
|
884
|
+
._Input-input_1qi5b_46:focus {
|
900
885
|
border-color: var(--puck-color-grey-05);
|
901
886
|
outline: 2px solid var(--puck-color-azure-05);
|
902
887
|
transition: none;
|
903
888
|
}
|
904
|
-
._Input--
|
905
|
-
._Input--
|
889
|
+
._Input--readOnly_1qi5b_90 > ._Input-input_1qi5b_46,
|
890
|
+
._Input--readOnly_1qi5b_90 > select._Input-input_1qi5b_46 {
|
906
891
|
background-color: var(--puck-color-grey-11);
|
907
892
|
border-color: var(--puck-color-grey-09);
|
908
893
|
color: var(--puck-color-grey-04);
|
@@ -911,34 +896,34 @@ select._Input-input_3msty_45 {
|
|
911
896
|
outline: 0;
|
912
897
|
transition: none;
|
913
898
|
}
|
914
|
-
._Input-
|
899
|
+
._Input-radioGroupItems_1qi5b_101 {
|
915
900
|
display: flex;
|
916
901
|
border: 1px solid var(--puck-color-grey-09);
|
917
902
|
border-radius: 4px;
|
918
903
|
flex-wrap: wrap;
|
919
904
|
}
|
920
|
-
._Input-
|
905
|
+
._Input-radio_1qi5b_101 {
|
921
906
|
border-right: 1px solid var(--puck-color-grey-09);
|
922
907
|
flex-grow: 1;
|
923
908
|
}
|
924
|
-
._Input-
|
909
|
+
._Input-radio_1qi5b_101:first-of-type {
|
925
910
|
border-bottom-left-radius: 4px;
|
926
911
|
border-top-left-radius: 4px;
|
927
912
|
}
|
928
|
-
._Input-
|
913
|
+
._Input-radio_1qi5b_101:first-of-type ._Input-radioInner_1qi5b_118 {
|
929
914
|
border-bottom-left-radius: 3px;
|
930
915
|
border-top-left-radius: 3px;
|
931
916
|
}
|
932
|
-
._Input-
|
917
|
+
._Input-radio_1qi5b_101:last-of-type {
|
933
918
|
border-bottom-right-radius: 4px;
|
934
919
|
border-right: 0;
|
935
920
|
border-top-right-radius: 4px;
|
936
921
|
}
|
937
|
-
._Input-
|
922
|
+
._Input-radio_1qi5b_101:last-of-type ._Input-radioInner_1qi5b_118 {
|
938
923
|
border-bottom-right-radius: 3px;
|
939
924
|
border-top-right-radius: 3px;
|
940
925
|
}
|
941
|
-
._Input-
|
926
|
+
._Input-radioInner_1qi5b_118 {
|
942
927
|
background-color: var(--puck-color-white);
|
943
928
|
color: var(--puck-color-grey-04);
|
944
929
|
cursor: pointer;
|
@@ -947,32 +932,32 @@ select._Input-input_3msty_45 {
|
|
947
932
|
text-align: center;
|
948
933
|
transition: background-color 50ms ease-in;
|
949
934
|
}
|
950
|
-
._Input-
|
935
|
+
._Input-radio_1qi5b_101:has(:focus-visible) {
|
951
936
|
outline: 2px solid var(--puck-color-azure-05);
|
952
937
|
outline-offset: 2px;
|
953
938
|
position: relative;
|
954
939
|
}
|
955
940
|
@media (hover: hover) and (pointer: fine) {
|
956
|
-
._Input-
|
941
|
+
._Input-radioInner_1qi5b_118:hover {
|
957
942
|
background-color: var(--puck-color-azure-12);
|
958
943
|
transition: none;
|
959
944
|
}
|
960
945
|
}
|
961
|
-
._Input--
|
946
|
+
._Input--readOnly_1qi5b_90 ._Input-radioInner_1qi5b_118 {
|
962
947
|
background-color: var(--puck-color-white);
|
963
948
|
color: var(--puck-color-grey-04);
|
964
949
|
cursor: default;
|
965
950
|
}
|
966
|
-
._Input-
|
951
|
+
._Input-radio_1qi5b_101 ._Input-radioInput_1qi5b_163:checked ~ ._Input-radioInner_1qi5b_118 {
|
967
952
|
background-color: var(--puck-color-azure-11);
|
968
953
|
color: var(--puck-color-azure-04);
|
969
954
|
font-weight: 500;
|
970
955
|
}
|
971
|
-
._Input--
|
956
|
+
._Input--readOnly_1qi5b_90 ._Input-radioInput_1qi5b_163:checked ~ ._Input-radioInner_1qi5b_118 {
|
972
957
|
background-color: var(--puck-color-grey-11);
|
973
958
|
color: var(--puck-color-grey-04);
|
974
959
|
}
|
975
|
-
._Input-
|
960
|
+
._Input-radio_1qi5b_101 ._Input-radioInput_1qi5b_163 {
|
976
961
|
clip: rect(0 0 0 0);
|
977
962
|
clip-path: inset(100%);
|
978
963
|
height: 1px;
|
@@ -981,83 +966,94 @@ select._Input-input_3msty_45 {
|
|
981
966
|
white-space: nowrap;
|
982
967
|
width: 1px;
|
983
968
|
}
|
984
|
-
textarea._Input-
|
969
|
+
textarea._Input-input_1qi5b_46 {
|
985
970
|
margin-bottom: -4px;
|
986
971
|
}
|
987
972
|
|
988
973
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
989
|
-
.
|
974
|
+
._ArrayField_1lr58_5 {
|
990
975
|
display: flex;
|
991
976
|
flex-direction: column;
|
992
977
|
background-color: var(--puck-color-grey-09);
|
993
978
|
border: 1px solid var(--puck-color-grey-09);
|
994
979
|
border-radius: 4px;
|
995
980
|
}
|
996
|
-
._ArrayField--
|
981
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
997
982
|
background-color: var(--puck-color-azure-11);
|
983
|
+
overflow: hidden;
|
998
984
|
}
|
999
|
-
._ArrayField-
|
985
|
+
._ArrayField-addButton_1lr58_18 {
|
1000
986
|
background-color: var(--puck-color-white);
|
1001
987
|
border: none;
|
1002
|
-
border-radius:
|
988
|
+
border-radius: 3px;
|
1003
989
|
display: flex;
|
1004
990
|
color: var(--puck-color-azure-05);
|
1005
991
|
justify-content: center;
|
1006
992
|
cursor: pointer;
|
1007
993
|
width: 100%;
|
1008
994
|
margin: 0;
|
1009
|
-
padding:
|
995
|
+
padding: 14px;
|
1010
996
|
text-align: left;
|
1011
997
|
transition: background-color 50ms ease-in;
|
1012
998
|
}
|
1013
|
-
._ArrayField--
|
999
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1000
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1014
1001
|
border-top-left-radius: 0;
|
1015
1002
|
border-top-right-radius: 0;
|
1016
1003
|
}
|
1017
|
-
._ArrayField-
|
1004
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
1018
1005
|
outline: 2px solid var(--puck-color-azure-05);
|
1019
1006
|
outline-offset: 2px;
|
1020
1007
|
position: relative;
|
1021
1008
|
}
|
1022
1009
|
@media (hover: hover) and (pointer: fine) {
|
1023
|
-
.
|
1010
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1024
1011
|
background: var(--puck-color-azure-12);
|
1025
1012
|
color: var(--puck-color-azure-04);
|
1026
1013
|
transition: none;
|
1027
1014
|
}
|
1028
1015
|
}
|
1029
|
-
.
|
1016
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1030
1017
|
background: var(--puck-color-azure-11);
|
1031
1018
|
color: var(--puck-color-azure-04);
|
1032
1019
|
transition: none;
|
1033
1020
|
}
|
1034
|
-
.
|
1035
|
-
|
1036
|
-
border-top-
|
1037
|
-
border-top-right-radius: 4px;
|
1021
|
+
._ArrayFieldItem_1lr58_63 {
|
1022
|
+
border-top-left-radius: 3px;
|
1023
|
+
border-top-right-radius: 3px;
|
1038
1024
|
display: block;
|
1039
|
-
|
1025
|
+
position: relative;
|
1040
1026
|
}
|
1041
|
-
.
|
1042
|
-
|
1043
|
-
|
1027
|
+
._ArrayFieldItem_1lr58_63:not(._ArrayFieldItem--isDragging_1lr58_71):not(:first-of-type)::before {
|
1028
|
+
background-color: var(--puck-color-grey-09);
|
1029
|
+
position: absolute;
|
1030
|
+
width: 100%;
|
1031
|
+
height: 1px;
|
1032
|
+
content: "";
|
1033
|
+
z-index: 1;
|
1034
|
+
top: -1px;
|
1044
1035
|
}
|
1045
|
-
._ArrayFieldItem--
|
1036
|
+
._ArrayFieldItem--isExpanded_1lr58_81::before {
|
1037
|
+
display: none;
|
1038
|
+
}
|
1039
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1046
1040
|
border-bottom: 0;
|
1047
1041
|
outline-offset: 0px !important;
|
1048
1042
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1043
|
+
z-index: 2;
|
1049
1044
|
}
|
1050
|
-
._ArrayFieldItem--
|
1045
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1051
1046
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1052
1047
|
}
|
1053
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1054
1049
|
background-color: var(--puck-color-white);
|
1055
1050
|
}
|
1056
|
-
.
|
1051
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1057
1052
|
border-top-left-radius: 0;
|
1058
1053
|
border-top-right-radius: 0;
|
1059
1054
|
}
|
1060
|
-
._ArrayFieldItem-
|
1055
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1056
|
+
background: var(--puck-color-white);
|
1061
1057
|
color: var(--puck-color-grey-04);
|
1062
1058
|
cursor: pointer;
|
1063
1059
|
display: flex;
|
@@ -1067,71 +1063,77 @@ textarea._Input-input_3msty_45 {
|
|
1067
1063
|
font-size: var(--puck-font-size-xxs);
|
1068
1064
|
list-style: none;
|
1069
1065
|
padding: 12px 15px;
|
1066
|
+
padding-bottom: 13px;
|
1070
1067
|
position: relative;
|
1071
1068
|
overflow: hidden;
|
1072
1069
|
transition: background-color 50ms ease-in;
|
1073
1070
|
}
|
1074
|
-
.
|
1075
|
-
|
1076
|
-
|
1071
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1072
|
+
border-top-left-radius: 3px;
|
1073
|
+
border-top-right-radius: 3px;
|
1077
1074
|
}
|
1078
|
-
.
|
1079
|
-
border-
|
1080
|
-
border-
|
1075
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem_1lr58_63:last-of-type:not(._ArrayFieldItem--isExpanded_1lr58_81) > ._ArrayFieldItem-summary_1lr58_97 {
|
1076
|
+
border-bottom-left-radius: 3px;
|
1077
|
+
border-bottom-right-radius: 3px;
|
1078
|
+
}
|
1079
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem--isExpanded_1lr58_81:last-of-type {
|
1080
|
+
border-bottom-left-radius: 3px;
|
1081
|
+
border-bottom-right-radius: 3px;
|
1081
1082
|
}
|
1082
|
-
._ArrayFieldItem-
|
1083
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1083
1084
|
outline: 2px solid var(--puck-color-azure-05);
|
1084
1085
|
outline-offset: 2px;
|
1085
1086
|
}
|
1086
1087
|
@media (hover: hover) and (pointer: fine) {
|
1087
|
-
._ArrayFieldItem-
|
1088
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1088
1089
|
background-color: var(--puck-color-azure-12);
|
1089
1090
|
transition: none;
|
1090
1091
|
}
|
1091
1092
|
}
|
1092
|
-
._ArrayFieldItem-
|
1093
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1093
1094
|
background-color: var(--puck-color-azure-11);
|
1094
1095
|
transition: none;
|
1095
1096
|
}
|
1096
|
-
._ArrayFieldItem--
|
1097
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1097
1098
|
background: var(--puck-color-azure-11);
|
1098
1099
|
color: var(--puck-color-azure-04);
|
1099
1100
|
font-weight: 600;
|
1100
1101
|
transition: none;
|
1101
1102
|
}
|
1102
|
-
._ArrayFieldItem-
|
1103
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1104
|
+
background: var(--puck-color-white);
|
1103
1105
|
display: none;
|
1104
1106
|
}
|
1105
|
-
._ArrayFieldItem--
|
1107
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1106
1108
|
display: block;
|
1107
1109
|
}
|
1108
|
-
._ArrayFieldItem-
|
1110
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1109
1111
|
border: none;
|
1110
1112
|
border-top: 1px solid var(--puck-color-grey-09);
|
1111
1113
|
margin: 0;
|
1112
1114
|
padding: 16px 15px;
|
1113
1115
|
}
|
1114
|
-
._ArrayFieldItem-
|
1116
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1115
1117
|
display: flex;
|
1116
1118
|
gap: 4px;
|
1117
1119
|
align-items: center;
|
1118
1120
|
}
|
1119
|
-
._ArrayFieldItem-
|
1121
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1120
1122
|
color: var(--puck-color-grey-04);
|
1121
1123
|
display: flex;
|
1122
1124
|
gap: 4px;
|
1123
1125
|
opacity: 0;
|
1124
1126
|
}
|
1125
|
-
._ArrayFieldItem-
|
1126
|
-
._ArrayFieldItem-
|
1127
|
+
._ArrayFieldItem-summary_1lr58_97:focus-within > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186,
|
1128
|
+
._ArrayFieldItem-summary_1lr58_97:hover > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186 {
|
1127
1129
|
opacity: 1;
|
1128
1130
|
}
|
1129
1131
|
|
1130
1132
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
1131
|
-
._ExternalInput-
|
1133
|
+
._ExternalInput-actions_19obq_1 {
|
1132
1134
|
display: flex;
|
1133
1135
|
}
|
1134
|
-
._ExternalInput-
|
1136
|
+
._ExternalInput-button_19obq_5 {
|
1135
1137
|
display: flex;
|
1136
1138
|
gap: 8px;
|
1137
1139
|
align-items: center;
|
@@ -1150,13 +1152,13 @@ textarea._Input-input_3msty_45 {
|
|
1150
1152
|
overflow: hidden;
|
1151
1153
|
flex-grow: 1;
|
1152
1154
|
}
|
1153
|
-
._ExternalInput--
|
1155
|
+
._ExternalInput--dataSelected_19obq_25 ._ExternalInput-button_19obq_5 {
|
1154
1156
|
color: var(--puck-color-grey-03);
|
1155
1157
|
display: block;
|
1156
1158
|
border-top-right-radius: 0px;
|
1157
1159
|
border-bottom-right-radius: 0px;
|
1158
1160
|
}
|
1159
|
-
._ExternalInput-
|
1161
|
+
._ExternalInput-detachButton_19obq_32 {
|
1160
1162
|
border: 1px solid var(--puck-color-grey-09);
|
1161
1163
|
border-top-right-radius: 4px;
|
1162
1164
|
border-bottom-right-radius: 4px;
|
@@ -1172,48 +1174,79 @@ textarea._Input-input_3msty_45 {
|
|
1172
1174
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1173
1175
|
margin-left: -1px;
|
1174
1176
|
}
|
1175
|
-
._ExternalInput-
|
1176
|
-
._ExternalInput-
|
1177
|
+
._ExternalInput-button_19obq_5:focus-visible,
|
1178
|
+
._ExternalInput-detachButton_19obq_32:focus-visible {
|
1177
1179
|
outline: 2px solid var(--puck-color-azure-05);
|
1178
1180
|
outline-offset: 2px;
|
1179
1181
|
z-index: 1;
|
1180
1182
|
}
|
1181
1183
|
@media (hover: hover) and (pointer: fine) {
|
1182
|
-
._ExternalInput-
|
1183
|
-
._ExternalInput-
|
1184
|
+
._ExternalInput-button_19obq_5:hover,
|
1185
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1184
1186
|
background: var(--puck-color-azure-12);
|
1185
1187
|
transition: none;
|
1186
1188
|
}
|
1187
|
-
._ExternalInput-
|
1189
|
+
._ExternalInput-detachButton_19obq_32:hover {
|
1188
1190
|
color: var(--puck-color-azure-04);
|
1189
1191
|
}
|
1190
1192
|
}
|
1191
|
-
._ExternalInput-
|
1192
|
-
._ExternalInput-
|
1193
|
+
._ExternalInput-button_19obq_5:active,
|
1194
|
+
._ExternalInput-detachButton_19obq_32:active {
|
1193
1195
|
background: var(--puck-color-azure-11);
|
1194
1196
|
transition: none;
|
1195
1197
|
}
|
1196
|
-
.
|
1198
|
+
._ExternalInputModal_19obq_74 {
|
1197
1199
|
color: var(--puck-color-black);
|
1200
|
+
display: grid;
|
1201
|
+
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
1202
|
+
grid-template-columns: 100%;
|
1203
|
+
position: relative;
|
1204
|
+
min-height: 50dvh;
|
1205
|
+
max-height: 90dvh;
|
1206
|
+
}
|
1207
|
+
._ExternalInputModal-grid_19obq_84 {
|
1198
1208
|
display: flex;
|
1199
1209
|
flex-direction: column;
|
1200
|
-
position: relative;
|
1201
|
-
max-height: 90vh;
|
1202
1210
|
}
|
1203
|
-
|
1204
|
-
|
1211
|
+
@media (min-width: 458px) {
|
1212
|
+
._ExternalInputModal-grid_19obq_84 {
|
1213
|
+
display: grid;
|
1214
|
+
grid-template-columns: 100%;
|
1215
|
+
}
|
1216
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-grid_19obq_84 {
|
1217
|
+
grid-template-columns: 25% 75%;
|
1218
|
+
}
|
1219
|
+
}
|
1220
|
+
._ExternalInputModal-filters_19obq_100 {
|
1221
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
1222
|
+
}
|
1223
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1224
|
+
display: none;
|
1225
|
+
}
|
1226
|
+
@media (min-width: 458px) {
|
1227
|
+
._ExternalInputModal-filters_19obq_100 {
|
1228
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1229
|
+
display: none;
|
1230
|
+
}
|
1231
|
+
._ExternalInputModal--filtersToggled_19obq_95 ._ExternalInputModal-filters_19obq_100 {
|
1232
|
+
display: block;
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
._ExternalInputModal-masthead_19obq_119 {
|
1236
|
+
background-color: var(--puck-color-grey-12);
|
1237
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
1205
1238
|
display: flex;
|
1206
1239
|
flex-wrap: wrap;
|
1207
1240
|
gap: 24px;
|
1208
|
-
padding:
|
1241
|
+
padding: 24px;
|
1209
1242
|
}
|
1210
|
-
._ExternalInputModal-
|
1243
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1211
1244
|
position: relative;
|
1212
1245
|
overflow-x: auto;
|
1213
1246
|
overflow-y: auto;
|
1214
1247
|
flex-grow: 1;
|
1215
1248
|
}
|
1216
|
-
._ExternalInputModal-
|
1249
|
+
._ExternalInputModal-table_19obq_128 {
|
1217
1250
|
border-collapse: unset;
|
1218
1251
|
border-spacing: 0px;
|
1219
1252
|
color: var(--puck-color-grey-02);
|
@@ -1221,50 +1254,51 @@ textarea._Input-input_3msty_45 {
|
|
1221
1254
|
z-index: 0;
|
1222
1255
|
min-width: 100%;
|
1223
1256
|
}
|
1224
|
-
._ExternalInputModal-
|
1257
|
+
._ExternalInputModal-thead_19obq_144 {
|
1258
|
+
background-color: var(--puck-color-white);
|
1225
1259
|
position: sticky;
|
1226
1260
|
top: 0;
|
1227
1261
|
z-index: 1;
|
1228
1262
|
}
|
1229
|
-
._ExternalInputModal-
|
1263
|
+
._ExternalInputModal-th_19obq_144 {
|
1230
1264
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1231
|
-
|
1232
|
-
font-weight:
|
1265
|
+
color: var(--puck-color-grey-04);
|
1266
|
+
font-weight: 500;
|
1267
|
+
font-size: 14px;
|
1233
1268
|
padding: 16px 24px;
|
1234
|
-
opacity: 0.9;
|
1235
1269
|
}
|
1236
|
-
._ExternalInputModal-
|
1270
|
+
._ExternalInputModal-td_19obq_159 {
|
1271
|
+
border-bottom: 1px solid var(--puck-color-grey-10);
|
1237
1272
|
padding: 16px 24px;
|
1238
1273
|
}
|
1239
|
-
._ExternalInputModal-
|
1240
|
-
background-color: var(--puck-color-white);
|
1241
|
-
}
|
1242
|
-
._ExternalInputModal-tr_oqtaj_124:nth-of-type(2n) {
|
1243
|
-
background-color: var(--puck-color-grey-12);
|
1244
|
-
}
|
1245
|
-
._ExternalInputModal-tr_oqtaj_124 ._ExternalInputModal-td_oqtaj_120:first-of-type {
|
1274
|
+
._ExternalInputModal-tr_19obq_164 ._ExternalInputModal-td_19obq_159:first-of-type {
|
1246
1275
|
font-weight: 500;
|
1276
|
+
width: 1%;
|
1277
|
+
white-space: nowrap;
|
1247
1278
|
}
|
1248
1279
|
@media (hover: hover) and (pointer: fine) {
|
1249
|
-
._ExternalInputModal-
|
1250
|
-
background: var(--puck-color-
|
1280
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover {
|
1281
|
+
background: var(--puck-color-azure-12);
|
1251
1282
|
color: var(--puck-color-azure-04);
|
1252
1283
|
cursor: pointer;
|
1253
1284
|
position: relative;
|
1254
1285
|
margin-left: -5px;
|
1255
1286
|
}
|
1256
|
-
._ExternalInputModal-
|
1287
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:hover ._ExternalInputModal-td_19obq_159:first-of-type {
|
1257
1288
|
border-left: 4px solid var(--puck-color-azure-04);
|
1258
1289
|
padding-left: 20px;
|
1259
1290
|
}
|
1260
1291
|
}
|
1261
|
-
._ExternalInputModal-
|
1292
|
+
._ExternalInputModal-tbody_19obq_171 ._ExternalInputModal-tr_19obq_164:last-of-type ._ExternalInputModal-td_19obq_159 {
|
1293
|
+
border-bottom: none;
|
1294
|
+
}
|
1295
|
+
._ExternalInputModal-tableWrapper_19obq_128 {
|
1262
1296
|
display: none;
|
1263
1297
|
}
|
1264
|
-
._ExternalInputModal--
|
1298
|
+
._ExternalInputModal--hasData_19obq_197 ._ExternalInputModal-tableWrapper_19obq_128 {
|
1265
1299
|
display: block;
|
1266
1300
|
}
|
1267
|
-
._ExternalInputModal-
|
1301
|
+
._ExternalInputModal-loadingBanner_19obq_201 {
|
1268
1302
|
display: none;
|
1269
1303
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1270
1304
|
padding: 64px;
|
@@ -1276,46 +1310,42 @@ textarea._Input-input_3msty_45 {
|
|
1276
1310
|
right: 0;
|
1277
1311
|
bottom: 0;
|
1278
1312
|
}
|
1279
|
-
._ExternalInputModal--
|
1313
|
+
._ExternalInputModal--isLoading_19obq_218 ._ExternalInputModal-loadingBanner_19obq_201 {
|
1280
1314
|
display: flex;
|
1281
1315
|
}
|
1282
|
-
._ExternalInputModal-
|
1283
|
-
display: none;
|
1284
|
-
border-top: 1px solid var(--puck-color-grey-09);
|
1285
|
-
padding: 24px;
|
1286
|
-
text-align: center;
|
1287
|
-
}
|
1288
|
-
._ExternalInputModal--loaded_oqtaj_185:not(._ExternalInputModal--hasData_oqtaj_157) ._ExternalInputModal-noContentBanner_oqtaj_178 {
|
1289
|
-
display: block;
|
1290
|
-
}
|
1291
|
-
._ExternalInputModal-searchForm_oqtaj_190 {
|
1316
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1292
1317
|
display: flex;
|
1293
|
-
|
1294
|
-
height: 43px;
|
1318
|
+
flex-wrap: wrap;
|
1295
1319
|
gap: 12px;
|
1320
|
+
flex-grow: 1;
|
1296
1321
|
}
|
1297
|
-
|
1322
|
+
@media (min-width: 458px) {
|
1323
|
+
._ExternalInputModal-searchForm_19obq_222 {
|
1324
|
+
flex-wrap: nowrap;
|
1325
|
+
}
|
1326
|
+
}
|
1327
|
+
._ExternalInputModal-search_19obq_222 {
|
1298
1328
|
display: flex;
|
1299
1329
|
background: var(--puck-color-white);
|
1300
1330
|
border-width: 1px;
|
1301
1331
|
border-style: solid;
|
1302
1332
|
border-color: var(--puck-color-grey-09);
|
1303
1333
|
border-radius: 4px;
|
1334
|
+
flex-grow: 1;
|
1304
1335
|
transition: border-color 50ms ease-in;
|
1305
|
-
width: 100%;
|
1306
1336
|
}
|
1307
|
-
._ExternalInputModal-
|
1337
|
+
._ExternalInputModal-search_19obq_222:focus-within {
|
1308
1338
|
border-color: var(--puck-color-grey-05);
|
1309
1339
|
outline: 2px solid var(--puck-color-azure-05);
|
1310
1340
|
transition: none;
|
1311
1341
|
}
|
1312
1342
|
@media (hover: hover) and (pointer: fine) {
|
1313
|
-
._ExternalInputModal-
|
1343
|
+
._ExternalInputModal-search_19obq_222:hover {
|
1314
1344
|
border-color: var(--puck-color-grey-05);
|
1315
1345
|
transition: none;
|
1316
1346
|
}
|
1317
1347
|
}
|
1318
|
-
._ExternalInputModal-
|
1348
|
+
._ExternalInputModal-searchIcon_19obq_259 {
|
1319
1349
|
align-items: center;
|
1320
1350
|
background: var(--puck-color-grey-12);
|
1321
1351
|
border-bottom-left-radius: 4px;
|
@@ -1327,17 +1357,17 @@ textarea._Input-input_3msty_45 {
|
|
1327
1357
|
padding: 12px 15px;
|
1328
1358
|
transition: color 50ms ease-in;
|
1329
1359
|
}
|
1330
|
-
._ExternalInputModal-
|
1360
|
+
._ExternalInputModal-search_19obq_222:focus-within ._ExternalInputModal-searchIcon_19obq_259 {
|
1331
1361
|
color: var(--puck-color-grey-04);
|
1332
1362
|
transition: none;
|
1333
1363
|
}
|
1334
1364
|
@media (hover: hover) and (pointer: fine) {
|
1335
|
-
._ExternalInputModal-
|
1365
|
+
._ExternalInputModal-search_19obq_222:hover ._ExternalInputModal-searchIcon_19obq_259 {
|
1336
1366
|
color: var(--puck-color-grey-04);
|
1337
1367
|
transition: none;
|
1338
1368
|
}
|
1339
1369
|
}
|
1340
|
-
._ExternalInputModal-
|
1370
|
+
._ExternalInputModal-searchIconText_19obq_284 {
|
1341
1371
|
clip: rect(0 0 0 0);
|
1342
1372
|
clip-path: inset(100%);
|
1343
1373
|
height: 1px;
|
@@ -1346,7 +1376,7 @@ textarea._Input-input_3msty_45 {
|
|
1346
1376
|
white-space: nowrap;
|
1347
1377
|
width: 1px;
|
1348
1378
|
}
|
1349
|
-
._ExternalInputModal-
|
1379
|
+
._ExternalInputModal-searchInput_19obq_294 {
|
1350
1380
|
border: none;
|
1351
1381
|
border-radius: 4px;
|
1352
1382
|
background: var(--puck-color-white);
|
@@ -1355,13 +1385,36 @@ textarea._Input-input_3msty_45 {
|
|
1355
1385
|
padding: 12px 15px;
|
1356
1386
|
width: 100%;
|
1357
1387
|
}
|
1358
|
-
._ExternalInputModal-
|
1388
|
+
._ExternalInputModal-searchInput_19obq_294:focus {
|
1359
1389
|
outline: 0;
|
1360
1390
|
}
|
1391
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1392
|
+
display: flex;
|
1393
|
+
gap: 8px;
|
1394
|
+
height: 44px;
|
1395
|
+
width: 100%;
|
1396
|
+
}
|
1397
|
+
@media (min-width: 458px) {
|
1398
|
+
._ExternalInputModal-searchActions_19obq_308 {
|
1399
|
+
width: auto;
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
._ExternalInputModal-searchActionIcon_19obq_321 {
|
1403
|
+
align-self: center;
|
1404
|
+
}
|
1405
|
+
._ExternalInputModal-footer_19obq_325 {
|
1406
|
+
background-color: var(--puck-color-grey-12);
|
1407
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1408
|
+
color: var(--puck-color-grey-04);
|
1409
|
+
font-weight: 500;
|
1410
|
+
font-size: 14px;
|
1411
|
+
padding: 16px;
|
1412
|
+
text-align: right;
|
1413
|
+
}
|
1361
1414
|
|
1362
1415
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css/#css-module-data */
|
1363
|
-
.
|
1364
|
-
background: color-mix(in srgb, var(--puck-color-black)
|
1416
|
+
._Modal_ikbaj_1 {
|
1417
|
+
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1365
1418
|
display: none;
|
1366
1419
|
justify-content: center;
|
1367
1420
|
align-items: center;
|
@@ -1371,20 +1424,20 @@ textarea._Input-input_3msty_45 {
|
|
1371
1424
|
bottom: 0;
|
1372
1425
|
right: 0;
|
1373
1426
|
z-index: 1;
|
1374
|
-
padding:
|
1427
|
+
padding: 32px;
|
1375
1428
|
}
|
1376
|
-
._Modal--
|
1429
|
+
._Modal--isOpen_ikbaj_15 {
|
1377
1430
|
display: flex;
|
1378
1431
|
}
|
1379
|
-
._Modal-
|
1432
|
+
._Modal-inner_ikbaj_19 {
|
1380
1433
|
width: 100%;
|
1381
1434
|
max-width: 1024px;
|
1382
|
-
border-radius:
|
1435
|
+
border-radius: 8px;
|
1383
1436
|
overflow: hidden;
|
1384
1437
|
background: var(--puck-color-white);
|
1385
1438
|
display: flex;
|
1386
1439
|
flex-direction: column;
|
1387
|
-
max-height:
|
1440
|
+
max-height: 90dvh;
|
1388
1441
|
}
|
1389
1442
|
|
1390
1443
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css/#css-module-data */
|
@@ -1470,6 +1523,16 @@ textarea._Input-input_3msty_45 {
|
|
1470
1523
|
margin-left: auto;
|
1471
1524
|
}
|
1472
1525
|
|
1526
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1527
|
+
._PuckPreview_1mia0_1 {
|
1528
|
+
height: 100%;
|
1529
|
+
}
|
1530
|
+
._PuckPreview-frame_1mia0_5 {
|
1531
|
+
border: none;
|
1532
|
+
height: 100%;
|
1533
|
+
width: 100%;
|
1534
|
+
}
|
1535
|
+
|
1473
1536
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
|
1474
1537
|
._LayerTree_1pgw8_1 {
|
1475
1538
|
color: var(--puck-color-grey-03);
|
@@ -1572,3 +1635,90 @@ textarea._Input-input_3msty_45 {
|
|
1572
1635
|
color: var(--puck-color-grey-08);
|
1573
1636
|
margin-top: 4px;
|
1574
1637
|
}
|
1638
|
+
|
1639
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1640
|
+
._ViewportControls_3zdvn_1 {
|
1641
|
+
display: flex;
|
1642
|
+
background: var(--puck-color-grey-11);
|
1643
|
+
box-sizing: border-box;
|
1644
|
+
border-left: 2px solid var(--puck-color-grey-11);
|
1645
|
+
justify-content: center;
|
1646
|
+
gap: 8px;
|
1647
|
+
min-width: 358px;
|
1648
|
+
padding-bottom: 16px;
|
1649
|
+
padding-left: var(--puck-space-px);
|
1650
|
+
padding-right: var(--puck-space-px);
|
1651
|
+
z-index: 1;
|
1652
|
+
}
|
1653
|
+
._ViewportControls-divider_3zdvn_15 {
|
1654
|
+
border-right: 1px solid var(--puck-color-grey-09);
|
1655
|
+
margin-left: 8px;
|
1656
|
+
margin-right: 8px;
|
1657
|
+
}
|
1658
|
+
._ViewportControls-zoomSelect_3zdvn_21 {
|
1659
|
+
appearance: none;
|
1660
|
+
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;
|
1661
|
+
background-size: 10px;
|
1662
|
+
background-position: calc(100% - 12px) calc(50% + 3px);
|
1663
|
+
background-repeat: no-repeat;
|
1664
|
+
border: 0;
|
1665
|
+
font-size: var(--puck-font-size-xxxs);
|
1666
|
+
width: 96px;
|
1667
|
+
}
|
1668
|
+
._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
|
1669
|
+
color: var(--puck-color-azure-04);
|
1670
|
+
}
|
1671
|
+
|
1672
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1673
|
+
._PuckCanvas_6zd4y_1 {
|
1674
|
+
background: var(--puck-color-grey-11);
|
1675
|
+
display: flex;
|
1676
|
+
grid-area: editor;
|
1677
|
+
flex-direction: column;
|
1678
|
+
padding: var(--puck-space-px);
|
1679
|
+
overflow: auto;
|
1680
|
+
}
|
1681
|
+
@media (min-width: 1198px) {
|
1682
|
+
._PuckCanvas_6zd4y_1 {
|
1683
|
+
padding: calc(var(--puck-space-px) * 1.5);
|
1684
|
+
padding-top: var(--puck-space-px);
|
1685
|
+
}
|
1686
|
+
._PuckCanvas_6zd4y_1:not(._PuckCanvas_6zd4y_1:has(._PuckCanvas-controls_6zd4y_16)) {
|
1687
|
+
padding-top: calc(var(--puck-space-px) * 1.5);
|
1688
|
+
}
|
1689
|
+
}
|
1690
|
+
._PuckCanvas-inner_6zd4y_21 {
|
1691
|
+
box-sizing: border-box;
|
1692
|
+
display: flex;
|
1693
|
+
height: 100%;
|
1694
|
+
justify-content: center;
|
1695
|
+
min-width: 358px;
|
1696
|
+
overflow: hidden;
|
1697
|
+
position: relative;
|
1698
|
+
width: 100%;
|
1699
|
+
}
|
1700
|
+
._PuckCanvas-root_6zd4y_32 {
|
1701
|
+
background: white;
|
1702
|
+
border: 1px solid var(--puck-color-grey-09);
|
1703
|
+
box-sizing: border-box;
|
1704
|
+
min-width: 321px;
|
1705
|
+
position: absolute;
|
1706
|
+
transform-origin: top;
|
1707
|
+
top: 0;
|
1708
|
+
bottom: 0;
|
1709
|
+
opacity: 0;
|
1710
|
+
}
|
1711
|
+
@media (min-width: 1198px) {
|
1712
|
+
._PuckCanvas-root_6zd4y_32 {
|
1713
|
+
min-width: unset;
|
1714
|
+
}
|
1715
|
+
}
|
1716
|
+
@media (prefers-reduced-motion: reduce) {
|
1717
|
+
._PuckCanvas-root_6zd4y_32 {
|
1718
|
+
transition: none !important;
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
._PuckCanvas--ready_6zd4y_56 ._PuckCanvas-root_6zd4y_32 {
|
1722
|
+
opacity: 1;
|
1723
|
+
transition: opacity 150ms ease-out;
|
1724
|
+
}
|