oasis-editor 0.0.327 → 0.0.328

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.
@@ -25,6 +25,13 @@ export interface OasisEditorAppUiProps {
25
25
  toolbar?: {
26
26
  view?: ToolbarViewMode;
27
27
  layout?: ToolbarLayoutMode;
28
+ /**
29
+ * Ribbon density. `simplified` is Office's one-line ribbon: the tabs stay,
30
+ * each panel is a single row of small commands with no group captions, and
31
+ * groups that do not fit open as popups. Meant for embedded editors (form
32
+ * fields) where the ~90px classic ribbon costs too much height.
33
+ */
34
+ ribbonStyle?: "classic" | "simplified";
28
35
  };
29
36
  showTitleBar?: boolean;
30
37
  showMenubar?: boolean;
@@ -8,6 +8,11 @@ export interface MenuProps {
8
8
  disabled?: boolean;
9
9
  hideChevron?: boolean;
10
10
  ribbonSize?: "normal" | "large";
11
+ /**
12
+ * Name of the Ribbon group a collapsed-group trigger stands for. Exposed as
13
+ * `data-group-label` so the simplified ribbon can caption the trigger.
14
+ */
15
+ groupLabel?: string;
11
16
  /** Extra class for the popover panel. */
12
17
  panelClass?: string;
13
18
  /** Reposition tall panels so they remain within the viewport vertically. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.327",
3
+ "version": "0.0.328",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {