Skip to content

Commit bd98009

Browse files
committed
1 parent 8608aac commit bd98009

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@nuxt/content-theme-docs": "0.10.0",
1313
"nuxt": "^2.14.12",
14-
"vue-final-modal": "^2.1.0"
14+
"vue-final-modal": "^2.2.0"
1515
},
1616
"devDependencies": {
1717
"@nuxtjs/google-analytics": "^2.4.0",

docs/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10745,10 +10745,10 @@ vue-client-only@^2.0.0:
1074510745
resolved "https://registry.yarnpkg.com/vue-client-only/-/vue-client-only-2.0.0.tgz#ddad8d675ee02c761a14229f0e440e219de1da1c"
1074610746
integrity sha512-arhk1wtWAfLsJyxGMoEYhoBowM87/i6HLSG2LH/03Yog6i2d9JEN1peMP0Ceis+/n9DxdenGYZZTxbPPJyHciA==
1074710747

10748-
vue-final-modal@^2.1.0:
10749-
version "2.1.0"
10750-
resolved "https://registry.yarnpkg.com/vue-final-modal/-/vue-final-modal-2.1.0.tgz#6cb6820b37a4fb063ac3450d81f60c4153f07acf"
10751-
integrity sha512-QRZEVx6Omt2PVugIoz0k7URMJUB8bkoQ8dkROg1Ig5cXQTQaMiLonWnf/AaUHMmBh22HtG24LawwW9onv0FOZg==
10748+
vue-final-modal@^2.2.0:
10749+
version "2.2.0"
10750+
resolved "https://registry.yarnpkg.com/vue-final-modal/-/vue-final-modal-2.2.0.tgz#e12507f57ab56a47adaa29ab06eb2bf8e1c35ef4"
10751+
integrity sha512-OksZzJVm1jJEJw0Qi8Aa/ojEF5CM+kFdsmkpa1xIw5sHdZPHhw9ooLzlPwPV3S0YzMyh2n9Ug4YhHlakjAOikw==
1075210752
dependencies:
1075310753
vue "^2.6.12"
1075410754

example/src/components/hoc/VTailwindModal.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@
66
content-class="relative flex flex-col max-h-full mx-4 p-4 border dark:border-gray-800 rounded bg-white dark:bg-gray-900"
77
v-on="$listeners"
88
>
9-
<span class="mr-8 text-2xl font-bold ">
9+
<span class="mr-8 text-2xl font-bold">
1010
<slot name="title"></slot>
1111
</span>
1212
<div class="flex-grow overflow-y-auto">
1313
<slot v-bind:params="params"></slot>
1414
</div>
1515
<div class="flex-shrink-0 flex justify-center items-center pt-4">
16-
<button class="vfm-btn" @click="$emit('confirm', close)">
17-
confirm
18-
</button>
19-
<button class="vfm-btn" @click="$emit('cancel', close)">
20-
cancel
21-
</button>
16+
<button class="vfm-btn" @click="$emit('confirm', close)">confirm</button>
17+
<button class="vfm-btn" @click="$emit('cancel', close)">cancel</button>
2218
</div>
2319
<button class="absolute top-0 right-0 mt-2 mr-2" @click="close">
2420
<mdi-close></mdi-close>

0 commit comments

Comments
 (0)