@skyux/layout 13.0.0-alpha.9 → 13.0.0-beta.1

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/index.d.ts CHANGED
@@ -1049,56 +1049,42 @@ declare class SkyTextExpandModule {
1049
1049
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyTextExpandModule>;
1050
1050
  }
1051
1051
 
1052
- /**
1053
- * @internal
1054
- */
1055
- declare class SkyTextExpandRepeaterAdapterService {
1056
- #private;
1057
- constructor(rendererFactory: RendererFactory2);
1058
- getItems(elRef: ElementRef): NodeListOf<HTMLElement>;
1059
- hideItem(item: HTMLElement): void;
1060
- showItem(item: HTMLElement): void;
1061
- getContainerHeight(containerEl: ElementRef): number;
1062
- removeContainerMaxHeight(containerEl: ElementRef): void;
1063
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterAdapterService, never>;
1064
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyTextExpandRepeaterAdapterService>;
1065
- }
1066
-
1067
1052
  type SkyTextExpandRepeaterListStyleType = 'unordered' | 'ordered' | 'unstyled';
1068
1053
 
1069
- declare class SkyTextExpandRepeaterComponent implements AfterViewInit {
1054
+ declare class SkyTextExpandRepeaterComponent<TData = unknown> {
1070
1055
  #private;
1071
1056
  /**
1072
1057
  * The data to truncate.
1073
1058
  */
1074
- set data(value: any[] | undefined);
1075
- get data(): any[] | undefined;
1059
+ readonly data: i0.InputSignal<TData[] | undefined>;
1076
1060
  /**
1077
1061
  * The template for items in the list.
1078
1062
  */
1079
- itemTemplate: TemplateRef<unknown> | undefined;
1063
+ readonly itemTemplate: i0.InputSignal<TemplateRef<unknown> | undefined>;
1080
1064
  /**
1081
1065
  * The style of bullet to use
1082
1066
  * @default "unordered"
1083
1067
  */
1084
- listStyle: SkyTextExpandRepeaterListStyleType | undefined;
1068
+ readonly listStyle: i0.InputSignal<SkyTextExpandRepeaterListStyleType | undefined>;
1085
1069
  /**
1086
1070
  * The number of items to display before truncating the list. If not supplied, all items are shown.
1087
1071
  */
1088
- set maxItems(value: number | undefined);
1089
- get maxItems(): number | undefined;
1090
- buttonText: string;
1091
- expandable: boolean;
1072
+ readonly maxItems: i0.InputSignalWithTransform<number, unknown>;
1073
+ protected expandable: boolean;
1092
1074
  contentSectionId: string;
1093
- isExpanded: boolean | undefined;
1094
- transitionHeight: number;
1095
- containerEl: ElementRef | undefined;
1096
- constructor(resources: SkyLibResourcesService, elRef: ElementRef, textExpandRepeaterAdapter: SkyTextExpandRepeaterAdapterService, changeDetector: ChangeDetectorRef);
1097
- ngAfterViewInit(): void;
1075
+ protected readonly isExpanded: i0.WritableSignal<boolean>;
1076
+ protected transitionHeight: number;
1077
+ protected readonly buttonText: i0.Signal<string>;
1078
+ protected containerEl: i0.Signal<ElementRef<any> | undefined>;
1079
+ protected readonly trackedData: i0.Signal<{
1080
+ item: TData;
1081
+ index: number;
1082
+ }[]>;
1083
+ constructor();
1098
1084
  animationEnd(): void;
1099
1085
  repeaterExpand(): void;
1100
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterComponent, never>;
1101
- 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>;
1086
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterComponent<any>, never>;
1087
+ 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>;
1102
1088
  }
1103
1089
 
1104
1090
  declare class SkyTextExpandRepeaterModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/layout",
3
- "version": "13.0.0-alpha.9",
3
+ "version": "13.0.0-beta.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,32 +16,32 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/animations": "^20.0.5",
20
- "@angular/cdk": "^20.0.4",
21
- "@angular/common": "^20.0.5",
22
- "@angular/core": "^20.0.5",
23
- "@angular/forms": "^20.0.5",
24
- "@angular/platform-browser": "^20.0.5",
25
- "@angular/router": "^20.0.5",
26
- "@skyux-sdk/testing": "13.0.0-alpha.9",
27
- "@skyux/core": "13.0.0-alpha.9",
28
- "@skyux/forms": "13.0.0-alpha.9",
29
- "@skyux/help-inline": "13.0.0-alpha.9",
30
- "@skyux/i18n": "13.0.0-alpha.9",
31
- "@skyux/icon": "13.0.0-alpha.9",
32
- "@skyux/indicators": "13.0.0-alpha.9",
33
- "@skyux/modals": "13.0.0-alpha.9",
34
- "@skyux/router": "13.0.0-alpha.9",
35
- "@skyux/theme": "13.0.0-alpha.9"
19
+ "@angular/animations": "^20.3.0",
20
+ "@angular/cdk": "^20.2.3",
21
+ "@angular/common": "^20.3.0",
22
+ "@angular/core": "^20.3.0",
23
+ "@angular/forms": "^20.3.0",
24
+ "@angular/platform-browser": "^20.3.0",
25
+ "@angular/router": "^20.3.0",
26
+ "@skyux-sdk/testing": "13.0.0-beta.1",
27
+ "@skyux/core": "13.0.0-beta.1",
28
+ "@skyux/forms": "13.0.0-beta.1",
29
+ "@skyux/help-inline": "13.0.0-beta.1",
30
+ "@skyux/i18n": "13.0.0-beta.1",
31
+ "@skyux/icon": "13.0.0-beta.1",
32
+ "@skyux/indicators": "13.0.0-beta.1",
33
+ "@skyux/modals": "13.0.0-beta.1",
34
+ "@skyux/router": "13.0.0-beta.1",
35
+ "@skyux/theme": "13.0.0-beta.1"
36
+ },
37
+ "dependencies": {
38
+ "tslib": "^2.8.1"
36
39
  },
37
40
  "peerDependenciesMeta": {
38
41
  "@skyux-sdk/testing": {
39
42
  "optional": true
40
43
  }
41
44
  },
42
- "dependencies": {
43
- "tslib": "^2.8.1"
44
- },
45
45
  "sideEffects": false,
46
46
  "module": "fesm2022/skyux-layout.mjs",
47
47
  "typings": "index.d.ts",