@prosekit/basic 0.3.10 → 0.3.11

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.
@@ -1,5 +1,6 @@
1
1
  import { Attrs } from 'prosemirror-model';
2
2
  import { DedentListOptions } from 'prosemirror-flat-list';
3
+ import { config as default_alias_2 } from '@prosekit/dev/config-vitest';
3
4
  import { Extension } from '@prosekit/core';
4
5
  import { HeadingAttrs } from '@prosekit/extensions/heading';
5
6
  import { ImageAttrs } from '@prosekit/extensions/image';
@@ -27,15 +28,11 @@ export declare namespace default_alias {
27
28
 
28
29
  export declare const default_alias_1: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
29
30
 
30
- export declare const default_alias_2: {
31
- test: {
32
- environment: "jsdom";
33
- };
34
- };
31
+ export { default_alias_2 }
35
32
 
36
33
  /**
37
- * A basic extension that includes some common functionality. You can copy this
38
- * function and customize it to your needs.
34
+ * Define a basic extension that includes some common functionality. You can
35
+ * copy this function and customize it to your needs.
39
36
  * @public
40
37
  */
41
38
  export declare function defineBasicExtension(): Extension< {
package/dist/style.css CHANGED
@@ -49,7 +49,7 @@ img.ProseMirror-separator {
49
49
 
50
50
  /* ../pm/src/view/style/prosemirror.css */
51
51
 
52
- /* ../../node_modules/.pnpm/prosemirror-flat-list@0.5.0/node_modules/prosemirror-flat-list/dist/style.css */
52
+ /* ../../node_modules/.pnpm/prosemirror-flat-list@0.5.1/node_modules/prosemirror-flat-list/dist/style.css */
53
53
  .prosemirror-flat-list {
54
54
  padding: 0;
55
55
  margin-top: 0;
@@ -186,4 +186,13 @@ img.ProseMirror-separator {
186
186
  border-radius: 2px;
187
187
  }
188
188
 
189
+ /* ../extensions/src/commit/style.css */
190
+ .prosekit-commit-deletion {
191
+ background-color: #e5534b80;
192
+ text-decoration: line-through;
193
+ }
194
+ .prosekit-commit-addition {
195
+ background-color: #53e54b80;
196
+ }
197
+
189
198
  /* src/style.css */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/basic",
3
3
  "type": "module",
4
- "version": "0.3.10",
4
+ "version": "0.3.11",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -41,16 +41,16 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@prosekit/core": "^0.6.1",
45
- "@prosekit/pm": "^0.1.5",
46
- "@prosekit/extensions": "^0.6.1"
44
+ "@prosekit/extensions": "^0.7.0",
45
+ "@prosekit/core": "^0.7.0",
46
+ "@prosekit/pm": "^0.1.5"
47
47
  },
48
48
  "devDependencies": {
49
- "postcss": "^8.4.38",
49
+ "postcss": "^8.4.39",
50
50
  "postcss-nesting": "^12.1.5",
51
51
  "tsup": "^8.1.0",
52
- "typescript": "^5.5.2",
53
- "vitest": "^1.6.0",
52
+ "typescript": "^5.5.3",
53
+ "vitest": "^2.0.0-beta.13",
54
54
  "@prosekit/dev": "0.0.0"
55
55
  },
56
56
  "scripts": {