@daeryun/dr_components 1.1.1 → 1.1.3
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.
- package/dist/components/Daeryuntalk/FixedErrorBox.jsx +1 -1
- package/dist/components/Daeryuntalk/FixedErrorBox.tsx +1 -1
- package/dist/components/Daeryuntalk/HistoryView.jsx +1 -1
- package/dist/components/Daeryuntalk/HistoryView.tsx +1 -1
- package/dist/components/Daeryuntalk/HomeView.jsx +2 -2
- package/dist/components/Daeryuntalk/HomeView.tsx +2 -2
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +2 -2
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ const FixedErrorBox = ({ isError = false, message = '네트워크 연결이 원
|
|
|
26
26
|
<WarningIcon className="h-6 w-6 text-white"/>
|
|
27
27
|
</div>
|
|
28
28
|
<div className="flex">
|
|
29
|
-
<
|
|
29
|
+
<p className="dr_talk_body_medium2 whitespace-pre-line">{message}</p>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
32
|
</div>);
|
|
@@ -63,7 +63,7 @@ const FixedErrorBox = ({ isError = false, message = '네트워크 연결이 원
|
|
|
63
63
|
<WarningIcon className="h-6 w-6 text-white" />
|
|
64
64
|
</div>
|
|
65
65
|
<div className="flex">
|
|
66
|
-
<
|
|
66
|
+
<p className="dr_talk_body_medium2 whitespace-pre-line">{message}</p>
|
|
67
67
|
</div>
|
|
68
68
|
</div>
|
|
69
69
|
</div>
|
|
@@ -29,7 +29,7 @@ const HistoryView = ({ onBackClick, onChatHistoryClick, onNewChatClick, isAuthen
|
|
|
29
29
|
<PrevIcon width={28} height={28}/>
|
|
30
30
|
</button>
|
|
31
31
|
<div className="flex items-center">
|
|
32
|
-
<
|
|
32
|
+
<p className=" dr_talk_title_small ">히스토리</p>
|
|
33
33
|
</div>
|
|
34
34
|
<div className={`${isHash ? 'pointer-events-none !opacity-0' : ''} ${isMobile ? 'block' : ' xs:pointer-events-none xs:!opacity-0 '} py-[14px] text-drTalkGrayscale2 hover:cursor-pointer`} onClick={onClose}>
|
|
35
35
|
<CloseSvgIcon width={28} height={28}/>
|
|
@@ -67,7 +67,7 @@ const HistoryView: React.FC<HistoryViewProps> = ({
|
|
|
67
67
|
<PrevIcon width={28} height={28} />
|
|
68
68
|
</button>
|
|
69
69
|
<div className="flex items-center">
|
|
70
|
-
<
|
|
70
|
+
<p className=" dr_talk_title_small ">히스토리</p>
|
|
71
71
|
</div>
|
|
72
72
|
<div
|
|
73
73
|
className={`${isHash ? 'pointer-events-none !opacity-0' : ''} ${isMobile ? 'block' : ' xs:pointer-events-none xs:!opacity-0 '} py-[14px] text-drTalkGrayscale2 hover:cursor-pointer`}
|
|
@@ -139,9 +139,9 @@ const HomeView = ({ inquiryMainData, isLoading, handleStartChat, isMobile, onClo
|
|
|
139
139
|
<div ref={containerRef} className={`flex min-h-[80px] flex-col overscroll-contain ${isMobile ? 'overflow-y-auto overscroll-contain ' : ''} overlay-scrollbar`} style={Object.assign({ maxHeight: `${contentHeight}px` }, (!isMobile ? hoverStyle : {}))}>
|
|
140
140
|
<div className="flex items-center gap-[10px]">
|
|
141
141
|
{(inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.channel_logo_image_url) ? (<Image src={inquiryMainData.channel_logo_image_url} alt="로고" width={32} height={32}/>) : (<DaeryunLogoIcon width={24} height={24} className="mr-2"/>)}
|
|
142
|
-
<
|
|
142
|
+
<p className="dr_talk_title_small text-drTalkBlack">
|
|
143
143
|
{(inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.channel_name) || '법무법인(유한)대륜'}
|
|
144
|
-
</
|
|
144
|
+
</p>
|
|
145
145
|
</div>
|
|
146
146
|
<div className="dr_talk_body_medium2 relative ml-[42px] mr-[16px] mt-[16px] whitespace-pre-line">
|
|
147
147
|
{(inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.salutation) || tempSasulation}
|
|
@@ -199,9 +199,9 @@ const HomeView = ({ inquiryMainData, isLoading, handleStartChat, isMobile, onClo
|
|
|
199
199
|
) : (
|
|
200
200
|
<DaeryunLogoIcon width={24} height={24} className="mr-2" />
|
|
201
201
|
)}
|
|
202
|
-
<
|
|
202
|
+
<p className="dr_talk_title_small text-drTalkBlack">
|
|
203
203
|
{inquiryMainData?.channel_name || '법무법인(유한)대륜'}
|
|
204
|
-
</
|
|
204
|
+
</p>
|
|
205
205
|
</div>
|
|
206
206
|
<div className="dr_talk_body_medium2 relative ml-[42px] mr-[16px] mt-[16px] whitespace-pre-line">
|
|
207
207
|
{inquiryMainData?.salutation || tempSasulation}
|
|
@@ -134,7 +134,7 @@ const ViewMoreTabItem = ({ item, index, initialData }) => {
|
|
|
134
134
|
<Image src={`${imagePath}/strength_new/viewmore_mo_${index + 1}.webp`} alt={'강점'} fill quality={100} sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw" className={'[700px]:hidden object-cover'}/>
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
|
-
<div className={'flex w-full flex-col gap-4 max-[700px]:gap-[10px]'}>
|
|
137
|
+
<div className={'relative flex w-full flex-col gap-4 max-[700px]:gap-[10px]'}>
|
|
138
138
|
<div className={'flex justify-between'}>
|
|
139
139
|
{hidden ? (<p className={'text-[28px] font-[800] leading-none max-xl:text-[24px] max-md:text-[22px] max-[700px]:text-[20px]'} style={{ color: item.color }}>
|
|
140
140
|
{item.title}
|
|
@@ -157,7 +157,7 @@ const ViewMoreTabItem = ({ item, index, initialData }) => {
|
|
|
157
157
|
</li>);
|
|
158
158
|
})}
|
|
159
159
|
</ul>
|
|
160
|
-
<div className={'
|
|
160
|
+
<div className={'absolute bottom-0 right-0'}>
|
|
161
161
|
<span className={'flex items-center gap-[10px] text-[16px] leading-[1] '}>
|
|
162
162
|
{item.view_more_text}
|
|
163
163
|
<span style={{ backgroundColor: item.color }} className={'flex h-6 w-6 items-center justify-center rounded-full '}>
|
|
@@ -294,7 +294,7 @@ const ViewMoreTabItem = ({
|
|
|
294
294
|
/>
|
|
295
295
|
</div>
|
|
296
296
|
</div>
|
|
297
|
-
<div className={'flex w-full flex-col gap-4 max-[700px]:gap-[10px]'}>
|
|
297
|
+
<div className={'relative flex w-full flex-col gap-4 max-[700px]:gap-[10px]'}>
|
|
298
298
|
<div className={'flex justify-between'}>
|
|
299
299
|
{hidden ? (
|
|
300
300
|
<p
|
|
@@ -346,7 +346,7 @@ const ViewMoreTabItem = ({
|
|
|
346
346
|
);
|
|
347
347
|
})}
|
|
348
348
|
</ul>
|
|
349
|
-
<div className={'
|
|
349
|
+
<div className={'absolute bottom-0 right-0'}>
|
|
350
350
|
<span className={'flex items-center gap-[10px] text-[16px] leading-[1] '}>
|
|
351
351
|
{item.view_more_text}
|
|
352
352
|
<span
|