@nimbus-ds/patterns 1.24.1 → 1.25.0-rc.2
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/Menu/index.d.ts +4 -4
- package/dist/Menu/index.js +1 -1
- package/dist/MenuButton/index.d.ts +4 -4
- package/dist/MenuButton/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -540,10 +540,6 @@ export interface MenuButtonAccordionProperties {
|
|
|
540
540
|
* If provided, it overrides the context.
|
|
541
541
|
*/
|
|
542
542
|
expanded?: boolean;
|
|
543
|
-
/**
|
|
544
|
-
* Text to be displayed in the tooltip when the button is collapsed. If not provided, the label will be used.
|
|
545
|
-
*/
|
|
546
|
-
tooltipText?: string;
|
|
547
543
|
}
|
|
548
544
|
export type MenuButtonAccordionBaseProps = MenuButtonAccordionProperties & {
|
|
549
545
|
menuButton: Omit<MenuButtonProps, "expanded" | "tooltipText">;
|
|
@@ -587,6 +583,10 @@ export interface MenuButtonProperties {
|
|
|
587
583
|
* Text to be displayed in the tooltip when the button is collapsed. If not provided, the label will be used.
|
|
588
584
|
*/
|
|
589
585
|
tooltipText?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Whether to show tooltips when the button is collapsed. Defaults to true.
|
|
588
|
+
*/
|
|
589
|
+
showTooltipsWhenCollapsed?: boolean;
|
|
590
590
|
}
|
|
591
591
|
export type MenuButtonBaseProps = MenuButtonProperties & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color">;
|
|
592
592
|
export declare const MenuButton: PolymorphicForwardRefComponent<"a" | "button", MenuButtonBaseProps> & MenuButtonComponents;
|