@gv-tech/design-system 2.23.1 → 2.23.3

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 (125) hide show
  1. package/dist/accordion.cjs.map +1 -1
  2. package/dist/accordion.mjs.map +1 -1
  3. package/dist/alert-dialog.cjs.map +1 -1
  4. package/dist/alert-dialog.mjs.map +1 -1
  5. package/dist/alert.cjs.map +1 -1
  6. package/dist/alert.mjs.map +1 -1
  7. package/dist/aspect-ratio.cjs.map +1 -1
  8. package/dist/aspect-ratio.mjs.map +1 -1
  9. package/dist/avatar.cjs.map +1 -1
  10. package/dist/avatar.mjs.map +1 -1
  11. package/dist/badge.cjs.map +1 -1
  12. package/dist/badge.mjs.map +1 -1
  13. package/dist/breadcrumb.cjs.map +1 -1
  14. package/dist/breadcrumb.mjs.map +1 -1
  15. package/dist/button.cjs.map +1 -1
  16. package/dist/button.mjs.map +1 -1
  17. package/dist/calendar.cjs.map +1 -1
  18. package/dist/calendar.mjs.map +1 -1
  19. package/dist/card.cjs.map +1 -1
  20. package/dist/card.mjs.map +1 -1
  21. package/dist/carousel.cjs.map +1 -1
  22. package/dist/carousel.mjs.map +1 -1
  23. package/dist/checkbox.cjs.map +1 -1
  24. package/dist/checkbox.mjs.map +1 -1
  25. package/dist/collapsible.cjs.map +1 -1
  26. package/dist/collapsible.mjs.map +1 -1
  27. package/dist/command.cjs.map +1 -1
  28. package/dist/command.mjs.map +1 -1
  29. package/dist/context-menu.cjs.map +1 -1
  30. package/dist/context-menu.mjs.map +1 -1
  31. package/dist/design-system.css +1 -1
  32. package/dist/dialog.cjs.map +1 -1
  33. package/dist/dialog.mjs.map +1 -1
  34. package/dist/drawer.cjs.map +1 -1
  35. package/dist/drawer.mjs.map +1 -1
  36. package/dist/dropdown-menu.cjs.map +1 -1
  37. package/dist/dropdown-menu.mjs.map +1 -1
  38. package/dist/hover-card.cjs.map +1 -1
  39. package/dist/hover-card.mjs.map +1 -1
  40. package/dist/input.cjs.map +1 -1
  41. package/dist/input.mjs.map +1 -1
  42. package/dist/label.cjs.map +1 -1
  43. package/dist/label.mjs.map +1 -1
  44. package/dist/menubar.cjs.map +1 -1
  45. package/dist/menubar.mjs.map +1 -1
  46. package/dist/navigation-menu.cjs.map +1 -1
  47. package/dist/navigation-menu.mjs.map +1 -1
  48. package/dist/packages/ui-web/src/accordion.d.ts +2 -0
  49. package/dist/packages/ui-web/src/alert-dialog.d.ts +2 -0
  50. package/dist/packages/ui-web/src/alert.d.ts +2 -0
  51. package/dist/packages/ui-web/src/aspect-ratio.d.ts +2 -0
  52. package/dist/packages/ui-web/src/avatar.d.ts +2 -0
  53. package/dist/packages/ui-web/src/badge.d.ts +2 -0
  54. package/dist/packages/ui-web/src/breadcrumb.d.ts +2 -0
  55. package/dist/packages/ui-web/src/button.d.ts +2 -0
  56. package/dist/packages/ui-web/src/calendar.d.ts +2 -0
  57. package/dist/packages/ui-web/src/card.d.ts +2 -0
  58. package/dist/packages/ui-web/src/carousel.d.ts +2 -0
  59. package/dist/packages/ui-web/src/checkbox.d.ts +2 -0
  60. package/dist/packages/ui-web/src/collapsible.d.ts +2 -0
  61. package/dist/packages/ui-web/src/command.d.ts +2 -0
  62. package/dist/packages/ui-web/src/context-menu.d.ts +2 -0
  63. package/dist/packages/ui-web/src/dialog.d.ts +2 -0
  64. package/dist/packages/ui-web/src/drawer.d.ts +2 -0
  65. package/dist/packages/ui-web/src/dropdown-menu.d.ts +2 -0
  66. package/dist/packages/ui-web/src/hover-card.d.ts +2 -0
  67. package/dist/packages/ui-web/src/input.d.ts +2 -0
  68. package/dist/packages/ui-web/src/label.d.ts +2 -0
  69. package/dist/packages/ui-web/src/menubar.d.ts +2 -0
  70. package/dist/packages/ui-web/src/navigation-menu.d.ts +2 -0
  71. package/dist/packages/ui-web/src/pagination.d.ts +2 -0
  72. package/dist/packages/ui-web/src/popover.d.ts +2 -0
  73. package/dist/packages/ui-web/src/progress.d.ts +2 -0
  74. package/dist/packages/ui-web/src/scroll-area.d.ts +2 -0
  75. package/dist/packages/ui-web/src/select.d.ts +2 -0
  76. package/dist/packages/ui-web/src/separator.d.ts +2 -0
  77. package/dist/packages/ui-web/src/sheet.d.ts +2 -0
  78. package/dist/packages/ui-web/src/skeleton.d.ts +2 -0
  79. package/dist/packages/ui-web/src/slider.d.ts +2 -0
  80. package/dist/packages/ui-web/src/sonner.d.ts +3 -1
  81. package/dist/packages/ui-web/src/switch.d.ts +2 -0
  82. package/dist/packages/ui-web/src/table.d.ts +2 -0
  83. package/dist/packages/ui-web/src/tabs.d.ts +2 -0
  84. package/dist/packages/ui-web/src/textarea.d.ts +2 -0
  85. package/dist/packages/ui-web/src/toast.d.ts +2 -0
  86. package/dist/packages/ui-web/src/toggle-group.d.ts +2 -0
  87. package/dist/packages/ui-web/src/toggle.d.ts +2 -0
  88. package/dist/packages/ui-web/src/tooltip.d.ts +2 -0
  89. package/dist/pagination.cjs.map +1 -1
  90. package/dist/pagination.mjs.map +1 -1
  91. package/dist/popover.cjs.map +1 -1
  92. package/dist/popover.mjs.map +1 -1
  93. package/dist/progress.cjs.map +1 -1
  94. package/dist/progress.mjs.map +1 -1
  95. package/dist/scroll-area.cjs.map +1 -1
  96. package/dist/scroll-area.mjs.map +1 -1
  97. package/dist/select.cjs.map +1 -1
  98. package/dist/select.mjs.map +1 -1
  99. package/dist/separator.cjs.map +1 -1
  100. package/dist/separator.mjs.map +1 -1
  101. package/dist/sheet.cjs.map +1 -1
  102. package/dist/sheet.mjs.map +1 -1
  103. package/dist/skeleton.cjs.map +1 -1
  104. package/dist/skeleton.mjs.map +1 -1
  105. package/dist/slider.cjs.map +1 -1
  106. package/dist/slider.mjs.map +1 -1
  107. package/dist/sonner.cjs.map +1 -1
  108. package/dist/sonner.mjs.map +1 -1
  109. package/dist/switch.cjs.map +1 -1
  110. package/dist/switch.mjs.map +1 -1
  111. package/dist/table.cjs.map +1 -1
  112. package/dist/table.mjs.map +1 -1
  113. package/dist/tabs.cjs.map +1 -1
  114. package/dist/tabs.mjs.map +1 -1
  115. package/dist/textarea.cjs.map +1 -1
  116. package/dist/textarea.mjs.map +1 -1
  117. package/dist/toast.cjs.map +1 -1
  118. package/dist/toast.mjs.map +1 -1
  119. package/dist/toggle-group.cjs.map +1 -1
  120. package/dist/toggle-group.mjs.map +1 -1
  121. package/dist/toggle.cjs.map +1 -1
  122. package/dist/toggle.mjs.map +1 -1
  123. package/dist/tooltip.cjs.map +1 -1
  124. package/dist/tooltip.mjs.map +1 -1
  125. package/package.json +6 -2
@@ -1,5 +1,6 @@
1
1
  import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
2
  import { Button } from './button';
3
+ import { AlertDialogBaseProps } from '../../ui-core/src';
3
4
  import * as React from 'react';
4
5
  declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
6
  declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -16,3 +17,4 @@ declare function AlertDialogDescription({ className, ...props }: React.Component
16
17
  declare function AlertDialogAction({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
17
18
  declare function AlertDialogCancel({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
18
19
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
20
+ export type ___verifyAlertDialogContract = React.ComponentProps<typeof AlertDialog> extends AlertDialogBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { AlertBaseProps } from '../../ui-core/src';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import * as React from 'react';
4
5
  declare const alertVariants: (props?: ({
@@ -9,3 +10,4 @@ declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>
9
10
  declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
11
  declare function AlertAction({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
12
  export { Alert, AlertAction, AlertDescription, AlertTitle };
13
+ export type ___verifyAlertContract = React.ComponentProps<typeof Alert> extends AlertBaseProps ? true : false;
@@ -1,3 +1,5 @@
1
1
  import { AspectRatio as AspectRatioPrimitive } from 'radix-ui';
2
+ import { AspectRatioBaseProps } from '../../ui-core/src';
2
3
  declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
4
  export { AspectRatio };
5
+ export type ___verifyAspectRatioContract = React.ComponentProps<typeof AspectRatio> extends AspectRatioBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Avatar as AvatarPrimitive } from 'radix-ui';
2
+ import { AvatarBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Avatar({ className, size, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & {
4
5
  size?: 'default' | 'sm' | 'lg';
@@ -9,3 +10,4 @@ declare function AvatarBadge({ className, ...props }: React.ComponentProps<'span
9
10
  declare function AvatarGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
11
  declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
12
  export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
13
+ export type ___verifyAvatarContract = React.ComponentProps<typeof Avatar> extends AvatarBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { BadgeBaseProps } from '../../ui-core/src';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import * as React from 'react';
4
5
  declare const badgeVariants: (props?: ({
@@ -8,3 +9,4 @@ declare function Badge({ className, variant, asChild, ...props }: React.Componen
8
9
  asChild?: boolean;
9
10
  }): import("react/jsx-runtime").JSX.Element;
10
11
  export { Badge, badgeVariants };
12
+ export type ___verifyBadgeContract = React.ComponentProps<typeof Badge> extends BadgeBaseProps ? true : false;
@@ -1,3 +1,4 @@
1
+ import { BreadcrumbBaseProps } from '../../ui-core/src';
1
2
  import * as React from 'react';
2
3
  declare function Breadcrumb({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
3
4
  declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): import("react/jsx-runtime").JSX.Element;
@@ -9,3 +10,4 @@ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'s
9
10
  declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
10
11
  declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
11
12
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
13
+ export type ___verifyBreadcrumbContract = React.ComponentProps<typeof Breadcrumb> extends BreadcrumbBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { ButtonBaseProps } from '../../ui-core/src';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import * as React from 'react';
4
5
  declare const buttonVariants: (props?: ({
@@ -9,3 +10,4 @@ declare function Button({ className, variant, size, asChild, ...props }: React.C
9
10
  asChild?: boolean;
10
11
  }): import("react/jsx-runtime").JSX.Element;
11
12
  export { Button, buttonVariants };
13
+ export type ___verifyButtonContract = React.ComponentProps<typeof Button> extends ButtonBaseProps ? true : false;
@@ -1,5 +1,6 @@
1
1
  import { DayPicker, DayButton, Locale } from 'react-day-picker';
2
2
  import { Button } from './button';
3
+ import { CalendarBaseProps } from '../../ui-core/src';
3
4
  import * as React from 'react';
4
5
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
6
  buttonVariant?: React.ComponentProps<typeof Button>['variant'];
@@ -8,3 +9,4 @@ declare function CalendarDayButton({ className, day, modifiers, locale, ...props
8
9
  locale?: Partial<Locale>;
9
10
  }): import("react/jsx-runtime").JSX.Element;
10
11
  export { Calendar, CalendarDayButton };
12
+ export type ___verifyCalendarContract = React.ComponentProps<typeof Calendar> extends CalendarBaseProps ? true : false;
@@ -1,3 +1,4 @@
1
+ import { CardBaseProps } from '../../ui-core/src';
1
2
  import * as React from 'react';
2
3
  declare function Card({ className, size, ...props }: React.ComponentProps<'div'> & {
3
4
  size?: 'default' | 'sm';
@@ -9,3 +10,4 @@ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>
9
10
  declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
11
  declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
12
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
13
+ export type ___verifyContract = React.ComponentProps<typeof Card> extends CardBaseProps ? true : false;
@@ -1,5 +1,6 @@
1
1
  import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
2
  import { Button } from './button';
3
+ import { CarouselBaseProps } from '../../ui-core/src';
3
4
  import * as React from 'react';
4
5
  type CarouselApi = UseEmblaCarouselType[1];
5
6
  type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
@@ -26,3 +27,4 @@ declare function CarouselItem({ className, ...props }: React.ComponentProps<'div
26
27
  declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
27
28
  declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
28
29
  export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel, type CarouselApi };
30
+ export type ___verifyCarouselContract = React.ComponentProps<typeof Carousel> extends CarouselBaseProps ? true : false;
@@ -1,4 +1,6 @@
1
1
  import { Checkbox as CheckboxPrimitive } from 'radix-ui';
2
+ import { CheckboxBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  export { Checkbox };
6
+ export type ___verifyCheckboxContract = React.ComponentProps<typeof Checkbox> extends CheckboxBaseProps ? true : false;
@@ -1,5 +1,7 @@
1
1
  import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
2
+ import { CollapsibleBaseProps } from '../../ui-core/src';
2
3
  declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
4
  declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
6
  export { Collapsible, CollapsibleContent, CollapsibleTrigger };
7
+ export type ___verifyCollapsibleContract = React.ComponentProps<typeof Collapsible> extends CollapsibleBaseProps ? true : false;
@@ -1,5 +1,6 @@
1
1
  import { Command as CommandPrimitive } from 'cmdk';
2
2
  import { Dialog } from './dialog';
3
+ import { CommandBaseProps } from '../../ui-core/src';
3
4
  import * as React from 'react';
4
5
  declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
6
  declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
@@ -16,3 +17,4 @@ declare function CommandSeparator({ className, ...props }: React.ComponentProps<
16
17
  declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
18
  declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
18
19
  export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
20
+ export type ___verifyCommandContract = React.ComponentProps<typeof Command> extends CommandBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { ContextMenu as ContextMenuPrimitive } from 'radix-ui';
2
+ import { ContextMenuBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function ContextMenuTrigger({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -29,3 +30,4 @@ declare function ContextMenuLabel({ className, inset, ...props }: React.Componen
29
30
  declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
30
31
  declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
31
32
  export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, };
33
+ export type ___verifyContextMenuContract = React.ComponentProps<typeof ContextMenu> extends ContextMenuBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Dialog as DialogPrimitive } from 'radix-ui';
2
+ import { DialogBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -15,3 +16,4 @@ declare function DialogFooter({ className, showCloseButton, children, ...props }
15
16
  declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
16
17
  declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
17
18
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
19
+ export type ___verifyDialogContract = React.ComponentProps<typeof Dialog> extends DialogBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Drawer as DrawerPrimitive } from 'vaul';
2
+ import { DrawerBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -11,3 +12,4 @@ declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div
11
12
  declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
13
  declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
14
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };
15
+ export type ___verifyDrawerContract = React.ComponentProps<typeof Drawer> extends DrawerBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
+ import { DropdownMenuBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
@@ -27,3 +28,4 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
27
28
  }): import("react/jsx-runtime").JSX.Element;
28
29
  declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
29
30
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
31
+ export type ___verifyDropdownMenuContract = React.ComponentProps<typeof DropdownMenu> extends DropdownMenuBaseProps ? true : false;
@@ -1,6 +1,8 @@
1
1
  import { HoverCard as HoverCardPrimitive } from 'radix-ui';
2
+ import { HoverCardBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
6
  declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
7
  export { HoverCard, HoverCardContent, HoverCardTrigger };
8
+ export type ___verifyHoverCardContract = React.ComponentProps<typeof HoverCard> extends HoverCardBaseProps ? true : false;
@@ -1,3 +1,5 @@
1
+ import { InputBaseProps } from '../../ui-core/src';
1
2
  import * as React from 'react';
2
3
  declare function Input({ className, type, ...props }: React.ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
3
4
  export { Input };
5
+ export type ___verifyInputContract = React.ComponentProps<typeof Input> extends InputBaseProps ? true : false;
@@ -1,4 +1,6 @@
1
1
  import { Label as LabelPrimitive } from 'radix-ui';
2
+ import { LabelBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  export { Label };
6
+ export type ___verifyLabelContract = React.ComponentProps<typeof Label> extends LabelBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Menubar as MenubarPrimitive } from 'radix-ui';
2
+ import { MenubarBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Menubar({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>): import("react/jsx-runtime").JSX.Element;
@@ -28,3 +29,4 @@ declare function MenubarSubTrigger({ className, inset, children, ...props }: Rea
28
29
  }): import("react/jsx-runtime").JSX.Element;
29
30
  declare function MenubarSubContent({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
30
31
  export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, };
32
+ export type ___verifyMenubarContract = React.ComponentProps<typeof Menubar> extends MenubarBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { NavigationMenu as NavigationMenuPrimitive } from 'radix-ui';
2
+ import { NavigationMenuBaseProps } from '../../ui-core/src';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import * as React from 'react';
4
5
  declare function NavigationMenu({ className, children, viewport, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
@@ -13,3 +14,4 @@ declare function NavigationMenuViewport({ className, ...props }: React.Component
13
14
  declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>): import("react/jsx-runtime").JSX.Element;
14
15
  declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): import("react/jsx-runtime").JSX.Element;
15
16
  export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, NavigationMenuViewport, };
17
+ export type ___verifyNavigationMenuContract = React.ComponentProps<typeof NavigationMenu> extends NavigationMenuBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Button } from './button';
2
+ import { PaginationBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
@@ -15,3 +16,4 @@ declare function PaginationNext({ className, text, ...props }: React.ComponentPr
15
16
  }): import("react/jsx-runtime").JSX.Element;
16
17
  declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
17
18
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
19
+ export type ___verifyPaginationContract = React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Popover as PopoverPrimitive } from 'radix-ui';
2
+ import { PopoverBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -8,3 +9,4 @@ declare function PopoverHeader({ className, ...props }: React.ComponentProps<'di
8
9
  declare function PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>): import("react/jsx-runtime").JSX.Element;
9
10
  declare function PopoverDescription({ className, ...props }: React.ComponentProps<'p'>): import("react/jsx-runtime").JSX.Element;
10
11
  export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
12
+ export type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;
@@ -1,4 +1,6 @@
1
1
  import { Progress as ProgressPrimitive } from 'radix-ui';
2
+ import { ProgressBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  export { Progress };
6
+ export type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;
@@ -1,5 +1,7 @@
1
1
  import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
2
+ import { ScrollAreaBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
5
6
  export { ScrollArea, ScrollBar };
7
+ export type ___verifyScrollAreaContract = React.ComponentProps<typeof ScrollArea> extends ScrollAreaBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Select as SelectPrimitive } from 'radix-ui';
2
+ import { SelectBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function SelectGroup({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
@@ -13,3 +14,4 @@ declare function SelectSeparator({ className, ...props }: React.ComponentProps<t
13
14
  declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
14
15
  declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
15
16
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
17
+ export type ___verifySelectContract = React.ComponentProps<typeof Select> extends SelectBaseProps ? true : false;
@@ -1,4 +1,6 @@
1
1
  import { Separator as SeparatorPrimitive } from 'radix-ui';
2
+ import { SeparatorBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  export { Separator };
6
+ export type ___verifySeparatorContract = React.ComponentProps<typeof Separator> extends SeparatorBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { Dialog as SheetPrimitive } from 'radix-ui';
2
+ import { SheetBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
@@ -12,3 +13,4 @@ declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'
12
13
  declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
13
14
  declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
14
15
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
16
+ export type ___verifySheetContract = React.ComponentProps<typeof Sheet> extends SheetBaseProps ? true : false;
@@ -1,2 +1,4 @@
1
+ import { SkeletonBaseProps } from '../../ui-core/src';
1
2
  declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
2
3
  export { Skeleton };
4
+ export type ___verifySkeletonContract = React.ComponentProps<typeof Skeleton> extends SkeletonBaseProps ? true : false;
@@ -1,4 +1,6 @@
1
1
  import { Slider as SliderPrimitive } from 'radix-ui';
2
+ import { SliderBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
5
  export { Slider };
6
+ export type ___verifySliderContract = React.ComponentProps<typeof Slider> extends SliderBaseProps ? true : false;
@@ -1,3 +1,5 @@
1
- import { ToasterProps } from 'sonner';
1
+ import { Toaster as Sonner, ToasterProps } from 'sonner';
2
+ import { SonnerBaseProps } from '../../ui-core/src';
2
3
  declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export { Toaster };
5
+ export type ___verifySonnerContract = React.ComponentProps<typeof Sonner> extends SonnerBaseProps ? true : false;
@@ -1,6 +1,8 @@
1
1
  import { Switch as SwitchPrimitive } from 'radix-ui';
2
+ import { SwitchBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
4
5
  size?: 'sm' | 'default';
5
6
  }): import("react/jsx-runtime").JSX.Element;
6
7
  export { Switch };
8
+ export type _verifySwitchContract = React.ComponentProps<typeof Switch> extends SwitchBaseProps ? true : false;
@@ -1,3 +1,4 @@
1
+ import { TableBaseProps } from '../../ui-core/src';
1
2
  import * as React from 'react';
2
3
  declare function Table({ className, ...props }: React.ComponentProps<'table'>): import("react/jsx-runtime").JSX.Element;
3
4
  declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): import("react/jsx-runtime").JSX.Element;
@@ -8,3 +9,4 @@ declare function TableHead({ className, ...props }: React.ComponentProps<'th'>):
8
9
  declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): import("react/jsx-runtime").JSX.Element;
9
10
  declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): import("react/jsx-runtime").JSX.Element;
10
11
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
12
+ export type ___verifyTableContract = React.ComponentProps<typeof Table> extends TableBaseProps ? true : false;
@@ -1,5 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Tabs as TabsPrimitive } from 'radix-ui';
3
+ import { TabsBaseProps } from '../../ui-core/src';
3
4
  import { ClassProp } from 'class-variance-authority/types';
4
5
  import * as React from 'react';
5
6
  declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
@@ -10,3 +11,4 @@ declare function TabsList({ className, variant, ...props }: React.ComponentProps
10
11
  declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
11
12
  declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
12
13
  export { Tabs, TabsContent, TabsList, tabsListVariants, TabsTrigger };
14
+ export type ___verifyTabsContract = React.ComponentProps<typeof Tabs> extends TabsBaseProps ? true : false;
@@ -1,3 +1,5 @@
1
+ import { TextareaBaseProps } from '../../ui-core/src';
1
2
  import * as React from 'react';
2
3
  declare function Textarea({ className, ...props }: React.ComponentProps<'textarea'>): import("react/jsx-runtime").JSX.Element;
3
4
  export { Textarea };
5
+ export type ___verifyTextareaContract = React.ComponentProps<typeof Textarea> extends TextareaBaseProps ? true : false;
@@ -1,4 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { ToastBaseProps } from '../../ui-core/src';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
4
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
5
  import * as React from 'react';
@@ -14,3 +15,4 @@ declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimit
14
15
  type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
15
16
  type ToastActionElement = React.ReactElement<typeof ToastAction>;
16
17
  export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, type ToastActionElement, type ToastProps, };
18
+ export type ___verifyToastContract = React.ComponentProps<typeof Toast> extends ToastBaseProps ? true : false;
@@ -1,6 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';
3
3
  import { toggleVariants } from './toggle';
4
+ import { ToggleGroupBaseProps } from '../../ui-core/src';
4
5
  import * as React from 'react';
5
6
  declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
6
7
  spacing?: number;
@@ -8,3 +9,4 @@ declare function ToggleGroup({ className, variant, size, spacing, orientation, c
8
9
  }): import("react/jsx-runtime").JSX.Element;
9
10
  declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
10
11
  export { ToggleGroup, ToggleGroupItem };
12
+ export type ___verifyToggleGroupContract = React.ComponentProps<typeof ToggleGroup> extends ToggleGroupBaseProps ? true : false;
@@ -1,5 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Toggle as TogglePrimitive } from 'radix-ui';
3
+ import { ToggleBaseProps } from '../../ui-core/src';
3
4
  import { ClassProp } from 'class-variance-authority/types';
4
5
  import * as React from 'react';
5
6
  declare const toggleVariants: (props?: ({
@@ -8,3 +9,4 @@ declare const toggleVariants: (props?: ({
8
9
  } & ClassProp) | undefined) => string;
9
10
  declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
10
11
  export { Toggle, toggleVariants };
12
+ export type ___verifyToggleContract = React.ComponentProps<typeof Toggle> extends ToggleBaseProps ? true : false;
@@ -1,7 +1,9 @@
1
1
  import { Tooltip as TooltipPrimitive } from 'radix-ui';
2
+ import { TooltipBaseProps } from '../../ui-core/src';
2
3
  import * as React from 'react';
3
4
  declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
5
  declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
6
  declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
7
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
8
  export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
9
+ export type ___verifyTooltipContract = React.ComponentProps<typeof Tooltip> extends TooltipBaseProps ? true : false;
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.cjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport { Button } from './button';\nimport { cn } from './lib/utils';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn('flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4', className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyPaginationContract: PaginationBaseProps = {} as unknown as React.ComponentProps<typeof Pagination>;\n"],"mappings":"4QAQA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAW,EAAA,EAAG,qCAAsC,CAAS,EAC7D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAqC,CAC9E,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,qBAAqB,UAAW,EAAA,EAAG,4BAA6B,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC/G,CAEA,SAAS,EAAe,CAAE,GAAG,GAAqC,CAChE,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CACrD,CAOA,SAAS,EAAe,CAAE,YAAW,WAAU,OAAO,OAAQ,GAAG,GAA8B,CAC7F,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAS,EAAW,UAAY,QAAe,OAAM,UAAW,EAAA,EAAG,CAAS,YAC1F,EAAA,EAAA,KAAC,IAAD,CAAG,eAAc,EAAW,OAAS,IAAA,GAAW,YAAU,kBAAkB,cAAa,EAAU,GAAI,CAAQ,CAAA,CACzG,CAAA,CAEZ,CAEA,SAAS,EAAmB,CAC1B,YACA,OAAO,WACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,sBAAsB,KAAK,UAAU,UAAW,EAAA,EAAG,UAAW,CAAS,EAAG,GAAI,WAAzG,EACE,EAAA,EAAA,KAAC,EAAA,GAAD,CAAiB,YAAU,cAAgB,CAAA,GAC3C,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,CAChC,GAEpB,CAEA,SAAS,EAAe,CACtB,YACA,OAAO,OACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,kBAAkB,KAAK,UAAU,UAAW,EAAA,EAAG,UAAW,CAAS,EAAG,GAAI,WAArG,EACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,GAC9C,EAAA,EAAA,KAAC,EAAA,GAAD,CAAkB,YAAU,YAAc,CAAA,CAC5B,GAEpB,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAuC,CACjF,OACE,EAAA,EAAA,MAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAW,EAAA,EAAG,6EAA8E,CAAS,EACrG,GAAI,WAJN,EAME,EAAA,EAAA,KAAC,EAAA,EAAD,CAAqB,CAAA,GACrB,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,mBAAU,YAAgB,CAAA,CACtC,GAEV"}
1
+ {"version":3,"file":"pagination.cjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport { Button } from './button';\nimport { cn } from './lib/utils';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn('flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4', className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":"4QAQA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAW,EAAA,EAAG,qCAAsC,CAAS,EAC7D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAqC,CAC9E,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,qBAAqB,UAAW,EAAA,EAAG,4BAA6B,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC/G,CAEA,SAAS,EAAe,CAAE,GAAG,GAAqC,CAChE,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CACrD,CAOA,SAAS,EAAe,CAAE,YAAW,WAAU,OAAO,OAAQ,GAAG,GAA8B,CAC7F,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAS,EAAW,UAAY,QAAe,OAAM,UAAW,EAAA,EAAG,CAAS,YAC1F,EAAA,EAAA,KAAC,IAAD,CAAG,eAAc,EAAW,OAAS,IAAA,GAAW,YAAU,kBAAkB,cAAa,EAAU,GAAI,CAAQ,CAAA,CACzG,CAAA,CAEZ,CAEA,SAAS,EAAmB,CAC1B,YACA,OAAO,WACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,sBAAsB,KAAK,UAAU,UAAW,EAAA,EAAG,UAAW,CAAS,EAAG,GAAI,WAAzG,EACE,EAAA,EAAA,KAAC,EAAA,GAAD,CAAiB,YAAU,cAAgB,CAAA,GAC3C,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,CAChC,GAEpB,CAEA,SAAS,EAAe,CACtB,YACA,OAAO,OACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,kBAAkB,KAAK,UAAU,UAAW,EAAA,EAAG,UAAW,CAAS,EAAG,GAAI,WAArG,EACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,GAC9C,EAAA,EAAA,KAAC,EAAA,GAAD,CAAkB,YAAU,YAAc,CAAA,CAC5B,GAEpB,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAuC,CACjF,OACE,EAAA,EAAA,MAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAW,EAAA,EAAG,6EAA8E,CAAS,EACrG,GAAI,WAJN,EAME,EAAA,EAAA,KAAC,EAAA,EAAD,CAAqB,CAAA,GACrB,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,mBAAU,YAAgB,CAAA,CACtC,GAEV"}
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.mjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport { Button } from './button';\nimport { cn } from './lib/utils';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn('flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4', className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyPaginationContract: PaginationBaseProps = {} as unknown as React.ComponentProps<typeof Pagination>;\n"],"mappings":";;;;;;;AAQA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAW,EAAG,sCAAsC,CAAS;EAC7D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EAAE,cAAW,GAAG,KAAqC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAqB,WAAW,EAAG,6BAA6B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAEA,SAAS,EAAe,EAAE,GAAG,KAAqC;CAChE,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAkB,GAAI;CAAQ,CAAA;AACrD;AAOA,SAAS,EAAe,EAAE,cAAW,aAAU,UAAO,QAAQ,GAAG,KAA8B;CAC7F,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAQ,SAAA;EAAQ,SAAS,IAAW,YAAY;EAAe;EAAM,WAAW,EAAG,CAAS;YAC1F,iBAAA,GAAA,EAAA,KAAC,KAAD;GAAG,gBAAc,IAAW,SAAS,KAAA;GAAW,aAAU;GAAkB,eAAa;GAAU,GAAI;EAAQ,CAAA;CACzG,CAAA;AAEZ;AAEA,SAAS,EAAmB,EAC1B,cACA,UAAO,YACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAsB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAAzG,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiB,aAAU,eAAgB,CAAA,GAC3C,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,CAChC;;AAEpB;AAEA,SAAS,EAAe,EACtB,cACA,UAAO,QACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAkB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAArG,CACE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,GAC9C,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAkB,aAAU,aAAc,CAAA,CAC5B;;AAEpB;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAuC;CACjF,OACE,iBAAA,GAAA,EAAA,MAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAW,EAAG,8EAA8E,CAAS;EACrG,GAAI;YAJN,CAME,iBAAA,GAAA,EAAA,KAAC,GAAD,CAAqB,CAAA,GACrB,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAU;EAAgB,CAAA,CACtC;;AAEV"}
1
+ {"version":3,"file":"pagination.mjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport { Button } from './button';\nimport { cn } from './lib/utils';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn('flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4', className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":";;;;;;;AAQA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAW,EAAG,sCAAsC,CAAS;EAC7D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EAAE,cAAW,GAAG,KAAqC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAqB,WAAW,EAAG,6BAA6B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAEA,SAAS,EAAe,EAAE,GAAG,KAAqC;CAChE,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAkB,GAAI;CAAQ,CAAA;AACrD;AAOA,SAAS,EAAe,EAAE,cAAW,aAAU,UAAO,QAAQ,GAAG,KAA8B;CAC7F,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAQ,SAAA;EAAQ,SAAS,IAAW,YAAY;EAAe;EAAM,WAAW,EAAG,CAAS;YAC1F,iBAAA,GAAA,EAAA,KAAC,KAAD;GAAG,gBAAc,IAAW,SAAS,KAAA;GAAW,aAAU;GAAkB,eAAa;GAAU,GAAI;EAAQ,CAAA;CACzG,CAAA;AAEZ;AAEA,SAAS,EAAmB,EAC1B,cACA,UAAO,YACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAsB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAAzG,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiB,aAAU,eAAgB,CAAA,GAC3C,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,CAChC;;AAEpB;AAEA,SAAS,EAAe,EACtB,cACA,UAAO,QACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAkB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAArG,CACE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,GAC9C,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAkB,aAAU,aAAc,CAAA,CAC5B;;AAEpB;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAuC;CACjF,OACE,iBAAA,GAAA,EAAA,MAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAW,EAAG,8EAA8E,CAAS;EACrG,GAAI;YAJN,CAME,iBAAA,GAAA,EAAA,KAAC,GAAD,CAAqB,CAAA,GACrB,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAU;EAAgB,CAAA,CACtC;;AAEV"}
@@ -1 +1 @@
1
- {"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyPopoverContract: PopoverBaseProps = {} as unknown as React.ComponentProps<typeof Popover>;\n"],"mappings":"kPAOA,SAAS,EAAQ,CAAE,GAAG,GAA6D,CACjF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAuB,YAAU,UAAU,GAAI,CAAQ,CAAA,CAChE,CAEA,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAA0B,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CAC3E,CAEA,SAAS,EAAe,CACtB,YACA,QAAQ,SACR,aAAa,EACb,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CAAA,UACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,kBACH,QACK,aACZ,UAAW,EAAA,EACT,iiBACA,CACF,EACA,GAAI,CACL,CAAA,CACsB,CAAA,CAE7B,CAEA,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAyB,YAAU,iBAAiB,GAAI,CAAQ,CAAA,CACzE,CAEA,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,iBAAiB,UAAW,EAAA,EAAG,gCAAiC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAChH,CAEA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAqC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,gBAAgB,UAAW,EAAA,EAAG,cAAe,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC7F,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoC,CAC9E,OAAO,EAAA,EAAA,KAAC,IAAD,CAAG,YAAU,sBAAsB,UAAW,EAAA,EAAG,wBAAyB,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC3G"}
1
+ {"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":"kPAOA,SAAS,EAAQ,CAAE,GAAG,GAA6D,CACjF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAuB,YAAU,UAAU,GAAI,CAAQ,CAAA,CAChE,CAEA,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAA0B,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CAC3E,CAEA,SAAS,EAAe,CACtB,YACA,QAAQ,SACR,aAAa,EACb,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CAAA,UACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,kBACH,QACK,aACZ,UAAW,EAAA,EACT,iiBACA,CACF,EACA,GAAI,CACL,CAAA,CACsB,CAAA,CAE7B,CAEA,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAyB,YAAU,iBAAiB,GAAI,CAAQ,CAAA,CACzE,CAEA,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,iBAAiB,UAAW,EAAA,EAAG,gCAAiC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAChH,CAEA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAqC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,gBAAgB,UAAW,EAAA,EAAG,cAAe,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC7F,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoC,CAC9E,OAAO,EAAA,EAAA,KAAC,IAAD,CAAG,YAAU,sBAAsB,UAAW,EAAA,EAAG,wBAAyB,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC3G"}
@@ -1 +1 @@
1
- {"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyPopoverContract: PopoverBaseProps = {} as unknown as React.ComponentProps<typeof Popover>;\n"],"mappings":";;;;;;AAOA,SAAS,EAAQ,EAAE,GAAG,KAA6D;CACjF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAuB,aAAU;EAAU,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAS,EAAe,EAAE,GAAG,KAAgE;CAC3F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,EAAe,EACtB,cACA,WAAQ,UACR,gBAAa,GACb,GAAG,KACqD;CACxD,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACK;EACZ,WAAW,EACT,kiBACA,CACF;EACA,GAAI;CACL,CAAA,EACsB,CAAA;AAE7B;AAEA,SAAS,EAAc,EAAE,GAAG,KAA+D;CACzF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAyB,aAAU;EAAiB,GAAI;CAAQ,CAAA;AACzE;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAsC;CAC3E,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAiB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAChH;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAqC;CACzE,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAgB,WAAW,EAAG,eAAe,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC7F;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAoC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,KAAD;EAAG,aAAU;EAAsB,WAAW,EAAG,yBAAyB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G"}
1
+ {"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":";;;;;;AAOA,SAAS,EAAQ,EAAE,GAAG,KAA6D;CACjF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAuB,aAAU;EAAU,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAS,EAAe,EAAE,GAAG,KAAgE;CAC3F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,EAAe,EACtB,cACA,WAAQ,UACR,gBAAa,GACb,GAAG,KACqD;CACxD,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACK;EACZ,WAAW,EACT,kiBACA,CACF;EACA,GAAI;CACL,CAAA,EACsB,CAAA;AAE7B;AAEA,SAAS,EAAc,EAAE,GAAG,KAA+D;CACzF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAyB,aAAU;EAAiB,GAAI;CAAQ,CAAA;AACzE;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAsC;CAC3E,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAiB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAChH;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAqC;CACzE,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAgB,WAAW,EAAG,eAAe,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC7F;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAoC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,KAAD;EAAG,aAAU;EAAsB,WAAW,EAAG,yBAAyB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyProgressContract: ProgressBaseProps = {} as unknown as React.ComponentProps<typeof Progress>;\n"],"mappings":"+PASA,SAAS,EAAS,CAAE,YAAW,QAAO,GAAG,GAA8D,CACrG,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,WACH,QACP,UAAW,EAAA,EAAG,gFAAiF,CAAS,EACxG,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,qBACV,UAAU,6CACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B"}
1
+ {"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":"+PASA,SAAS,EAAS,CAAE,YAAW,QAAO,GAAG,GAA8D,CACrG,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,WACH,QACP,UAAW,EAAA,EAAG,gFAAiF,CAAS,EACxG,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,qBACV,UAAU,6CACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyProgressContract: ProgressBaseProps = {} as unknown as React.ComponentProps<typeof Progress>;\n"],"mappings":";;;;;;;AASA,SAAS,EAAS,EAAE,cAAW,UAAO,GAAG,KAA8D;CACrG,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACP,WAAW,EAAG,iFAAiF,CAAS;EACxG,GAAI;YAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
1
+ {"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":";;;;;;;AASA,SAAS,EAAS,EAAE,cAAW,UAAO,GAAG,KAA8D;CACrG,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACP,WAAW,EAAG,iFAAiF,CAAS;EACxG,GAAI;YAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-area.cjs","names":[],"sources":["../packages/ui-web/src/scroll-area.tsx"],"sourcesContent":["import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ScrollAreaBaseProps } from '@gv-tech/ui-core';\n\nfunction ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root data-slot=\"scroll-area\" className={cn('relative', className)} {...props}>\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n );\n}\n\nfunction ScrollBar({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n data-orientation={orientation}\n orientation={orientation}\n className={cn(\n 'flex touch-none p-px transition-colors select-none data-[orientation=horizontal]:h-2.5 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2.5 data-[orientation=vertical]:border-s data-[orientation=vertical]:border-s-transparent',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"bg-border relative flex-1 rounded-full\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n );\n}\n\nexport { ScrollArea, ScrollBar };\n\n// Verify that the component satisfies the ui-core contract\nconst _verifyScrollAreaContract: ScrollAreaBaseProps = {} as unknown as React.ComponentProps<typeof ScrollArea>;\n"],"mappings":"kPAOA,SAAS,EAAW,CAAE,YAAW,WAAU,GAAG,GAAgE,CAC5G,OACE,EAAA,EAAA,MAAA,EAAA,GAAA,CAA0B,YAAU,cAAc,UAAW,EAAA,EAAG,WAAY,CAAS,EAAG,GAAI,WAA5F,EACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,uBACV,UAAU,qJAET,UAC2B,CAAA,GAC9B,EAAA,EAAA,KAAC,EAAD,CAAY,CAAA,GACZ,EAAA,EAAA,KAAA,EAAA,GAAA,CAA6B,CAAA,CACL,GAE9B,CAEA,SAAS,EAAU,CACjB,YACA,cAAc,WACd,GAAG,GACoE,CACvE,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,wBACV,mBAAkB,EACL,cACb,UAAW,EAAA,EACT,qXACA,CACF,EACA,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,oBACV,UAAU,wCACX,CAAA,CACsC,CAAA,CAE7C"}
1
+ {"version":3,"file":"scroll-area.cjs","names":[],"sources":["../packages/ui-web/src/scroll-area.tsx"],"sourcesContent":["import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport { cn } from './lib/utils';\n\nimport type { ScrollAreaBaseProps } from '@gv-tech/ui-core';\n\nfunction ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root data-slot=\"scroll-area\" className={cn('relative', className)} {...props}>\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n );\n}\n\nfunction ScrollBar({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n data-orientation={orientation}\n orientation={orientation}\n className={cn(\n 'flex touch-none p-px transition-colors select-none data-[orientation=horizontal]:h-2.5 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2.5 data-[orientation=vertical]:border-s data-[orientation=vertical]:border-s-transparent',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"bg-border relative flex-1 rounded-full\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n );\n}\n\nexport { ScrollArea, ScrollBar };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyScrollAreaContract =\n React.ComponentProps<typeof ScrollArea> extends ScrollAreaBaseProps ? true : false;\n"],"mappings":"kPAOA,SAAS,EAAW,CAAE,YAAW,WAAU,GAAG,GAAgE,CAC5G,OACE,EAAA,EAAA,MAAA,EAAA,GAAA,CAA0B,YAAU,cAAc,UAAW,EAAA,EAAG,WAAY,CAAS,EAAG,GAAI,WAA5F,EACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,uBACV,UAAU,qJAET,UAC2B,CAAA,GAC9B,EAAA,EAAA,KAAC,EAAD,CAAY,CAAA,GACZ,EAAA,EAAA,KAAA,EAAA,GAAA,CAA6B,CAAA,CACL,GAE9B,CAEA,SAAS,EAAU,CACjB,YACA,cAAc,WACd,GAAG,GACoE,CACvE,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,wBACV,mBAAkB,EACL,cACb,UAAW,EAAA,EACT,qXACA,CACF,EACA,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,oBACV,UAAU,wCACX,CAAA,CACsC,CAAA,CAE7C"}