@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.
- package/README.md +66 -0
- package/dist/fonts/inter/Inter-Italic[opsz,wght].ttf +0 -0
- package/dist/fonts/inter/Inter[opsz,wght].ttf +0 -0
- package/dist/index.cjs +3231 -0
- package/dist/index.js +3201 -0
- package/dist/styles.css +1810 -0
- package/package.json +109 -0
- package/src/atoms/AppLayout/AppLayout.tsx +537 -0
- package/src/atoms/AppLayout/index.ts +2 -0
- package/src/atoms/AppLayout/preview.tsx +75 -0
- package/src/atoms/AppSidebar/AppSidebar.tsx +399 -0
- package/src/atoms/AppSidebar/index.ts +2 -0
- package/src/atoms/AppSidebar/preview.tsx +214 -0
- package/src/atoms/AuthScreen/AuthScreen.tsx +226 -0
- package/src/atoms/AuthScreen/index.ts +2 -0
- package/src/atoms/AuthScreen/preview.tsx +10 -0
- package/src/atoms/Button/Button.tsx +71 -0
- package/src/atoms/Button/index.ts +2 -0
- package/src/atoms/Button/preview.tsx +71 -0
- package/src/atoms/ChatScreen/ChatScreen.tsx +629 -0
- package/src/atoms/ChatScreen/index.ts +2 -0
- package/src/atoms/ChatScreen/preview.tsx +239 -0
- package/src/atoms/Chip/Chip.tsx +121 -0
- package/src/atoms/Chip/index.ts +2 -0
- package/src/atoms/Chip/preview.tsx +99 -0
- package/src/atoms/FilterTabBar/FilterTabBar.tsx +95 -0
- package/src/atoms/FilterTabBar/index.ts +2 -0
- package/src/atoms/FilterTabBar/preview.tsx +92 -0
- package/src/atoms/Input/Input.tsx +139 -0
- package/src/atoms/Input/index.ts +2 -0
- package/src/atoms/Input/preview.tsx +97 -0
- package/src/atoms/Modal/Modal.tsx +144 -0
- package/src/atoms/Modal/index.ts +2 -0
- package/src/atoms/Modal/preview.tsx +111 -0
- package/src/atoms/NavItem/NavItem.tsx +316 -0
- package/src/atoms/NavItem/index.ts +2 -0
- package/src/atoms/NavItem/preview.tsx +125 -0
- package/src/atoms/PromptInputBar/PromptInputBar.tsx +626 -0
- package/src/atoms/PromptInputBar/index.ts +2 -0
- package/src/atoms/PromptInputBar/preview.tsx +85 -0
- package/src/atoms/TopNavbar/TopNavbar.tsx +400 -0
- package/src/atoms/TopNavbar/index.ts +2 -0
- package/src/atoms/TopNavbar/preview.tsx +117 -0
- package/src/atoms/UpgradeCard/UpgradeCard.tsx +65 -0
- package/src/atoms/UpgradeCard/index.ts +2 -0
- package/src/atoms/UpgradeCard/preview.tsx +25 -0
- package/src/atoms/WorkspaceMenu/WorkspaceMenu.tsx +216 -0
- package/src/atoms/WorkspaceMenu/index.ts +2 -0
- package/src/atoms/WorkspaceMenu/preview.tsx +44 -0
- package/src/index.ts +16 -0
- 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
|
+
```
|
|
Binary file
|
|
Binary file
|