@umami/react-zen 0.177.0 → 0.179.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 +2 -3
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +21 -4
- package/dist/index.mjs +21 -4
- package/package.json +1 -1
- package/styles.css +2 -3
package/dist/index.css
CHANGED
|
@@ -4969,19 +4969,18 @@ body a.Button_button__NGQyO {
|
|
|
4969
4969
|
}
|
|
4970
4970
|
|
|
4971
4971
|
/* virtual-css:css:c0d584d0daeaec1be71f8a50d43bf66c */
|
|
4972
|
-
.
|
|
4972
|
+
.ThemeButton_button__MDUzN {
|
|
4973
4973
|
width: 42px;
|
|
4974
4974
|
display: flex;
|
|
4975
4975
|
justify-content: center;
|
|
4976
4976
|
align-items: center;
|
|
4977
4977
|
cursor: pointer;
|
|
4978
4978
|
}
|
|
4979
|
-
.
|
|
4979
|
+
.ThemeButton_button__MDUzN > div {
|
|
4980
4980
|
display: flex;
|
|
4981
4981
|
justify-content: center;
|
|
4982
4982
|
align-items: center;
|
|
4983
4983
|
position: absolute;
|
|
4984
|
-
width: 50px;
|
|
4985
4984
|
}
|
|
4986
4985
|
|
|
4987
4986
|
/* virtual-css:css:9e5c8c52b82d4f77f80ba529f88ddc39 */
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
|
|
1
|
+
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
|
|
@@ -482,14 +482,20 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
482
482
|
}
|
|
483
483
|
declare function Menu({ className, children, ...props }: MenuProps): react.JSX.Element;
|
|
484
484
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
485
|
+
icon?: ReactNode;
|
|
486
|
+
label?: string;
|
|
485
487
|
showChecked?: boolean;
|
|
488
|
+
showSubMenuIcon?: boolean;
|
|
486
489
|
}
|
|
487
|
-
declare function MenuItem({ showChecked, children, className, ...props }: MenuItemProps): react.JSX.Element;
|
|
490
|
+
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react.JSX.Element;
|
|
488
491
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
|
|
489
492
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
490
493
|
title?: string;
|
|
491
494
|
}
|
|
492
495
|
declare function MenuSection({ title, className, children, ...props }: MenuSectionProps): react.JSX.Element;
|
|
496
|
+
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
497
|
+
}
|
|
498
|
+
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react.JSX.Element;
|
|
493
499
|
|
|
494
500
|
interface ModalProps extends ModalOverlayProps {
|
|
495
501
|
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
@@ -720,4 +726,4 @@ interface ZenProviderProps {
|
|
|
720
726
|
}
|
|
721
727
|
declare function ZenProvider({ children, ...props }: ZenProviderProps): react.JSX.Element;
|
|
722
728
|
|
|
723
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };
|
|
729
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
|
|
1
|
+
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
|
|
@@ -482,14 +482,20 @@ interface MenuProps extends MenuProps$1<any> {
|
|
|
482
482
|
}
|
|
483
483
|
declare function Menu({ className, children, ...props }: MenuProps): react.JSX.Element;
|
|
484
484
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
485
|
+
icon?: ReactNode;
|
|
486
|
+
label?: string;
|
|
485
487
|
showChecked?: boolean;
|
|
488
|
+
showSubMenuIcon?: boolean;
|
|
486
489
|
}
|
|
487
|
-
declare function MenuItem({ showChecked, children, className, ...props }: MenuItemProps): react.JSX.Element;
|
|
490
|
+
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react.JSX.Element;
|
|
488
491
|
declare function MenuSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
|
|
489
492
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
490
493
|
title?: string;
|
|
491
494
|
}
|
|
492
495
|
declare function MenuSection({ title, className, children, ...props }: MenuSectionProps): react.JSX.Element;
|
|
496
|
+
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
497
|
+
}
|
|
498
|
+
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react.JSX.Element;
|
|
493
499
|
|
|
494
500
|
interface ModalProps extends ModalOverlayProps {
|
|
495
501
|
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
@@ -720,4 +726,4 @@ interface ZenProviderProps {
|
|
|
720
726
|
}
|
|
721
727
|
declare function ZenProvider({ children, ...props }: ZenProviderProps): react.JSX.Element;
|
|
722
728
|
|
|
723
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };
|
|
729
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, type IconProps, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, ThemeButton, type ThemeButtonProps, Toast, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, useDebounce, useNavigationContext, useTheme, useToast };
|
package/dist/index.js
CHANGED
|
@@ -300,6 +300,7 @@ __export(index_exports, {
|
|
|
300
300
|
Slot: () => Slot,
|
|
301
301
|
Spinner: () => Spinner,
|
|
302
302
|
StatusLight: () => StatusLight,
|
|
303
|
+
SubMenuTrigger: () => SubMenuTrigger,
|
|
303
304
|
SubmenuTrigger: () => $3674c52c6b3c5bce$export$ecabc99eeffab7ca,
|
|
304
305
|
Switch: () => Switch2,
|
|
305
306
|
Tab: () => Tab,
|
|
@@ -33590,10 +33591,23 @@ var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
|
33590
33591
|
function Menu2({ className, children, ...props }) {
|
|
33591
33592
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
|
|
33592
33593
|
}
|
|
33593
|
-
function MenuItem2({
|
|
33594
|
+
function MenuItem2({
|
|
33595
|
+
icon,
|
|
33596
|
+
label,
|
|
33597
|
+
showChecked = true,
|
|
33598
|
+
showSubMenuIcon,
|
|
33599
|
+
children,
|
|
33600
|
+
className,
|
|
33601
|
+
...props
|
|
33602
|
+
}) {
|
|
33594
33603
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
|
|
33595
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.
|
|
33596
|
-
|
|
33604
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: Menu_default.label, children: [
|
|
33605
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { children: icon }),
|
|
33606
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Text, { children: label }),
|
|
33607
|
+
children
|
|
33608
|
+
] }),
|
|
33609
|
+
showChecked && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Check, {}) }),
|
|
33610
|
+
showSubMenuIcon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {}) })
|
|
33597
33611
|
] });
|
|
33598
33612
|
}
|
|
33599
33613
|
function MenuSeparator({ className, ...props }) {
|
|
@@ -33605,6 +33619,9 @@ function MenuSection({ title, className, children, ...props }) {
|
|
|
33605
33619
|
children
|
|
33606
33620
|
] });
|
|
33607
33621
|
}
|
|
33622
|
+
function SubMenuTrigger({ children, ...props }) {
|
|
33623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
|
|
33624
|
+
}
|
|
33608
33625
|
|
|
33609
33626
|
// src/components/Modal.tsx
|
|
33610
33627
|
var import_classnames37 = __toESM(require_classnames());
|
|
@@ -34184,7 +34201,7 @@ function TabPanel2({ children, ...props }) {
|
|
|
34184
34201
|
var import_classnames51 = __toESM(require_classnames());
|
|
34185
34202
|
|
|
34186
34203
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
34187
|
-
var ThemeButton_default = { "button": "
|
|
34204
|
+
var ThemeButton_default = { "button": "ThemeButton_button__MDUzN" };
|
|
34188
34205
|
|
|
34189
34206
|
// src/components/ThemeButton.tsx
|
|
34190
34207
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
package/dist/index.mjs
CHANGED
|
@@ -33473,10 +33473,23 @@ import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
|
33473
33473
|
function Menu2({ className, children, ...props }) {
|
|
33474
33474
|
return /* @__PURE__ */ jsx51($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
|
|
33475
33475
|
}
|
|
33476
|
-
function MenuItem2({
|
|
33476
|
+
function MenuItem2({
|
|
33477
|
+
icon,
|
|
33478
|
+
label,
|
|
33479
|
+
showChecked = true,
|
|
33480
|
+
showSubMenuIcon,
|
|
33481
|
+
children,
|
|
33482
|
+
className,
|
|
33483
|
+
...props
|
|
33484
|
+
}) {
|
|
33477
33485
|
return /* @__PURE__ */ jsxs28($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
|
|
33478
|
-
/* @__PURE__ */
|
|
33479
|
-
|
|
33486
|
+
/* @__PURE__ */ jsxs28("div", { className: Menu_default.label, children: [
|
|
33487
|
+
icon && /* @__PURE__ */ jsx51(Icon2, { children: icon }),
|
|
33488
|
+
label && /* @__PURE__ */ jsx51(Text, { children: label }),
|
|
33489
|
+
children
|
|
33490
|
+
] }),
|
|
33491
|
+
showChecked && /* @__PURE__ */ jsx51(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ jsx51(Check, {}) }),
|
|
33492
|
+
showSubMenuIcon && /* @__PURE__ */ jsx51(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ jsx51(ChevronRight, {}) })
|
|
33480
33493
|
] });
|
|
33481
33494
|
}
|
|
33482
33495
|
function MenuSeparator({ className, ...props }) {
|
|
@@ -33488,6 +33501,9 @@ function MenuSection({ title, className, children, ...props }) {
|
|
|
33488
33501
|
children
|
|
33489
33502
|
] });
|
|
33490
33503
|
}
|
|
33504
|
+
function SubMenuTrigger({ children, ...props }) {
|
|
33505
|
+
return /* @__PURE__ */ jsx51($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
|
|
33506
|
+
}
|
|
33491
33507
|
|
|
33492
33508
|
// src/components/Modal.tsx
|
|
33493
33509
|
var import_classnames37 = __toESM(require_classnames());
|
|
@@ -34071,7 +34087,7 @@ function TabPanel2({ children, ...props }) {
|
|
|
34071
34087
|
var import_classnames51 = __toESM(require_classnames());
|
|
34072
34088
|
|
|
34073
34089
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
34074
|
-
var ThemeButton_default = { "button": "
|
|
34090
|
+
var ThemeButton_default = { "button": "ThemeButton_button__MDUzN" };
|
|
34075
34091
|
|
|
34076
34092
|
// src/components/ThemeButton.tsx
|
|
34077
34093
|
import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
@@ -34273,6 +34289,7 @@ export {
|
|
|
34273
34289
|
Slot,
|
|
34274
34290
|
Spinner,
|
|
34275
34291
|
StatusLight,
|
|
34292
|
+
SubMenuTrigger,
|
|
34276
34293
|
$3674c52c6b3c5bce$export$ecabc99eeffab7ca as SubmenuTrigger,
|
|
34277
34294
|
Switch2 as Switch,
|
|
34278
34295
|
Tab,
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -5287,19 +5287,18 @@ body a.Button_button__NGQyO {
|
|
|
5287
5287
|
}
|
|
5288
5288
|
|
|
5289
5289
|
/* virtual-css:css:c0d584d0daeaec1be71f8a50d43bf66c */
|
|
5290
|
-
.
|
|
5290
|
+
.ThemeButton_button__MDUzN {
|
|
5291
5291
|
width: 42px;
|
|
5292
5292
|
display: flex;
|
|
5293
5293
|
justify-content: center;
|
|
5294
5294
|
align-items: center;
|
|
5295
5295
|
cursor: pointer;
|
|
5296
5296
|
}
|
|
5297
|
-
.
|
|
5297
|
+
.ThemeButton_button__MDUzN > div {
|
|
5298
5298
|
display: flex;
|
|
5299
5299
|
justify-content: center;
|
|
5300
5300
|
align-items: center;
|
|
5301
5301
|
position: absolute;
|
|
5302
|
-
width: 50px;
|
|
5303
5302
|
}
|
|
5304
5303
|
|
|
5305
5304
|
/* virtual-css:css:9e5c8c52b82d4f77f80ba529f88ddc39 */
|