[Glitch] Testing and types updates

Port 00a8fbc43e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2026-06-29 19:35:59 +02:00
1 parent 696123ffd8
commit 2d657b8d39
21 files changed
+106 -145

No files matched your search

@@ -8,8 +8,9 @@ import type {
} from 'react';
import { useCallback, useId, useRef } from 'react';
import type { Merge } from 'type-fest';
import { insertEmojiAtPosition } from '@/flavours/glitch/features/emoji/utils';
import type { OmitUnion } from '@/flavours/glitch/utils/types';
import { CharacterCounter } from '../character_counter';
import { EmojiPickerButton } from '../emoji/picker_button';
@@ -29,7 +30,7 @@ export type EmojiInputProps = {
} & Omit<CommonFieldWrapperProps, 'wrapperClassName'>;
export const EmojiTextInputField: FC<
OmitUnion<ComponentPropsWithoutRef<'input'>, EmojiInputProps>
Merge<ComponentPropsWithoutRef<'input'>, EmojiInputProps>
> = ({
onChange,
value,
@@ -72,7 +73,7 @@ export const EmojiTextInputField: FC<
};
export const EmojiTextAreaField: FC<
OmitUnion<Omit<TextAreaProps, 'style'>, EmojiInputProps>
Merge<Omit<TextAreaProps, 'style'>, EmojiInputProps>
> = ({
onChange,
value,