@magicx-eng/ai-autocomplete-react 0.67.4 → 0.67.6

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/dist/index.mjs CHANGED
@@ -157,30 +157,6 @@ import{buildSubmitResult as Ks,cellDay as qs,cellIso as _s,DATE_RANGE_META_END a
157
157
  background: var(--aia-completed-pill-bg-active, rgba(189, 189, 189, 0.35));
158
158
  }
159
159
 
160
- /* A chip whose removal finds items when the search found none (custom_fields.blocking_filters).
161
- Greyed out at half opacity. After the hover rule, so it stays greyed while pointed at. */
162
- :where(.aia-input-IW-P-) strong[class~="magicx-aia-segment--blocking"] {
163
- opacity: var(--aia-blocking-chip-opacity, 0.5);
164
- }
165
-
166
- /* The \xD7 of a greyed chip keeps its normal weight: its opacity multiplies with the chip's, so it is divided back out. */
167
- :where(.aia-input-IW-P-)
168
- strong[class~="magicx-aia-segment--blocking"]
169
- span[class~="magicx-aia-segment-remove"] {
170
- opacity: calc(var(--aia-chip-remove-opacity, 0.32) / var(--aia-blocking-chip-opacity, 0.5));
171
- }
172
-
173
- @media (hover: hover) {
174
- :where(.aia-input-IW-P-)
175
- strong[class~="magicx-aia-segment--blocking"]
176
- span[class~="magicx-aia-segment-remove"]:hover {
177
- opacity: calc(
178
- var(--aia-chip-remove-opacity-hover, 0.7) /
179
- var(--aia-blocking-chip-opacity, 0.5)
180
- );
181
- }
182
- }
183
-
184
160
  /* The picked option's icon inside a completed chip (see \`icon_svg\` on
185
161
  CompletedParamState). Inline-block, one em square and sat on the text
186
162
  baseline; the chip is one inline-block, so the icon never ends a line
@@ -3232,15 +3208,25 @@ import{buildSubmitResult as Ks,cellDay as qs,cellIso as _s,DATE_RANGE_META_END a
3232
3208
  on the inner content instead (next rule). */
3233
3209
  }
3234
3210
 
3211
+ /* Each entrance keyframe also moves \`outline-offset\`, which draws nothing here
3212
+ (the content has no outline). It is there because Chrome runs an animation
3213
+ of only opacity or transform apart from normal painting, and a row whose
3214
+ entrance was still running that way when the panel's dissolve around it
3215
+ ended could stay on its first frame (transparent and 7px low) until
3216
+ something repainted it: with the pointer off the panel after a pick, an
3217
+ option stayed invisible until it was hovered. An animation that also moves
3218
+ a property Chrome paints normally runs with normal painting. */
3235
3219
  @keyframes aia-fadeIn-I8u35 {
3236
3220
  from {
3237
3221
  opacity: 0;
3222
+ outline-offset: 0.5px;
3238
3223
  }
3239
3224
  }
3240
3225
 
3241
3226
  @keyframes aia-riseIn-etXZT {
3242
3227
  from {
3243
3228
  transform: translateY(7px);
3229
+ outline-offset: 0.5px;
3244
3230
  }
3245
3231
  }
3246
3232
 
@@ -3623,7 +3609,17 @@ import{buildSubmitResult as Ks,cellDay as qs,cellIso as _s,DATE_RANGE_META_END a
3623
3609
  flex: 0 0 18px;
3624
3610
  width: 18px;
3625
3611
  height: 18px;
3626
- border: 1px solid var(--aia-border);
3612
+ /* Its own border, not the dropdown's: stores often set --aia-border
3613
+ faint or transparent, which left the box visible only on hover. */
3614
+ border: 1.5px solid
3615
+ var(
3616
+ --aia-checkbox-border,
3617
+ color-mix(
3618
+ in srgb,
3619
+ var(--aia-option-color, var(--aia-color-text-default, #262626)) 65%,
3620
+ transparent
3621
+ )
3622
+ );
3627
3623
  border-radius: 6px;
3628
3624
  background: var(--aia-surface);
3629
3625
  color: transparent;