@ehfuse/overlay-scrollbar 1.0.0
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/LICENSE +21 -0
- package/README.md +223 -0
- package/dist/OverlayScrollbar.d.ts +43 -0
- package/dist/OverlayScrollbar.d.ts.map +1 -0
- package/dist/core/OverlayScrollbar.d.ts +43 -0
- package/dist/core/OverlayScrollbar.d.ts.map +1 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +392 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +397 -0
- package/dist/index.js.map +1 -0
- package/dist/src/OverlayScrollbar.d.ts +43 -0
- package/dist/src/OverlayScrollbar.d.ts.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef, useRef, useEffect, useState, useImperativeHandle, useCallback } from 'react';
|
|
3
|
+
|
|
4
|
+
const OverlayScrollbar = forwardRef(({ children, onScroll, className, style }, ref) => {
|
|
5
|
+
const containerRef = useRef(null);
|
|
6
|
+
const contentRef = useRef(null);
|
|
7
|
+
const scrollbarRef = useRef(null);
|
|
8
|
+
const thumbRef = useRef(null);
|
|
9
|
+
// 웹킷 스크롤바 숨김을 위한 스타일
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
const style = document.createElement("style");
|
|
12
|
+
style.textContent = `
|
|
13
|
+
.overlay-scrollbar-container::-webkit-scrollbar {
|
|
14
|
+
display: none !important;
|
|
15
|
+
width: 0 !important;
|
|
16
|
+
height: 0 !important;
|
|
17
|
+
background: transparent !important;
|
|
18
|
+
}
|
|
19
|
+
.overlay-scrollbar-container::-webkit-scrollbar-track {
|
|
20
|
+
display: none !important;
|
|
21
|
+
}
|
|
22
|
+
.overlay-scrollbar-container::-webkit-scrollbar-thumb {
|
|
23
|
+
display: none !important;
|
|
24
|
+
}
|
|
25
|
+
.overlay-scrollbar-container::-webkit-scrollbar-corner {
|
|
26
|
+
display: none !important;
|
|
27
|
+
}
|
|
28
|
+
.overlay-scrollbar-container * {
|
|
29
|
+
scrollbar-width: none;
|
|
30
|
+
-ms-overflow-style: none;
|
|
31
|
+
}
|
|
32
|
+
.overlay-scrollbar-container *::-webkit-scrollbar {
|
|
33
|
+
display: none !important;
|
|
34
|
+
width: 0 !important;
|
|
35
|
+
height: 0 !important;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
document.head.appendChild(style);
|
|
39
|
+
return () => {
|
|
40
|
+
document.head.removeChild(style);
|
|
41
|
+
};
|
|
42
|
+
}, []);
|
|
43
|
+
const [scrollbarVisible, setScrollbarVisible] = useState(false);
|
|
44
|
+
const [trackVisible, setTrackVisible] = useState(false); // 트랙 표시 상태 추가
|
|
45
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
46
|
+
const [dragStart, setDragStart] = useState({ y: 0, scrollTop: 0 });
|
|
47
|
+
const [thumbHeight, setThumbHeight] = useState(0);
|
|
48
|
+
const [thumbTop, setThumbTop] = useState(0);
|
|
49
|
+
// 스크롤바 표시/숨김 타이머
|
|
50
|
+
const hideTimeoutRef = useRef(null);
|
|
51
|
+
// ref를 통해 외부에서 스크롤 컨테이너에 접근할 수 있도록 함
|
|
52
|
+
useImperativeHandle(ref, () => ({
|
|
53
|
+
getScrollContainer: () => containerRef.current,
|
|
54
|
+
scrollTo: (options) => {
|
|
55
|
+
if (containerRef.current) {
|
|
56
|
+
containerRef.current.scrollTo(options);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
get scrollTop() {
|
|
60
|
+
var _a;
|
|
61
|
+
return ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTop) || 0;
|
|
62
|
+
},
|
|
63
|
+
get scrollHeight() {
|
|
64
|
+
var _a;
|
|
65
|
+
return ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollHeight) || 0;
|
|
66
|
+
},
|
|
67
|
+
get clientHeight() {
|
|
68
|
+
var _a;
|
|
69
|
+
return ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;
|
|
70
|
+
},
|
|
71
|
+
}), []);
|
|
72
|
+
// 스크롤바 숨김 타이머 취소
|
|
73
|
+
const clearHideTimer = useCallback(() => {
|
|
74
|
+
if (hideTimeoutRef.current) {
|
|
75
|
+
clearTimeout(hideTimeoutRef.current);
|
|
76
|
+
hideTimeoutRef.current = null;
|
|
77
|
+
}
|
|
78
|
+
}, []);
|
|
79
|
+
// 스크롤바 숨김 타이머 설정
|
|
80
|
+
const setHideTimer = useCallback((delay) => {
|
|
81
|
+
clearHideTimer(); // 기존 타이머 취소
|
|
82
|
+
hideTimeoutRef.current = setTimeout(() => {
|
|
83
|
+
if (!isDragging) {
|
|
84
|
+
setScrollbarVisible(false);
|
|
85
|
+
setTrackVisible(false);
|
|
86
|
+
}
|
|
87
|
+
hideTimeoutRef.current = null;
|
|
88
|
+
}, delay);
|
|
89
|
+
}, [isDragging, clearHideTimer]);
|
|
90
|
+
// 스크롤 가능 여부 체크 함수
|
|
91
|
+
const isScrollable = useCallback(() => {
|
|
92
|
+
if (!containerRef.current || !contentRef.current)
|
|
93
|
+
return false;
|
|
94
|
+
const container = containerRef.current;
|
|
95
|
+
const content = contentRef.current;
|
|
96
|
+
return content.scrollHeight > container.clientHeight + 2;
|
|
97
|
+
}, []);
|
|
98
|
+
// 스크롤바 크기 및 위치 계산
|
|
99
|
+
const updateScrollbar = useCallback(() => {
|
|
100
|
+
if (!containerRef.current || !contentRef.current)
|
|
101
|
+
return;
|
|
102
|
+
const container = containerRef.current;
|
|
103
|
+
const content = contentRef.current;
|
|
104
|
+
const containerHeight = container.clientHeight;
|
|
105
|
+
const contentHeight = content.scrollHeight;
|
|
106
|
+
const scrollTop = container.scrollTop;
|
|
107
|
+
// console.log("스크롤바 업데이트:", {
|
|
108
|
+
// containerHeight,
|
|
109
|
+
// contentHeight,
|
|
110
|
+
// scrollTop,
|
|
111
|
+
// hasScrollableContent: contentHeight > containerHeight,
|
|
112
|
+
// });
|
|
113
|
+
// 스크롤 가능한 콘텐츠가 있는지 확인 (여유분 2px 추가로 더 정확한 판단)
|
|
114
|
+
if (contentHeight <= containerHeight + 2) {
|
|
115
|
+
// console.log("스크롤 불가능한 콘텐츠, 스크롤바 숨김");
|
|
116
|
+
setScrollbarVisible(false);
|
|
117
|
+
setTrackVisible(false);
|
|
118
|
+
clearHideTimer(); // 타이머도 정리
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
// 썸 높이 계산 (최소 20px, 최대 컨테이너의 90%)
|
|
122
|
+
const thumbHeightRatio = containerHeight / contentHeight;
|
|
123
|
+
const calculatedThumbHeight = Math.max(20, Math.min(containerHeight * 0.9, containerHeight * thumbHeightRatio));
|
|
124
|
+
// 썸 위치 계산
|
|
125
|
+
const scrollRatio = scrollTop / (contentHeight - containerHeight);
|
|
126
|
+
const maxThumbTop = containerHeight - calculatedThumbHeight;
|
|
127
|
+
const calculatedThumbTop = scrollRatio * maxThumbTop;
|
|
128
|
+
// console.log("썸 계산:", {
|
|
129
|
+
// thumbHeightRatio,
|
|
130
|
+
// calculatedThumbHeight,
|
|
131
|
+
// scrollRatio,
|
|
132
|
+
// calculatedThumbTop,
|
|
133
|
+
// maxThumbTop,
|
|
134
|
+
// });
|
|
135
|
+
setThumbHeight(calculatedThumbHeight);
|
|
136
|
+
setThumbTop(calculatedThumbTop);
|
|
137
|
+
}, []);
|
|
138
|
+
// 썸 드래그 시작
|
|
139
|
+
const handleThumbMouseDown = useCallback((event) => {
|
|
140
|
+
event.preventDefault();
|
|
141
|
+
event.stopPropagation();
|
|
142
|
+
if (!containerRef.current)
|
|
143
|
+
return;
|
|
144
|
+
setIsDragging(true);
|
|
145
|
+
setDragStart({
|
|
146
|
+
y: event.clientY,
|
|
147
|
+
scrollTop: containerRef.current.scrollTop,
|
|
148
|
+
});
|
|
149
|
+
setScrollbarVisible(true);
|
|
150
|
+
setTrackVisible(true); // 드래그 시 트랙 표시
|
|
151
|
+
clearHideTimer(); // 드래그 중에는 타이머 취소
|
|
152
|
+
}, [clearHideTimer]);
|
|
153
|
+
// 썸 드래그 중
|
|
154
|
+
const handleMouseMove = useCallback((event) => {
|
|
155
|
+
if (!isDragging || !containerRef.current || !contentRef.current)
|
|
156
|
+
return;
|
|
157
|
+
event.preventDefault();
|
|
158
|
+
const container = containerRef.current;
|
|
159
|
+
const content = contentRef.current;
|
|
160
|
+
const containerHeight = container.clientHeight;
|
|
161
|
+
const contentHeight = content.scrollHeight;
|
|
162
|
+
const deltaY = event.clientY - dragStart.y;
|
|
163
|
+
const scrollableHeight = contentHeight - containerHeight;
|
|
164
|
+
const maxThumbTop = containerHeight - thumbHeight;
|
|
165
|
+
// 드래그 거리를 스크롤 거리로 변환
|
|
166
|
+
const scrollDelta = (deltaY / maxThumbTop) * scrollableHeight;
|
|
167
|
+
const newScrollTop = Math.max(0, Math.min(scrollableHeight, dragStart.scrollTop + scrollDelta));
|
|
168
|
+
container.scrollTop = newScrollTop;
|
|
169
|
+
updateScrollbar();
|
|
170
|
+
}, [isDragging, dragStart, thumbHeight, updateScrollbar]);
|
|
171
|
+
// 썸 드래그 종료
|
|
172
|
+
const handleMouseUp = useCallback(() => {
|
|
173
|
+
setIsDragging(false);
|
|
174
|
+
setTrackVisible(false); // 드래그 종료 시 트랙 숨김
|
|
175
|
+
setHideTimer(2000); // 2초 후 숨김
|
|
176
|
+
}, [setHideTimer]);
|
|
177
|
+
// 스크롤바 트랙 클릭
|
|
178
|
+
const handleTrackClick = useCallback((event) => {
|
|
179
|
+
if (!containerRef.current ||
|
|
180
|
+
!contentRef.current ||
|
|
181
|
+
!scrollbarRef.current)
|
|
182
|
+
return;
|
|
183
|
+
const scrollbar = scrollbarRef.current;
|
|
184
|
+
const rect = scrollbar.getBoundingClientRect();
|
|
185
|
+
const clickY = event.clientY - rect.top;
|
|
186
|
+
const container = containerRef.current;
|
|
187
|
+
const content = contentRef.current;
|
|
188
|
+
const containerHeight = container.clientHeight;
|
|
189
|
+
const contentHeight = content.scrollHeight;
|
|
190
|
+
const scrollRatio = clickY / containerHeight;
|
|
191
|
+
const newScrollTop = scrollRatio * (contentHeight - containerHeight);
|
|
192
|
+
container.scrollTop = Math.max(0, Math.min(contentHeight - containerHeight, newScrollTop));
|
|
193
|
+
updateScrollbar();
|
|
194
|
+
setScrollbarVisible(true);
|
|
195
|
+
setTrackVisible(true); // 클릭 시 트랙 표시
|
|
196
|
+
setHideTimer(2000); // 클릭 후 2초간 유지
|
|
197
|
+
}, [updateScrollbar, setHideTimer]);
|
|
198
|
+
// 이벤트 리스너 등록
|
|
199
|
+
useEffect(() => {
|
|
200
|
+
const container = containerRef.current;
|
|
201
|
+
if (!container)
|
|
202
|
+
return;
|
|
203
|
+
// 휠 이벤트 핸들러 (마우스 휠 스크롤 감지)
|
|
204
|
+
const handleWheel = () => {
|
|
205
|
+
clearHideTimer(); // 먼저 기존 타이머 취소
|
|
206
|
+
setScrollbarVisible(true);
|
|
207
|
+
// 휠 스크롤 시에는 트랙 숨김 (thumb만 표시)
|
|
208
|
+
updateScrollbar();
|
|
209
|
+
setHideTimer(700); // 0.7초 후 숨김
|
|
210
|
+
};
|
|
211
|
+
// 스크롤 이벤트 디바운스
|
|
212
|
+
const debouncedScroll = (event) => {
|
|
213
|
+
clearHideTimer(); // 먼저 기존 타이머 취소
|
|
214
|
+
setScrollbarVisible(true);
|
|
215
|
+
// 스크롤 시에도 트랙 숨김 (thumb만 표시)
|
|
216
|
+
updateScrollbar();
|
|
217
|
+
setHideTimer(700); // 0.7초 후 숨김
|
|
218
|
+
if (onScroll) {
|
|
219
|
+
onScroll(event);
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
container.addEventListener("scroll", debouncedScroll, {
|
|
223
|
+
passive: true,
|
|
224
|
+
});
|
|
225
|
+
container.addEventListener("wheel", handleWheel, { passive: true });
|
|
226
|
+
return () => {
|
|
227
|
+
container.removeEventListener("scroll", debouncedScroll);
|
|
228
|
+
container.removeEventListener("wheel", handleWheel);
|
|
229
|
+
};
|
|
230
|
+
}, [updateScrollbar, isDragging, onScroll, clearHideTimer, setHideTimer]);
|
|
231
|
+
// 마우스 이벤트 리스너 등록 (드래그)
|
|
232
|
+
useEffect(() => {
|
|
233
|
+
if (isDragging) {
|
|
234
|
+
document.addEventListener("mousemove", handleMouseMove);
|
|
235
|
+
document.addEventListener("mouseup", handleMouseUp);
|
|
236
|
+
return () => {
|
|
237
|
+
document.removeEventListener("mousemove", handleMouseMove);
|
|
238
|
+
document.removeEventListener("mouseup", handleMouseUp);
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}, [isDragging, handleMouseMove, handleMouseUp]);
|
|
242
|
+
// 초기 스크롤바 계산 및 스크롤 감지
|
|
243
|
+
useEffect(() => {
|
|
244
|
+
const checkAndUpdateScrollbar = () => {
|
|
245
|
+
updateScrollbar();
|
|
246
|
+
// 초기에 스크롤 가능한 콘텐츠가 있는지 확인
|
|
247
|
+
const container = containerRef.current;
|
|
248
|
+
const content = contentRef.current;
|
|
249
|
+
if (container && content) {
|
|
250
|
+
const hasScrollableContent = content.scrollHeight > container.clientHeight + 2; // 여유분 2px 추가
|
|
251
|
+
// console.log("초기 스크롤바 체크:", {
|
|
252
|
+
// hasScrollableContent,
|
|
253
|
+
// contentScrollHeight: content.scrollHeight,
|
|
254
|
+
// containerClientHeight: container.clientHeight,
|
|
255
|
+
// });
|
|
256
|
+
if (hasScrollableContent) {
|
|
257
|
+
// 초기에는 스크롤바를 숨김 상태로 유지 (스크롤이나 hover 시에만 표시)
|
|
258
|
+
setScrollbarVisible(false);
|
|
259
|
+
setTrackVisible(false);
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
// 스크롤이 필요 없으면 확실히 숨김
|
|
263
|
+
setScrollbarVisible(false);
|
|
264
|
+
setTrackVisible(false);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
// 차트 렌더링을 고려하여 더 긴 지연시간 적용
|
|
269
|
+
const timeoutId = setTimeout(checkAndUpdateScrollbar, 200);
|
|
270
|
+
return () => clearTimeout(timeoutId);
|
|
271
|
+
}, [updateScrollbar, children, isDragging]);
|
|
272
|
+
// 리사이즈 옵저버
|
|
273
|
+
useEffect(() => {
|
|
274
|
+
const container = containerRef.current;
|
|
275
|
+
const content = contentRef.current;
|
|
276
|
+
if (!container || !content)
|
|
277
|
+
return;
|
|
278
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
279
|
+
// 차트 렌더링 지연을 고려하여 디바운스 적용
|
|
280
|
+
setTimeout(() => {
|
|
281
|
+
updateScrollbar();
|
|
282
|
+
}, 100);
|
|
283
|
+
});
|
|
284
|
+
resizeObserver.observe(container);
|
|
285
|
+
resizeObserver.observe(content);
|
|
286
|
+
return () => {
|
|
287
|
+
resizeObserver.disconnect();
|
|
288
|
+
};
|
|
289
|
+
}, [updateScrollbar]);
|
|
290
|
+
// 컴포넌트 언마운트 시 타이머 정리
|
|
291
|
+
useEffect(() => {
|
|
292
|
+
return () => {
|
|
293
|
+
if (hideTimeoutRef.current) {
|
|
294
|
+
clearTimeout(hideTimeoutRef.current);
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
}, []);
|
|
298
|
+
return (jsxs("div", { className: `overlay-scrollbar ${className || ""}`, style: Object.assign({ position: "relative", overflow: "hidden", display: "flex", flexGrow: 1, width: "100%" }, style), children: [jsx("div", { ref: containerRef, className: "overlay-scrollbar-container", style: {
|
|
299
|
+
display: "flex",
|
|
300
|
+
flexGrow: 1,
|
|
301
|
+
overflow: "auto",
|
|
302
|
+
scrollbarWidth: "none", // Firefox
|
|
303
|
+
msOverflowStyle: "none", // IE/Edge
|
|
304
|
+
}, children: jsx("div", { ref: contentRef, style: { height: "100%", width: "100%" }, children: children }) }), jsx("div", { style: {
|
|
305
|
+
position: "absolute",
|
|
306
|
+
top: 0,
|
|
307
|
+
right: 0,
|
|
308
|
+
width: 20, // 20px 넓은 hover 영역
|
|
309
|
+
height: "100%",
|
|
310
|
+
zIndex: 5,
|
|
311
|
+
pointerEvents: "auto",
|
|
312
|
+
}, onMouseEnter: () => {
|
|
313
|
+
// 스크롤 가능한 경우에만 스크롤바 표시
|
|
314
|
+
if (isScrollable()) {
|
|
315
|
+
clearHideTimer();
|
|
316
|
+
setScrollbarVisible(true);
|
|
317
|
+
setTrackVisible(true); // hover 시 트랙까지 표시
|
|
318
|
+
}
|
|
319
|
+
}, onMouseLeave: () => {
|
|
320
|
+
// 스크롤바 hover 영역에서 벗어남 시
|
|
321
|
+
if (!isDragging && isScrollable()) {
|
|
322
|
+
setTrackVisible(false); // 트랙 숨김
|
|
323
|
+
setHideTimer(1000); // 1초 후 숨김
|
|
324
|
+
}
|
|
325
|
+
} }), jsx("div", { ref: scrollbarRef, onClick: handleTrackClick, onMouseEnter: () => {
|
|
326
|
+
// 스크롤 가능한 경우에만 스크롤바 영역에 hover 시 타이머 취소하고 표시 유지
|
|
327
|
+
if (isScrollable()) {
|
|
328
|
+
clearHideTimer();
|
|
329
|
+
setScrollbarVisible(true);
|
|
330
|
+
setTrackVisible(true);
|
|
331
|
+
}
|
|
332
|
+
}, onMouseLeave: () => {
|
|
333
|
+
// 스크롤바 영역에서 벗어나면 일정 시간 후 숨김
|
|
334
|
+
if (!isDragging && isScrollable()) {
|
|
335
|
+
setHideTimer(1000);
|
|
336
|
+
}
|
|
337
|
+
}, className: `overlay-scrollbar-track ${scrollbarVisible ? "visible" : ""}`, style: {
|
|
338
|
+
position: "absolute",
|
|
339
|
+
top: 0,
|
|
340
|
+
right: 2,
|
|
341
|
+
width: 8,
|
|
342
|
+
height: "100%",
|
|
343
|
+
opacity: scrollbarVisible ? 1 : 0,
|
|
344
|
+
transition: "opacity 0.3s ease-in-out",
|
|
345
|
+
pointerEvents: scrollbarVisible ? "auto" : "none",
|
|
346
|
+
zIndex: 10,
|
|
347
|
+
cursor: "pointer",
|
|
348
|
+
borderRadius: "4px",
|
|
349
|
+
// trackVisible 상태에 따라 트랙 배경 표시
|
|
350
|
+
backgroundColor: trackVisible
|
|
351
|
+
? "rgba(200, 200, 200, 0.3)"
|
|
352
|
+
: "transparent",
|
|
353
|
+
}, onMouseOver: (e) => {
|
|
354
|
+
e.target.style.backgroundColor =
|
|
355
|
+
"rgba(0, 0, 0, 0.1)";
|
|
356
|
+
}, onMouseOut: (e) => {
|
|
357
|
+
e.target.style.backgroundColor =
|
|
358
|
+
trackVisible
|
|
359
|
+
? "rgba(200, 200, 200, 0.3)"
|
|
360
|
+
: "transparent";
|
|
361
|
+
}, children: jsx("div", { ref: thumbRef, onMouseDown: handleThumbMouseDown, style: {
|
|
362
|
+
position: "absolute",
|
|
363
|
+
top: `${thumbTop}px`,
|
|
364
|
+
left: 0,
|
|
365
|
+
width: "100%",
|
|
366
|
+
height: `${Math.max(thumbHeight, 30)}px`, // 최소 30px 보장
|
|
367
|
+
backgroundColor: isDragging
|
|
368
|
+
? "rgba(0, 0, 0, 0.7)"
|
|
369
|
+
: "rgba(0, 0, 0, 0.5)",
|
|
370
|
+
borderRadius: "4px",
|
|
371
|
+
cursor: "pointer",
|
|
372
|
+
minHeight: "30px", // CSS로도 최소 높이 보장
|
|
373
|
+
transition: isDragging
|
|
374
|
+
? "none"
|
|
375
|
+
: "background-color 0.2s ease, transform 0.1s ease",
|
|
376
|
+
transform: isDragging ? "scaleX(1.2)" : "scaleX(1)",
|
|
377
|
+
opacity: isDragging ? 1 : 0.4,
|
|
378
|
+
}, onMouseOver: (e) => {
|
|
379
|
+
e.target.style.opacity = "1";
|
|
380
|
+
e.target.style.transform =
|
|
381
|
+
"scaleX(1.1)";
|
|
382
|
+
}, onMouseOut: (e) => {
|
|
383
|
+
if (!isDragging) {
|
|
384
|
+
e.target.style.opacity = "0.4";
|
|
385
|
+
e.target.style.transform =
|
|
386
|
+
"scaleX(1)";
|
|
387
|
+
}
|
|
388
|
+
} }) })] }));
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
export { OverlayScrollbar, OverlayScrollbar as default };
|
|
392
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../src/OverlayScrollbar.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;AAqDO,MAAM,gBAAgB,GAAG,UAAU,CAGxC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,GAAG,KAAI;AAChD,IAAA,MAAM,YAAY,GAAG,MAAM,CAAiB,IAAI,CAAC;AACjD,IAAA,MAAM,UAAU,GAAG,MAAM,CAAiB,IAAI,CAAC;AAC/C,IAAA,MAAM,YAAY,GAAG,MAAM,CAAiB,IAAI,CAAC;AACjD,IAAA,MAAM,QAAQ,GAAG,MAAM,CAAiB,IAAI,CAAC;;IAG7C,SAAS,CAAC,MAAK;QACX,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;QAC7C,KAAK,CAAC,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;aAyBf;AACL,QAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAEhC,QAAA,OAAO,MAAK;AACR,YAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AACpC,QAAA,CAAC;IACL,CAAC,EAAE,EAAE,CAAC;IAEN,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC/D,IAAA,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AACnD,IAAA,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,EAAE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