@ones-editor/editor 1.1.16-beta.15 → 1.1.16-beta.16

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.
@@ -19,6 +19,7 @@ export interface ManualShowCommandBarOptions {
19
19
  getReferenceClientRect?: GetReferenceClientRect | null | undefined;
20
20
  offset?: [number, number];
21
21
  arrow?: boolean;
22
+ maxWidth?: number;
22
23
  }
23
24
  export interface AbstractCommandBar extends TypedEmitter<CommandBarEvents> {
24
25
  readonly isVisible: boolean;
package/dist/index.js CHANGED
@@ -36937,7 +36937,7 @@ ${codeText}
36937
36937
  __publicField(this, "tippyInstance", null);
36938
36938
  }
36939
36939
  manualShow(target, options) {
36940
- var _a, _b, _c;
36940
+ var _a, _b, _c, _d;
36941
36941
  if (this.isVisible) {
36942
36942
  return;
36943
36943
  }
@@ -36952,14 +36952,14 @@ ${codeText}
36952
36952
  triggerTarget: null,
36953
36953
  hideOnClick: false,
36954
36954
  placement: (_a = options == null ? void 0 : options.placement) != null ? _a : "bottom-start",
36955
- maxWidth: 650,
36956
- arrow: (_b = options == null ? void 0 : options.arrow) != null ? _b : this.options.tippyArrow,
36955
+ maxWidth: (_b = options == null ? void 0 : options.maxWidth) != null ? _b : 650,
36956
+ arrow: (_c = options == null ? void 0 : options.arrow) != null ? _c : this.options.tippyArrow,
36957
36957
  appendTo: document.body,
36958
36958
  onShow: this.handleShow,
36959
36959
  onHidden: this.handleHidden,
36960
36960
  theme: options == null ? void 0 : options.theme,
36961
36961
  getReferenceClientRect: options == null ? void 0 : options.getReferenceClientRect,
36962
- offset: (_c = options == null ? void 0 : options.offset) != null ? _c : [0, 0],
36962
+ offset: (_d = options == null ? void 0 : options.offset) != null ? _d : [0, 0],
36963
36963
  popperOptions: this.createPopperOptions()
36964
36964
  });
36965
36965
  if (options == null ? void 0 : options.point) {
@@ -75363,7 +75363,7 @@ ${data.flowchartText}
75363
75363
  }
75364
75364
  }
75365
75365
  });
75366
- editor.version = "1.1.16-beta.15";
75366
+ editor.version = "1.1.16-beta.16";
75367
75367
  return editor;
75368
75368
  }
75369
75369
  function isDoc(doc2) {
@@ -75445,7 +75445,7 @@ ${data.flowchartText}
75445
75445
  });
75446
75446
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
75447
75447
  OnesEditorToolbar.register(editor);
75448
- editor.version = "1.1.16-beta.15";
75448
+ editor.version = "1.1.16-beta.16";
75449
75449
  return editor;
75450
75450
  }
75451
75451
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.16-beta.15",
3
+ "version": "1.1.16-beta.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",