@codemirror/state 0.19.8 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/index.cjs +1694 -123
- package/dist/index.d.ts +527 -65
- package/dist/index.js +1664 -102
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
## 0.20.1 (2022-06-02)
|
|
2
|
+
|
|
3
|
+
### New features
|
|
4
|
+
|
|
5
|
+
`EditorView.phrase` now accepts additional arguments, which it will interpolate into the phrase in the place of `$` markers.
|
|
6
|
+
|
|
7
|
+
## 0.20.0 (2022-04-20)
|
|
8
|
+
|
|
9
|
+
### Breaking changes
|
|
10
|
+
|
|
11
|
+
The deprecated precedence names `fallback`, `extend`, and `override` were removed from the library.
|
|
12
|
+
|
|
13
|
+
### Bug fixes
|
|
14
|
+
|
|
15
|
+
Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used.
|
|
16
|
+
|
|
17
|
+
Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration.
|
|
18
|
+
|
|
19
|
+
Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations.
|
|
20
|
+
|
|
21
|
+
### New features
|
|
22
|
+
|
|
23
|
+
The exports from @codemirror/rangeset now live in this package.
|
|
24
|
+
|
|
25
|
+
The exports from @codemirror/text now live in this package.
|
|
26
|
+
|
|
27
|
+
## 0.19.9 (2022-02-16)
|
|
28
|
+
|
|
29
|
+
### Bug fixes
|
|
30
|
+
|
|
31
|
+
Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version.
|
|
32
|
+
|
|
1
33
|
## 0.19.8 (2022-02-15)
|
|
2
34
|
|
|
3
35
|
### Bug fixes
|