@slimr/styled 2.1.21 → 2.1.22
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/README.md +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ Props to help style based on CSS state
|
|
|
55
55
|
|
|
56
56
|
```typescript
|
|
57
57
|
import {styled} from '@slimr/styled'
|
|
58
|
+
|
|
58
59
|
const MyDiv = styled.div`
|
|
59
60
|
_zx={{color: 'blue}} // applies color = blue
|
|
60
61
|
_active={{color: 'blue'}} // applied on :active
|
|
@@ -99,7 +100,7 @@ const MyDiv = styled.div`
|
|
|
99
100
|
### Pre-Enhanced HTML Elements
|
|
100
101
|
|
|
101
102
|
Import pre-enhanced HTML Elements like `Div` or `A` for profit. With a few exceptions, most elements
|
|
102
|
-
accept ANY CSS style as a prop when prefixed by '_'
|
|
103
|
+
accept ANY CSS style as a prop when prefixed by '\_'
|
|
103
104
|
|
|
104
105
|
```typescript
|
|
105
106
|
import {Div, A} from '@slimr/styled'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slimr/styled",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"author": "Brian Dombrowski",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"private": false,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react-dom": "^16.8 || ^17 || ^18"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@slimr/css": "2.1.
|
|
44
|
-
"@slimr/util": "3.2.
|
|
43
|
+
"@slimr/css": "2.1.19",
|
|
44
|
+
"@slimr/util": "3.2.16"
|
|
45
45
|
}
|
|
46
46
|
}
|