@dataloop-ai/components 0.20.116 → 0.20.118

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": "@dataloop-ai/components",
3
- "version": "0.20.116",
3
+ "version": "0.20.118",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -23,7 +23,7 @@
23
23
  "check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
24
24
  },
25
25
  "dependencies": {
26
- "@dataloop-ai/icons": "^3.1.12",
26
+ "@dataloop-ai/icons": "^3.1.13",
27
27
  "@types/flat": "^5.0.2",
28
28
  "@types/lodash": "^4.14.184",
29
29
  "@types/sortablejs": "^1.15.7",
@@ -543,11 +543,9 @@ export default defineComponent({
543
543
  : '',
544
544
  isRowHighlighted:
545
545
  props.highlightedRow &&
546
- row[
547
- typeof props.rowKey === 'string'
548
- ? props.rowKey
549
- : props.rowKey()
550
- ] === props.highlightedRow,
546
+ (typeof props.rowKey === 'string'
547
+ ? row[props.rowKey] === props.highlightedRow
548
+ : false),
551
549
  level,
552
550
  class: 'nested-element dl-tr',
553
551
  'data-level': level,
@@ -12,7 +12,9 @@
12
12
  >
13
13
  <td
14
14
  v-if="hasDraggableRows"
15
- :style="`width: 25px; opacity: ${isDragIconVisible ? '1' : '0'}`"
15
+ :style="`width: 25px; opacity: ${
16
+ isDragIconVisible || isRowHighlighted ? '1' : '0'
17
+ }`"
16
18
  >
17
19
  <dl-icon class="draggable-icon" icon="icon-dl-drag" size="12px" />
18
20
  </td>