MyGit

v0.12.0

measuredco/puck

版本发布时间: 2023-11-23 19:41:01

measuredco/puck最新发布版本:v0.16.0(2024-09-17 17:57:25)

The Puck docs now live at https://puckeditor.com/.

Summary

This release introduces support for React Server Components (thanks @4leite), makes huge improvements to responsive behaviour (🙇‍♂️ @monospaced) and introduces a Remix recipe (ty @EarthlingDavey).

⚡️ React Server Components

Puck now supports React server components via the included @measured/puck/rsc bundle. You should import Render from this bundle instead of the main bundle if you need to support RSC:

import { Render } from "@measured/puck/rsc";
 
export function Page() {
  return <Render config={config} data={data} />;
}

Docs: https://puckeditor.com/docs/integrating-puck/server-components

📱 Responsive Improvements

Puck now behaves much better on small viewports! We’ll continue to iterate on this experience.

✨ Remix Recipe

The new Remix recipe enables you to generate a Remix Run v2 application configured with Puck.

💅 New CSS imports

You can now import your CSS directly from the Puck package, instead of reaching into dist. This is backwards compatible.

@import "@measured/puck/puck.css";

Changelog

Features

Bug Fixes

Full Changelog: https://github.com/measuredco/puck/compare/v0.11.0...v0.12.0

New Contributors

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-11-23发行的版本