@openfin/ui-library 0.8.0-alpha.1671493757 → 0.8.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.
- package/dist/assets/fonts/index.js +1 -1
- package/dist/components/controls/Button/button.d.ts +2 -0
- package/dist/components/system/ThemeProvider/lib/constants.d.ts +2 -2
- package/dist/fonts/Inter-Italic.woff2 +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +120 -209
- package/dist/index.js.LICENSE.txt +0 -10
- package/package.json +1 -3
- package/dist/components/controls/ExpandableButton/expandDirection.d.ts +0 -4
- package/dist/components/controls/ExpandableButton/expandableButton.d.ts +0 -14
- package/dist/components/controls/ExpandableButton/expandablePanel.d.ts +0 -12
- package/dist/components/controls/ExpandableButton/expandablePanel.setup.d.ts +0 -2
- package/dist/components/controls/ExpandableButton/index.d.ts +0 -2
|
@@ -1,9 +1,11 @@
|
|
|
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;
|
|
4
5
|
children?: never;
|
|
5
6
|
};
|
|
6
7
|
declare type ButtonPropsWithChildren = {
|
|
8
|
+
label?: never;
|
|
7
9
|
children: ReactNode;
|
|
8
10
|
};
|
|
9
11
|
export declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & (ButtonPropsWithLabel | ButtonPropsWithChildren) & {
|
|
@@ -23,7 +23,7 @@ export declare const Color: {
|
|
|
23
23
|
readonly darkGray6: "#111214";
|
|
24
24
|
readonly openFinDarkest: "#3D39CD";
|
|
25
25
|
readonly openFinDarker: "#4642E0";
|
|
26
|
-
readonly openFin: "#
|
|
26
|
+
readonly openFin: "#0A76D3";
|
|
27
27
|
readonly openFinLight: "#5254FB";
|
|
28
28
|
readonly openFinLighter: "#5C5EFE";
|
|
29
29
|
readonly openFinLightest: "#6864FF";
|
|
@@ -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 convienence in Styled Components
|
|
118
118
|
*/
|
|
119
119
|
export declare const UnitPx: {
|
|
120
120
|
readonly xsmall: "4px";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED