@openfin/ui-library 0.15.2-alpha.1683230507 → 0.15.2
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/layout/Box/box.d.ts +2 -2
- package/dist/components/system/ThemeProvider/lib/palette.d.ts +0 -1
- package/dist/components/templates/utils/name.d.ts +1 -0
- package/dist/components/typography/Heading/heading.d.ts +42 -42
- package/dist/components/typography/Text/text.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +40 -15
- package/dist/storybookHelpers.d.ts +9 -9
- package/package.json +3 -7
- package/dist/lib/color-generator.d.ts +0 -7
- package/dist/lib/color-generator.spec.d.ts +0 -1
|
@@ -5,14 +5,14 @@ export declare const StoryRow: import("styled-components").StyledComponent<"div"
|
|
|
5
5
|
flexDirection?: import("./components/layout/Box/types").FlexDirection | undefined;
|
|
6
6
|
flexWrap?: import("./components/layout/Box/types").FlexWrap | undefined;
|
|
7
7
|
justifyContent?: import("./components/layout/Box/types").JustifyContent | undefined;
|
|
8
|
-
gap?: "
|
|
8
|
+
gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
9
9
|
alignSelf?: import("./components/layout/Box/types").AlignSelf | undefined;
|
|
10
10
|
flexBasis?: string | undefined;
|
|
11
11
|
flexGrow?: 0 | 1 | undefined;
|
|
12
12
|
flexShrink?: 0 | 1 | undefined;
|
|
13
13
|
order?: number | undefined;
|
|
14
14
|
background?: import("./components/layout/Box/types").BackgroundLevel | undefined;
|
|
15
|
-
padding?: "
|
|
15
|
+
padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
gap: string;
|
|
18
18
|
alignItems: string;
|
|
@@ -23,14 +23,14 @@ export declare const StoryColumn: import("styled-components").StyledComponent<"d
|
|
|
23
23
|
flexDirection?: import("./components/layout/Box/types").FlexDirection | undefined;
|
|
24
24
|
flexWrap?: import("./components/layout/Box/types").FlexWrap | undefined;
|
|
25
25
|
justifyContent?: import("./components/layout/Box/types").JustifyContent | undefined;
|
|
26
|
-
gap?: "
|
|
26
|
+
gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
27
27
|
alignSelf?: import("./components/layout/Box/types").AlignSelf | undefined;
|
|
28
28
|
flexBasis?: string | undefined;
|
|
29
29
|
flexGrow?: 0 | 1 | undefined;
|
|
30
30
|
flexShrink?: 0 | 1 | undefined;
|
|
31
31
|
order?: number | undefined;
|
|
32
32
|
background?: import("./components/layout/Box/types").BackgroundLevel | undefined;
|
|
33
|
-
padding?: "
|
|
33
|
+
padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
flexDirection: string;
|
|
36
36
|
gap: string;
|
|
@@ -42,14 +42,14 @@ export declare const StoryGrid: import("styled-components").StyledComponent<"div
|
|
|
42
42
|
flexDirection?: import("./components/layout/Box/types").FlexDirection | undefined;
|
|
43
43
|
flexWrap?: import("./components/layout/Box/types").FlexWrap | undefined;
|
|
44
44
|
justifyContent?: import("./components/layout/Box/types").JustifyContent | undefined;
|
|
45
|
-
gap?: "
|
|
45
|
+
gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
46
46
|
alignSelf?: import("./components/layout/Box/types").AlignSelf | undefined;
|
|
47
47
|
flexBasis?: string | undefined;
|
|
48
48
|
flexGrow?: 0 | 1 | undefined;
|
|
49
49
|
flexShrink?: 0 | 1 | undefined;
|
|
50
50
|
order?: number | undefined;
|
|
51
51
|
background?: import("./components/layout/Box/types").BackgroundLevel | undefined;
|
|
52
|
-
padding?: "
|
|
52
|
+
padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
53
53
|
} & {
|
|
54
54
|
gap: string;
|
|
55
55
|
}, "gap">;
|
|
@@ -59,14 +59,14 @@ export declare const PlaceholderContent: import("styled-components").StyledCompo
|
|
|
59
59
|
flexDirection?: import("./components/layout/Box/types").FlexDirection | undefined;
|
|
60
60
|
flexWrap?: import("./components/layout/Box/types").FlexWrap | undefined;
|
|
61
61
|
justifyContent?: import("./components/layout/Box/types").JustifyContent | undefined;
|
|
62
|
-
gap?: "
|
|
62
|
+
gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
63
63
|
alignSelf?: import("./components/layout/Box/types").AlignSelf | undefined;
|
|
64
64
|
flexBasis?: string | undefined;
|
|
65
65
|
flexGrow?: 0 | 1 | undefined;
|
|
66
66
|
flexShrink?: 0 | 1 | undefined;
|
|
67
67
|
order?: number | undefined;
|
|
68
68
|
background?: import("./components/layout/Box/types").BackgroundLevel | undefined;
|
|
69
|
-
padding?: "
|
|
69
|
+
padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
|
|
70
70
|
} & {
|
|
71
71
|
flexDirection: string;
|
|
72
72
|
gap: string;
|
|
@@ -81,4 +81,4 @@ export declare const SpatialLink: import("styled-components").StyledComponent<"a
|
|
|
81
81
|
target: "_blank";
|
|
82
82
|
rel: "noreferrer";
|
|
83
83
|
title: "Spatial";
|
|
84
|
-
}, "title" | "
|
|
84
|
+
}, "title" | "target" | "href" | "rel">;
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/ui-library",
|
|
3
3
|
"description": "OpenFin UI Component Library",
|
|
4
|
-
"version": "0.15.2
|
|
4
|
+
"version": "0.15.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"repository": "github:openfin/ui-library",
|
|
8
8
|
"homepage": "https://openfin-ui.netlify.app",
|
|
9
|
-
"sideEffects": false,
|
|
10
9
|
"files": [
|
|
11
10
|
"dist/**/*"
|
|
12
11
|
],
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"@testing-library/user-event": "^14.2.1",
|
|
54
53
|
"@types/jest": "^28.1.3",
|
|
55
54
|
"@types/lodash.defaultsdeep": "^4.6.7",
|
|
56
|
-
"@types/node": "^18.
|
|
55
|
+
"@types/node": "^18.0.0",
|
|
57
56
|
"@types/react": "^17.0.3",
|
|
58
57
|
"@types/react-calendar": "^3.9.0",
|
|
59
58
|
"@types/react-dom": "^17.0.2",
|
|
@@ -176,10 +175,7 @@
|
|
|
176
175
|
},
|
|
177
176
|
"testEnvironment": "jsdom",
|
|
178
177
|
"testMatch": [
|
|
179
|
-
"<rootDir>/src/**/*.test.tsx"
|
|
180
|
-
"<rootDir>/src/**/*.test.ts",
|
|
181
|
-
"<rootDir>/src/**/*.spec.ts",
|
|
182
|
-
"<rootDir>/src/**/*.spec.tsx"
|
|
178
|
+
"<rootDir>/src/**/*.test.tsx"
|
|
183
179
|
]
|
|
184
180
|
}
|
|
185
181
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generate a color based on a string.
|
|
3
|
-
* @param str The string to generate a color from.
|
|
4
|
-
* @param saturation The saturation of the color.
|
|
5
|
-
* @param lightness The lightness of the color.
|
|
6
|
-
*/
|
|
7
|
-
export declare function generateColorFromString(str?: string, saturation?: number, lightness?: number): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|