oasis-editor 0.0.319 → 0.0.321

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.
@@ -30,6 +30,13 @@ export interface OasisEditorAppUiProps {
30
30
  showMenubar?: boolean;
31
31
  showToolbar?: boolean;
32
32
  showOutline?: boolean;
33
+ /** Horizontal ruler above the page (document shell). Defaults to `showChrome`. */
34
+ showRuler?: boolean;
35
+ /**
36
+ * First-run welcome dialog (precise local fonts offer). Defaults to `true`;
37
+ * embedded hosts (e.g. a form field) can turn it off.
38
+ */
39
+ showWelcome?: boolean;
33
40
  locale?: "pt-BR" | "en";
34
41
  viewportHeight?: number | string;
35
42
  class?: string;
@@ -23,6 +23,7 @@ export interface EditorWorkspaceChrome {
23
23
  showMenubar: () => boolean;
24
24
  showToolbar: () => boolean;
25
25
  showOutline: () => boolean;
26
+ showRuler: () => boolean;
26
27
  toolbarView: () => ToolbarViewMode;
27
28
  toolbarLayout: () => ToolbarLayoutMode;
28
29
  }
@@ -19,6 +19,7 @@ export interface EditorUiOptions {
19
19
  showMenubar: () => boolean;
20
20
  showToolbar: () => boolean;
21
21
  showOutline: () => boolean;
22
+ showRuler: () => boolean;
22
23
  /** Flip the outline panel visibility through the host UI overrides. */
23
24
  toggleOutline: () => void;
24
25
  toolbarView: () => ToolbarViewMode;
@@ -18,6 +18,7 @@ export interface ShellProps {
18
18
  showMenubar: boolean;
19
19
  showToolbar: boolean;
20
20
  showOutline: () => boolean;
21
+ showRuler: boolean;
21
22
  toolbarView: ToolbarViewMode;
22
23
  toolbarLayout: ToolbarLayoutMode;
23
24
  isReadOnly: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.319",
3
+ "version": "0.0.321",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {