Socket
Socket
Sign inDemoInstall

@griffel/react

Package Overview
Dependencies
Maintainers
6
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@griffel/react - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc