@magicx-eng/ai-autocomplete-vanilla 0.73.1 → 0.73.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.
- package/README.md +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ Product display options apply to both `renderMode: "full"` and
|
|
|
177
177
|
|---|---|---|---|
|
|
178
178
|
| `showProducts?` | `boolean` | `true` | Show product cards whenever there are products to display. |
|
|
179
179
|
| `productsLayout?` | `"row" \| "list"` | `"row"` | Lay out cards as a scrolling row or a vertical list. |
|
|
180
|
-
| `seeAllResults?` | `boolean` | `false` | Tier 1 only (React's `<AIAutocomplete>` has it too). End the dropdown in a "See all results" button that submits like Enter, shown while there is typed text. |
|
|
180
|
+
| `seeAllResults?` | `boolean` | `false` | Tier 1 only (React's `<AIAutocomplete>` has it too). End the dropdown in a "See all results" button that submits like Enter, shown while there is typed text. The dropdown then keeps its full width at every step. |
|
|
181
181
|
| `productImageFallback?` | `"image" \| "initial"` | `"image"` | Fallback for a missing or blank product image URL, or an image load error. `"image"` shows the placeholder pictogram; `"initial"` shows the title initial. A working image still takes priority. See [Product strip](#product-strip). |
|
|
182
182
|
|
|
183
183
|
### Methods
|
package/dist/index.d.mts
CHANGED
|
@@ -1495,7 +1495,10 @@ interface CoreOptions {
|
|
|
1495
1495
|
* shown while the field holds typed text. A click submits the query exactly
|
|
1496
1496
|
* as Enter and the submit button do (`onSubmit` runs, then `resetOnSubmit`
|
|
1497
1497
|
* applies), so an `onSubmit` that opens your results page takes the shopper
|
|
1498
|
-
* there.
|
|
1498
|
+
* there. With it on, the dropdown keeps its full width at every step, the
|
|
1499
|
+
* empty starting state included, instead of narrowing to fit plain
|
|
1500
|
+
* options. Style it with the `--aia-see-all-*` custom properties.
|
|
1501
|
+
* Default: false.
|
|
1499
1502
|
*/
|
|
1500
1503
|
seeAllResults?: boolean;
|
|
1501
1504
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1495,7 +1495,10 @@ interface CoreOptions {
|
|
|
1495
1495
|
* shown while the field holds typed text. A click submits the query exactly
|
|
1496
1496
|
* as Enter and the submit button do (`onSubmit` runs, then `resetOnSubmit`
|
|
1497
1497
|
* applies), so an `onSubmit` that opens your results page takes the shopper
|
|
1498
|
-
* there.
|
|
1498
|
+
* there. With it on, the dropdown keeps its full width at every step, the
|
|
1499
|
+
* empty starting state included, instead of narrowing to fit plain
|
|
1500
|
+
* options. Style it with the `--aia-see-all-*` custom properties.
|
|
1501
|
+
* Default: false.
|
|
1499
1502
|
*/
|
|
1500
1503
|
seeAllResults?: boolean;
|
|
1501
1504
|
/**
|