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