Skip to content

Commit

Permalink
Merge branch 'beta' of github.com:payloadcms/payload into chore/beta/…
Browse files Browse the repository at this point in the history
…more-locked-documents-tests
  • Loading branch information
PatrikKozak committed Oct 29, 2024
2 parents 8c99a6d + 915a3ce commit 652d10e
Show file tree
Hide file tree
Showing 35 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions docs/admin/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords: admin, components, custom, documentation, Content Management System, c

The Payload [Admin Panel](./overview) is designed to be as minimal and straightforward as possible to allow for both easy customization and full control over the UI. In order for Payload to support this level of customization, Payload provides a pattern for you to supply your own React components through your [Payload Config](../configuration/overview).

All Custom Components in Payload are [React Server Components](https://react.dev/reference/rsc/server-components) by default, with the exception of [Custom Providers](#custom-providers). This enables the use of the [Local API](../local-api) directly on the front-end. Custom Components are available for nearly every part of the Admin Panel for extreme granularity and control.
All Custom Components in Payload are [React Server Components](https://react.dev/reference/rsc/server-components) by default, with the exception of [Custom Providers](#custom-providers). This enables the use of the [Local API](../local-api/overview) directly on the front-end. Custom Components are available for nearly every part of the Admin Panel for extreme granularity and control.

<Banner type="success">
<strong>Note:</strong>
Expand Down Expand Up @@ -329,7 +329,7 @@ export const useMyCustomContext = () => useContext(MyCustomContext)

## Building Custom Components

All Custom Components in Payload are [React Server Components](https://react.dev/reference/rsc/server-components) by default, with the exception of [Custom Providers](#custom-providers). This enables the use of the [Local API](../local-api) directly on the front-end, among other things.
All Custom Components in Payload are [React Server Components](https://react.dev/reference/rsc/server-components) by default, with the exception of [Custom Providers](#custom-providers). This enables the use of the [Local API](../local-api/overview) directly on the front-end, among other things.

To make building Custom Components as easy as possible, Payload automatically provides common props, such as the [`payload`](../local-api/overview) class and the [`i18n`](../configuration/i18n) object. This means that when building Custom Components within the Admin Panel, you do not have to get these yourself.

Expand Down
6 changes: 3 additions & 3 deletions docs/plugins/form-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,12 @@ Maps to a `checkbox` input on your front-end. Used to collect a boolean value.
Maps to a `number` input on your front-end. Used to collect a number.

| Property | Type | Description |
| -------------- | -------- | ---------------------------------------------------- | --- | -------------- | ------ | ------------------------------- |
| -------------- | -------- | ---------------------------------------------------- |
| `name` | string | The name of the field. |
| `label` | string | The label of the field. |
| `defaultValue` | string | The default value of the field. |
| `defaultValue` | number | The default value of the field. |
| `width` | string | The width of the field on the front-end. |
| `required` | checkbox | Whether or not the field is required when submitted. | | `defaultValue` | number | The default value of the field. |
| `required` | checkbox | Whether or not the field is required when submitted. |

### Message

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payload-monorepo",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-payload-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-payload-app",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"homepage": "https://payloadcms.com",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/db-mongodb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/db-mongodb",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The officially supported MongoDB database adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db-postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/db-postgres",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The officially supported Postgres database adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/db-sqlite",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The officially supported SQLite database adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db-vercel-postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/db-vercel-postgres",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Vercel Postgres adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/drizzle",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "A library of shared functions used by different payload database adapters",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/email-nodemailer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/email-nodemailer",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload Nodemailer Email Adapter",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/email-resend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/email-resend",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload Resend Email Adapter",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/graphql",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"homepage": "https://payloadcms.com",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/live-preview-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/live-preview-react",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official React SDK for Payload Live Preview",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/live-preview-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/live-preview-vue",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official Vue SDK for Payload Live Preview",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/live-preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/live-preview",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official live preview JavaScript SDK for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/next",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"homepage": "https://payloadcms.com",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/payload-cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/payload-cloud",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official Payload Cloud plugin",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/payload/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payload",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Node, React, Headless CMS and Application Framework built on Next.js",
"keywords": [
"admin panel",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cloud-storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-cloud-storage",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official cloud storage plugin for Payload CMS",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-form-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-form-builder",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Form builder plugin for Payload CMS",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-nested-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-nested-docs",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The official Nested Docs plugin for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-redirects/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-redirects",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Redirects plugin for Payload",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-search",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Search plugin for Payload",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-sentry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-sentry",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Sentry plugin for Payload",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-seo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-seo",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "SEO plugin for Payload",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-stripe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/plugin-stripe",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Stripe plugin for Payload",
"keywords": [
"payload",
Expand Down
2 changes: 1 addition & 1 deletion packages/richtext-lexical/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/richtext-lexical",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The officially supported Lexical richtext adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/richtext-slate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/richtext-slate",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "The officially supported Slate richtext adapter for Payload",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-azure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/storage-azure",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload storage adapter for Azure Blob Storage",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-gcs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/storage-gcs",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload storage adapter for Google Cloud Storage",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-s3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/storage-s3",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload storage adapter for Amazon S3",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-uploadthing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/storage-uploadthing",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload storage adapter for uploadthing",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-vercel-blob/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/storage-vercel-blob",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"description": "Payload storage adapter for Vercel Blob Storage",
"homepage": "https://payloadcms.com",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/translations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/translations",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"homepage": "https://payloadcms.com",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms/ui",
"version": "3.0.0-beta.119",
"version": "3.0.0-beta.120",
"homepage": "https://payloadcms.com",
"repository": {
"type": "git",
Expand Down

0 comments on commit 652d10e

Please sign in to comment.