@almoamendev/ngx-md3 0.8.10 → 0.8.11

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": "@almoamendev/ngx-md3",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "description": "MD3-style Angular components & style library",
5
5
  "author": "Murtadha (Hussain) Almoamen",
6
6
  "license": "MIT",
@@ -195,7 +195,7 @@ li {
195
195
  }
196
196
  }
197
197
 
198
- &.draggable:active {
198
+ &.draggable:active, &.draggable.cdk-drag-preview {
199
199
  .md3-state-layer {
200
200
  background-color: var(--state-color, transparent);
201
201
  opacity: 0.16;
@@ -4,7 +4,9 @@ import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition, OverlayRef
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import * as i1 from '@angular/cdk/scrolling';
6
6
  import { AbstractControl, ControlValueAccessor } from '@angular/forms';
7
- import * as i1$1 from '@angular/router';
7
+ import * as i1$1 from '@angular/cdk/drag-drop';
8
+ import { CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';
9
+ import * as i1$2 from '@angular/router';
8
10
  import { CdkDialogContainer, DialogRef as DialogRef$1 } from '@angular/cdk/dialog';
9
11
  import { CdkPortalOutlet } from '@angular/cdk/portal';
10
12
 
@@ -1443,12 +1445,14 @@ declare class Slider {
1443
1445
 
1444
1446
  declare class List {
1445
1447
  private el;
1448
+ private dropList;
1446
1449
  variant: _angular_core.InputSignal<"expressive" | "baseline">;
1447
1450
  type: _angular_core.InputSignal<"standard" | "segmented">;
1448
- constructor(el: ElementRef);
1451
+ draggable: _angular_core.InputSignalWithTransform<boolean, unknown>;
1452
+ constructor(el: ElementRef, dropList: CdkDropList);
1449
1453
  get element(): HTMLElement;
1450
1454
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<List, never>;
1451
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<List, "md3-list", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1455
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<List, "md3-list", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$1.CdkDropList; inputs: {}; outputs: { "cdkDropListDropped": "dropped"; }; }]>;
1452
1456
  }
1453
1457
 
1454
1458
  declare class ListItemPrimaryAction {
@@ -1458,16 +1462,20 @@ declare class ListItemPrimaryAction {
1458
1462
  declare class ListItem implements AfterViewInit {
1459
1463
  private el;
1460
1464
  private state;
1465
+ private drag;
1466
+ private list;
1461
1467
  slotsAlignment: _angular_core.InputSignal<"start" | "center" | "end">;
1462
1468
  selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
1463
- isActionTag: boolean;
1469
+ dragDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
1470
+ isActionTag: _angular_core.WritableSignal<boolean>;
1464
1471
  private isLabelTag;
1465
1472
  private checkbox;
1466
1473
  private radioButton;
1467
1474
  private switch;
1468
1475
  isSelected: _angular_core.Signal<boolean>;
1469
1476
  isInputDisabled: _angular_core.Signal<boolean | undefined>;
1470
- constructor(el: ElementRef, state: StateComponent);
1477
+ isDraggable: _angular_core.Signal<boolean>;
1478
+ constructor(el: ElementRef, state: StateComponent, drag: CdkDrag, list: List | null);
1471
1479
  get element(): HTMLElement;
1472
1480
  ngAfterViewInit(): void;
1473
1481
  protected onFocusIn(event: FocusEvent): void;
@@ -1477,8 +1485,8 @@ declare class ListItem implements AfterViewInit {
1477
1485
  private getLabelInputs;
1478
1486
  private focusLabel;
1479
1487
  private isInputElement;
1480
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItem, never>;
1481
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListItem, "md3-list-item, label[md3-list-item], button[md3-list-item], a[md3-list-item]", never, { "slotsAlignment": { "alias": "slots-alignment"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, ["checkbox", "radioButton", "switch"], ["[md3-item-primary-action]", "md3-list-leading", "[md3-list-slot=content]", "[md3-list-slot=trailing]"], true, [{ directive: typeof StateComponent; inputs: {}; outputs: {}; }]>;
1488
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItem, [null, null, null, { optional: true; }]>;
1489
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListItem, "md3-list-item, label[md3-list-item], button[md3-list-item], a[md3-list-item]", never, { "slotsAlignment": { "alias": "slots-alignment"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "dragDisabled": { "alias": "drag-disabled"; "required": false; "isSignal": true; }; }, {}, ["checkbox", "radioButton", "switch"], ["[md3-item-primary-action]", "md3-list-leading", "[md3-list-slot=content]", "[md3-list-slot=trailing]"], true, [{ directive: typeof StateComponent; inputs: {}; outputs: {}; }, { directive: typeof i1$1.CdkDrag; inputs: {}; outputs: {}; }]>;
1482
1490
  }
1483
1491
 
1484
1492
  declare class ListLeading {
@@ -1710,7 +1718,7 @@ declare class NavigationItem {
1710
1718
  get active(): boolean;
1711
1719
  get element(): HTMLElement;
1712
1720
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationItem, never>;
1713
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationItem, "button[md3-nav-item], a[md3-nav-item]", ["md3NavItem"], { "collapseMode": { "alias": "collapse-mode"; "required": false; "isSignal": true; }; }, {}, ["icons", "badge"], ["[md3-icon-element=active]", "[md3-icon-element]", "*", "md3-badge"], true, [{ directive: typeof i1$1.RouterLinkActive; inputs: { "routerLinkActiveOptions": "routerLinkActiveOptions"; "ariaCurrentWhenActive": "ariaCurrentWhenActive"; }; outputs: {}; }]>;
1721
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationItem, "button[md3-nav-item], a[md3-nav-item]", ["md3NavItem"], { "collapseMode": { "alias": "collapse-mode"; "required": false; "isSignal": true; }; }, {}, ["icons", "badge"], ["[md3-icon-element=active]", "[md3-icon-element]", "*", "md3-badge"], true, [{ directive: typeof i1$2.RouterLinkActive; inputs: { "routerLinkActiveOptions": "routerLinkActiveOptions"; "ariaCurrentWhenActive": "ariaCurrentWhenActive"; }; outputs: {}; }]>;
1714
1722
  }
1715
1723
 
1716
1724
  declare class NavigationGroup {