@magicx-eng/ai-autocomplete-angular 0.21.0 → 0.22.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.
@@ -1,5 +1,5 @@
1
- import { EventEmitter } from "@angular/core";
2
- import type { Product } from "@magicx-eng/ai-autocomplete-vanilla";
1
+ import { type ElementRef, EventEmitter, type OnDestroy } from "@angular/core";
2
+ import { type Product } from "@magicx-eng/ai-autocomplete-vanilla";
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Internal product strip rendered below the dropdown's options grid. Mirrors
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
21
21
  *
22
22
  * @internal
23
23
  */
24
- export declare class ProductStripComponent {
24
+ export declare class ProductStripComponent implements OnDestroy {
25
25
  products: Product[];
26
26
  /** Scopes the section label's id to the owning listbox. */
27
27
  listboxId: string;
@@ -39,6 +39,14 @@ export declare class ProductStripComponent {
39
39
  * the user just tabbed to.
40
40
  */
41
41
  readonly focusChange: EventEmitter<boolean>;
42
+ private detachWheel;
43
+ /**
44
+ * A mouse wheel over the row scrolls it sideways. The row sits inside the
45
+ * section's `*ngIf`, so the query fires with the element as products arrive
46
+ * and with `undefined` as they go; the binding follows it either way.
47
+ */
48
+ set row(ref: ElementRef<HTMLElement> | undefined);
49
+ ngOnDestroy(): void;
42
50
  get labelId(): string;
43
51
  cardId(index: number): string;
44
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"product-strip.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/internal/product-strip/product-strip.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;;AAEnE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBASa,qBAAqB;IACvB,QAAQ,EAAE,OAAO,EAAE,CAAM;IAClC,2DAA2D;IAClD,SAAS,SAAM;IACxB;;;;OAIG;IACM,SAAS,UAAQ;IAEhB,QAAQ,CAAC,MAAM,wBAA+B;IACxD;;;;;OAKG;IACO,QAAQ,CAAC,WAAW,wBAA+B;IAE7D,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI7B;;;OAGG;IACH,cAAc,MAAO,MAAM,WAAW,OAAO,KAAG,MAAM,CAQxC;IAEd,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAWlD,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAMvD,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCA/DxB,qBAAqB;2CAArB,qBAAqB;CAoEjC"}
1
+ {"version":3,"file":"product-strip.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/internal/product-strip/product-strip.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,UAAU,EACf,YAAY,EAEZ,KAAK,SAAS,EAIf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,qCAAqC,CAAC;;AAE1F;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBASa,qBAAsB,YAAW,SAAS;IAC5C,QAAQ,EAAE,OAAO,EAAE,CAAM;IAClC,2DAA2D;IAClD,SAAS,SAAM;IACxB;;;;OAIG;IACM,SAAS,UAAQ;IAEhB,QAAQ,CAAC,MAAM,wBAA+B;IACxD;;;;;OAKG;IACO,QAAQ,CAAC,WAAW,wBAA+B;IAE7D,OAAO,CAAC,WAAW,CAA6B;IAEhD;;;;OAIG;IACH,IACI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,SAAS,EAG/C;IAED,WAAW,IAAI,IAAI;IAKnB,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI7B;;;OAGG;IACH,cAAc,MAAO,MAAM,WAAW,OAAO,KAAG,MAAM,CAQxC;IAEd,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAWlD,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAMvD,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCAjFxB,qBAAqB;2CAArB,qBAAqB;CAsFjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicx-eng/ai-autocomplete-angular",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "AI Autocomplete Angular SDK — guided autocomplete with pill-based input and dropdown suggestions",
5
5
  "module": "fesm2015/magicx-eng-ai-autocomplete-angular.mjs",
6
6
  "es2020": "fesm2020/magicx-eng-ai-autocomplete-angular.mjs",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "tslib": "^2.3.0",
24
- "@magicx-eng/ai-autocomplete-vanilla": "0.24.0"
24
+ "@magicx-eng/ai-autocomplete-vanilla": "0.25.0"
25
25
  },
26
26
  "keywords": [
27
27
  "angular",