@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
|
@@ -4,16 +4,6 @@ object-assign
|
|
|
4
4
|
@license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/*!
|
|
8
|
-
* focus-trap 7.1.0
|
|
9
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/*!
|
|
13
|
-
* tabbable 6.0.1
|
|
14
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
7
|
/** @license React v17.0.2
|
|
18
8
|
* react-jsx-runtime.production.min.js
|
|
19
9
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/ui-library",
|
|
3
3
|
"description": "OpenFin UI Component Library",
|
|
4
|
-
"version": "0.8.0
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"repository": "github:openfin/ui-library",
|
|
@@ -37,8 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modulz/radix-icons": "^4.0.0",
|
|
40
|
-
"focus-trap-react": "^10.0.1",
|
|
41
|
-
"framer-motion": "4.1.5",
|
|
42
40
|
"tinycolor2": "^1.4.2"
|
|
43
41
|
},
|
|
44
42
|
"devDependencies": {
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from '../Button';
|
|
3
|
-
import { ExpandDirection } from './expandDirection';
|
|
4
|
-
export declare type SecondaryButtonProps = {
|
|
5
|
-
title: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick: (event: React.MouseEvent, closeSecondaryButtonsPanel?: () => void) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare type ExpandableButtonProps = Omit<ButtonProps, "shape"> & {
|
|
10
|
-
secondaryButtons?: SecondaryButtonProps[];
|
|
11
|
-
closePanelOnSecondaryButtonClick?: boolean;
|
|
12
|
-
expandDirection?: ExpandDirection;
|
|
13
|
-
};
|
|
14
|
-
export declare const ExpandableButton: (props: ExpandableButtonProps) => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SecondaryButtonProps } from './expandableButton';
|
|
2
|
-
import { ButtonSizeType } from '../Button';
|
|
3
|
-
import { ExpandDirection } from './expandDirection';
|
|
4
|
-
export declare type ExpandablePanelProps = {
|
|
5
|
-
secondaryButtons: SecondaryButtonProps[];
|
|
6
|
-
onCollapseRequest: () => void;
|
|
7
|
-
closePanelOnSecondaryButtonClick?: boolean;
|
|
8
|
-
buttonSize?: ButtonSizeType;
|
|
9
|
-
expandDirection: ExpandDirection;
|
|
10
|
-
panelId?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const ExpandablePanel: (props: ExpandablePanelProps) => JSX.Element;
|