@alextheman/components 6.22.0 → 6.23.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.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/v7/index.cjs +1 -1
- package/dist/v7/index.cjs.map +1 -1
- package/dist/v7/index.d.cts +14 -4
- package/dist/v7/index.d.ts +16 -6
- package/dist/v7/index.js +1 -1
- package/dist/v7/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CollapseProps } from "@mui/material/Collapse";
|
|
|
4
4
|
import * as _$react from "react";
|
|
5
5
|
import { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentType, Dispatch, ElementType, JSX, Key, MouseEventHandler, ReactNode, Ref, SetStateAction } from "react";
|
|
6
6
|
import { LinkProps } from "@mui/material/Link";
|
|
7
|
-
import
|
|
7
|
+
import Button$1, { ButtonOwnProps, ButtonProps } from "@mui/material/Button";
|
|
8
8
|
import { PaletteMode, SxProps, Theme } from "@mui/material/styles";
|
|
9
9
|
import { SwitchProps } from "@mui/material/Switch";
|
|
10
10
|
import { AlertColor } from "@mui/material/Alert";
|
|
@@ -555,7 +555,7 @@ declare function DropdownMenu$1({
|
|
|
555
555
|
}: DropdownMenuProps$1): _$react_jsx_runtime0.JSX.Element;
|
|
556
556
|
//#endregion
|
|
557
557
|
//#region src/v7/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
558
|
-
type DropdownMenuItemProps$1<RootComponent extends ElementType = typeof
|
|
558
|
+
type DropdownMenuItemProps$1<RootComponent extends ElementType = typeof Button$1> = {
|
|
559
559
|
/**
|
|
560
560
|
* An optional component to provide to override the current component.
|
|
561
561
|
*
|
|
@@ -570,7 +570,7 @@ type DropdownMenuItemProps$1<RootComponent extends ElementType = typeof MUIButto
|
|
|
570
570
|
onClick?: ComponentProps<RootComponent>["onClick"];
|
|
571
571
|
} & Omit<ComponentPropsWithoutRef<RootComponent>, "children" | "ref"> & MenuItemOwnProps;
|
|
572
572
|
/** Represents a menu item to be used inside the `DropdownMenu`. It must be used as children of the `DropdownMenu` component. */
|
|
573
|
-
declare function DropdownMenuItem$1<RootComponent extends ElementType = typeof
|
|
573
|
+
declare function DropdownMenuItem$1<RootComponent extends ElementType = typeof Button$1>({
|
|
574
574
|
component,
|
|
575
575
|
children,
|
|
576
576
|
ref,
|