feat: Implement Calendar component, UiProvider, and a cn utility, while enhancing picker components with new icons and styles.

This commit is contained in:
Firman Ramdhani
2026-02-04 16:53:37 +07:00
parent 1ceb0fad53
commit 660a9ace20
10 changed files with 1890 additions and 470 deletions
+11
View File
@@ -0,0 +1,11 @@
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
/**
* Intelligently merges classnames.
* 1. clsx: handles conditional logic (true/false)
* 2. twMerge: removes conflicting Tailwind classes
*/
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}