@apolitical/component-library 8.1.0-RR.6 → 8.1.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.
@@ -48,6 +48,8 @@ export interface ButtonPropsType {
48
48
  };
49
49
  /** An optional tooltip for the button. This will only apply when disabled is true */
50
50
  tooltip?: string;
51
+ /** An optional tooltip for the button. This force showing the tooltip even if the button is not disabled */
52
+ forceTooltip?: boolean;
51
53
  /** This is an optional way to pass in text which is only for screen readers
52
54
  * It's rendered on the page (so the page is still functional without CSS, unlike ARIA labels) but hidden
53
55
  * with CSS, for cases where the whole button should be an icon
@@ -72,5 +74,5 @@ export interface ButtonPropsType {
72
74
  /** The test ID for Jest tests */
73
75
  'data-testid'?: string;
74
76
  }
75
- declare const Button: ({ variant, size, styling, icon, href, element, onClick, className, disabled, tooltip, screenreaderText, children, ...rest }: ButtonPropsType) => import("react/jsx-runtime").JSX.Element;
77
+ declare const Button: ({ variant, size, styling, icon, href, element, onClick, className, disabled, tooltip, forceTooltip, screenreaderText, children, ...rest }: ButtonPropsType) => import("react/jsx-runtime").JSX.Element;
76
78
  export default Button;