@ones-editor/editor 2.1.1-beta.84 → 2.1.1-beta.86

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/dist/index.js CHANGED
@@ -1265,6 +1265,7 @@ div[data-command-bar-id=mobile-bottom-menu] .editor-command-bar .command-item .m
1265
1265
  div[data-command-bar-id=mobile-bottom-menu] .editor-command-bar .command-item .menu-item-icon svg {
1266
1266
  width: 20px;
1267
1267
  height: 20px;
1268
+ stroke-width: 1.5;
1268
1269
  }
1269
1270
  div[data-command-bar-id=mobile-bottom-menu] .editor-command-bar .command-item .menu-item-name {
1270
1271
  flex: 1;
@@ -1345,6 +1346,9 @@ div[data-command-bar-id=mobile-bottom-menu] .tippy-content .mobile-menu-wrap .mo
1345
1346
  margin-right: 12px;
1346
1347
  color: #2d2d2e;
1347
1348
  }
1349
+ div[data-command-bar-id=mobile-bottom-menu] .tippy-content .mobile-menu-wrap .mobile-menu-header [data-button-id=mobile-bottom-menu-close] svg {
1350
+ stroke-width: 1.5;
1351
+ }
1348
1352
  div[data-command-bar-id=mobile-bottom-menu] .editor-command-bar-root {
1349
1353
  box-shadow: none !important;
1350
1354
  }.editor-text-button {
@@ -2030,6 +2034,12 @@ div.tippy-box[data-theme=editor-tooltip] > .tippy-content {
2030
2034
  [data-command-bar-id=paste-special-button].mobile .tippy-box,
2031
2035
  [data-command-bar-id=editor-toolbar].mobile .tippy-box {
2032
2036
  border-radius: 8px;
2037
+ background: none;
2038
+ }
2039
+ [data-command-bar-id=cursor-toolbar].mobile .tippy-box .tippy-content .editor-command-bar-root,
2040
+ [data-command-bar-id=paste-special-button].mobile .tippy-box .tippy-content .editor-command-bar-root,
2041
+ [data-command-bar-id=editor-toolbar].mobile .tippy-box .tippy-content .editor-command-bar-root {
2042
+ box-shadow: none;
2033
2043
  }
2034
2044
  [data-command-bar-id=cursor-toolbar].mobile .tippy-content,
2035
2045
  [data-command-bar-id=cursor-toolbar].mobile .editor-command-bar-root,
@@ -2055,12 +2065,17 @@ div.tippy-box[data-theme=editor-tooltip] > .tippy-content {
2055
2065
  [data-command-bar-id=editor-toolbar].mobile .editor-command-bar.toolbar .command-item:not(.separator) {
2056
2066
  height: 40px;
2057
2067
  padding: 0 16px;
2068
+ line-height: 1.5;
2058
2069
  }
2059
2070
  [data-command-bar-id=cursor-toolbar].mobile .editor-command-bar.toolbar .command-item.separator,
2060
2071
  [data-command-bar-id=paste-special-button].mobile .editor-command-bar.toolbar .command-item.separator,
2061
2072
  [data-command-bar-id=editor-toolbar].mobile .editor-command-bar.toolbar .command-item.separator {
2062
2073
  height: 40px;
2074
+ transform: scaleX(0.5);
2063
2075
  background-color: var(--Fills-Vibrant-Secondary, rgba(127, 127, 127, 0.4));
2076
+ }
2077
+ .editor-command-bar.toolbar.mobile .command-item svg {
2078
+ stroke-width: 1.5;
2064
2079
  }div[data-type=editor-block].block-exclusive:after {
2065
2080
  content: attr(data-exclusive-tips);
2066
2081
  position: absolute;
@@ -2586,6 +2601,9 @@ div.editor-root:not(.readonly) div.editor-content div[data-type=editor-container
2586
2601
  display: flex;
2587
2602
  align-items: center;
2588
2603
  }
2604
+ [data-command-bar-id=mobile-bottom-menu] .link-popup .editor-command-bar-header .link-popup-header .link-popup-button-wrap svg {
2605
+ stroke-width: 1.5;
2606
+ }
2589
2607
  [data-command-bar-id=mobile-bottom-menu] .link-popup .editor-command-bar-header .link-popup-header .link-popup-button-wrap:last-of-type {
2590
2608
  justify-content: flex-end;
2591
2609
  }
@@ -2614,9 +2632,6 @@ div.editor-root:not(.readonly) div.editor-content div[data-type=editor-container
2614
2632
  [data-command-bar-id=mobile-bottom-menu] .link-popup .editor-command-bar .command-item[data-id=link-popup] .link-form-content {
2615
2633
  width: 100%;
2616
2634
  }
2617
- [data-command-bar-id=mobile-bottom-menu] .link-popup .editor-command-bar .command-item[data-id=link-popup] .link-form-content .editor-input-wrap {
2618
- padding: 0px 15px;
2619
- }
2620
2635
  [data-command-bar-id=mobile-bottom-menu] .link-popup .editor-command-bar .command-item[data-id=link-popup] .link-form-content .editor-input-wrap.error .editor-input-container.textarea {
2621
2636
  border: 1px solid #e82100;
2622
2637
  }
@@ -24731,8 +24746,10 @@ var __publicField = (obj, key, value) => {
24731
24746
  if (focusNode && (this.editor.contains(focusNode) || this.isInDisableScrollMask(focusNode) || this.isInCommandBar(focusNode))) {
24732
24747
  return;
24733
24748
  }
24734
- if (clientType.isSafari && !focusNode) {
24735
- return;
24749
+ if (!focusNode) {
24750
+ if (clientType.isSafari || clientType.isIOS) {
24751
+ return;
24752
+ }
24736
24753
  }
24737
24754
  this.editor.emit("blur", this.editor);
24738
24755
  this.callbacks.onBlur();
@@ -40400,7 +40417,7 @@ ${codeText}
40400
40417
  if (this.popper) {
40401
40418
  this.popper.setAttribute("data-command-bar-id", "mobile-bottom-menu");
40402
40419
  }
40403
- }, 600);
40420
+ }, 400);
40404
40421
  });
40405
40422
  }
40406
40423
  close(reason) {
@@ -86830,7 +86847,7 @@ ${data2.flowchartText}
86830
86847
  }
86831
86848
  }
86832
86849
  });
86833
- editor.version = "2.1.1-beta.84";
86850
+ editor.version = "2.1.1-beta.86";
86834
86851
  if (Logger$2.level === LogLevel.DEBUG) {
86835
86852
  window.setReauthFail = (fail) => {
86836
86853
  window.isReauthError = fail;
@@ -86931,7 +86948,7 @@ ${data2.flowchartText}
86931
86948
  });
86932
86949
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
86933
86950
  OnesEditorToolbar.register(editor);
86934
- editor.version = "2.1.1-beta.84";
86951
+ editor.version = "2.1.1-beta.86";
86935
86952
  return editor;
86936
86953
  }
86937
86954
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.1.1-beta.84",
3
+ "version": "2.1.1-beta.86",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",