@educarehq/solaris-components 0.5.5 → 0.5.6

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": "@educarehq/solaris-components",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^21.1.0",
6
6
  "intl-tel-input": "^26.0.9",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, ComponentRef, InjectionToken, EnvironmentProviders, Injector, ViewContainerRef, Type, OnInit, Signal, AfterViewInit, WritableSignal } from '@angular/core';
2
+ import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, ComponentRef, InjectionToken, EnvironmentProviders, AfterViewInit, Injector, ViewContainerRef, Type, OnInit, Signal, WritableSignal } from '@angular/core';
3
3
  import * as _educarehq_solaris_components from '@educarehq/solaris-components';
4
4
  import { SolarisTranslationParams, TranslationInterface } from '@educarehq/solaris-services';
5
5
  import { Observable } from 'rxjs';
@@ -854,7 +854,7 @@ declare class SolarisDivider {
854
854
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDivider, "solaris-divider", never, { "label": { "alias": "label"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "strength": { "alias": "strength"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "labelAlign": { "alias": "label-align"; "required": false; }; }, {}, never, never, true, never>;
855
855
  }
856
856
 
857
- declare class SolarisDialogStepsContainer<TResult = unknown> {
857
+ declare class SolarisDialogStepsContainer<TResult = unknown> implements AfterViewInit {
858
858
  private readonly destroyRef;
859
859
  private readonly injector;
860
860
  private readonly configuration;
@@ -868,6 +868,10 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
868
868
  protected readonly transitioning: _angular_core.WritableSignal<boolean>;
869
869
  protected readonly transitionHalfway: _angular_core.WritableSignal<boolean>;
870
870
  protected readonly currentStepIndex: _angular_core.WritableSignal<number>;
871
+ private readonly stepElements;
872
+ protected readonly activeStepHeight: _angular_core.WritableSignal<string>;
873
+ private measureRaf;
874
+ private resizeObserver?;
871
875
  private halfwayTimer;
872
876
  private transitionTimer;
873
877
  private readonly stepInjectors;
@@ -876,6 +880,7 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
876
880
  protected readonly isLastStep: _angular_core.Signal<boolean>;
877
881
  protected readonly transitionDuration: _angular_core.Signal<string>;
878
882
  constructor();
883
+ ngAfterViewInit(): void;
879
884
  protected stepInjector(index: number): Injector;
880
885
  private handleAction;
881
886
  private goToStep;
@@ -886,6 +891,9 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
886
891
  private resolveInitialStepIndex;
887
892
  private runTransitionTo;
888
893
  private updateDialogHeader;
894
+ private scheduleActiveStepHeightMeasure;
895
+ private measureStepHeight;
896
+ private observeActiveStepHeight;
889
897
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDialogStepsContainer<any>, never>;
890
898
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDialogStepsContainer<any>, "solaris-dialog-steps-container", never, {}, {}, never, never, true, never>;
891
899
  }