Skip to content

Commit

Permalink
Release v1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelsw committed Jan 24, 2022
1 parent bc0c95e commit 00feb65
Show file tree
Hide file tree
Showing 7 changed files with 1,137 additions and 1,582 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

<a name="1.2.5"></a>

### 1.2.5 (2022-01-24)

- Update core and example dependencies
- Update example to use Tailwind 3.0
- Remove @vue/compiler-sfc (as of vue 3.2.13+ and @vitejs/plugin-vue 1.9.0+ is no longer required as a peer dependency)

<a name="1.2.4"></a>

### 1.2.4 (2021-11-16)
Expand Down
13 changes: 6 additions & 7 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
"serve": "vite preview"
},
"dependencies": {
"vue": "^3.2.22"
"vue": "^3.2.29"
},
"devDependencies": {
"@vitejs/plugin-vue": "^1.9.4",
"@vue/compiler-sfc": "^3.2.22",
"autoprefixer": "^10.4.0",
"postcss": "^8.3.11",
"tailwindcss": "^2.2.19",
"vite": "^2.6.14"
"@vitejs/plugin-vue": "^2.1.0",
"autoprefixer": "^10.4.2",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.16",
"vite": "^2.7.13"
}
}
8 changes: 4 additions & 4 deletions example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="w-full max-w-sm">
<Notification
v-slot="{ notifications, close }"
enter="transform ease-out duration-300 transition"
enter="ease-out duration-300 transition"
enter-from="translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-4"
enter-to="translate-y-0 opacity-100 sm:translate-x-0"
leave="transition ease-in duration-500"
Expand All @@ -36,7 +36,7 @@
>
<div class="p-4">
<div class="flex items-start">
<div class="flex-shrink-0">
<div class="shrink-0">
<svg
class="w-6 h-6 text-green-400"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -61,7 +61,7 @@
{{ notification.text }}
</p>
</div>
<div class="flex flex-shrink-0 ml-4">
<div class="flex ml-4 shrink-0">
<button
class="inline-flex text-gray-400 bg-white rounded-md hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-400"
@click="close(notification.id)"
Expand Down Expand Up @@ -98,7 +98,7 @@
<div class="w-full max-w-sm">
<Notification
v-slot="{ notifications }"
enter="transform ease-out duration-300 transition"
enter="ease-out duration-300 transition"
enter-from="translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-4"
enter-to="translate-y-0 opacity-100 sm:translate-x-0"
leave="transition ease-in duration-500"
Expand Down
7 changes: 1 addition & 6 deletions example/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
module.exports = {
mode: 'jit',
purge: ['./index.html', './src/**/*.{vue,js}'],
darkMode: false,
content: ['./index.html', './src/**/*.{vue,js}'],
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}
Loading

0 comments on commit 00feb65

Please sign in to comment.