From c12eebf8640e7abd7e475cd12f12c89291a2b4e5 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Fri, 3 Jul 2026 17:37:18 -0300 Subject: [PATCH 01/20] refactor(apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon): export component props types --- .../OmnichannelRoomIcon/OmnichannelAppSourceRoomIcon.tsx | 2 +- .../OmnichannelRoomIcon/OmnichannelCoreSourceRoomIcon.tsx | 2 +- .../RoomIcon/OmnichannelRoomIcon/OmnichannelRoomIcon.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelAppSourceRoomIcon.tsx b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelAppSourceRoomIcon.tsx index 268143a7dcd1d..a20bafce8e34b 100644 --- a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelAppSourceRoomIcon.tsx +++ b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelAppSourceRoomIcon.tsx @@ -4,7 +4,7 @@ import type { ComponentProps } from 'react'; import { useOmnichannelRoomIcon } from './context/OmnichannelRoomIconContext'; -type OmnichannelAppSourceRoomIconProps = { +export type OmnichannelAppSourceRoomIconProps = { source: IOmnichannelSourceFromApp; color: ComponentProps['color']; size: ComponentProps['size']; diff --git a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelCoreSourceRoomIcon.tsx b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelCoreSourceRoomIcon.tsx index bf82549f5a50b..063f74c32165f 100644 --- a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelCoreSourceRoomIcon.tsx +++ b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelCoreSourceRoomIcon.tsx @@ -11,7 +11,7 @@ const iconMap = { other: 'headset', } as const; -type OmnichannelCoreSourceRoomIconProps = { +export type OmnichannelCoreSourceRoomIconProps = { source: IOmnichannelSource; color: ComponentProps['color']; size: ComponentProps['size']; diff --git a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelRoomIcon.tsx b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelRoomIcon.tsx index 6e6861ea1c861..2dc0fbfcded1f 100644 --- a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelRoomIcon.tsx +++ b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/OmnichannelRoomIcon.tsx @@ -14,7 +14,7 @@ const colors = { disabled: 'annotation', } as const; -type OmnichannelRoomIconProps = { +export type OmnichannelRoomIconProps = { source: IOmnichannelSource; color?: ComponentProps['color']; status?: UserStatus; From 490df3850f257ad3dde5d2750f48f17d999d7405 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Fri, 3 Jul 2026 17:37:19 -0300 Subject: [PATCH 02/20] refactor(apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/provider): export component props types --- .../provider/OmnichannelRoomIconProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/provider/OmnichannelRoomIconProvider.tsx b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/provider/OmnichannelRoomIconProvider.tsx index 5aacd297a8f76..169a6258f8fd1 100644 --- a/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/provider/OmnichannelRoomIconProvider.tsx +++ b/apps/meteor/client/components/RoomIcon/OmnichannelRoomIcon/provider/OmnichannelRoomIconProvider.tsx @@ -8,7 +8,7 @@ import OmnichannelRoomIconManager from '../lib/OmnichannelRoomIconManager'; let icons = Array.from(OmnichannelRoomIconManager.icons.values()); -type OmnichannelRoomIconProviderProps = { +export type OmnichannelRoomIconProviderProps = { children?: ReactNode; }; From 9d2730ec752288cdd22a6cad5c9b05e02035d113 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Fri, 3 Jul 2026 17:37:19 -0300 Subject: [PATCH 03/20] refactor(apps/meteor/client/components/Sidebar): export component props types --- apps/meteor/client/components/Sidebar/Content.tsx | 2 +- apps/meteor/client/components/Sidebar/Header.tsx | 2 +- apps/meteor/client/components/Sidebar/ListItem.tsx | 2 +- apps/meteor/client/components/Sidebar/Sidebar.tsx | 2 +- apps/meteor/client/components/Sidebar/SidebarGenericItem.tsx | 2 +- apps/meteor/client/components/Sidebar/SidebarItemsAssembler.tsx | 2 +- apps/meteor/client/components/Sidebar/SidebarNavigationItem.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/meteor/client/components/Sidebar/Content.tsx b/apps/meteor/client/components/Sidebar/Content.tsx index b7a3fef60ea49..d1b244606aa7e 100644 --- a/apps/meteor/client/components/Sidebar/Content.tsx +++ b/apps/meteor/client/components/Sidebar/Content.tsx @@ -2,7 +2,7 @@ import { Box } from '@rocket.chat/fuselage'; import { CustomScrollbars } from '@rocket.chat/ui-client'; import type { ComponentPropsWithoutRef } from 'react'; -type ContentProps = ComponentPropsWithoutRef; +export type ContentProps = ComponentPropsWithoutRef; const Content = ({ children, ...props }: ContentProps) => ( diff --git a/apps/meteor/client/components/Sidebar/Header.tsx b/apps/meteor/client/components/Sidebar/Header.tsx index 528e8aa5d3fa3..386ec132a7f78 100644 --- a/apps/meteor/client/components/Sidebar/Header.tsx +++ b/apps/meteor/client/components/Sidebar/Header.tsx @@ -2,7 +2,7 @@ import { Box, IconButton } from '@rocket.chat/fuselage'; import type { ReactNode } from 'react'; import { useTranslation } from 'react-i18next'; -type HeaderProps = { +export type HeaderProps = { children?: ReactNode; title?: ReactNode; onClose?: () => void; diff --git a/apps/meteor/client/components/Sidebar/ListItem.tsx b/apps/meteor/client/components/Sidebar/ListItem.tsx index 5ab5d2a43c743..d8dbe6f4d7d12 100644 --- a/apps/meteor/client/components/Sidebar/ListItem.tsx +++ b/apps/meteor/client/components/Sidebar/ListItem.tsx @@ -18,7 +18,7 @@ type ListItemConditionalProps = gap?: boolean; }; -type ListItemProps = ListItemCommonProps & ListItemConditionalProps; +export type ListItemProps = ListItemCommonProps & ListItemConditionalProps; const ListItem = ({ icon, text, input, children, gap, ...props }: ListItemProps) => (