@dataloop-ai/components 0.19.6 → 0.19.8

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.19.6",
3
+ "version": "0.19.8",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -284,10 +284,12 @@
284
284
  :opt="option"
285
285
  name="option"
286
286
  >
287
- <span
288
- class="inner-option"
289
- v-html="getOptionHtml(option)"
290
- />
287
+ <dl-ellipsis>
288
+ <span
289
+ class="inner-option"
290
+ v-html="getOptionHtml(option)"
291
+ />
292
+ </dl-ellipsis>
291
293
  </slot>
292
294
  </dl-select-option>
293
295
  </div>
@@ -328,6 +330,7 @@ import {
328
330
  DlItemSection,
329
331
  DlVirtualScroll
330
332
  } from '../../shared'
333
+ import { DlEllipsis } from '../../essential'
331
334
  import { defineComponent, PropType, ref } from 'vue-demi'
332
335
  import {
333
336
  getLabel,
@@ -352,7 +355,8 @@ export default defineComponent({
352
355
  DlMenu,
353
356
  DlTooltip,
354
357
  DlSelectOption,
355
- DlVirtualScroll
358
+ DlVirtualScroll,
359
+ DlEllipsis
356
360
  },
357
361
  model: {
358
362
  prop: 'modelValue',
@@ -170,7 +170,10 @@ export const useSuggestions = (
170
170
  }
171
171
 
172
172
  if (!matchedField && isNextCharSpace(input, field)) {
173
- localSuggestions = []
173
+ localSuggestions =
174
+ value && input.endsWith(space)
175
+ ? [Logical.AND, Logical.OR]
176
+ : []
174
177
  continue
175
178
  }
176
179