@7onic-ui/react 0.2.4 → 0.2.5

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 (3) hide show
  1. package/README.md +3 -3
  2. package/llms.txt +3 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -263,10 +263,10 @@ Works with Claude Code, Cursor, GitHub Copilot, ChatGPT, and any AI tool that re
263
263
  - [x] Automated doc verification (8 checks, AST-powered, blocks publish on error)
264
264
  - [x] Automated component verification (7 checks — hardcoded colors, tokens, dark mode, dead code)
265
265
  - [x] Multilingual documentation — English, Japanese, Korean (powered by next-intl)
266
- - [x] npm package distribution — `@7onic-ui/react` + `@7onic-ui/tokens` v0.2.4
266
+ - [x] npm package distribution — `@7onic-ui/react` + `@7onic-ui/tokens` v0.2.5
267
267
  - [x] AI integration — `llms.txt` standard, setup guides for Claude Code / Cursor / Copilot / ChatGPT
268
268
  - [x] `npx 7onic add` CLI (shadcn-style) — source copy with dependency resolution
269
- - [x] `npx 7onic init` Vite support — `tsconfig.app.json` detection, `@import "tailwindcss"` + `@source` auto-inject
269
+ - [x] `npx 7onic init` Vite support — `tsconfig.app.json` detection, `@import "tailwindcss"` + `@source` auto-inject, `@/` path alias auto-configure
270
270
  - [ ] Theme Customizer — live palette preview + CSS variable export
271
271
  - [ ] Figma UI Kit
272
272
  - [ ] Dashboard / landing templates
@@ -290,5 +290,5 @@ MIT
290
290
  <p align="center">
291
291
  <strong>One JSON, every format — from Figma to production.</strong><br>
292
292
  Independently built.<br>
293
- <sub>Last updated: 2026-04-15</sub>
293
+ <sub>Last updated: 2026-04-15 (v0.2.5)</sub>
294
294
  </p>
package/llms.txt CHANGED
@@ -45,7 +45,7 @@ npm install @7onic-ui/react @7onic-ui/tokens lucide-react
45
45
 
46
46
  **New project (Tailwind v4):**
47
47
  ```css
48
- /* globals.css — ALL imports are required, do not skip any */
48
+ /* globals.css (Next.js) or src/index.css (Vite) — ALL imports are required, do not skip any */
49
49
  @import "tailwindcss";
50
50
  @import "@7onic-ui/tokens/css/variables.css";
51
51
  @import "@7onic-ui/tokens/css/themes/light.css";
@@ -53,6 +53,8 @@ npm install @7onic-ui/react @7onic-ui/tokens lucide-react
53
53
  @import "@7onic-ui/tokens/tailwind/v4-theme.css";
54
54
  ```
55
55
 
56
+ > **Vite + Tailwind v4**: `npx 7onic init` auto-injects `@import "tailwindcss"` if not present, and automatically configures the `@/` path alias (patches `tsconfig.app.json` + `vite.config.ts`, installs `@types/node`). `npx 7onic add` auto-injects `@source "./components/ui"` (or relative path) so Tailwind scans your component files. No manual setup needed.
57
+
56
58
  **Existing project with Tailwind v3** (detect from tailwind.config.js):
57
59
  ```css
58
60
  /* globals.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7onic-ui/react",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "*.css"