@delmaredigital/payload-puck 0.8.1 → 0.8.3
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/README.md +10 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -10,6 +10,16 @@ A PayloadCMS plugin for integrating [Puck](https://puckeditor.com) visual page b
|
|
|
10
10
|
<a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fdelmaredigital%2Fdd-starter&project-name=my-payload-site&build-command=pnpm%20run%20ci&env=PAYLOAD_SECRET,BETTER_AUTH_SECRET&stores=%5B%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22storage%22%2C%22productSlug%22%3A%22neon%22%2C%22integrationSlug%22%3A%22neon%22%7D%2C%7B%22type%22%3A%22blob%22%7D%5D"><img src="https://vercel.com/button" alt="Deploy with Vercel" height="32"></a>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
|
+
> 🎨 **Upgrading to 0.8?** The editor stylesheet is now built by your app, not by this plugin.
|
|
14
|
+
>
|
|
15
|
+
> - **`editorStylesheet`, `editorStylesheetCompiled` and `editorStylesheetUrls` are replaced by a single `editorStylesheets: string[]`** — an ordered list of URLs the editor iframe loads. The `/api/puck/styles` endpoint, the `/next` entry point and its `withPuckCSS()` wrapper, and the `postcss` / `postcss-load-config` peer dependencies are all removed.
|
|
16
|
+
> - **Action:** install Tailwind's CLI (`pnpm add -D @tailwindcss/cli` on v4), add a `build:puck-css` script that compiles your CSS into `public/`, pass that URL via `editorStylesheets`, and delete the `withPuckCSS` wrapper from `next.config`. Full steps in [Upgrading to 0.8.0](#upgrading-to-080-breaking).
|
|
17
|
+
> - **Why it matters:** the old design compiled CSS at runtime in development but relied on a **webpack plugin** in production. Next.js 16 defaults to Turbopack, which never runs `webpack()` hooks — so on Next 16 the production stylesheet was silently never generated and **the editor rendered completely unstyled in production while looking perfect locally**. If you are on Next 16, this release fixes that. See the [CHANGELOG](./CHANGELOG.md#080---2026-08-07).
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
> 📦 **Upgrading from 0.6.x?** `0.7.0` raised two floors before the 0.8 changes above: **`@puckeditor/core` now requires `>= 0.23.0`** (`pnpm add @puckeditor/core@^0.23.0`) and **Node 18 is no longer supported** (`node >= 20.9.0`). Puck 0.23 also ships a rewritten canvas drag-and-drop engine and a redesigned outline, so the editing experience changes visibly even though no API you call has changed — worth a pass through your editor. Apply both this and the 0.8 migration; see the [CHANGELOG](./CHANGELOG.md#070---2026-08-07).
|
|
22
|
+
|
|
13
23
|
---
|
|
14
24
|
|
|
15
25
|
## Documentation
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.8.
|
|
1
|
+
export declare const VERSION = "0.8.3";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated by scripts/generate-version.js - do not edit manually
|
|
2
|
-
export const VERSION = '0.8.
|
|
2
|
+
export const VERSION = '0.8.3';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delmaredigital/payload-puck",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Puck visual page builder plugin for Payload CMS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -145,35 +145,35 @@
|
|
|
145
145
|
"@puckeditor/plugin-ai": "^0.8.2",
|
|
146
146
|
"@puckeditor/plugin-heading-analyzer": "^0.23.0",
|
|
147
147
|
"@radix-ui/react-popover": "^1.1.15",
|
|
148
|
-
"@tiptap/core": "^3.
|
|
149
|
-
"@tiptap/extension-color": "^3.
|
|
150
|
-
"@tiptap/extension-highlight": "^3.
|
|
151
|
-
"@tiptap/extension-link": "^3.
|
|
152
|
-
"@tiptap/extension-subscript": "^3.
|
|
153
|
-
"@tiptap/extension-superscript": "^3.
|
|
154
|
-
"@tiptap/extension-text-align": "^3.
|
|
155
|
-
"@tiptap/extension-text-style": "^3.
|
|
156
|
-
"@tiptap/extension-underline": "^3.
|
|
157
|
-
"@tiptap/react": "^3.
|
|
158
|
-
"@tiptap/starter-kit": "^3.
|
|
159
|
-
"html-react-parser": "^
|
|
160
|
-
"lucide-react": "^
|
|
148
|
+
"@tiptap/core": "^3.29.2",
|
|
149
|
+
"@tiptap/extension-color": "^3.29.2",
|
|
150
|
+
"@tiptap/extension-highlight": "^3.29.2",
|
|
151
|
+
"@tiptap/extension-link": "^3.29.2",
|
|
152
|
+
"@tiptap/extension-subscript": "^3.29.2",
|
|
153
|
+
"@tiptap/extension-superscript": "^3.29.2",
|
|
154
|
+
"@tiptap/extension-text-align": "^3.29.2",
|
|
155
|
+
"@tiptap/extension-text-style": "^3.29.2",
|
|
156
|
+
"@tiptap/extension-underline": "^3.29.2",
|
|
157
|
+
"@tiptap/react": "^3.29.2",
|
|
158
|
+
"@tiptap/starter-kit": "^3.29.2",
|
|
159
|
+
"html-react-parser": "^6.1.5",
|
|
160
|
+
"lucide-react": "^1.30.0"
|
|
161
161
|
},
|
|
162
162
|
"devDependencies": {
|
|
163
163
|
"@payloadcms/next": "^3.87.1",
|
|
164
164
|
"@payloadcms/ui": "^3.87.1",
|
|
165
165
|
"@puckeditor/core": "^0.23.0",
|
|
166
166
|
"@swc/cli": "^0.6.0",
|
|
167
|
-
"@swc/core": "^1.15.
|
|
168
|
-
"@types/node": "^24.
|
|
169
|
-
"@types/react": "^19.2.
|
|
170
|
-
"@types/react-dom": "^19.2.
|
|
167
|
+
"@swc/core": "^1.15.47",
|
|
168
|
+
"@types/node": "^24.13.3",
|
|
169
|
+
"@types/react": "^19.2.18",
|
|
170
|
+
"@types/react-dom": "^19.2.4",
|
|
171
171
|
"@vitest/coverage-v8": "^3.2.7",
|
|
172
172
|
"copyfiles": "^2.4.1",
|
|
173
173
|
"next": "^16.3.0",
|
|
174
174
|
"payload": "^3.87.1",
|
|
175
|
-
"react": "^19.2.
|
|
176
|
-
"react-dom": "^19.2.
|
|
175
|
+
"react": "^19.2.8",
|
|
176
|
+
"react-dom": "^19.2.8",
|
|
177
177
|
"typescript": "^5.9.3",
|
|
178
178
|
"vitest": "^3.2.7"
|
|
179
179
|
},
|