@openfin/ui-library 0.8.0-alpha.1670834649 → 0.8.0-alpha.1671470842
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,11 +1,9 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, FC, ReactNode } from 'react';
|
|
2
2
|
import { ButtonShape, ButtonSize, ButtonKind, ButtonLayout } from './button.variants';
|
|
3
3
|
declare type ButtonPropsWithLabel = {
|
|
4
|
-
label: string;
|
|
5
4
|
children?: never;
|
|
6
5
|
};
|
|
7
6
|
declare type ButtonPropsWithChildren = {
|
|
8
|
-
label?: never;
|
|
9
7
|
children: ReactNode;
|
|
10
8
|
};
|
|
11
9
|
export declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & (ButtonPropsWithLabel | ButtonPropsWithChildren) & {
|
|
@@ -114,7 +114,7 @@ export declare const Unit: {
|
|
|
114
114
|
/**
|
|
115
115
|
* UnitPx / "px" --
|
|
116
116
|
* Design System works on a 4px Grid
|
|
117
|
-
* UnitPx includes the px suffix for
|
|
117
|
+
* UnitPx includes the px suffix for convenience in Styled Components
|
|
118
118
|
*/
|
|
119
119
|
export declare const UnitPx: {
|
|
120
120
|
readonly xsmall: "4px";
|