@dataloop-ai/components 0.17.59 → 0.17.60

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.17.59",
3
+ "version": "0.17.60",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -189,7 +189,7 @@
189
189
  <!-- Virtual scroll -->
190
190
  <dl-virtual-scroll
191
191
  v-if="optionsCount > MAX_ITEMS_PER_LIST"
192
- v-slot="{ item }"
192
+ v-slot="{ item, index }"
193
193
  :items="options"
194
194
  :virtual-scroll-item-size="28"
195
195
  :virtual-scroll-sticky-size-start="28"
@@ -202,11 +202,10 @@
202
202
  :multiselect="multiselect"
203
203
  :class="{
204
204
  selected:
205
- option === selectedOption &&
206
- highlightSelected
205
+ item === selectedOption && highlightSelected
207
206
  }"
208
207
  :style="
209
- optionIndex === highlightedIndex
208
+ index === highlightedIndex
210
209
  ? 'background-color: var(--dl-color-fill)'
211
210
  : ''
212
211
  "