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