@sth87/shadcn-design-system 0.0.13 → 0.0.15

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 (119) hide show
  1. package/dist/types/components/Accordion/Accordion.d.ts +0 -1
  2. package/dist/types/components/Avatar/Avatar.d.ts +0 -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 +0 -1
  6. package/dist/types/components/Calendar/Calendar.d.ts +0 -1
  7. package/dist/types/components/Checkbox/Checkbox.d.ts +0 -1
  8. package/dist/types/components/Collapsible/Collapsible.d.ts +0 -1
  9. package/dist/types/components/Command/index.d.ts +0 -1
  10. package/dist/types/components/ContextMenu/index.d.ts +0 -1
  11. package/dist/types/components/DatePicker/DatePicker.d.ts +0 -1
  12. package/dist/types/components/DatePicker/RangePicker.d.ts +0 -1
  13. package/dist/types/components/DropdownMenu/index.d.ts +0 -1
  14. package/dist/types/components/InputOTP/InputOTP.d.ts +0 -1
  15. package/dist/types/components/Label/Label.d.ts +0 -1
  16. package/dist/types/components/Pagination/Pagination.d.ts +0 -1
  17. package/dist/types/components/Radio/Radio.d.ts +0 -1
  18. package/dist/types/components/Resizable/Resizable.d.ts +0 -1
  19. package/dist/types/components/ScrollArea/ScrollArea.d.ts +0 -1
  20. package/dist/types/components/Select/Select.d.ts +0 -1
  21. package/dist/types/components/Separator/Separator.d.ts +0 -1
  22. package/dist/types/components/Sheet/Sheet.d.ts +0 -2
  23. package/dist/types/components/Sidebar/Sidebar.d.ts +0 -1
  24. package/dist/types/components/Sidebar/index.d.ts +0 -1
  25. package/dist/types/components/Skeleton/Skeleton.d.ts +0 -1
  26. package/dist/types/components/Switch/Switch.d.ts +0 -1
  27. package/dist/types/components/Textarea/Textarea.d.ts +1 -1
  28. package/dist/types/components/Toggle/Toggle.d.ts +0 -1
  29. package/dist/types/components/Tooltip/Tooltip.d.ts +0 -1
  30. package/dist/types/components/TreeSelect/TreeSelect.d.ts +0 -1
  31. package/dist/types/index.d.ts +0 -1
  32. package/dist/types/lib/utils.d.ts +0 -1
  33. package/package.json +2 -2
  34. package/dist/types/packages/ui/src/card.d.ts +0 -8
  35. package/dist/types/packages/ui/src/card.d.ts.map +0 -1
  36. package/dist/types/packages/ui/src/code.d.ts +0 -6
  37. package/dist/types/packages/ui/src/code.d.ts.map +0 -1
  38. package/dist/types/packages/ui/src/components/accordion.d.ts +0 -8
  39. package/dist/types/packages/ui/src/components/accordion.d.ts.map +0 -1
  40. package/dist/types/packages/ui/src/components/alert-dialog.d.ts +0 -22
  41. package/dist/types/packages/ui/src/components/alert-dialog.d.ts.map +0 -1
  42. package/dist/types/packages/ui/src/components/avatar.d.ts +0 -10
  43. package/dist/types/packages/ui/src/components/avatar.d.ts.map +0 -1
  44. package/dist/types/packages/ui/src/components/badge.d.ts +0 -14
  45. package/dist/types/packages/ui/src/components/badge.d.ts.map +0 -1
  46. package/dist/types/packages/ui/src/components/breadcrumb.d.ts +0 -12
  47. package/dist/types/packages/ui/src/components/breadcrumb.d.ts.map +0 -1
  48. package/dist/types/packages/ui/src/components/button-group.d.ts +0 -12
  49. package/dist/types/packages/ui/src/components/button-group.d.ts.map +0 -1
  50. package/dist/types/packages/ui/src/components/button.d.ts +0 -13
  51. package/dist/types/packages/ui/src/components/button.d.ts.map +0 -1
  52. package/dist/types/packages/ui/src/components/calendar.d.ts +0 -17
  53. package/dist/types/packages/ui/src/components/calendar.d.ts.map +0 -1
  54. package/dist/types/packages/ui/src/components/checkbox.d.ts +0 -13
  55. package/dist/types/packages/ui/src/components/checkbox.d.ts.map +0 -1
  56. package/dist/types/packages/ui/src/components/collapsible.d.ts +0 -6
  57. package/dist/types/packages/ui/src/components/collapsible.d.ts.map +0 -1
  58. package/dist/types/packages/ui/src/components/combobox.d.ts +0 -34
  59. package/dist/types/packages/ui/src/components/combobox.d.ts.map +0 -1
  60. package/dist/types/packages/ui/src/components/command.d.ts +0 -19
  61. package/dist/types/packages/ui/src/components/command.d.ts.map +0 -1
  62. package/dist/types/packages/ui/src/components/context-menu.d.ts +0 -26
  63. package/dist/types/packages/ui/src/components/context-menu.d.ts.map +0 -1
  64. package/dist/types/packages/ui/src/components/dialog.d.ts +0 -22
  65. package/dist/types/packages/ui/src/components/dialog.d.ts.map +0 -1
  66. package/dist/types/packages/ui/src/components/drawer.d.ts +0 -14
  67. package/dist/types/packages/ui/src/components/drawer.d.ts.map +0 -1
  68. package/dist/types/packages/ui/src/components/dropdown-menu.d.ts +0 -26
  69. package/dist/types/packages/ui/src/components/dropdown-menu.d.ts.map +0 -1
  70. package/dist/types/packages/ui/src/components/input-otp.d.ts +0 -20
  71. package/dist/types/packages/ui/src/components/input-otp.d.ts.map +0 -1
  72. package/dist/types/packages/ui/src/components/input.d.ts +0 -13
  73. package/dist/types/packages/ui/src/components/input.d.ts.map +0 -1
  74. package/dist/types/packages/ui/src/components/label.d.ts +0 -5
  75. package/dist/types/packages/ui/src/components/label.d.ts.map +0 -1
  76. package/dist/types/packages/ui/src/components/pagination.d.ts +0 -20
  77. package/dist/types/packages/ui/src/components/pagination.d.ts.map +0 -1
  78. package/dist/types/packages/ui/src/components/popover.d.ts +0 -15
  79. package/dist/types/packages/ui/src/components/popover.d.ts.map +0 -1
  80. package/dist/types/packages/ui/src/components/radio-group.d.ts +0 -17
  81. package/dist/types/packages/ui/src/components/radio-group.d.ts.map +0 -1
  82. package/dist/types/packages/ui/src/components/resizable.d.ts +0 -14
  83. package/dist/types/packages/ui/src/components/resizable.d.ts.map +0 -1
  84. package/dist/types/packages/ui/src/components/scroll-area.d.ts +0 -6
  85. package/dist/types/packages/ui/src/components/scroll-area.d.ts.map +0 -1
  86. package/dist/types/packages/ui/src/components/select.d.ts +0 -43
  87. package/dist/types/packages/ui/src/components/select.d.ts.map +0 -1
  88. package/dist/types/packages/ui/src/components/separator.d.ts +0 -20
  89. package/dist/types/packages/ui/src/components/separator.d.ts.map +0 -1
  90. package/dist/types/packages/ui/src/components/sheet.d.ts +0 -15
  91. package/dist/types/packages/ui/src/components/sheet.d.ts.map +0 -1
  92. package/dist/types/packages/ui/src/components/sidebar.d.ts +0 -70
  93. package/dist/types/packages/ui/src/components/sidebar.d.ts.map +0 -1
  94. package/dist/types/packages/ui/src/components/skeleton.d.ts +0 -3
  95. package/dist/types/packages/ui/src/components/skeleton.d.ts.map +0 -1
  96. package/dist/types/packages/ui/src/components/slider.d.ts +0 -5
  97. package/dist/types/packages/ui/src/components/slider.d.ts.map +0 -1
  98. package/dist/types/packages/ui/src/components/switch.d.ts +0 -14
  99. package/dist/types/packages/ui/src/components/switch.d.ts.map +0 -1
  100. package/dist/types/packages/ui/src/components/table.d.ts +0 -11
  101. package/dist/types/packages/ui/src/components/table.d.ts.map +0 -1
  102. package/dist/types/packages/ui/src/components/tabs.d.ts +0 -8
  103. package/dist/types/packages/ui/src/components/tabs.d.ts.map +0 -1
  104. package/dist/types/packages/ui/src/components/textarea.d.ts +0 -13
  105. package/dist/types/packages/ui/src/components/textarea.d.ts.map +0 -1
  106. package/dist/types/packages/ui/src/components/toggle.d.ts +0 -11
  107. package/dist/types/packages/ui/src/components/toggle.d.ts.map +0 -1
  108. package/dist/types/packages/ui/src/components/tooltip.d.ts +0 -18
  109. package/dist/types/packages/ui/src/components/tooltip.d.ts.map +0 -1
  110. package/dist/types/packages/ui/src/components/tree-view.d.ts +0 -30
  111. package/dist/types/packages/ui/src/components/tree-view.d.ts.map +0 -1
  112. package/dist/types/packages/ui/src/constants/color.d.ts +0 -19
  113. package/dist/types/packages/ui/src/constants/color.d.ts.map +0 -1
  114. package/dist/types/packages/ui/src/hooks/use-mobile.d.ts +0 -2
  115. package/dist/types/packages/ui/src/hooks/use-mobile.d.ts.map +0 -1
  116. package/dist/types/packages/ui/src/lib/compose-refs.d.ts +0 -17
  117. package/dist/types/packages/ui/src/lib/compose-refs.d.ts.map +0 -1
  118. package/dist/types/packages/ui/src/lib/utils.d.ts +0 -3
  119. package/dist/types/packages/ui/src/lib/utils.d.ts.map +0 -1
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { AccordionItem, AccordionTrigger, AccordionContent } from "../../packages/ui/src/components/accordion";
3
2
  import { type BasicColor } from "../../types/variables";
4
3
  export type AccordionItemConfig = {
5
4
  value: string;
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import { Avatar as DsAvatar } from "../../packages/ui/src/components/avatar";
3
2
  import type { BasicAnimation, BasicColor } from "../../types/variables";
4
3
  type Color = BasicColor | "dark" | "light" | "inverted";
5
4
  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
+ type SBadgeProps = React.HTMLAttributes<HTMLDivElement> & { variant?: "default" | "secondary" | "destructive" | "outline"; };
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
+ type SButtonProps = React.ComponentProps<"button"> & { variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link"; size?: "default" | "sm" | "lg" | "icon"; asChild?: boolean; };
3
3
  import type { ButtonAnimation } from "../../types/variables";
4
4
  export type ButtonProps = SButtonProps & {
5
5
  animation?: ButtonAnimation;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { ButtonGroup as SButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "../../packages/ui/src/components/button-group";
3
2
  import { type VariantProps } from "class-variance-authority";
4
3
  import { type ButtonProps } from "./Button";
5
4
  export type ButtonGroupProps = React.ComponentProps<typeof SButtonGroup> & VariantProps<typeof buttonGroupVariants> & {
@@ -1,4 +1,3 @@
1
- import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarProps as SCalendarProps, type CalendarColor } from "../../packages/ui/src/components/calendar";
2
1
  export type DateRange = {
3
2
  from: Date | undefined;
4
3
  to?: Date | undefined;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { Checkbox as SCheckbox } from "../../packages/ui/src/components/checkbox";
3
2
  import type { CheckedState } from "@radix-ui/react-checkbox";
4
3
  export type CheckboxProps = Omit<React.ComponentPropsWithoutRef<typeof SCheckbox>, "onCheckedChange" | "variant" | "size" | "color" | "icon"> & {
5
4
  onCheckedChange?: (checked: CheckedState) => void;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { Collapsible as SCollapsible, CollapsibleTrigger, CollapsibleContent } from "../../packages/ui/src/components/collapsible";
3
2
  export type CollapsibleProps = Omit<React.ComponentPropsWithoutRef<typeof SCollapsible>, "children" | "content" | "open" | "defaultOpen" | "onOpenChange"> & {
4
3
  open?: boolean;
5
4
  defaultOpen?: boolean;
@@ -1,5 +1,4 @@
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";
3
2
  declare const Command: import("react").ForwardRefExoticComponent<CommandProps & import("react").RefAttributes<HTMLDivElement>> & {
4
3
  Dialog: typeof CommandDialog;
5
4
  Input: typeof CommandInput;
@@ -1,5 +1,4 @@
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";
3
2
  declare const ContextMenu: import("react").ForwardRefExoticComponent<ContextMenuProps & import("react").RefAttributes<HTMLDivElement>> & {
4
3
  Root: typeof ContextMenuPrimitive;
5
4
  Portal: typeof ContextMenuPortal;
@@ -1,5 +1,4 @@
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";
3
2
  import { Input, type InputProps } from "../Input";
4
3
  import { type TimePickerMode, type DisabledTimeRange } from "./TimePicker";
5
4
  import type { VariantProps } from "class-variance-authority";
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import { CalendarDayButton as SCalendarDayButton, type CalendarDayButtonProps as SCalendarDayButtonProps, type CalendarColor } from "../../packages/ui/src/components/calendar";
3
2
  import { TimePicker } from "./TimePicker";
4
3
  import { type DatePickerProps } from "./DatePicker";
5
4
  export type DateRange = {
@@ -1,5 +1,4 @@
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";
3
2
  declare const DropdownMenu: import("react").ForwardRefExoticComponent<DropdownMenuProps & import("react").RefAttributes<HTMLDivElement>> & {
4
3
  Root: typeof DropdownMenuPrimitive;
5
4
  Portal: typeof DropdownMenuPortal;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { type InputOTPProps as SInputOTPProps, inputOTPSlotVariants } from "../../packages/ui/src/components/input-otp";
3
2
  import type { VariantProps } from "class-variance-authority";
4
3
  export type InputOTPProps = Omit<SInputOTPProps, "size" | "render" | "maxLength"> & {
5
4
  label?: React.ReactNode;
@@ -1,3 +1,2 @@
1
- import { Label as SLabel } from "../../packages/ui/src/index";
2
1
  export { SLabel as Label };
3
2
  //# sourceMappingURL=Label.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import { Pagination as SPagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis } from "../../packages/ui/src/components/pagination";
3
2
  import type { ButtonAnimation } from "../../types/variables";
4
3
  import type { Button } from "../Button";
5
4
  type PaginationItemType = number | "..." | {
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { RadioGroup as SRadioGroup, type RadioGroupProps, type RadioGroupItemProps } from "../../packages/ui/src/components/radio-group";
3
2
  export type RadioItemProps = RadioGroupItemProps & {
4
3
  label?: React.ReactNode;
5
4
  variant?: "option" | "button-group";
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { ResizablePanelGroup, ResizablePanel, ResizableHandle, resizableHandleVariants } from "../../packages/ui/src/components/resizable";
3
2
  import type { VariantProps } from "class-variance-authority";
4
3
  export type ResizableDirection = "horizontal" | "vertical";
5
4
  export type ResizableHandleVariant = VariantProps<typeof resizableHandleVariants>["variant"];
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { ScrollArea as SScrollArea, ScrollBar as SScrollBar } from "../../packages/ui/src/components/scroll-area";
3
2
  export interface ScrollAreaProps extends React.ComponentProps<typeof SScrollArea> {
4
3
  /**
5
4
  * Type of scroll snap behavior
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { type ComboboxProps, type SelectOption as SSelectOption } from "../../packages/ui/src/components/combobox";
3
2
  export type SelectOption = SSelectOption;
4
3
  export type SelectProps = ComboboxProps & {
5
4
  label?: string;
@@ -1,4 +1,3 @@
1
- import { type SeparatorProps } from "../../packages/ui/src/components/separator";
2
1
  declare const Separator: (props: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
3
2
  export default Separator;
4
3
  export type { SeparatorProps };
@@ -1,6 +1,4 @@
1
1
  import React from "react";
2
- import { SheetClose } from "../../packages/ui/src/components/sheet";
3
- import { DrawerClose } from "../../packages/ui/src/components/drawer";
4
2
  import type { BasicAnimation } from "../../types/variables";
5
3
  export type SheetSide = "top" | "right" | "bottom" | "left";
6
4
  export type SheetSize = "sm" | "md" | "lg" | "xl" | "full";
@@ -1,5 +1,4 @@
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";
3
2
  export type SidebarProviderProps = React.ComponentProps<typeof SSidebarProvider>;
4
3
  export type SidebarProps = React.ComponentProps<typeof SSidebar>;
5
4
  export type SidebarContentProps = React.ComponentProps<typeof SSidebarContent>;
@@ -1,4 +1,3 @@
1
1
  export * from "./Sidebar";
2
2
  export { default } from "./Sidebar";
3
- export { useSidebar } from "../../packages/ui/src/components/sidebar";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { Skeleton as SSkeleton } from "../../packages/ui/src/components/skeleton";
3
2
  export type SkeletonProps = React.ComponentProps<typeof SSkeleton>;
4
3
  declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
4
  export default Skeleton;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import { Switch as SSwitch } from "../../packages/ui/src/components/switch";
3
2
  import type { SwitchAnimation } from "../../types/variables";
4
3
  export type SwitchProps = Omit<React.ComponentPropsWithoutRef<typeof SSwitch>, "onCheckedChange" | "variant" | "size" | "color"> & {
5
4
  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
+ type STextareaProps = Omit<React.ComponentProps<"textarea">, "size"> & { size?: "normal" | "sm" | "xs" | "lg" | "xl"; state?: "default" | "success" | "error" | "warning"; };
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,4 @@
1
1
  import React from "react";
2
- import { Toggle as SToggle } from "../../packages/ui/src/components/toggle";
3
2
  export type ToggleProps = Omit<React.ComponentPropsWithoutRef<typeof SToggle>, "variant" | "size" | "color"> & {
4
3
  variant?: "default" | "outline";
5
4
  size?: "sm" | "default" | "lg";
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import { type TooltipContentProps } from "../../packages/ui/src/components/tooltip";
3
2
  import type { BasicAnimation, BasicColor } from "../../types/variables";
4
3
  type Color = BasicColor | "dark" | "light" | "inverted";
5
4
  export type TooltipProps = TooltipContentProps & {
@@ -1,2 +1 @@
1
- export { TreeView, type TreeDataItem } from "../../packages/ui/src/index";
2
1
  //# sourceMappingURL=TreeSelect.d.ts.map
@@ -59,7 +59,6 @@ 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";
63
62
  export { useCallbackRef } from "./hooks/use-callback-ref";
64
63
  export { useDebouncedCallback } from "./hooks/use-debounced-callback";
65
64
  export { useDebounceValue } from "./hooks/use-debounced-value";
@@ -2,7 +2,6 @@
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";
6
5
  import type { ClassValue } from "clsx";
7
6
  /**
8
7
  * Merges multiple class names using clsx and tailwind-merge
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sth87/shadcn-design-system",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "description": "A modern React design system base on Shadcn UI and Tailwind CSS.",
6
6
  "author": "Sonth87 <sonth87@gmail.com>",
@@ -708,7 +708,7 @@
708
708
  "dev:vite": "vite",
709
709
  "build": "pnpm run build:lib && pnpm run build:types",
710
710
  "build:lib": "vite build --config vite.config.build.ts",
711
- "build:types": "tsc --project tsconfig.build.json && node scripts/fix-types.js && tsc-alias -p tsconfig.build.json",
711
+ "build:types": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && node scripts/fix-types.js",
712
712
  "build:exports": "node scripts/generate-exports.js",
713
713
  "prebuild": "pnpm run clean",
714
714
  "postbuild": "pnpm run build:exports",
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,6 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,22 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,14 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
1
- import { type VariantProps } from "class-variance-authority";
2
- import { Separator } from "../../../../packages/ui/src/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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
1
- import * as React from "react";
2
- import { DayButton, DayPicker } from "react-day-picker";
3
- import { Button } from "../../../../packages/ui/src/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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,6 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,34 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,19 +0,0 @@
1
- import * as React from "react";
2
- import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "../../../../packages/ui/src/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
@@ -1 +0,0 @@
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"}
@@ -1,26 +0,0 @@
1
- import * as React from "react";
2
- import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3
- declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
6
- declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
- declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
8
- declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
9
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
10
- inset?: boolean;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
13
- declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
14
- declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
15
- inset?: boolean;
16
- variant?: "default" | "destructive";
17
- }): import("react/jsx-runtime").JSX.Element;
18
- declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
19
- declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
20
- declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
21
- inset?: boolean;
22
- }): import("react/jsx-runtime").JSX.Element;
23
- declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
24
- declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
25
- export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
26
- //# sourceMappingURL=context-menu.d.ts.map