@haklex/rich-plugin-slash-menu 0.0.19 → 0.0.21

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.
@@ -1,86 +1 @@
1
- .qolrkf0 {
2
- position: absolute;
3
- top: 0;
4
- left: 0;
5
- width: 320px;
6
- max-height: 340px;
7
- overflow-y: auto;
8
- overflow-x: hidden;
9
- font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
10
- background: var(--rc-bg);
11
- border: 1px solid var(--rc-border);
12
- border-radius: 10px;
13
- box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.08);
14
- padding: 6px 0;
15
- list-style: none;
16
- margin: 0;
17
- }
18
- .qolrkf0::-webkit-scrollbar {
19
- width: 6px;
20
- }
21
- .qolrkf0::-webkit-scrollbar-thumb {
22
- background: rgba(0,0,0,0.1);
23
- border-radius: 3px;
24
- }
25
- .qolrkf1 {
26
- padding: 10px 14px 4px;
27
- font-size: 11px;
28
- font-weight: 500;
29
- letter-spacing: 0.04em;
30
- text-transform: uppercase;
31
- color: var(--rc-text-secondary);
32
- user-select: none;
33
- }
34
- .qolrkf2 {
35
- display: flex;
36
- align-items: center;
37
- gap: 12px;
38
- padding: 6px 10px;
39
- margin: 0 6px;
40
- border-radius: 8px;
41
- cursor: pointer;
42
- transition: background 0.1s ease;
43
- }
44
- .qolrkf2:hover, .qolrkf2[aria-selected="true"] {
45
- background: var(--rc-bg-secondary);
46
- }
47
- .qolrkf3 {
48
- width: 40px;
49
- height: 40px;
50
- display: flex;
51
- align-items: center;
52
- justify-content: center;
53
- font-size: 18px;
54
- flex-shrink: 0;
55
- border-radius: 6px;
56
- background: var(--rc-bg-secondary);
57
- border: 1px solid var(--rc-border);
58
- color: var(--rc-text-secondary);
59
- line-height: 1;
60
- }
61
- .qolrkf4 {
62
- display: flex;
63
- flex-direction: column;
64
- min-width: 0;
65
- gap: 1px;
66
- }
67
- .qolrkf5 {
68
- font-size: 14px;
69
- font-weight: 500;
70
- line-height: 1.3;
71
- color: var(--rc-text);
72
- }
73
- .qolrkf6 {
74
- font-size: 12px;
75
- line-height: 1.3;
76
- color: var(--rc-text-secondary);
77
- white-space: nowrap;
78
- overflow: hidden;
79
- text-overflow: ellipsis;
80
- }
81
- .qolrkf7 {
82
- padding: 20px 16px;
83
- color: color-mix(in srgb, var(--rc-text-secondary) 70%, transparent);
84
- font-size: 13px;
85
- text-align: center;
86
- }
1
+ .qolrkf0{position:absolute;top:0;left:0;width:320px;max-height:340px;overflow-y:auto;overflow-x:hidden;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--rc-bg);border:1px solid var(--rc-border);border-radius:10px;box-shadow:0 1px 4px #0000000a,0 4px 16px #00000014;padding:6px 0;list-style:none;margin:0}.qolrkf0::-webkit-scrollbar{width:6px}.qolrkf0::-webkit-scrollbar-thumb{background:#0000001a;border-radius:3px}.qolrkf1{padding:10px 14px 4px;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--rc-text-secondary);user-select:none}.qolrkf2{display:flex;align-items:center;gap:12px;padding:6px 10px;margin:0 6px;border-radius:8px;cursor:pointer;transition:background .1s ease}.qolrkf2:hover,.qolrkf2[aria-selected=true]{background:var(--rc-bg-secondary)}.qolrkf3{width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;border-radius:6px;background:var(--rc-bg-secondary);border:1px solid var(--rc-border);color:var(--rc-text-secondary);line-height:1}.qolrkf4{display:flex;flex-direction:column;min-width:0;gap:1px}.qolrkf5{font-size:14px;font-weight:500;line-height:1.3;color:var(--rc-text)}.qolrkf6{font-size:12px;line-height:1.3;color:var(--rc-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qolrkf7{padding:20px 16px;color:color-mix(in srgb,var(--rc-text-secondary) 70%,transparent);font-size:13px;text-align:center}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-plugin-slash-menu",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "Slash command menu plugin",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@haklex/rich-style-token": "0.0.19"
19
+ "@haklex/rich-style-token": "0.0.21"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@lexical/list": "^0.40.0",