@dataloop-ai/components 0.20.129 → 0.20.130

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.129",
3
+ "version": "0.20.130",
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.22",
26
+ "@dataloop-ai/icons": "^3.1.23",
27
27
  "@types/flat": "^5.0.2",
28
28
  "@types/lodash": "^4.14.184",
29
29
  "@types/sortablejs": "^1.15.7",
@@ -16,7 +16,16 @@
16
16
  isDragIconVisible || isRowHighlighted ? '1' : '0'
17
17
  }`"
18
18
  >
19
- <dl-icon class="draggable-icon" icon="icon-dl-drag" size="12px" />
19
+ <dl-icon
20
+ class="draggable-icon"
21
+ icon="icon-dl-drag"
22
+ size="12px"
23
+ :color="
24
+ isDragIconHovered ? 'dl-color-darker' : 'dl-color-lighter'
25
+ "
26
+ @mouseenter="isDragIconHovered = true"
27
+ @mouseleave="isDragIconHovered = false"
28
+ />
20
29
  </td>
21
30
  <td v-if="hasSelectionMode" class="dl-table--col-auto-width">
22
31
  <slot name="body-selection" v-bind="bindBodySelection">
@@ -233,7 +242,7 @@ export default defineComponent({
233
242
  const childrenCount = ref(0)
234
243
  const { row } = toRefs(props)
235
244
  const isDragIconVisible = ref(false)
236
-
245
+ const isDragIconHovered = ref(false)
237
246
  const vm = getCurrentInstance()
238
247
 
239
248
  const isCheckboxDisabled = computed(() => {
@@ -391,6 +400,7 @@ export default defineComponent({
391
400
  visibleChildren,
392
401
  childrenCount,
393
402
  isDragIconVisible,
403
+ isDragIconHovered,
394
404
  getRowKey,
395
405
  emitRowClick,
396
406
  onTrDoubleClick,