@measured/puck 0.14.2-canary.276d0f8 → 0.14.2-canary.3e5599e
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
@@ -227,6 +227,7 @@ type Plugin = {
|
|
227
227
|
|
228
228
|
type IframeConfig = {
|
229
229
|
enabled?: boolean;
|
230
|
+
disableAutoScroll?: boolean;
|
230
231
|
};
|
231
232
|
|
232
233
|
declare function Puck<UserConfig extends Config = Config>({ children, config, data: initialData, ui: initialUi, onChange, onPublish, plugins, overrides, renderHeader, renderHeaderActions, headerTitle, headerPath, viewports, iframe, }: {
|
package/dist/index.js
CHANGED
@@ -32061,7 +32061,7 @@ var RadioField = ({
|
|
32061
32061
|
onChange(e.currentTarget.value);
|
32062
32062
|
},
|
32063
32063
|
disabled: readOnly,
|
32064
|
-
|
32064
|
+
checked: value === option.value
|
32065
32065
|
}
|
32066
32066
|
),
|
32067
32067
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: getClassName14("radioInner"), children: option.label || option.value })
|
@@ -33646,6 +33646,7 @@ function Puck({
|
|
33646
33646
|
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
33647
33647
|
DragDropContext,
|
33648
33648
|
{
|
33649
|
+
autoScrollerOptions: { disabled: iframe.disableAutoScroll },
|
33649
33650
|
onDragUpdate: (update) => {
|
33650
33651
|
setDraggedItem(__spreadValues(__spreadValues({}, draggedItem), update));
|
33651
33652
|
onDragStartOrUpdate(update);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck",
|
3
|
-
"version": "0.14.2-canary.
|
3
|
+
"version": "0.14.2-canary.3e5599e",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"typescript": "^4.5.2"
|
61
61
|
},
|
62
62
|
"dependencies": {
|
63
|
-
"@measured/auto-frame-component": "0.1.6-canary.
|
63
|
+
"@measured/auto-frame-component": "0.1.6-canary.ad6452f",
|
64
64
|
"@measured/dnd": "16.6.0-canary.4cba1d1",
|
65
65
|
"deep-diff": "^1.0.2",
|
66
66
|
"react-hotkeys-hook": "^4.4.1",
|