@textbus/xnote 0.3.2 → 0.3.3

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,7 +1,7 @@
1
1
  import { Slot } from '@textbus/core';
2
2
  import { DynamicRef } from '@viewfly/core';
3
3
  import { HTMLAttributes } from '@viewfly/platform-browser';
4
- interface Props extends HTMLAttributes<unknown> {
4
+ export interface SlotRenderProps extends HTMLAttributes<unknown> {
5
5
  slot: Slot;
6
6
  /** 默认值为 div */
7
7
  tag?: string;
@@ -10,5 +10,4 @@ interface Props extends HTMLAttributes<unknown> {
10
10
  elRef?: DynamicRef<HTMLElement>;
11
11
  elKey?: number | string;
12
12
  }
13
- export declare function SlotRender(props: Props): () => any;
14
- export {};
13
+ export declare function SlotRender(props: SlotRenderProps): () => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "A high-performance rich text editor that supports multiplayer online collaboration.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -27,14 +27,14 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@tanbo/color": "^0.1.1",
30
- "@textbus/adapter-viewfly": "^4.3.3",
31
- "@textbus/collaborate": "^4.3.3",
32
- "@textbus/core": "^4.3.3",
33
- "@textbus/platform-browser": "^4.3.3",
34
- "@viewfly/core": "^1.1.2",
35
- "@viewfly/hooks": "^1.1.2",
36
- "@viewfly/platform-browser": "^1.1.5",
37
- "@viewfly/scoped-css": "^1.1.2",
30
+ "@textbus/adapter-viewfly": "^4.3.5",
31
+ "@textbus/collaborate": "^4.3.5",
32
+ "@textbus/core": "^4.3.5",
33
+ "@textbus/platform-browser": "^4.3.5",
34
+ "@viewfly/core": "^1.1.10",
35
+ "@viewfly/hooks": "^1.1.10",
36
+ "@viewfly/platform-browser": "^1.1.10",
37
+ "@viewfly/scoped-css": "^1.1.10",
38
38
  "highlight.js": "^11.9.0",
39
39
  "katex": "^0.16.10",
40
40
  "uuid": "^10.0.0"
@@ -47,7 +47,7 @@
47
47
  "@types/uuid": "^10.0.0",
48
48
  "@typescript-eslint/eslint-plugin": "^5.8.0",
49
49
  "@typescript-eslint/parser": "^5.8.0",
50
- "@viewfly/devtools": "^1.1.4",
50
+ "@viewfly/devtools": "^1.1.10",
51
51
  "autoprefixer": "^10.4.0",
52
52
  "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
53
53
  "core-js": "^3.20.1",