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.
- package/dist/cjs/browser.js +260 -256
- package/dist/cjs/index.js +244 -240
- package/dist/cjs/node.js +251 -247
- package/dist/esm/browser.js +260 -256
- package/dist/esm/index.js +244 -240
- package/dist/esm/node.js +251 -247
- package/dist/types/Keyboard/getHotkeyLabel.d.ts +1 -1
- package/dist/types/Keyboard/logHotkey.d.ts +3 -3
- package/dist/types/Settings.d.ts +5 -14
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { HotkeyName } from
|
|
1
|
+
import type { HotkeyName } from "./types";
|
|
2
2
|
export declare function getHotkeyLabel(hotkey: HotkeyName): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SelectionContext } from
|
|
2
|
-
import type { HotkeyCb, HotkeyConfig, HotkeyName } from
|
|
3
|
-
type HotkeyStatus =
|
|
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 {};
|
package/dist/types/Settings.d.ts
CHANGED
|
@@ -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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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 {};
|