73 Commits

Author SHA1 Message Date
ecbd46e5c0 Remove lexical-helpers (#1466)
* Remove lexical-helpers

* Add midding ref
2022-04-09 00:43:30 -07:00
1d1959748d Convert Lexical Playground from CRA to Vite (#1463)
Convert Lexical Playground from CRA to Vite (#1463)
2022-04-09 00:43:30 -07:00
d8913e5e45 Follow up to 1447 (#1448) 2022-04-09 00:43:29 -07:00
59afd22c1c Housekeeping: create more self-contained packages for Lexical (#1447)
* Add lexical-token package for HashtagNode

* Garden work

* Fix unit tests
2022-04-09 00:43:29 -07:00
5503ca6e64 Add clipboard package, remove lexical event helpers (#1361)
* add clipboard package, remove lexica event helpers

* bump version after rebase

* rename - wip

* rename things
2022-04-09 00:43:27 -07:00
06925cda1d Add www Flow definition preparation script (#1374)
* Add www Flow definition preparation script

* Update comment
2022-04-09 00:43:26 -07:00
70981013c5 Create "lexical-table" package. (#1301) 2022-04-09 00:43:24 -07:00
44e8daeae4 add lexical-file package (#1286) 2022-04-09 00:43:23 -07:00
1c856e80ec Add sort keys and sort imports lint rules, and enable fix+format on save (#1209)
* Add sort keys rule and update configs so it works

Bump version of flowtype eslint plugin to fix bugs with autofixing

* Add sort imports fixable lint rule

* Run lint fix and prettier on whole repo 

* Fix unit tests broken by key sorting
2022-04-09 00:43:22 -07:00
f2be55cc3b [RFC] Add unminified .dev files to the release build (#1257)
* add unminified .dev files to the release build

* remove unused conditional

* Add licenses to prod files.
2022-04-09 00:43:21 -07:00
c12022b019 Fix build 2022-04-09 00:43:21 -07:00
0d03dbe7dd Enable linting for scripts and fix lint errors (#1245) 2022-04-09 00:43:21 -07:00
2020bbadd5 Move list feature into a separate package (#1239)
* wip

* fix build issues

* fix imports

* bump version
2022-04-09 00:43:21 -07:00
3aac9cac56 Don't stop the build for unused imports (#1122)
Minor QOL fix: unused import warnings were killing my build watcher in
the background, which led to me being very confused as to why my changes
weren't showing up in the browser.

It may also be prudent to change `npm run dev` to make 'the build has
killed itself and will no longer run' more obvious, because the build
watcher is independent of the webserver. Currently if you run them
together via `npm run dev` the webserver will happily serve increasingly
outdated changes.
2022-04-09 00:43:17 -07:00
c1a31b59f7 lexical-core -> lexical (folder) (#1077) 2022-04-09 00:43:16 -07:00
40e9001745 NPM lexical-core -> lexical (#1075) 2022-04-09 00:43:16 -07:00
55695c29da Fix package naming -> @lexical (#1071)
More fixes

Fix packages

Fix package-lock
2022-04-09 00:43:15 -07:00
a8daa27e7f File import/export (#1056)
* File import/export

* LexicalFileHelpers
2022-04-09 00:43:15 -07:00
09b887e61a Meta copyright (#1060) 2022-04-09 00:43:14 -07:00
9501cbadef Rename project to Lexical (#1037)
* Rename project to Lexical
2022-04-09 00:43:13 -07:00
0ecc0467d9 Improve key command system (#1028)
Remove key helpers

Clean up

Clean up again
2022-04-09 00:43:12 -07:00
42fec0db85 Add stylex locally and use in playground (#1010) 2022-04-09 00:43:11 -07:00
fd89494d7e Improve Element Class Name Handling (#958) 2022-04-09 00:43:08 -07:00
d384f9d3cc OutlineComposer & OutllineComposerContext (#945) 2022-04-09 00:43:08 -07:00
6a49742faf Improve treeshaking with Rollup (#929)
* Improve treeshaking with Rollup
2022-04-09 00:43:07 -07:00
302af329c4 Expose useOutlineHistory in sync + allow external state (#927) 2022-04-09 00:43:07 -07:00
eb9797b63e Make 2nd argument of editor.update and options object (#912)
* Make 2nd argument of editor.update and options object

* origin -> tag
2022-04-09 00:43:06 -07:00
f7230c3dd0 More collaboration fixes and tweaks (#911)
* More collaboration fixes and tweaks

* Fix codes

* Add extract codes
2022-04-09 00:43:06 -07:00
e3fd8e1bde Fix build 2022-04-09 00:43:03 -07:00
ccc0378dbf Add collab scaffolding (#807)
* Add collaboration scaffolding
2022-04-09 00:43:02 -07:00
e92262b708 Root helpers (#798) 2022-04-09 00:43:02 -07:00
cfeecc9fc3 Deprecate editor.isEmpty (#793) 2022-04-09 00:43:02 -07:00
03d3642d95 Fix build-www (#771) 2022-04-09 00:43:01 -07:00
5cc158c94b Nicely format packages (#769)
* Nicely format packages

* Fix unit
2022-04-09 00:43:01 -07:00
3a5cc00ff0 Adds OutlineOffsetHelpers (#664)
* Adds OutlineOffsetHelpers
2022-04-09 00:42:56 -07:00
c2c56a77e3 Undo build change with message 2022-04-09 00:42:56 -07:00
da2924b0eb Undo build change 2022-04-09 00:42:56 -07:00
01202034af Make outline-react event handlers an Outline Helpers module (#654) 2022-04-09 00:42:56 -07:00
1bf44d2a6f DFS Helper (#639) 2022-04-09 00:42:55 -07:00
8cb57f68c5 Add keyword decorator function to playground (#407)
* Add keyword decorator function to playground

* Fix test
2022-04-09 00:42:22 -07:00
f39586fd6a Fix www build 2022-04-09 00:42:21 -07:00
2f6274737c Move KeyHelpers to Outline package (#389)
* Move KeyHelpers to Outline package

* More tweaks

* More tweaks

* More fixes

* Fix test

* Fix test

* Fix test
2022-04-09 00:42:21 -07:00
e87decc372 Tidy up outline-react package (#388)
* Tidy up outline-react package

* Fix build

* Fix bad import
2022-04-09 00:42:21 -07:00
8400446e53 Remove outline-extensions (#387) 2022-04-09 00:42:21 -07:00
a457a3850d Introduce invariant error code system (#339) 2022-04-09 00:42:18 -07:00
6a04379442 Upgrade GCC and add tags to www headers (#255) 2022-04-09 00:42:15 -07:00
0174151fee Optimize outline-react bundles (#214)
* Optimize outline-react bundles

* Format file
2022-04-09 00:42:14 -07:00
22ed4e98d9 Removed deprecated module 2022-04-09 00:42:14 -07:00
ec272886da Fix SSR (#208)
* Fix SSR

* Upgrade Rollup
2022-04-09 00:42:14 -07:00
58bf7e3a47 Fix buils 2022-04-09 00:42:13 -07:00