Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
066f575
refactor(ee/packages/pdf-worker/src/templates/ChatTranscript/markup/e…
tassoevan Jul 3, 2026
1aa9deb
refactor(packages/fuselage-ui-kit/src/blocks): export component props…
tassoevan Jul 3, 2026
4d5aa80
refactor(packages/fuselage-ui-kit/src/blocks/VideoConferenceBlock): e…
tassoevan Jul 3, 2026
3089bc2
refactor(packages/fuselage-ui-kit/src/contexts): export component pro…
tassoevan Jul 3, 2026
7b7fabd
refactor(packages/fuselage-ui-kit/src/elements): export component pro…
tassoevan Jul 3, 2026
cd84d47
refactor(packages/fuselage-ui-kit/src/elements/ChannelsSelectElement)…
tassoevan Jul 3, 2026
0af99b4
refactor(packages/fuselage-ui-kit/src/elements/UsersSelectElement): e…
tassoevan Jul 3, 2026
455c7c6
refactor(packages/fuselage-ui-kit/src/surfaces): export component pro…
tassoevan Jul 3, 2026
5ea0ac4
refactor(packages/fuselage-ui-kit/src/utils): export component props …
tassoevan Jul 3, 2026
9050d0c
refactor(packages/gazzodown/src): export component props types
tassoevan Jul 3, 2026
a05a954
refactor(packages/gazzodown/src/blocks): export component props types
tassoevan Jul 3, 2026
d06b076
refactor(packages/gazzodown/src/code): export component props types
tassoevan Jul 3, 2026
fe9eef1
refactor(packages/gazzodown/src/colors): export component props types
tassoevan Jul 3, 2026
9305204
refactor(packages/gazzodown/src/elements): export component props types
tassoevan Jul 3, 2026
8fa62d0
refactor(packages/gazzodown/src/elements/Timestamp): export component…
tassoevan Jul 3, 2026
55087da
refactor(packages/gazzodown/src/emoji): export component props types
tassoevan Jul 3, 2026
a751d5f
refactor(packages/gazzodown/src/katex): export component props types
tassoevan Jul 3, 2026
f0956d0
refactor(packages/gazzodown/src/mentions): export component props types
tassoevan Jul 3, 2026
cdb747a
refactor(packages/livechat/src/components/Alert): export component pr…
tassoevan Jul 3, 2026
57b4e76
refactor(packages/livechat/src/components/Button): export component p…
tassoevan Jul 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type MessageBlock =
| MessageParser.MarkupExcluding<MessageParser.Bold>
| MessageParser.InlineCode;

type BoldSpanProps = {
export type BoldSpanProps = {
children: MessageBlock[];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const codeStyles = StyleSheet.create({
},
});

type CodeSpanProps = {
export type CodeSpanProps = {
code: string;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Text } from '@react-pdf/renderer';
import type * as MessageParser from '@rocket.chat/message-parser';
import emojione from 'emoji-toolkit';

type EmojiSpanProps = MessageParser.Emoji;
export type EmojiSpanProps = MessageParser.Emoji;

const EmojiSpan = (emoji: EmojiSpanProps) => <Text>{emoji.value ? `:${emoji.value?.value}:` : emojione.toShort(emoji.unicode)}</Text>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ItalicSpan from './ItalicSpan';
import LinkSpan from './LinkSpan';
import StrikeSpan from './StrikeSpan';

type InlineElementsProps = {
export type InlineElementsProps = {
children: MessageParser.Inlines[];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type MessageBlock =
| MessageParser.MarkupExcluding<MessageParser.Italic>
| MessageParser.InlineCode;

type ItalicSpanProps = {
export type ItalicSpanProps = {
children: MessageBlock[];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import BoldSpan from './BoldSpan';
import ItalicSpan from './ItalicSpan';
import StrikeSpan from './StrikeSpan';

type LinkSpanProps = {
export type LinkSpanProps = {
label: MessageParser.Markup | MessageParser.Markup[];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type MessageBlock =
| MessageParser.MarkupExcluding<MessageParser.Strike>
| MessageParser.InlineCode;

type StrikeSpanProps = {
export type StrikeSpanProps = {
children: MessageBlock[];
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box } from '@rocket.chat/fuselage';
import * as UiKit from '@rocket.chat/ui-kit';
import type { ReactElement } from 'react';

type ActionProps = {
export type ActionProps = {
element: UiKit.ActionsBlock['elements'][number];
parser: UiKit.SurfaceRenderer<ReactElement<any>>;
index: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/ActionsBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Action from './ActionsBlock.Action';
import { useSurfaceType } from '../hooks/useSurfaceType';
import type { BlockProps } from '../utils/BlockProps';

type ActionsBlockProps = BlockProps<UiKit.ActionsBlock>;
export type ActionsBlockProps = BlockProps<UiKit.ActionsBlock>;

const ActionsBlock = ({ className, block, surfaceRenderer }: ActionsBlockProps) => {
const surfaceType = useSurfaceType();
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/CalloutBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as UiKit from '@rocket.chat/ui-kit';

import type { BlockProps } from '../utils/BlockProps';

type CalloutBlockProps = BlockProps<UiKit.CalloutBlock>;
export type CalloutBlockProps = BlockProps<UiKit.CalloutBlock>;

const CalloutBlock = ({ block, surfaceRenderer }: CalloutBlockProps) => (
<Callout
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/ContextBlock.Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box } from '@rocket.chat/fuselage';
import * as UiKit from '@rocket.chat/ui-kit';
import type { ReactElement } from 'react';

type ItemProps = {
export type ItemProps = {
block: UiKit.ContextBlock['elements'][number];
surfaceRenderer: UiKit.SurfaceRenderer<ReactElement<any>>;
index: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/ContextBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { memo, useMemo } from 'react';
import Item from './ContextBlock.Item';
import type { BlockProps } from '../utils/BlockProps';

type ContextBlockProps = BlockProps<UiKit.ContextBlock>;
export type ContextBlockProps = BlockProps<UiKit.ContextBlock>;

const ContextBlock = ({ className, block, surfaceRenderer }: ContextBlockProps) => {
const itemElements = useMemo(
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/DividerBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { memo } from 'react';

import type { BlockProps } from '../utils/BlockProps';

type DividerBlockProps = BlockProps<UiKit.DividerBlock>;
export type DividerBlockProps = BlockProps<UiKit.DividerBlock>;

const DividerBlock = ({ className }: DividerBlockProps) => <Divider className={className} marginBlock={24} />;

Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/ImageBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const fetchImageState = (img: HTMLImageElement) => {
};
};

type ImageBlockProps = BlockProps<UiKit.ImageBlock>;
export type ImageBlockProps = BlockProps<UiKit.ImageBlock>;

const ImageBlock = ({ className, block, surfaceRenderer }: ImageBlockProps) => {
const surface = useSurfaceType();
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/InfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as UiKit from '@rocket.chat/ui-kit';
import IconElement from '../elements/IconElement';
import type { BlockProps } from '../utils/BlockProps';

type InfoCardProps = BlockProps<UiKit.InfoCardBlock>;
export type InfoCardProps = BlockProps<UiKit.InfoCardBlock>;

const InfoCard = ({ block, surfaceRenderer, context }: InfoCardProps) => {
const { rows, blockId } = block;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/InputBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { memo, useMemo } from 'react';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type InputBlockProps = BlockProps<UiKit.InputBlock>;
export type InputBlockProps = BlockProps<UiKit.InputBlock>;

const InputBlock = ({ className, block, surfaceRenderer, context }: InputBlockProps) => {
const inputElement = useMemo(
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/PreviewBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { memo } from 'react';
import ContextBlock from './ContextBlock';
import type { BlockProps } from '../utils/BlockProps';

type PreviewBlockProps = BlockProps<UiKit.PreviewBlock>;
export type PreviewBlockProps = BlockProps<UiKit.PreviewBlock>;

const PreviewBlock = ({ block, surfaceRenderer }: PreviewBlockProps) => (
<Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const breakpoints = {
xl: 6,
} as const;

type FieldsProps = {
export type FieldsProps = {
fields: readonly UiKit.TextObject[];
surfaceRenderer: UiKit.SurfaceRenderer<ReactElement<any>>;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/SectionBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { memo, useMemo } from 'react';
import Fields from './SectionBlock.Fields';
import type { BlockProps } from '../utils/BlockProps';

type SectionBlockProps = BlockProps<UiKit.SectionBlock>;
export type SectionBlockProps = BlockProps<UiKit.SectionBlock>;

const SectionBlock = ({ className, block, surfaceRenderer }: SectionBlockProps) => {
const { text, fields } = block;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/blocks/TabNavigationBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { memo, useState } from 'react';
import { TabElement } from '../elements/TabElement';
import type { BlockProps } from '../utils/BlockProps';

type TabNavigationBlockProps = BlockProps<ExperimentalTabNavigationBlock>;
export type TabNavigationBlockProps = BlockProps<ExperimentalTabNavigationBlock>;

const TabNavigationBlock = (blockProps: TabNavigationBlockProps) => {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { useVideoConfDataStream } from './hooks/useVideoConfDataStream';
import { useSurfaceType } from '../../hooks/useSurfaceType';
import type { BlockProps } from '../../utils/BlockProps';

type VideoConferenceBlockProps = BlockProps<UiKit.VideoConferenceBlock>;
export type VideoConferenceBlockProps = BlockProps<UiKit.VideoConferenceBlock>;

const MAX_USERS = 3;

Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/contexts/AppIdContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { UiKitContext } from './UiKitContext';

const AppIdContext = createContext<string | undefined>(undefined);

type AppIdProviderProps = {
export type AppIdProviderProps = {
children: ReactNode;
appId?: string;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/elements/ButtonElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { MouseEventHandler } from 'react';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type ButtonElementProps = BlockProps<UiKit.ButtonElement>;
export type ButtonElementProps = BlockProps<UiKit.ButtonElement>;

const ButtonElement = ({ block, context, surfaceRenderer }: ButtonElementProps) => {
const [{ loading }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useChannelsData } from './hooks/useChannelsData';
import { useUiKitState } from '../../hooks/useUiKitState';
import type { BlockProps } from '../../utils/BlockProps';

type ChannelsSelectElementProps = BlockProps<UiKit.ChannelsSelectElement>;
export type ChannelsSelectElementProps = BlockProps<UiKit.ChannelsSelectElement>;

const ChannelsSelectElement = ({ block, context }: ChannelsSelectElementProps) => {
const [{ value, loading }, action] = useUiKitState(block, context);
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/elements/CheckboxElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as UiKit from '@rocket.chat/ui-kit';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type CheckboxElementProps = BlockProps<UiKit.CheckboxElement>;
export type CheckboxElementProps = BlockProps<UiKit.CheckboxElement>;

const CheckboxElement = ({ block, context, surfaceRenderer }: CheckboxElementProps) => {
const [{ loading, value }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type DatePickerElementProps = BlockProps<UiKit.DatePickerElement>;
export type DatePickerElementProps = BlockProps<UiKit.DatePickerElement>;

const DatePickerElement = ({ block, context }: DatePickerElementProps) => {
const [{ loading, value, error }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { MouseEventHandler } from 'react';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type IconButtonElementProps = BlockProps<UiKit.IconButtonElement>;
export type IconButtonElementProps = BlockProps<UiKit.IconButtonElement>;

const IconButtonElement = ({ block, context }: IconButtonElementProps) => {
const [{ loading }, action] = useUiKitState(block, context);
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/elements/IconElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { ComponentProps } from 'react';

import type { BlockProps } from '../utils/BlockProps';

type IconElementProps = BlockProps<UiKit.FrameableIconElement>;
export type IconElementProps = BlockProps<UiKit.FrameableIconElement>;

const getVariantColor = (variant: UiKit.FrameableIconElement['variant']): string => {
switch (variant) {
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/elements/ImageElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as UiKit from '@rocket.chat/ui-kit';
import { Element } from './ImageElement.styles';
import type { BlockProps } from '../utils/BlockProps';

type ImageElementProps = BlockProps<UiKit.ImageElement>;
export type ImageElementProps = BlockProps<UiKit.ImageElement>;

const ImageElement = ({ block, context }: ImageElementProps) => {
const size = (context === UiKit.BlockContext.SECTION && 88) || (context === UiKit.BlockContext.CONTEXT && 20) || undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { memo, useMemo } from 'react';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type LinearScaleElementProps = BlockProps<UiKit.LinearScaleElement>;
export type LinearScaleElementProps = BlockProps<UiKit.LinearScaleElement>;

const LinearScaleElement = ({ className, block, context, surfaceRenderer }: LinearScaleElementProps) => {
const { minValue = 0, maxValue = 10, initialValue, preLabel, postLabel } = block;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { Suspense } from 'react';

import { useAppTranslation } from '../hooks/useAppTranslation';

const MarkdownTextElement = ({ textObject }: { textObject: TextObject }) => {
export type MarkdownTextElementProps = { textObject: TextObject };

const MarkdownTextElement = ({ textObject }: MarkdownTextElementProps) => {
const { t } = useAppTranslation();

const text = textObject.i18n ? t(textObject.i18n.key, { ...textObject.i18n.args }) : textObject.text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type MultiStaticSelectElementProps = BlockProps<UiKit.MultiStaticSelectElement>;
export type MultiStaticSelectElementProps = BlockProps<UiKit.MultiStaticSelectElement>;

const MultiStaticSelectElement = ({ block, context }: MultiStaticSelectElementProps) => {
const [{ loading, value, error }, action] = useUiKitState(block, context);
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/elements/OverflowElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type OverflowElementProps = BlockProps<UiKit.OverflowElement>;
export type OverflowElementProps = BlockProps<UiKit.OverflowElement>;

const OverflowElement = ({ block, context }: OverflowElementProps) => {
const [{ loading }, action] = useUiKitState(block, context);
Expand Down
4 changes: 3 additions & 1 deletion packages/fuselage-ui-kit/src/elements/PlainTextElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import type { TextObject } from '@rocket.chat/ui-kit';

import { useAppTranslation } from '../hooks/useAppTranslation';

const PlainTextElement = ({ textObject }: { textObject: TextObject }) => {
export type PlainTextElementProps = { textObject: TextObject };

const PlainTextElement = ({ textObject }: PlainTextElementProps) => {
const { t } = useAppTranslation();

const text = textObject.i18n ? t(textObject.i18n.key, { ...textObject.i18n.args }) : textObject.text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type PlainTextInputElementProps = BlockProps<UiKit.PlainTextInputElement>;
export type PlainTextInputElementProps = BlockProps<UiKit.PlainTextInputElement>;

const PlainTextInputElement = ({ block, context }: PlainTextInputElementProps) => {
const [{ loading, value, error }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as UiKit from '@rocket.chat/ui-kit';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type RadioButtonElementProps = BlockProps<UiKit.RadioButtonElement>;
export type RadioButtonElementProps = BlockProps<UiKit.RadioButtonElement>;

const RadioButtonElement = ({ block, context, surfaceRenderer }: RadioButtonElementProps) => {
const [{ loading, value }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type StaticSelectElementProps = BlockProps<UiKit.StaticSelectElement>;
export type StaticSelectElementProps = BlockProps<UiKit.StaticSelectElement>;

const StaticSelectElement = ({ block, context }: StaticSelectElementProps) => {
const [{ loading, value, error }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useStringFromTextObject } from '../hooks/useStringFromTextObject';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type TimePickerElementProps = BlockProps<UiKit.TimePickerElement>;
export type TimePickerElementProps = BlockProps<UiKit.TimePickerElement>;

const TimePickerElement = ({ block, context }: TimePickerElementProps) => {
const [{ loading, value, error }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as UiKit from '@rocket.chat/ui-kit';
import { useUiKitState } from '../hooks/useUiKitState';
import type { BlockProps } from '../utils/BlockProps';

type ToggleSwitchElementProps = BlockProps<UiKit.ToggleSwitchElement>;
export type ToggleSwitchElementProps = BlockProps<UiKit.ToggleSwitchElement>;

const ToggleSwitchElement = ({ block, context, surfaceRenderer }: ToggleSwitchElementProps) => {
const [{ value, loading }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useUsersData } from './hooks/useUsersData';
import { useUiKitState } from '../../hooks/useUiKitState';
import type { BlockProps } from '../../utils/BlockProps';

type MultiUsersSelectElementProps = BlockProps<UiKit.MultiUsersSelectElement>;
export type MultiUsersSelectElementProps = BlockProps<UiKit.MultiUsersSelectElement>;

const MultiUsersSelectElement = ({ block, context }: MultiUsersSelectElementProps) => {
const [{ loading, value }, action] = useUiKitState(block, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useUsersData } from './hooks/useUsersData';
import { useUiKitState } from '../../hooks/useUiKitState';
import type { BlockProps } from '../../utils/BlockProps';

type UsersSelectElementProps = BlockProps<UiKit.UsersSelectElement>;
export type UsersSelectElementProps = BlockProps<UiKit.UsersSelectElement>;

export type UserAutoCompleteOptionType = {
value: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/surfaces/BannerSurface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { ReactNode } from 'react';

import { Surface } from './Surface';

type BannerSurfaceProps = {
export type BannerSurfaceProps = {
children?: ReactNode;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { ReactNode } from 'react';

import { Surface } from './Surface';

type ContextualBarSurfaceProps = {
export type ContextualBarSurfaceProps = {
children?: ReactNode;
};

Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/src/surfaces/MessageSurface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { ReactNode } from 'react';

import { Surface } from './Surface';

type MessageSurfaceProps = {
export type MessageSurfaceProps = {
children?: ReactNode;
};

Expand Down
Loading
Loading