@ifsworld/granite-components 16.1.0-beta.2 → 16.1.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.
@@ -1,8 +1,10 @@
1
1
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class GraniteInputFieldComponent implements OnInit, OnChanges {
4
+ export declare class GraniteInputFieldComponent implements OnInit, OnChanges, AfterViewInit {
5
5
  private _focusMonitor;
6
+ private _cdr;
7
+ private _elementRef;
6
8
  id: string | null;
7
9
  name: string | null;
8
10
  type: string;
@@ -24,16 +26,19 @@ export declare class GraniteInputFieldComponent implements OnInit, OnChanges {
24
26
  _empty: boolean;
25
27
  _passwordFieldIcon: string;
26
28
  _passwordField: boolean;
29
+ _hasSuffixButton: boolean;
27
30
  _currentCharCount: number;
28
31
  private _passwordToggled;
29
32
  private _lastEmittedValue;
30
- constructor(_focusMonitor: FocusMonitor);
33
+ constructor(_focusMonitor: FocusMonitor, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
31
34
  ngOnInit(): void;
32
35
  ngOnChanges(changes: SimpleChanges): void;
36
+ ngAfterViewInit(): void;
33
37
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
34
38
  _togglePassword(): void;
35
39
  _onInput(event: Event): void;
36
40
  protected _validateType(): void;
41
+ private _checkForSuffixButton;
37
42
  private _applyCharacterCount;
38
43
  private _getInputElement;
39
44
  private _getTextareaElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifsworld/granite-components",
3
- "version": "16.1.0-beta.2",
3
+ "version": "16.1.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": ">=19.2.3",
@@ -1,3 +1,4 @@
1
1
  export declare class GraniteTooltipConstants {
2
+ static readonly OFFSET_X: number;
2
3
  static readonly OFFSET_Y: number;
3
4
  }
@@ -32,6 +32,8 @@ export declare class GraniteTooltipTriggerForDirective implements OnDestroy, OnI
32
32
  private _attachOverlay;
33
33
  private _detachOverlay;
34
34
  private _getTriggerElement;
35
+ private _createPositionPair;
36
+ private _getTooltipPositions;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipTriggerForDirective, never>;
36
38
  static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTooltipTriggerForDirective, "[graniteTooltipTriggerFor]", never, { "tooltip": { "alias": "graniteTooltipTriggerFor"; "required": false; }; "hideDelay": { "alias": "hideDelay"; "required": false; }; "showDelay": { "alias": "showDelay"; "required": false; }; "showOnKeyboardFocus": { "alias": "showOnKeyboardFocus"; "required": false; }; "showOnClick": { "alias": "showOnClick"; "required": false; }; }, {}, never, never, false, never>;
37
39
  }