@nebutra/ui 0.2.3 → 2.0.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/animate-in-BlvjVh2S.d.ts +250 -0
- package/dist/{canonical-Drca5UMj.d.ts → canonical-Bf4czR2u.d.ts} +13 -250
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/index.js +3 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/components/index.d.ts +58 -123
- package/dist/components/index.js +219 -104
- package/dist/components/index.js.map +1 -1
- package/dist/editorial/index.d.ts +404 -0
- package/dist/editorial/index.js +868 -0
- package/dist/editorial/index.js.map +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/layout/index.js +6 -5
- package/dist/layout/index.js.map +1 -1
- package/dist/layouts/index.js +4 -13
- package/dist/layouts/index.js.map +1 -1
- package/dist/patterns/index.d.ts +1 -2
- package/dist/patterns/index.js +74 -55
- package/dist/patterns/index.js.map +1 -1
- package/dist/primitives/canonical.d.ts +3 -2
- package/dist/primitives/canonical.js +118 -72
- package/dist/primitives/canonical.js.map +1 -1
- package/dist/primitives/index.d.ts +78 -4
- package/dist/primitives/index.js +777 -453
- package/dist/primitives/index.js.map +1 -1
- package/dist/tailwind.preset.d.ts +2 -2
- package/dist/tailwind.preset.js +1 -1
- package/dist/tailwind.preset.js.map +1 -1
- package/dist/typography/fonts.css +2 -2
- package/dist/typography/index.d.ts +4 -4
- package/dist/typography/index.js +1 -1
- package/dist/typography/index.js.map +1 -1
- package/dist/utils/auth-surfaces.d.ts +33 -0
- package/dist/utils/auth-surfaces.js +9 -0
- package/dist/utils/auth-surfaces.js.map +1 -0
- package/dist/utils/index.d.ts +2 -4
- package/dist/utils/index.js +6 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +25 -7
- package/src/typography/fonts.css +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { q as Accordion, r as AccordionContent, s as AccordionItem, t as AccordionSize, u as AccordionTrigger, v as Alert, w as AlertAppearance, x as AlertContent, y as AlertContentProps, z as AlertDescription, D as AlertDescriptionProps, E as AlertDialog, F as AlertDialogAction, G as AlertDialogCancel, H as AlertDialogContent, I as AlertDialogDescription, J as AlertDialogFooter, K as AlertDialogHeader, L as AlertDialogOverlay, M as AlertDialogPortal, N as AlertDialogTitle, O as AlertDialogTrigger, P as AlertIcon, Q as AlertIconProps, R as AlertProps, U as AlertSize, V as AlertTitle, W as AlertTitleProps, X as AlertToolbar, Y as AlertToolbarProps, Z as AlertVariant, _ as AnimateIn, $ as AnimateInGroup, a0 as AnimateInGroupProps, a1 as AnimateInProps, a2 as AnimateSwap, a3 as AnimateSwapProps, a4 as AnimatedThemeToggler, a5 as AnimatedThemeTogglerProps, a6 as AspectRatio, a7 as AspectRatioProps, a8 as Avatar, a9 as AvatarFallback, aa as AvatarFallbackProps, ab as AvatarGroup, ac as AvatarGroupItem, ad as AvatarGroupProps, ae as AvatarImage, A as AvatarProps, af as AvatarSize, ag as Badge, B as BadgeProps, ah as Breadcrumb, ai as BreadcrumbEllipsis, aj as BreadcrumbEllipsisProps, ak as BreadcrumbItem, al as BreadcrumbItemProps, am as BreadcrumbLink, an as BreadcrumbLinkProps, ao as BreadcrumbList, ap as BreadcrumbListProps, aq as BreadcrumbPage, ar as BreadcrumbPageProps, as as BreadcrumbProps, at as BreadcrumbSeparator, au as BreadcrumbSeparatorProps, a as Button, av as ButtonLink, aw as ButtonLinkProps, ax as ButtonProps, ay as Card, az as CardContent, aA as CardDescription, aB as CardDescriptionProps, aC as CardFooter, aD as CardHeader, aE as CardTitle, aF as Checkbox, aG as CheckboxGroup, aH as CheckboxGroupProps, aI as CheckboxProps, aJ as CodeBlock, aK as CodeBlockFile, aL as CodeBlockFilesProps, aS as CodeBlockProps, aT as CodeBlockSingleProps, aU as CodeBlockSwitcher, aV as CodeBlockSwitcherOption, aW as Collapse, aX as CollapseGroup, aY as CollapseGroupProps, aZ as CollapseProps, a_ as CollapseSize, a$ as Combobox, b0 as ComboboxEmpty, b1 as ComboboxGroupSub, b2 as ComboboxInput, b3 as ComboboxList, b4 as ComboboxOption, b5 as ComboboxOptionItem, b6 as ComboboxProps, b7 as ComboboxRoot, b8 as ComboboxSeparator, p as Command, b9 as CommandDialog, ba as CommandDialogProps, c as CommandEmpty, b as CommandEmptyProps, e as CommandGroup, d as CommandGroupProps, g as CommandInput, f as CommandInputProps, h as CommandItem, C as CommandItemProps, j as CommandList, i as CommandListProps, bb as CommandProps, l as CommandResults, k as CommandResultsProps, n as CommandSeparator, m as CommandSeparatorProps, bc as CommandShortcut, o as CommandShortcutProps, bd as ContextMenu, be as ContextMenuCheckboxItem, bf as ContextMenuCheckboxItemProps, bg as ContextMenuContent, bh as ContextMenuContentProps, bi as ContextMenuGroup, bj as ContextMenuItem, bk as ContextMenuItemProps, bl as ContextMenuLabel, bm as ContextMenuLabelProps, bn as ContextMenuRadioGroup, bo as ContextMenuRadioGroupProps, bp as ContextMenuRadioItem, bq as ContextMenuRadioItemProps, br as ContextMenuRoot, bs as ContextMenuSeparator, bt as ContextMenuSeparatorProps, bu as ContextMenuShortcut, bv as ContextMenuSub, bw as ContextMenuSubContent, bx as ContextMenuSubTrigger, by as ContextMenuSubTriggerProps, bz as ContextMenuTrigger, bA as CopyButton, bB as CopyButtonProps, bC as CopyCodeButton, bD as CopyIdButton, bE as CopyLinkButton, bF as CopyMenuItem, bG as CopyMenuItemProps, bH as CopyableField, bI as CopyableFieldProps, bJ as DeploymentState, bK as Description, bL as DescriptionProps, bM as Dialog, bN as DialogClose, bO as DialogContent, bP as DialogDescription, bQ as DialogFooter, bR as DialogHeader, bS as DialogOverlay, bT as DialogPortal, bU as DialogTitle, bV as DialogTrigger, bW as Drawer, bX as DrawerBody, bY as DrawerBodyProps, bZ as DrawerClose, b_ as DrawerCloseProps, b$ as DrawerContent, c0 as DrawerContentProps, c1 as DrawerDescription, c2 as DrawerDescriptionProps, c3 as DrawerDirection, c4 as DrawerFooter, c5 as DrawerFooterProps, c6 as DrawerHeader, c7 as DrawerHeaderProps, c8 as DrawerHeight, c9 as DrawerOverlay, ca as DrawerOverlayProps, cb as DrawerPortal, cc as DrawerPortalProps, cd as DrawerProps, ce as DrawerTitle, cf as DrawerTitleProps, cg as DrawerTrigger, ch as DrawerTriggerProps, ci as DropdownMenu, cj as DropdownMenuCheckboxItem, ck as DropdownMenuContent, cl as DropdownMenuContentProps, cm as DropdownMenuEmpty, cn as DropdownMenuFilterInput, co as DropdownMenuGroup, cp as DropdownMenuItem, cq as DropdownMenuLabel, cr as DropdownMenuPortal, cs as DropdownMenuRadioGroup, ct as DropdownMenuRadioItem, cu as DropdownMenuSeparator, cv as DropdownMenuShortcut, cw as DropdownMenuSub, cx as DropdownMenuSubContent, cy as DropdownMenuSubTrigger, cz as DropdownMenuTrigger, cA as EmptyState, cB as EmptyStateAlign, cC as EmptyStateIcon, cD as EmptyStateIconProps, cE as EmptyStateRoot, cF as EmptyStateRootProps, cG as EmptyStateSize, cH as EmptyStateVariant, cI as Error, cJ as ErrorMessage, cK as ErrorMessageProps, cL as ErrorObject, cM as ErrorProps, cN as ErrorRecoveryAction, cO as ErrorSize, cP as Field, cQ as FieldProps, cR as Form, cS as FormControl, cT as FormDescription, cU as FormField, cV as FormItem, cW as FormLabel, cX as FormMessage, cY as Gauge, cZ as GaugeArcPriority, c_ as GaugeColorMap, c$ as GaugeColorStop, d0 as GaugeProps, d1 as GaugeSize, d2 as HoverCard, d3 as HoverCardContent, d4 as HoverCardTrigger, d5 as Input, d6 as InputOTP, d7 as InputOTPGroup, d8 as InputOTPGroupProps, d9 as InputOTPProps, da as InputOTPSeparator, db as InputOTPSeparatorProps, dc as InputOTPSlot, dd as InputOTPSlotProps, de as InputProps, df as Kbd, dg as KbdProps, dh as Label, di as LabelProps, dj as LegacyGaugeArcPriority, dk as LoadingDots, dl as LoadingDotsProps, dm as Menu, dn as MenuButton, dp as MenuButtonProps, dq as MenuContainer, dr as MenuContainerProps, ds as MenuItem, dt as MenuItemLocked, du as MenuItemLockedProps, dv as MenuItemProps, dw as MenuLink, dx as MenuLinkProps, dy as MenuPosition, dz as MenuProps, dA as MenuSection, dB as MenuSectionProps, dC as Menubar, dD as MenubarCheckboxItem, dE as MenubarContent, dF as MenubarGroup, dG as MenubarItem, dH as MenubarLabel, dI as MenubarMenu, dJ as MenubarPortal, dK as MenubarRadioGroup, dL as MenubarRadioItem, dM as MenubarSeparator, dN as MenubarShortcut, dO as MenubarSub, dP as MenubarSubContent, dQ as MenubarSubTrigger, dR as MenubarTrigger, dS as Modal, dT as ModalActionProps, dU as ModalActionsProps, dV as ModalBodyProps, dW as ModalHeaderProps, dX as ModalInsetProps, dY as ModalRootProps, dZ as ModalSubtitleProps, d_ as ModalTitleProps, d$ as MultiSelectContent, e0 as MultiSelectContentProps, e1 as MultiSelectRoot, e2 as MultiSelectRootProps, e3 as MultiSelectRow, e4 as MultiSelectRowProps, e5 as MultiSelectTrigger, e6 as MultiSelectTriggerProps, e7 as NavigationMenu, e8 as NavigationMenuContent, e9 as NavigationMenuIndicator, ea as NavigationMenuItem, eb as NavigationMenuLink, ec as NavigationMenuList, ed as NavigationMenuTrigger, ee as NavigationMenuViewport, ef as Note, eg as NoteBaseProps, eh as NoteProps, ei as NoteSize, ej as NoteTone, ek as Pagination, el as PaginationDestination, em as PaginationProps, en as Popover, eo as PopoverAnchor, ep as PopoverContent, eq as PopoverContentProps, er as PopoverPositioner, es as PopoverTrigger, et as Progress, eu as ProgressColorMap, ev as ProgressProps, ew as ProgressStop, ex as ProjectBanner, ey as ProjectBannerCallToAction, ez as ProjectBannerProps, eA as ProjectBannerVariant, eB as RadioGroup, eC as RadioGroupItem, eD as ResizableHandle, eE as ResizablePanel, eF as ResizablePanelGroup, eG as Scroller, eH as ScrollerButtonAxis, eI as ScrollerEdgeAffordance, eJ as ScrollerOverflow, eK as ScrollerProps, eL as ScrollerSize, eM as Select, eN as SelectContent, eO as SelectGroup, eP as SelectItem, eQ as SelectLabel, eR as SelectScrollDownButton, eS as SelectScrollUpButton, eT as SelectSeparator, eU as SelectTrigger, eV as SelectValue, eW as Separator, eX as Sheet, eY as SheetBody, eZ as SheetBodyProps, e_ as SheetClose, e$ as SheetCloseProps, f0 as SheetContent, f1 as SheetContentProps, f2 as SheetDescription, f3 as SheetDescriptionProps, f4 as SheetFooter, f5 as SheetFooterProps, f6 as SheetHeader, f7 as SheetHeaderProps, f8 as SheetOverlay, f9 as SheetOverlayProps, fa as SheetPortal, fb as SheetPortalProps, fc as SheetProps, fd as SheetTitle, fe as SheetTitleProps, ff as SheetTrigger, fg as SheetTriggerProps, fh as ShowMore, fi as ShowMoreProps, fj as Skeleton, fk as SkeletonAvatar, fl as SkeletonCard, fm as SkeletonProps, fn as SkeletonText, fo as Slider, fp as SliderProps, fq as Spinner, fr as SpinnerProps, fs as SpinnerVariant, ft as SplitButton, fu as SplitButtonMenuAlignment, fv as SplitButtonMenuContentProps, fw as SplitButtonMenuItem, fx as SplitButtonMenuItemProps, fy as SplitButtonPrimaryProps, fz as SplitButtonProps, fA as SplitButtonSize, fB as SplitButtonType, fC as Stack, fD as StackProps, fE as StatusDot, fF as StatusDotProps, fG as Switch, fH as SwitchProps, fI as Table, fJ as TableBody, fK as TableBodyProps, fL as TableCaption, fM as TableCell, fN as TableCellAlignment, fO as TableCellProps, fP as TableCol, fQ as TableColgroup, fR as TableCssVar, fS as TableCssVarOverrides, fT as TableFooter, fU as TableHead, fV as TableHeadProps, fW as TableHeader, fX as TableProps, fY as TableRow, fZ as TableStyle, f_ as Tabs, f$ as TabsContent, g0 as TabsContentProps, g1 as TabsList, g2 as TabsListProps, g3 as TabsProps, g4 as TabsTrigger, g5 as TabsTriggerProps, g6 as Textarea, T as TextareaProps, g7 as ThemeSwitcher, g8 as ThemeSwitcherProps, g9 as ThemeSwitcherValue, ga as ThemeToggle, gb as ThemeToggleProps, gc as ThemeToggleValue, gd as ToastMessage, ge as ToastOptions, gf as ToastTone, gg as Toaster, gh as Toggle, gi as ToggleChangeHandler, gj as ToggleDirection, gk as ToggleGroup, gl as ToggleGroupItem, gm as ToggleGroupItemProps, gn as ToggleGroupProps, go as ToggleLabelCasing, gp as ToggleProps, gq as Tooltip, gr as TooltipContent, gs as TooltipProvider, gt as TooltipTrigger, gu as TreeExpander, gv as TreeExpanderProps, gw as TreeIcon, gx as TreeIconProps, gy as TreeLabel, gz as TreeLabelProps, gA as TreeLines, gB as TreeNode, gC as TreeNodeContent, gD as TreeNodeContentProps, gE as TreeNodeProps, gF as TreeNodeTrigger, gG as TreeNodeTriggerProps, gH as TreeProvider, gI as TreeProviderProps, gJ as TreeView, gK as TreeViewProps, gL as UseCopyToClipboardOptions, gM as UseCopyToClipboardReturn, gN as UseToastsReturn, gO as alertVariants, gP as badgeVariants, gQ as buttonVariants, gR as containerWidths, gS as flexLayouts, gT as gridLayouts, gU as labelVariants, gV as navigationMenuTriggerStyle, gX as progressIndicatorVariants, gY as progressVariants, g_ as tabsContentVariants, g$ as tabsListVariants, h0 as tabsTriggerVariants, h1 as toggleGroupItemVariants, h2 as toggleGroupVariants, h3 as useCopyToClipboard, h4 as useFormField, h5 as useToasts, h6 as zIndex } from '../canonical-Drca5UMj.js';
|
|
1
|
+
export { q as Accordion, r as AccordionContent, s as AccordionItem, t as AccordionSize, u as AccordionTrigger, v as Alert, w as AlertAppearance, x as AlertContent, y as AlertContentProps, z as AlertDescription, D as AlertDescriptionProps, E as AlertDialog, F as AlertDialogAction, G as AlertDialogCancel, H as AlertDialogContent, J as AlertDialogDescription, K as AlertDialogFooter, L as AlertDialogHeader, M as AlertDialogOverlay, N as AlertDialogPortal, O as AlertDialogTitle, P as AlertDialogTrigger, Q as AlertIcon, R as AlertIconProps, U as AlertProps, V as AlertSize, W as AlertTitle, X as AlertTitleProps, Y as AlertToolbar, Z as AlertToolbarProps, _ as AlertVariant, $ as AnimatedThemeToggler, a0 as AnimatedThemeTogglerProps, a1 as AspectRatio, a2 as AspectRatioProps, a3 as Avatar, a4 as AvatarFallback, a5 as AvatarFallbackProps, a6 as AvatarGroup, a7 as AvatarGroupItem, a8 as AvatarGroupProps, a9 as AvatarImage, A as AvatarProps, aa as AvatarSize, ab as Badge, B as BadgeProps, ac as Breadcrumb, ad as BreadcrumbEllipsis, ae as BreadcrumbEllipsisProps, af as BreadcrumbItem, ag as BreadcrumbItemProps, ah as BreadcrumbLink, ai as BreadcrumbLinkProps, aj as BreadcrumbList, ak as BreadcrumbListProps, al as BreadcrumbPage, am as BreadcrumbPageProps, an as BreadcrumbProps, ao as BreadcrumbSeparator, ap as BreadcrumbSeparatorProps, a as Button, aq as ButtonLink, ar as ButtonLinkProps, as as ButtonProps, at as Card, au as CardContent, av as CardDescription, aw as CardDescriptionProps, ax as CardFooter, ay as CardHeader, az as CardTitle, aA as Checkbox, aB as CheckboxGroup, aC as CheckboxGroupProps, aD as CheckboxProps, aE as CodeBlock, aF as CodeBlockFile, aG as CodeBlockFilesProps, aN as CodeBlockProps, aO as CodeBlockSingleProps, aP as CodeBlockSwitcher, aQ as CodeBlockSwitcherOption, aR as Collapse, aS as CollapseGroup, aT as CollapseGroupProps, aU as CollapseProps, aV as CollapseSize, aW as Combobox, aX as ComboboxEmpty, aY as ComboboxGroupSub, aZ as ComboboxInput, a_ as ComboboxList, a$ as ComboboxOption, b0 as ComboboxOptionItem, b1 as ComboboxProps, b2 as ComboboxRoot, b3 as ComboboxSeparator, p as Command, b4 as CommandDialog, b5 as CommandDialogProps, c as CommandEmpty, b as CommandEmptyProps, e as CommandGroup, d as CommandGroupProps, g as CommandInput, f as CommandInputProps, h as CommandItem, C as CommandItemProps, j as CommandList, i as CommandListProps, b6 as CommandProps, l as CommandResults, k as CommandResultsProps, n as CommandSeparator, m as CommandSeparatorProps, b7 as CommandShortcut, o as CommandShortcutProps, b8 as ContextMenu, b9 as ContextMenuCheckboxItem, ba as ContextMenuCheckboxItemProps, bb as ContextMenuContent, bc as ContextMenuContentProps, bd as ContextMenuGroup, be as ContextMenuItem, bf as ContextMenuItemProps, bg as ContextMenuLabel, bh as ContextMenuLabelProps, bi as ContextMenuRadioGroup, bj as ContextMenuRadioGroupProps, bk as ContextMenuRadioItem, bl as ContextMenuRadioItemProps, bm as ContextMenuRoot, bn as ContextMenuSeparator, bo as ContextMenuSeparatorProps, bp as ContextMenuShortcut, bq as ContextMenuSub, br as ContextMenuSubContent, bs as ContextMenuSubTrigger, bt as ContextMenuSubTriggerProps, bu as ContextMenuTrigger, bv as CopyButton, bw as CopyButtonProps, bx as CopyCodeButton, by as CopyIdButton, bz as CopyLinkButton, bA as CopyMenuItem, bB as CopyMenuItemProps, bC as CopyableField, bD as CopyableFieldProps, bE as DeploymentState, bF as Description, bG as DescriptionProps, bH as Dialog, bI as DialogClose, bJ as DialogContent, bK as DialogDescription, bL as DialogFooter, bM as DialogHeader, bN as DialogOverlay, bO as DialogPortal, bP as DialogTitle, bQ as DialogTrigger, bR as Drawer, bS as DrawerBody, bT as DrawerBodyProps, bU as DrawerClose, bV as DrawerCloseProps, bW as DrawerContent, bX as DrawerContentProps, bY as DrawerDescription, bZ as DrawerDescriptionProps, b_ as DrawerDirection, b$ as DrawerFooter, c0 as DrawerFooterProps, c1 as DrawerHeader, c2 as DrawerHeaderProps, c3 as DrawerHeight, c4 as DrawerOverlay, c5 as DrawerOverlayProps, c6 as DrawerPortal, c7 as DrawerPortalProps, c8 as DrawerProps, c9 as DrawerTitle, ca as DrawerTitleProps, cb as DrawerTrigger, cc as DrawerTriggerProps, cd as DropdownMenu, ce as DropdownMenuCheckboxItem, cf as DropdownMenuContent, cg as DropdownMenuContentProps, ch as DropdownMenuEmpty, ci as DropdownMenuFilterInput, cj as DropdownMenuGroup, ck as DropdownMenuItem, cl as DropdownMenuLabel, cm as DropdownMenuPortal, cn as DropdownMenuRadioGroup, co as DropdownMenuRadioItem, cp as DropdownMenuSeparator, cq as DropdownMenuShortcut, cr as DropdownMenuSub, cs as DropdownMenuSubContent, ct as DropdownMenuSubTrigger, cu as DropdownMenuTrigger, cv as EmptyState, cw as EmptyStateAlign, cx as EmptyStateIcon, cy as EmptyStateIconProps, cz as EmptyStateRoot, cA as EmptyStateRootProps, cB as EmptyStateSize, cC as EmptyStateVariant, cD as Error, cE as ErrorMessage, cF as ErrorMessageProps, cG as ErrorObject, cH as ErrorProps, cI as ErrorRecoveryAction, cJ as ErrorSize, cK as Field, cL as FieldProps, cM as Form, cN as FormControl, cO as FormDescription, cP as FormField, cQ as FormItem, cR as FormLabel, cS as FormMessage, cT as Gauge, cU as GaugeArcPriority, cV as GaugeColorMap, cW as GaugeColorStop, cX as GaugeProps, cY as GaugeSize, cZ as HoverCard, c_ as HoverCardContent, c$ as HoverCardTrigger, d0 as Input, d1 as InputOTP, d2 as InputOTPGroup, d3 as InputOTPGroupProps, d4 as InputOTPProps, d5 as InputOTPSeparator, d6 as InputOTPSeparatorProps, d7 as InputOTPSlot, d8 as InputOTPSlotProps, d9 as InputProps, da as Kbd, db as KbdProps, dc as Label, dd as LabelProps, de as LegacyGaugeArcPriority, df as LoadingDots, dg as LoadingDotsProps, dh as Menu, di as MenuButton, dj as MenuButtonProps, dk as MenuContainer, dl as MenuContainerProps, dm as MenuItem, dn as MenuItemLocked, dp as MenuItemLockedProps, dq as MenuItemProps, dr as MenuLink, ds as MenuLinkProps, dt as MenuPosition, du as MenuProps, dv as MenuSection, dw as MenuSectionProps, dx as Menubar, dy as MenubarCheckboxItem, dz as MenubarContent, dA as MenubarGroup, dB as MenubarItem, dC as MenubarLabel, dD as MenubarMenu, dE as MenubarPortal, dF as MenubarRadioGroup, dG as MenubarRadioItem, dH as MenubarSeparator, dI as MenubarShortcut, dJ as MenubarSub, dK as MenubarSubContent, dL as MenubarSubTrigger, dM as MenubarTrigger, dN as Modal, dO as ModalActionProps, dP as ModalActionsProps, dQ as ModalBodyProps, dR as ModalHeaderProps, dS as ModalInsetProps, dT as ModalRootProps, dU as ModalSubtitleProps, dV as ModalTitleProps, dW as MultiSelectContent, dX as MultiSelectContentProps, dY as MultiSelectRoot, dZ as MultiSelectRootProps, d_ as MultiSelectRow, d$ as MultiSelectRowProps, e0 as MultiSelectTrigger, e1 as MultiSelectTriggerProps, e2 as NavigationMenu, e3 as NavigationMenuContent, e4 as NavigationMenuIndicator, e5 as NavigationMenuItem, e6 as NavigationMenuLink, e7 as NavigationMenuList, e8 as NavigationMenuTrigger, e9 as NavigationMenuViewport, ea as Note, eb as NoteBaseProps, ec as NoteProps, ed as NoteSize, ee as NoteTone, ef as Pagination, eg as PaginationDestination, eh as PaginationProps, ei as Popover, ej as PopoverAnchor, ek as PopoverContent, el as PopoverContentProps, em as PopoverPositioner, en as PopoverTrigger, eo as Progress, ep as ProgressColorMap, eq as ProgressProps, er as ProgressStop, es as ProjectBanner, et as ProjectBannerCallToAction, eu as ProjectBannerProps, ev as ProjectBannerVariant, ew as RadioGroup, ex as RadioGroupItem, ey as ResizableHandle, ez as ResizablePanel, eA as ResizablePanelGroup, eB as Scroller, eC as ScrollerButtonAxis, eD as ScrollerEdgeAffordance, eE as ScrollerOverflow, eF as ScrollerProps, eG as ScrollerSize, eH as Select, eI as SelectContent, eJ as SelectGroup, eK as SelectItem, eL as SelectLabel, eM as SelectScrollDownButton, eN as SelectScrollUpButton, eO as SelectSeparator, eP as SelectTrigger, eQ as SelectValue, eR as Separator, eS as Sheet, eT as SheetBody, eU as SheetBodyProps, eV as SheetClose, eW as SheetCloseProps, eX as SheetContent, eY as SheetContentProps, eZ as SheetDescription, e_ as SheetDescriptionProps, e$ as SheetFooter, f0 as SheetFooterProps, f1 as SheetHeader, f2 as SheetHeaderProps, f3 as SheetOverlay, f4 as SheetOverlayProps, f5 as SheetPortal, f6 as SheetPortalProps, f7 as SheetProps, f8 as SheetTitle, f9 as SheetTitleProps, fa as SheetTrigger, fb as SheetTriggerProps, fc as ShowMore, fd as ShowMoreProps, fe as Skeleton, ff as SkeletonAvatar, fg as SkeletonCard, fh as SkeletonProps, fi as SkeletonText, fj as Slider, fk as SliderProps, fl as Spinner, fm as SpinnerProps, fn as SpinnerVariant, fo as SplitButton, fp as SplitButtonMenuAlignment, fq as SplitButtonMenuContentProps, fr as SplitButtonMenuItem, fs as SplitButtonMenuItemProps, ft as SplitButtonPrimaryProps, fu as SplitButtonProps, fv as SplitButtonSize, fw as SplitButtonType, fx as Stack, fy as StackProps, fz as StatusDot, fA as StatusDotProps, fB as Switch, fC as SwitchProps, fD as Table, fE as TableBody, fF as TableBodyProps, fG as TableCaption, fH as TableCell, fI as TableCellAlignment, fJ as TableCellProps, fK as TableCol, fL as TableColgroup, fM as TableCssVar, fN as TableCssVarOverrides, fO as TableFooter, fP as TableHead, fQ as TableHeadProps, fR as TableHeader, fS as TableProps, fT as TableRow, fU as TableStyle, fV as Tabs, fW as TabsContent, fX as TabsContentProps, fY as TabsList, fZ as TabsListProps, f_ as TabsProps, f$ as TabsTrigger, g0 as TabsTriggerProps, g1 as Textarea, T as TextareaProps, g2 as ThemeSwitcher, g3 as ThemeSwitcherProps, g4 as ThemeSwitcherValue, g5 as ThemeToggle, g6 as ThemeToggleProps, g7 as ThemeToggleValue, g8 as ToastMessage, g9 as ToastOptions, ga as ToastTone, gb as Toaster, gc as Toggle, gd as ToggleChangeHandler, ge as ToggleDirection, gf as ToggleGroup, gg as ToggleGroupItem, gh as ToggleGroupItemProps, gi as ToggleGroupProps, gj as ToggleLabelCasing, gk as ToggleProps, gl as Tooltip, gm as TooltipContent, gn as TooltipProvider, go as TooltipTrigger, gp as TreeExpander, gq as TreeExpanderProps, gr as TreeIcon, gs as TreeIconProps, gt as TreeLabel, gu as TreeLabelProps, gv as TreeLines, gw as TreeNode, gx as TreeNodeContent, gy as TreeNodeContentProps, gz as TreeNodeProps, gA as TreeNodeTrigger, gB as TreeNodeTriggerProps, gC as TreeProvider, gD as TreeProviderProps, gE as TreeView, gF as TreeViewProps, gG as UseCopyToClipboardOptions, gH as UseCopyToClipboardReturn, gI as UseToastsReturn, gJ as alertVariants, gK as badgeVariants, gL as buttonVariants, gM as containerWidths, gN as flexLayouts, gO as gridLayouts, gP as labelVariants, gQ as navigationMenuTriggerStyle, gS as progressIndicatorVariants, gT as progressVariants, gV as tabsContentVariants, gW as tabsListVariants, gX as tabsTriggerVariants, gY as toggleGroupItemVariants, gZ as toggleGroupVariants, g_ as useCopyToClipboard, g$ as useFormField, h0 as useToasts, h1 as zIndex } from '../canonical-Bf4czR2u.js';
|
|
2
|
+
export { A as AnimateIn, a as AnimateInGroup, b as AnimateInGroupProps, c as AnimateInProps, d as AnimateSwap, e as AnimateSwapProps } from '../animate-in-BlvjVh2S.js';
|
|
2
3
|
export { ExternalToast, ToasterProps, toast } from 'sonner';
|
|
3
4
|
export { brandSpring } from '@nebutra/brand';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
@@ -8,7 +9,6 @@ import 'class-variance-authority/types';
|
|
|
8
9
|
import 'class-variance-authority';
|
|
9
10
|
import '@base-ui/react';
|
|
10
11
|
import '@base-ui/react/alert-dialog';
|
|
11
|
-
import 'framer-motion';
|
|
12
12
|
import '@base-ui/react/avatar';
|
|
13
13
|
import 'cmdk';
|
|
14
14
|
import '@base-ui/react/dialog';
|
|
@@ -22,4 +22,5 @@ import '@base-ui/react/progress';
|
|
|
22
22
|
import 'react-resizable-panels';
|
|
23
23
|
import '@base-ui/react/select';
|
|
24
24
|
import '@base-ui/react/separator';
|
|
25
|
+
import 'framer-motion';
|
|
25
26
|
import '@base-ui/react/tooltip';
|
|
@@ -458,7 +458,7 @@ var primitiveTransition = {
|
|
|
458
458
|
// hero entrance, big delight moments
|
|
459
459
|
},
|
|
460
460
|
easing: {
|
|
461
|
-
default: "ease-
|
|
461
|
+
default: "var(--ease-brand)",
|
|
462
462
|
inOut: "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
463
463
|
}
|
|
464
464
|
};
|
|
@@ -492,71 +492,73 @@ var overlayTokens = {
|
|
|
492
492
|
}};
|
|
493
493
|
var overlayClassNames = {
|
|
494
494
|
focusRing: overlayFocusRingClassName,
|
|
495
|
-
backdrop: "fixed inset-0 bg-black/40 backdrop-blur-sm transition-[opacity,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
495
|
+
backdrop: "fixed inset-0 bg-black/40 backdrop-blur-sm transition-[opacity,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)] data-ending-style:opacity-0 data-starting-style:opacity-0 motion-reduce:transition-none",
|
|
496
496
|
modalSurface: [
|
|
497
497
|
"fixed left-1/2 top-1/2 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4",
|
|
498
498
|
"border border-border/60 bg-background/95 p-6 text-foreground backdrop-blur-xl",
|
|
499
499
|
"rounded-[var(--radius-xl)]",
|
|
500
500
|
shadowClasses["2xl"],
|
|
501
501
|
"outline-none",
|
|
502
|
-
"transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
502
|
+
"transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
503
503
|
"data-starting-style:scale-95 data-starting-style:opacity-0 data-ending-style:scale-95 data-ending-style:opacity-0",
|
|
504
504
|
"motion-reduce:transition-none motion-reduce:data-starting-style:transform-none motion-reduce:data-ending-style:transform-none"
|
|
505
505
|
].join(" "),
|
|
506
506
|
menuSurface: [
|
|
507
|
-
"min-w-32 overflow-hidden rounded-[var(--radius-lg)] border border-border/70 bg-popover/95 p-1 text-popover-foreground backdrop-blur-md",
|
|
507
|
+
"min-w-32 origin-[var(--transform-origin)] overflow-hidden rounded-[var(--radius-lg)] border border-border/70 bg-popover/95 p-1 text-popover-foreground backdrop-blur-md",
|
|
508
508
|
shadowClasses.xl,
|
|
509
|
-
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
510
|
-
"data-[starting-style]:scale-
|
|
509
|
+
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
510
|
+
"data-[starting-style]:scale-[0.97] data-[starting-style]:opacity-0 data-[ending-style]:scale-[0.97] data-[ending-style]:opacity-0",
|
|
511
511
|
"motion-reduce:transition-none motion-reduce:data-[starting-style]:transform-none motion-reduce:data-[ending-style]:transform-none"
|
|
512
512
|
].join(" "),
|
|
513
513
|
selectSurface: [
|
|
514
|
-
"max-h-[var(--select-content-max-height)] min-w-[var(--select-content-min-width)] overflow-hidden",
|
|
514
|
+
"max-h-[var(--select-content-max-height)] min-w-[var(--select-content-min-width)] origin-[var(--transform-origin)] overflow-hidden",
|
|
515
515
|
"rounded-[var(--select-content-radius)] border border-border/70 bg-popover/95 text-popover-foreground backdrop-blur-md",
|
|
516
516
|
"shadow-[var(--select-content-shadow)] outline-none",
|
|
517
|
-
"transition-[opacity,transform,display] duration-[var(--select-duration)] ease-[var(--
|
|
518
|
-
"data-starting-style:scale-
|
|
517
|
+
"transition-[opacity,transform,display] duration-[var(--select-duration)] ease-[var(--ease-brand)]",
|
|
518
|
+
"data-starting-style:scale-[0.97] data-starting-style:opacity-0 data-ending-style:scale-[0.97] data-ending-style:opacity-0",
|
|
519
519
|
"motion-reduce:transition-none motion-reduce:data-starting-style:transform-none motion-reduce:data-ending-style:transform-none"
|
|
520
520
|
].join(" "),
|
|
521
521
|
navigationMenuSurface: [
|
|
522
|
-
"min-w-32 overflow-hidden rounded-[var(--radius-xl)] border border-border/70 bg-popover/95 text-popover-foreground backdrop-blur-md",
|
|
522
|
+
"min-w-32 origin-[var(--transform-origin)] overflow-hidden rounded-[var(--radius-xl)] border border-border/70 bg-popover/95 text-popover-foreground backdrop-blur-md",
|
|
523
523
|
shadowClasses.xl,
|
|
524
|
-
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
525
|
-
"data-[starting-style]:scale-
|
|
524
|
+
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
525
|
+
"data-[starting-style]:scale-[0.97] data-[starting-style]:opacity-0 data-[ending-style]:scale-[0.97] data-[ending-style]:opacity-0",
|
|
526
526
|
"motion-reduce:transition-none motion-reduce:data-[starting-style]:transform-none motion-reduce:data-[ending-style]:transform-none"
|
|
527
527
|
].join(" "),
|
|
528
528
|
popoverSurface: [
|
|
529
|
-
"w-72 rounded-[var(--radius-lg)] border border-border/70 bg-popover/95 p-4 text-popover-foreground backdrop-blur-md",
|
|
529
|
+
"w-72 origin-[var(--transform-origin)] rounded-[var(--radius-lg)] border border-border/70 bg-popover/95 p-4 text-popover-foreground backdrop-blur-md",
|
|
530
530
|
shadowClasses.xl,
|
|
531
|
-
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
532
|
-
"data-[open]:opacity-100 data-[closed]:opacity-0 data-[closed]:scale-
|
|
531
|
+
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
532
|
+
"data-[open]:opacity-100 data-[closed]:opacity-0 data-[closed]:scale-[0.97] data-[open]:scale-100",
|
|
533
533
|
"motion-reduce:transition-none motion-reduce:data-[closed]:transform-none motion-reduce:data-[open]:transform-none"
|
|
534
534
|
].join(" "),
|
|
535
535
|
tooltipSurface: [
|
|
536
|
-
"overflow-hidden rounded-[var(--radius-md)] border border-border/70 bg-popover/95 px-3 py-1.5 text-sm text-popover-foreground backdrop-blur-md",
|
|
536
|
+
"origin-[var(--transform-origin)] overflow-hidden rounded-[var(--radius-md)] border border-border/70 bg-popover/95 px-3 py-1.5 text-sm text-popover-foreground backdrop-blur-md",
|
|
537
537
|
shadowClasses.md,
|
|
538
|
-
"transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
539
|
-
"data-starting-style:scale-
|
|
538
|
+
"transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
539
|
+
"data-starting-style:scale-[0.97] data-starting-style:opacity-0 data-ending-style:scale-[0.97] data-ending-style:opacity-0",
|
|
540
|
+
"data-[instant]:duration-0",
|
|
540
541
|
"motion-reduce:transition-none motion-reduce:data-starting-style:transform-none motion-reduce:data-ending-style:transform-none"
|
|
541
542
|
].join(" "),
|
|
542
543
|
sheetBackdrop: [
|
|
543
544
|
"fixed inset-0 bg-[var(--sheet-overlay-background)] backdrop-blur-[var(--sheet-overlay-blur)]",
|
|
544
|
-
"transition-[opacity,backdrop-filter,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
545
|
+
"transition-[opacity,backdrop-filter,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
545
546
|
"data-ending-style:opacity-0 data-starting-style:opacity-0 motion-reduce:transition-none"
|
|
546
547
|
].join(" "),
|
|
547
548
|
sheetSurface: [
|
|
548
549
|
"fixed flex flex-col overflow-hidden border border-border bg-[var(--sheet-background)] text-foreground shadow-[var(--sheet-shadow)]",
|
|
549
|
-
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-
|
|
550
|
+
"outline-none transition-[opacity,transform,display] duration-[var(--motion-duration-flow)] ease-[var(--ease-brand)]",
|
|
550
551
|
"data-ending-style:opacity-0 data-starting-style:opacity-0 motion-reduce:transition-none"
|
|
551
552
|
].join(" "),
|
|
552
|
-
closeButton: `absolute right-4 top-4 rounded-[var(--radius-sm)] opacity-70 ring-offset-background ${overlayFocusRingClassName} transition-opacity duration-[var(--motion-duration-micro)] ease-[var(--ease-
|
|
553
|
+
closeButton: `absolute right-4 top-4 rounded-[var(--radius-sm)] opacity-70 ring-offset-background ${overlayFocusRingClassName} transition-opacity duration-[var(--motion-duration-micro)] ease-[var(--ease-brand)] hover:opacity-100 disabled:pointer-events-none data-[open]:bg-accent data-[open]:text-muted-foreground motion-reduce:transition-none`
|
|
553
554
|
};
|
|
554
555
|
var buttonVariants = cva(
|
|
555
556
|
[
|
|
556
557
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap",
|
|
557
558
|
"rounded-[var(--btn-default-radius,var(--radius-md))]",
|
|
558
559
|
"text-[length:var(--control-font-size-md,0.875rem)] font-[number:var(--font-weight-medium,500)]",
|
|
559
|
-
"transition-
|
|
560
|
+
"transition-[color,background-color,border-color,transform] duration-flow ease-[var(--ease-brand)]",
|
|
561
|
+
"active:scale-[0.97] motion-reduce:active:scale-100 motion-reduce:transition-none",
|
|
560
562
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
561
563
|
"aria-busy:cursor-wait"
|
|
562
564
|
].join(" "),
|
|
@@ -822,13 +824,13 @@ var motionDurations = {
|
|
|
822
824
|
cinematic: 500
|
|
823
825
|
};
|
|
824
826
|
var easings = {
|
|
825
|
-
easeOut: [0,
|
|
827
|
+
easeOut: [0.16, 1, 0.3, 1],
|
|
826
828
|
easeInOut: [0.4, 0, 0.2, 1]};
|
|
827
829
|
var motionVariants = {
|
|
828
830
|
fadeInUp: {
|
|
829
|
-
initial: { opacity: 0,
|
|
830
|
-
animate: { opacity: 1,
|
|
831
|
-
exit: { opacity: 0,
|
|
831
|
+
initial: { opacity: 0, transform: "translateY(20px)" },
|
|
832
|
+
animate: { opacity: 1, transform: "translateY(0px)" },
|
|
833
|
+
exit: { opacity: 0, transform: "translateY(10px)" }
|
|
832
834
|
},
|
|
833
835
|
scaleIn: {
|
|
834
836
|
initial: { opacity: 0, scale: 0.95 },
|
|
@@ -838,15 +840,15 @@ var motionVariants = {
|
|
|
838
840
|
var staggerContainers = {
|
|
839
841
|
fast: {
|
|
840
842
|
initial: {},
|
|
841
|
-
animate: { transition: { staggerChildren: 0.
|
|
843
|
+
animate: { transition: { staggerChildren: 0.04, delayChildren: 0 } }
|
|
842
844
|
},
|
|
843
845
|
normal: {
|
|
844
846
|
initial: {},
|
|
845
|
-
animate: { transition: { staggerChildren: 0.
|
|
847
|
+
animate: { transition: { staggerChildren: 0.06, delayChildren: 0.04 } }
|
|
846
848
|
},
|
|
847
849
|
slow: {
|
|
848
850
|
initial: {},
|
|
849
|
-
animate: { transition: { staggerChildren: 0.
|
|
851
|
+
animate: { transition: { staggerChildren: 0.08, delayChildren: 0.05 } }
|
|
850
852
|
}
|
|
851
853
|
};
|
|
852
854
|
var viewportSettings = {
|
|
@@ -885,37 +887,37 @@ var PRESETS = {
|
|
|
885
887
|
* Pair with `AnimateSwap`.
|
|
886
888
|
*/
|
|
887
889
|
swap: {
|
|
888
|
-
initial: { opacity: 0,
|
|
889
|
-
animate: { opacity: 1,
|
|
890
|
-
exit: { opacity: 0,
|
|
890
|
+
initial: { opacity: 0, transform: "translateY(10px)", filter: "blur(4px)" },
|
|
891
|
+
animate: { opacity: 1, transform: "translateY(0px)", filter: "blur(0px)" },
|
|
892
|
+
exit: { opacity: 0, transform: "translateY(-10px)", filter: "blur(4px)" },
|
|
891
893
|
transition: { duration: motionDurations.reveal / 1e3 }
|
|
892
894
|
},
|
|
893
895
|
/** Off-canvas panel entering from the right edge (drawer, sheet). */
|
|
894
896
|
slideFromRight: {
|
|
895
|
-
initial: {
|
|
896
|
-
animate: {
|
|
897
|
-
exit: {
|
|
897
|
+
initial: { transform: "translateX(100%)" },
|
|
898
|
+
animate: { transform: "translateX(0%)" },
|
|
899
|
+
exit: { transform: "translateX(100%)" },
|
|
898
900
|
transition: brandSpring.default
|
|
899
901
|
},
|
|
900
902
|
/** Off-canvas panel entering from the left edge. */
|
|
901
903
|
slideFromLeft: {
|
|
902
|
-
initial: {
|
|
903
|
-
animate: {
|
|
904
|
-
exit: {
|
|
904
|
+
initial: { transform: "translateX(-100%)" },
|
|
905
|
+
animate: { transform: "translateX(0%)" },
|
|
906
|
+
exit: { transform: "translateX(-100%)" },
|
|
905
907
|
transition: brandSpring.default
|
|
906
908
|
},
|
|
907
909
|
/** Off-canvas panel entering from the top edge (banner, command bar). */
|
|
908
910
|
slideFromTop: {
|
|
909
|
-
initial: {
|
|
910
|
-
animate: {
|
|
911
|
-
exit: {
|
|
911
|
+
initial: { transform: "translateY(-100%)" },
|
|
912
|
+
animate: { transform: "translateY(0%)" },
|
|
913
|
+
exit: { transform: "translateY(-100%)" },
|
|
912
914
|
transition: brandSpring.default
|
|
913
915
|
},
|
|
914
916
|
/** Off-canvas panel entering from the bottom edge (mobile action sheet). */
|
|
915
917
|
slideFromBottom: {
|
|
916
|
-
initial: {
|
|
917
|
-
animate: {
|
|
918
|
-
exit: {
|
|
918
|
+
initial: { transform: "translateY(100%)" },
|
|
919
|
+
animate: { transform: "translateY(0%)" },
|
|
920
|
+
exit: { transform: "translateY(100%)" },
|
|
919
921
|
transition: brandSpring.default
|
|
920
922
|
}
|
|
921
923
|
};
|
|
@@ -925,7 +927,7 @@ function MotionDiv(props) {
|
|
|
925
927
|
function AnimateIn(props) {
|
|
926
928
|
const {
|
|
927
929
|
children,
|
|
928
|
-
preset = "
|
|
930
|
+
preset = "fade",
|
|
929
931
|
delay = 0,
|
|
930
932
|
duration,
|
|
931
933
|
inView = false,
|
|
@@ -933,7 +935,7 @@ function AnimateIn(props) {
|
|
|
933
935
|
...rest
|
|
934
936
|
} = props;
|
|
935
937
|
const shouldReduce = useReducedMotion();
|
|
936
|
-
const base = PRESETS[preset] || PRESETS.
|
|
938
|
+
const base = PRESETS[preset] || PRESETS.fade;
|
|
937
939
|
const initial = shouldReduce ? { opacity: 0 } : base.initial;
|
|
938
940
|
const animate2 = shouldReduce ? { opacity: 1 } : base.animate;
|
|
939
941
|
const exit = shouldReduce ? { opacity: 0 } : "exit" in base ? base.exit : void 0;
|
|
@@ -2196,7 +2198,7 @@ var DropdownMenuSubContent = ({
|
|
|
2196
2198
|
style,
|
|
2197
2199
|
ref,
|
|
2198
2200
|
...props
|
|
2199
|
-
}) => /* @__PURE__ */ jsx(Menu$1.Portal, { children: /* @__PURE__ */ jsx(Menu$1.Positioner, { children: /* @__PURE__ */ jsx(
|
|
2201
|
+
}) => /* @__PURE__ */ jsx(Menu$1.Portal, { children: /* @__PURE__ */ jsx(Menu$1.Positioner, { style: { zIndex: overlayZIndex.popover }, children: /* @__PURE__ */ jsx(
|
|
2200
2202
|
Menu$1.Popup,
|
|
2201
2203
|
{
|
|
2202
2204
|
ref,
|
|
@@ -2226,6 +2228,7 @@ var DropdownMenuContent = ({
|
|
|
2226
2228
|
align,
|
|
2227
2229
|
alignOffset,
|
|
2228
2230
|
side,
|
|
2231
|
+
style: { zIndex: overlayZIndex.popover },
|
|
2229
2232
|
children: /* @__PURE__ */ jsx(
|
|
2230
2233
|
Menu$1.Popup,
|
|
2231
2234
|
{
|
|
@@ -3483,7 +3486,11 @@ var comboboxSizeTokens = {
|
|
|
3483
3486
|
var comboboxTriggerVariants = cva(
|
|
3484
3487
|
[
|
|
3485
3488
|
"flex w-full items-center justify-between gap-2 whitespace-nowrap",
|
|
3486
|
-
|
|
3489
|
+
// --input-radius, not the generic md step: this trigger is a form control and
|
|
3490
|
+
// should round like Input and Select do. Reading the scale step meant it
|
|
3491
|
+
// tracked whatever a language did to medium surfaces instead of what it
|
|
3492
|
+
// decided for its fields.
|
|
3493
|
+
"h-[var(--combobox-trigger-height)] rounded-[var(--input-radius,var(--radius-md))] border border-input bg-background px-[var(--combobox-trigger-padding-x)]",
|
|
3487
3494
|
"text-[length:var(--combobox-font-size)] ring-offset-background",
|
|
3488
3495
|
"transition-colors duration-micro ease-out",
|
|
3489
3496
|
"placeholder:text-muted-foreground",
|
|
@@ -4003,19 +4010,54 @@ var ContextMenu = Object.assign(ContextMenuRoot, {
|
|
|
4003
4010
|
SubContent: ContextMenuSubContent
|
|
4004
4011
|
});
|
|
4005
4012
|
var DEFAULT_TOOLTIP_DELAY_MS = 150;
|
|
4013
|
+
var SKIP_DELAY_WINDOW_MS = 400;
|
|
4014
|
+
var lastTooltipOpenAt = 0;
|
|
4015
|
+
var skipDelayListeners = /* @__PURE__ */ new Set();
|
|
4016
|
+
function markTooltipOpened() {
|
|
4017
|
+
lastTooltipOpenAt = Date.now();
|
|
4018
|
+
for (const listener of skipDelayListeners) listener();
|
|
4019
|
+
}
|
|
4020
|
+
function shouldSkipDelay() {
|
|
4021
|
+
return Date.now() - lastTooltipOpenAt < SKIP_DELAY_WINDOW_MS;
|
|
4022
|
+
}
|
|
4023
|
+
function useSkipDelay() {
|
|
4024
|
+
const [, tick] = React24.useReducer((count) => count + 1, 0);
|
|
4025
|
+
React24.useEffect(() => {
|
|
4026
|
+
skipDelayListeners.add(tick);
|
|
4027
|
+
return () => {
|
|
4028
|
+
skipDelayListeners.delete(tick);
|
|
4029
|
+
};
|
|
4030
|
+
}, []);
|
|
4031
|
+
return shouldSkipDelay();
|
|
4032
|
+
}
|
|
4033
|
+
var TooltipInstantContext = React24.createContext(false);
|
|
4006
4034
|
var TooltipProvider = ({
|
|
4007
4035
|
children,
|
|
4008
4036
|
delayDuration = DEFAULT_TOOLTIP_DELAY_MS
|
|
4009
4037
|
}) => {
|
|
4010
|
-
|
|
4038
|
+
const skipDelay = useSkipDelay();
|
|
4039
|
+
return /* @__PURE__ */ jsx(Tooltip$1.Provider, { delay: skipDelay ? 0 : delayDuration, children });
|
|
4011
4040
|
};
|
|
4012
4041
|
var Tooltip = ({
|
|
4013
4042
|
delayDuration,
|
|
4014
4043
|
children,
|
|
4044
|
+
onOpenChange,
|
|
4015
4045
|
...props
|
|
4016
4046
|
}) => {
|
|
4017
|
-
const
|
|
4018
|
-
|
|
4047
|
+
const skipDelay = useSkipDelay();
|
|
4048
|
+
const instant = delayDuration == null && skipDelay;
|
|
4049
|
+
const delay = delayDuration ?? (instant ? 0 : DEFAULT_TOOLTIP_DELAY_MS);
|
|
4050
|
+
return /* @__PURE__ */ jsx(TooltipInstantContext.Provider, { value: instant, children: /* @__PURE__ */ jsx(Tooltip$1.Provider, { delay, children: /* @__PURE__ */ jsx(
|
|
4051
|
+
Tooltip$1.Root,
|
|
4052
|
+
{
|
|
4053
|
+
...props,
|
|
4054
|
+
onOpenChange: (open, eventDetails) => {
|
|
4055
|
+
if (open) markTooltipOpened();
|
|
4056
|
+
onOpenChange?.(open, eventDetails);
|
|
4057
|
+
},
|
|
4058
|
+
children
|
|
4059
|
+
}
|
|
4060
|
+
) }) });
|
|
4019
4061
|
};
|
|
4020
4062
|
var TooltipTrigger = ({
|
|
4021
4063
|
asChild,
|
|
@@ -4045,25 +4087,29 @@ var TooltipContent = ({
|
|
|
4045
4087
|
alignOffset = 0,
|
|
4046
4088
|
ref,
|
|
4047
4089
|
...props
|
|
4048
|
-
}) =>
|
|
4049
|
-
|
|
4050
|
-
{
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4090
|
+
}) => {
|
|
4091
|
+
const instant = React24.use(TooltipInstantContext);
|
|
4092
|
+
return /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
4093
|
+
Tooltip$1.Positioner,
|
|
4094
|
+
{
|
|
4095
|
+
side,
|
|
4096
|
+
align,
|
|
4097
|
+
sideOffset,
|
|
4098
|
+
alignOffset,
|
|
4099
|
+
style: { zIndex: overlayZIndex.tooltip },
|
|
4100
|
+
children: /* @__PURE__ */ jsx(
|
|
4101
|
+
Tooltip$1.Popup,
|
|
4102
|
+
{
|
|
4103
|
+
ref,
|
|
4104
|
+
className: cn(overlayClassNames.tooltipSurface, className),
|
|
4105
|
+
"data-instant": instant || void 0,
|
|
4106
|
+
style: { zIndex: overlayZIndex.tooltip, ...style },
|
|
4107
|
+
...props
|
|
4108
|
+
}
|
|
4109
|
+
)
|
|
4110
|
+
}
|
|
4111
|
+
) });
|
|
4112
|
+
};
|
|
4067
4113
|
TooltipContent.displayName = "TooltipContent";
|
|
4068
4114
|
var COPIED_TINT = "text-[hsl(var(--success-strong))]";
|
|
4069
4115
|
function CopiedAnnouncement({ copied, message }) {
|
|
@@ -5488,7 +5534,7 @@ var inputControlButtonVariants = cva(
|
|
|
5488
5534
|
[
|
|
5489
5535
|
"absolute right-[var(--input-control-inset)] top-1/2 flex size-[var(--input-control-size)] -translate-y-1/2 items-center justify-center",
|
|
5490
5536
|
"rounded-[var(--radius-sm)] text-muted-foreground transition-colors duration-micro ease-out",
|
|
5491
|
-
"hover:bg-accent hover:text-foreground",
|
|
5537
|
+
"hover:bg-accent hover:text-accent-foreground",
|
|
5492
5538
|
"focus-visible:outline-none",
|
|
5493
5539
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
5494
5540
|
"[&_svg]:size-[var(--input-control-icon-size)]"
|
|
@@ -8429,7 +8475,7 @@ var radioControlClassName = cn(
|
|
|
8429
8475
|
"relative inline-flex shrink-0 items-center justify-center rounded-[var(--radius-full)] border-[length:var(--radio-border-width)] border-border bg-background text-foreground",
|
|
8430
8476
|
"size-[var(--radio-control-size)]",
|
|
8431
8477
|
"transition-[background-color,border-color,box-shadow] duration-[var(--radio-motion-duration)] ease-[var(--radio-motion-easing)]",
|
|
8432
|
-
"after:size-[var(--radio-dot-size)] after:scale-
|
|
8478
|
+
"after:size-[var(--radio-dot-size)] after:scale-95 after:rounded-[var(--radius-full)] after:bg-current after:opacity-0 after:transition-[opacity,transform] after:duration-[var(--radio-motion-duration)] after:ease-[var(--radio-motion-easing)] after:content-['']",
|
|
8433
8479
|
"peer-checked:border-[var(--neutral-12)] peer-checked:after:scale-100 peer-checked:after:opacity-100",
|
|
8434
8480
|
"peer-focus-visible:outline-none",
|
|
8435
8481
|
"peer-disabled:border-[var(--neutral-5)] peer-disabled:bg-muted peer-disabled:text-[var(--neutral-8)]"
|