@vllnt/ui 0.1.4 → 0.1.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/dist/components/accordion/accordion.js +172 -0
- package/dist/components/accordion/index.js +12 -0
- package/dist/components/alert/alert.js +53 -0
- package/dist/components/alert/index.js +7 -0
- package/dist/components/alert-dialog/alert-dialog.js +117 -0
- package/dist/components/alert-dialog/index.js +26 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +6 -0
- package/dist/components/aspect-ratio/index.js +4 -0
- package/dist/components/avatar/avatar.js +43 -0
- package/dist/components/avatar/index.js +6 -0
- package/dist/components/badge/badge.js +26 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/blog-card/blog-card.js +50 -0
- package/dist/components/blog-card/index.js +5 -0
- package/dist/components/breadcrumb/breadcrumb.js +65 -0
- package/dist/components/breadcrumb/index.js +4 -0
- package/dist/components/button/button.js +48 -0
- package/dist/components/button/index.js +5 -0
- package/dist/components/calendar/calendar.js +71 -0
- package/dist/components/calendar/index.js +4 -0
- package/dist/components/callout/callout.js +59 -0
- package/dist/components/callout/index.js +4 -0
- package/dist/components/card/card.js +64 -0
- package/dist/components/card/index.js +16 -0
- package/dist/components/carousel/carousel.js +235 -0
- package/dist/components/carousel/index.js +14 -0
- package/dist/components/category-filter/category-filter.js +34 -0
- package/dist/components/category-filter/index.js +4 -0
- package/dist/components/chart/area-chart.js +99 -0
- package/dist/components/chart/bar-chart.js +80 -0
- package/dist/components/chart/index.js +3 -0
- package/dist/components/chart/line-chart.js +97 -0
- package/dist/components/checkbox/checkbox.js +28 -0
- package/dist/components/checkbox/index.js +4 -0
- package/dist/components/checklist/checklist.js +181 -0
- package/dist/components/checklist/index.js +6 -0
- package/dist/components/code-block/code-block.js +123 -0
- package/dist/components/code-block/index.js +4 -0
- package/dist/components/code-playground/code-playground.js +86 -0
- package/dist/components/code-playground/index.js +8 -0
- package/dist/components/collapsible/collapsible.js +10 -0
- package/dist/components/collapsible/index.js +10 -0
- package/dist/components/command/command.js +123 -0
- package/dist/components/command/index.js +22 -0
- package/dist/components/comparison/comparison.js +109 -0
- package/dist/components/comparison/index.js +8 -0
- package/dist/components/completion-dialog/completion-dialog.js +173 -0
- package/dist/components/completion-dialog/index.js +6 -0
- package/dist/components/content-intro/content-intro.js +144 -0
- package/dist/components/content-intro/index.js +6 -0
- package/dist/components/context-menu/context-menu.js +154 -0
- package/dist/components/context-menu/index.js +34 -0
- package/dist/components/cookie-consent/cookie-consent.js +171 -0
- package/dist/components/cookie-consent/index.js +8 -0
- package/dist/components/dialog/dialog.js +105 -0
- package/dist/components/dialog/index.js +24 -0
- package/dist/components/drawer/drawer.js +102 -0
- package/dist/components/drawer/index.js +24 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +151 -0
- package/dist/components/dropdown-menu/index.js +34 -0
- package/dist/components/exercise/exercise.js +112 -0
- package/dist/components/exercise/index.js +4 -0
- package/dist/components/faq/faq.js +56 -0
- package/dist/components/faq/index.js +5 -0
- package/dist/components/filter-bar/filter-bar.js +244 -0
- package/dist/components/filter-bar/index.js +6 -0
- package/dist/components/floating-action-button/floating-action-button.js +35 -0
- package/dist/components/floating-action-button/index.js +6 -0
- package/dist/components/flow-diagram/flow-canvas.js +109 -0
- package/dist/components/flow-diagram/flow-controls.js +140 -0
- package/dist/components/flow-diagram/flow-diagram.js +114 -0
- package/dist/components/flow-diagram/flow-error-boundary.js +63 -0
- package/dist/components/flow-diagram/flow-fullscreen.js +58 -0
- package/dist/components/flow-diagram/index.js +12 -0
- package/dist/components/flow-diagram/types.js +0 -0
- package/dist/components/flow-diagram/use-flow-diagram.js +141 -0
- package/dist/components/hover-card/hover-card.js +26 -0
- package/dist/components/hover-card/index.js +6 -0
- package/dist/components/index.js +633 -0
- package/dist/components/inline-input/index.js +4 -0
- package/dist/components/inline-input/inline-input.js +42 -0
- package/dist/components/input/index.js +4 -0
- package/dist/components/input/input.js +23 -0
- package/dist/components/input-otp/index.js +12 -0
- package/dist/components/input-otp/input-otp.js +54 -0
- package/dist/components/key-concept/index.js +8 -0
- package/dist/components/key-concept/key-concept.js +79 -0
- package/dist/components/keyboard-shortcuts-help/index.js +6 -0
- package/dist/components/keyboard-shortcuts-help/keyboard-shortcuts-help.js +121 -0
- package/dist/components/label/index.js +4 -0
- package/dist/components/label/label.js +21 -0
- package/dist/components/lang-provider/index.js +4 -0
- package/dist/components/lang-provider/lang-provider.js +18 -0
- package/dist/components/learning-objectives/index.js +10 -0
- package/dist/components/learning-objectives/learning-objectives.js +76 -0
- package/dist/components/mdx-content/index.js +4 -0
- package/dist/components/mdx-content/mdx-content.js +140 -0
- package/dist/components/menubar/index.js +36 -0
- package/dist/components/menubar/menubar.js +183 -0
- package/dist/components/model-selector/index.js +6 -0
- package/dist/components/model-selector/model-selector.js +374 -0
- package/dist/components/navbar-saas/index.js +6 -0
- package/dist/components/navbar-saas/navbar-saas.js +68 -0
- package/dist/components/navbar-saas/use-mobile.js +19 -0
- package/dist/components/navigation-menu/index.js +22 -0
- package/dist/components/navigation-menu/navigation-menu.js +108 -0
- package/dist/components/pagination/index.js +4 -0
- package/dist/components/pagination/pagination.js +44 -0
- package/dist/components/popover/index.js +12 -0
- package/dist/components/popover/popover.js +28 -0
- package/dist/components/pro-tip/index.js +8 -0
- package/dist/components/pro-tip/pro-tip.js +139 -0
- package/dist/components/profile-section/index.js +4 -0
- package/dist/components/profile-section/profile-section.js +45 -0
- package/dist/components/progress-bar/index.js +4 -0
- package/dist/components/progress-bar/progress-bar.js +56 -0
- package/dist/components/progress-card/index.js +6 -0
- package/dist/components/progress-card/progress-card.js +68 -0
- package/dist/components/quiz/index.js +4 -0
- package/dist/components/quiz/quiz.js +210 -0
- package/dist/components/radio-group/index.js +5 -0
- package/dist/components/radio-group/radio-group.js +36 -0
- package/dist/components/resizable/index.js +10 -0
- package/dist/components/resizable/resizable.js +39 -0
- package/dist/components/scroll-area/index.js +5 -0
- package/dist/components/scroll-area/scroll-area.js +39 -0
- package/dist/components/search-bar/index.js +4 -0
- package/dist/components/search-bar/search-bar.js +120 -0
- package/dist/components/search-dialog/index.js +4 -0
- package/dist/components/search-dialog/search-dialog.js +102 -0
- package/dist/components/select/index.js +24 -0
- package/dist/components/select/select.js +125 -0
- package/dist/components/separator/index.js +4 -0
- package/dist/components/separator/separator.js +25 -0
- package/dist/components/share-dialog/index.js +6 -0
- package/dist/components/share-dialog/share-dialog.js +121 -0
- package/dist/components/share-section/index.js +6 -0
- package/dist/components/share-section/share-section.js +57 -0
- package/dist/components/sheet/index.js +24 -0
- package/dist/components/sheet/sheet.js +116 -0
- package/dist/components/sidebar/index.js +4 -0
- package/dist/components/sidebar/sidebar.js +188 -0
- package/dist/components/sidebar-provider/index.js +5 -0
- package/dist/components/sidebar-provider/sidebar-provider.js +25 -0
- package/dist/components/sidebar-toggle/index.js +4 -0
- package/dist/components/sidebar-toggle/sidebar-toggle.js +36 -0
- package/dist/components/skeleton/index.js +4 -0
- package/dist/components/skeleton/skeleton.js +17 -0
- package/dist/components/slider/index.js +4 -0
- package/dist/components/slider/slider.js +24 -0
- package/dist/components/slideshow/index.js +6 -0
- package/dist/components/slideshow/slideshow.js +442 -0
- package/dist/components/social-fab/index.js +6 -0
- package/dist/components/social-fab/social-fab.js +211 -0
- package/dist/components/social-fab/use-social-fab.js +111 -0
- package/dist/components/spinner/index.js +4 -0
- package/dist/components/spinner/spinner.js +23 -0
- package/dist/components/step-by-step/index.js +8 -0
- package/dist/components/step-by-step/step-by-step.js +194 -0
- package/dist/components/step-navigation/index.js +4 -0
- package/dist/components/step-navigation/step-navigation.js +119 -0
- package/dist/components/switch/index.js +4 -0
- package/dist/components/switch/switch.js +28 -0
- package/dist/components/table/index.js +20 -0
- package/dist/components/table/table.js +87 -0
- package/dist/components/table-of-contents/index.js +4 -0
- package/dist/components/table-of-contents/table-of-contents.js +71 -0
- package/dist/components/table-of-contents-panel/index.js +6 -0
- package/dist/components/table-of-contents-panel/table-of-contents-panel.js +202 -0
- package/dist/components/tabs/index.js +12 -0
- package/dist/components/tabs/tabs.js +84 -0
- package/dist/components/terminal/index.js +8 -0
- package/dist/components/terminal/terminal.js +119 -0
- package/dist/components/textarea/index.js +4 -0
- package/dist/components/textarea/textarea.js +22 -0
- package/dist/components/theme-provider/index.js +4 -0
- package/dist/components/theme-provider/theme-provider.js +11 -0
- package/dist/components/theme-toggle/index.js +4 -0
- package/dist/components/theme-toggle/theme-toggle.js +172 -0
- package/dist/components/thinking-block/index.js +4 -0
- package/dist/components/thinking-block/thinking-block.js +52 -0
- package/dist/components/tldr-section/index.js +4 -0
- package/dist/components/tldr-section/tldr-section.js +92 -0
- package/dist/components/toast/index.js +18 -0
- package/dist/components/toast/toast.js +84 -0
- package/dist/components/toast/toaster.js +38 -0
- package/dist/components/toggle/index.js +5 -0
- package/dist/components/toggle/toggle.js +39 -0
- package/dist/components/toggle-group/index.js +5 -0
- package/dist/components/toggle-group/toggle-group.js +46 -0
- package/dist/components/tooltip/index.js +12 -0
- package/dist/components/tooltip/tooltip.js +27 -0
- package/dist/components/truncated-text/index.js +4 -0
- package/dist/components/truncated-text/truncated-text.js +25 -0
- package/dist/components/tutorial-card/index.js +6 -0
- package/dist/components/tutorial-card/tutorial-card.js +75 -0
- package/dist/components/tutorial-complete/index.js +6 -0
- package/dist/components/tutorial-complete/tutorial-complete.js +134 -0
- package/dist/components/tutorial-filters/index.js +6 -0
- package/dist/components/tutorial-filters/tutorial-filters.js +205 -0
- package/dist/components/tutorial-intro-content/index.js +6 -0
- package/dist/components/tutorial-intro-content/tutorial-intro-content.js +141 -0
- package/dist/components/tutorial-mdx/index.js +8 -0
- package/dist/components/tutorial-mdx/tutorial-mdx.js +219 -0
- package/dist/components/video-embed/index.js +4 -0
- package/dist/components/video-embed/video-embed.js +77 -0
- package/dist/index.js +12 -8556
- package/dist/lib/types.js +11 -0
- package/dist/lib/use-debounce.js +17 -0
- package/dist/lib/utils.js +8 -0
- package/dist/tailwind-preset.d.ts +5 -0
- package/dist/tailwind-preset.js +9 -10
- package/dist/types/content.js +0 -0
- package/dist/types/index.js +0 -0
- package/package.json +1 -1
- package/dist/chunk-XRV5RSYH.js +0 -569
- package/dist/flow-diagram-N3EHM6VB.js +0 -2
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
import { Badge, badgeVariants } from "./badge";
|
|
2
|
+
import { Breadcrumb } from "./breadcrumb";
|
|
3
|
+
import { Button, buttonVariants } from "./button";
|
|
4
|
+
import {
|
|
5
|
+
CookieConsent,
|
|
6
|
+
cookieConsentVariants
|
|
7
|
+
} from "./cookie-consent";
|
|
8
|
+
import {
|
|
9
|
+
Card,
|
|
10
|
+
CardContent,
|
|
11
|
+
CardDescription,
|
|
12
|
+
CardFooter,
|
|
13
|
+
CardHeader,
|
|
14
|
+
CardTitle
|
|
15
|
+
} from "./card";
|
|
16
|
+
import {
|
|
17
|
+
Command,
|
|
18
|
+
CommandDialog,
|
|
19
|
+
CommandEmpty,
|
|
20
|
+
CommandGroup,
|
|
21
|
+
CommandInput,
|
|
22
|
+
CommandItem,
|
|
23
|
+
CommandList,
|
|
24
|
+
CommandSeparator,
|
|
25
|
+
CommandShortcut
|
|
26
|
+
} from "./command";
|
|
27
|
+
import {
|
|
28
|
+
Dialog,
|
|
29
|
+
DialogClose,
|
|
30
|
+
DialogContent,
|
|
31
|
+
DialogDescription,
|
|
32
|
+
DialogFooter,
|
|
33
|
+
DialogHeader,
|
|
34
|
+
DialogOverlay,
|
|
35
|
+
DialogPortal,
|
|
36
|
+
DialogTitle,
|
|
37
|
+
DialogTrigger
|
|
38
|
+
} from "./dialog";
|
|
39
|
+
import {
|
|
40
|
+
DropdownMenu,
|
|
41
|
+
DropdownMenuCheckboxItem,
|
|
42
|
+
DropdownMenuContent,
|
|
43
|
+
DropdownMenuGroup,
|
|
44
|
+
DropdownMenuItem,
|
|
45
|
+
DropdownMenuLabel,
|
|
46
|
+
DropdownMenuPortal,
|
|
47
|
+
DropdownMenuRadioGroup,
|
|
48
|
+
DropdownMenuRadioItem,
|
|
49
|
+
DropdownMenuSeparator,
|
|
50
|
+
DropdownMenuShortcut,
|
|
51
|
+
DropdownMenuSub,
|
|
52
|
+
DropdownMenuSubContent,
|
|
53
|
+
DropdownMenuSubTrigger,
|
|
54
|
+
DropdownMenuTrigger
|
|
55
|
+
} from "./dropdown-menu";
|
|
56
|
+
import { Input } from "./input";
|
|
57
|
+
import { Checkbox } from "./checkbox";
|
|
58
|
+
import { Label } from "./label";
|
|
59
|
+
import { Switch } from "./switch";
|
|
60
|
+
import {
|
|
61
|
+
toast,
|
|
62
|
+
Toast,
|
|
63
|
+
ToastAction,
|
|
64
|
+
ToastClose,
|
|
65
|
+
ToastDescription,
|
|
66
|
+
Toaster,
|
|
67
|
+
ToastTitle
|
|
68
|
+
} from "./toast";
|
|
69
|
+
import { Textarea } from "./textarea";
|
|
70
|
+
import {
|
|
71
|
+
Select,
|
|
72
|
+
SelectContent,
|
|
73
|
+
SelectGroup,
|
|
74
|
+
SelectItem,
|
|
75
|
+
SelectLabel,
|
|
76
|
+
SelectScrollDownButton,
|
|
77
|
+
SelectScrollUpButton,
|
|
78
|
+
SelectSeparator,
|
|
79
|
+
SelectTrigger,
|
|
80
|
+
SelectValue
|
|
81
|
+
} from "./select";
|
|
82
|
+
import { RadioGroup, RadioGroupItem } from "./radio-group";
|
|
83
|
+
import { Slider } from "./slider";
|
|
84
|
+
import { Toggle, toggleVariants } from "./toggle";
|
|
85
|
+
import { ToggleGroup, ToggleGroupItem } from "./toggle-group";
|
|
86
|
+
import {
|
|
87
|
+
InputOTP,
|
|
88
|
+
InputOTPGroup,
|
|
89
|
+
InputOTPSeparator,
|
|
90
|
+
InputOTPSlot
|
|
91
|
+
} from "./input-otp";
|
|
92
|
+
import {
|
|
93
|
+
Tooltip,
|
|
94
|
+
TooltipContent,
|
|
95
|
+
TooltipProvider,
|
|
96
|
+
TooltipTrigger
|
|
97
|
+
} from "./tooltip";
|
|
98
|
+
import {
|
|
99
|
+
Popover,
|
|
100
|
+
PopoverAnchor,
|
|
101
|
+
PopoverContent,
|
|
102
|
+
PopoverTrigger
|
|
103
|
+
} from "./popover";
|
|
104
|
+
import {
|
|
105
|
+
Sheet,
|
|
106
|
+
SheetClose,
|
|
107
|
+
SheetContent,
|
|
108
|
+
SheetDescription,
|
|
109
|
+
SheetFooter,
|
|
110
|
+
SheetHeader,
|
|
111
|
+
SheetOverlay,
|
|
112
|
+
SheetPortal,
|
|
113
|
+
SheetTitle,
|
|
114
|
+
SheetTrigger
|
|
115
|
+
} from "./sheet";
|
|
116
|
+
import {
|
|
117
|
+
Drawer,
|
|
118
|
+
DrawerClose,
|
|
119
|
+
DrawerContent,
|
|
120
|
+
DrawerDescription,
|
|
121
|
+
DrawerFooter,
|
|
122
|
+
DrawerHeader,
|
|
123
|
+
DrawerOverlay,
|
|
124
|
+
DrawerPortal,
|
|
125
|
+
DrawerTitle,
|
|
126
|
+
DrawerTrigger
|
|
127
|
+
} from "./drawer";
|
|
128
|
+
import {
|
|
129
|
+
AlertDialog,
|
|
130
|
+
AlertDialogAction,
|
|
131
|
+
AlertDialogCancel,
|
|
132
|
+
AlertDialogContent,
|
|
133
|
+
AlertDialogDescription,
|
|
134
|
+
AlertDialogFooter,
|
|
135
|
+
AlertDialogHeader,
|
|
136
|
+
AlertDialogOverlay,
|
|
137
|
+
AlertDialogPortal,
|
|
138
|
+
AlertDialogTitle,
|
|
139
|
+
AlertDialogTrigger
|
|
140
|
+
} from "./alert-dialog";
|
|
141
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card";
|
|
142
|
+
import {
|
|
143
|
+
ContextMenu,
|
|
144
|
+
ContextMenuCheckboxItem,
|
|
145
|
+
ContextMenuContent,
|
|
146
|
+
ContextMenuGroup,
|
|
147
|
+
ContextMenuItem,
|
|
148
|
+
ContextMenuLabel,
|
|
149
|
+
ContextMenuPortal,
|
|
150
|
+
ContextMenuRadioGroup,
|
|
151
|
+
ContextMenuRadioItem,
|
|
152
|
+
ContextMenuSeparator,
|
|
153
|
+
ContextMenuShortcut,
|
|
154
|
+
ContextMenuSub,
|
|
155
|
+
ContextMenuSubContent,
|
|
156
|
+
ContextMenuSubTrigger,
|
|
157
|
+
ContextMenuTrigger
|
|
158
|
+
} from "./context-menu";
|
|
159
|
+
import {
|
|
160
|
+
Menubar,
|
|
161
|
+
MenubarCheckboxItem,
|
|
162
|
+
MenubarContent,
|
|
163
|
+
MenubarGroup,
|
|
164
|
+
MenubarItem,
|
|
165
|
+
MenubarLabel,
|
|
166
|
+
MenubarMenu,
|
|
167
|
+
MenubarPortal,
|
|
168
|
+
MenubarRadioGroup,
|
|
169
|
+
MenubarRadioItem,
|
|
170
|
+
MenubarSeparator,
|
|
171
|
+
MenubarShortcut,
|
|
172
|
+
MenubarSub,
|
|
173
|
+
MenubarSubContent,
|
|
174
|
+
MenubarSubTrigger,
|
|
175
|
+
MenubarTrigger
|
|
176
|
+
} from "./menubar";
|
|
177
|
+
import {
|
|
178
|
+
NavigationMenu,
|
|
179
|
+
NavigationMenuContent,
|
|
180
|
+
NavigationMenuIndicator,
|
|
181
|
+
NavigationMenuItem,
|
|
182
|
+
NavigationMenuLink,
|
|
183
|
+
NavigationMenuList,
|
|
184
|
+
NavigationMenuTrigger,
|
|
185
|
+
navigationMenuTriggerStyle,
|
|
186
|
+
NavigationMenuViewport
|
|
187
|
+
} from "./navigation-menu";
|
|
188
|
+
import {
|
|
189
|
+
Table,
|
|
190
|
+
TableBody,
|
|
191
|
+
TableCaption,
|
|
192
|
+
TableCell,
|
|
193
|
+
TableFooter,
|
|
194
|
+
TableHead,
|
|
195
|
+
TableHeader,
|
|
196
|
+
TableRow
|
|
197
|
+
} from "./table";
|
|
198
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./avatar";
|
|
199
|
+
import { Skeleton } from "./skeleton";
|
|
200
|
+
import { Separator } from "./separator";
|
|
201
|
+
import { Alert, AlertDescription, AlertTitle, alertVariants } from "./alert";
|
|
202
|
+
import { AspectRatio } from "./aspect-ratio";
|
|
203
|
+
import { ScrollArea, ScrollBar } from "./scroll-area";
|
|
204
|
+
import {
|
|
205
|
+
ResizableHandle,
|
|
206
|
+
ResizablePanel,
|
|
207
|
+
ResizablePanelGroup
|
|
208
|
+
} from "./resizable";
|
|
209
|
+
import {
|
|
210
|
+
Collapsible,
|
|
211
|
+
CollapsibleContent,
|
|
212
|
+
CollapsibleTrigger
|
|
213
|
+
} from "./collapsible";
|
|
214
|
+
import {
|
|
215
|
+
Carousel,
|
|
216
|
+
CarouselContent,
|
|
217
|
+
CarouselItem,
|
|
218
|
+
CarouselNext,
|
|
219
|
+
CarouselPrevious
|
|
220
|
+
} from "./carousel";
|
|
221
|
+
import { Calendar } from "./calendar";
|
|
222
|
+
import { Spinner } from "./spinner";
|
|
223
|
+
import { CodeBlock } from "./code-block";
|
|
224
|
+
import { MDXContent } from "./mdx-content";
|
|
225
|
+
import {
|
|
226
|
+
NavbarSaas,
|
|
227
|
+
useMobile
|
|
228
|
+
} from "./navbar-saas";
|
|
229
|
+
import { Sidebar } from "./sidebar";
|
|
230
|
+
import { SidebarProvider, useSidebar } from "./sidebar-provider";
|
|
231
|
+
import { TableOfContents } from "./table-of-contents";
|
|
232
|
+
import { BlogCard, ContentCard } from "./blog-card";
|
|
233
|
+
import { CategoryFilter } from "./category-filter";
|
|
234
|
+
import { Pagination } from "./pagination";
|
|
235
|
+
import { SearchBar } from "./search-bar";
|
|
236
|
+
import {
|
|
237
|
+
ShareSection
|
|
238
|
+
} from "./share-section";
|
|
239
|
+
import { SearchDialog } from "./search-dialog";
|
|
240
|
+
import { LangProvider } from "./lang-provider";
|
|
241
|
+
import { ThemeProvider } from "./theme-provider";
|
|
242
|
+
import { ThemeToggle } from "./theme-toggle";
|
|
243
|
+
import { ProfileSection } from "./profile-section";
|
|
244
|
+
import { TLDRSection } from "./tldr-section";
|
|
245
|
+
import { BarChart, LineChart } from "./chart";
|
|
246
|
+
import { AreaChart } from "./chart";
|
|
247
|
+
import { TruncatedText } from "./truncated-text";
|
|
248
|
+
import {
|
|
249
|
+
Accordion,
|
|
250
|
+
AccordionContent,
|
|
251
|
+
AccordionItem,
|
|
252
|
+
AccordionTrigger
|
|
253
|
+
} from "./accordion";
|
|
254
|
+
import { Callout } from "./callout";
|
|
255
|
+
import {
|
|
256
|
+
Checklist
|
|
257
|
+
} from "./checklist";
|
|
258
|
+
import {
|
|
259
|
+
CodePlayground,
|
|
260
|
+
FileTree
|
|
261
|
+
} from "./code-playground";
|
|
262
|
+
import {
|
|
263
|
+
BeforeAfter,
|
|
264
|
+
Comparison
|
|
265
|
+
} from "./comparison";
|
|
266
|
+
import { Exercise } from "./exercise";
|
|
267
|
+
import { FAQ, FAQItem } from "./faq";
|
|
268
|
+
import {
|
|
269
|
+
Glossary,
|
|
270
|
+
KeyConcept
|
|
271
|
+
} from "./key-concept";
|
|
272
|
+
import {
|
|
273
|
+
LearningObjectives,
|
|
274
|
+
Prerequisites,
|
|
275
|
+
Summary
|
|
276
|
+
} from "./learning-objectives";
|
|
277
|
+
import { ProgressBar } from "./progress-bar";
|
|
278
|
+
import {
|
|
279
|
+
CommonMistake,
|
|
280
|
+
ProTip
|
|
281
|
+
} from "./pro-tip";
|
|
282
|
+
import { Quiz } from "./quiz";
|
|
283
|
+
import {
|
|
284
|
+
Step,
|
|
285
|
+
StepByStep
|
|
286
|
+
} from "./step-by-step";
|
|
287
|
+
import {
|
|
288
|
+
Tabs,
|
|
289
|
+
TabsContent,
|
|
290
|
+
TabsList,
|
|
291
|
+
TabsTrigger
|
|
292
|
+
} from "./tabs";
|
|
293
|
+
import {
|
|
294
|
+
SimpleTerminal,
|
|
295
|
+
Terminal
|
|
296
|
+
} from "./terminal";
|
|
297
|
+
import { VideoEmbed } from "./video-embed";
|
|
298
|
+
import {
|
|
299
|
+
TutorialFilters
|
|
300
|
+
} from "./tutorial-filters";
|
|
301
|
+
import {
|
|
302
|
+
TutorialCard
|
|
303
|
+
} from "./tutorial-card";
|
|
304
|
+
import {
|
|
305
|
+
TutorialComplete
|
|
306
|
+
} from "./tutorial-complete";
|
|
307
|
+
import {
|
|
308
|
+
TutorialIntroContent
|
|
309
|
+
} from "./tutorial-intro-content";
|
|
310
|
+
import {
|
|
311
|
+
mdxComponents,
|
|
312
|
+
TutorialMDX
|
|
313
|
+
} from "./tutorial-mdx";
|
|
314
|
+
import {
|
|
315
|
+
CompletionDialog
|
|
316
|
+
} from "./completion-dialog";
|
|
317
|
+
import {
|
|
318
|
+
ContentIntro
|
|
319
|
+
} from "./content-intro";
|
|
320
|
+
import {
|
|
321
|
+
FilterBar
|
|
322
|
+
} from "./filter-bar";
|
|
323
|
+
import {
|
|
324
|
+
FloatingActionButton
|
|
325
|
+
} from "./floating-action-button";
|
|
326
|
+
import {
|
|
327
|
+
KeyboardShortcutsHelp
|
|
328
|
+
} from "./keyboard-shortcuts-help";
|
|
329
|
+
import {
|
|
330
|
+
Slideshow
|
|
331
|
+
} from "./slideshow";
|
|
332
|
+
import { StepNavigation } from "./step-navigation";
|
|
333
|
+
import {
|
|
334
|
+
TableOfContentsPanel
|
|
335
|
+
} from "./table-of-contents-panel";
|
|
336
|
+
import {
|
|
337
|
+
ShareDialog
|
|
338
|
+
} from "./share-dialog";
|
|
339
|
+
import {
|
|
340
|
+
SocialFAB,
|
|
341
|
+
useSocialFab
|
|
342
|
+
} from "./social-fab";
|
|
343
|
+
import {
|
|
344
|
+
FlowControls,
|
|
345
|
+
FlowDiagram,
|
|
346
|
+
FlowErrorBoundary,
|
|
347
|
+
FlowFullscreen,
|
|
348
|
+
useFlowDiagram
|
|
349
|
+
} from "./flow-diagram";
|
|
350
|
+
import { InlineInput } from "./inline-input";
|
|
351
|
+
import {
|
|
352
|
+
ModelSelector
|
|
353
|
+
} from "./model-selector";
|
|
354
|
+
import { SidebarToggle } from "./sidebar-toggle";
|
|
355
|
+
import { ThinkingBlock } from "./thinking-block";
|
|
356
|
+
export {
|
|
357
|
+
Accordion,
|
|
358
|
+
AccordionContent,
|
|
359
|
+
AccordionItem,
|
|
360
|
+
AccordionTrigger,
|
|
361
|
+
Alert,
|
|
362
|
+
AlertDescription,
|
|
363
|
+
AlertDialog,
|
|
364
|
+
AlertDialogAction,
|
|
365
|
+
AlertDialogCancel,
|
|
366
|
+
AlertDialogContent,
|
|
367
|
+
AlertDialogDescription,
|
|
368
|
+
AlertDialogFooter,
|
|
369
|
+
AlertDialogHeader,
|
|
370
|
+
AlertDialogOverlay,
|
|
371
|
+
AlertDialogPortal,
|
|
372
|
+
AlertDialogTitle,
|
|
373
|
+
AlertDialogTrigger,
|
|
374
|
+
AlertTitle,
|
|
375
|
+
AreaChart,
|
|
376
|
+
AspectRatio,
|
|
377
|
+
Avatar,
|
|
378
|
+
AvatarFallback,
|
|
379
|
+
AvatarImage,
|
|
380
|
+
Badge,
|
|
381
|
+
BarChart,
|
|
382
|
+
BeforeAfter,
|
|
383
|
+
BlogCard,
|
|
384
|
+
Breadcrumb,
|
|
385
|
+
Button,
|
|
386
|
+
Calendar,
|
|
387
|
+
Callout,
|
|
388
|
+
Card,
|
|
389
|
+
CardContent,
|
|
390
|
+
CardDescription,
|
|
391
|
+
CardFooter,
|
|
392
|
+
CardHeader,
|
|
393
|
+
CardTitle,
|
|
394
|
+
Carousel,
|
|
395
|
+
CarouselContent,
|
|
396
|
+
CarouselItem,
|
|
397
|
+
CarouselNext,
|
|
398
|
+
CarouselPrevious,
|
|
399
|
+
CategoryFilter,
|
|
400
|
+
Checkbox,
|
|
401
|
+
Checklist,
|
|
402
|
+
CodeBlock,
|
|
403
|
+
CodePlayground,
|
|
404
|
+
Collapsible,
|
|
405
|
+
CollapsibleContent,
|
|
406
|
+
CollapsibleTrigger,
|
|
407
|
+
Command,
|
|
408
|
+
CommandDialog,
|
|
409
|
+
CommandEmpty,
|
|
410
|
+
CommandGroup,
|
|
411
|
+
CommandInput,
|
|
412
|
+
CommandItem,
|
|
413
|
+
CommandList,
|
|
414
|
+
CommandSeparator,
|
|
415
|
+
CommandShortcut,
|
|
416
|
+
CommonMistake,
|
|
417
|
+
Comparison,
|
|
418
|
+
CompletionDialog,
|
|
419
|
+
ContentCard,
|
|
420
|
+
ContentIntro,
|
|
421
|
+
ContextMenu,
|
|
422
|
+
ContextMenuCheckboxItem,
|
|
423
|
+
ContextMenuContent,
|
|
424
|
+
ContextMenuGroup,
|
|
425
|
+
ContextMenuItem,
|
|
426
|
+
ContextMenuLabel,
|
|
427
|
+
ContextMenuPortal,
|
|
428
|
+
ContextMenuRadioGroup,
|
|
429
|
+
ContextMenuRadioItem,
|
|
430
|
+
ContextMenuSeparator,
|
|
431
|
+
ContextMenuShortcut,
|
|
432
|
+
ContextMenuSub,
|
|
433
|
+
ContextMenuSubContent,
|
|
434
|
+
ContextMenuSubTrigger,
|
|
435
|
+
ContextMenuTrigger,
|
|
436
|
+
CookieConsent,
|
|
437
|
+
Dialog,
|
|
438
|
+
DialogClose,
|
|
439
|
+
DialogContent,
|
|
440
|
+
DialogDescription,
|
|
441
|
+
DialogFooter,
|
|
442
|
+
DialogHeader,
|
|
443
|
+
DialogOverlay,
|
|
444
|
+
DialogPortal,
|
|
445
|
+
DialogTitle,
|
|
446
|
+
DialogTrigger,
|
|
447
|
+
Drawer,
|
|
448
|
+
DrawerClose,
|
|
449
|
+
DrawerContent,
|
|
450
|
+
DrawerDescription,
|
|
451
|
+
DrawerFooter,
|
|
452
|
+
DrawerHeader,
|
|
453
|
+
DrawerOverlay,
|
|
454
|
+
DrawerPortal,
|
|
455
|
+
DrawerTitle,
|
|
456
|
+
DrawerTrigger,
|
|
457
|
+
DropdownMenu,
|
|
458
|
+
DropdownMenuCheckboxItem,
|
|
459
|
+
DropdownMenuContent,
|
|
460
|
+
DropdownMenuGroup,
|
|
461
|
+
DropdownMenuItem,
|
|
462
|
+
DropdownMenuLabel,
|
|
463
|
+
DropdownMenuPortal,
|
|
464
|
+
DropdownMenuRadioGroup,
|
|
465
|
+
DropdownMenuRadioItem,
|
|
466
|
+
DropdownMenuSeparator,
|
|
467
|
+
DropdownMenuShortcut,
|
|
468
|
+
DropdownMenuSub,
|
|
469
|
+
DropdownMenuSubContent,
|
|
470
|
+
DropdownMenuSubTrigger,
|
|
471
|
+
DropdownMenuTrigger,
|
|
472
|
+
Exercise,
|
|
473
|
+
FAQ,
|
|
474
|
+
FAQItem,
|
|
475
|
+
FileTree,
|
|
476
|
+
FilterBar,
|
|
477
|
+
FloatingActionButton,
|
|
478
|
+
FlowControls,
|
|
479
|
+
FlowDiagram,
|
|
480
|
+
FlowErrorBoundary,
|
|
481
|
+
FlowFullscreen,
|
|
482
|
+
Glossary,
|
|
483
|
+
HoverCard,
|
|
484
|
+
HoverCardContent,
|
|
485
|
+
HoverCardTrigger,
|
|
486
|
+
InlineInput,
|
|
487
|
+
Input,
|
|
488
|
+
InputOTP,
|
|
489
|
+
InputOTPGroup,
|
|
490
|
+
InputOTPSeparator,
|
|
491
|
+
InputOTPSlot,
|
|
492
|
+
KeyConcept,
|
|
493
|
+
KeyboardShortcutsHelp,
|
|
494
|
+
Label,
|
|
495
|
+
LangProvider,
|
|
496
|
+
LearningObjectives,
|
|
497
|
+
LineChart,
|
|
498
|
+
MDXContent,
|
|
499
|
+
Menubar,
|
|
500
|
+
MenubarCheckboxItem,
|
|
501
|
+
MenubarContent,
|
|
502
|
+
MenubarGroup,
|
|
503
|
+
MenubarItem,
|
|
504
|
+
MenubarLabel,
|
|
505
|
+
MenubarMenu,
|
|
506
|
+
MenubarPortal,
|
|
507
|
+
MenubarRadioGroup,
|
|
508
|
+
MenubarRadioItem,
|
|
509
|
+
MenubarSeparator,
|
|
510
|
+
MenubarShortcut,
|
|
511
|
+
MenubarSub,
|
|
512
|
+
MenubarSubContent,
|
|
513
|
+
MenubarSubTrigger,
|
|
514
|
+
MenubarTrigger,
|
|
515
|
+
ModelSelector,
|
|
516
|
+
NavbarSaas,
|
|
517
|
+
NavigationMenu,
|
|
518
|
+
NavigationMenuContent,
|
|
519
|
+
NavigationMenuIndicator,
|
|
520
|
+
NavigationMenuItem,
|
|
521
|
+
NavigationMenuLink,
|
|
522
|
+
NavigationMenuList,
|
|
523
|
+
NavigationMenuTrigger,
|
|
524
|
+
NavigationMenuViewport,
|
|
525
|
+
Pagination,
|
|
526
|
+
Popover,
|
|
527
|
+
PopoverAnchor,
|
|
528
|
+
PopoverContent,
|
|
529
|
+
PopoverTrigger,
|
|
530
|
+
Prerequisites,
|
|
531
|
+
ProTip,
|
|
532
|
+
ProfileSection,
|
|
533
|
+
ProgressBar,
|
|
534
|
+
Quiz,
|
|
535
|
+
RadioGroup,
|
|
536
|
+
RadioGroupItem,
|
|
537
|
+
ResizableHandle,
|
|
538
|
+
ResizablePanel,
|
|
539
|
+
ResizablePanelGroup,
|
|
540
|
+
ScrollArea,
|
|
541
|
+
ScrollBar,
|
|
542
|
+
SearchBar,
|
|
543
|
+
SearchDialog,
|
|
544
|
+
Select,
|
|
545
|
+
SelectContent,
|
|
546
|
+
SelectGroup,
|
|
547
|
+
SelectItem,
|
|
548
|
+
SelectLabel,
|
|
549
|
+
SelectScrollDownButton,
|
|
550
|
+
SelectScrollUpButton,
|
|
551
|
+
SelectSeparator,
|
|
552
|
+
SelectTrigger,
|
|
553
|
+
SelectValue,
|
|
554
|
+
Separator,
|
|
555
|
+
ShareDialog,
|
|
556
|
+
ShareSection,
|
|
557
|
+
Sheet,
|
|
558
|
+
SheetClose,
|
|
559
|
+
SheetContent,
|
|
560
|
+
SheetDescription,
|
|
561
|
+
SheetFooter,
|
|
562
|
+
SheetHeader,
|
|
563
|
+
SheetOverlay,
|
|
564
|
+
SheetPortal,
|
|
565
|
+
SheetTitle,
|
|
566
|
+
SheetTrigger,
|
|
567
|
+
Sidebar,
|
|
568
|
+
SidebarProvider,
|
|
569
|
+
SidebarToggle,
|
|
570
|
+
SimpleTerminal,
|
|
571
|
+
Skeleton,
|
|
572
|
+
Slider,
|
|
573
|
+
Slideshow,
|
|
574
|
+
SocialFAB,
|
|
575
|
+
Spinner,
|
|
576
|
+
Step,
|
|
577
|
+
StepByStep,
|
|
578
|
+
StepNavigation,
|
|
579
|
+
Summary,
|
|
580
|
+
Switch,
|
|
581
|
+
TLDRSection,
|
|
582
|
+
Table,
|
|
583
|
+
TableBody,
|
|
584
|
+
TableCaption,
|
|
585
|
+
TableCell,
|
|
586
|
+
TableFooter,
|
|
587
|
+
TableHead,
|
|
588
|
+
TableHeader,
|
|
589
|
+
TableOfContents,
|
|
590
|
+
TableOfContentsPanel,
|
|
591
|
+
TableRow,
|
|
592
|
+
Tabs,
|
|
593
|
+
TabsContent,
|
|
594
|
+
TabsList,
|
|
595
|
+
TabsTrigger,
|
|
596
|
+
Terminal,
|
|
597
|
+
Textarea,
|
|
598
|
+
ThemeProvider,
|
|
599
|
+
ThemeToggle,
|
|
600
|
+
ThinkingBlock,
|
|
601
|
+
Toast,
|
|
602
|
+
ToastAction,
|
|
603
|
+
ToastClose,
|
|
604
|
+
ToastDescription,
|
|
605
|
+
ToastTitle,
|
|
606
|
+
Toaster,
|
|
607
|
+
Toggle,
|
|
608
|
+
ToggleGroup,
|
|
609
|
+
ToggleGroupItem,
|
|
610
|
+
Tooltip,
|
|
611
|
+
TooltipContent,
|
|
612
|
+
TooltipProvider,
|
|
613
|
+
TooltipTrigger,
|
|
614
|
+
TruncatedText,
|
|
615
|
+
TutorialCard,
|
|
616
|
+
TutorialComplete,
|
|
617
|
+
TutorialFilters,
|
|
618
|
+
TutorialIntroContent,
|
|
619
|
+
TutorialMDX,
|
|
620
|
+
VideoEmbed,
|
|
621
|
+
alertVariants,
|
|
622
|
+
badgeVariants,
|
|
623
|
+
buttonVariants,
|
|
624
|
+
cookieConsentVariants,
|
|
625
|
+
mdxComponents,
|
|
626
|
+
navigationMenuTriggerStyle,
|
|
627
|
+
toast,
|
|
628
|
+
toggleVariants,
|
|
629
|
+
useFlowDiagram,
|
|
630
|
+
useMobile,
|
|
631
|
+
useSidebar,
|
|
632
|
+
useSocialFab
|
|
633
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
import { Input } from "../input";
|
|
5
|
+
function InlineInput({
|
|
6
|
+
className,
|
|
7
|
+
onCancel,
|
|
8
|
+
onChange,
|
|
9
|
+
onCommit,
|
|
10
|
+
value
|
|
11
|
+
}) {
|
|
12
|
+
const handleKeyDown = (event) => {
|
|
13
|
+
if (event.key === "Enter") {
|
|
14
|
+
event.preventDefault();
|
|
15
|
+
onCommit(value);
|
|
16
|
+
} else if (event.key === "Escape") {
|
|
17
|
+
event.preventDefault();
|
|
18
|
+
onCancel?.();
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ jsx(
|
|
22
|
+
Input,
|
|
23
|
+
{
|
|
24
|
+
autoFocus: true,
|
|
25
|
+
className: cn("flex-1 h-7 text-sm", className),
|
|
26
|
+
onBlur: () => {
|
|
27
|
+
onCommit(value);
|
|
28
|
+
},
|
|
29
|
+
onChange: (event) => {
|
|
30
|
+
onChange(event.target.value);
|
|
31
|
+
},
|
|
32
|
+
onClick: (event) => {
|
|
33
|
+
event.stopPropagation();
|
|
34
|
+
},
|
|
35
|
+
onKeyDown: handleKeyDown,
|
|
36
|
+
value
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
InlineInput
|
|
42
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
const Input = React.forwardRef(
|
|
5
|
+
({ className, type, ...props }, reference) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
"input",
|
|
8
|
+
{
|
|
9
|
+
className: cn(
|
|
10
|
+
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
11
|
+
className
|
|
12
|
+
),
|
|
13
|
+
ref: reference,
|
|
14
|
+
type,
|
|
15
|
+
...props
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
Input.displayName = "Input";
|
|
21
|
+
export {
|
|
22
|
+
Input
|
|
23
|
+
};
|