@textbus/xnote 0.2.4 → 0.2.6

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 @@ export * from './block.tool';
3
3
  export * from './bold.tool';
4
4
  export * from './clean-formats.tool';
5
5
  export * from './code.tool';
6
- export * from './color.tool';
7
6
  export * from './font-family.tool';
8
7
  export * from './font-size.tool';
9
8
  export * from './insert.tool';
@@ -14,6 +13,8 @@ export * from './redo.tool';
14
13
  export * from './strike-through.tool';
15
14
  export * from './subscript.tool';
16
15
  export * from './superscript.tool';
16
+ export * from './text-background-color.tool';
17
+ export * from './text-color.tool';
17
18
  export * from './underline.tool';
18
19
  export * from './undo.tool';
19
20
  export * from './table/_api';
@@ -3,6 +3,7 @@ import { Signal } from '@viewfly/core';
3
3
  export interface CommonState {
4
4
  inSourceCode: boolean;
5
5
  readonly: boolean;
6
+ selectEmbed: boolean;
6
7
  }
7
8
  export declare class ToolService {
8
9
  private selection;
@@ -0,0 +1,11 @@
1
+ import { Props } from '@viewfly/core';
2
+ import { Slot } from '@textbus/core';
3
+ import { HTMLAttributes } from '@viewfly/platform-browser';
4
+ import { DropdownProps } from '../../components/dropdown/dropdown';
5
+ export interface TextBackgroundColorToolProps extends Props {
6
+ abreast?: DropdownProps['abreast'];
7
+ style?: HTMLAttributes<HTMLElement>['style'];
8
+ slot?: Slot | null;
9
+ applyBefore?(): void;
10
+ }
11
+ export declare function TextBackgroundColorTool(props: TextBackgroundColorToolProps): () => import("@viewfly/core/jsx-runtime").JSX.Element;
@@ -2,10 +2,10 @@ import { Props } from '@viewfly/core';
2
2
  import { Slot } from '@textbus/core';
3
3
  import { HTMLAttributes } from '@viewfly/platform-browser';
4
4
  import { DropdownProps } from '../../components/dropdown/dropdown';
5
- export interface ColorToolProps extends Props {
5
+ export interface TextColorToolProps extends Props {
6
6
  abreast?: DropdownProps['abreast'];
7
7
  style?: HTMLAttributes<HTMLElement>['style'];
8
8
  slot?: Slot | null;
9
9
  applyBefore?(): void;
10
10
  }
11
- export declare function ColorTool(props: ColorToolProps): () => import("@viewfly/core").JSXNode;
11
+ export declare function TextColorTool(props: TextColorToolProps): () => import("@viewfly/core/jsx-runtime").JSX.Element;
@@ -1,6 +1,8 @@
1
1
  import { Subject } from '@textbus/core';
2
+ import { TableComponent } from './table.component';
2
3
  export declare class TableService {
3
4
  onInsertRowBefore: Subject<number | null>;
4
5
  onInsertColumnBefore: Subject<number | null>;
5
6
  onScroll: Subject<number>;
6
7
  }
8
+ export declare function isShowMask(component: TableComponent): boolean | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
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",