@skyux/layout 12.38.0 → 12.39.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,39 +1,38 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core';
2
- import { SkyLibResourcesService } from '@skyux/i18n';
3
- import { SkyTextExpandRepeaterAdapterService } from './text-expand-repeater-adapter.service';
1
+ import { ElementRef, TemplateRef } from '@angular/core';
4
2
  import { SkyTextExpandRepeaterListStyleType } from './types/text-expand-repeater-list-style-type';
5
3
  import * as i0 from "@angular/core";
6
- export declare class SkyTextExpandRepeaterComponent implements AfterViewInit {
4
+ export declare class SkyTextExpandRepeaterComponent<TData = unknown> {
7
5
  #private;
8
6
  /**
9
7
  * The data to truncate.
10
8
  */
11
- set data(value: any[] | undefined);
12
- get data(): any[] | undefined;
9
+ readonly data: import("@angular/core").InputSignal<TData[] | undefined>;
13
10
  /**
14
11
  * The template for items in the list.
15
12
  */
16
- itemTemplate: TemplateRef<unknown> | undefined;
13
+ readonly itemTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
17
14
  /**
18
15
  * The style of bullet to use
19
16
  * @default "unordered"
20
17
  */
21
- listStyle: SkyTextExpandRepeaterListStyleType | undefined;
18
+ readonly listStyle: import("@angular/core").InputSignal<SkyTextExpandRepeaterListStyleType | undefined>;
22
19
  /**
23
20
  * The number of items to display before truncating the list. If not supplied, all items are shown.
24
21
  */
25
- set maxItems(value: number | undefined);
26
- get maxItems(): number | undefined;
27
- buttonText: string;
28
- expandable: boolean;
22
+ readonly maxItems: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
+ protected expandable: boolean;
29
24
  contentSectionId: string;
30
- isExpanded: boolean | undefined;
31
- transitionHeight: number;
32
- containerEl: ElementRef | undefined;
33
- constructor(resources: SkyLibResourcesService, elRef: ElementRef, textExpandRepeaterAdapter: SkyTextExpandRepeaterAdapterService, changeDetector: ChangeDetectorRef);
34
- ngAfterViewInit(): void;
25
+ protected readonly isExpanded: import("@angular/core").WritableSignal<boolean>;
26
+ protected transitionHeight: number;
27
+ protected readonly buttonText: import("@angular/core").Signal<string>;
28
+ protected containerEl: import("@angular/core").Signal<ElementRef<any> | undefined>;
29
+ protected readonly trackedData: import("@angular/core").Signal<{
30
+ item: TData;
31
+ index: number;
32
+ }[]>;
33
+ constructor();
35
34
  animationEnd(): void;
36
35
  repeaterExpand(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextExpandRepeaterComponent, "sky-text-expand-repeater", never, { "data": { "alias": "data"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "listStyle": { "alias": "listStyle"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; }, {}, never, never, false, never>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterComponent<any>, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextExpandRepeaterComponent<any>, "sky-text-expand-repeater", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "listStyle": { "alias": "listStyle"; "required": false; "isSignal": true; }; "maxItems": { "alias": "maxItems"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
39
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/layout",
3
- "version": "12.38.0",
3
+ "version": "12.39.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -23,16 +23,16 @@
23
23
  "@angular/forms": "^19.2.14",
24
24
  "@angular/platform-browser": "^19.2.14",
25
25
  "@angular/router": "^19.2.14",
26
- "@skyux-sdk/testing": "12.38.0",
27
- "@skyux/core": "12.38.0",
28
- "@skyux/forms": "12.38.0",
29
- "@skyux/help-inline": "12.38.0",
30
- "@skyux/i18n": "12.38.0",
31
- "@skyux/icon": "12.38.0",
32
- "@skyux/indicators": "12.38.0",
33
- "@skyux/modals": "12.38.0",
34
- "@skyux/router": "12.38.0",
35
- "@skyux/theme": "12.38.0"
26
+ "@skyux-sdk/testing": "12.39.0",
27
+ "@skyux/core": "12.39.0",
28
+ "@skyux/forms": "12.39.0",
29
+ "@skyux/help-inline": "12.39.0",
30
+ "@skyux/i18n": "12.39.0",
31
+ "@skyux/icon": "12.39.0",
32
+ "@skyux/indicators": "12.39.0",
33
+ "@skyux/modals": "12.39.0",
34
+ "@skyux/router": "12.39.0",
35
+ "@skyux/theme": "12.39.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "tslib": "^2.8.1"