@stenajs-webui/elements 19.0.0-next.27 → 19.0.0-next.29
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/ui/action-menu/ActionMenuItemContent.d.ts +1 -1
- package/dist/components/ui/buttons/menu-button/ContentMenuButton.d.ts +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +964 -965
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- /package/dist/components/ui/buttons/menu-button/{MenuButtonContent.d.ts → internal/MenuButtonContent.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import { DivProps } from "@stenajs-webui/core";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
5
|
-
import { MenuButtonContentProps } from "../buttons/menu-button/MenuButtonContent";
|
|
5
|
+
import { MenuButtonContentProps } from "../buttons/menu-button/internal/MenuButtonContent";
|
|
6
6
|
export interface ActionMenuItemContentProps extends DivProps, Omit<MenuButtonContentProps, "left"> {
|
|
7
7
|
leftIcon?: IconDefinition;
|
|
8
8
|
disabled?: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { LabelElementProps } from "@stenajs-webui/core";
|
|
4
|
+
export interface ContentMenuButtonProps extends LabelElementProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const ContentMenuButton: React.ForwardRefExoticComponent<ContentMenuButtonProps & React.RefAttributes<HTMLLabelElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./components/ui/buttons/SecondaryButton";
|
|
|
17
17
|
export * from "./components/ui/buttons/common/ButtonCommon";
|
|
18
18
|
export * from "./components/ui/buttons/common/ButtonContent";
|
|
19
19
|
export * from "./components/ui/buttons/menu-button/MenuButton";
|
|
20
|
+
export * from "./components/ui/buttons/menu-button/ContentMenuButton";
|
|
20
21
|
export * from "./components/ui/buttons/menu-button/IconMenuButton";
|
|
21
22
|
export * from "./components/ui/buttons/menu-button/MenuButtonLink";
|
|
22
23
|
export * from "./components/ui/buttons/menu-button/IconMenuButtonLink";
|