innoboxrr-vue-datatable 1.2.7 → 1.2.9

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": "innoboxrr-vue-datatable",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "Datatable para vue3",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/DataTable.vue CHANGED
@@ -5,12 +5,12 @@
5
5
  <div v-if="showTopbar">
6
6
 
7
7
  <!-- Tools -->
8
- <div class="uk-card uk-card-body">
8
+ <div class="uk-container uk-container-expand pt-4">
9
9
 
10
10
  <div uk-grid>
11
11
 
12
12
  <!-- Actions -->
13
- <div class="uk-width-expand@m" v-if="hasActions">
13
+ <div class="uk-width-expand" v-if="hasActions">
14
14
 
15
15
  <!-- Action Button-->
16
16
  <button
@@ -64,7 +64,7 @@
64
64
 
65
65
  </div>
66
66
 
67
- <div v-if="hasFilter" class="uk-width-auto@m">
67
+ <div v-if="hasFilter" class="uk-width-auto">
68
68
 
69
69
  <div class="uk-grid-divider uk-child-width-expand uk-text-center" uk-grid>
70
70
 
@@ -64,7 +64,10 @@
64
64
 
65
65
  <nav-dropdown-component :id="`dropdown_${body.id}`" pos="left">
66
66
 
67
- <li v-for="action in body.actions">
67
+ <li
68
+ v-for="action in body.actions"
69
+ :key="action.name"
70
+ class="hover:bg-slate-100 dark:hover:bg-slate-600 p-2">
68
71
 
69
72
  <template v-if="action.route">
70
73
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <a
4
4
  href="#"
5
- class="disabled-link block px-4 py-2 hover:bg-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:text-slate-400"
5
+ class="disabled-link block px-4 py-2 dark:hover:text-white dark:text-slate-400"
6
6
  :uk-tooltip="`title: ${ 'This action is not authorized' }; pos:right`">
7
7
 
8
8
  <span
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
 
3
3
  <a
4
- class="block px-4 py-2 hover:bg-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:text-slate-400"
4
+ class="block px-4 py-2 dark:hover:text-white dark:text-slate-400"
5
5
  :href="link"
6
6
  :target="target">
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <router-link
4
4
  :to="pathObject"
5
- class="block px-4 py-2 hover:bg-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:text-slate-400">
5
+ class="block px-4 py-2 dark:hover:text-white dark:text-slate-400">
6
6
 
7
7
  <span
8
8
  class="uk-margin-small-right uk-icon"