@daeryun/dr_components 1.1.58 → 1.1.60

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.
@@ -72,7 +72,7 @@ const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSe
72
72
  <Image src={`https://d1tgonli21s4df.cloudfront.net/lawyer/bg_pc${fixBg ? '3' : isEven ? '' : '2'}.webp`} alt={'변호사 리스트 배경'} fill quality={100} className={'object-cover max-sm:hidden'}/>
73
73
  <Image src={`https://d1tgonli21s4df.cloudfront.net/lawyer/bg_mo${fixBg ? '3' : isEven ? '' : '2'}.webp`} alt={'변호사 리스트 배경'} fill quality={100} className={'object-cover sm:hidden'}/>
74
74
  {/*변호사 이미지*/}
75
- <div className={'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:h-[510px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'}>
75
+ <div className={'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:left-[0px] max-xl:h-[510px] max-lg:-left-[20px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'}>
76
76
  <Image src={`${lawyerImagePath}/${lawyerInfo.nukki}`} alt={lawyerInfo.l_name + ' 변호사'} title={lawyerInfo.l_name + ' 변호사'} unoptimized={true} priority={true} sizes="(max-width: 700px)" fill className={'translate-y-7 scale-110 object-contain max-xl:translate-y-5 max-md:object-center max-xs:translate-y-3'}/>
77
77
  </div>
78
78
  {/*h1 sr_only*/}
@@ -81,9 +81,9 @@ const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSe
81
81
  {codeList.filter((item) => item.code === lawyerInfo.lawyer_code)[0].code_name}
82
82
  </h1>
83
83
  {/*이름 pc*/}
84
- <div className={'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-20 max-md2:bottom-[60px] max-md2:right-[60px] max-md:hidden'}>
85
- <span className={'mb-1 block text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[60px] max-md2:mb-0 max-md2:text-[54px] max-xs:text-[40px] '}>
86
- {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
84
+ <div className={'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-16 max-md2:bottom-[60px] max-md2:right-[40px] max-md:hidden'}>
85
+ <span className={'mb-1 block whitespace-pre-line text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[56px] max-md2:mb-0 max-md2:text-[48px] max-xs:text-[40px] '}>
86
+ {searchColorLawyerText(lawyerInfo.l_name.replace(/\(/g, '\n('), integrateSearch)}
87
87
  </span>
88
88
  {lawyerInfo.l_position ? (<span className={'text-[28px] font-[500] leading-[1.42] tracking-[-0.7px] ' +
89
89
  'max-xl:text-[26px] ' +
@@ -118,7 +118,7 @@ const BasicInfo = ({
118
118
  {/*변호사 이미지*/}
119
119
  <div
120
120
  className={
121
- 'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:h-[510px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'
121
+ 'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:left-[0px] max-xl:h-[510px] max-lg:-left-[20px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'
122
122
  }
123
123
  >
124
124
  <Image
@@ -142,15 +142,15 @@ const BasicInfo = ({
142
142
  {/*이름 pc*/}
143
143
  <div
144
144
  className={
145
- 'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-20 max-md2:bottom-[60px] max-md2:right-[60px] max-md:hidden'
145
+ 'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-16 max-md2:bottom-[60px] max-md2:right-[40px] max-md:hidden'
146
146
  }
147
147
  >
148
148
  <span
149
149
  className={
150
- 'mb-1 block text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[60px] max-md2:mb-0 max-md2:text-[54px] max-xs:text-[40px] '
150
+ 'mb-1 block whitespace-pre-line text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[56px] max-md2:mb-0 max-md2:text-[48px] max-xs:text-[40px] '
151
151
  }
152
152
  >
153
- {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
153
+ {searchColorLawyerText(lawyerInfo.l_name.replace(/\(/g, '\n('), integrateSearch)}
154
154
  </span>
155
155
  {lawyerInfo.l_position ? (
156
156
  <span
@@ -19,8 +19,8 @@ import word from '../../../../../../asset/images/myCase/icon/word.webp';
19
19
  import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
20
20
  import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
21
21
  import download from '../../../../../../asset/images/myCase/icon/download.webp';
22
- import search from '../../../../../../../asset/images/myCase/icon/search.webp';
23
- import arrow_2 from '../../../../../../../asset/images/myCase/icon/arrow.webp';
22
+ import search from '../../../../../../asset/images/myCase/icon/search.webp';
23
+ import arrow_2 from '../../../../../../asset/images/myCase/icon/arrow.webp';
24
24
  import DocumentBadge from '../_badge/DocumentBadge';
25
25
  import FilePreViewer from '../../../_component/_fileView/FilePreViewer';
26
26
  import CaseExamineModal from '../_modal/CaseExamineModal';
@@ -11,8 +11,8 @@ import word from '../../../../../../asset/images/myCase/icon/word.webp';
11
11
  import xls from '../../../../../../asset/images/myCase/icon/xls.webp';
12
12
  import unkown from '../../../../../../asset/images/myCase/icon/defaultIcon.webp';
13
13
  import download from '../../../../../../asset/images/myCase/icon/download.webp';
14
- import search from '../../../../../../../asset/images/myCase/icon/search.webp';
15
- import arrow_2 from '../../../../../../../asset/images/myCase/icon/arrow.webp';
14
+ import search from '../../../../../../asset/images/myCase/icon/search.webp';
15
+ import arrow_2 from '../../../../../../asset/images/myCase/icon/arrow.webp';
16
16
  import DocumentBadge from '../_badge/DocumentBadge';
17
17
  import FilePreViewer from '../../../_component/_fileView/FilePreViewer';
18
18
  import CaseExamineModal from '../_modal/CaseExamineModal';
@@ -50,7 +50,7 @@ const DoumnetBox = ({ item }) => {
50
50
  </>);
51
51
  };
52
52
  const CaseExamineDocumentModal = ({ isOpen, item, onClose, caseIdx }) => {
53
- var _a, _b, _c;
53
+ var _a;
54
54
  const comment = useMemo(() => {
55
55
  // review_status 값에 따라 title을 결정
56
56
  switch (item === null || item === void 0 ? void 0 : item.review_status) {
@@ -86,8 +86,6 @@ const CaseExamineDocumentModal = ({ isOpen, item, onClose, caseIdx }) => {
86
86
  </div>
87
87
  <div className="flex max-h-[336px] w-full flex-col overflow-y-auto overscroll-contain sm-top:max-h-[330px] lg:max-h-[410px] ">
88
88
  {(_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.map((item, key) => <DoumnetBox key={key} item={item}/>)}
89
- {(_b = data === null || data === void 0 ? void 0 : data.data) === null || _b === void 0 ? void 0 : _b.map((item, key) => <DoumnetBox key={key} item={item}/>)}
90
- {(_c = data === null || data === void 0 ? void 0 : data.data) === null || _c === void 0 ? void 0 : _c.map((item, key) => <DoumnetBox key={key} item={item}/>)}
91
89
  </div>
92
90
  </div>
93
91
  </ModalContainer>);
@@ -130,8 +130,6 @@ const CaseExamineDocumentModal = ({
130
130
  </div>
131
131
  <div className="flex max-h-[336px] w-full flex-col overflow-y-auto overscroll-contain sm-top:max-h-[330px] lg:max-h-[410px] ">
132
132
  {data?.data?.map((item: any, key: number) => <DoumnetBox key={key} item={item} />)}
133
- {data?.data?.map((item: any, key: number) => <DoumnetBox key={key} item={item} />)}
134
- {data?.data?.map((item: any, key: number) => <DoumnetBox key={key} item={item} />)}
135
133
  </div>
136
134
  </div>
137
135
  </ModalContainer>
@@ -11776,6 +11776,10 @@ body {
11776
11776
  left: -1px;
11777
11777
  }
11778
11778
 
11779
+ .max-xl\:left-\[0px\] {
11780
+ left: 0px;
11781
+ }
11782
+
11779
11783
  .max-xl\:right-10 {
11780
11784
  right: 2.5rem;
11781
11785
  }
@@ -13279,6 +13283,10 @@ body {
13279
13283
  position: relative;
13280
13284
  }
13281
13285
 
13286
+ .max-lg\:-left-\[20px\] {
13287
+ left: -20px;
13288
+ }
13289
+
13282
13290
  .max-lg\:bottom-0 {
13283
13291
  bottom: 0px;
13284
13292
  }
@@ -13327,8 +13335,8 @@ body {
13327
13335
  right: 2.5rem;
13328
13336
  }
13329
13337
 
13330
- .max-lg\:right-20 {
13331
- right: 5rem;
13338
+ .max-lg\:right-16 {
13339
+ right: 4rem;
13332
13340
  }
13333
13341
 
13334
13342
  .max-lg\:right-\[10px\] {
@@ -14522,8 +14530,8 @@ body {
14522
14530
  font-size: 48px;
14523
14531
  }
14524
14532
 
14525
- .max-lg\:text-\[60px\] {
14526
- font-size: 60px;
14533
+ .max-lg\:text-\[56px\] {
14534
+ font-size: 56px;
14527
14535
  }
14528
14536
 
14529
14537
  .max-lg\:text-\[70px\] {
@@ -14641,8 +14649,8 @@ body {
14641
14649
  right: 28px;
14642
14650
  }
14643
14651
 
14644
- .max-md2\:right-\[60px\] {
14645
- right: 60px;
14652
+ .max-md2\:right-\[40px\] {
14653
+ right: 40px;
14646
14654
  }
14647
14655
 
14648
14656
  .max-md2\:top-\[-28px\] {
@@ -14962,8 +14970,8 @@ body {
14962
14970
  font-size: 44px;
14963
14971
  }
14964
14972
 
14965
- .max-md2\:text-\[54px\] {
14966
- font-size: 54px;
14973
+ .max-md2\:text-\[48px\] {
14974
+ font-size: 48px;
14967
14975
  }
14968
14976
 
14969
14977
  .max-md2\:leading-6 {