@magicx-eng/ai-autocomplete-react 0.18.0 → 0.18.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/dist/index.mjs CHANGED
@@ -1572,17 +1572,21 @@ import{buildSubmitResult as Bi,cellDay as Gi,cellIso as Fi,DATE_RANGE_META_END a
1572
1572
  height: 1em;
1573
1573
  }
1574
1574
 
1575
+ /* Skeleton rows keep the icon's column (hidden, not removed) and the
1576
+ hanging indent below, so a row that flips into loading and back \u2014 the
1577
+ same element in React, a rebuilt one in vanilla \u2014 draws its bar and its
1578
+ text at the same x and nothing slides sideways. */
1575
1579
  .SuggestionItem-module_item_d4vpD[data-aia-loading] .SuggestionItem-module_icon_Qw938 {
1576
- display: none;
1580
+ visibility: hidden;
1577
1581
  }
1578
1582
 
1579
1583
  /* With an icon, the content box hangs its continuation lines: a left pad the
1580
1584
  width of the icon plus its gap, and a matching negative first-line indent
1581
1585
  that pulls the icon back into that pad. Wrapped lines then start under the
1582
1586
  first line's text rather than under the icon. \`.content\` is a flex item
1583
- (blockified), so text-indent applies to it directly. Skeleton rows are
1584
- excluded \u2014 their icon is hidden, so the pad would indent the bars. */
1585
- .SuggestionItem-module_item_d4vpD:not([data-aia-loading]) .SuggestionItem-module_content_T-Qba:has(.SuggestionItem-module_icon_Qw938) {
1587
+ (blockified), so text-indent applies to it directly. Skeleton rows keep
1588
+ it too: their icon is hidden but still occupies its column. */
1589
+ .SuggestionItem-module_content_T-Qba:has(.SuggestionItem-module_icon_Qw938) {
1586
1590
  padding-left: calc(1em + 8px);
1587
1591
  text-indent: calc(-1em - 8px);
1588
1592
  }