@prosekit/basic 0.3.35 → 0.3.36

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.
@@ -3,7 +3,6 @@ import { BaseKeymapExtension } from '@prosekit/core';
3
3
  import { BlockquoteExtension } from '@prosekit/extensions/blockquote';
4
4
  import { BoldExtension } from '@prosekit/extensions/bold';
5
5
  import { CodeExtension } from '@prosekit/extensions/code';
6
- import { config as default_alias_2 } from '@prosekit/dev/config-vitest';
7
6
  import { DocExtension } from '@prosekit/core';
8
7
  import { DropCursorExtension } from '@prosekit/extensions/drop-cursor';
9
8
  import { GapCursorExtension } from '@prosekit/extensions/gap-cursor';
@@ -15,7 +14,6 @@ import { ItalicExtension } from '@prosekit/extensions/italic';
15
14
  import { LinkExtension } from '@prosekit/extensions/link';
16
15
  import { ListExtension } from '@prosekit/extensions/list';
17
16
  import { ModClickPreventionExtension } from '@prosekit/extensions/mod-click-prevention';
18
- import { Options } from 'tsup';
19
17
  import { ParagraphExtension } from '@prosekit/core';
20
18
  import { StrikeExtension } from '@prosekit/extensions/strike';
21
19
  import { TableExtension } from '@prosekit/extensions/table';
@@ -52,16 +50,6 @@ ModClickPreventionExtension,
52
50
  TableExtension
53
51
  ]>;
54
52
 
55
- export declare namespace default_alias {
56
- let plugins: {
57
- 'postcss-nesting': {};
58
- };
59
- }
60
-
61
- export declare const default_alias_1: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
62
-
63
- export { default_alias_2 }
64
-
65
53
  /**
66
54
  * Define a basic extension that includes some common functionality. You can
67
55
  * copy this function and customize it to your needs.
@@ -3,6 +3,9 @@ div.ProseMirror {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  }
6
+ div.ProseMirror {
7
+ line-height: 1.5;
8
+ }
6
9
  div.ProseMirror p:first-child,
7
10
  div.ProseMirror h1:first-child,
8
11
  div.ProseMirror h2:first-child,
@@ -105,6 +108,7 @@ div.ProseMirror hr {
105
108
  div.ProseMirror .prosekit-horizontal-rule {
106
109
  padding: 1em 0;
107
110
  margin: 1em 0;
111
+ line-height: 1px;
108
112
  }
109
113
  :is(div.ProseMirror .prosekit-horizontal-rule) hr {
110
114
  margin: 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/basic",
3
3
  "type": "module",
4
- "version": "0.3.35",
4
+ "version": "0.3.36",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -42,20 +42,20 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@prosekit/core": "^0.7.14",
45
- "@prosekit/pm": "^0.1.9",
46
- "@prosekit/extensions": "^0.7.23"
45
+ "@prosekit/extensions": "^0.7.23",
46
+ "@prosekit/pm": "^0.1.9"
47
47
  },
48
48
  "devDependencies": {
49
- "postcss": "^8.4.49",
49
+ "postcss": "^8.5.0",
50
50
  "postcss-nesting": "^13.0.1",
51
51
  "tsup": "^8.3.5",
52
- "typescript": "~5.6.3",
52
+ "typescript": "~5.7.2",
53
53
  "vitest": "^2.1.8",
54
54
  "@prosekit/dev": "0.0.0"
55
55
  },
56
56
  "scripts": {
57
- "build:tsup": "tsup",
58
- "build:tsc": "tsc -b tsconfig.json"
57
+ "build:tsc": "tsc -b tsconfig.json",
58
+ "build:tsup": "tsup"
59
59
  },
60
60
  "types": "./dist/prosekit-basic.d.ts",
61
61
  "typesVersions": {