@magicx-eng/ai-autocomplete-angular 0.64.3 → 0.65.0

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/README.md CHANGED
@@ -416,6 +416,8 @@ The dropdown shows a row of product cards under the options whenever there are p
416
416
 
417
417
  Each response that read the catalog says which of the query's constraints it applied (`applied_filters`), which it dropped (`dropped_filters`) and how many items are left (`items.total`). Read it from `customFields$` on the controller, or from `custom_fields` on `AutocompleteResult`. `null` means no catalog was read for that response. Details: [REFERENCE.md](https://unpkg.com/@magicx-eng/ai-autocomplete-angular/REFERENCE.md), under "The catalog report".
418
418
 
419
+ When the search finds no item, `blocking_filters` names each condition whose removal finds items, with the count. The SDK greys out those chips and gives each a "×" that removes it, even with `showChipRemove` off. The chips are `blockingChips` on the controller state; the opacity is the `--aia-blocking-chip-opacity` token (default `0.5`).
420
+
419
421
  #### Change product cards before display
420
422
 
421
423
  `mapProducts(products, items)` changes the cards before they show (to put in the shopper's own prices, say), and `refreshProducts()` maps them again when your data arrives. Details: [REFERENCE.md](https://unpkg.com/@magicx-eng/ai-autocomplete-angular/REFERENCE.md), under "Change product cards before display".