@nuvia/components 0.2.0 → 0.3.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/hooks/use-mobile.d.cts +3 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-toast.d.cts +49 -0
- package/dist/hooks/use-toast.d.ts +49 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +101 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/fonts.d.cts +3 -0
- package/dist/lib/fonts.d.ts +3 -0
- package/dist/lib/utils.d.cts +9 -0
- package/dist/lib/utils.d.ts +9 -0
- package/dist/providers/theme.d.cts +6 -0
- package/dist/providers/theme.d.ts +6 -0
- package/dist/ui/accordion.d.cts +9 -0
- package/dist/ui/accordion.d.ts +9 -0
- package/dist/ui/alert-dialog.d.cts +23 -0
- package/dist/ui/alert-dialog.d.ts +23 -0
- package/dist/ui/alert.d.cts +11 -0
- package/dist/ui/alert.d.ts +11 -0
- package/dist/ui/aspect-ratio.d.cts +6 -0
- package/dist/ui/aspect-ratio.d.ts +6 -0
- package/dist/ui/auto-complete.d.cts +40 -0
- package/dist/ui/auto-complete.d.ts +40 -0
- package/dist/ui/avatar.d.cts +8 -0
- package/dist/ui/avatar.d.ts +8 -0
- package/dist/ui/badge.d.cts +13 -0
- package/dist/ui/badge.d.ts +13 -0
- package/dist/ui/breadcrumb.d.cts +22 -0
- package/dist/ui/breadcrumb.d.ts +22 -0
- package/dist/ui/button.d.cts +14 -0
- package/dist/ui/button.d.ts +14 -0
- package/dist/ui/calendar.d.cts +11 -0
- package/dist/ui/calendar.d.ts +11 -0
- package/dist/ui/card.d.cts +10 -0
- package/dist/ui/card.d.ts +10 -0
- package/dist/ui/carousel.d.cts +23 -0
- package/dist/ui/carousel.d.ts +23 -0
- package/dist/ui/chart.d.cts +69 -0
- package/dist/ui/chart.d.ts +69 -0
- package/dist/ui/checkbox.d.cts +6 -0
- package/dist/ui/checkbox.d.ts +6 -0
- package/dist/ui/chip.d.cts +23 -0
- package/dist/ui/chip.d.ts +23 -0
- package/dist/ui/collapsible.d.cts +8 -0
- package/dist/ui/collapsible.d.ts +8 -0
- package/dist/ui/combobox.d.cts +21 -0
- package/dist/ui/combobox.d.ts +21 -0
- package/dist/ui/command.d.cts +83 -0
- package/dist/ui/command.d.ts +83 -0
- package/dist/ui/context-menu.d.cts +30 -0
- package/dist/ui/context-menu.d.ts +30 -0
- package/dist/ui/dialog.d.cts +24 -0
- package/dist/ui/dialog.d.ts +24 -0
- package/dist/ui/drawer.d.cts +27 -0
- package/dist/ui/drawer.d.ts +27 -0
- package/dist/ui/dropdown-menu.d.cts +31 -0
- package/dist/ui/dropdown-menu.d.ts +31 -0
- package/dist/ui/form.d.cts +31 -0
- package/dist/ui/form.d.ts +31 -0
- package/dist/ui/hover-card.d.cts +8 -0
- package/dist/ui/hover-card.d.ts +8 -0
- package/dist/ui/input-otp.d.cts +37 -0
- package/dist/ui/input-otp.d.ts +37 -0
- package/dist/ui/input.d.cts +5 -0
- package/dist/ui/input.d.ts +5 -0
- package/dist/ui/label.d.cts +10 -0
- package/dist/ui/label.d.ts +10 -0
- package/dist/ui/logo/index.d.cts +73 -0
- package/dist/ui/logo/index.d.ts +73 -0
- package/dist/ui/lottie-animation.d.cts +43 -0
- package/dist/ui/lottie-animation.d.ts +43 -0
- package/dist/ui/menubar.cjs.map +1 -1
- package/dist/ui/menubar.d.cts +31 -0
- package/dist/ui/menubar.d.ts +31 -0
- package/dist/ui/menubar.js.map +1 -1
- package/dist/ui/multi-combobox.d.cts +24 -0
- package/dist/ui/multi-combobox.d.ts +24 -0
- package/dist/ui/navigation-menu.d.cts +15 -0
- package/dist/ui/navigation-menu.d.ts +15 -0
- package/dist/ui/pagination.d.cts +33 -0
- package/dist/ui/pagination.d.ts +33 -0
- package/dist/ui/popover.d.cts +9 -0
- package/dist/ui/popover.d.ts +9 -0
- package/dist/ui/progress.d.cts +6 -0
- package/dist/ui/progress.d.ts +6 -0
- package/dist/ui/radio-group.d.cts +7 -0
- package/dist/ui/radio-group.d.ts +7 -0
- package/dist/ui/resizable.d.cts +27 -0
- package/dist/ui/resizable.d.ts +27 -0
- package/dist/ui/scroll-area.d.cts +7 -0
- package/dist/ui/scroll-area.d.ts +7 -0
- package/dist/ui/select.d.cts +15 -0
- package/dist/ui/select.d.ts +15 -0
- package/dist/ui/separator.d.cts +6 -0
- package/dist/ui/separator.d.ts +6 -0
- package/dist/ui/sheet.d.cts +29 -0
- package/dist/ui/sheet.d.ts +29 -0
- package/dist/ui/sidebar.d.cts +72 -0
- package/dist/ui/sidebar.d.ts +72 -0
- package/dist/ui/skeleton.d.cts +5 -0
- package/dist/ui/skeleton.d.ts +5 -0
- package/dist/ui/slider.d.cts +6 -0
- package/dist/ui/slider.d.ts +6 -0
- package/dist/ui/sonner.d.cts +8 -0
- package/dist/ui/sonner.d.ts +8 -0
- package/dist/ui/spinner.d.cts +12 -0
- package/dist/ui/spinner.d.ts +12 -0
- package/dist/ui/switch.d.cts +8 -0
- package/dist/ui/switch.d.ts +8 -0
- package/dist/ui/table.d.cts +15 -0
- package/dist/ui/table.d.ts +15 -0
- package/dist/ui/tabs.d.cts +14 -0
- package/dist/ui/tabs.d.ts +14 -0
- package/dist/ui/textarea.d.cts +5 -0
- package/dist/ui/textarea.d.ts +5 -0
- package/dist/ui/toast.d.cts +18 -0
- package/dist/ui/toast.d.ts +18 -0
- package/dist/ui/toaster.d.cts +5 -0
- package/dist/ui/toaster.d.ts +5 -0
- package/dist/ui/toggle-group.d.cts +15 -0
- package/dist/ui/toggle-group.d.ts +15 -0
- package/dist/ui/toggle.d.cts +15 -0
- package/dist/ui/toggle.d.ts +15 -0
- package/dist/ui/tooltip.d.cts +9 -0
- package/dist/ui/tooltip.d.ts +9 -0
- package/package.json +15 -13
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
4
|
+
containerClassName?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
7
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
8
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
9
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
10
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
11
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
12
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
13
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
14
|
+
|
|
15
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
+
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
6
|
+
variant?: "switch" | "tab";
|
|
7
|
+
}
|
|
8
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
10
|
+
variant?: "switch" | "tab";
|
|
11
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
|
|
14
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
+
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
6
|
+
variant?: "switch" | "tab";
|
|
7
|
+
}
|
|
8
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
10
|
+
variant?: "switch" | "tab";
|
|
11
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
|
|
14
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
7
|
+
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
8
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
11
|
+
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
16
|
+
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
17
|
+
|
|
18
|
+
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
7
|
+
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
8
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
11
|
+
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
16
|
+
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
17
|
+
|
|
18
|
+
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
7
|
+
variant?: "default" | "outline" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
|
+
variant?: "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
7
|
+
variant?: "default" | "outline" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
|
+
variant?: "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const toggleVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "outline" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
|
+
variant?: "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
export { Toggle, toggleVariants };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const toggleVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "outline" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
|
+
variant?: "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
export { Toggle, toggleVariants };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
|
|
4
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
5
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
6
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
|
|
4
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
5
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
6
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuvia/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
10
11
|
"import": "./dist/index.js",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
13
|
},
|
|
14
14
|
"./ui/*": {
|
|
15
|
+
"types": "./dist/ui/*.d.ts",
|
|
15
16
|
"import": "./dist/ui/*.js",
|
|
16
|
-
"require": "./dist/ui/*.cjs"
|
|
17
|
-
"types": "./dist/ui/*.d.ts"
|
|
17
|
+
"require": "./dist/ui/*.cjs"
|
|
18
18
|
},
|
|
19
19
|
"./ui/logo": {
|
|
20
|
+
"types": "./dist/ui/logo/index.d.ts",
|
|
20
21
|
"import": "./dist/ui/logo/index.js",
|
|
21
|
-
"require": "./dist/ui/logo/index.cjs"
|
|
22
|
-
"types": "./dist/ui/logo/index.d.ts"
|
|
22
|
+
"require": "./dist/ui/logo/index.cjs"
|
|
23
23
|
},
|
|
24
24
|
"./hooks/*": {
|
|
25
|
+
"types": "./dist/hooks/*.d.ts",
|
|
25
26
|
"import": "./dist/hooks/*.js",
|
|
26
|
-
"require": "./dist/hooks/*.cjs"
|
|
27
|
-
"types": "./dist/hooks/*.d.ts"
|
|
27
|
+
"require": "./dist/hooks/*.cjs"
|
|
28
28
|
},
|
|
29
29
|
"./lib/*": {
|
|
30
|
+
"types": "./dist/lib/*.d.ts",
|
|
30
31
|
"import": "./dist/lib/*.js",
|
|
31
|
-
"require": "./dist/lib/*.cjs"
|
|
32
|
-
"types": "./dist/lib/*.d.ts"
|
|
32
|
+
"require": "./dist/lib/*.cjs"
|
|
33
33
|
},
|
|
34
34
|
"./providers/*": {
|
|
35
|
+
"types": "./dist/providers/*.d.ts",
|
|
35
36
|
"import": "./dist/providers/*.js",
|
|
36
|
-
"require": "./dist/providers/*.cjs"
|
|
37
|
-
"types": "./dist/providers/*.d.ts"
|
|
37
|
+
"require": "./dist/providers/*.cjs"
|
|
38
38
|
},
|
|
39
39
|
"./styles/globals.css": "./src/styles/globals.css"
|
|
40
40
|
},
|
|
@@ -99,6 +99,8 @@
|
|
|
99
99
|
"@types/node": "^22.10.7",
|
|
100
100
|
"@types/react": "^19.0.7",
|
|
101
101
|
"@types/react-dom": "^19.0.3",
|
|
102
|
+
"lottie-react": "^2.4.1",
|
|
103
|
+
"next-intl": "^4.7.0",
|
|
102
104
|
"postcss": "^8.5.1",
|
|
103
105
|
"tailwindcss": "^4.1.18",
|
|
104
106
|
"tsup": "^8.3.5",
|