@dataloop-ai/components 0.19.7 → 0.19.9

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.7",
3
+ "version": "0.19.9",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -1,4 +1,5 @@
1
1
  export interface DlSelectOption {
2
2
  label: string
3
3
  value: any
4
+ children: DlSelectOption[]
4
5
  }
@@ -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