react-ui-animate 4.0.0-rc.4 → 4.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/package.json CHANGED
@@ -1,52 +1,52 @@
1
- {
2
- "name": "react-ui-animate",
3
- "version": "4.0.0-rc.4",
4
- "description": "React library for gestures and animation",
5
- "main": "dist/index.js",
6
- "peerDependencies": {
7
- "react": ">=16.8.0 || >=17.0.0 || >=18.0.0"
8
- },
9
- "dependencies": {
10
- "@raidipesh78/re-motion": "^4.0.1"
11
- },
12
- "devDependencies": {
13
- "@rollup/plugin-terser": "^0.4.4",
14
- "@types/jest": "^29.5.12",
15
- "@types/node": "^20.14.9",
16
- "@types/react": "^18.3.3",
17
- "@types/react-dom": "^18.3.0",
18
- "@types/resize-observer-browser": "^0.1.11",
19
- "babel-core": "^5.8.38",
20
- "babel-runtime": "^6.26.0",
21
- "react": "^18.3.1",
22
- "react-dom": "^18.3.1",
23
- "rollup": "^4.18.0",
24
- "rollup-plugin-typescript2": "^0.36.0",
25
- "typescript": "^5.5.2"
26
- },
27
- "scripts": {
28
- "dev:start": "pm2 start ecosystem.config.js",
29
- "dev:end": "pm2 stop ecosystem.config.js",
30
- "build": "rollup -c",
31
- "start": "rollup -c -w",
32
- "test": "echo \"Error: no test specified\" && exit 1",
33
- "version:minor": "npm version --no-git-tag-version minor",
34
- "version:major": "npm version --no-git-tag-version major",
35
- "version:patch": "npm version --no-git-tag-version patch"
36
- },
37
- "repository": {
38
- "type": "git",
39
- "url": "git+https://github.com/dipeshrai123/react-ui-animate.git"
40
- },
41
- "keywords": [
42
- "gesture",
43
- "animation",
44
- "react-ui-animate"
45
- ],
46
- "author": "Dipesh Rai",
47
- "license": "MIT",
48
- "bugs": {
49
- "url": "https://github.com/dipeshrai123/react-ui-animate/issues"
50
- },
51
- "homepage": "https://github.com/dipeshrai123/react-ui-animate#readme"
52
- }
1
+ {
2
+ "name": "react-ui-animate",
3
+ "version": "4.0.0",
4
+ "description": "React library for gestures and animation",
5
+ "main": "dist/index.js",
6
+ "peerDependencies": {
7
+ "react": ">=16.8.0 || >=17.0.0 || >=18.0.0"
8
+ },
9
+ "dependencies": {
10
+ "@raidipesh78/re-motion": "^4.0.1"
11
+ },
12
+ "devDependencies": {
13
+ "@rollup/plugin-terser": "^0.4.4",
14
+ "@types/jest": "^29.5.12",
15
+ "@types/node": "^20.14.9",
16
+ "@types/react": "^18.3.3",
17
+ "@types/react-dom": "^18.3.0",
18
+ "@types/resize-observer-browser": "^0.1.11",
19
+ "babel-core": "^5.8.38",
20
+ "babel-runtime": "^6.26.0",
21
+ "react": "^18.3.1",
22
+ "react-dom": "^18.3.1",
23
+ "rollup": "^4.18.0",
24
+ "rollup-plugin-typescript2": "^0.36.0",
25
+ "typescript": "^5.5.2"
26
+ },
27
+ "scripts": {
28
+ "dev:start": "pm2 start ecosystem.config.js",
29
+ "dev:end": "pm2 stop ecosystem.config.js",
30
+ "build": "rollup -c",
31
+ "start": "rollup -c -w",
32
+ "test": "echo \"Error: no test specified\" && exit 1",
33
+ "version:minor": "npm version --no-git-tag-version minor",
34
+ "version:major": "npm version --no-git-tag-version major",
35
+ "version:patch": "npm version --no-git-tag-version patch"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/dipeshrai123/react-ui-animate.git"
40
+ },
41
+ "keywords": [
42
+ "gesture",
43
+ "animation",
44
+ "react-ui-animate"
45
+ ],
46
+ "author": "Dipesh Rai",
47
+ "license": "MIT",
48
+ "bugs": {
49
+ "url": "https://github.com/dipeshrai123/react-ui-animate/issues"
50
+ },
51
+ "homepage": "https://github.com/dipeshrai123/react-ui-animate#readme"
52
+ }
@@ -1,59 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <HTMLCodeStyleSettings>
4
- <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
5
- </HTMLCodeStyleSettings>
6
- <JSCodeStyleSettings version="0">
7
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
8
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
9
- <option name="USE_DOUBLE_QUOTES" value="false" />
10
- <option name="FORCE_QUOTE_STYlE" value="true" />
11
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
12
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
13
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
14
- </JSCodeStyleSettings>
15
- <TypeScriptCodeStyleSettings version="0">
16
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
17
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
18
- <option name="USE_DOUBLE_QUOTES" value="false" />
19
- <option name="FORCE_QUOTE_STYlE" value="true" />
20
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
21
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
22
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
23
- </TypeScriptCodeStyleSettings>
24
- <VueCodeStyleSettings>
25
- <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
26
- <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
27
- </VueCodeStyleSettings>
28
- <codeStyleSettings language="HTML">
29
- <option name="SOFT_MARGINS" value="80" />
30
- <indentOptions>
31
- <option name="INDENT_SIZE" value="2" />
32
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
33
- <option name="TAB_SIZE" value="2" />
34
- </indentOptions>
35
- </codeStyleSettings>
36
- <codeStyleSettings language="JavaScript">
37
- <option name="SOFT_MARGINS" value="80" />
38
- <indentOptions>
39
- <option name="INDENT_SIZE" value="2" />
40
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
41
- <option name="TAB_SIZE" value="2" />
42
- </indentOptions>
43
- </codeStyleSettings>
44
- <codeStyleSettings language="TypeScript">
45
- <option name="SOFT_MARGINS" value="80" />
46
- <indentOptions>
47
- <option name="INDENT_SIZE" value="2" />
48
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
49
- <option name="TAB_SIZE" value="2" />
50
- </indentOptions>
51
- </codeStyleSettings>
52
- <codeStyleSettings language="Vue">
53
- <option name="SOFT_MARGINS" value="80" />
54
- <indentOptions>
55
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
56
- </indentOptions>
57
- </codeStyleSettings>
58
- </code_scheme>
59
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/react-ui-animate.iml" filepath="$PROJECT_DIR$/.idea/react-ui-animate.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
@@ -1,9 +0,0 @@
1
- import { FluidValue } from '@raidipesh78/re-motion';
2
- type ExtrapolateType = 'extend' | 'identity' | 'clamp';
3
- export type ExtrapolateConfig = {
4
- extrapolate?: ExtrapolateType;
5
- extrapolateLeft?: ExtrapolateType;
6
- extrapolateRight?: ExtrapolateType;
7
- };
8
- export declare const interpolate: (value: FluidValue, inputRange: Array<number>, outputRange: Array<number> | Array<string>, extrapolateConfig?: ExtrapolateConfig) => import("@raidipesh78/re-motion/dist/fluids/FluidInterpolation").FluidInterpolation;
9
- export {};
@@ -1,26 +0,0 @@
1
- import { FluidValue } from '@raidipesh78/re-motion';
2
- import { ExtrapolateConfig } from './core/inerpolate';
3
- /**
4
- * Maps the input range to the given output range using the specified extrapolation configuration.
5
- * The function ensures that the value is either a number or a FluidValue.
6
- *
7
- * @param value - The value to be interpolated, which must be a FluidValue.
8
- * @param inputRange - An array of numbers defining the input range.
9
- * @param outputRange - An array of numbers or strings defining the output range.
10
- * @param extrapolateConfig - The extrapolation configuration, which can be "clamp", "identity", or "extend".
11
- * @returns - The interpolated value, which will be a number or FluidValue.
12
- * @throws - Will throw an error if the value is not a number or FluidValue.
13
- */
14
- export declare function interpolate(value: FluidValue, inputRange: number[], outputRange: number[] | string[], extrapolateConfig?: ExtrapolateConfig): import("@raidipesh78/re-motion/dist/fluids/FluidInterpolation").FluidInterpolation;
15
- /**
16
- * A shorthand function for interpolate that maps the input range [0, 1] to the given [minOutput, maxOutput].
17
- * The function ensures that the value is either a number or a FluidValue.
18
- *
19
- * @param value - The value to be interpolated, which must be a FluidValue.
20
- * @param minOutput - The minimum value of the output range, which can be a number or string.
21
- * @param maxOutput - The maximum value of the output range, which can be a number or string.
22
- * @param extrapolateConfig - The extrapolation configuration, which can be "clamp", "identity", or "extend".
23
- * @returns - The interpolated value, which will be a number or FluidValue.
24
- * @throws - Will throw an error if the value is not a number or FluidValue.
25
- */
26
- export declare function bInterpolate(value: FluidValue, minOutput: number | string, maxOutput: number | string, extrapolateConfig?: ExtrapolateConfig): import("@raidipesh78/re-motion/dist/fluids/FluidInterpolation").FluidInterpolation;