orbiq-neural-ui-kit 1.2.45 → 1.2.47
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.
|
@@ -14682,7 +14682,8 @@ class NeuralSidebarHeaderComponent {
|
|
|
14682
14682
|
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: `
|
|
14683
14683
|
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="4" [triggerClass]="isCollapsed() ? 'block w-10 mx-auto' : 'block mx-2'" (openChange)="isOpen = $event">
|
|
14684
14684
|
<div trigger
|
|
14685
|
-
class="flex items-center gap-2 p-2 rounded-
|
|
14685
|
+
class="flex items-center gap-2 p-2 rounded-6 transition-colors cursor-pointer w-full"
|
|
14686
|
+
[class.duration-0]="isOpen"
|
|
14686
14687
|
[class.justify-center]="isCollapsed()"
|
|
14687
14688
|
[class.h-10]="isCollapsed()"
|
|
14688
14689
|
[ngClass]="isOpen && !isCollapsed() ? 'bg-surface-elevation-2 shadow-sm ring-1 ring-black/5' : 'hover:bg-surface-gray-2'"
|
|
@@ -14724,7 +14725,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
14724
14725
|
template: `
|
|
14725
14726
|
<neural-dropdown class="block w-full" [options]="menuOptions()" [hasTriggerSlot]="true" align="start" [offset]="4" [triggerClass]="isCollapsed() ? 'block w-10 mx-auto' : 'block mx-2'" (openChange)="isOpen = $event">
|
|
14726
14727
|
<div trigger
|
|
14727
|
-
class="flex items-center gap-2 p-2 rounded-
|
|
14728
|
+
class="flex items-center gap-2 p-2 rounded-6 transition-colors cursor-pointer w-full"
|
|
14729
|
+
[class.duration-0]="isOpen"
|
|
14728
14730
|
[class.justify-center]="isCollapsed()"
|
|
14729
14731
|
[class.h-10]="isCollapsed()"
|
|
14730
14732
|
[ngClass]="isOpen && !isCollapsed() ? 'bg-surface-elevation-2 shadow-sm ring-1 ring-black/5' : 'hover:bg-surface-gray-2'"
|