@yanolja-next/next-hub-ui 0.0.1
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 +30 -0
- package/css/index.css +3070 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2942 -0
- package/dist/src/components/alert.d.ts +9 -0
- package/dist/src/components/assistant-ui/assistant-sidebar.d.ts +2 -0
- package/dist/src/components/assistant-ui/attachment.d.ts +4 -0
- package/dist/src/components/assistant-ui/markdown-text.d.ts +1 -0
- package/dist/src/components/assistant-ui/thread.d.ts +7 -0
- package/dist/src/components/assistant-ui/tool-fallback.d.ts +31 -0
- package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +7 -0
- package/dist/src/components/avatar.d.ts +11 -0
- package/dist/src/components/breadcrumb.d.ts +11 -0
- package/dist/src/components/button.d.ts +10 -0
- package/dist/src/components/card.d.ts +9 -0
- package/dist/src/components/collapsible.d.ts +5 -0
- package/dist/src/components/dialog.d.ts +17 -0
- package/dist/src/components/dropdown-menu.d.ts +25 -0
- package/dist/src/components/field.d.ts +24 -0
- package/dist/src/components/input.d.ts +3 -0
- package/dist/src/components/label.d.ts +4 -0
- package/dist/src/components/radio-group.d.ts +5 -0
- package/dist/src/components/resizable.d.ts +7 -0
- package/dist/src/components/select.d.ts +15 -0
- package/dist/src/components/separator.d.ts +4 -0
- package/dist/src/components/sheet.d.ts +13 -0
- package/dist/src/components/sidebar.d.ts +69 -0
- package/dist/src/components/skeleton.d.ts +2 -0
- package/dist/src/components/switch.d.ts +4 -0
- package/dist/src/components/table.d.ts +14 -0
- package/dist/src/components/textarea.d.ts +3 -0
- package/dist/src/components/tooltip.d.ts +7 -0
- package/dist/src/components/typography.d.ts +9 -0
- package/dist/src/hooks/use-mobile.d.ts +1 -0
- package/dist/src/index.d.ts +28 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +74 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
gdrive_sync: true
|
|
3
|
+
gdrive_pdf_name: "Next Hub UI"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @yanolja-next/next-hub-ui
|
|
7
|
+
|
|
8
|
+
Shared UI component library for Next Cloud Platform, built with [shadcn/ui](https://ui.shadcn.com).
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
First, import the CSS in your app's entry point:
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import '@yanolja-next/next-hub-ui/index.css';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Then you're ready to use the components:
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { Button, Card } from '@yanolja-next/next-hub-ui';
|
|
22
|
+
|
|
23
|
+
const MyPage = () => {
|
|
24
|
+
return (
|
|
25
|
+
<Card>
|
|
26
|
+
<Button>Click me</Button>
|
|
27
|
+
</Card>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
```
|