@fundamental-ngx/platform 0.57.4-rc.1 → 0.57.4-rc.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.
@@ -307,7 +307,7 @@ declare abstract class IconTabBarBase implements OnInit, OnChanges, AfterViewIni
307
307
  * @param selectedItem
308
308
  * @param event
309
309
  */
310
- _selectItem(selectedItem: IconTabBarItem, event?: Event): void;
310
+ _selectItem(selectedItem: IconTabBarItem | undefined, event?: Event): void;
311
311
  /** @hidden */
312
312
  _keyDownHandler(event: KeyboardEvent, tab: IconTabBarItem | undefined, currentIndex: number, popover?: TextTypePopoverComponent): void;
313
313
  /** @hidden focuses next tab */
@@ -388,6 +388,29 @@ declare abstract class IconTabBarBase implements OnInit, OnChanges, AfterViewIni
388
388
  * @returns The active tab item, or undefined if no active tab is found.
389
389
  */
390
390
  private _findActiveTabId;
391
+ /**
392
+ * @hidden
393
+ * Checks if a tab was removed from the list of tabs.
394
+ * @param changes - SimpleChanges
395
+ * @returns { boolean } - Returns true if a tab was removed, false otherwise.
396
+ */
397
+ private _tabWasRemoved;
398
+ /**
399
+ * @hidden
400
+ * Updates the selected tab based on the changes in the tabs.
401
+ * If the removed tab was before the selected tab or is the selected tab, it updates the selected tab.
402
+ * If no previous selected tab can be found, it selects the first one.
403
+ * If the removed tab is after the selected tab, no changes are needed.
404
+ * @param changes - SimpleChanges
405
+ */
406
+ private _updateSelectedTab;
407
+ /**
408
+ * @hidden
409
+ * Gets the index of the removed tab based on the changes in the tabs.
410
+ * @param changes - SimpleChanges
411
+ * @returns { number } - The index of the removed tab, or -1 if not found.
412
+ */
413
+ private _getRemovedTabIndex;
391
414
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconTabBarBase, never>;
392
415
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IconTabBarBase, never, never, { "tabs": { "alias": "tabs"; "required": false; }; "isRtl": { "alias": "isRtl"; "required": false; }; "densityMode": { "alias": "densityMode"; "required": false; }; "selectedUid": { "alias": "selectedUid"; "required": false; }; "tabHeadingLevel": { "alias": "tabHeadingLevel"; "required": false; "isSignal": true; }; "colorAssociations": { "alias": "colorAssociations"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "selectedUidChange": "selectedUidChange"; }, never, never, true, never>;
393
416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/platform",
3
- "version": "0.57.4-rc.1",
3
+ "version": "0.57.4-rc.2",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - platform",
6
6
  "license": "Apache-2.0",
@@ -13,9 +13,9 @@
13
13
  "node": ">= 10"
14
14
  },
15
15
  "peerDependencies": {
16
- "@fundamental-ngx/cdk": "0.57.4-rc.1",
17
- "@fundamental-ngx/core": "0.57.4-rc.1",
18
- "@fundamental-ngx/i18n": "0.57.4-rc.1"
16
+ "@fundamental-ngx/cdk": "0.57.4-rc.2",
17
+ "@fundamental-ngx/core": "0.57.4-rc.2",
18
+ "@fundamental-ngx/i18n": "0.57.4-rc.2"
19
19
  },
20
20
  "dependencies": {
21
21
  "fast-deep-equal": "3.1.3",
@@ -89,14 +89,14 @@
89
89
  "types": "./object-marker/index.d.ts",
90
90
  "default": "./fesm2022/fundamental-ngx-platform-object-marker.mjs"
91
91
  },
92
- "./page-footer": {
93
- "types": "./page-footer/index.d.ts",
94
- "default": "./fesm2022/fundamental-ngx-platform-page-footer.mjs"
95
- },
96
92
  "./object-status": {
97
93
  "types": "./object-status/index.d.ts",
98
94
  "default": "./fesm2022/fundamental-ngx-platform-object-status.mjs"
99
95
  },
96
+ "./page-footer": {
97
+ "types": "./page-footer/index.d.ts",
98
+ "default": "./fesm2022/fundamental-ngx-platform-page-footer.mjs"
99
+ },
100
100
  "./panel": {
101
101
  "types": "./panel/index.d.ts",
102
102
  "default": "./fesm2022/fundamental-ngx-platform-panel.mjs"
@@ -31,7 +31,7 @@ function callCoreSchematic(options) {
31
31
  (0, dependencies_1.addPackageJsonDependency)(tree, {
32
32
  type: dependencies_1.NodeDependencyType.Default,
33
33
  // Will be replaced with the real version during sync-version script run
34
- version: `0.57.4-rc.1`,
34
+ version: `0.57.4-rc.2`,
35
35
  name: '@fundamental-ngx/core'
36
36
  });
37
37
  const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask({