@griffel/react
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "@griffel/react", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "React implementation of Atomic CSS-in-JS", | ||
@@ -12,3 +12,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@griffel/core": "^1.5.1", | ||
"@griffel/core": "^1.6.0", | ||
"tslib": "^2.1.0" | ||
@@ -15,0 +15,0 @@ }, |
@@ -251,2 +251,21 @@ # Griffel for React | ||
### `shorthands.transition` | ||
```js | ||
import { makeStyles, shorthands } from '@griffel/react'; | ||
const useClasses = makeStyles({ | ||
root: { | ||
...shorthands.transition('inherit'), | ||
...shorthands.transition('margin-right', '2s'), | ||
...shorthands.transition('margin-right', '4s', '1s'), | ||
...shorthands.transition('margin-right', '4s', '1s', 'ease-in'), | ||
...shorthands.transition([ | ||
['margin-right', '4s', '1s', 'ease-in'], | ||
['margin-left', '2s', '0s', 'ease-in-out'], | ||
]), | ||
}, | ||
}); | ||
``` | ||
## `makeStaticStyles()` | ||
@@ -253,0 +272,0 @@ |
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
61354
452
Updated@griffel/core@^1.6.0