@damiro/stylo 0.19.0 → 0.19.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.
- package/dist/{InPlaceView-D2GIV1A-.js → InPlaceView-rt6po4_E.js} +21 -18
- package/dist/InPlaceView-rt6po4_E.js.map +1 -0
- package/dist/inplace/context-menu-actions.d.ts +1 -1
- package/dist/inplace/context-menu-actions.d.ts.map +1 -1
- package/dist/inplace/host-cell.d.ts +5 -1
- package/dist/inplace/host-cell.d.ts.map +1 -1
- package/dist/stylo.js +1 -1
- package/package.json +1 -1
- package/dist/InPlaceView-D2GIV1A-.js.map +0 -1
|
@@ -32,7 +32,7 @@ export declare function codeBlockRow(view: EditorView): MenuField;
|
|
|
32
32
|
* gated by `menuGroups`. Shared by the canvas menu and the table widget's own
|
|
33
33
|
* structural menu, which appends these under its row / column / align actions.
|
|
34
34
|
*/
|
|
35
|
-
export declare function cellSelectionRows(view: EditorView): MenuRow[];
|
|
35
|
+
export declare function cellSelectionRows(view: EditorView, clicked?: HTMLElement): MenuRow[];
|
|
36
36
|
/**
|
|
37
37
|
* The right-click menu. `menuGroupsFacet` picks and orders the top-level groups
|
|
38
38
|
* (`link` / `format` / `paragraph` / `insert` / `clipboard`); `selectionUI`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu-actions.d.ts","sourceRoot":"","sources":["../../src/inplace/context-menu-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAOlD,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAqBxD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAK1D;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAsBxD;AAgBD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"context-menu-actions.d.ts","sourceRoot":"","sources":["../../src/inplace/context-menu-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAOlD,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAqBxD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAK1D;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAsBxD;AAgBD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,EAAE,CAepF;AAkBD;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,EAAE,CAwDpD"}
|
|
@@ -6,5 +6,9 @@
|
|
|
6
6
|
* carry straight over.
|
|
7
7
|
*/
|
|
8
8
|
import type { EditorView } from "@codemirror/view";
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Put `cell`'s place in the document into `state.selection`: its selected text
|
|
11
|
+
* when `selected` (the focused cell), else a caret at the start of its content.
|
|
12
|
+
*/
|
|
13
|
+
export declare function selectCellRange(view: EditorView, cell: HTMLElement, selected: boolean): void;
|
|
10
14
|
//# sourceMappingURL=host-cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-cell.d.ts","sourceRoot":"","sources":["../../src/inplace/host-cell.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"host-cell.d.ts","sourceRoot":"","sources":["../../src/inplace/host-cell.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAKlD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI,CAa5F"}
|
package/dist/stylo.js
CHANGED
|
@@ -36,7 +36,7 @@ function k({ value: e, onChange: t, readOnly: r, placeholder: a, codeLanguages:
|
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/inplace/lazyInPlace.ts
|
|
39
|
-
var A = f(async () => ({ default: (await import("./InPlaceView-
|
|
39
|
+
var A = f(async () => ({ default: (await import("./InPlaceView-rt6po4_E.js")).InPlaceView })), j = f(async () => ({ default: (await import("./Preview-BRA_R_Gp.js")).Preview }));
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/SplitView.tsx
|
|
42
42
|
function M({ value: e, onChange: t, onWikiLinkClick: r, readOnly: i, placeholder: a, codeLanguages: o, wikiLinkSource: s, tagSource: c, embedSource: l, onResolveError: d, frontmatter: f, softBreaks: p, onTaskToggle: h, onSave: g, onViewChange: _, canvasHeader: b, hostExtensions: x }) {
|