James
|
e5a95755da
|
chore: returns generic to BasePayload to fix typing
|
2023-10-02 11:07:01 -04:00 |
|
James
|
eb988f1f19
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-02 10:46:37 -04:00 |
|
Alessio Gravili
|
45f23367c8
|
fix: 2.0 hotkey's pressed keys are not unset when window is not focused (#3401)
* fix: hotkey's pressed keys are not unset when window is not focused
* chore: re-order string list
* chore: add back removed comment
|
2023-10-02 16:46:12 +02:00 |
|
James
|
30e9ba67ed
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-02 10:46:02 -04:00 |
|
Dan Ribbens
|
6d014cf748
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-02 10:45:36 -04:00 |
|
James
|
2e480d4c99
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-02 10:45:28 -04:00 |
|
Dan Ribbens
|
42ceafb942
|
chore: update all payload generated types imports to use payload redeclared types
|
2023-10-02 10:45:21 -04:00 |
|
James
|
fa4821adef
|
chore: add declare pattern to generated types
|
2023-10-02 10:45:19 -04:00 |
|
Elliot DeNolf
|
5d6b82a2b4
|
chore: use console.log in connect until we can adjust our logger
|
2023-10-02 10:32:30 -04:00 |
|
James
|
e913d5c400
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-02 10:23:05 -04:00 |
|
James
|
9a6d650a13
|
chore: progress to type overrides
|
2023-10-02 10:22:59 -04:00 |
|
Elliot DeNolf
|
6aaa22b2b4
|
chore: fix outdated lockfile
|
2023-10-02 09:09:23 -04:00 |
|
Alessio Gravili
|
0de816591b
|
chore(richtext-lexical): add additional exports
|
2023-10-02 12:42:36 +02:00 |
|
Alessio Gravili
|
fd9ca519d7
|
chore(richtext-lexical): export more functions
|
2023-10-02 11:26:29 +02:00 |
|
Elliot DeNolf
|
dbdd317af7
|
chore: add clean and prepublishOnly scripts to all packages
|
2023-10-01 22:14:39 -04:00 |
|
Elliot DeNolf
|
71b372211f
|
chore: export migration args from top-level adapter export
|
2023-10-01 22:07:53 -04:00 |
|
James
|
ddc6cb927b
|
chore: exports database adapter from base payload
|
2023-10-01 21:49:30 -04:00 |
|
Elliot DeNolf
|
85c81c3efe
|
chore: adjust DatabaseAdapter export/import for declare module
|
2023-10-01 21:43:12 -04:00 |
|
James
|
bb9b4c9fa0
|
chore: misc fixes
|
2023-10-01 20:40:30 -04:00 |
|
James
|
237fa50255
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-01 18:55:12 -04:00 |
|
James
|
556620a94e
|
chore: enables bundle analyzer in webpack
|
2023-10-01 18:55:01 -04:00 |
|
James
|
8f837f99ae
|
chore: vite in production
|
2023-10-01 18:42:47 -04:00 |
|
Elliot DeNolf
|
32e30ca678
|
feat(bundler-webpack): adjust aliasing
|
2023-10-01 17:10:52 -04:00 |
|
Elliot DeNolf
|
6e07aee59a
|
feat(richtext-slate): add copyfiles command
|
2023-10-01 16:23:27 -04:00 |
|
James
|
44b10cc9b4
|
chore: webpack published package bugs
|
2023-10-01 16:20:18 -04:00 |
|
James
|
2649ceaac6
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-01 15:47:20 -04:00 |
|
James
|
ee22a488c0
|
chore: able to select bundler in dev
|
2023-10-01 15:47:16 -04:00 |
|
Elliot DeNolf
|
40f4014920
|
feat(templates): add editor import and config lines
|
2023-10-01 15:40:59 -04:00 |
|
Elliot DeNolf
|
317104bb9f
|
ci: add richtext-lexical build job
|
2023-10-01 15:19:34 -04:00 |
|
Alessio Gravili
|
eed2b699c8
|
chore: fix lexical package not building
|
2023-10-01 21:19:22 +02:00 |
|
Alessio Gravili
|
48591aa24c
|
fix: error when trying to access id property in null value
|
2023-10-01 21:14:11 +02:00 |
|
James
|
f8d456d762
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-01 15:07:31 -04:00 |
|
James
|
e6a0ed5e1c
|
chore: vite dev script
|
2023-10-01 15:07:21 -04:00 |
|
Alessio Gravili
|
9308c792e1
|
feat: Lexical richtext editor (#3359)
* chore: move slate stuff into packages/richtext-slate
* chore: fieldTypes stuff
* chore: fix richtext-slate tsconfig
* chore: add clean:unix command
* chore: fix up things
* chore: undo subpath imports being hoisted up
* chore: fix incorrect imports
* chore: improve AdapterArguments type
* chore: remove unused richTextToHTML and stringifyRichText files
* fix: core-dev scss imports
* chore: fix publishConfig exports for richtext-slate
* chore: adjust joi schema for richtext field
* chore: various fixes
* chore: handle afterRead population in richText adapter
* chore: handle more after-read promise stuff
* chore: fix joi validation
* chore: add richtext adapter to tests
* chore: merge adapter props with field props
* chore: index.tsx => index.ts
* chore: rename `adapter` to `editor`
* chore: fix e2e tests not running due to importing a constant from a file (`Tabs`) which imports createSlate.
This fails because createSlate imports React components.
* chore: remove unnecessary import
* chore: improve various typings
* chore: improve typings for List view Cell components
* feat: richText adapter cell component
* chore: add missing types packages for packages/richtext-slate
* chore: add new adapter interface properties to joi schema
* chore: withMergedProps utility which replaces getSlateCellComponent and getSlateFieldComponent
* feat: added config.defaultEditor property which is now required. field.editor is no longer required and overrides config.defaultEditor
* docs: mention editor and defaultEditor property in the docs
* chore: fix incorrectly formatted JSX in docs files breaking mdx parser
* feat: create base structure for lexical adapter
* chore: upgrade dependencies
* chore: improve package.json property order
* chore: undo unnecessary changes in core
* chore: initial, working lexical editor
* chore: utils
* chore: add license.md
* chore: work on Floating toolbar
* chore: floatingSelectToolbar extensibility
* chore: FloatingSelectToolbar format buttons
* chore: add functionality to format buttons
* chore: caret handling improvements
* chore: keep toolbar hidden during mousedown
* chore: keep carat centered unless at edge of container
* chore: placeholder, style improvements
* chore: DraggableBlock Handle
* chore: limit cell preview length
* chore: fix drag handle styling in light mode
* chore: remove unnecessary listener
* feat: add block handle
* chore: handle removal of handles properly
* chore: add HistoryPlugin
* chore: improve naming of format button properties
* chore: fix incorrect position of HistoryPlugin
* chore: serif font
* chore: improve opacity handling of FloatingSelectToolbar
* feat: slash menu
* feat: slash menu interface
* chore: fix mixed-up icon
* chore: add missing editorConfig?.feature dependency
* feat: sanitizedEditorConfig, slash menu grouping
* feat: interface for nodes
* feat: Plugin interface
* feat: working AddBlockHandlePlugin
* feat: headings
* chore: improve editor focus handling for add block handle's slash menu
* chore: improve handling of slash menu filtering
* fix: cloneDeep function not handling all data types well
* feat: markdown transformers for headings
* feat: proper dependency system
* feat: add remaining markdown transformers
* feat: order system for floating toolbar format buttons
* chore: customizable floating select toolbar sections system
* feat: WIP floatingSelectToolbar dropdown sections
* feat: working dropdown & misc improvements
* chore: fix dropdown top positioning after scrolling down
* chore: downgrade @types/react
* feat: treeview debug feature, & misc improvements
* feat: add TabIndentationPlugin by default
* fix: wrong key for treeviewfeature
* chore: handle plugin keys
* chore: simplify Heading Feature
* feat: Text Align
* feat: Indent
* chore: floating text toolbar section dividers
* feat: isEnabled for floating select toolbar, and isEnabled handling for decreaseIndent
* chore: add all missing icons
* feat: checklist, orderedlist, unorderedlist
* chore: improve lists by using lexical/react's ListPlugin
* chore: lists markdown transformers
* chore: improve key generation for plugins
* fix: add missing payload scss import
* fix: make default editorConfig null instead of defaultSanitizedEditorConfig for EditorConfigProvider. This fixes a bug where the editor would crash if some feature was using this EditorConfigProvider, as EditorConfigProvider needs the feature (due to the serialization process) and the Feature needing EditorConfigProvider (circular dependency)
* chore: allow positioning plugins under floatingAnchorElem
* feat: WIP: Link Feature
* chore: add box shadow to slash menu in light mode
* chore: CheckList => Check List
* chore: respect admin.readOnly setting
* chore: Simplify Link Feature
* chore: restructuring
* chore: prettier
* chore: scss-ify
* feat: wip: nicer draggable blocks
* chore: lots of block drag improvements
* helllll yea
* chore: just pure niceness
* fix: drag handle not working when scrolling down
* fix: "add" drag handle not working when scrolling down
* chore: remove unnecessary console log
* chore: fix slash menu positioning if there is not enough space below
* chore: increase animation speed of floating select toolbar
* chore: expect transforms for top-level editor nodes
* chore: move css rule to correct position
* chore: slightly animate target drag line
* chore: do not indicate drag-ability in un-dragable positions
* chore: explanatory comment
* chore: link editor styling
* chore: lots of link-related improvements
* chore: a lot of floating toolbar improvements
* chore: adjust link colors to be the same as in the website
* chore: prep work link extensibility
* chore: work on link plugin
* feat: fully-working link feature 🎉
* chore: add upload icon
* chore: merge in useful changes from playground & misc stuff
* feat: WIP relationship feature
* feat: Relationship Feature
* feat: BlockQuote Feature
* chore: base structure for Upload feature
* chore: fix types
* chore: WIP work on population and upload nodes
* chore: stuff
* fix: ensure uuid is only generated once
* chore: remove console.log's
* feat: link and relationship population
* fix: populate relationships at correct position
* chore: bunch of progress on upload node
* chore: working upload node!
* chore: various upload feature improvements
* chore: misc
* feat: working upload feature fields customization
* feat: WIP Blocks feature
* chore: fix incorrectly registered editor commands
* chore: get Block fields to render
* feat: functional blocks feature
* chore: improve functionality of blocks feature component (styling, collapsing)
* chore: disable console logs
|
2023-10-01 21:03:44 +02:00 |
|
Elliot DeNolf
|
8f14cd2c59
|
chore(release): db-mongodb 1.0.0-beta.0
|
2023-10-01 14:15:06 -04:00 |
|
Elliot DeNolf
|
4ac9f339e6
|
chore(db-mongodb): add files key to package.json
|
2023-10-01 14:13:31 -04:00 |
|
Elliot DeNolf
|
fd146fb9ac
|
chore(release): bundler-webpack 1.0.0-beta.0
|
2023-10-01 14:08:07 -04:00 |
|
Elliot DeNolf
|
4debc50c36
|
chore(bunder-webpack): add files key to package.json
|
2023-10-01 14:06:20 -04:00 |
|
James
|
a73246f85b
|
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
|
2023-10-01 13:50:38 -04:00 |
|
James
|
7bccd40a95
|
chore: building packages
|
2023-10-01 13:50:28 -04:00 |
|
Elliot DeNolf
|
b990e98b89
|
chore: add missing type dep
|
2023-10-01 13:38:53 -04:00 |
|
Alessio Gravili
|
5767e5d61c
|
chore: fix build errors
|
2023-09-29 23:31:30 +02:00 |
|
Jacob Fletcher
|
34e2dc8a79
|
chore: overflows step nav (#3415)
|
2023-09-29 17:11:27 -04:00 |
|
Jacob Fletcher
|
244db8d621
|
chore: refines doc controls (#3411)
|
2023-09-29 14:14:48 -04:00 |
|
Jacob Fletcher
|
9d9d20efd9
|
chore: overhauls main nav (#3410)
|
2023-09-29 13:10:37 -04:00 |
|
Elliot DeNolf
|
96844a5185
|
ci: add builds for bundlers and plugins
|
2023-09-29 12:26:50 -04:00 |
|
Elliot DeNolf
|
973b4edba9
|
chore(release): core 2.0.0-beta.0
|
2023-09-29 11:55:38 -04:00 |
|
Elliot DeNolf
|
4ae40f4a12
|
chore(release): db-postgres 0.1.0-beta
|
2023-09-29 11:49:44 -04:00 |
|
Elliot DeNolf
|
07f713f8e9
|
chore: update latest components output
|
2023-09-29 10:51:03 -04:00 |
|
Elliot DeNolf
|
1ca5c70ed6
|
chore: better migration failure message
|
2023-09-29 10:44:38 -04:00 |
|