@skyux/layout 13.0.0-alpha.8 → 13.0.0-beta.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.
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.8",
3
+ "version": "13.0.0-beta.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -23,16 +23,16 @@
23
23
  "@angular/forms": "^20.0.5",
24
24
  "@angular/platform-browser": "^20.0.5",
25
25
  "@angular/router": "^20.0.5",
26
- "@skyux-sdk/testing": "13.0.0-alpha.8",
27
- "@skyux/core": "13.0.0-alpha.8",
28
- "@skyux/forms": "13.0.0-alpha.8",
29
- "@skyux/help-inline": "13.0.0-alpha.8",
30
- "@skyux/i18n": "13.0.0-alpha.8",
31
- "@skyux/icon": "13.0.0-alpha.8",
32
- "@skyux/indicators": "13.0.0-alpha.8",
33
- "@skyux/modals": "13.0.0-alpha.8",
34
- "@skyux/router": "13.0.0-alpha.8",
35
- "@skyux/theme": "13.0.0-alpha.8"
26
+ "@skyux-sdk/testing": "13.0.0-beta.0",
27
+ "@skyux/core": "13.0.0-beta.0",
28
+ "@skyux/forms": "13.0.0-beta.0",
29
+ "@skyux/help-inline": "13.0.0-beta.0",
30
+ "@skyux/i18n": "13.0.0-beta.0",
31
+ "@skyux/icon": "13.0.0-beta.0",
32
+ "@skyux/indicators": "13.0.0-beta.0",
33
+ "@skyux/modals": "13.0.0-beta.0",
34
+ "@skyux/router": "13.0.0-beta.0",
35
+ "@skyux/theme": "13.0.0-beta.0"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@skyux-sdk/testing": {
@@ -167,7 +167,7 @@ declare class SkyBoxHarness extends SkyComponentHarness {
167
167
  /**
168
168
  * Harness for interacting with a description list content component in tests.
169
169
  */
170
- declare class SkyDescriptionListContentHarness extends SkyComponentHarness {
170
+ declare class SkyDescriptionListContentHarness extends ComponentHarness {
171
171
  #private;
172
172
  /**
173
173
  * @internal
@@ -215,6 +215,9 @@ declare class SkyDescriptionListHarness extends SkyComponentHarness {
215
215
  * `SkyDescriptionListHarness` that meets certain criteria
216
216
  */
217
217
  static with(filters: SkyDescriptionListHarnessFilters): HarnessPredicate<SkyDescriptionListHarness>;
218
+ /**
219
+ * Gets the description list content items.
220
+ */
218
221
  getContent(): Promise<SkyDescriptionListContentHarness[]>;
219
222
  /**
220
223
  * Gets the mode of the description list.
@@ -496,11 +499,14 @@ declare class SkyToolbarSectionHarness extends SkyComponentHarness {
496
499
  */
497
500
  static with(filters: SkyToolbarSectionHarnessFilters): HarnessPredicate<SkyToolbarSectionHarness>;
498
501
  /**
499
- * Gets a harness for a specific toolbar item that meets certain criteria.
502
+ * Gets a specific toolbar item based on the filter criteria.
503
+ * @param filter The filter criteria.
500
504
  */
501
505
  getItem(filter: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness>;
502
506
  /**
503
- * Gets an array of all toolbar items.
507
+ * Gets an array of toolbar items based on the filter criteria.
508
+ * If no filter is provided, returns all toolbar items.
509
+ * @param filters The optional filter criteria.
504
510
  */
505
511
  getItems(filters?: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness[]>;
506
512
  /**
@@ -524,19 +530,25 @@ declare class SkyToolbarHarness extends SkyComponentHarness {
524
530
  */
525
531
  static with(filters: SkyToolbarHarnessFilters): HarnessPredicate<SkyToolbarHarness>;
526
532
  /**
527
- * Gets a harness for a specific toolbar item that meets certain criteria.
533
+ * Gets a specific toolbar item based on the filter criteria.
534
+ * @param filter The filter criteria.
528
535
  */
529
536
  getItem(filter: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness>;
530
537
  /**
531
- * Gets an array of all toolbar items.
538
+ * Gets an array of toolbar items based on the filter criteria.
539
+ * If no filter is provided, returns all toolbar items.
540
+ * @param filters The optional filter criteria.
532
541
  */
533
542
  getItems(filters?: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness[]>;
534
543
  /**
535
- * Gets a harness for a specific toolbar section that meets certain criteria.
544
+ * Gets a specific toolbar section based on the filter criteria.
545
+ * @param filter The filter criteria.
536
546
  */
537
547
  getSection(filter: SkyToolbarSectionHarnessFilters): Promise<SkyToolbarSectionHarness>;
538
548
  /**
539
- * Gets an array of all toolbar sections.
549
+ * Gets an array of toolbar sections based on the filter criteria.
550
+ * If no filter is provided, returns all toolbar sections.
551
+ * @param filters The optional filter criteria.
540
552
  */
541
553
  getSections(filters?: SkyToolbarSectionHarnessFilters): Promise<SkyToolbarSectionHarness[]>;
542
554
  /**
@@ -611,13 +623,16 @@ declare class SkyActionButtonContainerHarness extends SkyComponentHarness {
611
623
  */
612
624
  static with(filters: SkyActionButtonContainerHarnessFilters): HarnessPredicate<SkyActionButtonContainerHarness>;
613
625
  /**
614
- * Gets an action button that matches the given filter.
626
+ * Gets a specific action button based on the filter criteria.
627
+ * @param filter The filter criteria.
615
628
  */
616
629
  getActionButton(filter: SkyActionButtonHarnessFilters): Promise<SkyActionButtonHarness>;
617
630
  /**
618
- * Gets the action buttons.
631
+ * Gets an array of action buttons based on the filter criteria.
632
+ * If no filter is provided, returns all action buttons.
633
+ * @param filters The optional filter criteria.
619
634
  */
620
- getActionButtons(): Promise<SkyActionButtonHarness[]>;
635
+ getActionButtons(filters?: SkyActionButtonHarnessFilters): Promise<SkyActionButtonHarness[]>;
621
636
  /**
622
637
  * Gets the alignment of the buttons inside the container.
623
638
  */