@moubing/bing-ui 0.11.0 → 0.11.1

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.
@@ -7,7 +7,7 @@ interface CursorOwner {
7
7
  nativeCursor: (type: BingCursorType) => string | undefined;
8
8
  }
9
9
  export declare function registerCursor(owner: CursorOwner): {
10
- refresh: () => void;
10
+ refresh(): void;
11
11
  destroy(): void;
12
12
  };
13
13
  export {};
@@ -1,5 +1,6 @@
1
1
  /** 将原 cursor 声明映射到私有变量,让浏览器继续处理选择器、优先级和继承。 */
2
2
  export declare function createCursorStyleSource(doc: Document): {
3
- read(target: Element, scanRules?: boolean): string;
3
+ palette(property: string, render: (value: string) => string): () => void;
4
+ read(target: Element, scanRules?: boolean, editableRoot?: Element | null): string;
4
5
  destroy(): void;
5
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moubing/bing-ui",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",