@magicx-eng/ai-autocomplete-angular 0.48.1 → 0.48.2

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.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -799,6 +799,7 @@ How it behaves:
799
799
 
800
800
  - **Called** once the moment the parameter becomes active, with whatever the user has already typed for it (usually `""`, the request for the default list), and again on the SDK's typing debounce with each new phrase — so you can search or page a larger list. Return the same list again if the phrase is already covered.
801
801
  - **Shown as-is.** The answer is not filtered again by the phrase it was produced for, so a fuzzy match survives. Between two calls the previous answer is filtered locally by what the user types. Typing an option's full text completes the parameter, as it does for a server option.
802
+ - **Icons.** When the server sends an icon for the parameter (`icon` / `icon_svg` on the suggestion), each option you return without an `icon_svg` or `image_url` of its own is drawn with it.
802
803
  - **The server steps back.** Its own options for an overridden type are never shown, and it is not asked for suggestions while an override owns the active parameter — it is asked again when the parameter is answered or skipped. Return an empty list for a typed phrase and the SDK falls back to the server for that phrase (once), the way it does for a parameter with no matching options. An empty list for `""` leaves the parameter on screen with no options.
803
804
  - **Honour `signal`** — it is aborted when a newer phrase supersedes the call, when the parameter stops being active, and on `destroy()`. A throw or a rejection is logged once and treated as an empty answer, never as a fetch error.
804
805
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicx-eng/ai-autocomplete-angular",
3
- "version": "0.48.1",
3
+ "version": "0.48.2",
4
4
  "description": "AI Autocomplete for Angular: add real-time AI suggestions to any text box and guide users to what your product can do, across search, commerce, agents, and more. Standalone component or controller + directive, with Reactive Forms support.",
5
5
  "homepage": "https://ai-autocomplete.com/docs/angular/getting-started",
6
6
  "bugs": {
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "^2.3.0",
28
- "@magicx-eng/ai-autocomplete-vanilla": "0.61.0"
28
+ "@magicx-eng/ai-autocomplete-vanilla": "0.62.0"
29
29
  },
30
30
  "keywords": [
31
31
  "angular",