1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-18 04:09:42 +01:00

167 Commits

Author SHA1 Message Date
github-actions[bot]
07b049f59b
Version Packages (#5373)
* Version Packages

* Update changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2023-04-03 16:51:02 -07:00
Anthony Ciccarello
d42cd005db
enable eslint hooks rules (#5363) 2023-03-17 10:45:54 -07:00
dependabot[bot]
96ad964bee
Bump minimist from 1.2.5 to 1.2.8 (#5324)
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 20:51:46 -07:00
github-actions[bot]
b32428e882
Version Packages (#5312)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-23 16:19:13 -07:00
github-actions[bot]
942fbd7ceb
Version Packages (#5304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-22 13:53:03 -07:00
github-actions[bot]
be564cef2b
Version Packages (#5299)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-18 18:47:29 -07:00
Sergei Dedkov
9635b992a0
Compare only decorations offsets in MemoizedText. Code highlighting example improvements. (#5271)
* add basePath prop to Range inside slate-react custom types, calculate absolute ranges on passing them into TextComponent

* code highlighting example improvements, minor markdown preview refactoring

* changeset added

* Revert "add basePath prop to Range inside slate-react custom types, calculate absolute ranges on passing them into TextComponent"

This reverts commit afa085c289bc67ce3d27dd33b1f074ab8153efe8.

* add basePath prop to Point inside slate-react custom types, resolve relative ranges on passing them to TextComponent

* Update changeset

* linter fixes

* remove redundant checks inside renderElement function

* custom types fixes for Range and Point in examples

* wrap intervals and ranges extractors in useMemo hook for running them only if editor.children is changed

* revert basePath changes, compare only offsets for MemoizedText decorations

* use an element as a key in decorations ranges map instead of id

* simplify code highlighting implementation, make code block nested

* fix code-highlighting example, add toolbar code block button

* remove redundant code

* fix code highlighting playwright integration test
2023-02-09 11:53:21 -07:00
github-actions[bot]
9de2e2c316
Version Packages (#5279)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 04:44:35 -07:00
Kyle McLean
3cf51f4d88
Improve compatibility for browsers that do not support ResizeObserver or :where selector (#5265)
* Add fallback for default styles when `:where` selector is not supported

* Add polyfill for ResizeObserver

* Add changeset
2023-01-30 16:37:03 -07:00
Gary Borton
5dc4396f6b
Switch from cypress to playwright. (#5248)
* empty

* empty

* empty

* Begin move from cypress to playwright.

* Switch remaining tests to playwright, remove old cypress suppport files.

* Clean up playwright config

* Enable ff, and safari when on mac.

* Fix safari/ff mentions test

* Fix code-highlighting test on ff/safari

* Add a local retry as a few tests are flaky.

* Replace cypress w/ playwright in gitignore.

* Update to latest yarn to fix ci install?

* Update yarn.lock w/ yarn command.

* Fix mocha tests.

* Fix prettier
2023-01-13 20:36:04 -07:00
Michael
cb133a785f
upgrade yarn (#5242)
Signed-off-by: Michael Darr <michael.e.darr@gmail.com>

Signed-off-by: Michael Darr <michael.e.darr@gmail.com>
2023-01-07 05:58:12 -07:00
github-actions[bot]
f2fb5aac5d
Version Packages (#5238)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-22 04:37:32 -07:00
dependabot[bot]
56c4875a4b
Bump terser from 5.7.1 to 5.15.1 (#5185)
Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.15.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.7.1...v5.15.1)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 22:23:49 -07:00
dependabot[bot]
db30bbf4bb
Bump decode-uri-component from 0.2.0 to 0.2.2 (#5209)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 22:23:38 -07:00
dependabot[bot]
30c1155e51
Bump qs from 6.5.2 to 6.5.3 (#5214)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 22:23:21 -07:00
github-actions[bot]
a4cc213087
Version Packages (#5210)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-04 15:52:04 -07:00
Kyle McLean
96b7fcdbf9
Use stylesheets to give Editable components default styles (#5206)
* Use stylesheet to give Editable components a default style

* Give Editors a unique id

* Use per-editor stylesheets to give editors a min-height

* Make editor min-height respond to changes in placeholder height

* Add changeset for stylesheet changes

* Prevent unnecessary creations of ResizeObservers

* Update yarn.lock
2022-12-03 21:26:17 -07:00
github-actions[bot]
a24ddd12cd
Version Packages (#5198)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-17 10:59:49 -07:00
github-actions[bot]
6efe3d9a22
Version Packages (#5162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08 10:36:36 -07:00
github-actions[bot]
2adda79e65
Version Packages (#5159)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-19 21:36:54 -07:00
dependabot[bot]
c19ab7853f
Bump shell-quote from 1.7.2 to 1.7.3 (#5156)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/ljharb/shell-quote/releases)
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 11:57:38 -07:00
github-actions[bot]
98afb5abf8
Version Packages (#5086)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 17:27:28 -07:00
github-actions[bot]
1d5984cccd
Version Packages (#5058)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-29 04:08:20 -07:00
github-actions[bot]
f55026f0ba
Version Packages (#5049)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-22 16:37:11 -07:00
github-actions[bot]
22951adf93
Version Packages (#5040)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-15 06:18:53 -07:00
Bryan Haakman
11a93e65de
Upgrade next.js to 12 and related packages (#5042)
* Upgrade next.js and source-map-loader

* Add changeset

* Upgrade eslint and typescript

* improve reliability of iframe test

* fix lint
2022-07-15 06:14:18 -07:00
github-actions[bot]
1c5639fdd6
Version Packages (#5009)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-03 04:16:55 -07:00
github-actions[bot]
25be3b7031
Version Packages (#4985)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 17:00:21 -07:00
jasonphillips
92c5730a96
Fix: revert to prior decorations behavior (#5007)
* Revert "Fix child element decorations (#4910)"

This reverts commit 2a8d86f1a40bcc806422e6fe3658ddd810ce73a5.

* Revert "Fix stale decorations (#4876)"

This reverts commit 1b205c087bef2f2360679c46801804d6d30a8139.

* chore: add changeset
2022-05-25 14:01:14 -07:00
github-actions[bot]
d8da50f761
Version Packages (#4977)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-26 12:26:14 -07:00
github-actions[bot]
f362cd7a19
Version Packages (#4953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 13:10:05 -07:00
github-actions[bot]
5160efeea4
Version Packages (#4935)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13 11:14:29 -07:00
github-actions[bot]
4df23c6e41
Version Packages (#4921)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-03 10:02:04 -07:00
github-actions[bot]
ce63a08c8e
Version Packages (#4898)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 01:03:44 +00:00
github-actions[bot]
1433499e98
Version Packages (#4890)
* Version Packages

* Update packages/slate/CHANGELOG.md

* Update packages/slate/CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2022-03-14 22:36:10 -07:00
Nemanja Tosic
1b205c087b
Fix stale decorations (#4876)
* test changes

* fix decoration not updating

* Add changeset

* Fix lint issues

* Tests with earlier version of Node.js

* Bump node version on CI

The base typescript config uses ESNext as target, so presumably the
latest node should be used.

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2022-03-09 04:06:18 -07:00
Dylan Schiemann
9907ad004e
Update to Node v16 for infrastructure (#4877)
* Update to Node v16 for infrastructure

* update node type def to Node 16
2022-03-08 19:25:28 -07:00
github-actions[bot]
442d263672
Version Packages (#4843)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-23 13:16:57 -07:00
github-actions[bot]
4b97197f9a
Version Packages (#4815)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-31 12:43:10 -07:00
Dylan Schiemann
ce1e096df7
update emotion dependency for site (#4783) 2022-01-11 08:36:04 -07:00
github-actions[bot]
a54a8e317f
Version Packages (#4736)
* Version Packages

* Update CHANGELOG.md

Add a missing changeset from one of the PRs.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2021-12-22 05:05:07 -07:00
github-actions[bot]
dc2999a1aa
Version Packages (#4713)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-07 06:57:26 -07:00
github-actions[bot]
fece5c1570
Version Packages (#4683)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-23 03:17:06 -07:00
github-actions[bot]
9874ed704f
Version Packages (#4637)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-07 07:09:15 -07:00
github-actions[bot]
d467e33c33
Version Packages (#4610)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-24 08:11:55 -07:00
github-actions[bot]
3678590ccf
Version Packages (#4594)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-18 14:05:11 -07:00
github-actions[bot]
38717ad455
Version Packages (#4539)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-23 12:28:47 -07:00
github-actions[bot]
35b722cadd
Version Packages (#4520)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 01:20:36 -07:00
Dylan Schiemann
91ca440723
Attempt fix the release process (#4510)
* Attempt fix the release process

* unbreak the release process
2021-09-13 04:48:09 -07:00
Dylan Schiemann
269e59c93a
Immer 9 security update (#4505)
* add yarn upgrade-interactive plugin

* chore(immer): update immer to address security issue

* Add changeset
2021-09-09 14:16:50 -07:00