@burh/nuxt-core 1.0.209 → 1.0.210

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.
@@ -1,14 +1,20 @@
1
1
  <template>
2
- <article class="recruitment__card">
2
+ <article class="recruitment__card" @click="$emit('card-click')">
3
3
  <header class="recruitment__card__header">
4
4
  <div class="recruitment__card__header__status">
5
5
  <p>SELECT</p>
6
6
  </div>
7
7
  <div class="recruitment__card__header__actions">
8
- <button class="action__item">
8
+ <button
9
+ class="action__item"
10
+ @click.stop.prevent="$emit('notes-click')"
11
+ >
9
12
  <i class="far fa-comment-alt"></i>
10
13
  </button>
11
- <button class="action__item">
14
+ <button
15
+ class="action__item"
16
+ @click.stop.prevent="$emit('share-click')"
17
+ >
12
18
  <i class="fas fa-share-alt"></i>
13
19
  </button>
14
20
  </div>
@@ -63,10 +69,15 @@ export default {
63
69
 
64
70
  <style lang="scss" scoped>
65
71
  .recruitment__card {
72
+ cursor: pointer;
66
73
  background: #fff;
67
74
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
68
75
  padding: 20px;
69
76
  border-radius: 4px;
77
+ transition: transform 0.25s;
78
+ &:hover {
79
+ transform: translateY(-5px);
80
+ }
70
81
 
71
82
  &__header {
72
83
  display: flex;
@@ -5,7 +5,7 @@
5
5
  :class="{ 'images__container': images.length }"
6
6
  class="col-6 my-auto header__container"
7
7
  >
8
- <slot slot="header-top" />
8
+ <slot name="header-top" />
9
9
 
10
10
  <div class="header__content">
11
11
  <h2 class="font-weight-bold display-3">{{name}}</h2>
@@ -23,7 +23,7 @@
23
23
  {{ subheader }} Créditos
24
24
  </span>
25
25
 
26
- <slot slot="header-bottom" />
26
+ <slot name="header-bottom" />
27
27
  </div>
28
28
 
29
29
  <div class="col-6 d-flex justify-content-end align-items-center">
@@ -36,7 +36,7 @@
36
36
  </base-button>
37
37
  </el-tooltip>
38
38
 
39
- <slot name="buttons"></slot>
39
+ <slot name="buttons" />
40
40
  </div>
41
41
 
42
42
  <slot/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.209",
3
+ "version": "1.0.210",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {