@basis-ng/primitives 0.0.1-alpha.142 → 0.0.1-alpha.144

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": "@basis-ng/primitives",
3
- "version": "0.0.1-alpha.142",
3
+ "version": "0.0.1-alpha.144",
4
4
  "description": "basis-ng components, animations, directives and services for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -10,7 +10,8 @@ import * as i1$1 from '@angular/cdk/menu';
10
10
  import { CdkMenuTrigger } from '@angular/cdk/menu';
11
11
  import * as i1$2 from '@angular/cdk/overlay';
12
12
  import { CdkOverlayOrigin, CdkConnectedOverlay, ScrollStrategyOptions, ConnectedPosition, ConnectionPositionPair, Overlay as Overlay$1 } from '@angular/cdk/overlay';
13
- import * as i1$3 from '@angular/cdk/drag-drop';
13
+ import * as i1$3 from '@angular/aria/tabs';
14
+ import * as i1$4 from '@angular/cdk/drag-drop';
14
15
  import { CdkDragDrop, CdkDrag } from '@angular/cdk/drag-drop';
15
16
 
16
17
  /**
@@ -1240,38 +1241,32 @@ declare class SwitchComponent implements AfterViewInit {
1240
1241
  /**
1241
1242
  * A single tab within a tabs list.
1242
1243
  */
1243
- declare class Tab {
1244
+ declare class Tab implements OnDestroy {
1244
1245
  /**
1245
1246
  * Parent tabs container.
1246
1247
  */
1247
- private tabs;
1248
+ private tabsContainer;
1248
1249
  /**
1249
1250
  * Host element reference.
1250
1251
  */
1251
- private el;
1252
+ readonly el: ElementRef<any>;
1252
1253
  /**
1253
1254
  * Unique value identifying this tab.
1254
1255
  */
1255
1256
  readonly value: _angular_core.InputSignal<string>;
1256
- /**
1257
- * Internal signal tracking selection state.
1258
- */
1259
- private readonly selected;
1257
+ private focusMonitor;
1258
+ constructor();
1259
+ ngOnDestroy(): void;
1260
1260
  /**
1261
1261
  * Whether this tab is currently selected.
1262
1262
  */
1263
1263
  readonly isSelected: _angular_core.Signal<boolean>;
1264
- constructor();
1265
- /**
1266
- * Set the selected state of this tab.
1267
- */
1268
- setSelected(selected: boolean): void;
1269
1264
  /**
1270
1265
  * Handle click events to select this tab.
1271
1266
  */
1272
1267
  onClick(): void;
1273
1268
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tab, never>;
1274
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tab, "b-tab", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1269
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tab, "button[b-tab], [b-tab]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$3.Tab; inputs: { "value": "value"; }; outputs: {}; }]>;
1275
1270
  }
1276
1271
 
1277
1272
  /**
@@ -1290,25 +1285,15 @@ declare class Tabs {
1290
1285
  * Query list of Tab child components.
1291
1286
  */
1292
1287
  readonly tabs: _angular_core.Signal<readonly Tab[]>;
1293
- /**
1294
- * Computed index of currently active tab.
1295
- */
1296
- readonly activeIndex: _angular_core.Signal<number>;
1288
+ private tabList;
1297
1289
  constructor();
1298
- /**
1299
- * Move highlight to the previous tab.
1300
- */
1301
- previousTab(): void;
1302
- /**
1303
- * Move highlight to the next tab.
1304
- */
1305
- nextTab(): void;
1290
+ onSelectionChange(selectedValue: string | undefined): void;
1306
1291
  /**
1307
1292
  * Select a tab by its value.
1308
1293
  */
1309
1294
  selectTab(tabValue: string): void;
1310
1295
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tabs, never>;
1311
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tabs, "b-tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, ["tabs"], ["*"], true, never>;
1296
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tabs, "b-tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, ["tabs"], ["*"], true, [{ directive: typeof i1$3.Tabs; inputs: {}; outputs: {}; }, { directive: typeof i1$3.TabList; inputs: { "selectionMode": "selectionMode"; "selectedTab": "selectedTab"; }; outputs: { "selectedTabChange": "selectedTabChange"; }; }]>;
1312
1297
  }
1313
1298
 
1314
1299
  /**
@@ -1410,7 +1395,7 @@ declare class Tree implements OnInit {
1410
1395
  */
1411
1396
  enableDirectChildren(): void;
1412
1397
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tree, never>;
1413
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tree, "b-tree", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "closeRecursively": { "alias": "closeRecursively"; "required": false; "isSignal": true; }; "dragOnlyWhenCollapsed": { "alias": "dragOnlyWhenCollapsed"; "required": false; "isSignal": true; }; }, { "dropEmitter": "dropEmitter"; }, ["nestedNodes"], ["*"], true, [{ directive: typeof i1$3.CdkDropList; inputs: { "id": "id"; "cdkDropListConnectedTo": "connectedTo"; }; outputs: { "cdkDropListDropped": "cdkDropListDropped"; }; }, { directive: typeof i1$3.CdkDropListGroup; inputs: {}; outputs: {}; }]>;
1398
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tree, "b-tree", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "closeRecursively": { "alias": "closeRecursively"; "required": false; "isSignal": true; }; "dragOnlyWhenCollapsed": { "alias": "dragOnlyWhenCollapsed"; "required": false; "isSignal": true; }; }, { "dropEmitter": "dropEmitter"; }, ["nestedNodes"], ["*"], true, [{ directive: typeof i1$4.CdkDropList; inputs: { "id": "id"; "cdkDropListConnectedTo": "connectedTo"; }; outputs: { "cdkDropListDropped": "cdkDropListDropped"; }; }, { directive: typeof i1$4.CdkDropListGroup; inputs: {}; outputs: {}; }]>;
1414
1399
  }
1415
1400
 
1416
1401
  /**
@@ -1487,7 +1472,7 @@ declare class TreeNode implements OnInit {
1487
1472
  */
1488
1473
  toggleExtension(): void;
1489
1474
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeNode, never>;
1490
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeNode, "b-tree-node", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "closeEmitter": "closeEmitter"; }, ["nestedTree"], ["*", "b-tree"], true, [{ directive: typeof i1$3.CdkDrag; inputs: { "cdkDragDisabled": "disabled"; }; outputs: {}; }]>;
1475
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeNode, "b-tree-node", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "closeEmitter": "closeEmitter"; }, ["nestedTree"], ["*", "b-tree"], true, [{ directive: typeof i1$4.CdkDrag; inputs: { "cdkDragDisabled": "disabled"; }; outputs: {}; }]>;
1491
1476
  }
1492
1477
 
1493
1478
  /**