@nhatdev94/common-ui 1.3.4 → 1.3.6
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 +41 -207
- package/dist/index.d.mts +275 -2
- package/dist/index.d.ts +275 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
# 📦 Common UI Library
|
|
2
|
+
## Document Version: 1.0
|
|
3
|
+
## Status: 🟢 Stable
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
**Document Version:** 1.1\
|
|
5
|
-
**Last Updated:**
|
|
6
|
-
**Owner:**
|
|
7
|
-
**Status:**
|
|
5
|
+
@nhatdev94/common-ui là thư viện UI component dùng chung, giúp chuẩn hóa giao diện, giảm thiểu trùng lặp code và đảm bảo tính nhất quán cho toàn bộ hệ sinh thái frontend.
|
|
8
6
|
|
|
9
7
|
------------------------------------------------------------------------
|
|
10
8
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
This package requires:
|
|
14
|
-
|
|
15
|
-
- React 18+
|
|
16
|
-
- Tailwind CSS v4
|
|
17
|
-
|
|
18
|
-
------------------------------------------------------------------------
|
|
19
|
-
|
|
20
|
-
🚀 Hướng dẫn tích hợp cho dự án mới
|
|
21
|
-
|
|
22
|
-
Để sử dụng thư viện trong các dự án mới (Vite, Next.js, v.v.), vui lòng làm theo các bước hướng dẫn dưới đây.
|
|
23
|
-
|
|
24
|
-
1️⃣ Cài đặt
|
|
9
|
+
## 1️⃣ Hướng dẫn tích hợp cho dự án mới
|
|
10
|
+
Để sử dụng thư viện trong các dự án (Vite, Next.js, v.v.), vui lòng thực hiện các bước sau:
|
|
25
11
|
|
|
12
|
+
### Cài đặt package
|
|
26
13
|
``` bash
|
|
27
14
|
npm install @nhatdev94/common-ui
|
|
28
15
|
```
|
|
29
16
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Mở file CSS chính của bạn (ví dụ: src/index.css hoặc app/globals.css) và cấu hình như sau:
|
|
33
|
-
|
|
17
|
+
### Thiết lập Styles & Themes
|
|
18
|
+
Mở file CSS chính (ví dụ: src/index.css hoặc app/globals.css) và cấu hình:
|
|
34
19
|
``` bash
|
|
35
20
|
@import "tailwindcss";
|
|
21
|
+
// src/index.css
|
|
36
22
|
|
|
37
23
|
/* -----------------------------------------------------------
|
|
38
24
|
* IMPORT THEME
|
|
@@ -40,214 +26,62 @@ Mở file CSS chính của bạn (ví dụ: src/index.css hoặc app/globals.css
|
|
|
40
26
|
* ----------------------------------------------------------- */
|
|
41
27
|
@import "@nhatdev94/common-ui/themes/default.css";
|
|
42
28
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Nếu bạn nhận thấy các Component hiển thị nhưng bị mất các class tiện ích của Tailwind (như padding, margin, màu sắc động), đó là do Tailwind v4 chưa quét qua mã nguồn của thư viện.
|
|
46
|
-
|
|
47
|
-
Hãy thêm dòng @source bên dưới phần import trong file CSS:
|
|
48
|
-
|
|
49
|
-
``` bash
|
|
29
|
+
/* Chỉnh sửa đường dẫn đến node_modules của bạn */
|
|
50
30
|
@source "../node_modules/@nhatdev94/common-ui/dist/**/*.js";
|
|
51
31
|
```
|
|
52
32
|
|
|
53
33
|
------------------------------------------------------------------------
|
|
54
34
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Sau khi thiết lập xong, bạn có thể bắt đầu sử dụng các component trong dự án của mình:
|
|
35
|
+
## 2️⃣ Hướng dẫn sử dụng Components
|
|
36
|
+
Thư viện được xây dựng theo tư duy Atomic Design, đảm bảo các component là Stateless by default và Business-agnostic.
|
|
58
37
|
|
|
38
|
+
### Storybook
|
|
59
39
|
``` bash
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
export default function App() {
|
|
63
|
-
return (
|
|
64
|
-
<div className="flex gap-4 p-8">
|
|
65
|
-
<Button variant="primary">Click Me</Button>
|
|
66
|
-
<Button variant="outline">Cancel</Button>
|
|
67
|
-
</div>
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
------------------------------------------------------------------------
|
|
73
|
-
|
|
74
|
-
🛠 **Quy trình Cập nhật và Nâng cấp Package (Workflow)**
|
|
75
|
-
|
|
76
|
-
1. **Giai đoạn Cập nhật Package (Pkg Side)**
|
|
77
|
-
|
|
78
|
-
Khi có yêu cầu thay đổi tính năng hoặc sửa lỗi trong package:
|
|
79
|
-
|
|
80
|
-
- **Modify Code**: Thực hiện thay đổi logic trong source code của package.
|
|
81
|
-
- **Test**: Chạy unit test của package để đảm bảo không làm hỏng các tính năng cũ.
|
|
82
|
-
- **Bump Version**: Cập nhật phiên bản trong file package.json theo nguyên tắc Semantic Versioning (SemVer):
|
|
83
|
-
+ *Major (v1.0.0 -> v2.0.0)*: Có thay đổi lớn, không tương thích ngược.
|
|
84
|
-
+ *Minor (v1.0.0 -> v1.1.0)*: Thêm tính năng mới nhưng vẫn tương thích ngược.
|
|
85
|
-
+ *Patch (v1.0.0 -> v1.0.1)*: Sửa lỗi nhỏ.
|
|
86
|
-
- **Build & Publish**: Chạy lệnh build (nếu có) và đẩy lên Registry (NPM, GitHub Packages, hoặc Azure Artifacts).
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
npm publish
|
|
40
|
+
npm run storybook
|
|
90
41
|
```
|
|
42
|
+
### Component
|
|
91
43
|
|
|
92
|
-
2. **Giai đoạn Tích hợp vào Ứng dụng (App Side)**
|
|
93
|
-
|
|
94
|
-
Sau khi package đã có phiên bản mới trên kho lưu trữ, ứng dụng chính cần được cập nhật:
|
|
95
|
-
- **Upgrade Command**: Sử dụng lệnh để cài đặt phiên bản cụ thể.
|
|
96
44
|
```bash
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
- **Regression Test**: Chạy ứng dụng chính để kiểm tra xem package mới có hoạt động trơn tru với các module khác không.
|
|
100
|
-
|
|
101
|
-
------------------------------------------------------------------------
|
|
102
|
-
|
|
103
|
-
# 1. Executive Summary
|
|
104
|
-
|
|
105
|
-
`@nhatdev94/common-ui` là thư viện UI component dùng chung cho toàn bộ hệ
|
|
106
|
-
sinh thái frontend của công ty.
|
|
107
|
-
|
|
108
|
-
Mục tiêu:
|
|
109
|
-
|
|
110
|
-
- Chuẩn hóa giao diện giữa các hệ thống
|
|
111
|
-
- Giảm duplication code
|
|
112
|
-
- Tăng tốc độ phát triển
|
|
113
|
-
- Đảm bảo tính nhất quán (consistency)
|
|
114
|
-
- Tăng khả năng maintain và scale
|
|
115
|
-
|
|
116
|
-
------------------------------------------------------------------------
|
|
117
|
-
|
|
118
|
-
# 2. Scope
|
|
119
|
-
|
|
120
|
-
## 2.1 In Scope
|
|
121
|
-
|
|
122
|
-
- Atomic UI Components (Button, Input, Modal, Table, etc.)
|
|
123
|
-
- Design tokens (color, spacing, typography)
|
|
124
|
-
- Accessibility compliant components
|
|
45
|
+
import { Button } from '@nhatdev94/common-ui'
|
|
125
46
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
- Application routing
|
|
132
|
-
- Domain-specific UI
|
|
133
|
-
|
|
134
|
-
------------------------------------------------------------------------
|
|
135
|
-
|
|
136
|
-
# 3. Architecture Overview
|
|
137
|
-
|
|
138
|
-
## 3.1 Design Principles
|
|
139
|
-
|
|
140
|
-
1. Component-driven development
|
|
141
|
-
2. Stateless by default
|
|
142
|
-
3. Business-agnostic
|
|
143
|
-
4. Backward-compatible changes
|
|
144
|
-
5. Accessibility-first mindset
|
|
145
|
-
|
|
146
|
-
------------------------------------------------------------------------
|
|
147
|
-
|
|
148
|
-
## 3.2 Tech Stack
|
|
149
|
-
|
|
150
|
-
- React 18+
|
|
151
|
-
- TypeScript
|
|
152
|
-
- TailwindCSS
|
|
153
|
-
- Storybook
|
|
154
|
-
- Vitest
|
|
155
|
-
- tsup
|
|
156
|
-
|
|
157
|
-
------------------------------------------------------------------------
|
|
158
|
-
|
|
159
|
-
# 4. Folder Structure
|
|
160
|
-
|
|
161
|
-
``` bash
|
|
162
|
-
common-ui/
|
|
163
|
-
├─ src/
|
|
164
|
-
│ ├─ components/
|
|
165
|
-
│ ├─ hooks/
|
|
166
|
-
│ ├─ lib/
|
|
167
|
-
│ ├─ stories/
|
|
168
|
-
│ ├─ themes/
|
|
169
|
-
│ └─ index.ts
|
|
170
|
-
├─ .storybook/
|
|
171
|
-
├─ dist/
|
|
172
|
-
├─ package.json
|
|
173
|
-
├─ tsconfig.json
|
|
174
|
-
├─ tsup.config.json
|
|
175
|
-
└─ README.md
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
------------------------------------------------------------------------
|
|
179
|
-
|
|
180
|
-
# 5. Component Standards
|
|
181
|
-
|
|
182
|
-
## Naming Convention
|
|
183
|
-
|
|
184
|
-
- PascalCase cho component name
|
|
185
|
-
- KebabCase cho file name
|
|
186
|
-
- Props interface: `ComponentNameProps`
|
|
187
|
-
- Không sử dụng default export
|
|
188
|
-
|
|
189
|
-
## Rules
|
|
190
|
-
|
|
191
|
-
- Không gọi API
|
|
192
|
-
- Không import từ application layer
|
|
193
|
-
- Không chứa business validation logic
|
|
194
|
-
- Không phụ thuộc Redux / Zustand / App Context
|
|
195
|
-
|
|
196
|
-
------------------------------------------------------------------------
|
|
197
|
-
|
|
198
|
-
# 6. Storybook Governance
|
|
199
|
-
|
|
200
|
-
- Mỗi component bắt buộc có story
|
|
201
|
-
- Có default state và variants
|
|
202
|
-
- Có edge cases
|
|
203
|
-
|
|
204
|
-
Run:
|
|
205
|
-
|
|
206
|
-
``` bash
|
|
207
|
-
npm run storybook
|
|
47
|
+
export default async function DemoPage() {
|
|
48
|
+
return (
|
|
49
|
+
<Button>Click Me<Button>
|
|
50
|
+
)
|
|
51
|
+
}
|
|
208
52
|
```
|
|
209
53
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
``` bash
|
|
213
|
-
npm run build-storybook
|
|
214
|
-
```
|
|
54
|
+
- [Data Table](src/docs/table.md)
|
|
215
55
|
|
|
216
56
|
------------------------------------------------------------------------
|
|
217
57
|
|
|
218
|
-
|
|
58
|
+
## 3️⃣ Quy trình cập nhật và nâng cấp Package
|
|
219
59
|
|
|
220
|
-
|
|
60
|
+
### Các quy tắc (Rules) cần tuân thủ
|
|
61
|
+
Để đảm bảo tính ổn định, mọi đóng góp phải tuân thủ:
|
|
221
62
|
|
|
222
|
-
|
|
223
|
-
------- ------------------
|
|
224
|
-
MAJOR Breaking changes
|
|
225
|
-
MINOR New feature
|
|
226
|
-
PATCH Bug fix
|
|
63
|
+
- Naming: Sử dụng PascalCase cho tên component và kebab-case cho tên file.
|
|
227
64
|
|
|
228
|
-
|
|
65
|
+
- No Side Effects: Tuyệt đối không gọi API hoặc chứa logic nghiệp vụ (Business logic).
|
|
229
66
|
|
|
230
|
-
|
|
67
|
+
- Independence: Không phụ thuộc vào Redux, Zustand hoặc App Context của dự án tích hợp.
|
|
231
68
|
|
|
232
|
-
|
|
233
|
-
2. Lint & Test (planned)
|
|
234
|
-
3. Review
|
|
235
|
-
4. Merge to main
|
|
236
|
-
5. Automated publish (planned)
|
|
69
|
+
- Naming Props: Interface cho props phải có định dạng ComponentNameProps.
|
|
237
70
|
|
|
238
|
-
|
|
71
|
+
### Quy trình thực hiện (Workflow)
|
|
72
|
+
#### Giai đoạn 1: Cập nhật tại Package (Pkg Side)
|
|
73
|
+
- **Modify Code**: Chỉnh sửa source code trong `src/components`.
|
|
239
74
|
|
|
240
|
-
|
|
75
|
+
- **Test**: Chạy unit test và kiểm tra trên `npm run storybook`.
|
|
241
76
|
|
|
242
|
-
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
77
|
+
- **Bump Version**: Cập nhật phiên bản trong `package.json` theo chuẩn SemVer:
|
|
78
|
+
+ PATCH: Sửa lỗi nhỏ.
|
|
79
|
+
+ MINOR: Thêm tính năng mới (tương thích ngược).
|
|
80
|
+
+ MAJOR: Thay đổi lớn (không tương thích ngược).
|
|
246
81
|
|
|
247
|
-
|
|
82
|
+
- **Build & Publish**: Chạy `npm run build` và đẩy lên registry bằng `npm publish`.
|
|
248
83
|
|
|
249
|
-
|
|
84
|
+
#### Giai đoạn 2: Tích hợp vào Ứng dụng (App Side)
|
|
85
|
+
- **Upgrade**: Chạy lệnh `npm install @nhatdev94/common-ui@latest`.
|
|
250
86
|
|
|
251
|
-
|
|
252
|
-
ecosystem, đảm bảo consistency, scalability và maintainability cho sản
|
|
253
|
-
phẩm.
|
|
87
|
+
- **Regression Test**: Kiểm tra lại các module liên quan để đảm bảo không có lỗi phát sinh.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ColumnDef, Column, Table as Table$1 } from '@tanstack/react-table';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import { Avatar as Avatar$1, Separator as Separator$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, Select as Select$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
|
+
import { Avatar as Avatar$1, Separator as Separator$1, Checkbox as Checkbox$1, Accordion as Accordion$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, HoverCard as HoverCard$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, DropdownMenu as DropdownMenu$1, Label as Label$1, Select as Select$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
8
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
9
|
+
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
10
|
+
import { Command as Command$1 } from 'cmdk';
|
|
11
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
12
|
+
import { OTPInput } from 'input-otp';
|
|
13
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
7
14
|
import { ToasterProps } from 'sonner';
|
|
8
15
|
import { ClassValue } from 'clsx';
|
|
9
16
|
|
|
@@ -84,6 +91,75 @@ declare function ButtonGroupText({ className, asChild, ...props }: React.Compone
|
|
|
84
91
|
}): react_jsx_runtime.JSX.Element;
|
|
85
92
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
86
93
|
|
|
94
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime.JSX.Element;
|
|
97
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
98
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
99
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
declare const badgeVariants: (props?: ({
|
|
102
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
103
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
+
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
105
|
+
asChild?: boolean;
|
|
106
|
+
}): react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
109
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
110
|
+
}): react_jsx_runtime.JSX.Element;
|
|
111
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare function Card({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
121
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
122
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
123
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
124
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
125
|
+
type CarouselProps = {
|
|
126
|
+
opts?: CarouselOptions;
|
|
127
|
+
plugins?: CarouselPlugin;
|
|
128
|
+
orientation?: "horizontal" | "vertical";
|
|
129
|
+
setApi?: (api: CarouselApi) => void;
|
|
130
|
+
};
|
|
131
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
133
|
+
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
135
|
+
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
138
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
140
|
+
|
|
141
|
+
declare const Combobox: typeof Combobox$1.Root;
|
|
142
|
+
declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
143
|
+
declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
|
|
145
|
+
showTrigger?: boolean;
|
|
146
|
+
showClear?: boolean;
|
|
147
|
+
}): react_jsx_runtime.JSX.Element;
|
|
148
|
+
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): react_jsx_runtime.JSX.Element;
|
|
150
|
+
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
151
|
+
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): react_jsx_runtime.JSX.Element;
|
|
154
|
+
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): react_jsx_runtime.JSX.Element;
|
|
155
|
+
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function ComboboxChips({ className, ...props }: React$1.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
|
|
158
|
+
showRemove?: boolean;
|
|
159
|
+
}): react_jsx_runtime.JSX.Element;
|
|
160
|
+
declare function ComboboxChipsInput({ className, children, ...props }: Combobox$1.Input.Props): react_jsx_runtime.JSX.Element;
|
|
161
|
+
declare function useComboboxAnchor(): React$1.RefObject<HTMLDivElement | null>;
|
|
162
|
+
|
|
87
163
|
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
88
164
|
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
89
165
|
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -99,6 +175,203 @@ declare function DialogFooter({ className, showCloseButton, children, ...props }
|
|
|
99
175
|
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
100
176
|
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
101
177
|
|
|
178
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
180
|
+
title?: string;
|
|
181
|
+
description?: string;
|
|
182
|
+
className?: string;
|
|
183
|
+
showCloseButton?: boolean;
|
|
184
|
+
}): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
187
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
188
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
189
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
192
|
+
|
|
193
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
196
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
197
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
198
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
|
|
200
|
+
inset?: boolean;
|
|
201
|
+
}): react_jsx_runtime.JSX.Element;
|
|
202
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
203
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
204
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
205
|
+
inset?: boolean;
|
|
206
|
+
variant?: "default" | "destructive";
|
|
207
|
+
}): react_jsx_runtime.JSX.Element;
|
|
208
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
209
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
|
|
211
|
+
inset?: boolean;
|
|
212
|
+
}): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
214
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
215
|
+
|
|
216
|
+
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
217
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
219
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
220
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
221
|
+
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
223
|
+
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
224
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
225
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
228
|
+
declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare const emptyMediaVariants: (props?: ({
|
|
230
|
+
variant?: "default" | "icon" | null | undefined;
|
|
231
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
232
|
+
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
233
|
+
declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
234
|
+
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
235
|
+
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
236
|
+
|
|
237
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime.JSX.Element;
|
|
238
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
239
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime.JSX.Element;
|
|
240
|
+
|
|
241
|
+
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
242
|
+
containerClassName?: string;
|
|
243
|
+
}): react_jsx_runtime.JSX.Element;
|
|
244
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
245
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
246
|
+
index: number;
|
|
247
|
+
}): react_jsx_runtime.JSX.Element;
|
|
248
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
249
|
+
|
|
250
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
251
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
252
|
+
declare const itemVariants: (props?: ({
|
|
253
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
254
|
+
size?: "default" | "sm" | null | undefined;
|
|
255
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
256
|
+
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
257
|
+
asChild?: boolean;
|
|
258
|
+
}): react_jsx_runtime.JSX.Element;
|
|
259
|
+
declare const itemMediaVariants: (props?: ({
|
|
260
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
261
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
262
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
263
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
264
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
265
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
266
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
267
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
268
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
|
+
|
|
270
|
+
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
271
|
+
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
272
|
+
|
|
273
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime.JSX.Element;
|
|
275
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime.JSX.Element;
|
|
276
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
278
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
279
|
+
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime.JSX.Element;
|
|
280
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menubar$1.Item> & {
|
|
281
|
+
inset?: boolean;
|
|
282
|
+
variant?: "default" | "destructive";
|
|
283
|
+
}): react_jsx_runtime.JSX.Element;
|
|
284
|
+
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
285
|
+
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
286
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.Label> & {
|
|
287
|
+
inset?: boolean;
|
|
288
|
+
}): react_jsx_runtime.JSX.Element;
|
|
289
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
290
|
+
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
291
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
292
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
293
|
+
inset?: boolean;
|
|
294
|
+
}): react_jsx_runtime.JSX.Element;
|
|
295
|
+
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
296
|
+
|
|
297
|
+
declare function NativeSelect({ className, size, ...props }: Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
298
|
+
size?: "sm" | "default";
|
|
299
|
+
}): react_jsx_runtime.JSX.Element;
|
|
300
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
301
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
302
|
+
|
|
303
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
304
|
+
viewport?: boolean;
|
|
305
|
+
}): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
|
|
307
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
|
|
308
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
309
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
310
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
311
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
|
|
312
|
+
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
|
|
313
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
|
|
314
|
+
|
|
315
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
316
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
317
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
318
|
+
type PaginationLinkProps = {
|
|
319
|
+
isActive?: boolean;
|
|
320
|
+
} & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
|
|
321
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
322
|
+
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
323
|
+
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
324
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
325
|
+
|
|
326
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
|
|
327
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
328
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
|
|
329
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
|
|
330
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
331
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
|
|
332
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
333
|
+
|
|
334
|
+
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
|
|
335
|
+
|
|
336
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
337
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
|
|
338
|
+
|
|
339
|
+
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
|
|
340
|
+
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
|
|
341
|
+
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
342
|
+
withHandle?: boolean;
|
|
343
|
+
}): react_jsx_runtime.JSX.Element;
|
|
344
|
+
|
|
345
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
346
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
347
|
+
|
|
348
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
|
|
349
|
+
|
|
350
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
351
|
+
|
|
352
|
+
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & {
|
|
353
|
+
size?: "sm" | "default";
|
|
354
|
+
}): react_jsx_runtime.JSX.Element;
|
|
355
|
+
|
|
356
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
|
|
357
|
+
declare const tabsListVariants: (props?: ({
|
|
358
|
+
variant?: "line" | "default" | null | undefined;
|
|
359
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
360
|
+
declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
|
|
361
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
362
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
363
|
+
|
|
364
|
+
declare const toggleVariants: (props?: ({
|
|
365
|
+
variant?: "default" | "outline" | null | undefined;
|
|
366
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
367
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
368
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
369
|
+
|
|
370
|
+
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
371
|
+
spacing?: number;
|
|
372
|
+
}): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
374
|
+
|
|
102
375
|
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
103
376
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
104
377
|
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -275,4 +548,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
275
548
|
|
|
276
549
|
declare function useIsMobile(): boolean;
|
|
277
550
|
|
|
278
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTableFilter, type DataTableFilterProps, DataTablePagination, type DataTablePaginationProps, DataTableViewOptions, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputPassword, Label, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonGroupVariants, buttonVariants, cn, useIsMobile, useSidebar };
|
|
551
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTableFilter, type DataTableFilterProps, DataTablePagination, type DataTablePaginationProps, DataTableViewOptions, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, tabsListVariants, toggleVariants, useComboboxAnchor, useIsMobile, useSidebar };
|