@burh/nuxt-core 1.0.101 → 1.0.103

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,74 +1,74 @@
1
1
  <template>
2
- <default-link @click="callVideoTutorial" :link="to" class="product-item">
3
- <div :class="'product-item--avatar bg-'+color">
4
- <img :src="avatar" alt="">
5
- </div>
6
- <div :class="contentClass" class="product-item--content">
7
- <component
8
- :is="titleTag"
9
- :class="titleClass"
10
- class="product-item--title"
11
- >{{ title }}</component
12
- >
13
- <p
14
- :class="descriptionClass"
15
- class="product-item--description"
16
- v-if="description"
17
- >
18
- {{ description }}
19
- </p>
20
- <badge
21
- rounded
22
- size="md"
23
- class="ml-auto badge-bg-color badge-font"
24
- type="primary"
25
- v-show="hasEnableBadge"
26
- >UPGRADE
27
- </badge>
28
- </div>
29
- </default-link>
2
+ <default-link @click="callVideoTutorial" :link="to" class="product-item">
3
+ <div :class="'product-item--avatar bg-'+color">
4
+ <img :src="avatar" alt="">
5
+ </div>
6
+ <div :class="contentClass" class="product-item--content">
7
+ <component
8
+ :is="titleTag"
9
+ :class="titleClass"
10
+ class="product-item--title"
11
+ >{{ title }}</component
12
+ >
13
+ <p
14
+ :class="descriptionClass"
15
+ class="product-item--description"
16
+ v-if="description"
17
+ >
18
+ {{ description }}
19
+ </p>
20
+ <badge
21
+ rounded
22
+ size="md"
23
+ class="ml-auto badge-bg-color badge-font"
24
+ type="primary"
25
+ v-show="hasEnableBadge"
26
+ >ATUALIZAR
27
+ </badge>
28
+ </div>
29
+ </default-link>
30
30
  </template>
31
31
 
32
32
  <script>
33
- import DefaultLink from "../Link/DefaultLink";
33
+ import DefaultLink from '../Link/DefaultLink';
34
34
  export default {
35
- name: "simple-product-item",
36
- components: {
37
- DefaultLink
38
- },
39
- props: {
40
- tag: {
41
- type: String,
42
- default: "section"
43
- },
44
- contentClass: String,
45
- title: String,
46
- titleTag: {
47
- type: String,
48
- default: "h3"
49
- },
50
- titleClass: String,
51
- avatar: String,
52
- color: String,
53
- icon: String,
54
- avatarClass: String,
55
- description: String,
56
- descriptionClass: String,
57
- hasEnableBadge: Boolean,
58
- badgeClass: String,
59
- to: {
60
- type: String,
61
- default: "/"
62
- },
63
- indexableName: String
64
- },
65
- methods: {
66
- callVideoTutorial() {
67
- if (this.indexableName == "VIDEO_CHAMADA") {
68
- this.$emit("callVideoTutorial");
69
- }
70
- }
71
- }
35
+ name: 'simple-product-item',
36
+ components: {
37
+ DefaultLink
38
+ },
39
+ props: {
40
+ tag: {
41
+ type: String,
42
+ default: 'section'
43
+ },
44
+ contentClass: String,
45
+ title: String,
46
+ titleTag: {
47
+ type: String,
48
+ default: 'h3'
49
+ },
50
+ titleClass: String,
51
+ avatar: String,
52
+ color: String,
53
+ icon: String,
54
+ avatarClass: String,
55
+ description: String,
56
+ descriptionClass: String,
57
+ hasEnableBadge: Boolean,
58
+ badgeClass: String,
59
+ to: {
60
+ type: String,
61
+ default: '/'
62
+ },
63
+ indexableName: String
64
+ },
65
+ methods: {
66
+ callVideoTutorial() {
67
+ if (this.indexableName == 'VIDEO_CHAMADA') {
68
+ this.$emit('callVideoTutorial');
69
+ }
70
+ }
71
+ }
72
72
  };
73
73
  </script>
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.101",
3
+ "version": "1.0.103",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {