@equisoft/design-elements-react 3.5.1-snapshot.20211019135508 → 3.5.1-snapshot.20211019190632
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.
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import React, { ButtonHTMLAttributes } from 'react';
|
|
2
1
|
import { FlattenInterpolation, ThemeProps } from 'styled-components';
|
|
3
2
|
import { Theme } from '../../themes';
|
|
4
3
|
export declare const defaultButtonStyles: FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
5
4
|
isMobile: boolean;
|
|
6
5
|
}, import("styled-components").DefaultTheme>>;
|
|
7
|
-
|
|
6
|
+
export declare const AbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
7
|
isMobile: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const AbstractButton: React.ForwardRefExoticComponent<AbstractButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
}, never>;
|
|
11
9
|
declare type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'destructive';
|
|
12
10
|
export interface ButtonTypeStyles {
|
|
13
11
|
buttonType: ButtonType;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
export declare type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
3
3
|
interface TooltipProps {
|
|
4
|
-
/** Tooltip text content */
|
|
5
|
-
children: ReactNode;
|
|
6
4
|
className?: string;
|
|
7
5
|
/** Set tooltip open by default */
|
|
8
6
|
defaultOpen?: boolean;
|
|
@@ -11,6 +9,11 @@ interface TooltipProps {
|
|
|
11
9
|
* @default right
|
|
12
10
|
*/
|
|
13
11
|
desktopPlacement?: TooltipPlacement;
|
|
12
|
+
/** Adds delay to tooltip */
|
|
13
|
+
delayed?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** Tooltip text content */
|
|
16
|
+
label: string;
|
|
14
17
|
}
|
|
15
|
-
export declare
|
|
18
|
+
export declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
16
19
|
export {};
|
package/package.json
CHANGED