@studiometa/js-toolkit 2.0.0-beta.5 → 2.0.0-beta.9
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/Base/index.d.ts +27 -1
- package/Base/index.js +98 -42
- package/Base/managers/EventsManager.d.ts +3 -1
- package/Base/managers/EventsManager.js +6 -2
- package/Base/managers/OptionsManager.d.ts +2 -0
- package/Base/managers/RefsManager.d.ts +2 -0
- package/Base/managers/RefsManager.js +5 -0
- package/Base/managers/ServicesManager.d.ts +29 -4
- package/Base/managers/ServicesManager.js +6 -2
- package/README.md +13 -70
- package/decorators/index.d.ts +8 -9
- package/decorators/index.js +8 -9
- package/decorators/withBreakpointObserver.js +2 -2
- package/decorators/withDrag.js +8 -2
- package/decorators/withIntersectionObserver.js +4 -3
- package/decorators/withMountWhenInView.js +7 -4
- package/decorators/withScrolledInView.d.ts +4 -1
- package/decorators/withScrolledInView.js +56 -39
- package/decorators/withVue2.js +2 -2
- package/helpers/index.d.ts +4 -5
- package/helpers/index.js +4 -5
- package/index.d.ts +4 -21
- package/index.js +4 -5
- package/index.modern.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
- package/services/Service.d.ts +22 -17
- package/services/Service.js +12 -7
- package/services/drag.d.ts +4 -18
- package/services/drag.js +81 -104
- package/services/index.d.ts +13 -10
- package/services/index.js +7 -8
- package/services/key.d.ts +4 -13
- package/services/key.js +55 -56
- package/services/load.d.ts +3 -13
- package/services/load.js +32 -26
- package/services/pointer.d.ts +4 -13
- package/services/pointer.js +61 -64
- package/services/raf.d.ts +3 -13
- package/services/raf.js +22 -25
- package/services/resize.d.ts +3 -13
- package/services/resize.js +48 -30
- package/services/scroll.d.ts +3 -13
- package/services/scroll.js +65 -61
- package/utils/collide/index.d.ts +6 -7
- package/utils/collide/index.js +6 -7
- package/utils/css/index.d.ts +4 -5
- package/utils/css/index.js +6 -5
- package/utils/css/transition.js +2 -2
- package/utils/history.js +2 -2
- package/utils/index.d.ts +11 -35
- package/utils/index.js +11 -17
- package/utils/math/ease.d.ts +78 -0
- package/utils/math/ease.js +41 -0
- package/utils/math/index.d.ts +8 -8
- package/utils/math/index.js +8 -8
- package/utils/object/getAllProperties.js +1 -1
- package/utils/object/index.d.ts +3 -4
- package/utils/object/index.js +3 -4
- package/utils/string/index.d.ts +10 -11
- package/utils/string/index.js +10 -11
package/utils/object/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { autoBind, getAllProperties, isObject };
|
|
1
|
+
export { default as autoBind } from './autoBind.js';
|
|
2
|
+
export { default as getAllProperties } from './getAllProperties.js';
|
|
3
|
+
export { default as isObject } from './isObject.js';
|
package/utils/string/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { withLeadingCharacters, withLeadingSlash, withoutLeadingCharacters, withoutLeadingCharactersRecursive, withoutLeadingSlash, withoutTrailingCharacters, withoutTrailingCharactersRecursive, withoutTrailingSlash, withTrailingCharacters, withTrailingSlash };
|
|
1
|
+
export { default as withLeadingCharacters } from "./withLeadingCharacters.js";
|
|
2
|
+
export { default as withLeadingSlash } from "./withLeadingSlash.js";
|
|
3
|
+
export { default as withoutLeadingCharacters } from "./withoutLeadingCharacters.js";
|
|
4
|
+
export { default as withoutLeadingCharactersRecursive } from "./withoutLeadingCharactersRecursive.js";
|
|
5
|
+
export { default as withoutLeadingSlash } from "./withoutLeadingSlash.js";
|
|
6
|
+
export { default as withoutTrailingCharacters } from "./withoutTrailingCharacters.js";
|
|
7
|
+
export { default as withoutTrailingCharactersRecursive } from "./withoutTrailingCharactersRecursive.js";
|
|
8
|
+
export { default as withoutTrailingSlash } from "./withoutTrailingSlash.js";
|
|
9
|
+
export { default as withTrailingCharacters } from "./withTrailingCharacters.js";
|
|
10
|
+
export { default as withTrailingSlash } from "./withTrailingSlash.js";
|
package/utils/string/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { withLeadingCharacters, withLeadingSlash, withoutLeadingCharacters, withoutLeadingCharactersRecursive, withoutLeadingSlash, withoutTrailingCharacters, withoutTrailingCharactersRecursive, withoutTrailingSlash, withTrailingCharacters, withTrailingSlash };
|
|
1
|
+
export { default as withLeadingCharacters } from './withLeadingCharacters.js';
|
|
2
|
+
export { default as withLeadingSlash } from './withLeadingSlash.js';
|
|
3
|
+
export { default as withoutLeadingCharacters } from './withoutLeadingCharacters.js';
|
|
4
|
+
export { default as withoutLeadingCharactersRecursive } from './withoutLeadingCharactersRecursive.js';
|
|
5
|
+
export { default as withoutLeadingSlash } from './withoutLeadingSlash.js';
|
|
6
|
+
export { default as withoutTrailingCharacters } from './withoutTrailingCharacters.js';
|
|
7
|
+
export { default as withoutTrailingCharactersRecursive } from './withoutTrailingCharactersRecursive.js';
|
|
8
|
+
export { default as withoutTrailingSlash } from './withoutTrailingSlash.js';
|
|
9
|
+
export { default as withTrailingCharacters } from './withTrailingCharacters.js';
|
|
10
|
+
export { default as withTrailingSlash } from './withTrailingSlash.js';
|