@daeryun/dr_components 0.8.59 → 0.8.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,7 @@ interface props {
27
27
  setHistoryList: Dispatch<SetStateAction<History[]>>;
28
28
  historyList: History[];
29
29
  inquiryMainData: IChatInquiryMainDataResponse | null;
30
+ isMobile: boolean;
30
31
  }
31
32
  export const useSocketEventHandler = ({
32
33
  setIsConnected,
@@ -39,7 +40,8 @@ export const useSocketEventHandler = ({
39
40
  setInquiryStatus,
40
41
  setHistoryList,
41
42
  historyList,
42
- inquiryMainData
43
+ inquiryMainData,
44
+ isMobile
43
45
  }: props) => {
44
46
  const toast = useDaeryunTalkToast();
45
47
  /**
@@ -184,6 +186,7 @@ export const useSocketEventHandler = ({
184
186
  hashValue || '',
185
187
  isOpen,
186
188
  setIsConnected,
189
+ isMobile,
187
190
  socket => {
188
191
  console.log('[DaeryuntalkContext] 웹소켓 연결 콜백 - 연결 성공');
189
192
  setIsConnected(true);
@@ -36,7 +36,7 @@ const Daeryuntalk = ({ tel = '1800-7905' }) => {
36
36
  return (<div className={``}>
37
37
  <DaeryuntalkToastProvider>
38
38
  <ViewportHandler />
39
- <DaeryuntalkProvider propsTel={tel}>
39
+ <DaeryuntalkProvider propsTel={tel} isMobile={isMobile}>
40
40
  {isMobile ? (isOpen ? null : (<ChatButton isOpen={isOpen} isMobile={isMobile} hashValue={hashValue} onClick={toggleChat}/>)) : (<ChatButton isOpen={isOpen} isMobile={isMobile} hashValue={hashValue} onClick={toggleChat}/>)}
41
41
  <ChatWidget isOpen={hashValue ? true : isOpen} isMobile={isMobile} onClose={closeChatWidget} hashValue={hashValue} setHashValue={setHashValue}/>
42
42
  </DaeryuntalkProvider>
@@ -52,7 +52,7 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905' }) => {
52
52
  <div className={``}>
53
53
  <DaeryuntalkToastProvider>
54
54
  <ViewportHandler />
55
- <DaeryuntalkProvider propsTel={tel}>
55
+ <DaeryuntalkProvider propsTel={tel} isMobile={isMobile}>
56
56
  {isMobile ? (
57
57
  isOpen ? null : (
58
58
  <ChatButton
@@ -3,7 +3,7 @@ import Image from 'next/image';
3
3
  import React from 'react';
4
4
  import Mark from '../../../Mark/Mark';
5
5
  import { lawyerCode } from '../../../../lib';
6
- import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
6
+ import IconRightArrow from '../../../../asset/images/seo/successCase/right_arrow.svg';
7
7
  export const Lawyer = ({ lawyerData }) => {
8
8
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
9
9
  const lawyerImagePath = imagePath + '/upload/lawyer';
@@ -3,7 +3,7 @@ import Image from 'next/image';
3
3
  import React from 'react';
4
4
  import Mark from '../../../Mark/Mark';
5
5
  import { lawyerCode } from '../../../../lib';
6
- import IconRightArrow from '../../asset/images/seo/successCase/right_arrow.svg';
6
+ import IconRightArrow from '../../../../asset/images/seo/successCase/right_arrow.svg';
7
7
 
8
8
  export const Lawyer = ({ lawyerData }: { lawyerData: any[] }) => {
9
9
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
@@ -2797,6 +2797,10 @@ video {
2797
2797
  max-height: 600px;
2798
2798
  }
2799
2799
 
2800
+ .max-h-\[626px\] {
2801
+ max-height: 626px;
2802
+ }
2803
+
2800
2804
  .max-h-\[72px\] {
2801
2805
  max-height: 72px;
2802
2806
  }