@magicx-eng/ai-autocomplete-react 0.67.5 → 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
@@ -3633,7 +3609,17 @@ import{buildSubmitResult as Ks,cellDay as qs,cellIso as _s,DATE_RANGE_META_END a
3633
3609
  flex: 0 0 18px;
3634
3610
  width: 18px;
3635
3611
  height: 18px;
3636
- 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
+ );
3637
3623
  border-radius: 6px;
3638
3624
  background: var(--aia-surface);
3639
3625
  color: transparent;