@codacy/ui-components 0.61.5 → 0.61.6
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/lib/Button/types.d.ts +2 -2
- package/package.json +1 -1
package/lib/Button/types.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import { IconFile, IconProps } from '../Icon/Icon.types';
|
|
|
4
4
|
import { ContainerComponentProps } from '../types';
|
|
5
5
|
export declare type ButtonSize = 'sm' | 'md';
|
|
6
6
|
export declare type ButtonType = 'default' | 'primary' | 'link' | 'flat' | 'primaryFlat';
|
|
7
|
-
export declare type ButtonColorScheme = 'primary' | '
|
|
7
|
+
export declare type ButtonColorScheme = 'primary' | 'danger' | 'subtle';
|
|
8
8
|
/** @deprecated Use color prop instead */
|
|
9
|
-
export declare type DeprecatedButtonType = 'danger' | '
|
|
9
|
+
export declare type DeprecatedButtonType = 'danger' | 'subtle';
|
|
10
10
|
export interface ButtonProps extends ContainerComponentProps, SpaceProps {
|
|
11
11
|
/** Disables the button, disallowing interaction */
|
|
12
12
|
disabled?: boolean;
|