orbiq-neural-ui-kit 1.0.13 → 1.0.14

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.
@@ -12534,12 +12534,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12534
12534
  class NeuralNotificationCenterComponent {
12535
12535
  open = input(false, /* @ts-ignore */
12536
12536
  ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
12537
+ position = input('sidebar', /* @ts-ignore */
12538
+ ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
12537
12539
  onClose = new EventEmitter();
12538
12540
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralNotificationCenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12539
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NeuralNotificationCenterComponent, isStandalone: true, selector: "neural-notification-center", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
12541
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NeuralNotificationCenterComponent, isStandalone: true, selector: "neural-notification-center", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
12540
12542
  <div
12541
- class="absolute top-0 left-full z-50 flex h-full w-[380px] flex-col bg-surface-base border-r border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
12542
- [class]="open() ? 'translate-x-0' : '-translate-x-full opacity-0 pointer-events-none'"
12543
+ class="top-0 z-50 flex h-full w-[380px] flex-col bg-surface-base border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
12544
+ [ngClass]="{
12545
+ 'absolute left-full border-r': position() === 'sidebar',
12546
+ 'fixed right-0 border-l': position() === 'right',
12547
+ 'translate-x-0': open(),
12548
+ '-translate-x-full opacity-0 pointer-events-none': !open() && position() === 'sidebar',
12549
+ 'translate-x-full opacity-0 pointer-events-none': !open() && position() === 'right'
12550
+ }"
12543
12551
  >
12544
12552
  <div class="flex items-center justify-between border-b border-outline-gray-2 px-4 pt-3 pb-0">
12545
12553
  <ng-content select="[header-tabs]"></ng-content>
@@ -12559,7 +12567,7 @@ class NeuralNotificationCenterComponent {
12559
12567
  <ng-content></ng-content>
12560
12568
  </div>
12561
12569
  </div>
12562
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }] });
12570
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
12563
12571
  }
12564
12572
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralNotificationCenterComponent, decorators: [{
12565
12573
  type: Component,
@@ -12569,8 +12577,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12569
12577
  imports: [CommonModule],
12570
12578
  template: `
12571
12579
  <div
12572
- class="absolute top-0 left-full z-50 flex h-full w-[380px] flex-col bg-surface-base border-r border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
12573
- [class]="open() ? 'translate-x-0' : '-translate-x-full opacity-0 pointer-events-none'"
12580
+ class="top-0 z-50 flex h-full w-[380px] flex-col bg-surface-base border-outline-gray-2 shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-transform duration-300 ease-in-out"
12581
+ [ngClass]="{
12582
+ 'absolute left-full border-r': position() === 'sidebar',
12583
+ 'fixed right-0 border-l': position() === 'right',
12584
+ 'translate-x-0': open(),
12585
+ '-translate-x-full opacity-0 pointer-events-none': !open() && position() === 'sidebar',
12586
+ 'translate-x-full opacity-0 pointer-events-none': !open() && position() === 'right'
12587
+ }"
12574
12588
  >
12575
12589
  <div class="flex items-center justify-between border-b border-outline-gray-2 px-4 pt-3 pb-0">
12576
12590
  <ng-content select="[header-tabs]"></ng-content>
@@ -12592,7 +12606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
12592
12606
  </div>
12593
12607
  `
12594
12608
  }]
12595
- }], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], onClose: [{
12609
+ }], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], onClose: [{
12596
12610
  type: Output
12597
12611
  }] } });
12598
12612