@magicx-eng/ai-autocomplete-angular 0.9.0 → 0.9.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.
@@ -601,8 +601,10 @@ class AIAutocompleteDropdownComponent {
601
601
  // during re-edit (the bar then shows an already answered param).
602
602
  // Deliberately NOT gated on showsPills: with pills rendered elsewhere
603
603
  // (pillPlacement "inline"/"hidden") the bar renders as a skip-only
604
- // row holding just the button.
605
- const showsSkip = dd.pills.length > 0 && showSkipButton && !dd.isEditing;
604
+ // row holding just the button. Hidden while the input is empty — the
605
+ // footer hint doesn't advertise "→ to skip" until the user has typed,
606
+ // so the pristine starting state stays free of the affordance too.
607
+ const showsSkip = dd.pills.length > 0 && showSkipButton && !dd.isEditing && !dd.isInputEmpty;
606
608
  const showsOptions = options.length > 0;
607
609
  const showsFallbackSkeleton = dd.isLoading && !showsOptions;
608
610
  // Either half is enough to keep the panel up: products render with no
@@ -1375,7 +1377,8 @@ class AIAutocompleteComponent {
1375
1377
  * that dismisses the active pill — same action as pressing → at the end of
1376
1378
  * the input. Set to false to hide it. When pills render elsewhere
1377
1379
  * (`pillPlacement: "inline"` / `"hidden"`) the bar renders as a skip-only
1378
- * row holding just the button.
1380
+ * row holding just the button. Hidden while the input is empty — it appears
1381
+ * alongside the footer's "→ to skip" hint once the user has typed.
1379
1382
  */
1380
1383
  this.showSkipButton = true;
1381
1384
  /** Focus the editor on mount. Default: true. */