canny-ui-react 6.2.0 → 6.2.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/dist/components/Menu/Menu.d.ts +8 -2
- package/dist/index.cjs +52 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11192 -11915
- package/dist/index.js.map +1 -1
- package/package.json +18 -18
|
@@ -109,5 +109,11 @@ export interface MenuSubTriggerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
109
109
|
icon?: ReactNode;
|
|
110
110
|
}
|
|
111
111
|
export declare const MenuSubTrigger: import("react").ForwardRefExoticComponent<MenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
112
|
-
export type MenuSubContentProps = PopperContentProps
|
|
113
|
-
|
|
112
|
+
export type MenuSubContentProps = Omit<PopperContentProps, 'align'> & {
|
|
113
|
+
/** Submenus open flush with the start or end of their trigger row; `center` is not supported. */
|
|
114
|
+
align?: 'start' | 'end';
|
|
115
|
+
};
|
|
116
|
+
export declare const MenuSubContent: import("react").ForwardRefExoticComponent<Omit<PopperContentProps, "align"> & {
|
|
117
|
+
/** Submenus open flush with the start or end of their trigger row; `center` is not supported. */
|
|
118
|
+
align?: "start" | "end";
|
|
119
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|