@motion.page/sdk 1.1.3 → 1.2.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/dist/core/Motion.d.ts +2 -0
- package/dist/index.cjs +12 -12
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -12
- package/dist/registries/SDKRegistry.d.ts +10 -0
- package/dist/responsive/ResponsiveManager.d.ts +86 -0
- package/dist/utils/PropertyParser/constants.d.ts +15 -0
- package/dist/utils/PropertyParser/index.d.ts +23 -0
- package/dist/utils/PropertyParser/parsers.d.ts +13 -0
- package/dist/utils/PropertyParser/predicates.d.ts +37 -0
- package/dist/utils/PropertyParser/relative.d.ts +17 -0
- package/dist/utils/PropertyParser/types.d.ts +83 -0
- package/dist/utils/PropertyParser/units.d.ts +53 -0
- package/dist/utils/{TextFlapper.d.ts → TextFlapper/TextFlapper.d.ts} +2 -37
- package/dist/utils/TextFlapper/charRender.d.ts +21 -0
- package/dist/utils/TextFlapper/constants.d.ts +20 -0
- package/dist/utils/TextFlapper/helpers.d.ts +50 -0
- package/dist/utils/TextFlapper/index.d.ts +16 -0
- package/dist/utils/TextFlapper/types.d.ts +89 -0
- package/dist/utils/TextSplitter/TextSplitter.d.ts +55 -0
- package/dist/utils/TextSplitter/helpers.d.ts +56 -0
- package/dist/utils/TextSplitter/index.d.ts +17 -0
- package/dist/utils/TextSplitter/splitDom.d.ts +51 -0
- package/dist/utils/TextSplitter/state.d.ts +8 -0
- package/dist/utils/TextSplitter/types.d.ts +39 -0
- package/package.json +1 -1
- package/dist/utils/PropertyParser.d.ts +0 -191
- package/dist/utils/TextSplitter.d.ts +0 -164
package/dist/core/Motion.d.ts
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
import type { TargetInput, AnimationConfig, AnimationEntry, AnimationVars } from '../types';
|
|
27
27
|
import { Timeline } from './Timeline';
|
|
28
28
|
import { MotionContext } from './MotionContext';
|
|
29
|
+
import type { ResponsiveManager, ResponsiveVariants, ResponsiveBreakpointConfig } from '../responsive/ResponsiveManager';
|
|
29
30
|
/**
|
|
30
31
|
* Motion function overloads
|
|
31
32
|
*/
|
|
@@ -53,6 +54,7 @@ declare namespace MotionFunction {
|
|
|
53
54
|
readonly normalize: typeof import("../utils/MotionUtils").normalize;
|
|
54
55
|
readonly wrap: typeof import("../utils/MotionUtils").wrap;
|
|
55
56
|
};
|
|
57
|
+
var responsive: (_name: string, variants: ResponsiveVariants, breakpointConfig: ResponsiveBreakpointConfig) => ResponsiveManager | undefined;
|
|
56
58
|
}
|
|
57
59
|
export declare const Motion: typeof MotionFunction;
|
|
58
60
|
export {};
|