@ascentgl/ads-ui 21.47.0 → 21.48.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "21.47.0",
3
+ "version": "21.48.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=21.0.0",
6
6
  "date-fns": ">=4.1.0",
@@ -211,7 +211,7 @@ declare class AdsButtonComponent {
211
211
  /** Whether the button is a smaller version */
212
212
  size: i0.InputSignal<Size>;
213
213
  /** Sets the "type" attribute on the button */
214
- type: i0.InputSignal<"button" | "submit" | "reset">;
214
+ type: i0.InputSignal<"submit" | "button" | "reset">;
215
215
  /** Makes the button take 100% width of its container */
216
216
  fullWidth: i0.InputSignal<boolean>;
217
217
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
@@ -1574,6 +1574,10 @@ declare class AdsInputDropdownComponent extends AbstractInputComponent implement
1574
1574
  decimalMarker: "." | "," | [".", ","];
1575
1575
  /** Set to true if you want to enable option tooltip */
1576
1576
  showTooltip?: boolean;
1577
+ /** Enable auto-close when component scrolls out of viewport */
1578
+ closeOnOutOfView: boolean;
1579
+ /** Root margin for intersection observer (CSS margin format: top right bottom left) */
1580
+ outOfViewRootMargin: string;
1577
1581
  /** @ignore */
1578
1582
  dropdownComponent?: AdsDropdownComponent;
1579
1583
  /** @ignore */
@@ -1584,7 +1588,7 @@ declare class AdsInputDropdownComponent extends AbstractInputComponent implement
1584
1588
  immediateValidation: SimpleChange;
1585
1589
  }): void;
1586
1590
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputDropdownComponent, never>;
1587
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputDropdownComponent, "ads-input-dropdown", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "dropdownControl": { "alias": "dropdownControl"; "required": false; }; "dropdownId": { "alias": "dropdownId"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownPlaceholder": { "alias": "dropdownPlaceholder"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "autoSelectSingleDropdownOption": { "alias": "autoSelectSingleDropdownOption"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; }, {}, never, never, false, never>;
1591
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputDropdownComponent, "ads-input-dropdown", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "dropdownControl": { "alias": "dropdownControl"; "required": false; }; "dropdownId": { "alias": "dropdownId"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownPlaceholder": { "alias": "dropdownPlaceholder"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "autoSelectSingleDropdownOption": { "alias": "autoSelectSingleDropdownOption"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; }, {}, never, never, false, never>;
1588
1592
  }
1589
1593
 
1590
1594
  declare class AdsInputDropdownModule {
@@ -3496,6 +3500,10 @@ interface Option {
3496
3500
  declare class AdsInternationalPhoneFieldComponent extends AbstractInputComponent implements OnInit, AfterViewInit {
3497
3501
  /** Optional "id" attribute for dropdown field */
3498
3502
  dropdownId: string;
3503
+ /** Enable auto-close when component scrolls out of viewport */
3504
+ closeOnOutOfView: boolean;
3505
+ /** Root margin for intersection observer (CSS margin format: top right bottom left) */
3506
+ outOfViewRootMargin: string;
3499
3507
  wrapperRef: ElementRef;
3500
3508
  /** @ignore */
3501
3509
  phoneMask: string;
@@ -3539,7 +3547,7 @@ declare class AdsInternationalPhoneFieldComponent extends AbstractInputComponent
3539
3547
  displayFirstError(control?: FormControl): string;
3540
3548
  private validateMask;
3541
3549
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInternationalPhoneFieldComponent, never>;
3542
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsInternationalPhoneFieldComponent, "ads-international-phone-field", never, { "dropdownId": { "alias": "dropdownId"; "required": false; }; }, {}, never, never, false, never>;
3550
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsInternationalPhoneFieldComponent, "ads-international-phone-field", never, { "dropdownId": { "alias": "dropdownId"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; }, {}, never, never, false, never>;
3543
3551
  }
3544
3552
 
3545
3553
  declare class AdsInternationalPhoneFieldModule {