@nixweb/nixloc-ui 0.0.196 → 0.0.197

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": "@nixweb/nixloc-ui",
3
- "version": "0.0.196",
3
+ "version": "0.0.197",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,16 +1,13 @@
1
1
  <template>
2
2
  <div>
3
- <div
4
- class="div-icon text-center"
5
- :style="'font-size:' + iconSize + 'px'"
6
- v-if="!show"
7
- >
8
- <div class="text-center" @click="show = true">
9
- <i class="fa-solid fa-eye-slash"></i>
10
-
3
+ <div class="div-icon" :class="classCss" :style="'font-size:' + iconSize + 'px'" v-if="!show">
4
+ <div class="icon-eye" @click="show = true">
5
+ <i class="fa-solid fa-circle-small"></i>
6
+ <i class="fa-solid fa-circle-small"></i>
7
+ <i class="fa-solid fa-circle-small"></i>
11
8
  </div>
12
9
  </div>
13
- <div v-if="show">
10
+ <div class="div-icon" v-if="show" @click="show = false">
14
11
  <slot></slot>
15
12
  </div>
16
13
  </div>
@@ -25,14 +22,7 @@ export default {
25
22
  type: Number,
26
23
  default: 50,
27
24
  },
28
- titleSize: {
29
- type: Number,
30
- default: 14,
31
- },
32
- title: {
33
- type: String,
34
- default: "",
35
- },
25
+ classCss: String
36
26
  },
37
27
  data() {
38
28
  return {
@@ -56,20 +46,14 @@ export default {
56
46
  </script>
57
47
  <style scoped>
58
48
  .div-icon {
59
- padding: 2px;
60
- margin: auto;
61
- width: 100%;
62
- margin: 0;
63
- position: absolute;
64
- color: #dce3e9;
49
+ display: flex;
50
+ justify-content: center;
51
+ align-items: center;
65
52
  cursor: pointer;
66
- top: 50%;
67
- -ms-transform: translateY(-50%);
68
- transform: translateY(-50%);
69
53
  }
70
54
 
71
- .text-description {
72
- margin-left: 30px;
73
- color: #7c7f83;
55
+ .icon-eye{
56
+ color: #dce3e9;
74
57
  }
58
+
75
59
  </style>