@tagplus/components 1.0.1 → 1.0.5

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": "1.0.1",
11
+ "version": "1.0.5",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -11,6 +11,7 @@
11
11
  :manual="true"
12
12
  :value="tooltipVisible"
13
13
  :content="selectedLabel + ''"
14
+ :tabindex="-1"
14
15
  >
15
16
  <!-- Div é importante para funcionar o tooltip -->
16
17
  <div />
@@ -2,7 +2,9 @@
2
2
  <li
3
3
  :id="id"
4
4
  :class="['tp-options-list-item', itemType, active == optValue ? 'active' : '']"
5
+ tabindex="0"
5
6
  @click="updateOption"
7
+ @keyup.enter="updateOption"
6
8
  >
7
9
  <div :class="['icon', direction]">
8
10
  <i :class="[icon, 'options-icon']" />
@@ -171,6 +173,10 @@ export default {
171
173
 
172
174
  }
173
175
 
176
+ .tp-options-list-item:focus{
177
+ border: 1px solid #437cf9;
178
+ }
179
+
174
180
  .option-item-badge{
175
181
  background-color: #F56C6C;
176
182
  border: 1px solid #FFF;