@nuka-ui/core 1.0.0 → 1.0.2
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/bundle.css +2 -0
- 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/styles-root.css +5 -1
- package/dist/styles.css +5 -1
- 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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
declare const menuItemVariants: (props?: ({
|
|
3
3
|
intent?: "default" | "danger" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
type MenuItemVariantProps = VariantProps<typeof menuItemVariants>;
|
|
6
|
-
declare const menuCheckboxItemVariants: (props?: import(
|
|
7
|
-
declare const menuRadioItemVariants: (props?: import(
|
|
8
|
-
declare const menuSeparatorVariants: (props?: import(
|
|
9
|
-
declare const menuLabelVariants: (props?: import(
|
|
10
|
-
declare const menuContentVariants: (props?: import(
|
|
6
|
+
declare const menuCheckboxItemVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
7
|
+
declare const menuRadioItemVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
8
|
+
declare const menuSeparatorVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
9
|
+
declare const menuLabelVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
10
|
+
declare const menuContentVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
11
11
|
export { menuItemVariants, menuCheckboxItemVariants, menuRadioItemVariants, menuSeparatorVariants, menuLabelVariants, menuContentVariants, };
|
|
12
12
|
export type { MenuItemVariantProps };
|
|
13
13
|
//# sourceMappingURL=menuItemVariants.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { useFloating, useInteractions } from '@floating-ui/react';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { useFloating, useInteractions } from "@floating-ui/react";
|
|
3
3
|
export interface MenubarContextValue {
|
|
4
4
|
openValue: string | null;
|
|
5
5
|
openMenu: (value: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { MenuCheckboxItemWithNavProps } from '../Menu/MenuContentBase';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { MenuCheckboxItemWithNavProps } from "@nuka/components/Menu/MenuContentBase";
|
|
3
3
|
export type MenubarCheckboxItemProps = MenuCheckboxItemWithNavProps;
|
|
4
4
|
declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<MenuCheckboxItemWithNavProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { MenubarCheckboxItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { MenuItemWithNavProps } from '../Menu/MenuContentBase';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { MenuItemWithNavProps } from "@nuka/components/Menu/MenuContentBase";
|
|
3
3
|
export type MenubarItemProps = MenuItemWithNavProps;
|
|
4
4
|
declare const MenubarItem: React.ForwardRefExoticComponent<MenuItemWithNavProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { MenubarItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { MenuRadioGroupBaseProps } from '../Menu/MenuRadioGroupBase';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { MenuRadioGroupBaseProps } from "@nuka/components/Menu/MenuRadioGroupBase";
|
|
3
3
|
export interface MenubarRadioGroupProps extends MenuRadioGroupBaseProps {
|
|
4
4
|
}
|
|
5
5
|
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { MenuRadioItemWithNavProps } from '../Menu/MenuContentBase';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { MenuRadioItemWithNavProps } from "@nuka/components/Menu/MenuContentBase";
|
|
3
3
|
export type MenubarRadioItemProps = MenuRadioItemWithNavProps;
|
|
4
4
|
declare const MenubarRadioItem: React.ForwardRefExoticComponent<MenuRadioItemWithNavProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { MenubarRadioItem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { Menubar } from
|
|
2
|
-
export type { MenubarProps } from
|
|
3
|
-
export { MenubarMenu } from
|
|
4
|
-
export type { MenubarMenuProps } from
|
|
5
|
-
export { MenubarTrigger } from
|
|
6
|
-
export type { MenubarTriggerProps } from
|
|
7
|
-
export { MenubarContent } from
|
|
8
|
-
export type { MenubarContentProps } from
|
|
9
|
-
export { MenubarItem } from
|
|
10
|
-
export type { MenubarItemProps } from
|
|
11
|
-
export { MenubarCheckboxItem } from
|
|
12
|
-
export type { MenubarCheckboxItemProps } from
|
|
13
|
-
export { MenubarRadioGroup } from
|
|
14
|
-
export type { MenubarRadioGroupProps } from
|
|
15
|
-
export { MenubarRadioItem } from
|
|
16
|
-
export type { MenubarRadioItemProps } from
|
|
17
|
-
export { MenubarSeparator } from
|
|
18
|
-
export type { MenubarSeparatorProps } from
|
|
19
|
-
export { MenubarContext, useMenubarContext, MenubarMenuContext, useMenubarMenuContext, } from
|
|
20
|
-
export type { MenubarContextValue, MenubarMenuContextValue, } from
|
|
1
|
+
export { Menubar } from './Menubar';
|
|
2
|
+
export type { MenubarProps } from './Menubar';
|
|
3
|
+
export { MenubarMenu } from './MenubarMenu';
|
|
4
|
+
export type { MenubarMenuProps } from './MenubarMenu';
|
|
5
|
+
export { MenubarTrigger } from './MenubarTrigger';
|
|
6
|
+
export type { MenubarTriggerProps } from './MenubarTrigger';
|
|
7
|
+
export { MenubarContent } from './MenubarContent';
|
|
8
|
+
export type { MenubarContentProps } from './MenubarContent';
|
|
9
|
+
export { MenubarItem } from './MenubarItem';
|
|
10
|
+
export type { MenubarItemProps } from './MenubarItem';
|
|
11
|
+
export { MenubarCheckboxItem } from './MenubarCheckboxItem';
|
|
12
|
+
export type { MenubarCheckboxItemProps } from './MenubarCheckboxItem';
|
|
13
|
+
export { MenubarRadioGroup } from './MenubarRadioGroup';
|
|
14
|
+
export type { MenubarRadioGroupProps } from './MenubarRadioGroup';
|
|
15
|
+
export { MenubarRadioItem } from './MenubarRadioItem';
|
|
16
|
+
export type { MenubarRadioItemProps } from './MenubarRadioItem';
|
|
17
|
+
export { MenubarSeparator } from './MenubarSeparator';
|
|
18
|
+
export type { MenubarSeparatorProps } from './MenubarSeparator';
|
|
19
|
+
export { MenubarContext, useMenubarContext, MenubarMenuContext, useMenubarMenuContext, } from './Menubar.context';
|
|
20
|
+
export type { MenubarContextValue, MenubarMenuContextValue, } from './Menubar.context';
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { useFloating, useInteractions } from '@floating-ui/react';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { useFloating, useInteractions } from "@floating-ui/react";
|
|
3
3
|
export interface NavigationMenuContextValue {
|
|
4
4
|
activeValue: string | null;
|
|
5
5
|
openMenu: (value: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, } from
|
|
2
|
-
export type { NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuContentProps, NavigationMenuLinkProps, } from
|
|
3
|
-
export { NavigationMenuContext, useNavigationMenuContext, NavigationMenuItemContext, useNavigationMenuItemContext, } from
|
|
4
|
-
export type { NavigationMenuContextValue, NavigationMenuItemContextValue, } from
|
|
1
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, } from './NavigationMenu';
|
|
2
|
+
export type { NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuContentProps, NavigationMenuLinkProps, } from './NavigationMenu';
|
|
3
|
+
export { NavigationMenuContext, useNavigationMenuContext, NavigationMenuItemContext, useNavigationMenuItemContext, } from './NavigationMenu.context';
|
|
4
|
+
export type { NavigationMenuContextValue, NavigationMenuItemContextValue, } from './NavigationMenu.context';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { Pagination } from
|
|
2
|
-
export type { PaginationProps } from
|
|
3
|
-
export { PaginationContent } from
|
|
4
|
-
export type { PaginationContentProps } from
|
|
5
|
-
export { PaginationItem } from
|
|
6
|
-
export type { PaginationItemProps } from
|
|
7
|
-
export { PaginationLink } from
|
|
8
|
-
export type { PaginationLinkProps } from
|
|
9
|
-
export { PaginationPrevious } from
|
|
10
|
-
export type { PaginationPreviousProps } from
|
|
11
|
-
export { PaginationNext } from
|
|
12
|
-
export type { PaginationNextProps } from
|
|
13
|
-
export { PaginationEllipsis } from
|
|
14
|
-
export type { PaginationEllipsisProps } from
|
|
1
|
+
export { Pagination } from './Pagination';
|
|
2
|
+
export type { PaginationProps } from './Pagination';
|
|
3
|
+
export { PaginationContent } from './PaginationContent';
|
|
4
|
+
export type { PaginationContentProps } from './PaginationContent';
|
|
5
|
+
export { PaginationItem } from './PaginationItem';
|
|
6
|
+
export type { PaginationItemProps } from './PaginationItem';
|
|
7
|
+
export { PaginationLink } from './PaginationLink';
|
|
8
|
+
export type { PaginationLinkProps } from './PaginationLink';
|
|
9
|
+
export { PaginationPrevious } from './PaginationPrevious';
|
|
10
|
+
export type { PaginationPreviousProps } from './PaginationPrevious';
|
|
11
|
+
export { PaginationNext } from './PaginationNext';
|
|
12
|
+
export type { PaginationNextProps } from './PaginationNext';
|
|
13
|
+
export { PaginationEllipsis } from './PaginationEllipsis';
|
|
14
|
+
export type { PaginationEllipsisProps } from './PaginationEllipsis';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { useFloating, useInteractions } from '@floating-ui/react';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { useFloating, useInteractions } from "@floating-ui/react";
|
|
3
3
|
export interface PopoverContextValue {
|
|
4
4
|
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Popover } from
|
|
2
|
-
export type { PopoverProps } from
|
|
3
|
-
export { PopoverTrigger } from
|
|
4
|
-
export type { PopoverTriggerProps } from
|
|
5
|
-
export { PopoverContent } from
|
|
6
|
-
export type { PopoverContentProps } from
|
|
7
|
-
export { PopoverContext, usePopoverContext, } from
|
|
8
|
-
export type { PopoverContextValue } from
|
|
1
|
+
export { Popover } from './Popover';
|
|
2
|
+
export type { PopoverProps } from './Popover';
|
|
3
|
+
export { PopoverTrigger } from './PopoverTrigger';
|
|
4
|
+
export type { PopoverTriggerProps } from './PopoverTrigger';
|
|
5
|
+
export { PopoverContent } from './PopoverContent';
|
|
6
|
+
export type { PopoverContentProps } from './PopoverContent';
|
|
7
|
+
export { PopoverContext, usePopoverContext, } from './Popover.context';
|
|
8
|
+
export type { PopoverContextValue } from './Popover.context';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { progressTrackVariants, progressFillVariants, ProgressVariantProps } from './Progress.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { progressTrackVariants, progressFillVariants, type ProgressVariantProps } from "@nuka/components/Progress/Progress.variants";
|
|
3
3
|
export interface ProgressProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role">, ProgressVariantProps {
|
|
4
4
|
value?: number;
|
|
5
5
|
label?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
export declare const progressTrackVariants: (props?: ({
|
|
3
3
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const progressFillVariants: (props?: ({
|
|
6
6
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export type ProgressTrackVariantProps = VariantProps<typeof progressTrackVariants>;
|
|
9
9
|
export type ProgressFillVariantProps = VariantProps<typeof progressFillVariants>;
|
|
10
10
|
export type ProgressVariantProps = ProgressTrackVariantProps & ProgressFillVariantProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Progress } from
|
|
2
|
-
export { progressTrackVariants, progressFillVariants, } from
|
|
3
|
-
export type { ProgressProps } from
|
|
4
|
-
export type { ProgressVariantProps, ProgressTrackVariantProps, ProgressFillVariantProps, } from
|
|
1
|
+
export { Progress } from './Progress';
|
|
2
|
+
export { progressTrackVariants, progressFillVariants, } from './Progress.variants';
|
|
3
|
+
export type { ProgressProps } from './Progress';
|
|
4
|
+
export type { ProgressVariantProps, ProgressTrackVariantProps, ProgressFillVariantProps, } from './Progress.variants';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { RadioVariantProps } from './Radio.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { type RadioVariantProps } from "@nuka/components/RadioGroup/Radio.variants";
|
|
3
3
|
export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, RadioVariantProps {
|
|
4
4
|
value: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
export declare const radioIndicatorVariants: (props?: ({
|
|
3
3
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
4
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export declare const radioVariants: (props?: ({
|
|
7
7
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
8
8
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
9
|
-
} & import(
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
export type RadioVariantProps = VariantProps<typeof radioIndicatorVariants>;
|
|
11
11
|
//# sourceMappingURL=Radio.variants.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { RadioGroup } from
|
|
2
|
-
export type { RadioGroupProps } from
|
|
3
|
-
export { Radio } from
|
|
4
|
-
export { radioVariants } from
|
|
5
|
-
export type { RadioProps } from
|
|
6
|
-
export type { RadioVariantProps } from
|
|
7
|
-
export { RadioGroupContext, useRadioGroup } from
|
|
8
|
-
export type { RadioGroupContextValue } from
|
|
1
|
+
export { RadioGroup } from './RadioGroup';
|
|
2
|
+
export type { RadioGroupProps } from './RadioGroup';
|
|
3
|
+
export { Radio } from './Radio';
|
|
4
|
+
export { radioVariants } from './Radio.variants';
|
|
5
|
+
export type { RadioProps } from './Radio';
|
|
6
|
+
export type { RadioVariantProps } from './Radio.variants';
|
|
7
|
+
export { RadioGroupContext, useRadioGroup } from './RadioGroup.context';
|
|
8
|
+
export type { RadioGroupContextValue } from './RadioGroup.context';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { selectTriggerVariants, SelectTriggerVariantProps } from './SelectTrigger.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { selectTriggerVariants, type SelectTriggerVariantProps } from "@nuka/components/Select/SelectTrigger.variants";
|
|
3
3
|
export interface SelectTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, SelectTriggerVariantProps {
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
export declare const selectTriggerVariants: (props?: ({
|
|
3
3
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
4
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
|
|
7
7
|
//# sourceMappingURL=SelectTrigger.variants.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { Select } from
|
|
2
|
-
export type { SelectProps } from
|
|
3
|
-
export { SelectTrigger } from
|
|
4
|
-
export { selectTriggerVariants } from
|
|
5
|
-
export type { SelectTriggerProps } from
|
|
6
|
-
export type { SelectTriggerVariantProps } from
|
|
7
|
-
export { SelectContent } from
|
|
8
|
-
export type { SelectContentProps } from
|
|
9
|
-
export { SelectItem } from
|
|
10
|
-
export type { SelectItemProps } from
|
|
11
|
-
export { SelectSeparator } from
|
|
12
|
-
export type { SelectSeparatorProps } from
|
|
13
|
-
export { SelectContext, useSelect } from
|
|
14
|
-
export type { SelectContextValue } from
|
|
1
|
+
export { Select } from './Select';
|
|
2
|
+
export type { SelectProps } from './Select';
|
|
3
|
+
export { SelectTrigger } from './SelectTrigger';
|
|
4
|
+
export { selectTriggerVariants } from './SelectTrigger.variants';
|
|
5
|
+
export type { SelectTriggerProps } from './SelectTrigger';
|
|
6
|
+
export type { SelectTriggerVariantProps } from './SelectTrigger.variants';
|
|
7
|
+
export { SelectContent } from './SelectContent';
|
|
8
|
+
export type { SelectContentProps } from './SelectContent';
|
|
9
|
+
export { SelectItem } from './SelectItem';
|
|
10
|
+
export type { SelectItemProps } from './SelectItem';
|
|
11
|
+
export { SelectSeparator } from './SelectSeparator';
|
|
12
|
+
export type { SelectSeparatorProps } from './SelectSeparator';
|
|
13
|
+
export { SelectContext, useSelect } from './Select.context';
|
|
14
|
+
export type { SelectContextValue } from './Select.context';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ export interface SheetContextValue {
|
|
|
6
6
|
hasDescription: boolean;
|
|
7
7
|
setHasDescription: (value: boolean) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const SheetContext: import(
|
|
9
|
+
declare const SheetContext: import('react').Context<SheetContextValue | null>;
|
|
10
10
|
declare function useSheetContext(): SheetContextValue;
|
|
11
11
|
export { SheetContext, useSheetContext };
|
|
12
12
|
//# sourceMappingURL=Sheet.context.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ModalRootProps, ModalTriggerProps, ModalTitleProps, ModalDescriptionProps, ModalCloseProps } from '../../utils/modal-primitive';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { ModalRootProps, ModalTriggerProps, ModalTitleProps, ModalDescriptionProps, ModalCloseProps } from "@nuka/utils/modal-primitive";
|
|
3
3
|
export type SheetSide = "top" | "right" | "bottom" | "left";
|
|
4
4
|
declare const Sheet: React.FC<ModalRootProps>, SheetTrigger: React.ForwardRefExoticComponent<ModalTriggerProps & React.RefAttributes<HTMLButtonElement>>, SheetTitle: React.ForwardRefExoticComponent<ModalTitleProps & React.RefAttributes<HTMLElement>>, SheetDescription: React.ForwardRefExoticComponent<ModalDescriptionProps & React.RefAttributes<HTMLElement>>, SheetClose: React.ForwardRefExoticComponent<ModalCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export type SheetProps = ModalRootProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Sheet, SheetTrigger, SheetContent, SheetTitle, SheetDescription, SheetClose, } from
|
|
2
|
-
export type { SheetProps, SheetSide, SheetTriggerProps, SheetContentProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from
|
|
3
|
-
export { SheetContext, useSheetContext } from
|
|
4
|
-
export type { SheetContextValue } from
|
|
1
|
+
export { Sheet, SheetTrigger, SheetContent, SheetTitle, SheetDescription, SheetClose, } from './Sheet';
|
|
2
|
+
export type { SheetProps, SheetSide, SheetTriggerProps, SheetContentProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from './Sheet';
|
|
3
|
+
export { SheetContext, useSheetContext } from './Sheet.context';
|
|
4
|
+
export type { SheetContextValue } from './Sheet.context';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ export interface SidebarContextValue {
|
|
|
5
5
|
mobileOpen: boolean;
|
|
6
6
|
setMobileOpen: (open: boolean) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const SidebarContext: import(
|
|
8
|
+
declare const SidebarContext: import('react').Context<SidebarContextValue | null>;
|
|
9
9
|
declare function useSidebarContext(): SidebarContextValue;
|
|
10
10
|
export { SidebarContext, useSidebarContext };
|
|
11
11
|
//# sourceMappingURL=Sidebar.context.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { SidebarProvider } from
|
|
2
|
-
export type { SidebarProviderProps } from
|
|
3
|
-
export { Sidebar } from
|
|
4
|
-
export type { SidebarProps } from
|
|
5
|
-
export { SidebarHeader } from
|
|
6
|
-
export type { SidebarHeaderProps } from
|
|
7
|
-
export { SidebarContent } from
|
|
8
|
-
export type { SidebarContentProps } from
|
|
9
|
-
export { SidebarFooter } from
|
|
10
|
-
export type { SidebarFooterProps } from
|
|
11
|
-
export { SidebarGroup } from
|
|
12
|
-
export type { SidebarGroupProps } from
|
|
13
|
-
export { SidebarGroupLabel } from
|
|
14
|
-
export type { SidebarGroupLabelProps } from
|
|
15
|
-
export { SidebarMenu } from
|
|
16
|
-
export type { SidebarMenuProps } from
|
|
17
|
-
export { SidebarMenuItem } from
|
|
18
|
-
export type { SidebarMenuItemProps } from
|
|
19
|
-
export { SidebarMenuButton } from
|
|
20
|
-
export type { SidebarMenuButtonProps } from
|
|
21
|
-
export { SidebarTrigger } from
|
|
22
|
-
export type { SidebarTriggerProps } from
|
|
23
|
-
export { SidebarInset } from
|
|
24
|
-
export type { SidebarInsetProps } from
|
|
25
|
-
export { SidebarContext, useSidebarContext, } from
|
|
26
|
-
export type { SidebarContextValue } from
|
|
1
|
+
export { SidebarProvider } from './SidebarProvider';
|
|
2
|
+
export type { SidebarProviderProps } from './SidebarProvider';
|
|
3
|
+
export { Sidebar } from './Sidebar';
|
|
4
|
+
export type { SidebarProps } from './Sidebar';
|
|
5
|
+
export { SidebarHeader } from './SidebarHeader';
|
|
6
|
+
export type { SidebarHeaderProps } from './SidebarHeader';
|
|
7
|
+
export { SidebarContent } from './SidebarContent';
|
|
8
|
+
export type { SidebarContentProps } from './SidebarContent';
|
|
9
|
+
export { SidebarFooter } from './SidebarFooter';
|
|
10
|
+
export type { SidebarFooterProps } from './SidebarFooter';
|
|
11
|
+
export { SidebarGroup } from './SidebarGroup';
|
|
12
|
+
export type { SidebarGroupProps } from './SidebarGroup';
|
|
13
|
+
export { SidebarGroupLabel } from './SidebarGroupLabel';
|
|
14
|
+
export type { SidebarGroupLabelProps } from './SidebarGroupLabel';
|
|
15
|
+
export { SidebarMenu } from './SidebarMenu';
|
|
16
|
+
export type { SidebarMenuProps } from './SidebarMenu';
|
|
17
|
+
export { SidebarMenuItem } from './SidebarMenuItem';
|
|
18
|
+
export type { SidebarMenuItemProps } from './SidebarMenuItem';
|
|
19
|
+
export { SidebarMenuButton } from './SidebarMenuButton';
|
|
20
|
+
export type { SidebarMenuButtonProps } from './SidebarMenuButton';
|
|
21
|
+
export { SidebarTrigger } from './SidebarTrigger';
|
|
22
|
+
export type { SidebarTriggerProps } from './SidebarTrigger';
|
|
23
|
+
export { SidebarInset } from './SidebarInset';
|
|
24
|
+
export type { SidebarInsetProps } from './SidebarInset';
|
|
25
|
+
export { SidebarContext, useSidebarContext, } from './Sidebar.context';
|
|
26
|
+
export type { SidebarContextValue } from './Sidebar.context';
|
|
27
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { skeletonVariants } from './Skeleton.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { skeletonVariants } from "@nuka/components/Skeleton/Skeleton.variants";
|
|
3
3
|
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
shape?: "rect" | "circle" | "text";
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const skeletonVariants: (props?: ({
|
|
2
2
|
shape?: "text" | "circle" | "rect" | null | undefined;
|
|
3
|
-
} & import(
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
4
|
//# sourceMappingURL=Skeleton.variants.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Skeleton } from
|
|
2
|
-
export { skeletonVariants } from
|
|
3
|
-
export type { SkeletonProps } from
|
|
1
|
+
export { Skeleton } from './Skeleton';
|
|
2
|
+
export { skeletonVariants } from './Skeleton.variants';
|
|
3
|
+
export type { SkeletonProps } from './Skeleton';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, SliderVariantProps } from './Slider.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, type SliderVariantProps } from "@nuka/components/Slider/Slider.variants";
|
|
3
3
|
export interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange">, SliderVariantProps {
|
|
4
4
|
value?: number;
|
|
5
5
|
defaultValue?: number;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
export declare const sliderWrapperVariants: (props?: ({
|
|
3
3
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const sliderTrackVariants: (props?: ({
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export declare const sliderFillVariants: (props?: ({
|
|
9
9
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
10
|
-
} & import(
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
export declare const sliderThumbVariants: (props?: ({
|
|
12
12
|
intent?: "default" | "danger" | "success" | "warning" | null | undefined;
|
|
13
13
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
14
|
-
} & import(
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
15
|
export declare const sliderValueVariants: (props?: ({
|
|
16
16
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
-
} & import(
|
|
17
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
18
|
export type SliderVariantProps = VariantProps<typeof sliderFillVariants> & VariantProps<typeof sliderThumbVariants>;
|
|
19
19
|
//# sourceMappingURL=Slider.variants.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Slider } from
|
|
2
|
-
export { sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, } from
|
|
3
|
-
export type { SliderProps } from
|
|
4
|
-
export type { SliderVariantProps } from
|
|
1
|
+
export { Slider } from './Slider';
|
|
2
|
+
export { sliderWrapperVariants, sliderTrackVariants, sliderFillVariants, sliderThumbVariants, sliderValueVariants, } from './Slider.variants';
|
|
3
|
+
export type { SliderProps } from './Slider';
|
|
4
|
+
export type { SliderVariantProps } from './Slider.variants';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { spinnerVariants, spinnerColorVariants, SpinnerVariantProps } from './Spinner.variants';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import { spinnerVariants, spinnerColorVariants, type SpinnerVariantProps } from "@nuka/components/Spinner/Spinner.variants";
|
|
3
3
|
export interface SpinnerProps extends Omit<React.ComponentPropsWithoutRef<"span">, "color">, SpinnerVariantProps {
|
|
4
4
|
label?: string;
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from '../../utils/variants';
|
|
2
2
|
export declare const spinnerVariants: (props?: ({
|
|
3
3
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const spinnerColorVariants: (props?: ({
|
|
6
6
|
color?: "default" | "muted" | "inverse" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export type SpinnerVariantProps = VariantProps<typeof spinnerVariants> & VariantProps<typeof spinnerColorVariants>;
|
|
9
9
|
//# sourceMappingURL=Spinner.variants.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Spinner } from
|
|
2
|
-
export { spinnerVariants, spinnerColorVariants, } from
|
|
3
|
-
export type { SpinnerProps } from
|
|
4
|
-
export type { SpinnerVariantProps } from
|
|
1
|
+
export { Spinner } from './Spinner';
|
|
2
|
+
export { spinnerVariants, spinnerColorVariants, } from './Spinner.variants';
|
|
3
|
+
export type { SpinnerProps } from './Spinner';
|
|
4
|
+
export type { SpinnerVariantProps } from './Spinner.variants';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Responsive, GapScale, Direction, Align, Justify, Wrap } from '../../utils/responsive';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { Responsive, GapScale, Direction, Align, Justify, Wrap } from "@nuka/utils/responsive";
|
|
3
3
|
export interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
direction?: Responsive<Direction>;
|
|
5
5
|
gap?: Responsive<GapScale>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Stack } from
|
|
2
|
-
export type { StackProps } from
|
|
1
|
+
export { Stack } from './Stack';
|
|
2
|
+
export type { StackProps } from './Stack';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,9 +10,9 @@ export interface StepperItemContextValue {
|
|
|
10
10
|
state: StepState;
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const StepperContext: import(
|
|
13
|
+
declare const StepperContext: import('react').Context<StepperContextValue | null>;
|
|
14
14
|
declare function useStepperContext(): StepperContextValue;
|
|
15
|
-
declare const StepperItemContext: import(
|
|
15
|
+
declare const StepperItemContext: import('react').Context<StepperItemContextValue | null>;
|
|
16
16
|
declare function useStepperItemContext(): StepperItemContextValue;
|
|
17
17
|
export { StepperContext, useStepperContext, StepperItemContext, useStepperItemContext, };
|
|
18
18
|
//# sourceMappingURL=Stepper.context.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { StepperOrientation } from './Stepper.context';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { StepperOrientation } from "@nuka/components/Stepper/Stepper.context";
|
|
3
3
|
export interface StepperProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
currentStep: number;
|
|
5
5
|
orientation?: StepperOrientation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { StepState } from './Stepper.context';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import type { StepState } from "@nuka/components/Stepper/Stepper.context";
|
|
3
3
|
export interface StepperItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
4
4
|
step: number;
|
|
5
5
|
state?: StepState;
|