@measured/puck 0.17.2-canary.f323610 → 0.18.0-canary.beb05b5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-7IH6SUIT.mjs → chunk-EXKSBUY5.mjs} +10 -0
- package/dist/index.css +193 -138
- package/dist/index.d.mts +32 -17
- package/dist/index.d.ts +32 -17
- package/dist/index.js +3219 -1781
- package/dist/index.mjs +3274 -1818
- 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 +4 -5
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
|
-
.
|
1163
|
-
background: var(--overlay-background);
|
1164
|
-
pointer-events: none;
|
1165
|
-
}
|
1166
|
-
._DraggableComponent--forceHover_1bhad_71 > ._DraggableComponent-overlay_1bhad_29 {
|
1179
|
+
._DraggableComponent--hover_1ukn8_45:not(._DraggableComponent--isLocked_1ukn8_45) > ._DraggableComponent-overlay_1ukn8_12 {
|
1167
1180
|
background: var(--overlay-background);
|
1168
|
-
pointer-events: none;
|
1169
1181
|
}
|
1170
|
-
.
|
1171
|
-
outline: 2px var(--puck-color-azure-09) solid
|
1182
|
+
._DraggableComponent--hover_1ukn8_45 > ._DraggableComponent-overlay_1ukn8_12 {
|
1183
|
+
outline: 2px var(--puck-color-azure-09) solid;
|
1172
1184
|
}
|
1173
|
-
._DraggableComponent--
|
1174
|
-
|
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 {
|
@@ -1596,12 +1652,13 @@ textarea._Input-input_1l5m8_47 {
|
|
1596
1652
|
}
|
1597
1653
|
|
1598
1654
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1599
|
-
.
|
1655
|
+
._PuckPreview_z2rgu_1 {
|
1656
|
+
position: relative;
|
1600
1657
|
height: 100%;
|
1601
1658
|
}
|
1602
|
-
._PuckPreview-
|
1659
|
+
._PuckPreview-frame_z2rgu_6 {
|
1603
1660
|
border: none;
|
1604
|
-
|
1661
|
+
height: 100%;
|
1605
1662
|
width: 100%;
|
1606
1663
|
}
|
1607
1664
|
|
@@ -1743,7 +1800,7 @@ textarea._Input-input_1l5m8_47 {
|
|
1743
1800
|
}
|
1744
1801
|
|
1745
1802
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1746
|
-
.
|
1803
|
+
._PuckCanvas_18jay_1 {
|
1747
1804
|
background: var(--puck-color-grey-11);
|
1748
1805
|
display: flex;
|
1749
1806
|
grid-area: editor;
|
@@ -1752,28 +1809,26 @@ textarea._Input-input_1l5m8_47 {
|
|
1752
1809
|
overflow: auto;
|
1753
1810
|
}
|
1754
1811
|
@media (min-width: 1198px) {
|
1755
|
-
.
|
1812
|
+
._PuckCanvas_18jay_1 {
|
1756
1813
|
padding: calc(var(--puck-space-px) * 1.5);
|
1757
1814
|
padding-top: var(--puck-space-px);
|
1758
1815
|
}
|
1759
|
-
.
|
1816
|
+
._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
|
1760
1817
|
padding-top: calc(var(--puck-space-px) * 1.5);
|
1761
1818
|
}
|
1762
1819
|
}
|
1763
|
-
._PuckCanvas-
|
1764
|
-
box-sizing: border-box;
|
1820
|
+
._PuckCanvas-inner_18jay_21 {
|
1765
1821
|
display: flex;
|
1766
1822
|
height: 100%;
|
1767
1823
|
justify-content: center;
|
1768
1824
|
min-width: 358px;
|
1769
|
-
overflow: hidden;
|
1770
1825
|
position: relative;
|
1771
1826
|
width: 100%;
|
1772
1827
|
}
|
1773
|
-
._PuckCanvas-
|
1828
|
+
._PuckCanvas-root_18jay_30 {
|
1774
1829
|
background: white;
|
1775
1830
|
border: 1px solid var(--puck-color-grey-09);
|
1776
|
-
box-sizing:
|
1831
|
+
box-sizing: content-box;
|
1777
1832
|
min-width: 321px;
|
1778
1833
|
position: absolute;
|
1779
1834
|
pointer-events: none;
|
@@ -1783,20 +1838,20 @@ textarea._Input-input_1l5m8_47 {
|
|
1783
1838
|
opacity: 0;
|
1784
1839
|
}
|
1785
1840
|
@media (min-width: 1198px) {
|
1786
|
-
._PuckCanvas-
|
1841
|
+
._PuckCanvas-root_18jay_30 {
|
1787
1842
|
min-width: unset;
|
1788
1843
|
}
|
1789
1844
|
}
|
1790
1845
|
@media (prefers-reduced-motion: reduce) {
|
1791
|
-
._PuckCanvas-
|
1846
|
+
._PuckCanvas-root_18jay_30 {
|
1792
1847
|
transition: none !important;
|
1793
1848
|
}
|
1794
1849
|
}
|
1795
|
-
._PuckCanvas--
|
1850
|
+
._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
|
1796
1851
|
pointer-events: unset;
|
1797
1852
|
opacity: 1;
|
1798
1853
|
}
|
1799
|
-
._PuckCanvas-
|
1854
|
+
._PuckCanvas-loader_18jay_60 {
|
1800
1855
|
align-items: center;
|
1801
1856
|
color: var(--puck-color-grey-06);
|
1802
1857
|
display: flex;
|
@@ -1805,10 +1860,10 @@ textarea._Input-input_1l5m8_47 {
|
|
1805
1860
|
transition: opacity 250ms ease-out;
|
1806
1861
|
opacity: 0;
|
1807
1862
|
}
|
1808
|
-
._PuckCanvas--
|
1863
|
+
._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
|
1809
1864
|
opacity: 1;
|
1810
1865
|
}
|
1811
|
-
._PuckCanvas--
|
1866
|
+
._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
|
1812
1867
|
opacity: 0;
|
1813
1868
|
height: 0;
|
1814
1869
|
transition: none;
|