@sth87/shadcn-design-system 0.0.8 → 0.0.10

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.
Files changed (122) hide show
  1. package/dist/types/components/Accordion/Accordion.d.ts +1 -1
  2. package/dist/types/components/Avatar/Avatar.d.ts +1 -1
  3. package/dist/types/components/Badge/Badge.d.ts +1 -1
  4. package/dist/types/components/Button/Button.d.ts +1 -1
  5. package/dist/types/components/Button/ButtonGroup.d.ts +1 -1
  6. package/dist/types/components/Calendar/Calendar.d.ts +1 -1
  7. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  8. package/dist/types/components/Collapsible/Collapsible.d.ts +1 -1
  9. package/dist/types/components/Command/index.d.ts +1 -1
  10. package/dist/types/components/ContextMenu/index.d.ts +1 -1
  11. package/dist/types/components/DatePicker/DatePicker.d.ts +1 -1
  12. package/dist/types/components/DatePicker/RangePicker.d.ts +1 -1
  13. package/dist/types/components/DropdownMenu/index.d.ts +1 -1
  14. package/dist/types/components/InputOTP/InputOTP.d.ts +1 -1
  15. package/dist/types/components/Label/Label.d.ts +1 -1
  16. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  17. package/dist/types/components/Radio/Radio.d.ts +1 -1
  18. package/dist/types/components/Resizable/Resizable.d.ts +1 -1
  19. package/dist/types/components/ScrollArea/ScrollArea.d.ts +1 -1
  20. package/dist/types/components/Select/Select.d.ts +1 -1
  21. package/dist/types/components/Separator/Separator.d.ts +1 -1
  22. package/dist/types/components/Sheet/Sheet.d.ts +2 -2
  23. package/dist/types/components/Sidebar/Sidebar.d.ts +1 -1
  24. package/dist/types/components/Sidebar/index.d.ts +1 -1
  25. package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
  26. package/dist/types/components/Switch/Switch.d.ts +1 -1
  27. package/dist/types/components/Textarea/Textarea.d.ts +1 -1
  28. package/dist/types/components/Toggle/Toggle.d.ts +1 -1
  29. package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
  30. package/dist/types/components/TreeSelect/TreeSelect.d.ts +1 -1
  31. package/dist/types/index.d.ts +1 -1
  32. package/dist/types/lib/utils.d.ts +1 -1
  33. package/dist/types/packages/ui/src/card.d.ts +8 -0
  34. package/dist/types/packages/ui/src/card.d.ts.map +1 -0
  35. package/dist/types/packages/ui/src/code.d.ts +6 -0
  36. package/dist/types/packages/ui/src/code.d.ts.map +1 -0
  37. package/dist/types/packages/ui/src/components/accordion.d.ts +8 -0
  38. package/dist/types/packages/ui/src/components/accordion.d.ts.map +1 -0
  39. package/dist/types/packages/ui/src/components/alert-dialog.d.ts +22 -0
  40. package/dist/types/packages/ui/src/components/alert-dialog.d.ts.map +1 -0
  41. package/dist/types/packages/ui/src/components/avatar.d.ts +10 -0
  42. package/dist/types/packages/ui/src/components/avatar.d.ts.map +1 -0
  43. package/dist/types/packages/ui/src/components/badge.d.ts +14 -0
  44. package/dist/types/packages/ui/src/components/badge.d.ts.map +1 -0
  45. package/dist/types/packages/ui/src/components/breadcrumb.d.ts +12 -0
  46. package/dist/types/packages/ui/src/components/breadcrumb.d.ts.map +1 -0
  47. package/dist/types/packages/ui/src/components/button-group.d.ts +12 -0
  48. package/dist/types/packages/ui/src/components/button-group.d.ts.map +1 -0
  49. package/dist/types/packages/ui/src/components/button.d.ts +13 -0
  50. package/dist/types/packages/ui/src/components/button.d.ts.map +1 -0
  51. package/dist/types/packages/ui/src/components/calendar.d.ts +17 -0
  52. package/dist/types/packages/ui/src/components/calendar.d.ts.map +1 -0
  53. package/dist/types/packages/ui/src/components/checkbox.d.ts +13 -0
  54. package/dist/types/packages/ui/src/components/checkbox.d.ts.map +1 -0
  55. package/dist/types/packages/ui/src/components/collapsible.d.ts +6 -0
  56. package/dist/types/packages/ui/src/components/collapsible.d.ts.map +1 -0
  57. package/dist/types/packages/ui/src/components/combobox.d.ts +34 -0
  58. package/dist/types/packages/ui/src/components/combobox.d.ts.map +1 -0
  59. package/dist/types/packages/ui/src/components/command.d.ts +19 -0
  60. package/dist/types/packages/ui/src/components/command.d.ts.map +1 -0
  61. package/dist/types/packages/ui/src/components/context-menu.d.ts +26 -0
  62. package/dist/types/packages/ui/src/components/context-menu.d.ts.map +1 -0
  63. package/dist/types/packages/ui/src/components/dialog.d.ts +22 -0
  64. package/dist/types/packages/ui/src/components/dialog.d.ts.map +1 -0
  65. package/dist/types/packages/ui/src/components/drawer.d.ts +14 -0
  66. package/dist/types/packages/ui/src/components/drawer.d.ts.map +1 -0
  67. package/dist/types/packages/ui/src/components/dropdown-menu.d.ts +26 -0
  68. package/dist/types/packages/ui/src/components/dropdown-menu.d.ts.map +1 -0
  69. package/dist/types/packages/ui/src/components/input-otp.d.ts +20 -0
  70. package/dist/types/packages/ui/src/components/input-otp.d.ts.map +1 -0
  71. package/dist/types/packages/ui/src/components/input.d.ts +13 -0
  72. package/dist/types/packages/ui/src/components/input.d.ts.map +1 -0
  73. package/dist/types/packages/ui/src/components/label.d.ts +5 -0
  74. package/dist/types/packages/ui/src/components/label.d.ts.map +1 -0
  75. package/dist/types/packages/ui/src/components/pagination.d.ts +20 -0
  76. package/dist/types/packages/ui/src/components/pagination.d.ts.map +1 -0
  77. package/dist/types/packages/ui/src/components/popover.d.ts +15 -0
  78. package/dist/types/packages/ui/src/components/popover.d.ts.map +1 -0
  79. package/dist/types/packages/ui/src/components/radio-group.d.ts +17 -0
  80. package/dist/types/packages/ui/src/components/radio-group.d.ts.map +1 -0
  81. package/dist/types/packages/ui/src/components/resizable.d.ts +14 -0
  82. package/dist/types/packages/ui/src/components/resizable.d.ts.map +1 -0
  83. package/dist/types/packages/ui/src/components/scroll-area.d.ts +6 -0
  84. package/dist/types/packages/ui/src/components/scroll-area.d.ts.map +1 -0
  85. package/dist/types/packages/ui/src/components/select.d.ts +43 -0
  86. package/dist/types/packages/ui/src/components/select.d.ts.map +1 -0
  87. package/dist/types/packages/ui/src/components/separator.d.ts +20 -0
  88. package/dist/types/packages/ui/src/components/separator.d.ts.map +1 -0
  89. package/dist/types/packages/ui/src/components/sheet.d.ts +15 -0
  90. package/dist/types/packages/ui/src/components/sheet.d.ts.map +1 -0
  91. package/dist/types/packages/ui/src/components/sidebar.d.ts +70 -0
  92. package/dist/types/packages/ui/src/components/sidebar.d.ts.map +1 -0
  93. package/dist/types/packages/ui/src/components/skeleton.d.ts +3 -0
  94. package/dist/types/packages/ui/src/components/skeleton.d.ts.map +1 -0
  95. package/dist/types/packages/ui/src/components/slider.d.ts +5 -0
  96. package/dist/types/packages/ui/src/components/slider.d.ts.map +1 -0
  97. package/dist/types/packages/ui/src/components/switch.d.ts +14 -0
  98. package/dist/types/packages/ui/src/components/switch.d.ts.map +1 -0
  99. package/dist/types/packages/ui/src/components/table.d.ts +11 -0
  100. package/dist/types/packages/ui/src/components/table.d.ts.map +1 -0
  101. package/dist/types/packages/ui/src/components/tabs.d.ts +8 -0
  102. package/dist/types/packages/ui/src/components/tabs.d.ts.map +1 -0
  103. package/dist/types/packages/ui/src/components/textarea.d.ts +13 -0
  104. package/dist/types/packages/ui/src/components/textarea.d.ts.map +1 -0
  105. package/dist/types/packages/ui/src/components/toggle.d.ts +11 -0
  106. package/dist/types/packages/ui/src/components/toggle.d.ts.map +1 -0
  107. package/dist/types/packages/ui/src/components/tooltip.d.ts +18 -0
  108. package/dist/types/packages/ui/src/components/tooltip.d.ts.map +1 -0
  109. package/dist/types/packages/ui/src/components/tree-view.d.ts +30 -0
  110. package/dist/types/packages/ui/src/components/tree-view.d.ts.map +1 -0
  111. package/dist/types/packages/ui/src/constants/color.d.ts +19 -0
  112. package/dist/types/packages/ui/src/constants/color.d.ts.map +1 -0
  113. package/dist/types/packages/ui/src/hooks/use-mobile.d.ts +2 -0
  114. package/dist/types/packages/ui/src/hooks/use-mobile.d.ts.map +1 -0
  115. package/dist/types/packages/ui/src/index.d.ts +39 -0
  116. package/dist/types/packages/ui/src/index.d.ts.map +1 -0
  117. package/dist/types/packages/ui/src/lib/compose-refs.d.ts +17 -0
  118. package/dist/types/packages/ui/src/lib/compose-refs.d.ts.map +1 -0
  119. package/dist/types/packages/ui/src/lib/utils.d.ts +3 -0
  120. package/dist/types/packages/ui/src/lib/utils.d.ts.map +1 -0
  121. package/dist/types/tsconfig.json +13 -0
  122. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { AccordionItem, AccordionTrigger, AccordionContent } from "../../packages/ui/src/components/accordion";
2
+ import { AccordionItem, AccordionTrigger, AccordionContent } from "@dsui/ui/components/accordion";
3
3
  import { type BasicColor } from "../../types/variables";
4
4
  export type AccordionItemConfig = {
5
5
  value: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Avatar as DsAvatar } from "../../packages/ui/src/components/avatar";
2
+ import { Avatar as DsAvatar } from "@dsui/ui/components/avatar";
3
3
  import type { BasicAnimation, BasicColor } from "../../types/variables";
4
4
  type Color = BasicColor | "dark" | "light" | "inverted";
5
5
  type Size = "xs" | "sm" | "md" | "lg" | "xl";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type BadgeProps as SBadgeProps } from "../../packages/ui/src/components/badge";
2
+ import { type BadgeProps as SBadgeProps } from "@dsui/ui/components/badge";
3
3
  import type { BadgeAnimation } from "../../types/variables";
4
4
  export type BadgeProps = SBadgeProps & {
5
5
  animation?: BadgeAnimation;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type ButtonProps as SButtonProps } from "../../packages/ui/src/components/button";
2
+ import { type ButtonProps as SButtonProps } from "@dsui/ui/components/button";
3
3
  import type { ButtonAnimation } from "../../types/variables";
4
4
  export type ButtonProps = SButtonProps & {
5
5
  animation?: ButtonAnimation;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ButtonGroup as SButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "../../packages/ui/src/components/button-group";
2
+ import { ButtonGroup as SButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "@dsui/ui/components/button-group";
3
3
  import { type VariantProps } from "class-variance-authority";
4
4
  import { type ButtonProps } from "./Button";
5
5
  export type ButtonGroupProps = React.ComponentProps<typeof SButtonGroup> & VariantProps<typeof buttonGroupVariants> & {
@@ -1,4 +1,4 @@
1
- import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarProps as SCalendarProps, type CalendarColor } from "../../packages/ui/src/components/calendar";
1
+ import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarProps as SCalendarProps, type CalendarColor } from "@dsui/ui/components/calendar";
2
2
  export type DateRange = {
3
3
  from: Date | undefined;
4
4
  to?: Date | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Checkbox as SCheckbox } from "../../packages/ui/src/components/checkbox";
2
+ import { Checkbox as SCheckbox } from "@dsui/ui/components/checkbox";
3
3
  import type { CheckedState } from "@radix-ui/react-checkbox";
4
4
  export type CheckboxProps = Omit<React.ComponentPropsWithoutRef<typeof SCheckbox>, "onCheckedChange" | "variant" | "size" | "color" | "icon"> & {
5
5
  onCheckedChange?: (checked: CheckedState) => void;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Collapsible as SCollapsible, CollapsibleTrigger, CollapsibleContent } from "../../packages/ui/src/components/collapsible";
2
+ import { Collapsible as SCollapsible, CollapsibleTrigger, CollapsibleContent } from "@dsui/ui/components/collapsible";
3
3
  export type CollapsibleProps = Omit<React.ComponentPropsWithoutRef<typeof SCollapsible>, "children" | "content" | "open" | "defaultOpen" | "onOpenChange"> & {
4
4
  open?: boolean;
5
5
  defaultOpen?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type CommandProps, type CommandItemType } from "./Command";
2
- import { CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandSeparator, CommandItem, CommandShortcut } from "../../packages/ui/src/components/command";
2
+ import { CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandSeparator, CommandItem, CommandShortcut } from "@dsui/ui/components/command";
3
3
  declare const Command: import("react").ForwardRefExoticComponent<CommandProps & import("react").RefAttributes<HTMLDivElement>> & {
4
4
  Dialog: typeof CommandDialog;
5
5
  Input: typeof CommandInput;
@@ -1,5 +1,5 @@
1
1
  import { type ContextMenuProps } from "./ContextMenu";
2
- import { ContextMenu as ContextMenuPrimitive, ContextMenuPortal, ContextMenuTrigger, ContextMenuContent, ContextMenuGroup, ContextMenuLabel, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent } from "../../packages/ui/src/components/context-menu";
2
+ import { ContextMenu as ContextMenuPrimitive, ContextMenuPortal, ContextMenuTrigger, ContextMenuContent, ContextMenuGroup, ContextMenuLabel, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent } from "@dsui/ui/components/context-menu";
3
3
  declare const ContextMenu: import("react").ForwardRefExoticComponent<ContextMenuProps & import("react").RefAttributes<HTMLDivElement>> & {
4
4
  Root: typeof ContextMenuPrimitive;
5
5
  Portal: typeof ContextMenuPortal;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarProps, type CalendarColor } from "../../packages/ui/src/components/calendar";
2
+ import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarProps, type CalendarColor } from "@dsui/ui/components/calendar";
3
3
  import { Input, type InputProps } from "../Input";
4
4
  import { type TimePickerMode, type DisabledTimeRange } from "./TimePicker";
5
5
  import type { VariantProps } from "class-variance-authority";
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarColor } from "../../packages/ui/src/components/calendar";
2
+ import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarColor } from "@dsui/ui/components/calendar";
3
3
  import { TimePicker } from "./TimePicker";
4
4
  import { type DatePickerProps } from "./DatePicker";
5
5
  export type DateRange = {
@@ -1,5 +1,5 @@
1
1
  import { type DropdownMenuProps } from "./DropdownMenu";
2
- import { DropdownMenu as DropdownMenuPrimitive, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent } from "../../packages/ui/src/components/dropdown-menu";
2
+ import { DropdownMenu as DropdownMenuPrimitive, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent } from "@dsui/ui/components/dropdown-menu";
3
3
  declare const DropdownMenu: import("react").ForwardRefExoticComponent<DropdownMenuProps & import("react").RefAttributes<HTMLDivElement>> & {
4
4
  Root: typeof DropdownMenuPrimitive;
5
5
  Portal: typeof DropdownMenuPortal;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type InputOTPProps as SInputOTPProps, inputOTPSlotVariants } from "../../packages/ui/src/components/input-otp";
2
+ import { type InputOTPProps as SInputOTPProps, inputOTPSlotVariants } from "@dsui/ui/components/input-otp";
3
3
  import type { VariantProps } from "class-variance-authority";
4
4
  export type InputOTPProps = Omit<SInputOTPProps, "size" | "render" | "maxLength"> & {
5
5
  label?: React.ReactNode;
@@ -1,3 +1,3 @@
1
- import { Label as SLabel } from "../../packages/ui/src/index";
1
+ import { Label as SLabel } from "@dsui/ui/index";
2
2
  export { SLabel as Label };
3
3
  //# sourceMappingURL=Label.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Pagination as SPagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis } from "../../packages/ui/src/components/pagination";
2
+ import { Pagination as SPagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis } from "@dsui/ui/components/pagination";
3
3
  import type { ButtonAnimation } from "../../types/variables";
4
4
  import type { Button } from "../Button";
5
5
  type PaginationItemType = number | "..." | {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { RadioGroup as SRadioGroup, type RadioGroupProps, type RadioGroupItemProps } from "../../packages/ui/src/components/radio-group";
2
+ import { RadioGroup as SRadioGroup, type RadioGroupProps, type RadioGroupItemProps } from "@dsui/ui/components/radio-group";
3
3
  export type RadioItemProps = RadioGroupItemProps & {
4
4
  label?: React.ReactNode;
5
5
  variant?: "option" | "button-group";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ResizablePanelGroup, ResizablePanel, ResizableHandle, resizableHandleVariants } from "../../packages/ui/src/components/resizable";
2
+ import { ResizablePanelGroup, ResizablePanel, ResizableHandle, resizableHandleVariants } from "@dsui/ui/components/resizable";
3
3
  import type { VariantProps } from "class-variance-authority";
4
4
  export type ResizableDirection = "horizontal" | "vertical";
5
5
  export type ResizableHandleVariant = VariantProps<typeof resizableHandleVariants>["variant"];
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ScrollArea as SScrollArea, ScrollBar as SScrollBar } from "../../packages/ui/src/components/scroll-area";
2
+ import { ScrollArea as SScrollArea, ScrollBar as SScrollBar } from "@dsui/ui/components/scroll-area";
3
3
  export interface ScrollAreaProps extends React.ComponentProps<typeof SScrollArea> {
4
4
  /**
5
5
  * Type of scroll snap behavior
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type ComboboxProps, type SelectOption as SSelectOption } from "../../packages/ui/src/components/combobox";
2
+ import { type ComboboxProps, type SelectOption as SSelectOption } from "@dsui/ui/components/combobox";
3
3
  export type SelectOption = SSelectOption;
4
4
  export type SelectProps = ComboboxProps & {
5
5
  label?: string;
@@ -1,4 +1,4 @@
1
- import { type SeparatorProps } from "../../packages/ui/src/components/separator";
1
+ import { type SeparatorProps } from "@dsui/ui/components/separator";
2
2
  declare const Separator: (props: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Separator;
4
4
  export type { SeparatorProps };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { SheetClose } from "../../packages/ui/src/components/sheet";
3
- import { DrawerClose } from "../../packages/ui/src/components/drawer";
2
+ import { SheetClose } from "@dsui/ui/components/sheet";
3
+ import { DrawerClose } from "@dsui/ui/components/drawer";
4
4
  import type { BasicAnimation } from "../../types/variables";
5
5
  export type SheetSide = "top" | "right" | "bottom" | "left";
6
6
  export type SheetSize = "sm" | "md" | "lg" | "xl" | "full";
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Sidebar as SSidebar, SidebarProvider as SSidebarProvider, SidebarContent as SSidebarContent, SidebarFooter as SSidebarFooter, SidebarGroup as SSidebarGroup, SidebarGroupAction as SSidebarGroupAction, SidebarGroupContent as SSidebarGroupContent, SidebarGroupLabel as SSidebarGroupLabel, SidebarHeader as SSidebarHeader, SidebarInput as SSidebarInput, SidebarInset as SSidebarInset, SidebarMenu as SSidebarMenu, SidebarMenuAction as SSidebarMenuAction, SidebarMenuBadge as SSidebarMenuBadge, SidebarMenuButton as SSidebarMenuButton, SidebarMenuItem as SSidebarMenuItem, SidebarMenuSkeleton as SSidebarMenuSkeleton, SidebarMenuSub as SSidebarMenuSub, SidebarMenuSubButton as SSidebarMenuSubButton, SidebarMenuSubItem as SSidebarMenuSubItem, SidebarRail as SSidebarRail, SidebarSeparator as SSidebarSeparator, SidebarTrigger as SSidebarTrigger } from "../../packages/ui/src/components/sidebar";
2
+ import { Sidebar as SSidebar, SidebarProvider as SSidebarProvider, SidebarContent as SSidebarContent, SidebarFooter as SSidebarFooter, SidebarGroup as SSidebarGroup, SidebarGroupAction as SSidebarGroupAction, SidebarGroupContent as SSidebarGroupContent, SidebarGroupLabel as SSidebarGroupLabel, SidebarHeader as SSidebarHeader, SidebarInput as SSidebarInput, SidebarInset as SSidebarInset, SidebarMenu as SSidebarMenu, SidebarMenuAction as SSidebarMenuAction, SidebarMenuBadge as SSidebarMenuBadge, SidebarMenuButton as SSidebarMenuButton, SidebarMenuItem as SSidebarMenuItem, SidebarMenuSkeleton as SSidebarMenuSkeleton, SidebarMenuSub as SSidebarMenuSub, SidebarMenuSubButton as SSidebarMenuSubButton, SidebarMenuSubItem as SSidebarMenuSubItem, SidebarRail as SSidebarRail, SidebarSeparator as SSidebarSeparator, SidebarTrigger as SSidebarTrigger } from "@dsui/ui/components/sidebar";
3
3
  export type SidebarProviderProps = React.ComponentProps<typeof SSidebarProvider>;
4
4
  export type SidebarProps = React.ComponentProps<typeof SSidebar>;
5
5
  export type SidebarContentProps = React.ComponentProps<typeof SSidebarContent>;
@@ -1,4 +1,4 @@
1
1
  export * from "./Sidebar";
2
2
  export { default } from "./Sidebar";
3
- export { useSidebar } from "../../packages/ui/src/components/sidebar";
3
+ export { useSidebar } from "@dsui/ui/components/sidebar";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Skeleton as SSkeleton } from "../../packages/ui/src/components/skeleton";
2
+ import { Skeleton as SSkeleton } from "@dsui/ui/components/skeleton";
3
3
  export type SkeletonProps = React.ComponentProps<typeof SSkeleton>;
4
4
  declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
5
  export default Skeleton;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Switch as SSwitch } from "../../packages/ui/src/components/switch";
2
+ import { Switch as SSwitch } from "@dsui/ui/components/switch";
3
3
  import type { SwitchAnimation } from "../../types/variables";
4
4
  export type SwitchProps = Omit<React.ComponentPropsWithoutRef<typeof SSwitch>, "onCheckedChange" | "variant" | "size" | "color"> & {
5
5
  onCheckedChange?: (checked: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type TextareaProps as STextareaProps } from "../../packages/ui/src/components/textarea";
2
+ import { type TextareaProps as STextareaProps } from "@dsui/ui/components/textarea";
3
3
  export type TextareaProps = Omit<STextareaProps, "onChange" | "size" | "state"> & {
4
4
  onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
5
5
  size?: "xs" | "sm" | "normal" | "lg" | "xl";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Toggle as SToggle } from "../../packages/ui/src/components/toggle";
2
+ import { Toggle as SToggle } from "@dsui/ui/components/toggle";
3
3
  export type ToggleProps = Omit<React.ComponentPropsWithoutRef<typeof SToggle>, "variant" | "size" | "color"> & {
4
4
  variant?: "default" | "outline";
5
5
  size?: "sm" | "default" | "lg";
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { type TooltipContentProps } from "../../packages/ui/src/components/tooltip";
2
+ import { type TooltipContentProps } from "@dsui/ui/components/tooltip";
3
3
  import type { BasicAnimation, BasicColor } from "../../types/variables";
4
4
  type Color = BasicColor | "dark" | "light" | "inverted";
5
5
  export type TooltipProps = TooltipContentProps & {
@@ -1,2 +1,2 @@
1
- export { TreeView, type TreeDataItem } from "../../packages/ui/src/index";
1
+ export { TreeView, type TreeDataItem } from "@dsui/ui/index";
2
2
  //# sourceMappingURL=TreeSelect.d.ts.map
@@ -59,7 +59,7 @@ export * from "./components/Interactive";
59
59
  export * from "./components/Marquee";
60
60
  export * from "./components/Masonry";
61
61
  export * from "./lib/TextAnimation";
62
- export { cn } from "./packages/ui/src/index";
62
+ export { cn } from "@dsui/ui";
63
63
  export { useCallbackRef } from "./hooks/use-callback-ref";
64
64
  export { useDebouncedCallback } from "./hooks/use-debounced-callback";
65
65
  export { useDebounceValue } from "./hooks/use-debounced-value";
@@ -2,7 +2,7 @@
2
2
  * Re-export utilities from @dsui/ui to ensure proper type definitions
3
3
  * This file helps avoid external dependency issues in the published package
4
4
  */
5
- import { useComposedRefs as _useComposedRefs } from "../packages/ui/src/index";
5
+ import { useComposedRefs as _useComposedRefs } from "@dsui/ui/index";
6
6
  import type { ClassValue } from "clsx";
7
7
  /**
8
8
  * Merges multiple class names using clsx and tailwind-merge
@@ -0,0 +1,8 @@
1
+ import { type JSX } from "react";
2
+ export declare function Card({ className, title, children, href, }: {
3
+ className?: string;
4
+ title: string;
5
+ children: React.ReactNode;
6
+ href: string;
7
+ }): JSX.Element;
8
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ui/src/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,IAAI,GACL,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,GAAG,CAAC,OAAO,CAcd"}
@@ -0,0 +1,6 @@
1
+ import { type JSX } from "react";
2
+ export declare function Code({ children, className, }: {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ }): JSX.Element;
6
+ //# sourceMappingURL=code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ui/src/code.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,GAAG,CAAC,OAAO,CAEd"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
8
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAKhE,iBAAS,SAAS,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAEtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAQtD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAgBzD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAUzD;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ import * as React from "react";
2
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AlertDialogOverlay({ className, backdropFilter, overlay, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay> & {
7
+ backdropFilter?: number;
8
+ overlay?: "dark" | "light";
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function AlertDialogContent({ className, noDefaultAnimation, backdropFilter, overlay, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
11
+ noDefaultAnimation?: boolean;
12
+ backdropFilter?: number;
13
+ overlay?: "dark" | "light";
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
16
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
18
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
19
+ declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
20
+ declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
21
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
22
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAKrE,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,2CAI3D;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,2CAI1D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,cAAc,EACd,OAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,GAAG;IAC7D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B,2CAkBA;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,GAAG;IAC7D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B,2CAiBA;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQ7B;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAW7B;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,2CAQzD;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,2CAQ/D;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,2CAO1D;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,2CAO1D;AAED,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ type Size = "xs" | "sm" | "md" | "lg" | "xl";
4
+ declare function Avatar({ className, size, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & {
5
+ size?: Size;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
8
+ declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
9
+ export { Avatar, AvatarImage, AvatarFallback };
10
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,IAAW,EACX,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG;IACrD,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,2CA6BA;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,2CAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "solid" | "light" | "outline" | null | undefined;
5
+ size?: "xs" | "sm" | "lg" | "xl" | "normal" | "dot" | null | undefined;
6
+ color?: "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | "custom" | null | undefined;
7
+ border?: boolean | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ type BadgeProps = React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
+ asChild?: boolean;
11
+ };
12
+ declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
13
+ export { Badge, badgeVariants, type BadgeProps };
14
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAyElE,QAAA,MAAM,aAAa;;;;;8EAyElB,CAAC;AAEF,KAAK,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC5C,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,KAAK,iGAkBV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
+ declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): import("react/jsx-runtime").JSX.Element;
4
+ declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
+ declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
6
+ asChild?: boolean;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
+ declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
10
+ declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
11
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
12
+ //# sourceMappingURL=breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAE5D;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAW1E;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAQ1E;AAED,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,2CAUA;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAW5E;AAED,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAY5B;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAa9B;AAED,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { Separator } from "@dsui/ui/components/separator";
3
+ declare const buttonGroupVariants: (props?: ({
4
+ orientation?: "horizontal" | "vertical" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
11
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
12
+ //# sourceMappingURL=button-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/button-group.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE1D,QAAA,MAAM,mBAAmB;;8EAexB,CAAC;AAEF,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,WAAW,EACX,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,2CAUxE;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,2CAYA;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CAYxC;AAED,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,eAAe,EACf,mBAAmB,GACpB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "solid" | "mix" | "light" | "outline" | "stroke" | "ghost" | null | undefined;
5
+ size?: "xs" | "sm" | "lg" | "xl" | "normal" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl" | "circle-icon" | "circle-icon-xs" | "circle-icon-sm" | "circle-icon-lg" | "circle-icon-xl" | null | undefined;
6
+ color?: "mix" | "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
9
+ asChild?: boolean;
10
+ };
11
+ declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
+ export { Button, buttonVariants, type ButtonProps };
13
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiJlE,QAAA,MAAM,cAAc;;;;8EAsDnB,CAAC;AAEF,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/C,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,MAAM,oGAaX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { DayButton, DayPicker } from "react-day-picker";
3
+ import { Button } from "@dsui/ui/components/button";
4
+ type CalendarColor = "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | "foreground";
5
+ type CalendarProps = React.ComponentProps<typeof DayPicker> & {
6
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
7
+ variant?: "default" | "rounded";
8
+ color?: CalendarColor;
9
+ };
10
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, variant, color, formatters, components, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
11
+ type CalendarDayButtonProps = Omit<React.ComponentProps<typeof DayButton>, "color"> & {
12
+ variant?: "default" | "rounded";
13
+ color?: CalendarColor;
14
+ };
15
+ declare function CalendarDayButton({ className, day, modifiers, variant, color, ...props }: CalendarDayButtonProps): import("react/jsx-runtime").JSX.Element;
16
+ export { Calendar, CalendarDayButton, type CalendarProps, type CalendarDayButtonProps, type CalendarColor, };
17
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AAEpE,KAAK,aAAa,GACd,SAAS,GACT,WAAW,GACX,QAAQ,GACR,aAAa,GACb,OAAO,GACP,SAAS,GACT,OAAO,GACP,SAAS,GACT,YAAY,CAAC;AAEjB,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC5D,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AACF,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,OAAmB,EACnB,KAAiB,EACjB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,aAAa,2CAsKf;AAED,KAAK,sBAAsB,GAAG,IAAI,CAChC,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,OAAO,CACR,GAAG;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAgEF,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,OAAmB,EACnB,KAAoB,EACpB,GAAG,KAAK,EACT,EAAE,sBAAsB,2CA0ExB;AAED,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,GACnB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ declare const checkboxVariants: (props?: ({
5
+ variant?: "circle" | "default" | null | undefined;
6
+ size?: "sm" | "lg" | "default" | null | undefined;
7
+ color?: "primary" | "secondary" | "accent" | "destructive" | "muted" | "success" | "error" | "warning" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ declare function Checkbox({ className, variant, size, color, icon, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root> & VariantProps<typeof checkboxVariants> & {
10
+ icon?: React.ReactNode;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ export { Checkbox };
13
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAoHlE,QAAA,MAAM,gBAAgB;;;;8EA+BrB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,GACpD,YAAY,CAAC,OAAO,gBAAgB,CAAC,GAAG;IACtC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,2CAuDF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
6
+ //# sourceMappingURL=collapsible.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
4
+ declare const comboboxVariants: (props?: ({
5
+ size?: "xs" | "sm" | "lg" | "xl" | "normal" | null | undefined;
6
+ state?: "success" | "error" | "warning" | "default" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type SelectOption = {
9
+ label: React.ReactNode;
10
+ value: string;
11
+ group?: string;
12
+ icon?: React.ReactNode;
13
+ disabled?: boolean;
14
+ };
15
+ type ComboboxProps = Omit<React.ComponentProps<typeof PopoverPrimitive.Trigger>, "onChange"> & {
16
+ value?: string;
17
+ options?: SelectOption[];
18
+ placeHolder?: string;
19
+ onChange?: (value?: string | null) => void;
20
+ clearable?: boolean;
21
+ emptyText?: string;
22
+ className?: string;
23
+ dropdownClassName?: string;
24
+ children?: React.ReactNode;
25
+ size?: "normal" | "sm" | "xs" | "lg" | "xl";
26
+ state?: "default" | "success" | "error" | "warning";
27
+ searchable?: boolean;
28
+ tagRender?: (option: SelectOption & {
29
+ onClick?: () => void;
30
+ }) => React.ReactNode;
31
+ } & VariantProps<typeof comboboxVariants>;
32
+ declare function Combobox({ value, options, placeHolder, emptyText, onChange, clearable, className, dropdownClassName, children, size, state, searchable, tagRender, ...props }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
33
+ export { Combobox, type ComboboxProps, type SelectOption };
34
+ //# sourceMappingURL=combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/combobox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYlE,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAG5D,QAAA,MAAM,gBAAgB;;;8EA0BrB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,aAAa,GAAG,IAAI,CACvB,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EACrD,UAAU,CACX,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,CACV,MAAM,EAAE,YAAY,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE,KAC5C,KAAK,CAAC,SAAS,CAAC;CACtB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1C,iBAAS,QAAQ,CAAC,EAChB,KAAK,EACL,OAAO,EACP,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,KAAiB,EACjB,UAAiB,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,2CA4Hf;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import { Command as CommandPrimitive } from "cmdk";
3
+ import { Dialog } from "@dsui/ui/components/dialog";
4
+ declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
+ title?: string;
7
+ description?: string;
8
+ className?: string;
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
12
+ declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
13
+ declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
+ declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
19
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/ui/src/components/command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAInD,OAAO,EACL,MAAM,EAKP,MAAM,4BAA4B,CAAC;AAEpC,iBAAS,OAAO,CAAC,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,2CAW/C;AAED,iBAAS,aAAa,CAAC,EACrB,KAAyB,EACzB,WAA8C,EAC9C,QAAQ,EACR,SAAS,EACT,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,2CAiBA;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,2CAiBrD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAWpD;AAED,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,2CAQrD;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,2CAWrD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,2CAQzD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAWpD;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAW9B;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,CAAC"}