@jusankar/moon 0.1.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 (41) hide show
  1. package/README.md +44 -0
  2. package/dist/icons.d.ts +2 -0
  3. package/dist/icons.js +30051 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +3389 -0
  6. package/dist/src/components/alert/alert.d.ts +11 -0
  7. package/dist/src/components/alert/alert.story.d.ts +9 -0
  8. package/dist/src/components/alert/alert.test.d.ts +1 -0
  9. package/dist/src/components/alert/index.d.ts +1 -0
  10. package/dist/src/components/badge/badge.d.ts +10 -0
  11. package/dist/src/components/badge/badge.story.d.ts +10 -0
  12. package/dist/src/components/badge/badge.test.d.ts +1 -0
  13. package/dist/src/components/badge/index.d.ts +1 -0
  14. package/dist/src/components/card/card.d.ts +11 -0
  15. package/dist/src/components/card/card.story.d.ts +9 -0
  16. package/dist/src/components/card/card.test.d.ts +1 -0
  17. package/dist/src/components/card/index.d.ts +1 -0
  18. package/dist/src/icons.d.ts +1 -0
  19. package/dist/src/index.d.ts +3 -0
  20. package/dist/src/tests/vitest.setup.d.ts +7 -0
  21. package/dist/src/utils.d.ts +2 -0
  22. package/dist/vite.config.d.ts +3 -0
  23. package/package.json +132 -0
  24. package/src/components/alert/alert.story.tsx +58 -0
  25. package/src/components/alert/alert.test.tsx +299 -0
  26. package/src/components/alert/alert.tsx +65 -0
  27. package/src/components/alert/index.ts +1 -0
  28. package/src/components/badge/badge.story.tsx +82 -0
  29. package/src/components/badge/badge.test.tsx +189 -0
  30. package/src/components/badge/badge.tsx +43 -0
  31. package/src/components/badge/index.ts +1 -0
  32. package/src/components/card/card.story.tsx +123 -0
  33. package/src/components/card/card.test.tsx +231 -0
  34. package/src/components/card/card.tsx +85 -0
  35. package/src/components/card/index.ts +1 -0
  36. package/src/icons.ts +1 -0
  37. package/src/index.ts +3 -0
  38. package/src/styles/index.css +123 -0
  39. package/src/styles/storybook-only.css +20 -0
  40. package/src/tests/vitest.setup.ts +76 -0
  41. package/src/utils.ts +6 -0
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # 🌙 Moon Design System
2
+
3
+ Moon is a **UI component library** built using **ShadCN UI**, **Tailwind CSS**, and **Storybook**.
4
+ It serves as the **single source of truth for reusable UI components** used across applications.
5
+
6
+ Components and stories are generated and maintained to ensure **design and implementation parity**.
7
+
8
+ ---
9
+
10
+ ## 🛠️ Tech Stack
11
+
12
+ - **React + TypeScript**
13
+ - **Tailwind CSS**
14
+ - **ShadCN UI**
15
+ - **Storybook**
16
+ - **Vite**
17
+ - **Bun / npm**
18
+
19
+ ---
20
+
21
+ ## 📦 Project Structure
22
+
23
+ ```
24
+ moon/
25
+ ├── src/
26
+ │ ├── components/
27
+ │ │ ├── ui/
28
+ │ │ │ ├── button/
29
+ │ │ │ ├── dialog/
30
+ │ │ │ └── ...
31
+ │ ├── styles/
32
+ │ │ └── index.css
33
+ │ └── index.ts
34
+ ├── .storybook/
35
+ │ ├── main.ts
36
+ │ ├── preview.ts
37
+ │ └── manager.ts
38
+ ├── tailwind.config.ts
39
+ ├── postcss.config.cjs
40
+ ├── package.json
41
+ └── README.md
42
+ ```
43
+
44
+ ---
@@ -0,0 +1,2 @@
1
+ export * from './src/icons'
2
+ export {}