@enso-ui/notifications 3.2.12 → 3.2.13

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": "3.2.12",
3
+ "version": "3.2.13",
4
4
  "description": "Notification center pages and navbar widgets for Enso UI",
5
5
  "main": "src/bulma/pages/Index.vue",
6
6
  "repository": {
@@ -24,19 +24,13 @@
24
24
  class="navbar-item"
25
25
  @click="read(notification)">
26
26
  <p class="is-notification"
27
- :class="{
28
- 'has-text-grey-light': notification.read_at,
29
- 'is-bold': !notification.read_at,
30
- }">
27
+ :class="{ 'has-text-weight-bold': !notification.read_at }">
31
28
  <fa v-if="notification.data.icon"
32
29
  :icon="notification.data.icon"/>
33
30
  {{ notification.data.body }}
34
31
  </p>
35
32
  <p>
36
- <small :class="{
37
- 'has-text-grey-light': notification.read_at,
38
- 'has-text-info': !notification.read_at,
39
- }">
33
+ <small :class="{ 'has-text-info': !notification.read_at }">
40
34
  {{ timeFromNow(notification.created_at) }}
41
35
  </small>
42
36
  </p>
@@ -48,7 +42,7 @@
48
42
  class="level navbar-item">
49
43
  <div class="level-left">
50
44
  <div class="level-item">
51
- <a class="button is-small is-info ml-1"
45
+ <a class="button is-small"
52
46
  @click="visitNotifications();$refs.navbarItem.hide()">
53
47
  <span>{{ i18n('See all') }}</span>
54
48
  <span class="icon is-small">
@@ -59,7 +53,7 @@
59
53
  </div>
60
54
  <div class="level-right">
61
55
  <div class="level-item">
62
- <a class="button is-small is-success"
56
+ <a class="button is-small is-dark"
63
57
  @click="readAll">
64
58
  <span>{{ i18n('Mark all as read') }}</span>
65
59
  <span class="icon is-small">