prosekit 0.11.2 → 0.11.4

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.
@@ -544,7 +544,6 @@ import { NodeViewOptions } from '@prosekit/core';
544
544
  import { OBJECT_REPLACEMENT_CHARACTER } from '@prosekit/core';
545
545
  import { openDoubleQuote } from '@prosekit/pm/inputrules';
546
546
  import { openSingleQuote } from '@prosekit/pm/inputrules';
547
- import { Options } from 'tsup';
548
547
  import { ParagraphExtension } from '@prosekit/core';
549
548
  import { ParseOptions } from '@prosekit/pm/model';
550
549
  import { ParseRule } from '@prosekit/pm/model';
@@ -1386,14 +1385,6 @@ export { DecorationSource }
1386
1385
 
1387
1386
  export { DedentListOptions }
1388
1387
 
1389
- export declare namespace default_alias {
1390
- let plugins: {
1391
- 'postcss-nesting': {};
1392
- };
1393
- }
1394
-
1395
- export declare const default_alias_1: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
1396
-
1397
1388
  export { defaultBlockAt }
1398
1389
 
1399
1390
  export { DefaultStateOptions }
@@ -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",
3
3
  "type": "module",
4
- "version": "0.11.2",
4
+ "version": "0.11.4",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -566,17 +566,17 @@
566
566
  "dist"
567
567
  ],
568
568
  "dependencies": {
569
- "@prosekit/basic": "0.3.35",
569
+ "@prosekit/basic": "0.3.36",
570
570
  "@prosekit/core": "0.7.14",
571
- "@prosekit/lit": "0.4.6",
572
571
  "@prosekit/extensions": "0.7.23",
573
572
  "@prosekit/pm": "0.1.9",
574
- "@prosekit/react": "0.4.7",
575
- "@prosekit/solid": "0.4.7",
576
- "@prosekit/preact": "0.4.6",
577
- "@prosekit/svelte": "0.6.2",
578
- "@prosekit/vue": "0.4.7",
579
- "@prosekit/web": "0.5.2"
573
+ "@prosekit/lit": "0.4.8",
574
+ "@prosekit/preact": "0.4.8",
575
+ "@prosekit/react": "0.4.9",
576
+ "@prosekit/solid": "0.4.9",
577
+ "@prosekit/svelte": "0.6.4",
578
+ "@prosekit/vue": "0.4.9",
579
+ "@prosekit/web": "0.5.4"
580
580
  },
581
581
  "peerDependencies": {
582
582
  "loro-crdt": ">= 0.16.7",
@@ -623,31 +623,31 @@
623
623
  }
624
624
  },
625
625
  "devDependencies": {
626
- "@types/react": "^18.3.17",
626
+ "@types/react": "^18.3.18",
627
627
  "@types/react-dom": "^18.3.5",
628
- "loro-crdt": "^1.2.2",
629
- "loro-prosemirror": "^0.2.0",
630
- "postcss": "^8.4.49",
628
+ "loro-crdt": "^1.3.0",
629
+ "loro-prosemirror": "^0.2.1",
630
+ "postcss": "^8.5.0",
631
631
  "postcss-nesting": "^13.0.1",
632
- "preact": "^10.25.3",
632
+ "preact": "^10.25.4",
633
633
  "react": "^18.3.1",
634
634
  "react-dom": "^18.3.1",
635
- "solid-js": "^1.9.3",
636
- "svelte": "^5.14.4",
635
+ "solid-js": "^1.9.4",
636
+ "svelte": "^5.17.4",
637
637
  "tsup": "^8.3.5",
638
- "typedoc": "^0.27.5",
638
+ "typedoc": "^0.27.6",
639
639
  "typedoc-plugin-external-package-links": "^0.1.0",
640
640
  "typedoc-plugin-md": "^0.5.0",
641
- "typedoc-plugin-mdn-links": "^4.0.5",
642
- "typescript": "~5.6.3",
641
+ "typedoc-plugin-mdn-links": "^4.0.8",
642
+ "typescript": "~5.7.2",
643
643
  "vue": "^3.5.13",
644
644
  "y-prosemirror": "^1.2.15",
645
- "yjs": "^13.6.20",
645
+ "yjs": "^13.6.22",
646
646
  "@prosekit/dev": "0.0.0"
647
647
  },
648
648
  "scripts": {
649
- "build:tsup": "tsup",
650
- "build:tsc": "tsc -b tsconfig.json"
649
+ "build:tsc": "tsc -b tsconfig.json",
650
+ "build:tsup": "tsup"
651
651
  },
652
652
  "types": "./dist/prosekit.d.ts",
653
653
  "typesVersions": {