@measured/puck 0.17.2-canary.f323610 → 0.18.0-canary.9c64ea4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-7IH6SUIT.mjs → chunk-EXKSBUY5.mjs} +10 -0
- package/dist/index.css +220 -172
- package/dist/index.d.mts +26 -17
- package/dist/index.d.ts +26 -17
- package/dist/index.js +3455 -1807
- package/dist/index.mjs +3493 -1827
- package/dist/{resolve-all-data-zN5E6nBu.d.mts → resolve-all-data-DzJEE28m.d.mts} +11 -1
- package/dist/{resolve-all-data-zN5E6nBu.d.ts → resolve-all-data-DzJEE28m.d.ts} +11 -1
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.mjs +1 -1
- package/package.json +6 -6
package/dist/index.css
CHANGED
@@ -135,52 +135,66 @@
|
|
135
135
|
}
|
136
136
|
|
137
137
|
/* styles.css */
|
138
|
+
#frame-root {
|
139
|
+
min-height: 100vh;
|
140
|
+
}
|
138
141
|
|
139
142
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css/#css-module-data */
|
140
|
-
.
|
143
|
+
._ActionBar_194sn_1 {
|
144
|
+
align-items: center;
|
145
|
+
cursor: default;
|
141
146
|
display: flex;
|
142
147
|
width: auto;
|
143
148
|
padding: 4px;
|
144
|
-
padding-
|
149
|
+
padding-left: 0;
|
150
|
+
padding-right: 0;
|
145
151
|
border-top-left-radius: 8px;
|
146
152
|
border-top-right-radius: 8px;
|
147
153
|
border-radius: 8px;
|
148
154
|
background: var(--puck-color-grey-01);
|
149
155
|
color: var(--puck-color-white);
|
150
156
|
font-family: var(--puck-font-family);
|
151
|
-
gap: 4px;
|
152
157
|
min-height: 26px;
|
153
158
|
}
|
154
|
-
._ActionBar-
|
159
|
+
._ActionBar-label_194sn_18 {
|
155
160
|
color: var(--puck-color-grey-08);
|
156
|
-
display: flex;
|
157
161
|
font-size: var(--puck-font-size-xxxs);
|
158
162
|
font-weight: 500;
|
159
|
-
justify-content: center;
|
160
|
-
align-items: center;
|
161
163
|
padding-left: 8px;
|
162
164
|
padding-right: 8px;
|
165
|
+
margin-left: 4px;
|
166
|
+
margin-right: 4px;
|
163
167
|
text-overflow: ellipsis;
|
164
168
|
white-space: nowrap;
|
165
169
|
}
|
166
|
-
._ActionBar-
|
170
|
+
._ActionBar-action_194sn_30 + ._ActionBar-label_194sn_18 {
|
171
|
+
padding-left: 0;
|
172
|
+
}
|
173
|
+
._ActionBar-label_194sn_18 + ._ActionBar-action_194sn_30 {
|
174
|
+
margin-left: -4px;
|
175
|
+
}
|
176
|
+
._ActionBar-group_194sn_38 {
|
177
|
+
align-items: center;
|
167
178
|
border-inline-start: 0.5px solid var(--puck-color-grey-05);
|
168
179
|
display: flex;
|
180
|
+
height: 100%;
|
169
181
|
padding-left: 4px;
|
170
182
|
padding-right: 4px;
|
171
183
|
}
|
172
|
-
._ActionBar-
|
173
|
-
|
184
|
+
._ActionBar-group_194sn_38:first-of-type {
|
185
|
+
border-inline-start: 0;
|
174
186
|
}
|
175
|
-
._ActionBar-
|
187
|
+
._ActionBar-group_194sn_38:empty {
|
176
188
|
display: none;
|
177
189
|
}
|
178
|
-
._ActionBar-
|
190
|
+
._ActionBar-action_194sn_30 {
|
179
191
|
background: transparent;
|
180
192
|
border: none;
|
181
193
|
color: var(--puck-color-grey-08);
|
182
194
|
cursor: pointer;
|
183
195
|
padding: 6px 8px;
|
196
|
+
margin-left: 4px;
|
197
|
+
margin-right: 4px;
|
184
198
|
border-radius: 4px;
|
185
199
|
overflow: hidden;
|
186
200
|
display: flex;
|
@@ -188,20 +202,26 @@
|
|
188
202
|
justify-content: center;
|
189
203
|
transition: color 50ms ease-in;
|
190
204
|
}
|
191
|
-
._ActionBar-
|
205
|
+
._ActionBar-action_194sn_30 svg {
|
206
|
+
max-width: none !important;
|
207
|
+
}
|
208
|
+
._ActionBar-action_194sn_30:focus-visible {
|
192
209
|
outline: 2px solid var(--puck-color-azure-05);
|
193
210
|
outline-offset: -2px;
|
194
211
|
}
|
195
212
|
@media (hover: hover) and (pointer: fine) {
|
196
|
-
._ActionBar-
|
213
|
+
._ActionBar-action_194sn_30:hover {
|
197
214
|
color: var(--puck-color-azure-06);
|
198
215
|
transition: none;
|
199
216
|
}
|
200
217
|
}
|
201
|
-
._ActionBar-
|
218
|
+
._ActionBar-action_194sn_30:active {
|
202
219
|
color: var(--puck-color-azure-07);
|
203
220
|
transition: none;
|
204
221
|
}
|
222
|
+
._ActionBar-group_194sn_38 * {
|
223
|
+
margin: 0;
|
224
|
+
}
|
205
225
|
|
206
226
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
|
207
227
|
._InputWrapper_1l5m8_1 {
|
@@ -366,18 +386,18 @@ textarea._Input-input_1l5m8_47 {
|
|
366
386
|
}
|
367
387
|
|
368
388
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
369
|
-
.
|
389
|
+
._ArrayField_1jcbq_5 {
|
370
390
|
display: flex;
|
371
391
|
flex-direction: column;
|
372
|
-
background
|
392
|
+
background: var(--puck-color-azure-11);
|
373
393
|
border: 1px solid var(--puck-color-grey-09);
|
374
394
|
border-radius: 4px;
|
375
395
|
}
|
376
|
-
._ArrayField--
|
396
|
+
._ArrayField--isDraggingFrom_1jcbq_13 {
|
377
397
|
background-color: var(--puck-color-azure-11);
|
378
398
|
overflow: hidden;
|
379
399
|
}
|
380
|
-
._ArrayField-
|
400
|
+
._ArrayField-addButton_1jcbq_18 {
|
381
401
|
background-color: var(--puck-color-white);
|
382
402
|
border: none;
|
383
403
|
border-radius: 3px;
|
@@ -391,35 +411,35 @@ textarea._Input-input_1l5m8_47 {
|
|
391
411
|
text-align: left;
|
392
412
|
transition: background-color 50ms ease-in;
|
393
413
|
}
|
394
|
-
._ArrayField--
|
414
|
+
._ArrayField--hasItems_1jcbq_33 > ._ArrayField-addButton_1jcbq_18 {
|
395
415
|
border-top: 1px solid var(--puck-color-grey-09);
|
396
416
|
border-top-left-radius: 0;
|
397
417
|
border-top-right-radius: 0;
|
398
418
|
}
|
399
|
-
._ArrayField-
|
419
|
+
._ArrayField-addButton_1jcbq_18:focus-visible {
|
400
420
|
outline: 2px solid var(--puck-color-azure-05);
|
401
421
|
outline-offset: 2px;
|
402
422
|
position: relative;
|
403
423
|
}
|
404
424
|
@media (hover: hover) and (pointer: fine) {
|
405
|
-
.
|
425
|
+
._ArrayField_1jcbq_5:not(._ArrayField--isDraggingFrom_1jcbq_13) > ._ArrayField-addButton_1jcbq_18:hover {
|
406
426
|
background: var(--puck-color-azure-12);
|
407
427
|
color: var(--puck-color-azure-04);
|
408
428
|
transition: none;
|
409
429
|
}
|
410
430
|
}
|
411
|
-
.
|
431
|
+
._ArrayField_1jcbq_5:not(._ArrayField--isDraggingFrom_1jcbq_13) > ._ArrayField-addButton_1jcbq_18:active {
|
412
432
|
background: var(--puck-color-azure-11);
|
413
433
|
color: var(--puck-color-azure-04);
|
414
434
|
transition: none;
|
415
435
|
}
|
416
|
-
.
|
436
|
+
._ArrayFieldItem_1jcbq_63 {
|
417
437
|
border-top-left-radius: 3px;
|
418
438
|
border-top-right-radius: 3px;
|
419
439
|
display: block;
|
420
440
|
position: relative;
|
421
441
|
}
|
422
|
-
.
|
442
|
+
._ArrayFieldItem_1jcbq_63:not(._ArrayFieldItem--isDragging_1jcbq_71):not(:first-of-type)::before {
|
423
443
|
background-color: var(--puck-color-grey-09);
|
424
444
|
position: absolute;
|
425
445
|
width: 100%;
|
@@ -428,26 +448,26 @@ textarea._Input-input_1l5m8_47 {
|
|
428
448
|
z-index: 1;
|
429
449
|
top: -1px;
|
430
450
|
}
|
431
|
-
._ArrayFieldItem--
|
451
|
+
._ArrayFieldItem--isExpanded_1jcbq_81::before {
|
432
452
|
display: none;
|
433
453
|
}
|
434
|
-
._ArrayFieldItem--
|
454
|
+
._ArrayFieldItem--isExpanded_1jcbq_81 {
|
435
455
|
border-bottom: 0;
|
436
456
|
outline-offset: 0px !important;
|
437
457
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
438
458
|
z-index: 2;
|
439
459
|
}
|
440
|
-
._ArrayFieldItem--
|
460
|
+
._ArrayFieldItem--isDragging_1jcbq_71 {
|
441
461
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
442
462
|
}
|
443
|
-
._ArrayFieldItem--
|
463
|
+
._ArrayFieldItem--isDragging_1jcbq_71 ._ArrayFieldItem-summary_1jcbq_97:active {
|
444
464
|
background-color: var(--puck-color-white);
|
445
465
|
}
|
446
|
-
.
|
466
|
+
._ArrayFieldItem_1jcbq_63 + ._ArrayFieldItem_1jcbq_63 {
|
447
467
|
border-top-left-radius: 0;
|
448
468
|
border-top-right-radius: 0;
|
449
469
|
}
|
450
|
-
._ArrayFieldItem-
|
470
|
+
._ArrayFieldItem-summary_1jcbq_97 {
|
451
471
|
background: var(--puck-color-white);
|
452
472
|
color: var(--puck-color-grey-04);
|
453
473
|
cursor: pointer;
|
@@ -463,65 +483,65 @@ textarea._Input-input_1l5m8_47 {
|
|
463
483
|
overflow: hidden;
|
464
484
|
transition: background-color 50ms ease-in;
|
465
485
|
}
|
466
|
-
.
|
486
|
+
._ArrayFieldItem_1jcbq_63:first-of-type > ._ArrayFieldItem-summary_1jcbq_97 {
|
467
487
|
border-top-left-radius: 3px;
|
468
488
|
border-top-right-radius: 3px;
|
469
489
|
}
|
470
|
-
._ArrayField--
|
490
|
+
._ArrayField--addDisabled_1jcbq_128 > ._ArrayFieldItem_1jcbq_63:last-of-type:not(._ArrayFieldItem--isExpanded_1jcbq_81) > ._ArrayFieldItem-summary_1jcbq_97 {
|
471
491
|
border-bottom-left-radius: 3px;
|
472
492
|
border-bottom-right-radius: 3px;
|
473
493
|
}
|
474
|
-
._ArrayField--
|
494
|
+
._ArrayField--addDisabled_1jcbq_128 > ._ArrayFieldItem--isExpanded_1jcbq_81:last-of-type {
|
475
495
|
border-bottom-left-radius: 3px;
|
476
496
|
border-bottom-right-radius: 3px;
|
477
497
|
}
|
478
|
-
._ArrayFieldItem-
|
498
|
+
._ArrayFieldItem-summary_1jcbq_97:focus-visible {
|
479
499
|
outline: 2px solid var(--puck-color-azure-05);
|
480
500
|
outline-offset: 2px;
|
481
501
|
}
|
482
502
|
@media (hover: hover) and (pointer: fine) {
|
483
|
-
._ArrayFieldItem-
|
503
|
+
._ArrayFieldItem-summary_1jcbq_97:hover {
|
484
504
|
background-color: var(--puck-color-azure-12);
|
485
505
|
transition: none;
|
486
506
|
}
|
487
507
|
}
|
488
|
-
._ArrayFieldItem-
|
508
|
+
._ArrayFieldItem-summary_1jcbq_97:active {
|
489
509
|
background-color: var(--puck-color-azure-11);
|
490
510
|
transition: none;
|
491
511
|
}
|
492
|
-
._ArrayFieldItem--
|
512
|
+
._ArrayFieldItem--isExpanded_1jcbq_81 > ._ArrayFieldItem-summary_1jcbq_97 {
|
493
513
|
background: var(--puck-color-azure-11);
|
494
514
|
color: var(--puck-color-azure-04);
|
495
515
|
font-weight: 600;
|
496
516
|
transition: none;
|
497
517
|
}
|
498
|
-
._ArrayFieldItem-
|
518
|
+
._ArrayFieldItem-body_1jcbq_164 {
|
499
519
|
background: var(--puck-color-white);
|
500
520
|
display: none;
|
501
521
|
}
|
502
|
-
._ArrayFieldItem--
|
522
|
+
._ArrayFieldItem--isExpanded_1jcbq_81 > ._ArrayFieldItem-body_1jcbq_164 {
|
503
523
|
display: block;
|
504
524
|
}
|
505
|
-
._ArrayFieldItem-
|
525
|
+
._ArrayFieldItem-fieldset_1jcbq_173 {
|
506
526
|
border: none;
|
507
527
|
border-top: 1px solid var(--puck-color-grey-09);
|
508
528
|
margin: 0;
|
509
529
|
min-width: 0;
|
510
530
|
padding: 16px 15px;
|
511
531
|
}
|
512
|
-
._ArrayFieldItem-
|
532
|
+
._ArrayFieldItem-rhs_1jcbq_181 {
|
513
533
|
display: flex;
|
514
534
|
gap: 4px;
|
515
535
|
align-items: center;
|
516
536
|
}
|
517
|
-
._ArrayFieldItem-
|
537
|
+
._ArrayFieldItem-actions_1jcbq_187 {
|
518
538
|
color: var(--puck-color-grey-04);
|
519
539
|
display: flex;
|
520
540
|
gap: 4px;
|
521
541
|
opacity: 0;
|
522
542
|
}
|
523
|
-
._ArrayFieldItem-
|
524
|
-
._ArrayFieldItem-
|
543
|
+
._ArrayFieldItem-summary_1jcbq_97:focus-within > ._ArrayFieldItem-rhs_1jcbq_181 > ._ArrayFieldItem-actions_1jcbq_187,
|
544
|
+
._ArrayFieldItem-summary_1jcbq_97:hover > ._ArrayFieldItem-rhs_1jcbq_181 > ._ArrayFieldItem-actions_1jcbq_187 {
|
525
545
|
opacity: 1;
|
526
546
|
}
|
527
547
|
|
@@ -1062,22 +1082,29 @@ textarea._Input-input_1l5m8_47 {
|
|
1062
1082
|
}
|
1063
1083
|
|
1064
1084
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Drawer/styles.module.css/#css-module-data */
|
1065
|
-
.
|
1085
|
+
._Drawer_fkqfo_1 {
|
1086
|
+
display: flex;
|
1087
|
+
flex-direction: column;
|
1066
1088
|
font-family: var(--puck-font-family);
|
1089
|
+
gap: 12px;
|
1067
1090
|
}
|
1068
|
-
.
|
1069
|
-
|
1070
|
-
color: var(--puck-color-grey-05);
|
1071
|
-
cursor: not-allowed;
|
1091
|
+
._Drawer-draggable_fkqfo_8 {
|
1092
|
+
position: relative;
|
1072
1093
|
}
|
1073
|
-
.
|
1074
|
-
|
1094
|
+
._Drawer-draggableBg_fkqfo_12 {
|
1095
|
+
position: absolute;
|
1096
|
+
top: 0;
|
1097
|
+
right: 0;
|
1098
|
+
bottom: 0;
|
1099
|
+
left: 0;
|
1100
|
+
pointer-events: none;
|
1075
1101
|
}
|
1076
|
-
.
|
1077
|
-
|
1102
|
+
._Drawer-draggableFg_fkqfo_21 {
|
1103
|
+
z-index: 1;
|
1078
1104
|
}
|
1079
|
-
._DrawerItem-
|
1105
|
+
._DrawerItem-draggable_fkqfo_25 {
|
1080
1106
|
background: var(--puck-color-white);
|
1107
|
+
cursor: grab;
|
1081
1108
|
padding: 12px;
|
1082
1109
|
display: flex;
|
1083
1110
|
border: 1px var(--puck-color-grey-09) solid;
|
@@ -1087,64 +1114,54 @@ textarea._Input-input_1l5m8_47 {
|
|
1087
1114
|
align-items: center;
|
1088
1115
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
1089
1116
|
}
|
1090
|
-
.
|
1117
|
+
._DrawerItem--disabled_fkqfo_38 ._DrawerItem-draggable_fkqfo_25 {
|
1118
|
+
background: var(--puck-color-grey-11);
|
1119
|
+
color: var(--puck-color-grey-05);
|
1120
|
+
cursor: not-allowed;
|
1121
|
+
}
|
1122
|
+
._DrawerItem_fkqfo_25:focus-visible {
|
1091
1123
|
outline: 0;
|
1092
1124
|
}
|
1093
|
-
.
|
1125
|
+
._Drawer_fkqfo_1:not(._Drawer--isDraggingFrom_fkqfo_48) ._DrawerItem_fkqfo_25:focus-visible ._DrawerItem-draggable_fkqfo_25 {
|
1094
1126
|
border-radius: 4px;
|
1095
1127
|
outline: 2px solid var(--puck-color-azure-05);
|
1096
1128
|
outline-offset: 2px;
|
1097
1129
|
}
|
1098
1130
|
@media (hover: hover) and (pointer: fine) {
|
1099
|
-
.
|
1131
|
+
._Drawer_fkqfo_1:not(._Drawer--isDraggingFrom_fkqfo_48) ._DrawerItem_fkqfo_25:not(._DrawerItem--disabled_fkqfo_38) ._DrawerItem-draggable_fkqfo_25:hover {
|
1100
1132
|
background-color: var(--puck-color-azure-12);
|
1101
1133
|
color: var(--puck-color-azure-04);
|
1102
1134
|
transition: none;
|
1103
1135
|
}
|
1104
1136
|
}
|
1105
|
-
._DrawerItem-
|
1137
|
+
._DrawerItem-name_fkqfo_66 {
|
1106
1138
|
overflow-x: hidden;
|
1107
1139
|
text-overflow: ellipsis;
|
1108
1140
|
white-space: nowrap;
|
1109
1141
|
}
|
1110
1142
|
|
1111
1143
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
1112
|
-
.
|
1113
|
-
|
1114
|
-
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
1115
|
-
}
|
1116
|
-
._DraggableComponent--isDragging_1bhad_11 {
|
1117
|
-
background: color-mix(in srgb, var(--puck-color-azure-08) 10%, transparent);
|
1118
|
-
overflow: hidden;
|
1119
|
-
}
|
1120
|
-
._DraggableComponent-contents_1bhad_16 {
|
1121
|
-
position: relative;
|
1144
|
+
._DraggableComponent_1ukn8_1 {
|
1145
|
+
position: absolute;
|
1122
1146
|
pointer-events: none;
|
1123
|
-
|
1124
|
-
}
|
1125
|
-
._DraggableComponent-contents_1bhad_16::before,
|
1126
|
-
._DraggableComponent-contents_1bhad_16::after {
|
1127
|
-
content: " ";
|
1128
|
-
display: table;
|
1147
|
+
--overlay-background: color-mix( in srgb, var(--puck-color-azure-08) 30%, transparent );
|
1129
1148
|
}
|
1130
|
-
._DraggableComponent-
|
1149
|
+
._DraggableComponent-overlay_1ukn8_12 {
|
1131
1150
|
cursor: pointer;
|
1132
1151
|
height: 100%;
|
1133
1152
|
width: 100%;
|
1134
1153
|
top: 0;
|
1154
|
+
outline: 2px var(--puck-color-azure-09) solid;
|
1135
1155
|
outline-offset: -2px;
|
1136
1156
|
position: absolute;
|
1137
1157
|
pointer-events: none;
|
1138
1158
|
box-sizing: border-box;
|
1139
1159
|
z-index: 1;
|
1140
1160
|
}
|
1141
|
-
.
|
1161
|
+
._DraggableComponent_1ukn8_1:focus-visible > ._DraggableComponent-overlay_1ukn8_12 {
|
1142
1162
|
outline: 1px solid var(--puck-color-azure-05);
|
1143
1163
|
}
|
1144
|
-
._DraggableComponent
|
1145
|
-
outline: 2px var(--puck-color-azure-09) solid !important;
|
1146
|
-
}
|
1147
|
-
._DraggableComponent-loadingOverlay_1bhad_49 {
|
1164
|
+
._DraggableComponent-loadingOverlay_1ukn8_29 {
|
1148
1165
|
background: var(--puck-color-white);
|
1149
1166
|
color: var(--puck-color-grey-03);
|
1150
1167
|
border-radius: 4px;
|
@@ -1159,89 +1176,128 @@ textarea._Input-input_1l5m8_47 {
|
|
1159
1176
|
opacity: 0.8;
|
1160
1177
|
z-index: 1;
|
1161
1178
|
}
|
1162
|
-
.
|
1179
|
+
._DraggableComponent--hover_1ukn8_45:not(._DraggableComponent--isLocked_1ukn8_45) > ._DraggableComponent-overlay_1ukn8_12 {
|
1163
1180
|
background: var(--overlay-background);
|
1164
|
-
pointer-events: none;
|
1165
1181
|
}
|
1166
|
-
._DraggableComponent--
|
1167
|
-
|
1168
|
-
pointer-events: none;
|
1182
|
+
._DraggableComponent--hover_1ukn8_45 > ._DraggableComponent-overlay_1ukn8_12 {
|
1183
|
+
outline: 2px var(--puck-color-azure-09) solid;
|
1169
1184
|
}
|
1170
|
-
.
|
1171
|
-
outline:
|
1172
|
-
}
|
1173
|
-
._DraggableComponent--indicativeHover_1bhad_81 > ._DraggableComponent-overlay_1bhad_29 {
|
1174
|
-
pointer-events: none;
|
1185
|
+
._DraggableComponent--isSelected_1ukn8_54 > ._DraggableComponent-overlay_1ukn8_12 {
|
1186
|
+
outline-color: var(--puck-color-azure-07);
|
1175
1187
|
}
|
1176
|
-
.
|
1188
|
+
._DraggableComponent_1ukn8_1:has(._DraggableComponent--hover_1ukn8_45 > ._DraggableComponent-overlay_1ukn8_12) > ._DraggableComponent-overlay_1ukn8_12 {
|
1177
1189
|
display: none;
|
1178
1190
|
}
|
1179
|
-
._DraggableComponent
|
1180
|
-
outline: 2px var(--puck-color-azure-07) solid !important;
|
1181
|
-
}
|
1182
|
-
._DraggableComponent--isSelected_1bhad_76 > ._DraggableComponent-actionsOverlay_1bhad_97 {
|
1183
|
-
display: block;
|
1191
|
+
._DraggableComponent-actionsOverlay_1ukn8_66 {
|
1184
1192
|
position: sticky;
|
1193
|
+
opacity: 0;
|
1194
|
+
pointer-events: none;
|
1185
1195
|
z-index: 2;
|
1186
1196
|
}
|
1187
|
-
._DraggableComponent-
|
1197
|
+
._DraggableComponent--isSelected_1ukn8_54 ._DraggableComponent-actionsOverlay_1ukn8_66 {
|
1198
|
+
opacity: 1;
|
1199
|
+
pointer-events: auto;
|
1200
|
+
}
|
1201
|
+
._DraggableComponent-actions_1ukn8_66 {
|
1188
1202
|
position: absolute;
|
1189
1203
|
width: auto;
|
1190
1204
|
cursor: grab;
|
1191
|
-
display:
|
1192
|
-
pointer-events: auto;
|
1205
|
+
display: flex;
|
1193
1206
|
box-sizing: border-box;
|
1194
1207
|
transform-origin: right top;
|
1195
1208
|
}
|
1196
|
-
|
1197
|
-
|
1209
|
+
|
1210
|
+
/* components/DraggableComponent/styles.css */
|
1211
|
+
[data-puck-component] * {
|
1212
|
+
pointer-events: none;
|
1213
|
+
user-select: none;
|
1214
|
+
-webkit-user-select: none;
|
1215
|
+
}
|
1216
|
+
[data-puck-component] {
|
1217
|
+
cursor: grab;
|
1218
|
+
pointer-events: auto !important;
|
1219
|
+
user-select: none;
|
1220
|
+
-webkit-user-select: none;
|
1221
|
+
}
|
1222
|
+
[data-puck-dnd] {
|
1223
|
+
pointer-events: auto !important;
|
1224
|
+
}
|
1225
|
+
[data-puck-disabled] {
|
1226
|
+
cursor: pointer;
|
1227
|
+
}
|
1228
|
+
[data-puck-dragging]:not([data-dnd-dragging]) {
|
1229
|
+
background: var(--puck-color-azure-06) !important;
|
1230
|
+
border: none !important;
|
1231
|
+
color: #00000000 !important;
|
1232
|
+
opacity: 0.3 !important;
|
1233
|
+
outline: none !important;
|
1234
|
+
transition: none !important;
|
1235
|
+
}
|
1236
|
+
[data-puck-dragging]:not([data-dnd-dragging]) *,
|
1237
|
+
[data-puck-dragging]:not([data-dnd-dragging])::after,
|
1238
|
+
[data-puck-dragging]:not([data-dnd-dragging])::before {
|
1239
|
+
opacity: 0 !important;
|
1240
|
+
}
|
1241
|
+
[data-dnd-dragging][data-puck-component] {
|
1242
|
+
pointer-events: none !important;
|
1243
|
+
outline: 2px var(--puck-color-azure-09) solid !important;
|
1244
|
+
outline-offset: -2px !important;
|
1198
1245
|
}
|
1199
1246
|
|
1200
1247
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
1201
|
-
.
|
1202
|
-
|
1203
|
-
margin-right: auto;
|
1248
|
+
._DropZone_kmkdc_1 {
|
1249
|
+
--resize-animation-ms: 150ms;
|
1204
1250
|
position: relative;
|
1205
|
-
|
1251
|
+
height: 100%;
|
1206
1252
|
outline-offset: -2px;
|
1207
1253
|
width: 100%;
|
1208
1254
|
}
|
1209
|
-
._DropZone
|
1210
|
-
min-height:
|
1211
|
-
height: 100%;
|
1255
|
+
._DropZone--isActive_kmkdc_10 {
|
1256
|
+
min-height: var(--min-empty-height);
|
1212
1257
|
}
|
1213
|
-
._DropZone--
|
1214
|
-
|
1258
|
+
._DropZone--hasChildren_kmkdc_14 {
|
1259
|
+
min-height: 0;
|
1215
1260
|
}
|
1216
|
-
._DropZone--
|
1217
|
-
|
1261
|
+
._DropZone--isActive_kmkdc_10._DropZone_kmkdc_1:empty {
|
1262
|
+
min-height: var(--min-empty-height);
|
1263
|
+
}
|
1264
|
+
._DropZone_kmkdc_1:not(._DropZone--userIsDragging_kmkdc_22) {
|
1265
|
+
transition: min-height var(--resize-animation-ms) ease-in;
|
1218
1266
|
}
|
1219
|
-
._DropZone--
|
1220
|
-
._DropZone--
|
1221
|
-
._DropZone--hoveringOverArea_djoti_27:not(._DropZone--isDisabled_djoti_28):not(._DropZone--isRootZone_djoti_29):not(._DropZone--hasChildren_djoti_30) {
|
1267
|
+
._DropZone--isAreaSelected_kmkdc_26,
|
1268
|
+
._DropZone--hoveringOverArea_kmkdc_27:not(._DropZone--isRootZone_kmkdc_27) {
|
1222
1269
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
1223
1270
|
outline: 2px dashed var(--puck-color-azure-08);
|
1224
1271
|
}
|
1225
|
-
.
|
1272
|
+
._DropZone_kmkdc_1:empty {
|
1226
1273
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
1227
1274
|
outline: 2px dashed var(--puck-color-azure-08);
|
1228
1275
|
}
|
1229
|
-
._DropZone--
|
1276
|
+
._DropZone--isDestination_kmkdc_37 {
|
1230
1277
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
1231
1278
|
}
|
1232
|
-
._DropZone--
|
1279
|
+
._DropZone--isDestination_kmkdc_37:not(._DropZone--isRootZone_kmkdc_27) {
|
1233
1280
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent) !important;
|
1234
1281
|
}
|
1235
|
-
._DropZone-
|
1282
|
+
._DropZone-item_kmkdc_49 {
|
1236
1283
|
position: relative;
|
1237
1284
|
}
|
1238
|
-
._DropZone-
|
1285
|
+
._DropZone-hitbox_kmkdc_53 {
|
1239
1286
|
position: absolute;
|
1240
1287
|
bottom: -12px;
|
1241
1288
|
height: 24px;
|
1242
1289
|
width: 100%;
|
1243
1290
|
z-index: 1;
|
1244
1291
|
}
|
1292
|
+
._DropZone--isEnabled_kmkdc_61._DropZone--userIsDragging_kmkdc_22 {
|
1293
|
+
outline: 2px dashed var(--puck-color-azure-06);
|
1294
|
+
}
|
1295
|
+
._DropZone_kmkdc_1 > *:not([data-puck-component]) {
|
1296
|
+
opacity: 0;
|
1297
|
+
}
|
1298
|
+
body:has(._DropZone--isAnimating_kmkdc_70:empty) [data-puck-overlay] {
|
1299
|
+
opacity: 0 !important;
|
1300
|
+
}
|
1245
1301
|
|
1246
1302
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
1247
1303
|
._SidebarSection_125qe_1 {
|
@@ -1374,22 +1430,15 @@ textarea._Input-input_1l5m8_47 {
|
|
1374
1430
|
}
|
1375
1431
|
|
1376
1432
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
1377
|
-
.
|
1433
|
+
._Puck_12s9r_19 {
|
1378
1434
|
--puck-space-px: 16px;
|
1379
1435
|
font-family: var(--puck-font-family);
|
1380
1436
|
}
|
1381
|
-
._Puck-
|
1437
|
+
._Puck-portal_12s9r_24 {
|
1382
1438
|
position: relative;
|
1383
1439
|
z-index: 2;
|
1384
1440
|
}
|
1385
|
-
.
|
1386
|
-
bottom: 0;
|
1387
|
-
left: 0;
|
1388
|
-
position: fixed;
|
1389
|
-
right: 0;
|
1390
|
-
top: 0;
|
1391
|
-
}
|
1392
|
-
._PuckLayout-inner_1g88c_39 {
|
1441
|
+
._PuckLayout-inner_12s9r_31 {
|
1393
1442
|
--puck-frame-width: auto;
|
1394
1443
|
--puck-side-bar-width: 0px;
|
1395
1444
|
display: grid;
|
@@ -1400,54 +1449,54 @@ textarea._Input-input_1l5m8_47 {
|
|
1400
1449
|
position: relative;
|
1401
1450
|
z-index: 0;
|
1402
1451
|
}
|
1403
|
-
._PuckLayout--
|
1452
|
+
._PuckLayout--mounted_12s9r_43 ._PuckLayout-inner_12s9r_31 {
|
1404
1453
|
--puck-side-bar-width: 186px;
|
1405
1454
|
}
|
1406
|
-
._PuckLayout--
|
1455
|
+
._PuckLayout--leftSideBarVisible_12s9r_47 ._PuckLayout-inner_12s9r_31 {
|
1407
1456
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
1408
1457
|
}
|
1409
|
-
._PuckLayout--
|
1458
|
+
._PuckLayout--rightSideBarVisible_12s9r_53 ._PuckLayout-inner_12s9r_31 {
|
1410
1459
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
1411
1460
|
}
|
1412
|
-
._PuckLayout--
|
1461
|
+
._PuckLayout--leftSideBarVisible_12s9r_47._PuckLayout--rightSideBarVisible_12s9r_53 ._PuckLayout-inner_12s9r_31 {
|
1413
1462
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
1414
1463
|
}
|
1415
1464
|
@media (min-width: 458px) {
|
1416
|
-
._PuckLayout-
|
1465
|
+
._PuckLayout-mounted_12s9r_67 ._PuckLayout-inner_12s9r_31 {
|
1417
1466
|
--puck-frame-width: minmax(266px, auto);
|
1418
1467
|
}
|
1419
1468
|
}
|
1420
1469
|
@media (min-width: 638px) {
|
1421
|
-
.
|
1470
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1422
1471
|
--puck-side-bar-width: minmax(186px, 250px);
|
1423
1472
|
}
|
1424
1473
|
}
|
1425
1474
|
@media (min-width: 766px) {
|
1426
|
-
.
|
1475
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1427
1476
|
--puck-frame-width: auto;
|
1428
1477
|
}
|
1429
1478
|
}
|
1430
1479
|
@media (min-width: 990px) {
|
1431
|
-
.
|
1480
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1432
1481
|
--puck-side-bar-width: 256px;
|
1433
1482
|
}
|
1434
1483
|
}
|
1435
1484
|
@media (min-width: 1198px) {
|
1436
|
-
.
|
1485
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1437
1486
|
--puck-side-bar-width: 274px;
|
1438
1487
|
}
|
1439
1488
|
}
|
1440
1489
|
@media (min-width: 1398px) {
|
1441
|
-
.
|
1490
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1442
1491
|
--puck-side-bar-width: 290px;
|
1443
1492
|
}
|
1444
1493
|
}
|
1445
1494
|
@media (min-width: 1598px) {
|
1446
|
-
.
|
1495
|
+
._PuckLayout_12s9r_31 ._PuckLayout-inner_12s9r_31 {
|
1447
1496
|
--puck-side-bar-width: 320px;
|
1448
1497
|
}
|
1449
1498
|
}
|
1450
|
-
._PuckLayout-
|
1499
|
+
._PuckLayout-header_12s9r_108 {
|
1451
1500
|
background: var(--puck-color-white);
|
1452
1501
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
1453
1502
|
color: var(--puck-color-black);
|
@@ -1455,7 +1504,7 @@ textarea._Input-input_1l5m8_47 {
|
|
1455
1504
|
position: relative;
|
1456
1505
|
max-width: 100vw;
|
1457
1506
|
}
|
1458
|
-
._PuckLayout-
|
1507
|
+
._PuckLayout-headerInner_12s9r_117 {
|
1459
1508
|
align-items: end;
|
1460
1509
|
display: grid;
|
1461
1510
|
gap: var(--puck-space-px);
|
@@ -1464,43 +1513,43 @@ textarea._Input-input_1l5m8_47 {
|
|
1464
1513
|
grid-template-rows: auto;
|
1465
1514
|
padding: var(--puck-space-px);
|
1466
1515
|
}
|
1467
|
-
._PuckLayout-
|
1516
|
+
._PuckLayout-headerToggle_12s9r_127 {
|
1468
1517
|
color: var(--puck-color-grey-05);
|
1469
1518
|
display: flex;
|
1470
1519
|
margin-left: -4px;
|
1471
1520
|
padding-top: 2px;
|
1472
1521
|
}
|
1473
|
-
._PuckLayout--
|
1474
|
-
._PuckLayout--
|
1522
|
+
._PuckLayout--rightSideBarVisible_12s9r_53 ._PuckLayout-rightSideBarToggle_12s9r_134,
|
1523
|
+
._PuckLayout--leftSideBarVisible_12s9r_47 ._PuckLayout-leftSideBarToggle_12s9r_135 {
|
1475
1524
|
color: var(--puck-color-black);
|
1476
1525
|
}
|
1477
|
-
._PuckLayout-
|
1526
|
+
._PuckLayout-headerTitle_12s9r_139 {
|
1478
1527
|
align-self: center;
|
1479
1528
|
}
|
1480
|
-
._PuckLayout-
|
1529
|
+
._PuckLayout-headerPath_12s9r_143 {
|
1481
1530
|
font-family: var(--puck-font-family-monospaced);
|
1482
1531
|
font-size: var(--puck-font-size-xxs);
|
1483
1532
|
font-weight: normal;
|
1484
1533
|
word-break: break-all;
|
1485
1534
|
}
|
1486
|
-
._PuckLayout-
|
1535
|
+
._PuckLayout-headerTools_12s9r_150 {
|
1487
1536
|
display: flex;
|
1488
1537
|
gap: 16px;
|
1489
1538
|
justify-content: flex-end;
|
1490
1539
|
}
|
1491
|
-
._PuckLayout-
|
1540
|
+
._PuckLayout-menuButton_12s9r_156 {
|
1492
1541
|
color: var(--puck-color-grey-05);
|
1493
1542
|
margin-left: -4px;
|
1494
1543
|
}
|
1495
|
-
._PuckLayout--
|
1544
|
+
._PuckLayout--menuOpen_12s9r_161 ._PuckLayout-menuButton_12s9r_156 {
|
1496
1545
|
color: var(--puck-color-black);
|
1497
1546
|
}
|
1498
1547
|
@media (min-width: 638px) {
|
1499
|
-
._PuckLayout-
|
1548
|
+
._PuckLayout-menuButton_12s9r_156 {
|
1500
1549
|
display: none;
|
1501
1550
|
}
|
1502
1551
|
}
|
1503
|
-
._PuckLayout-
|
1552
|
+
._PuckLayout-leftSideBar_12s9r_135 {
|
1504
1553
|
background: var(--puck-color-grey-12);
|
1505
1554
|
border-right: 1px solid var(--puck-color-grey-09);
|
1506
1555
|
display: flex;
|
@@ -1508,7 +1557,7 @@ textarea._Input-input_1l5m8_47 {
|
|
1508
1557
|
grid-area: left;
|
1509
1558
|
overflow-y: auto;
|
1510
1559
|
}
|
1511
|
-
._PuckLayout-
|
1560
|
+
._PuckLayout-rightSideBar_12s9r_134 {
|
1512
1561
|
background: var(--puck-color-white);
|
1513
1562
|
border-left: 1px solid var(--puck-color-grey-09);
|
1514
1563
|
display: flex;
|
@@ -1596,12 +1645,13 @@ textarea._Input-input_1l5m8_47 {
|
|
1596
1645
|
}
|
1597
1646
|
|
1598
1647
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1599
|
-
.
|
1648
|
+
._PuckPreview_z2rgu_1 {
|
1649
|
+
position: relative;
|
1600
1650
|
height: 100%;
|
1601
1651
|
}
|
1602
|
-
._PuckPreview-
|
1652
|
+
._PuckPreview-frame_z2rgu_6 {
|
1603
1653
|
border: none;
|
1604
|
-
|
1654
|
+
height: 100%;
|
1605
1655
|
width: 100%;
|
1606
1656
|
}
|
1607
1657
|
|
@@ -1743,7 +1793,7 @@ textarea._Input-input_1l5m8_47 {
|
|
1743
1793
|
}
|
1744
1794
|
|
1745
1795
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1746
|
-
.
|
1796
|
+
._PuckCanvas_18jay_1 {
|
1747
1797
|
background: var(--puck-color-grey-11);
|
1748
1798
|
display: flex;
|
1749
1799
|
grid-area: editor;
|
@@ -1752,28 +1802,26 @@ textarea._Input-input_1l5m8_47 {
|
|
1752
1802
|
overflow: auto;
|
1753
1803
|
}
|
1754
1804
|
@media (min-width: 1198px) {
|
1755
|
-
.
|
1805
|
+
._PuckCanvas_18jay_1 {
|
1756
1806
|
padding: calc(var(--puck-space-px) * 1.5);
|
1757
1807
|
padding-top: var(--puck-space-px);
|
1758
1808
|
}
|
1759
|
-
.
|
1809
|
+
._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
|
1760
1810
|
padding-top: calc(var(--puck-space-px) * 1.5);
|
1761
1811
|
}
|
1762
1812
|
}
|
1763
|
-
._PuckCanvas-
|
1764
|
-
box-sizing: border-box;
|
1813
|
+
._PuckCanvas-inner_18jay_21 {
|
1765
1814
|
display: flex;
|
1766
1815
|
height: 100%;
|
1767
1816
|
justify-content: center;
|
1768
1817
|
min-width: 358px;
|
1769
|
-
overflow: hidden;
|
1770
1818
|
position: relative;
|
1771
1819
|
width: 100%;
|
1772
1820
|
}
|
1773
|
-
._PuckCanvas-
|
1821
|
+
._PuckCanvas-root_18jay_30 {
|
1774
1822
|
background: white;
|
1775
1823
|
border: 1px solid var(--puck-color-grey-09);
|
1776
|
-
box-sizing:
|
1824
|
+
box-sizing: content-box;
|
1777
1825
|
min-width: 321px;
|
1778
1826
|
position: absolute;
|
1779
1827
|
pointer-events: none;
|
@@ -1783,20 +1831,20 @@ textarea._Input-input_1l5m8_47 {
|
|
1783
1831
|
opacity: 0;
|
1784
1832
|
}
|
1785
1833
|
@media (min-width: 1198px) {
|
1786
|
-
._PuckCanvas-
|
1834
|
+
._PuckCanvas-root_18jay_30 {
|
1787
1835
|
min-width: unset;
|
1788
1836
|
}
|
1789
1837
|
}
|
1790
1838
|
@media (prefers-reduced-motion: reduce) {
|
1791
|
-
._PuckCanvas-
|
1839
|
+
._PuckCanvas-root_18jay_30 {
|
1792
1840
|
transition: none !important;
|
1793
1841
|
}
|
1794
1842
|
}
|
1795
|
-
._PuckCanvas--
|
1843
|
+
._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
|
1796
1844
|
pointer-events: unset;
|
1797
1845
|
opacity: 1;
|
1798
1846
|
}
|
1799
|
-
._PuckCanvas-
|
1847
|
+
._PuckCanvas-loader_18jay_60 {
|
1800
1848
|
align-items: center;
|
1801
1849
|
color: var(--puck-color-grey-06);
|
1802
1850
|
display: flex;
|
@@ -1805,10 +1853,10 @@ textarea._Input-input_1l5m8_47 {
|
|
1805
1853
|
transition: opacity 250ms ease-out;
|
1806
1854
|
opacity: 0;
|
1807
1855
|
}
|
1808
|
-
._PuckCanvas--
|
1856
|
+
._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
|
1809
1857
|
opacity: 1;
|
1810
1858
|
}
|
1811
|
-
._PuckCanvas--
|
1859
|
+
._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
|
1812
1860
|
opacity: 0;
|
1813
1861
|
height: 0;
|
1814
1862
|
transition: none;
|