@designa8/vibedesign-v6 1.6.7

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 (51) hide show
  1. package/README.md +66 -0
  2. package/dist/fonts/inter/Inter-Italic[opsz,wght].ttf +0 -0
  3. package/dist/fonts/inter/Inter[opsz,wght].ttf +0 -0
  4. package/dist/index.cjs +3231 -0
  5. package/dist/index.js +3201 -0
  6. package/dist/styles.css +1810 -0
  7. package/package.json +109 -0
  8. package/src/atoms/AppLayout/AppLayout.tsx +537 -0
  9. package/src/atoms/AppLayout/index.ts +2 -0
  10. package/src/atoms/AppLayout/preview.tsx +75 -0
  11. package/src/atoms/AppSidebar/AppSidebar.tsx +399 -0
  12. package/src/atoms/AppSidebar/index.ts +2 -0
  13. package/src/atoms/AppSidebar/preview.tsx +214 -0
  14. package/src/atoms/AuthScreen/AuthScreen.tsx +226 -0
  15. package/src/atoms/AuthScreen/index.ts +2 -0
  16. package/src/atoms/AuthScreen/preview.tsx +10 -0
  17. package/src/atoms/Button/Button.tsx +71 -0
  18. package/src/atoms/Button/index.ts +2 -0
  19. package/src/atoms/Button/preview.tsx +71 -0
  20. package/src/atoms/ChatScreen/ChatScreen.tsx +629 -0
  21. package/src/atoms/ChatScreen/index.ts +2 -0
  22. package/src/atoms/ChatScreen/preview.tsx +239 -0
  23. package/src/atoms/Chip/Chip.tsx +121 -0
  24. package/src/atoms/Chip/index.ts +2 -0
  25. package/src/atoms/Chip/preview.tsx +99 -0
  26. package/src/atoms/FilterTabBar/FilterTabBar.tsx +95 -0
  27. package/src/atoms/FilterTabBar/index.ts +2 -0
  28. package/src/atoms/FilterTabBar/preview.tsx +92 -0
  29. package/src/atoms/Input/Input.tsx +139 -0
  30. package/src/atoms/Input/index.ts +2 -0
  31. package/src/atoms/Input/preview.tsx +97 -0
  32. package/src/atoms/Modal/Modal.tsx +144 -0
  33. package/src/atoms/Modal/index.ts +2 -0
  34. package/src/atoms/Modal/preview.tsx +111 -0
  35. package/src/atoms/NavItem/NavItem.tsx +316 -0
  36. package/src/atoms/NavItem/index.ts +2 -0
  37. package/src/atoms/NavItem/preview.tsx +125 -0
  38. package/src/atoms/PromptInputBar/PromptInputBar.tsx +626 -0
  39. package/src/atoms/PromptInputBar/index.ts +2 -0
  40. package/src/atoms/PromptInputBar/preview.tsx +85 -0
  41. package/src/atoms/TopNavbar/TopNavbar.tsx +400 -0
  42. package/src/atoms/TopNavbar/index.ts +2 -0
  43. package/src/atoms/TopNavbar/preview.tsx +117 -0
  44. package/src/atoms/UpgradeCard/UpgradeCard.tsx +65 -0
  45. package/src/atoms/UpgradeCard/index.ts +2 -0
  46. package/src/atoms/UpgradeCard/preview.tsx +25 -0
  47. package/src/atoms/WorkspaceMenu/WorkspaceMenu.tsx +216 -0
  48. package/src/atoms/WorkspaceMenu/index.ts +2 -0
  49. package/src/atoms/WorkspaceMenu/preview.tsx +44 -0
  50. package/src/index.ts +16 -0
  51. package/src/tokens.css +165 -0
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # @plasma/vibedesign-v6
2
+
3
+ Generated design system, version **1.6.7**.
4
+
5
+ ## Local install (npm link)
6
+
7
+ From this directory:
8
+
9
+ ```bash
10
+ npm link
11
+ ```
12
+
13
+ Then, in the consumer app:
14
+
15
+ ```bash
16
+ npm link @plasma/vibedesign-v6
17
+ ```
18
+
19
+ ## Imports
20
+
21
+ ```ts
22
+ import { /* atoms */ } from "@plasma/vibedesign-v6";
23
+ ```
24
+
25
+ The CSS (design tokens, Tailwind utilities, and the design system font loaded
26
+ from Google Fonts) is bundled into the package entry point and injected
27
+ automatically by your bundler — no separate CSS import needed.
28
+
29
+ ## Vite configuration (local npm link only)
30
+
31
+ When using `npm link`, the package fonts live outside your project root and
32
+ Vite's dev server will block them by default. Add `server.fs.allow` to your
33
+ `vite.config.js` / `vite.config.ts`:
34
+
35
+ ```js
36
+ export default defineConfig({
37
+ server: {
38
+ fs: {
39
+ allow: ['..', '/path/to/.published-packages'],
40
+ },
41
+ },
42
+ })
43
+ ```
44
+
45
+ Replace `/path/to/.published-packages` with the absolute path printed by
46
+ `npm link` (the directory that contains this package folder).
47
+ This step is not needed when the package is installed from a real registry.
48
+
49
+ ## Global CSS compatibility
50
+
51
+ The package's utility classes (spacing, colours, border-radius, etc.) are
52
+ compiled as **unlayered** CSS rules. They therefore beat standard resets such
53
+ as `* { margin: 0; padding: 0; box-sizing: border-box }` by normal specificity
54
+ (class selector `0-1-0` > universal selector `0-0-0`). No special setup is
55
+ needed for a typical Vite / Create-React-App / Next.js project.
56
+
57
+ The one exception is the **body font**. The design system injects
58
+ `body { font-family: var(--font-body) }` inside `@layer base`, which any
59
+ unlayered `body { font-family: ... }` rule in your own CSS will override.
60
+ Remove that override, or replace it with the design system variable:
61
+
62
+ ```css
63
+ body {
64
+ font-family: var(--font-body); /* use the design system's configured font */
65
+ }
66
+ ```