@enso-ui/notifications 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/notifications",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Basic notifications package",
5
5
  "main": "src/bulma/pages/Index.vue",
6
6
  "scripts": {
@@ -25,10 +25,10 @@
25
25
  "@enso-ui/dropdown": "^3.0",
26
26
  "@enso-ui/toastr": "^3.0",
27
27
  "@enso-ui/ui": "^5.0",
28
+ "@enso-ui/transitions": "^2.0",
28
29
  "@fortawesome/fontawesome-svg-core": "^1.2.2",
29
30
  "@fortawesome/free-solid-svg-icons": "^5.2.0",
30
31
  "@fortawesome/vue-fontawesome": "3.0.0-5",
31
- "animate.css": "^4.0.0",
32
32
  "favico.js": "^0.3.10",
33
33
  "lodash": "^4.17.20",
34
34
  "vue": "^3.0",
@@ -13,13 +13,15 @@
13
13
  </a>
14
14
  </div>
15
15
  <div class="level-item">
16
- <a :class="['button animate__animated animate__fadeIn', {'is-loading': loading}]"
17
- @click="fetch">
18
- <span>{{ i18n('Reload') }}</span>
19
- <span class="icon is-small">
20
- <fa icon="sync"/>
21
- </span>
22
- </a>
16
+ <fade>
17
+ <a :class="['button', {'is-loading': loading}]"
18
+ @click="fetch">
19
+ <span>{{ i18n('Reload') }}</span>
20
+ <span class="icon is-small">
21
+ <fa icon="sync"/>
22
+ </span>
23
+ </a>
24
+ </fade>
23
25
  </div>
24
26
  <div class="level-item is-marginless"
25
27
  v-if="notifications.length">
@@ -74,7 +76,7 @@
74
76
  </template>
75
77
 
76
78
  <script>
77
- import 'animate.css';
79
+ import { Fade } from '@enso-ui/transitions';
78
80
  import debounce from 'lodash/debounce';
79
81
  import { mapState } from 'vuex';
80
82
  import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
@@ -93,7 +95,7 @@ export default {
93
95
 
94
96
  inject: ['errorHandler', 'i18n', 'route', 'routerErrorHandler'],
95
97
 
96
- components: { Fa },
98
+ components: { Fa, Fade },
97
99
 
98
100
  data: () => ({
99
101
  paginate: 200,