edvoyui-component-library-test-flight 0.0.82 → 0.0.85

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,5 +1,5 @@
1
1
  export * from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=script&setup=true&lang.ts";
2
- import "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=f9b25ed3&lang.scss";
2
+ import "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=90230f18&lang.scss";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=EUITable.vue.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edvoyui-component-library-test-flight",
3
3
  "private": false,
4
- "version": "0.0.82",
4
+ "version": "0.0.85",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/",
@@ -116,6 +116,7 @@
116
116
  :key="`table-row-${rowIndex}`"
117
117
  >
118
118
  <tr
119
+ :id="`row-${rowIndex}`"
119
120
  :class="activeRowIndex==rowIndex?'!bg-purple-50 !ring-1 !ring-purple-100 !ring-inset':''"
120
121
  @mouseenter="
121
122
  $attrs.mouseenter
@@ -132,6 +132,7 @@
132
132
  : null
133
133
  "
134
134
  class="group"
135
+ :class="{'bg-purple-100': activeRowIndex==rowIndex}"
135
136
  >
136
137
  <td
137
138
  v-if="checkable"
@@ -281,6 +282,7 @@ const props = defineProps({
281
282
  },
282
283
  tableLoading: { type: Boolean, default: false },
283
284
  backendPagination: Boolean,
285
+ activeRowIndex: { type: Number, default: null },
284
286
  });
285
287
 
286
288
  const {
@@ -295,6 +297,7 @@ const {
295
297
  headers,
296
298
  paginated,
297
299
  isRowCheckable,
300
+ activeRowIndex
298
301
  } = toRefs(props);
299
302
 
300
303
  // Emits used