@daeryun/dr_components 1.3.39 → 1.3.41
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/components/Fix/index.jsx +4 -3
- package/dist/components/Fix/index.tsx +4 -3
- package/dist/components/GoToMYSJKP/GoToMYSJKP.jsx +2 -2
- package/dist/components/GoToMYSJKP/GoToMYSJKP.tsx +2 -2
- package/dist/components/banner/MobileTopBanner.jsx +2 -2
- package/dist/components/banner/MobileTopBanner.tsx +2 -2
- package/dist/components/banner/PCTopBanner.jsx +3 -1
- package/dist/components/banner/PCTopBanner.tsx +5 -1
- package/dist/components/banner/TopBanner.module.css +1 -1
- package/dist/styles/globals.css +4 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -260,11 +260,12 @@ const Fix = (props) => {
|
|
|
260
260
|
: width >= 1700
|
|
261
261
|
? '150px'
|
|
262
262
|
: '120px'
|
|
263
|
-
: '0px'
|
|
263
|
+
: '0px',
|
|
264
|
+
zIndex: width > 1023 ? 2000 : 3500
|
|
264
265
|
}} className={
|
|
265
266
|
// (isTop ? ' hidden ' : '') +
|
|
266
|
-
'pointer-events-auto fixed right-[25px]
|
|
267
|
-
'max-lg:
|
|
267
|
+
'pointer-events-auto fixed right-[25px] w-fit ' +
|
|
268
|
+
'max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '}>
|
|
268
269
|
{/*모바일용 원*/}
|
|
269
270
|
<div className={'absolute -top-[10px] aspect-square w-[50px] translate-x-[-50%] rounded-full bg-white transition-[left] duration-300 ease-out lg:hidden '} style={{
|
|
270
271
|
left: `calc(((100%/3)/2)*${activeNum * 2 + 1})`
|
|
@@ -289,12 +289,13 @@ const Fix = (props: {
|
|
|
289
289
|
: width >= 1700
|
|
290
290
|
? '150px'
|
|
291
291
|
: '120px'
|
|
292
|
-
: '0px'
|
|
292
|
+
: '0px',
|
|
293
|
+
zIndex: width > 1023 ? 2000 : 3500
|
|
293
294
|
}}
|
|
294
295
|
className={
|
|
295
296
|
// (isTop ? ' hidden ' : '') +
|
|
296
|
-
'pointer-events-auto fixed right-[25px]
|
|
297
|
-
'max-lg:
|
|
297
|
+
'pointer-events-auto fixed right-[25px] w-fit ' +
|
|
298
|
+
'max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '
|
|
298
299
|
}
|
|
299
300
|
>
|
|
300
301
|
{/*모바일용 원*/}
|
|
@@ -83,9 +83,9 @@ const GoToMYSJKP = () => {
|
|
|
83
83
|
width < 1024 &&
|
|
84
84
|
isMobile && (<>
|
|
85
85
|
{/* bg */}
|
|
86
|
-
<div className={'animate-fadeInFast fixed left-0 top-0 z-[
|
|
86
|
+
<div className={'animate-fadeInFast fixed left-0 top-0 z-[999999] h-full w-full bg-[#000] bg-opacity-75 lg:pointer-events-none lg:hidden'}/>
|
|
87
87
|
{/* 컨텐츠 */}
|
|
88
|
-
<span className={'animate-fadeInFast fixed left-0 top-0 z-[
|
|
88
|
+
<span className={'animate-fadeInFast fixed left-0 top-0 z-[999999] flex h-full w-full flex-col items-center justify-center px-[20px] text-white mix-blend-normal'}>
|
|
89
89
|
<button onClick={handleClose} className={'absolute right-[60px] top-[67px] z-[1] aspect-square w-[24px] max-sm:right-[20px] max-sm:top-[62px]'}>
|
|
90
90
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
91
91
|
<path d="M2.39959 23.996L0 21.5964L9.59841 11.998L0 2.39962L2.39959 0L11.998 9.59838L21.5964 0L23.996 2.39962L14.3976 11.998L23.996 21.5964L21.5964 23.996L11.998 14.3976L2.39959 23.996Z" fill="white"/>
|
|
@@ -93,13 +93,13 @@ const GoToMYSJKP = () => {
|
|
|
93
93
|
{/* bg */}
|
|
94
94
|
<div
|
|
95
95
|
className={
|
|
96
|
-
'animate-fadeInFast fixed left-0 top-0 z-[
|
|
96
|
+
'animate-fadeInFast fixed left-0 top-0 z-[999999] h-full w-full bg-[#000] bg-opacity-75 lg:pointer-events-none lg:hidden'
|
|
97
97
|
}
|
|
98
98
|
/>
|
|
99
99
|
{/* 컨텐츠 */}
|
|
100
100
|
<span
|
|
101
101
|
className={
|
|
102
|
-
'animate-fadeInFast fixed left-0 top-0 z-[
|
|
102
|
+
'animate-fadeInFast fixed left-0 top-0 z-[999999] flex h-full w-full flex-col items-center justify-center px-[20px] text-white mix-blend-normal'
|
|
103
103
|
}
|
|
104
104
|
>
|
|
105
105
|
<button
|
|
@@ -76,10 +76,10 @@ const MobileTopBanner = ({ popup, setMobileOpen, addClickCnt }) => {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
return (currentPopup.length > 0 && (<>
|
|
79
|
-
<div className={'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[
|
|
79
|
+
<div className={'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[4000] h-full w-full bg-[#000] bg-opacity-75'} onClick={() => {
|
|
80
80
|
setMobileOpen(false);
|
|
81
81
|
}}/>
|
|
82
|
-
<div className={'pointer-events-auto fixed bottom-0 left-0 z-[
|
|
82
|
+
<div className={'pointer-events-auto fixed bottom-0 left-0 z-[4000] flex w-full flex-col '}>
|
|
83
83
|
<div className={'mb-[16px] mr-[60px] flex w-[66px] items-center justify-center self-end rounded-full bg-[#90909080] py-[6px] text-[18px] tracking-[-0.02em] text-white ' +
|
|
84
84
|
'max-md:mr-[40px] ' +
|
|
85
85
|
'max-sm:mr-[16px] max-sm:w-[47px] max-sm:py-[4px] max-sm:text-[14px]'}>
|
|
@@ -94,13 +94,13 @@ const MobileTopBanner = ({
|
|
|
94
94
|
<>
|
|
95
95
|
<div
|
|
96
96
|
className={
|
|
97
|
-
'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[
|
|
97
|
+
'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[4000] h-full w-full bg-[#000] bg-opacity-75'
|
|
98
98
|
}
|
|
99
99
|
onClick={() => {
|
|
100
100
|
setMobileOpen(false);
|
|
101
101
|
}}
|
|
102
102
|
/>
|
|
103
|
-
<div className={'pointer-events-auto fixed bottom-0 left-0 z-[
|
|
103
|
+
<div className={'pointer-events-auto fixed bottom-0 left-0 z-[4000] flex w-full flex-col '}>
|
|
104
104
|
<div
|
|
105
105
|
className={
|
|
106
106
|
'mb-[16px] mr-[60px] flex w-[66px] items-center justify-center self-end rounded-full bg-[#90909080] py-[6px] text-[18px] tracking-[-0.02em] text-white ' +
|
|
@@ -66,7 +66,9 @@ const PCTopBanner = ({ popup, setPopup, addClickCnt, setBannerHeight }) => {
|
|
|
66
66
|
return '';
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
return (<div ref={bannerRef} id={'banner_wrap'} className={popup.length > 0
|
|
69
|
+
return (<div ref={bannerRef} id={'banner_wrap'} className={popup.length > 0
|
|
70
|
+
? style.header_banner_wrap + ' fixed bottom-0 right-0 z-[4000] w-full '
|
|
71
|
+
: ' pointer-events-auto hidden'}>
|
|
70
72
|
<div className={style.header_banner + ' pointer-events-auto'}>
|
|
71
73
|
{popup && popup.filter(item => item.file_type === 'file_pc').length > 0 ? (<Swiper key={swiperKey} autoplay={{ delay: 3000, disableOnInteraction: false }} modules={[Autoplay]} speed={600} loop={popup.filter(item => item.file_type === 'file_pc').length > 1}>
|
|
72
74
|
{popup
|
|
@@ -91,7 +91,11 @@ const PCTopBanner = ({
|
|
|
91
91
|
<div
|
|
92
92
|
ref={bannerRef}
|
|
93
93
|
id={'banner_wrap'}
|
|
94
|
-
className={
|
|
94
|
+
className={
|
|
95
|
+
popup.length > 0
|
|
96
|
+
? style.header_banner_wrap + ' fixed bottom-0 right-0 z-[4000] w-full '
|
|
97
|
+
: ' pointer-events-auto hidden'
|
|
98
|
+
}
|
|
95
99
|
>
|
|
96
100
|
<div className={style.header_banner + ' pointer-events-auto'}>
|
|
97
101
|
{popup && popup.filter(item => item.file_type === 'file_pc').length > 0 ? (
|
package/dist/styles/globals.css
CHANGED
|
@@ -1382,10 +1382,6 @@ html {
|
|
|
1382
1382
|
z-index: 1;
|
|
1383
1383
|
}
|
|
1384
1384
|
|
|
1385
|
-
.z-\[2000\] {
|
|
1386
|
-
z-index: 2000;
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
1385
|
.z-\[25\] {
|
|
1390
1386
|
z-index: 25;
|
|
1391
1387
|
}
|
|
@@ -1398,6 +1394,10 @@ html {
|
|
|
1398
1394
|
z-index: 3000;
|
|
1399
1395
|
}
|
|
1400
1396
|
|
|
1397
|
+
.z-\[4000\] {
|
|
1398
|
+
z-index: 4000;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
1401
|
.z-\[45\] {
|
|
1402
1402
|
z-index: 45;
|
|
1403
1403
|
}
|
|
@@ -1418,10 +1418,6 @@ html {
|
|
|
1418
1418
|
z-index: 900;
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
|
-
.z-\[99991\] {
|
|
1422
|
-
z-index: 99991;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
1421
|
.z-\[999998\] {
|
|
1426
1422
|
z-index: 999998;
|
|
1427
1423
|
}
|
|
@@ -14021,10 +14017,6 @@ body {
|
|
|
14021
14017
|
position: absolute;
|
|
14022
14018
|
}
|
|
14023
14019
|
|
|
14024
|
-
.max-lg\:relative {
|
|
14025
|
-
position: relative;
|
|
14026
|
-
}
|
|
14027
|
-
|
|
14028
14020
|
.max-lg\:-left-\[20px\] {
|
|
14029
14021
|
left: -20px;
|
|
14030
14022
|
}
|