@daeryun/dr_components 1.2.12 → 1.2.14
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/ChatButton.jsx +2 -2
- package/dist/components/Daeryuntalk/ChatButton.tsx +2 -2
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +23 -35
- package/dist/components/Daeryuntalk/ChatConversation.tsx +43 -51
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.jsx +12 -9
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +18 -8
- package/dist/components/Daeryuntalk/ChatHomeView.d.ts +5 -1
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +5 -6
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +28 -13
- package/dist/components/Daeryuntalk/ChatInput.jsx +12 -7
- package/dist/components/Daeryuntalk/ChatInput.tsx +14 -7
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +11 -6
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +19 -5
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.jsx +7 -2
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.tsx +7 -3
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatMessage.jsx +9 -5
- package/dist/components/Daeryuntalk/ChatMessage.tsx +11 -4
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.jsx +8 -3
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +12 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +7 -4
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +13 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatWidget.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatWidget.jsx +50 -5
- package/dist/components/Daeryuntalk/ChatWidget.tsx +71 -5
- package/dist/components/Daeryuntalk/DateSeparator.jsx +1 -0
- package/dist/components/Daeryuntalk/DateSeparator.tsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/HistoryView.jsx +18 -12
- package/dist/components/Daeryuntalk/HistoryView.tsx +29 -11
- package/dist/components/Daeryuntalk/HomeView.jsx +17 -12
- package/dist/components/Daeryuntalk/HomeView.tsx +29 -12
- package/dist/components/Daeryuntalk/NavigationFooter.jsx +8 -5
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.jsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +10 -4
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.jsx +1 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.jsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.tsx +1 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.jsx +10 -7
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +19 -6
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.jsx +22 -14
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +59 -13
- package/dist/components/Daeryuntalk/ViewportHandler.jsx +2 -0
- package/dist/components/Daeryuntalk/ViewportHandler.tsx +1 -0
- package/dist/components/Daeryuntalk/_lib/utils.d.ts +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.js +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.ts +1 -1
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.jsx +3 -2
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.tsx +5 -2
- package/dist/components/Daeryuntalk/index.jsx +61 -34
- package/dist/components/Daeryuntalk/index.tsx +71 -40
- package/dist/components/page/Integrate/ViewMore.jsx +2 -2
- package/dist/components/page/Integrate/ViewMore.tsx +2 -2
- package/dist/styles/daeryuntalk.css +4 -4
- package/dist/styles/globals.css +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ import { formatDateToKorean } from '../_lib/utils';
|
|
|
5
5
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
6
6
|
import 'swiper/css';
|
|
7
7
|
import 'swiper/css/navigation';
|
|
8
|
-
// 이미지
|
|
9
|
-
import RotateCCWIcon from '../../../asset/images/daeryuntalk/viewer/rotate.svg';
|
|
10
|
-
import ZoomOutIcon from '../../../asset/images/daeryuntalk/viewer/zoom-out.svg';
|
|
11
|
-
import ZoomInIcon from '../../../asset/images/daeryuntalk/viewer/zoom-in.svg';
|
|
12
|
-
import DownloadIcon from '../../../asset/images/daeryuntalk/download.svg';
|
|
13
|
-
import CloseIcon from '../../../asset/images/daeryuntalk/viewer/close.svg';
|
|
14
|
-
import MoveSwipingIcon from '../../../asset/images/daeryuntalk/viewer/move-button.svg';
|
|
15
|
-
import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
16
8
|
const TbPcViewer = ({ imageViewerMessage, handleDownload, currentIndex, setCurrentIndex, rotation, currentZoom, currentImage, closeImageViewer, previewImages, setRotation, setZoomLevel, rotateImage, zoomIn, zoomOut, zoomLevel }) => {
|
|
9
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
10
|
+
const RotateCCWIcon = `${s3Url}/daeryuntalk/viewer/rotate.svg`;
|
|
11
|
+
const ZoomOutIcon = `${s3Url}/daeryuntalk/viewer/zoom-out.svg`;
|
|
12
|
+
const ZoomInIcon = `${s3Url}/daeryuntalk/viewer/zoom-in.svg`;
|
|
13
|
+
const DownloadIcon = `${s3Url}/daeryuntalk/download.svg`;
|
|
14
|
+
const CloseIcon = `${s3Url}/daeryuntalk/viewer/close.svg`;
|
|
15
|
+
const MoveSwipingIcon = `${s3Url}/daeryuntalk/viewer/move-button.svg`;
|
|
16
|
+
const DaeryunLogoIcon = `${s3Url}/daeryuntalk/daeryun-logo.svg`;
|
|
17
17
|
return (<div className={`hidden md2:block`}>
|
|
18
18
|
<div className={`flex h-[100dvh] flex-col items-center justify-center gap-[60px] px-[88px]`}>
|
|
19
19
|
{/* Main Image + Toolbar */}
|
|
@@ -21,6 +21,8 @@ const TbPcViewer = ({ imageViewerMessage, handleDownload, currentIndex, setCurre
|
|
|
21
21
|
{/* 고정된 위치의 좌측 네비게이션 버튼 */}
|
|
22
22
|
<button onClick={() => setCurrentIndex(prev => prev - 1)} disabled={currentIndex < 1} className={`${currentIndex < 1 ? ' disabled:pointer-events-none disabled:opacity-30 ' : ' hover:scale-110 '} absolute top-1/2 z-20 -translate-y-1/2 rotate-180 text-white transition-transform md2:-left-[48px] lg:-left-[68px]`}>
|
|
23
23
|
<MoveSwipingIcon />
|
|
24
|
+
{/* <MoveSwipingIcon /> */}
|
|
25
|
+
<Image src={MoveSwipingIcon} alt="이동" width={48} height={48} className="h-full w-full text-white"/>
|
|
24
26
|
</button>
|
|
25
27
|
|
|
26
28
|
{/* 고정된 위치의 우측 네비게이션 버튼 */}
|
|
@@ -28,12 +30,14 @@ const TbPcViewer = ({ imageViewerMessage, handleDownload, currentIndex, setCurre
|
|
|
28
30
|
${currentIndex >= previewImages.length - 1 ? ' disabled:opacity-30 ' : ' hover:scale-110 '}
|
|
29
31
|
absolute top-1/2 z-20 -translate-y-1/2 text-white transition-transform md2:-right-[48px] lg:-right-[68px]
|
|
30
32
|
`}>
|
|
31
|
-
<MoveSwipingIcon />
|
|
33
|
+
<Image src={MoveSwipingIcon} alt="이동" width={48} height={48} className="h-full w-full text-white"/>
|
|
34
|
+
{/* <MoveSwipingIcon /> */}
|
|
32
35
|
</button>
|
|
33
36
|
|
|
34
37
|
{/* 고정된 위치의 닫기 버튼 */}
|
|
35
38
|
<button onClick={closeImageViewer} className="absolute right-[20px] top-[20px] z-20 transition-transform hover:scale-110">
|
|
36
|
-
<CloseIcon className="h-6 w-6 text-white"/>
|
|
39
|
+
<Image src={CloseIcon} alt="닫기" width={24} height={24} className="h-6 w-6 text-white"/>
|
|
40
|
+
{/* <CloseIcon className="h-6 w-6 text-white" /> */}
|
|
37
41
|
</button>
|
|
38
42
|
|
|
39
43
|
{/* 이미지 컨테이너 */}
|
|
@@ -57,7 +61,8 @@ const TbPcViewer = ({ imageViewerMessage, handleDownload, currentIndex, setCurre
|
|
|
57
61
|
<div className={`flex items-center gap-[10px]`}>
|
|
58
62
|
<div className="flex-shrink-0 rounded-full">
|
|
59
63
|
<div className="relative h-full w-full">
|
|
60
|
-
<DaeryunLogoIcon width={28} height={28}/>
|
|
64
|
+
<Image src={DaeryunLogoIcon} alt="대륜 로고" width={28} height={28}/>
|
|
65
|
+
{/* <DaeryunLogoIcon width={28} height={28} /> */}
|
|
61
66
|
</div>
|
|
62
67
|
</div>
|
|
63
68
|
<div className={`dr_talk_subtitle_medium text-drTalkWhite`}>
|
|
@@ -77,15 +82,18 @@ const TbPcViewer = ({ imageViewerMessage, handleDownload, currentIndex, setCurre
|
|
|
77
82
|
${zoomLevel === 0
|
|
78
83
|
? 'cursor-not-allowed opacity-50'
|
|
79
84
|
: 'hover:scale-110 hover:opacity-80'} transition-all`}>
|
|
80
|
-
<ZoomOutIcon />
|
|
85
|
+
{/* <ZoomOutIcon /> */}
|
|
86
|
+
<Image src={ZoomOutIcon} alt="확대" width={24} height={24} className="h-6 w-6 text-white"/>
|
|
81
87
|
</button>
|
|
82
88
|
<button onClick={zoomIn} disabled={zoomLevel === ZOOM_LEVELS.length - 1} className={`${zoomLevel === ZOOM_LEVELS.length - 1
|
|
83
89
|
? 'cursor-not-allowed opacity-50'
|
|
84
90
|
: 'hover:scale-110 hover:opacity-80'} transition-all`}>
|
|
85
|
-
<ZoomInIcon />
|
|
91
|
+
{/* <ZoomInIcon /> */}
|
|
92
|
+
<Image src={ZoomInIcon} alt="확대" width={24} height={24} className="h-6 w-6 text-white"/>
|
|
86
93
|
</button>
|
|
87
94
|
<button onClick={handleDownload} className="transition-transform hover:scale-110">
|
|
88
|
-
<DownloadIcon className="bg-transparent text-white"/>
|
|
95
|
+
{/* <DownloadIcon className="bg-transparent text-white" /> */}
|
|
96
|
+
<Image src={DownloadIcon} alt="다요로드" width={24} height={24} className="bg-transparent text-white"/>
|
|
89
97
|
</button>
|
|
90
98
|
</div>
|
|
91
99
|
</div>
|
|
@@ -9,13 +9,13 @@ import 'swiper/css';
|
|
|
9
9
|
import 'swiper/css/navigation';
|
|
10
10
|
|
|
11
11
|
// 이미지
|
|
12
|
-
import RotateCCWIcon from '../../../asset/images/daeryuntalk/viewer/rotate.svg';
|
|
13
|
-
import ZoomOutIcon from '../../../asset/images/daeryuntalk/viewer/zoom-out.svg';
|
|
14
|
-
import ZoomInIcon from '../../../asset/images/daeryuntalk/viewer/zoom-in.svg';
|
|
15
|
-
import DownloadIcon from '../../../asset/images/daeryuntalk/download.svg';
|
|
16
|
-
import CloseIcon from '../../../asset/images/daeryuntalk/viewer/close.svg';
|
|
17
|
-
import MoveSwipingIcon from '../../../asset/images/daeryuntalk/viewer/move-button.svg';
|
|
18
|
-
import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
12
|
+
// import RotateCCWIcon from '../../../asset/images/daeryuntalk/viewer/rotate.svg';
|
|
13
|
+
// import ZoomOutIcon from '../../../asset/images/daeryuntalk/viewer/zoom-out.svg';
|
|
14
|
+
// import ZoomInIcon from '../../../asset/images/daeryuntalk/viewer/zoom-in.svg';
|
|
15
|
+
// import DownloadIcon from '../../../asset/images/daeryuntalk/download.svg';
|
|
16
|
+
// import CloseIcon from '../../../asset/images/daeryuntalk/viewer/close.svg';
|
|
17
|
+
// import MoveSwipingIcon from '../../../asset/images/daeryuntalk/viewer/move-button.svg';
|
|
18
|
+
// import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
19
19
|
|
|
20
20
|
interface ITbPcViewerProps {
|
|
21
21
|
imageViewerMessage?: Message | null;
|
|
@@ -52,6 +52,14 @@ const TbPcViewer = ({
|
|
|
52
52
|
zoomOut,
|
|
53
53
|
zoomLevel
|
|
54
54
|
}: ITbPcViewerProps) => {
|
|
55
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
56
|
+
const RotateCCWIcon = `${s3Url}/daeryuntalk/viewer/rotate.svg`;
|
|
57
|
+
const ZoomOutIcon = `${s3Url}/daeryuntalk/viewer/zoom-out.svg`;
|
|
58
|
+
const ZoomInIcon = `${s3Url}/daeryuntalk/viewer/zoom-in.svg`;
|
|
59
|
+
const DownloadIcon = `${s3Url}/daeryuntalk/download.svg`;
|
|
60
|
+
const CloseIcon = `${s3Url}/daeryuntalk/viewer/close.svg`;
|
|
61
|
+
const MoveSwipingIcon = `${s3Url}/daeryuntalk/viewer/move-button.svg`;
|
|
62
|
+
const DaeryunLogoIcon = `${s3Url}/daeryuntalk/daeryun-logo.svg`;
|
|
55
63
|
return (
|
|
56
64
|
<div className={`hidden md2:block`}>
|
|
57
65
|
<div className={`flex h-[100dvh] flex-col items-center justify-center gap-[60px] px-[88px]`}>
|
|
@@ -64,6 +72,14 @@ const TbPcViewer = ({
|
|
|
64
72
|
className={`${currentIndex < 1 ? ' disabled:pointer-events-none disabled:opacity-30 ' : ' hover:scale-110 '} absolute top-1/2 z-20 -translate-y-1/2 rotate-180 text-white transition-transform md2:-left-[48px] lg:-left-[68px]`}
|
|
65
73
|
>
|
|
66
74
|
<MoveSwipingIcon />
|
|
75
|
+
{/* <MoveSwipingIcon /> */}
|
|
76
|
+
<Image
|
|
77
|
+
src={MoveSwipingIcon}
|
|
78
|
+
alt="이동"
|
|
79
|
+
width={48}
|
|
80
|
+
height={48}
|
|
81
|
+
className="h-full w-full text-white"
|
|
82
|
+
/>
|
|
67
83
|
</button>
|
|
68
84
|
|
|
69
85
|
{/* 고정된 위치의 우측 네비게이션 버튼 */}
|
|
@@ -75,7 +91,14 @@ const TbPcViewer = ({
|
|
|
75
91
|
absolute top-1/2 z-20 -translate-y-1/2 text-white transition-transform md2:-right-[48px] lg:-right-[68px]
|
|
76
92
|
`}
|
|
77
93
|
>
|
|
78
|
-
<
|
|
94
|
+
<Image
|
|
95
|
+
src={MoveSwipingIcon}
|
|
96
|
+
alt="이동"
|
|
97
|
+
width={48}
|
|
98
|
+
height={48}
|
|
99
|
+
className="h-full w-full text-white"
|
|
100
|
+
/>
|
|
101
|
+
{/* <MoveSwipingIcon /> */}
|
|
79
102
|
</button>
|
|
80
103
|
|
|
81
104
|
{/* 고정된 위치의 닫기 버튼 */}
|
|
@@ -83,7 +106,8 @@ const TbPcViewer = ({
|
|
|
83
106
|
onClick={closeImageViewer}
|
|
84
107
|
className="absolute right-[20px] top-[20px] z-20 transition-transform hover:scale-110"
|
|
85
108
|
>
|
|
86
|
-
<CloseIcon className="h-6 w-6 text-white" />
|
|
109
|
+
<Image src={CloseIcon} alt="닫기" width={24} height={24} className="h-6 w-6 text-white" />
|
|
110
|
+
{/* <CloseIcon className="h-6 w-6 text-white" /> */}
|
|
87
111
|
</button>
|
|
88
112
|
|
|
89
113
|
{/* 이미지 컨테이너 */}
|
|
@@ -119,7 +143,8 @@ const TbPcViewer = ({
|
|
|
119
143
|
<div className={`flex items-center gap-[10px]`}>
|
|
120
144
|
<div className="flex-shrink-0 rounded-full">
|
|
121
145
|
<div className="relative h-full w-full">
|
|
122
|
-
<DaeryunLogoIcon width={28} height={28} />
|
|
146
|
+
<Image src={DaeryunLogoIcon} alt="대륜 로고" width={28} height={28} />
|
|
147
|
+
{/* <DaeryunLogoIcon width={28} height={28} /> */}
|
|
123
148
|
</div>
|
|
124
149
|
</div>
|
|
125
150
|
<div className={`dr_talk_subtitle_medium text-drTalkWhite`}>
|
|
@@ -145,7 +170,14 @@ const TbPcViewer = ({
|
|
|
145
170
|
: 'hover:scale-110 hover:opacity-80'
|
|
146
171
|
} transition-all`}
|
|
147
172
|
>
|
|
148
|
-
<ZoomOutIcon />
|
|
173
|
+
{/* <ZoomOutIcon /> */}
|
|
174
|
+
<Image
|
|
175
|
+
src={ZoomOutIcon}
|
|
176
|
+
alt="확대"
|
|
177
|
+
width={24}
|
|
178
|
+
height={24}
|
|
179
|
+
className="h-6 w-6 text-white"
|
|
180
|
+
/>
|
|
149
181
|
</button>
|
|
150
182
|
<button
|
|
151
183
|
onClick={zoomIn}
|
|
@@ -156,10 +188,24 @@ const TbPcViewer = ({
|
|
|
156
188
|
: 'hover:scale-110 hover:opacity-80'
|
|
157
189
|
} transition-all`}
|
|
158
190
|
>
|
|
159
|
-
<ZoomInIcon />
|
|
191
|
+
{/* <ZoomInIcon /> */}
|
|
192
|
+
<Image
|
|
193
|
+
src={ZoomInIcon}
|
|
194
|
+
alt="확대"
|
|
195
|
+
width={24}
|
|
196
|
+
height={24}
|
|
197
|
+
className="h-6 w-6 text-white"
|
|
198
|
+
/>
|
|
160
199
|
</button>
|
|
161
200
|
<button onClick={handleDownload} className="transition-transform hover:scale-110">
|
|
162
|
-
<DownloadIcon className="bg-transparent text-white" />
|
|
201
|
+
{/* <DownloadIcon className="bg-transparent text-white" /> */}
|
|
202
|
+
<Image
|
|
203
|
+
src={DownloadIcon}
|
|
204
|
+
alt="다요로드"
|
|
205
|
+
width={24}
|
|
206
|
+
height={24}
|
|
207
|
+
className="bg-transparent text-white"
|
|
208
|
+
/>
|
|
163
209
|
</button>
|
|
164
210
|
</div>
|
|
165
211
|
</div>
|
|
@@ -12,6 +12,6 @@ export declare const nameFilter: (value: string) => {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const formatSecondsToMMSS: (seconds: number) => string;
|
|
14
14
|
export declare const formatTimestamp: (timestamp: string) => string;
|
|
15
|
-
export declare const stripHtmlTags: (input: string) =>
|
|
15
|
+
export declare const stripHtmlTags: (input: string) => boolean;
|
|
16
16
|
export declare const decodeDoubleEscapedHtml: (escaped: string) => string;
|
|
17
17
|
export declare const consoleFn: (...args: any[]) => void;
|
|
@@ -78,7 +78,7 @@ export const formatTimestamp = (timestamp) => {
|
|
|
78
78
|
export const stripHtmlTags = (input) => {
|
|
79
79
|
// 모든 HTML 태그 제거
|
|
80
80
|
const withoutTags = input.replace(/<[^>]*>/g, '');
|
|
81
|
-
return withoutTags.trim();
|
|
81
|
+
return Boolean(withoutTags.trim());
|
|
82
82
|
};
|
|
83
83
|
export const decodeDoubleEscapedHtml = (escaped) => {
|
|
84
84
|
const textArea = document.createElement('textarea');
|
|
@@ -100,7 +100,7 @@ export const formatTimestamp = (timestamp: string): string => {
|
|
|
100
100
|
export const stripHtmlTags = (input: string) => {
|
|
101
101
|
// 모든 HTML 태그 제거
|
|
102
102
|
const withoutTags = input.replace(/<[^>]*>/g, '');
|
|
103
|
-
return withoutTags.trim();
|
|
103
|
+
return Boolean(withoutTags.trim());
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
export const decodeDoubleEscapedHtml = (escaped: string) => {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import CheckActiveIconBlue from '../../../../asset/images/daeryuntalk/active_checkbox_blue.png';
|
|
5
|
-
import CheckNoneActiveIconBlue from '../../../../asset/images/daeryuntalk/non_active_checkbox.png';
|
|
6
4
|
const CheckBox2 = ({ title, checked, onChange }) => {
|
|
5
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
6
|
+
const CheckActiveIconBlue = `${s3Url}/daeryuntalk/active_checkbox_blue.png`;
|
|
7
|
+
const CheckNoneActiveIconBlue = `${s3Url}/daeryuntalk/non_active_checkbox.png`;
|
|
7
8
|
return (<label className="flex cursor-pointer flex-row items-center gap-[4px]">
|
|
8
9
|
{/* 실제 체크박스는 숨김 */}
|
|
9
10
|
<input type="checkbox" checked={checked} onChange={onChange} className="hidden"/>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import Image from 'next/image';
|
|
5
|
-
import CheckActiveIconBlue from '../../../../asset/images/daeryuntalk/active_checkbox_blue.png';
|
|
6
|
-
import CheckNoneActiveIconBlue from '../../../../asset/images/daeryuntalk/non_active_checkbox.png';
|
|
5
|
+
// import CheckActiveIconBlue from '../../../../asset/images/daeryuntalk/active_checkbox_blue.png';
|
|
6
|
+
// import CheckNoneActiveIconBlue from '../../../../asset/images/daeryuntalk/non_active_checkbox.png';
|
|
7
7
|
|
|
8
8
|
interface CheckBox2Props {
|
|
9
9
|
title: string;
|
|
@@ -12,6 +12,9 @@ interface CheckBox2Props {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const CheckBox2 = ({ title, checked, onChange }: CheckBox2Props) => {
|
|
15
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
16
|
+
const CheckActiveIconBlue = `${s3Url}/daeryuntalk/active_checkbox_blue.png`;
|
|
17
|
+
const CheckNoneActiveIconBlue = `${s3Url}/daeryuntalk/non_active_checkbox.png`;
|
|
15
18
|
return (
|
|
16
19
|
<label className="flex cursor-pointer flex-row items-center gap-[4px]">
|
|
17
20
|
{/* 실제 체크박스는 숨김 */}
|
|
@@ -12,6 +12,8 @@ import { useWindowSize } from './_hooks/useWindowSize';
|
|
|
12
12
|
const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight = 0 }) => {
|
|
13
13
|
const [isOpen, setIsOpen] = useState(false);
|
|
14
14
|
const [isMobile, setIsMobile] = useState(false);
|
|
15
|
+
const [isMobileSafari, setIsMobileSafari] = useState(false); // ios + 모바일
|
|
16
|
+
const [androidViewportHeight, setAndroidViewportHeight] = useState(0); //
|
|
15
17
|
const pathName = usePathname();
|
|
16
18
|
const windowSize = useWindowSize();
|
|
17
19
|
const isMobileSize = windowSize.width <= 480;
|
|
@@ -21,6 +23,14 @@ const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight =
|
|
|
21
23
|
// 상태 관리 (컴포넌트 내부에 추가)
|
|
22
24
|
const [animationState, setAnimationState] = useState('hidden'); // 'hidden', 'entering', 'visible', 'exiting'
|
|
23
25
|
const [currentCenterCode, setCurrentCenterCode] = useState(null);
|
|
26
|
+
const detectIsMobileSafari = () => {
|
|
27
|
+
if (typeof window === 'undefined')
|
|
28
|
+
return false;
|
|
29
|
+
const ua = window.navigator.userAgent;
|
|
30
|
+
const isIOS = /iPhone|iPad|iPod/i.test(ua);
|
|
31
|
+
const isSafari = /Safari/i.test(ua) && !/Chrome/i.test(ua);
|
|
32
|
+
return isIOS && isSafari;
|
|
33
|
+
};
|
|
24
34
|
// 모달 열기 함수
|
|
25
35
|
const openModal = () => {
|
|
26
36
|
setAnimationState('entering');
|
|
@@ -45,6 +55,54 @@ const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight =
|
|
|
45
55
|
openModal();
|
|
46
56
|
}
|
|
47
57
|
};
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
var _a;
|
|
60
|
+
if (!isMobile) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (isMobileSafari) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const compute = () => {
|
|
67
|
+
var _a;
|
|
68
|
+
const vh = ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height) || window.innerHeight;
|
|
69
|
+
setAndroidViewportHeight(vh);
|
|
70
|
+
};
|
|
71
|
+
compute();
|
|
72
|
+
window.addEventListener('resize', compute);
|
|
73
|
+
(_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.addEventListener('resize', compute);
|
|
74
|
+
return () => {
|
|
75
|
+
var _a;
|
|
76
|
+
window.removeEventListener('resize', compute);
|
|
77
|
+
(_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.removeEventListener('resize', compute);
|
|
78
|
+
};
|
|
79
|
+
}, [isMobile, isMobileSafari]);
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
setIsMobileSafari(detectIsMobileSafari());
|
|
82
|
+
}, []);
|
|
83
|
+
useEffect(() => {
|
|
84
|
+
if (!((isMobileSize || isMobile) && isOpen))
|
|
85
|
+
return;
|
|
86
|
+
const { body, documentElement } = document;
|
|
87
|
+
// 현재 스크롤 위치 저장
|
|
88
|
+
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
89
|
+
// 스크롤 완전 고정
|
|
90
|
+
body.style.position = 'fixed';
|
|
91
|
+
body.style.top = `-${scrollY}px`;
|
|
92
|
+
body.style.width = '100%';
|
|
93
|
+
body.style.left = '0';
|
|
94
|
+
body.style.right = '0';
|
|
95
|
+
body.style.overflow = 'hidden';
|
|
96
|
+
return () => {
|
|
97
|
+
body.style.position = '';
|
|
98
|
+
body.style.top = '';
|
|
99
|
+
body.style.width = '';
|
|
100
|
+
body.style.left = '';
|
|
101
|
+
body.style.right = '';
|
|
102
|
+
body.style.overflow = '';
|
|
103
|
+
window.scrollTo(0, scrollY);
|
|
104
|
+
};
|
|
105
|
+
}, [isMobile, isMobileSize, isOpen]);
|
|
48
106
|
useEffect(() => {
|
|
49
107
|
if (typeof window !== 'undefined') {
|
|
50
108
|
setIsMobile(mobile());
|
|
@@ -81,7 +139,7 @@ const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight =
|
|
|
81
139
|
}
|
|
82
140
|
}, [pathName]);
|
|
83
141
|
useEffect(() => {
|
|
84
|
-
if (isOpen && isMobile) {
|
|
142
|
+
if (isOpen && (isMobile || isMobileSize)) {
|
|
85
143
|
document.body.style.overflow = 'hidden';
|
|
86
144
|
}
|
|
87
145
|
else {
|
|
@@ -91,38 +149,7 @@ const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight =
|
|
|
91
149
|
return () => {
|
|
92
150
|
document.body.style.overflow = '';
|
|
93
151
|
};
|
|
94
|
-
}, [isOpen, isMobile]);
|
|
95
|
-
useEffect(() => {
|
|
96
|
-
if (!((isMobileSize || isMobile) && isOpen))
|
|
97
|
-
return;
|
|
98
|
-
const { body, documentElement } = document;
|
|
99
|
-
// 현재 스크롤 위치 저장
|
|
100
|
-
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
101
|
-
// 스크롤 잠금 (iOS 대응: position: fixed + top 보정)
|
|
102
|
-
body.style.position = 'fixed';
|
|
103
|
-
body.style.top = `-${scrollY}px`;
|
|
104
|
-
body.style.left = '0';
|
|
105
|
-
body.style.right = '0';
|
|
106
|
-
body.style.width = '100%';
|
|
107
|
-
body.style.overflow = 'hidden'; // 안드/데스크탑용
|
|
108
|
-
// 불필요한 끌어내리기 방지
|
|
109
|
-
documentElement.style.overscrollBehavior = 'none'; // 모바일 브라우저 안전
|
|
110
|
-
// (선택) 스크롤바 보정: 데스크탑에서 레이아웃 점프 방지
|
|
111
|
-
// const scrollBarW = window.innerWidth - documentElement.clientWidth;
|
|
112
|
-
// if (scrollBarW > 0) body.style.paddingRight = `${scrollBarW}px`;
|
|
113
|
-
return () => {
|
|
114
|
-
// 해제 + 스크롤 복원
|
|
115
|
-
body.style.position = '';
|
|
116
|
-
body.style.top = '';
|
|
117
|
-
body.style.left = '';
|
|
118
|
-
body.style.right = '';
|
|
119
|
-
body.style.width = '';
|
|
120
|
-
body.style.overflow = '';
|
|
121
|
-
// body.style.paddingRight = '';
|
|
122
|
-
documentElement.style.overscrollBehavior = '';
|
|
123
|
-
window.scrollTo(0, scrollY);
|
|
124
|
-
};
|
|
125
|
-
}, [isMobile, isOpen]);
|
|
152
|
+
}, [isOpen, isMobile, isMobileSize]);
|
|
126
153
|
useEffect(() => {
|
|
127
154
|
if (!(isMobile && isOpen)) {
|
|
128
155
|
return;
|
|
@@ -155,7 +182,7 @@ const Daeryuntalk = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight =
|
|
|
155
182
|
<ViewportHandler isMobile={isMobile} isDisable={!isOpen || !isMobile}/>
|
|
156
183
|
<DaeryuntalkProvider propsTel={tel} isMobile={isMobile} onClose={closeModal} centerCode={currentCenterCode || ''}>
|
|
157
184
|
{isMobile ? (isOpen || !currentCenterCode ? null : (<ChatButton isOpen={isOpen} isMobile={isMobile} hashValue={hashValue} onClick={toggleChat}/>)) : !currentCenterCode ? null : (<ChatButton isOpen={isOpen} isMobile={isMobile} hashValue={hashValue} onClick={toggleChat} bannerHeight={bannerHeight}/>)}
|
|
158
|
-
<ChatWidget isOpen={hashValue ? true : isOpen} isMobile={isMobile} onClose={closeModal} hashValue={hashValue} setHashValue={setHashValue} animationState={animationState}/>
|
|
185
|
+
<ChatWidget isOpen={hashValue ? true : isOpen} isMobile={isMobile} onClose={closeModal} hashValue={hashValue} setHashValue={setHashValue} animationState={animationState} isMobileSafari={isMobileSafari} androidViewportHeight={androidViewportHeight}/>
|
|
159
186
|
</DaeryuntalkProvider>
|
|
160
187
|
</DaeryuntalkToastProvider>
|
|
161
188
|
</div>);
|
|
@@ -20,6 +20,9 @@ type DaeryuntalkProps = {
|
|
|
20
20
|
const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode = 'CT0000', bannerHeight = 0 }) => {
|
|
21
21
|
const [isOpen, setIsOpen] = useState(false);
|
|
22
22
|
const [isMobile, setIsMobile] = useState(false);
|
|
23
|
+
const [isMobileSafari, setIsMobileSafari] = useState(false); // ios + 모바일
|
|
24
|
+
const [androidViewportHeight, setAndroidViewportHeight] = useState(0); //
|
|
25
|
+
|
|
23
26
|
const pathName = usePathname();
|
|
24
27
|
const windowSize = useWindowSize();
|
|
25
28
|
const isMobileSize = windowSize.width <= 480;
|
|
@@ -33,6 +36,14 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
33
36
|
const [animationState, setAnimationState] = useState('hidden'); // 'hidden', 'entering', 'visible', 'exiting'
|
|
34
37
|
const [currentCenterCode, setCurrentCenterCode] = useState<string | null>(null);
|
|
35
38
|
|
|
39
|
+
const detectIsMobileSafari = () => {
|
|
40
|
+
if (typeof window === 'undefined') return false;
|
|
41
|
+
const ua = window.navigator.userAgent;
|
|
42
|
+
const isIOS = /iPhone|iPad|iPod/i.test(ua);
|
|
43
|
+
const isSafari = /Safari/i.test(ua) && !/Chrome/i.test(ua);
|
|
44
|
+
return isIOS && isSafari;
|
|
45
|
+
};
|
|
46
|
+
|
|
36
47
|
// 모달 열기 함수
|
|
37
48
|
const openModal = () => {
|
|
38
49
|
setAnimationState('entering');
|
|
@@ -58,6 +69,62 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
58
69
|
openModal();
|
|
59
70
|
}
|
|
60
71
|
};
|
|
72
|
+
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
if (!isMobile) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (isMobileSafari) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const compute = () => {
|
|
81
|
+
const vh = window.visualViewport?.height || window.innerHeight;
|
|
82
|
+
setAndroidViewportHeight(vh);
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
compute();
|
|
86
|
+
|
|
87
|
+
window.addEventListener('resize', compute);
|
|
88
|
+
window.visualViewport?.addEventListener('resize', compute);
|
|
89
|
+
|
|
90
|
+
return () => {
|
|
91
|
+
window.removeEventListener('resize', compute);
|
|
92
|
+
window.visualViewport?.removeEventListener('resize', compute);
|
|
93
|
+
};
|
|
94
|
+
}, [isMobile, isMobileSafari]);
|
|
95
|
+
|
|
96
|
+
useEffect(() => {
|
|
97
|
+
setIsMobileSafari(detectIsMobileSafari());
|
|
98
|
+
}, []);
|
|
99
|
+
|
|
100
|
+
useEffect(() => {
|
|
101
|
+
if (!((isMobileSize || isMobile) && isOpen)) return;
|
|
102
|
+
|
|
103
|
+
const { body, documentElement } = document;
|
|
104
|
+
|
|
105
|
+
// 현재 스크롤 위치 저장
|
|
106
|
+
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
107
|
+
|
|
108
|
+
// 스크롤 완전 고정
|
|
109
|
+
body.style.position = 'fixed';
|
|
110
|
+
body.style.top = `-${scrollY}px`;
|
|
111
|
+
body.style.width = '100%';
|
|
112
|
+
body.style.left = '0';
|
|
113
|
+
body.style.right = '0';
|
|
114
|
+
body.style.overflow = 'hidden';
|
|
115
|
+
|
|
116
|
+
return () => {
|
|
117
|
+
body.style.position = '';
|
|
118
|
+
body.style.top = '';
|
|
119
|
+
body.style.width = '';
|
|
120
|
+
body.style.left = '';
|
|
121
|
+
body.style.right = '';
|
|
122
|
+
body.style.overflow = '';
|
|
123
|
+
|
|
124
|
+
window.scrollTo(0, scrollY);
|
|
125
|
+
};
|
|
126
|
+
}, [isMobile, isMobileSize, isOpen]);
|
|
127
|
+
|
|
61
128
|
useEffect(() => {
|
|
62
129
|
if (typeof window !== 'undefined') {
|
|
63
130
|
setIsMobile(mobile());
|
|
@@ -100,54 +167,16 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
100
167
|
}, [pathName]);
|
|
101
168
|
|
|
102
169
|
useEffect(() => {
|
|
103
|
-
if (isOpen && isMobile) {
|
|
170
|
+
if (isOpen && (isMobile || isMobileSize)) {
|
|
104
171
|
document.body.style.overflow = 'hidden';
|
|
105
172
|
} else {
|
|
106
173
|
document.body.style.overflow = '';
|
|
107
174
|
}
|
|
108
|
-
|
|
109
175
|
// 컴포넌트가 unmount 될 때도 원복
|
|
110
176
|
return () => {
|
|
111
177
|
document.body.style.overflow = '';
|
|
112
178
|
};
|
|
113
|
-
}, [isOpen, isMobile]);
|
|
114
|
-
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
if (!((isMobileSize || isMobile) && isOpen)) return;
|
|
117
|
-
|
|
118
|
-
const { body, documentElement } = document;
|
|
119
|
-
|
|
120
|
-
// 현재 스크롤 위치 저장
|
|
121
|
-
const scrollY = window.scrollY || documentElement.scrollTop || body.scrollTop || 0;
|
|
122
|
-
|
|
123
|
-
// 스크롤 잠금 (iOS 대응: position: fixed + top 보정)
|
|
124
|
-
body.style.position = 'fixed';
|
|
125
|
-
body.style.top = `-${scrollY}px`;
|
|
126
|
-
body.style.left = '0';
|
|
127
|
-
body.style.right = '0';
|
|
128
|
-
body.style.width = '100%';
|
|
129
|
-
body.style.overflow = 'hidden'; // 안드/데스크탑용
|
|
130
|
-
// 불필요한 끌어내리기 방지
|
|
131
|
-
documentElement.style.overscrollBehavior = 'none'; // 모바일 브라우저 안전
|
|
132
|
-
|
|
133
|
-
// (선택) 스크롤바 보정: 데스크탑에서 레이아웃 점프 방지
|
|
134
|
-
// const scrollBarW = window.innerWidth - documentElement.clientWidth;
|
|
135
|
-
// if (scrollBarW > 0) body.style.paddingRight = `${scrollBarW}px`;
|
|
136
|
-
|
|
137
|
-
return () => {
|
|
138
|
-
// 해제 + 스크롤 복원
|
|
139
|
-
body.style.position = '';
|
|
140
|
-
body.style.top = '';
|
|
141
|
-
body.style.left = '';
|
|
142
|
-
body.style.right = '';
|
|
143
|
-
body.style.width = '';
|
|
144
|
-
body.style.overflow = '';
|
|
145
|
-
// body.style.paddingRight = '';
|
|
146
|
-
documentElement.style.overscrollBehavior = '';
|
|
147
|
-
|
|
148
|
-
window.scrollTo(0, scrollY);
|
|
149
|
-
};
|
|
150
|
-
}, [isMobile, isOpen]);
|
|
179
|
+
}, [isOpen, isMobile, isMobileSize]);
|
|
151
180
|
|
|
152
181
|
useEffect(() => {
|
|
153
182
|
if (!(isMobile && isOpen)) {
|
|
@@ -215,6 +244,8 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905', centerCode
|
|
|
215
244
|
hashValue={hashValue}
|
|
216
245
|
setHashValue={setHashValue}
|
|
217
246
|
animationState={animationState}
|
|
247
|
+
isMobileSafari={isMobileSafari}
|
|
248
|
+
androidViewportHeight={androidViewportHeight}
|
|
218
249
|
/>
|
|
219
250
|
</DaeryuntalkProvider>
|
|
220
251
|
</DaeryuntalkToastProvider>
|
|
@@ -5,8 +5,8 @@ export const ViewMore = (props) => {
|
|
|
5
5
|
const labelTxt = `${label} 글 더보기${nowPage && totalPage ? ` ${totalPage}페이지 중 ${nowPage - 1}페이지` : ''}`;
|
|
6
6
|
return (<>
|
|
7
7
|
{flag ? (<button aria-label={labelTxt} className={(loading ? 'pointer-events-none ' : '') +
|
|
8
|
-
(nowPage && totalPage ? ' px-
|
|
9
|
-
'relative m-auto mb-20 mt-20 flex w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '} onKeyDown={(e) => {
|
|
8
|
+
(nowPage && totalPage ? ' px-4 ' : ' px-10 ') +
|
|
9
|
+
'relative m-auto mb-20 mt-20 flex h-[52px] w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '} onKeyDown={(e) => {
|
|
10
10
|
if (e.key === 'Enter') {
|
|
11
11
|
func();
|
|
12
12
|
}
|
|
@@ -21,8 +21,8 @@ export const ViewMore = (props: {
|
|
|
21
21
|
aria-label={labelTxt}
|
|
22
22
|
className={
|
|
23
23
|
(loading ? 'pointer-events-none ' : '') +
|
|
24
|
-
(nowPage && totalPage ? ' px-
|
|
25
|
-
'relative m-auto mb-20 mt-20 flex w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '
|
|
24
|
+
(nowPage && totalPage ? ' px-4 ' : ' px-10 ') +
|
|
25
|
+
'relative m-auto mb-20 mt-20 flex h-[52px] w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '
|
|
26
26
|
}
|
|
27
27
|
onKeyDown={(e: any) => {
|
|
28
28
|
if (e.key === 'Enter') {
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
/* ios 확대 방지용 */
|
|
56
56
|
html.ios .daeryuntalk-wrapper .ProseMirror,
|
|
57
57
|
html.ios .daeryuntalk-wrapper [contenteditable="true"] {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
font-size: 16px !important; /* ✅ 핵심: 자동 확대 방지 */
|
|
59
|
+
line-height: 22px;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
html.ios .daeryuntalk-wrapper input,
|
|
63
63
|
html.ios .daeryuntalk-wrapper textarea,
|
|
64
64
|
html.ios .daeryuntalk-wrapper select {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
font-size: 16px !important; /* ✅ 일반 입력들도 방지 */
|
|
66
|
+
line-height: 22px;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@layer components {
|
package/dist/styles/globals.css
CHANGED
|
@@ -2805,6 +2805,10 @@ html {
|
|
|
2805
2805
|
height: 50px;
|
|
2806
2806
|
}
|
|
2807
2807
|
|
|
2808
|
+
.h-\[52px\] {
|
|
2809
|
+
height: 52px;
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2808
2812
|
.h-\[530px\] {
|
|
2809
2813
|
height: 530px;
|
|
2810
2814
|
}
|
|
@@ -2977,10 +2981,6 @@ html {
|
|
|
2977
2981
|
height: auto;
|
|
2978
2982
|
}
|
|
2979
2983
|
|
|
2980
|
-
.h-\[calc\(100\%\)\] {
|
|
2981
|
-
height: calc(100%);
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
2984
|
.h-\[calc\(100\%\+60px\)\] {
|
|
2985
2985
|
height: calc(100% + 60px);
|
|
2986
2986
|
}
|