Alessio Gravili
cb9a20fefa
fix: loader throwing errors for client files imported using TS paths ( #6369 )
...
## Description
Fixes https://github.com/payloadcms/payload-3.0-demo/issues/215
imports like import LogoSVG from '@/components/logo.svg' did not make it
to the TS module resolution, due to the early isClient check.
And the isClient check only uses node module resolution (using
nextResolves) which throws an error here.
This removes module resolution completely, as we "ignore" client files
anyways. Should also help improve performance, and we do not have to
fall back to ts module resolution for client files that way, which would
be unnecessary
2024-05-15 12:53:07 -04:00
Jarrod Flesch
aa2073f9e9
chore: adjusts how file uploads are handled, consolidates reading to busboy ( #6346 )
2024-05-15 11:42:04 -04:00
Alessio Gravili
e0618f81a5
chore: loosen type for ClientTranslationsObject to improve TS performance ( #6368 )
2024-05-15 15:18:43 +00:00
Alessio Gravili
ea90018979
chore: auto-translation script for v3, and translate all missing translation keys ( #6361 )
2024-05-15 13:54:25 +00:00
Jessica Chowdhury
5a4074e90a
fix: multiselect relationship bug and improve accessibility ( #6286 )
...
## Description
Closes [#117 ](https://github.com/payloadcms/payload-3.0-demo/issues/177 )
- hitting the space key while the `ReactSelect` is in focus crashes the
page.
This PR makes the following changes:
- Multivalue select component updated to only use `id`, drag feature
does not work when using `uuid()`
- Ensures relationship field (multi and single value) can be accessed
via the keyboard
- [X] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
## Type of change
- [X] Bug fix (non-breaking change which fixes an issue)
## Checklist:
- [X] Existing test suite passes locally with my changes
2024-05-15 09:33:47 -04:00
Elliot DeNolf
0e9bbecbee
chore(release): v3.0.0-beta.32 [skip ci]
v3.0.0-beta.32
2024-05-14 17:33:28 -04:00
Alessio Gravili
c8a1ccaf4b
feat(richtext-lexical): add rootFeatures prop to lexicalEditor ( #6360 )
2024-05-14 17:29:21 -04:00
Alessio Gravili
79f4907cb3
feat!: add missing server-only props to custom RSCs, improve req.user type, clean-up ui imports ( #6355 )
2024-05-14 17:27:15 -04:00
Jacob Fletcher
6a0fffe002
feat!: consolidates admin.logoutRoute and admin.inactivityRoute into admin.routes ( #6354 )
2024-05-14 21:18:19 +00:00
Jarrod Flesch
6e116a76fd
fix(graphql): threads through correct draft value for upload relations ( #6235 )
2024-05-14 14:05:58 -04:00
Elliot DeNolf
f52607f3b5
chore(release): v3.0.0-beta.31 [skip ci]
v3.0.0-beta.31
2024-05-14 12:37:38 -04:00
Alessio Gravili
f716122eab
feat!: typed i18n ( #6343 )
2024-05-14 11:10:31 -04:00
Patrik
353c2b0be2
fix(ui): step-nav breadcrumbs ellipsis ( #6344 )
2024-05-14 11:08:34 -04:00
Jessica Chowdhury
58bbbbd395
fix: collection labels with multiple locales showing incorrectly ( #5998 )
2024-05-14 15:05:36 +00:00
Jessica Chowdhury
57b072edfc
chore: fix indentation in API tab json for empty nested objects/arrays ( #6150 )
2024-05-14 14:44:10 +00:00
Jacob Fletcher
f6039246c6
feat!: replaces admin.favicon with admin.icons ( #6347 )
2024-05-14 09:56:07 -04:00
Jessica Chowdhury
fcee13b017
fix: depth field in api view throws error when no value present ( #6106 )
2024-05-14 13:46:16 +00:00
Jacob Fletcher
ef5197a514
Merge branch 'beta' into feat/next-icons
2024-05-14 09:30:01 -04:00
Jacob Fletcher
7438812db3
feat!: replaces admin.favicon with admin.icons
2024-05-14 08:56:21 -04:00
Elliot DeNolf
48af78278d
ci: run protected branch actions to completion
2024-05-13 19:30:02 -04:00
Jarrod Flesch
3abc2e8328
fix: implements graphql schema generation ( #6254 )
...
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
2024-05-13 16:46:43 -04:00
Jacob Fletcher
a48043c2aa
fix(next): replaces default svg favicons with png
2024-05-13 16:33:50 -04:00
Jacob Fletcher
7e4f50a01c
feat(ui): exports png favicons
2024-05-13 16:27:53 -04:00
Elliot DeNolf
40d3078bf2
feat(cpa): initialize git repo on project creation ( #6342 )
2024-05-13 14:59:39 -04:00
Elliot DeNolf
662334abfb
ci: bump playwright actions/cache usage to v4
2024-05-13 14:01:32 -04:00
Paul
aa5ad47177
fix: named tab being required in generated types without any required fields ( #6324 )
2024-05-13 13:55:48 -04:00
James Mikrut
890c21dda4
fix(payload): loader alias issues ( #6341 )
2024-05-13 13:49:16 -04:00
Patrik
c7635b2783
fix(ui): properly adds readOnly styles to disabled radio fields ( #6240 )
2024-05-13 12:18:36 -04:00
James Mikrut
47cd5f4d01
fix(db-postgres): too many clients already, cannot read properties 'transaction' of undefined ( #6338 )
2024-05-13 12:13:30 -04:00
Alessio Gravili
0d98b4b96f
fix!: some custom components were not handled properly if they are RSCs ( #6315 )
...
**Breaking:** The following, exported components now need the `payload` object as a prop rather than the `config` object:
- `RenderCustomComponent` (optional)
- `Logo`
- `DefaultTemplate`
- `DefaultNav`
2024-05-13 12:05:13 -04:00
Elliot DeNolf
23c7ab2bc4
ci: add plugin-relationship-object-ids to publish list ( #6335 )
2024-05-13 10:14:10 -04:00
Fredrik
0680e0c58b
chore(plugin-nested-docs): export the getParents utility ( #6325 )
2024-05-13 13:39:35 +00:00
Jessica Chowdhury
b3df253880
feat: adds translations for API view and select component ( #6143 )
2024-05-13 13:03:26 +00:00
Elliot DeNolf
a78b44d0c1
docs: add storage adapter docs ( #6334 )
2024-05-13 08:46:05 -04:00
Elliot DeNolf
d272a1fd22
docs: update email docs for new adapters ( #6332 )
2024-05-13 08:44:59 -04:00
Elliot DeNolf
095e4402ac
test: type fixes ( #6331 )
2024-05-13 01:37:52 +00:00
Elliot DeNolf
60d2def428
chore: create file that imports all 2.x exports ( #6224 )
2024-05-12 21:28:19 -04:00
Paul
2f02b3a6e1
fix: wrong translation key being used as upload:Sizes instead of upload:sizes ( #6323 )
2024-05-11 15:09:38 +00:00
Jarrod Flesch
4f0ddcf632
chore: improves lexical fixed toolbar styles ( #6317 )
2024-05-10 17:38:24 -04:00
Jarrod Flesch
693621a6e3
chore: improves types for lexical client features ( #6318 )
2024-05-10 17:38:10 -04:00
Elliot DeNolf
5b201392cc
ci: add storage-uploadthing
2024-05-10 17:15:22 -04:00
Elliot DeNolf
a70bcf81c0
chore(release): v3.0.0-beta.30 [skip ci]
v3.0.0-beta.30
2024-05-10 17:10:18 -04:00
Elliot DeNolf
ed880d5018
feat: storage-uploadthing package ( #6316 )
...
Co-authored-by: James <james@trbl.design >
2024-05-10 17:05:35 -04:00
Patrik
ea84e82ad5
feat(payload, ui): adds disableListColumn & disableListFilter to fields admin props ( #6238 )
2024-05-10 15:59:29 -04:00
Patrik
4216d69ccb
fix(richtext-slate): list item values returning null ( #6291 )
2024-05-10 15:42:37 -04:00
Patrik
dcad5003f5
fix(ui): appends editDepth value to radio & checkbox IDs when inside drawer ( #6252 )
2024-05-10 15:56:24 +00:00
Paul
bd9c06a99d
chore: update readme for tailwind example ( #6314 )
2024-05-10 12:13:10 -03:00
Elliot DeNolf
48932ef54d
chore: format plugin object ids ( #6310 )
2024-05-10 14:20:21 +00:00
Patrik
4aeefc5a1a
feat: adds plugin-relationship-object-ids package ( #6045 )
2024-05-10 09:31:25 -04:00
Ritsu
e96ff90029
fix(next): respect fallback locale null value ( #6207 )
2024-05-10 14:27:13 +01:00