@aicayzer/inkkit 0.1.5 → 0.1.7
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/README.md +5 -5
- package/dist/THIRD-PARTY-NOTICES.txt +1 -1
- package/dist/chunks/{core-D7n0IhAZ.js → core-DkL-wDqy.js} +499 -244
- package/dist/chunks/{highlight-BIasnL-b.js → highlight-TSUdUlMi.js} +1 -1
- package/dist/core.js +1 -1
- package/dist/editor.d.ts +7 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Decoration, c as PluginKey, d as __toESM, i as $prose, o as DecorationSet, s as Plugin, u as __commonJSMin } from "./core-
|
|
1
|
+
import { a as Decoration, c as PluginKey, d as __toESM, i as $prose, o as DecorationSet, s as Plugin, u as __commonJSMin } from "./core-DkL-wDqy.js";
|
|
2
2
|
//#region node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/arduino.js
|
|
3
3
|
/** @type LanguageFn */
|
|
4
4
|
function cPlusPlus(hljs) {
|
package/dist/core.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as InkKitError, t as InkKitEditor } from "./chunks/core-
|
|
1
|
+
import { r as InkKitError, t as InkKitEditor } from "./chunks/core-DkL-wDqy.js";
|
|
2
2
|
export { InkKitEditor, InkKitError };
|
package/dist/editor.d.ts
CHANGED
|
@@ -160,6 +160,8 @@ export declare class InkKitEditor {
|
|
|
160
160
|
private typedSteps;
|
|
161
161
|
private undoneSteps;
|
|
162
162
|
private formattedUndone;
|
|
163
|
+
private formattedRedoLimit?;
|
|
164
|
+
private historyDirection?;
|
|
163
165
|
private lastSourceInput;
|
|
164
166
|
private syncingSource;
|
|
165
167
|
private mode;
|
|
@@ -177,6 +179,10 @@ export declare class InkKitEditor {
|
|
|
177
179
|
private auxClickHandler?;
|
|
178
180
|
private untrackLinkModifier?;
|
|
179
181
|
private footnoteKeyHandler?;
|
|
182
|
+
private readonly localCopies;
|
|
183
|
+
private rememberCopy;
|
|
184
|
+
private retainCopy;
|
|
185
|
+
private restoreCopy;
|
|
180
186
|
private copyHandler?;
|
|
181
187
|
private originalSource;
|
|
182
188
|
private reportingSuppressed;
|
|
@@ -298,6 +304,7 @@ export declare class InkKitEditor {
|
|
|
298
304
|
undo(expectedGeneration?: number): boolean;
|
|
299
305
|
/** Returns whether a history step applied. */
|
|
300
306
|
redo(expectedGeneration?: number): boolean;
|
|
307
|
+
private stepFormattedHistory;
|
|
301
308
|
private replaceLiteralSelection;
|
|
302
309
|
/** The complete current text, which is what a host saves. It throws rather than return partial
|
|
303
310
|
* text. */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as registerMermaid, r as InkKitError, t as InkKitEditor } from "./chunks/core-
|
|
1
|
+
import { n as registerMermaid, r as InkKitError, t as InkKitEditor } from "./chunks/core-DkL-wDqy.js";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
registerMermaid(async () => (await import("mermaid")).default);
|
|
4
4
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aicayzer/inkkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "A preserving Markdown editor for offline web views and the web",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/mdast": "^4.0.4",
|
|
65
65
|
"@types/node": "^26.6.2",
|
|
66
66
|
"axe-core": "^4.14.0",
|
|
67
|
-
"dompurify": "3.4.
|
|
67
|
+
"dompurify": "3.4.17",
|
|
68
68
|
"jsdom": "^30.1.0",
|
|
69
69
|
"lowlight": "^3.3.0",
|
|
70
70
|
"mdast-util-from-markdown": "^2.1.0",
|