7onic 0.1.2 → 0.1.4
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/dist/index.js +1665 -151
- package/llms.txt +5 -5
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -19,11 +19,11 @@ Initialize 7onic in your project. Creates `7onic.json`, installs base dependenci
|
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
21
|
npx 7onic init
|
|
22
|
-
npx 7onic init --yes #
|
|
22
|
+
npx 7onic init --tailwind v3 --yes # Explicit v3, skip prompts
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
**What it does:**
|
|
26
|
-
1. Detects Tailwind version (v3: config file exists, v4: no config)
|
|
26
|
+
1. Detects Tailwind version (v3: config file exists, v4: no config) — or uses `--tailwind` flag
|
|
27
27
|
2. Detects package manager (npm/pnpm/yarn/bun)
|
|
28
28
|
3. Installs: `@7onic-ui/tokens`, `clsx`, `tailwind-merge`, `class-variance-authority`
|
|
29
29
|
4. Creates/updates CSS file with token imports
|
|
@@ -40,7 +40,7 @@ Add components to your project. Copies `.tsx` source files and installs required
|
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
42
|
npx 7onic add <component...> # Add specific components
|
|
43
|
-
npx 7onic add --all # Add all
|
|
43
|
+
npx 7onic add --all # Add all 39 components
|
|
44
44
|
npx 7onic add button --yes # Skip confirmation prompt
|
|
45
45
|
npx 7onic add card --overwrite # Overwrite existing files
|
|
46
46
|
```
|
|
@@ -78,9 +78,9 @@ npx 7onic add card --overwrite # Overwrite existing files
|
|
|
78
78
|
| aliases.components | Where components are copied to |
|
|
79
79
|
| aliases.utils | Where cn() utility lives |
|
|
80
80
|
|
|
81
|
-
## Available Components (
|
|
81
|
+
## Available Components (39)
|
|
82
82
|
|
|
83
|
-
accordion, alert, avatar, badge, breadcrumb, button, button-group, card, chart, checkbox, divider, drawer, dropdown, icon-button, input, metric-card, modal, navigation-menu, pagination, popover, progress, radio-group, segmented, select, skeleton, slider, spinner, switch, table, tabs, textarea, toast, toggle, toggle-group, tooltip
|
|
83
|
+
accordion, alert, avatar, badge, breadcrumb, button, button-group, card, chat-input, chat-message, chart, checkbox, divider, drawer, dropdown, icon-button, input, metric-card, modal, navigation-menu, pagination, popover, progress, quick-reply, radio-group, segmented, select, skeleton, slider, spinner, switch, table, tabs, textarea, toast, toggle, toggle-group, tooltip, typing-indicator
|
|
84
84
|
|
|
85
85
|
## Post-install Setup
|
|
86
86
|
|