@@ -14,7 +14,7 @@ export default (options: Required<ModuleOptions>) => {
14
14
content : 'max-h-60 w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col' ,
15
15
viewport : 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1' ,
16
16
group : 'p-1 isolate' ,
17
- empty : 'py-2 text-center text-sm text-muted' ,
17
+ empty : 'text-center text-muted' ,
18
18
label : 'font-semibold text-highlighted' ,
19
19
separator : '-mx-1 my-1 h-px bg-border' ,
20
20
item : [ 'group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50' , options . theme . transitions && 'transition-colors before:transition-colors' ] ,
@@ -37,7 +37,8 @@ export default (options: Required<ModuleOptions>) => {
37
37
itemLeadingAvatarSize : '3xs' ,
38
38
itemLeadingChip : 'size-4' ,
39
39
itemLeadingChipSize : 'sm' ,
40
- itemTrailingIcon : 'size-4'
40
+ itemTrailingIcon : 'size-4' ,
41
+ empty : 'p-1 text-xs'
41
42
} ,
42
43
sm : {
43
44
label : 'p-1.5 text-[10px]/3 gap-1.5' ,
@@ -46,7 +47,8 @@ export default (options: Required<ModuleOptions>) => {
46
47
itemLeadingAvatarSize : '3xs' ,
47
48
itemLeadingChip : 'size-4' ,
48
49
itemLeadingChipSize : 'sm' ,
49
- itemTrailingIcon : 'size-4'
50
+ itemTrailingIcon : 'size-4' ,
51
+ empty : 'p-1.5 text-xs'
50
52
} ,
51
53
md : {
52
54
label : 'p-1.5 text-xs gap-1.5' ,
@@ -55,7 +57,8 @@ export default (options: Required<ModuleOptions>) => {
55
57
itemLeadingAvatarSize : '2xs' ,
56
58
itemLeadingChip : 'size-5' ,
57
59
itemLeadingChipSize : 'md' ,
58
- itemTrailingIcon : 'size-5'
60
+ itemTrailingIcon : 'size-5' ,
61
+ empty : 'p-1.5 text-sm'
59
62
} ,
60
63
lg : {
61
64
label : 'p-2 text-xs gap-2' ,
@@ -64,7 +67,8 @@ export default (options: Required<ModuleOptions>) => {
64
67
itemLeadingAvatarSize : '2xs' ,
65
68
itemLeadingChip : 'size-5' ,
66
69
itemLeadingChipSize : 'md' ,
67
- itemTrailingIcon : 'size-5'
70
+ itemTrailingIcon : 'size-5' ,
71
+ empty : 'p-2 text-sm'
68
72
} ,
69
73
xl : {
70
74
label : 'p-2 text-sm gap-2' ,
@@ -73,7 +77,8 @@ export default (options: Required<ModuleOptions>) => {
73
77
itemLeadingAvatarSize : 'xs' ,
74
78
itemLeadingChip : 'size-6' ,
75
79
itemLeadingChipSize : 'lg' ,
76
- itemTrailingIcon : 'size-6'
80
+ itemTrailingIcon : 'size-6' ,
81
+ empty : 'p-2 text-base'
77
82
}
78
83
}
79
84
}
0 commit comments