@jinntec/jinntap 1.13.4 → 1.13.5

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/jinn-tap.css CHANGED
@@ -14,7 +14,7 @@ jinn-tap > nav {
14
14
  position: sticky;
15
15
  top: 0;
16
16
  z-index: 100;
17
- background-color: white;
17
+ background-color: var(--jinn-tap-background-color, white);
18
18
  }
19
19
 
20
20
  jinn-tap .editor-area {
@@ -24,7 +24,7 @@ jinn-tap .editor-area {
24
24
 
25
25
  jinn-tap .aside {
26
26
  grid-area: aside;
27
- background: white;
27
+ background: var(--jinn-tap-background-color, white);
28
28
  padding: 20px;
29
29
  max-height: fit-content;
30
30
  position: sticky;
@@ -120,4 +120,8 @@ jinn-tap .ProseMirror {
120
120
  .collaboration-cursor__caret:hover .collaboration-cursor__label {
121
121
  animation: none;
122
122
  opacity: 1;
123
- }
123
+ }
124
+
125
+ .jinn-tap.overlay {
126
+ border: 2px dotted var(--jinn-tap-overlay-color, rgb(255, 123, 0));
127
+ }
@@ -21865,7 +21865,7 @@ class Nx {
21865
21865
  Se.setStart(L, d.index), Se.setEnd(L, d.index + d.length), T = Se.getBoundingClientRect();
21866
21866
  } else
21867
21867
  T = L.getBoundingClientRect();
21868
- this.overlay.style.display = "block", this.overlay.style.top = T.top - 10 + "px", this.overlay.style.left = T.left - 10 + "px", this.overlay.style.width = T.width + 20 + "px", this.overlay.style.height = T.height + 20 + "px", document.body.appendChild(this.overlay);
21868
+ this.overlay.style.display = "block", this.overlay.style.top = T.top - 4 + "px", this.overlay.style.left = T.left - 4 + "px", this.overlay.style.width = T.width + 4 + "px", this.overlay.style.height = T.height + 4 + "px", document.body.appendChild(this.overlay);
21869
21869
  }
21870
21870
  }), b.addEventListener("mouseleave", (M) => {
21871
21871
  M.preventDefault(), M.stopPropagation(), this.overlay.style.display = "none";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jinntec/jinntap",
3
- "version": "1.13.4",
3
+ "version": "1.13.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",