@ship-it-ui/ui 0.0.5 → 0.0.6
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/index.cjs +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -8
- package/dist/index.d.ts +20 -8
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -919,16 +919,27 @@ declare const ToastCard: react.ForwardRefExoticComponent<ToastCardProps & react.
|
|
|
919
919
|
/**
|
|
920
920
|
* Tooltip — small, transient label that appears on hover/focus.
|
|
921
921
|
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
922
|
+
* Two surfaces:
|
|
923
|
+
*
|
|
924
|
+
* - `<SimpleTooltip content="…">` is the one-liner. Pass a `content` prop and a
|
|
925
|
+
* single trigger child; it bundles its own `TooltipProvider`. Use this for
|
|
926
|
+
* ad-hoc tooltips on icon buttons and standalone widgets.
|
|
927
|
+
* - `<Tooltip>` is the Radix root for composition. Pair it with
|
|
928
|
+
* `<TooltipTrigger>` and `<TooltipContent>` and wrap your subtree in a
|
|
929
|
+
* shared `<TooltipProvider>` when you have many tooltips that should share
|
|
930
|
+
* delay configuration (lists, toolbars, command palettes).
|
|
931
|
+
*
|
|
932
|
+
* Naming follows the rest of this library (`Dialog`, `Popover`, …): the root
|
|
933
|
+
* component takes the unqualified name; convenience helpers carry a
|
|
934
|
+
* qualifying prefix.
|
|
924
935
|
*/
|
|
925
936
|
declare const TooltipProvider: react.FC<RadixTooltip.TooltipProviderProps>;
|
|
926
|
-
declare const
|
|
937
|
+
declare const Tooltip: react.FC<RadixTooltip.TooltipProps>;
|
|
927
938
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<RadixTooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
928
939
|
declare const TooltipPortal: react.FC<RadixTooltip.TooltipPortalProps>;
|
|
929
940
|
declare const TooltipArrow: react.ForwardRefExoticComponent<RadixTooltip.TooltipArrowProps & react.RefAttributes<SVGSVGElement>>;
|
|
930
941
|
declare const TooltipContent: react.ForwardRefExoticComponent<RadixTooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
931
|
-
interface
|
|
942
|
+
interface SimpleTooltipProps {
|
|
932
943
|
/** Tooltip text/content. */
|
|
933
944
|
content: ReactNode;
|
|
934
945
|
/** Trigger element — usually a Button or IconButton. */
|
|
@@ -939,10 +950,11 @@ interface TooltipProps {
|
|
|
939
950
|
delayDuration?: number;
|
|
940
951
|
}
|
|
941
952
|
/**
|
|
942
|
-
* One-liner tooltip
|
|
943
|
-
*
|
|
953
|
+
* One-liner tooltip — bundles its own `TooltipProvider`. For composition
|
|
954
|
+
* (multiple triggers in a list, shared delay config), use the lower-level
|
|
955
|
+
* `Tooltip` + `TooltipTrigger` + `TooltipContent` primitives.
|
|
944
956
|
*/
|
|
945
|
-
declare function
|
|
957
|
+
declare function SimpleTooltip({ content, children, side, delayDuration, }: SimpleTooltipProps): react_jsx_runtime.JSX.Element;
|
|
946
958
|
|
|
947
959
|
/**
|
|
948
960
|
* Alert — inline messaging block. Four tones (accent / ok / warn / err) with a
|
|
@@ -2017,4 +2029,4 @@ interface WizardDialogProps {
|
|
|
2017
2029
|
}
|
|
2018
2030
|
declare const WizardDialog: react.ForwardRefExoticComponent<WizardDialogProps & react.RefAttributes<HTMLDivElement>>;
|
|
2019
2031
|
|
|
2020
|
-
export { type ActivityActor, type ActivityEvent, ActivityTimeline, type ActivityTimelineProps, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, type AlertDialogProps, AlertDialogRoot, AlertDialogTrigger, type AlertProps, type AlertTone, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardLink, type CardLinkProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, ContextMenu, ContextMenuContent, ContextMenuItem, type ContextMenuItemProps, ContextMenuPortal, ContextMenuRoot, ContextMenuSeparator, ContextMenuTrigger, Crumb, type CrumbProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogOverlay, DialogPortal, type DialogProps, DialogRoot, DialogTrigger, Dots, type DotsProps, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuTrigger, Dropzone, type DropzoneProps, EmptyState, type EmptyStateProps, FAB, type FABProps, Field, type FieldProps, FileChip, type FileChipProps, type FilterFacet, type FilterFacetOption, FilterPanel, type FilterPanelProps, type FilterPanelValue, HealthScore, type HealthScoreBreakdownEntry, type HealthScoreProps, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardRoot, HoverCardTrigger, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, LargeTitle, type LargeTitleProps, MenuCheckboxItem, MenuItem, type MenuItemProps, MenuSeparator, Menubar, MenubarContent, MenubarItem, type MenubarItemProps, MenubarMenu, MenubarSeparator, MenubarTrigger, NavBar, type NavBarItem, type NavBarOrientation, type NavBarProps, NavItem, type NavItemProps, NavSection, type NavSectionProps, type NormalizedOption, OTP, type OTPHandle, type OTPProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingItem, type OnboardingItemStatus, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, type PullToRefreshState, RadialProgress, type RadialProgressProps, type RadialTone, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectTrigger, SelectValue, Sheet, type SheetProps, Sidebar, type SidebarProps, Skeleton, SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, StatCard, type StatCardProps, type StatTrend, StatusDot, type StatusDotProps, type StatusState, type StepState, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, Tab, TabBar, type TabBarItem, type TabBarProps, type TabProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsVariantProps, Tag, type TagProps, Textarea, type TextareaProps, type Theme, Timeline, type TimelineEvent, type TimelineEventTone, TimelineItem, type TimelineItemProps, type TimelineProps, ToastCard, type ToastInput, ToastProvider, type ToastVariant, Tooltip, TooltipArrow, TooltipContent, TooltipPortal,
|
|
2032
|
+
export { type ActivityActor, type ActivityEvent, ActivityTimeline, type ActivityTimelineProps, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, type AlertDialogProps, AlertDialogRoot, AlertDialogTrigger, type AlertProps, type AlertTone, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardLink, type CardLinkProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, ContextMenu, ContextMenuContent, ContextMenuItem, type ContextMenuItemProps, ContextMenuPortal, ContextMenuRoot, ContextMenuSeparator, ContextMenuTrigger, Crumb, type CrumbProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogOverlay, DialogPortal, type DialogProps, DialogRoot, DialogTrigger, Dots, type DotsProps, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuTrigger, Dropzone, type DropzoneProps, EmptyState, type EmptyStateProps, FAB, type FABProps, Field, type FieldProps, FileChip, type FileChipProps, type FilterFacet, type FilterFacetOption, FilterPanel, type FilterPanelProps, type FilterPanelValue, HealthScore, type HealthScoreBreakdownEntry, type HealthScoreProps, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardRoot, HoverCardTrigger, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, LargeTitle, type LargeTitleProps, MenuCheckboxItem, MenuItem, type MenuItemProps, MenuSeparator, Menubar, MenubarContent, MenubarItem, type MenubarItemProps, MenubarMenu, MenubarSeparator, MenubarTrigger, NavBar, type NavBarItem, type NavBarOrientation, type NavBarProps, NavItem, type NavItemProps, NavSection, type NavSectionProps, type NormalizedOption, OTP, type OTPHandle, type OTPProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingItem, type OnboardingItemStatus, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, type PullToRefreshState, RadialProgress, type RadialProgressProps, type RadialTone, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectTrigger, SelectValue, Sheet, type SheetProps, Sidebar, type SidebarProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, StatCard, type StatCardProps, type StatTrend, StatusDot, type StatusDotProps, type StatusState, type StepState, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, Tab, TabBar, type TabBarItem, type TabBarProps, type TabProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsVariantProps, Tag, type TagProps, Textarea, type TextareaProps, type Theme, Timeline, type TimelineEvent, type TimelineEventTone, TimelineItem, type TimelineItemProps, type TimelineProps, ToastCard, type ToastInput, ToastProvider, type ToastVariant, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Topbar, type TopbarProps, Tree, type TreeItem, type TreeProps, type UseControllableStateProps, type UseKeyboardListOptions, type UseKeyboardListResult, type WizardContext, WizardDialog, type WizardDialogProps, type WizardStep, badgeStyles, buttonStyles, cardStyles, cn, filterCommandItems, formatRelative, iconButtonStyles, useControllableState, useDisclosure, useEscape, useIsomorphicLayoutEffect, useKeyboardList, useOutsideClick, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -919,16 +919,27 @@ declare const ToastCard: react.ForwardRefExoticComponent<ToastCardProps & react.
|
|
|
919
919
|
/**
|
|
920
920
|
* Tooltip — small, transient label that appears on hover/focus.
|
|
921
921
|
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
922
|
+
* Two surfaces:
|
|
923
|
+
*
|
|
924
|
+
* - `<SimpleTooltip content="…">` is the one-liner. Pass a `content` prop and a
|
|
925
|
+
* single trigger child; it bundles its own `TooltipProvider`. Use this for
|
|
926
|
+
* ad-hoc tooltips on icon buttons and standalone widgets.
|
|
927
|
+
* - `<Tooltip>` is the Radix root for composition. Pair it with
|
|
928
|
+
* `<TooltipTrigger>` and `<TooltipContent>` and wrap your subtree in a
|
|
929
|
+
* shared `<TooltipProvider>` when you have many tooltips that should share
|
|
930
|
+
* delay configuration (lists, toolbars, command palettes).
|
|
931
|
+
*
|
|
932
|
+
* Naming follows the rest of this library (`Dialog`, `Popover`, …): the root
|
|
933
|
+
* component takes the unqualified name; convenience helpers carry a
|
|
934
|
+
* qualifying prefix.
|
|
924
935
|
*/
|
|
925
936
|
declare const TooltipProvider: react.FC<RadixTooltip.TooltipProviderProps>;
|
|
926
|
-
declare const
|
|
937
|
+
declare const Tooltip: react.FC<RadixTooltip.TooltipProps>;
|
|
927
938
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<RadixTooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
928
939
|
declare const TooltipPortal: react.FC<RadixTooltip.TooltipPortalProps>;
|
|
929
940
|
declare const TooltipArrow: react.ForwardRefExoticComponent<RadixTooltip.TooltipArrowProps & react.RefAttributes<SVGSVGElement>>;
|
|
930
941
|
declare const TooltipContent: react.ForwardRefExoticComponent<RadixTooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
931
|
-
interface
|
|
942
|
+
interface SimpleTooltipProps {
|
|
932
943
|
/** Tooltip text/content. */
|
|
933
944
|
content: ReactNode;
|
|
934
945
|
/** Trigger element — usually a Button or IconButton. */
|
|
@@ -939,10 +950,11 @@ interface TooltipProps {
|
|
|
939
950
|
delayDuration?: number;
|
|
940
951
|
}
|
|
941
952
|
/**
|
|
942
|
-
* One-liner tooltip
|
|
943
|
-
*
|
|
953
|
+
* One-liner tooltip — bundles its own `TooltipProvider`. For composition
|
|
954
|
+
* (multiple triggers in a list, shared delay config), use the lower-level
|
|
955
|
+
* `Tooltip` + `TooltipTrigger` + `TooltipContent` primitives.
|
|
944
956
|
*/
|
|
945
|
-
declare function
|
|
957
|
+
declare function SimpleTooltip({ content, children, side, delayDuration, }: SimpleTooltipProps): react_jsx_runtime.JSX.Element;
|
|
946
958
|
|
|
947
959
|
/**
|
|
948
960
|
* Alert — inline messaging block. Four tones (accent / ok / warn / err) with a
|
|
@@ -2017,4 +2029,4 @@ interface WizardDialogProps {
|
|
|
2017
2029
|
}
|
|
2018
2030
|
declare const WizardDialog: react.ForwardRefExoticComponent<WizardDialogProps & react.RefAttributes<HTMLDivElement>>;
|
|
2019
2031
|
|
|
2020
|
-
export { type ActivityActor, type ActivityEvent, ActivityTimeline, type ActivityTimelineProps, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, type AlertDialogProps, AlertDialogRoot, AlertDialogTrigger, type AlertProps, type AlertTone, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardLink, type CardLinkProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, ContextMenu, ContextMenuContent, ContextMenuItem, type ContextMenuItemProps, ContextMenuPortal, ContextMenuRoot, ContextMenuSeparator, ContextMenuTrigger, Crumb, type CrumbProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogOverlay, DialogPortal, type DialogProps, DialogRoot, DialogTrigger, Dots, type DotsProps, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuTrigger, Dropzone, type DropzoneProps, EmptyState, type EmptyStateProps, FAB, type FABProps, Field, type FieldProps, FileChip, type FileChipProps, type FilterFacet, type FilterFacetOption, FilterPanel, type FilterPanelProps, type FilterPanelValue, HealthScore, type HealthScoreBreakdownEntry, type HealthScoreProps, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardRoot, HoverCardTrigger, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, LargeTitle, type LargeTitleProps, MenuCheckboxItem, MenuItem, type MenuItemProps, MenuSeparator, Menubar, MenubarContent, MenubarItem, type MenubarItemProps, MenubarMenu, MenubarSeparator, MenubarTrigger, NavBar, type NavBarItem, type NavBarOrientation, type NavBarProps, NavItem, type NavItemProps, NavSection, type NavSectionProps, type NormalizedOption, OTP, type OTPHandle, type OTPProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingItem, type OnboardingItemStatus, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, type PullToRefreshState, RadialProgress, type RadialProgressProps, type RadialTone, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectTrigger, SelectValue, Sheet, type SheetProps, Sidebar, type SidebarProps, Skeleton, SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, StatCard, type StatCardProps, type StatTrend, StatusDot, type StatusDotProps, type StatusState, type StepState, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, Tab, TabBar, type TabBarItem, type TabBarProps, type TabProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsVariantProps, Tag, type TagProps, Textarea, type TextareaProps, type Theme, Timeline, type TimelineEvent, type TimelineEventTone, TimelineItem, type TimelineItemProps, type TimelineProps, ToastCard, type ToastInput, ToastProvider, type ToastVariant, Tooltip, TooltipArrow, TooltipContent, TooltipPortal,
|
|
2032
|
+
export { type ActivityActor, type ActivityEvent, ActivityTimeline, type ActivityTimelineProps, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, type AlertDialogProps, AlertDialogRoot, AlertDialogTrigger, type AlertProps, type AlertTone, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardLink, type CardLinkProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, ContextMenu, ContextMenuContent, ContextMenuItem, type ContextMenuItemProps, ContextMenuPortal, ContextMenuRoot, ContextMenuSeparator, ContextMenuTrigger, Crumb, type CrumbProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogOverlay, DialogPortal, type DialogProps, DialogRoot, DialogTrigger, Dots, type DotsProps, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuTrigger, Dropzone, type DropzoneProps, EmptyState, type EmptyStateProps, FAB, type FABProps, Field, type FieldProps, FileChip, type FileChipProps, type FilterFacet, type FilterFacetOption, FilterPanel, type FilterPanelProps, type FilterPanelValue, HealthScore, type HealthScoreBreakdownEntry, type HealthScoreProps, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardRoot, HoverCardTrigger, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, LargeTitle, type LargeTitleProps, MenuCheckboxItem, MenuItem, type MenuItemProps, MenuSeparator, Menubar, MenubarContent, MenubarItem, type MenubarItemProps, MenubarMenu, MenubarSeparator, MenubarTrigger, NavBar, type NavBarItem, type NavBarOrientation, type NavBarProps, NavItem, type NavItemProps, NavSection, type NavSectionProps, type NormalizedOption, OTP, type OTPHandle, type OTPProps, OnboardingChecklist, type OnboardingChecklistProps, type OnboardingItem, type OnboardingItemStatus, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, type PullToRefreshState, RadialProgress, type RadialProgressProps, type RadialTone, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ScrollArea, type ScrollAreaProps, type ScrollAreaType, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectTrigger, SelectValue, Sheet, type SheetProps, Sidebar, type SidebarProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, StatCard, type StatCardProps, type StatTrend, StatusDot, type StatusDotProps, type StatusState, type StepState, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, Tab, TabBar, type TabBarItem, type TabBarProps, type TabProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsVariantProps, Tag, type TagProps, Textarea, type TextareaProps, type Theme, Timeline, type TimelineEvent, type TimelineEventTone, TimelineItem, type TimelineItemProps, type TimelineProps, ToastCard, type ToastInput, ToastProvider, type ToastVariant, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Topbar, type TopbarProps, Tree, type TreeItem, type TreeProps, type UseControllableStateProps, type UseKeyboardListOptions, type UseKeyboardListResult, type WizardContext, WizardDialog, type WizardDialogProps, type WizardStep, badgeStyles, buttonStyles, cardStyles, cn, filterCommandItems, formatRelative, iconButtonStyles, useControllableState, useDisclosure, useEscape, useIsomorphicLayoutEffect, useKeyboardList, useOutsideClick, useTheme, useToast };
|
package/dist/index.js
CHANGED
|
@@ -2150,7 +2150,7 @@ import * as RadixTooltip from "@radix-ui/react-tooltip";
|
|
|
2150
2150
|
import { forwardRef as forwardRef35 } from "react";
|
|
2151
2151
|
import { jsx as jsx36, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2152
2152
|
var TooltipProvider = RadixTooltip.Provider;
|
|
2153
|
-
var
|
|
2153
|
+
var Tooltip = RadixTooltip.Root;
|
|
2154
2154
|
var TooltipTrigger = RadixTooltip.Trigger;
|
|
2155
2155
|
var TooltipPortal = RadixTooltip.Portal;
|
|
2156
2156
|
var TooltipArrow = RadixTooltip.Arrow;
|
|
@@ -2173,8 +2173,13 @@ var TooltipContent = forwardRef35(
|
|
|
2173
2173
|
}
|
|
2174
2174
|
);
|
|
2175
2175
|
TooltipContent.displayName = "TooltipContent";
|
|
2176
|
-
function
|
|
2177
|
-
|
|
2176
|
+
function SimpleTooltip({
|
|
2177
|
+
content,
|
|
2178
|
+
children,
|
|
2179
|
+
side = "top",
|
|
2180
|
+
delayDuration = 400
|
|
2181
|
+
}) {
|
|
2182
|
+
return /* @__PURE__ */ jsx36(TooltipProvider, { delayDuration, children: /* @__PURE__ */ jsxs29(Tooltip, { children: [
|
|
2178
2183
|
/* @__PURE__ */ jsx36(TooltipTrigger, { asChild: true, children }),
|
|
2179
2184
|
/* @__PURE__ */ jsx36(TooltipContent, { side, children: content })
|
|
2180
2185
|
] }) });
|
|
@@ -5656,6 +5661,7 @@ export {
|
|
|
5656
5661
|
SelectValue,
|
|
5657
5662
|
Sheet,
|
|
5658
5663
|
Sidebar,
|
|
5664
|
+
SimpleTooltip,
|
|
5659
5665
|
Skeleton,
|
|
5660
5666
|
SkeletonGroup,
|
|
5661
5667
|
Slider,
|
|
@@ -5682,7 +5688,6 @@ export {
|
|
|
5682
5688
|
TooltipContent,
|
|
5683
5689
|
TooltipPortal,
|
|
5684
5690
|
TooltipProvider,
|
|
5685
|
-
TooltipRoot,
|
|
5686
5691
|
TooltipTrigger,
|
|
5687
5692
|
Topbar,
|
|
5688
5693
|
Tree,
|