@daeryun/dr_components 0.4.86 → 0.4.88
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/ChannelTalk/ChannelTalk.jsx +8 -33
- package/dist/components/ChannelTalk/ChannelTalk.tsx +8 -34
- package/dist/components/page/MyCase/MyCasePage.jsx +1 -1
- package/dist/components/page/MyCase/MyCasePage.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.jsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +1 -1
- 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/_document/FileUpload.js +0 -2
- package/dist/components/page/MyCase/[id]/_component/_document/FileUpload.ts +2 -2
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseInquiryAddModal.tsx +1 -1
- 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/components/page/MyCase/_component/_breadCrumble/CategoryMenu.jsx +1 -1
- package/dist/components/page/MyCase/_component/_breadCrumble/CategoryMenu.tsx +1 -1
- package/dist/components/page/MyCase/_component/_button/Badge.jsx +1 -1
- package/dist/components/page/MyCase/_component/_button/Badge.tsx +1 -1
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.jsx +1 -1
- package/dist/components/page/MyCase/_component/_layout/CaseWrapper.tsx +1 -1
- package/dist/components/page/MyCase/_component/_table/CaseLine.jsx +2 -2
- package/dist/components/page/MyCase/_component/_table/CaseLine.tsx +2 -2
- package/dist/styles/globals.css +23 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,39 +1,14 @@
|
|
|
1
|
-
import Script from 'next/script';
|
|
2
1
|
const ChannelTalk = () => {
|
|
3
|
-
return (<
|
|
2
|
+
return (<div dangerouslySetInnerHTML={{
|
|
4
3
|
__html: `
|
|
5
|
-
|
|
6
|
-
var w =
|
|
7
|
-
|
|
8
|
-
return w.console.error("ChannelIO script included twice.");
|
|
9
|
-
}
|
|
10
|
-
var ch = function(){ ch.c(arguments); };
|
|
11
|
-
ch.q = [];
|
|
12
|
-
ch.c = function(args){ ch.q.push(args); };
|
|
13
|
-
w.ChannelIO = ch;
|
|
14
|
-
function l(){
|
|
15
|
-
if(w.ChannelIOInitialized){ return; }
|
|
16
|
-
w.ChannelIOInitialized = true;
|
|
17
|
-
var s = document.createElement("script");
|
|
18
|
-
s.type = "text/javascript";
|
|
19
|
-
s.async = true;
|
|
20
|
-
s.src = "https://cdn.channel.io/plugin/ch-plugin-web.js";
|
|
21
|
-
var x = document.getElementsByTagName("script")[0];
|
|
22
|
-
if(x.parentNode){
|
|
23
|
-
x.parentNode.insertBefore(s, x);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
if(document.readyState === "complete"){
|
|
27
|
-
l();
|
|
28
|
-
} else {
|
|
29
|
-
w.addEventListener("DOMContentLoaded", l);
|
|
30
|
-
w.addEventListener("load", l);
|
|
31
|
-
}
|
|
32
|
-
})();
|
|
4
|
+
<script>
|
|
5
|
+
(function(){var w=window;if(w.ChannelIO){return w.console.error("ChannelIO script included twice.");}var ch=function(){ch.c(arguments);};ch.q=[];ch.c=function(args){ch.q.push(args);};w.ChannelIO=ch;function l(){if(w.ChannelIOInitialized){return;}w.ChannelIOInitialized=true;var s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var x=document.getElementsByTagName("script")[0];if(x.parentNode){x.parentNode.insertBefore(s,x);}}if(document.readyState==="complete"){l();}else{w.addEventListener("DOMContentLoaded",l);w.addEventListener("load",l);}})();
|
|
6
|
+
|
|
33
7
|
ChannelIO('boot', {
|
|
34
|
-
|
|
8
|
+
"pluginKey": "17c9f84d-f891-486e-ac58-332dfc3dbe64"
|
|
35
9
|
});
|
|
36
|
-
|
|
37
|
-
|
|
10
|
+
</script>
|
|
11
|
+
`
|
|
12
|
+
}}></div>);
|
|
38
13
|
};
|
|
39
14
|
export default ChannelTalk;
|
|
@@ -2,45 +2,19 @@ import Script from 'next/script';
|
|
|
2
2
|
|
|
3
3
|
const ChannelTalk = () => {
|
|
4
4
|
return (
|
|
5
|
-
<
|
|
6
|
-
id="channel-io"
|
|
7
|
-
strategy="lazyOnload"
|
|
5
|
+
<div
|
|
8
6
|
dangerouslySetInnerHTML={{
|
|
9
7
|
__html: `
|
|
10
|
-
|
|
11
|
-
var w =
|
|
12
|
-
|
|
13
|
-
return w.console.error("ChannelIO script included twice.");
|
|
14
|
-
}
|
|
15
|
-
var ch = function(){ ch.c(arguments); };
|
|
16
|
-
ch.q = [];
|
|
17
|
-
ch.c = function(args){ ch.q.push(args); };
|
|
18
|
-
w.ChannelIO = ch;
|
|
19
|
-
function l(){
|
|
20
|
-
if(w.ChannelIOInitialized){ return; }
|
|
21
|
-
w.ChannelIOInitialized = true;
|
|
22
|
-
var s = document.createElement("script");
|
|
23
|
-
s.type = "text/javascript";
|
|
24
|
-
s.async = true;
|
|
25
|
-
s.src = "https://cdn.channel.io/plugin/ch-plugin-web.js";
|
|
26
|
-
var x = document.getElementsByTagName("script")[0];
|
|
27
|
-
if(x.parentNode){
|
|
28
|
-
x.parentNode.insertBefore(s, x);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
if(document.readyState === "complete"){
|
|
32
|
-
l();
|
|
33
|
-
} else {
|
|
34
|
-
w.addEventListener("DOMContentLoaded", l);
|
|
35
|
-
w.addEventListener("load", l);
|
|
36
|
-
}
|
|
37
|
-
})();
|
|
8
|
+
<script>
|
|
9
|
+
(function(){var w=window;if(w.ChannelIO){return w.console.error("ChannelIO script included twice.");}var ch=function(){ch.c(arguments);};ch.q=[];ch.c=function(args){ch.q.push(args);};w.ChannelIO=ch;function l(){if(w.ChannelIOInitialized){return;}w.ChannelIOInitialized=true;var s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var x=document.getElementsByTagName("script")[0];if(x.parentNode){x.parentNode.insertBefore(s,x);}}if(document.readyState==="complete"){l();}else{w.addEventListener("DOMContentLoaded",l);w.addEventListener("load",l);}})();
|
|
10
|
+
|
|
38
11
|
ChannelIO('boot', {
|
|
39
|
-
|
|
12
|
+
"pluginKey": "17c9f84d-f891-486e-ac58-332dfc3dbe64"
|
|
40
13
|
});
|
|
41
|
-
|
|
14
|
+
</script>
|
|
15
|
+
`
|
|
42
16
|
}}
|
|
43
|
-
|
|
17
|
+
></div>
|
|
44
18
|
);
|
|
45
19
|
};
|
|
46
20
|
|
|
@@ -9,7 +9,7 @@ import backgroundMo from '../../../asset/images/myCase/background_mo.webp';
|
|
|
9
9
|
const MyCasePage = ({ jwt }) => {
|
|
10
10
|
return (
|
|
11
11
|
// <MyCaseManage jwt='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTc0MDAxNDYzOCwiZXhwIjoxNzcxNTcyMjM4fQ.11ra7DkzlOVmBqDjo8SJTQnZDZdRHXjjU3ujK8G3OOY' />
|
|
12
|
-
<div className="relative mt-[
|
|
12
|
+
<div className="relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
|
|
13
13
|
<IntroWrapper title={'나의 사건 현황'} subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'} backgroundImage={background} backgroundTbImage={backgroundTb} backgroundMoImage={backgroundMo} outerClassName="h-[244px] sm-top:h-[448px] lg:h-[513px]"/>
|
|
14
14
|
<div className={'relative z-[1]'}>
|
|
15
15
|
{/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
|
|
@@ -13,7 +13,7 @@ const MyCasePage = ({ jwt }: { jwt?: string }) => {
|
|
|
13
13
|
return (
|
|
14
14
|
// <MyCaseManage jwt='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTc0MDAxNDYzOCwiZXhwIjoxNzcxNTcyMjM4fQ.11ra7DkzlOVmBqDjo8SJTQnZDZdRHXjjU3ujK8G3OOY' />
|
|
15
15
|
|
|
16
|
-
<div className="relative mt-[
|
|
16
|
+
<div className="relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
|
|
17
17
|
<IntroWrapper
|
|
18
18
|
title={'나의 사건 현황'}
|
|
19
19
|
subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'}
|
|
@@ -34,7 +34,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
|
|
|
34
34
|
router.push(`/mycase/${id}?page=${pageNum}`);
|
|
35
35
|
};
|
|
36
36
|
return (<Suspense>
|
|
37
|
-
<div className=" mt-[
|
|
37
|
+
<div className=" relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
|
|
38
38
|
<IntroWrapper title={'상세 사건 정보'} subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'} backgroundImage={background} backgroundTbImage={backgroundTb} backgroundMoImage={backgroundMo} outerClassName="h-[300px] sm-top:h-[448px] lg:h-[513px]"/>
|
|
39
39
|
|
|
40
40
|
<div className={'relative z-[1] '}>
|
|
@@ -42,7 +42,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
|
|
|
42
42
|
<HeaderLayout>
|
|
43
43
|
<div className="mt-[210px] sm-top:mt-[283px] lg:mt-[302px] ">
|
|
44
44
|
<div className="flex items-center justify-center gap-[16px] max-[415px]:hidden sm-top:gap-[32px] lg:gap-[28px]">
|
|
45
|
-
<SubMenuButton title="사건
|
|
45
|
+
<SubMenuButton title="사건 기본정보" isSelected={selected === '사건 정보'} onClick={() => setSelected('사건 정보')}/>
|
|
46
46
|
<SubMenuButton title="사건 타임라인" isSelected={selected === '사건 타임라인'} onClick={() => setSelected('사건 타임라인')}/>
|
|
47
47
|
<SubMenuButton title="문서함" isSelected={selected === '문서함'} onClick={() => setSelected('문서함')}/>
|
|
48
48
|
<SubMenuButton title="계약정보" isSelected={selected === '계약정보'} onClick={() => setSelected('계약정보')}/>
|
|
@@ -53,7 +53,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
55
|
<Suspense>
|
|
56
|
-
<div className=" mt-[
|
|
56
|
+
<div className=" relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
|
|
57
57
|
<IntroWrapper
|
|
58
58
|
title={'상세 사건 정보'}
|
|
59
59
|
subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'}
|
|
@@ -69,7 +69,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
69
69
|
<div className="mt-[210px] sm-top:mt-[283px] lg:mt-[302px] ">
|
|
70
70
|
<div className="flex items-center justify-center gap-[16px] max-[415px]:hidden sm-top:gap-[32px] lg:gap-[28px]">
|
|
71
71
|
<SubMenuButton
|
|
72
|
-
title="사건
|
|
72
|
+
title="사건 기본정보"
|
|
73
73
|
isSelected={selected === '사건 정보'}
|
|
74
74
|
onClick={() => setSelected('사건 정보')}
|
|
75
75
|
/>
|
|
@@ -58,7 +58,7 @@ const DocumentLine = ({ item, index }) => {
|
|
|
58
58
|
});
|
|
59
59
|
fetchBlob();
|
|
60
60
|
}, [item.path]);
|
|
61
|
-
return (<div key={index} className="flex flex-row items-center
|
|
61
|
+
return (<div key={index} className="flex flex-row items-center border-b-[2px] border-solid border-grayScale6 pb-[20px] sm-top:py-[16px]">
|
|
62
62
|
<Image src={getIcon(item.name.split('.').pop())} alt="image" width={39} height={48} unoptimized className="ml-[5.08px] mr-[12.22px] h-[32.86px] w-[26.7px] flex-shrink-0 sm-top:ml-0 sm-top:mr-[29.6px] sm-top:h-[43.81px] sm-top:w-[35.5px] lg:mr-[32px] lg:h-[48px] lg:w-[39px] "/>
|
|
63
63
|
<div className="mr-[10px] flex flex-grow flex-col overflow-hidden">
|
|
64
64
|
<p className="body_medium1_mo sm-top:body_medium2_tb lg:body_medium2 line-clamp-1 w-full text-black">
|
|
@@ -59,7 +59,7 @@ const DocumentLine = ({ item, index }: { item: FileList; index: number }) => {
|
|
|
59
59
|
return (
|
|
60
60
|
<div
|
|
61
61
|
key={index}
|
|
62
|
-
className="flex flex-row items-center
|
|
62
|
+
className="flex flex-row items-center border-b-[2px] border-solid border-grayScale6 pb-[20px] sm-top:py-[16px]"
|
|
63
63
|
>
|
|
64
64
|
<Image
|
|
65
65
|
src={getIcon(item.name.split('.').pop() as string)}
|
|
@@ -8,7 +8,7 @@ const FileDropZone = ({ id, refetch }) => {
|
|
|
8
8
|
const [isOpen, setIsOpen] = useState(false);
|
|
9
9
|
const saved = localStorage.getItem('isFileUploadModalCheck');
|
|
10
10
|
const { getRootProps, getInputProps, isSuccess, setIsSuccess } = FileUpload({ id, refetch });
|
|
11
|
-
return (<div className="mb-[
|
|
11
|
+
return (<div className="mb-[80px] mt-[60px] flex w-full items-end justify-end">
|
|
12
12
|
{/* saved가 true일 때만 Dropzone 적용 */}
|
|
13
13
|
{saved ? (<div {...getRootProps()} className="">
|
|
14
14
|
<input {...getInputProps()}/>
|
|
@@ -12,7 +12,7 @@ const FileDropZone = ({ id, refetch }: { id: string; refetch: () => void }) => {
|
|
|
12
12
|
const { getRootProps, getInputProps, isSuccess, setIsSuccess } = FileUpload({ id, refetch });
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<div className="mb-[
|
|
15
|
+
<div className="mb-[80px] mt-[60px] flex w-full items-end justify-end">
|
|
16
16
|
{/* saved가 true일 때만 Dropzone 적용 */}
|
|
17
17
|
{saved ? (
|
|
18
18
|
<div {...getRootProps()} className="">
|
|
@@ -16,9 +16,7 @@ const FileUpload = ({ id, refetch }) => {
|
|
|
16
16
|
const [isSuccess, setIsSuccess] = useState(false);
|
|
17
17
|
const onDrop = useCallback((acceptedFiles) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
18
|
// setUploadedFiles((prev: File[]) => [...prev, ...acceptedFiles]);
|
|
19
|
-
console.log('test2244442');
|
|
20
19
|
const res = yield mutateAsync(acceptedFiles[0]);
|
|
21
|
-
console.log('res:', res);
|
|
22
20
|
if (res.result) {
|
|
23
21
|
setIsSuccess(res.result);
|
|
24
22
|
if (refetch) {
|
|
@@ -8,9 +8,9 @@ const FileUpload = ({ id, refetch }: { id: string; refetch: () => void }) => {
|
|
|
8
8
|
const [isSuccess, setIsSuccess] = useState(false);
|
|
9
9
|
const onDrop = useCallback(async (acceptedFiles: File[]) => {
|
|
10
10
|
// setUploadedFiles((prev: File[]) => [...prev, ...acceptedFiles]);
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
const res = await mutateAsync(acceptedFiles[0]);
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
if (res.result) {
|
|
15
15
|
setIsSuccess(res.result);
|
|
16
16
|
if (refetch) {
|
|
@@ -27,7 +27,7 @@ const CaseInquiryAddModal = ({ isOpen, onClose, id, refetch }) => {
|
|
|
27
27
|
setIsCheck(false);
|
|
28
28
|
onClose();
|
|
29
29
|
}}>
|
|
30
|
-
<div className="absolute h-fit w-[calc(100%-40px)] overflow-y-
|
|
30
|
+
<div className="absolute h-fit w-[calc(100%-40px)] overflow-y-hidden rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:p-[52px] lg:w-full lg:max-w-[1000px] " onClick={e => e.stopPropagation()}>
|
|
31
31
|
<div className="flex flex-row items-center justify-between">
|
|
32
32
|
<p className="title_medium_mo sm-top:title_medium_tb lg:title_medium text-black">
|
|
33
33
|
사건문의 작성
|
|
@@ -34,7 +34,7 @@ const CaseInquiryAddModal = ({
|
|
|
34
34
|
}}
|
|
35
35
|
>
|
|
36
36
|
<div
|
|
37
|
-
className="absolute h-fit w-[calc(100%-40px)] overflow-y-
|
|
37
|
+
className="absolute h-fit w-[calc(100%-40px)] overflow-y-hidden rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:w-[calc(100%-60px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:p-[52px] lg:w-full lg:max-w-[1000px] "
|
|
38
38
|
onClick={e => e.stopPropagation()}
|
|
39
39
|
>
|
|
40
40
|
<div className="flex flex-row items-center justify-between">
|
|
@@ -25,7 +25,7 @@ const FileUploadModal = ({ isOpen, onClose, getRootProps, getInputProps }) => {
|
|
|
25
25
|
setIsCheck(false);
|
|
26
26
|
onClose();
|
|
27
27
|
}}>
|
|
28
|
-
<div className={'absolute flex h-full max-h-[317px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-
|
|
28
|
+
<div className={'absolute flex h-full max-h-[317px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-hidden rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] ' +
|
|
29
29
|
' sm-top:max-h-[372px] sm-top:w-[644px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] ' +
|
|
30
30
|
' lg:h-full lg:max-h-[465px] lg:w-full lg:max-w-[804px] lg:p-[52px]'} onClick={e => e.stopPropagation()}>
|
|
31
31
|
<div className="flex w-full items-center justify-center">
|
|
@@ -44,7 +44,7 @@ const FileUploadModal = ({
|
|
|
44
44
|
>
|
|
45
45
|
<div
|
|
46
46
|
className={
|
|
47
|
-
'absolute flex h-full max-h-[317px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-
|
|
47
|
+
'absolute flex h-full max-h-[317px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-hidden rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[30px] ' +
|
|
48
48
|
' sm-top:max-h-[372px] sm-top:w-[644px] sm-top:rounded-[24px] sm-top:px-[52px] sm-top:py-[44px] ' +
|
|
49
49
|
' lg:h-full lg:max-h-[465px] lg:w-full lg:max-w-[804px] lg:p-[52px]'
|
|
50
50
|
}
|
|
@@ -24,7 +24,7 @@ const CategoryMenu = (props) => {
|
|
|
24
24
|
const imagePath = isWhite ? home : home;
|
|
25
25
|
const arrowImage = isWhite ? navArr : arrow2;
|
|
26
26
|
const textColor = isWhite ? 'text-[#fff]' : 'text-[#333333]';
|
|
27
|
-
return (<div className={(isMargin ? 'mb-[
|
|
27
|
+
return (<div className={(isMargin ? 'mb-[44px] mr-0 mt-8 sm-top:mb-[68px] lg:mb-[45px] lg:mt-[47px] ' : '') +
|
|
28
28
|
'relative z-10 flex flex-row font-normal leading-[1] tracking-[-0.32px] ' +
|
|
29
29
|
'text-[13px] xs:text-[14px] sm:text-[15px] lg:text-[16px] ' +
|
|
30
30
|
'min-w-[320px] items-center justify-end gap-[10px] lg:w-[100%]'}>
|
|
@@ -39,7 +39,7 @@ const CategoryMenu = (props: CategoryMenuType) => {
|
|
|
39
39
|
return (
|
|
40
40
|
<div
|
|
41
41
|
className={
|
|
42
|
-
(isMargin ? 'mb-[
|
|
42
|
+
(isMargin ? 'mb-[44px] mr-0 mt-8 sm-top:mb-[68px] lg:mb-[45px] lg:mt-[47px] ' : '') +
|
|
43
43
|
'relative z-10 flex flex-row font-normal leading-[1] tracking-[-0.32px] ' +
|
|
44
44
|
'text-[13px] xs:text-[14px] sm:text-[15px] lg:text-[16px] ' +
|
|
45
45
|
'min-w-[320px] items-center justify-end gap-[10px] lg:w-[100%]'
|
|
@@ -12,7 +12,7 @@ export const buttonStyle = {
|
|
|
12
12
|
};
|
|
13
13
|
const Badge = ({ title }) => {
|
|
14
14
|
return (<div className={`sm-top:label_large2_tb flex h-[30px] flex-row items-center justify-center rounded-[20px] px-[12px] sm-top:h-[39px] sm-top:px-[16px] lg:h-[41px] lg:px-[20px] ${buttonStyle[title]} w-fit`}>
|
|
15
|
-
<p className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 `}>{title}</p>
|
|
15
|
+
<p className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 !leading-none`}>{title}</p>
|
|
16
16
|
</div>);
|
|
17
17
|
};
|
|
18
18
|
export default Badge;
|
|
@@ -17,7 +17,7 @@ const Badge = ({ title }: { title: keyof typeof buttonStyle }) => {
|
|
|
17
17
|
<div
|
|
18
18
|
className={`sm-top:label_large2_tb flex h-[30px] flex-row items-center justify-center rounded-[20px] px-[12px] sm-top:h-[39px] sm-top:px-[16px] lg:h-[41px] lg:px-[20px] ${buttonStyle[title]} w-fit`}
|
|
19
19
|
>
|
|
20
|
-
<p className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 `}>{title}</p>
|
|
20
|
+
<p className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 !leading-none`}>{title}</p>
|
|
21
21
|
</div>
|
|
22
22
|
);
|
|
23
23
|
};
|
|
@@ -17,7 +17,7 @@ const CaseWrapper = (_a) => {
|
|
|
17
17
|
innerClassName, isMobilePadding = true } = _a, others = __rest(_a, ["children", "className", "ref", "innerClassName", "isMobilePadding"]);
|
|
18
18
|
const lineRef = useRef(null);
|
|
19
19
|
// const { flagStandardBoolean } = useElementObserve(lineRef, 0.2);
|
|
20
|
-
return (<div className={` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''}
|
|
20
|
+
return (<div className={` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''} mx-auto h-full w-full max-w-[1520px] sm-top:px-[60px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ` +
|
|
21
21
|
className} ref={ref} {...others}>
|
|
22
22
|
{children}
|
|
23
23
|
</div>);
|
|
@@ -27,7 +27,7 @@ const CaseWrapper: React.FC<WrapperProps> = ({
|
|
|
27
27
|
return (
|
|
28
28
|
<div
|
|
29
29
|
className={
|
|
30
|
-
` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''}
|
|
30
|
+
` ${isMobilePadding ? 'px-[20px] 2sm:px-[40px]' : ''} mx-auto h-full w-full max-w-[1520px] sm-top:px-[60px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ` +
|
|
31
31
|
className
|
|
32
32
|
}
|
|
33
33
|
ref={ref}
|
|
@@ -37,7 +37,7 @@ const CaseLine = ({ title, isRefund }) => {
|
|
|
37
37
|
}
|
|
38
38
|
})();
|
|
39
39
|
return (number >= -1 && (<div className="mt-[16px] sm-top:mt-[24px] lg:mt-[32px]">
|
|
40
|
-
<div className="mx-[
|
|
40
|
+
<div className="mx-[19px] flex flex-row items-center sm-top:mx-[22px] lg:mx-[25px] ">
|
|
41
41
|
{number === 1 ? <ProcessCircle isRefund={isRefund}/> : <CheckCircle isRefund={isRefund}/>}
|
|
42
42
|
<Line isRedLine={number > 1} isRefund={isRefund}/>
|
|
43
43
|
|
|
@@ -49,7 +49,7 @@ const CaseLine = ({ title, isRefund }) => {
|
|
|
49
49
|
<p className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${isRefund ? 'text-grayScale4' : number >= 1 ? 'text-subColor01' : 'text-[#B9B9B9]'}`}>
|
|
50
50
|
담당팀구성
|
|
51
51
|
</p>
|
|
52
|
-
<p className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${number >= 2 ? 'text-subColor01' : 'text-[#B9B9B9]'}`}>
|
|
52
|
+
<p className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 mr-[6px] ${number >= 2 ? 'text-subColor01' : 'text-[#B9B9B9]'}`}>
|
|
53
53
|
사건검토
|
|
54
54
|
</p>
|
|
55
55
|
<p className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${number >= 3 ? 'text-subColor01' : 'text-[#B9B9B9]'}`}>
|
|
@@ -76,7 +76,7 @@ const CaseLine = ({ title, isRefund }: { title: string; isRefund: boolean }) =>
|
|
|
76
76
|
return (
|
|
77
77
|
number >= -1 && (
|
|
78
78
|
<div className="mt-[16px] sm-top:mt-[24px] lg:mt-[32px]">
|
|
79
|
-
<div className="mx-[
|
|
79
|
+
<div className="mx-[19px] flex flex-row items-center sm-top:mx-[22px] lg:mx-[25px] ">
|
|
80
80
|
{number === 1 ? <ProcessCircle isRefund={isRefund} /> : <CheckCircle isRefund={isRefund} />}
|
|
81
81
|
<Line isRedLine={number > 1} isRefund={isRefund} />
|
|
82
82
|
|
|
@@ -105,7 +105,7 @@ const CaseLine = ({ title, isRefund }: { title: string; isRefund: boolean }) =>
|
|
|
105
105
|
담당팀구성
|
|
106
106
|
</p>
|
|
107
107
|
<p
|
|
108
|
-
className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${
|
|
108
|
+
className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 mr-[6px] ${
|
|
109
109
|
number >= 2 ? 'text-subColor01' : 'text-[#B9B9B9]'
|
|
110
110
|
}`}
|
|
111
111
|
>
|
package/dist/styles/globals.css
CHANGED
|
@@ -1059,9 +1059,9 @@ video {
|
|
|
1059
1059
|
margin-right: 1rem;
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
|
-
.mx-\[
|
|
1063
|
-
margin-left:
|
|
1064
|
-
margin-right:
|
|
1062
|
+
.mx-\[19px\] {
|
|
1063
|
+
margin-left: 19px;
|
|
1064
|
+
margin-right: 19px;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
1067
|
.mx-\[50px\] {
|
|
@@ -1190,6 +1190,10 @@ video {
|
|
|
1190
1190
|
margin-bottom: 40px;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
+
.mb-\[44px\] {
|
|
1194
|
+
margin-bottom: 44px;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1193
1197
|
.mb-\[4px\] {
|
|
1194
1198
|
margin-bottom: 4px;
|
|
1195
1199
|
}
|
|
@@ -1290,6 +1294,10 @@ video {
|
|
|
1290
1294
|
margin-right: 5px;
|
|
1291
1295
|
}
|
|
1292
1296
|
|
|
1297
|
+
.mr-\[6px\] {
|
|
1298
|
+
margin-right: 6px;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1293
1301
|
.mr-\[9px\] {
|
|
1294
1302
|
margin-right: 9px;
|
|
1295
1303
|
}
|
|
@@ -1354,6 +1362,10 @@ video {
|
|
|
1354
1362
|
margin-top: 11px;
|
|
1355
1363
|
}
|
|
1356
1364
|
|
|
1365
|
+
.mt-\[126px\] {
|
|
1366
|
+
margin-top: 126px;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1357
1369
|
.mt-\[128px\] {
|
|
1358
1370
|
margin-top: 128px;
|
|
1359
1371
|
}
|
|
@@ -4236,6 +4248,10 @@ video {
|
|
|
4236
4248
|
text-transform: uppercase;
|
|
4237
4249
|
}
|
|
4238
4250
|
|
|
4251
|
+
.\!leading-none {
|
|
4252
|
+
line-height: 1 !important;
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4239
4255
|
.leading-\[0\.8\] {
|
|
4240
4256
|
line-height: 0.8;
|
|
4241
4257
|
}
|
|
@@ -9905,6 +9921,10 @@ body {
|
|
|
9905
9921
|
margin-right: 22px;
|
|
9906
9922
|
}
|
|
9907
9923
|
|
|
9924
|
+
.sm-top\:mb-\[68px\] {
|
|
9925
|
+
margin-bottom: 68px;
|
|
9926
|
+
}
|
|
9927
|
+
|
|
9908
9928
|
.sm-top\:ml-0 {
|
|
9909
9929
|
margin-left: 0px;
|
|
9910
9930
|
}
|
|
@@ -10274,23 +10294,10 @@ body {
|
|
|
10274
10294
|
border-width: 3px;
|
|
10275
10295
|
}
|
|
10276
10296
|
|
|
10277
|
-
.sm-top\:border-b-\[2px\] {
|
|
10278
|
-
border-bottom-width: 2px;
|
|
10279
|
-
}
|
|
10280
|
-
|
|
10281
10297
|
.sm-top\:border-l-\[1\.5px\] {
|
|
10282
10298
|
border-left-width: 1.5px;
|
|
10283
10299
|
}
|
|
10284
10300
|
|
|
10285
|
-
.sm-top\:border-solid {
|
|
10286
|
-
border-style: solid;
|
|
10287
|
-
}
|
|
10288
|
-
|
|
10289
|
-
.sm-top\:border-grayScale6 {
|
|
10290
|
-
--tw-border-opacity: 1;
|
|
10291
|
-
border-color: rgb(237 237 237 / var(--tw-border-opacity, 1));
|
|
10292
|
-
}
|
|
10293
|
-
|
|
10294
10301
|
.sm-top\:p-\[32px\] {
|
|
10295
10302
|
padding: 32px;
|
|
10296
10303
|
}
|