morphing-scroll 2.4.0 → 2.4.1
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/package.json +3 -2
- package/types/index.d.ts +9 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "morphing-scroll",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "React library for custom object scrolling and scrollbar styling",
|
|
5
5
|
"author": "Georg Schilin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
12
|
+
"require": "./cjs/index.js",
|
|
13
|
+
"types": "./types/index.d.ts"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"types": "./types/index.d.ts",
|
package/types/index.d.ts
CHANGED
|
@@ -111,13 +111,19 @@ declare const MorphScroll: React.FC<MorphScrollT>;
|
|
|
111
111
|
|
|
112
112
|
/** ---
|
|
113
113
|
* ###  Morph - all content of the library
|
|
114
|
+
*
|
|
115
|
+
* ---
|
|
116
|
+
* ### Returns:
|
|
117
|
+
* - `ResizeTracker`: *component that monitors changes to an element’s size.*
|
|
118
|
+
* - `IntersectionTracker`: *component for tracking the intersection of an element with the viewport.*
|
|
119
|
+
* - `MorphScroll`: *is the main component of the library responsible for displaying your data.*
|
|
114
120
|
*/
|
|
115
121
|
declare const Morph: {
|
|
116
|
-
/** See `MorphScroll` */
|
|
122
|
+
/** See `{ MorphScroll }` */
|
|
117
123
|
MorphScroll: React.FC<MorphScrollT>;
|
|
118
|
-
/** See `ResizeTracker` */
|
|
124
|
+
/** See `{ ResizeTracker }` */
|
|
119
125
|
ResizeTracker: React.FC<ResizeTrackerT>;
|
|
120
|
-
/** See `IntersectionTracker` */
|
|
126
|
+
/** See `{ IntersectionTracker }` */
|
|
121
127
|
IntersectionTracker: React.FC<IntersectionTrackerT>;
|
|
122
128
|
};
|
|
123
129
|
|