@@ -29,9 +29,14 @@ const inputWrapperVariants = cva(
2929 error : "bg-danger/10 border border-danger rounded-lg" ,
3030 } ,
3131 size : {
32+ xs : "h-6 px-1.5 text-xs" ,
3233 sm : "h-8 px-2 text-sm" ,
3334 md : "h-10 px-3 text-sm" ,
3435 lg : "h-12 px-4 text-base" ,
36+ xl : "h-14 px-5 text-lg" ,
37+ "2xl" : "h-16 px-6 text-xl" ,
38+ "3xl" : "h-20 px-8 text-2xl" ,
39+ "4xl" : "h-24 px-10 text-3xl" ,
3540 } ,
3641 focused : {
3742 true : "" ,
@@ -82,9 +87,14 @@ const inputVariants = cva(
8287 {
8388 variants : {
8489 size : {
90+ xs : "text-xs" ,
8591 sm : "text-sm" ,
8692 md : "text-sm" ,
8793 lg : "text-base" ,
94+ xl : "text-lg" ,
95+ "2xl" : "text-xl" ,
96+ "3xl" : "text-2xl" ,
97+ "4xl" : "text-3xl" ,
8898 } ,
8999 disabled : {
90100 true : "cursor-not-allowed" ,
@@ -137,9 +147,14 @@ const optionVariants = cva(
137147 error : "" ,
138148 } ,
139149 size : {
150+ xs : "px-1.5 py-1 text-[10px]" ,
140151 sm : "px-2 py-1.5 text-xs" ,
141152 md : "px-3 py-2 text-sm" ,
142153 lg : "px-4 py-2.5 text-base" ,
154+ xl : "px-5 py-3 text-lg" ,
155+ "2xl" : "px-6 py-3.5 text-xl" ,
156+ "3xl" : "px-8 py-4 text-2xl" ,
157+ "4xl" : "px-10 py-5 text-3xl" ,
143158 } ,
144159 highlighted : {
145160 true : "" ,
@@ -297,9 +312,14 @@ const optionVariants = cva(
297312const labelVariants = cva ( "block mb-1.5 font-medium text-foreground" , {
298313 variants : {
299314 size : {
315+ xs : "text-[10px]" ,
300316 sm : "text-xs" ,
301317 md : "text-sm" ,
302318 lg : "text-base" ,
319+ xl : "text-lg" ,
320+ "2xl" : "text-xl" ,
321+ "3xl" : "text-2xl" ,
322+ "4xl" : "text-3xl" ,
303323 } ,
304324 required : {
305325 true : "after:content-['*'] after:ml-1 after:text-danger" ,
0 commit comments