carbon-react 147.4.3 → 147.5.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/esm/components/multi-action-button/index.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.component.d.ts +5 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +649 -4
- package/esm/components/split-button/index.d.ts +1 -1
- package/esm/components/split-button/split-button.component.d.ts +7 -1
- package/esm/components/split-button/split-button.component.js +556 -7
- package/lib/components/multi-action-button/index.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +5 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +647 -4
- package/lib/components/split-button/index.d.ts +1 -1
- package/lib/components/split-button/split-button.component.d.ts +7 -1
- package/lib/components/split-button/split-button.component.js +554 -7
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./multi-action-button.component";
|
|
2
|
-
export type { MultiActionButtonProps } from "./multi-action-button.component";
|
|
2
|
+
export type { MultiActionButtonHandle, MultiActionButtonProps, } from "./multi-action-button.component";
|
|
@@ -7,5 +7,9 @@ export interface MultiActionButtonProps extends WidthProps, Omit<SplitButtonProp
|
|
|
7
7
|
/** Second text child, renders under main text, only when size is "large" */
|
|
8
8
|
subtext?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
10
|
+
export declare type MultiActionButtonHandle = {
|
|
11
|
+
/** Programmatically focus the main button */
|
|
12
|
+
focusMainButton: () => void;
|
|
13
|
+
} | null;
|
|
14
|
+
export declare const MultiActionButton: React.ForwardRefExoticComponent<MultiActionButtonProps & React.RefAttributes<MultiActionButtonHandle>>;
|
|
11
15
|
export default MultiActionButton;
|