microboard-temp 0.1.10 → 0.1.12

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,2 +1,2 @@
1
- import type { HotkeyName } from './types';
1
+ import type { HotkeyName } from "./types";
2
2
  export declare function getHotkeyLabel(hotkey: HotkeyName): string;
@@ -1,5 +1,5 @@
1
- import { SelectionContext } from 'Selection';
2
- import type { HotkeyCb, HotkeyConfig, HotkeyName } from './types';
3
- type HotkeyStatus = 'triggered' | 'canceledBySingleItemOnly' | 'canceledBySelectionContext' | 'canceledByAllItemsType';
1
+ import { SelectionContext } from "Selection";
2
+ import type { HotkeyCb, HotkeyConfig, HotkeyName } from "./types";
3
+ type HotkeyStatus = "triggered" | "canceledBySingleItemOnly" | "canceledBySelectionContext" | "canceledByAllItemsType";
4
4
  export declare function logHotkey(hotkeyConfig: HotkeyCb | HotkeyConfig, hotkeyName: HotkeyName, status: HotkeyStatus, context: SelectionContext): void;
5
5
  export {};
@@ -215,20 +215,11 @@ export declare const conf: {
215
215
  LISTMARK_NUMBERS: string[];
216
216
  LISTMARK_LETTERS: string[];
217
217
  LISTMARK_ROMAN: string[];
218
- DEFAULT_TEXT_STYLES: {
219
- fontFamily: string;
220
- fontSize: number;
221
- fontColor: string;
222
- fontHighlight: string;
223
- lineHeight: number;
224
- bold: boolean;
225
- underline: boolean;
226
- italic: boolean;
227
- "line-through": boolean;
228
- overline: boolean;
229
- subscript: boolean;
230
- superscript: boolean;
231
- };
218
+ DEFAULT_TEXT_STYLES: DefaultTextStyles;
219
+ LOG_HOTKEYS: boolean;
220
+ FORCE_HOTKEYS: "auto" | "windows" | "macos";
221
+ debug: boolean;
222
+ FALLBACK_LNG: string;
232
223
  };
233
224
  export type Settings = typeof conf;
234
225
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",