@magicx-eng/ai-autocomplete-angular 0.14.0 → 0.15.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 +20 -7
- package/esm2020/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.mjs +3 -3
- package/esm2020/lib/controller/ai-autocomplete.controller.mjs +8 -2
- package/esm2020/lib/internal/date-grid/date-grid.component.mjs +3 -3
- package/esm2020/lib/internal/suggestion-item/suggestion-item.component.mjs +5 -5
- package/esm2020/lib/shared/types.mjs +1 -1
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs +15 -9
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs +15 -9
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/lib/internal/date-grid/date-grid.component.d.ts +1 -1
- package/lib/internal/suggestion-item/suggestion-item.component.d.ts +1 -1
- package/lib/shared/types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -29,7 +29,7 @@ export declare class DateGridComponent {
|
|
|
29
29
|
readonly previousMonth: EventEmitter<void>;
|
|
30
30
|
readonly nextMonth: EventEmitter<void>;
|
|
31
31
|
readonly weekdays: string[];
|
|
32
|
-
/** Index of the cell showing a
|
|
32
|
+
/** Index of the cell showing a 170ms press animation, or -1. */
|
|
33
33
|
pressedIndex: number;
|
|
34
34
|
get monthLabel(): string;
|
|
35
35
|
dayOf(option: SuggestionOption): number | null;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* `packages/react/src/components/SuggestionItem.tsx`. Handles:
|
|
7
7
|
*
|
|
8
8
|
* - Tappable vs non-tappable cursor + hover styling
|
|
9
|
-
* - Pressed-state compress animation (
|
|
9
|
+
* - Pressed-state compress animation (170ms, single-flight)
|
|
10
10
|
* - Keyboard activation (Enter/Space)
|
|
11
11
|
* - ARIA `role="option"` + `aria-selected` for the listbox pattern
|
|
12
12
|
* - Loading skeleton when `loading=true`
|
package/lib/shared/types.d.ts
CHANGED
|
@@ -198,7 +198,7 @@ export interface AIAutocompleteDropdownState {
|
|
|
198
198
|
*/
|
|
199
199
|
isEditing?: boolean;
|
|
200
200
|
/**
|
|
201
|
-
* True for the ~
|
|
201
|
+
* True for the ~170ms window after an option is selected, while the answered
|
|
202
202
|
* suggestion animates out. `isLoading` is deliberately suppressed in that
|
|
203
203
|
* window, but the core's `skipActivePill()` no-ops in it — the skip button
|
|
204
204
|
* renders disabled off this flag instead of swallowing clicks silently.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magicx-eng/ai-autocomplete-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.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
|
+
"@magicx-eng/ai-autocomplete-vanilla": "0.18.0"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"angular",
|