fela-identifier
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "fela-identifier", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Fela enhancer to creation identifying rules", | ||
@@ -27,7 +27,7 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"fela": "^6.2.2", | ||
"fela-monolithic": "^5.0.26", | ||
"fela-tools": "^5.2.2", | ||
"react-fela": "^8.0.2" | ||
"fela": "^6.2.3", | ||
"fela-monolithic": "^5.0.27", | ||
"fela-tools": "^5.2.3", | ||
"react-fela": "^8.0.3" | ||
} | ||
} |
# fela-identifier | ||
<img alt="npm version" src="https://badge.fury.io/js/fela-identifier.svg"> <img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-identifier.svg"> | ||
<img alt="npm version" src="https://badge.fury.io/js/fela-identifier.svg"> <img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-identifier.svg"> <a href="https://bundlephobia.com/result?p=fela-identifier@latest"><img alt="Bundlephobia" src="https://img.shields.io/bundlephobia/minzip/fela-identifier.svg"></a> | ||
@@ -18,3 +18,3 @@ This enhancer allows you to create rules for which the renderer will generate unique class names. | ||
.parent-element:hover .child-element { | ||
background-color: red; | ||
background-color: red; | ||
} | ||
@@ -66,3 +66,3 @@ ``` | ||
##### Returns | ||
(*Function*): A Fela rule that can be rendered. It also has a field `className` and an overridden method `toString` that returns the same value as the field `className`. You can use it like this: | ||
(*Function*): A Fela rule that can be rendered. It also has a field `className` and an overridden method `toString` that returns the same value as the field `className`. You can use it like this: | ||
```js | ||
@@ -69,0 +69,0 @@ import createIdentifier from 'fela-identifier' |
13234