@magicx-eng/ai-autocomplete-vanilla 0.59.0 → 0.61.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 CHANGED
@@ -589,9 +589,11 @@ The full input also accepts `--aia-input-radius` and `--aia-written-text-font-we
589
589
  | `--aia-time-panel-width` | `240px` | `240px` | Max width of the whole dropdown panel while the time wheel is up. |
590
590
  | `--aia-time-font-size` | `15px` | `15px` | The time wheel's numbers and its `:` separator. |
591
591
  | `--aia-time-band-bg` | white at 8% | white at 8% | The band behind the wheels' top rows — the chosen time. |
592
- | `--aia-time-done-bg` | white at 10% | white at 10% | The time wheel's Done button. |
593
- | `--aia-time-done-bg-hover` | white at 16% | white at 16% | The Done button on hover. |
594
- | `--aia-time-done-color` | `--aia-option-color-selected` | `--aia-option-color-selected` | The Done button's text. |
592
+ | `--aia-confirm-bg` | `#262626` | `#a6a6a6` | The solid fill shared by the Done buttons (multi-select and time wheel) and a checked multi-select checkbox. |
593
+ | `--aia-confirm-bg-hover` | `#404040` | `#b8b8b8` | The Done buttons on hover. |
594
+ | `--aia-confirm-color` | `#ffffff` | `#000000` | The Done buttons' text and the checkbox's checkmark. |
595
+ | `--aia-multi-done-bg` / `--aia-multi-done-bg-hover` / `--aia-multi-done-color` | `--aia-confirm-*` | `--aia-confirm-*` | Override the multi-select Done button alone. |
596
+ | `--aia-time-done-bg` / `--aia-time-done-bg-hover` / `--aia-time-done-color` | `--aia-confirm-*` | `--aia-confirm-*` | Override the time wheel's Done button alone. |
595
597
  | `--aia-location-field-bg` | `--aia-streak-rgb` at 6% (indigo) | `--aia-streak-rgb` at 6% (white) | The location search field. |
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. |
package/dist/index.d.mts CHANGED
@@ -105,11 +105,12 @@ interface Suggestion {
105
105
  */
106
106
  smart_suggestion?: boolean;
107
107
  /**
108
- * The joining word or two typed before a date or date range picker's answer
109
- * ("from" before "Nov 17"). Typed as plain text, so the completed param still
110
- * holds only the answer. A suggestion answered from its options carries its
111
- * joining words in their text instead. Absent on servers that send none,
112
- * which then answer exactly as before.
108
+ * The joining words typed before the suggestion's answer, whether picked
109
+ * ("from" before "Nov 17") or tapped ("some" before "Pants"). Typed as plain
110
+ * text, so the completed param still holds only the answer, and left out when
111
+ * the user already typed it or the option's text starts with it. An option
112
+ * that replaces the word being typed takes none. Absent on servers that send
113
+ * none, which then answer exactly as before.
113
114
  */
114
115
  lead_in?: string;
115
116
  }
package/dist/index.d.ts CHANGED
@@ -105,11 +105,12 @@ interface Suggestion {
105
105
  */
106
106
  smart_suggestion?: boolean;
107
107
  /**
108
- * The joining word or two typed before a date or date range picker's answer
109
- * ("from" before "Nov 17"). Typed as plain text, so the completed param still
110
- * holds only the answer. A suggestion answered from its options carries its
111
- * joining words in their text instead. Absent on servers that send none,
112
- * which then answer exactly as before.
108
+ * The joining words typed before the suggestion's answer, whether picked
109
+ * ("from" before "Nov 17") or tapped ("some" before "Pants"). Typed as plain
110
+ * text, so the completed param still holds only the answer, and left out when
111
+ * the user already typed it or the option's text starts with it. An option
112
+ * that replaces the word being typed takes none. Absent on servers that send
113
+ * none, which then answer exactly as before.
113
114
  */
114
115
  lead_in?: string;
115
116
  }