@bbki.ng/site 2.0.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 2.0.2
4
+
5
+ ## 2.0.1
6
+
3
7
  ## 2.0.0
4
8
 
5
9
  ## 1.8.11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,26 @@ export const PluginsMenuItem = () => {
18
18
  }, []);
19
19
  return (
20
20
  <ContextMenuSub>
21
- <ContextMenuSubTrigger inset>Plugins</ContextMenuSubTrigger>
21
+ <ContextMenuSubTrigger inset>
22
+ <svg
23
+ xmlns="http://www.w3.org/2000/svg"
24
+ width="16"
25
+ height="16"
26
+ viewBox="0 0 24 24"
27
+ fill="none"
28
+ stroke="currentColor"
29
+ strokeWidth="2"
30
+ strokeLinecap="round"
31
+ strokeLinejoin="round"
32
+ className="lucide lucide-plug rotate-90 absolute left-2.5"
33
+ >
34
+ <path d="M12 22v-5"></path>
35
+ <path d="M9 8V2"></path>
36
+ <path d="M15 8V2"></path>
37
+ <path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z"></path>
38
+ </svg>
39
+ Plugins
40
+ </ContextMenuSubTrigger>
22
41
  <ContextMenuSubContent className="w-48">
23
42
  {plugins.map((plugin) => (
24
43
  <PluginMenuItem
@@ -43,6 +43,8 @@ export class PluginEventMgr {
43
43
  return;
44
44
  }
45
45
 
46
+ listeners.splice(listeners.indexOf(targetPair), 1);
47
+
46
48
  window.removeEventListener(evt, targetPair.listener);
47
49
  }
48
50
  }