@gv-tech/design-system 2.15.2 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.cjs.map +1 -1
- package/dist/accordion.mjs +11 -11
- package/dist/accordion.mjs.map +1 -1
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.cjs.map +1 -1
- package/dist/alert-dialog.mjs +21 -21
- package/dist/alert-dialog.mjs.map +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.cjs.map +1 -1
- package/dist/avatar.mjs +12 -12
- package/dist/avatar.mjs.map +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.mjs +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.mjs +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.cjs.map +1 -1
- package/dist/checkbox.mjs +2 -2
- package/dist/checkbox.mjs.map +1 -1
- package/dist/command.cjs +1 -1
- package/dist/command.cjs.map +1 -1
- package/dist/command.mjs +24 -24
- package/dist/command.mjs.map +1 -1
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.cjs.map +1 -1
- package/dist/context-menu.mjs +42 -42
- package/dist/context-menu.mjs.map +1 -1
- package/dist/design-system.css +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.mjs +18 -18
- package/dist/dialog.mjs.map +1 -1
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.cjs.map +1 -1
- package/dist/drawer.mjs +19 -19
- package/dist/drawer.mjs.map +1 -1
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.cjs.map +1 -1
- package/dist/dropdown-menu.mjs +58 -58
- package/dist/dropdown-menu.mjs.map +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.cjs.map +1 -1
- package/dist/hover-card.mjs +4 -4
- package/dist/hover-card.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +64 -0
- package/dist/index.mjs +37 -35
- package/dist/index.mjs.map +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/label.cjs +1 -1
- package/dist/label.cjs.map +1 -1
- package/dist/label.mjs +3 -3
- package/dist/label.mjs.map +1 -1
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.cjs.map +1 -1
- package/dist/menubar.mjs +44 -44
- package/dist/menubar.mjs.map +1 -1
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.cjs.map +1 -1
- package/dist/navigation-menu.mjs +21 -21
- package/dist/navigation-menu.mjs.map +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/popover.cjs +1 -1
- package/dist/popover.cjs.map +1 -1
- package/dist/popover.mjs +8 -8
- package/dist/popover.mjs.map +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.mjs +9 -9
- package/dist/progress.mjs.map +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.cjs.map +1 -1
- package/dist/radio-group.mjs +8 -8
- package/dist/radio-group.mjs.map +1 -1
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.cjs.map +1 -1
- package/dist/scroll-area.mjs +11 -11
- package/dist/scroll-area.mjs.map +1 -1
- package/dist/search.cjs +1 -1
- package/dist/search.mjs +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.cjs.map +1 -1
- package/dist/select.mjs +38 -38
- package/dist/select.mjs.map +1 -1
- package/dist/separator.cjs +1 -1
- package/dist/separator.cjs.map +1 -1
- package/dist/separator.mjs +7 -7
- package/dist/separator.mjs.map +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.cjs.map +1 -1
- package/dist/sheet.mjs +17 -17
- package/dist/sheet.mjs.map +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.mjs +2 -2
- package/dist/slider.mjs.map +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.mjs +7 -7
- package/dist/switch.mjs.map +1 -1
- package/dist/table-of-contents.cjs +2 -0
- package/dist/table-of-contents.cjs.map +1 -0
- package/dist/table-of-contents.d.ts +68 -0
- package/dist/table-of-contents.mjs +161 -0
- package/dist/table-of-contents.mjs.map +1 -0
- package/dist/table.cjs +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.mjs +13 -13
- package/dist/tabs.mjs.map +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.mjs +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/{theme-toggle-CEOvAx_E.js → theme-toggle-B3z50t2s.js} +2 -2
- package/dist/{theme-toggle-CEOvAx_E.js.map → theme-toggle-B3z50t2s.js.map} +1 -1
- package/dist/{theme-toggle-B1DHy3Aq.mjs → theme-toggle-BUU8zhDg.mjs} +2 -2
- package/dist/{theme-toggle-B1DHy3Aq.mjs.map → theme-toggle-BUU8zhDg.mjs.map} +1 -1
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +2 -2
- package/dist/toast.cjs +1 -1
- package/dist/toast.cjs.map +1 -1
- package/dist/toast.mjs +17 -17
- package/dist/toast.mjs.map +1 -1
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.cjs.map +1 -1
- package/dist/toggle-group.mjs +18 -18
- package/dist/toggle-group.mjs.map +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.cjs.map +1 -1
- package/dist/toggle.mjs +6 -6
- package/dist/toggle.mjs.map +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.mjs +11 -11
- package/dist/tooltip.mjs.map +1 -1
- package/dist/utils--qajXu5A.js +2 -0
- package/dist/utils--qajXu5A.js.map +1 -0
- package/dist/utils-CgPEtJt0.mjs +12 -0
- package/dist/utils-CgPEtJt0.mjs.map +1 -0
- package/package.json +15 -14
- package/dist/utils-DKStzUzN.js +0 -2
- package/dist/utils-DKStzUzN.js.map +0 -1
- package/dist/utils-Dk-Gx69q.mjs +0 -8
- package/dist/utils-Dk-Gx69q.mjs.map +0 -1
package/dist/hover-card.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as s, a5 as t, a6 as
|
|
2
|
+
import { j as s, a5 as t, a6 as n, a7 as i } from "./vendor-DxBXMLEx.mjs";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import { c as p } from "./utils-
|
|
5
|
-
const g =
|
|
4
|
+
import { c as p } from "./utils-CgPEtJt0.mjs";
|
|
5
|
+
const g = n, u = i, f = m.forwardRef(({ className: o, align: a = "center", sideOffset: e = 4, ...r }, d) => /* @__PURE__ */ s.jsx(
|
|
6
6
|
t,
|
|
7
7
|
{
|
|
8
8
|
ref: d,
|
|
@@ -15,7 +15,7 @@ const g = i, u = n, f = m.forwardRef(({ className: o, align: a = "center", sideO
|
|
|
15
15
|
...r
|
|
16
16
|
}
|
|
17
17
|
));
|
|
18
|
-
f.displayName = t
|
|
18
|
+
f.displayName = t?.displayName || "HoverCardContent";
|
|
19
19
|
export {
|
|
20
20
|
g as HoverCard,
|
|
21
21
|
f as HoverCardContent,
|
package/dist/hover-card.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.mjs","sources":["../packages/ui-web/src/hover-card.tsx"],"sourcesContent":["'use client';\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card';\nimport * as React from 'react';\n\nimport { HoverCardBaseProps, HoverCardContentBaseProps, HoverCardTriggerBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst HoverCard = HoverCardPrimitive.Root;\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content> & HoverCardContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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 z-50 w-64 origin-[--radix-hover-card-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content
|
|
1
|
+
{"version":3,"file":"hover-card.mjs","sources":["../packages/ui-web/src/hover-card.tsx"],"sourcesContent":["'use client';\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card';\nimport * as React from 'react';\n\nimport { HoverCardBaseProps, HoverCardContentBaseProps, HoverCardTriggerBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst HoverCard = HoverCardPrimitive.Root;\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content> & HoverCardContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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 z-50 w-64 origin-[--radix-hover-card-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content?.displayName || 'HoverCardContent';\n\nexport { HoverCard, HoverCardContent, HoverCardTrigger };\nexport type {\n HoverCardContentBaseProps as HoverCardContentProps,\n HoverCardBaseProps as HoverCardProps,\n HoverCardTriggerBaseProps as HoverCardTriggerProps,\n};\n"],"names":["HoverCard","HoverCardPrimitive.Root","HoverCardTrigger","HoverCardPrimitive.Trigger","HoverCardContent","React","className","align","sideOffset","props","ref","jsx","HoverCardPrimitive.Content","cn"],"mappings":";;;;AAQA,MAAMA,IAAYC,GAEZC,IAAmBC,GAEnBC,IAAmBC,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,OAAAC,IAAQ,UAAU,YAAAC,IAAa,GAAG,GAAGC,EAAA,GAASC,MAC5DC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,OAAAH;AAAA,IACA,YAAAC;AAAA,IACA,WAAWK;AAAA,MACT;AAAA,MACAP;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,CACD;AACDL,EAAiB,cAAcQ,GAA4B,eAAe;"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./theme-toggle-CEOvAx_E.js"),N=require("./utils-DKStzUzN.js"),D=require("./accordion.cjs"),v=require("./alert.cjs"),t=require("./alert-dialog.cjs"),V=require("./aspect-ratio.cjs"),w=require("./avatar.cjs"),F=require("./badge.cjs"),p=require("./breadcrumb.cjs"),L=require("./button.cjs"),B=require("./calendar.cjs"),b=require("./card.cjs"),M=require("./carousel.cjs"),T=require("./chart.cjs"),f=require("./checkbox.cjs"),P=require("./collapsible.cjs"),u=require("./command.cjs"),r=require("./context-menu.cjs"),a=require("./dialog.cjs"),n=require("./drawer.cjs"),o=require("./dropdown-menu.cjs"),g=require("./form.cjs"),A=require("./hover-card.cjs"),O=require("./input.cjs"),z=require("./label.cjs"),e=require("./menubar.cjs"),s=require("./navigation-menu.cjs"),d=require("./pagination.cjs"),S=require("./popover.cjs"),E=require("./progress.cjs"),R=require("./radio-group.cjs"),q=require("./resizable.cjs"),y=require("./scroll-area.cjs"),G=require("./search.cjs"),i=require("./select.cjs"),U=require("./separator.cjs"),l=require("./sheet.cjs"),j=require("./skeleton.cjs"),W=require("./slider.cjs"),_=require("./sonner.cjs"),$=require("./switch.cjs"),c=require("./table.cjs"),x=require("./tabs.cjs"),H=require("./text.cjs"),J=require("./textarea.cjs"),K=require("./toggle.cjs"),k=require("./toggle-group.cjs"),h=require("./tooltip.cjs"),m=require("./toast.cjs"),Q=require("./theme-provider.cjs"),I=require("./toaster-CKwNMV1Z.js"),X=require("./toggle-BAzsZDaN.js"),Y={px:"1px",0:"0",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",32:"8rem",40:"10rem",48:"12rem",56:"14rem",64:"16rem"},Z={none:"0",sm:"calc(var(--radius) - 4px)",md:"calc(var(--radius) - 2px)",lg:"var(--radius)",xl:"calc(var(--radius) + 4px)","2xl":"calc(var(--radius) + 8px)",full:"9999px"},ee={none:0,sm:4,md:6,lg:8,xl:12,"2xl":16,full:9999},re={fontFamily:{sans:'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',mono:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace'},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem"},fontWeight:{normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"}},oe={none:"none",sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",default:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},te={palette:C.palette,theme:C.theme};exports.ThemeToggle=C.ThemeToggle;exports.palette=C.palette;exports.theme=C.theme;exports.useTheme=C.useTheme;exports.cn=N.cn;exports.Accordion=D.Accordion;exports.AccordionContent=D.AccordionContent;exports.AccordionItem=D.AccordionItem;exports.AccordionTrigger=D.AccordionTrigger;exports.Alert=v.Alert;exports.AlertDescription=v.AlertDescription;exports.AlertTitle=v.AlertTitle;exports.AlertDialog=t.AlertDialog;exports.AlertDialogAction=t.AlertDialogAction;exports.AlertDialogCancel=t.AlertDialogCancel;exports.AlertDialogContent=t.AlertDialogContent;exports.AlertDialogDescription=t.AlertDialogDescription;exports.AlertDialogFooter=t.AlertDialogFooter;exports.AlertDialogHeader=t.AlertDialogHeader;exports.AlertDialogOverlay=t.AlertDialogOverlay;exports.AlertDialogPortal=t.AlertDialogPortal;exports.AlertDialogTitle=t.AlertDialogTitle;exports.AlertDialogTrigger=t.AlertDialogTrigger;exports.AspectRatio=V.AspectRatio;exports.Avatar=w.Avatar;exports.AvatarFallback=w.AvatarFallback;exports.AvatarImage=w.AvatarImage;exports.Badge=F.Badge;exports.badgeVariants=F.badgeVariants;exports.Breadcrumb=p.Breadcrumb;exports.BreadcrumbEllipsis=p.BreadcrumbEllipsis;exports.BreadcrumbItem=p.BreadcrumbItem;exports.BreadcrumbLink=p.BreadcrumbLink;exports.BreadcrumbList=p.BreadcrumbList;exports.BreadcrumbPage=p.BreadcrumbPage;exports.BreadcrumbSeparator=p.BreadcrumbSeparator;exports.Button=L.Button;exports.buttonVariants=L.buttonVariants;exports.Calendar=B.Calendar;exports.CalendarDayButton=B.CalendarDayButton;exports.Card=b.Card;exports.CardContent=b.CardContent;exports.CardDescription=b.CardDescription;exports.CardFooter=b.CardFooter;exports.CardHeader=b.CardHeader;exports.CardTitle=b.CardTitle;exports.Carousel=M.Carousel;exports.CarouselContent=M.CarouselContent;exports.CarouselItem=M.CarouselItem;exports.CarouselNext=M.CarouselNext;exports.CarouselPrevious=M.CarouselPrevious;exports.ChartContainer=T.ChartContainer;exports.ChartLegend=T.ChartLegend;exports.ChartLegendContent=T.ChartLegendContent;exports.ChartStyle=T.ChartStyle;exports.ChartTooltip=T.ChartTooltip;exports.ChartTooltipContent=T.ChartTooltipContent;exports.Checkbox=f.Checkbox;exports.Collapsible=P.Collapsible;exports.CollapsibleContent=P.CollapsibleContent;exports.CollapsibleTrigger=P.CollapsibleTrigger;exports.Command=u.Command;exports.CommandDialog=u.CommandDialog;exports.CommandEmpty=u.CommandEmpty;exports.CommandGroup=u.CommandGroup;exports.CommandInput=u.CommandInput;exports.CommandItem=u.CommandItem;exports.CommandList=u.CommandList;exports.CommandSeparator=u.CommandSeparator;exports.CommandShortcut=u.CommandShortcut;exports.ContextMenu=r.ContextMenu;exports.ContextMenuCheckboxItem=r.ContextMenuCheckboxItem;exports.ContextMenuContent=r.ContextMenuContent;exports.ContextMenuGroup=r.ContextMenuGroup;exports.ContextMenuItem=r.ContextMenuItem;exports.ContextMenuLabel=r.ContextMenuLabel;exports.ContextMenuPortal=r.ContextMenuPortal;exports.ContextMenuRadioGroup=r.ContextMenuRadioGroup;exports.ContextMenuRadioItem=r.ContextMenuRadioItem;exports.ContextMenuSeparator=r.ContextMenuSeparator;exports.ContextMenuShortcut=r.ContextMenuShortcut;exports.ContextMenuSub=r.ContextMenuSub;exports.ContextMenuSubContent=r.ContextMenuSubContent;exports.ContextMenuSubTrigger=r.ContextMenuSubTrigger;exports.ContextMenuTrigger=r.ContextMenuTrigger;exports.Dialog=a.Dialog;exports.DialogClose=a.DialogClose;exports.DialogContent=a.DialogContent;exports.DialogDescription=a.DialogDescription;exports.DialogFooter=a.DialogFooter;exports.DialogHeader=a.DialogHeader;exports.DialogOverlay=a.DialogOverlay;exports.DialogPortal=a.DialogPortal;exports.DialogTitle=a.DialogTitle;exports.DialogTrigger=a.DialogTrigger;exports.Drawer=n.Drawer;exports.DrawerClose=n.DrawerClose;exports.DrawerContent=n.DrawerContent;exports.DrawerDescription=n.DrawerDescription;exports.DrawerFooter=n.DrawerFooter;exports.DrawerHeader=n.DrawerHeader;exports.DrawerOverlay=n.DrawerOverlay;exports.DrawerPortal=n.DrawerPortal;exports.DrawerTitle=n.DrawerTitle;exports.DrawerTrigger=n.DrawerTrigger;exports.DropdownMenu=o.DropdownMenu;exports.DropdownMenuCheckboxItem=o.DropdownMenuCheckboxItem;exports.DropdownMenuContent=o.DropdownMenuContent;exports.DropdownMenuGroup=o.DropdownMenuGroup;exports.DropdownMenuItem=o.DropdownMenuItem;exports.DropdownMenuLabel=o.DropdownMenuLabel;exports.DropdownMenuPortal=o.DropdownMenuPortal;exports.DropdownMenuRadioGroup=o.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=o.DropdownMenuRadioItem;exports.DropdownMenuSeparator=o.DropdownMenuSeparator;exports.DropdownMenuShortcut=o.DropdownMenuShortcut;exports.DropdownMenuSub=o.DropdownMenuSub;exports.DropdownMenuSubContent=o.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=o.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=o.DropdownMenuTrigger;exports.Form=g.Form;exports.FormControl=g.FormControl;exports.FormDescription=g.FormDescription;exports.FormField=g.FormField;exports.FormItem=g.FormItem;exports.FormLabel=g.FormLabel;exports.FormMessage=g.FormMessage;exports.useFormField=g.useFormField;exports.HoverCard=A.HoverCard;exports.HoverCardContent=A.HoverCardContent;exports.HoverCardTrigger=A.HoverCardTrigger;exports.Input=O.Input;exports.Label=z.Label;exports.Menubar=e.Menubar;exports.MenubarCheckboxItem=e.MenubarCheckboxItem;exports.MenubarContent=e.MenubarContent;exports.MenubarGroup=e.MenubarGroup;exports.MenubarItem=e.MenubarItem;exports.MenubarLabel=e.MenubarLabel;exports.MenubarMenu=e.MenubarMenu;exports.MenubarPortal=e.MenubarPortal;exports.MenubarRadioGroup=e.MenubarRadioGroup;exports.MenubarRadioItem=e.MenubarRadioItem;exports.MenubarSeparator=e.MenubarSeparator;exports.MenubarShortcut=e.MenubarShortcut;exports.MenubarSub=e.MenubarSub;exports.MenubarSubContent=e.MenubarSubContent;exports.MenubarSubTrigger=e.MenubarSubTrigger;exports.MenubarTrigger=e.MenubarTrigger;exports.NavigationMenu=s.NavigationMenu;exports.NavigationMenuContent=s.NavigationMenuContent;exports.NavigationMenuIndicator=s.NavigationMenuIndicator;exports.NavigationMenuItem=s.NavigationMenuItem;exports.NavigationMenuLink=s.NavigationMenuLink;exports.NavigationMenuList=s.NavigationMenuList;exports.NavigationMenuTrigger=s.NavigationMenuTrigger;exports.NavigationMenuViewport=s.NavigationMenuViewport;exports.navigationMenuTriggerStyle=s.navigationMenuTriggerStyle;exports.Pagination=d.Pagination;exports.PaginationContent=d.PaginationContent;exports.PaginationEllipsis=d.PaginationEllipsis;exports.PaginationItem=d.PaginationItem;exports.PaginationLink=d.PaginationLink;exports.PaginationNext=d.PaginationNext;exports.PaginationPrevious=d.PaginationPrevious;exports.Popover=S.Popover;exports.PopoverAnchor=S.PopoverAnchor;exports.PopoverContent=S.PopoverContent;exports.PopoverTrigger=S.PopoverTrigger;exports.Progress=E.Progress;exports.RadioGroup=R.RadioGroup;exports.RadioGroupItem=R.RadioGroupItem;exports.ResizableHandle=q.ResizableHandle;exports.ResizablePanel=q.ResizablePanel;exports.ResizablePanelGroup=q.ResizablePanelGroup;exports.ScrollArea=y.ScrollArea;exports.ScrollBar=y.ScrollBar;exports.Search=G.Search;exports.SearchTrigger=G.SearchTrigger;exports.Select=i.Select;exports.SelectContent=i.SelectContent;exports.SelectGroup=i.SelectGroup;exports.SelectItem=i.SelectItem;exports.SelectLabel=i.SelectLabel;exports.SelectScrollDownButton=i.SelectScrollDownButton;exports.SelectScrollUpButton=i.SelectScrollUpButton;exports.SelectSeparator=i.SelectSeparator;exports.SelectTrigger=i.SelectTrigger;exports.SelectValue=i.SelectValue;exports.Separator=U.Separator;exports.Sheet=l.Sheet;exports.SheetClose=l.SheetClose;exports.SheetContent=l.SheetContent;exports.SheetDescription=l.SheetDescription;exports.SheetFooter=l.SheetFooter;exports.SheetHeader=l.SheetHeader;exports.SheetOverlay=l.SheetOverlay;exports.SheetPortal=l.SheetPortal;exports.SheetTitle=l.SheetTitle;exports.SheetTrigger=l.SheetTrigger;exports.Skeleton=j.Skeleton;exports.Slider=W.Slider;exports.SonnerToaster=_.Toaster;exports.Switch=$.Switch;exports.Table=c.Table;exports.TableBody=c.TableBody;exports.TableCaption=c.TableCaption;exports.TableCell=c.TableCell;exports.TableFooter=c.TableFooter;exports.TableHead=c.TableHead;exports.TableHeader=c.TableHeader;exports.TableRow=c.TableRow;exports.Tabs=x.Tabs;exports.TabsContent=x.TabsContent;exports.TabsList=x.TabsList;exports.TabsTrigger=x.TabsTrigger;exports.Text=H.Text;exports.textVariants=H.textVariants;exports.Textarea=J.Textarea;exports.Toggle=K.Toggle;exports.ToggleGroup=k.ToggleGroup;exports.ToggleGroupItem=k.ToggleGroupItem;exports.Tooltip=h.Tooltip;exports.TooltipContent=h.TooltipContent;exports.TooltipProvider=h.TooltipProvider;exports.TooltipTrigger=h.TooltipTrigger;exports.Toast=m.Toast;exports.ToastAction=m.ToastAction;exports.ToastClose=m.ToastClose;exports.ToastDescription=m.ToastDescription;exports.ToastProvider=m.ToastProvider;exports.ToastTitle=m.ToastTitle;exports.ToastViewport=m.ToastViewport;exports.ThemeProvider=Q.ThemeProvider;exports.Toaster=I.Toaster;exports.toast=I.toast;exports.useToast=I.useToast;exports.toggleVariants=X.toggleVariants;exports.radii=Z;exports.radiiNumeric=ee;exports.shadows=oe;exports.spacing=Y;exports.tokens=te;exports.typography=re;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./theme-toggle-B3z50t2s.js"),N=require("./utils--qajXu5A.js"),D=require("./accordion.cjs"),v=require("./alert.cjs"),t=require("./alert-dialog.cjs"),V=require("./aspect-ratio.cjs"),w=require("./avatar.cjs"),F=require("./badge.cjs"),p=require("./breadcrumb.cjs"),L=require("./button.cjs"),B=require("./calendar.cjs"),b=require("./card.cjs"),M=require("./carousel.cjs"),T=require("./chart.cjs"),f=require("./checkbox.cjs"),P=require("./collapsible.cjs"),u=require("./command.cjs"),r=require("./context-menu.cjs"),a=require("./dialog.cjs"),n=require("./drawer.cjs"),o=require("./dropdown-menu.cjs"),g=require("./form.cjs"),A=require("./hover-card.cjs"),O=require("./input.cjs"),z=require("./label.cjs"),e=require("./menubar.cjs"),s=require("./navigation-menu.cjs"),d=require("./pagination.cjs"),S=require("./popover.cjs"),E=require("./progress.cjs"),R=require("./radio-group.cjs"),q=require("./resizable.cjs"),y=require("./scroll-area.cjs"),G=require("./search.cjs"),i=require("./select.cjs"),U=require("./separator.cjs"),l=require("./sheet.cjs"),j=require("./skeleton.cjs"),W=require("./slider.cjs"),_=require("./sonner.cjs"),$=require("./switch.cjs"),c=require("./table.cjs"),x=require("./tabs.cjs"),H=require("./text.cjs"),J=require("./textarea.cjs"),K=require("./toggle.cjs"),k=require("./toggle-group.cjs"),h=require("./tooltip.cjs"),m=require("./toast.cjs"),Q=require("./theme-provider.cjs"),I=require("./toaster-CKwNMV1Z.js"),X=require("./table-of-contents.cjs"),Y=require("./toggle-BAzsZDaN.js"),Z={px:"1px",0:"0",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",32:"8rem",40:"10rem",48:"12rem",56:"14rem",64:"16rem"},ee={none:"0",sm:"calc(var(--radius) - 4px)",md:"calc(var(--radius) - 2px)",lg:"var(--radius)",xl:"calc(var(--radius) + 4px)","2xl":"calc(var(--radius) + 8px)",full:"9999px"},re={none:0,sm:4,md:6,lg:8,xl:12,"2xl":16,full:9999},oe={fontFamily:{sans:'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',mono:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace'},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem"},fontWeight:{normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"}},te={none:"none",sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",default:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},ae={palette:C.palette,theme:C.theme};exports.ThemeToggle=C.ThemeToggle;exports.palette=C.palette;exports.theme=C.theme;exports.useTheme=C.useTheme;exports.cn=N.cn;exports.Accordion=D.Accordion;exports.AccordionContent=D.AccordionContent;exports.AccordionItem=D.AccordionItem;exports.AccordionTrigger=D.AccordionTrigger;exports.Alert=v.Alert;exports.AlertDescription=v.AlertDescription;exports.AlertTitle=v.AlertTitle;exports.AlertDialog=t.AlertDialog;exports.AlertDialogAction=t.AlertDialogAction;exports.AlertDialogCancel=t.AlertDialogCancel;exports.AlertDialogContent=t.AlertDialogContent;exports.AlertDialogDescription=t.AlertDialogDescription;exports.AlertDialogFooter=t.AlertDialogFooter;exports.AlertDialogHeader=t.AlertDialogHeader;exports.AlertDialogOverlay=t.AlertDialogOverlay;exports.AlertDialogPortal=t.AlertDialogPortal;exports.AlertDialogTitle=t.AlertDialogTitle;exports.AlertDialogTrigger=t.AlertDialogTrigger;exports.AspectRatio=V.AspectRatio;exports.Avatar=w.Avatar;exports.AvatarFallback=w.AvatarFallback;exports.AvatarImage=w.AvatarImage;exports.Badge=F.Badge;exports.badgeVariants=F.badgeVariants;exports.Breadcrumb=p.Breadcrumb;exports.BreadcrumbEllipsis=p.BreadcrumbEllipsis;exports.BreadcrumbItem=p.BreadcrumbItem;exports.BreadcrumbLink=p.BreadcrumbLink;exports.BreadcrumbList=p.BreadcrumbList;exports.BreadcrumbPage=p.BreadcrumbPage;exports.BreadcrumbSeparator=p.BreadcrumbSeparator;exports.Button=L.Button;exports.buttonVariants=L.buttonVariants;exports.Calendar=B.Calendar;exports.CalendarDayButton=B.CalendarDayButton;exports.Card=b.Card;exports.CardContent=b.CardContent;exports.CardDescription=b.CardDescription;exports.CardFooter=b.CardFooter;exports.CardHeader=b.CardHeader;exports.CardTitle=b.CardTitle;exports.Carousel=M.Carousel;exports.CarouselContent=M.CarouselContent;exports.CarouselItem=M.CarouselItem;exports.CarouselNext=M.CarouselNext;exports.CarouselPrevious=M.CarouselPrevious;exports.ChartContainer=T.ChartContainer;exports.ChartLegend=T.ChartLegend;exports.ChartLegendContent=T.ChartLegendContent;exports.ChartStyle=T.ChartStyle;exports.ChartTooltip=T.ChartTooltip;exports.ChartTooltipContent=T.ChartTooltipContent;exports.Checkbox=f.Checkbox;exports.Collapsible=P.Collapsible;exports.CollapsibleContent=P.CollapsibleContent;exports.CollapsibleTrigger=P.CollapsibleTrigger;exports.Command=u.Command;exports.CommandDialog=u.CommandDialog;exports.CommandEmpty=u.CommandEmpty;exports.CommandGroup=u.CommandGroup;exports.CommandInput=u.CommandInput;exports.CommandItem=u.CommandItem;exports.CommandList=u.CommandList;exports.CommandSeparator=u.CommandSeparator;exports.CommandShortcut=u.CommandShortcut;exports.ContextMenu=r.ContextMenu;exports.ContextMenuCheckboxItem=r.ContextMenuCheckboxItem;exports.ContextMenuContent=r.ContextMenuContent;exports.ContextMenuGroup=r.ContextMenuGroup;exports.ContextMenuItem=r.ContextMenuItem;exports.ContextMenuLabel=r.ContextMenuLabel;exports.ContextMenuPortal=r.ContextMenuPortal;exports.ContextMenuRadioGroup=r.ContextMenuRadioGroup;exports.ContextMenuRadioItem=r.ContextMenuRadioItem;exports.ContextMenuSeparator=r.ContextMenuSeparator;exports.ContextMenuShortcut=r.ContextMenuShortcut;exports.ContextMenuSub=r.ContextMenuSub;exports.ContextMenuSubContent=r.ContextMenuSubContent;exports.ContextMenuSubTrigger=r.ContextMenuSubTrigger;exports.ContextMenuTrigger=r.ContextMenuTrigger;exports.Dialog=a.Dialog;exports.DialogClose=a.DialogClose;exports.DialogContent=a.DialogContent;exports.DialogDescription=a.DialogDescription;exports.DialogFooter=a.DialogFooter;exports.DialogHeader=a.DialogHeader;exports.DialogOverlay=a.DialogOverlay;exports.DialogPortal=a.DialogPortal;exports.DialogTitle=a.DialogTitle;exports.DialogTrigger=a.DialogTrigger;exports.Drawer=n.Drawer;exports.DrawerClose=n.DrawerClose;exports.DrawerContent=n.DrawerContent;exports.DrawerDescription=n.DrawerDescription;exports.DrawerFooter=n.DrawerFooter;exports.DrawerHeader=n.DrawerHeader;exports.DrawerOverlay=n.DrawerOverlay;exports.DrawerPortal=n.DrawerPortal;exports.DrawerTitle=n.DrawerTitle;exports.DrawerTrigger=n.DrawerTrigger;exports.DropdownMenu=o.DropdownMenu;exports.DropdownMenuCheckboxItem=o.DropdownMenuCheckboxItem;exports.DropdownMenuContent=o.DropdownMenuContent;exports.DropdownMenuGroup=o.DropdownMenuGroup;exports.DropdownMenuItem=o.DropdownMenuItem;exports.DropdownMenuLabel=o.DropdownMenuLabel;exports.DropdownMenuPortal=o.DropdownMenuPortal;exports.DropdownMenuRadioGroup=o.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=o.DropdownMenuRadioItem;exports.DropdownMenuSeparator=o.DropdownMenuSeparator;exports.DropdownMenuShortcut=o.DropdownMenuShortcut;exports.DropdownMenuSub=o.DropdownMenuSub;exports.DropdownMenuSubContent=o.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=o.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=o.DropdownMenuTrigger;exports.Form=g.Form;exports.FormControl=g.FormControl;exports.FormDescription=g.FormDescription;exports.FormField=g.FormField;exports.FormItem=g.FormItem;exports.FormLabel=g.FormLabel;exports.FormMessage=g.FormMessage;exports.useFormField=g.useFormField;exports.HoverCard=A.HoverCard;exports.HoverCardContent=A.HoverCardContent;exports.HoverCardTrigger=A.HoverCardTrigger;exports.Input=O.Input;exports.Label=z.Label;exports.Menubar=e.Menubar;exports.MenubarCheckboxItem=e.MenubarCheckboxItem;exports.MenubarContent=e.MenubarContent;exports.MenubarGroup=e.MenubarGroup;exports.MenubarItem=e.MenubarItem;exports.MenubarLabel=e.MenubarLabel;exports.MenubarMenu=e.MenubarMenu;exports.MenubarPortal=e.MenubarPortal;exports.MenubarRadioGroup=e.MenubarRadioGroup;exports.MenubarRadioItem=e.MenubarRadioItem;exports.MenubarSeparator=e.MenubarSeparator;exports.MenubarShortcut=e.MenubarShortcut;exports.MenubarSub=e.MenubarSub;exports.MenubarSubContent=e.MenubarSubContent;exports.MenubarSubTrigger=e.MenubarSubTrigger;exports.MenubarTrigger=e.MenubarTrigger;exports.NavigationMenu=s.NavigationMenu;exports.NavigationMenuContent=s.NavigationMenuContent;exports.NavigationMenuIndicator=s.NavigationMenuIndicator;exports.NavigationMenuItem=s.NavigationMenuItem;exports.NavigationMenuLink=s.NavigationMenuLink;exports.NavigationMenuList=s.NavigationMenuList;exports.NavigationMenuTrigger=s.NavigationMenuTrigger;exports.NavigationMenuViewport=s.NavigationMenuViewport;exports.navigationMenuTriggerStyle=s.navigationMenuTriggerStyle;exports.Pagination=d.Pagination;exports.PaginationContent=d.PaginationContent;exports.PaginationEllipsis=d.PaginationEllipsis;exports.PaginationItem=d.PaginationItem;exports.PaginationLink=d.PaginationLink;exports.PaginationNext=d.PaginationNext;exports.PaginationPrevious=d.PaginationPrevious;exports.Popover=S.Popover;exports.PopoverAnchor=S.PopoverAnchor;exports.PopoverContent=S.PopoverContent;exports.PopoverTrigger=S.PopoverTrigger;exports.Progress=E.Progress;exports.RadioGroup=R.RadioGroup;exports.RadioGroupItem=R.RadioGroupItem;exports.ResizableHandle=q.ResizableHandle;exports.ResizablePanel=q.ResizablePanel;exports.ResizablePanelGroup=q.ResizablePanelGroup;exports.ScrollArea=y.ScrollArea;exports.ScrollBar=y.ScrollBar;exports.Search=G.Search;exports.SearchTrigger=G.SearchTrigger;exports.Select=i.Select;exports.SelectContent=i.SelectContent;exports.SelectGroup=i.SelectGroup;exports.SelectItem=i.SelectItem;exports.SelectLabel=i.SelectLabel;exports.SelectScrollDownButton=i.SelectScrollDownButton;exports.SelectScrollUpButton=i.SelectScrollUpButton;exports.SelectSeparator=i.SelectSeparator;exports.SelectTrigger=i.SelectTrigger;exports.SelectValue=i.SelectValue;exports.Separator=U.Separator;exports.Sheet=l.Sheet;exports.SheetClose=l.SheetClose;exports.SheetContent=l.SheetContent;exports.SheetDescription=l.SheetDescription;exports.SheetFooter=l.SheetFooter;exports.SheetHeader=l.SheetHeader;exports.SheetOverlay=l.SheetOverlay;exports.SheetPortal=l.SheetPortal;exports.SheetTitle=l.SheetTitle;exports.SheetTrigger=l.SheetTrigger;exports.Skeleton=j.Skeleton;exports.Slider=W.Slider;exports.SonnerToaster=_.Toaster;exports.Switch=$.Switch;exports.Table=c.Table;exports.TableBody=c.TableBody;exports.TableCaption=c.TableCaption;exports.TableCell=c.TableCell;exports.TableFooter=c.TableFooter;exports.TableHead=c.TableHead;exports.TableHeader=c.TableHeader;exports.TableRow=c.TableRow;exports.Tabs=x.Tabs;exports.TabsContent=x.TabsContent;exports.TabsList=x.TabsList;exports.TabsTrigger=x.TabsTrigger;exports.Text=H.Text;exports.textVariants=H.textVariants;exports.Textarea=J.Textarea;exports.Toggle=K.Toggle;exports.ToggleGroup=k.ToggleGroup;exports.ToggleGroupItem=k.ToggleGroupItem;exports.Tooltip=h.Tooltip;exports.TooltipContent=h.TooltipContent;exports.TooltipProvider=h.TooltipProvider;exports.TooltipTrigger=h.TooltipTrigger;exports.Toast=m.Toast;exports.ToastAction=m.ToastAction;exports.ToastClose=m.ToastClose;exports.ToastDescription=m.ToastDescription;exports.ToastProvider=m.ToastProvider;exports.ToastTitle=m.ToastTitle;exports.ToastViewport=m.ToastViewport;exports.ThemeProvider=Q.ThemeProvider;exports.Toaster=I.Toaster;exports.toast=I.toast;exports.useToast=I.useToast;exports.TableOfContents=X.TableOfContents;exports.toggleVariants=Y.toggleVariants;exports.radii=ee;exports.radiiNumeric=re;exports.shadows=te;exports.spacing=Z;exports.tokens=ae;exports.typography=oe;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../packages/design-tokens/src/spacing.ts","../packages/design-tokens/src/radii.ts","../packages/design-tokens/src/typography.ts","../packages/design-tokens/src/shadows.ts","../packages/design-tokens/src/index.ts"],"sourcesContent":["// Spacing scale for the GV Tech design system.\n// Based on a 4px baseline grid. Values are in rem (assuming 16px root font size).\n\nexport const spacing = {\n px: '1px',\n 0: '0',\n 0.5: '0.125rem', // 2px\n 1: '0.25rem', // 4px\n 1.5: '0.375rem', // 6px\n 2: '0.5rem', // 8px\n 2.5: '0.625rem', // 10px\n 3: '0.75rem', // 12px\n 3.5: '0.875rem', // 14px\n 4: '1rem', // 16px\n 5: '1.25rem', // 20px\n 6: '1.5rem', // 24px\n 7: '1.75rem', // 28px\n 8: '2rem', // 32px\n 9: '2.25rem', // 36px\n 10: '2.5rem', // 40px\n 12: '3rem', // 48px\n 14: '3.5rem', // 56px\n 16: '4rem', // 64px\n 20: '5rem', // 80px\n 24: '6rem', // 96px\n 32: '8rem', // 128px\n 40: '10rem', // 160px\n 48: '12rem', // 192px\n 56: '14rem', // 224px\n 64: '16rem', // 256px\n} as const;\n\nexport type SpacingTokens = typeof spacing;\n","// Border radius tokens for the GV Tech design system.\n\nexport const radii = {\n none: '0',\n sm: 'calc(var(--radius) - 4px)',\n md: 'calc(var(--radius) - 2px)',\n lg: 'var(--radius)',\n xl: 'calc(var(--radius) + 4px)',\n '2xl': 'calc(var(--radius) + 8px)',\n full: '9999px',\n} as const;\n\n// Numeric radius values (in px) for React Native, which doesn't support CSS calc().\n// Based on a default --radius of 0.5rem (8px).\nexport const radiiNumeric = {\n none: 0,\n sm: 4, // 8 - 4\n md: 6, // 8 - 2\n lg: 8, // base\n xl: 12, // 8 + 4\n '2xl': 16, // 8 + 8\n full: 9999,\n} as const;\n\nexport type RadiiTokens = typeof radii;\nexport type RadiiNumericTokens = typeof radiiNumeric;\n","// Typography tokens for the GV Tech design system.\n// Defines font families, sizes, weights, and line heights.\n\nexport const typography = {\n fontFamily: {\n sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif',\n mono: 'ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace',\n },\n fontSize: {\n xs: '0.75rem', // 12px\n sm: '0.875rem', // 14px\n base: '1rem', // 16px\n lg: '1.125rem', // 18px\n xl: '1.25rem', // 20px\n '2xl': '1.5rem', // 24px\n '3xl': '1.875rem', // 30px\n '4xl': '2.25rem', // 36px\n '5xl': '3rem', // 48px\n },\n fontWeight: {\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2',\n },\n} as const;\n\nexport type TypographyTokens = typeof typography;\n","// Shadow / elevation tokens for the GV Tech design system.\n// Web values use CSS box-shadow syntax.\n// Native consumers should map these to platform-specific elevation or shadow props.\n\nexport const shadows = {\n none: 'none',\n sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',\n default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',\n md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',\n lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',\n xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',\n '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',\n inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',\n} as const;\n\nexport type ShadowTokens = typeof shadows;\n","// @gv-tech/design-tokens\n// Single source of truth for all design tokens in the GV Tech design system.\n// Consumed by both web (ui-web) and native (ui-native) implementations.\n\n// Color tokens\nexport { palette } from './palette';\nexport type { PaletteTokens } from './palette';\n\nexport { theme } from './theme';\nexport type { ThemeTokens } from './theme';\n\n// Layout tokens\nexport { spacing } from './spacing';\nexport type { SpacingTokens } from './spacing';\n\nexport { radii, radiiNumeric } from './radii';\nexport type { RadiiNumericTokens, RadiiTokens } from './radii';\n\n// Typography tokens\nexport { typography } from './typography';\nexport type { TypographyTokens } from './typography';\n\n// Elevation tokens\nexport { shadows } from './shadows';\nexport type { ShadowTokens } from './shadows';\n\n// Convenience re-export of all tokens as a single object.\n// Mirrors the legacy `tokens` export from `src/theme/tokens.ts`.\nimport { palette } from './palette';\nimport { theme } from './theme';\n\nexport const tokens = {\n palette,\n theme,\n} as const;\n"],"names":["spacing","radii","radiiNumeric","typography","shadows","tokens","palette","theme"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../packages/design-tokens/src/spacing.ts","../packages/design-tokens/src/radii.ts","../packages/design-tokens/src/typography.ts","../packages/design-tokens/src/shadows.ts","../packages/design-tokens/src/index.ts"],"sourcesContent":["// Spacing scale for the GV Tech design system.\n// Based on a 4px baseline grid. Values are in rem (assuming 16px root font size).\n\nexport const spacing = {\n px: '1px',\n 0: '0',\n 0.5: '0.125rem', // 2px\n 1: '0.25rem', // 4px\n 1.5: '0.375rem', // 6px\n 2: '0.5rem', // 8px\n 2.5: '0.625rem', // 10px\n 3: '0.75rem', // 12px\n 3.5: '0.875rem', // 14px\n 4: '1rem', // 16px\n 5: '1.25rem', // 20px\n 6: '1.5rem', // 24px\n 7: '1.75rem', // 28px\n 8: '2rem', // 32px\n 9: '2.25rem', // 36px\n 10: '2.5rem', // 40px\n 12: '3rem', // 48px\n 14: '3.5rem', // 56px\n 16: '4rem', // 64px\n 20: '5rem', // 80px\n 24: '6rem', // 96px\n 32: '8rem', // 128px\n 40: '10rem', // 160px\n 48: '12rem', // 192px\n 56: '14rem', // 224px\n 64: '16rem', // 256px\n} as const;\n\nexport type SpacingTokens = typeof spacing;\n","// Border radius tokens for the GV Tech design system.\n\nexport const radii = {\n none: '0',\n sm: 'calc(var(--radius) - 4px)',\n md: 'calc(var(--radius) - 2px)',\n lg: 'var(--radius)',\n xl: 'calc(var(--radius) + 4px)',\n '2xl': 'calc(var(--radius) + 8px)',\n full: '9999px',\n} as const;\n\n// Numeric radius values (in px) for React Native, which doesn't support CSS calc().\n// Based on a default --radius of 0.5rem (8px).\nexport const radiiNumeric = {\n none: 0,\n sm: 4, // 8 - 4\n md: 6, // 8 - 2\n lg: 8, // base\n xl: 12, // 8 + 4\n '2xl': 16, // 8 + 8\n full: 9999,\n} as const;\n\nexport type RadiiTokens = typeof radii;\nexport type RadiiNumericTokens = typeof radiiNumeric;\n","// Typography tokens for the GV Tech design system.\n// Defines font families, sizes, weights, and line heights.\n\nexport const typography = {\n fontFamily: {\n sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif',\n mono: 'ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace',\n },\n fontSize: {\n xs: '0.75rem', // 12px\n sm: '0.875rem', // 14px\n base: '1rem', // 16px\n lg: '1.125rem', // 18px\n xl: '1.25rem', // 20px\n '2xl': '1.5rem', // 24px\n '3xl': '1.875rem', // 30px\n '4xl': '2.25rem', // 36px\n '5xl': '3rem', // 48px\n },\n fontWeight: {\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2',\n },\n} as const;\n\nexport type TypographyTokens = typeof typography;\n","// Shadow / elevation tokens for the GV Tech design system.\n// Web values use CSS box-shadow syntax.\n// Native consumers should map these to platform-specific elevation or shadow props.\n\nexport const shadows = {\n none: 'none',\n sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',\n default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',\n md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',\n lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',\n xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',\n '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',\n inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',\n} as const;\n\nexport type ShadowTokens = typeof shadows;\n","// @gv-tech/design-tokens\n// Single source of truth for all design tokens in the GV Tech design system.\n// Consumed by both web (ui-web) and native (ui-native) implementations.\n\n// Color tokens\nexport { palette } from './palette';\nexport type { PaletteTokens } from './palette';\n\nexport { theme } from './theme';\nexport type { ThemeTokens } from './theme';\n\n// Layout tokens\nexport { spacing } from './spacing';\nexport type { SpacingTokens } from './spacing';\n\nexport { radii, radiiNumeric } from './radii';\nexport type { RadiiNumericTokens, RadiiTokens } from './radii';\n\n// Typography tokens\nexport { typography } from './typography';\nexport type { TypographyTokens } from './typography';\n\n// Elevation tokens\nexport { shadows } from './shadows';\nexport type { ShadowTokens } from './shadows';\n\n// Convenience re-export of all tokens as a single object.\n// Mirrors the legacy `tokens` export from `src/theme/tokens.ts`.\nimport { palette } from './palette';\nimport { theme } from './theme';\n\nexport const tokens = {\n palette,\n theme,\n} as const;\n"],"names":["spacing","radii","radiiNumeric","typography","shadows","tokens","palette","theme"],"mappings":"0kDAGaA,EAAU,CACrB,GAAI,MACJ,EAAG,IACH,GAAK,WACL,EAAG,UACH,IAAK,WACL,EAAG,SACH,IAAK,WACL,EAAG,UACH,IAAK,WACL,EAAG,OACH,EAAG,UACH,EAAG,SACH,EAAG,UACH,EAAG,OACH,EAAG,UACH,GAAI,SACJ,GAAI,OACJ,GAAI,SACJ,GAAI,OACJ,GAAI,OACJ,GAAI,OACJ,GAAI,OACJ,GAAI,QACJ,GAAI,QACJ,GAAI,QACJ,GAAI,OACN,EC5BaC,GAAQ,CACnB,KAAM,IACN,GAAI,4BACJ,GAAI,4BACJ,GAAI,gBACJ,GAAI,4BACJ,MAAO,4BACP,KAAM,QACR,EAIaC,GAAe,CAC1B,KAAM,EACN,GAAI,EACJ,GAAI,EACJ,GAAI,EACJ,GAAI,GACJ,MAAO,GACP,KAAM,IACR,ECnBaC,GAAa,CACxB,WAAY,CACV,KAAM,8HACN,KAAM,wFAAA,EAER,SAAU,CACR,GAAI,UACJ,GAAI,WACJ,KAAM,OACN,GAAI,WACJ,GAAI,UACJ,MAAO,SACP,MAAO,WACP,MAAO,UACP,MAAO,MAAA,EAET,WAAY,CACV,OAAQ,MACR,OAAQ,MACR,SAAU,MACV,KAAM,KAAA,EAER,WAAY,CACV,KAAM,IACN,MAAO,OACP,KAAM,QACN,OAAQ,MACR,QAAS,QACT,MAAO,GAAA,CAEX,EC7BaC,GAAU,CACrB,KAAM,OACN,GAAI,gCACJ,QAAS,gEACT,GAAI,mEACJ,GAAI,qEACJ,GAAI,sEACJ,MAAO,sCACP,MAAO,qCACT,ECkBaC,GAAS,CACpB,QAAAC,EAAAA,QACA,MAAAC,EAAAA,KACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1843,6 +1843,70 @@ export declare interface TableHeadProps {
|
|
|
1843
1843
|
children?: React_2.ReactNode;
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
|
+
/**
|
|
1847
|
+
* Root component that provides the Table of Contents context.
|
|
1848
|
+
* Can be used as a wrapper OR standalone.
|
|
1849
|
+
* If used as a wrapper: <TableOfContents><List /><Content>{children}</Content></TableOfContents>
|
|
1850
|
+
* If used standalone: <TableOfContents /> (requires container ref or defaults to document)
|
|
1851
|
+
*/
|
|
1852
|
+
export declare function TableOfContents({ children, className, activeId: activeIdOverride, minLevel, maxLevel, selector, }: TableOfContentsProps): JSX.Element;
|
|
1853
|
+
|
|
1854
|
+
export declare namespace TableOfContents {
|
|
1855
|
+
var List: typeof TableOfContentsList;
|
|
1856
|
+
var Content: typeof TableOfContentsContent;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare interface TableOfContentsBaseProps {
|
|
1860
|
+
/**
|
|
1861
|
+
* Optional custom class name.
|
|
1862
|
+
*/
|
|
1863
|
+
className?: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* Optional currently active heading ID to override the intersection observer.
|
|
1866
|
+
*/
|
|
1867
|
+
activeId?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Optional minimum heading level to include.
|
|
1870
|
+
* Default: 1 (h1)
|
|
1871
|
+
*/
|
|
1872
|
+
minLevel?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* Optional maximum heading level to include.
|
|
1875
|
+
* Default: 3 (h3)
|
|
1876
|
+
*/
|
|
1877
|
+
maxLevel?: number;
|
|
1878
|
+
/**
|
|
1879
|
+
* The selector used to query the DOM for headings.
|
|
1880
|
+
* Default: "h1, h2, h3, h4, h5, h6"
|
|
1881
|
+
*/
|
|
1882
|
+
selector?: string;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* Wraps the content area and automatically detects headings within it.
|
|
1887
|
+
*/
|
|
1888
|
+
declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): JSX.Element;
|
|
1889
|
+
|
|
1890
|
+
declare interface TableOfContentsContentBaseProps {
|
|
1891
|
+
children: React_2.ReactNode;
|
|
1892
|
+
className?: string;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Renders the actual list of links.
|
|
1897
|
+
*/
|
|
1898
|
+
declare function TableOfContentsList({ className }: TableOfContentsListBaseProps): JSX.Element | null;
|
|
1899
|
+
|
|
1900
|
+
declare interface TableOfContentsListBaseProps {
|
|
1901
|
+
className?: string;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
export declare type TableOfContentsProps = TableOfContentsRootBaseProps;
|
|
1905
|
+
|
|
1906
|
+
declare interface TableOfContentsRootBaseProps extends TableOfContentsBaseProps {
|
|
1907
|
+
children: React_2.ReactNode;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1846
1910
|
export declare interface TableProps {
|
|
1847
1911
|
className?: string;
|
|
1848
1912
|
children?: React_2.ReactNode;
|
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e, p as r } from "./theme-toggle-
|
|
3
|
-
import { T as u, u as g } from "./theme-toggle-
|
|
4
|
-
import { c as d } from "./utils-
|
|
5
|
-
import { Accordion as b, AccordionContent as c, AccordionItem as T, AccordionTrigger as
|
|
2
|
+
import { t as e, p as r } from "./theme-toggle-BUU8zhDg.mjs";
|
|
3
|
+
import { T as u, u as g } from "./theme-toggle-BUU8zhDg.mjs";
|
|
4
|
+
import { c as d } from "./utils-CgPEtJt0.mjs";
|
|
5
|
+
import { Accordion as b, AccordionContent as c, AccordionItem as T, AccordionTrigger as f } from "./accordion.mjs";
|
|
6
6
|
import { Alert as D, AlertDescription as S, AlertTitle as h } from "./alert.mjs";
|
|
7
7
|
import { AlertDialog as w, AlertDialogAction as A, AlertDialogCancel as P, AlertDialogContent as I, AlertDialogDescription as F, AlertDialogFooter as L, AlertDialogHeader as y, AlertDialogOverlay as B, AlertDialogPortal as R, AlertDialogTitle as G, AlertDialogTrigger as H } from "./alert-dialog.mjs";
|
|
8
8
|
import { AspectRatio as k } from "./aspect-ratio.mjs";
|
|
9
|
-
import { Avatar as
|
|
9
|
+
import { Avatar as O, AvatarFallback as z, AvatarImage as E } from "./avatar.mjs";
|
|
10
10
|
import { Badge as W, badgeVariants as j } from "./badge.mjs";
|
|
11
11
|
import { Breadcrumb as J, BreadcrumbEllipsis as K, BreadcrumbItem as Q, BreadcrumbLink as X, BreadcrumbList as Y, BreadcrumbPage as Z, BreadcrumbSeparator as _ } from "./breadcrumb.mjs";
|
|
12
12
|
import { Button as ee, buttonVariants as re } from "./button.mjs";
|
|
13
13
|
import { Calendar as te, CalendarDayButton as ae } from "./calendar.mjs";
|
|
14
14
|
import { Card as ie, CardContent as le, CardDescription as pe, CardFooter as me, CardHeader as xe, CardTitle as ue } from "./card.mjs";
|
|
15
15
|
import { Carousel as se, CarouselContent as de, CarouselItem as Ce, CarouselNext as be, CarouselPrevious as ce } from "./carousel.mjs";
|
|
16
|
-
import { ChartContainer as
|
|
16
|
+
import { ChartContainer as fe, ChartLegend as Me, ChartLegendContent as De, ChartStyle as Se, ChartTooltip as he, ChartTooltipContent as ve } from "./chart.mjs";
|
|
17
17
|
import { Checkbox as Ae } from "./checkbox.mjs";
|
|
18
18
|
import { Collapsible as Ie, CollapsibleContent as Fe, CollapsibleTrigger as Le } from "./collapsible.mjs";
|
|
19
|
-
import { Command as Be, CommandDialog as Re, CommandEmpty as Ge, CommandGroup as He, CommandInput as Ne, CommandItem as ke, CommandList as Ve, CommandSeparator as
|
|
19
|
+
import { Command as Be, CommandDialog as Re, CommandEmpty as Ge, CommandGroup as He, CommandInput as Ne, CommandItem as ke, CommandList as Ve, CommandSeparator as Oe, CommandShortcut as ze } from "./command.mjs";
|
|
20
20
|
import { ContextMenu as Ue, ContextMenuCheckboxItem as We, ContextMenuContent as je, ContextMenuGroup as qe, ContextMenuItem as Je, ContextMenuLabel as Ke, ContextMenuPortal as Qe, ContextMenuRadioGroup as Xe, ContextMenuRadioItem as Ye, ContextMenuSeparator as Ze, ContextMenuShortcut as _e, ContextMenuSub as $e, ContextMenuSubContent as er, ContextMenuSubTrigger as rr, ContextMenuTrigger as or } from "./context-menu.mjs";
|
|
21
21
|
import { Dialog as ar, DialogClose as nr, DialogContent as ir, DialogDescription as lr, DialogFooter as pr, DialogHeader as mr, DialogOverlay as xr, DialogPortal as ur, DialogTitle as gr, DialogTrigger as sr } from "./dialog.mjs";
|
|
22
|
-
import { Drawer as Cr, DrawerClose as br, DrawerContent as cr, DrawerDescription as Tr, DrawerFooter as
|
|
23
|
-
import { DropdownMenu as Ar, DropdownMenuCheckboxItem as Pr, DropdownMenuContent as Ir, DropdownMenuGroup as Fr, DropdownMenuItem as Lr, DropdownMenuLabel as yr, DropdownMenuPortal as Br, DropdownMenuRadioGroup as Rr, DropdownMenuRadioItem as Gr, DropdownMenuSeparator as Hr, DropdownMenuShortcut as Nr, DropdownMenuSub as kr, DropdownMenuSubContent as Vr, DropdownMenuSubTrigger as
|
|
22
|
+
import { Drawer as Cr, DrawerClose as br, DrawerContent as cr, DrawerDescription as Tr, DrawerFooter as fr, DrawerHeader as Mr, DrawerOverlay as Dr, DrawerPortal as Sr, DrawerTitle as hr, DrawerTrigger as vr } from "./drawer.mjs";
|
|
23
|
+
import { DropdownMenu as Ar, DropdownMenuCheckboxItem as Pr, DropdownMenuContent as Ir, DropdownMenuGroup as Fr, DropdownMenuItem as Lr, DropdownMenuLabel as yr, DropdownMenuPortal as Br, DropdownMenuRadioGroup as Rr, DropdownMenuRadioItem as Gr, DropdownMenuSeparator as Hr, DropdownMenuShortcut as Nr, DropdownMenuSub as kr, DropdownMenuSubContent as Vr, DropdownMenuSubTrigger as Or, DropdownMenuTrigger as zr } from "./dropdown-menu.mjs";
|
|
24
24
|
import { Form as Ur, FormControl as Wr, FormDescription as jr, FormField as qr, FormItem as Jr, FormLabel as Kr, FormMessage as Qr, useFormField as Xr } from "./form.mjs";
|
|
25
25
|
import { HoverCard as Zr, HoverCardContent as _r, HoverCardTrigger as $r } from "./hover-card.mjs";
|
|
26
26
|
import { Input as ro } from "./input.mjs";
|
|
27
27
|
import { Label as to } from "./label.mjs";
|
|
28
|
-
import { Menubar as no, MenubarCheckboxItem as io, MenubarContent as lo, MenubarGroup as po, MenubarItem as mo, MenubarLabel as xo, MenubarMenu as uo, MenubarPortal as go, MenubarRadioGroup as so, MenubarRadioItem as Co, MenubarSeparator as bo, MenubarShortcut as co, MenubarSub as To, MenubarSubContent as
|
|
28
|
+
import { Menubar as no, MenubarCheckboxItem as io, MenubarContent as lo, MenubarGroup as po, MenubarItem as mo, MenubarLabel as xo, MenubarMenu as uo, MenubarPortal as go, MenubarRadioGroup as so, MenubarRadioItem as Co, MenubarSeparator as bo, MenubarShortcut as co, MenubarSub as To, MenubarSubContent as fo, MenubarSubTrigger as Mo, MenubarTrigger as Do } from "./menubar.mjs";
|
|
29
29
|
import { NavigationMenu as ho, NavigationMenuContent as vo, NavigationMenuIndicator as wo, NavigationMenuItem as Ao, NavigationMenuLink as Po, NavigationMenuList as Io, NavigationMenuTrigger as Fo, NavigationMenuViewport as Lo, navigationMenuTriggerStyle as yo } from "./navigation-menu.mjs";
|
|
30
|
-
import { Pagination as Ro, PaginationContent as Go, PaginationEllipsis as Ho, PaginationItem as No, PaginationLink as ko, PaginationNext as Vo, PaginationPrevious as
|
|
30
|
+
import { Pagination as Ro, PaginationContent as Go, PaginationEllipsis as Ho, PaginationItem as No, PaginationLink as ko, PaginationNext as Vo, PaginationPrevious as Oo } from "./pagination.mjs";
|
|
31
31
|
import { Popover as Eo, PopoverAnchor as Uo, PopoverContent as Wo, PopoverTrigger as jo } from "./popover.mjs";
|
|
32
32
|
import { Progress as Jo } from "./progress.mjs";
|
|
33
33
|
import { RadioGroup as Qo, RadioGroupItem as Xo } from "./radio-group.mjs";
|
|
@@ -36,22 +36,23 @@ import { ScrollArea as rt, ScrollBar as ot } from "./scroll-area.mjs";
|
|
|
36
36
|
import { Search as at, SearchTrigger as nt } from "./search.mjs";
|
|
37
37
|
import { Select as lt, SelectContent as pt, SelectGroup as mt, SelectItem as xt, SelectLabel as ut, SelectScrollDownButton as gt, SelectScrollUpButton as st, SelectSeparator as dt, SelectTrigger as Ct, SelectValue as bt } from "./select.mjs";
|
|
38
38
|
import { Separator as Tt } from "./separator.mjs";
|
|
39
|
-
import { Sheet as
|
|
39
|
+
import { Sheet as Mt, SheetClose as Dt, SheetContent as St, SheetDescription as ht, SheetFooter as vt, SheetHeader as wt, SheetOverlay as At, SheetPortal as Pt, SheetTitle as It, SheetTrigger as Ft } from "./sheet.mjs";
|
|
40
40
|
import { Skeleton as yt } from "./skeleton.mjs";
|
|
41
41
|
import { Slider as Rt } from "./slider.mjs";
|
|
42
42
|
import { Toaster as Ht } from "./sonner.mjs";
|
|
43
43
|
import { Switch as kt } from "./switch.mjs";
|
|
44
|
-
import { Table as
|
|
44
|
+
import { Table as Ot, TableBody as zt, TableCaption as Et, TableCell as Ut, TableFooter as Wt, TableHead as jt, TableHeader as qt, TableRow as Jt } from "./table.mjs";
|
|
45
45
|
import { Tabs as Qt, TabsContent as Xt, TabsList as Yt, TabsTrigger as Zt } from "./tabs.mjs";
|
|
46
46
|
import { Text as $t, textVariants as ea } from "./text.mjs";
|
|
47
47
|
import { Textarea as oa } from "./textarea.mjs";
|
|
48
48
|
import { Toggle as aa } from "./toggle.mjs";
|
|
49
49
|
import { ToggleGroup as ia, ToggleGroupItem as la } from "./toggle-group.mjs";
|
|
50
50
|
import { Tooltip as ma, TooltipContent as xa, TooltipProvider as ua, TooltipTrigger as ga } from "./tooltip.mjs";
|
|
51
|
-
import { Toast as da, ToastAction as Ca, ToastClose as ba, ToastDescription as ca, ToastProvider as Ta, ToastTitle as
|
|
51
|
+
import { Toast as da, ToastAction as Ca, ToastClose as ba, ToastDescription as ca, ToastProvider as Ta, ToastTitle as fa, ToastViewport as Ma } from "./toast.mjs";
|
|
52
52
|
import { ThemeProvider as Sa } from "./theme-provider.mjs";
|
|
53
53
|
import { T as va, t as wa, u as Aa } from "./toaster-BqX0t2H6.mjs";
|
|
54
|
-
import {
|
|
54
|
+
import { TableOfContents as Ia } from "./table-of-contents.mjs";
|
|
55
|
+
import { t as La } from "./toggle-Dmzr60z6.mjs";
|
|
55
56
|
const t = {
|
|
56
57
|
px: "1px",
|
|
57
58
|
0: "0",
|
|
@@ -180,7 +181,7 @@ export {
|
|
|
180
181
|
b as Accordion,
|
|
181
182
|
c as AccordionContent,
|
|
182
183
|
T as AccordionItem,
|
|
183
|
-
|
|
184
|
+
f as AccordionTrigger,
|
|
184
185
|
D as Alert,
|
|
185
186
|
S as AlertDescription,
|
|
186
187
|
w as AlertDialog,
|
|
@@ -196,8 +197,8 @@ export {
|
|
|
196
197
|
H as AlertDialogTrigger,
|
|
197
198
|
h as AlertTitle,
|
|
198
199
|
k as AspectRatio,
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
O as Avatar,
|
|
201
|
+
z as AvatarFallback,
|
|
201
202
|
E as AvatarImage,
|
|
202
203
|
W as Badge,
|
|
203
204
|
J as Breadcrumb,
|
|
@@ -221,8 +222,8 @@ export {
|
|
|
221
222
|
Ce as CarouselItem,
|
|
222
223
|
be as CarouselNext,
|
|
223
224
|
ce as CarouselPrevious,
|
|
224
|
-
|
|
225
|
-
|
|
225
|
+
fe as ChartContainer,
|
|
226
|
+
Me as ChartLegend,
|
|
226
227
|
De as ChartLegendContent,
|
|
227
228
|
Se as ChartStyle,
|
|
228
229
|
he as ChartTooltip,
|
|
@@ -238,8 +239,8 @@ export {
|
|
|
238
239
|
Ne as CommandInput,
|
|
239
240
|
ke as CommandItem,
|
|
240
241
|
Ve as CommandList,
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
Oe as CommandSeparator,
|
|
243
|
+
ze as CommandShortcut,
|
|
243
244
|
Ue as ContextMenu,
|
|
244
245
|
We as ContextMenuCheckboxItem,
|
|
245
246
|
je as ContextMenuContent,
|
|
@@ -269,8 +270,8 @@ export {
|
|
|
269
270
|
br as DrawerClose,
|
|
270
271
|
cr as DrawerContent,
|
|
271
272
|
Tr as DrawerDescription,
|
|
272
|
-
|
|
273
|
-
|
|
273
|
+
fr as DrawerFooter,
|
|
274
|
+
Mr as DrawerHeader,
|
|
274
275
|
Dr as DrawerOverlay,
|
|
275
276
|
Sr as DrawerPortal,
|
|
276
277
|
hr as DrawerTitle,
|
|
@@ -288,8 +289,8 @@ export {
|
|
|
288
289
|
Nr as DropdownMenuShortcut,
|
|
289
290
|
kr as DropdownMenuSub,
|
|
290
291
|
Vr as DropdownMenuSubContent,
|
|
291
|
-
|
|
292
|
-
|
|
292
|
+
Or as DropdownMenuSubTrigger,
|
|
293
|
+
zr as DropdownMenuTrigger,
|
|
293
294
|
Ur as Form,
|
|
294
295
|
Wr as FormControl,
|
|
295
296
|
jr as FormDescription,
|
|
@@ -315,8 +316,8 @@ export {
|
|
|
315
316
|
bo as MenubarSeparator,
|
|
316
317
|
co as MenubarShortcut,
|
|
317
318
|
To as MenubarSub,
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
fo as MenubarSubContent,
|
|
320
|
+
Mo as MenubarSubTrigger,
|
|
320
321
|
Do as MenubarTrigger,
|
|
321
322
|
ho as NavigationMenu,
|
|
322
323
|
vo as NavigationMenuContent,
|
|
@@ -332,7 +333,7 @@ export {
|
|
|
332
333
|
No as PaginationItem,
|
|
333
334
|
ko as PaginationLink,
|
|
334
335
|
Vo as PaginationNext,
|
|
335
|
-
|
|
336
|
+
Oo as PaginationPrevious,
|
|
336
337
|
Eo as Popover,
|
|
337
338
|
Uo as PopoverAnchor,
|
|
338
339
|
Wo as PopoverContent,
|
|
@@ -358,7 +359,7 @@ export {
|
|
|
358
359
|
Ct as SelectTrigger,
|
|
359
360
|
bt as SelectValue,
|
|
360
361
|
Tt as Separator,
|
|
361
|
-
|
|
362
|
+
Mt as Sheet,
|
|
362
363
|
Dt as SheetClose,
|
|
363
364
|
St as SheetContent,
|
|
364
365
|
ht as SheetDescription,
|
|
@@ -372,13 +373,14 @@ export {
|
|
|
372
373
|
Rt as Slider,
|
|
373
374
|
Ht as SonnerToaster,
|
|
374
375
|
kt as Switch,
|
|
375
|
-
|
|
376
|
-
|
|
376
|
+
Ot as Table,
|
|
377
|
+
zt as TableBody,
|
|
377
378
|
Et as TableCaption,
|
|
378
379
|
Ut as TableCell,
|
|
379
380
|
Wt as TableFooter,
|
|
380
381
|
jt as TableHead,
|
|
381
382
|
qt as TableHeader,
|
|
383
|
+
Ia as TableOfContents,
|
|
382
384
|
Jt as TableRow,
|
|
383
385
|
Qt as Tabs,
|
|
384
386
|
Xt as TabsContent,
|
|
@@ -393,8 +395,8 @@ export {
|
|
|
393
395
|
ba as ToastClose,
|
|
394
396
|
ca as ToastDescription,
|
|
395
397
|
Ta as ToastProvider,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
+
fa as ToastTitle,
|
|
399
|
+
Ma as ToastViewport,
|
|
398
400
|
va as Toaster,
|
|
399
401
|
aa as Toggle,
|
|
400
402
|
ia as ToggleGroup,
|
|
@@ -415,7 +417,7 @@ export {
|
|
|
415
417
|
ea as textVariants,
|
|
416
418
|
e as theme,
|
|
417
419
|
wa as toast,
|
|
418
|
-
|
|
420
|
+
La as toggleVariants,
|
|
419
421
|
p as tokens,
|
|
420
422
|
i as typography,
|
|
421
423
|
Xr as useFormField,
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../packages/design-tokens/src/spacing.ts","../packages/design-tokens/src/radii.ts","../packages/design-tokens/src/typography.ts","../packages/design-tokens/src/shadows.ts","../packages/design-tokens/src/index.ts"],"sourcesContent":["// Spacing scale for the GV Tech design system.\n// Based on a 4px baseline grid. Values are in rem (assuming 16px root font size).\n\nexport const spacing = {\n px: '1px',\n 0: '0',\n 0.5: '0.125rem', // 2px\n 1: '0.25rem', // 4px\n 1.5: '0.375rem', // 6px\n 2: '0.5rem', // 8px\n 2.5: '0.625rem', // 10px\n 3: '0.75rem', // 12px\n 3.5: '0.875rem', // 14px\n 4: '1rem', // 16px\n 5: '1.25rem', // 20px\n 6: '1.5rem', // 24px\n 7: '1.75rem', // 28px\n 8: '2rem', // 32px\n 9: '2.25rem', // 36px\n 10: '2.5rem', // 40px\n 12: '3rem', // 48px\n 14: '3.5rem', // 56px\n 16: '4rem', // 64px\n 20: '5rem', // 80px\n 24: '6rem', // 96px\n 32: '8rem', // 128px\n 40: '10rem', // 160px\n 48: '12rem', // 192px\n 56: '14rem', // 224px\n 64: '16rem', // 256px\n} as const;\n\nexport type SpacingTokens = typeof spacing;\n","// Border radius tokens for the GV Tech design system.\n\nexport const radii = {\n none: '0',\n sm: 'calc(var(--radius) - 4px)',\n md: 'calc(var(--radius) - 2px)',\n lg: 'var(--radius)',\n xl: 'calc(var(--radius) + 4px)',\n '2xl': 'calc(var(--radius) + 8px)',\n full: '9999px',\n} as const;\n\n// Numeric radius values (in px) for React Native, which doesn't support CSS calc().\n// Based on a default --radius of 0.5rem (8px).\nexport const radiiNumeric = {\n none: 0,\n sm: 4, // 8 - 4\n md: 6, // 8 - 2\n lg: 8, // base\n xl: 12, // 8 + 4\n '2xl': 16, // 8 + 8\n full: 9999,\n} as const;\n\nexport type RadiiTokens = typeof radii;\nexport type RadiiNumericTokens = typeof radiiNumeric;\n","// Typography tokens for the GV Tech design system.\n// Defines font families, sizes, weights, and line heights.\n\nexport const typography = {\n fontFamily: {\n sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif',\n mono: 'ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace',\n },\n fontSize: {\n xs: '0.75rem', // 12px\n sm: '0.875rem', // 14px\n base: '1rem', // 16px\n lg: '1.125rem', // 18px\n xl: '1.25rem', // 20px\n '2xl': '1.5rem', // 24px\n '3xl': '1.875rem', // 30px\n '4xl': '2.25rem', // 36px\n '5xl': '3rem', // 48px\n },\n fontWeight: {\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2',\n },\n} as const;\n\nexport type TypographyTokens = typeof typography;\n","// Shadow / elevation tokens for the GV Tech design system.\n// Web values use CSS box-shadow syntax.\n// Native consumers should map these to platform-specific elevation or shadow props.\n\nexport const shadows = {\n none: 'none',\n sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',\n default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',\n md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',\n lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',\n xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',\n '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',\n inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',\n} as const;\n\nexport type ShadowTokens = typeof shadows;\n","// @gv-tech/design-tokens\n// Single source of truth for all design tokens in the GV Tech design system.\n// Consumed by both web (ui-web) and native (ui-native) implementations.\n\n// Color tokens\nexport { palette } from './palette';\nexport type { PaletteTokens } from './palette';\n\nexport { theme } from './theme';\nexport type { ThemeTokens } from './theme';\n\n// Layout tokens\nexport { spacing } from './spacing';\nexport type { SpacingTokens } from './spacing';\n\nexport { radii, radiiNumeric } from './radii';\nexport type { RadiiNumericTokens, RadiiTokens } from './radii';\n\n// Typography tokens\nexport { typography } from './typography';\nexport type { TypographyTokens } from './typography';\n\n// Elevation tokens\nexport { shadows } from './shadows';\nexport type { ShadowTokens } from './shadows';\n\n// Convenience re-export of all tokens as a single object.\n// Mirrors the legacy `tokens` export from `src/theme/tokens.ts`.\nimport { palette } from './palette';\nimport { theme } from './theme';\n\nexport const tokens = {\n palette,\n theme,\n} as const;\n"],"names":["spacing","radii","radiiNumeric","typography","shadows","tokens","palette","theme"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../packages/design-tokens/src/spacing.ts","../packages/design-tokens/src/radii.ts","../packages/design-tokens/src/typography.ts","../packages/design-tokens/src/shadows.ts","../packages/design-tokens/src/index.ts"],"sourcesContent":["// Spacing scale for the GV Tech design system.\n// Based on a 4px baseline grid. Values are in rem (assuming 16px root font size).\n\nexport const spacing = {\n px: '1px',\n 0: '0',\n 0.5: '0.125rem', // 2px\n 1: '0.25rem', // 4px\n 1.5: '0.375rem', // 6px\n 2: '0.5rem', // 8px\n 2.5: '0.625rem', // 10px\n 3: '0.75rem', // 12px\n 3.5: '0.875rem', // 14px\n 4: '1rem', // 16px\n 5: '1.25rem', // 20px\n 6: '1.5rem', // 24px\n 7: '1.75rem', // 28px\n 8: '2rem', // 32px\n 9: '2.25rem', // 36px\n 10: '2.5rem', // 40px\n 12: '3rem', // 48px\n 14: '3.5rem', // 56px\n 16: '4rem', // 64px\n 20: '5rem', // 80px\n 24: '6rem', // 96px\n 32: '8rem', // 128px\n 40: '10rem', // 160px\n 48: '12rem', // 192px\n 56: '14rem', // 224px\n 64: '16rem', // 256px\n} as const;\n\nexport type SpacingTokens = typeof spacing;\n","// Border radius tokens for the GV Tech design system.\n\nexport const radii = {\n none: '0',\n sm: 'calc(var(--radius) - 4px)',\n md: 'calc(var(--radius) - 2px)',\n lg: 'var(--radius)',\n xl: 'calc(var(--radius) + 4px)',\n '2xl': 'calc(var(--radius) + 8px)',\n full: '9999px',\n} as const;\n\n// Numeric radius values (in px) for React Native, which doesn't support CSS calc().\n// Based on a default --radius of 0.5rem (8px).\nexport const radiiNumeric = {\n none: 0,\n sm: 4, // 8 - 4\n md: 6, // 8 - 2\n lg: 8, // base\n xl: 12, // 8 + 4\n '2xl': 16, // 8 + 8\n full: 9999,\n} as const;\n\nexport type RadiiTokens = typeof radii;\nexport type RadiiNumericTokens = typeof radiiNumeric;\n","// Typography tokens for the GV Tech design system.\n// Defines font families, sizes, weights, and line heights.\n\nexport const typography = {\n fontFamily: {\n sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif',\n mono: 'ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace',\n },\n fontSize: {\n xs: '0.75rem', // 12px\n sm: '0.875rem', // 14px\n base: '1rem', // 16px\n lg: '1.125rem', // 18px\n xl: '1.25rem', // 20px\n '2xl': '1.5rem', // 24px\n '3xl': '1.875rem', // 30px\n '4xl': '2.25rem', // 36px\n '5xl': '3rem', // 48px\n },\n fontWeight: {\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2',\n },\n} as const;\n\nexport type TypographyTokens = typeof typography;\n","// Shadow / elevation tokens for the GV Tech design system.\n// Web values use CSS box-shadow syntax.\n// Native consumers should map these to platform-specific elevation or shadow props.\n\nexport const shadows = {\n none: 'none',\n sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',\n default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',\n md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',\n lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',\n xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',\n '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',\n inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',\n} as const;\n\nexport type ShadowTokens = typeof shadows;\n","// @gv-tech/design-tokens\n// Single source of truth for all design tokens in the GV Tech design system.\n// Consumed by both web (ui-web) and native (ui-native) implementations.\n\n// Color tokens\nexport { palette } from './palette';\nexport type { PaletteTokens } from './palette';\n\nexport { theme } from './theme';\nexport type { ThemeTokens } from './theme';\n\n// Layout tokens\nexport { spacing } from './spacing';\nexport type { SpacingTokens } from './spacing';\n\nexport { radii, radiiNumeric } from './radii';\nexport type { RadiiNumericTokens, RadiiTokens } from './radii';\n\n// Typography tokens\nexport { typography } from './typography';\nexport type { TypographyTokens } from './typography';\n\n// Elevation tokens\nexport { shadows } from './shadows';\nexport type { ShadowTokens } from './shadows';\n\n// Convenience re-export of all tokens as a single object.\n// Mirrors the legacy `tokens` export from `src/theme/tokens.ts`.\nimport { palette } from './palette';\nimport { theme } from './theme';\n\nexport const tokens = {\n palette,\n theme,\n} as const;\n"],"names":["spacing","radii","radiiNumeric","typography","shadows","tokens","palette","theme"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAMA,IAAU;AAAA,EACrB,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,KAAK;AAAA;AAAA,EACL,GAAG;AAAA;AAAA,EACH,KAAK;AAAA;AAAA,EACL,GAAG;AAAA;AAAA,EACH,KAAK;AAAA;AAAA,EACL,GAAG;AAAA;AAAA,EACH,KAAK;AAAA;AAAA,EACL,GAAG;AAAA;AAAA,EACH,GAAG;AAAA;AAAA,EACH,GAAG;AAAA;AAAA,EACH,GAAG;AAAA;AAAA,EACH,GAAG;AAAA;AAAA,EACH,GAAG;AAAA;AAAA,EACH,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AACN,GC5BaC,IAAQ;AAAA,EACnB,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,MAAM;AACR,GAIaC,IAAe;AAAA,EAC1B,MAAM;AAAA,EACN,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,OAAO;AAAA;AAAA,EACP,MAAM;AACR,GCnBaC,IAAa;AAAA,EACxB,YAAY;AAAA,IACV,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,IAAI;AAAA;AAAA,IACJ,IAAI;AAAA;AAAA,IACJ,MAAM;AAAA;AAAA,IACN,IAAI;AAAA;AAAA,IACJ,IAAI;AAAA;AAAA,IACJ,OAAO;AAAA;AAAA,IACP,OAAO;AAAA;AAAA,IACP,OAAO;AAAA;AAAA,IACP,OAAO;AAAA;AAAA,EAAA;AAAA,EAET,YAAY;AAAA,IACV,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,YAAY;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,OAAO;AAAA,EAAA;AAEX,GC7BaC,IAAU;AAAA,EACrB,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,SAAS;AAAA,EACT,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AACT,GCkBaC,IAAS;AAAA,EACpB,SAAAC;AAAAA,EACA,OAAAC;AACF;"}
|
package/dist/input.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./vendor-DQFuDa7q.js"),s=require("react"),u=require("./utils
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./vendor-DQFuDa7q.js"),s=require("react"),u=require("./utils--qajXu5A.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=l(s),o=a.forwardRef(({className:e,type:r,...t},n)=>i.jsxRuntimeExports.jsx("input",{type:r,className:u.cn("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));o.displayName="Input";exports.Input=o;
|
|
2
2
|
//# sourceMappingURL=input.cjs.map
|
package/dist/input.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as i } from "./vendor-DxBXMLEx.mjs";
|
|
3
3
|
import * as s from "react";
|
|
4
|
-
import { c as n } from "./utils-
|
|
4
|
+
import { c as n } from "./utils-CgPEtJt0.mjs";
|
|
5
5
|
const l = s.forwardRef(({ className: e, type: r, ...t }, o) => /* @__PURE__ */ i.jsx(
|
|
6
6
|
"input",
|
|
7
7
|
{
|
package/dist/label.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./vendor-DQFuDa7q.js"),c=require("react"),s=require("./utils--qajXu5A.js");function l(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const i=l(c),u=a.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),n=i.forwardRef(({className:e,...o},t)=>a.jsxRuntimeExports.jsx(a.Root$3,{ref:t,className:s.cn(u(),e),...o}));n.displayName=a.Root$3?.displayName||"Label";exports.Label=n;
|
|
2
2
|
//# sourceMappingURL=label.cjs.map
|
package/dist/label.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.cjs","sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root
|
|
1
|
+
{"version":3,"file":"label.cjs","sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root?.displayName || 'Label';\n\nexport { Label };\nexport type { LabelBaseProps as LabelProps };\n"],"names":["labelVariants","cva","Label","React","className","props","ref","jsx","LabelPrimitive.Root","cn"],"mappings":"mdASMA,EAAgBC,EAAAA,IAAI,4FAA4F,EAEhHC,EAAQC,EAAM,WAGlB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CAAoB,IAAAF,EAAU,UAAWG,KAAGT,EAAA,EAAiBI,CAAS,EAAI,GAAGC,EAAO,CACtF,EACDH,EAAM,YAAcM,UAAqB,aAAe"}
|
package/dist/label.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as t, a8 as a, g as r } from "./vendor-DxBXMLEx.mjs";
|
|
3
3
|
import * as i from "react";
|
|
4
|
-
import { c as
|
|
5
|
-
const
|
|
6
|
-
n.displayName = a
|
|
4
|
+
import { c as l } from "./utils-CgPEtJt0.mjs";
|
|
5
|
+
const m = r("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), n = i.forwardRef(({ className: e, ...s }, o) => /* @__PURE__ */ t.jsx(a, { ref: o, className: l(m(), e), ...s }));
|
|
6
|
+
n.displayName = a?.displayName || "Label";
|
|
7
7
|
export {
|
|
8
8
|
n as Label
|
|
9
9
|
};
|
package/dist/label.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.mjs","sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root
|
|
1
|
+
{"version":3,"file":"label.mjs","sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root?.displayName || 'Label';\n\nexport { Label };\nexport type { LabelBaseProps as LabelProps };\n"],"names":["labelVariants","cva","Label","React","className","props","ref","jsx","LabelPrimitive.Root","cn"],"mappings":";;;;AASA,MAAMA,IAAgBC,EAAI,4FAA4F,GAEhHC,IAAQC,EAAM,WAGlB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1BC,gBAAAA,EAAAA,IAACC,GAAA,EAAoB,KAAAF,GAAU,WAAWG,EAAGT,EAAA,GAAiBI,CAAS,GAAI,GAAGC,GAAO,CACtF;AACDH,EAAM,cAAcM,GAAqB,eAAe;"}
|
package/dist/menubar.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-DQFuDa7q.js"),R=require("react"),o=require("./utils--qajXu5A.js");function y(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const s=y(R);function N({...t}){return e.jsxRuntimeExports.jsx(e.Menu,{...t})}function h({...t}){return e.jsxRuntimeExports.jsx(e.Group2$1,{...t})}function S({...t}){return e.jsxRuntimeExports.jsx(e.Portal2$2,{...t})}function w({...t}){return e.jsxRuntimeExports.jsx(e.RadioGroup2$1,{...t})}function E({...t}){return e.jsxRuntimeExports.jsx(e.Sub2$1,{"data-slot":"menubar-sub",...t})}const i=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Root3,{ref:n,className:o.cn("bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-sm",t),...a}));i.displayName=e.Root3?.displayName||"Menubar";const d=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Trigger$2,{ref:n,className:o.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-3 py-1 text-sm font-medium outline-none select-none",t),...a}));d.displayName=e.Trigger$2?.displayName||"MenubarTrigger";const c=s.forwardRef(({className:t,inset:a,children:n,...r},u)=>e.jsxRuntimeExports.jsxs(e.SubTrigger2$1,{ref:u,className:o.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none",a&&"pl-8",t),...r,children:[n,e.jsxRuntimeExports.jsx(e.ChevronRight,{className:"ml-auto h-4 w-4"})]}));c.displayName=e.SubTrigger2$1?.displayName||"MenubarSubTrigger";const m=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.SubContent2$1,{ref:n,className:o.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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 z-50 min-w-[8rem] origin-[--radix-menubar-content-transform-origin] overflow-hidden rounded-md border p-1 shadow-lg",t),...a}));m.displayName=e.SubContent2$1?.displayName||"MenubarSubContent";const l=s.forwardRef(({className:t,align:a="start",alignOffset:n=-4,sideOffset:r=8,...u},M)=>e.jsxRuntimeExports.jsx(e.Portal2$2,{children:e.jsxRuntimeExports.jsx(e.Content2$4,{ref:M,align:a,alignOffset:n,sideOffset:r,className:o.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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 z-50 min-w-[12rem] origin-[--radix-menubar-content-transform-origin] overflow-hidden rounded-md border p-1 shadow-md",t),...u})}));l.displayName=e.Content2$4?.displayName||"MenubarContent";const p=s.forwardRef(({className:t,inset:a,...n},r)=>e.jsxRuntimeExports.jsx(e.Item3,{ref:r,className:o.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",t),...n}));p.displayName=e.Item3?.displayName||"MenubarItem";const x=s.forwardRef(({className:t,children:a,checked:n,...r},u)=>e.jsxRuntimeExports.jsxs(e.CheckboxItem2$1,{ref:u,className:o.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...r,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Check,{className:"h-4 w-4"})})}),a]}));x.displayName=e.CheckboxItem2$1?.displayName||"MenubarCheckboxItem";const b=s.forwardRef(({className:t,children:a,...n},r)=>e.jsxRuntimeExports.jsxs(e.RadioItem2$1,{ref:r,className:o.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(e.ItemIndicator2$1,{children:e.jsxRuntimeExports.jsx(e.Circle,{className:"h-4 w-4 fill-current"})})}),a]}));b.displayName=e.RadioItem2$1?.displayName||"MenubarRadioItem";const f=s.forwardRef(({className:t,inset:a,...n},r)=>e.jsxRuntimeExports.jsx(e.Label2$1,{ref:r,className:o.cn("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",t),...n}));f.displayName=e.Label2$1?.displayName||"MenubarLabel";const g=s.forwardRef(({className:t,...a},n)=>e.jsxRuntimeExports.jsx(e.Separator2$1,{ref:n,className:o.cn("bg-muted -mx-1 my-1 h-px",t),...a}));g.displayName=e.Separator2$1?.displayName||"MenubarSeparator";const j=({className:t,...a})=>e.jsxRuntimeExports.jsx("span",{className:o.cn("text-muted-foreground ml-auto text-xs tracking-widest",t),...a});j.displayname="MenubarShortcut";exports.Menubar=i;exports.MenubarCheckboxItem=x;exports.MenubarContent=l;exports.MenubarGroup=h;exports.MenubarItem=p;exports.MenubarLabel=f;exports.MenubarMenu=N;exports.MenubarPortal=S;exports.MenubarRadioGroup=w;exports.MenubarRadioItem=b;exports.MenubarSeparator=g;exports.MenubarShortcut=j;exports.MenubarSub=E;exports.MenubarSubContent=m;exports.MenubarSubTrigger=c;exports.MenubarTrigger=d;
|
|
2
2
|
//# sourceMappingURL=menubar.cjs.map
|