From b17bbc1404bccbb7126dc633526223af53f9b2c2 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:16:41 +0530
Subject: [PATCH 1/4] Added Dropdown
---
package.json | 3 +-
src/components/smart/Dropdown.vue | 142 ++++++++++++++++++++++++++++++
src/components/smart/index.ts | 1 +
src/stories/Dropdown.story.vue | 12 +++
4 files changed, 157 insertions(+), 1 deletion(-)
create mode 100644 src/components/smart/Dropdown.vue
create mode 100644 src/stories/Dropdown.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/Dropdown.vue b/src/components/smart/Dropdown.vue
new file mode 100644
index 0000000..901ce9d
--- /dev/null
+++ b/src/components/smart/Dropdown.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/smart/index.ts b/src/components/smart/index.ts
index 8ec827c..0b40dc5 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 HoppSmartDropdown } from "./Dropdown.vue"
diff --git a/src/stories/Dropdown.story.vue b/src/stories/Dropdown.story.vue
new file mode 100644
index 0000000..c9ff27b
--- /dev/null
+++ b/src/stories/Dropdown.story.vue
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From cf83f781e0a124dd64f9b345e2e1e30bbe3de763 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:18:20 +0530
Subject: [PATCH 2/4] Added animation
---
src/components/smart/Dropdown.vue | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/components/smart/Dropdown.vue b/src/components/smart/Dropdown.vue
index 901ce9d..0257c02 100644
--- a/src/components/smart/Dropdown.vue
+++ b/src/components/smart/Dropdown.vue
@@ -4,6 +4,7 @@
{{ title }}