From 42f5643ecfe13bb913d06b06c4ac177814f5a1f5 Mon Sep 17 00:00:00 2001
From: Arpit Singh Bhatia <84636859+The-x-35@users.noreply.github.com>
Date: Sun, 28 Jul 2024 14:01:35 +0530
Subject: [PATCH] Added Context Menu
---
package.json | 3 +-
src/components/smart/ContextMenu.vue | 96 ++++++++++++++++++++++++++++
src/components/smart/index.ts | 1 +
src/stories/ContextMenu.story.vue | 12 ++++
4 files changed, 111 insertions(+), 1 deletion(-)
create mode 100644 src/components/smart/ContextMenu.vue
create mode 100644 src/stories/ContextMenu.story.vue
diff --git a/package.json b/package.json
index 5774565..8a2c360 100644
--- a/package.json
+++ b/package.json
@@ -118,5 +118,6 @@
"types": "./dist/src/helpers/index.d.ts"
}
},
- "types": "./dist/index.d.ts"
+ "types": "./dist/index.d.ts",
+ "packageManager": "pnpm@9.5.0+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5"
}
diff --git a/src/components/smart/ContextMenu.vue b/src/components/smart/ContextMenu.vue
new file mode 100644
index 0000000..0bd9632
--- /dev/null
+++ b/src/components/smart/ContextMenu.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/smart/index.ts b/src/components/smart/index.ts
index 8ec827c..b078fe8 100644
--- a/src/components/smart/index.ts
+++ b/src/components/smart/index.ts
@@ -25,3 +25,4 @@ export { default as HoppSmartPlaceholder } from "./Placeholder.vue"
export { default as HoppSmartTree } from "./Tree.vue"
export { default as HoppSmartTreeBranch } from "./TreeBranch.vue"
export { default as HoppSmartSelectWrapper } from "./SelectWrapper.vue"
+export { default as HoppSmartContextMenu } from "./ContextMenu.vue"
diff --git a/src/stories/ContextMenu.story.vue b/src/stories/ContextMenu.story.vue
new file mode 100644
index 0000000..49728cb
--- /dev/null
+++ b/src/stories/ContextMenu.story.vue
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file