@ehfuse/overlay-scrollbar 1.2.0 → 1.2.2
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/src/OverlayScrollbar.d.ts +1 -1
- package/dist/src/OverlayScrollbar.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/OverlayScrollbar.d.ts +0 -43
- package/dist/OverlayScrollbar.d.ts.map +0 -1
- package/dist/core/OverlayScrollbar.d.ts +0 -43
- package/dist/core/OverlayScrollbar.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,4 +56,4 @@ interface OverlayScrollbarRef {
|
|
|
56
56
|
declare const OverlayScrollbar: React.ForwardRefExoticComponent<OverlayScrollbarProps & React.RefAttributes<OverlayScrollbarRef>>;
|
|
57
57
|
|
|
58
58
|
export { OverlayScrollbar, OverlayScrollbar as default };
|
|
59
|
-
export type { OverlayScrollbarRef };
|
|
59
|
+
export type { OverlayScrollbarProps, OverlayScrollbarRef };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,IAAI,OAAO,EAC3B,gBAAgB,GACnB,MAAM,wBAAwB,CAAC;AAChC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,IAAI,OAAO,EAC3B,gBAAgB,GACnB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACR,mBAAmB,EACnB,qBAAqB,GACxB,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayScrollbar.d.ts","sourceRoot":"","sources":["../../src/OverlayScrollbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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E,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,gBAAgB,mGA8oBrB,CAAC;AAEF,eAAe,gBAAgB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OverlayScrollbar.tsx
|
|
3
|
-
*
|
|
4
|
-
* A React component that provides a custom overlay scrollbar with smooth animations and auto-hide functionality
|
|
5
|
-
*
|
|
6
|
-
* @license MIT
|
|
7
|
-
* @copyright 2025 KIM YOUNG JIN (ehfuse@gmail.com)
|
|
8
|
-
*
|
|
9
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
11
|
-
* in the Software without restriction, including without limitation the rights
|
|
12
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
14
|
-
* furnished to do so, subject to the following conditions:
|
|
15
|
-
*
|
|
16
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
17
|
-
* copies or substantial portions of the Software.
|
|
18
|
-
*
|
|
19
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
-
* SOFTWARE.
|
|
26
|
-
*/
|
|
27
|
-
import React, { ReactNode } from "react";
|
|
28
|
-
interface OverlayScrollbarProps {
|
|
29
|
-
className?: string;
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
onScroll?: (event: Event) => void;
|
|
33
|
-
}
|
|
34
|
-
export interface OverlayScrollbarRef {
|
|
35
|
-
getScrollContainer: () => HTMLDivElement | null;
|
|
36
|
-
scrollTo: (options: ScrollToOptions) => void;
|
|
37
|
-
scrollTop: number;
|
|
38
|
-
scrollHeight: number;
|
|
39
|
-
clientHeight: number;
|
|
40
|
-
}
|
|
41
|
-
export declare const OverlayScrollbar: React.ForwardRefExoticComponent<OverlayScrollbarProps & React.RefAttributes<OverlayScrollbarRef>>;
|
|
42
|
-
export default OverlayScrollbar;
|
|
43
|
-
//# sourceMappingURL=OverlayScrollbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayScrollbar.d.ts","sourceRoot":"","sources":["../OverlayScrollbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,EAA4C,SAAS,EAAmC,MAAM,OAAO,CAAC;AAEpH,UAAU,qBAAqB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACrC;AAGD,MAAM,WAAW,mBAAmB;IAChC,kBAAkB,EAAE,MAAM,cAAc,GAAG,IAAI,CAAC;IAChD,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,mGAue5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OverlayScrollbar.tsx
|
|
3
|
-
*
|
|
4
|
-
* A React component that provides a custom overlay scrollbar with smooth animations and auto-hide functionality
|
|
5
|
-
*
|
|
6
|
-
* @license MIT
|
|
7
|
-
* @copyright 2025 KIM YOUNG JIN (ehfuse@gmail.com)
|
|
8
|
-
*
|
|
9
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
11
|
-
* in the Software without restriction, including without limitation the rights
|
|
12
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
14
|
-
* furnished to do so, subject to the following conditions:
|
|
15
|
-
*
|
|
16
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
17
|
-
* copies or substantial portions of the Software.
|
|
18
|
-
*
|
|
19
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
-
* SOFTWARE.
|
|
26
|
-
*/
|
|
27
|
-
import React, { ReactNode } from "react";
|
|
28
|
-
interface OverlayScrollbarProps {
|
|
29
|
-
className?: string;
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
onScroll?: (event: Event) => void;
|
|
33
|
-
}
|
|
34
|
-
export interface OverlayScrollbarRef {
|
|
35
|
-
getScrollContainer: () => HTMLDivElement | null;
|
|
36
|
-
scrollTo: (options: ScrollToOptions) => void;
|
|
37
|
-
scrollTop: number;
|
|
38
|
-
scrollHeight: number;
|
|
39
|
-
clientHeight: number;
|
|
40
|
-
}
|
|
41
|
-
export declare const OverlayScrollbar: React.ForwardRefExoticComponent<OverlayScrollbarProps & React.RefAttributes<OverlayScrollbarRef>>;
|
|
42
|
-
export default OverlayScrollbar;
|
|
43
|
-
//# sourceMappingURL=OverlayScrollbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayScrollbar.d.ts","sourceRoot":"","sources":["../../core/OverlayScrollbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,EAKV,SAAS,EAGZ,MAAM,OAAO,CAAC;AAEf,UAAU,qBAAqB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACrC;AAGD,MAAM,WAAW,mBAAmB;IAChC,kBAAkB,EAAE,MAAM,cAAc,GAAG,IAAI,CAAC;IAChD,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,mGAogB3B,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|