easings-css
Advanced tools
Comparing version 2.0.1 to 2.0.2
# Changelog | ||
## v2.0.2 - 2020-10-05 | ||
### Added | ||
- Added prepare script for automatic builds. | ||
### Changed | ||
- Changed build to use index.json and removed JSON build. | ||
- Updated devDependencies. | ||
## v2.0.1 - 2020-09-14 | ||
@@ -4,0 +15,0 @@ |
48
index.js
@@ -1,25 +0,25 @@ | ||
const easeInSine = "cubic-bezier(0.47, 0, 0.745, 0.715)"; | ||
const easeOutSine = "cubic-bezier(0.39, 0.575, 0.565, 1)"; | ||
const easeInOutSine = "cubic-bezier(0.445, 0.05, 0.55, 0.95)"; | ||
const easeInQuad = "cubic-bezier(0.55, 0.085, 0.68, 0.53)"; | ||
const easeOutQuad = "cubic-bezier(0.25, 0.46, 0.45, 0.94)"; | ||
const easeInOutQuad = "cubic-bezier(0.455, 0.03, 0.515, 0.955)"; | ||
const easeInCubic = "cubic-bezier(0.55, 0.055, 0.675, 0.19)"; | ||
const easeOutCubic = "cubic-bezier(0.215, 0.61, 0.355, 1)"; | ||
const easeInOutCubic = "cubic-bezier(0.645, 0.045, 0.355, 1)"; | ||
const easeInQuart = "cubic-bezier(0.895, 0.03, 0.685, 0.22)"; | ||
const easeOutQuart = "cubic-bezier(0.165, 0.84, 0.44, 1)"; | ||
const easeInOutQuart = "cubic-bezier(0.77, 0, 0.175, 1)"; | ||
const easeInQuint = "cubic-bezier(0.755, 0.05, 0.855, 0.06)"; | ||
const easeOutQuint = "cubic-bezier(0.23, 1, 0.32, 1)"; | ||
const easeInOutQuint = "cubic-bezier(0.86, 0, 0.07, 1)"; | ||
const easeInExpo = "cubic-bezier(0.95, 0.05, 0.795, 0.035)"; | ||
const easeOutExpo = "cubic-bezier(0.19, 1, 0.22, 1)"; | ||
const easeInOutExpo = "cubic-bezier(1, 0, 0, 1)"; | ||
const easeInCirc = "cubic-bezier(0.6, 0.04, 0.98, 0.335)"; | ||
const easeOutCirc = "cubic-bezier(0.075, 0.82, 0.165, 1)"; | ||
const easeInOutCirc = "cubic-bezier(0.785, 0.135, 0.15, 0.86)"; | ||
const easeInBack = "cubic-bezier(0.6, -0.28, 0.735, 0.045)"; | ||
const easeOutBack = "cubic-bezier(0.175, 0.885, 0.32, 1.275)"; | ||
const easeInOutBack = "cubic-bezier(0.68, -0.55, 0.265, 1.55)"; | ||
const easeInSine = 'cubic-bezier(0.47, 0, 0.745, 0.715)'; | ||
const easeOutSine = 'cubic-bezier(0.39, 0.575, 0.565, 1)'; | ||
const easeInOutSine = 'cubic-bezier(0.445, 0.05, 0.55, 0.95)'; | ||
const easeInQuad = 'cubic-bezier(0.55, 0.085, 0.68, 0.53)'; | ||
const easeOutQuad = 'cubic-bezier(0.25, 0.46, 0.45, 0.94)'; | ||
const easeInOutQuad = 'cubic-bezier(0.455, 0.03, 0.515, 0.955)'; | ||
const easeInCubic = 'cubic-bezier(0.55, 0.055, 0.675, 0.19)'; | ||
const easeOutCubic = 'cubic-bezier(0.215, 0.61, 0.355, 1)'; | ||
const easeInOutCubic = 'cubic-bezier(0.645, 0.045, 0.355, 1)'; | ||
const easeInQuart = 'cubic-bezier(0.895, 0.03, 0.685, 0.22)'; | ||
const easeOutQuart = 'cubic-bezier(0.165, 0.84, 0.44, 1)'; | ||
const easeInOutQuart = 'cubic-bezier(0.77, 0, 0.175, 1)'; | ||
const easeInQuint = 'cubic-bezier(0.755, 0.05, 0.855, 0.06)'; | ||
const easeOutQuint = 'cubic-bezier(0.23, 1, 0.32, 1)'; | ||
const easeInOutQuint = 'cubic-bezier(0.86, 0, 0.07, 1)'; | ||
const easeInExpo = 'cubic-bezier(0.95, 0.05, 0.795, 0.035)'; | ||
const easeOutExpo = 'cubic-bezier(0.19, 1, 0.22, 1)'; | ||
const easeInOutExpo = 'cubic-bezier(1, 0, 0, 1)'; | ||
const easeInCirc = 'cubic-bezier(0.6, 0.04, 0.98, 0.335)'; | ||
const easeOutCirc = 'cubic-bezier(0.075, 0.82, 0.165, 1)'; | ||
const easeInOutCirc = 'cubic-bezier(0.785, 0.135, 0.15, 0.86)'; | ||
const easeInBack = 'cubic-bezier(0.6, -0.28, 0.735, 0.045)'; | ||
const easeOutBack = 'cubic-bezier(0.175, 0.885, 0.32, 1.275)'; | ||
const easeInOutBack = 'cubic-bezier(0.68, -0.55, 0.265, 1.55)'; | ||
export { | ||
@@ -26,0 +26,0 @@ easeInSine, |
{ | ||
"name": "easings-css", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Easing functions for CSS, provided as CSS Custom Properties, JavaScript modules, JSON object and Less and Sass variables.", | ||
@@ -17,2 +17,3 @@ "main": "index.json", | ||
"format": "prettier --write .", | ||
"prepare": "npm run build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -44,5 +45,5 @@ }, | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.3.0", | ||
"prettier": "^2.1.1" | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^2.1.2" | ||
} | ||
} |
@@ -67,3 +67,9 @@ # easings-css | ||
You can also import individual easings for better tree-shaking: | ||
```js | ||
import { easeOutQuad } from 'easings-css'; | ||
``` | ||
```js | ||
const Example = styled.div` | ||
@@ -74,8 +80,2 @@ transition-timing-function: ${easeOutQuad}; | ||
You can also import individual easings for better tree-shaking: | ||
```js | ||
import { easeOutQuad } from 'easings-css'; | ||
``` | ||
## Easings | ||
@@ -82,0 +82,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29292