vxui-react 0.1.0 → 1.0.0
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/AlertDialog.d.ts +14 -0
- package/dist/components/AppShell.d.ts +9 -16
- package/dist/components/Button.d.ts +3 -1
- package/dist/components/Calendar.d.ts +10 -0
- package/dist/components/Carousel.d.ts +15 -0
- package/dist/components/ColorPicker.d.ts +13 -0
- package/dist/components/Combobox.d.ts +21 -0
- package/dist/components/ContextMenu.d.ts +20 -0
- package/dist/components/DatePicker.d.ts +15 -0
- package/dist/components/EmptyState.d.ts +9 -0
- package/dist/components/FileUpload.d.ts +17 -0
- package/dist/components/Form.d.ts +28 -0
- package/dist/components/HoverCard.d.ts +11 -0
- package/dist/components/Label.d.ts +5 -0
- package/dist/components/Menubar.d.ts +24 -0
- package/dist/components/NavigationMenu.d.ts +20 -0
- package/dist/components/NumberInput.d.ts +12 -0
- package/dist/components/Progress.d.ts +1 -1
- package/dist/components/Rating.d.ts +14 -0
- package/dist/components/Resizable.d.ts +26 -0
- package/dist/components/Responsive.d.ts +25 -0
- package/dist/components/ScrollArea.d.ts +7 -0
- package/dist/components/Sheet.d.ts +13 -0
- package/dist/components/Shell.d.ts +77 -0
- package/dist/components/Stepper.d.ts +14 -0
- package/dist/components/TagInput.d.ts +18 -0
- package/dist/components/ThemeProvider.d.ts +5 -0
- package/dist/components/Timeline.d.ts +14 -0
- package/dist/components/Toggle.d.ts +24 -0
- package/dist/components/TreeView.d.ts +20 -0
- package/dist/components/pages/homePageContent.d.ts +25 -0
- package/dist/components/pages/legalPageContent.d.ts +15 -0
- package/dist/index.cjs +75 -32
- package/dist/index.js +6857 -1874
- package/dist/lib/index.d.ts +61 -0
- package/dist/lib/viewport.d.ts +13 -0
- package/dist/vxui-react.css +1 -1
- package/package.json +1 -2
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
export { ViewportProvider, useViewport } from './viewport';
|
|
2
|
+
export type { ViewportType, ViewportContextValue, ViewportProviderProps } from './viewport';
|
|
3
|
+
export { Responsive } from '../components/Responsive';
|
|
4
|
+
export type { ResponsiveProps } from '../components/Responsive';
|
|
1
5
|
export { AppShell } from '../components/AppShell';
|
|
6
|
+
export type { AppShellProps, AppShellNavItem, AppShellNavSection } from '../components/AppShell';
|
|
7
|
+
export { Shell, ShellSidebar, ShellNav, ShellNavSection, ShellNavItem, ShellOverlay, ShellMain, ShellTopbar, ShellContent, } from '../components/Shell';
|
|
8
|
+
export type { ShellProps, ShellSidebarProps, ShellNavProps, ShellNavSectionProps, ShellNavItemProps, ShellOverlayProps, ShellMainProps, ShellTopbarProps, ShellContentProps, ShellNavItem as ShellNavItemType, ShellNavSection as ShellNavSectionType, } from '../components/Shell';
|
|
2
9
|
export { Badge } from '../components/Badge';
|
|
3
10
|
export { Button } from '../components/Button';
|
|
4
11
|
export { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../components/Card';
|
|
@@ -59,3 +66,57 @@ export { MobileList, MobileListSection, MobileListItem } from '../components/mob
|
|
|
59
66
|
export type { MobileListSectionProps, MobileListItemProps } from '../components/mobile/MobileList';
|
|
60
67
|
export { MobileDrawer, DrawerNavItem, DrawerNavSection } from '../components/mobile/MobileDrawer';
|
|
61
68
|
export type { MobileDrawerProps, DrawerNavItemProps, DrawerNavSectionProps } from '../components/mobile/MobileDrawer';
|
|
69
|
+
export { Label } from '../components/Label';
|
|
70
|
+
export type { LabelProps } from '../components/Label';
|
|
71
|
+
export { Form, FormField, FormLabel, FormDescription, FormMessage, useFormField } from '../components/Form';
|
|
72
|
+
export type { FormProps, FormFieldProps, FormLabelProps, FormDescriptionProps, FormMessageProps } from '../components/Form';
|
|
73
|
+
export { AlertDialog } from '../components/AlertDialog';
|
|
74
|
+
export type { AlertDialogProps } from '../components/AlertDialog';
|
|
75
|
+
export { NumberInput } from '../components/NumberInput';
|
|
76
|
+
export type { NumberInputProps } from '../components/NumberInput';
|
|
77
|
+
export { Calendar } from '../components/Calendar';
|
|
78
|
+
export type { CalendarProps } from '../components/Calendar';
|
|
79
|
+
export { DatePicker } from '../components/DatePicker';
|
|
80
|
+
export type { DatePickerProps } from '../components/DatePicker';
|
|
81
|
+
export { Combobox } from '../components/Combobox';
|
|
82
|
+
export type { ComboboxProps, ComboboxOption } from '../components/Combobox';
|
|
83
|
+
export { FileUpload } from '../components/FileUpload';
|
|
84
|
+
export type { FileUploadProps, UploadedFile } from '../components/FileUpload';
|
|
85
|
+
export { Sheet } from '../components/Sheet';
|
|
86
|
+
export type { SheetProps, SheetSide } from '../components/Sheet';
|
|
87
|
+
export { ScrollArea } from '../components/ScrollArea';
|
|
88
|
+
export type { ScrollAreaProps } from '../components/ScrollArea';
|
|
89
|
+
export { Toggle, ToggleGroup } from '../components/Toggle';
|
|
90
|
+
export type { ToggleProps, ToggleGroupProps, ToggleGroupItem } from '../components/Toggle';
|
|
91
|
+
export { ContextMenu } from '../components/ContextMenu';
|
|
92
|
+
export type { ContextMenuProps, ContextMenuItemProps, ContextMenuGroupProps } from '../components/ContextMenu';
|
|
93
|
+
export { HoverCard } from '../components/HoverCard';
|
|
94
|
+
export type { HoverCardProps, HoverCardPlacement } from '../components/HoverCard';
|
|
95
|
+
export { Menubar } from '../components/Menubar';
|
|
96
|
+
export type { MenubarProps, MenubarMenuProps, MenubarGroupProps, MenubarItemProps } from '../components/Menubar';
|
|
97
|
+
export { NavigationMenu } from '../components/NavigationMenu';
|
|
98
|
+
export type { NavigationMenuProps, NavMenuItem, NavMenuSubItem } from '../components/NavigationMenu';
|
|
99
|
+
export { Stepper } from '../components/Stepper';
|
|
100
|
+
export type { StepperProps, StepItem, StepStatus } from '../components/Stepper';
|
|
101
|
+
export { Timeline } from '../components/Timeline';
|
|
102
|
+
export type { TimelineProps, TimelineItem, TimelineItemStatus } from '../components/Timeline';
|
|
103
|
+
export { EmptyState } from '../components/EmptyState';
|
|
104
|
+
export type { EmptyStateProps } from '../components/EmptyState';
|
|
105
|
+
export { Carousel } from '../components/Carousel';
|
|
106
|
+
export type { CarouselProps } from '../components/Carousel';
|
|
107
|
+
export { Rating } from '../components/Rating';
|
|
108
|
+
export type { RatingProps } from '../components/Rating';
|
|
109
|
+
export { TreeView } from '../components/TreeView';
|
|
110
|
+
export type { TreeViewProps, TreeNode } from '../components/TreeView';
|
|
111
|
+
export { TagInput } from '../components/TagInput';
|
|
112
|
+
export type { TagInputProps } from '../components/TagInput';
|
|
113
|
+
export { ColorPicker } from '../components/ColorPicker';
|
|
114
|
+
export type { ColorPickerProps } from '../components/ColorPicker';
|
|
115
|
+
export { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '../components/Resizable';
|
|
116
|
+
export type { ResizablePanelGroupProps, ResizablePanelProps, ResizableHandleProps, ResizableDirection } from '../components/Resizable';
|
|
117
|
+
export { CommandPalette } from '../components/CommandPalette';
|
|
118
|
+
export type { CommandPaletteProps, SearchEntry } from '../components/CommandPalette';
|
|
119
|
+
export { CodeBlock } from '../components/CodeBlock';
|
|
120
|
+
export type { CodeBlockProps, CodeBlockLanguage } from '../components/CodeBlock';
|
|
121
|
+
export { LanguageSwitcher } from '../components/LanguageSwitcher';
|
|
122
|
+
export type { LanguageSwitcherProps } from '../components/LanguageSwitcher';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ViewportType = 'phone' | 'tablet' | 'desktop';
|
|
3
|
+
export interface ViewportContextValue {
|
|
4
|
+
viewport: ViewportType;
|
|
5
|
+
isPhone: boolean;
|
|
6
|
+
isTablet: boolean;
|
|
7
|
+
isDesktop: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ViewportProviderProps {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function ViewportProvider({ children }: ViewportProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function useViewport(): ViewportContextValue;
|