@@ -14,7 +14,7 @@ export default (options: Required<ModuleOptions>) => {
1414 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' ,
1515 viewport : 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1' ,
1616 group : 'p-1 isolate' ,
17- empty : 'py-2 text-center text-sm text-muted' ,
17+ empty : 'text-center text-muted' ,
1818 label : 'font-semibold text-highlighted' ,
1919 separator : '-mx-1 my-1 h-px bg-border' ,
2020 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>) => {
3737 itemLeadingAvatarSize : '3xs' ,
3838 itemLeadingChip : 'size-4' ,
3939 itemLeadingChipSize : 'sm' ,
40- itemTrailingIcon : 'size-4'
40+ itemTrailingIcon : 'size-4' ,
41+ empty : 'p-1 text-xs'
4142 } ,
4243 sm : {
4344 label : 'p-1.5 text-[10px]/3 gap-1.5' ,
@@ -46,7 +47,8 @@ export default (options: Required<ModuleOptions>) => {
4647 itemLeadingAvatarSize : '3xs' ,
4748 itemLeadingChip : 'size-4' ,
4849 itemLeadingChipSize : 'sm' ,
49- itemTrailingIcon : 'size-4'
50+ itemTrailingIcon : 'size-4' ,
51+ empty : 'p-1.5 text-xs'
5052 } ,
5153 md : {
5254 label : 'p-1.5 text-xs gap-1.5' ,
@@ -55,7 +57,8 @@ export default (options: Required<ModuleOptions>) => {
5557 itemLeadingAvatarSize : '2xs' ,
5658 itemLeadingChip : 'size-5' ,
5759 itemLeadingChipSize : 'md' ,
58- itemTrailingIcon : 'size-5'
60+ itemTrailingIcon : 'size-5' ,
61+ empty : 'p-1.5 text-sm'
5962 } ,
6063 lg : {
6164 label : 'p-2 text-xs gap-2' ,
@@ -64,7 +67,8 @@ export default (options: Required<ModuleOptions>) => {
6467 itemLeadingAvatarSize : '2xs' ,
6568 itemLeadingChip : 'size-5' ,
6669 itemLeadingChipSize : 'md' ,
67- itemTrailingIcon : 'size-5'
70+ itemTrailingIcon : 'size-5' ,
71+ empty : 'p-2 text-sm'
6872 } ,
6973 xl : {
7074 label : 'p-2 text-sm gap-2' ,
@@ -73,7 +77,8 @@ export default (options: Required<ModuleOptions>) => {
7377 itemLeadingAvatarSize : 'xs' ,
7478 itemLeadingChip : 'size-6' ,
7579 itemLeadingChipSize : 'lg' ,
76- itemTrailingIcon : 'size-6'
80+ itemTrailingIcon : 'size-6' ,
81+ empty : 'p-2 text-base'
7782 }
7883 }
7984 }
0 commit comments