@podlite/editor-react 0.0.91 → 0.0.92

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.podlite CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  =head1 Upcoming
4
4
 
5
+ =head1 0.0.92
6
+
7
+ =item the editor shows the parser diagnostics of severity C<error>, such as C<table-header-invalid>, as errors
8
+
5
9
  =head1 0.0.91
6
10
 
7
11
  =item the body of a verbatim block written the short way, such as C<=for assert> or C<=for code :lang<js>>, keeps its highlighting when the editor parses a long or busy document in parts
@@ -1,7 +1,7 @@
1
1
  import { Diagnostic } from '@codemirror/lint';
2
2
  import type { Extension } from '@codemirror/state';
3
3
  export type ParseDiagnostic = {
4
- severity: 'warning';
4
+ severity: 'warning' | 'error';
5
5
  message: string;
6
6
  location: {
7
7
  start: {
@@ -1,7 +1,7 @@
1
1
  import { Diagnostic } from '@codemirror/lint';
2
2
  import type { Extension } from '@codemirror/state';
3
3
  export type ParseDiagnostic = {
4
- severity: 'warning';
4
+ severity: 'warning' | 'error';
5
5
  message: string;
6
6
  location: {
7
7
  start: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/editor-react",
3
- "version": "0.0.91",
3
+ "version": "0.0.92",
4
4
  "description": "Rich text editor React component for Podlite — syntax highlighting, live preview, CodeMirror 6",
5
5
  "main": "./lib/index.js",
6
6
  "exports": {
@@ -88,14 +88,14 @@
88
88
  "@lezer/common": "^1.5.0",
89
89
  "@lezer/highlight": "^1.2.1",
90
90
  "@lezer/markdown": "^1.0.0",
91
- "@podlite/highlight": "0.0.19",
92
- "@podlite/schema": "0.0.85",
93
- "@podlite/to-jsx": "0.0.89",
91
+ "@podlite/highlight": "0.0.20",
92
+ "@podlite/schema": "0.0.86",
93
+ "@podlite/to-jsx": "0.0.90",
94
94
  "@uiw/codemirror-extensions-basic-setup": "^4.23.8",
95
95
  "@uiw/codemirror-extensions-events": "^4.23.8",
96
96
  "@uiw/codemirror-themes": "^4.23.8",
97
97
  "dom-to-image-more": "^3.7.2",
98
- "podlite": "0.0.98",
98
+ "podlite": "0.0.99",
99
99
  "shiki": "^3.21.0",
100
100
  "tslib": "^2.8.1"
101
101
  },