@ug666/ui-react 0.2.0 → 0.3.0-beta.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/dist/aliases.d.ts +59 -0
- package/dist/aliases.d.ts.map +1 -0
- package/dist/blocks/feature-grid.d.ts +40 -0
- package/dist/blocks/feature-grid.d.ts.map +1 -0
- package/dist/blocks/index.cjs +293 -64
- package/dist/blocks/index.cjs.map +1 -1
- package/dist/blocks/index.d.ts +6 -84
- package/dist/blocks/index.d.ts.map +1 -0
- package/dist/blocks/index.js +80 -39
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/landing-hero.d.ts +55 -0
- package/dist/blocks/landing-hero.d.ts.map +1 -0
- package/dist/chunk-AKWJMDCW.js +467 -0
- package/dist/chunk-AKWJMDCW.js.map +1 -0
- package/dist/chunk-F23X4N6B.js +11 -0
- package/dist/chunk-F23X4N6B.js.map +1 -0
- package/dist/chunk-HGO3GZ56.js +1777 -0
- package/dist/chunk-HGO3GZ56.js.map +1 -0
- package/dist/chunk-HXIWD5LQ.js +319 -0
- package/dist/chunk-HXIWD5LQ.js.map +1 -0
- package/dist/chunk-M6J4PLF4.js +521 -0
- package/dist/chunk-M6J4PLF4.js.map +1 -0
- package/dist/chunk-N3Z7R6GG.js +139 -0
- package/dist/chunk-N3Z7R6GG.js.map +1 -0
- package/dist/chunk-UXWCK6M7.js +5757 -0
- package/dist/chunk-UXWCK6M7.js.map +1 -0
- package/dist/components/accordion.d.ts +59 -0
- package/dist/components/accordion.d.ts.map +1 -0
- package/dist/components/alert.d.ts +23 -0
- package/dist/components/alert.d.ts.map +1 -0
- package/dist/components/avatar-group.d.ts +20 -0
- package/dist/components/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar.d.ts +34 -0
- package/dist/components/avatar.d.ts.map +1 -0
- package/dist/components/badge.d.ts +17 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/breadcrumb.d.ts +33 -0
- package/dist/components/breadcrumb.d.ts.map +1 -0
- package/dist/components/button-group.d.ts +26 -0
- package/dist/components/button-group.d.ts.map +1 -0
- package/dist/components/button.d.ts +43 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/card.d.ts +26 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/checkbox-group-context.d.ts +14 -0
- package/dist/components/checkbox-group-context.d.ts.map +1 -0
- package/dist/components/checkbox-group.d.ts +18 -0
- package/dist/components/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox.d.ts +32 -0
- package/dist/components/checkbox.d.ts.map +1 -0
- package/dist/components/config-provider.d.ts +29 -0
- package/dist/components/config-provider.d.ts.map +1 -0
- package/dist/components/container.d.ts +27 -0
- package/dist/components/container.d.ts.map +1 -0
- package/dist/components/context/form-context.d.ts +41 -0
- package/dist/components/context/form-context.d.ts.map +1 -0
- package/dist/components/context-menu.d.ts +39 -0
- package/dist/components/context-menu.d.ts.map +1 -0
- package/dist/components/descriptions.d.ts +40 -0
- package/dist/components/descriptions.d.ts.map +1 -0
- package/dist/components/dialog.d.ts +55 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/drawer.d.ts +38 -0
- package/dist/components/drawer.d.ts.map +1 -0
- package/dist/components/dropdown.d.ts +42 -0
- package/dist/components/dropdown.d.ts.map +1 -0
- package/dist/components/empty-state.d.ts +24 -0
- package/dist/components/empty-state.d.ts.map +1 -0
- package/dist/components/form.d.ts +127 -0
- package/dist/components/form.d.ts.map +1 -0
- package/dist/components/icon.d.ts +16 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/index.cjs +6173 -1482
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +59 -1096
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +67 -6
- package/dist/components/input.d.ts +28 -0
- package/dist/components/input.d.ts.map +1 -0
- package/dist/components/label.d.ts +18 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/components/layout.d.ts +34 -0
- package/dist/components/layout.d.ts.map +1 -0
- package/dist/components/link.d.ts +18 -0
- package/dist/components/link.d.ts.map +1 -0
- package/dist/components/modal.d.ts +46 -0
- package/dist/components/modal.d.ts.map +1 -0
- package/dist/components/navigation-menu.d.ts +39 -0
- package/dist/components/navigation-menu.d.ts.map +1 -0
- package/dist/components/number-input.d.ts +35 -0
- package/dist/components/number-input.d.ts.map +1 -0
- package/dist/components/otp-input.d.ts +35 -0
- package/dist/components/otp-input.d.ts.map +1 -0
- package/dist/components/pagination.d.ts +16 -0
- package/dist/components/pagination.d.ts.map +1 -0
- package/dist/components/popover.d.ts +36 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/progress.d.ts +21 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/components/radio.d.ts +68 -0
- package/dist/components/radio.d.ts.map +1 -0
- package/dist/components/scrollbar.d.ts +29 -0
- package/dist/components/scrollbar.d.ts.map +1 -0
- package/dist/components/select.d.ts +48 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/separator.d.ts +28 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/components/sheet.d.ts +24 -0
- package/dist/components/sheet.d.ts.map +1 -0
- package/dist/components/sidebar.d.ts +48 -0
- package/dist/components/sidebar.d.ts.map +1 -0
- package/dist/components/skeleton.d.ts +16 -0
- package/dist/components/skeleton.d.ts.map +1 -0
- package/dist/components/slider.d.ts +44 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/space.d.ts +19 -0
- package/dist/components/space.d.ts.map +1 -0
- package/dist/components/spinner.d.ts +18 -0
- package/dist/components/spinner.d.ts.map +1 -0
- package/dist/components/splitter.d.ts +51 -0
- package/dist/components/splitter.d.ts.map +1 -0
- package/dist/components/statistic.d.ts +30 -0
- package/dist/components/statistic.d.ts.map +1 -0
- package/dist/components/steps.d.ts +33 -0
- package/dist/components/steps.d.ts.map +1 -0
- package/dist/components/switch.d.ts +49 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/table.d.ts +32 -0
- package/dist/components/table.d.ts.map +1 -0
- package/dist/components/tabs.d.ts +27 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tag.d.ts +27 -0
- package/dist/components/tag.d.ts.map +1 -0
- package/dist/components/text.d.ts +16 -0
- package/dist/components/text.d.ts.map +1 -0
- package/dist/components/textarea.d.ts +26 -0
- package/dist/components/textarea.d.ts.map +1 -0
- package/dist/components/toast.d.ts +26 -0
- package/dist/components/toast.d.ts.map +1 -0
- package/dist/components/tooltip.d.ts +29 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/hooks/index.cjs +228 -27
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +19 -231
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-click-outside.d.ts +9 -0
- package/dist/hooks/use-click-outside.d.ts.map +1 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +12 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
- package/dist/hooks/use-debounce.d.ts +7 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-escape-key.d.ts +10 -0
- package/dist/hooks/use-escape-key.d.ts.map +1 -0
- package/dist/hooks/use-event-listener.d.ts +28 -0
- package/dist/hooks/use-event-listener.d.ts.map +1 -0
- package/dist/hooks/use-form.d.ts +48 -0
- package/dist/hooks/use-form.d.ts.map +1 -0
- package/dist/hooks/use-hotkeys.d.ts +30 -0
- package/dist/hooks/use-hotkeys.d.ts.map +1 -0
- package/dist/hooks/use-interval.d.ts +19 -0
- package/dist/hooks/use-interval.d.ts.map +1 -0
- package/dist/hooks/use-local-storage.d.ts +9 -0
- package/dist/hooks/use-local-storage.d.ts.map +1 -0
- package/dist/hooks/use-media-query.d.ts +8 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-mounted.d.ts +18 -0
- package/dist/hooks/use-mounted.d.ts.map +1 -0
- package/dist/hooks/use-pagination.d.ts +36 -0
- package/dist/hooks/use-pagination.d.ts.map +1 -0
- package/dist/hooks/use-timeout.d.ts +19 -0
- package/dist/hooks/use-timeout.d.ts.map +1 -0
- package/dist/hooks/use-toggle.d.ts +9 -0
- package/dist/hooks/use-toggle.d.ts.map +1 -0
- package/dist/index.cjs +6475 -1768
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +73 -294
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +64 -184
- package/dist/index.js.map +1 -1
- package/dist/internal/button-group-context.d.ts +11 -0
- package/dist/internal/button-group-context.d.ts.map +1 -0
- package/dist/internal/cn.d.ts +8 -0
- package/dist/internal/cn.d.ts.map +1 -0
- package/dist/internal/use-overlay-focus.d.ts +8 -0
- package/dist/internal/use-overlay-focus.d.ts.map +1 -0
- package/dist/internal/use-portal-container.d.ts +2 -0
- package/dist/internal/use-portal-container.d.ts.map +1 -0
- package/dist/labs/file-preview.d.ts +44 -0
- package/dist/labs/file-preview.d.ts.map +1 -0
- package/dist/labs/index.cjs +191 -1
- package/dist/labs/index.cjs.map +1 -1
- package/dist/labs/index.d.ts +8 -6
- package/dist/labs/index.d.ts.map +1 -0
- package/dist/labs/index.js +180 -1
- package/dist/labs/index.js.map +1 -1
- package/dist/labs/model-card.d.ts +50 -0
- package/dist/labs/model-card.d.ts.map +1 -0
- package/dist/patterns/admin-shell.d.ts +52 -0
- package/dist/patterns/admin-shell.d.ts.map +1 -0
- package/dist/patterns/confirm-dialog.d.ts +50 -0
- package/dist/patterns/confirm-dialog.d.ts.map +1 -0
- package/dist/patterns/copy-field.d.ts +29 -0
- package/dist/patterns/copy-field.d.ts.map +1 -0
- package/dist/patterns/index.cjs +699 -251
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.ts +5 -158
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/patterns/index.js +137 -82
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/page-header.d.ts +37 -0
- package/dist/patterns/page-header.d.ts.map +1 -0
- package/dist/primitives/index.cjs +1889 -112
- package/dist/primitives/index.cjs.map +1 -1
- package/dist/primitives/index.d.ts +22 -135
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/primitives/index.js +55 -4
- package/dist/styles.css +2819 -953
- package/dist/theme.cjs +161 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.ts +39 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +19 -0
- package/dist/theme.js.map +1 -0
- package/dist/themes/default.css +80 -0
- package/dist/themes/mecha.css +195 -0
- package/dist/themes/minimal.css +160 -0
- package/dist/tokens.css +1173 -18
- package/package.json +22 -12
- package/dist/blocks/index.d.cts +0 -86
- package/dist/button-CaLZig8j.d.cts +0 -22
- package/dist/button-CaLZig8j.d.ts +0 -22
- package/dist/chunk-2IVRUJKO.js +0 -377
- package/dist/chunk-2IVRUJKO.js.map +0 -1
- package/dist/chunk-73WQAE3E.js +0 -3003
- package/dist/chunk-73WQAE3E.js.map +0 -1
- package/dist/chunk-MGXIF756.js +0 -313
- package/dist/chunk-MGXIF756.js.map +0 -1
- package/dist/chunk-RUDEZA5Q.js +0 -62
- package/dist/chunk-RUDEZA5Q.js.map +0 -1
- package/dist/chunk-S45GP6IB.js +0 -254
- package/dist/chunk-S45GP6IB.js.map +0 -1
- package/dist/components/index.d.cts +0 -1097
- package/dist/hooks/index.d.cts +0 -232
- package/dist/index.d.cts +0 -297
- package/dist/labs/index.d.cts +0 -12
- package/dist/patterns/index.d.cts +0 -158
- package/dist/primitives/index.d.cts +0 -137
- package/dist/sidebar-vl00Z2o-.d.cts +0 -93
- package/dist/sidebar-vl00Z2o-.d.ts +0 -93
package/dist/index.d.ts
CHANGED
|
@@ -1,297 +1,76 @@
|
|
|
1
|
-
export { a as Button, B as ButtonProps, a as UGButton, B as UGButtonProps, b as buttonVariants, b as ugButtonVariants } from './button-CaLZig8j.js';
|
|
2
|
-
export { Badge, BadgeProps, Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Input, InputProps, Label, LabelProps, Separator, SeparatorOrientation, SeparatorProps, Spinner, SpinnerProps, Tag, TagProps, Badge as UGBadge, BadgeProps as UGBadgeProps, Card as UGCard, CardContent as UGCardContent, CardContentProps as UGCardContentProps, CardDescription as UGCardDescription, CardDescriptionProps as UGCardDescriptionProps, CardFooter as UGCardFooter, CardFooterProps as UGCardFooterProps, CardHeader as UGCardHeader, CardHeaderProps as UGCardHeaderProps, CardProps as UGCardProps, CardTitle as UGCardTitle, CardTitleProps as UGCardTitleProps, Input as UGInput, InputProps as UGInputProps, Label as UGLabel, LabelProps as UGLabelProps, Separator as UGSeparator, SeparatorOrientation as UGSeparatorOrientation, SeparatorProps as UGSeparatorProps, Spinner as UGSpinner, SpinnerProps as UGSpinnerProps, Tag as UGTag, TagProps as UGTagProps, badgeVariants, tagVariants, badgeVariants as ugBadgeVariants, tagVariants as ugTagVariants } from './primitives/index.js';
|
|
3
|
-
export { M as Modal, a as ModalCloseButton, b as ModalCloseButtonProps, c as ModalContent, d as ModalContentProps, e as ModalFooter, f as ModalFooterProps, g as ModalHeader, h as ModalHeaderProps, i as ModalProps, j as ModalTitle, k as ModalTitleProps, S as Sidebar, l as SidebarItem, m as SidebarProps, M as UGModal, a as UGModalCloseButton, b as UGModalCloseButtonProps, c as UGModalContent, d as UGModalContentProps, e as UGModalFooter, f as UGModalFooterProps, g as UGModalHeader, h as UGModalHeaderProps, i as UGModalProps, j as UGModalTitle, k as UGModalTitleProps, S as UGSidebar, l as UGSidebarItem, m as UGSidebarProps } from './sidebar-vl00Z2o-.js';
|
|
4
|
-
export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionMultipleProps, AccordionProps, AccordionSingleProps, AccordionTrigger, AccordionTriggerProps, AccordionType, Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps, Avatar, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupProps, AvatarGroupSize, AvatarImage, AvatarImageProps, AvatarProps, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Checkbox, CheckboxProps, ContextMenu, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, ContextMenuSeparator, ContextMenuSeparatorProps, ContextMenuTrigger, ContextMenuTriggerProps, Descriptions, DescriptionsItem, DescriptionsItemProps, DescriptionsProps, DescriptionsSize, Dialog, DialogProps, DialogVariant, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerTitle, DrawerTitleProps, DropdownContent, DropdownContentProps, DropdownItem, DropdownItemProps, DropdownMenu, DropdownMenuProps, DropdownSeparator, DropdownSeparatorProps, DropdownTrigger, DropdownTriggerProps, EmptyState, EmptyStateProps, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NumberInput, NumberInputProps, OTPInput, OTPInputProps, Pagination, PaginationProps, Popover, PopoverAlign, PopoverContent, PopoverContentProps, PopoverProps, PopoverSide, PopoverTrigger, PopoverTriggerProps, Progress, ProgressColor, ProgressProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Select, SelectOption, SelectProps, Sheet, SheetProps, Skeleton, SkeletonProps, Slider, SliderProps, Statistic, StatisticProps, StatisticSize, StatisticTrend, StepItem, Steps, StepsProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Textarea, TextareaProps, ToastItem, ToastType, Toaster, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipTrigger, TooltipTriggerProps, Accordion as UGAccordion, AccordionContent as UGAccordionContent, AccordionContentProps as UGAccordionContentProps, AccordionItem as UGAccordionItem, AccordionItemProps as UGAccordionItemProps, AccordionMultipleProps as UGAccordionMultipleProps, AccordionProps as UGAccordionProps, AccordionSingleProps as UGAccordionSingleProps, AccordionTrigger as UGAccordionTrigger, AccordionTriggerProps as UGAccordionTriggerProps, AccordionType as UGAccordionType, Alert as UGAlert, AlertDescription as UGAlertDescription, AlertDescriptionProps as UGAlertDescriptionProps, AlertProps as UGAlertProps, AlertTitle as UGAlertTitle, AlertTitleProps as UGAlertTitleProps, Avatar as UGAvatar, AvatarFallback as UGAvatarFallback, AvatarFallbackProps as UGAvatarFallbackProps, AvatarGroup as UGAvatarGroup, AvatarGroupProps as UGAvatarGroupProps, AvatarGroupSize as UGAvatarGroupSize, AvatarImage as UGAvatarImage, AvatarImageProps as UGAvatarImageProps, AvatarProps as UGAvatarProps, Breadcrumb as UGBreadcrumb, BreadcrumbItem as UGBreadcrumbItem, BreadcrumbItemProps as UGBreadcrumbItemProps, BreadcrumbLink as UGBreadcrumbLink, BreadcrumbLinkProps as UGBreadcrumbLinkProps, BreadcrumbProps as UGBreadcrumbProps, BreadcrumbSeparator as UGBreadcrumbSeparator, BreadcrumbSeparatorProps as UGBreadcrumbSeparatorProps, Checkbox as UGCheckbox, CheckboxProps as UGCheckboxProps, ContextMenu as UGContextMenu, ContextMenuContent as UGContextMenuContent, ContextMenuContentProps as UGContextMenuContentProps, ContextMenuItem as UGContextMenuItem, ContextMenuItemProps as UGContextMenuItemProps, ContextMenuProps as UGContextMenuProps, ContextMenuSeparator as UGContextMenuSeparator, ContextMenuSeparatorProps as UGContextMenuSeparatorProps, ContextMenuTrigger as UGContextMenuTrigger, ContextMenuTriggerProps as UGContextMenuTriggerProps, Descriptions as UGDescriptions, DescriptionsItem as UGDescriptionsItem, DescriptionsItemProps as UGDescriptionsItemProps, DescriptionsProps as UGDescriptionsProps, DescriptionsSize as UGDescriptionsSize, Dialog as UGDialog, DialogProps as UGDialogProps, DialogVariant as UGDialogVariant, Drawer as UGDrawer, DrawerClose as UGDrawerClose, DrawerCloseProps as UGDrawerCloseProps, DrawerContent as UGDrawerContent, DrawerContentProps as UGDrawerContentProps, DrawerDescription as UGDrawerDescription, DrawerDescriptionProps as UGDrawerDescriptionProps, DrawerFooter as UGDrawerFooter, DrawerFooterProps as UGDrawerFooterProps, DrawerHeader as UGDrawerHeader, DrawerHeaderProps as UGDrawerHeaderProps, DrawerProps as UGDrawerProps, DrawerSide as UGDrawerSide, DrawerTitle as UGDrawerTitle, DrawerTitleProps as UGDrawerTitleProps, DropdownMenu as UGDropdown, DropdownContent as UGDropdownContent, DropdownContentProps as UGDropdownContentProps, DropdownItem as UGDropdownItem, DropdownItemProps as UGDropdownItemProps, DropdownMenu as UGDropdownMenu, DropdownMenuProps as UGDropdownMenuProps, DropdownMenuProps as UGDropdownProps, DropdownSeparator as UGDropdownSeparator, DropdownSeparatorProps as UGDropdownSeparatorProps, DropdownTrigger as UGDropdownTrigger, DropdownTriggerProps as UGDropdownTriggerProps, EmptyState as UGEmptyState, EmptyStateProps as UGEmptyStateProps, Form as UGForm, FormControl as UGFormControl, FormControlProps as UGFormControlProps, FormDescription as UGFormDescription, FormDescriptionProps as UGFormDescriptionProps, FormField as UGFormField, FormFieldProps as UGFormFieldProps, FormItem as UGFormItem, FormItemProps as UGFormItemProps, FormLabel as UGFormLabel, FormLabelProps as UGFormLabelProps, FormMessage as UGFormMessage, FormMessageProps as UGFormMessageProps, FormProps as UGFormProps, NavigationMenu as UGNavigationMenu, NavigationMenuContent as UGNavigationMenuContent, NavigationMenuContentProps as UGNavigationMenuContentProps, NavigationMenuItem as UGNavigationMenuItem, NavigationMenuItemProps as UGNavigationMenuItemProps, NavigationMenuLink as UGNavigationMenuLink, NavigationMenuLinkProps as UGNavigationMenuLinkProps, NavigationMenuProps as UGNavigationMenuProps, NavigationMenuTrigger as UGNavigationMenuTrigger, NavigationMenuTriggerProps as UGNavigationMenuTriggerProps, NumberInput as UGNumberInput, NumberInputProps as UGNumberInputProps, OTPInput as UGOTPInput, OTPInputProps as UGOTPInputProps, Pagination as UGPagination, PaginationProps as UGPaginationProps, Popover as UGPopover, PopoverAlign as UGPopoverAlign, PopoverContent as UGPopoverContent, PopoverContentProps as UGPopoverContentProps, PopoverProps as UGPopoverProps, PopoverSide as UGPopoverSide, PopoverTrigger as UGPopoverTrigger, PopoverTriggerProps as UGPopoverTriggerProps, Progress as UGProgress, ProgressColor as UGProgressColor, ProgressProps as UGProgressProps, Radio as UGRadio, RadioGroup as UGRadioGroup, RadioGroupProps as UGRadioGroupProps, RadioProps as UGRadioProps, Select as UGSelect, SelectOption as UGSelectOption, SelectProps as UGSelectProps, Sheet as UGSheet, SheetProps as UGSheetProps, Skeleton as UGSkeleton, SkeletonProps as UGSkeletonProps, Slider as UGSlider, SliderProps as UGSliderProps, Statistic as UGStatistic, StatisticProps as UGStatisticProps, StatisticSize as UGStatisticSize, StatisticTrend as UGStatisticTrend, StepItem as UGStepItem, Steps as UGSteps, StepsProps as UGStepsProps, Switch as UGSwitch, SwitchProps as UGSwitchProps, Table as UGTable, TableBody as UGTableBody, TableBodyProps as UGTableBodyProps, TableCell as UGTableCell, TableCellProps as UGTableCellProps, TableHead as UGTableHead, TableHeadProps as UGTableHeadProps, TableHeader as UGTableHeader, TableHeaderProps as UGTableHeaderProps, TableProps as UGTableProps, TableRow as UGTableRow, TableRowProps as UGTableRowProps, Tabs as UGTabs, TabsContent as UGTabsContent, TabsContentProps as UGTabsContentProps, TabsList as UGTabsList, TabsListProps as UGTabsListProps, TabsProps as UGTabsProps, TabsTrigger as UGTabsTrigger, TabsTriggerProps as UGTabsTriggerProps, Textarea as UGTextarea, TextareaProps as UGTextareaProps, ToastItem as UGToastItem, ToastType as UGToastType, Toaster as UGToaster, Tooltip as UGTooltip, TooltipContent as UGTooltipContent, TooltipContentProps as UGTooltipContentProps, TooltipProps as UGTooltipProps, TooltipTrigger as UGTooltipTrigger, TooltipTriggerProps as UGTooltipTriggerProps, checkboxVariants, numberInputVariants, toast, checkboxVariants as ugCheckboxVariants, numberInputVariants as ugNumberInputVariants } from './components/index.js';
|
|
5
|
-
import { ClassValue } from 'clsx';
|
|
6
|
-
export { SetLocalStorageValue, UseCopyToClipboardReturn, UseFormErrors, UseFormReturn, UseHotkeysOptions, UseLocalStorageReturn, UsePaginationOptions, UsePaginationReturn, UseToggleReturn, useClickOutside, useCopyToClipboard, useDebounce, useEventListener, useForm, useHotkeys, useInterval, useLocalStorage, useMediaQuery, useMounted, usePagination, useTimeout, useToggle } from './hooks/index.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'class-variance-authority/types';
|
|
9
|
-
import 'class-variance-authority';
|
|
10
|
-
import 'lucide-react';
|
|
11
|
-
import 'react/jsx-runtime';
|
|
12
|
-
|
|
13
1
|
/**
|
|
14
|
-
* @description:
|
|
2
|
+
* @description: @ug666/ui-react 入口 — 导出所有 React UI 组件 + Hooks
|
|
15
3
|
* @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。
|
|
16
|
-
* @date: 2026-04-
|
|
4
|
+
* @date: 2026-04-17
|
|
17
5
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @description: React 包内部类名合并工具
|
|
92
|
-
* @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。
|
|
93
|
-
* @date: 2026-05-27
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @description: React 组件分层清单 — 供文档导航和自动化脚本复用
|
|
100
|
-
* @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。
|
|
101
|
-
* @date: 2026-05-27
|
|
102
|
-
*/
|
|
103
|
-
declare const reactComponentLayers: readonly [{
|
|
104
|
-
readonly id: "primitives";
|
|
105
|
-
readonly label: "基础组件";
|
|
106
|
-
readonly description: "最小可复用视觉单元,负责按钮、容器、标签、分隔和加载基础状态。";
|
|
107
|
-
readonly components: readonly [{
|
|
108
|
-
readonly name: "UGButton";
|
|
109
|
-
readonly route: "/react/components/button";
|
|
110
|
-
}, {
|
|
111
|
-
readonly name: "UGInput";
|
|
112
|
-
readonly route: "/react/components/input";
|
|
113
|
-
}, {
|
|
114
|
-
readonly name: "UGLabel";
|
|
115
|
-
readonly route: "/react/components/label";
|
|
116
|
-
}, {
|
|
117
|
-
readonly name: "UGCard";
|
|
118
|
-
readonly route: "/react/components/card";
|
|
119
|
-
}, {
|
|
120
|
-
readonly name: "UGBadge";
|
|
121
|
-
readonly route: "/react/components/badge";
|
|
122
|
-
}, {
|
|
123
|
-
readonly name: "UGTag";
|
|
124
|
-
readonly route: "/react/components/tag";
|
|
125
|
-
}, {
|
|
126
|
-
readonly name: "UGSeparator";
|
|
127
|
-
readonly route: "/react/components/separator";
|
|
128
|
-
}, {
|
|
129
|
-
readonly name: "UGSpinner";
|
|
130
|
-
readonly route: "/react/components/spinner";
|
|
131
|
-
}];
|
|
132
|
-
}, {
|
|
133
|
-
readonly id: "forms";
|
|
134
|
-
readonly label: "表单输入";
|
|
135
|
-
readonly description: "收集、校验和编辑用户输入,要求标签、帮助文本、错误状态稳定对齐。";
|
|
136
|
-
readonly components: readonly [{
|
|
137
|
-
readonly name: "UGTextarea";
|
|
138
|
-
readonly route: "/react/components/textarea";
|
|
139
|
-
}, {
|
|
140
|
-
readonly name: "UGSelect";
|
|
141
|
-
readonly route: "/react/components/select";
|
|
142
|
-
}, {
|
|
143
|
-
readonly name: "UGCheckbox";
|
|
144
|
-
readonly route: "/react/components/checkbox";
|
|
145
|
-
}, {
|
|
146
|
-
readonly name: "UGRadio";
|
|
147
|
-
readonly route: "/react/components/radio";
|
|
148
|
-
}, {
|
|
149
|
-
readonly name: "UGSwitch";
|
|
150
|
-
readonly route: "/react/components/switch";
|
|
151
|
-
}, {
|
|
152
|
-
readonly name: "UGSlider";
|
|
153
|
-
readonly route: "/react/components/slider";
|
|
154
|
-
}, {
|
|
155
|
-
readonly name: "UGNumberInput";
|
|
156
|
-
readonly route: "/react/components/number-input";
|
|
157
|
-
}, {
|
|
158
|
-
readonly name: "UGOTPInput";
|
|
159
|
-
readonly route: "/react/components/otp-input";
|
|
160
|
-
}, {
|
|
161
|
-
readonly name: "UGForm";
|
|
162
|
-
readonly route: "/react/components/form";
|
|
163
|
-
}];
|
|
164
|
-
}, {
|
|
165
|
-
readonly id: "navigation";
|
|
166
|
-
readonly label: "导航流程";
|
|
167
|
-
readonly description: "页面定位、区域切换、分页和流程表达,要求选中态明确且移动端不溢出。";
|
|
168
|
-
readonly components: readonly [{
|
|
169
|
-
readonly name: "UGTabs";
|
|
170
|
-
readonly route: "/react/components/tabs";
|
|
171
|
-
}, {
|
|
172
|
-
readonly name: "UGBreadcrumb";
|
|
173
|
-
readonly route: "/react/components/breadcrumb";
|
|
174
|
-
}, {
|
|
175
|
-
readonly name: "UGPagination";
|
|
176
|
-
readonly route: "/react/components/pagination";
|
|
177
|
-
}, {
|
|
178
|
-
readonly name: "UGNavigationMenu";
|
|
179
|
-
readonly route: "/react/components/navigation-menu";
|
|
180
|
-
}, {
|
|
181
|
-
readonly name: "UGSidebar";
|
|
182
|
-
readonly route: "/react/components/sidebar";
|
|
183
|
-
}, {
|
|
184
|
-
readonly name: "UGSteps";
|
|
185
|
-
readonly route: "/react/components/steps";
|
|
186
|
-
}];
|
|
187
|
-
}, {
|
|
188
|
-
readonly id: "overlays";
|
|
189
|
-
readonly label: "浮层弹层";
|
|
190
|
-
readonly description: "临时承载操作和上下文信息,要求定位、关闭、焦点和遮罩行为可靠。";
|
|
191
|
-
readonly components: readonly [{
|
|
192
|
-
readonly name: "UGModal";
|
|
193
|
-
readonly route: "/react/components/modal";
|
|
194
|
-
}, {
|
|
195
|
-
readonly name: "UGDialog";
|
|
196
|
-
readonly route: "/react/components/dialog";
|
|
197
|
-
}, {
|
|
198
|
-
readonly name: "UGDrawer";
|
|
199
|
-
readonly route: "/react/components/drawer";
|
|
200
|
-
}, {
|
|
201
|
-
readonly name: "UGSheet";
|
|
202
|
-
readonly route: "/react/components/sheet";
|
|
203
|
-
}, {
|
|
204
|
-
readonly name: "UGDropdownMenu";
|
|
205
|
-
readonly route: "/react/components/dropdown";
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "UGContextMenu";
|
|
208
|
-
readonly route: "/react/components/context-menu";
|
|
209
|
-
}, {
|
|
210
|
-
readonly name: "UGPopover";
|
|
211
|
-
readonly route: "/react/components/popover";
|
|
212
|
-
}, {
|
|
213
|
-
readonly name: "UGTooltip";
|
|
214
|
-
readonly route: "/react/components/tooltip";
|
|
215
|
-
}];
|
|
216
|
-
}, {
|
|
217
|
-
readonly id: "feedback";
|
|
218
|
-
readonly label: "反馈状态";
|
|
219
|
-
readonly description: "表达成功、警告、错误、空状态和加载过程,要求语义文案和视觉状态一致。";
|
|
220
|
-
readonly components: readonly [{
|
|
221
|
-
readonly name: "UGAlert";
|
|
222
|
-
readonly route: "/react/components/alert";
|
|
223
|
-
}, {
|
|
224
|
-
readonly name: "UGToaster";
|
|
225
|
-
readonly route: "/react/components/toast";
|
|
226
|
-
}, {
|
|
227
|
-
readonly name: "UGProgress";
|
|
228
|
-
readonly route: "/react/components/progress";
|
|
229
|
-
}, {
|
|
230
|
-
readonly name: "UGSkeleton";
|
|
231
|
-
readonly route: "/react/components/skeleton";
|
|
232
|
-
}, {
|
|
233
|
-
readonly name: "UGEmptyState";
|
|
234
|
-
readonly route: "/react/components/empty-state";
|
|
235
|
-
}];
|
|
236
|
-
}, {
|
|
237
|
-
readonly id: "data";
|
|
238
|
-
readonly label: "数据展示";
|
|
239
|
-
readonly description: "展示列表、对象详情、头像、指标和折叠信息,要求密度清晰且文本不挤出。";
|
|
240
|
-
readonly components: readonly [{
|
|
241
|
-
readonly name: "UGTable";
|
|
242
|
-
readonly route: "/react/components/table";
|
|
243
|
-
}, {
|
|
244
|
-
readonly name: "UGDescriptions";
|
|
245
|
-
readonly route: "/react/components/descriptions";
|
|
246
|
-
}, {
|
|
247
|
-
readonly name: "UGStatistic";
|
|
248
|
-
readonly route: "/react/components/statistic";
|
|
249
|
-
}, {
|
|
250
|
-
readonly name: "UGAvatar";
|
|
251
|
-
readonly route: "/react/components/avatar";
|
|
252
|
-
}, {
|
|
253
|
-
readonly name: "UGAvatarGroup";
|
|
254
|
-
readonly route: "/react/components/avatar-group";
|
|
255
|
-
}, {
|
|
256
|
-
readonly name: "UGAccordion";
|
|
257
|
-
readonly route: "/react/components/accordion";
|
|
258
|
-
}];
|
|
259
|
-
}, {
|
|
260
|
-
readonly id: "patterns";
|
|
261
|
-
readonly label: "框架模式";
|
|
262
|
-
readonly description: "后台、工具型和跨业务通用模式,通过子入口 @ug666/ui-react/patterns 使用。";
|
|
263
|
-
readonly components: readonly [{
|
|
264
|
-
readonly name: "UGAdminShell";
|
|
265
|
-
readonly route: "/react/patterns#adminshell";
|
|
266
|
-
}, {
|
|
267
|
-
readonly name: "UGPageHeader";
|
|
268
|
-
readonly route: "/react/patterns#pageheader";
|
|
269
|
-
}, {
|
|
270
|
-
readonly name: "UGCopyField";
|
|
271
|
-
readonly route: "/react/patterns#copyfield";
|
|
272
|
-
}, {
|
|
273
|
-
readonly name: "UGConfirmDialog";
|
|
274
|
-
readonly route: "/react/patterns#confirmdialog";
|
|
275
|
-
}];
|
|
276
|
-
}, {
|
|
277
|
-
readonly id: "blocks";
|
|
278
|
-
readonly label: "展示区块";
|
|
279
|
-
readonly description: "展示页、产品页和介绍页区块,通过子入口 @ug666/ui-react/blocks 使用。";
|
|
280
|
-
readonly components: readonly [{
|
|
281
|
-
readonly name: "UGLandingHero";
|
|
282
|
-
readonly route: "/react/blocks#landinghero";
|
|
283
|
-
}, {
|
|
284
|
-
readonly name: "UGFeatureGrid";
|
|
285
|
-
readonly route: "/react/blocks#featuregrid";
|
|
286
|
-
}];
|
|
287
|
-
}, {
|
|
288
|
-
readonly id: "labs";
|
|
289
|
-
readonly label: "实验组件";
|
|
290
|
-
readonly description: "尚未稳定承诺的实验组件,通过子入口 @ug666/ui-react/labs 使用。";
|
|
291
|
-
readonly components: readonly [];
|
|
292
|
-
}];
|
|
293
|
-
type ReactComponentLayer = (typeof reactComponentLayers)[number];
|
|
294
|
-
type ReactLayerId = ReactComponentLayer['id'];
|
|
295
|
-
type ReactLayerComponent = ReactComponentLayer['components'][number];
|
|
296
|
-
|
|
297
|
-
export { type ReactComponentLayer, type ReactLayerComponent, type ReactLayerId, type Theme, cn, reactComponentLayers, theme };
|
|
6
|
+
export * from './aliases';
|
|
7
|
+
export { Button, buttonVariants, type ButtonLoadingPlacement, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonTone, type ButtonVariant, } from './components/button';
|
|
8
|
+
export { ButtonGroup, type ButtonGroupProps } from './components/button-group';
|
|
9
|
+
export { Input, type InputProps } from './components/input';
|
|
10
|
+
export { Label, type LabelProps } from './components/label';
|
|
11
|
+
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, type CardProps, type CardHeaderProps, type CardTitleProps, type CardDescriptionProps, type CardContentProps, type CardFooterProps, } from './components/card';
|
|
12
|
+
export { Badge, badgeVariants, type BadgeProps } from './components/badge';
|
|
13
|
+
export { Tag, tagVariants, type TagProps } from './components/tag';
|
|
14
|
+
export { Modal, ModalContent, ModalHeader, ModalTitle, ModalFooter, ModalCloseButton, type ModalProps, type ModalContentProps, type ModalHeaderProps, type ModalTitleProps, type ModalFooterProps, type ModalCloseButtonProps, } from './components/modal';
|
|
15
|
+
export { Dialog, type DialogProps, type DialogVariant, } from './components/dialog';
|
|
16
|
+
export { Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, DrawerFooter, DrawerClose, type DrawerProps, type DrawerSide, type DrawerContentProps, type DrawerHeaderProps, type DrawerTitleProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerCloseProps, } from './components/drawer';
|
|
17
|
+
export { Table, TableHeader, TableBody, TableRow, TableHead, TableCell, type TableProps, type TableHeaderProps, type TableBodyProps, type TableRowProps, type TableHeadProps, type TableCellProps, } from './components/table';
|
|
18
|
+
export { Toaster, toast, type ToastType, type ToastItem } from './components/toast';
|
|
19
|
+
export { Sidebar, type SidebarProps, type SidebarItem } from './components/sidebar';
|
|
20
|
+
export { Pagination, type PaginationProps } from './components/pagination';
|
|
21
|
+
export { Select, type SelectModelValue, type SelectOption, type SelectProps, type SelectValue, } from './components/select';
|
|
22
|
+
export { Spinner, type SpinnerProps } from './components/spinner';
|
|
23
|
+
export { Checkbox, checkboxVariants, type CheckboxProps, } from './components/checkbox';
|
|
24
|
+
export { CheckboxGroup, type CheckboxGroupProps, type CheckboxValue, } from './components/checkbox-group';
|
|
25
|
+
export { Radio, RadioGroup, type RadioProps, type RadioGroupProps, type RadioValue, } from './components/radio';
|
|
26
|
+
export { Slider, type SliderMark, type SliderMarks, type SliderProps, type SliderStep, type SliderTooltipPlacement, type SliderValue, } from './components/slider';
|
|
27
|
+
export { NumberInput, numberInputVariants, type NumberInputControlsPosition, type NumberInputProps, type NumberInputValue, } from './components/number-input';
|
|
28
|
+
export { OTPInput, type OTPInputProps } from './components/otp-input';
|
|
29
|
+
export { Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage, type FormProps, type FormFieldProps, type FormItemProps, type FormLabelProps, type FormControlProps, type FormDescriptionProps, type FormFieldStatus, type FormLabelPosition, type FormLayout, type FormMessageProps, type FormRequiredMarkPosition, } from './components/form';
|
|
30
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, } from './components/tabs';
|
|
31
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, type AccordionProps, type AccordionSingleProps, type AccordionMultipleProps, type AccordionType, type AccordionItemProps, type AccordionTriggerProps, type AccordionContentProps, } from './components/accordion';
|
|
32
|
+
export { Steps, type StepsProps, type StepItem, } from './components/steps';
|
|
33
|
+
export { DropdownMenu, DropdownTrigger, DropdownContent, DropdownItem, DropdownSeparator, type DropdownMenuProps, type DropdownTriggerProps, type DropdownContentProps, type DropdownItemProps, type DropdownSeparatorProps, } from './components/dropdown';
|
|
34
|
+
export { Popover, PopoverTrigger, PopoverContent, type PopoverProps, type PopoverTriggerProps, type PopoverContentProps, type PopoverSide, type PopoverAlign, } from './components/popover';
|
|
35
|
+
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, type ContextMenuProps, type ContextMenuTriggerProps, type ContextMenuContentProps, type ContextMenuItemProps, type ContextMenuSeparatorProps, } from './components/context-menu';
|
|
36
|
+
export { NavigationMenu, NavigationMenuItem, NavigationMenuLink, NavigationMenuTrigger, NavigationMenuContent, type NavigationMenuProps, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuTriggerProps, type NavigationMenuContentProps, } from './components/navigation-menu';
|
|
37
|
+
export { Avatar, AvatarImage, AvatarFallback, type AvatarProps, type AvatarImageProps, type AvatarFallbackProps, } from './components/avatar';
|
|
38
|
+
export { AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, } from './components/avatar-group';
|
|
39
|
+
export { Tooltip, TooltipTrigger, TooltipContent, type TooltipProps, type TooltipTriggerProps, type TooltipContentProps, } from './components/tooltip';
|
|
40
|
+
export { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps, } from './components/alert';
|
|
41
|
+
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbSeparator, type BreadcrumbProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbSeparatorProps, } from './components/breadcrumb';
|
|
42
|
+
export { Switch, type SwitchProps } from './components/switch';
|
|
43
|
+
export { Textarea, type TextareaProps } from './components/textarea';
|
|
44
|
+
export { Skeleton, type SkeletonProps } from './components/skeleton';
|
|
45
|
+
export { Progress, type ProgressColor, type ProgressProps } from './components/progress';
|
|
46
|
+
export { Sheet, type SheetProps } from './components/sheet';
|
|
47
|
+
export { EmptyState, type EmptyStateProps } from './components/empty-state';
|
|
48
|
+
export { Separator, type SeparatorContentPosition, type SeparatorLineStyle, type SeparatorProps, type SeparatorOrientation, } from './components/separator';
|
|
49
|
+
export { Descriptions, DescriptionsItem, type DescriptionsProps, type DescriptionsItemProps, type DescriptionsSize, } from './components/descriptions';
|
|
50
|
+
export { Statistic, type StatisticProps, type StatisticSize, type StatisticTrend, } from './components/statistic';
|
|
51
|
+
export { Link, type LinkProps, type LinkTone, type LinkUnderline, } from './components/link';
|
|
52
|
+
export { Text, type TextProps, type TextElement, type TextSize, type TextTone } from './components/text';
|
|
53
|
+
export { Space, type SpaceAlign, type SpaceDirection, type SpaceGap, type SpacePresetSize, type SpaceProps, type SpaceSize, } from './components/space';
|
|
54
|
+
export { Scrollbar, type ScrollbarAppearance, type ScrollbarEndDirection, type ScrollbarOrientation, type ScrollbarOverscroll, type ScrollbarPosition, type ScrollbarProps, } from './components/scrollbar';
|
|
55
|
+
export { Row, Col, type RowAlign, type RowGutter, type RowJustify, type RowProps, type ColBreakpoint, type ColProps, type ColSize, } from './components/layout';
|
|
56
|
+
export { Container, Header, Aside, Main, Footer, type ContainerProps, type ContainerDirection, type ContainerRegionProps, type ContainerRegionSize, type HeaderProps, type AsideProps, type MainProps, type FooterProps, } from './components/container';
|
|
57
|
+
export { ConfigProvider, useUIConfig, type ConfigProviderProps, type UIConfig, type ButtonDefaults, type LinkDefaults, type ComponentSize, type ControlSize, } from './components/config-provider';
|
|
58
|
+
export { Splitter, SplitterPanel, type SplitterCollapseDetail, type SplitterDirection, type SplitterPanelProps, type SplitterProps, type SplitterResizeDetail, } from './components/splitter';
|
|
59
|
+
export { Icon, type IconProps, type IconGraphicProps } from './components/icon';
|
|
60
|
+
export { theme, type Theme } from './theme';
|
|
61
|
+
export { cn } from './internal/cn';
|
|
62
|
+
export { useDebounce } from './hooks/use-debounce';
|
|
63
|
+
export { useLocalStorage, type UseLocalStorageReturn, type SetLocalStorageValue, } from './hooks/use-local-storage';
|
|
64
|
+
export { useMediaQuery } from './hooks/use-media-query';
|
|
65
|
+
export { useClickOutside } from './hooks/use-click-outside';
|
|
66
|
+
export { useCopyToClipboard, type UseCopyToClipboardReturn, } from './hooks/use-copy-to-clipboard';
|
|
67
|
+
export { useToggle, type UseToggleReturn } from './hooks/use-toggle';
|
|
68
|
+
export { usePagination, type UsePaginationOptions, type UsePaginationReturn, } from './hooks/use-pagination';
|
|
69
|
+
export { useForm, type UseFormErrors, type UseFormOptions, type UseFormReturn, type UseFormTouched, } from './hooks/use-form';
|
|
70
|
+
export type { FormFieldRules, FormRule, FormRules, FormValidationTrigger, FormValueType, } from '@ug666/ui-core';
|
|
71
|
+
export { useMounted } from './hooks/use-mounted';
|
|
72
|
+
export { useInterval } from './hooks/use-interval';
|
|
73
|
+
export { useTimeout } from './hooks/use-timeout';
|
|
74
|
+
export { useHotkeys, type UseHotkeysOptions } from './hooks/use-hotkeys';
|
|
75
|
+
export { useEventListener } from './hooks/use-event-listener';
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAGH,cAAc,WAAW,CAAA;AACzB,OAAO,EACL,MAAM,EACN,cAAc,EACd,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,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