@daeryun/dr_components 0.4.60 → 0.4.62
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Footer/index.jsx +1 -1
- package/dist/components/Footer/index.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/TimeLine.jsx +7 -7
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +7 -7
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +15 -15
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +17 -17
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.jsx +5 -5
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryConfirmModal.tsx +5 -5
- package/dist/components/page/MyCase/[id]/_component/_modal/FileUploadModal.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/FileUploadModal.tsx +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -42,10 +42,10 @@ const AnswerBox = ({
|
|
|
42
42
|
}}
|
|
43
43
|
>
|
|
44
44
|
<div
|
|
45
|
-
className={`bg-grayScale7 sm-top:px-[40px] sm-top:py-[28px]
|
|
45
|
+
className={`flex flex-row items-center bg-grayScale7 p-[20px] sm-top:px-[40px] sm-top:py-[28px] lg:px-[48px] lg:py-[36px] ${
|
|
46
46
|
isOpen
|
|
47
|
-
? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px]
|
|
48
|
-
: 'lg:rounded-x-[20px] sm-top:rounded-[12px]
|
|
47
|
+
? 'rounded-x-[8px] sm-top:rounded-x-[12px] lg:rounded-x-[20px] rounded-t-[8px] sm-top:rounded-t-[12px] lg:rounded-t-[20px] '
|
|
48
|
+
: 'lg:rounded-x-[20px] rounded-[8px] sm-top:rounded-[12px] '
|
|
49
49
|
}`}
|
|
50
50
|
>
|
|
51
51
|
<Image
|
|
@@ -53,7 +53,7 @@ const AnswerBox = ({
|
|
|
53
53
|
alt="client"
|
|
54
54
|
width={60}
|
|
55
55
|
height={60}
|
|
56
|
-
className="sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px]
|
|
56
|
+
className="mr-[12px] h-[40px] w-[40px] flex-shrink-0 sm-top:mr-[28px] sm-top:h-[52px] sm-top:w-[52px] lg:mr-[32px] lg:h-[60px] lg:w-[60px]"
|
|
57
57
|
/>
|
|
58
58
|
<div className="w-full">
|
|
59
59
|
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
|
|
@@ -63,7 +63,7 @@ const AnswerBox = ({
|
|
|
63
63
|
{item.content}
|
|
64
64
|
</p>
|
|
65
65
|
<div
|
|
66
|
-
className={`max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between
|
|
66
|
+
className={`mt-[8px] flex flex-row items-center max-sm-top:gap-[8px] sm-top:mt-[12px] sm-top:justify-between lg:mt-[20px] `}
|
|
67
67
|
>
|
|
68
68
|
<p
|
|
69
69
|
className={`body_small2_mo sm-top:body_small2_tb lg:body_small2 max-sm-top:h-[18px] ${
|
|
@@ -78,29 +78,29 @@ const AnswerBox = ({
|
|
|
78
78
|
alt="arrow"
|
|
79
79
|
width={16.6}
|
|
80
80
|
height={10}
|
|
81
|
-
className={`sm-top:h-[10px] sm-top:w-[16.6px]
|
|
81
|
+
className={`h-[6px] w-[10px] transition-transform duration-300 sm-top:h-[10px] sm-top:w-[16.6px] ${
|
|
82
82
|
isOpen ? 'rotate-180' : ''
|
|
83
83
|
}`}
|
|
84
84
|
/>
|
|
85
85
|
) : (
|
|
86
|
-
<div className="bg-mycaseMainColor sm-top:h-[2px]
|
|
86
|
+
<div className="h-[1px] w-[12px] bg-mycaseMainColor sm-top:h-[2px] sm-top:w-[16px] lg:w-[20px]"></div>
|
|
87
87
|
)}
|
|
88
88
|
</div>
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
92
|
<div
|
|
93
|
-
className={`
|
|
94
|
-
isOpen ? '
|
|
93
|
+
className={`flex flex-row overflow-hidden rounded-b-[20px] border-x-[2px] border-b-[2px] border-solid border-grayScale7 px-[20px] transition-all duration-500 sm-top:px-[40px] lg:px-[48px] ${
|
|
94
|
+
isOpen ? 'h-full py-[20px] opacity-100 sm-top:py-[28px] lg:py-[36px]' : 'h-0 opacity-0'
|
|
95
95
|
}`}
|
|
96
96
|
>
|
|
97
|
-
<div className="
|
|
97
|
+
<div className="mr-[12px] flex flex-shrink-0 flex-col items-center justify-center sm-top:mr-[28px] sm-top:gap-[4px] lg:mr-[32px] lg:gap-[12px]">
|
|
98
98
|
<Image
|
|
99
99
|
src={daeryun}
|
|
100
100
|
alt="client"
|
|
101
101
|
width={60}
|
|
102
102
|
height={60}
|
|
103
|
-
className="sm-top:h-[52px] sm-top:w-[52px]
|
|
103
|
+
className="h-[40px] w-[40px] flex-shrink-0 sm-top:h-[52px] sm-top:w-[52px] lg:h-[60px] lg:w-[60px]"
|
|
104
104
|
/>
|
|
105
105
|
<p className=" sm-top:body_small2_tb lg:body_small2 text-mycaseMainColor max-sm-top:hidden">
|
|
106
106
|
담당자
|
|
@@ -110,7 +110,7 @@ const AnswerBox = ({
|
|
|
110
110
|
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-grayScale2">
|
|
111
111
|
{dayjs(item?.answer_at).format('YYYY.MM.DD HH:mm')}
|
|
112
112
|
</p>
|
|
113
|
-
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 sm-top:mt-[4px]
|
|
113
|
+
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-black sm-top:mt-[4px] lg:mt-[5px]">
|
|
114
114
|
{item?.answer}
|
|
115
115
|
</p>
|
|
116
116
|
</div>
|
|
@@ -153,7 +153,7 @@ const CaseInquiry = ({
|
|
|
153
153
|
<Loading />
|
|
154
154
|
) : (
|
|
155
155
|
<>
|
|
156
|
-
<div className="
|
|
156
|
+
<div className="flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[24px]">
|
|
157
157
|
{myCaseQuestion?.length > 0 ? (
|
|
158
158
|
myCaseQuestion?.map((item, index) => (
|
|
159
159
|
<AnswerBox
|
|
@@ -171,20 +171,20 @@ const CaseInquiry = ({
|
|
|
171
171
|
<div
|
|
172
172
|
className={` flex items-center justify-end ${
|
|
173
173
|
myCaseQuestion?.length > 0
|
|
174
|
-
? 'sm-top:mt-[80px]
|
|
175
|
-
: 'sm-top:mt-[95px]
|
|
174
|
+
? 'mt-[40px] sm-top:mt-[80px] lg:mt-[60px] '
|
|
175
|
+
: 'mt-[69px] sm-top:mt-[95px] lg:mt-[112px]'
|
|
176
176
|
}`}
|
|
177
177
|
>
|
|
178
178
|
<button
|
|
179
179
|
onClick={() => setIsOpen(prev => !prev)}
|
|
180
|
-
className=" bg-mycaseMainColor sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px]
|
|
180
|
+
className=" flex h-[48px] w-[132px] items-center justify-center gap-[14px] rounded-[24px] bg-mycaseMainColor text-white sm-top:h-[60px] sm-top:w-[188px] sm-top:gap-[23px] sm-top:rounded-[36px] lg:h-[72px] lg:w-[220px] lg:gap-[21px]"
|
|
181
181
|
>
|
|
182
182
|
<Image
|
|
183
183
|
src={inkPen}
|
|
184
184
|
alt="ink_pen"
|
|
185
185
|
width={28.5}
|
|
186
186
|
height={28.5}
|
|
187
|
-
className="sm-top:h-[23.75px] sm-top:w-[23.75px]
|
|
187
|
+
className="h-[19px] w-[19px] sm-top:h-[23.75px] sm-top:w-[23.75px] lg:h-[28.5px] lg:w-[28.5px]"
|
|
188
188
|
/>
|
|
189
189
|
<p
|
|
190
190
|
className="body_large2_mo sm-top:body_large2_tb lg:body_large2"
|
|
@@ -3,7 +3,7 @@ import { useState } from 'react';
|
|
|
3
3
|
import FileUploadModal from '../_modal/FileUploadModal';
|
|
4
4
|
import FileSuccessModal from '../_modal/FileSuccessModal';
|
|
5
5
|
import FileUpload from './FileUpload';
|
|
6
|
-
import upload from '../../../../../../asset/images/
|
|
6
|
+
import upload from '../../../../../../asset/images/myCase/icon/upload.webp';
|
|
7
7
|
const FileDropZone = ({ id, refetch }) => {
|
|
8
8
|
const [isOpen, setIsOpen] = useState(false);
|
|
9
9
|
const saved = localStorage.getItem('isFileUploadModalCheck');
|
|
@@ -3,7 +3,7 @@ import { useState } from 'react';
|
|
|
3
3
|
import FileUploadModal from '../_modal/FileUploadModal';
|
|
4
4
|
import FileSuccessModal from '../_modal/FileSuccessModal';
|
|
5
5
|
import FileUpload from './FileUpload';
|
|
6
|
-
import upload from '../../../../../../asset/images/
|
|
6
|
+
import upload from '../../../../../../asset/images/myCase/icon/upload.webp';
|
|
7
7
|
|
|
8
8
|
const FileDropZone = ({ id, refetch }: { id: string; refetch: () => void }) => {
|
|
9
9
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -6,15 +6,15 @@ const CaseInquiryConfirmModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
6
6
|
return (<ModalContainer isOpen={isOpen} onClose={() => {
|
|
7
7
|
onClose();
|
|
8
8
|
}}>
|
|
9
|
-
<div className="border-grayScale4 bg-grayScale8 sm-top:w-[calc(100%-252px)]
|
|
10
|
-
<Image src={modalIcon} alt="check" width={40} height={48.9} className="sm-top:h-[68.44px] sm-top:w-[56px]
|
|
11
|
-
<p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 sm-top:mt-[20px]
|
|
9
|
+
<div className="absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] lg:w-full lg:max-w-[804px] lg:p-[52px] " onClick={e => e.stopPropagation()}>
|
|
10
|
+
<Image src={modalIcon} alt="check" width={40} height={48.9} className="h-[48.9px] w-[40px] sm-top:h-[68.44px] sm-top:w-[56px] lg:h-[88px] lg:w-[72px]"/>
|
|
11
|
+
<p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 mt-[16.11px] sm-top:mt-[20px] lg:mt-[36px]">
|
|
12
12
|
사건문의 작성이 완료되었습니다.
|
|
13
13
|
</p>
|
|
14
|
-
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-grayScale3 sm-top:mt-[16px]
|
|
14
|
+
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] text-center text-grayScale3 sm-top:mt-[16px] lg:mt-[20px]">
|
|
15
15
|
문의에 대한 답변은 평균 1일 정도 소요될 예정입니다.
|
|
16
16
|
</p>
|
|
17
|
-
<button className={`bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px]
|
|
17
|
+
<button className={`mt-[20px] h-[48px] w-full rounded-[4px] bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `} onClick={() => {
|
|
18
18
|
onClose();
|
|
19
19
|
}}>
|
|
20
20
|
<p className="body_large2_mo sm-top:body_large2_tb lg:body_large2 text-white" style={{ color: 'white' }}>
|
|
@@ -22,7 +22,7 @@ const CaseInquiryConfirmModal = ({
|
|
|
22
22
|
}}
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
25
|
-
className="border-grayScale4 bg-grayScale8 sm-top:w-[calc(100%-252px)]
|
|
25
|
+
className="absolute flex w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[12px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] sm-top:w-[calc(100%-252px)] sm-top:max-w-[648px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] lg:w-full lg:max-w-[804px] lg:p-[52px] "
|
|
26
26
|
onClick={e => e.stopPropagation()}
|
|
27
27
|
>
|
|
28
28
|
<Image
|
|
@@ -30,16 +30,16 @@ const CaseInquiryConfirmModal = ({
|
|
|
30
30
|
alt="check"
|
|
31
31
|
width={40}
|
|
32
32
|
height={48.9}
|
|
33
|
-
className="sm-top:h-[68.44px] sm-top:w-[56px]
|
|
33
|
+
className="h-[48.9px] w-[40px] sm-top:h-[68.44px] sm-top:w-[56px] lg:h-[88px] lg:w-[72px]"
|
|
34
34
|
/>
|
|
35
|
-
<p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 sm-top:mt-[20px]
|
|
35
|
+
<p className="body_large1_mo sm-top:body_large1_tb sm-top: lg:body_large1 mt-[16.11px] sm-top:mt-[20px] lg:mt-[36px]">
|
|
36
36
|
사건문의 작성이 완료되었습니다.
|
|
37
37
|
</p>
|
|
38
|
-
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 text-grayScale3 sm-top:mt-[16px]
|
|
38
|
+
<p className="body_medium2_mo sm-top:body_medium2_tb lg:body_medium2 mt-[8px] text-center text-grayScale3 sm-top:mt-[16px] lg:mt-[20px]">
|
|
39
39
|
문의에 대한 답변은 평균 1일 정도 소요될 예정입니다.
|
|
40
40
|
</p>
|
|
41
41
|
<button
|
|
42
|
-
className={`bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px]
|
|
42
|
+
className={`mt-[20px] h-[48px] w-full rounded-[4px] bg-grayScale1 sm-top:mt-[40px] sm-top:h-[60px] sm-top:rounded-[8px] lg:mt-[47px] lg:h-[72px] lg:rounded-[16px] `}
|
|
43
43
|
onClick={() => {
|
|
44
44
|
onClose();
|
|
45
45
|
}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import ModalContainer from './ModalCotainer';
|
|
3
|
-
import file from '../../../../../../asset/images/
|
|
3
|
+
import file from '../../../../../../asset/images/myCase/icon/file.webp';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
const FileUploadModal = ({ isOpen, onClose, getRootProps, getInputProps }) => {
|
|
6
6
|
const [value, setValue] = useState('');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import ModalContainer from './ModalCotainer';
|
|
3
|
-
import file from '../../../../../../asset/images/
|
|
3
|
+
import file from '../../../../../../asset/images/myCase/icon/file.webp';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
|
|
6
6
|
const FileUploadModal = ({
|