@underlayerdev/ui 0.21.0 → 0.21.2

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": "@underlayerdev/ui",
3
- "version": "0.21.0",
3
+ "version": "0.21.2",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -1,19 +1,23 @@
1
1
  import * as i0 from "@angular/core";
2
- import { AfterViewInit, OnDestroy } from "@angular/core";
2
+ import { OnDestroy } from "@angular/core";
3
3
  import Splide, { Options } from "@splidejs/splide";
4
4
  export declare class CarouselItemComponent {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
6
6
  static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "ul-carousel-item", never, {}, {}, never, ["*"], true, never>;
7
7
  }
8
- export declare class CarouselComponent implements AfterViewInit, OnDestroy {
8
+ export declare class CarouselComponent implements OnDestroy {
9
9
  options: import("@angular/core").InputSignal<Options>;
10
10
  autoMount: import("@angular/core").InputSignal<boolean>;
11
+ /**
12
+ * One slide at a time, the default. Such a carousel shows its first slide before Splide
13
+ * takes over (see carousel.scss), so a page rendered on the server shows its photo at once.
14
+ */
15
+ protected readonly onePerPage: import("@angular/core").Signal<boolean>;
11
16
  mounted: import("@angular/core").OutputEmitterRef<Splide>;
12
17
  private carousel;
13
18
  private items;
14
19
  private instance;
15
20
  constructor();
16
- ngAfterViewInit(): void;
17
21
  ngOnDestroy(): void;
18
22
  getInstance(): Splide | null;
19
23
  goNext(): void;
@@ -1012,7 +1012,7 @@ export type CollapseVariant = 'text' | 'icon';
1012
1012
  * </ul-collapse>
1013
1013
  * ```
1014
1014
  */
1015
- export declare class CollapseComponent implements AfterViewInit {
1015
+ export declare class CollapseComponent {
1016
1016
  private readonly destroyRef;
1017
1017
  content: ElementRef<HTMLDivElement>;
1018
1018
  /**
@@ -1044,7 +1044,7 @@ export declare class CollapseComponent implements AfterViewInit {
1044
1044
  fullHeight: import("@angular/core").WritableSignal<number>;
1045
1045
  /** Whether the content is collapsible based on its height */
1046
1046
  isCollapsible: import("@angular/core").Signal<boolean>;
1047
- ngAfterViewInit(): void;
1047
+ constructor();
1048
1048
  /** Updates the full height of the content */
1049
1049
  private updateFullHeight;
1050
1050
  /** Toggles the collapsed state */
@@ -1830,6 +1830,7 @@ export declare class ImageNotFoundDirective {
1830
1830
  showPlaceholder: import("@angular/core").InputSignal<boolean>;
1831
1831
  imageNotFound: import("@angular/core").WritableSignal<boolean>;
1832
1832
  visibility: import("@angular/core").WritableSignal<string>;
1833
+ constructor();
1833
1834
  /**
1834
1835
  * Handles image loading errors
1835
1836
  * Hides the image and optionally shows placeholder