@karakuri-ui/react 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -33,11 +33,11 @@ npm install @karakuri-ui/tokens
33
33
  ### Tailwind v3
34
34
 
35
35
  ```css
36
+ @import '@karakuri-ui/tokens/css/all.css';
37
+
36
38
  @tailwind base;
37
39
  @tailwind components;
38
40
  @tailwind utilities;
39
-
40
- @import '@karakuri-ui/tokens/css/all.css';
41
41
  ```
42
42
 
43
43
  ```js
@@ -54,6 +54,7 @@ module.exports = {
54
54
 
55
55
  ```tsx
56
56
  import { Button, Card } from '@karakuri-ui/react'
57
+ import { Chart, type ChartConfig } from '@karakuri-ui/react/chart' // charts: separate entry
57
58
 
58
59
  <Button variant="solid" color="primary">Get Started</Button>
59
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karakuri-ui/react",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -73,7 +73,7 @@
73
73
  "tailwind-merge": "^2.3.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@karakuri-ui/tokens": "^0.1.0",
76
+ "@karakuri-ui/tokens": ">=0.1.0 <1.0.0",
77
77
  "react": "^18.2.0 || ^19.0.0",
78
78
  "react-dom": "^18.2.0 || ^19.0.0",
79
79
  "recharts": "^2.15.0 || ^3.0.0"