@openfin/ui-library 0.28.1-alpha.1737713987 → 0.28.1-alpha.1738144127
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/components/controls/CollapsibleCard/collapsibleCard.d.ts +1 -1
- package/dist/components/controls/ExpandableButton/expandableButton.d.ts +1 -1
- package/dist/components/controls/ExpandableButton/expandablePanel.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/CustomContextMenuItem.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/NormalCustomContextMenuItem.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/RootMenuHeader.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/SubmenuHeaderCustomContextMenuItem.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/useContextMenuKeyboardNavigation.d.ts +1 -1
- package/dist/components/controls/Menus/CustomContextMenu/useContextMenuNavigation.d.ts +2 -2
- package/dist/components/controls/Menus/common.d.ts +36 -65
- package/dist/components/elements/Calendar/calendar.d.ts +1 -1
- package/dist/components/elements/Icon/openfin/BellFilledIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/BellIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/BlockedIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/BookmarkFilled.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/BookmarkOutlined.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/BrokenLinkIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/ChevronDownIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/ChevronLeftIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/ChevronRightIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/ChevronUpIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/ExclamationCircledFilledIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/FallbackGlobeIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/FilledCircleIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/FilterIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/FloppyDiskIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/FragmentsIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/LightBulbFilledIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/LightBulbOutlinedIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/LockedClosedFilledIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/MinimizeIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/OpenFinIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/PageIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/RedDotIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/StackIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/StorefrontIcon.d.ts +2 -2
- package/dist/components/elements/Icon/openfin/WorkspaceIcon.d.ts +2 -2
- package/dist/components/elements/Label/label.d.ts +1 -2
- package/dist/components/elements/Loader/loader.d.ts +1 -1
- package/dist/components/elements/Loader/openfinLoader.d.ts +1 -1
- package/dist/components/input/BaseInput/baseInput.d.ts +10 -8
- package/dist/components/input/Checkbox/checkbox.d.ts +7 -7
- package/dist/components/input/NumberInput/numberInput.d.ts +0 -1
- package/dist/components/input/RadioInput/radioInput.d.ts +3 -3
- package/dist/components/input/TextArea/textArea.d.ts +3 -3
- package/dist/components/input/TextInput/textInput.d.ts +7 -8
- package/dist/components/layout/Box/box.d.ts +1 -15
- package/dist/components/layout/HamburgerNavigation/sidebarMenu.d.ts +1 -1
- package/dist/components/layout/TabList/tab.d.ts +2 -1
- package/dist/components/system/ThemeProvider/lib/iconSet.d.ts +340 -320
- package/dist/components/system/ThemeProvider/themeProvider.d.ts +2 -1
- package/dist/components/system/ThemeProvider/themeProvider.spec.d.ts +1 -1
- package/dist/components/templates/CascadingDropdownMenu/cascadingDropdownMenu.d.ts +1 -2
- package/dist/components/templates/ContactCard/PresenceIcons.d.ts +4 -4
- package/dist/components/typography/Heading/heading.d.ts +408 -354
- package/dist/components/typography/Text/text.d.ts +1 -6
- package/dist/hooks/useColorScheme.d.ts +1 -1
- package/dist/hooks/useTheme.d.ts +2 -2
- package/dist/index.js +164 -164
- package/dist/index.js.LICENSE.txt +3 -17
- package/dist/storybookHelpers.d.ts +53 -54
- package/package.json +20 -20
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
1
|
/*!
|
|
8
|
-
* focus-trap 7.
|
|
2
|
+
* focus-trap 7.6.2
|
|
9
3
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
10
4
|
*/
|
|
11
5
|
|
|
12
6
|
/*!
|
|
13
|
-
* tabbable 6.
|
|
7
|
+
* tabbable 6.2.0
|
|
14
8
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
15
9
|
*/
|
|
16
10
|
|
|
17
11
|
/**
|
|
18
|
-
* @license
|
|
19
|
-
* Lodash <https://lodash.com/>
|
|
20
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
21
|
-
* Released under MIT license <https://lodash.com/license>
|
|
22
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
23
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/** @license React v17.0.2
|
|
12
|
+
* @license React
|
|
27
13
|
* react-jsx-runtime.production.min.js
|
|
28
14
|
*
|
|
29
15
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -1,72 +1,71 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StoryRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
|
-
alignItems?: import("./components/layout/Box/types").AlignItems
|
|
4
|
-
display?: import("./components/layout/Box/types").Display
|
|
5
|
-
flexDirection?: import("./components/layout/Box/types").FlexDirection
|
|
6
|
-
flexWrap?: import("./components/layout/Box/types").FlexWrap
|
|
7
|
-
justifyContent?: import("./components/layout/Box/types").JustifyContent
|
|
8
|
-
gap?: "
|
|
9
|
-
alignSelf?: import("./components/layout/Box/types").AlignSelf
|
|
10
|
-
flexBasis?: string
|
|
11
|
-
flexGrow?:
|
|
12
|
-
flexShrink?:
|
|
13
|
-
order?: number
|
|
14
|
-
background?: import("./components/layout/Box/types").BackgroundLevel
|
|
15
|
-
padding?: "
|
|
2
|
+
alignItems?: import("./components/layout/Box/types").AlignItems;
|
|
3
|
+
display?: import("./components/layout/Box/types").Display;
|
|
4
|
+
flexDirection?: import("./components/layout/Box/types").FlexDirection;
|
|
5
|
+
flexWrap?: import("./components/layout/Box/types").FlexWrap;
|
|
6
|
+
justifyContent?: import("./components/layout/Box/types").JustifyContent;
|
|
7
|
+
gap?: import(".").UnitPxType;
|
|
8
|
+
alignSelf?: import("./components/layout/Box/types").AlignSelf;
|
|
9
|
+
flexBasis?: string;
|
|
10
|
+
flexGrow?: 1 | 0;
|
|
11
|
+
flexShrink?: 1 | 0;
|
|
12
|
+
order?: number;
|
|
13
|
+
background?: import("./components/layout/Box/types").BackgroundLevel;
|
|
14
|
+
padding?: import(".").UnitPxType;
|
|
16
15
|
} & {
|
|
17
16
|
gap: string;
|
|
18
17
|
alignItems: string;
|
|
19
18
|
}, "alignItems" | "gap">;
|
|
20
19
|
export declare const StoryColumn: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLDivElement> & {
|
|
21
|
-
alignItems?: import("./components/layout/Box/types").AlignItems
|
|
22
|
-
display?: import("./components/layout/Box/types").Display
|
|
23
|
-
flexDirection?: import("./components/layout/Box/types").FlexDirection
|
|
24
|
-
flexWrap?: import("./components/layout/Box/types").FlexWrap
|
|
25
|
-
justifyContent?: import("./components/layout/Box/types").JustifyContent
|
|
26
|
-
gap?: "
|
|
27
|
-
alignSelf?: import("./components/layout/Box/types").AlignSelf
|
|
28
|
-
flexBasis?: string
|
|
29
|
-
flexGrow?:
|
|
30
|
-
flexShrink?:
|
|
31
|
-
order?: number
|
|
32
|
-
background?: import("./components/layout/Box/types").BackgroundLevel
|
|
33
|
-
padding?: "
|
|
20
|
+
alignItems?: import("./components/layout/Box/types").AlignItems;
|
|
21
|
+
display?: import("./components/layout/Box/types").Display;
|
|
22
|
+
flexDirection?: import("./components/layout/Box/types").FlexDirection;
|
|
23
|
+
flexWrap?: import("./components/layout/Box/types").FlexWrap;
|
|
24
|
+
justifyContent?: import("./components/layout/Box/types").JustifyContent;
|
|
25
|
+
gap?: import(".").UnitPxType;
|
|
26
|
+
alignSelf?: import("./components/layout/Box/types").AlignSelf;
|
|
27
|
+
flexBasis?: string;
|
|
28
|
+
flexGrow?: 1 | 0;
|
|
29
|
+
flexShrink?: 1 | 0;
|
|
30
|
+
order?: number;
|
|
31
|
+
background?: import("./components/layout/Box/types").BackgroundLevel;
|
|
32
|
+
padding?: import(".").UnitPxType;
|
|
34
33
|
} & {
|
|
35
34
|
flexDirection: string;
|
|
36
35
|
gap: string;
|
|
37
36
|
alignItems: string;
|
|
38
37
|
}, "flexDirection" | "alignItems" | "gap">;
|
|
39
38
|
export declare const StoryGrid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLDivElement> & {
|
|
40
|
-
alignItems?: import("./components/layout/Box/types").AlignItems
|
|
41
|
-
display?: import("./components/layout/Box/types").Display
|
|
42
|
-
flexDirection?: import("./components/layout/Box/types").FlexDirection
|
|
43
|
-
flexWrap?: import("./components/layout/Box/types").FlexWrap
|
|
44
|
-
justifyContent?: import("./components/layout/Box/types").JustifyContent
|
|
45
|
-
gap?: "
|
|
46
|
-
alignSelf?: import("./components/layout/Box/types").AlignSelf
|
|
47
|
-
flexBasis?: string
|
|
48
|
-
flexGrow?:
|
|
49
|
-
flexShrink?:
|
|
50
|
-
order?: number
|
|
51
|
-
background?: import("./components/layout/Box/types").BackgroundLevel
|
|
52
|
-
padding?: "
|
|
39
|
+
alignItems?: import("./components/layout/Box/types").AlignItems;
|
|
40
|
+
display?: import("./components/layout/Box/types").Display;
|
|
41
|
+
flexDirection?: import("./components/layout/Box/types").FlexDirection;
|
|
42
|
+
flexWrap?: import("./components/layout/Box/types").FlexWrap;
|
|
43
|
+
justifyContent?: import("./components/layout/Box/types").JustifyContent;
|
|
44
|
+
gap?: import(".").UnitPxType;
|
|
45
|
+
alignSelf?: import("./components/layout/Box/types").AlignSelf;
|
|
46
|
+
flexBasis?: string;
|
|
47
|
+
flexGrow?: 1 | 0;
|
|
48
|
+
flexShrink?: 1 | 0;
|
|
49
|
+
order?: number;
|
|
50
|
+
background?: import("./components/layout/Box/types").BackgroundLevel;
|
|
51
|
+
padding?: import(".").UnitPxType;
|
|
53
52
|
} & {
|
|
54
53
|
gap: string;
|
|
55
54
|
}, "gap">;
|
|
56
55
|
export declare const PlaceholderContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLDivElement> & {
|
|
57
|
-
alignItems?: import("./components/layout/Box/types").AlignItems
|
|
58
|
-
display?: import("./components/layout/Box/types").Display
|
|
59
|
-
flexDirection?: import("./components/layout/Box/types").FlexDirection
|
|
60
|
-
flexWrap?: import("./components/layout/Box/types").FlexWrap
|
|
61
|
-
justifyContent?: import("./components/layout/Box/types").JustifyContent
|
|
62
|
-
gap?: "
|
|
63
|
-
alignSelf?: import("./components/layout/Box/types").AlignSelf
|
|
64
|
-
flexBasis?: string
|
|
65
|
-
flexGrow?:
|
|
66
|
-
flexShrink?:
|
|
67
|
-
order?: number
|
|
68
|
-
background?: import("./components/layout/Box/types").BackgroundLevel
|
|
69
|
-
padding?: "
|
|
56
|
+
alignItems?: import("./components/layout/Box/types").AlignItems;
|
|
57
|
+
display?: import("./components/layout/Box/types").Display;
|
|
58
|
+
flexDirection?: import("./components/layout/Box/types").FlexDirection;
|
|
59
|
+
flexWrap?: import("./components/layout/Box/types").FlexWrap;
|
|
60
|
+
justifyContent?: import("./components/layout/Box/types").JustifyContent;
|
|
61
|
+
gap?: import(".").UnitPxType;
|
|
62
|
+
alignSelf?: import("./components/layout/Box/types").AlignSelf;
|
|
63
|
+
flexBasis?: string;
|
|
64
|
+
flexGrow?: 1 | 0;
|
|
65
|
+
flexShrink?: 1 | 0;
|
|
66
|
+
order?: number;
|
|
67
|
+
background?: import("./components/layout/Box/types").BackgroundLevel;
|
|
68
|
+
padding?: import(".").UnitPxType;
|
|
70
69
|
} & {
|
|
71
70
|
flexDirection: string;
|
|
72
71
|
gap: string;
|
|
@@ -75,4 +74,4 @@ export declare const PlaceholderContent: import("styled-components").StyledCompo
|
|
|
75
74
|
export declare const Pre: import("styled-components").StyledComponent<"pre", import("styled-components").DefaultTheme, {}, never>;
|
|
76
75
|
export declare const JSONData: ({ data }: {
|
|
77
76
|
data: unknown;
|
|
78
|
-
}) => JSX.Element;
|
|
77
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
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.28.1-alpha.
|
|
4
|
+
"version": "0.28.1-alpha.1738144127",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"repository": "github:openfin/ui-library",
|
|
@@ -38,16 +38,18 @@
|
|
|
38
38
|
"storybook:cache-clear": "rimraf ./node_modules/.cache/storybook"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"
|
|
41
|
+
"@radix-ui/react-icons": ">=1.3.2 <2.0.0",
|
|
42
|
+
"framer-motion": ">=11.13.1 <12.0.0",
|
|
43
|
+
"react": ">=18.3.1 <19.0.0",
|
|
44
|
+
"react-dom": ">=18.3.1 <19.0.0",
|
|
45
|
+
"styled-components": ">=5.3.11 <6.0.0",
|
|
46
|
+
"react-calendar": "^5.1.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"tinycolor2": "^1.6.0",
|
|
50
|
+
"require-from-string": "^2.0.2",
|
|
44
51
|
"lodash.merge": "^4.6.2",
|
|
45
|
-
"react": "
|
|
46
|
-
"react-calendar": "=>4.0.0 <5.0.0",
|
|
47
|
-
"react-dom": "=>17.0.1 <18.0.0",
|
|
48
|
-
"require-from-string": "=>2.0.2 <3.0.0",
|
|
49
|
-
"styled-components": "=>4.4.1 <6.0.0",
|
|
50
|
-
"tinycolor2": "=>1.4.2 <2.0.0"
|
|
52
|
+
"focus-trap-react": "^10.0.1"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
55
|
"@babel/core": "^7.18.6",
|
|
@@ -58,19 +60,17 @@
|
|
|
58
60
|
"@storybook/node-logger": "^7.0.12",
|
|
59
61
|
"@storybook/react": "^7.0.12",
|
|
60
62
|
"@storybook/react-webpack5": "^7.0.12",
|
|
61
|
-
"@testing-library/dom": "^
|
|
62
|
-
"@testing-library/jest-dom": "^
|
|
63
|
-
"@testing-library/react": "^
|
|
64
|
-
"@testing-library/
|
|
65
|
-
"@testing-library/user-event": "^14.2.1",
|
|
63
|
+
"@testing-library/dom": "^10.4.0",
|
|
64
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
65
|
+
"@testing-library/react": "^16.0.1",
|
|
66
|
+
"@testing-library/user-event": "^14.5.2",
|
|
66
67
|
"@types/jest": "^28.1.3",
|
|
67
68
|
"@types/lodash.merge": "^4.6.2",
|
|
68
69
|
"@types/node": "^18.15.12",
|
|
69
|
-
"@types/react": "^
|
|
70
|
-
"@types/react-
|
|
71
|
-
"@types/
|
|
72
|
-
"@types/
|
|
73
|
-
"@types/tinycolor2": "^1.4.3",
|
|
70
|
+
"@types/react": "^18.3.12",
|
|
71
|
+
"@types/react-dom": "^18.3.1",
|
|
72
|
+
"@types/styled-components": "^5.1.34",
|
|
73
|
+
"@types/tinycolor2": "^1.4.6",
|
|
74
74
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
75
75
|
"@typescript-eslint/parser": "^5.59.6",
|
|
76
76
|
"babel-loader": "^8.2.5",
|