@magicx-eng/ai-autocomplete-angular 0.50.0 → 0.51.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/REFERENCE.md +4 -2
- package/esm2020/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.mjs +4 -3
- package/esm2020/lib/controller/ai-autocomplete.controller.mjs +4 -3
- package/esm2020/lib/internal/location-field/location-field.component.mjs +62 -19
- package/esm2020/lib/shared/types.mjs +1 -1
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs +68 -22
- package/fesm2015/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs +67 -22
- package/fesm2020/magicx-eng-ai-autocomplete-angular.mjs.map +1 -1
- package/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.d.ts +3 -1
- package/lib/ai-autocomplete-dropdown/ai-autocomplete-dropdown.component.d.ts.map +1 -1
- package/lib/internal/location-field/location-field.component.d.ts +22 -10
- package/lib/internal/location-field/location-field.component.d.ts.map +1 -1
- package/lib/shared/types.d.ts +3 -5
- package/lib/shared/types.d.ts.map +1 -1
- package/package.json +2 -2
package/REFERENCE.md
CHANGED
|
@@ -492,7 +492,8 @@ other option list (a store's branches, say), and the search never runs.
|
|
|
492
492
|
|
|
493
493
|
| Input | Result |
|
|
494
494
|
|---|---|
|
|
495
|
-
| The pill coming up while the user is typing |
|
|
495
|
+
| The pill coming up while the user is typing | The caret stays in the input; a click (or <kbd>Shift</kbd>+<kbd>Tab</kbd>) moves it into the search field |
|
|
496
|
+
| Tapping a place already chosen | Re-opens the field focused, its answer selected |
|
|
496
497
|
| Typing in the field | Searches after a short pause (2 characters or more) |
|
|
497
498
|
| <kbd>↓</kbd> / <kbd>↑</kbd> | Moves through the places found |
|
|
498
499
|
| <kbd>Enter</kbd> or a tap on a place | Commits it. With nothing found, Enter commits the typed text as written. So does Enter pressed before the search answers (within the 250ms pause): nothing is highlighted yet |
|
|
@@ -592,7 +593,8 @@ The full input also accepts `--aia-input-radius` and `--aia-written-text-font-we
|
|
|
592
593
|
| `--aia-multi-done-width` | as wide as the widest option | same | Width of the multi-select Done button; set `100%` for full width. |
|
|
593
594
|
| `--aia-multi-done-min-width` | `120px` | `120px` | Narrowest the multi-select Done button gets. |
|
|
594
595
|
| `--aia-time-done-bg` / `--aia-time-done-bg-hover` / `--aia-time-done-color` | `--aia-done-*` | `--aia-done-*` | Override the time wheel's Done button alone. |
|
|
595
|
-
| `--aia-location-field-bg` |
|
|
596
|
+
| `--aia-location-field-bg-idle` | `transparent` | `transparent` | The location search field at rest. |
|
|
597
|
+
| `--aia-location-field-bg` | `--aia-streak-rgb` at 6% (indigo) | `--aia-streak-rgb` at 6% (white) | The location search field on hover or focus. |
|
|
596
598
|
| `--aia-location-field-radius` | `10px` | `10px` | Corner radius of the location search field. |
|
|
597
599
|
| `--aia-location-font-size` | `15px` | `15px` | The location field's text and the place names. |
|
|
598
600
|
| `--aia-location-row-bg-highlighted` | `--aia-streak-rgb` at 8% (indigo) | `--aia-streak-rgb` at 8% (white) | The highlighted (or hovered) place. |
|