Skip to content

Commit 5f8a7c0

Browse files
author
Merlin Moos
committed
feat(date-picker): code suggestions #606
1 parent ed8f222 commit 5f8a7c0

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

apps/app/src/app/pages/(components)/components/(calendar)/calendar.page.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export const routeMeta: RouteMeta = {
3838
PageBottomNavLink,
3939
PageNav,
4040
CalendarMultipleExample,
41-
CalendarMultipleExample,
42-
CalendarMultipleExample,
4341
CalendarRangeExample,
4442
],
4543
template: `

libs/helm/date-picker/src/lib/hlm-date-picker-multi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class HlmDatePickerMulti<T> implements ControlValueAccessor {
7373
public readonly userClass = input<ClassValue>('', { alias: 'class' });
7474
protected readonly _computedClass = computed(() =>
7575
hlm(
76-
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
76+
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-all border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
7777
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
7878
'disabled:pointer-events-none disabled:opacity-50',
7979
'[&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',

libs/helm/date-picker/src/lib/hlm-date-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class HlmDatePicker<T> implements ControlValueAccessor {
7070
public readonly userClass = input<ClassValue>('', { alias: 'class' });
7171
protected readonly _computedClass = computed(() =>
7272
hlm(
73-
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm transition-all disabled:pointer-events-none disabled:opacity-50 ring-offset-background transition-colors border border-input bg-background hover:bg-accent dark:bg-input/30 dark:hover:bg-input/50 hover:text-accent-foreground h-9 px-3 py-2 w-[280px] justify-start text-left font-normal cursor-default justify-between',
73+
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm transition-all disabled:pointer-events-none disabled:opacity-50 ring-offset-background border border-input bg-background hover:bg-accent dark:bg-input/30 dark:hover:bg-input/50 hover:text-accent-foreground h-9 px-3 py-2 w-[280px] justify-start text-left font-normal cursor-default justify-between',
7474
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
7575
'disabled:pointer-events-none disabled:opacity-50',
7676
'[&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',

libs/helm/date-picker/src/lib/hlm-date-range-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class HlmDateRangePicker<T> implements ControlValueAccessor {
7878
public readonly userClass = input<ClassValue>('', { alias: 'class' });
7979
protected readonly _computedClass = computed(() =>
8080
hlm(
81-
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
81+
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-all border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
8282
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
8383
'disabled:pointer-events-none disabled:opacity-50',
8484
'[&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',

0 commit comments

Comments
 (0)