@textbus/adapter-vue 4.0.0-alpha.20 → 4.0.0-alpha.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ export interface ViewComponentProps<T extends Component = Component> {
6
6
  component: ExtractComponentInstanceType<T>;
7
7
  rootRef: Ref<HTMLElement | undefined>;
8
8
  }
9
- export interface ReactAdapterComponents {
9
+ export interface VueAdapterComponents {
10
10
  [key: string]: DefineComponent<ViewComponentProps>;
11
11
  }
12
12
  /**
@@ -16,7 +16,7 @@ export declare class Adapter extends DomAdapter<VNode, VNode> {
16
16
  onViewUpdated: Subject<void>;
17
17
  private components;
18
18
  private componentRefs;
19
- constructor(components: ReactAdapterComponents, mount: (host: HTMLElement, root: VNode) => (void | (() => void)));
19
+ constructor(components: VueAdapterComponents, mount: (host: HTMLElement, root: VNode) => (void | (() => void)));
20
20
  componentRender(component: ComponentInstance): VNode;
21
21
  slotRender(slot: Slot, slotHostRender: (children: Array<VElement | VTextNode | ComponentInstance>) => VElement, renderEnv?: any): VNode;
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-vue",
3
- "version": "4.0.0-alpha.20",
3
+ "version": "4.0.0-alpha.21",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@tanbo/stream": "^1.2.0",
29
- "@textbus/core": "^4.0.0-alpha.20",
30
- "@textbus/platform-browser": "^4.0.0-alpha.20",
29
+ "@textbus/core": "^4.0.0-alpha.21",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.21",
31
31
  "vue": "^3.3.4"
32
32
  },
33
33
  "devDependencies": {
@@ -48,5 +48,5 @@
48
48
  "bugs": {
49
49
  "url": "https://github.com/textbus/textbus.git/issues"
50
50
  },
51
- "gitHead": "ed4e16ca55fe6fc4db88e9ba9e7bd2df30ef01b9"
51
+ "gitHead": "f3b0668195a35f483a797280cdb4a303ebb27a12"
52
52
  }