fable-editor 1.2.6 → 1.2.8
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/angular/core/editor.d.ts +17 -1
- package/dist/angular/esm2022/core/editor.mjs +66 -15
- package/dist/angular/fesm2022/fable-editor.mjs +65 -14
- package/dist/angular/fesm2022/fable-editor.mjs.map +1 -1
- package/dist/core/editor.css +15 -2
- package/dist/core/editor.d.ts +17 -1
- package/dist/core/editor.d.ts.map +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.mjs +105 -83
- package/dist/react/index.cjs +5 -5
- package/dist/react/index.mjs +71 -49
- package/package.json +1 -1
- package/style.css +15 -2
|
@@ -17,7 +17,12 @@ export declare class FableEditor implements FableEditorApi {
|
|
|
17
17
|
private foreColor;
|
|
18
18
|
private backColor;
|
|
19
19
|
private openPop;
|
|
20
|
-
|
|
20
|
+
/** Stack of currently-open flyout submenus, shallowest first (e.g. for
|
|
21
|
+
* Table > Cell > Cell background: [Cell flyout, Cell background flyout]).
|
|
22
|
+
* A single slot isn't enough past one level deep - opening a 2nd-level
|
|
23
|
+
* flyout would remove the 1st-level one still needed to bridge visually
|
|
24
|
+
* back to the top-level popup, leaving a gap. */
|
|
25
|
+
private subStack;
|
|
21
26
|
private popAnchor;
|
|
22
27
|
private dlgOvl;
|
|
23
28
|
private tblActive;
|
|
@@ -118,6 +123,17 @@ export declare class FableEditor implements FableEditorApi {
|
|
|
118
123
|
private scheduleDraftSave;
|
|
119
124
|
private revisionDlg;
|
|
120
125
|
private closeSub;
|
|
126
|
+
/** Removes stacked flyouts from `level` (0 = shallowest) onward, keeping
|
|
127
|
+
* anything shallower - e.g. hovering a sibling item inside the "Cell"
|
|
128
|
+
* flyout should drop a deeper "Cell background" flyout but keep "Cell"
|
|
129
|
+
* itself and the top-level popup it bridges to. */
|
|
130
|
+
private closeSubFrom;
|
|
131
|
+
/** True if `node` is inside any currently-open flyout submenu (any depth). */
|
|
132
|
+
private subContains;
|
|
133
|
+
/** 0 for the top-level popup itself; otherwise this container's depth in
|
|
134
|
+
* the flyout stack + 1. Used to know how many deeper flyouts to close
|
|
135
|
+
* when opening or hovering within `container`. */
|
|
136
|
+
private subLevelOf;
|
|
121
137
|
private closePop;
|
|
122
138
|
private openSubFor;
|
|
123
139
|
private popup;
|