dependabot[bot]
41af0584d2
build(deps): bump handlebars from 4.7.6 to 4.7.7 ( #4249 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:54:30 -04:00
dependabot[bot]
3b3c94a72c
Bump immer from 7.0.7 to 8.0.1 ( #4050 )
...
Bumps [immer](https://github.com/immerjs/immer ) from 7.0.7 to 8.0.1.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v7.0.7...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 19:52:00 -04:00
Julian Krispel-Samsel
4181107e56
4196 integration tests with cypress ( #4206 )
...
* - update gitignore
- add cypress configuration and example test
* add integration tests to ci workflow
* add note about running integration tests
* Update docs/general/contributing.md
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update .gitignore
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress.json
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* add baseUrl, remove goTo command
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
2021-04-16 11:17:24 +01:00
Ian Storm Taylor
c5d412f5c6
add lint-staged for auto-formatting commits
2021-04-01 01:41:07 -04:00
dependabot[bot]
eb10ddf10b
Bump prismjs from 1.21.0 to 1.23.0 ( #4106 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:41:58 -04:00
dependabot[bot]
f49d6a3c7f
Bump y18n from 4.0.0 to 4.0.1 ( #4147 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:41:51 -04:00
dependabot[bot]
0c7fcc3fc6
Bump elliptic from 6.5.3 to 6.5.4 ( #4116 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:29 -04:00
dependabot[bot]
fd12f0aea2
Bump ini from 1.3.5 to 1.3.8 ( #4155 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:17 -04:00
dependabot[bot]
195a878592
Bump next from 9.5.2 to 9.5.4 ( #4002 )
...
Bumps [next](https://github.com/vercel/next.js ) from 9.5.2 to 9.5.4.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v9.5.2...v9.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:08 -04:00
Ian Storm Taylor
914e085be2
add github changelog to changesets
2021-03-31 13:56:28 -04:00
Ian Storm Taylor
7283c51feb
Add changesets ( #4154 )
...
* add first changesets integration
* remove readme
* readd readme
* update auto-release workflow logic
* update auto-release script order, fix prettier
* change access to public
* update release script
* try to fix changesets
* add experimental snapshot version config
* try fixing
* remove excess
* switch auto-release branch to master
* add release pull request workflow
* add changeset todo to pr template
* update changeset
2021-03-31 13:14:40 -04:00
Sunny Hirai
a72958e6c3
Improved Types ( #4119 )
...
* Experimental release to see if CustomTypes holds up through a publish
* Add experimental release script
* Fix lint
* v0.60.5-alpha.0
* Allow null properties in setNodes
* v0.60.6-alpha.0
* Revert null properties on Transforms.setNodes
* v0.60.7-alpha.0
* Update examples to use custom Element and Text with discriminated unions
* Add documentation for using TypeScript improvements
* Be explicit about typescript version in package.json
* Force lerna bootstrap to fix build issues on CI and fix a few type examples
* Add slate devDependencies with * back
* v0.60.7
* Switch to a non prerelease version to fix lerna not linking in root
* Add documentation for not using prerelease versions and on how to create experimental releases
* Try removing lerna bootstrap and see if it works
2021-03-11 11:48:31 -08:00
Sunny Hirai
513771c82a
slate-react: MVP for working with non-global window objects (fix for #3819 ) ( #4079 )
...
* mvp implementation for working with non-global window instances
* remove unused element renderer
* fix typo in comment
* fix wrong example reference
* Add @babel/helper-call-delegate to fix build error
Co-authored-by: Lukas Buenger <lukasbuenger@gmail.com>
2021-02-16 19:40:15 -08:00
Krzysztof Mędrzycki
79e02e881f
Upgrade immer to 7.0.0 ( #3850 )
2021-01-15 12:07:42 -05:00
Sunny Hirai
08275f68f3
Custom TypeScript Types ( #3835 )
...
This PR adds better TypeScript types into Slate and is based on the proposal here: https://github.com/ianstormtaylor/slate/issues/3725
* Extend Slate's types like Element and Text
* Supports type discrimination (ie. if an element has type === "table" then we get a reduced set of properties)
* added custom types
* files
* more extensions
* files
* changed fixtures
* changes eslint file
* changed element.children to descendant
* updated types
* more type changes
* changed a lot of typing, still getting building errors
* extended text type in slate-react
* removed type assertions
* Clean up of custom types and a couple uneeded comments.
* Rename headingElement-true.tsx.tsx to headingElement-true.tsx
* moved basetext and baselement
* Update packages/slate/src/interfaces/text.ts
Co-authored-by: Brent Farese <25846953+BrentFarese@users.noreply.github.com>
* Fix some type issues with core functions.
* Clean up text and element files.
* Convert other types to extended types.
* Change the type of editor.marks to the appropriate type.
* Add version 100.0.0 to package.json
* Revert "Add version 100.0.0 to package.json"
This reverts commit 329e44e43d968700655b1c46f968bfd3147e7339.
* added custom types
* files
* more extensions
* files
* changed fixtures
* changes eslint file
* changed element.children to descendant
* updated types
* more type changes
* changed a lot of typing, still getting building errors
* extended text type in slate-react
* removed type assertions
* Clean up of custom types and a couple uneeded comments.
* Rename headingElement-true.tsx.tsx to headingElement-true.tsx
* moved basetext and baselement
* Update packages/slate/src/interfaces/text.ts
Co-authored-by: Brent Farese <25846953+BrentFarese@users.noreply.github.com>
* Fix some type issues with core functions.
* Clean up text and element files.
* Convert other types to extended types.
* Change the type of editor.marks to the appropriate type.
* Run linter.
* Remove key:string uknown from the base types.
* Clean up types after removing key:string unknown.
* Lint and prettier fixes.
* Implement custom-types
Co-authored-by: mdmjg <mdj308@nyu.edu>
* added custom types to examples
* reset yarn lock
* added ts to fixtures
* examples custom types
* Working fix
* ts-thesunny-try
* Extract interface types.
* Fix minor return type in create-editor.
* Fix the typing issue with Location having compile time CustomTypes
* Extract types for Transforms.
* Update README.
* Fix dependency on slate-history in slate-react
Co-authored-by: mdmjg <mdj308@nyu.edu>
Co-authored-by: Brent Farese <brentfarese@gmail.com>
Co-authored-by: Brent Farese <25846953+BrentFarese@users.noreply.github.com>
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
2020-11-24 12:30:06 -08:00
Jason Tamulonis
b616e75d63
Upgrade rollup packages to remove security vulnerability ( #3844 )
2020-08-27 14:18:39 -04:00
Jason Tamulonis
b27c3fde3b
Remove unused dependency ( #3843 )
2020-08-27 12:32:47 -04:00
dependabot[bot]
91564f8812
Bump prismjs from 1.17.1 to 1.21.0 ( #3817 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.17.1 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.17.1...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 10:35:32 -07:00
Wendell Hu
912d4b79da
docs: convert examples to typescript ( #3766 )
...
* docs: convert examples to typescript
* docs: convert remaining examples
* docs: update next.js
* ci: fix lint
* docs: fix next.js path
* docs: cleanup
* update
Co-authored-by: wendellhu <wendellhu@tencent.com>
2020-08-19 09:14:51 -07:00
dependabot[bot]
983961dfcd
Bump elliptic from 6.5.1 to 6.5.3 ( #3806 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 10:32:33 -04:00
dependabot[bot]
7b1768aba3
Bump lodash from 4.17.15 to 4.17.19 ( #3790 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 10:29:29 -04:00
Cameron Ackerman
07c375f82e
Bugfix/fix bundles ( #3673 )
...
* fix index.js main bundles to be commonjs instead of modules
* Change rm -rf to rimraf to be cross os compatible
* add rimraf as dependency
Co-authored-by: damareyoh <chackerman@wsu.edu>
2020-05-11 10:18:00 -07:00
Cameron Ackerman
7369bb9e97
upgrade next to 9.3.5 to fix security finding ( #3640 )
2020-04-26 16:58:34 -07:00
dependabot[bot]
b3f688f151
Bump acorn from 5.7.3 to 5.7.4 ( #3548 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-26 12:23:38 -07:00
Cameron Ackerman
4f1cbf9418
[WIP] add cross-env to enable inline ENV set on multiple environments ( #3595 )
...
* add cross-env to enable inline ENV set on multiple environments
2020-04-08 10:58:50 -07:00
CameronAckermanSEL
41aacc009d
Revert "add crossenv to allow ENV dependent scripts to work on windows"
...
This reverts commit b91a0cdd49c2e3a8304460f811e091a920a160ab.
2020-04-08 10:36:10 -07:00
CameronAckermanSEL
b91a0cdd49
add crossenv to allow ENV dependent scripts to work on windows
2020-04-07 13:17:16 -07:00
Ryan Mitts
d17a1e86e3
Added source-map-loader to the Next Webpack config to pass through the source maps from the compiles Slate libraries. ( #3445 )
2020-02-26 08:02:47 -08:00
Sunny Hirai
bd52b9d080
Use lodash throttle instead of debounce for updating selection change ( #3355 )
...
* Add lodash
* Switched debounce to lodash/throttle
* Updated yarn.lock
2020-02-22 09:08:22 -08:00
Ian Storm Taylor
c77e1233d4
remove unused deps, fix peerDependencies
2019-12-16 16:32:44 -05:00
Ian Storm Taylor
f3fc2c2a54
Change <Slate>
to a controlled component ( #3216 )
...
* change <Slate> to be a controlled component
* add comment about unstable React API
2019-12-05 11:36:44 -05:00
Ian Storm Taylor
68569f286e
improve Editor.marks and Editor.nodes abstraction
2019-11-29 23:15:08 -05:00
Ian Storm Taylor
5b1d63ea8d
fix yarn
2019-11-27 21:15:37 -05:00
Ian Storm Taylor
4ff6972096
Next ( #3093 )
...
* remove some key usage from core, refactor Operations.apply
* undeprecate some methods
* convert more key usage to paths
* update deprecations
* convert selection commands to use all paths
* refactor word boundary selection logic
* convert many at-range commands to use paths
* convert wrapBlock and wrapInline to not use keys
* cleanup
* remove chainability from editor
* simplify commands, queries and middleware
* convert deleteAtRange
* remove key usage from schema, deprecate *ByKey methods
* migrate *ByKey tests, remove index from *ByPath signatures
* rename at-current-range tests
* deprecate mode key usage, migrate more tests away from keys
* deprecate range and point methods which rely on keys to work
* refactor insertBlock, without fixing warnings
* add pathRef/pointRef, fix insertBlock/Inline deprecations, work on insertFragment
* refactor insertFragment
* get rich-text example rendering
* fix lint
* refactor query files, fix more tests
* remove unused queries, refactor others
* deprecate splitDescendantsByPath
* merge master
* add typescript, convert slate, slate-hyperscript, slate-plain-serializer
* add Point, Path, Range, Annotation tests
* add Annotation, Change, Element, Fragment, Mark, Range, Selection, Value interfaces tests
* add Operation and Text tests
* add Node tests
* get operations and normalization tests working for slate
* get *AtPath command tests passing
* rename *AtPath command tests
* rename
* get *AtPoint tests working
* rename
* rename
* add value queries tests
* add element, mark and path queries tests
* convert most on-selection tests
* convert on-selection commands
* rename
* get addMarks and delete commands working
* rename
* rename
* rename
* refactor value.positions(), work on delete tests
* progress on delete tests
* more delete work
* finish delete tests
* start converting to at-based commands
* restructure query tests
* restructure operations tests
* more work converting to multi-purpose commands
* lots of progress on converting to at-based commands
* add unwrapNodes
* remove setValue
* more progress
* refactor node commands to use consistent matching logic
* cleanup, get non-fragment commands passing
* remove annotations and isAtomic
* rename surround/pluck to cover/uncover
* add location concept, change at-path to from-path for iterables
* refactor batches
* add location-based queries
* refactor hanging logic
* more location query work
* renaming
* use getMatch more
* add split to wrap/unwrap
* flip levels/ancestors ordering
* switch splitNodes to use levels
* change split to always:false by default
* fix tests
* add more queries tests
* fixing more delete logic
* add more splitNodes tests
* get rest of delete tests passing
* fix location-based logic in some commands
* cleanup
* get previous packages tests passing again
* add slate-history package
* start slate-schema work
* start of react working
* rendering fixes
* get rich and plain text examples working
* get image example working with hooks and dropping
* refactor onDrop to be internal
* inline more event handlers
* refactor lots of event-related logic
* change rendering to use render props
* delete unused stuff
* cleanup dom utils
* remove unused deps
* remove unnecessary packages, add placeholder
* remove slate-react-placeholder package
* remove unused dep
* remove unnecessary tests, fix readonly example
* convert checklists example
* switch to next from webpack
* get link example working
* convert more examples
* preserve keys, memoized leafs/texts, fix node lookup
* fix to always useLayoutEffect for ordering
* fix annotations to be maps, memoize elements
* remove Change interface
* remove String interface
* rename Node.entries to Node.nodes
* remove unnecessary value queries
* default to selection when iterating, cleanup
* remove unused files
* update scroll into view logic
* fix undoing, remove constructor types
* dont sync selection while composing
* add workflows
* remove unused deps
* convert mentions example
* tweaks
* convert remaining examples
* rename h to jsx, update schema
* fix schema tests
* fix slate-schema logic and tests
* really fix slate-schema and forced-layout example
* get start of insertFragment tests working
* remove Fragment interface
* remove debugger
* get all non-skipped tests passing
* cleanup deps
* run prettier
* configure eslint for typescript
* more eslint fixes...
* more passing
* update some docs
* fix examples
* port windows undo hotkey change
* fix deps, add basic firefox support
* add event overriding, update walkthroughs
* add commands, remove classes, cleanup examples
* cleanup rollup config
* update tests
* rename queries tests
* update other tests
* update walkthroughs
* cleanup interface exports
* cleanup, change mark transforms to require location
* undo mark transform change
* more
* fix tests
* fix example
* update walkthroughs
* update docs
* update docs
* remove annotations
* remove value, move selection and children to editor
* add migrating doc
* fix lint
* fix tests
* fix DOM types aliasing
* add next export
* update deps, fix prod build
* fix prod build
* update scripts
* update docs and changelogs
* update workflow and pull request template
2019-11-27 20:54:42 -05:00
dependabot[bot]
69f85a77f2
Bump macaddress from 0.2.8 to 0.2.9 ( #3106 )
...
Bumps [macaddress](https://github.com/scravy/node-macaddress ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/scravy/node-macaddress/releases )
- [Commits](https://github.com/scravy/node-macaddress/compare/0.2.8...0.2.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 19:59:00 -05:00
dependabot[bot]
dd6438436d
Bump webpack-dev-server from 2.11.1 to 3.1.11 ( #3104 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 2.11.1 to 3.1.11.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v2.11.1...v3.1.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 19:46:03 -05:00
dependabot[bot]
06635fde9b
Bump atob from 2.0.3 to 2.1.2 ( #3105 )
...
Bumps [atob](https://github.com/coolaj86/node-browser-compat ) from 2.0.3 to 2.1.2.
- [Release notes](https://github.com/coolaj86/node-browser-compat/releases )
- [Commits](https://github.com/coolaj86/node-browser-compat/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 19:45:57 -05:00
dependabot[bot]
84d1ba4a2b
Bump tar from 2.2.1 to 2.2.2 ( #3102 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 19:45:17 -05:00
dependabot[bot]
4812ad4833
Bump extend from 3.0.1 to 3.0.2 ( #3103 )
...
Bumps [extend](https://github.com/justmoon/node-extend ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/justmoon/node-extend/releases )
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md )
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 19:45:09 -05:00
dependabot[bot]
ec3e32c95b
Bump sshpk from 1.13.0 to 1.16.1 ( #3100 )
...
Bumps [sshpk](https://github.com/joyent/node-sshpk ) from 1.13.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases )
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.0...v1.16.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:33:09 -05:00
dependabot[bot]
c2a33e9664
Bump fstream from 1.0.11 to 1.0.12 ( #3101 )
...
Bumps [fstream](https://github.com/npm/fstream ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases )
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:33:02 -05:00
dependabot[bot]
488cede2f6
Bump mixin-deep from 1.3.1 to 1.3.2 ( #3099 )
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:32:45 -05:00
dependabot[bot]
7084bd4f08
Bump clean-css from 4.1.9 to 4.1.11 ( #3098 )
...
Bumps [clean-css](https://github.com/jakubpawlowicz/clean-css ) from 4.1.9 to 4.1.11.
- [Release notes](https://github.com/jakubpawlowicz/clean-css/releases )
- [Changelog](https://github.com/jakubpawlowicz/clean-css/blob/master/History.md )
- [Commits](https://github.com/jakubpawlowicz/clean-css/compare/v4.1.9...v4.1.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:32:36 -05:00
dependabot[bot]
51400f377e
Bump lodash from 4.17.4 to 4.17.13 ( #3097 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.4 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.4...4.17.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:32:23 -05:00
dependabot[bot]
db688e5460
Bump nwmatcher from 1.4.3 to 1.4.4 ( #3096 )
...
Bumps [nwmatcher](https://github.com/dperini/nwmatcher ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/dperini/nwmatcher/releases )
- [Commits](https://github.com/dperini/nwmatcher/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 18:32:05 -05:00
Ian Storm Taylor
a5a25f97dd
Introduce annotations ( #2747 )
...
* first stab at removing leaves with tests passing
* fixes
* add iterables to the element interface
* use iterables in more places
* update examples to use iterables
* update naming
* fix tests
* convert more key-based logic to paths
* add range support to iterables
* refactor many methods to use iterables, deprecate cruft
* clean up existing iterables
* more cleanup
* more cleaning
* fix word count example
* work
* split decoration and annotations
* update examples for `renderNode` useage
* deprecate old DOM-based helpers, update examples
* make formats first class, refactor leaf rendering
* fix examples, fix isAtomic checking
* deprecate leaf model
* convert Text and Leaf to functional components
* fix lint and tests
2019-05-08 20:26:08 -07:00
Ian Storm Taylor
4557c0fba7
fix === equality for linter
2019-03-06 14:26:41 -08:00
David Gertmenian-Wong
37bab503b4
Use babel-polyfill
in place of polyfill.io
CDN ( #2496 )
...
Update provides support for running the examples app on IE 11.
There appeared to be a number of issues with using `polyfill.io`
with slate. While trying to run the example app on IE 11, I ran
into each of the following:
https://github.com/Financial-Times/polyfill-service/issues/792
https://github.com/Financial-Times/polyfill-service/issues/854
https://github.com/Financial-Times/polyfill-service/issues/1341
`babel-polyfill` provides more robust support for polyfilling and
will allow for better targeting of supported browser envs in the
future (if desired).
Also includes `element-closest` polyfill, which is necessary for
using with IE 11 :(
2019-01-29 16:16:12 -08:00
Dundercover
76a88a649a
Add editor.HasCommand
and editor.HasQuery
( #2438 )
...
* Add `editor.hasCommand` method
* Add `editor.hasQuery` method
* Rename directories `hasCommand` and `hasQuery` to kebab case
* Add tests for `editor.hasCommand` of React component
* Add tests for `editor.hasQuery` of React component
2018-12-11 11:25:53 -08:00
Ian Storm Taylor
7a31faa3f6
remove code coverage reporting
2018-11-09 16:39:56 -08:00