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.
- package/README.md +11 -0
- package/dist/{OasisEditorApp-BKI4ByVG.js → OasisEditorApp-DypG7JZe.js} +1 -1
- package/dist/app/client/OasisEditorClient.d.ts +1 -0
- package/dist/defaultToolbar-BnVz03A0.js +1 -0
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/OasisEditorAppProps.d.ts +7 -0
- package/dist/ui/components/Toolbar/primitives/Menu.d.ts +5 -0
- package/package.json +1 -1
- package/dist/defaultToolbar-BN5Wbr1A.js +0 -1
|
@@ -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. */
|