orbiq-neural-ui-kit 1.2.41 → 1.2.42
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.
|
@@ -4571,7 +4571,7 @@ class NeuralDropdownComponent {
|
|
|
4571
4571
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4572
4572
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralDropdownComponent, isStandalone: true, selector: "neural-dropdown", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, triggerClass: { classPropertyName: "triggerClass", publicName: "triggerClass", isSignal: true, isRequired: false, transformFunction: null }, hasTriggerSlot: { classPropertyName: "hasTriggerSlot", publicName: "hasTriggerSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
4573
4573
|
<neural-popover [side]="side()" [align]="align()" [offset]="offset()" [triggerContainerClass]="triggerClass()">
|
|
4574
|
-
<div neuralPopoverTrigger
|
|
4574
|
+
<div neuralPopoverTrigger class="contents">
|
|
4575
4575
|
<ng-content select="[trigger]"></ng-content>
|
|
4576
4576
|
@if (!hasTriggerSlot()) {
|
|
4577
4577
|
<neural-button>{{ buttonLabel() }}</neural-button>
|
|
@@ -4667,7 +4667,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
4667
4667
|
imports: [CommonModule, RouterModule, NeuralPopoverComponent, NeuralPopoverTriggerDirective, NeuralPopoverContentDirective, NeuralPopoverPanelComponent, NeuralButtonComponent],
|
|
4668
4668
|
template: `
|
|
4669
4669
|
<neural-popover [side]="side()" [align]="align()" [offset]="offset()" [triggerContainerClass]="triggerClass()">
|
|
4670
|
-
<div neuralPopoverTrigger
|
|
4670
|
+
<div neuralPopoverTrigger class="contents">
|
|
4671
4671
|
<ng-content select="[trigger]"></ng-content>
|
|
4672
4672
|
@if (!hasTriggerSlot()) {
|
|
4673
4673
|
<neural-button>{{ buttonLabel() }}</neural-button>
|
|
@@ -14676,10 +14676,11 @@ class NeuralSidebarHeaderComponent {
|
|
|
14676
14676
|
...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
14677
14677
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14678
14678
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralSidebarHeaderComponent, isStandalone: true, selector: "neural-sidebar-header", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, appIcon: { classPropertyName: "appIcon", publicName: "appIcon", isSignal: true, isRequired: true, transformFunction: null }, iconClass: { classPropertyName: "iconClass", publicName: "iconClass", isSignal: true, isRequired: false, transformFunction: null }, menuOptions: { classPropertyName: "menuOptions", publicName: "menuOptions", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "block w-full" }, ngImport: i0, template: `
|
|
14679
|
-
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="8" triggerClass="block w-
|
|
14679
|
+
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="8" [triggerClass]="isCollapsed() ? 'block w-10 mx-auto' : 'block mx-2'">
|
|
14680
14680
|
<div trigger
|
|
14681
|
-
class="flex items-center gap-2 p-2 rounded-md transition-colors cursor-pointer"
|
|
14682
|
-
[class]="isCollapsed()
|
|
14681
|
+
class="flex items-center gap-2 p-2 rounded-md transition-colors cursor-pointer hover:bg-surface-gray-2 w-full"
|
|
14682
|
+
[class.justify-center]="isCollapsed()"
|
|
14683
|
+
[class.h-10]="isCollapsed()"
|
|
14683
14684
|
[attr.aria-label]="title()"
|
|
14684
14685
|
[title]="isCollapsed() ? title() : null"
|
|
14685
14686
|
>
|
|
@@ -14716,10 +14717,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
14716
14717
|
imports: [CommonModule, NeuralDropdownComponent],
|
|
14717
14718
|
host: { class: 'block w-full' },
|
|
14718
14719
|
template: `
|
|
14719
|
-
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="8" triggerClass="block w-
|
|
14720
|
+
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="8" [triggerClass]="isCollapsed() ? 'block w-10 mx-auto' : 'block mx-2'">
|
|
14720
14721
|
<div trigger
|
|
14721
|
-
class="flex items-center gap-2 p-2 rounded-md transition-colors cursor-pointer"
|
|
14722
|
-
[class]="isCollapsed()
|
|
14722
|
+
class="flex items-center gap-2 p-2 rounded-md transition-colors cursor-pointer hover:bg-surface-gray-2 w-full"
|
|
14723
|
+
[class.justify-center]="isCollapsed()"
|
|
14724
|
+
[class.h-10]="isCollapsed()"
|
|
14723
14725
|
[attr.aria-label]="title()"
|
|
14724
14726
|
[title]="isCollapsed() ? title() : null"
|
|
14725
14727
|
>
|