@tagplus/components 2.0.2 → 2.0.3

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
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "2.0.2",
11
+ "version": "2.0.3",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -56,7 +56,7 @@
56
56
  v-else
57
57
  slot="prepend"
58
58
  >
59
- <i class="far fa-search" />
59
+ <em class="far fa-search" />
60
60
  </template>
61
61
  </template>
62
62
 
@@ -73,7 +73,7 @@
73
73
  :justify="selectedLabel ? 'space-between' : 'end'"
74
74
  align="middle"
75
75
  >
76
- <i
76
+ <em
77
77
  v-if="selectedLabel && !selectDisabled"
78
78
  :id="`${_id}-btn-clear`"
79
79
  class="fa fa-times-circle icon-close"
@@ -90,7 +90,7 @@
90
90
  class="dividerSuggest"
91
91
  />
92
92
 
93
- <i
93
+ <em
94
94
  v-show="!showClose && !selectDisabled"
95
95
  :id="`${_id}-btn-close`"
96
96
  :class="['el-select__caret', 'el-input__icon', 'el-icon-' + iconClass]"
@@ -129,7 +129,7 @@
129
129
  :class="{'created': item.created}"
130
130
  >
131
131
  <template v-if="item.created">
132
- <a :id="`${_id}-btn-create`"><i class="far fa-plus" /> {{ newItem }}</a>
132
+ <a :id="`${_id}-btn-create`"><em class="far fa-plus" /> {{ newItem }}</a>
133
133
  </template>
134
134
  <slot
135
135
  v-else
@@ -29,7 +29,7 @@
29
29
  aria-label="Close"
30
30
  @click="handleClose"
31
31
  >
32
- <i class="el-dialog__close el-icon el-icon-close" />
32
+ <em class="el-dialog__close el-icon el-icon-close" />
33
33
  </button>
34
34
  </div>
35
35
  <div
@@ -17,7 +17,7 @@
17
17
  :class="{'is-disabled': minDisabled}"
18
18
  @keydown.enter="decrease"
19
19
  >
20
- <i :class="`el-icon-${controlsAtRight ? 'arrow-down' : 'minus'}`" />
20
+ <em :class="`el-icon-${controlsAtRight ? 'arrow-down' : 'minus'}`" />
21
21
  </span>
22
22
  <span
23
23
  v-if="controls"
@@ -27,7 +27,7 @@
27
27
  :class="{'is-disabled': maxDisabled}"
28
28
  @keydown.enter="increase"
29
29
  >
30
- <i :class="`el-icon-${controlsAtRight ? 'arrow-up' : 'plus'}`" />
30
+ <em :class="`el-icon-${controlsAtRight ? 'arrow-up' : 'plus'}`" />
31
31
  </span>
32
32
  <el-input
33
33
  ref="input"
@@ -22,7 +22,7 @@
22
22
  </svg>
23
23
 
24
24
  <div class="icones">
25
- <i v-for="(icon, k) in icons" :key="k" :class="icon" :style="`--iconsItem:${k}`" />
25
+ <em v-for="(icon, k) in icons" :key="k" :class="icon" :style="`--iconsItem:${k}`" />
26
26
  </div>
27
27
 
28
28
  <div class="texto">
@@ -13,7 +13,7 @@
13
13
  style="visibility: hidden;"
14
14
  class="el-input-group__prepend"
15
15
  >
16
- <i class="far fa-search" />
16
+ <em class="far fa-search" />
17
17
  </div>
18
18
  <span v-if="collapseTags && selected.length">
19
19
  <el-tooltip placement="top">
@@ -124,7 +124,7 @@
124
124
  v-else
125
125
  slot="prepend"
126
126
  >
127
- <i class="far fa-search" />
127
+ <em class="far fa-search" />
128
128
  </template>
129
129
  </template>
130
130
  <template
@@ -139,7 +139,7 @@
139
139
  :justify="selected.length ? 'space-between' : 'end'"
140
140
  align="middle"
141
141
  >
142
- <i
142
+ <em
143
143
  v-if="selected.length && !selectDisabled"
144
144
  :id="`${_id}-btn-clear`"
145
145
  class="fa fa-times-circle icon-close"
@@ -156,7 +156,7 @@
156
156
  class="dividerSuggest"
157
157
  />
158
158
 
159
- <i
159
+ <em
160
160
  v-show="!showClose && !selectDisabled"
161
161
  :id="`${_id}-btn-close`"
162
162
  :class="['el-select__caret', 'el-input__icon', 'el-icon-' + iconClass]"
@@ -195,7 +195,7 @@
195
195
  :class="{'created': item.created}"
196
196
  >
197
197
  <template v-if="item.created">
198
- <a :id="`${_id}-btn-create`"><i class="far fa-plus" /> Cadastrar {{ query ? `"${query}"` : "novo item" }}</a>
198
+ <a :id="`${_id}-btn-create`"><em class="far fa-plus" /> Cadastrar {{ query ? `"${query}"` : "novo item" }}</a>
199
199
  </template>
200
200
  <slot
201
201
  v-else
@@ -7,7 +7,7 @@
7
7
  @keyup.enter="updateOption"
8
8
  >
9
9
  <div :class="['icon', direction]">
10
- <i :class="[icon, 'options-icon']" />
10
+ <em :class="[icon, 'options-icon']" />
11
11
  <p class="text">
12
12
  <span
13
13
  v-for="(text, index) in texts"
@@ -97,8 +97,8 @@ export default {
97
97
  margin-top: 15px;
98
98
 
99
99
  &.entrada {
100
- @include option-list-item-hover(#67c23a);
101
- @include option-list-item-checked(#67c23a);
100
+ @include option-list-item-hover(#08a19e);
101
+ @include option-list-item-checked(#08a19e);
102
102
  }
103
103
 
104
104
  &.saida {
@@ -118,6 +118,10 @@ export default {
118
118
  }
119
119
  }
120
120
 
121
+ &:focus{
122
+ border: 1px solid #437cf9;
123
+ }
124
+
121
125
  .icon {
122
126
  color: #565b66;
123
127
  display: flex;
@@ -132,7 +136,7 @@ export default {
132
136
  min-width: 130px;
133
137
 
134
138
  .text {
135
- text-align: left;
139
+ text-align: center;
136
140
  width: 70px;
137
141
 
138
142
  span {
@@ -173,10 +177,6 @@ export default {
173
177
 
174
178
  }
175
179
 
176
- .tp-options-list-item:focus{
177
- border: 1px solid #437cf9;
178
- }
179
-
180
180
  .option-item-badge{
181
181
  background-color: #F56C6C;
182
182
  border: 1px solid #FFF;
@@ -17,7 +17,7 @@
17
17
  class="el-step__line"
18
18
  :style="isLast ? '' : { marginRight: $parent.stepOffset + 'px' }"
19
19
  >
20
- <i class="el-step__line-inner" :style="lineStyle" />
20
+ <em class="el-step__line-inner" :style="lineStyle" />
21
21
  </div>
22
22
 
23
23
  <div class="el-step__icon" :class="`is-${icon ? 'icon' : 'text'}`">
@@ -25,12 +25,12 @@
25
25
  v-if="currentStatus !== 'success' && currentStatus !== 'error'"
26
26
  name="icon"
27
27
  >
28
- <i v-if="icon" class="el-step__icon-inner" :class="[icon]" />
28
+ <em v-if="icon" class="el-step__icon-inner" :class="[icon]" />
29
29
  <div v-if="!icon && !isSimple" class="el-step__icon-inner">
30
30
  {{ index + 1 }}
31
31
  </div>
32
32
  </slot>
33
- <i
33
+ <em
34
34
  v-else
35
35
  :class="['el-icon-' + (currentStatus === 'success' ? 'check' : 'close')]"
36
36
  class="el-step__icon-inner is-status"