@daeryun/dr_components 1.1.59 → 1.1.61

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
@@ -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) {
@@ -71,7 +71,7 @@ const CaseExamineDocumentModal = ({ isOpen, item, onClose, caseIdx }) => {
71
71
  return (<ModalContainer isOpen={isOpen} onClose={() => {
72
72
  onClose();
73
73
  }}>
74
- <div className="absolute flex max-h-[489px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:w-[calc(100%-104px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:px-[52px] sm-top:py-[52px] lg:w-[calc(100%-24px)] lg:max-w-[1000px] lg:p-[52px] " onClick={e => e.stopPropagation()}>
74
+ <div className="absolute flex max-h-[489px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:h-[549px] sm-top:max-h-[579px] sm-top:w-[calc(100%-104px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:px-[52px] sm-top:py-[52px] lg:h-[649px] lg:max-h-[649px] lg:w-[calc(100%-24px)] lg:max-w-[1000px] lg:p-[52px] " onClick={e => e.stopPropagation()}>
75
75
  <div className="flex w-full flex-row items-baseline justify-between gap-[19px] border-b-[1px] border-solid border-grayScale5 pb-[28px] sm-top:pb-[32px] lg:pb-[40px] ">
76
76
  <div className="flex w-full flex-col gap-[12px] sm-top:gap-[16px] lg:gap-[20px]">
77
77
  <DocumentBadge review_status={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>);
@@ -106,7 +106,7 @@ const CaseExamineDocumentModal = ({
106
106
  }}
107
107
  >
108
108
  <div
109
- className="absolute flex max-h-[489px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:w-[calc(100%-104px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:px-[52px] sm-top:py-[52px] lg:w-[calc(100%-24px)] lg:max-w-[1000px] lg:p-[52px] "
109
+ className="absolute flex max-h-[489px] w-[calc(100%-40px)] flex-col items-center justify-center overflow-y-auto rounded-[16px] border border-solid border-grayScale4 bg-grayScale8 p-[32px] sm-top:h-[549px] sm-top:max-h-[579px] sm-top:w-[calc(100%-104px)] sm-top:max-w-[780px] sm-top:rounded-[32px] sm-top:px-[52px] sm-top:py-[52px] lg:h-[649px] lg:max-h-[649px] lg:w-[calc(100%-24px)] lg:max-w-[1000px] lg:p-[52px] "
110
110
  onClick={e => e.stopPropagation()}
111
111
  >
112
112
  <div className="flex w-full flex-row items-baseline justify-between gap-[19px] border-b-[1px] border-solid border-grayScale5 pb-[28px] sm-top:pb-[32px] lg:pb-[40px] ">
@@ -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 {
@@ -20198,6 +20206,10 @@ body {
20198
20206
  height: 52px;
20199
20207
  }
20200
20208
 
20209
+ .sm-top\:h-\[549px\] {
20210
+ height: 549px;
20211
+ }
20212
+
20201
20213
  .sm-top\:h-\[60px\] {
20202
20214
  height: 60px;
20203
20215
  }
@@ -20218,6 +20230,10 @@ body {
20218
20230
  max-height: 372px;
20219
20231
  }
20220
20232
 
20233
+ .sm-top\:max-h-\[579px\] {
20234
+ max-height: 579px;
20235
+ }
20236
+
20221
20237
  .sm-top\:max-h-\[741px\] {
20222
20238
  max-height: 741px;
20223
20239
  }
@@ -21254,6 +21270,10 @@ body {
21254
21270
  height: 63.01px;
21255
21271
  }
21256
21272
 
21273
+ .lg\:h-\[649px\] {
21274
+ height: 649px;
21275
+ }
21276
+
21257
21277
  .lg\:h-\[66\.67px\] {
21258
21278
  height: 66.67px;
21259
21279
  }
@@ -21302,6 +21322,10 @@ body {
21302
21322
  max-height: 465px;
21303
21323
  }
21304
21324
 
21325
+ .lg\:max-h-\[649px\] {
21326
+ max-height: 649px;
21327
+ }
21328
+
21305
21329
  .lg\:max-h-\[800px\] {
21306
21330
  max-height: 800px;
21307
21331
  }