cssxjs 0.1.2
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 +22 -0
- package/index.js +1 -0
- package/package.json +42 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CSSX
|
|
2
|
+
|
|
3
|
+
> CSS-in-JS with actual CSS syntax
|
|
4
|
+
|
|
5
|
+
Features:
|
|
6
|
+
|
|
7
|
+
- Write CSS inside JS files using the actual CSS syntax
|
|
8
|
+
- Supports both Web and React Native
|
|
9
|
+
- Override styles of parts of the component from the outside using [`:part()`](https://developer.mozilla.org/en-US/docs/Web/CSS/::part)
|
|
10
|
+
- Dynamic CSS Variables (`var(--foo-bar)`)
|
|
11
|
+
- Automatic styles caching (prevents unnecessary re-renderings)
|
|
12
|
+
- [Stylus](https://stylus-lang.com) support
|
|
13
|
+
- Theming
|
|
14
|
+
- Customizable style system based on Material Design guidelines (8px grid)
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
For installation and documentation see [cssx.dev](https://cssx.dev)
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
throw Error('TODO')
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cssxjs",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "CSS-in-JS with actual CSS syntax",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.js"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"test": "npm run test-client",
|
|
15
|
+
"test-client": "NODE_OPTIONS=\"$NODE_OPTIONS --expose-gc --experimental-vm-modules\" jest"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@nx-js/observer-util": "^4.1.3"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@jest/globals": "^29.7.0",
|
|
22
|
+
"@testing-library/react": "^15.0.7",
|
|
23
|
+
"jest": "^29.7.0",
|
|
24
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
25
|
+
"react": "^18.3.1",
|
|
26
|
+
"react-dom": "^18.3.1"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"react": "*"
|
|
30
|
+
},
|
|
31
|
+
"jest": {
|
|
32
|
+
"transform": {},
|
|
33
|
+
"testEnvironment": "jsdom",
|
|
34
|
+
"testRegex": "test_client/.*\\.jsx?$",
|
|
35
|
+
"testPathIgnorePatterns": [
|
|
36
|
+
"node_modules",
|
|
37
|
+
"<rootDir>/test_client/helpers"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"gitHead": "d9b506481de4fcec306a3d307fa81167ce6416f2"
|
|
42
|
+
}
|