feat(desktop): share sessions

This commit is contained in:
Adam
2025-12-17 03:47:44 -06:00
parent 0c7a297b1d
commit 494e6fff01
9 changed files with 240 additions and 75 deletions

View File

@@ -56,6 +56,10 @@ export function TextField(props: TextFieldProps) {
setTimeout(() => setCopied(false), 2000)
}
function handleClick() {
if (local.copyable) handleCopy()
}
return (
<Kobalte
data-component="input"
@@ -65,6 +69,7 @@ export function TextField(props: TextFieldProps) {
value={local.value}
onChange={local.onChange}
onKeyDown={local.onKeyDown}
onClick={handleClick}
required={local.required}
disabled={local.disabled}
readOnly={local.readOnly}
@@ -96,8 +101,3 @@ export function TextField(props: TextFieldProps) {
</Kobalte>
)
}
/** @deprecated Use TextField instead */
export const Input = TextField
/** @deprecated Use TextFieldProps instead */
export type InputProps = TextFieldProps