csszyx 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -74,8 +74,8 @@ The `sz` prop accepts an object where keys are Tailwind property names and value
74
74
  <div sz={{ m: -4 }} />
75
75
  // -> className="-m-4"
76
76
 
77
- // Opacity modifier
78
- <div sz={{ bg: "blue-500/20" }} />
77
+ // Opacity modifier (use object form)
78
+ <div sz={{ bg: { color: "blue-500", op: 20 } }} />
79
79
  // -> className="bg-blue-500/20"
80
80
  ```
81
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "csszyx",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Universal CSS-in-JS for Tailwind CSS with WASM core",
5
5
  "keywords": [
6
6
  "css",
@@ -50,11 +50,11 @@
50
50
  "dist"
51
51
  ],
52
52
  "dependencies": {
53
- "@csszyx/core": "0.1.2",
54
- "@csszyx/runtime": "0.1.2",
55
- "@csszyx/compiler": "0.1.2",
56
- "@csszyx/unplugin": "0.1.2",
57
- "@csszyx/types": "0.1.2"
53
+ "@csszyx/core": "0.1.3",
54
+ "@csszyx/runtime": "0.1.3",
55
+ "@csszyx/compiler": "0.1.3",
56
+ "@csszyx/unplugin": "0.1.3",
57
+ "@csszyx/types": "0.1.3"
58
58
  },
59
59
  "devDependencies": {
60
60
  "tsup": "^8.0.2",