From 1415d8b388dc02d3f9d1b461bf481ddf56de3638 Mon Sep 17 00:00:00 2001 From: Arpit Singh Date: Sat, 27 Jul 2024 23:59:28 +0530 Subject: [PATCH] Added pagination --- package.json | 3 +- src/components/smart/Pagination.vue | 191 ++++++++++++++++++++++++++++ src/components/smart/index.ts | 1 + src/stories/Pagination.story.vue | 12 ++ 4 files changed, 206 insertions(+), 1 deletion(-) create mode 100644 src/components/smart/Pagination.vue create mode 100644 src/stories/Pagination.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/Pagination.vue b/src/components/smart/Pagination.vue new file mode 100644 index 0000000..55cb297 --- /dev/null +++ b/src/components/smart/Pagination.vue @@ -0,0 +1,191 @@ + + + + + + \ No newline at end of file diff --git a/src/components/smart/index.ts b/src/components/smart/index.ts index 8ec827c..d24c278 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 HoppSmartPagination } from "./Pagination.vue" diff --git a/src/stories/Pagination.story.vue b/src/stories/Pagination.story.vue new file mode 100644 index 0000000..98d4af2 --- /dev/null +++ b/src/stories/Pagination.story.vue @@ -0,0 +1,12 @@ + + + + \ No newline at end of file