diff --git a/examples/custom-components/package.json b/examples/custom-components/package.json
index 72d1b03f3f..6b8155cbe7 100644
--- a/examples/custom-components/package.json
+++ b/examples/custom-components/package.json
@@ -16,20 +16,20 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
- "@payloadcms/db-mongodb": "3.0.0-beta.102",
- "@payloadcms/next": "3.0.0-beta.102",
- "@payloadcms/richtext-lexical": "3.0.0-beta.102",
- "@payloadcms/ui": "3.0.0-beta.102",
+ "@payloadcms/db-mongodb": "3.0.0-beta.106",
+ "@payloadcms/next": "3.0.0-beta.106",
+ "@payloadcms/richtext-lexical": "3.0.0-beta.106",
+ "@payloadcms/ui": "3.0.0-beta.106",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"graphql": "^16.9.0",
"next": "15.0.0-canary.104",
- "payload": "3.0.0-beta.102",
+ "payload": "3.0.0-beta.106",
"react": "19.0.0-rc-06d0b89e-20240801",
"react-dom": "19.0.0-rc-06d0b89e-20240801"
},
"devDependencies": {
- "@payloadcms/graphql": "3.0.0-beta.102",
+ "@payloadcms/graphql": "3.0.0-beta.106",
"@types/react": "npm:types-react@19.0.0-beta.2",
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
"eslint": "^8.57.0",
diff --git a/examples/custom-components/pnpm-lock.yaml b/examples/custom-components/pnpm-lock.yaml
index 7395ae539e..3e2e0c6fc3 100644
--- a/examples/custom-components/pnpm-lock.yaml
+++ b/examples/custom-components/pnpm-lock.yaml
@@ -9,17 +9,17 @@ importers:
.:
dependencies:
'@payloadcms/db-mongodb':
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(@aws-sdk/client-sso-oidc@3.645.0(@aws-sdk/client-sts@3.645.0))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(@aws-sdk/client-sso-oidc@3.645.0(@aws-sdk/client-sts@3.645.0))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))
'@payloadcms/next':
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
'@payloadcms/richtext-lexical':
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(drbu7kwxjwthjjpygki6nboe7y)
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(qmob7ztvrhi3hehnabxq6mtmna)
'@payloadcms/ui':
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
cross-env:
specifier: ^7.0.3
version: 7.0.3
@@ -33,8 +33,8 @@ importers:
specifier: 15.0.0-canary.104
version: 15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4)
payload:
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
react:
specifier: 19.0.0-rc-06d0b89e-20240801
version: 19.0.0-rc-06d0b89e-20240801
@@ -43,8 +43,8 @@ importers:
version: 19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801)
devDependencies:
'@payloadcms/graphql':
- specifier: 3.0.0-beta.102
- version: 3.0.0-beta.102(graphql@16.9.0)(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)
+ specifier: 3.0.0-beta.106
+ version: 3.0.0-beta.106(graphql@16.9.0)(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)
'@types/react':
specifier: npm:types-react@19.0.0-beta.2
version: types-react@19.0.0-beta.2
@@ -480,8 +480,8 @@ packages:
'@faceless-ui/scroll-info@2.0.0-beta.0':
resolution: {integrity: sha512-pUBhQP8vduA7rVndNsjhaCcds1BykA/Q4iV23JWijU6ZFL/M3Fm9P3ypDS+0VVxolqemNhw8S3FXPwZGgjH4Rw==}
peerDependencies:
- react: ^19.0.0-rc-f994737d14-20240522
- react-dom: ^19.0.0-rc-f994737d14-20240522
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc.0
'@faceless-ui/window-info@3.0.0-beta.0':
resolution: {integrity: sha512-Qs8xRA+fl4sU2aFVe9xawxfi5TVZ9VTPuhdQpx9aSv7U5a2F0AXwT61lJfnaJ9Flm8tOcxzq67p8cVZsXNCVeQ==}
@@ -821,28 +821,28 @@ packages:
resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==}
engines: {node: '>=12.4.0'}
- '@payloadcms/db-mongodb@3.0.0-beta.102':
- resolution: {integrity: sha512-vXShXDNjBDymJ1Tb9oN5bsqYMrBNRXnr+7tMvABrkwiLq7jBoEK0sDlisudcHK/shexaWwLpME+G5gijuz3iFg==}
+ '@payloadcms/db-mongodb@3.0.0-beta.106':
+ resolution: {integrity: sha512-wD3xFuGRmk26S+JTweILknIbjixL1HF+ceLc+lsWDkdYEKeZ3aO8DDGkws51JJ3WlC3NC08Pz1WbGttV+kx+5Q==}
peerDependencies:
- payload: 3.0.0-beta.102
+ payload: 3.0.0-beta.106
- '@payloadcms/graphql@3.0.0-beta.102':
- resolution: {integrity: sha512-hc16MsbX/l+Ip2fucRhtYjBItB8axa/aD8fbHhhaPpzYXqSYQVizurmiprPdu9tPchGOZ3lqkqWFkvZvGQBphA==}
+ '@payloadcms/graphql@3.0.0-beta.106':
+ resolution: {integrity: sha512-lLdE/CHz5e7ahOaDpM4+CedYdhm6E+Kuv8EFmkARQwrm9bFyNt6XfGdqp0Fsbwy0ka77Q2rkV640nWOVXBj4ew==}
hasBin: true
peerDependencies:
graphql: ^16.8.1
- payload: 3.0.0-beta.102
+ payload: 3.0.0-beta.106
- '@payloadcms/next@3.0.0-beta.102':
- resolution: {integrity: sha512-T2yEF6oOXwf8dwKqIUQ3RoaQhajDFot54Q5S46sji1o1cu6tRlBg/xp5zBEiN6k/VkxoRKVKZTzzYg60EkC7qA==}
+ '@payloadcms/next@3.0.0-beta.106':
+ resolution: {integrity: sha512-343ptzsRzv3usKcB73mH5hALxRq0eO1hCSnyYSuMbTs+Czo3bSV+RLN1k9hs/5S1/Wr3G1b9Mo4/QTaC99240A==}
engines: {node: ^18.20.2 || >=20.9.0}
peerDependencies:
graphql: ^16.8.1
next: ^15.0.0-canary.104
- payload: 3.0.0-beta.102
+ payload: 3.0.0-beta.106
- '@payloadcms/richtext-lexical@3.0.0-beta.102':
- resolution: {integrity: sha512-zGxQ1zSZTc7mAYVLtImJPM+TFhgjNU9BsAFY7DVllZflzXhLi3x48KovEL60KbZFdNgw+E8/y48C6OjPdk88HQ==}
+ '@payloadcms/richtext-lexical@3.0.0-beta.106':
+ resolution: {integrity: sha512-SB92SGFs/plFASifGL6w8atNMIEUpkatdWWCJXY/OstS++c3lqsB4brs9oWzuMUgdrTBHMXpiYndiK9xc6AS7A==}
engines: {node: ^18.20.2 || >=20.9.0}
peerDependencies:
'@faceless-ui/modal': 3.0.0-beta.2
@@ -857,21 +857,21 @@ packages:
'@lexical/selection': 0.17.0
'@lexical/table': 0.17.0
'@lexical/utils': 0.17.0
- '@payloadcms/next': 3.0.0-beta.102
+ '@payloadcms/next': 3.0.0-beta.106
lexical: 0.17.0
- payload: 3.0.0-beta.102
+ payload: 3.0.0-beta.106
react: ^19.0.0 || ^19.0.0-rc-06d0b89e-20240801
react-dom: ^19.0.0 || ^19.0.0-rc-06d0b89e-20240801
- '@payloadcms/translations@3.0.0-beta.102':
- resolution: {integrity: sha512-H93+fbtIUJ764NDAXO7LkFUDq4cmmOnh0AlMgDlNqeXopUwehgdPt4gl5F3jJ0D0Pb4mCEag8sgIarlS0OOR2Q==}
+ '@payloadcms/translations@3.0.0-beta.106':
+ resolution: {integrity: sha512-WHqeHXyz8WR7XgUxf8yzz6JwE4985boduCwm/SW7FrWo71Y34Q6MG62tU/pVJwudDnr/FP4Gv++8XdAr7YUeDg==}
- '@payloadcms/ui@3.0.0-beta.102':
- resolution: {integrity: sha512-L2KHkNBAbS1hD0DQivov0aguNPu+13CZAYK34QXv/2xLg97f7gTEE2bz/oxoJ2fp+m4Z8lnHFQfW4RSAtPW8cQ==}
+ '@payloadcms/ui@3.0.0-beta.106':
+ resolution: {integrity: sha512-p0SDLg6itm5Dvy+gUJ9JJsb/v2uxeBoWrnG93CmLwQrzO4/p3rX2hDTS42PzhmvD4br0e+Qw1r9p3SjXmRRw3A==}
engines: {node: ^18.20.2 || >=20.9.0}
peerDependencies:
next: ^15.0.0-canary.104
- payload: 3.0.0-beta.102
+ payload: 3.0.0-beta.106
react: ^19.0.0 || ^19.0.0-rc-06d0b89e-20240801
react-dom: ^19.0.0 || ^19.0.0-rc-06d0b89e-20240801
@@ -1168,8 +1168,8 @@ packages:
ajv@6.12.6:
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
- ajv@8.14.0:
- resolution: {integrity: sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==}
+ ajv@8.17.1:
+ resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}
ansi-regex@5.0.1:
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
@@ -1700,6 +1700,9 @@ packages:
fast-safe-stringify@2.1.1:
resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}
+ fast-uri@3.0.1:
+ resolution: {integrity: sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==}
+
fast-xml-parser@4.4.1:
resolution: {integrity: sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==}
hasBin: true
@@ -2093,8 +2096,8 @@ packages:
resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
hasBin: true
- jsonwebtoken@9.0.1:
- resolution: {integrity: sha512-K8wx7eJ5TPvEjuiVSkv167EVboBDv9PZdDoF7BgeQnBLVvZWW9clr2PsQHVJDTKaEIH5JBIwHujGcHp7GgI2eg==}
+ jsonwebtoken@9.0.2:
+ resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==}
engines: {node: '>=12', npm: '>=6'}
jsx-ast-utils@3.3.5:
@@ -2148,9 +2151,30 @@ packages:
resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ lodash.includes@4.3.0:
+ resolution: {integrity: sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==}
+
+ lodash.isboolean@3.0.3:
+ resolution: {integrity: sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==}
+
+ lodash.isinteger@4.0.4:
+ resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==}
+
+ lodash.isnumber@3.0.3:
+ resolution: {integrity: sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==}
+
+ lodash.isplainobject@4.0.6:
+ resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
+
+ lodash.isstring@4.0.1:
+ resolution: {integrity: sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==}
+
lodash.merge@4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+ lodash.once@4.1.1:
+ resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==}
+
lodash@4.17.21:
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
@@ -2361,8 +2385,8 @@ packages:
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
- payload@3.0.0-beta.102:
- resolution: {integrity: sha512-qbkiauI/MUmHtD/JfDKDCfenEOeKvgp3ANZQ99UKC8HcI4DReTTIA7c5pQ6ZWoUojJiLmxUULAvVlTuFicQd4g==}
+ payload@3.0.0-beta.106:
+ resolution: {integrity: sha512-LYBzGJWTKEcJNJojQvSEO2BvkAL8MPKG2M8VyYQ1bH1xd74wSc7Nx0L17cavqmbAFqu7zeZrDCSJ1OdOzFFpSg==}
engines: {node: ^18.20.2 || >=20.9.0}
hasBin: true
peerDependencies:
@@ -2831,10 +2855,13 @@ packages:
peerDependencies:
typescript: '>=4.2.0'
- ts-essentials@7.0.3:
- resolution: {integrity: sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ==}
+ ts-essentials@10.0.2:
+ resolution: {integrity: sha512-Xwag0TULqriaugXqVdDiGZ5wuZpqABZlpwQ2Ho4GDyiu/R2Xjkp/9+zcFxL7uzeLl/QCPrflnvpVYyS3ouT7Zw==}
peerDependencies:
- typescript: '>=3.7.0'
+ typescript: '>=4.5.0'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
tsconfig-paths@3.15.0:
resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
@@ -2842,13 +2869,13 @@ packages:
tslib@2.7.0:
resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==}
- tsx@4.17.0:
- resolution: {integrity: sha512-eN4mnDA5UMKDt4YZixo9tBioibaMBpoxBkD+rIPAjVmYERSG0/dWEY1CEFuV89CgASlKL499q8AhmkMnnjtOJg==}
+ tsx@4.19.0:
+ resolution: {integrity: sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==}
engines: {node: '>=18.0.0'}
hasBin: true
- tsx@4.19.0:
- resolution: {integrity: sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==}
+ tsx@4.19.1:
+ resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -4087,13 +4114,13 @@ snapshots:
'@nolyfill/is-core-module@1.0.39': {}
- '@payloadcms/db-mongodb@3.0.0-beta.102(@aws-sdk/client-sso-oidc@3.645.0(@aws-sdk/client-sts@3.645.0))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))':
+ '@payloadcms/db-mongodb@3.0.0-beta.106(@aws-sdk/client-sso-oidc@3.645.0(@aws-sdk/client-sts@3.645.0))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))':
dependencies:
bson-objectid: 2.0.4
http-status: 1.6.2
mongoose: 6.12.3(@aws-sdk/client-sso-oidc@3.645.0(@aws-sdk/client-sts@3.645.0))
mongoose-paginate-v2: 1.7.22
- payload: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ payload: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
prompts: 2.4.2
uuid: 10.0.0
transitivePeerDependencies:
@@ -4101,23 +4128,23 @@ snapshots:
- aws-crt
- supports-color
- '@payloadcms/graphql@3.0.0-beta.102(graphql@16.9.0)(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)':
+ '@payloadcms/graphql@3.0.0-beta.106(graphql@16.9.0)(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)':
dependencies:
graphql: 16.9.0
graphql-scalars: 1.22.2(graphql@16.9.0)
- payload: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ payload: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
pluralize: 8.0.0
- ts-essentials: 7.0.3(typescript@5.5.2)
- tsx: 4.17.0
+ ts-essentials: 10.0.2(typescript@5.5.2)
+ tsx: 4.19.1
transitivePeerDependencies:
- typescript
- '@payloadcms/next@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)':
+ '@payloadcms/next@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)':
dependencies:
'@dnd-kit/core': 6.0.8(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
- '@payloadcms/graphql': 3.0.0-beta.102(graphql@16.9.0)(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)
- '@payloadcms/translations': 3.0.0-beta.102
- '@payloadcms/ui': 3.0.0-beta.102(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
+ '@payloadcms/graphql': 3.0.0-beta.106(graphql@16.9.0)(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(typescript@5.5.2)
+ '@payloadcms/translations': 3.0.0-beta.106
+ '@payloadcms/ui': 3.0.0-beta.106(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
busboy: 1.6.0
file-type: 17.1.6
graphql: 16.9.0
@@ -4126,7 +4153,7 @@ snapshots:
http-status: 1.6.2
next: 15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4)
path-to-regexp: 6.2.2
- payload: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ payload: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
qs-esm: 7.0.2
react-diff-viewer-continued: 3.2.6(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
sass: 1.77.4
@@ -4143,7 +4170,7 @@ snapshots:
- typescript
- utf-8-validate
- '@payloadcms/richtext-lexical@3.0.0-beta.102(drbu7kwxjwthjjpygki6nboe7y)':
+ '@payloadcms/richtext-lexical@3.0.0-beta.106(qmob7ztvrhi3hehnabxq6mtmna)':
dependencies:
'@faceless-ui/modal': 3.0.0-beta.2(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
'@faceless-ui/scroll-info': 2.0.0-beta.0(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
@@ -4157,15 +4184,15 @@ snapshots:
'@lexical/selection': 0.17.0
'@lexical/table': 0.17.0
'@lexical/utils': 0.17.0
- '@payloadcms/next': 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
- '@payloadcms/translations': 3.0.0-beta.102
- '@payloadcms/ui': 3.0.0-beta.102(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
+ '@payloadcms/next': 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
+ '@payloadcms/translations': 3.0.0-beta.106
+ '@payloadcms/ui': 3.0.0-beta.106(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)
'@types/uuid': 10.0.0
bson-objectid: 2.0.4
dequal: 2.0.3
escape-html: 1.0.3
lexical: 0.17.0
- payload: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ payload: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
react: 19.0.0-rc-06d0b89e-20240801
react-dom: 19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801)
react-error-boundary: 4.0.13(react@19.0.0-rc-06d0b89e-20240801)
@@ -4177,11 +4204,11 @@ snapshots:
- supports-color
- typescript
- '@payloadcms/translations@3.0.0-beta.102':
+ '@payloadcms/translations@3.0.0-beta.106':
dependencies:
date-fns: 3.3.1
- '@payloadcms/ui@3.0.0-beta.102(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)':
+ '@payloadcms/ui@3.0.0-beta.106(monaco-editor@0.51.0)(next@15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4))(payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2))(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)(typescript@5.5.2)':
dependencies:
'@dnd-kit/core': 6.0.8(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
'@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.0.8(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
@@ -4189,7 +4216,7 @@ snapshots:
'@faceless-ui/scroll-info': 2.0.0-beta.0(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
'@faceless-ui/window-info': 3.0.0-beta.0(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
'@monaco-editor/react': 4.6.0(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
- '@payloadcms/translations': 3.0.0-beta.102
+ '@payloadcms/translations': 3.0.0-beta.106
body-scroll-lock: 4.0.0-beta.0
bson-objectid: 2.0.4
date-fns: 3.3.1
@@ -4197,7 +4224,7 @@ snapshots:
md5: 2.3.0
next: 15.0.0-canary.104(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(sass@1.77.4)
object-to-formdata: 4.5.1
- payload: 3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
+ payload: 3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2)
qs-esm: 7.0.2
react: 19.0.0-rc-06d0b89e-20240801
react-animate-height: 2.1.2(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
@@ -4207,7 +4234,7 @@ snapshots:
react-select: 5.8.0(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(types-react@19.0.0-beta.2)
scheduler: 0.25.0-rc-f994737d14-20240522
sonner: 1.5.0(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
- ts-essentials: 7.0.3(typescript@5.5.2)
+ ts-essentials: 10.0.2(typescript@5.5.2)
use-context-selector: 2.0.0(react@19.0.0-rc-06d0b89e-20240801)(scheduler@0.25.0-rc-f994737d14-20240522)
uuid: 10.0.0
transitivePeerDependencies:
@@ -4674,12 +4701,12 @@ snapshots:
json-schema-traverse: 0.4.1
uri-js: 4.4.1
- ajv@8.14.0:
+ ajv@8.17.1:
dependencies:
fast-deep-equal: 3.1.3
+ fast-uri: 3.0.1
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
- uri-js: 4.4.1
ansi-regex@5.0.1: {}
@@ -5201,8 +5228,8 @@ snapshots:
'@typescript-eslint/parser': 8.4.0(eslint@8.57.0)(typescript@5.5.2)
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0)
- eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0)
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0)
+ eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)
eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.0)
eslint-plugin-react: 7.35.2(eslint@8.57.0)
eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0)
@@ -5221,37 +5248,37 @@ snapshots:
transitivePeerDependencies:
- supports-color
- eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0):
+ eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0):
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.3.7
enhanced-resolve: 5.17.1
eslint: 8.57.0
- eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0)
+ eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)
fast-glob: 3.3.2
get-tsconfig: 4.8.0
is-bun-module: 1.2.1
is-glob: 4.0.3
optionalDependencies:
- eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0)
+ eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)
transitivePeerDependencies:
- '@typescript-eslint/parser'
- eslint-import-resolver-node
- eslint-import-resolver-webpack
- supports-color
- eslint-module-utils@2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0):
+ eslint-module-utils@2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0):
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 8.4.0(eslint@8.57.0)(typescript@5.5.2)
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0)
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0)
transitivePeerDependencies:
- supports-color
- eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0):
+ eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0):
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.8
@@ -5262,7 +5289,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0)
+ eslint-module-utils: 2.11.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.4.0(eslint@8.57.0)(typescript@5.5.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -5425,6 +5452,8 @@ snapshots:
fast-safe-stringify@2.1.1: {}
+ fast-uri@3.0.1: {}
+
fast-xml-parser@4.4.1:
dependencies:
strnum: 1.0.5
@@ -5812,10 +5841,16 @@ snapshots:
dependencies:
minimist: 1.2.8
- jsonwebtoken@9.0.1:
+ jsonwebtoken@9.0.2:
dependencies:
jws: 3.2.2
- lodash: 4.17.21
+ lodash.includes: 4.3.0
+ lodash.isboolean: 3.0.3
+ lodash.isinteger: 4.0.4
+ lodash.isnumber: 3.0.3
+ lodash.isplainobject: 4.0.6
+ lodash.isstring: 4.0.1
+ lodash.once: 4.1.1
ms: 2.1.3
semver: 7.6.3
@@ -5872,8 +5907,22 @@ snapshots:
dependencies:
p-locate: 6.0.0
+ lodash.includes@4.3.0: {}
+
+ lodash.isboolean@3.0.3: {}
+
+ lodash.isinteger@4.0.4: {}
+
+ lodash.isnumber@3.0.3: {}
+
+ lodash.isplainobject@4.0.6: {}
+
+ lodash.isstring@4.0.1: {}
+
lodash.merge@4.6.2: {}
+ lodash.once@4.1.1: {}
+
lodash@4.17.21: {}
loose-envify@1.4.0:
@@ -6099,13 +6148,13 @@ snapshots:
path-type@4.0.0: {}
- payload@3.0.0-beta.102(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2):
+ payload@3.0.0-beta.106(graphql@16.9.0)(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)(typescript@5.5.2):
dependencies:
'@monaco-editor/react': 4.6.0(monaco-editor@0.51.0)(react-dom@19.0.0-rc-06d0b89e-20240801(react@19.0.0-rc-06d0b89e-20240801))(react@19.0.0-rc-06d0b89e-20240801)
'@next/env': 15.0.0-rc.0
- '@payloadcms/translations': 3.0.0-beta.102
+ '@payloadcms/translations': 3.0.0-beta.106
'@types/busboy': 1.5.4
- ajv: 8.14.0
+ ajv: 8.17.1
bson-objectid: 2.0.4
ci-info: 4.0.0
console-table-printer: 2.11.2
@@ -6118,15 +6167,15 @@ snapshots:
http-status: 1.6.2
image-size: 1.1.1
json-schema-to-typescript: 15.0.1
- jsonwebtoken: 9.0.1
+ jsonwebtoken: 9.0.2
minimist: 1.2.8
pino: 9.3.1
pino-pretty: 11.2.1
pluralize: 8.0.0
sanitize-filename: 1.6.3
scmp: 2.1.0
- ts-essentials: 7.0.3(typescript@5.5.2)
- tsx: 4.17.0
+ ts-essentials: 10.0.2(typescript@5.5.2)
+ tsx: 4.19.1
uuid: 10.0.0
transitivePeerDependencies:
- monaco-editor
@@ -6655,8 +6704,8 @@ snapshots:
dependencies:
typescript: 5.5.2
- ts-essentials@7.0.3(typescript@5.5.2):
- dependencies:
+ ts-essentials@10.0.2(typescript@5.5.2):
+ optionalDependencies:
typescript: 5.5.2
tsconfig-paths@3.15.0:
@@ -6668,14 +6717,14 @@ snapshots:
tslib@2.7.0: {}
- tsx@4.17.0:
+ tsx@4.19.0:
dependencies:
esbuild: 0.23.1
get-tsconfig: 4.8.0
optionalDependencies:
fsevents: 2.3.3
- tsx@4.19.0:
+ tsx@4.19.1:
dependencies:
esbuild: 0.23.1
get-tsconfig: 4.8.0
diff --git a/examples/custom-components/src/app/(payload)/admin/importMap.js b/examples/custom-components/src/app/(payload)/admin/importMap.js
index f8ca17e969..714f16c62a 100644
--- a/examples/custom-components/src/app/(payload)/admin/importMap.js
+++ b/examples/custom-components/src/app/(payload)/admin/importMap.js
@@ -55,108 +55,59 @@ import { CustomDefaultRootView as CustomDefaultRootView_53 } from '@/components/
import { CustomMinimalRootView as CustomMinimalRootView_54 } from '@/components/views/CustomMinimalRootView'
export const importMap = {
- '@/collections/Fields/array/components/server/Label#CustomArrayFieldLabelServer':
- CustomArrayFieldLabelServer_0,
- '@/collections/Fields/array/components/server/Field#CustomArrayFieldServer':
- CustomArrayFieldServer_1,
- '@/collections/Fields/array/components/client/Label#CustomArrayFieldLabelClient':
- CustomArrayFieldLabelClient_2,
- '@/collections/Fields/array/components/client/Field#CustomArrayFieldClient':
- CustomArrayFieldClient_3,
- '@/collections/Fields/blocks/components/server/Field#CustomBlocksFieldServer':
- CustomBlocksFieldServer_4,
- '@/collections/Fields/blocks/components/client/Field#CustomBlocksFieldClient':
- CustomBlocksFieldClient_5,
- '@/collections/Fields/checkbox/components/server/Label#CustomCheckboxFieldLabelServer':
- CustomCheckboxFieldLabelServer_6,
- '@/collections/Fields/checkbox/components/server/Field#CustomCheckboxFieldServer':
- CustomCheckboxFieldServer_7,
- '@/collections/Fields/checkbox/components/client/Label#CustomCheckboxFieldLabelClient':
- CustomCheckboxFieldLabelClient_8,
- '@/collections/Fields/checkbox/components/client/Field#CustomCheckboxFieldClient':
- CustomCheckboxFieldClient_9,
- '@/collections/Fields/date/components/server/Label#CustomDateFieldLabelServer':
- CustomDateFieldLabelServer_10,
- '@/collections/Fields/date/components/server/Field#CustomDateFieldServer':
- CustomDateFieldServer_11,
- '@/collections/Fields/date/components/client/Label#CustomDateFieldLabelClient':
- CustomDateFieldLabelClient_12,
- '@/collections/Fields/date/components/client/Field#CustomDateFieldClient':
- CustomDateFieldClient_13,
- '@/collections/Fields/email/components/server/Label#CustomEmailFieldLabelServer':
- CustomEmailFieldLabelServer_14,
- '@/collections/Fields/email/components/server/Field#CustomEmailFieldServer':
- CustomEmailFieldServer_15,
- '@/collections/Fields/email/components/client/Label#CustomEmailFieldLabelClient':
- CustomEmailFieldLabelClient_16,
- '@/collections/Fields/email/components/client/Field#CustomEmailFieldClient':
- CustomEmailFieldClient_17,
- '@/collections/Fields/number/components/server/Label#CustomNumberFieldLabelServer':
- CustomNumberFieldLabelServer_18,
- '@/collections/Fields/number/components/server/Field#CustomNumberFieldServer':
- CustomNumberFieldServer_19,
- '@/collections/Fields/number/components/client/Label#CustomNumberFieldLabelClient':
- CustomNumberFieldLabelClient_20,
- '@/collections/Fields/number/components/client/Field#CustomNumberFieldClient':
- CustomNumberFieldClient_21,
- '@/collections/Fields/point/components/server/Label#CustomPointFieldLabelServer':
- CustomPointFieldLabelServer_22,
- '@/collections/Fields/point/components/server/Field#CustomPointFieldServer':
- CustomPointFieldServer_23,
- '@/collections/Fields/point/components/client/Label#CustomPointFieldLabelClient':
- CustomPointFieldLabelClient_24,
- '@/collections/Fields/point/components/client/Field#CustomPointFieldClient':
- CustomPointFieldClient_25,
- '@/collections/Fields/radio/components/server/Label#CustomRadioFieldLabelServer':
- CustomRadioFieldLabelServer_26,
- '@/collections/Fields/radio/components/server/Field#CustomRadioFieldServer':
- CustomRadioFieldServer_27,
- '@/collections/Fields/radio/components/client/Label#CustomRadioFieldLabelClient':
- CustomRadioFieldLabelClient_28,
- '@/collections/Fields/radio/components/client/Field#CustomRadioFieldClient':
- CustomRadioFieldClient_29,
- '@/collections/Fields/relationship/components/server/Label#CustomRelationshipFieldLabelServer':
- CustomRelationshipFieldLabelServer_30,
- '@/collections/Fields/relationship/components/server/Field#CustomRelationshipFieldServer':
- CustomRelationshipFieldServer_31,
- '@/collections/Fields/relationship/components/client/Label#CustomRelationshipFieldLabelClient':
- CustomRelationshipFieldLabelClient_32,
- '@/collections/Fields/relationship/components/client/Field#CustomRelationshipFieldClient':
- CustomRelationshipFieldClient_33,
- '@/collections/Fields/select/components/server/Label#CustomSelectFieldLabelServer':
- CustomSelectFieldLabelServer_34,
- '@/collections/Fields/select/components/server/Field#CustomSelectFieldServer':
- CustomSelectFieldServer_35,
- '@/collections/Fields/select/components/client/Label#CustomSelectFieldLabelClient':
- CustomSelectFieldLabelClient_36,
- '@/collections/Fields/select/components/client/Field#CustomSelectFieldClient':
- CustomSelectFieldClient_37,
- '@/collections/Fields/text/components/server/Label#CustomTextFieldLabelServer':
- CustomTextFieldLabelServer_38,
- '@/collections/Fields/text/components/server/Field#CustomTextFieldServer':
- CustomTextFieldServer_39,
- '@/collections/Fields/text/components/client/Label#CustomTextFieldLabelClient':
- CustomTextFieldLabelClient_40,
- '@/collections/Fields/text/components/client/Field#CustomTextFieldClient':
- CustomTextFieldClient_41,
- '@/collections/Fields/textarea/components/server/Label#CustomTextareaFieldLabelServer':
- CustomTextareaFieldLabelServer_42,
- '@/collections/Fields/textarea/components/server/Field#CustomTextareaFieldServer':
- CustomTextareaFieldServer_43,
- '@/collections/Fields/textarea/components/client/Label#CustomTextareaFieldLabelClient':
- CustomTextareaFieldLabelClient_44,
- '@/collections/Fields/textarea/components/client/Field#CustomTextareaFieldClient':
- CustomTextareaFieldClient_45,
- '@/collections/Views/components/CustomTabEditView#CustomTabEditView': CustomTabEditView_46,
- '@/collections/Views/components/CustomDefaultEditView#CustomDefaultEditView':
- CustomDefaultEditView_47,
- '@/collections/RootViews/components/CustomRootEditView#CustomRootEditView': CustomRootEditView_48,
- '@/components/afterNavLinks/LinkToCustomView#LinkToCustomView': LinkToCustomView_49,
- '@/components/afterNavLinks/LinkToCustomMinimalView#LinkToCustomMinimalView':
- LinkToCustomMinimalView_50,
- '@/components/afterNavLinks/LinkToCustomDefaultView#LinkToCustomDefaultView':
- LinkToCustomDefaultView_51,
- '@/components/views/CustomRootView#CustomRootView': CustomRootView_52,
- '@/components/views/CustomDefaultRootView#CustomDefaultRootView': CustomDefaultRootView_53,
- '@/components/views/CustomMinimalRootView#CustomMinimalRootView': CustomMinimalRootView_54,
+ "@/collections/Fields/array/components/server/Label#CustomArrayFieldLabelServer": CustomArrayFieldLabelServer_0,
+ "@/collections/Fields/array/components/server/Field#CustomArrayFieldServer": CustomArrayFieldServer_1,
+ "@/collections/Fields/array/components/client/Label#CustomArrayFieldLabelClient": CustomArrayFieldLabelClient_2,
+ "@/collections/Fields/array/components/client/Field#CustomArrayFieldClient": CustomArrayFieldClient_3,
+ "@/collections/Fields/blocks/components/server/Field#CustomBlocksFieldServer": CustomBlocksFieldServer_4,
+ "@/collections/Fields/blocks/components/client/Field#CustomBlocksFieldClient": CustomBlocksFieldClient_5,
+ "@/collections/Fields/checkbox/components/server/Label#CustomCheckboxFieldLabelServer": CustomCheckboxFieldLabelServer_6,
+ "@/collections/Fields/checkbox/components/server/Field#CustomCheckboxFieldServer": CustomCheckboxFieldServer_7,
+ "@/collections/Fields/checkbox/components/client/Label#CustomCheckboxFieldLabelClient": CustomCheckboxFieldLabelClient_8,
+ "@/collections/Fields/checkbox/components/client/Field#CustomCheckboxFieldClient": CustomCheckboxFieldClient_9,
+ "@/collections/Fields/date/components/server/Label#CustomDateFieldLabelServer": CustomDateFieldLabelServer_10,
+ "@/collections/Fields/date/components/server/Field#CustomDateFieldServer": CustomDateFieldServer_11,
+ "@/collections/Fields/date/components/client/Label#CustomDateFieldLabelClient": CustomDateFieldLabelClient_12,
+ "@/collections/Fields/date/components/client/Field#CustomDateFieldClient": CustomDateFieldClient_13,
+ "@/collections/Fields/email/components/server/Label#CustomEmailFieldLabelServer": CustomEmailFieldLabelServer_14,
+ "@/collections/Fields/email/components/server/Field#CustomEmailFieldServer": CustomEmailFieldServer_15,
+ "@/collections/Fields/email/components/client/Label#CustomEmailFieldLabelClient": CustomEmailFieldLabelClient_16,
+ "@/collections/Fields/email/components/client/Field#CustomEmailFieldClient": CustomEmailFieldClient_17,
+ "@/collections/Fields/number/components/server/Label#CustomNumberFieldLabelServer": CustomNumberFieldLabelServer_18,
+ "@/collections/Fields/number/components/server/Field#CustomNumberFieldServer": CustomNumberFieldServer_19,
+ "@/collections/Fields/number/components/client/Label#CustomNumberFieldLabelClient": CustomNumberFieldLabelClient_20,
+ "@/collections/Fields/number/components/client/Field#CustomNumberFieldClient": CustomNumberFieldClient_21,
+ "@/collections/Fields/point/components/server/Label#CustomPointFieldLabelServer": CustomPointFieldLabelServer_22,
+ "@/collections/Fields/point/components/server/Field#CustomPointFieldServer": CustomPointFieldServer_23,
+ "@/collections/Fields/point/components/client/Label#CustomPointFieldLabelClient": CustomPointFieldLabelClient_24,
+ "@/collections/Fields/point/components/client/Field#CustomPointFieldClient": CustomPointFieldClient_25,
+ "@/collections/Fields/radio/components/server/Label#CustomRadioFieldLabelServer": CustomRadioFieldLabelServer_26,
+ "@/collections/Fields/radio/components/server/Field#CustomRadioFieldServer": CustomRadioFieldServer_27,
+ "@/collections/Fields/radio/components/client/Label#CustomRadioFieldLabelClient": CustomRadioFieldLabelClient_28,
+ "@/collections/Fields/radio/components/client/Field#CustomRadioFieldClient": CustomRadioFieldClient_29,
+ "@/collections/Fields/relationship/components/server/Label#CustomRelationshipFieldLabelServer": CustomRelationshipFieldLabelServer_30,
+ "@/collections/Fields/relationship/components/server/Field#CustomRelationshipFieldServer": CustomRelationshipFieldServer_31,
+ "@/collections/Fields/relationship/components/client/Label#CustomRelationshipFieldLabelClient": CustomRelationshipFieldLabelClient_32,
+ "@/collections/Fields/relationship/components/client/Field#CustomRelationshipFieldClient": CustomRelationshipFieldClient_33,
+ "@/collections/Fields/select/components/server/Label#CustomSelectFieldLabelServer": CustomSelectFieldLabelServer_34,
+ "@/collections/Fields/select/components/server/Field#CustomSelectFieldServer": CustomSelectFieldServer_35,
+ "@/collections/Fields/select/components/client/Label#CustomSelectFieldLabelClient": CustomSelectFieldLabelClient_36,
+ "@/collections/Fields/select/components/client/Field#CustomSelectFieldClient": CustomSelectFieldClient_37,
+ "@/collections/Fields/text/components/server/Label#CustomTextFieldLabelServer": CustomTextFieldLabelServer_38,
+ "@/collections/Fields/text/components/server/Field#CustomTextFieldServer": CustomTextFieldServer_39,
+ "@/collections/Fields/text/components/client/Label#CustomTextFieldLabelClient": CustomTextFieldLabelClient_40,
+ "@/collections/Fields/text/components/client/Field#CustomTextFieldClient": CustomTextFieldClient_41,
+ "@/collections/Fields/textarea/components/server/Label#CustomTextareaFieldLabelServer": CustomTextareaFieldLabelServer_42,
+ "@/collections/Fields/textarea/components/server/Field#CustomTextareaFieldServer": CustomTextareaFieldServer_43,
+ "@/collections/Fields/textarea/components/client/Label#CustomTextareaFieldLabelClient": CustomTextareaFieldLabelClient_44,
+ "@/collections/Fields/textarea/components/client/Field#CustomTextareaFieldClient": CustomTextareaFieldClient_45,
+ "@/collections/Views/components/CustomTabEditView#CustomTabEditView": CustomTabEditView_46,
+ "@/collections/Views/components/CustomDefaultEditView#CustomDefaultEditView": CustomDefaultEditView_47,
+ "@/collections/RootViews/components/CustomRootEditView#CustomRootEditView": CustomRootEditView_48,
+ "@/components/afterNavLinks/LinkToCustomView#LinkToCustomView": LinkToCustomView_49,
+ "@/components/afterNavLinks/LinkToCustomMinimalView#LinkToCustomMinimalView": LinkToCustomMinimalView_50,
+ "@/components/afterNavLinks/LinkToCustomDefaultView#LinkToCustomDefaultView": LinkToCustomDefaultView_51,
+ "@/components/views/CustomRootView#CustomRootView": CustomRootView_52,
+ "@/components/views/CustomDefaultRootView#CustomDefaultRootView": CustomDefaultRootView_53,
+ "@/components/views/CustomMinimalRootView#CustomMinimalRootView": CustomMinimalRootView_54
}
diff --git a/examples/custom-components/src/collections/Fields/Text/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/Text/components/server/Field.tsx
deleted file mode 100644
index 29367a4b3f..0000000000
--- a/examples/custom-components/src/collections/Fields/Text/components/server/Field.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { TextFieldServerComponent } from 'payload'
-
-// import { TextField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
-import type React from 'react'
-
-export const CustomTextFieldServer: TextFieldServerComponent = (props) => {
- const { field } = props
-
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the text field.'
-}
diff --git a/examples/custom-components/src/collections/Fields/Textarea/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/Textarea/components/server/Field.tsx
deleted file mode 100644
index bb81bae842..0000000000
--- a/examples/custom-components/src/collections/Fields/Textarea/components/server/Field.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { TextareaFieldServerComponent } from 'payload'
-
-// import { TextareaField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
-import type React from 'react'
-
-export const CustomTextareaFieldServer: TextareaFieldServerComponent = (props) => {
- const { field } = props
-
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the textarea field.'
-}
diff --git a/examples/custom-components/src/collections/Fields/array/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/array/components/client/Field.tsx
index aba470a693..d843b73752 100644
--- a/examples/custom-components/src/collections/Fields/array/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/array/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { ArrayFieldClientComponent } from 'payload'
import { ArrayField } from '@payloadcms/ui'
import React from 'react'
-export const CustomArrayFieldClient: ArrayFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomArrayFieldClient: ArrayFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/array/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/array/components/client/Label.tsx
index 349a2f794d..b811c4b856 100644
--- a/examples/custom-components/src/collections/Fields/array/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/array/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { ArrayFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomArrayFieldLabelClient: ArrayFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomArrayFieldLabelClient: ArrayFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/array/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/array/components/server/Field.tsx
index 7d212bd906..515c41779f 100644
--- a/examples/custom-components/src/collections/Fields/array/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/array/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { ArrayFieldServerComponent } from 'payload'
-
-// import { ArrayField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomArrayFieldServer: ArrayFieldServerComponent = (props) => {
- const { field } = props
+import { ArrayField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the array field.'
+export const CustomArrayFieldServer: ArrayFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/array/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/array/components/server/Label.tsx
index 9e88ba5e54..56d6942dab 100644
--- a/examples/custom-components/src/collections/Fields/array/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/array/components/server/Label.tsx
@@ -3,10 +3,6 @@ import type { ArrayFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomArrayFieldLabelServer: ArrayFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the array field label.'
+export const CustomArrayFieldLabelServer: ArrayFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/blocks/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/blocks/components/client/Field.tsx
index ec953a6431..a94dbeeeb3 100644
--- a/examples/custom-components/src/collections/Fields/blocks/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/blocks/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { BlocksFieldClientComponent } from 'payload'
import { BlocksField } from '@payloadcms/ui'
import React from 'react'
-export const CustomBlocksFieldClient: BlocksFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomBlocksFieldClient: BlocksFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/blocks/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/blocks/components/client/Label.tsx
index bd743e0b75..3e42942cd4 100644
--- a/examples/custom-components/src/collections/Fields/blocks/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/blocks/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { BlocksFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomBlocksFieldLabelClient: BlocksFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomBlocksFieldLabelClient: BlocksFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/blocks/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/blocks/components/server/Field.tsx
index 0ce7b5c842..81fb40ec33 100644
--- a/examples/custom-components/src/collections/Fields/blocks/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/blocks/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { BlocksFieldServerComponent } from 'payload'
-
-// import { BlocksField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomBlocksFieldServer: BlocksFieldServerComponent = (props) => {
- const { field } = props
+import { BlocksField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the blocks field.'
+export const CustomBlocksFieldServer: BlocksFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/blocks/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/blocks/components/server/Label.tsx
index 4dcaeed5a7..7dbe81b35b 100644
--- a/examples/custom-components/src/collections/Fields/blocks/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/blocks/components/server/Label.tsx
@@ -1,12 +1,8 @@
-import type { BlockFieldLabelServerComponent } from 'payload'
+import type { BlocksFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomBlocksFieldLabelServer: BlockFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the blocks field label.'
+export const CustomBlocksFieldLabelServer: BlocksFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/checkbox/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/checkbox/components/client/Field.tsx
index 5a0f841f73..e8c902bd21 100644
--- a/examples/custom-components/src/collections/Fields/checkbox/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/checkbox/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { CheckboxFieldClientComponent } from 'payload'
import { CheckboxField } from '@payloadcms/ui'
import React from 'react'
-export const CustomCheckboxFieldClient: CheckboxFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomCheckboxFieldClient: CheckboxFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/checkbox/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/checkbox/components/client/Label.tsx
index 36c3205a1f..6d9c9eff43 100644
--- a/examples/custom-components/src/collections/Fields/checkbox/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/checkbox/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { CheckboxFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomCheckboxFieldLabelClient: CheckboxFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomCheckboxFieldLabelClient: CheckboxFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/checkbox/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/checkbox/components/server/Field.tsx
index facb9786b9..f962953f66 100644
--- a/examples/custom-components/src/collections/Fields/checkbox/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/checkbox/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { CheckboxFieldServerComponent } from 'payload'
-
-// import { CheckboxField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomCheckboxFieldServer: CheckboxFieldServerComponent = (props) => {
- const { field } = props
+import { CheckboxField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the checkbox field.'
+export const CustomCheckboxFieldServer: CheckboxFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/checkbox/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/checkbox/components/server/Label.tsx
index e2a6a8b568..16bf9774b4 100644
--- a/examples/custom-components/src/collections/Fields/checkbox/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/checkbox/components/server/Label.tsx
@@ -3,10 +3,9 @@ import type { CheckboxFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomCheckboxFieldLabelServer: CheckboxFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the checkbox field label.'
+export const CustomCheckboxFieldLabelServer: CheckboxFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/date/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/date/components/client/Field.tsx
index 8d3daacb31..288cc91b64 100644
--- a/examples/custom-components/src/collections/Fields/date/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/date/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { DateFieldClientComponent } from 'payload'
import { DateTimeField } from '@payloadcms/ui'
import React from 'react'
-export const CustomDateFieldClient: DateFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomDateFieldClient: DateFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/date/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/date/components/client/Label.tsx
index 6a1d4de7c6..7ea02c8001 100644
--- a/examples/custom-components/src/collections/Fields/date/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/date/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { DateFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomDateFieldLabelClient: DateFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomDateFieldLabelClient: DateFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/date/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/date/components/server/Field.tsx
index e86fad15ac..e0d6ba4894 100644
--- a/examples/custom-components/src/collections/Fields/date/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/date/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { DateFieldServerComponent } from 'payload'
-
-// import { DateTimeField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomDateFieldServer: DateFieldServerComponent = (props) => {
- const { field } = props
+import { DateTimeField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the date field.'
+export const CustomDateFieldServer: DateFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/date/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/date/components/server/Label.tsx
index f84e204004..38f369eb1d 100644
--- a/examples/custom-components/src/collections/Fields/date/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/date/components/server/Label.tsx
@@ -3,10 +3,6 @@ import type { DateFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomDateFieldLabelServer: DateFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the date field label.'
+export const CustomDateFieldLabelServer: DateFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/email/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/email/components/client/Field.tsx
index e133c86329..0ad4c92658 100644
--- a/examples/custom-components/src/collections/Fields/email/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/email/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { EmailFieldClientComponent } from 'payload'
import { EmailField } from '@payloadcms/ui'
import React from 'react'
-export const CustomEmailFieldClient: EmailFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomEmailFieldClient: EmailFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/email/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/email/components/client/Label.tsx
index beb3bfa74f..56993217aa 100644
--- a/examples/custom-components/src/collections/Fields/email/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/email/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { EmailFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomEmailFieldLabelClient: EmailFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomEmailFieldLabelClient: EmailFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/email/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/email/components/server/Field.tsx
index 3c7bd0eb2b..f8655e3c93 100644
--- a/examples/custom-components/src/collections/Fields/email/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/email/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { EmailFieldServerComponent } from 'payload'
-
-// import { EmailField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomEmailFieldServer: EmailFieldServerComponent = (props) => {
- const { field } = props
+import { EmailField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the email field.'
+export const CustomEmailFieldServer: EmailFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/email/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/email/components/server/Label.tsx
index f01d1ce0f9..f07896a168 100644
--- a/examples/custom-components/src/collections/Fields/email/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/email/components/server/Label.tsx
@@ -3,10 +3,6 @@ import type { EmailFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomEmailFieldLabelServer: EmailFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the email field label.'
+export const CustomEmailFieldLabelServer: EmailFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/number/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/number/components/client/Field.tsx
index 9ae6a3f386..9fbe270cb0 100644
--- a/examples/custom-components/src/collections/Fields/number/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/number/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { NumberFieldClientComponent } from 'payload'
import { NumberField } from '@payloadcms/ui'
import React from 'react'
-export const CustomNumberFieldClient: NumberFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomNumberFieldClient: NumberFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/number/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/number/components/client/Label.tsx
index 6cf82c8390..e6a8517e47 100644
--- a/examples/custom-components/src/collections/Fields/number/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/number/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { NumberFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomNumberFieldLabelClient: NumberFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomNumberFieldLabelClient: NumberFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/number/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/number/components/server/Field.tsx
index 34d749b38a..0cb7e72907 100644
--- a/examples/custom-components/src/collections/Fields/number/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/number/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { NumberFieldServerComponent } from 'payload'
-
-// import { NumberField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomNumberFieldServer: NumberFieldServerComponent = (props) => {
- const { field } = props
+import { NumberField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the number field.'
+export const CustomNumberFieldServer: NumberFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/number/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/number/components/server/Label.tsx
index e2a66da96b..73c959bd54 100644
--- a/examples/custom-components/src/collections/Fields/number/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/number/components/server/Label.tsx
@@ -3,10 +3,6 @@ import type { NumberFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomNumberFieldLabelServer: NumberFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the number field label.'
+export const CustomNumberFieldLabelServer: NumberFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/point/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/point/components/client/Field.tsx
index d920845f8a..5ec17dd706 100644
--- a/examples/custom-components/src/collections/Fields/point/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/point/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { PointFieldClientComponent } from 'payload'
import { PointField } from '@payloadcms/ui'
import React from 'react'
-export const CustomPointFieldClient: PointFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomPointFieldClient: PointFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/point/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/point/components/client/Label.tsx
index a8581effdb..74dde59b39 100644
--- a/examples/custom-components/src/collections/Fields/point/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/point/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { PointFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomPointFieldLabelClient: PointFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
- return
+export const CustomPointFieldLabelClient: PointFieldLabelClientComponent = ({ field }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/point/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/point/components/server/Field.tsx
index 390a4a5a79..d84ef86b95 100644
--- a/examples/custom-components/src/collections/Fields/point/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/point/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { PointFieldServerComponent } from 'payload'
-
-// import { PointField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomPointFieldServer: PointFieldServerComponent = (props) => {
- const { field } = props
+import { PointField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the point field.'
+export const CustomPointFieldServer: PointFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/point/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/point/components/server/Label.tsx
index ccde761907..343bce32d8 100644
--- a/examples/custom-components/src/collections/Fields/point/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/point/components/server/Label.tsx
@@ -3,10 +3,6 @@ import type { PointFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomPointFieldLabelServer: PointFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the point field label.'
+export const CustomPointFieldLabelServer: PointFieldLabelServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/radio/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/radio/components/client/Field.tsx
index e95e67d082..816aca734a 100644
--- a/examples/custom-components/src/collections/Fields/radio/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/radio/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { RadioFieldClientComponent } from 'payload'
import { RadioGroupField } from '@payloadcms/ui'
import React from 'react'
-export const CustomRadioFieldClient: RadioFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomRadioFieldClient: RadioFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/radio/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/radio/components/client/Label.tsx
index 862569aa90..55be913a43 100644
--- a/examples/custom-components/src/collections/Fields/radio/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/radio/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { RadioFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomRadioFieldLabelClient: RadioFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
+export const CustomRadioFieldLabelClient: RadioFieldLabelClientComponent = ({ field, label }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/radio/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/radio/components/server/Field.tsx
index d9e6036ac7..92c037b0cb 100644
--- a/examples/custom-components/src/collections/Fields/radio/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/radio/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { RadioFieldServerComponent } from 'payload'
-
-// import { RadioGroupField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomRadioFieldServer: RadioFieldServerComponent = (props) => {
- const { field } = props
+import { RadioGroupField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the radio field.'
+export const CustomRadioFieldServer: RadioFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/radio/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/radio/components/server/Label.tsx
index e722cbbff6..118ac266a7 100644
--- a/examples/custom-components/src/collections/Fields/radio/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/radio/components/server/Label.tsx
@@ -3,10 +3,9 @@ import type { RadioFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomRadioFieldLabelServer: RadioFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the radio field label.'
+export const CustomRadioFieldLabelServer: RadioFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/relationship/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/relationship/components/client/Field.tsx
index d218e7cf4f..63b0e6558e 100644
--- a/examples/custom-components/src/collections/Fields/relationship/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/relationship/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { RelationshipFieldClientComponent } from 'payload'
import { RelationshipField } from '@payloadcms/ui'
import React from 'react'
-export const CustomRelationshipFieldClient: RelationshipFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomRelationshipFieldClient: RelationshipFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/relationship/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/relationship/components/client/Label.tsx
index 6ed50b70ea..b53c22a13b 100644
--- a/examples/custom-components/src/collections/Fields/relationship/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/relationship/components/client/Label.tsx
@@ -4,10 +4,9 @@ import type { RelationshipFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomRelationshipFieldLabelClient: RelationshipFieldLabelClientComponent = (
- props,
-) => {
- const { field, label } = props
-
+export const CustomRelationshipFieldLabelClient: RelationshipFieldLabelClientComponent = ({
+ field,
+ label,
+}) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/relationship/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/relationship/components/server/Field.tsx
index 6017c890fd..ff74a9dd8f 100644
--- a/examples/custom-components/src/collections/Fields/relationship/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/relationship/components/server/Field.tsx
@@ -1,15 +1,10 @@
import type { RelationshipFieldServerComponent } from 'payload'
-
-// import { RelationshipField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomRelationshipFieldServer: RelationshipFieldServerComponent = (props) => {
- const { field } = props
+import { RelationshipField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the relationship field.'
+export const CustomRelationshipFieldServer: RelationshipFieldServerComponent = ({
+ clientField,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/relationship/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/relationship/components/server/Label.tsx
index 41e37bc53d..e8657fff74 100644
--- a/examples/custom-components/src/collections/Fields/relationship/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/relationship/components/server/Label.tsx
@@ -3,12 +3,9 @@ import type { RelationshipFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomRelationshipFieldLabelServer: RelationshipFieldLabelServerComponent = (
- props,
-) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the relationship field label.'
+export const CustomRelationshipFieldLabelServer: RelationshipFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/select/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/select/components/client/Field.tsx
index e29b199cf5..34a196c066 100644
--- a/examples/custom-components/src/collections/Fields/select/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/select/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { SelectFieldClientComponent } from 'payload'
import { SelectField } from '@payloadcms/ui'
import React from 'react'
-export const CustomSelectFieldClient: SelectFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomSelectFieldClient: SelectFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/select/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/select/components/client/Label.tsx
index 6bae254a2b..e3434c513e 100644
--- a/examples/custom-components/src/collections/Fields/select/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/select/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { SelectFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomSelectFieldLabelClient: SelectFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
+export const CustomSelectFieldLabelClient: SelectFieldLabelClientComponent = ({ field, label }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/select/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/select/components/server/Field.tsx
index c15050456c..9b830af3cb 100644
--- a/examples/custom-components/src/collections/Fields/select/components/server/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/select/components/server/Field.tsx
@@ -1,15 +1,8 @@
import type { SelectFieldServerComponent } from 'payload'
-
-// import { SelectField } from '@payloadcms/ui'
-// import { createClientField } from '@payloadcms/ui/shared'
import type React from 'react'
-export const CustomSelectFieldServer: SelectFieldServerComponent = (props) => {
- const { field } = props
+import { SelectField } from '@payloadcms/ui'
- // const clientField = createClientField(field)
-
- // return
-
- return 'This is a server component for the select field.'
+export const CustomSelectFieldServer: SelectFieldServerComponent = ({ clientField }) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/select/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/select/components/server/Label.tsx
index abbac6a092..3518743640 100644
--- a/examples/custom-components/src/collections/Fields/select/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/select/components/server/Label.tsx
@@ -3,10 +3,9 @@ import type { SelectFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomSelectFieldLabelServer: SelectFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the select field label.'
+export const CustomSelectFieldLabelServer: SelectFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/Text/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/text/components/client/Field.tsx
similarity index 86%
rename from examples/custom-components/src/collections/Fields/Text/components/client/Field.tsx
rename to examples/custom-components/src/collections/Fields/text/components/client/Field.tsx
index bc18006455..c78c8e1480 100644
--- a/examples/custom-components/src/collections/Fields/Text/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/text/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { TextFieldClientComponent } from 'payload'
import { TextField } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextFieldClient: TextFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomTextFieldClient: TextFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/Text/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/text/components/client/Label.tsx
similarity index 82%
rename from examples/custom-components/src/collections/Fields/Text/components/client/Label.tsx
rename to examples/custom-components/src/collections/Fields/text/components/client/Label.tsx
index e40b4ff5d9..bc500b6f9e 100644
--- a/examples/custom-components/src/collections/Fields/Text/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/text/components/client/Label.tsx
@@ -4,8 +4,6 @@ import type { TextFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextFieldLabelClient: TextFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
+export const CustomTextFieldLabelClient: TextFieldLabelClientComponent = ({ field, label }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/text/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/text/components/server/Field.tsx
new file mode 100644
index 0000000000..0f9ac58152
--- /dev/null
+++ b/examples/custom-components/src/collections/Fields/text/components/server/Field.tsx
@@ -0,0 +1,8 @@
+import type { TextFieldServerComponent } from 'payload'
+import type React from 'react'
+
+import { TextField } from '@payloadcms/ui'
+
+export const CustomTextFieldServer: TextFieldServerComponent = ({ clientField }) => {
+ return
+}
diff --git a/examples/custom-components/src/collections/Fields/Text/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/text/components/server/Label.tsx
similarity index 56%
rename from examples/custom-components/src/collections/Fields/Text/components/server/Label.tsx
rename to examples/custom-components/src/collections/Fields/text/components/server/Label.tsx
index 66e07f0ada..5bf2f7b7d9 100644
--- a/examples/custom-components/src/collections/Fields/Text/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/text/components/server/Label.tsx
@@ -3,10 +3,9 @@ import type { TextFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextFieldLabelServer: TextFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the text field label.'
+export const CustomTextFieldLabelServer: TextFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/Text/index.ts b/examples/custom-components/src/collections/Fields/text/index.ts
similarity index 100%
rename from examples/custom-components/src/collections/Fields/Text/index.ts
rename to examples/custom-components/src/collections/Fields/text/index.ts
diff --git a/examples/custom-components/src/collections/Fields/Textarea/components/client/Field.tsx b/examples/custom-components/src/collections/Fields/textarea/components/client/Field.tsx
similarity index 84%
rename from examples/custom-components/src/collections/Fields/Textarea/components/client/Field.tsx
rename to examples/custom-components/src/collections/Fields/textarea/components/client/Field.tsx
index a37f13b0f7..b7630f198b 100644
--- a/examples/custom-components/src/collections/Fields/Textarea/components/client/Field.tsx
+++ b/examples/custom-components/src/collections/Fields/textarea/components/client/Field.tsx
@@ -4,8 +4,6 @@ import type { TextareaFieldClientComponent } from 'payload'
import { TextareaField } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextareaFieldClient: TextareaFieldClientComponent = (props) => {
- const { field } = props
-
+export const CustomTextareaFieldClient: TextareaFieldClientComponent = ({ field }) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/Textarea/components/client/Label.tsx b/examples/custom-components/src/collections/Fields/textarea/components/client/Label.tsx
similarity index 80%
rename from examples/custom-components/src/collections/Fields/Textarea/components/client/Label.tsx
rename to examples/custom-components/src/collections/Fields/textarea/components/client/Label.tsx
index ea8c435263..d9aa978a79 100644
--- a/examples/custom-components/src/collections/Fields/Textarea/components/client/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/textarea/components/client/Label.tsx
@@ -4,8 +4,9 @@ import type { TextareaFieldLabelClientComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextareaFieldLabelClient: TextareaFieldLabelClientComponent = (props) => {
- const { field, label } = props
-
+export const CustomTextareaFieldLabelClient: TextareaFieldLabelClientComponent = ({
+ field,
+ label,
+}) => {
return
}
diff --git a/examples/custom-components/src/collections/Fields/textarea/components/server/Field.tsx b/examples/custom-components/src/collections/Fields/textarea/components/server/Field.tsx
new file mode 100644
index 0000000000..0bb0d562e9
--- /dev/null
+++ b/examples/custom-components/src/collections/Fields/textarea/components/server/Field.tsx
@@ -0,0 +1,8 @@
+import type { TextareaFieldServerComponent } from 'payload'
+import type React from 'react'
+
+import { TextareaField } from '@payloadcms/ui'
+
+export const CustomTextareaFieldServer: TextareaFieldServerComponent = ({ clientField }) => {
+ return
+}
diff --git a/examples/custom-components/src/collections/Fields/Textarea/components/server/Label.tsx b/examples/custom-components/src/collections/Fields/textarea/components/server/Label.tsx
similarity index 54%
rename from examples/custom-components/src/collections/Fields/Textarea/components/server/Label.tsx
rename to examples/custom-components/src/collections/Fields/textarea/components/server/Label.tsx
index fe35f8ad24..03cfb07805 100644
--- a/examples/custom-components/src/collections/Fields/Textarea/components/server/Label.tsx
+++ b/examples/custom-components/src/collections/Fields/textarea/components/server/Label.tsx
@@ -3,10 +3,9 @@ import type { TextareaFieldLabelServerComponent } from 'payload'
import { FieldLabel } from '@payloadcms/ui'
import React from 'react'
-export const CustomTextareaFieldLabelServer: TextareaFieldLabelServerComponent = (props) => {
- const { field } = props
-
- // return
-
- return 'This is a server component for the textarea field label.'
+export const CustomTextareaFieldLabelServer: TextareaFieldLabelServerComponent = ({
+ clientField,
+ label,
+}) => {
+ return
}
diff --git a/examples/custom-components/src/collections/Fields/Textarea/index.ts b/examples/custom-components/src/collections/Fields/textarea/index.ts
similarity index 100%
rename from examples/custom-components/src/collections/Fields/Textarea/index.ts
rename to examples/custom-components/src/collections/Fields/textarea/index.ts