@daeryun/dr_components 0.6.25 → 0.6.26

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.
@@ -26,7 +26,7 @@ const ContactInfo = ({ id }) => {
26
26
  const { data: list, isLoading, isFetched } = useActionGetContact(id);
27
27
  return (<CaseLayout isMobilePadding={false} outerClassName="mt-[35px] sm-top:mt-[24px] lg:mt-[40px] " innerClassName={'pt-[32px] px-[20px] pb-[40px] 2sm:px-[40px] sm-top:mt-[24px] sm-top:px-[50px] sm-top:pb-[60px] sm-top:pt-[56px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
28
28
  {isLoading ? (<Loading />) : (<>
29
- {!list && isFetched ? (<div className="mt-[40px] flex flex-col items-center justify-center sm-top:mt-[110px] lg:mt-[126px]">
29
+ {!list && isFetched ? (<div className="mt-[60px] flex flex-col items-center justify-center sm-top:mb-[150px] sm-top:mt-[110px] lg:mt-[126px]">
30
30
  <Image src={contractIcon} alt="contact_empty" width={100} height={100} className="h-[43.63px] w-[36px] sm-top:h-[50.9px] sm-top:w-[42px] lg:h-[63.01px] lg:w-[52px]"/>
31
31
  <div className="mt-[12.38px] sm-top:mt-[24.1px] lg:mt-[40px]">
32
32
  <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1 text-center">
@@ -1,6 +1,6 @@
1
1
  import dayjs from 'dayjs';
2
2
  import CaseLayout from '../../_component/_layout/CaseLayout';
3
- import { PaymentList, Payment } from '../../_type/type';
3
+
4
4
  import { useState } from 'react';
5
5
  import ContractModal from './_modal/ContractModal';
6
6
  import { useActionGetContact } from '../../_actions/action';
@@ -47,7 +47,7 @@ const ContactInfo = ({ id }: { id: string }) => {
47
47
  ) : (
48
48
  <>
49
49
  {!list && isFetched ? (
50
- <div className="mt-[40px] flex flex-col items-center justify-center sm-top:mt-[110px] lg:mt-[126px]">
50
+ <div className="mt-[60px] flex flex-col items-center justify-center sm-top:mb-[150px] sm-top:mt-[110px] lg:mt-[126px]">
51
51
  <Image
52
52
  src={contractIcon}
53
53
  alt="contact_empty"
@@ -41,7 +41,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
41
41
  return <></>;
42
42
  }
43
43
  return (<Suspense>
44
- <div className=" relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
44
+ <div className=" relative mt-[126px] min-h-[700px] md:mt-[78px] md2:mt-[88px]">
45
45
  <IntroWrapper title={'상세 사건 정보'} subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'} backgroundImage={background} backgroundTbImage={backgroundTb} backgroundMoImage={backgroundMo} outerClassName="h-[300px] sm-top:h-[448px] lg:h-[513px]"/>
46
46
 
47
47
  <div className={'relative z-[1] '}>
@@ -69,7 +69,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
69
69
  }
70
70
  return (
71
71
  <Suspense>
72
- <div className=" relative mt-[126px] min-h-[800px] md:mt-[78px] md2:mt-[88px]">
72
+ <div className=" relative mt-[126px] min-h-[700px] md:mt-[78px] md2:mt-[88px]">
73
73
  <IntroWrapper
74
74
  title={'상세 사건 정보'}
75
75
  subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'}
@@ -82,9 +82,9 @@ const CaseInquiry = ({ myCaseQuestion, isLoading, id, refetch, pageSize, totalLe
82
82
  </button>
83
83
  </div>
84
84
  <CaseInquiryAddModal isOpen={isOpen} onClose={() => setIsOpen(false)} id={id} refetch={refetch}/>
85
- <Suspense>
86
- <PaginationComponent pageSize={pageSize} total={totalLength} onChange={onChange} current={pageNumber}/>
87
- </Suspense>
85
+ {(myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.length) > 0 && (<Suspense>
86
+ <PaginationComponent pageSize={pageSize} total={totalLength} onChange={onChange} current={pageNumber}/>
87
+ </Suspense>)}
88
88
  </>)}
89
89
  </CaseLayout>);
90
90
  };
@@ -195,14 +195,16 @@ const CaseInquiry = ({
195
195
  </button>
196
196
  </div>
197
197
  <CaseInquiryAddModal isOpen={isOpen} onClose={() => setIsOpen(false)} id={id} refetch={refetch} />
198
- <Suspense>
199
- <PaginationComponent
200
- pageSize={pageSize}
201
- total={totalLength}
202
- onChange={onChange}
203
- current={pageNumber}
204
- />
205
- </Suspense>
198
+ {myCaseQuestion?.length > 0 && (
199
+ <Suspense>
200
+ <PaginationComponent
201
+ pageSize={pageSize}
202
+ total={totalLength}
203
+ onChange={onChange}
204
+ current={pageNumber}
205
+ />
206
+ </Suspense>
207
+ )}
206
208
  </>
207
209
  )}
208
210
  </CaseLayout>
@@ -73,7 +73,7 @@ const EmptyTable = ({ tap, subTap, isMinHeight = true }) => {
73
73
  height: '',
74
74
  marginTop: ''
75
75
  };
76
- return (<div className={`flex gap-[14px] sm-top:gap-[20px] ${isMinHeight ? 'min-h-[350px]' : ''} w-full flex-col items-center lg:gap-[40px] ${marginTop}`}>
76
+ return (<div className={`flex gap-[14px] sm-top:gap-[20px] ${isMinHeight ? 'min-h-[100px]' : ''} w-full flex-col items-center lg:gap-[40px] ${marginTop}`}>
77
77
  <Image src={img} alt="case_icon" width={60} height={60} className={`${width} ${height}`}/>
78
78
  <div className="flex flex-col items-center justify-center ">
79
79
  <p className="body_medium1_mo sm-top:body_medium1_tb lg:body_medium1">{title}</p>
@@ -79,7 +79,7 @@ const EmptyTable = ({ tap, subTap, isMinHeight = true }: { tap: string; subTap:
79
79
  return (
80
80
  <div
81
81
  className={`flex gap-[14px] sm-top:gap-[20px] ${
82
- isMinHeight ? 'min-h-[350px]' : ''
82
+ isMinHeight ? 'min-h-[100px]' : ''
83
83
  } w-full flex-col items-center lg:gap-[40px] ${marginTop}`}
84
84
  >
85
85
  <Image src={img} alt="case_icon" width={60} height={60} className={`${width} ${height}`} />
@@ -2195,6 +2195,10 @@ video {
2195
2195
  min-height: 1000px;
2196
2196
  }
2197
2197
 
2198
+ .min-h-\[100px\] {
2199
+ min-height: 100px;
2200
+ }
2201
+
2198
2202
  .min-h-\[125px\] {
2199
2203
  min-height: 125px;
2200
2204
  }
@@ -2203,14 +2207,14 @@ video {
2203
2207
  min-height: 285px;
2204
2208
  }
2205
2209
 
2206
- .min-h-\[350px\] {
2207
- min-height: 350px;
2208
- }
2209
-
2210
2210
  .min-h-\[432px\] {
2211
2211
  min-height: 432px;
2212
2212
  }
2213
2213
 
2214
+ .min-h-\[700px\] {
2215
+ min-height: 700px;
2216
+ }
2217
+
2214
2218
  .min-h-\[800px\] {
2215
2219
  min-height: 800px;
2216
2220
  }
@@ -12620,6 +12624,10 @@ body {
12620
12624
  top: 32px;
12621
12625
  }
12622
12626
 
12627
+ .sm-top\:mb-\[150px\] {
12628
+ margin-bottom: 150px;
12629
+ }
12630
+
12623
12631
  .sm-top\:mb-\[68px\] {
12624
12632
  margin-bottom: 68px;
12625
12633
  }