@nuka-ui/core 1.0.0 → 1.0.1
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/README.md +1 -1
- package/dist/components/Accordion/Accordion.context.d.ts +2 -2
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/index.d.ts +10 -10
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.variants.d.ts +2 -2
- package/dist/components/Alert/index.d.ts +4 -4
- package/dist/components/AppShell/index.d.ts +8 -8
- package/dist/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/dist/components/AspectRatio/index.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.variants.d.ts +2 -2
- package/dist/components/Avatar/index.d.ts +4 -4
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.variants.d.ts +2 -2
- package/dist/components/Badge/index.d.ts +4 -4
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.variants.d.ts +2 -2
- package/dist/components/Banner/index.d.ts +4 -4
- package/dist/components/Breadcrumb/index.d.ts +14 -14
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.variants.d.ts +2 -2
- package/dist/components/Button/index.d.ts +4 -4
- package/dist/components/Card/Card.d.ts +2 -2
- package/dist/components/Card/Card.variants.d.ts +2 -2
- package/dist/components/Card/index.d.ts +4 -4
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.variants.d.ts +4 -4
- package/dist/components/Checkbox/index.d.ts +4 -4
- package/dist/components/Code/Code.d.ts +1 -1
- package/dist/components/Code/Code.variants.d.ts +2 -2
- package/dist/components/Code/index.d.ts +4 -4
- package/dist/components/Collapsible/Collapsible.context.d.ts +1 -1
- package/dist/components/Collapsible/index.d.ts +8 -8
- package/dist/components/Combobox/Combobox.context.d.ts +1 -1
- package/dist/components/Combobox/Combobox.d.ts +1 -1
- package/dist/components/Combobox/Combobox.types.d.ts +2 -2
- package/dist/components/Combobox/Combobox.variants.d.ts +2 -2
- package/dist/components/Combobox/ComboboxContent.d.ts +1 -1
- package/dist/components/Combobox/ComboboxEmpty.d.ts +1 -1
- package/dist/components/Combobox/ComboboxGroup.d.ts +1 -1
- package/dist/components/Combobox/ComboboxInput.d.ts +1 -1
- package/dist/components/Combobox/ComboboxListbox.d.ts +1 -1
- package/dist/components/Combobox/ComboboxOption.d.ts +1 -1
- package/dist/components/Combobox/ComboboxTrigger.d.ts +1 -1
- package/dist/components/Combobox/index.d.ts +13 -13
- package/dist/components/CommandMenu/CommandMenu.context.d.ts +1 -1
- package/dist/components/CommandMenu/index.d.ts +4 -4
- package/dist/components/Container/index.d.ts +2 -2
- package/dist/components/ContextMenu/ContextMenu.context.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenuCheckboxItem.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenuRadioGroup.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenuRadioItem.d.ts +1 -1
- package/dist/components/ContextMenu/index.d.ts +20 -20
- package/dist/components/DataTable/index.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.context.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.hooks.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +4 -4
- package/dist/components/Dialog/Dialog.context.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +4 -4
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.variants.d.ts +2 -2
- package/dist/components/Divider/index.d.ts +4 -4
- package/dist/components/DropdownMenu/DropdownMenu.context.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenuRadioItem.d.ts +1 -1
- package/dist/components/DropdownMenu/index.d.ts +20 -20
- package/dist/components/EmptyState/index.d.ts +2 -2
- package/dist/components/FormField/index.d.ts +4 -4
- package/dist/components/Grid/Grid.d.ts +1 -1
- package/dist/components/Grid/index.d.ts +2 -2
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.variants.d.ts +2 -2
- package/dist/components/Heading/index.d.ts +4 -4
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.variants.d.ts +3 -3
- package/dist/components/Icon/index.d.ts +4 -4
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.variants.d.ts +2 -2
- package/dist/components/Input/index.d.ts +4 -4
- package/dist/components/Kbd/Kbd.d.ts +1 -1
- package/dist/components/Kbd/Kbd.variants.d.ts +2 -2
- package/dist/components/Kbd/index.d.ts +4 -4
- package/dist/components/Label/index.d.ts +2 -2
- package/dist/components/Menu/MenuContentBase.d.ts +3 -3
- package/dist/components/Menu/MenuItemBase.d.ts +1 -1
- package/dist/components/Menu/index.d.ts +14 -14
- package/dist/components/Menu/menuItemVariants.d.ts +7 -7
- package/dist/components/Menubar/Menubar.context.d.ts +1 -1
- package/dist/components/Menubar/MenubarCheckboxItem.d.ts +1 -1
- package/dist/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/components/Menubar/MenubarRadioGroup.d.ts +1 -1
- package/dist/components/Menubar/MenubarRadioItem.d.ts +1 -1
- package/dist/components/Menubar/index.d.ts +20 -20
- package/dist/components/NavigationMenu/NavigationMenu.context.d.ts +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +1 -1
- package/dist/components/NavigationMenu/index.d.ts +4 -4
- package/dist/components/Pagination/index.d.ts +14 -14
- package/dist/components/Popover/Popover.context.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/index.d.ts +8 -8
- package/dist/components/Progress/Progress.d.ts +1 -1
- package/dist/components/Progress/Progress.variants.d.ts +3 -3
- package/dist/components/Progress/index.d.ts +4 -4
- package/dist/components/RadioGroup/Radio.d.ts +1 -1
- package/dist/components/RadioGroup/Radio.variants.d.ts +3 -3
- package/dist/components/RadioGroup/index.d.ts +8 -8
- package/dist/components/Select/SelectTrigger.d.ts +1 -1
- package/dist/components/Select/SelectTrigger.variants.d.ts +2 -2
- package/dist/components/Select/index.d.ts +14 -14
- package/dist/components/Sheet/Sheet.context.d.ts +1 -1
- package/dist/components/Sheet/Sheet.d.ts +1 -1
- package/dist/components/Sheet/index.d.ts +4 -4
- package/dist/components/Sidebar/Sidebar.context.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts +26 -26
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.variants.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts +3 -3
- package/dist/components/Slider/Slider.d.ts +1 -1
- package/dist/components/Slider/Slider.variants.d.ts +6 -6
- package/dist/components/Slider/index.d.ts +4 -4
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/Spinner/Spinner.variants.d.ts +3 -3
- package/dist/components/Spinner/index.d.ts +4 -4
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/index.d.ts +2 -2
- package/dist/components/Stepper/Stepper.context.d.ts +2 -2
- package/dist/components/Stepper/Stepper.d.ts +1 -1
- package/dist/components/Stepper/StepperItem.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts +14 -14
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.variants.d.ts +3 -3
- package/dist/components/Switch/index.d.ts +4 -4
- package/dist/components/Table/Table.context.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.variants.d.ts +2 -2
- package/dist/components/Table/index.d.ts +18 -18
- package/dist/components/Tabs/Tabs.context.d.ts +1 -1
- package/dist/components/Tabs/Tabs.variants.d.ts +2 -2
- package/dist/components/Tabs/TabsList.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts +12 -12
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tag/Tag.variants.d.ts +2 -2
- package/dist/components/Tag/index.d.ts +4 -4
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/Text/Text.variants.d.ts +2 -2
- package/dist/components/Text/index.d.ts +4 -4
- package/dist/components/Textarea/Textarea.d.ts +1 -1
- package/dist/components/Textarea/Textarea.variants.d.ts +2 -2
- package/dist/components/Textarea/index.d.ts +4 -4
- package/dist/components/Timeline/Timeline.variants.d.ts +2 -2
- package/dist/components/Timeline/index.d.ts +6 -6
- package/dist/components/Toast/Toast.d.ts +2 -2
- package/dist/components/Toast/Toast.variants.d.ts +1 -1
- package/dist/components/Toast/index.d.ts +7 -7
- package/dist/components/Tooltip/Tooltip.context.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +8 -8
- package/dist/hooks/index.d.ts +8 -8
- package/dist/hooks/use-focus-first-interactive.d.ts +1 -1
- package/dist/index.d.ts +146 -146
- package/dist/utils/cn.d.ts +1 -1
- package/dist/utils/modal-primitive.d.ts +1 -1
- package/dist/utils/portal.d.ts +2 -2
- package/dist/utils/variants.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
export { cn } from
|
|
2
|
-
export type { Responsive, Breakpoint, GapScale } from
|
|
3
|
-
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from
|
|
4
|
-
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionContextValue, AccordionItemContextValue, HeadingLevel as AccordionHeadingLevel, } from
|
|
5
|
-
export { AccordionContext, useAccordionContext, AccordionItemContext, useAccordionItemContext, } from
|
|
6
|
-
export { Alert, alertVariants } from
|
|
7
|
-
export type { AlertProps, AlertVariantProps } from
|
|
8
|
-
export { AppShell, AppShellHeader, AppShellBody, AppShellMain, } from
|
|
9
|
-
export type { AppShellProps, AppShellHeaderProps, AppShellBodyProps, AppShellMainProps, } from
|
|
10
|
-
export { AspectRatio } from
|
|
11
|
-
export type { AspectRatioProps, AspectRatioValue, } from
|
|
12
|
-
export { Banner, bannerVariants } from
|
|
13
|
-
export type { BannerProps, BannerVariantProps } from
|
|
14
|
-
export { Avatar, avatarVariants, getInitials } from
|
|
15
|
-
export type { AvatarProps, AvatarVariantProps } from
|
|
16
|
-
export { Badge, badgeVariants } from
|
|
17
|
-
export type { BadgeProps, BadgeVariantProps } from
|
|
18
|
-
export { Button, buttonVariants } from
|
|
19
|
-
export type { ButtonProps, ButtonVariantProps } from
|
|
20
|
-
export { Card, cardVariants, CardHeader, CardTitle, CardDescription, CardBody, CardFooter, } from
|
|
21
|
-
export type { CardProps, CardVariantProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardBodyProps, CardFooterProps, } from
|
|
22
|
-
export { Checkbox, checkboxVariants, checkboxWrapperVariants, } from
|
|
23
|
-
export type { CheckboxProps, CheckboxVariantProps, } from
|
|
24
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent, } from
|
|
25
|
-
export type { CollapsibleProps, CollapsibleTriggerProps, CollapsibleContentProps, CollapsibleContextValue, } from
|
|
26
|
-
export { CollapsibleContext, useCollapsibleContext, } from
|
|
27
|
-
export { Code, codeVariants } from
|
|
28
|
-
export type { CodeProps, CodeVariantProps } from
|
|
29
|
-
export { CommandMenu, CommandMenuInput, CommandMenuList, CommandMenuEmpty, CommandMenuGroup, CommandMenuItem, CommandMenuShortcut, } from
|
|
30
|
-
export type { CommandMenuProps, CommandMenuInputProps, CommandMenuListProps, CommandMenuEmptyProps, CommandMenuGroupProps, CommandMenuItemProps, CommandMenuShortcutProps, } from
|
|
31
|
-
export { CommandMenuContext, useCommandMenuContext, } from
|
|
32
|
-
export type { CommandMenuContextValue } from
|
|
33
|
-
export { Combobox, ComboboxTrigger, comboboxTriggerVariants, ComboboxContent, ComboboxInput, ComboboxListbox, ComboboxOption, ComboboxGroup, ComboboxEmpty, } from
|
|
34
|
-
export type { ComboboxProps, ComboboxTriggerProps, ComboboxTriggerVariantProps, ComboboxContentProps, ComboboxInputProps, ComboboxListboxProps, ComboboxOptionProps, ComboboxGroupProps, ComboboxEmptyProps, } from
|
|
35
|
-
export { ComboboxContext, useComboboxContext } from
|
|
36
|
-
export type { ComboboxContextValue } from
|
|
37
|
-
export { Container } from
|
|
38
|
-
export type { ContainerProps, ContainerSize } from
|
|
39
|
-
export { Dialog, DialogTrigger, DialogContent, DialogTitle, DialogDescription, DialogClose, } from
|
|
40
|
-
export type { DialogProps, DialogTriggerProps, DialogContentProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, } from
|
|
41
|
-
export { DialogContext, useDialogContext } from
|
|
42
|
-
export type { DialogContextValue } from
|
|
43
|
-
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuLabel, } from
|
|
44
|
-
export type { ContextMenuProps, ContextMenuTriggerProps, ContextMenuContentProps, ContextMenuItemProps, ContextMenuCheckboxItemProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuLabelProps, } from
|
|
45
|
-
export { ContextMenuContext, useContextMenuContext, } from
|
|
46
|
-
export type { ContextMenuContextValue } from
|
|
47
|
-
export { DataTable } from
|
|
48
|
-
export type { DataTableProps, DataTableColumn } from
|
|
49
|
-
export { DatePicker, DatePickerInput, DatePickerCalendar, } from
|
|
50
|
-
export type { DatePickerProps, DatePickerInputProps, DatePickerCalendarProps, } from
|
|
51
|
-
export { DatePickerContext, useDatePickerContext, } from
|
|
52
|
-
export type { DatePickerContextValue } from
|
|
53
|
-
export { Divider, dividerVariants } from
|
|
54
|
-
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuLabel, } from
|
|
55
|
-
export type { DropdownMenuProps, DropdownMenuTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSeparatorProps, DropdownMenuLabelProps, } from
|
|
56
|
-
export { DropdownMenuContext, useDropdownMenuContext, } from
|
|
57
|
-
export type { DropdownMenuContextValue } from
|
|
58
|
-
export { Grid } from
|
|
59
|
-
export type { GridProps } from
|
|
60
|
-
export { EmptyState } from
|
|
61
|
-
export type { EmptyStateProps } from
|
|
62
|
-
export { FormField, FormFieldContext, useFormField, } from
|
|
63
|
-
export type { FormFieldProps, FormFieldContextValue, } from
|
|
64
|
-
export type { DividerProps, DividerVariantProps } from
|
|
65
|
-
export { Icon, iconVariants, iconColorVariants } from
|
|
66
|
-
export type { IconProps, IconVariantProps } from
|
|
67
|
-
export { Input, inputVariants } from
|
|
68
|
-
export type { InputProps, InputVariantProps } from
|
|
69
|
-
export { Kbd, kbdVariants } from
|
|
70
|
-
export type { KbdProps, KbdVariantProps } from
|
|
71
|
-
export { Label } from
|
|
72
|
-
export type { LabelProps } from
|
|
73
|
-
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, } from
|
|
74
|
-
export type { MenubarProps, MenubarMenuProps, MenubarTriggerProps, MenubarContentProps, MenubarItemProps, MenubarCheckboxItemProps, MenubarRadioGroupProps, MenubarRadioItemProps, MenubarSeparatorProps, } from
|
|
75
|
-
export { MenubarContext, useMenubarContext, MenubarMenuContext, useMenubarMenuContext, } from
|
|
76
|
-
export type { MenubarContextValue, MenubarMenuContextValue, } from
|
|
77
|
-
export { Select, SelectTrigger, selectTriggerVariants, SelectContent, SelectItem, SelectSeparator, } from
|
|
78
|
-
export type { SelectProps, SelectTriggerProps, SelectTriggerVariantProps, SelectContentProps, SelectItemProps, } from
|
|
79
|
-
export { SelectContext, useSelect } from
|
|
80
|
-
export type { SelectContextValue } from
|
|
81
|
-
export { Sheet, SheetTrigger, SheetContent, SheetTitle, SheetDescription, SheetClose, } from
|
|
82
|
-
export type { SheetProps, SheetSide, SheetTriggerProps, SheetContentProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from
|
|
83
|
-
export { SheetContext, useSheetContext } from
|
|
84
|
-
export type { SheetContextValue } from
|
|
85
|
-
export { Skeleton, skeletonVariants } from
|
|
86
|
-
export type { SkeletonProps } from
|
|
87
|
-
export { Slider, sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, } from
|
|
88
|
-
export type { SliderProps, SliderVariantProps } from
|
|
89
|
-
export { RadioGroup } from
|
|
90
|
-
export type { RadioGroupProps } from
|
|
91
|
-
export { Radio, radioVariants } from
|
|
92
|
-
export type { RadioProps, RadioVariantProps } from
|
|
93
|
-
export { RadioGroupContext, useRadioGroup } from
|
|
94
|
-
export type { RadioGroupContextValue } from
|
|
95
|
-
export { Progress, progressTrackVariants, progressFillVariants, } from
|
|
96
|
-
export type { ProgressProps, ProgressVariantProps, ProgressTrackVariantProps, ProgressFillVariantProps, } from
|
|
97
|
-
export { Heading, headingVariants } from
|
|
98
|
-
export type { HeadingProps, HeadingVariantProps, HeadingElement, } from
|
|
99
|
-
export { Switch, switchVariants, switchThumbVariants, } from
|
|
100
|
-
export type { SwitchProps, SwitchVariantProps } from
|
|
101
|
-
export { Stack } from
|
|
102
|
-
export type { StackProps } from
|
|
103
|
-
export { Spinner, spinnerVariants, spinnerColorVariants, } from
|
|
104
|
-
export type { SpinnerProps, SpinnerVariantProps } from
|
|
105
|
-
export { Tabs, TabsList, tabsListVariants, TabsTrigger, TabsContent, } from
|
|
106
|
-
export type { TabsProps, TabsListProps, TabsListVariantProps, TabsTriggerProps, TabsContentProps, } from
|
|
107
|
-
export { TabsContext, useTabsContext } from
|
|
108
|
-
export type { TabsContextValue } from
|
|
109
|
-
export { Table, tableVariants, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, } from
|
|
110
|
-
export type { TableProps, TableVariantProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableRowIntent, TableHeadProps, TableCellProps, SortDirection, } from
|
|
111
|
-
export { TableContext, useTableContext } from
|
|
112
|
-
export type { TableContextValue } from
|
|
113
|
-
export { Tag, tagVariants } from
|
|
114
|
-
export type { TagProps, TagVariantProps } from
|
|
115
|
-
export { Text, textVariants } from
|
|
116
|
-
export type { TextProps, TextVariantProps } from
|
|
117
|
-
export { Textarea, textareaVariants } from
|
|
118
|
-
export type { TextareaProps, TextareaVariantProps, } from
|
|
119
|
-
export { Tooltip, TooltipTrigger, TooltipContent } from
|
|
120
|
-
export type { TooltipProps, TooltipTriggerProps, TooltipContentProps, } from
|
|
121
|
-
export { TooltipContext, useTooltipContext } from
|
|
122
|
-
export type { TooltipContextValue } from
|
|
123
|
-
export { Popover, PopoverTrigger, PopoverContent } from
|
|
124
|
-
export type { PopoverProps, PopoverTriggerProps, PopoverContentProps, } from
|
|
125
|
-
export { PopoverContext, usePopoverContext } from
|
|
126
|
-
export type { PopoverContextValue } from
|
|
127
|
-
export { Timeline, TimelineItem, timelineItemMarkerVariants, } from
|
|
128
|
-
export type { TimelineProps, TimelineItemProps, TimelineItemMarkerVariantProps, } from
|
|
129
|
-
export { toast, Toast, toastVariants, Toaster } from
|
|
130
|
-
export type { ToastItem, ToastIntent, ToastOptions, ToastAction, ToastProps, ToasterProps, ToasterPosition, } from
|
|
131
|
-
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, } from
|
|
132
|
-
export type { NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuContentProps, NavigationMenuLinkProps, } from
|
|
133
|
-
export { NavigationMenuContext, useNavigationMenuContext, NavigationMenuItemContext, useNavigationMenuItemContext, } from
|
|
134
|
-
export type { NavigationMenuContextValue, NavigationMenuItemContextValue, } from
|
|
135
|
-
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from
|
|
136
|
-
export type { BreadcrumbProps, BreadcrumbListProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbPageProps, BreadcrumbSeparatorProps, BreadcrumbEllipsisProps, } from
|
|
137
|
-
export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis, } from
|
|
138
|
-
export type { PaginationProps, PaginationContentProps, PaginationItemProps, PaginationLinkProps, PaginationPreviousProps, PaginationNextProps, PaginationEllipsisProps, } from
|
|
139
|
-
export { Stepper, StepperItem, StepperIndicator, StepperContent, StepperTitle, StepperDescription, } from
|
|
140
|
-
export type { StepperProps, StepperItemProps, StepperIndicatorProps, StepperContentProps, StepperTitleProps, StepperDescriptionProps, StepperOrientation, StepState, } from
|
|
141
|
-
export { StepperContext, useStepperContext, StepperItemContext, useStepperItemContext, } from
|
|
142
|
-
export type { StepperContextValue, StepperItemContextValue, } from
|
|
143
|
-
export { SidebarProvider, Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarTrigger, SidebarInset, } from
|
|
144
|
-
export type { SidebarProviderProps, SidebarProps, SidebarHeaderProps, SidebarContentProps, SidebarFooterProps, SidebarGroupProps, SidebarGroupLabelProps, SidebarMenuProps, SidebarMenuItemProps, SidebarMenuButtonProps, SidebarTriggerProps, SidebarInsetProps, } from
|
|
145
|
-
export { SidebarContext, useSidebarContext } from
|
|
146
|
-
export type { SidebarContextValue } from
|
|
1
|
+
export { cn } from './utils/cn';
|
|
2
|
+
export type { Responsive, Breakpoint, GapScale } from './utils/responsive';
|
|
3
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/Accordion';
|
|
4
|
+
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionContextValue, AccordionItemContextValue, HeadingLevel as AccordionHeadingLevel, } from './components/Accordion';
|
|
5
|
+
export { AccordionContext, useAccordionContext, AccordionItemContext, useAccordionItemContext, } from './components/Accordion';
|
|
6
|
+
export { Alert, alertVariants } from './components/Alert';
|
|
7
|
+
export type { AlertProps, AlertVariantProps } from './components/Alert';
|
|
8
|
+
export { AppShell, AppShellHeader, AppShellBody, AppShellMain, } from './components/AppShell';
|
|
9
|
+
export type { AppShellProps, AppShellHeaderProps, AppShellBodyProps, AppShellMainProps, } from './components/AppShell';
|
|
10
|
+
export { AspectRatio } from './components/AspectRatio';
|
|
11
|
+
export type { AspectRatioProps, AspectRatioValue, } from './components/AspectRatio';
|
|
12
|
+
export { Banner, bannerVariants } from './components/Banner';
|
|
13
|
+
export type { BannerProps, BannerVariantProps } from './components/Banner';
|
|
14
|
+
export { Avatar, avatarVariants, getInitials } from './components/Avatar';
|
|
15
|
+
export type { AvatarProps, AvatarVariantProps } from './components/Avatar';
|
|
16
|
+
export { Badge, badgeVariants } from './components/Badge';
|
|
17
|
+
export type { BadgeProps, BadgeVariantProps } from './components/Badge';
|
|
18
|
+
export { Button, buttonVariants } from './components/Button';
|
|
19
|
+
export type { ButtonProps, ButtonVariantProps } from './components/Button';
|
|
20
|
+
export { Card, cardVariants, CardHeader, CardTitle, CardDescription, CardBody, CardFooter, } from './components/Card';
|
|
21
|
+
export type { CardProps, CardVariantProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardBodyProps, CardFooterProps, } from './components/Card';
|
|
22
|
+
export { Checkbox, checkboxVariants, checkboxWrapperVariants, } from './components/Checkbox';
|
|
23
|
+
export type { CheckboxProps, CheckboxVariantProps, } from './components/Checkbox';
|
|
24
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent, } from './components/Collapsible';
|
|
25
|
+
export type { CollapsibleProps, CollapsibleTriggerProps, CollapsibleContentProps, CollapsibleContextValue, } from './components/Collapsible';
|
|
26
|
+
export { CollapsibleContext, useCollapsibleContext, } from './components/Collapsible';
|
|
27
|
+
export { Code, codeVariants } from './components/Code';
|
|
28
|
+
export type { CodeProps, CodeVariantProps } from './components/Code';
|
|
29
|
+
export { CommandMenu, CommandMenuInput, CommandMenuList, CommandMenuEmpty, CommandMenuGroup, CommandMenuItem, CommandMenuShortcut, } from './components/CommandMenu';
|
|
30
|
+
export type { CommandMenuProps, CommandMenuInputProps, CommandMenuListProps, CommandMenuEmptyProps, CommandMenuGroupProps, CommandMenuItemProps, CommandMenuShortcutProps, } from './components/CommandMenu';
|
|
31
|
+
export { CommandMenuContext, useCommandMenuContext, } from './components/CommandMenu';
|
|
32
|
+
export type { CommandMenuContextValue } from './components/CommandMenu';
|
|
33
|
+
export { Combobox, ComboboxTrigger, comboboxTriggerVariants, ComboboxContent, ComboboxInput, ComboboxListbox, ComboboxOption, ComboboxGroup, ComboboxEmpty, } from './components/Combobox';
|
|
34
|
+
export type { ComboboxProps, ComboboxTriggerProps, ComboboxTriggerVariantProps, ComboboxContentProps, ComboboxInputProps, ComboboxListboxProps, ComboboxOptionProps, ComboboxGroupProps, ComboboxEmptyProps, } from './components/Combobox';
|
|
35
|
+
export { ComboboxContext, useComboboxContext } from './components/Combobox';
|
|
36
|
+
export type { ComboboxContextValue } from './components/Combobox';
|
|
37
|
+
export { Container } from './components/Container';
|
|
38
|
+
export type { ContainerProps, ContainerSize } from './components/Container';
|
|
39
|
+
export { Dialog, DialogTrigger, DialogContent, DialogTitle, DialogDescription, DialogClose, } from './components/Dialog';
|
|
40
|
+
export type { DialogProps, DialogTriggerProps, DialogContentProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, } from './components/Dialog';
|
|
41
|
+
export { DialogContext, useDialogContext } from './components/Dialog';
|
|
42
|
+
export type { DialogContextValue } from './components/Dialog';
|
|
43
|
+
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuLabel, } from './components/ContextMenu';
|
|
44
|
+
export type { ContextMenuProps, ContextMenuTriggerProps, ContextMenuContentProps, ContextMenuItemProps, ContextMenuCheckboxItemProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuLabelProps, } from './components/ContextMenu';
|
|
45
|
+
export { ContextMenuContext, useContextMenuContext, } from './components/ContextMenu';
|
|
46
|
+
export type { ContextMenuContextValue } from './components/ContextMenu';
|
|
47
|
+
export { DataTable } from './components/DataTable';
|
|
48
|
+
export type { DataTableProps, DataTableColumn } from './components/DataTable';
|
|
49
|
+
export { DatePicker, DatePickerInput, DatePickerCalendar, } from './components/DatePicker';
|
|
50
|
+
export type { DatePickerProps, DatePickerInputProps, DatePickerCalendarProps, } from './components/DatePicker';
|
|
51
|
+
export { DatePickerContext, useDatePickerContext, } from './components/DatePicker';
|
|
52
|
+
export type { DatePickerContextValue } from './components/DatePicker';
|
|
53
|
+
export { Divider, dividerVariants } from './components/Divider';
|
|
54
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuLabel, } from './components/DropdownMenu';
|
|
55
|
+
export type { DropdownMenuProps, DropdownMenuTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSeparatorProps, DropdownMenuLabelProps, } from './components/DropdownMenu';
|
|
56
|
+
export { DropdownMenuContext, useDropdownMenuContext, } from './components/DropdownMenu';
|
|
57
|
+
export type { DropdownMenuContextValue } from './components/DropdownMenu';
|
|
58
|
+
export { Grid } from './components/Grid';
|
|
59
|
+
export type { GridProps } from './components/Grid';
|
|
60
|
+
export { EmptyState } from './components/EmptyState';
|
|
61
|
+
export type { EmptyStateProps } from './components/EmptyState';
|
|
62
|
+
export { FormField, FormFieldContext, useFormField, } from './components/FormField';
|
|
63
|
+
export type { FormFieldProps, FormFieldContextValue, } from './components/FormField';
|
|
64
|
+
export type { DividerProps, DividerVariantProps } from './components/Divider';
|
|
65
|
+
export { Icon, iconVariants, iconColorVariants } from './components/Icon';
|
|
66
|
+
export type { IconProps, IconVariantProps } from './components/Icon';
|
|
67
|
+
export { Input, inputVariants } from './components/Input';
|
|
68
|
+
export type { InputProps, InputVariantProps } from './components/Input';
|
|
69
|
+
export { Kbd, kbdVariants } from './components/Kbd';
|
|
70
|
+
export type { KbdProps, KbdVariantProps } from './components/Kbd';
|
|
71
|
+
export { Label } from './components/Label';
|
|
72
|
+
export type { LabelProps } from './components/Label';
|
|
73
|
+
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, } from './components/Menubar';
|
|
74
|
+
export type { MenubarProps, MenubarMenuProps, MenubarTriggerProps, MenubarContentProps, MenubarItemProps, MenubarCheckboxItemProps, MenubarRadioGroupProps, MenubarRadioItemProps, MenubarSeparatorProps, } from './components/Menubar';
|
|
75
|
+
export { MenubarContext, useMenubarContext, MenubarMenuContext, useMenubarMenuContext, } from './components/Menubar';
|
|
76
|
+
export type { MenubarContextValue, MenubarMenuContextValue, } from './components/Menubar';
|
|
77
|
+
export { Select, SelectTrigger, selectTriggerVariants, SelectContent, SelectItem, SelectSeparator, } from './components/Select';
|
|
78
|
+
export type { SelectProps, SelectTriggerProps, SelectTriggerVariantProps, SelectContentProps, SelectItemProps, } from './components/Select';
|
|
79
|
+
export { SelectContext, useSelect } from './components/Select';
|
|
80
|
+
export type { SelectContextValue } from './components/Select';
|
|
81
|
+
export { Sheet, SheetTrigger, SheetContent, SheetTitle, SheetDescription, SheetClose, } from './components/Sheet';
|
|
82
|
+
export type { SheetProps, SheetSide, SheetTriggerProps, SheetContentProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from './components/Sheet';
|
|
83
|
+
export { SheetContext, useSheetContext } from './components/Sheet';
|
|
84
|
+
export type { SheetContextValue } from './components/Sheet';
|
|
85
|
+
export { Skeleton, skeletonVariants } from './components/Skeleton';
|
|
86
|
+
export type { SkeletonProps } from './components/Skeleton';
|
|
87
|
+
export { Slider, sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, } from './components/Slider';
|
|
88
|
+
export type { SliderProps, SliderVariantProps } from './components/Slider';
|
|
89
|
+
export { RadioGroup } from './components/RadioGroup';
|
|
90
|
+
export type { RadioGroupProps } from './components/RadioGroup';
|
|
91
|
+
export { Radio, radioVariants } from './components/RadioGroup';
|
|
92
|
+
export type { RadioProps, RadioVariantProps } from './components/RadioGroup';
|
|
93
|
+
export { RadioGroupContext, useRadioGroup } from './components/RadioGroup';
|
|
94
|
+
export type { RadioGroupContextValue } from './components/RadioGroup';
|
|
95
|
+
export { Progress, progressTrackVariants, progressFillVariants, } from './components/Progress';
|
|
96
|
+
export type { ProgressProps, ProgressVariantProps, ProgressTrackVariantProps, ProgressFillVariantProps, } from './components/Progress';
|
|
97
|
+
export { Heading, headingVariants } from './components/Heading';
|
|
98
|
+
export type { HeadingProps, HeadingVariantProps, HeadingElement, } from './components/Heading';
|
|
99
|
+
export { Switch, switchVariants, switchThumbVariants, } from './components/Switch';
|
|
100
|
+
export type { SwitchProps, SwitchVariantProps } from './components/Switch';
|
|
101
|
+
export { Stack } from './components/Stack';
|
|
102
|
+
export type { StackProps } from './components/Stack';
|
|
103
|
+
export { Spinner, spinnerVariants, spinnerColorVariants, } from './components/Spinner';
|
|
104
|
+
export type { SpinnerProps, SpinnerVariantProps } from './components/Spinner';
|
|
105
|
+
export { Tabs, TabsList, tabsListVariants, TabsTrigger, TabsContent, } from './components/Tabs';
|
|
106
|
+
export type { TabsProps, TabsListProps, TabsListVariantProps, TabsTriggerProps, TabsContentProps, } from './components/Tabs';
|
|
107
|
+
export { TabsContext, useTabsContext } from './components/Tabs';
|
|
108
|
+
export type { TabsContextValue } from './components/Tabs';
|
|
109
|
+
export { Table, tableVariants, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, } from './components/Table';
|
|
110
|
+
export type { TableProps, TableVariantProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableRowIntent, TableHeadProps, TableCellProps, SortDirection, } from './components/Table';
|
|
111
|
+
export { TableContext, useTableContext } from './components/Table';
|
|
112
|
+
export type { TableContextValue } from './components/Table';
|
|
113
|
+
export { Tag, tagVariants } from './components/Tag';
|
|
114
|
+
export type { TagProps, TagVariantProps } from './components/Tag';
|
|
115
|
+
export { Text, textVariants } from './components/Text';
|
|
116
|
+
export type { TextProps, TextVariantProps } from './components/Text';
|
|
117
|
+
export { Textarea, textareaVariants } from './components/Textarea';
|
|
118
|
+
export type { TextareaProps, TextareaVariantProps, } from './components/Textarea';
|
|
119
|
+
export { Tooltip, TooltipTrigger, TooltipContent } from './components/Tooltip';
|
|
120
|
+
export type { TooltipProps, TooltipTriggerProps, TooltipContentProps, } from './components/Tooltip';
|
|
121
|
+
export { TooltipContext, useTooltipContext } from './components/Tooltip';
|
|
122
|
+
export type { TooltipContextValue } from './components/Tooltip';
|
|
123
|
+
export { Popover, PopoverTrigger, PopoverContent } from './components/Popover';
|
|
124
|
+
export type { PopoverProps, PopoverTriggerProps, PopoverContentProps, } from './components/Popover';
|
|
125
|
+
export { PopoverContext, usePopoverContext } from './components/Popover';
|
|
126
|
+
export type { PopoverContextValue } from './components/Popover';
|
|
127
|
+
export { Timeline, TimelineItem, timelineItemMarkerVariants, } from './components/Timeline';
|
|
128
|
+
export type { TimelineProps, TimelineItemProps, TimelineItemMarkerVariantProps, } from './components/Timeline';
|
|
129
|
+
export { toast, Toast, toastVariants, Toaster } from './components/Toast';
|
|
130
|
+
export type { ToastItem, ToastIntent, ToastOptions, ToastAction, ToastProps, ToasterProps, ToasterPosition, } from './components/Toast';
|
|
131
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, } from './components/NavigationMenu';
|
|
132
|
+
export type { NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuContentProps, NavigationMenuLinkProps, } from './components/NavigationMenu';
|
|
133
|
+
export { NavigationMenuContext, useNavigationMenuContext, NavigationMenuItemContext, useNavigationMenuItemContext, } from './components/NavigationMenu';
|
|
134
|
+
export type { NavigationMenuContextValue, NavigationMenuItemContextValue, } from './components/NavigationMenu';
|
|
135
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from './components/Breadcrumb';
|
|
136
|
+
export type { BreadcrumbProps, BreadcrumbListProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbPageProps, BreadcrumbSeparatorProps, BreadcrumbEllipsisProps, } from './components/Breadcrumb';
|
|
137
|
+
export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis, } from './components/Pagination';
|
|
138
|
+
export type { PaginationProps, PaginationContentProps, PaginationItemProps, PaginationLinkProps, PaginationPreviousProps, PaginationNextProps, PaginationEllipsisProps, } from './components/Pagination';
|
|
139
|
+
export { Stepper, StepperItem, StepperIndicator, StepperContent, StepperTitle, StepperDescription, } from './components/Stepper';
|
|
140
|
+
export type { StepperProps, StepperItemProps, StepperIndicatorProps, StepperContentProps, StepperTitleProps, StepperDescriptionProps, StepperOrientation, StepState, } from './components/Stepper';
|
|
141
|
+
export { StepperContext, useStepperContext, StepperItemContext, useStepperItemContext, } from './components/Stepper';
|
|
142
|
+
export type { StepperContextValue, StepperItemContextValue, } from './components/Stepper';
|
|
143
|
+
export { SidebarProvider, Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarTrigger, SidebarInset, } from './components/Sidebar';
|
|
144
|
+
export type { SidebarProviderProps, SidebarProps, SidebarHeaderProps, SidebarContentProps, SidebarFooterProps, SidebarGroupProps, SidebarGroupLabelProps, SidebarMenuProps, SidebarMenuItemProps, SidebarMenuButtonProps, SidebarTriggerProps, SidebarInsetProps, } from './components/Sidebar';
|
|
145
|
+
export { SidebarContext, useSidebarContext } from './components/Sidebar';
|
|
146
|
+
export type { SidebarContextValue } from './components/Sidebar';
|
|
147
147
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/utils/cn.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { useEscapeKey } from '../hooks/use-escape-key';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { useEscapeKey } from "@nuka/hooks/use-escape-key";
|
|
3
3
|
declare function useModalTitleWarning(displayName: string, titleId: string, open: boolean): void;
|
|
4
4
|
export interface ModalContextValue {
|
|
5
5
|
open: boolean;
|
package/dist/utils/portal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface PortalProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare function Portal({ children }: PortalProps): import(
|
|
5
|
+
declare function Portal({ children }: PortalProps): import('react').ReactPortal | null;
|
|
6
6
|
declare namespace Portal {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
package/dist/utils/variants.d.ts
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* - Layout first, then visual, then interactive
|
|
24
24
|
* - e.g. 'px-4 py-2 rounded-md bg-(--nuka-accent-bg) hover:bg-(--nuka-accent-bg-hover)'
|
|
25
25
|
*/
|
|
26
|
-
export { cva, type VariantProps } from
|
|
26
|
+
export { cva, type VariantProps } from 'class-variance-authority';
|
|
27
27
|
interface IntentCompoundVariant {
|
|
28
28
|
variant: "primary" | "secondary" | "outline" | "ghost";
|
|
29
29
|
intent: "default" | "danger" | "success" | "warning";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuka-ui/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A React component library built on Tailwind v4, composable and customizable via CSS variables and props.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"*.css"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "vite build
|
|
24
|
+
"build": "vite build",
|
|
25
25
|
"dev": "storybook dev -p 6006",
|
|
26
26
|
"build-storybook": "storybook build",
|
|
27
27
|
"test": "vitest run",
|