@magicx-eng/ai-autocomplete-vanilla 0.82.0 → 0.82.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/REFERENCE.md +1 -0
- package/dist/index.js +12 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ Pass `onProductAddToCart` and every card that isn't sold out gets a cart button;
|
|
|
232
232
|
|
|
233
233
|
Each response that read the catalog says which of the query's constraints it applied (`applied_filters`), which it dropped (`dropped_filters`) and how many items are left (`items.total`). Read it from `customFields` on state, or from `custom_fields` on `AutocompleteResult`. `null` means no catalog was read for that response. Details: [REFERENCE.md](https://unpkg.com/@magicx-eng/ai-autocomplete-vanilla/REFERENCE.md), under "The catalog report".
|
|
234
234
|
|
|
235
|
-
When the search finds no item, `blocking_filters` names each condition whose removal finds items, with the count. The SDK
|
|
235
|
+
When the search finds no item, `blocking_filters` names each condition whose removal finds items, with the count. The SDK gives each of those chips a "×" that removes it, even with `showChipRemove` off; the chips look the same as every other chip. The chips are on state as `blockingChips`, and each carries the class `magicx-aia-segment--blocking` for a page that wants to style them.
|
|
236
236
|
|
|
237
237
|
#### Change product cards before display
|
|
238
238
|
|
package/REFERENCE.md
CHANGED
|
@@ -818,6 +818,7 @@ The full input also accepts `--aia-input-radius` and `--aia-written-text-font-we
|
|
|
818
818
|
| `--aia-time-font-size` | `15px` | `15px` | The time wheel's numbers and its `:` separator. |
|
|
819
819
|
| `--aia-time-band-bg` | white at 8% | white at 8% | The band behind the wheels' top rows — the chosen time. |
|
|
820
820
|
| `--aia-confirm-bg` | `#262626` | `#a6a6a6` | The solid fill of a checked multi-select checkbox (and, in dark mode, of the Done buttons). |
|
|
821
|
+
| `--aia-checkbox-border` | the option text at 65% | the option text at 65% | Border of an unticked multi-select checkbox. Defaults to the option text colour so the box stays visible when the dropdown border is faint or transparent; a ticked box uses `--aia-confirm-bg`. |
|
|
821
822
|
| `--aia-confirm-bg-hover` | `#404040` | `#b8b8b8` | The Done buttons on hover in dark mode. |
|
|
822
823
|
| `--aia-confirm-color` | `#ffffff` | `#000000` | The checkbox's checkmark (and, in dark mode, the Done buttons' text). |
|
|
823
824
|
| `--aia-done-bg` / `--aia-done-bg-hover` / `--aia-done-color` | `#e4e8f0` / `#d8dde8` / `#2a3150` | `--aia-confirm-*` | The Done buttons (multi-select and time wheel). |
|