@daeryun/dr_components 0.4.91 → 0.4.94

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,6 +26,7 @@ const DetailInfo = ({ detailList, isLoading }) => {
26
26
  <Line title="사건 시작일" content={detailList === null || detailList === void 0 ? void 0 : detailList.accept_date}/>
27
27
  <Line title="사건 종료일" content={detailList === null || detailList === void 0 ? void 0 : detailList.end_date}/>
28
28
  <Line title="담당 변호사" content={detailList === null || detailList === void 0 ? void 0 : detailList.lawyer}/>
29
+ <Line title="나의 비서" content={detailList === null || detailList === void 0 ? void 0 : detailList.assistants}/>
29
30
  <Line title="나의 정보" content={`${(_a = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _a === void 0 ? void 0 : _a.position} / ${(_b = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _b === void 0 ? void 0 : _b.name} / ${(_c = detailList === null || detailList === void 0 ? void 0 : detailList.my_info) === null || _c === void 0 ? void 0 : _c.tel}`}/>
30
31
  <Line title="상대방 정보" content={(detailList === null || detailList === void 0 ? void 0 : detailList.other_info.length) > 0
31
32
  ? detailList === null || detailList === void 0 ? void 0 : detailList.other_info.map((info, index) => `${info.position} / ${info.name} / ${info.tel}`)
@@ -53,6 +53,7 @@ const DetailInfo = ({ detailList, isLoading }: { detailList: DetailList; isLoadi
53
53
  <Line title="사건 시작일" content={detailList?.accept_date} />
54
54
  <Line title="사건 종료일" content={detailList?.end_date} />
55
55
  <Line title="담당 변호사" content={detailList?.lawyer} />
56
+ <Line title="나의 비서" content={detailList?.assistants} />
56
57
  <Line
57
58
  title="나의 정보"
58
59
  content={`${detailList?.my_info?.position} / ${detailList?.my_info?.name} / ${detailList?.my_info?.tel}`}
@@ -50,7 +50,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
50
50
  </div>
51
51
  <div className="hidden max-[500px]:block 2sm:pl-[40px]">
52
52
  <CaseTabSwiper id="case-tab-swiper3" scrollClassName="max-[500px]:!block">
53
- <SubMenuButton title="사건 정보" isSelected={selected === '사건 정보'} onClick={() => setSelected('사건 정보')} outerClassName="ml-[20px] swiper-slide"/>
53
+ <SubMenuButton title="사건 기본정보" isSelected={selected === '사건 정보'} onClick={() => setSelected('사건 정보')} outerClassName="ml-[20px] swiper-slide"/>
54
54
  <SubMenuButton title="사건 타임라인" isSelected={selected === '사건 타임라인'} onClick={() => setSelected('사건 타임라인')} outerClassName=" swiper-slide"/>
55
55
  <SubMenuButton title="문서함" isSelected={selected === '문서함'} onClick={() => setSelected('문서함')} outerClassName=" swiper-slide"/>
56
56
  <SubMenuButton title="계약정보" isSelected={selected === '계약정보'} onClick={() => setSelected('계약정보')} outerClassName=" swiper-slide"/>
@@ -97,7 +97,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
97
97
  <div className="hidden max-[500px]:block 2sm:pl-[40px]">
98
98
  <CaseTabSwiper id="case-tab-swiper3" scrollClassName="max-[500px]:!block">
99
99
  <SubMenuButton
100
- title="사건 정보"
100
+ title="사건 기본정보"
101
101
  isSelected={selected === '사건 정보'}
102
102
  onClick={() => setSelected('사건 정보')}
103
103
  outerClassName="ml-[20px] swiper-slide"
@@ -19,7 +19,7 @@ const ContractModal = ({ isOpen, onClose, data }) => {
19
19
  onClose();
20
20
  }} className="h-[16px] w-[16px] cursor-pointer sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"/>
21
21
  </div>
22
- <div className="mt-[12px] h-full w-full overflow-hidden overflow-y-auto rounded-[8px] border border-solid border-grayScale1 sm-top:mt-[20px] lg:h-[836px]">
22
+ <div className="mt-[12px] h-[453px] w-full overflow-y-auto rounded-[8px] border border-solid border-grayScale1 sm-top:mt-[20px] sm-top:h-[605px] lg:h-[calc(100%-62px)]">
23
23
  {data === null || data === void 0 ? void 0 : data.map((item, index) => (<div key={index}>
24
24
  <Image src={item.path} alt={item.name} width={3000} height={3000} unoptimized className="h-auto w-full"/>
25
25
  </div>))}
@@ -38,7 +38,7 @@ const ContractModal = ({ isOpen, onClose, data }: { isOpen: boolean; onClose: ()
38
38
  className="h-[16px] w-[16px] cursor-pointer sm-top:h-[20px] sm-top:w-[20px] lg:h-[24px] lg:w-[24px]"
39
39
  />
40
40
  </div>
41
- <div className="mt-[12px] h-full w-full overflow-hidden overflow-y-auto rounded-[8px] border border-solid border-grayScale1 sm-top:mt-[20px] lg:h-[836px]">
41
+ <div className="mt-[12px] h-[453px] w-full overflow-y-auto rounded-[8px] border border-solid border-grayScale1 sm-top:mt-[20px] sm-top:h-[605px] lg:h-[calc(100%-62px)]">
42
42
  {data?.map((item, index) => (
43
43
  <div key={index}>
44
44
  <Image
@@ -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-[19px] flex flex-row items-center sm-top:mx-[22px] lg:mx-[25px] ">
40
+ <div className=" flex flex-row items-center ">
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 mr-[6px] ${number >= 2 ? 'text-subColor01' : 'text-[#B9B9B9]'}`}>
52
+ <p className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${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-[19px] flex flex-row items-center sm-top:mx-[22px] lg:mx-[25px] ">
79
+ <div className=" flex flex-row items-center ">
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 mr-[6px] ${
108
+ className={`body_small2_mo sm-top:body_medium2_tb lg:body_medium2 ${
109
109
  number >= 2 ? 'text-subColor01' : 'text-[#B9B9B9]'
110
110
  }`}
111
111
  >
@@ -18,6 +18,7 @@ export interface DetailList {
18
18
  accept_date: string;
19
19
  end_date: string;
20
20
  lawyer: string;
21
+ assistants: string[];
21
22
  my_info: {
22
23
  position: string;
23
24
  name: string;
@@ -20,6 +20,7 @@ export interface DetailList {
20
20
  accept_date: string;
21
21
  end_date: string;
22
22
  lawyer: string;
23
+ assistants: string[];
23
24
  my_info: {
24
25
  position: string;
25
26
  name: string;
@@ -1059,11 +1059,6 @@ video {
1059
1059
  margin-right: 1rem;
1060
1060
  }
1061
1061
 
1062
- .mx-\[19px\] {
1063
- margin-left: 19px;
1064
- margin-right: 19px;
1065
- }
1066
-
1067
1062
  .mx-\[50px\] {
1068
1063
  margin-left: 50px;
1069
1064
  margin-right: 50px;
@@ -1294,10 +1289,6 @@ video {
1294
1289
  margin-right: 5px;
1295
1290
  }
1296
1291
 
1297
- .mr-\[6px\] {
1298
- margin-right: 6px;
1299
- }
1300
-
1301
1292
  .mr-\[9px\] {
1302
1293
  margin-right: 9px;
1303
1294
  }
@@ -1819,6 +1810,10 @@ video {
1819
1810
  height: 43px;
1820
1811
  }
1821
1812
 
1813
+ .h-\[453px\] {
1814
+ height: 453px;
1815
+ }
1816
+
1822
1817
  .h-\[460px\] {
1823
1818
  height: 460px;
1824
1819
  }
@@ -9916,11 +9911,6 @@ body {
9916
9911
  top: 32px;
9917
9912
  }
9918
9913
 
9919
- .sm-top\:mx-\[22px\] {
9920
- margin-left: 22px;
9921
- margin-right: 22px;
9922
- }
9923
-
9924
9914
  .sm-top\:mb-\[68px\] {
9925
9915
  margin-bottom: 68px;
9926
9916
  }
@@ -10101,6 +10091,10 @@ body {
10101
10091
  height: 52px;
10102
10092
  }
10103
10093
 
10094
+ .sm-top\:h-\[605px\] {
10095
+ height: 605px;
10096
+ }
10097
+
10104
10098
  .sm-top\:h-\[60px\] {
10105
10099
  height: 60px;
10106
10100
  }
@@ -10541,11 +10535,6 @@ body {
10541
10535
  float: left;
10542
10536
  }
10543
10537
 
10544
- .lg\:mx-\[25px\] {
10545
- margin-left: 25px;
10546
- margin-right: 25px;
10547
- }
10548
-
10549
10538
  .lg\:mx-\[60px\] {
10550
10539
  margin-left: 60px;
10551
10540
  margin-right: 60px;
@@ -10780,14 +10769,14 @@ body {
10780
10769
  height: 72px;
10781
10770
  }
10782
10771
 
10783
- .lg\:h-\[836px\] {
10784
- height: 836px;
10785
- }
10786
-
10787
10772
  .lg\:h-\[88px\] {
10788
10773
  height: 88px;
10789
10774
  }
10790
10775
 
10776
+ .lg\:h-\[calc\(100\%-62px\)\] {
10777
+ height: calc(100% - 62px);
10778
+ }
10779
+
10791
10780
  .lg\:h-full {
10792
10781
  height: 100%;
10793
10782
  }