@measured/puck 0.14.2-canary.9008b70 → 0.14.2-canary.c4a66ad
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/index.css +19 -16
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -135,6 +135,9 @@
|
|
135
135
|
}
|
136
136
|
|
137
137
|
/* styles.css */
|
138
|
+
.Puck {
|
139
|
+
min-height: 100%;
|
140
|
+
}
|
138
141
|
|
139
142
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
|
140
143
|
._Button_1t64k_1 {
|
@@ -421,44 +424,44 @@
|
|
421
424
|
}
|
422
425
|
|
423
426
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
424
|
-
.
|
427
|
+
._DropZone_djoti_1 {
|
425
428
|
margin-left: auto;
|
426
429
|
margin-right: auto;
|
427
430
|
position: relative;
|
428
|
-
height: 100%;
|
431
|
+
min-height: 100%;
|
429
432
|
outline-offset: -2px;
|
430
433
|
width: 100%;
|
431
434
|
}
|
432
|
-
._DropZone-
|
435
|
+
._DropZone-content_djoti_10 {
|
433
436
|
min-height: 128px;
|
434
437
|
height: 100%;
|
435
438
|
}
|
436
|
-
._DropZone--
|
439
|
+
._DropZone--userIsDragging_djoti_15 ._DropZone-content_djoti_10 {
|
437
440
|
pointer-events: all;
|
438
441
|
}
|
439
|
-
._DropZone--
|
442
|
+
._DropZone--userIsDragging_djoti_15:not(._DropZone--draggingOverArea_djoti_19):not(._DropZone--draggingNewComponent_djoti_20) > ._DropZone-content_djoti_10 {
|
440
443
|
pointer-events: none;
|
441
444
|
}
|
442
|
-
._DropZone--
|
443
|
-
._DropZone--
|
444
|
-
._DropZone--
|
445
|
+
._DropZone--isAreaSelected_djoti_26,
|
446
|
+
._DropZone--draggingOverArea_djoti_19:not(:has(._DropZone--hoveringOverArea_djoti_27)),
|
447
|
+
._DropZone--hoveringOverArea_djoti_27:not(._DropZone--isDisabled_djoti_28):not(._DropZone--isRootZone_djoti_29):not(._DropZone--hasChildren_djoti_30) {
|
445
448
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
446
449
|
outline: 2px dashed var(--puck-color-azure-08);
|
447
450
|
}
|
448
|
-
.
|
451
|
+
._DropZone_djoti_1:not(._DropZone--hasChildren_djoti_30) {
|
449
452
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
450
453
|
outline: 2px dashed var(--puck-color-azure-08);
|
451
454
|
}
|
452
|
-
._DropZone--
|
455
|
+
._DropZone--isDestination_djoti_40 {
|
453
456
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
454
457
|
}
|
455
|
-
._DropZone--
|
458
|
+
._DropZone--isDestination_djoti_40:not(._DropZone--isRootZone_djoti_29) {
|
456
459
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent) !important;
|
457
460
|
}
|
458
|
-
._DropZone-
|
461
|
+
._DropZone-item_djoti_52 {
|
459
462
|
position: relative;
|
460
463
|
}
|
461
|
-
._DropZone-
|
464
|
+
._DropZone-hitbox_djoti_56 {
|
462
465
|
position: absolute;
|
463
466
|
bottom: -12px;
|
464
467
|
height: 24px;
|
@@ -1531,12 +1534,12 @@ textarea._Input-input_1qi5b_46 {
|
|
1531
1534
|
}
|
1532
1535
|
|
1533
1536
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
|
1534
|
-
.
|
1537
|
+
._PuckPreview_rxwlr_1 {
|
1535
1538
|
height: 100%;
|
1536
1539
|
}
|
1537
|
-
._PuckPreview-
|
1540
|
+
._PuckPreview-frame_rxwlr_5 {
|
1538
1541
|
border: none;
|
1539
|
-
height: 100%;
|
1542
|
+
min-height: 100%;
|
1540
1543
|
width: 100%;
|
1541
1544
|
}
|
1542
1545
|
|
package/dist/index.js
CHANGED
@@ -30000,7 +30000,7 @@ var DraggableComponent = ({
|
|
30000
30000
|
|
30001
30001
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css#css-module
|
30002
30002
|
init_react_import();
|
30003
|
-
var styles_module_default4 = { "DropZone": "
|
30003
|
+
var styles_module_default4 = { "DropZone": "_DropZone_djoti_1", "DropZone-content": "_DropZone-content_djoti_10", "DropZone--userIsDragging": "_DropZone--userIsDragging_djoti_15", "DropZone--draggingOverArea": "_DropZone--draggingOverArea_djoti_19", "DropZone--draggingNewComponent": "_DropZone--draggingNewComponent_djoti_20", "DropZone--isAreaSelected": "_DropZone--isAreaSelected_djoti_26", "DropZone--hoveringOverArea": "_DropZone--hoveringOverArea_djoti_27", "DropZone--isDisabled": "_DropZone--isDisabled_djoti_28", "DropZone--isRootZone": "_DropZone--isRootZone_djoti_29", "DropZone--hasChildren": "_DropZone--hasChildren_djoti_30", "DropZone--isDestination": "_DropZone--isDestination_djoti_40", "DropZone-item": "_DropZone-item_djoti_52", "DropZone-hitbox": "_DropZone-hitbox_djoti_56" };
|
30004
30004
|
|
30005
30005
|
// components/DropZone/context.tsx
|
30006
30006
|
init_react_import();
|
@@ -32073,7 +32073,7 @@ var SelectField = ({
|
|
32073
32073
|
disabled: readOnly,
|
32074
32074
|
onChange: (e) => {
|
32075
32075
|
if (e.currentTarget.value === "true" || e.currentTarget.value === "false") {
|
32076
|
-
onChange(
|
32076
|
+
onChange(JSON.parse(e.currentTarget.value));
|
32077
32077
|
return;
|
32078
32078
|
}
|
32079
32079
|
onChange(e.currentTarget.value);
|
@@ -32602,7 +32602,7 @@ var import_auto_frame_component = __toESM(require("@measured/auto-frame-componen
|
|
32602
32602
|
|
32603
32603
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css#css-module
|
32604
32604
|
init_react_import();
|
32605
|
-
var styles_module_default16 = { "PuckPreview": "
|
32605
|
+
var styles_module_default16 = { "PuckPreview": "_PuckPreview_rxwlr_1", "PuckPreview-frame": "_PuckPreview-frame_rxwlr_5" };
|
32606
32606
|
|
32607
32607
|
// components/Puck/components/Preview/index.tsx
|
32608
32608
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
package/package.json
CHANGED