@cityway/basic-ui 1.1.0-beta022 → 1.1.0-beta023

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/index.d.ts CHANGED
@@ -1534,6 +1534,10 @@ declare class FormFieldComponent implements OnInit, OnChanges, AfterViewInit, On
1534
1534
  private readonly phoneInputRef;
1535
1535
  /** Référence à cw-autocomplete (rendu conditionnellement) — sert au bouton clear externe. */
1536
1536
  protected readonly autocompleteRef: _angular_core.Signal<AutocompleteComponent | undefined>;
1537
+ private readonly ngSelectRef;
1538
+ private readonly zone;
1539
+ /** Retire l'écoute du scroll posée à l'ouverture du panneau ng-select (cf. `onDropdownOpen`). */
1540
+ private stopDropdownFollow?;
1537
1541
  private readonly destroyRef;
1538
1542
  private readonly translateService;
1539
1543
  private readonly elementRef;
@@ -1673,6 +1677,13 @@ declare class FormFieldComponent implements OnInit, OnChanges, AfterViewInit, On
1673
1677
  ngOnChanges(changes: SimpleChanges): void;
1674
1678
  ngAfterViewInit(): void;
1675
1679
  ngOnDestroy(): void;
1680
+ /**
1681
+ * Panneau ng-select rattaché au body (`appendTo`) : ng-select ne le positionne qu'à l'ouverture.
1682
+ * Si un conteneur défilant (body de modale…) scrolle, le champ bouge mais pas le panneau,
1683
+ * qui se désolidarise → on le recale à chaque scroll tant qu'il est ouvert.
1684
+ */
1685
+ protected onDropdownOpen(): void;
1686
+ protected onDropdownClose(): void;
1676
1687
  /**
1677
1688
  * Instancie `intl-tel-input` sur le champ `#phoneInput` et câble la sync bidirectionnelle
1678
1689
  * avec le FormControl + le validator `phone`. Utils (libphonenumber-js) chargés en lazy.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityway/basic-ui",
3
- "version": "1.1.0-beta022",
3
+ "version": "1.1.0-beta023",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.3.0",
@@ -12,7 +12,7 @@
12
12
  "@angular/router": "^20.3.0",
13
13
  "@ngx-translate/core": "^16.0.0 || ^17.0.0",
14
14
  "rxjs": "^7.8.0",
15
- "@cityway/design-tokens": "1.1.0-beta022",
15
+ "@cityway/design-tokens": "1.1.0-beta023",
16
16
  "intl-tel-input": "^28.0.7"
17
17
  },
18
18
  "peerDependenciesMeta": {