@measured/puck 0.14.0-canary.924c85a → 0.14.0-canary.95280e6
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/dist/{Config-29dc2731.d.ts → Config-DXxsEDkF.d.ts} +1 -1
- package/dist/index.css +382 -365
- package/dist/index.d.ts +12 -4
- package/dist/index.js +451 -236
- package/dist/rsc.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
@@ -136,8 +136,8 @@
|
|
136
136
|
|
137
137
|
/* styles.css */
|
138
138
|
|
139
|
-
/*
|
140
|
-
.
|
139
|
+
/* components/Button/Button.module.css */
|
140
|
+
.Button_Button {
|
141
141
|
appearance: none;
|
142
142
|
background: none;
|
143
143
|
border: 1px solid transparent;
|
@@ -159,81 +159,83 @@
|
|
159
159
|
white-space: nowrap;
|
160
160
|
margin: 0;
|
161
161
|
}
|
162
|
-
.
|
163
|
-
.
|
162
|
+
.Button_Button:hover,
|
163
|
+
.Button_Button:active {
|
164
164
|
transition: none;
|
165
165
|
}
|
166
|
-
.
|
166
|
+
.Button_Button--medium {
|
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
|
-
.
|
173
|
+
.Button_Button--large {
|
174
174
|
padding-bottom: 11px;
|
175
175
|
padding-left: 19px;
|
176
176
|
padding-right: 19px;
|
177
177
|
padding-top: 11px;
|
178
178
|
}
|
179
|
-
.
|
179
|
+
.Button_Button-icon {
|
180
180
|
margin-top: 2px;
|
181
181
|
}
|
182
|
-
.
|
182
|
+
.Button_Button--primary {
|
183
183
|
background: var(--puck-color-azure-04);
|
184
184
|
}
|
185
|
-
.
|
185
|
+
.Button_Button: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
|
-
.
|
190
|
+
.Button_Button--primary:hover {
|
191
191
|
background-color: var(--puck-color-azure-03);
|
192
192
|
}
|
193
193
|
}
|
194
|
-
.
|
194
|
+
.Button_Button--primary:active {
|
195
195
|
background-color: var(--puck-color-azure-02);
|
196
196
|
}
|
197
|
-
.
|
198
|
-
border: 1px solid
|
199
|
-
color:
|
197
|
+
.Button_Button--secondary {
|
198
|
+
border: 1px solid currentColor;
|
199
|
+
color: currentColor;
|
200
200
|
}
|
201
201
|
@media (hover: hover) and (pointer: fine) {
|
202
|
-
.
|
202
|
+
.Button_Button--secondary:hover {
|
203
203
|
background-color: var(--puck-color-azure-12);
|
204
|
+
color: var(--puck-color-black);
|
204
205
|
}
|
205
206
|
}
|
206
|
-
.
|
207
|
+
.Button_Button--secondary:active {
|
207
208
|
background-color: var(--puck-color-azure-11);
|
209
|
+
color: var(--puck-color-black);
|
208
210
|
}
|
209
|
-
.
|
211
|
+
.Button_Button--flush {
|
210
212
|
border-radius: 0;
|
211
213
|
}
|
212
|
-
.
|
213
|
-
.
|
214
|
+
.Button_Button--disabled,
|
215
|
+
.Button_Button--disabled: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
|
-
.
|
220
|
+
.Button_Button--fullWidth {
|
219
221
|
justify-content: center;
|
220
222
|
width: 100%;
|
221
223
|
}
|
222
|
-
.
|
224
|
+
.Button_Button-spinner {
|
223
225
|
padding-left: 8px;
|
224
226
|
}
|
225
227
|
|
226
|
-
/*
|
227
|
-
.
|
228
|
+
/* components/Drawer/styles.module.css */
|
229
|
+
.styles_Drawer {
|
228
230
|
font-family: var(--puck-font-family);
|
229
231
|
}
|
230
|
-
.
|
232
|
+
.styles_DrawerItem-default .styles_DrawerItem-draggableWrapper {
|
231
233
|
padding-bottom: 12px;
|
232
234
|
}
|
233
|
-
.
|
235
|
+
.styles_DrawerItem:last-of-type .styles_DrawerItem-default .styles_DrawerItem-draggableWrapper {
|
234
236
|
padding-bottom: 0;
|
235
237
|
}
|
236
|
-
.
|
238
|
+
.styles_DrawerItem-draggable {
|
237
239
|
background: var(--puck-color-white);
|
238
240
|
padding: 12px;
|
239
241
|
display: flex;
|
@@ -245,61 +247,61 @@
|
|
245
247
|
cursor: grab;
|
246
248
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
247
249
|
}
|
248
|
-
.
|
250
|
+
.styles_DrawerItem:focus-visible {
|
249
251
|
outline: 0;
|
250
252
|
}
|
251
|
-
.
|
253
|
+
.styles_Drawer:not(.styles_Drawer--isDraggingFrom) .styles_DrawerItem:focus-visible .styles_DrawerItem-draggable {
|
252
254
|
border-radius: 4px;
|
253
255
|
outline: 2px solid var(--puck-color-azure-05);
|
254
256
|
outline-offset: 2px;
|
255
257
|
}
|
256
258
|
@media (hover: hover) and (pointer: fine) {
|
257
|
-
.
|
259
|
+
.styles_Drawer:not(.styles_Drawer--isDraggingFrom) .styles_DrawerItem-draggable:hover {
|
258
260
|
background-color: var(--puck-color-azure-12);
|
259
261
|
color: var(--puck-color-azure-04);
|
260
262
|
transition: none;
|
261
263
|
}
|
262
264
|
}
|
263
|
-
.
|
265
|
+
.styles_DrawerItem-name {
|
264
266
|
overflow-x: hidden;
|
265
267
|
text-overflow: ellipsis;
|
266
268
|
white-space: nowrap;
|
267
269
|
}
|
268
270
|
|
269
|
-
/*
|
270
|
-
.
|
271
|
+
/* components/DragIcon/styles.module.css */
|
272
|
+
.styles_DragIcon {
|
271
273
|
color: var(--puck-color-grey-05);
|
272
274
|
cursor: grab;
|
273
275
|
padding: 4px;
|
274
276
|
border-radius: 4px;
|
275
277
|
}
|
276
278
|
@media (hover: hover) and (pointer: fine) {
|
277
|
-
.
|
279
|
+
.styles_DragIcon:hover {
|
278
280
|
color: var(--puck-color-azure-05);
|
279
281
|
background-color: var(--puck-color-azure-12);
|
280
282
|
}
|
281
283
|
}
|
282
284
|
|
283
|
-
/*
|
284
|
-
.
|
285
|
+
/* components/DraggableComponent/styles.module.css */
|
286
|
+
.styles_DraggableComponent {
|
285
287
|
pointer-events: auto;
|
286
288
|
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
287
289
|
}
|
288
|
-
.
|
290
|
+
.styles_DraggableComponent--isDragging {
|
289
291
|
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
290
292
|
overflow: hidden;
|
291
293
|
}
|
292
|
-
.
|
294
|
+
.styles_DraggableComponent-contents {
|
293
295
|
position: relative;
|
294
296
|
pointer-events: none;
|
295
297
|
z-index: 0;
|
296
298
|
}
|
297
|
-
.
|
298
|
-
.
|
299
|
+
.styles_DraggableComponent-contents::before,
|
300
|
+
.styles_DraggableComponent-contents::after {
|
299
301
|
content: " ";
|
300
302
|
display: table;
|
301
303
|
}
|
302
|
-
.
|
304
|
+
.styles_DraggableComponent-overlay {
|
303
305
|
cursor: pointer;
|
304
306
|
height: 100%;
|
305
307
|
width: 100%;
|
@@ -310,13 +312,13 @@
|
|
310
312
|
box-sizing: border-box;
|
311
313
|
z-index: 1;
|
312
314
|
}
|
313
|
-
.
|
315
|
+
.styles_DraggableComponent:focus-visible > .styles_DraggableComponent-overlay {
|
314
316
|
outline: 1px solid var(--puck-color-azure-05);
|
315
317
|
}
|
316
|
-
.
|
318
|
+
.styles_DraggableComponent--isDragging > .styles_DraggableComponent-overlay {
|
317
319
|
outline: 1px var(--puck-color-azure-09) solid !important;
|
318
320
|
}
|
319
|
-
.
|
321
|
+
.styles_DraggableComponent-loadingOverlay {
|
320
322
|
background: var(--puck-color-white);
|
321
323
|
color: var(--puck-color-grey-03);
|
322
324
|
border-radius: 4px;
|
@@ -331,32 +333,32 @@
|
|
331
333
|
opacity: 0.8;
|
332
334
|
z-index: 1;
|
333
335
|
}
|
334
|
-
.
|
336
|
+
.styles_DraggableComponent:hover:not(.styles_DraggableComponent--isLocked) > .styles_DraggableComponent-overlay {
|
335
337
|
background: var(--overlay-background);
|
336
338
|
pointer-events: none;
|
337
339
|
}
|
338
|
-
.
|
340
|
+
.styles_DraggableComponent--forceHover > .styles_DraggableComponent-overlay {
|
339
341
|
background: var(--overlay-background);
|
340
342
|
pointer-events: none;
|
341
343
|
}
|
342
|
-
.
|
344
|
+
.styles_DraggableComponent:not(.styles_DraggableComponent--isSelected):hover > .styles_DraggableComponent-overlay {
|
343
345
|
outline: 2px var(--puck-color-azure-09) solid !important;
|
344
346
|
}
|
345
|
-
.
|
347
|
+
.styles_DraggableComponent--indicativeHover > .styles_DraggableComponent-overlay {
|
346
348
|
pointer-events: none;
|
347
349
|
}
|
348
|
-
.
|
350
|
+
.styles_DraggableComponent:not(.styles_DraggableComponent--isSelected):has(.styles_DraggableComponent:hover > .styles_DraggableComponent-overlay) > .styles_DraggableComponent-overlay {
|
349
351
|
display: none;
|
350
352
|
}
|
351
|
-
.
|
353
|
+
.styles_DraggableComponent--isSelected > .styles_DraggableComponent-overlay {
|
352
354
|
outline: 2px var(--puck-color-azure-07) solid !important;
|
353
355
|
}
|
354
|
-
.
|
356
|
+
.styles_DraggableComponent--isSelected > .styles_DraggableComponent-actionsOverlay {
|
355
357
|
display: block;
|
356
358
|
position: sticky;
|
357
359
|
z-index: 2;
|
358
360
|
}
|
359
|
-
.
|
361
|
+
.styles_DraggableComponent-actions {
|
360
362
|
position: absolute;
|
361
363
|
width: auto;
|
362
364
|
padding: 4px;
|
@@ -373,10 +375,10 @@
|
|
373
375
|
box-sizing: border-box;
|
374
376
|
transform-origin: right top;
|
375
377
|
}
|
376
|
-
.
|
378
|
+
.styles_DraggableComponent--isSelected > .styles_DraggableComponent-actionsOverlay > .styles_DraggableComponent-actions {
|
377
379
|
display: flex;
|
378
380
|
}
|
379
|
-
.
|
381
|
+
.styles_DraggableComponent-actionsLabel {
|
380
382
|
color: var(--puck-color-grey-08);
|
381
383
|
display: flex;
|
382
384
|
font-size: var(--puck-font-size-xxxs);
|
@@ -390,7 +392,7 @@
|
|
390
392
|
text-overflow: ellipsis;
|
391
393
|
white-space: nowrap;
|
392
394
|
}
|
393
|
-
.
|
395
|
+
.styles_DraggableComponent-action {
|
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
|
-
.
|
408
|
+
.styles_DraggableComponent-action: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
|
-
.
|
413
|
+
.styles_DraggableComponent-action:hover {
|
412
414
|
color: var(--puck-color-azure-06);
|
413
415
|
transition: none;
|
414
416
|
}
|
415
417
|
}
|
416
|
-
.
|
418
|
+
.styles_DraggableComponent-action:active {
|
417
419
|
color: var(--puck-color-azure-07);
|
418
420
|
transition: none;
|
419
421
|
}
|
420
422
|
|
421
|
-
/*
|
422
|
-
.
|
423
|
+
/* components/DropZone/styles.module.css */
|
424
|
+
.styles_DropZone {
|
423
425
|
margin-left: auto;
|
424
426
|
margin-right: auto;
|
425
427
|
position: relative;
|
@@ -427,36 +429,36 @@
|
|
427
429
|
outline-offset: -1px;
|
428
430
|
width: 100%;
|
429
431
|
}
|
430
|
-
.
|
432
|
+
.styles_DropZone-content {
|
431
433
|
min-height: 128px;
|
432
434
|
height: 100%;
|
433
435
|
}
|
434
|
-
.
|
436
|
+
.styles_DropZone--userIsDragging .styles_DropZone-content {
|
435
437
|
pointer-events: all;
|
436
438
|
}
|
437
|
-
.
|
439
|
+
.styles_DropZone--userIsDragging:not(.styles_DropZone--draggingOverArea):not(.styles_DropZone--draggingNewComponent) > .styles_DropZone-content {
|
438
440
|
pointer-events: none;
|
439
441
|
}
|
440
|
-
.
|
441
|
-
.
|
442
|
-
.
|
442
|
+
.styles_DropZone--isAreaSelected,
|
443
|
+
.styles_DropZone--draggingOverArea:not(:has(.styles_DropZone--hoveringOverArea)),
|
444
|
+
.styles_DropZone--hoveringOverArea:not(.styles_DropZone--isDisabled):not(.styles_DropZone--isRootZone):not(.styles_DropZone--hasChildren) {
|
443
445
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
444
446
|
outline: 2px dashed var(--puck-color-azure-08);
|
445
447
|
}
|
446
|
-
.
|
448
|
+
.styles_DropZone:not(.styles_DropZone--hasChildren) {
|
447
449
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
448
450
|
outline: 2px dashed var(--puck-color-azure-08);
|
449
451
|
}
|
450
|
-
.
|
452
|
+
.styles_DropZone--isDestination {
|
451
453
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
452
454
|
}
|
453
|
-
.
|
455
|
+
.styles_DropZone--isDestination:not(.styles_DropZone--isRootZone) {
|
454
456
|
background: var(--puck-color-azure-10) !important;
|
455
457
|
}
|
456
|
-
.
|
458
|
+
.styles_DropZone-item {
|
457
459
|
position: relative;
|
458
460
|
}
|
459
|
-
.
|
461
|
+
.styles_DropZone-hitbox {
|
460
462
|
position: absolute;
|
461
463
|
bottom: -12px;
|
462
464
|
height: 24px;
|
@@ -464,8 +466,8 @@
|
|
464
466
|
z-index: 1;
|
465
467
|
}
|
466
468
|
|
467
|
-
/*
|
468
|
-
.
|
469
|
+
/* components/IconButton/IconButton.module.css */
|
470
|
+
.IconButton_IconButton {
|
469
471
|
align-items: center;
|
470
472
|
background: transparent;
|
471
473
|
border: none;
|
@@ -477,23 +479,23 @@
|
|
477
479
|
padding: 4px;
|
478
480
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
479
481
|
}
|
480
|
-
.
|
482
|
+
.IconButton_IconButton:focus-visible {
|
481
483
|
outline: 2px solid var(--puck-color-azure-05);
|
482
484
|
outline-offset: -2px;
|
483
485
|
}
|
484
486
|
@media (hover: hover) and (pointer: fine) {
|
485
|
-
.
|
487
|
+
.IconButton_IconButton:hover:not(.IconButton_IconButton--disabled) {
|
486
488
|
background: var(--puck-color-azure-12);
|
487
489
|
color: var(--puck-color-azure-04);
|
488
490
|
cursor: pointer;
|
489
491
|
transition: none;
|
490
492
|
}
|
491
493
|
}
|
492
|
-
.
|
494
|
+
.IconButton_IconButton:active {
|
493
495
|
background: var(--puck-color-azure-11);
|
494
496
|
transition: none;
|
495
497
|
}
|
496
|
-
.
|
498
|
+
.IconButton_IconButton-title {
|
497
499
|
clip: rect(0 0 0 0);
|
498
500
|
clip-path: inset(100%);
|
499
501
|
height: 1px;
|
@@ -502,44 +504,44 @@
|
|
502
504
|
white-space: nowrap;
|
503
505
|
width: 1px;
|
504
506
|
}
|
505
|
-
.
|
507
|
+
.IconButton_IconButton--disabled {
|
506
508
|
color: var(--puck-color-grey-07);
|
507
509
|
}
|
508
510
|
|
509
|
-
/*
|
510
|
-
.
|
511
|
+
/* components/SidebarSection/styles.module.css */
|
512
|
+
.styles_SidebarSection {
|
511
513
|
display: flex;
|
512
514
|
position: relative;
|
513
515
|
flex-direction: column;
|
514
516
|
color: var(--puck-color-black);
|
515
517
|
}
|
516
|
-
.
|
518
|
+
.styles_SidebarSection:last-of-type {
|
517
519
|
flex-grow: 1;
|
518
520
|
}
|
519
|
-
.
|
521
|
+
.styles_SidebarSection-title {
|
520
522
|
background: var(--puck-color-white);
|
521
523
|
padding: 16px;
|
522
524
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
523
525
|
border-top: 1px solid var(--puck-color-grey-09);
|
524
526
|
overflow-x: auto;
|
525
527
|
}
|
526
|
-
.
|
528
|
+
.styles_SidebarSection--noBorderTop > .styles_SidebarSection-title {
|
527
529
|
border-top: 0px;
|
528
530
|
}
|
529
|
-
.
|
531
|
+
.styles_SidebarSection-content {
|
530
532
|
padding: 16px;
|
531
533
|
}
|
532
|
-
.
|
534
|
+
.styles_SidebarSection--noPadding > .styles_SidebarSection-content {
|
533
535
|
padding: 0px;
|
534
536
|
}
|
535
|
-
.
|
537
|
+
.styles_SidebarSection--noPadding > .styles_SidebarSection-content:last-child {
|
536
538
|
padding-bottom: 4px;
|
537
539
|
}
|
538
|
-
.
|
540
|
+
.styles_SidebarSection:last-of-type .styles_SidebarSection-content {
|
539
541
|
border-bottom: none;
|
540
542
|
flex-grow: 1;
|
541
543
|
}
|
542
|
-
.
|
544
|
+
.styles_SidebarSection-breadcrumbLabel {
|
543
545
|
background: none;
|
544
546
|
border: 0;
|
545
547
|
border-radius: 2px;
|
@@ -550,34 +552,34 @@
|
|
550
552
|
padding: 0;
|
551
553
|
transition: color 50ms ease-in;
|
552
554
|
}
|
553
|
-
.
|
555
|
+
.styles_SidebarSection-breadcrumbLabel:focus-visible {
|
554
556
|
outline: 2px solid var(--puck-color-azure-05);
|
555
557
|
outline-offset: 2px;
|
556
558
|
}
|
557
559
|
@media (hover: hover) and (pointer: fine) {
|
558
|
-
.
|
560
|
+
.styles_SidebarSection-breadcrumbLabel:hover {
|
559
561
|
color: var(--puck-color-azure-03);
|
560
562
|
transition: none;
|
561
563
|
}
|
562
564
|
}
|
563
|
-
.
|
565
|
+
.styles_SidebarSection-breadcrumbLabel:active {
|
564
566
|
color: var(--puck-color-azure-02);
|
565
567
|
transition: none;
|
566
568
|
}
|
567
|
-
.
|
569
|
+
.styles_SidebarSection-breadcrumbs {
|
568
570
|
align-items: center;
|
569
571
|
display: flex;
|
570
572
|
gap: 4px;
|
571
573
|
}
|
572
|
-
.
|
574
|
+
.styles_SidebarSection-breadcrumb {
|
573
575
|
align-items: center;
|
574
576
|
display: flex;
|
575
577
|
gap: 4px;
|
576
578
|
}
|
577
|
-
.
|
579
|
+
.styles_SidebarSection-heading {
|
578
580
|
padding-right: 16px;
|
579
581
|
}
|
580
|
-
.
|
582
|
+
.styles_SidebarSection-loadingOverlay {
|
581
583
|
background: var(--puck-color-white);
|
582
584
|
display: flex;
|
583
585
|
justify-content: center;
|
@@ -592,45 +594,45 @@
|
|
592
594
|
opacity: 0.8;
|
593
595
|
}
|
594
596
|
|
595
|
-
/*
|
596
|
-
.
|
597
|
+
/* components/Heading/styles.module.css */
|
598
|
+
.styles_Heading {
|
597
599
|
display: block;
|
598
600
|
color: var(--puck-color-black);
|
599
601
|
font-weight: 700;
|
600
602
|
margin: 0;
|
601
603
|
}
|
602
|
-
.
|
604
|
+
.styles_Heading b {
|
603
605
|
font-weight: 700;
|
604
606
|
}
|
605
|
-
.
|
607
|
+
.styles_Heading--xxxxl {
|
606
608
|
font-size: var(--puck-font-size-xxxxl);
|
607
609
|
letter-spacing: 0.08ch;
|
608
610
|
font-weight: 800;
|
609
611
|
}
|
610
|
-
.
|
612
|
+
.styles_Heading--xxxl {
|
611
613
|
font-size: var(--puck-font-size-xxxl);
|
612
614
|
}
|
613
|
-
.
|
615
|
+
.styles_Heading--xxl {
|
614
616
|
font-size: var(--puck-font-size-xxl);
|
615
617
|
}
|
616
|
-
.
|
618
|
+
.styles_Heading--xl {
|
617
619
|
font-size: var(--puck-font-size-xl);
|
618
620
|
}
|
619
|
-
.
|
621
|
+
.styles_Heading--l {
|
620
622
|
font-size: var(--puck-font-size-l);
|
621
623
|
}
|
622
|
-
.
|
624
|
+
.styles_Heading--m {
|
623
625
|
font-size: var(--puck-font-size-m);
|
624
626
|
}
|
625
|
-
.
|
627
|
+
.styles_Heading--s {
|
626
628
|
font-size: var(--puck-font-size-s);
|
627
629
|
}
|
628
|
-
.
|
630
|
+
.styles_Heading--xs {
|
629
631
|
font-size: var(--puck-font-size-xs);
|
630
632
|
}
|
631
633
|
|
632
|
-
/*
|
633
|
-
.
|
634
|
+
/* components/MenuBar/styles.module.css */
|
635
|
+
.styles_MenuBar {
|
634
636
|
background-color: var(--puck-color-white);
|
635
637
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
636
638
|
display: none;
|
@@ -642,11 +644,11 @@
|
|
642
644
|
top: 100%;
|
643
645
|
z-index: 2;
|
644
646
|
}
|
645
|
-
.
|
647
|
+
.styles_MenuBar--menuOpen {
|
646
648
|
display: block;
|
647
649
|
}
|
648
650
|
@media (min-width: 638px) {
|
649
|
-
.
|
651
|
+
.styles_MenuBar {
|
650
652
|
border: none;
|
651
653
|
display: block;
|
652
654
|
margin-top: 0;
|
@@ -655,7 +657,7 @@
|
|
655
657
|
position: static;
|
656
658
|
}
|
657
659
|
}
|
658
|
-
.
|
660
|
+
.styles_MenuBar-inner {
|
659
661
|
align-items: center;
|
660
662
|
display: flex;
|
661
663
|
flex-wrap: wrap;
|
@@ -663,18 +665,18 @@
|
|
663
665
|
justify-content: flex-end;
|
664
666
|
}
|
665
667
|
@media (min-width: 638px) {
|
666
|
-
.
|
668
|
+
.styles_MenuBar-inner {
|
667
669
|
display: flex;
|
668
670
|
flex-direction: row;
|
669
671
|
flex-wrap: nowrap;
|
670
672
|
}
|
671
673
|
}
|
672
|
-
.
|
674
|
+
.styles_MenuBar-history {
|
673
675
|
display: flex;
|
674
676
|
}
|
675
677
|
|
676
|
-
/*
|
677
|
-
.
|
678
|
+
/* components/Puck/styles.module.css */
|
679
|
+
.styles_Puck {
|
678
680
|
--puck-frame-width: auto;
|
679
681
|
--puck-side-bar-width: 186px;
|
680
682
|
--puck-space-px: 16px;
|
@@ -690,51 +692,51 @@
|
|
690
692
|
right: 0;
|
691
693
|
top: 0;
|
692
694
|
}
|
693
|
-
.
|
695
|
+
.styles_Puck--leftSideBarVisible {
|
694
696
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
695
697
|
}
|
696
|
-
.
|
698
|
+
.styles_Puck--rightSideBarVisible {
|
697
699
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
698
700
|
}
|
699
|
-
.
|
701
|
+
.styles_Puck--leftSideBarVisible.styles_Puck--rightSideBarVisible {
|
700
702
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
701
703
|
}
|
702
704
|
@media (min-width: 458px) {
|
703
|
-
.
|
705
|
+
.styles_Puck {
|
704
706
|
--puck-frame-width: minmax(266px, auto);
|
705
707
|
}
|
706
708
|
}
|
707
709
|
@media (min-width: 638px) {
|
708
|
-
.
|
710
|
+
.styles_Puck {
|
709
711
|
--puck-side-bar-width: minmax(186px, 250px);
|
710
712
|
}
|
711
713
|
}
|
712
714
|
@media (min-width: 766px) {
|
713
|
-
.
|
715
|
+
.styles_Puck {
|
714
716
|
--puck-frame-width: auto;
|
715
717
|
}
|
716
718
|
}
|
717
719
|
@media (min-width: 990px) {
|
718
|
-
.
|
720
|
+
.styles_Puck {
|
719
721
|
--puck-side-bar-width: 256px;
|
720
722
|
}
|
721
723
|
}
|
722
724
|
@media (min-width: 1198px) {
|
723
|
-
.
|
725
|
+
.styles_Puck {
|
724
726
|
--puck-side-bar-width: 274px;
|
725
727
|
}
|
726
728
|
}
|
727
729
|
@media (min-width: 1398px) {
|
728
|
-
.
|
730
|
+
.styles_Puck {
|
729
731
|
--puck-side-bar-width: 290px;
|
730
732
|
}
|
731
733
|
}
|
732
734
|
@media (min-width: 1598px) {
|
733
|
-
.
|
735
|
+
.styles_Puck {
|
734
736
|
--puck-side-bar-width: 320px;
|
735
737
|
}
|
736
738
|
}
|
737
|
-
.
|
739
|
+
.styles_Puck-header {
|
738
740
|
background: var(--puck-color-white);
|
739
741
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
740
742
|
color: var(--puck-color-black);
|
@@ -742,7 +744,7 @@
|
|
742
744
|
position: relative;
|
743
745
|
max-width: 100vw;
|
744
746
|
}
|
745
|
-
.
|
747
|
+
.styles_Puck-headerInner {
|
746
748
|
align-items: end;
|
747
749
|
display: grid;
|
748
750
|
gap: var(--puck-space-px);
|
@@ -751,43 +753,43 @@
|
|
751
753
|
grid-template-rows: auto;
|
752
754
|
padding: var(--puck-space-px);
|
753
755
|
}
|
754
|
-
.
|
756
|
+
.styles_Puck-headerToggle {
|
755
757
|
color: var(--puck-color-grey-05);
|
756
758
|
display: flex;
|
757
759
|
margin-left: -4px;
|
758
760
|
padding-top: 2px;
|
759
761
|
}
|
760
|
-
.
|
761
|
-
.
|
762
|
+
.styles_Puck--rightSideBarVisible .styles_Puck-rightSideBarToggle,
|
763
|
+
.styles_Puck--leftSideBarVisible .styles_Puck-leftSideBarToggle {
|
762
764
|
color: var(--puck-color-black);
|
763
765
|
}
|
764
|
-
.
|
766
|
+
.styles_Puck-headerTitle {
|
765
767
|
align-self: center;
|
766
768
|
}
|
767
|
-
.
|
769
|
+
.styles_Puck-headerPath {
|
768
770
|
font-family: var(--puck-font-family-monospaced);
|
769
771
|
font-size: var(--puck-font-size-xxs);
|
770
772
|
font-weight: normal;
|
771
773
|
word-break: break-all;
|
772
774
|
}
|
773
|
-
.
|
775
|
+
.styles_Puck-headerTools {
|
774
776
|
display: flex;
|
775
777
|
gap: 16px;
|
776
778
|
justify-content: flex-end;
|
777
779
|
}
|
778
|
-
.
|
780
|
+
.styles_Puck-menuButton {
|
779
781
|
color: var(--puck-color-grey-05);
|
780
782
|
margin-left: -4px;
|
781
783
|
}
|
782
|
-
.
|
784
|
+
.styles_Puck--menuOpen .styles_Puck-menuButton {
|
783
785
|
color: var(--puck-color-black);
|
784
786
|
}
|
785
787
|
@media (min-width: 638px) {
|
786
|
-
.
|
788
|
+
.styles_Puck-menuButton {
|
787
789
|
display: none;
|
788
790
|
}
|
789
791
|
}
|
790
|
-
.
|
792
|
+
.styles_Puck-leftSideBar {
|
791
793
|
background: var(--puck-color-grey-12);
|
792
794
|
border-right: 1px solid var(--puck-color-grey-09);
|
793
795
|
display: flex;
|
@@ -795,37 +797,7 @@
|
|
795
797
|
grid-area: left;
|
796
798
|
overflow-y: auto;
|
797
799
|
}
|
798
|
-
.
|
799
|
-
box-sizing: border-box;
|
800
|
-
display: flex;
|
801
|
-
height: 100%;
|
802
|
-
justify-content: center;
|
803
|
-
min-width: 392px;
|
804
|
-
overflow: hidden;
|
805
|
-
position: relative;
|
806
|
-
width: 100%;
|
807
|
-
}
|
808
|
-
._Puck-root_3qn7l_179 {
|
809
|
-
background: white;
|
810
|
-
border: 1px solid var(--puck-color-grey-09);
|
811
|
-
box-sizing: border-box;
|
812
|
-
min-width: 321px;
|
813
|
-
position: absolute;
|
814
|
-
transform-origin: top;
|
815
|
-
top: 0;
|
816
|
-
bottom: 0;
|
817
|
-
}
|
818
|
-
@media (min-width: 1198px) {
|
819
|
-
._Puck-root_3qn7l_179 {
|
820
|
-
min-width: unset;
|
821
|
-
}
|
822
|
-
}
|
823
|
-
@media (prefers-reduced-motion: reduce) {
|
824
|
-
._Puck-root_3qn7l_179 {
|
825
|
-
transition: none !important;
|
826
|
-
}
|
827
|
-
}
|
828
|
-
._Puck-rightSideBar_3qn7l_122 {
|
800
|
+
.styles_Puck-rightSideBar {
|
829
801
|
background: var(--puck-color-white);
|
830
802
|
border-left: 1px solid var(--puck-color-grey-09);
|
831
803
|
display: flex;
|
@@ -833,63 +805,46 @@
|
|
833
805
|
grid-area: right;
|
834
806
|
overflow-y: auto;
|
835
807
|
}
|
836
|
-
._Puck-canvas_3qn7l_211 {
|
837
|
-
background: var(--puck-color-grey-11);
|
838
|
-
display: flex;
|
839
|
-
grid-area: editor;
|
840
|
-
flex-direction: column;
|
841
|
-
padding: var(--puck-space-px);
|
842
|
-
overflow: auto;
|
843
|
-
}
|
844
|
-
@media (min-width: 1198px) {
|
845
|
-
._Puck-canvas_3qn7l_211 {
|
846
|
-
padding: calc(var(--puck-space-px) * 1.5);
|
847
|
-
padding-top: var(--puck-space-px);
|
848
|
-
}
|
849
|
-
._Puck-canvas_3qn7l_211:not(._Puck-canvas_3qn7l_211:has(._Puck-canvasControls_3qn7l_226)) {
|
850
|
-
padding-top: calc(var(--puck-space-px) * 1.5);
|
851
|
-
}
|
852
|
-
}
|
853
808
|
|
854
|
-
/*
|
855
|
-
.
|
809
|
+
/* components/InputOrGroup/styles.module.css */
|
810
|
+
.styles_Input {
|
856
811
|
color: var(--puck-color-grey-04);
|
857
812
|
padding: 16px;
|
858
813
|
padding-bottom: 12px;
|
859
814
|
display: block;
|
860
815
|
}
|
861
|
-
.
|
816
|
+
.styles_Input .styles_Input {
|
862
817
|
padding: 0px;
|
863
818
|
}
|
864
|
-
.
|
819
|
+
.styles_Input * {
|
865
820
|
box-sizing: border-box;
|
866
821
|
}
|
867
|
-
.
|
822
|
+
.styles_Input + .styles_Input {
|
868
823
|
border-top: 1px solid var(--puck-color-grey-09);
|
869
824
|
margin-top: 8px;
|
870
825
|
}
|
871
|
-
.
|
826
|
+
.styles_Input .styles_Input + .styles_Input {
|
872
827
|
border-top: 0px;
|
873
828
|
margin-top: 12px;
|
874
829
|
}
|
875
|
-
.
|
830
|
+
.styles_Input-label {
|
876
831
|
align-items: center;
|
877
832
|
display: flex;
|
878
833
|
padding-bottom: 12px;
|
879
834
|
font-size: var(--puck-font-size-xxs);
|
880
835
|
font-weight: 600;
|
881
836
|
}
|
882
|
-
.
|
837
|
+
.styles_Input-labelIcon {
|
883
838
|
color: var(--puck-color-grey-07);
|
884
839
|
display: flex;
|
885
840
|
margin-right: 4px;
|
886
841
|
padding-left: 4px;
|
887
842
|
}
|
888
|
-
.
|
843
|
+
.styles_Input-disabledIcon {
|
889
844
|
color: var(--puck-color-grey-05);
|
890
845
|
margin-left: auto;
|
891
846
|
}
|
892
|
-
.
|
847
|
+
.styles_Input-input {
|
893
848
|
background: var(--puck-color-white);
|
894
849
|
border-width: 1px;
|
895
850
|
border-style: solid;
|
@@ -901,7 +856,7 @@
|
|
901
856
|
transition: border-color 50ms ease-in;
|
902
857
|
width: 100%;
|
903
858
|
}
|
904
|
-
select.
|
859
|
+
select.styles_Input-input {
|
905
860
|
appearance: none;
|
906
861
|
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;
|
907
862
|
background-size: 12px;
|
@@ -911,25 +866,25 @@ select._Input-input_1qi5b_46 {
|
|
911
866
|
cursor: pointer;
|
912
867
|
}
|
913
868
|
@media (hover: hover) and (pointer: fine) {
|
914
|
-
.
|
915
|
-
.
|
869
|
+
.styles_Input:has(> input):hover .styles_Input-input:not([readonly]),
|
870
|
+
.styles_Input:has(> textarea):hover .styles_Input-input:not([readonly]) {
|
916
871
|
border-color: var(--puck-color-grey-05);
|
917
872
|
transition: none;
|
918
873
|
}
|
919
|
-
.
|
874
|
+
.styles_Input:has(> select):hover .styles_Input-input:not([disabled]) {
|
920
875
|
background-color: var(--puck-color-azure-12);
|
921
876
|
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>");
|
922
877
|
border-color: var(--puck-color-grey-05);
|
923
878
|
transition: none;
|
924
879
|
}
|
925
880
|
}
|
926
|
-
.
|
881
|
+
.styles_Input-input:focus {
|
927
882
|
border-color: var(--puck-color-grey-05);
|
928
883
|
outline: 2px solid var(--puck-color-azure-05);
|
929
884
|
transition: none;
|
930
885
|
}
|
931
|
-
.
|
932
|
-
.
|
886
|
+
.styles_Input--readOnly > .styles_Input-input,
|
887
|
+
.styles_Input--readOnly > select.styles_Input-input {
|
933
888
|
background-color: var(--puck-color-grey-11);
|
934
889
|
border-color: var(--puck-color-grey-09);
|
935
890
|
color: var(--puck-color-grey-04);
|
@@ -938,34 +893,34 @@ select._Input-input_1qi5b_46 {
|
|
938
893
|
outline: 0;
|
939
894
|
transition: none;
|
940
895
|
}
|
941
|
-
.
|
896
|
+
.styles_Input-radioGroupItems {
|
942
897
|
display: flex;
|
943
898
|
border: 1px solid var(--puck-color-grey-09);
|
944
899
|
border-radius: 4px;
|
945
900
|
flex-wrap: wrap;
|
946
901
|
}
|
947
|
-
.
|
902
|
+
.styles_Input-radio {
|
948
903
|
border-right: 1px solid var(--puck-color-grey-09);
|
949
904
|
flex-grow: 1;
|
950
905
|
}
|
951
|
-
.
|
906
|
+
.styles_Input-radio:first-of-type {
|
952
907
|
border-bottom-left-radius: 4px;
|
953
908
|
border-top-left-radius: 4px;
|
954
909
|
}
|
955
|
-
.
|
910
|
+
.styles_Input-radio:first-of-type .styles_Input-radioInner {
|
956
911
|
border-bottom-left-radius: 3px;
|
957
912
|
border-top-left-radius: 3px;
|
958
913
|
}
|
959
|
-
.
|
914
|
+
.styles_Input-radio:last-of-type {
|
960
915
|
border-bottom-right-radius: 4px;
|
961
916
|
border-right: 0;
|
962
917
|
border-top-right-radius: 4px;
|
963
918
|
}
|
964
|
-
.
|
919
|
+
.styles_Input-radio:last-of-type .styles_Input-radioInner {
|
965
920
|
border-bottom-right-radius: 3px;
|
966
921
|
border-top-right-radius: 3px;
|
967
922
|
}
|
968
|
-
.
|
923
|
+
.styles_Input-radioInner {
|
969
924
|
background-color: var(--puck-color-white);
|
970
925
|
color: var(--puck-color-grey-04);
|
971
926
|
cursor: pointer;
|
@@ -974,32 +929,32 @@ select._Input-input_1qi5b_46 {
|
|
974
929
|
text-align: center;
|
975
930
|
transition: background-color 50ms ease-in;
|
976
931
|
}
|
977
|
-
.
|
932
|
+
.styles_Input-radio:has(:focus-visible) {
|
978
933
|
outline: 2px solid var(--puck-color-azure-05);
|
979
934
|
outline-offset: 2px;
|
980
935
|
position: relative;
|
981
936
|
}
|
982
937
|
@media (hover: hover) and (pointer: fine) {
|
983
|
-
.
|
938
|
+
.styles_Input-radioInner:hover {
|
984
939
|
background-color: var(--puck-color-azure-12);
|
985
940
|
transition: none;
|
986
941
|
}
|
987
942
|
}
|
988
|
-
.
|
943
|
+
.styles_Input--readOnly .styles_Input-radioInner {
|
989
944
|
background-color: var(--puck-color-white);
|
990
945
|
color: var(--puck-color-grey-04);
|
991
946
|
cursor: default;
|
992
947
|
}
|
993
|
-
.
|
948
|
+
.styles_Input-radio .styles_Input-radioInput:checked ~ .styles_Input-radioInner {
|
994
949
|
background-color: var(--puck-color-azure-11);
|
995
950
|
color: var(--puck-color-azure-04);
|
996
951
|
font-weight: 500;
|
997
952
|
}
|
998
|
-
.
|
953
|
+
.styles_Input--readOnly .styles_Input-radioInput:checked ~ .styles_Input-radioInner {
|
999
954
|
background-color: var(--puck-color-grey-11);
|
1000
955
|
color: var(--puck-color-grey-04);
|
1001
956
|
}
|
1002
|
-
.
|
957
|
+
.styles_Input-radio .styles_Input-radioInput {
|
1003
958
|
clip: rect(0 0 0 0);
|
1004
959
|
clip-path: inset(100%);
|
1005
960
|
height: 1px;
|
@@ -1008,83 +963,94 @@ select._Input-input_1qi5b_46 {
|
|
1008
963
|
white-space: nowrap;
|
1009
964
|
width: 1px;
|
1010
965
|
}
|
1011
|
-
textarea.
|
966
|
+
textarea.styles_Input-input {
|
1012
967
|
margin-bottom: -4px;
|
1013
968
|
}
|
1014
969
|
|
1015
|
-
/*
|
1016
|
-
.
|
970
|
+
/* components/InputOrGroup/fields/ArrayField/styles.module.css */
|
971
|
+
.styles_ArrayField {
|
1017
972
|
display: flex;
|
1018
973
|
flex-direction: column;
|
1019
974
|
background-color: var(--puck-color-grey-09);
|
1020
975
|
border: 1px solid var(--puck-color-grey-09);
|
1021
976
|
border-radius: 4px;
|
1022
977
|
}
|
1023
|
-
.
|
978
|
+
.styles_ArrayField--isDraggingFrom {
|
1024
979
|
background-color: var(--puck-color-azure-11);
|
980
|
+
overflow: hidden;
|
1025
981
|
}
|
1026
|
-
.
|
982
|
+
.styles_ArrayField-addButton {
|
1027
983
|
background-color: var(--puck-color-white);
|
1028
984
|
border: none;
|
1029
|
-
border-radius:
|
985
|
+
border-radius: 3px;
|
1030
986
|
display: flex;
|
1031
987
|
color: var(--puck-color-azure-05);
|
1032
988
|
justify-content: center;
|
1033
989
|
cursor: pointer;
|
1034
990
|
width: 100%;
|
1035
991
|
margin: 0;
|
1036
|
-
padding:
|
992
|
+
padding: 14px;
|
1037
993
|
text-align: left;
|
1038
994
|
transition: background-color 50ms ease-in;
|
1039
995
|
}
|
1040
|
-
.
|
996
|
+
.styles_ArrayField--hasItems > .styles_ArrayField-addButton {
|
997
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
1041
998
|
border-top-left-radius: 0;
|
1042
999
|
border-top-right-radius: 0;
|
1043
1000
|
}
|
1044
|
-
.
|
1001
|
+
.styles_ArrayField-addButton:focus-visible {
|
1045
1002
|
outline: 2px solid var(--puck-color-azure-05);
|
1046
1003
|
outline-offset: 2px;
|
1047
1004
|
position: relative;
|
1048
1005
|
}
|
1049
1006
|
@media (hover: hover) and (pointer: fine) {
|
1050
|
-
.
|
1007
|
+
.styles_ArrayField:not(.styles_ArrayField--isDraggingFrom) > .styles_ArrayField-addButton:hover {
|
1051
1008
|
background: var(--puck-color-azure-12);
|
1052
1009
|
color: var(--puck-color-azure-04);
|
1053
1010
|
transition: none;
|
1054
1011
|
}
|
1055
1012
|
}
|
1056
|
-
.
|
1013
|
+
.styles_ArrayField:not(.styles_ArrayField--isDraggingFrom) > .styles_ArrayField-addButton:active {
|
1057
1014
|
background: var(--puck-color-azure-11);
|
1058
1015
|
color: var(--puck-color-azure-04);
|
1059
1016
|
transition: none;
|
1060
1017
|
}
|
1061
|
-
.
|
1062
|
-
|
1063
|
-
border-top-
|
1064
|
-
border-top-right-radius: 4px;
|
1018
|
+
.styles_ArrayFieldItem {
|
1019
|
+
border-top-left-radius: 3px;
|
1020
|
+
border-top-right-radius: 3px;
|
1065
1021
|
display: block;
|
1066
|
-
|
1022
|
+
position: relative;
|
1067
1023
|
}
|
1068
|
-
.
|
1069
|
-
|
1070
|
-
|
1024
|
+
.styles_ArrayFieldItem:not(.styles_ArrayFieldItem--isDragging):not(:first-of-type)::before {
|
1025
|
+
background-color: var(--puck-color-grey-09);
|
1026
|
+
position: absolute;
|
1027
|
+
width: 100%;
|
1028
|
+
height: 1px;
|
1029
|
+
content: "";
|
1030
|
+
z-index: 1;
|
1031
|
+
top: -1px;
|
1071
1032
|
}
|
1072
|
-
.
|
1033
|
+
.styles_ArrayFieldItem--isExpanded::before {
|
1034
|
+
display: none;
|
1035
|
+
}
|
1036
|
+
.styles_ArrayFieldItem--isExpanded {
|
1073
1037
|
border-bottom: 0;
|
1074
1038
|
outline-offset: 0px !important;
|
1075
1039
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1040
|
+
z-index: 2;
|
1076
1041
|
}
|
1077
|
-
.
|
1042
|
+
.styles_ArrayFieldItem--isDragging {
|
1078
1043
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1079
1044
|
}
|
1080
|
-
.
|
1045
|
+
.styles_ArrayFieldItem--isDragging .styles_ArrayFieldItem-summary:active {
|
1081
1046
|
background-color: var(--puck-color-white);
|
1082
1047
|
}
|
1083
|
-
.
|
1048
|
+
.styles_ArrayFieldItem + .styles_ArrayFieldItem {
|
1084
1049
|
border-top-left-radius: 0;
|
1085
1050
|
border-top-right-radius: 0;
|
1086
1051
|
}
|
1087
|
-
.
|
1052
|
+
.styles_ArrayFieldItem-summary {
|
1053
|
+
background: var(--puck-color-white);
|
1088
1054
|
color: var(--puck-color-grey-04);
|
1089
1055
|
cursor: pointer;
|
1090
1056
|
display: flex;
|
@@ -1094,71 +1060,77 @@ textarea._Input-input_1qi5b_46 {
|
|
1094
1060
|
font-size: var(--puck-font-size-xxs);
|
1095
1061
|
list-style: none;
|
1096
1062
|
padding: 12px 15px;
|
1063
|
+
padding-bottom: 13px;
|
1097
1064
|
position: relative;
|
1098
1065
|
overflow: hidden;
|
1099
1066
|
transition: background-color 50ms ease-in;
|
1100
1067
|
}
|
1101
|
-
.
|
1102
|
-
|
1103
|
-
|
1068
|
+
.styles_ArrayFieldItem:first-of-type > .styles_ArrayFieldItem-summary {
|
1069
|
+
border-top-left-radius: 3px;
|
1070
|
+
border-top-right-radius: 3px;
|
1104
1071
|
}
|
1105
|
-
.
|
1106
|
-
border-
|
1107
|
-
border-
|
1072
|
+
.styles_ArrayField--addDisabled > .styles_ArrayFieldItem:last-of-type:not(.styles_ArrayFieldItem--isExpanded) > .styles_ArrayFieldItem-summary {
|
1073
|
+
border-bottom-left-radius: 3px;
|
1074
|
+
border-bottom-right-radius: 3px;
|
1075
|
+
}
|
1076
|
+
.styles_ArrayField--addDisabled > .styles_ArrayFieldItem--isExpanded:last-of-type {
|
1077
|
+
border-bottom-left-radius: 3px;
|
1078
|
+
border-bottom-right-radius: 3px;
|
1108
1079
|
}
|
1109
|
-
.
|
1080
|
+
.styles_ArrayFieldItem-summary:focus-visible {
|
1110
1081
|
outline: 2px solid var(--puck-color-azure-05);
|
1111
1082
|
outline-offset: 2px;
|
1112
1083
|
}
|
1113
1084
|
@media (hover: hover) and (pointer: fine) {
|
1114
|
-
.
|
1085
|
+
.styles_ArrayFieldItem-summary:hover {
|
1115
1086
|
background-color: var(--puck-color-azure-12);
|
1116
1087
|
transition: none;
|
1117
1088
|
}
|
1118
1089
|
}
|
1119
|
-
.
|
1090
|
+
.styles_ArrayFieldItem-summary:active {
|
1120
1091
|
background-color: var(--puck-color-azure-11);
|
1121
1092
|
transition: none;
|
1122
1093
|
}
|
1123
|
-
.
|
1094
|
+
.styles_ArrayFieldItem--isExpanded > .styles_ArrayFieldItem-summary {
|
1124
1095
|
background: var(--puck-color-azure-11);
|
1125
1096
|
color: var(--puck-color-azure-04);
|
1126
1097
|
font-weight: 600;
|
1127
1098
|
transition: none;
|
1128
1099
|
}
|
1129
|
-
.
|
1100
|
+
.styles_ArrayFieldItem-body {
|
1101
|
+
background: var(--puck-color-white);
|
1130
1102
|
display: none;
|
1131
1103
|
}
|
1132
|
-
.
|
1104
|
+
.styles_ArrayFieldItem--isExpanded > .styles_ArrayFieldItem-body {
|
1133
1105
|
display: block;
|
1134
1106
|
}
|
1135
|
-
.
|
1107
|
+
.styles_ArrayFieldItem-fieldset {
|
1136
1108
|
border: none;
|
1137
1109
|
border-top: 1px solid var(--puck-color-grey-09);
|
1138
1110
|
margin: 0;
|
1139
1111
|
padding: 16px 15px;
|
1140
1112
|
}
|
1141
|
-
.
|
1113
|
+
.styles_ArrayFieldItem-rhs {
|
1142
1114
|
display: flex;
|
1143
1115
|
gap: 4px;
|
1144
1116
|
align-items: center;
|
1145
1117
|
}
|
1146
|
-
.
|
1118
|
+
.styles_ArrayFieldItem-actions {
|
1147
1119
|
color: var(--puck-color-grey-04);
|
1148
1120
|
display: flex;
|
1149
1121
|
gap: 4px;
|
1150
1122
|
opacity: 0;
|
1151
1123
|
}
|
1152
|
-
.
|
1153
|
-
.
|
1124
|
+
.styles_ArrayFieldItem-summary:focus-within > .styles_ArrayFieldItem-rhs > .styles_ArrayFieldItem-actions,
|
1125
|
+
.styles_ArrayFieldItem-summary:hover > .styles_ArrayFieldItem-rhs > .styles_ArrayFieldItem-actions {
|
1154
1126
|
opacity: 1;
|
1155
1127
|
}
|
1156
1128
|
|
1157
|
-
/*
|
1158
|
-
.
|
1129
|
+
/* components/ExternalInput/styles.module.css */
|
1130
|
+
.styles_ExternalInput-actions {
|
1159
1131
|
display: flex;
|
1160
1132
|
}
|
1161
|
-
.
|
1133
|
+
.styles_ExternalInput-button {
|
1162
1134
|
display: flex;
|
1163
1135
|
gap: 8px;
|
1164
1136
|
align-items: center;
|
@@ -1177,13 +1149,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1177
1149
|
overflow: hidden;
|
1178
1150
|
flex-grow: 1;
|
1179
1151
|
}
|
1180
|
-
.
|
1152
|
+
.styles_ExternalInput--dataSelected .styles_ExternalInput-button {
|
1181
1153
|
color: var(--puck-color-grey-03);
|
1182
1154
|
display: block;
|
1183
1155
|
border-top-right-radius: 0px;
|
1184
1156
|
border-bottom-right-radius: 0px;
|
1185
1157
|
}
|
1186
|
-
.
|
1158
|
+
.styles_ExternalInput-detachButton {
|
1187
1159
|
border: 1px solid var(--puck-color-grey-09);
|
1188
1160
|
border-top-right-radius: 4px;
|
1189
1161
|
border-bottom-right-radius: 4px;
|
@@ -1199,28 +1171,28 @@ textarea._Input-input_1qi5b_46 {
|
|
1199
1171
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1200
1172
|
margin-left: -1px;
|
1201
1173
|
}
|
1202
|
-
.
|
1203
|
-
.
|
1174
|
+
.styles_ExternalInput-button:focus-visible,
|
1175
|
+
.styles_ExternalInput-detachButton:focus-visible {
|
1204
1176
|
outline: 2px solid var(--puck-color-azure-05);
|
1205
1177
|
outline-offset: 2px;
|
1206
1178
|
z-index: 1;
|
1207
1179
|
}
|
1208
1180
|
@media (hover: hover) and (pointer: fine) {
|
1209
|
-
.
|
1210
|
-
.
|
1181
|
+
.styles_ExternalInput-button:hover,
|
1182
|
+
.styles_ExternalInput-detachButton:hover {
|
1211
1183
|
background: var(--puck-color-azure-12);
|
1212
1184
|
transition: none;
|
1213
1185
|
}
|
1214
|
-
.
|
1186
|
+
.styles_ExternalInput-detachButton:hover {
|
1215
1187
|
color: var(--puck-color-azure-04);
|
1216
1188
|
}
|
1217
1189
|
}
|
1218
|
-
.
|
1219
|
-
.
|
1190
|
+
.styles_ExternalInput-button:active,
|
1191
|
+
.styles_ExternalInput-detachButton:active {
|
1220
1192
|
background: var(--puck-color-azure-11);
|
1221
1193
|
transition: none;
|
1222
1194
|
}
|
1223
|
-
.
|
1195
|
+
.styles_ExternalInputModal {
|
1224
1196
|
color: var(--puck-color-black);
|
1225
1197
|
display: grid;
|
1226
1198
|
grid-template-rows: min-content minmax(128px, 100%) min-content;
|
@@ -1229,35 +1201,35 @@ textarea._Input-input_1qi5b_46 {
|
|
1229
1201
|
min-height: 50dvh;
|
1230
1202
|
max-height: 90dvh;
|
1231
1203
|
}
|
1232
|
-
.
|
1204
|
+
.styles_ExternalInputModal-grid {
|
1233
1205
|
display: flex;
|
1234
1206
|
flex-direction: column;
|
1235
1207
|
}
|
1236
1208
|
@media (min-width: 458px) {
|
1237
|
-
.
|
1209
|
+
.styles_ExternalInputModal-grid {
|
1238
1210
|
display: grid;
|
1239
1211
|
grid-template-columns: 100%;
|
1240
1212
|
}
|
1241
|
-
.
|
1213
|
+
.styles_ExternalInputModal--filtersToggled .styles_ExternalInputModal-grid {
|
1242
1214
|
grid-template-columns: 25% 75%;
|
1243
1215
|
}
|
1244
1216
|
}
|
1245
|
-
.
|
1217
|
+
.styles_ExternalInputModal-filters {
|
1246
1218
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1247
1219
|
}
|
1248
|
-
.
|
1220
|
+
.styles_ExternalInputModal--filtersToggled .styles_ExternalInputModal-filters {
|
1249
1221
|
display: none;
|
1250
1222
|
}
|
1251
1223
|
@media (min-width: 458px) {
|
1252
|
-
.
|
1224
|
+
.styles_ExternalInputModal-filters {
|
1253
1225
|
border-right: 1px solid var(--puck-color-grey-09);
|
1254
1226
|
display: none;
|
1255
1227
|
}
|
1256
|
-
.
|
1228
|
+
.styles_ExternalInputModal--filtersToggled .styles_ExternalInputModal-filters {
|
1257
1229
|
display: block;
|
1258
1230
|
}
|
1259
1231
|
}
|
1260
|
-
.
|
1232
|
+
.styles_ExternalInputModal-masthead {
|
1261
1233
|
background-color: var(--puck-color-grey-12);
|
1262
1234
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1263
1235
|
display: flex;
|
@@ -1265,13 +1237,13 @@ textarea._Input-input_1qi5b_46 {
|
|
1265
1237
|
gap: 24px;
|
1266
1238
|
padding: 24px;
|
1267
1239
|
}
|
1268
|
-
.
|
1240
|
+
.styles_ExternalInputModal-tableWrapper {
|
1269
1241
|
position: relative;
|
1270
1242
|
overflow-x: auto;
|
1271
1243
|
overflow-y: auto;
|
1272
1244
|
flex-grow: 1;
|
1273
1245
|
}
|
1274
|
-
.
|
1246
|
+
.styles_ExternalInputModal-table {
|
1275
1247
|
border-collapse: unset;
|
1276
1248
|
border-spacing: 0px;
|
1277
1249
|
color: var(--puck-color-grey-02);
|
@@ -1279,51 +1251,51 @@ textarea._Input-input_1qi5b_46 {
|
|
1279
1251
|
z-index: 0;
|
1280
1252
|
min-width: 100%;
|
1281
1253
|
}
|
1282
|
-
.
|
1254
|
+
.styles_ExternalInputModal-thead {
|
1283
1255
|
background-color: var(--puck-color-white);
|
1284
1256
|
position: sticky;
|
1285
1257
|
top: 0;
|
1286
1258
|
z-index: 1;
|
1287
1259
|
}
|
1288
|
-
.
|
1260
|
+
.styles_ExternalInputModal-th {
|
1289
1261
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1290
1262
|
color: var(--puck-color-grey-04);
|
1291
1263
|
font-weight: 500;
|
1292
1264
|
font-size: 14px;
|
1293
1265
|
padding: 16px 24px;
|
1294
1266
|
}
|
1295
|
-
.
|
1267
|
+
.styles_ExternalInputModal-td {
|
1296
1268
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
1297
1269
|
padding: 16px 24px;
|
1298
1270
|
}
|
1299
|
-
.
|
1271
|
+
.styles_ExternalInputModal-tr .styles_ExternalInputModal-td:first-of-type {
|
1300
1272
|
font-weight: 500;
|
1301
1273
|
width: 1%;
|
1302
1274
|
white-space: nowrap;
|
1303
1275
|
}
|
1304
1276
|
@media (hover: hover) and (pointer: fine) {
|
1305
|
-
.
|
1277
|
+
.styles_ExternalInputModal-tbody .styles_ExternalInputModal-tr:hover {
|
1306
1278
|
background: var(--puck-color-azure-12);
|
1307
1279
|
color: var(--puck-color-azure-04);
|
1308
1280
|
cursor: pointer;
|
1309
1281
|
position: relative;
|
1310
1282
|
margin-left: -5px;
|
1311
1283
|
}
|
1312
|
-
.
|
1284
|
+
.styles_ExternalInputModal-tbody .styles_ExternalInputModal-tr:hover .styles_ExternalInputModal-td:first-of-type {
|
1313
1285
|
border-left: 4px solid var(--puck-color-azure-04);
|
1314
1286
|
padding-left: 20px;
|
1315
1287
|
}
|
1316
1288
|
}
|
1317
|
-
.
|
1289
|
+
.styles_ExternalInputModal-tbody .styles_ExternalInputModal-tr:last-of-type .styles_ExternalInputModal-td {
|
1318
1290
|
border-bottom: none;
|
1319
1291
|
}
|
1320
|
-
.
|
1292
|
+
.styles_ExternalInputModal-tableWrapper {
|
1321
1293
|
display: none;
|
1322
1294
|
}
|
1323
|
-
.
|
1295
|
+
.styles_ExternalInputModal--hasData .styles_ExternalInputModal-tableWrapper {
|
1324
1296
|
display: block;
|
1325
1297
|
}
|
1326
|
-
.
|
1298
|
+
.styles_ExternalInputModal-loadingBanner {
|
1327
1299
|
display: none;
|
1328
1300
|
background-color: color-mix(in srgb, var(--puck-color-white) 90%, transparent);
|
1329
1301
|
padding: 64px;
|
@@ -1335,21 +1307,21 @@ textarea._Input-input_1qi5b_46 {
|
|
1335
1307
|
right: 0;
|
1336
1308
|
bottom: 0;
|
1337
1309
|
}
|
1338
|
-
.
|
1310
|
+
.styles_ExternalInputModal--isLoading .styles_ExternalInputModal-loadingBanner {
|
1339
1311
|
display: flex;
|
1340
1312
|
}
|
1341
|
-
.
|
1313
|
+
.styles_ExternalInputModal-searchForm {
|
1342
1314
|
display: flex;
|
1343
1315
|
flex-wrap: wrap;
|
1344
1316
|
gap: 12px;
|
1345
1317
|
flex-grow: 1;
|
1346
1318
|
}
|
1347
1319
|
@media (min-width: 458px) {
|
1348
|
-
.
|
1320
|
+
.styles_ExternalInputModal-searchForm {
|
1349
1321
|
flex-wrap: nowrap;
|
1350
1322
|
}
|
1351
1323
|
}
|
1352
|
-
.
|
1324
|
+
.styles_ExternalInputModal-search {
|
1353
1325
|
display: flex;
|
1354
1326
|
background: var(--puck-color-white);
|
1355
1327
|
border-width: 1px;
|
@@ -1359,18 +1331,18 @@ textarea._Input-input_1qi5b_46 {
|
|
1359
1331
|
flex-grow: 1;
|
1360
1332
|
transition: border-color 50ms ease-in;
|
1361
1333
|
}
|
1362
|
-
.
|
1334
|
+
.styles_ExternalInputModal-search:focus-within {
|
1363
1335
|
border-color: var(--puck-color-grey-05);
|
1364
1336
|
outline: 2px solid var(--puck-color-azure-05);
|
1365
1337
|
transition: none;
|
1366
1338
|
}
|
1367
1339
|
@media (hover: hover) and (pointer: fine) {
|
1368
|
-
.
|
1340
|
+
.styles_ExternalInputModal-search:hover {
|
1369
1341
|
border-color: var(--puck-color-grey-05);
|
1370
1342
|
transition: none;
|
1371
1343
|
}
|
1372
1344
|
}
|
1373
|
-
.
|
1345
|
+
.styles_ExternalInputModal-searchIcon {
|
1374
1346
|
align-items: center;
|
1375
1347
|
background: var(--puck-color-grey-12);
|
1376
1348
|
border-bottom-left-radius: 4px;
|
@@ -1382,17 +1354,17 @@ textarea._Input-input_1qi5b_46 {
|
|
1382
1354
|
padding: 12px 15px;
|
1383
1355
|
transition: color 50ms ease-in;
|
1384
1356
|
}
|
1385
|
-
.
|
1357
|
+
.styles_ExternalInputModal-search:focus-within .styles_ExternalInputModal-searchIcon {
|
1386
1358
|
color: var(--puck-color-grey-04);
|
1387
1359
|
transition: none;
|
1388
1360
|
}
|
1389
1361
|
@media (hover: hover) and (pointer: fine) {
|
1390
|
-
.
|
1362
|
+
.styles_ExternalInputModal-search:hover .styles_ExternalInputModal-searchIcon {
|
1391
1363
|
color: var(--puck-color-grey-04);
|
1392
1364
|
transition: none;
|
1393
1365
|
}
|
1394
1366
|
}
|
1395
|
-
.
|
1367
|
+
.styles_ExternalInputModal-searchIconText {
|
1396
1368
|
clip: rect(0 0 0 0);
|
1397
1369
|
clip-path: inset(100%);
|
1398
1370
|
height: 1px;
|
@@ -1401,7 +1373,7 @@ textarea._Input-input_1qi5b_46 {
|
|
1401
1373
|
white-space: nowrap;
|
1402
1374
|
width: 1px;
|
1403
1375
|
}
|
1404
|
-
.
|
1376
|
+
.styles_ExternalInputModal-searchInput {
|
1405
1377
|
border: none;
|
1406
1378
|
border-radius: 4px;
|
1407
1379
|
background: var(--puck-color-white);
|
@@ -1410,24 +1382,24 @@ textarea._Input-input_1qi5b_46 {
|
|
1410
1382
|
padding: 12px 15px;
|
1411
1383
|
width: 100%;
|
1412
1384
|
}
|
1413
|
-
.
|
1385
|
+
.styles_ExternalInputModal-searchInput:focus {
|
1414
1386
|
outline: 0;
|
1415
1387
|
}
|
1416
|
-
.
|
1388
|
+
.styles_ExternalInputModal-searchActions {
|
1417
1389
|
display: flex;
|
1418
1390
|
gap: 8px;
|
1419
1391
|
height: 44px;
|
1420
1392
|
width: 100%;
|
1421
1393
|
}
|
1422
1394
|
@media (min-width: 458px) {
|
1423
|
-
.
|
1395
|
+
.styles_ExternalInputModal-searchActions {
|
1424
1396
|
width: auto;
|
1425
1397
|
}
|
1426
1398
|
}
|
1427
|
-
.
|
1399
|
+
.styles_ExternalInputModal-searchActionIcon {
|
1428
1400
|
align-self: center;
|
1429
1401
|
}
|
1430
|
-
.
|
1402
|
+
.styles_ExternalInputModal-footer {
|
1431
1403
|
background-color: var(--puck-color-grey-12);
|
1432
1404
|
border-top: 1px solid var(--puck-color-grey-09);
|
1433
1405
|
color: var(--puck-color-grey-04);
|
@@ -1437,8 +1409,8 @@ textarea._Input-input_1qi5b_46 {
|
|
1437
1409
|
text-align: right;
|
1438
1410
|
}
|
1439
1411
|
|
1440
|
-
/*
|
1441
|
-
.
|
1412
|
+
/* components/Modal/styles.module.css */
|
1413
|
+
.styles_Modal {
|
1442
1414
|
background: color-mix(in srgb, var(--puck-color-black) 75%, transparent);
|
1443
1415
|
display: none;
|
1444
1416
|
justify-content: center;
|
@@ -1451,10 +1423,10 @@ textarea._Input-input_1qi5b_46 {
|
|
1451
1423
|
z-index: 1;
|
1452
1424
|
padding: 32px;
|
1453
1425
|
}
|
1454
|
-
.
|
1426
|
+
.styles_Modal--isOpen {
|
1455
1427
|
display: flex;
|
1456
1428
|
}
|
1457
|
-
.
|
1429
|
+
.styles_Modal-inner {
|
1458
1430
|
width: 100%;
|
1459
1431
|
max-width: 1024px;
|
1460
1432
|
border-radius: 8px;
|
@@ -1465,26 +1437,26 @@ textarea._Input-input_1qi5b_46 {
|
|
1465
1437
|
max-height: 90dvh;
|
1466
1438
|
}
|
1467
1439
|
|
1468
|
-
/*
|
1469
|
-
.
|
1440
|
+
/* components/InputOrGroup/fields/ObjectField/styles.module.css */
|
1441
|
+
.styles_ObjectField {
|
1470
1442
|
display: flex;
|
1471
1443
|
flex-direction: column;
|
1472
1444
|
background-color: var(--puck-color-white);
|
1473
1445
|
border: 1px solid var(--puck-color-grey-09);
|
1474
1446
|
border-radius: 4px;
|
1475
1447
|
}
|
1476
|
-
.
|
1448
|
+
.styles_ObjectField-fieldset {
|
1477
1449
|
border: none;
|
1478
1450
|
margin: 0;
|
1479
1451
|
padding: 16px 15px;
|
1480
1452
|
}
|
1481
1453
|
|
1482
|
-
/*
|
1483
|
-
.
|
1454
|
+
/* components/Puck/components/Fields/styles.module.css */
|
1455
|
+
.styles_PuckFields {
|
1484
1456
|
position: relative;
|
1485
1457
|
font-family: var(--puck-font-family);
|
1486
1458
|
}
|
1487
|
-
.
|
1459
|
+
.styles_PuckFields-loadingOverlay {
|
1488
1460
|
background: var(--puck-color-white);
|
1489
1461
|
display: flex;
|
1490
1462
|
justify-content: center;
|
@@ -1499,20 +1471,20 @@ textarea._Input-input_1qi5b_46 {
|
|
1499
1471
|
opacity: 0.8;
|
1500
1472
|
}
|
1501
1473
|
|
1502
|
-
/*
|
1503
|
-
.
|
1474
|
+
/* components/ComponentList/styles.module.css */
|
1475
|
+
.styles_ComponentList {
|
1504
1476
|
max-width: 100%;
|
1505
1477
|
}
|
1506
|
-
.
|
1478
|
+
.styles_ComponentList--isExpanded + .styles_ComponentList {
|
1507
1479
|
margin-top: 12px;
|
1508
1480
|
}
|
1509
|
-
.
|
1481
|
+
.styles_ComponentList-content {
|
1510
1482
|
display: none;
|
1511
1483
|
}
|
1512
|
-
.
|
1484
|
+
.styles_ComponentList--isExpanded > .styles_ComponentList-content {
|
1513
1485
|
display: block;
|
1514
1486
|
}
|
1515
|
-
.
|
1487
|
+
.styles_ComponentList-title {
|
1516
1488
|
background-color: transparent;
|
1517
1489
|
border: 0;
|
1518
1490
|
color: var(--puck-color-grey-05);
|
@@ -1529,46 +1501,37 @@ textarea._Input-input_1qi5b_46 {
|
|
1529
1501
|
border-radius: 4px;
|
1530
1502
|
width: 100%;
|
1531
1503
|
}
|
1532
|
-
.
|
1504
|
+
.styles_ComponentList-title:focus-visible {
|
1533
1505
|
outline: 2px solid var(--puck-color-azure-05);
|
1534
1506
|
outline-offset: 2px;
|
1535
1507
|
}
|
1536
1508
|
@media (hover: hover) and (pointer: fine) {
|
1537
|
-
.
|
1509
|
+
.styles_ComponentList-title:hover {
|
1538
1510
|
background-color: var(--puck-color-azure-11);
|
1539
1511
|
color: var(--puck-color-azure-04);
|
1540
1512
|
transition: none;
|
1541
1513
|
}
|
1542
1514
|
}
|
1543
|
-
.
|
1515
|
+
.styles_ComponentList-title:active {
|
1544
1516
|
background-color: var(--puck-color-azure-10);
|
1545
1517
|
transition: none;
|
1546
1518
|
}
|
1547
|
-
.
|
1519
|
+
.styles_ComponentList-titleIcon {
|
1548
1520
|
margin-left: auto;
|
1549
1521
|
}
|
1550
1522
|
|
1551
|
-
/*
|
1552
|
-
.
|
1523
|
+
/* components/Puck/components/Preview/styles.module.css */
|
1524
|
+
.styles_PuckPreview {
|
1553
1525
|
height: 100%;
|
1554
1526
|
}
|
1555
|
-
.
|
1527
|
+
.styles_PuckPreview-frame {
|
1556
1528
|
border: none;
|
1557
1529
|
height: 100%;
|
1558
1530
|
width: 100%;
|
1559
1531
|
}
|
1560
|
-
._PuckPreview-content_379hm_11 {
|
1561
|
-
height: 100%;
|
1562
|
-
width: 100%;
|
1563
|
-
opacity: 0;
|
1564
|
-
transition: opacity 150ms ease-out;
|
1565
|
-
}
|
1566
|
-
._PuckPreview--stylesLoaded_379hm_18 ._PuckPreview-content_379hm_11 {
|
1567
|
-
opacity: 1;
|
1568
|
-
}
|
1569
1532
|
|
1570
|
-
/*
|
1571
|
-
.
|
1533
|
+
/* components/LayerTree/styles.module.css */
|
1534
|
+
.styles_LayerTree {
|
1572
1535
|
color: var(--puck-color-grey-03);
|
1573
1536
|
font-family: var(--puck-font-family);
|
1574
1537
|
font-size: var(--puck-font-size-xxs);
|
@@ -1577,30 +1540,30 @@ textarea._Input-input_1qi5b_46 {
|
|
1577
1540
|
list-style: none;
|
1578
1541
|
padding: 0;
|
1579
1542
|
}
|
1580
|
-
.
|
1543
|
+
.styles_LayerTree-zoneTitle {
|
1581
1544
|
color: var(--puck-color-grey-05);
|
1582
1545
|
font-size: var(--puck-font-size-xxxs);
|
1583
1546
|
text-transform: uppercase;
|
1584
1547
|
}
|
1585
|
-
.
|
1548
|
+
.styles_LayerTree-helper {
|
1586
1549
|
text-align: center;
|
1587
1550
|
color: var(--puck-color-grey-07);
|
1588
1551
|
margin: 8px 4px;
|
1589
1552
|
}
|
1590
|
-
.
|
1553
|
+
.styles_Layer {
|
1591
1554
|
position: relative;
|
1592
1555
|
border: 1px solid transparent;
|
1593
1556
|
border-radius: 4px;
|
1594
1557
|
}
|
1595
|
-
.
|
1558
|
+
.styles_Layer-inner {
|
1596
1559
|
border: 1px solid transparent;
|
1597
1560
|
border-radius: 4px;
|
1598
1561
|
transition: color 50ms ease-in;
|
1599
1562
|
}
|
1600
|
-
.
|
1563
|
+
.styles_Layer--containsZone > .styles_Layer-inner {
|
1601
1564
|
padding-left: 0;
|
1602
1565
|
}
|
1603
|
-
.
|
1566
|
+
.styles_Layer-clickable {
|
1604
1567
|
align-items: center;
|
1605
1568
|
background: none;
|
1606
1569
|
border: 0;
|
@@ -1613,83 +1576,83 @@ textarea._Input-input_1qi5b_46 {
|
|
1613
1576
|
padding-right: 4px;
|
1614
1577
|
width: 100%;
|
1615
1578
|
}
|
1616
|
-
.
|
1579
|
+
.styles_Layer-clickable:focus-visible {
|
1617
1580
|
outline: 2px solid var(--puck-color-azure-05);
|
1618
1581
|
outline-offset: 2px;
|
1619
1582
|
position: relative;
|
1620
1583
|
z-index: 1;
|
1621
1584
|
}
|
1622
1585
|
@media (hover: hover) and (pointer: fine) {
|
1623
|
-
.
|
1586
|
+
.styles_Layer:not(.styles_Layer--isSelected) > .styles_Layer-inner:hover {
|
1624
1587
|
border-color: var(--puck-color-azure-10);
|
1625
1588
|
background: var(--puck-color-azure-11);
|
1626
1589
|
color: var(--puck-color-azure-04);
|
1627
1590
|
transition: none;
|
1628
1591
|
}
|
1629
1592
|
}
|
1630
|
-
.
|
1593
|
+
.styles_Layer--isSelected {
|
1631
1594
|
border-color: var(--puck-color-azure-08);
|
1632
1595
|
}
|
1633
|
-
.
|
1596
|
+
.styles_Layer--isSelected > .styles_Layer-inner {
|
1634
1597
|
background: var(--puck-color-azure-10);
|
1635
1598
|
}
|
1636
|
-
.
|
1637
|
-
.
|
1599
|
+
.styles_Layer--isSelected > .styles_Layer-inner > .styles_Layer-clickable > .styles_Layer-chevron,
|
1600
|
+
.styles_Layer--childIsSelected > .styles_Layer-inner > .styles_Layer-clickable > .styles_Layer-chevron {
|
1638
1601
|
transform: scaleY(-1);
|
1639
1602
|
}
|
1640
|
-
.
|
1603
|
+
.styles_Layer-zones {
|
1641
1604
|
display: none;
|
1642
1605
|
margin-left: 12px;
|
1643
1606
|
}
|
1644
|
-
.
|
1645
|
-
.
|
1607
|
+
.styles_Layer--isSelected > .styles_Layer-zones,
|
1608
|
+
.styles_Layer--childIsSelected > .styles_Layer-zones {
|
1646
1609
|
display: block;
|
1647
1610
|
}
|
1648
|
-
.
|
1611
|
+
.styles_Layer-zones > .styles_LayerTree {
|
1649
1612
|
margin-left: 12px;
|
1650
1613
|
}
|
1651
|
-
.
|
1652
|
-
.
|
1614
|
+
.styles_Layer-title,
|
1615
|
+
.styles_LayerTree-zoneTitle {
|
1653
1616
|
display: flex;
|
1654
1617
|
gap: 8px;
|
1655
1618
|
align-items: center;
|
1656
1619
|
margin: 8px 4px;
|
1657
1620
|
overflow-x: hidden;
|
1658
1621
|
}
|
1659
|
-
.
|
1622
|
+
.styles_Layer-name {
|
1660
1623
|
overflow-x: hidden;
|
1661
1624
|
text-overflow: ellipsis;
|
1662
1625
|
white-space: nowrap;
|
1663
1626
|
}
|
1664
|
-
.
|
1627
|
+
.styles_Layer-icon {
|
1665
1628
|
color: var(--puck-color-rose-07);
|
1666
1629
|
margin-top: 4px;
|
1667
1630
|
}
|
1668
|
-
.
|
1631
|
+
.styles_Layer-zoneIcon {
|
1669
1632
|
color: var(--puck-color-grey-08);
|
1670
1633
|
margin-top: 4px;
|
1671
1634
|
}
|
1672
1635
|
|
1673
|
-
/*
|
1674
|
-
.
|
1636
|
+
/* components/ViewportControls/styles.module.css */
|
1637
|
+
.styles_ViewportControls {
|
1675
1638
|
display: flex;
|
1676
1639
|
background: var(--puck-color-grey-11);
|
1677
1640
|
box-sizing: border-box;
|
1678
1641
|
border-left: 2px solid var(--puck-color-grey-11);
|
1679
1642
|
justify-content: center;
|
1680
1643
|
gap: 8px;
|
1681
|
-
min-width:
|
1644
|
+
min-width: 358px;
|
1682
1645
|
padding-bottom: 16px;
|
1683
1646
|
padding-left: var(--puck-space-px);
|
1684
1647
|
padding-right: var(--puck-space-px);
|
1685
1648
|
z-index: 1;
|
1686
1649
|
}
|
1687
|
-
.
|
1650
|
+
.styles_ViewportControls-divider {
|
1688
1651
|
border-right: 1px solid var(--puck-color-grey-09);
|
1689
1652
|
margin-left: 8px;
|
1690
1653
|
margin-right: 8px;
|
1691
1654
|
}
|
1692
|
-
.
|
1655
|
+
.styles_ViewportControls-zoomSelect {
|
1693
1656
|
appearance: none;
|
1694
1657
|
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;
|
1695
1658
|
background-size: 10px;
|
@@ -1699,6 +1662,60 @@ textarea._Input-input_1qi5b_46 {
|
|
1699
1662
|
font-size: var(--puck-font-size-xxxs);
|
1700
1663
|
width: 96px;
|
1701
1664
|
}
|
1702
|
-
.
|
1665
|
+
.styles_ViewportButton--isActive .styles_ViewportButton-inner {
|
1703
1666
|
color: var(--puck-color-azure-04);
|
1704
1667
|
}
|
1668
|
+
|
1669
|
+
/* components/Puck/components/Canvas/styles.module.css */
|
1670
|
+
.styles_PuckCanvas {
|
1671
|
+
background: var(--puck-color-grey-11);
|
1672
|
+
display: flex;
|
1673
|
+
grid-area: editor;
|
1674
|
+
flex-direction: column;
|
1675
|
+
padding: var(--puck-space-px);
|
1676
|
+
overflow: auto;
|
1677
|
+
}
|
1678
|
+
@media (min-width: 1198px) {
|
1679
|
+
.styles_PuckCanvas {
|
1680
|
+
padding: calc(var(--puck-space-px) * 1.5);
|
1681
|
+
padding-top: var(--puck-space-px);
|
1682
|
+
}
|
1683
|
+
.styles_PuckCanvas:not(.styles_PuckCanvas:has(.styles_PuckCanvas-controls)) {
|
1684
|
+
padding-top: calc(var(--puck-space-px) * 1.5);
|
1685
|
+
}
|
1686
|
+
}
|
1687
|
+
.styles_PuckCanvas-inner {
|
1688
|
+
box-sizing: border-box;
|
1689
|
+
display: flex;
|
1690
|
+
height: 100%;
|
1691
|
+
justify-content: center;
|
1692
|
+
min-width: 358px;
|
1693
|
+
overflow: hidden;
|
1694
|
+
position: relative;
|
1695
|
+
width: 100%;
|
1696
|
+
}
|
1697
|
+
.styles_PuckCanvas-root {
|
1698
|
+
background: white;
|
1699
|
+
border: 1px solid var(--puck-color-grey-09);
|
1700
|
+
box-sizing: border-box;
|
1701
|
+
min-width: 321px;
|
1702
|
+
position: absolute;
|
1703
|
+
transform-origin: top;
|
1704
|
+
top: 0;
|
1705
|
+
bottom: 0;
|
1706
|
+
opacity: 0;
|
1707
|
+
}
|
1708
|
+
@media (min-width: 1198px) {
|
1709
|
+
.styles_PuckCanvas-root {
|
1710
|
+
min-width: unset;
|
1711
|
+
}
|
1712
|
+
}
|
1713
|
+
@media (prefers-reduced-motion: reduce) {
|
1714
|
+
.styles_PuckCanvas-root {
|
1715
|
+
transition: none !important;
|
1716
|
+
}
|
1717
|
+
}
|
1718
|
+
.styles_PuckCanvas--ready .styles_PuckCanvas-root {
|
1719
|
+
opacity: 1;
|
1720
|
+
transition: opacity 150ms ease-out;
|
1721
|
+
}
|