@measured/puck 0.21.0-canary.ece26d91 → 0.21.0-canary.ed351ce5

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 (37) hide show
  1. package/dist/{Editor-O447AVCX.mjs → Editor-CYTATURR.mjs} +7 -7
  2. package/dist/{actions-ONhOkrvf.d.mts → actions-tsxxcX1z.d.mts} +24 -9
  3. package/dist/{actions-ONhOkrvf.d.ts → actions-tsxxcX1z.d.ts} +24 -9
  4. package/dist/{chunk-T3WX7XJ6.mjs → chunk-72SA22GI.mjs} +4 -2
  5. package/dist/{chunk-2Q4PACDA.mjs → chunk-M4QBB3JM.mjs} +3 -3
  6. package/dist/{chunk-62AAYNXG.mjs → chunk-MLTVJA2A.mjs} +1 -1
  7. package/dist/{chunk-Y656T6AQ.mjs → chunk-MVJKIFF6.mjs} +1 -1
  8. package/dist/{chunk-QAWJTCV5.mjs → chunk-NOJQSXRU.mjs} +1 -1
  9. package/dist/{chunk-QBJ2LDJB.mjs → chunk-RVZLI2KP.mjs} +5109 -4487
  10. package/dist/{chunk-PLXSMBAA.mjs → chunk-UNQOU2OI.mjs} +1 -1
  11. package/dist/{chunk-DAQLMM2T.mjs → chunk-UUOBSXZR.mjs} +87 -2
  12. package/dist/{chunk-BSDEIOEK.mjs → chunk-V7333LON.mjs} +10 -8
  13. package/dist/{full-BEMDJKDS.mjs → full-GZ4L3XCF.mjs} +6 -6
  14. package/dist/{index-BEoNHRI1.d.ts → index-Ca6V6NQD.d.ts} +3 -1
  15. package/dist/{index-DfxZ7tZF.d.mts → index-mQvUCH3C.d.mts} +3 -1
  16. package/dist/index.css +696 -306
  17. package/dist/index.d.mts +28 -9
  18. package/dist/index.d.ts +28 -9
  19. package/dist/index.js +2910 -2143
  20. package/dist/index.mjs +18 -15
  21. package/dist/internal.d.mts +2 -2
  22. package/dist/internal.d.ts +2 -2
  23. package/dist/{loaded-N3FYGF2Y.mjs → loaded-2MNXXPJP.mjs} +3 -3
  24. package/dist/{loaded-JU3A7Y4L.mjs → loaded-6QT4HD2O.mjs} +3 -3
  25. package/dist/{loaded-OBY7OMS6.mjs → loaded-ZVPBQVNE.mjs} +3 -3
  26. package/dist/no-external.css +841 -447
  27. package/dist/no-external.d.mts +4 -4
  28. package/dist/no-external.d.ts +4 -4
  29. package/dist/no-external.js +2912 -2142
  30. package/dist/no-external.mjs +17 -9
  31. package/dist/rsc.d.mts +2 -2
  32. package/dist/rsc.d.ts +2 -2
  33. package/dist/rsc.js +4 -2
  34. package/dist/rsc.mjs +2 -2
  35. package/dist/{walk-tree-DHbAZ4wF.d.ts → walk-tree-Bh85NMeo.d.ts} +1 -1
  36. package/dist/{walk-tree-CdriEzFJ.d.mts → walk-tree-CDA3K5S3.d.mts} +1 -1
  37. package/package.json +3 -3
@@ -6,20 +6,24 @@ import {
6
6
  FieldLabel,
7
7
  Puck,
8
8
  Render,
9
+ blocksPlugin,
9
10
  createUsePuck,
11
+ fieldsPlugin,
12
+ legacySideBarPlugin,
13
+ outlinePlugin,
10
14
  overrideKeys,
11
15
  registerOverlayPortal,
12
16
  renderContext,
13
17
  setDeep,
14
18
  useGetPuck,
15
19
  usePuck
16
- } from "./chunk-QBJ2LDJB.mjs";
17
- import "./chunk-2Q4PACDA.mjs";
20
+ } from "./chunk-RVZLI2KP.mjs";
21
+ import "./chunk-M4QBB3JM.mjs";
18
22
  import {
19
23
  migrate,
20
24
  resolveAllData,
21
25
  transformProps
22
- } from "./chunk-Y656T6AQ.mjs";
26
+ } from "./chunk-MVJKIFF6.mjs";
23
27
  import "./chunk-CSSRLPHM.mjs";
24
28
  import {
25
29
  Action,
@@ -29,13 +33,13 @@ import {
29
33
  Label,
30
34
  RichTextMenu,
31
35
  Separator
32
- } from "./chunk-BSDEIOEK.mjs";
33
- import "./chunk-PLXSMBAA.mjs";
34
- import "./chunk-62AAYNXG.mjs";
35
- import "./chunk-QAWJTCV5.mjs";
36
- import "./chunk-DAQLMM2T.mjs";
36
+ } from "./chunk-V7333LON.mjs";
37
+ import "./chunk-UNQOU2OI.mjs";
38
+ import "./chunk-MLTVJA2A.mjs";
39
+ import "./chunk-NOJQSXRU.mjs";
40
+ import "./chunk-UUOBSXZR.mjs";
37
41
  import "./chunk-QBGM4ELA.mjs";
38
- import "./chunk-T3WX7XJ6.mjs";
42
+ import "./chunk-72SA22GI.mjs";
39
43
  import "./chunk-Y2EFNT5P.mjs";
40
44
  import {
41
45
  walkTree
@@ -61,8 +65,12 @@ export {
61
65
  Render,
62
66
  RichTextMenu,
63
67
  Separator,
68
+ blocksPlugin,
64
69
  createUsePuck,
70
+ fieldsPlugin,
71
+ legacySideBarPlugin,
65
72
  migrate,
73
+ outlinePlugin,
66
74
  overrideKeys,
67
75
  registerOverlayPortal,
68
76
  renderContext,
package/dist/rsc.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './actions-ONhOkrvf.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CdriEzFJ.mjs';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './actions-tsxxcX1z.mjs';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CDA3K5S3.mjs';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
package/dist/rsc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './actions-ONhOkrvf.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DHbAZ4wF.js';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './actions-tsxxcX1z.js';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-Bh85NMeo.js';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
package/dist/rsc.js CHANGED
@@ -1040,7 +1040,8 @@ init_react_import();
1040
1040
  var defaultViewports = [
1041
1041
  { width: 360, height: "auto", icon: "Smartphone", label: "Small" },
1042
1042
  { width: 768, height: "auto", icon: "Tablet", label: "Medium" },
1043
- { width: 1280, height: "auto", icon: "Monitor", label: "Large" }
1043
+ { width: 1280, height: "auto", icon: "Monitor", label: "Large" },
1044
+ { width: "100%", height: "auto", icon: "FullWidth", label: "Full-width" }
1044
1045
  ];
1045
1046
 
1046
1047
  // store/default-app-state.ts
@@ -1062,7 +1063,8 @@ var defaultAppState = {
1062
1063
  options: [],
1063
1064
  controlsVisible: true
1064
1065
  },
1065
- field: { focus: null }
1066
+ field: { focus: null },
1067
+ plugin: { current: null }
1066
1068
  },
1067
1069
  indexes: {
1068
1070
  nodes: {},
package/dist/rsc.mjs CHANGED
@@ -5,9 +5,9 @@ import {
5
5
  transformProps,
6
6
  useRichtextProps,
7
7
  useSlots
8
- } from "./chunk-Y656T6AQ.mjs";
8
+ } from "./chunk-MVJKIFF6.mjs";
9
9
  import "./chunk-CSSRLPHM.mjs";
10
- import "./chunk-T3WX7XJ6.mjs";
10
+ import "./chunk-72SA22GI.mjs";
11
11
  import "./chunk-Y2EFNT5P.mjs";
12
12
  import {
13
13
  rootAreaId,
@@ -1,4 +1,4 @@
1
- import { C as Config, D as Data, W as WithId, U as UserGenerics, b as Content, c as ComponentData, d as DefaultComponents, e as DefaultComponentProps, f as DefaultRootFieldProps, M as Metadata, R as RootData } from './actions-ONhOkrvf.js';
1
+ import { C as Config, D as Data, W as WithId, U as UserGenerics, b as Content, c as ComponentData, d as DefaultComponents, e as DefaultComponentProps, f as DefaultRootFieldProps, M as Metadata, R as RootData } from './actions-tsxxcX1z.js';
2
2
 
3
3
  type MigrationOptions<UserConfig extends Config> = {
4
4
  migrateDynamicZonesForComponent?: {
@@ -1,4 +1,4 @@
1
- import { C as Config, D as Data, W as WithId, U as UserGenerics, b as Content, c as ComponentData, d as DefaultComponents, e as DefaultComponentProps, f as DefaultRootFieldProps, M as Metadata, R as RootData } from './actions-ONhOkrvf.mjs';
1
+ import { C as Config, D as Data, W as WithId, U as UserGenerics, b as Content, c as ComponentData, d as DefaultComponents, e as DefaultComponentProps, f as DefaultRootFieldProps, M as Metadata, R as RootData } from './actions-tsxxcX1z.mjs';
2
2
 
3
3
  type MigrationOptions<UserConfig extends Config> = {
4
4
  migrateDynamicZonesForComponent?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.21.0-canary.ece26d91",
3
+ "version": "0.21.0-canary.ed351ce5",
4
4
  "description": "The open-source visual editor for React",
5
5
  "author": "Chris Villa <chris@puckeditor.com>",
6
6
  "repository": "measuredco/puck",
@@ -81,8 +81,8 @@
81
81
  "@types/flat": "^5.0.5",
82
82
  "@types/jest": "^29.5.14",
83
83
  "@types/object-hash": "^3.0.6",
84
- "@types/react": "^19.0.1",
85
- "@types/react-dom": "^19.0.2",
84
+ "@types/react": "^19.2.7",
85
+ "@types/react-dom": "^19.2.3",
86
86
  "@types/uuid": "^10.0.0",
87
87
  "css-box-model": "^1.2.1",
88
88
  "eslint": "^7.32.0",