feat: merge remote
This commit is contained in:
commit
8a14cb19a9
|
@ -103,7 +103,9 @@ export default function ActionsBar(props: ActionsBarProps) {
|
||||||
selected === action.id
|
selected === action.id
|
||||||
? `!bg-actions-bar-btn-default ${action.activeClassName}`
|
? `!bg-actions-bar-btn-default ${action.activeClassName}`
|
||||||
: "bg-transparent"
|
: "bg-transparent"
|
||||||
} rounded-md items-center ${action.className}`}
|
} rounded-md items-center ${
|
||||||
|
action.className
|
||||||
|
} transition duration-300 ease-in-out`}
|
||||||
onClick={handlerClick(action)}
|
onClick={handlerClick(action)}
|
||||||
>
|
>
|
||||||
{selected === action.id ? activeIcon : inactiveIcon}
|
{selected === action.id ? activeIcon : inactiveIcon}
|
||||||
|
|
|
@ -57,7 +57,7 @@ export default function Input(props: CommonInputProps & InputProps) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={` group/input w-[100%] rounded-chat-input bg-input flex gap-3 items-center px-3 py-2 ${className} hover:bg-select-hover ${inputClassName}`}
|
className={` group/input w-[100%] rounded-chat-input bg-input transition-colors duration-300 ease-in-out flex gap-3 items-center px-3 py-2 ${className} hover:bg-select-hover ${inputClassName}`}
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|
|
@ -94,7 +94,7 @@ const Select = <Value extends number | string>(props: SearchProps<Value>) => {
|
||||||
className={selectClassName}
|
className={selectClassName}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={`flex items-center gap-3 py-2 px-3 bg-select rounded-action-btn font-time text-sm-title cursor-pointer hover:bg-select-hover`}
|
className={`flex items-center gap-3 py-2 px-3 bg-select rounded-action-btn font-time text-sm-title cursor-pointer hover:bg-select-hover transition duration-300 ease-in-out`}
|
||||||
ref={contentRef}
|
ref={contentRef}
|
||||||
>
|
>
|
||||||
<div className={`flex items-center gap-2 flex-1`}>
|
<div className={`flex items-center gap-2 flex-1`}>
|
||||||
|
|
|
@ -16,7 +16,7 @@ export default function Switch(props: SwitchProps) {
|
||||||
checked={value}
|
checked={value}
|
||||||
onCheckedChange={onChange}
|
onCheckedChange={onChange}
|
||||||
className={`
|
className={`
|
||||||
cursor-pointer flex w-switch h-switch p-0.5 box-content rounded-md
|
cursor-pointer flex w-switch h-switch p-0.5 box-content rounded-md transition-colors duration-300 ease-in-out
|
||||||
${switchClassName}
|
${switchClassName}
|
||||||
${
|
${
|
||||||
value
|
value
|
||||||
|
|
|
@ -236,7 +236,7 @@ export function ChatActions(props: {
|
||||||
className={`${act.className ?? ""}`}
|
className={`${act.className ?? ""}`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={` cursor-pointer h-[32px] w-[32px] flex items-center justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn`}
|
className={` cursor-pointer h-[32px] w-[32px] flex items-center justify-center transition duration-300 ease-in-out hover:bg-chat-actions-btn-hovered hover:rounded-action-btn`}
|
||||||
onClick={act.onClick}
|
onClick={act.onClick}
|
||||||
>
|
>
|
||||||
{act.icon}
|
{act.icon}
|
||||||
|
@ -256,7 +256,7 @@ export function ChatActions(props: {
|
||||||
placement={ind === arr.length - 1 ? "rt" : "t"}
|
placement={ind === arr.length - 1 ? "rt" : "t"}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className=" cursor-pointer h-[32px] w-[32px] flex items-center justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn"
|
className=" cursor-pointer h-[32px] w-[32px] flex items-center transition duration-300 ease-in-out justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn"
|
||||||
onClick={act.onClick}
|
onClick={act.onClick}
|
||||||
>
|
>
|
||||||
{act.icon}
|
{act.icon}
|
||||||
|
|
|
@ -46,6 +46,7 @@ export default function SessionItem(props: {
|
||||||
className={`
|
className={`
|
||||||
group/chat-menu-list relative flex p-3 items-center gap-2 self-stretch rounded-md mb-2
|
group/chat-menu-list relative flex p-3 items-center gap-2 self-stretch rounded-md mb-2
|
||||||
border
|
border
|
||||||
|
transition-colors duration-300 ease-in-out
|
||||||
bg-chat-menu-session-unselected-mobile border-chat-menu-session-unselected-mobile
|
bg-chat-menu-session-unselected-mobile border-chat-menu-session-unselected-mobile
|
||||||
md:bg-chat-menu-session-unselected md:border-chat-menu-session-unselected
|
md:bg-chat-menu-session-unselected md:border-chat-menu-session-unselected
|
||||||
${
|
${
|
||||||
|
|
Loading…
Reference in New Issue