Alessio Gravili
168d629697
feat: add context to auth and globals local API ( #4449 )
...
* feat: add context to auth and globals local API
* chore: add int test
2023-12-11 20:27:34 +01:00
Alessio Gravili
b9c0248823
fix: pin ts-node versions which are causing swc errors ( #4447 )
2023-12-11 17:55:36 +01:00
Alessio Gravili
a2dac605e5
Merge pull request #4446 from payloadcms/lexical/commits
...
fix(richtext-lexical): incorrect URL validation for tel: URLs, unnecessary license headers
2023-12-11 16:38:34 +01:00
Alessio Gravili
9222d6f207
chore(richtext-lexical): remove unnecessary leftover Meta license headers, as they're already included in the LICENSE.md
2023-12-11 16:35:26 +01:00
Alessio Gravili
ac7f9809bc
fix(richtext-lexical): not all types of URLs are validated correctly
2023-12-11 16:33:00 +01:00
Jacob Fletcher
076c3258d0
docs: typo in admin components ( #4445 )
2023-12-11 09:48:27 -05:00
Alessio Gravili
9331204295
feat(richtext-lexical)!: improve floating select menu Dropdown classNames ( #4444 )
...
Breaking: Dropdown component has a new mandatory sectionKey prop
2023-12-11 14:34:22 +01:00
Alessio Gravili
9babf6804c
feat(richtext-lexical): improve link URL validation ( #4442 )
...
* fix(richtext-lexical): Link: allow phone numbers as URLs starting with tel:+
* feat(richtext-lexical): Link Feature: immediately validate URL field in drawer form
* Remove console log
2023-12-11 00:39:32 +01:00
Alessio Gravili
5c2739ebd1
fix(richtext-lexical): do not add unnecessary paragraph before upload, relationship and blocks nodes ( #4441 )
2023-12-11 00:08:15 +01:00
Alessio Gravili
0421173f9e
fix(richtext-lexical): lexicalHTML field now works when used inside of row fields ( #4440 )
2023-12-10 23:47:32 +01:00
Alessio Gravili
057996766b
chore(deps): bump various devDependencies in workspace root ( #4433 )
2023-12-09 15:35:15 +01:00
Alessio Gravili
b70c8ff6b8
chore(richtext-lexical): Slash Menu: Don't show scroll bar if not needed ( #4432 )
2023-12-09 15:07:33 +01:00
Jarrod Flesch
8299436554
examples(testing): updates examples/testing to align with Payload 2.x ( #4431 )
2023-12-08 15:46:14 -05:00
Alessio Gravili
d218f63c6f
Merge pull request #4430 from payloadcms/chore/upload-node-html
...
feat(richtext-lexical): Improve Upload element serialization
2023-12-08 20:12:44 +01:00
Alessio Gravili
e55889480f
feat(richtext-lexical): Upload html serializer: Output picture element if the image has multiple sizes, improve absolute URL creation
2023-12-08 20:09:41 +01:00
Elliot DeNolf
37aa99f1dd
chore: update changelog [skip ci]
2023-12-07 11:01:52 -05:00
Elliot DeNolf
d3e47b64c1
chore(release): richtext-slate/1.3.1 [skip ci]
richtext-slate/1.3.1
2023-12-07 11:00:19 -05:00
Elliot DeNolf
070f4d5bb5
chore(release): richtext-lexical/0.4.1 [skip ci]
richtext-lexical/0.4.1
2023-12-07 10:58:17 -05:00
Alessio Gravili
48f1299fcb
fix(richtext-*): loosen RichTextAdapter types due to re-occuring ts strict mode errors ( #4416 )
2023-12-07 15:59:59 +01:00
Alessio Gravili
61dca16f91
chore(richtext-lexical): upgrade to lexical 0.12.5 and port over relevant playground changes ( #4415 )
2023-12-07 15:30:39 +01:00
Dan Ribbens
6e9ae65374
fix(db-postgres): querying nested blocks fields ( #4404 )
...
Co-authored-by: Jessica Chowdhury <jessica@trbl.design >
2023-12-07 09:18:48 -05:00
Alessio Gravili
35f54a7be3
Merge pull request #4413 from payloadcms/chore/more-misc-lexical
...
chore(richtext-lexical): misc fixes and improvements
2023-12-07 14:48:15 +01:00
Alessio Gravili
128f9c4e7e
fix(richtext-lexical): lexicalHTML field not working when used inside of Blocks field
2023-12-07 14:30:01 +01:00
Alessio Gravili
1469fc26c7
chore(richtext-lexical): Slash menu items: improve overflow behavior
2023-12-07 14:13:11 +01:00
Elliot DeNolf
e03ff791b6
chore(release): live-preview/0.2.1 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
403c3d3e08
chore(release): db-postgres/0.2.1 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
d7765ef9e1
chore(release): richtext-slate/1.3.0 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
df4f346f2f
chore(release): richtext-lexical/0.4.0 [skip ci]
2023-12-06 13:41:32 -05:00
Elliot DeNolf
93fa7b608f
chore(richtext-lexical): bump payload peer dep
2023-12-06 13:41:32 -05:00
Elliot DeNolf
989aba665e
chore(release): payload/2.4.0 [skip ci]
2023-12-06 13:41:32 -05:00
Alessio Gravili
c582f948c7
docs: update reproduction-guide.md ( #4402 )
2023-12-06 19:36:00 +01:00
Alessio Gravili
217cc1fc42
docs: update CONTRIBUTING.md ( #4401 )
2023-12-06 19:15:17 +01:00
Alessio Gravili
7af8f29b4a
feat(richtext-lexical): Link & Relationship Feature: field-level configurable allowed relationships ( #4182 )
...
* feat(richtext-lexical): ability to configure link feature enabled relations on a field-level
* feat(richtext-lexical): ability to configure Relationship feature enabled relations on a field-level
* chore(richtext-lexical): Improve Link feature props typing
* chore(richtext-lexical): Improve Link and Relationship feature props typing
* fix(richtext-lexical): Link drawer types
* chore: merge conflict resolve
* chore(richtext-lexical): Link Feature: add comments that explain how getBaseFields works
2023-12-06 17:50:50 +01:00
chris
5f2cd1ae77
docs: fix example link ( #4394 )
2023-12-06 09:35:30 -05:00
Dan Ribbens
dbaecda0e9
fix(db-postgres): sorting on a not-configured field throws error ( #4382 )
2023-12-06 09:27:43 -05:00
Tylan Davis
cf9a3704df
fix: handles null upload field values ( #4397 )
2023-12-06 09:26:19 -05:00
Patrik
4b5453e8e5
fix: simplifies query validation and fixes nested relationship fields ( #4391 )
2023-12-06 08:47:34 -05:00
Alessio Gravili
5de347ffff
feat(richtext-lexical)!: lazy import React components to prevent client-only code from leaking into the server ( #4290 )
...
* chore(richtext-lexical): lazy import all React things
* chore(richtext-lexical): use useMemo for lazy-loaded React Components to prevent lag and flashes when parent component re-renders
* chore: make exportPointerFiles.ts script usable for other packages as well by hoisting it up to the workspace root and making it configurable
* chore(richtext-lexical): make sure no client-side code is imported by default from Features
* chore(richtext-lexical): remove unnecessary scss files
* chore(richtext-lexical): adjust package.json exports
* chore(richtext-*): lazy-import Field & Cell Components, move Client-only exports to /components subpath export
* chore(richtext-lexical): make sure nothing client-side is directly exported from the / subpath export anymore
* add missing imports
* chore: remove breaking changes for Slate
* LazyCellComponent & LazyFieldComponent
2023-12-06 14:20:18 +01:00
Jacob Fletcher
80ef18c149
fix(templates/website): removes unused form builder plugin from deps ( #4385 )
2023-12-05 11:57:21 -05:00
Christian May
912abe2b64
docs(plugin-nested-docs): clarifies that relationships are intra-collection ( #4375 )
2023-12-05 00:58:36 -05:00
Jacob Fletcher
4090aebb0e
fix(live-preview): populates rte uploads and relationships ( #4379 )
2023-12-05 00:53:11 -05:00
chris
290e9d8238
docs: fixes typo in migrations ( #4374 )
2023-12-05 00:24:37 -05:00
Kane Wang
50253f617c
feat: add Chinese Traditional translation ( #4372 )
2023-12-04 15:29:29 -05:00
geisterfurz007
999e05d1b4
docs: fix typo in migrations ( #4356 )
2023-12-04 15:09:21 -05:00
Dan Ribbens
b6cffcea07
fix: defaultValues computed on new globals ( #4380 )
2023-12-04 15:05:47 -05:00
Patrik
7b2eb0c175
docs: updates afterInput example ( #4378 )
2023-12-04 14:35:08 -05:00
Timothy Choi
3b8a27d199
feat: pass path to FieldDescription ( #4364 )
...
fix: DescriptionFunction type
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-04 13:59:18 -05:00
Jessica Chowdhury
65adfd21ed
fix: uploads files after validation ( #4218 )
2023-12-04 12:38:23 -05:00
Jacob Fletcher
03a387233d
fix(live-preview): sends raw js objects through window.postMessage instead of json ( #4354 )
2023-12-01 17:50:55 -05:00
Jessica Chowdhury
fcbe5744d9
fix: upload editing error with plugin-cloud ( #4170 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-01 16:35:12 -05:00