import { ChangeDetectionStrategy, Component } from '@angular/core'; import { NgIcon, provideIcons } from '@ng-icons/core'; import { lucideChevronDown } from '@ng-icons/lucide'; import { BrnSelectScrollDown } from '@spartan-ng/brain/select'; import { classes } from '@spartan-ng/styles/utils'; @Component({ selector: 'hlm-select-scroll-down', imports: [NgIcon], providers: [provideIcons({ lucideChevronDown })], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [BrnSelectScrollDown], template: ` `, }) export class HlmSelectScrollDown { constructor() { classes( () => "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] sticky bottom-0 w-full data-hidden:hidden", ); } }