@openfin/ui-library 0.1.2-alpha.1616610935 → 0.1.2-alpha.1616638847

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.
@@ -18,9 +18,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
18
18
  */
19
19
  const WorkspaceIcon = (_a) => {
20
20
  var { color = 'currentColor' } = _a, props = __rest(_a, ["color"]);
21
- return (jsx_runtime_1.jsxs("svg", Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsx_runtime_1.jsx("rect", { x: "0.000244141", y: "0.00012207", width: "7.49997", height: "8.74997", rx: "1.16071", fill: color }, void 0),
22
- jsx_runtime_1.jsx("rect", { x: "9.33048", y: "5.58035", width: "6.33926", height: "8.83925", rx: "0.580355", stroke: color, strokeWidth: "1.16071" }, void 0),
23
- jsx_runtime_1.jsx("rect", { x: "8.75012", width: "7.49997", height: "3.74999", rx: "1.16071", fill: color }, void 0),
24
- jsx_runtime_1.jsx("rect", { y: "10", width: "7.49997", height: "4.99998", rx: "1.16071", fill: color }, void 0)] }), void 0));
21
+ return (jsx_runtime_1.jsxs("svg", Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsx_runtime_1.jsx("path", { d: "M6.73811 2.8125H3.53137C3.13442 2.8125 2.81262 3.1343 2.81262 3.53125V7.51204C2.81262 7.909 3.13442 8.23079 3.53137 8.23079H6.73811C7.13506 8.23079 7.45686 7.909 7.45686 7.51204V3.53125C7.45686 3.1343 7.13506 2.8125 6.73811 2.8125Z", fill: color }, void 0),
22
+ jsx_runtime_1.jsx("path", { d: "M12.1565 6.26758H8.94971C8.75123 6.26758 8.59033 6.42848 8.59033 6.62696V11.3818C8.59033 11.5803 8.75123 11.7412 8.94971 11.7412H12.1565C12.3549 11.7412 12.5158 11.5803 12.5158 11.3818V6.62696C12.5158 6.42848 12.3549 6.26758 12.1565 6.26758Z", stroke: color, strokeWidth: "0.718753" }, void 0),
23
+ jsx_runtime_1.jsx("path", { d: "M12.1564 2.8125H8.94971C8.55275 2.8125 8.23096 3.1343 8.23096 3.53125V4.41587C8.23096 4.81283 8.55275 5.13463 8.94971 5.13463H12.1564C12.5534 5.13463 12.8752 4.81283 12.8752 4.41587V3.53125C12.8752 3.1343 12.5534 2.8125 12.1564 2.8125Z", fill: color }, void 0),
24
+ jsx_runtime_1.jsx("path", { d: "M6.73798 9.00488H3.53125C3.1343 9.00488 2.8125 9.32668 2.8125 9.72364V11.3823C2.8125 11.7793 3.1343 12.1011 3.53125 12.1011H6.73798C7.13494 12.1011 7.45674 11.7793 7.45674 11.3823V9.72364C7.45674 9.32668 7.13494 9.00488 6.73798 9.00488Z", fill: color }, void 0)] }), void 0));
25
25
  };
26
26
  exports.WorkspaceIcon = WorkspaceIcon;
@@ -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: Record<keyof typeof Palette, string>;
25
+ palette: PaletteType;
25
26
  };
26
27
  dark: {
27
- palette: Record<keyof typeof Palette, string>;
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.1616610935",
4
+ "version": "0.1.2-alpha.1616638847",
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
- "dependencies": {
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",