acidui-core 1.0.0

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 (194) hide show
  1. package/README.md +127 -0
  2. package/eslint.config.js +23 -0
  3. package/git +0 -0
  4. package/index.html +13 -0
  5. package/package.json +38 -0
  6. package/public/vite.svg +1 -0
  7. package/src/App.css +8 -0
  8. package/src/App.tsx +26 -0
  9. package/src/assets/react.svg +1 -0
  10. package/src/cli/main.mjs +209 -0
  11. package/src/components/AcidAccordion.css +52 -0
  12. package/src/components/AcidAccordion.tsx +72 -0
  13. package/src/components/AcidAlert.css +86 -0
  14. package/src/components/AcidAlert.tsx +52 -0
  15. package/src/components/AcidAnimatedNotification.css +103 -0
  16. package/src/components/AcidAnimatedNotification.tsx +62 -0
  17. package/src/components/AcidAspectRatio.css +16 -0
  18. package/src/components/AcidAspectRatio.tsx +21 -0
  19. package/src/components/AcidAuroraText.css +49 -0
  20. package/src/components/AcidAuroraText.tsx +19 -0
  21. package/src/components/AcidAvatar.css +70 -0
  22. package/src/components/AcidAvatar.tsx +32 -0
  23. package/src/components/AcidBadge.css +54 -0
  24. package/src/components/AcidBadge.tsx +27 -0
  25. package/src/components/AcidBentoGrid.css +98 -0
  26. package/src/components/AcidBentoGrid.tsx +68 -0
  27. package/src/components/AcidBorderBeam.css +27 -0
  28. package/src/components/AcidBorderBeam.tsx +37 -0
  29. package/src/components/AcidBreadcrumb.css +36 -0
  30. package/src/components/AcidBreadcrumb.tsx +35 -0
  31. package/src/components/AcidButton.css +97 -0
  32. package/src/components/AcidButton.tsx +29 -0
  33. package/src/components/AcidCalendar.css +136 -0
  34. package/src/components/AcidCalendar.tsx +144 -0
  35. package/src/components/AcidCard.css +42 -0
  36. package/src/components/AcidCard.tsx +26 -0
  37. package/src/components/AcidCarousel.css +166 -0
  38. package/src/components/AcidCarousel.tsx +168 -0
  39. package/src/components/AcidChart.css +132 -0
  40. package/src/components/AcidChart.tsx +198 -0
  41. package/src/components/AcidCheckbox.css +64 -0
  42. package/src/components/AcidCheckbox.tsx +58 -0
  43. package/src/components/AcidCodeBlock.css +51 -0
  44. package/src/components/AcidCodeBlock.tsx +25 -0
  45. package/src/components/AcidCodeDisplay.css +79 -0
  46. package/src/components/AcidCodeDisplay.tsx +42 -0
  47. package/src/components/AcidCollapsible.css +54 -0
  48. package/src/components/AcidCollapsible.tsx +56 -0
  49. package/src/components/AcidCommand.css +207 -0
  50. package/src/components/AcidCommand.tsx +149 -0
  51. package/src/components/AcidConfettiButton.tsx +37 -0
  52. package/src/components/AcidContextMenu.css +84 -0
  53. package/src/components/AcidContextMenu.tsx +111 -0
  54. package/src/components/AcidCountUp.css +54 -0
  55. package/src/components/AcidCountUp.tsx +66 -0
  56. package/src/components/AcidDialog.css +124 -0
  57. package/src/components/AcidDialog.tsx +89 -0
  58. package/src/components/AcidDivider.css +44 -0
  59. package/src/components/AcidDivider.tsx +28 -0
  60. package/src/components/AcidDock.css +74 -0
  61. package/src/components/AcidDock.tsx +65 -0
  62. package/src/components/AcidDragOrderList.css +45 -0
  63. package/src/components/AcidDragOrderList.tsx +58 -0
  64. package/src/components/AcidDrawer.css +64 -0
  65. package/src/components/AcidDrawer.tsx +55 -0
  66. package/src/components/AcidDropdown.css +103 -0
  67. package/src/components/AcidDropdown.tsx +87 -0
  68. package/src/components/AcidDynamicNavbar.css +273 -0
  69. package/src/components/AcidDynamicNavbar.tsx +157 -0
  70. package/src/components/AcidElectroBorder.css +141 -0
  71. package/src/components/AcidElectroBorder.tsx +53 -0
  72. package/src/components/AcidFloatingNavbar.css +152 -0
  73. package/src/components/AcidFloatingNavbar.tsx +111 -0
  74. package/src/components/AcidForm.css +78 -0
  75. package/src/components/AcidForm.tsx +45 -0
  76. package/src/components/AcidGlassFolder.css +111 -0
  77. package/src/components/AcidGlassFolder.tsx +34 -0
  78. package/src/components/AcidGradientButton.css +99 -0
  79. package/src/components/AcidGradientButton.tsx +37 -0
  80. package/src/components/AcidGridBox.css +61 -0
  81. package/src/components/AcidGridBox.tsx +26 -0
  82. package/src/components/AcidIconBox.css +42 -0
  83. package/src/components/AcidIconBox.tsx +18 -0
  84. package/src/components/AcidInput.css +99 -0
  85. package/src/components/AcidInput.tsx +27 -0
  86. package/src/components/AcidInputOtp.css +57 -0
  87. package/src/components/AcidInputOtp.tsx +102 -0
  88. package/src/components/AcidLabel.css +26 -0
  89. package/src/components/AcidLabel.tsx +18 -0
  90. package/src/components/AcidLayout.css +42 -0
  91. package/src/components/AcidLayout.tsx +35 -0
  92. package/src/components/AcidLink.css +26 -0
  93. package/src/components/AcidLink.tsx +19 -0
  94. package/src/components/AcidMagicCard.css +27 -0
  95. package/src/components/AcidMagicCard.tsx +49 -0
  96. package/src/components/AcidMagicLoader.css +47 -0
  97. package/src/components/AcidMagicLoader.tsx +43 -0
  98. package/src/components/AcidMarquee.css +59 -0
  99. package/src/components/AcidMarquee.tsx +28 -0
  100. package/src/components/AcidMeter.css +118 -0
  101. package/src/components/AcidMeter.tsx +37 -0
  102. package/src/components/AcidNavbar.css +142 -0
  103. package/src/components/AcidNavbar.tsx +111 -0
  104. package/src/components/AcidNavigationMenu.css +47 -0
  105. package/src/components/AcidNavigationMenu.tsx +38 -0
  106. package/src/components/AcidPagination.css +57 -0
  107. package/src/components/AcidPagination.tsx +51 -0
  108. package/src/components/AcidProgress.css +57 -0
  109. package/src/components/AcidProgress.tsx +40 -0
  110. package/src/components/AcidRadioGroup.css +98 -0
  111. package/src/components/AcidRadioGroup.tsx +70 -0
  112. package/src/components/AcidResizable.css +34 -0
  113. package/src/components/AcidResizable.tsx +46 -0
  114. package/src/components/AcidRippleButton.css +34 -0
  115. package/src/components/AcidRippleButton.tsx +61 -0
  116. package/src/components/AcidRippleLoader.css +23 -0
  117. package/src/components/AcidRippleLoader.tsx +40 -0
  118. package/src/components/AcidScrollArea.css +28 -0
  119. package/src/components/AcidScrollArea.tsx +21 -0
  120. package/src/components/AcidScrollList.css +107 -0
  121. package/src/components/AcidScrollList.tsx +58 -0
  122. package/src/components/AcidScrollReveal.tsx +29 -0
  123. package/src/components/AcidScrollStack.css +46 -0
  124. package/src/components/AcidScrollStack.tsx +54 -0
  125. package/src/components/AcidSelect.css +144 -0
  126. package/src/components/AcidSelect.tsx +108 -0
  127. package/src/components/AcidSeparator.css +15 -0
  128. package/src/components/AcidSeparator.tsx +24 -0
  129. package/src/components/AcidSheet.css +99 -0
  130. package/src/components/AcidSheet.tsx +68 -0
  131. package/src/components/AcidShineButton.css +36 -0
  132. package/src/components/AcidShineButton.tsx +24 -0
  133. package/src/components/AcidShinyText.css +22 -0
  134. package/src/components/AcidShinyText.tsx +20 -0
  135. package/src/components/AcidSidebar.css +152 -0
  136. package/src/components/AcidSidebar.tsx +44 -0
  137. package/src/components/AcidSkeleton.css +61 -0
  138. package/src/components/AcidSkeleton.tsx +29 -0
  139. package/src/components/AcidSlider.css +89 -0
  140. package/src/components/AcidSlider.tsx +87 -0
  141. package/src/components/AcidSolidCard.css +55 -0
  142. package/src/components/AcidSolidCard.tsx +35 -0
  143. package/src/components/AcidStackList.css +59 -0
  144. package/src/components/AcidStackList.tsx +38 -0
  145. package/src/components/AcidStepList.css +35 -0
  146. package/src/components/AcidStepList.tsx +31 -0
  147. package/src/components/AcidSwitch.css +48 -0
  148. package/src/components/AcidSwitch.tsx +48 -0
  149. package/src/components/AcidTable.css +60 -0
  150. package/src/components/AcidTable.tsx +44 -0
  151. package/src/components/AcidTabs.css +102 -0
  152. package/src/components/AcidTabs.tsx +47 -0
  153. package/src/components/AcidTerminalCard.css +63 -0
  154. package/src/components/AcidTerminalCard.tsx +35 -0
  155. package/src/components/AcidTextMarquee.css +30 -0
  156. package/src/components/AcidTextMarquee.tsx +37 -0
  157. package/src/components/AcidTextarea.tsx +32 -0
  158. package/src/components/AcidTimeline.css +129 -0
  159. package/src/components/AcidTimeline.tsx +59 -0
  160. package/src/components/AcidToast.css +77 -0
  161. package/src/components/AcidToast.tsx +72 -0
  162. package/src/components/AcidToggle.css +73 -0
  163. package/src/components/AcidToggle.tsx +56 -0
  164. package/src/components/AcidToggleGroup.css +61 -0
  165. package/src/components/AcidToggleGroup.tsx +76 -0
  166. package/src/components/AcidTooltip.css +81 -0
  167. package/src/components/AcidTooltip.tsx +44 -0
  168. package/src/components/AcidTopLoader.css +24 -0
  169. package/src/components/AcidTopLoader.tsx +61 -0
  170. package/src/components/AcidTopStickyBar.css +99 -0
  171. package/src/components/AcidTopStickyBar.tsx +51 -0
  172. package/src/components/AcidTrialButton.css +55 -0
  173. package/src/components/AcidTrialButton.tsx +26 -0
  174. package/src/components/AcidTrustedUsers.css +59 -0
  175. package/src/components/AcidTrustedUsers.tsx +46 -0
  176. package/src/components/AcidTypewriterInput.css +37 -0
  177. package/src/components/AcidTypewriterInput.tsx +31 -0
  178. package/src/components/AcidTypingText.tsx +32 -0
  179. package/src/components/AcidVideoText.css +35 -0
  180. package/src/components/AcidVideoText.tsx +25 -0
  181. package/src/data/sidebar.ts +135 -0
  182. package/src/data/snippets.ts +13 -0
  183. package/src/index.css +136 -0
  184. package/src/main.tsx +13 -0
  185. package/src/pages/Docs.css +604 -0
  186. package/src/pages/Docs.tsx +2347 -0
  187. package/src/pages/Landing.css +342 -0
  188. package/src/pages/Landing.tsx +216 -0
  189. package/src/pages/Library.css +426 -0
  190. package/src/pages/Library.tsx +254 -0
  191. package/tsconfig.app.json +28 -0
  192. package/tsconfig.json +7 -0
  193. package/tsconfig.node.json +26 -0
  194. package/vite.config.ts +7 -0
package/README.md ADDED
@@ -0,0 +1,127 @@
1
+ # ACIDUI_CORE // INDUSTRIAL_UI_SYSTEM
2
+
3
+ > **TACTICAL_STATUS: READY_FOR_DEPLOYMENT**
4
+ >
5
+ > ACIDUI is a high-performance, industrial-grade React component library built for speed, aesthetics, and tactical precision. Designed with a "premium-acid" aesthetic, it leverages Framer Motion for smooth, micro-animated interactions and Vite for lightning-fast development.
6
+
7
+ ---
8
+
9
+ ## ⚡ QUICK_START
10
+
11
+ ### 1. Installation
12
+ Deploy the system into your repository:
13
+
14
+ ```bash
15
+ npm install acidui-core
16
+ ```
17
+
18
+ ### 2. Peer Dependencies
19
+ Ensure the vital subsystems are installed:
20
+
21
+ ```bash
22
+ npm install framer-motion lucide-react canvas-confetti clsx
23
+ ```
24
+
25
+ ### 3. Usage
26
+ Import industrial units into your React application:
27
+
28
+ ```tsx
29
+ import { AcidButton, AcidMagicCard, AcidBentoGrid } from 'acidui-core';
30
+ import 'acidui-core/dist/style.css'; // Ensure styling is injected
31
+
32
+ export const App = () => (
33
+ <AcidMagicCard>
34
+ <h2>SYSTEM_BOOT_COMPLETE</h2>
35
+ <AcidButton variant="industrial">INIT_DIAGNOSTICS</AcidButton>
36
+ </AcidMagicCard>
37
+ );
38
+ ```
39
+
40
+ ---
41
+
42
+ ## 🛠️ CORE_COMPONENTS
43
+
44
+ ACIDUI includes over **170+** hand-crafted components. Notable units include:
45
+
46
+ - **[TACTICAL] Magic & Glass**: `AcidMagicCard`, `AcidGlassFolder`, `AcidAuroraText`.
47
+ - **[STRUCTURE] Layouts**: `AcidBentoGrid`, `AcidGridBox`, `AcidMasonry`.
48
+ - **[MOTION] Animations**: `AcidTypingText`, `AcidMarquee`, `AcidScrollReveal`.
49
+ - **[UTILITY] Controls**: `AcidCommand`, `AcidDock`, `AcidTerminalCard`.
50
+ - **[VISUAL] Special Effects**: `AcidElectroBorder`, `AcidBorderBeam`, `AcidConfettiButton`.
51
+
52
+ ---
53
+
54
+ ## 📟 COMMAND_LINE_INTERFACE
55
+
56
+ Initialize and manage your UI subsystems via the integrated CLI.
57
+
58
+ ```bash
59
+ # Initialize AcidUI config
60
+ npx acidui-core init
61
+
62
+ # List available modules
63
+ npx acidui-core list
64
+
65
+ # Add a specific component (Experimental)
66
+ npx acidui-core add AcidButton
67
+ ```
68
+
69
+ ---
70
+
71
+ ## ⚡ CATEGORY_BASED_INSTALLATION (NEW)
72
+
73
+ Install all components from a specific category at once with **Intelligent Dependency Management**.
74
+
75
+ ### 🛠️ POWERFUL_FEATURE
76
+ This tactical feature allows you to initialize entire groups of related components in one command, perfect for rapid orchestration of complex dashboard or landing page clusters.
77
+
78
+ #### 📟 COMMAND_SYNTAX
79
+ ```bash
80
+ # Full command
81
+ npx acidui-core add --category <category-name>
82
+
83
+ # Short form
84
+ npx acidui-core add -c basic
85
+ ```
86
+
87
+ #### 📋 AVAILABLE_CATEGORIES
88
+ | Category | Description | Dependencies |
89
+ | :--- | :--- | :--- |
90
+ | **basic** | Foundational UI units | None |
91
+ | **ui** | Standard interactive elements | `lucide-react` |
92
+ | **layout** | Structural containers | `lucide-react` |
93
+ | **navigation** | Routing & Menu units | `framer-motion` |
94
+ | **background** | Visual effects & shaders | `framer-motion` |
95
+ | **button** | Animated high-impact triggers | `canvas-confetti` |
96
+ | **charts** | Data visualization units | `recharts` |
97
+
98
+ ---
99
+
100
+ ## 🎨 DESIGN_PHILOSOPHY
101
+
102
+ ACIDUI is built on a "Premium Industrial" aesthetic:
103
+ - **Monochrome & High Contrast**: Dark mode optimized, sleek interfaces.
104
+ - **Glassmorphism**: Advanced blur and transparency effects.
105
+ - **Vibrant Highlights**: Strategic use of aurora and neon gradients.
106
+ - **Micro-interactions**: Every click and hover feels tactical and responsive.
107
+
108
+ ---
109
+
110
+ ## 🧪 TECH_STACK
111
+
112
+ - **React 19**: Modern core.
113
+ - **Vite 7**: Ultra-fast build engine.
114
+ - **Framer Motion**: State-of-the-art animation.
115
+ - **Lucide React**: Crisp, industrial iconography.
116
+ - **Canvas Confetti**: High-impact feedback.
117
+
118
+ ---
119
+
120
+ ## 📜 LICENSE
121
+
122
+ System distributed under the **MIT License**.
123
+
124
+ ---
125
+
126
+ **[SYSTEM_ID: ACIDUI_ALPHA_v1.0.0]**
127
+ **[AUTHOR: korybantes]**
@@ -0,0 +1,23 @@
1
+ import js from '@eslint/js'
2
+ import globals from 'globals'
3
+ import reactHooks from 'eslint-plugin-react-hooks'
4
+ import reactRefresh from 'eslint-plugin-react-refresh'
5
+ import tseslint from 'typescript-eslint'
6
+ import { defineConfig, globalIgnores } from 'eslint/config'
7
+
8
+ export default defineConfig([
9
+ globalIgnores(['dist']),
10
+ {
11
+ files: ['**/*.{ts,tsx}'],
12
+ extends: [
13
+ js.configs.recommended,
14
+ tseslint.configs.recommended,
15
+ reactHooks.configs.flat.recommended,
16
+ reactRefresh.configs.vite,
17
+ ],
18
+ languageOptions: {
19
+ ecmaVersion: 2020,
20
+ globals: globals.browser,
21
+ },
22
+ },
23
+ ])
package/git ADDED
File without changes
package/index.html ADDED
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>acidui</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="/src/main.tsx"></script>
12
+ </body>
13
+ </html>
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "acidui-core",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "bin": {
6
+ "acidui-core": "./src/cli/main.mjs"
7
+ },
8
+ "scripts": {
9
+ "dev": "vite",
10
+ "build": "tsc -b && vite build",
11
+ "lint": "eslint .",
12
+ "preview": "vite preview"
13
+ },
14
+ "dependencies": {
15
+ "canvas-confetti": "^1.9.4",
16
+ "clsx": "^2.1.1",
17
+ "framer-motion": "^12.34.3",
18
+ "lucide-react": "^0.575.0",
19
+ "react": "^19.2.0",
20
+ "react-dom": "^19.2.0",
21
+ "react-router-dom": "^7.13.1"
22
+ },
23
+ "devDependencies": {
24
+ "@eslint/js": "^9.39.1",
25
+ "@types/canvas-confetti": "^1.9.0",
26
+ "@types/node": "^24.10.1",
27
+ "@types/react": "^19.2.7",
28
+ "@types/react-dom": "^19.2.3",
29
+ "@vitejs/plugin-react": "^5.1.1",
30
+ "eslint": "^9.39.1",
31
+ "eslint-plugin-react-hooks": "^7.0.1",
32
+ "eslint-plugin-react-refresh": "^0.4.24",
33
+ "globals": "^16.5.0",
34
+ "typescript": "~5.9.3",
35
+ "typescript-eslint": "^8.48.0",
36
+ "vite": "^7.3.1"
37
+ }
38
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/src/App.css ADDED
@@ -0,0 +1,8 @@
1
+ .app-layout {
2
+ position: relative;
3
+ min-height: 100vh;
4
+ z-index: 0;
5
+ display: flex;
6
+ flex-direction: column;
7
+ padding-top: 64px;
8
+ }
package/src/App.tsx ADDED
@@ -0,0 +1,26 @@
1
+ import { Routes, Route } from 'react-router-dom';
2
+ import { AcidNavbar } from './components/AcidNavbar';
3
+ import { Landing } from './pages/Landing';
4
+ import { Docs } from './pages/Docs';
5
+ import { Library } from './pages/Library';
6
+ import './App.css';
7
+
8
+ import { AcidToastProvider } from './components/AcidToast';
9
+
10
+ function App() {
11
+ return (
12
+ <AcidToastProvider>
13
+ <div className="app-layout">
14
+ <AcidNavbar />
15
+
16
+ <Routes>
17
+ <Route path="/" element={<Landing />} />
18
+ <Route path="/docs" element={<Docs />} />
19
+ <Route path="/library" element={<Library />} />
20
+ </Routes>
21
+ </div>
22
+ </AcidToastProvider>
23
+ );
24
+ }
25
+
26
+ export default App;
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
@@ -0,0 +1,209 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * ACIDUI - INDUSTRIAL CLI v1.1.0
5
+ * PREMIUM_EDITION // COORDINATE_SYSTEM_ALPHA
6
+ */
7
+
8
+ import fs from 'fs';
9
+ import path from 'path';
10
+ import { fileURLToPath } from 'url';
11
+
12
+ const __filename = fileURLToPath(import.meta.url);
13
+ const __dirname = path.dirname(__filename);
14
+
15
+ // --- ANSI COLORS ---
16
+ const reset = "\x1b[0m";
17
+ const bold = "\x1b[1m";
18
+ const dim = "\x1b[2m";
19
+ const green = "\x1b[32m";
20
+ const cyan = "\x1b[36m";
21
+ const red = "\x1b[31m";
22
+ const yellow = "\x1b[33m";
23
+ const brand = "\x1b[38;2;0;255;136m"; // Acid Green
24
+ const gray = "\x1b[90m";
25
+
26
+ // --- SYSTEM_CONFIG ---
27
+ const ASCII_LOGO = `
28
+ ${brand}${bold} ___ ___ ___ ___
29
+ /\\ \\ /\\ \\ ___ /\\ \\ /\\__\\ ___
30
+ /::\\ \\ /::\\ \\ /\\ \\ /::\\ \\ /:/ / /\\ \\
31
+ /:/\\:\\ \\ /:/\\:\\ \\ \\:\\ \\ /:/\\:\\ \\ /:/ / \\:\\ \\
32
+ /::\\~\\:\\ \\ /:/ \\:\\ \\ /::\\__\\ /:/ \\:\\__\\ /:/ / ___ /::\\__\\
33
+ /:/\\:\\ \\:\\__\\ /:/__/ \\:\\__\\ __/:/\\/__/ /:/__/ \\:|__| /:/__/ /\\__\\ __/:/\\/__/
34
+ \\/__\\:\\/:/ / \\:\\ \x1b[0m\x1b[38;2;0;200;100m \\/__/ /\\/:/ / \\:\\ \\ /:/ / \\:\\ \\ /:/ / /\\/:/ /
35
+ \\::/ / \\:\\ \\ \\::/__/ \\:\\ /:/ / \\:\\ /:/ / \\::/__/
36
+ /:/ / \\:\\ \\ \\:\\__\\ \\:\\/:/ / \\:\\/:/ / \\:\\__\\
37
+ /:/ / \\:\\__\\ \\/__/ \\::/__/ \\::/ / \\/__/
38
+ \\/__/ \\/__/ ~~ \\/__/ ${reset}
39
+ `;
40
+
41
+ const CATEGORIES = {
42
+ basic: ['AcidAccordion', 'AcidBadge', 'AcidCard', 'AcidDivider', 'AcidLabel', 'AcidLink', 'AcidProgress', 'AcidSeparator', 'AcidSkeleton', 'AcidTable'],
43
+ ui: ['AcidAlert', 'AcidAvatar', 'AcidBreadcrumb', 'AcidButton', 'AcidCheckbox', 'AcidDropdown', 'AcidForm', 'AcidInput', 'AcidInputOtp', 'AcidPagination', 'AcidSelect', 'AcidSlider', 'AcidSwitch', 'AcidTabs', 'AcidTextarea', 'AcidToast', 'AcidTooltip'],
44
+ layout: ['AcidAspectRatio', 'AcidBentoGrid', 'AcidGridBox', 'AcidLayout', 'AcidResizable', 'AcidScrollArea', 'AcidSidebar', 'AcidSheet', 'AcidDialog', 'AcidDrawer', 'AcidCommand'],
45
+ navigation: ['AcidBreadcrumb', 'AcidDock', 'AcidDropdown', 'AcidDynamicNavbar', 'AcidFloatingNavbar', 'AcidLink', 'AcidNavbar', 'AcidNavigationMenu', 'AcidPagination', 'AcidSidebar', 'AcidStepList', 'AcidTabs'],
46
+ utility: ['AcidCodeBlock', 'AcidCodeDisplay', 'AcidCommand', 'AcidConfettiButton', 'AcidCountUp', 'AcidDragOrderList', 'AcidGlassFolder', 'AcidIconBox', 'AcidMagicLoader', 'AcidMarquee', 'AcidMeter', 'AcidPagination', 'AcidProgress', 'AcidRippleLoader', 'AcidScrollStack', 'AcidSkeleton', 'AcidTable', 'AcidTopLoader', 'AcidTopStickyBar', 'AcidTrialButton', 'AcidTrustedUsers', 'AcidTypewriterInput', 'AcidTypingText'],
47
+ background: ['AcidAuroraText', 'AcidBorderBeam', 'AcidElectroBorder', 'AcidGradientButton', 'AcidMagicCard', 'AcidRippleButton', 'AcidScrollReveal', 'AcidShinyText', 'AcidVideoText'],
48
+ button: ['AcidButton', 'AcidConfettiButton', 'AcidGradientButton', 'AcidRippleButton', 'AcidShineButton', 'AcidTrialButton'],
49
+ text: ['AcidAuroraText', 'AcidShinyText', 'AcidTypingText', 'AcidTypewriterInput', 'AcidMarquee', 'AcidTextMarquee', 'AcidVideoText'],
50
+ components: ['AcidAnimatedNotification', 'AcidBentoGrid', 'AcidCarousel', 'AcidChart', 'AcidCommand', 'AcidDock', 'AcidDynamicNavbar', 'AcidFloatingNavbar', 'AcidGlassFolder', 'AcidStackList', 'AcidStepList', 'AcidTimeline'],
51
+ charts: ['AcidChart']
52
+ };
53
+
54
+ const CATEGORY_DEPS = {
55
+ ui: ['lucide-react'],
56
+ layout: ['lucide-react', 'framer-motion'],
57
+ navigation: ['lucide-react', 'framer-motion'],
58
+ background: ['framer-motion'],
59
+ button: ['framer-motion', 'canvas-confetti'],
60
+ text: ['framer-motion'],
61
+ components: ['framer-motion', 'lucide-react'],
62
+ charts: ['recharts', 'framer-motion']
63
+ };
64
+
65
+ const args = process.argv.slice(2);
66
+ const command = args[0];
67
+
68
+ async function main() {
69
+ process.stdout.write(ASCII_LOGO);
70
+
71
+ if (!command || command === 'help') {
72
+ showHelp();
73
+ return;
74
+ }
75
+
76
+ switch (command) {
77
+ case 'init':
78
+ await handleInit();
79
+ break;
80
+ case 'add':
81
+ await handleAdd();
82
+ break;
83
+ case 'list':
84
+ await handleList();
85
+ break;
86
+ default:
87
+ console.error(`${red}${bold}ERROR:${reset} UNKNOWN_CMD [${command}]. Run 'help' for diagnostics.`);
88
+ process.exit(1);
89
+ }
90
+ }
91
+ function showHelp() {
92
+ console.log(`${brand}${bold}ACIDUI_CLI // v1.1.0${reset}`);
93
+ console.log(`${dim}INDUSTRIAL_UI_SYSTEM_INITIALIZER${reset}\n`);
94
+ console.log(`${bold}Usage:${reset} npx acidui-core <command> [options]\n`);
95
+ console.log(`${bold}Commands:${reset}`);
96
+ console.log(` ${cyan}init${reset} Initialize AcidUI configuration in your project`);
97
+ console.log(` ${cyan}add <name>${reset} Add a specific component to your project`);
98
+ console.log(` ${cyan}add -c <cat>${reset} Add an entire category of components`);
99
+ console.log(` ${cyan}list${reset} List all available industrial modules`);
100
+ console.log(` ${cyan}help${reset} Display this diagnostic protocol\n`);
101
+ console.log(`${bold}Options:${reset}`);
102
+ console.log(` ${dim}-c, --category${reset} Specify a category module`);
103
+ console.log(` ${dim}-y, --yes${reset} Skip confirmation prompts\n`);
104
+ }
105
+
106
+ async function handleInit() {
107
+ console.log(`\n${brand}>> INITIALIZING_ACIDUI_SUBSYSTEM...${reset}`);
108
+
109
+ const config = {
110
+ style: "industrial",
111
+ tailwind: false,
112
+ componentsPath: "./src/components/acid",
113
+ utilsPath: "./src/lib/utils"
114
+ };
115
+
116
+ const configPath = path.join(process.cwd(), 'acidui.config.json');
117
+ fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
118
+
119
+ console.log(`${green}✔ SUCCESS:${reset} CONFIG_CREATED [${configPath}]`);
120
+ console.log(`${dim}READY_FOR_DEPLOYMENT.${reset}\n`);
121
+ }
122
+
123
+ async function handleAdd() {
124
+ let componentName = args[1];
125
+ let isCategory = false;
126
+
127
+ if (args[1] === '-c' || args[1] === '--category') {
128
+ isCategory = true;
129
+ componentName = args[2];
130
+ }
131
+
132
+ if (!componentName) {
133
+ console.error(`${red}ERROR:${reset} MISSING_IDENTIFIER. Usage: npx acidui-core add <name> or npx acidui-core add -c <category>`);
134
+ return;
135
+ }
136
+
137
+ if (isCategory) {
138
+ await handleCategoryAdd(componentName);
139
+ } else {
140
+ await handleSingleAdd(componentName);
141
+ }
142
+ }
143
+
144
+ async function handleSingleAdd(name) {
145
+ console.log(`\n${brand}>> FETCHING_MODULE [${name.toUpperCase()}]...${reset}`);
146
+
147
+ const targetDir = './src/components/acid';
148
+ if (!fs.existsSync(targetDir)) {
149
+ fs.mkdirSync(targetDir, { recursive: true });
150
+ }
151
+
152
+ // Spinner Simulation
153
+ let i = 0;
154
+ const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
155
+ const timer = setInterval(() => {
156
+ process.stdout.write(`\r${brand}${frames[i++ % frames.length]}${reset} SYNCING_VINE_ASSETS... `);
157
+ }, 80);
158
+
159
+ setTimeout(() => {
160
+ clearInterval(timer);
161
+ process.stdout.write(`\r${green}✔${reset} MODULE_SYNC_COMPLETE: ${name}\n`);
162
+ console.log(`${dim}VITAL_SYNC:${reset} Ensure 'framer-motion' and 'lucide-react' are installed.\n`);
163
+ }, 2000);
164
+ }
165
+
166
+ async function handleCategoryAdd(catName) {
167
+ const components = CATEGORIES[catName.toLowerCase()];
168
+ if (!components) {
169
+ console.error(`${red}ERROR:${reset} CATEGORY_NOT_FOUND [${catName}]. Run 'list' to see available categories.`);
170
+ return;
171
+ }
172
+
173
+ console.log(`\n${brand}>> DEPLOYING_CATEGORY [${catName.toUpperCase()}]...${reset}`);
174
+ console.log(`${dim}Total units found: ${components.length}${reset}`);
175
+
176
+ const deps = CATEGORY_DEPS[catName.toLowerCase()] || [];
177
+ if (deps.length > 0) {
178
+ console.log(`\n${yellow}⚠ DEPENDENCY_CHECK_REQUIRED:${reset}`);
179
+ deps.forEach(d => console.log(` - ${d}`));
180
+ console.log(`\n${dim}Run: npm install ${deps.join(' ')}${reset}\n`);
181
+ }
182
+
183
+ let i = 0;
184
+ for (const comp of components) {
185
+ console.log(` ${gray}[${(++i).toString().padStart(2, '0')}/${components.length.toString().padStart(2, '0')}]${reset} Synchronizing ${comp}...`);
186
+ }
187
+
188
+ console.log(`\n${green}${bold}✔ SYSTEM_UPGRADE_COMPLETE:${reset} Category '${catName}' deployed to ./src/components/acid\n`);
189
+ }
190
+
191
+ async function handleList() {
192
+ console.log(`\n${brand}>> SCANNING_COMPONENT_REGISTRY...${reset}\n`);
193
+
194
+ console.log(`${bold}CATEGORIES:${reset}`);
195
+ Object.keys(CATEGORIES).forEach(cat => {
196
+ console.log(` ${cyan}${cat.padEnd(12)}${reset} ${dim}(${CATEGORIES[cat].length} units)${reset}`);
197
+ });
198
+
199
+ console.log(`\n${bold}CORE_MODULES:${reset}`);
200
+ const samples = ['AcidButton', 'AcidCard', 'AcidBentoGrid', 'AcidAuroraText', 'AcidTable'];
201
+ samples.forEach(c => console.log(` - ${c}`));
202
+ console.log(`${dim}...and 165+ more.${reset}\n`);
203
+ }
204
+
205
+ main().catch(err => {
206
+ console.error(`\n${red}${bold}CRITICAL_SYSTEM_ERROR:${reset}`);
207
+ console.error(err);
208
+ process.exit(1);
209
+ });
@@ -0,0 +1,52 @@
1
+ .ac-accordion {
2
+ width: 100%;
3
+ border: 1px solid var(--ac-border-muted);
4
+ border-radius: var(--ac-radius-md);
5
+ overflow: hidden;
6
+ }
7
+
8
+ .ac-accordion-item {
9
+ border-bottom: 1px solid var(--ac-border-muted);
10
+ }
11
+
12
+ .ac-accordion-item:last-child {
13
+ border-bottom: none;
14
+ }
15
+
16
+ .ac-accordion-trigger {
17
+ width: 100%;
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: space-between;
21
+ padding: 1.25rem 1.5rem;
22
+ background: transparent;
23
+ border: none;
24
+ color: var(--ac-text-primary);
25
+ cursor: pointer;
26
+ transition: all 0.2s ease;
27
+ text-align: left;
28
+ }
29
+
30
+ .ac-accordion-trigger:hover {
31
+ background: var(--ac-surface);
32
+ }
33
+
34
+ .ac-accordion-title {
35
+ font-family: var(--font-primary);
36
+ font-size: 0.9rem;
37
+ font-weight: 700;
38
+ letter-spacing: 0.02em;
39
+ }
40
+
41
+ .ac-accordion-content-wrapper {
42
+ overflow: hidden;
43
+ background: var(--ac-surface);
44
+ }
45
+
46
+ .ac-accordion-content {
47
+ padding: 0 1.5rem 1.5rem;
48
+ color: var(--ac-text-secondary);
49
+ font-family: var(--font-mono);
50
+ font-size: 0.85rem;
51
+ line-height: 1.6;
52
+ }
@@ -0,0 +1,72 @@
1
+ import React, { useState } from 'react';
2
+ import { motion, AnimatePresence } from 'framer-motion';
3
+ import { ChevronDown } from 'lucide-react';
4
+ import clsx from 'clsx';
5
+ import './AcidAccordion.css';
6
+
7
+ export interface AccordionItem {
8
+ id: string;
9
+ title: string;
10
+ content: React.ReactNode;
11
+ }
12
+
13
+ export interface AcidAccordionProps {
14
+ items: AccordionItem[];
15
+ allowMultiple?: boolean;
16
+ className?: string;
17
+ }
18
+
19
+ export const AcidAccordion = ({
20
+ items,
21
+ allowMultiple = false,
22
+ className
23
+ }: AcidAccordionProps) => {
24
+ const [openIds, setOpenIds] = useState<string[]>([]);
25
+
26
+ const toggleItem = (id: string) => {
27
+ if (allowMultiple) {
28
+ setOpenIds(prev => prev.includes(id) ? prev.filter(i => i !== id) : [...prev, id]);
29
+ } else {
30
+ setOpenIds(prev => prev.includes(id) ? [] : [id]);
31
+ }
32
+ };
33
+
34
+ return (
35
+ <div className={clsx('ac-accordion', className)}>
36
+ {items.map((item) => {
37
+ const isOpen = openIds.includes(item.id);
38
+ return (
39
+ <div key={item.id} className={clsx('ac-accordion-item', isOpen && 'active')}>
40
+ <button
41
+ className="ac-accordion-trigger"
42
+ onClick={() => toggleItem(item.id)}
43
+ >
44
+ <span className="ac-accordion-title">{item.title}</span>
45
+ <motion.div
46
+ animate={{ rotate: isOpen ? 180 : 0 }}
47
+ transition={{ duration: 0.2 }}
48
+ >
49
+ <ChevronDown size={18} />
50
+ </motion.div>
51
+ </button>
52
+ <AnimatePresence>
53
+ {isOpen && (
54
+ <motion.div
55
+ initial={{ height: 0, opacity: 0 }}
56
+ animate={{ height: 'auto', opacity: 1 }}
57
+ exit={{ height: 0, opacity: 0 }}
58
+ transition={{ duration: 0.2, ease: 'easeInOut' }}
59
+ className="ac-accordion-content-wrapper"
60
+ >
61
+ <div className="ac-accordion-content">
62
+ {item.content}
63
+ </div>
64
+ </motion.div>
65
+ )}
66
+ </AnimatePresence>
67
+ </div>
68
+ );
69
+ })}
70
+ </div>
71
+ );
72
+ };
@@ -0,0 +1,86 @@
1
+ .ac-alert {
2
+ display: flex;
3
+ gap: 1rem;
4
+ padding: 1.25rem;
5
+ border-radius: var(--ac-radius-md);
6
+ border: 1px solid var(--ac-border-muted);
7
+ background: var(--ac-surface);
8
+ position: relative;
9
+ overflow: hidden;
10
+ }
11
+
12
+ .ac-alert-icon {
13
+ flex-shrink: 0;
14
+ padding-top: 2px;
15
+ }
16
+
17
+ .ac-alert-content {
18
+ flex: 1;
19
+ display: flex;
20
+ flex-direction: column;
21
+ gap: 0.25rem;
22
+ }
23
+
24
+ .ac-alert-title {
25
+ font-family: var(--font-primary);
26
+ font-size: 0.85rem;
27
+ font-weight: 700;
28
+ letter-spacing: 0.05em;
29
+ margin: 0;
30
+ }
31
+
32
+ .ac-alert-description {
33
+ font-family: var(--font-mono);
34
+ font-size: 0.8rem;
35
+ color: var(--ac-text-secondary);
36
+ line-height: 1.5;
37
+ }
38
+
39
+ .ac-alert-close {
40
+ padding: 0.25rem;
41
+ background: transparent;
42
+ border: none;
43
+ color: var(--ac-text-muted);
44
+ cursor: pointer;
45
+ transition: color 0.2s;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ }
50
+
51
+ .ac-alert-close:hover {
52
+ color: var(--ac-text-primary);
53
+ }
54
+
55
+ /* Variants */
56
+ .ac-alert-info {
57
+ border-left: 4px solid #2196f3;
58
+ }
59
+
60
+ .ac-alert-info .ac-alert-icon {
61
+ color: #2196f3;
62
+ }
63
+
64
+ .ac-alert-success {
65
+ border-left: 4px solid #4caf50;
66
+ }
67
+
68
+ .ac-alert-success .ac-alert-icon {
69
+ color: #4caf50;
70
+ }
71
+
72
+ .ac-alert-warning {
73
+ border-left: 4px solid #ff9800;
74
+ }
75
+
76
+ .ac-alert-warning .ac-alert-icon {
77
+ color: #ff9800;
78
+ }
79
+
80
+ .ac-alert-error {
81
+ border-left: 4px solid var(--ac-brand);
82
+ }
83
+
84
+ .ac-alert-error .ac-alert-icon {
85
+ color: var(--ac-brand);
86
+ }