@ones-editor/editor 0.0.7-beta.34 → 0.0.7-beta.35

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1016,7 +1016,7 @@ div.tippy-box button {
1016
1016
  }
1017
1017
  .editor-command-bar.toolbar .command-item.separator {
1018
1018
  margin: auto 2px;
1019
- height: 20px;
1019
+ height: 15px;
1020
1020
  min-width: 1px;
1021
1021
  width: 1px;
1022
1022
  background-color: #dfe1e5;
@@ -4956,7 +4956,7 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
4956
4956
  .editor-root .editor-content div[data-type=editor-block].heading-collapsed div[data-type=block-tools] .block-helper .heading-collapse-button svg {
4957
4957
  transform: rotate(270deg);
4958
4958
  }
4959
- .editor-root .editor-content div[data-type=editor-block].focused div[data-type=block-tools] .block-helper .heading-marker, .editor-root .editor-content div[data-type=editor-block].highlighted div[data-type=block-tools] .block-helper .heading-marker {
4959
+ .editor-root .editor-content div[data-type=editor-block] div[data-type=block-tools] .block-helper .block-button ~ .heading-marker {
4960
4960
  display: none;
4961
4961
  }
4962
4962
  .editor-root .editor-content div[data-type=editor-block] div[data-type=block-tools] .block-helper .heading-marker,
@@ -35139,7 +35139,7 @@ var __publicField = (obj, key, value) => {
35139
35139
  const ItalicIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6 1.5L13 1.5" stroke="currentColor"/>\n<path d="M3 14.5H10" stroke="currentColor"/>\n<path d="M9.5 1.5L6.5 14.5" stroke="currentColor"/>\n</svg>';
35140
35140
  const UnderlineIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1 14.5L15 14.5" stroke="currentColor"/>\n<path d="M12.5 1V8C12.5 10.4853 10.4853 12.5 8 12.5C5.51472 12.5 3.5 10.4853 3.5 8L3.5 1" stroke="currentColor"/>\n</svg>';
35141
35141
  const LineThroughIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1 8L15 8" stroke="currentColor"/>\n<path d="M12 3.49995L11.5856 3.0856C10.8778 2.3777 9.97615 1.89518 8.99448 1.69885L8.75479 1.65091C8.25653 1.55126 7.74347 1.55126 7.24522 1.65091L6.86895 1.72616C6.0005 1.89985 5.25212 2.44613 4.82201 3.22033C3.8859 4.90534 4.74724 7.02412 6.59353 7.57801L9.40647 8.4219C11.2528 8.97578 12.1141 11.0946 11.178 12.7796C10.7479 13.5538 9.9995 14.1001 9.13105 14.2737L8.75479 14.349C8.25653 14.4486 7.74347 14.4486 7.24522 14.349L7.00552 14.3011C6.02385 14.1047 5.12225 13.6222 4.41435 12.9143L4 12.5" stroke="currentColor" stroke-linejoin="round"/>\n</svg>';
35142
- const InlineCodeIcon = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M10.5149 18.8374C10.667 18.7475 10.7731 18.6103 10.8331 18.4261L14.4065 6.16314C14.458 5.97461 14.444 5.80215 14.3648 5.64576C14.2855 5.48936 14.1559 5.38332 13.9759 5.32761C13.8003 5.2762 13.6353 5.29655 13.481 5.38867C13.3268 5.48079 13.224 5.61898 13.1725 5.80322L9.59905 18.0598C9.54335 18.2526 9.55514 18.4261 9.6344 18.5804C9.71367 18.7346 9.84328 18.8396 10.0232 18.8953C10.1989 18.9467 10.3628 18.9274 10.5149 18.8374ZM15.7723 16.8932C15.9501 16.8954 16.1119 16.8279 16.2576 16.6908L20.763 12.6353C20.8701 12.5367 20.9408 12.4242 20.9751 12.2978C21.0093 12.1714 21.0083 12.0461 20.9719 11.9218C20.9354 11.7976 20.8658 11.6862 20.763 11.5876L16.2576 7.51927C16.1119 7.38644 15.9501 7.32217 15.7723 7.32645C15.5945 7.33074 15.4435 7.40358 15.3192 7.54497C15.1992 7.6778 15.1457 7.83312 15.1585 8.01094C15.1714 8.18876 15.2485 8.34194 15.3899 8.47048L19.4133 12.1082L15.3899 15.746C15.2485 15.8788 15.1714 16.0331 15.1585 16.2087C15.1457 16.3844 15.1992 16.5408 15.3192 16.6779C15.4435 16.8193 15.5945 16.8911 15.7723 16.8932ZM8.67997 16.6844C8.55572 16.8215 8.40468 16.8922 8.22686 16.8964C8.04904 16.9007 7.8873 16.8365 7.74161 16.7036L3.24262 12.6353C3.13551 12.541 3.06374 12.4307 3.02732 12.3043C2.99089 12.1779 2.99089 12.0515 3.02732 11.9251C3.06374 11.7987 3.13551 11.6862 3.24262 11.5876L7.74161 7.53212C7.8873 7.39501 8.04904 7.32752 8.22686 7.32967C8.40468 7.33181 8.55572 7.40358 8.67997 7.54497C8.80423 7.68209 8.85886 7.83848 8.84387 8.01415C8.82887 8.18983 8.75067 8.34408 8.60928 8.47691L4.57947 12.1147L8.60928 15.7588C8.75067 15.8874 8.82887 16.0395 8.84387 16.2152C8.85886 16.3908 8.80423 16.5472 8.67997 16.6844Z" />\n</svg>\n';
35142
+ const InlineCodeIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M4.5 3.99996L0.5 7.99996L4.5 12" stroke="currentColor" stroke-linejoin="round"/>\n<path d="M11.5 3.99996L15.5 7.99996L11.5 12" stroke="currentColor" stroke-linejoin="round"/>\n</svg>\n';
35143
35143
  const SubscriptIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12.5 10.5V10.5C12.5 9.94772 12.9477 9.5 13.5 9.5L13.5588 9.5C14.0786 9.5 14.5 9.92138 14.5 10.4412L14.5 10.6105C14.5 10.8626 14.4142 11.1073 14.2567 11.3042L12.5 13.5L15 13.5" stroke="currentColor" stroke-linejoin="round"/>\n<path d="M1.5 14L6 2.5L10.5 14" stroke="currentColor" stroke-linejoin="round"/>\n<path d="M3.5 9.5H8.5" stroke="currentColor"/>\n</svg>\n';
35144
35144
  const SuperscriptIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1.5 14L6 2.5L10.5 14" stroke="currentColor" stroke-linejoin="round"/>\n<path d="M3.5 9.5H8.5" stroke="currentColor"/>\n<path d="M12.5 3.6V3.6C12.5001 3.04765 12.9479 2.5999 13.5002 2.5999L13.5589 2.5999C14.0787 2.5999 14.5001 3.02131 14.5001 3.54113L14.5001 3.63641C14.5001 3.87177 14.42 4.10013 14.273 4.28391L12.5001 6.5L15.0001 6.4999" stroke="currentColor" stroke-linejoin="round"/>\n</svg>\n';
35145
35145
  const ToMindMapIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6 2.5L15 2.5" stroke="currentColor"/>\n<path d="M6 8L15 8" stroke="currentColor"/>\n<path d="M6 13.5L15 13.5" stroke="currentColor"/>\n<path d="M5 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H5" stroke="currentColor"/>\n<path d="M5 8H1" stroke="currentColor"/>\n</svg>\n';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "0.0.7-beta.34",
3
+ "version": "0.0.7-beta.35",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",