@umami/react-zen 0.45.0 → 0.47.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/index.css +748 -757
- package/dist/index.d.ts +10 -14
- package/dist/index.js +31459 -18546
- package/dist/index.mjs +29968 -17055
- package/package.json +7 -7
- package/styles.css +748 -757
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,7 @@ declare module '@umami/react-zen' {
|
|
|
47
47
|
import { List, ListItem, ListSeparator, ListSection } from '@umami/react-zen/List';
|
|
48
48
|
import { Loading } from '@umami/react-zen/Loading';
|
|
49
49
|
import { LoadingButton } from '@umami/react-zen/LoadingButton';
|
|
50
|
-
import { Menu } from '@umami/react-zen/Menu';
|
|
51
|
-
import { MenuItem } from '@umami/react-zen/MenuItem';
|
|
50
|
+
import { Menu, MenuItem, MenuSection, MenuSeparator } from '@umami/react-zen/Menu';
|
|
52
51
|
import { Modal } from '@umami/react-zen/Modal';
|
|
53
52
|
import { NavigationMenu, NavigationMenuItem } from '@umami/react-zen/NavigationMenu';
|
|
54
53
|
import { PasswordField } from '@umami/react-zen/PasswordField';
|
|
@@ -74,7 +73,7 @@ declare module '@umami/react-zen' {
|
|
|
74
73
|
import { ToggleGroup, ToggleGroupItem } from '@umami/react-zen/ToggleGroup';
|
|
75
74
|
import { Tooltip } from '@umami/react-zen/Tooltip';
|
|
76
75
|
import { ZenProvider } from '@umami/react-zen/ZenProvider';
|
|
77
|
-
export { Form, FormField, FormResetButton, FormSubmitButton, Toast, Toaster, ToastProvider, useDebounce, useTheme, useToast, Accordion, AccordionItem, AlertBanner, AlertDialog, Blockquote, Box, Breadcrumb, Breadcrumbs, Button, Calendar, Checkbox, Code, Column, Combobox, Container, ConfirmationDialog, DataTable, DataColumn, Dialog, DialogTrigger, Dots, FileTrigger, Flexbox, Grid, Heading, HoverTrigger, Icon, Icons, Image, InlineEditField, Label, List, ListItem, ListSection, Loading, LoadingButton, Menu, MenuItem, MenuTrigger, Modal, NavigationMenu, NavigationMenuItem, PasswordField, Popover, ProgressBar, ProgressCircle, Radio, RadioGroup, Row, SearchField, Select,
|
|
76
|
+
export { Form, FormField, FormResetButton, FormSubmitButton, Toast, Toaster, ToastProvider, useDebounce, useTheme, useToast, Accordion, AccordionItem, AlertBanner, AlertDialog, Blockquote, Box, Breadcrumb, Breadcrumbs, Button, Calendar, Checkbox, Code, Column, Combobox, Container, ConfirmationDialog, DataTable, DataColumn, Dialog, DialogTrigger, Dots, FileTrigger, Flexbox, Grid, Heading, HoverTrigger, Icon, Icons, Image, InlineEditField, Label, List, ListItem, ListSection, ListSeparator, Loading, LoadingButton, Menu, MenuItem, MenuSection, MenuSeparator, MenuTrigger, Modal, NavigationMenu, NavigationMenuItem, PasswordField, Popover, ProgressBar, ProgressCircle, Radio, RadioGroup, Row, SearchField, Select, Slider, Slot, Spinner, StatusLight, SubmenuTrigger, Switch, Table, TableHeader, TableBody, TableRow, TableColumn, TableCell, Tab, Tabs, TabList, TabPanel, Text, TextField, TextArea, ThemeButton, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipTrigger, ZenProvider, };
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
declare module '@umami/react-zen/forms/Form' {
|
|
@@ -412,7 +411,7 @@ declare module '@umami/react-zen/Dialog' {
|
|
|
412
411
|
import { DialogProps as AriaDialogProps } from 'react-aria-components';
|
|
413
412
|
interface DialogProps extends AriaDialogProps {
|
|
414
413
|
title?: ReactNode;
|
|
415
|
-
variant?: 'sheet';
|
|
414
|
+
variant?: 'modal' | 'menu' | 'sheet' | 'none';
|
|
416
415
|
}
|
|
417
416
|
function Dialog({ title, variant, children, className, ...props }: DialogProps): import("react").JSX.Element;
|
|
418
417
|
export { Dialog };
|
|
@@ -621,23 +620,20 @@ declare module '@umami/react-zen/LoadingButton' {
|
|
|
621
620
|
|
|
622
621
|
declare module '@umami/react-zen/Menu' {
|
|
623
622
|
import { ReactNode } from 'react';
|
|
624
|
-
import { MenuProps as AriaMenuProps } from 'react-aria-components';
|
|
623
|
+
import { ListBoxSectionProps, MenuItemProps, MenuProps as AriaMenuProps, SeparatorProps } from 'react-aria-components';
|
|
625
624
|
interface MenuProps extends AriaMenuProps<any> {
|
|
626
625
|
items?: any[];
|
|
627
626
|
className?: string;
|
|
628
627
|
children?: ReactNode;
|
|
629
628
|
}
|
|
630
629
|
function Menu({ items, className, children, ...props }: MenuProps): import("react").JSX.Element;
|
|
631
|
-
export { Menu };
|
|
632
|
-
export type { MenuProps };
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
declare module '@umami/react-zen/MenuItem' {
|
|
636
|
-
import { MenuItemProps } from 'react-aria-components';
|
|
637
630
|
function MenuItem({ children, className, ...props }: MenuItemProps<any>): import("react").JSX.Element;
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
631
|
+
function MenuSeparator({ className, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
632
|
+
function MenuSection({ title, className, children, ...props }: ListBoxSectionProps<any> & {
|
|
633
|
+
title?: string;
|
|
634
|
+
}): import("react").JSX.Element;
|
|
635
|
+
export { Menu, MenuItem, MenuSeparator, MenuSection };
|
|
636
|
+
export type { MenuProps };
|
|
641
637
|
}
|
|
642
638
|
|
|
643
639
|
declare module '@umami/react-zen/Modal' {
|