Skip to content

Commit

Permalink
chore: export MessageFeedbackFailedModal component (#1031)
Browse files Browse the repository at this point in the history
Co-authored-by: Liam Hongman Cho <[email protected]>
  • Loading branch information
AhyoungRyu and liamcho authored Mar 27, 2024
1 parent becee89 commit 3c73f00
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions rollup.module-exports.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export default {
'Channel/components/MessageInputWrapper': 'src/modules/Channel/components/MessageInputWrapper/index.tsx',
'Channel/components/MessageList': 'src/modules/Channel/components/MessageList/index.tsx',
'Channel/components/RemoveMessageModal': 'src/modules/Channel/components/RemoveMessageModal/index.tsx',
'Channel/components/MessageFeedbackModal': 'src/modules/Channel/components/MessageFeedbackModal/index.tsx',
'Channel/components/TypingIndicator': 'src/modules/Channel/components/TypingIndicator.tsx',
'Channel/components/UnreadCount': 'src/modules/Channel/components/UnreadCount/index.tsx',
'Channel/components/SuggestedMentionList': 'src/modules/Channel/components/SuggestedMentionList/index.tsx',
Expand All @@ -101,7 +100,6 @@ export default {
'GroupChannel/components/UnreadCount': 'src/modules/GroupChannel/components/UnreadCount/index.tsx',
'GroupChannel/components/SuggestedMentionList': 'src/modules/GroupChannel/components/SuggestedMentionList/index.tsx',
'GroupChannel/components/SuggestedReplies': 'src/modules/GroupChannel/components/SuggestedReplies/index.tsx',
// 'GroupChannel/components/MessageFeedbackModal': 'src/modules/GroupChannel/components/MessageFeedbackModal/index.tsx', // TODO: move to UI

// OpenChannel
OpenChannel: 'src/modules/OpenChannel/index.tsx',
Expand Down Expand Up @@ -239,4 +237,6 @@ export default {
'ui/Word': 'src/ui/Word/index.tsx',
'ui/FeedbackIconButton': 'src/ui/FeedbackIconButton/index.tsx',
'ui/MobileFeedbackMenu': 'src/ui/MobileFeedbackMenu/index.tsx',
'ui/MessageFeedbackModal': 'src/ui/MessageFeedbackModal/index.tsx',
'ui/MessageFeedbackFailedModal': 'src/ui/MessageFeedbackFailedModal/index.tsx',
};
4 changes: 2 additions & 2 deletions src/ui/MessageContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ import MessageHeader, { MessageHeaderProps } from './MessageHeader';
import Icon, { IconTypes } from '../Icon';
import FeedbackIconButton from '../FeedbackIconButton';
import MobileFeedbackMenu from '../MobileFeedbackMenu';
import MessageFeedbackModal from '../../modules/Channel/components/MessageFeedbackModal';
import MessageFeedbackModal from '../MessageFeedbackModal';
import { SbFeedbackStatus } from './types';
import MessageFeedbackFailedModal from '../../modules/Channel/components/MessageFeedbackFailedModal';
import MessageFeedbackFailedModal from '../MessageFeedbackFailedModal';
import { MobileBottomSheetProps } from '../MobileMenu/types';

export interface MessageContentProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { ReactElement, useContext, useRef } from 'react';
import { LocalizationContext } from '../../../../lib/LocalizationContext';
import Modal from '../../../../ui/Modal';
import Button, { ButtonTypes } from '../../../../ui/Button';
import Label, { LabelColors, LabelTypography } from '../../../../ui/Label';
import { LocalizationContext } from '../../lib/LocalizationContext';
import Modal from '../Modal';
import Button, { ButtonTypes } from '../Button';
import Label, { LabelColors, LabelTypography } from '../Label';
import '../MessageFeedbackModal/index.scss';
import { useKeyDown } from '../../../../hooks/useKeyDown/useKeyDown';
import { useKeyDown } from '../../hooks/useKeyDown/useKeyDown';

export interface MessageFeedbackFailedModalProps {
text: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../../styles/variables';
@import '../../styles/variables';

.sendbird-message-feedback-modal-content__mobile {
@include mobile() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React, { ReactElement, useContext, useRef } from 'react';
import { LocalizationContext } from '../../../../lib/LocalizationContext';
import Modal from '../../../../ui/Modal';
import Button, { ButtonTypes } from '../../../../ui/Button';
import Input from '../../../../ui/Input';
import Label, { LabelColors, LabelTypography } from '../../../../ui/Label';
import { LocalizationContext } from '../../lib/LocalizationContext';
import Modal from '../Modal';
import Button, { ButtonTypes } from '../Button';
import Input from '../Input';
import Label, { LabelColors, LabelTypography } from '../Label';
import './index.scss';
import { useMediaQueryContext } from '../../../../lib/MediaQueryContext';
import { CoreMessageType } from '../../../../utils';
import { useMediaQueryContext } from '../../lib/MediaQueryContext';
import { CoreMessageType } from '../../utils';
import { FeedbackRating } from '@sendbird/chat/message';
import { useKeyDown } from '../../../../hooks/useKeyDown/useKeyDown';
import { useKeyDown } from '../../hooks/useKeyDown/useKeyDown';

export interface MessageFeedbackModalProps {
selectedFeedback: FeedbackRating | undefined;
Expand Down

0 comments on commit 3c73f00

Please sign in to comment.