oasis-editor 0.0.324 → 0.0.326

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.
@@ -0,0 +1,13 @@
1
+ import { ToolbarDocumentStyle } from './schema/items.js';
2
+ /**
3
+ * The compact style `<select>` only renders the quick-style options produced
4
+ * by `getQuickStyles`. When the active paragraph/character style is not among
5
+ * them (a semi-hidden style, a character style, or a style applied outside the
6
+ * gallery), a native select has no matching option and renders blank ("just
7
+ * white"). Supply one fallback option for the active style so the control
8
+ * always shows the current selection.
9
+ */
10
+ export declare function compactStyleFallback(activeId: string, quickStyles: readonly ToolbarDocumentStyle[], allStyles: readonly ToolbarDocumentStyle[]): {
11
+ id: string;
12
+ name: string;
13
+ } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.324",
3
+ "version": "0.0.326",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {