@designa8/vibedesign-v6 1.15.3 → 1.20.13
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 +6 -32
- package/dist/index.cjs +3232 -2143
- package/dist/index.js +3242 -2153
- package/dist/styles.css +266 -28
- package/package.json +52 -2
- package/src/atoms/AppLayout/AppLayout.tsx +401 -395
- package/src/atoms/AppLayout/preview.tsx +29 -0
- package/src/atoms/AppSidebar/AppSidebar.tsx +182 -94
- package/src/atoms/AppSidebar/preview.tsx +20 -59
- package/src/atoms/AppSidebarMobile/AppSidebarMobile.tsx +27 -73
- package/src/atoms/AppSidebarMobile/preview.tsx +18 -18
- package/src/atoms/AuthLogin/AuthLogin.tsx +200 -0
- package/src/atoms/AuthLogin/index.ts +2 -0
- package/src/atoms/AuthLogin/preview.tsx +22 -0
- package/src/atoms/AuthScreen/AuthScreen.tsx +7 -7
- package/src/atoms/AuthSignUp/AuthSignUp.tsx +243 -0
- package/src/atoms/AuthSignUp/index.ts +2 -0
- package/src/atoms/AuthSignUp/preview.tsx +22 -0
- package/src/atoms/BillingToggle/BillingToggle.tsx +65 -0
- package/src/atoms/BillingToggle/index.ts +2 -0
- package/src/atoms/BillingToggle/preview.tsx +23 -0
- package/src/atoms/Button/Button.tsx +33 -17
- package/src/atoms/Button/preview.tsx +16 -0
- package/src/atoms/ChatHistorySidebar/ChatHistorySidebar.tsx +370 -0
- package/src/atoms/ChatHistorySidebar/index.ts +2 -0
- package/src/atoms/ChatHistorySidebar/preview.tsx +60 -0
- package/src/atoms/ChatScreen/ChatScreen.tsx +331 -134
- package/src/atoms/ChatScreen/preview.tsx +123 -2
- package/src/atoms/Checkbox/Checkbox.tsx +89 -0
- package/src/atoms/Checkbox/index.ts +2 -0
- package/src/atoms/Checkbox/preview.tsx +60 -0
- package/src/atoms/Dropdown/Dropdown.tsx +195 -0
- package/src/atoms/Dropdown/index.ts +2 -0
- package/src/atoms/Dropdown/preview.tsx +56 -0
- package/src/atoms/ExportDesignMdModal/ExportDesignMdModal.tsx +46 -185
- package/src/atoms/ExportDesignMdModal/preview.tsx +24 -8
- package/src/atoms/FaqAccordionItem/FaqAccordionItem.tsx +60 -0
- package/src/atoms/FaqAccordionItem/index.ts +2 -0
- package/src/atoms/FaqAccordionItem/preview.tsx +26 -0
- package/src/atoms/FilterTabBar/FilterTabBar.tsx +8 -22
- package/src/atoms/HomePageTemplate/HomePageTemplate.tsx +20 -33
- package/src/atoms/HomePageTemplate/preview.tsx +2 -2
- package/src/atoms/Icon/Icon.tsx +7 -5
- package/src/atoms/Icon/icons.data.ts +53 -0
- package/src/atoms/Input/Input.tsx +17 -9
- package/src/atoms/Input/preview.tsx +24 -25
- package/src/atoms/Menu/Menu.tsx +320 -0
- package/src/atoms/Menu/index.ts +2 -0
- package/src/atoms/Menu/preview.tsx +63 -0
- package/src/atoms/Modal/Modal.tsx +43 -37
- package/src/atoms/Modal/preview.tsx +13 -0
- package/src/atoms/NavItem/NavItem.tsx +33 -45
- package/src/atoms/NavItem/preview.tsx +21 -26
- package/src/atoms/PreviewToolbar/PreviewToolbar.tsx +144 -192
- package/src/atoms/PreviewToolbar/preview.tsx +24 -4
- package/src/atoms/PricingCard/PricingCard.tsx +164 -0
- package/src/atoms/PricingCard/index.ts +2 -0
- package/src/atoms/PricingCard/preview.tsx +45 -0
- package/src/atoms/PricingPageTemplate/PricingPageTemplate.tsx +219 -0
- package/src/atoms/PricingPageTemplate/index.ts +2 -0
- package/src/atoms/PricingPageTemplate/preview.tsx +10 -0
- package/src/atoms/PromptInputBar/PromptInputBar.tsx +117 -158
- package/src/atoms/WorkspaceMenu/WorkspaceMenu.tsx +41 -167
- package/src/index.ts +10 -0
- package/src/tokens.css +5 -0
package/README.md
CHANGED
|
@@ -1,51 +1,25 @@
|
|
|
1
1
|
# @plasma/vibedesign-v6
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Complete design system generated by Atoms Design, version **1.20.13**.
|
|
4
|
+
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
|
+
never hardcode visual values in consumer code.
|
|
4
6
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
From this directory:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm link
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Then, in the consumer app:
|
|
7
|
+
## Install
|
|
14
8
|
|
|
15
9
|
```bash
|
|
16
|
-
npm
|
|
10
|
+
npm install @plasma/vibedesign-v6
|
|
17
11
|
```
|
|
18
12
|
|
|
19
13
|
## Imports
|
|
20
14
|
|
|
21
15
|
```ts
|
|
22
|
-
import {
|
|
16
|
+
import { Button, Input } from "@plasma/vibedesign-v6";
|
|
23
17
|
```
|
|
24
18
|
|
|
25
19
|
The CSS (design tokens, Tailwind utilities, and the design system font loaded
|
|
26
20
|
from Google Fonts) is bundled into the package entry point and injected
|
|
27
21
|
automatically by your bundler — no separate CSS import needed.
|
|
28
22
|
|
|
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
23
|
## Global CSS compatibility
|
|
50
24
|
|
|
51
25
|
The package's utility classes (spacing, colours, border-radius, etc.) are
|