@magicx-eng/ai-autocomplete-react 0.57.0 → 0.57.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/REFERENCE.md CHANGED
@@ -587,7 +587,7 @@ The full input also accepts `--aia-input-radius` and `--aia-written-text-font-we
587
587
  | `--aia-date-today-ring` | `--aia-option-color` | `--aia-option-color` | Outline drawn around today's date. |
588
588
  | `--aia-date-selected-bg` | white at 12% | white at 12% | Fill behind the date a re-edited parameter already holds. |
589
589
  | `--aia-date-range-bg` | white at 6% | white at 6% | Band across the days between the two ends of a picked date range. The ends themselves use `--aia-date-selected-bg`. |
590
- | `--aia-date-reference-bg` | white at 7% | white at 7% | Soft fill behind a day another answer already holds (the pickup date while the return date is asked), shown for reference; the day stays pickable. |
590
+ | `--aia-date-reference-bg` | the day's text colour at 14% | the day's text colour at 14% | Fill behind a day another answer already holds (the pickup date while the return date is asked), shown for reference with the number in the selected text colour and a heavier weight; the day stays pickable. |
591
591
  | `--aia-time-panel-width` | `240px` | `240px` | Max width of the whole dropdown panel while the time wheel is up. |
592
592
  | `--aia-time-font-size` | `15px` | `15px` | The time wheel's numbers and its `:` separator. |
593
593
  | `--aia-time-band-bg` | white at 8% | white at 8% | The band behind the wheels' top rows — the chosen time. |
package/dist/index.js CHANGED
@@ -1778,10 +1778,13 @@
1778
1778
  }
1779
1779
 
1780
1780
  /* A day another answer already holds (the pickup date while the return date is
1781
- asked): a soft box for reference, lighter than the picked fill, and still
1782
- pickable. */
1781
+ asked): a filled box for reference, still pickable. The fill is mixed from
1782
+ the day's own text colour, not the streak tint, so it shows on a light panel
1783
+ and a dark one alike, whatever the theme sets. */
1783
1784
  .aia-reference-Q5bXf .aia-number-aoT01 {
1784
- background: var(--aia-date-reference-bg, rgba(var(--aia-streak-rgb, 255, 255, 255), 0.07));
1785
+ color: var(--aia-option-color-selected, var(--aia-color-text-default, #fff));
1786
+ background: var(--aia-date-reference-bg, color-mix(in srgb, currentColor 14%, transparent));
1787
+ font-weight: 500;
1785
1788
  }
1786
1789
 
1787
1790
  .aia-pressed-bEyyN .aia-number-aoT01 {