@typestyles/props 0.4.36 → 0.4.37

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 +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -125,8 +125,9 @@ const atoms = createProps(
125
125
  }),
126
126
  );
127
127
 
128
- const card = recipe('card', {
129
- base: { borderRadius: '8px', backgroundColor: 'white' },
128
+ const card = recipe({
129
+ name: 'card',
130
+ styles: { base: { borderRadius: '8px', backgroundColor: 'white' } },
130
131
  });
131
132
 
132
133
  <div className={cx(card(), atoms({ display: 'flex', gap: 2 }))} />;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typestyles/props",
3
- "version": "0.4.36",
3
+ "version": "0.4.37",
4
4
  "description": "Type-safe atomic CSS utility generator for typestyles",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "typestyles": "0.31.1"
25
+ "typestyles": "0.32.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "eslint": "^9.39.2",