@tldraw/mentions 0.0.0-bootstrap → 5.3.0-next.2fa9c61a8de6

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-cjs/index.js CHANGED
@@ -35,7 +35,7 @@ var import_mention_extension = require("./mention-extension");
35
35
  var import_mention_suggestion = require("./mention-suggestion");
36
36
  (0, import_utils.registerTldrawLibraryVersion)(
37
37
  "@tldraw/mentions",
38
- "0.0.0-bootstrap",
38
+ "5.3.0-next.2fa9c61a8de6",
39
39
  "cjs"
40
40
  );
41
41
  //# sourceMappingURL=index.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./mention-suggestion.mjs";
11
11
  registerTldrawLibraryVersion(
12
12
  "@tldraw/mentions",
13
- "0.0.0-bootstrap",
13
+ "5.3.0-next.2fa9c61a8de6",
14
14
  "esm"
15
15
  );
16
16
  export {
package/mentions.css CHANGED
@@ -32,7 +32,7 @@
32
32
  .tlui-cmt-mention-list {
33
33
  display: flex;
34
34
  flex-direction: column;
35
- gap: 1px;
35
+ gap: 4px;
36
36
  padding: 4px;
37
37
  width: 100%;
38
38
  box-sizing: border-box;
@@ -40,9 +40,10 @@
40
40
  overflow-y: auto;
41
41
  color: var(--tl-color-text-1, #1d1d1d);
42
42
  background: var(--tl-color-panel, #fff);
43
- border: 1px solid var(--tl-color-divider, rgba(0, 0, 0, 0.08));
44
43
  border-radius: 10px;
45
- box-shadow: var(--tl-shadow-2, 0 2px 12px rgba(0, 0, 0, 0.14));
44
+ /* shadow-3 (like the context menu) already carries a 1px inset edge — a separate `border`
45
+ on top of it double-outlines the popup. */
46
+ box-shadow: var(--tl-shadow-3, 0 2px 12px rgba(0, 0, 0, 0.14));
46
47
  }
47
48
 
48
49
  .tlui-cmt-mention-list__item {
@@ -72,7 +73,7 @@
72
73
  }
73
74
 
74
75
  .tlui-cmt-mention-list__name {
75
- font-size: 13px;
76
+ font-size: 12px;
76
77
  font-weight: 500;
77
78
  white-space: nowrap;
78
79
  overflow: hidden;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/mentions",
3
3
  "description": "tldraw @-mention picker and TipTap node, shared by commenting and shape rich text.",
4
- "version": "0.0.0-bootstrap",
4
+ "version": "5.3.0-next.2fa9c61a8de6",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -53,8 +53,8 @@
53
53
  "@tiptap/pm": "^3.12.1",
54
54
  "@tiptap/react": "^3.12.1",
55
55
  "@tiptap/suggestion": "3.13.0",
56
- "@tldraw/utils": "5.2.5",
57
- "tldraw": "5.2.5"
56
+ "@tldraw/utils": "5.3.0-next.2fa9c61a8de6",
57
+ "tldraw": "5.3.0-next.2fa9c61a8de6"
58
58
  },
59
59
  "module": "dist-esm/index.mjs",
60
60
  "source": "src/index.ts",