@puckeditor/core 0.24.0-canary.fcfd4b94 → 0.24.0

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +1244 -0
  2. package/LICENSE +21 -0
  3. package/dist/{Editor-T7TKW6NT.css → Editor-CSDMK75G.css} +24 -16
  4. package/dist/{Editor-7HVJABBS.mjs → Editor-LJSLIQQP.mjs} +9 -9
  5. package/dist/{Render-DQXAYUBI.mjs → Render-H3USS5FU.mjs} +2 -2
  6. package/dist/{actions-DzP_zhsF.d.ts → actions-Dgllwd-W.d.mts} +24 -4
  7. package/dist/{actions-DzP_zhsF.d.mts → actions-Dgllwd-W.d.ts} +24 -4
  8. package/dist/{chunk-DWQZNG26.mjs → chunk-3GJJSXCL.mjs} +85 -52
  9. package/dist/{chunk-FHGOTDB5.mjs → chunk-5L3MP6BU.mjs} +8 -8
  10. package/dist/{chunk-PI2N6YRG.mjs → chunk-DQXMVPVM.mjs} +2536 -1426
  11. package/dist/{chunk-OOTCJDR3.mjs → chunk-FWBFOZBF.mjs} +189 -139
  12. package/dist/{chunk-75VT4L37.mjs → chunk-M6VGZJMS.mjs} +1 -1
  13. package/dist/{chunk-YBKRDXOL.mjs → chunk-OGTX6PQW.mjs} +1 -1
  14. package/dist/{chunk-Y2EFNT5P.mjs → chunk-OT7NKYY4.mjs} +2 -2
  15. package/dist/{chunk-FVMO3IOJ.mjs → chunk-UIJZMSVU.mjs} +4 -4
  16. package/dist/{chunk-ZRAERXB4.mjs → chunk-XMN55NON.mjs} +3 -2
  17. package/dist/{chunk-L24AF7CT.mjs → chunk-ZO7CHPM6.mjs} +1 -1
  18. package/dist/{chunk-2CNEFIQP.mjs → chunk-ZOLLDKZQ.mjs} +4 -1
  19. package/dist/{full-AAZK6KLI.css → full-F3CBWTKQ.css} +24 -16
  20. package/dist/{full-35XZI7ZG.mjs → full-H4FZ3HN3.mjs} +7 -7
  21. package/dist/{index-Cv-eVWCd.d.ts → index-D0qqZNSQ.d.mts} +2 -1
  22. package/dist/{index-poi3aTIz.d.mts → index-dKPCNzR1.d.ts} +2 -1
  23. package/dist/index.css +371 -127
  24. package/dist/index.d.mts +64 -8
  25. package/dist/index.d.ts +64 -8
  26. package/dist/index.js +5731 -4535
  27. package/dist/index.mjs +16 -10
  28. package/dist/internal.d.mts +2 -2
  29. package/dist/internal.d.ts +2 -2
  30. package/dist/{loaded-ESP3PLMN.mjs → loaded-P5HN7RJY.mjs} +4 -4
  31. package/dist/{loaded-RS7ITDTL.mjs → loaded-PFIA543C.mjs} +4 -4
  32. package/dist/{loaded-CA3Q7UHH.css → loaded-UDM5EYPG.css} +24 -16
  33. package/dist/{loaded-2NYAMF3O.mjs → loaded-WFQRY2XL.mjs} +4 -4
  34. package/dist/no-external.css +371 -127
  35. package/dist/no-external.d.mts +4 -4
  36. package/dist/no-external.d.ts +4 -4
  37. package/dist/no-external.js +5731 -4535
  38. package/dist/no-external.mjs +16 -10
  39. package/dist/rsc.d.mts +4 -3
  40. package/dist/rsc.d.ts +4 -3
  41. package/dist/rsc.js +139 -70
  42. package/dist/rsc.mjs +51 -21
  43. package/dist/{walk-tree-iWDqHBcM.d.mts → walk-tree-BA4pi921.d.mts} +1 -1
  44. package/dist/{walk-tree-Bu3IHwm_.d.ts → walk-tree-zKkZGcaE.d.ts} +1 -1
  45. package/package.json +37 -35
@@ -9,10 +9,10 @@ import {
9
9
  defaultViewports,
10
10
  getChanged,
11
11
  resolveComponentData
12
- } from "./chunk-ZRAERXB4.mjs";
12
+ } from "./chunk-XMN55NON.mjs";
13
13
  import {
14
14
  get_class_name_factory_default
15
- } from "./chunk-Y2EFNT5P.mjs";
15
+ } from "./chunk-OT7NKYY4.mjs";
16
16
  import {
17
17
  walkAppState
18
18
  } from "./chunk-H65MT2JK.mjs";
@@ -24,79 +24,25 @@ import {
24
24
  init_react_import
25
25
  } from "./chunk-M6W7YEVX.mjs";
26
26
 
27
- // components/ActionBar/index.tsx
28
- init_react_import();
29
- import { forwardRef } from "react";
30
-
31
- // css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css#css-module
32
- init_react_import();
33
- var styles_module_default = { "ActionBar": "_ActionBar_5vdfr_1", "ActionBar-label": "_ActionBar-label_5vdfr_17", "ActionBarAction": "_ActionBarAction_5vdfr_30", "ActionBar-group": "_ActionBar-group_5vdfr_38", "ActionBarAction--disabled": "_ActionBarAction--disabled_5vdfr_74", "ActionBarAction--active": "_ActionBarAction--active_5vdfr_104", "ActionBar-separator": "_ActionBar-separator_5vdfr_117" };
34
-
35
- // components/ActionBar/index.tsx
36
- import { jsx, jsxs } from "react/jsx-runtime";
37
- var getClassName = get_class_name_factory_default("ActionBar", styles_module_default);
38
- var getActionClassName = get_class_name_factory_default("ActionBarAction", styles_module_default);
39
- var ActionBar = ({
40
- label,
41
- children
42
- }) => /* @__PURE__ */ jsxs(
43
- "div",
44
- {
45
- className: getClassName(),
46
- onClick: (e) => {
47
- e.stopPropagation();
48
- },
49
- children: [
50
- label && /* @__PURE__ */ jsx(ActionBar.Group, { children: /* @__PURE__ */ jsx("div", { className: getClassName("label"), children: label }) }),
51
- children
52
- ]
53
- }
54
- );
55
- var Action = forwardRef((_a, ref) => {
56
- var _b = _a, { children, label, onClick, active = false, disabled } = _b, rest = __objRest(_b, ["children", "label", "onClick", "active", "disabled"]);
57
- return /* @__PURE__ */ jsx(
58
- "button",
59
- __spreadProps(__spreadValues({
60
- type: "button"
61
- }, rest), {
62
- ref,
63
- className: getActionClassName({ active, disabled }),
64
- onClick,
65
- title: label,
66
- tabIndex: 0,
67
- disabled,
68
- children
69
- })
70
- );
71
- });
72
- Action.displayName = "Action";
73
- var Group = ({ children }) => /* @__PURE__ */ jsx("div", { className: getClassName("group"), children });
74
- var Label = ({ label }) => /* @__PURE__ */ jsx("div", { className: getClassName("label"), children: label });
75
- var Separator = () => /* @__PURE__ */ jsx("div", { className: getClassName("separator") });
76
- ActionBar.Action = Action;
77
- ActionBar.Label = Label;
78
- ActionBar.Group = Group;
79
- ActionBar.Separator = Separator;
80
-
81
- // ../../node_modules/lucide-react/dist/esm/icons/align-left.js
27
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/align-left.js
82
28
  init_react_import();
83
29
 
84
- // ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
30
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/createLucideIcon.js
85
31
  init_react_import();
86
- import { forwardRef as forwardRef3, createElement as createElement2 } from "react";
32
+ import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
87
33
 
88
- // ../../node_modules/lucide-react/dist/esm/shared/src/utils.js
34
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/shared/src/utils.js
89
35
  init_react_import();
90
36
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
91
37
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
92
38
  return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
93
39
  }).join(" ").trim();
94
40
 
95
- // ../../node_modules/lucide-react/dist/esm/Icon.js
41
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/Icon.js
96
42
  init_react_import();
97
- import { forwardRef as forwardRef2, createElement } from "react";
43
+ import { forwardRef, createElement } from "react";
98
44
 
99
- // ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
45
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/defaultAttributes.js
100
46
  init_react_import();
101
47
  var defaultAttributes = {
102
48
  xmlns: "http://www.w3.org/2000/svg",
@@ -110,8 +56,8 @@ var defaultAttributes = {
110
56
  strokeLinejoin: "round"
111
57
  };
112
58
 
113
- // ../../node_modules/lucide-react/dist/esm/Icon.js
114
- var Icon = forwardRef2(
59
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/Icon.js
60
+ var Icon = forwardRef(
115
61
  (_a, ref) => {
116
62
  var _b = _a, {
117
63
  color = "currentColor",
@@ -149,9 +95,9 @@ var Icon = forwardRef2(
149
95
  }
150
96
  );
151
97
 
152
- // ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
98
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/createLucideIcon.js
153
99
  var createLucideIcon = (iconName, iconNode) => {
154
- const Component = forwardRef3(
100
+ const Component = forwardRef2(
155
101
  (_a, ref) => {
156
102
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
157
103
  return createElement2(Icon, __spreadValues({
@@ -165,14 +111,14 @@ var createLucideIcon = (iconName, iconNode) => {
165
111
  return Component;
166
112
  };
167
113
 
168
- // ../../node_modules/lucide-react/dist/esm/icons/align-left.js
114
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/align-left.js
169
115
  var AlignLeft = createLucideIcon("AlignLeft", [
170
116
  ["path", { d: "M15 12H3", key: "6jk70r" }],
171
117
  ["path", { d: "M17 18H3", key: "1amg6g" }],
172
118
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
173
119
  ]);
174
120
 
175
- // ../../node_modules/lucide-react/dist/esm/icons/heading.js
121
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading.js
176
122
  init_react_import();
177
123
  var Heading = createLucideIcon("Heading", [
178
124
  ["path", { d: "M6 12h12", key: "8npq4p" }],
@@ -180,7 +126,7 @@ var Heading = createLucideIcon("Heading", [
180
126
  ["path", { d: "M18 20V4", key: "o2hl4u" }]
181
127
  ]);
182
128
 
183
- // ../../node_modules/lucide-react/dist/esm/icons/list.js
129
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/list.js
184
130
  init_react_import();
185
131
  var List = createLucideIcon("List", [
186
132
  ["path", { d: "M3 12h.01", key: "nlz23k" }],
@@ -191,10 +137,10 @@ var List = createLucideIcon("List", [
191
137
  ["path", { d: "M8 6h13", key: "ik3vkj" }]
192
138
  ]);
193
139
 
194
- // ../../node_modules/lucide-react/dist/esm/lucide-react.js
140
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/lucide-react.js
195
141
  init_react_import();
196
142
 
197
- // ../../node_modules/lucide-react/dist/esm/icons/align-center.js
143
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/align-center.js
198
144
  init_react_import();
199
145
  var AlignCenter = createLucideIcon("AlignCenter", [
200
146
  ["path", { d: "M17 12H7", key: "16if0g" }],
@@ -202,7 +148,7 @@ var AlignCenter = createLucideIcon("AlignCenter", [
202
148
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
203
149
  ]);
204
150
 
205
- // ../../node_modules/lucide-react/dist/esm/icons/align-justify.js
151
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/align-justify.js
206
152
  init_react_import();
207
153
  var AlignJustify = createLucideIcon("AlignJustify", [
208
154
  ["path", { d: "M3 12h18", key: "1i2n21" }],
@@ -210,7 +156,7 @@ var AlignJustify = createLucideIcon("AlignJustify", [
210
156
  ["path", { d: "M3 6h18", key: "d0wm0j" }]
211
157
  ]);
212
158
 
213
- // ../../node_modules/lucide-react/dist/esm/icons/align-right.js
159
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/align-right.js
214
160
  init_react_import();
215
161
  var AlignRight = createLucideIcon("AlignRight", [
216
162
  ["path", { d: "M21 12H9", key: "dn1m92" }],
@@ -218,7 +164,7 @@ var AlignRight = createLucideIcon("AlignRight", [
218
164
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
219
165
  ]);
220
166
 
221
- // ../../node_modules/lucide-react/dist/esm/icons/bold.js
167
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/bold.js
222
168
  init_react_import();
223
169
  var Bold = createLucideIcon("Bold", [
224
170
  [
@@ -227,58 +173,58 @@ var Bold = createLucideIcon("Bold", [
227
173
  ]
228
174
  ]);
229
175
 
230
- // ../../node_modules/lucide-react/dist/esm/icons/chevron-down.js
176
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/chevron-down.js
231
177
  init_react_import();
232
178
  var ChevronDown = createLucideIcon("ChevronDown", [
233
179
  ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
234
180
  ]);
235
181
 
236
- // ../../node_modules/lucide-react/dist/esm/icons/chevron-right.js
182
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/chevron-right.js
237
183
  init_react_import();
238
184
  var ChevronRight = createLucideIcon("ChevronRight", [
239
185
  ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
240
186
  ]);
241
187
 
242
- // ../../node_modules/lucide-react/dist/esm/icons/chevron-up.js
188
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/chevron-up.js
243
189
  init_react_import();
244
190
  var ChevronUp = createLucideIcon("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
245
191
 
246
- // ../../node_modules/lucide-react/dist/esm/icons/chevrons-down-up.js
192
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/chevrons-down-up.js
247
193
  init_react_import();
248
194
  var ChevronsDownUp = createLucideIcon("ChevronsDownUp", [
249
195
  ["path", { d: "m7 20 5-5 5 5", key: "13a0gw" }],
250
196
  ["path", { d: "m7 4 5 5 5-5", key: "1kwcof" }]
251
197
  ]);
252
198
 
253
- // ../../node_modules/lucide-react/dist/esm/icons/circle-check-big.js
199
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/circle-check-big.js
254
200
  init_react_import();
255
201
  var CircleCheckBig = createLucideIcon("CircleCheckBig", [
256
202
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
257
203
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
258
204
  ]);
259
205
 
260
- // ../../node_modules/lucide-react/dist/esm/icons/code.js
206
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/code.js
261
207
  init_react_import();
262
208
  var Code = createLucideIcon("Code", [
263
209
  ["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
264
210
  ["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
265
211
  ]);
266
212
 
267
- // ../../node_modules/lucide-react/dist/esm/icons/copy.js
213
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/copy.js
268
214
  init_react_import();
269
215
  var Copy = createLucideIcon("Copy", [
270
216
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
271
217
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
272
218
  ]);
273
219
 
274
- // ../../node_modules/lucide-react/dist/esm/icons/corner-left-up.js
220
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/corner-left-up.js
275
221
  init_react_import();
276
222
  var CornerLeftUp = createLucideIcon("CornerLeftUp", [
277
223
  ["polyline", { points: "14 9 9 4 4 9", key: "m9oyvo" }],
278
224
  ["path", { d: "M20 20h-7a4 4 0 0 1-4-4V4", key: "1blwi3" }]
279
225
  ]);
280
226
 
281
- // ../../node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js
227
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js
282
228
  init_react_import();
283
229
  var EllipsisVertical = createLucideIcon("EllipsisVertical", [
284
230
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
@@ -286,7 +232,7 @@ var EllipsisVertical = createLucideIcon("EllipsisVertical", [
286
232
  ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
287
233
  ]);
288
234
 
289
- // ../../node_modules/lucide-react/dist/esm/icons/expand.js
235
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/expand.js
290
236
  init_react_import();
291
237
  var Expand = createLucideIcon("Expand", [
292
238
  ["path", { d: "m21 21-6-6m6 6v-4.8m0 4.8h-4.8", key: "1c15vz" }],
@@ -295,7 +241,7 @@ var Expand = createLucideIcon("Expand", [
295
241
  ["path", { d: "M3 7.8V3m0 0h4.8M3 3l6 6", key: "u9ee12" }]
296
242
  ]);
297
243
 
298
- // ../../node_modules/lucide-react/dist/esm/icons/globe.js
244
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/globe.js
299
245
  init_react_import();
300
246
  var Globe = createLucideIcon("Globe", [
301
247
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
@@ -303,7 +249,18 @@ var Globe = createLucideIcon("Globe", [
303
249
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
304
250
  ]);
305
251
 
306
- // ../../node_modules/lucide-react/dist/esm/icons/hammer.js
252
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/grip-vertical.js
253
+ init_react_import();
254
+ var GripVertical = createLucideIcon("GripVertical", [
255
+ ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
256
+ ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
257
+ ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
258
+ ["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
259
+ ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
260
+ ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
261
+ ]);
262
+
263
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/hammer.js
307
264
  init_react_import();
308
265
  var Hammer = createLucideIcon("Hammer", [
309
266
  ["path", { d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9", key: "eefl8a" }],
@@ -317,7 +274,7 @@ var Hammer = createLucideIcon("Hammer", [
317
274
  ]
318
275
  ]);
319
276
 
320
- // ../../node_modules/lucide-react/dist/esm/icons/hash.js
277
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/hash.js
321
278
  init_react_import();
322
279
  var Hash = createLucideIcon("Hash", [
323
280
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
@@ -326,7 +283,7 @@ var Hash = createLucideIcon("Hash", [
326
283
  ["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
327
284
  ]);
328
285
 
329
- // ../../node_modules/lucide-react/dist/esm/icons/heading-1.js
286
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-1.js
330
287
  init_react_import();
331
288
  var Heading1 = createLucideIcon("Heading1", [
332
289
  ["path", { d: "M4 12h8", key: "17cfdx" }],
@@ -335,7 +292,7 @@ var Heading1 = createLucideIcon("Heading1", [
335
292
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
336
293
  ]);
337
294
 
338
- // ../../node_modules/lucide-react/dist/esm/icons/heading-2.js
295
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-2.js
339
296
  init_react_import();
340
297
  var Heading2 = createLucideIcon("Heading2", [
341
298
  ["path", { d: "M4 12h8", key: "17cfdx" }],
@@ -344,7 +301,7 @@ var Heading2 = createLucideIcon("Heading2", [
344
301
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
345
302
  ]);
346
303
 
347
- // ../../node_modules/lucide-react/dist/esm/icons/heading-3.js
304
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-3.js
348
305
  init_react_import();
349
306
  var Heading3 = createLucideIcon("Heading3", [
350
307
  ["path", { d: "M4 12h8", key: "17cfdx" }],
@@ -354,7 +311,7 @@ var Heading3 = createLucideIcon("Heading3", [
354
311
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
355
312
  ]);
356
313
 
357
- // ../../node_modules/lucide-react/dist/esm/icons/heading-4.js
314
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-4.js
358
315
  init_react_import();
359
316
  var Heading4 = createLucideIcon("Heading4", [
360
317
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
@@ -364,7 +321,7 @@ var Heading4 = createLucideIcon("Heading4", [
364
321
  ["path", { d: "M4 18V6", key: "1rz3zl" }]
365
322
  ]);
366
323
 
367
- // ../../node_modules/lucide-react/dist/esm/icons/heading-5.js
324
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-5.js
368
325
  init_react_import();
369
326
  var Heading5 = createLucideIcon("Heading5", [
370
327
  ["path", { d: "M4 12h8", key: "17cfdx" }],
@@ -377,7 +334,7 @@ var Heading5 = createLucideIcon("Heading5", [
377
334
  ]
378
335
  ]);
379
336
 
380
- // ../../node_modules/lucide-react/dist/esm/icons/heading-6.js
337
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/heading-6.js
381
338
  init_react_import();
382
339
  var Heading6 = createLucideIcon("Heading6", [
383
340
  ["path", { d: "M4 12h8", key: "17cfdx" }],
@@ -387,7 +344,7 @@ var Heading6 = createLucideIcon("Heading6", [
387
344
  ["path", { d: "M20 10c-2 2-3 3.5-3 6", key: "f35dl0" }]
388
345
  ]);
389
346
 
390
- // ../../node_modules/lucide-react/dist/esm/icons/italic.js
347
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/italic.js
391
348
  init_react_import();
392
349
  var Italic = createLucideIcon("Italic", [
393
350
  ["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
@@ -395,7 +352,7 @@ var Italic = createLucideIcon("Italic", [
395
352
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
396
353
  ]);
397
354
 
398
- // ../../node_modules/lucide-react/dist/esm/icons/layers.js
355
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/layers.js
399
356
  init_react_import();
400
357
  var Layers = createLucideIcon("Layers", [
401
358
  [
@@ -421,7 +378,7 @@ var Layers = createLucideIcon("Layers", [
421
378
  ]
422
379
  ]);
423
380
 
424
- // ../../node_modules/lucide-react/dist/esm/icons/layout-grid.js
381
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/layout-grid.js
425
382
  init_react_import();
426
383
  var LayoutGrid = createLucideIcon("LayoutGrid", [
427
384
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
@@ -430,14 +387,23 @@ var LayoutGrid = createLucideIcon("LayoutGrid", [
430
387
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
431
388
  ]);
432
389
 
433
- // ../../node_modules/lucide-react/dist/esm/icons/link.js
390
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/link.js
434
391
  init_react_import();
435
392
  var Link = createLucideIcon("Link", [
436
393
  ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
437
394
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
438
395
  ]);
439
396
 
440
- // ../../node_modules/lucide-react/dist/esm/icons/list-ordered.js
397
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/list-check.js
398
+ init_react_import();
399
+ var ListCheck = createLucideIcon("ListCheck", [
400
+ ["path", { d: "M11 18H3", key: "n3j2dh" }],
401
+ ["path", { d: "m15 18 2 2 4-4", key: "1szwhi" }],
402
+ ["path", { d: "M16 12H3", key: "1a2rj7" }],
403
+ ["path", { d: "M16 6H3", key: "1wxfjs" }]
404
+ ]);
405
+
406
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/list-ordered.js
441
407
  init_react_import();
442
408
  var ListOrdered = createLucideIcon("ListOrdered", [
443
409
  ["path", { d: "M10 12h11", key: "6m4ad9" }],
@@ -448,21 +414,21 @@ var ListOrdered = createLucideIcon("ListOrdered", [
448
414
  ["path", { d: "M6 18H4c0-1 2-2 2-3s-1-1.5-2-1", key: "m9a95d" }]
449
415
  ]);
450
416
 
451
- // ../../node_modules/lucide-react/dist/esm/icons/lock-open.js
417
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/lock-open.js
452
418
  init_react_import();
453
419
  var LockOpen = createLucideIcon("LockOpen", [
454
420
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
455
421
  ["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
456
422
  ]);
457
423
 
458
- // ../../node_modules/lucide-react/dist/esm/icons/lock.js
424
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/lock.js
459
425
  init_react_import();
460
426
  var Lock = createLucideIcon("Lock", [
461
427
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
462
428
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
463
429
  ]);
464
430
 
465
- // ../../node_modules/lucide-react/dist/esm/icons/maximize-2.js
431
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/maximize-2.js
466
432
  init_react_import();
467
433
  var Maximize2 = createLucideIcon("Maximize2", [
468
434
  ["polyline", { points: "15 3 21 3 21 9", key: "mznyad" }],
@@ -471,7 +437,7 @@ var Maximize2 = createLucideIcon("Maximize2", [
471
437
  ["line", { x1: "3", x2: "10", y1: "21", y2: "14", key: "1atl0r" }]
472
438
  ]);
473
439
 
474
- // ../../node_modules/lucide-react/dist/esm/icons/minimize-2.js
440
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/minimize-2.js
475
441
  init_react_import();
476
442
  var Minimize2 = createLucideIcon("Minimize2", [
477
443
  ["polyline", { points: "4 14 10 14 10 20", key: "11kfnr" }],
@@ -480,11 +446,11 @@ var Minimize2 = createLucideIcon("Minimize2", [
480
446
  ["line", { x1: "3", x2: "10", y1: "21", y2: "14", key: "1atl0r" }]
481
447
  ]);
482
448
 
483
- // ../../node_modules/lucide-react/dist/esm/icons/minus.js
449
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/minus.js
484
450
  init_react_import();
485
451
  var Minus = createLucideIcon("Minus", [["path", { d: "M5 12h14", key: "1ays0h" }]]);
486
452
 
487
- // ../../node_modules/lucide-react/dist/esm/icons/monitor.js
453
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/monitor.js
488
454
  init_react_import();
489
455
  var Monitor = createLucideIcon("Monitor", [
490
456
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
@@ -492,28 +458,28 @@ var Monitor = createLucideIcon("Monitor", [
492
458
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
493
459
  ]);
494
460
 
495
- // ../../node_modules/lucide-react/dist/esm/icons/panel-left.js
461
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/panel-left.js
496
462
  init_react_import();
497
463
  var PanelLeft = createLucideIcon("PanelLeft", [
498
464
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
499
465
  ["path", { d: "M9 3v18", key: "fh3hqa" }]
500
466
  ]);
501
467
 
502
- // ../../node_modules/lucide-react/dist/esm/icons/panel-right.js
468
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/panel-right.js
503
469
  init_react_import();
504
470
  var PanelRight = createLucideIcon("PanelRight", [
505
471
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
506
472
  ["path", { d: "M15 3v18", key: "14nvp0" }]
507
473
  ]);
508
474
 
509
- // ../../node_modules/lucide-react/dist/esm/icons/plus.js
475
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/plus.js
510
476
  init_react_import();
511
477
  var Plus = createLucideIcon("Plus", [
512
478
  ["path", { d: "M5 12h14", key: "1ays0h" }],
513
479
  ["path", { d: "M12 5v14", key: "s699le" }]
514
480
  ]);
515
481
 
516
- // ../../node_modules/lucide-react/dist/esm/icons/quote.js
482
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/quote.js
517
483
  init_react_import();
518
484
  var Quote = createLucideIcon("Quote", [
519
485
  [
@@ -532,7 +498,7 @@ var Quote = createLucideIcon("Quote", [
532
498
  ]
533
499
  ]);
534
500
 
535
- // ../../node_modules/lucide-react/dist/esm/icons/rectangle-ellipsis.js
501
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/rectangle-ellipsis.js
536
502
  init_react_import();
537
503
  var RectangleEllipsis = createLucideIcon("RectangleEllipsis", [
538
504
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
@@ -541,21 +507,21 @@ var RectangleEllipsis = createLucideIcon("RectangleEllipsis", [
541
507
  ["path", { d: "M7 12h.01", key: "eqddd0" }]
542
508
  ]);
543
509
 
544
- // ../../node_modules/lucide-react/dist/esm/icons/redo-2.js
510
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/redo-2.js
545
511
  init_react_import();
546
512
  var Redo2 = createLucideIcon("Redo2", [
547
513
  ["path", { d: "m15 14 5-5-5-5", key: "12vg1m" }],
548
514
  ["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13", key: "6uklza" }]
549
515
  ]);
550
516
 
551
- // ../../node_modules/lucide-react/dist/esm/icons/search.js
517
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/search.js
552
518
  init_react_import();
553
519
  var Search = createLucideIcon("Search", [
554
520
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
555
521
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
556
522
  ]);
557
523
 
558
- // ../../node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js
524
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js
559
525
  init_react_import();
560
526
  var SlidersHorizontal = createLucideIcon("SlidersHorizontal", [
561
527
  ["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
@@ -569,14 +535,14 @@ var SlidersHorizontal = createLucideIcon("SlidersHorizontal", [
569
535
  ["line", { x1: "16", x2: "16", y1: "18", y2: "22", key: "1lctlv" }]
570
536
  ]);
571
537
 
572
- // ../../node_modules/lucide-react/dist/esm/icons/smartphone.js
538
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/smartphone.js
573
539
  init_react_import();
574
540
  var Smartphone = createLucideIcon("Smartphone", [
575
541
  ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
576
542
  ["path", { d: "M12 18h.01", key: "mhygvu" }]
577
543
  ]);
578
544
 
579
- // ../../node_modules/lucide-react/dist/esm/icons/square-code.js
545
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/square-code.js
580
546
  init_react_import();
581
547
  var SquareCode = createLucideIcon("SquareCode", [
582
548
  ["path", { d: "M10 9.5 8 12l2 2.5", key: "3mjy60" }],
@@ -584,7 +550,7 @@ var SquareCode = createLucideIcon("SquareCode", [
584
550
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
585
551
  ]);
586
552
 
587
- // ../../node_modules/lucide-react/dist/esm/icons/strikethrough.js
553
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/strikethrough.js
588
554
  init_react_import();
589
555
  var Strikethrough = createLucideIcon("Strikethrough", [
590
556
  ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
@@ -592,14 +558,14 @@ var Strikethrough = createLucideIcon("Strikethrough", [
592
558
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
593
559
  ]);
594
560
 
595
- // ../../node_modules/lucide-react/dist/esm/icons/tablet.js
561
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/tablet.js
596
562
  init_react_import();
597
563
  var Tablet = createLucideIcon("Tablet", [
598
564
  ["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", ry: "2", key: "76otgf" }],
599
565
  ["line", { x1: "12", x2: "12.01", y1: "18", y2: "18", key: "1dp563" }]
600
566
  ]);
601
567
 
602
- // ../../node_modules/lucide-react/dist/esm/icons/toy-brick.js
568
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/toy-brick.js
603
569
  init_react_import();
604
570
  var ToyBrick = createLucideIcon("ToyBrick", [
605
571
  ["rect", { width: "18", height: "12", x: "3", y: "8", rx: "1", key: "158fvp" }],
@@ -607,7 +573,7 @@ var ToyBrick = createLucideIcon("ToyBrick", [
607
573
  ["path", { d: "M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3", key: "9wmeh2" }]
608
574
  ]);
609
575
 
610
- // ../../node_modules/lucide-react/dist/esm/icons/trash.js
576
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/trash.js
611
577
  init_react_import();
612
578
  var Trash = createLucideIcon("Trash", [
613
579
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
@@ -615,7 +581,7 @@ var Trash = createLucideIcon("Trash", [
615
581
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
616
582
  ]);
617
583
 
618
- // ../../node_modules/lucide-react/dist/esm/icons/type.js
584
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/type.js
619
585
  init_react_import();
620
586
  var Type = createLucideIcon("Type", [
621
587
  ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
@@ -623,28 +589,28 @@ var Type = createLucideIcon("Type", [
623
589
  ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
624
590
  ]);
625
591
 
626
- // ../../node_modules/lucide-react/dist/esm/icons/underline.js
592
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/underline.js
627
593
  init_react_import();
628
594
  var Underline = createLucideIcon("Underline", [
629
595
  ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
630
596
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
631
597
  ]);
632
598
 
633
- // ../../node_modules/lucide-react/dist/esm/icons/undo-2.js
599
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/undo-2.js
634
600
  init_react_import();
635
601
  var Undo2 = createLucideIcon("Undo2", [
636
602
  ["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
637
603
  ["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11", key: "f3b9sd" }]
638
604
  ]);
639
605
 
640
- // ../../node_modules/lucide-react/dist/esm/icons/x.js
606
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/x.js
641
607
  init_react_import();
642
608
  var X = createLucideIcon("X", [
643
609
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
644
610
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
645
611
  ]);
646
612
 
647
- // ../../node_modules/lucide-react/dist/esm/icons/zoom-in.js
613
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/zoom-in.js
648
614
  init_react_import();
649
615
  var ZoomIn = createLucideIcon("ZoomIn", [
650
616
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -653,7 +619,7 @@ var ZoomIn = createLucideIcon("ZoomIn", [
653
619
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
654
620
  ]);
655
621
 
656
- // ../../node_modules/lucide-react/dist/esm/icons/zoom-out.js
622
+ // ../../node_modules/.pnpm/lucide-react@0.468.0_react@19.2.6/node_modules/lucide-react/dist/esm/icons/zoom-out.js
657
623
  init_react_import();
658
624
  var ZoomOut = createLucideIcon("ZoomOut", [
659
625
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -661,6 +627,79 @@ var ZoomOut = createLucideIcon("ZoomOut", [
661
627
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
662
628
  ]);
663
629
 
630
+ // components/ActionBar/index.tsx
631
+ init_react_import();
632
+ import { forwardRef as forwardRef3 } from "react";
633
+
634
+ // css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css#css-module
635
+ init_react_import();
636
+ var styles_module_default = { "ActionBar": "_ActionBar_gr1cb_1", "ActionBar-label": "_ActionBar-label_gr1cb_17", "ActionBarAction": "_ActionBarAction_gr1cb_30", "ActionBar-group": "_ActionBar-group_gr1cb_38", "ActionBarAction--disabled": "_ActionBarAction--disabled_gr1cb_74", "ActionBarAction--grab": "_ActionBarAction--grab_gr1cb_83", "ActionBarAction-icon": "_ActionBarAction-icon_gr1cb_88", "ActionBarAction--active": "_ActionBarAction--active_gr1cb_114", "ActionBar-separator": "_ActionBar-separator_gr1cb_127" };
637
+
638
+ // components/ActionBar/index.tsx
639
+ import { jsx, jsxs } from "react/jsx-runtime";
640
+ var getClassName = get_class_name_factory_default("ActionBar", styles_module_default);
641
+ var getActionClassName = get_class_name_factory_default("ActionBarAction", styles_module_default);
642
+ var ActionBar = ({
643
+ label,
644
+ children
645
+ }) => /* @__PURE__ */ jsxs(
646
+ "div",
647
+ {
648
+ className: getClassName(),
649
+ onClick: (e) => {
650
+ e.stopPropagation();
651
+ },
652
+ children: [
653
+ label && /* @__PURE__ */ jsx(ActionBar.Group, { children: /* @__PURE__ */ jsx("div", { className: getClassName("label"), children: label }) }),
654
+ children
655
+ ]
656
+ }
657
+ );
658
+ var Action = forwardRef3((_a, ref) => {
659
+ var _b = _a, { children, label, onClick, active = false, disabled } = _b, rest = __objRest(_b, ["children", "label", "onClick", "active", "disabled"]);
660
+ return /* @__PURE__ */ jsx(
661
+ "button",
662
+ __spreadProps(__spreadValues({
663
+ type: "button"
664
+ }, rest), {
665
+ ref,
666
+ className: getActionClassName({ active, disabled }),
667
+ onClick,
668
+ title: label,
669
+ tabIndex: 0,
670
+ disabled,
671
+ children
672
+ })
673
+ );
674
+ });
675
+ Action.displayName = "Action";
676
+ var DragHandle = forwardRef3((_a, ref) => {
677
+ var _b = _a, { label, disabled } = _b, rest = __objRest(_b, ["label", "disabled"]);
678
+ return /* @__PURE__ */ jsx(
679
+ "button",
680
+ __spreadProps(__spreadValues({
681
+ type: "button"
682
+ }, rest), {
683
+ ref,
684
+ className: getActionClassName({ disabled, grab: !disabled }),
685
+ onClick: (e) => e.stopPropagation(),
686
+ title: label,
687
+ tabIndex: 0,
688
+ disabled,
689
+ children: /* @__PURE__ */ jsx(GripVertical, { className: getActionClassName("icon") })
690
+ })
691
+ );
692
+ });
693
+ DragHandle.displayName = "DragHandle";
694
+ var Group = ({ children }) => /* @__PURE__ */ jsx("div", { className: getClassName("group"), children });
695
+ var Label = ({ label }) => /* @__PURE__ */ jsx("div", { className: getClassName("label"), children: label });
696
+ var Separator = () => /* @__PURE__ */ jsx("div", { className: getClassName("separator") });
697
+ ActionBar.Action = Action;
698
+ ActionBar.Label = Label;
699
+ ActionBar.Group = Group;
700
+ ActionBar.Separator = Separator;
701
+ ActionBar.DragHandle = DragHandle;
702
+
664
703
  // store/index.ts
665
704
  init_react_import();
666
705
  import { create as create2, useStore } from "zustand";
@@ -1147,13 +1186,14 @@ var createFieldsSlice = (_set, _get) => {
1147
1186
  };
1148
1187
  };
1149
1188
  var useRegisterFieldsSlice = (appStore, id) => {
1189
+ const nodeId = id || "root";
1150
1190
  const resolveFields = useCallback(
1151
1191
  (reset) => __async(null, null, function* () {
1152
1192
  var _a, _b;
1153
1193
  const { fields, lastResolvedData } = appStore.getState().fields;
1154
1194
  const metadata = appStore.getState().metadata;
1155
1195
  const nodes = appStore.getState().state.indexes.nodes;
1156
- const node = nodes[id || "root"];
1196
+ const node = nodes[nodeId];
1157
1197
  const componentData = node == null ? void 0 : node.data;
1158
1198
  const parentNode = (node == null ? void 0 : node.parentId) ? nodes[node.parentId] : null;
1159
1199
  const parent = (parentNode == null ? void 0 : parentNode.data) || null;
@@ -1165,7 +1205,7 @@ var useRegisterFieldsSlice = (appStore, id) => {
1165
1205
  let lastFields = fields;
1166
1206
  if (reset) {
1167
1207
  appStore.setState((s) => ({
1168
- fields: __spreadProps(__spreadValues({}, s.fields), { fields: defaultFields, id })
1208
+ fields: __spreadProps(__spreadValues({}, s.fields), { fields: defaultFields, id: nodeId })
1169
1209
  }));
1170
1210
  lastFields = defaultFields;
1171
1211
  }
@@ -1198,12 +1238,12 @@ var useRegisterFieldsSlice = (appStore, id) => {
1198
1238
  fields: newFields,
1199
1239
  loading: false,
1200
1240
  lastResolvedData: componentData,
1201
- id
1241
+ id: nodeId
1202
1242
  }
1203
1243
  });
1204
1244
  } else {
1205
1245
  appStore.setState((s) => ({
1206
- fields: __spreadProps(__spreadValues({}, s.fields), { fields: defaultFields, id })
1246
+ fields: __spreadProps(__spreadValues({}, s.fields), { fields: defaultFields, id: nodeId })
1207
1247
  }));
1208
1248
  }
1209
1249
  }),
@@ -1212,7 +1252,7 @@ var useRegisterFieldsSlice = (appStore, id) => {
1212
1252
  useEffect4(() => {
1213
1253
  resolveFields(true);
1214
1254
  const unsubscribeData = appStore.subscribe(
1215
- (s) => s.state.indexes.nodes[id || "root"],
1255
+ (s) => s.state.indexes.nodes[nodeId],
1216
1256
  () => resolveFields()
1217
1257
  );
1218
1258
  const unsubscribeConfig = appStore.subscribe(
@@ -1455,6 +1495,9 @@ function useAppStoreApi() {
1455
1495
  var _a;
1456
1496
  return (_a = useContext(appStoreContext)) != null ? _a : getDefaultAppStore();
1457
1497
  }
1498
+ function useIsWithinPuck() {
1499
+ return useContext(appStoreContext) !== null;
1500
+ }
1458
1501
 
1459
1502
  // components/IconButton/IconButton.tsx
1460
1503
  init_react_import();
@@ -1497,10 +1540,10 @@ init_react_import();
1497
1540
  // lib/get-zoom-config.ts
1498
1541
  init_react_import();
1499
1542
 
1500
- // ../../node_modules/css-box-model/dist/css-box-model.esm.js
1543
+ // ../../node_modules/.pnpm/css-box-model@1.2.1/node_modules/css-box-model/dist/css-box-model.esm.js
1501
1544
  init_react_import();
1502
1545
 
1503
- // ../../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
1546
+ // ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
1504
1547
  init_react_import();
1505
1548
  var isProduction = process.env.NODE_ENV === "production";
1506
1549
  var prefix = "Invariant failed";
@@ -1516,7 +1559,7 @@ function invariant(condition, message) {
1516
1559
  throw new Error(value);
1517
1560
  }
1518
1561
 
1519
- // ../../node_modules/css-box-model/dist/css-box-model.esm.js
1562
+ // ../../node_modules/.pnpm/css-box-model@1.2.1/node_modules/css-box-model/dist/css-box-model.esm.js
1520
1563
  var getRect = function getRect2(_ref) {
1521
1564
  var top = _ref.top, right = _ref.right, bottom = _ref.bottom, left = _ref.left;
1522
1565
  var width = right - left;
@@ -1629,7 +1672,7 @@ var getZoomConfig = (uiViewport, frame, zoom) => {
1629
1672
  const heightZoom = Math.min(frameHeight / viewportHeight, 1);
1630
1673
  zoom = widthZoom;
1631
1674
  if (widthZoom < heightZoom) {
1632
- rootHeight = viewportHeight / zoom;
1675
+ rootHeight = uiViewport.height === "auto" ? viewportHeight / zoom : viewportHeight;
1633
1676
  } else {
1634
1677
  rootHeight = viewportHeight;
1635
1678
  zoom = heightZoom;
@@ -1680,6 +1723,7 @@ var defaultDictionary = {
1680
1723
  "header-toggle-menubar": "Toggle menu bar",
1681
1724
  // Component action bar
1682
1725
  "action-selectparent": "Select parent",
1726
+ "action-drag": "Drag to reorder",
1683
1727
  "action-duplicate": "Duplicate",
1684
1728
  "action-delete": "Delete",
1685
1729
  // Fallback labels — shared by the breadcrumbs, fields panel and header
@@ -1998,11 +2042,6 @@ function SelectControl({
1998
2042
  }
1999
2043
 
2000
2044
  export {
2001
- ActionBar,
2002
- Action,
2003
- Group,
2004
- Label,
2005
- Separator,
2006
2045
  AlignCenter,
2007
2046
  AlignJustify,
2008
2047
  AlignLeft,
@@ -2032,6 +2071,7 @@ export {
2032
2071
  Layers,
2033
2072
  LayoutGrid,
2034
2073
  Link,
2074
+ ListCheck,
2035
2075
  ListOrdered,
2036
2076
  List,
2037
2077
  LockOpen,
@@ -2060,6 +2100,12 @@ export {
2060
2100
  X,
2061
2101
  ZoomIn,
2062
2102
  ZoomOut,
2103
+ ActionBar,
2104
+ Action,
2105
+ DragHandle,
2106
+ Group,
2107
+ Label,
2108
+ Separator,
2063
2109
  reorder,
2064
2110
  replace,
2065
2111
  monitorHotkeys,
@@ -2068,10 +2114,12 @@ export {
2068
2114
  useRegisterHistorySlice,
2069
2115
  useRegisterPermissionsSlice,
2070
2116
  useRegisterFieldsSlice,
2117
+ toRoot,
2071
2118
  createAppStore,
2072
2119
  appStoreContext,
2073
2120
  useAppStore,
2074
2121
  useAppStoreApi,
2122
+ useIsWithinPuck,
2075
2123
  getBox,
2076
2124
  useResetAutoZoom,
2077
2125
  useMessage,
@@ -2105,6 +2153,7 @@ lucide-react/dist/esm/icons/corner-left-up.js:
2105
2153
  lucide-react/dist/esm/icons/ellipsis-vertical.js:
2106
2154
  lucide-react/dist/esm/icons/expand.js:
2107
2155
  lucide-react/dist/esm/icons/globe.js:
2156
+ lucide-react/dist/esm/icons/grip-vertical.js:
2108
2157
  lucide-react/dist/esm/icons/hammer.js:
2109
2158
  lucide-react/dist/esm/icons/hash.js:
2110
2159
  lucide-react/dist/esm/icons/heading-1.js:
@@ -2117,6 +2166,7 @@ lucide-react/dist/esm/icons/italic.js:
2117
2166
  lucide-react/dist/esm/icons/layers.js:
2118
2167
  lucide-react/dist/esm/icons/layout-grid.js:
2119
2168
  lucide-react/dist/esm/icons/link.js:
2169
+ lucide-react/dist/esm/icons/list-check.js:
2120
2170
  lucide-react/dist/esm/icons/list-ordered.js:
2121
2171
  lucide-react/dist/esm/icons/lock-open.js:
2122
2172
  lucide-react/dist/esm/icons/lock.js: