@openfin/ui-library 0.1.2-alpha.1616610935 → 0.1.2-alpha.1616625256
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.
|
@@ -15,16 +15,17 @@ export declare type TransitionType = keyof typeof Transition;
|
|
|
15
15
|
export declare type TypographyType = keyof typeof Typography;
|
|
16
16
|
export declare type UnitPxType = keyof typeof UnitPx;
|
|
17
17
|
export declare type UnitType = keyof typeof Unit;
|
|
18
|
+
export declare type PaletteType = Record<keyof typeof Palette, string>;
|
|
18
19
|
export declare type ThemeSet = {
|
|
19
20
|
light: DefaultTheme;
|
|
20
21
|
dark: DefaultTheme;
|
|
21
22
|
};
|
|
22
23
|
export declare type ThemePaletteSet = {
|
|
23
24
|
light: {
|
|
24
|
-
palette:
|
|
25
|
+
palette: PaletteType;
|
|
25
26
|
};
|
|
26
27
|
dark: {
|
|
27
|
-
palette:
|
|
28
|
+
palette: PaletteType;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
/**
|
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.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.1616625256",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"repository": "github:openfin/ui-library",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist/**/*"
|
|
11
11
|
],
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"
|
|
13
|
+
"peerDependencies": {
|
|
14
14
|
"@modulz/radix-icons": "^4.0.0",
|
|
15
15
|
"styled-components": "^5.2.1"
|
|
16
16
|
},
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"@babel/core": "^7.13.10",
|
|
20
20
|
"@babel/preset-env": "^7.13.10",
|
|
21
21
|
"@babel/preset-typescript": "^7.13.0",
|
|
22
|
+
"@modulz/radix-icons": "^4.0.0",
|
|
22
23
|
"@storybook/addon-actions": "^6.1.21",
|
|
23
24
|
"@storybook/addon-essentials": "^6.1.21",
|
|
24
25
|
"@storybook/addon-links": "^6.1.21",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"react-dom": "^17.0.1",
|
|
51
52
|
"react-scripts": "4.0.1",
|
|
52
53
|
"rimraf": "^3.0.2",
|
|
54
|
+
"styled-components": "^5.2.1",
|
|
53
55
|
"stylelint": "^13.12.0",
|
|
54
56
|
"stylelint-config-recommended": "^4.0.0",
|
|
55
57
|
"stylelint-config-styled-components": "^0.1.1",
|