From d1cf3a3c266da29314ccbedb63888013f6558146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Advaita=20K=E1=B9=9B=E1=B9=A3=E1=B9=87a=20D=C4=81sa?= Date: Thu, 2 Mar 2023 13:42:57 +0100 Subject: [PATCH] feat: FlipCard margin --- package-lock.json | 4 ++-- package.json | 2 +- src/FlipCard.stories.js | 7 ++++--- src/FlipCard.vue | 23 +++++++++++++++-------- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index d45469b..59cbc1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@akdasa-studios/shlokas-uikit", - "version": "0.0.11", + "version": "0.0.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@akdasa-studios/shlokas-uikit", - "version": "0.0.11", + "version": "0.0.14", "dependencies": { "@vueuse/core": "^9.13.0", "vue": "^3.2.45" diff --git a/package.json b/package.json index 059af81..f154567 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@akdasa-studios/shlokas-uikit", - "version": "0.0.12", + "version": "0.0.14", "files": [ "dist" ], diff --git a/src/FlipCard.stories.js b/src/FlipCard.stories.js index 31773a5..a816b91 100644 --- a/src/FlipCard.stories.js +++ b/src/FlipCard.stories.js @@ -22,8 +22,8 @@ const Template = (args) => ({ return { args }; }, template: ` -
- +
+ @@ -32,5 +32,6 @@ const Template = (args) => ({ export const Default = Template.bind({}); Default.args = { - flipped: false + flipped: false, + margin: '10px' }; diff --git a/src/FlipCard.vue b/src/FlipCard.vue index 0389d3d..490ca63 100644 --- a/src/FlipCard.vue +++ b/src/FlipCard.vue @@ -12,31 +12,38 @@