@magicx-eng/ai-autocomplete-vanilla 0.73.0 → 0.73.1
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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- 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. 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. |
|
|
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
|
@@ -1490,12 +1490,12 @@ interface CoreOptions {
|
|
|
1490
1490
|
*/
|
|
1491
1491
|
showProducts?: boolean;
|
|
1492
1492
|
/**
|
|
1493
|
-
* Tier 1 ("full") only
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1498
|
-
* `--aia-see-all-*` custom properties. Default: false.
|
|
1493
|
+
* Tier 1 ("full") only; React's `<AIAutocomplete>` takes the same prop.
|
|
1494
|
+
* When true, the dropdown ends in a full-width "See all results" button,
|
|
1495
|
+
* shown while the field holds typed text. A click submits the query exactly
|
|
1496
|
+
* as Enter and the submit button do (`onSubmit` runs, then `resetOnSubmit`
|
|
1497
|
+
* applies), so an `onSubmit` that opens your results page takes the shopper
|
|
1498
|
+
* there. Style it with the `--aia-see-all-*` custom properties. Default: false.
|
|
1499
1499
|
*/
|
|
1500
1500
|
seeAllResults?: boolean;
|
|
1501
1501
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1490,12 +1490,12 @@ interface CoreOptions {
|
|
|
1490
1490
|
*/
|
|
1491
1491
|
showProducts?: boolean;
|
|
1492
1492
|
/**
|
|
1493
|
-
* Tier 1 ("full") only
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1498
|
-
* `--aia-see-all-*` custom properties. Default: false.
|
|
1493
|
+
* Tier 1 ("full") only; React's `<AIAutocomplete>` takes the same prop.
|
|
1494
|
+
* When true, the dropdown ends in a full-width "See all results" button,
|
|
1495
|
+
* shown while the field holds typed text. A click submits the query exactly
|
|
1496
|
+
* as Enter and the submit button do (`onSubmit` runs, then `resetOnSubmit`
|
|
1497
|
+
* applies), so an `onSubmit` that opens your results page takes the shopper
|
|
1498
|
+
* there. Style it with the `--aia-see-all-*` custom properties. Default: false.
|
|
1499
1499
|
*/
|
|
1500
1500
|
seeAllResults?: boolean;
|
|
1501
1501
|
/**
|