Rating updates

pull/4239/head
Tuğçe Küçükoğlu 2023-08-02 17:22:14 +03:00
parent c1b4026831
commit 991369ff6e
1 changed files with 19 additions and 5 deletions

View File

@ -843,14 +843,28 @@ export default {
root: ({ props }) => ({ root: ({ props }) => ({
class: ['relative flex items-center', 'gap-2', { 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }] class: ['relative flex items-center', 'gap-2', { 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }]
}), }),
cancelitem: { cancelitem: ({ context }) => ({
class: ['inline-flex items-center cursor-pointer'] class: [
}, 'inline-flex items-center cursor-pointer',
{
'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': context.focused
}
]
}),
cancelicon: { cancelicon: {
class: ['text-red-500', 'w-5 h-5', 'transition duration-200 ease-in'] class: ['text-red-500', 'w-5 h-5', 'transition duration-200 ease-in']
}, },
item: ({ props }) => ({ item: ({ props, context }) => ({
class: ['inline-flex items-center', { 'cursor-pointer': !props.readonly, 'cursor-default': props.readonly }] class: [
'inline-flex items-center',
{
'cursor-pointer': !props.readonly,
'cursor-default': props.readonly
},
{
'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': context.focused
}
]
}), }),
officon: { officon: {
class: ['text-gray-700 hover:text-blue-400', 'w-5 h-5', 'transition duration-200 ease-in'] class: ['text-gray-700 hover:text-blue-400', 'w-5 h-5', 'transition duration-200 ease-in']