@openfin/ui-library 0.1.33 → 0.1.34-alpha.1640217486

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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from '@modulz/radix-icons/dist/types';
3
+ export declare const FilterIcon: ({ color, ...props }: IconProps) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.FilterIcon = void 0;
15
+ const jsx_runtime_1 = require("react/jsx-runtime");
16
+ const FilterIcon = (_a) => {
17
+ var { color = 'currentColor' } = _a, props = __rest(_a, ["color"]);
18
+ return (jsx_runtime_1.jsx("svg", Object.assign({ width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsx_runtime_1.jsx("path", { d: "M4 6.5C4 6.36739 4.05268 6.24021 4.14645 6.14645C4.24021 6.05268 4.36739 6 4.5 6H7.5C7.63261 6 7.75979 6.05268 7.85355 6.14645C7.94732 6.24021 8 6.36739 8 6.5C8 6.63261 7.94732 6.75979 7.85355 6.85355C7.75979 6.94732 7.63261 7 7.5 7H4.5C4.36739 7 4.24021 6.94732 4.14645 6.85355C4.05268 6.75979 4 6.63261 4 6.5ZM2 3.5C2 3.36739 2.05268 3.24021 2.14645 3.14645C2.24021 3.05268 2.36739 3 2.5 3H9.5C9.63261 3 9.75979 3.05268 9.85355 3.14645C9.94732 3.24021 10 3.36739 10 3.5C10 3.63261 9.94732 3.75979 9.85355 3.85355C9.75979 3.94732 9.63261 4 9.5 4H2.5C2.36739 4 2.24021 3.94732 2.14645 3.85355C2.05268 3.75979 2 3.63261 2 3.5ZM0 0.5C0 0.367392 0.0526785 0.240215 0.146447 0.146447C0.240215 0.0526785 0.367392 0 0.5 0H11.5C11.6326 0 11.7598 0.0526785 11.8536 0.146447C11.9473 0.240215 12 0.367392 12 0.5C12 0.632608 11.9473 0.759785 11.8536 0.853553C11.7598 0.947321 11.6326 1 11.5 1H0.5C0.367392 1 0.240215 0.947321 0.146447 0.853553C0.0526785 0.759785 0 0.632608 0 0.5Z", fill: color }, void 0) }), void 0));
19
+ };
20
+ exports.FilterIcon = FilterIcon;
@@ -5,3 +5,4 @@ export * from './LockedClosedFilledIcon';
5
5
  export * from './MinimizeIcon';
6
6
  export * from './LightBulbFilledIcon';
7
7
  export * from './LightBulbOutlinedIcon';
8
+ export * from './FilterIcon';
@@ -17,3 +17,4 @@ __exportStar(require("./LockedClosedFilledIcon"), exports);
17
17
  __exportStar(require("./MinimizeIcon"), exports);
18
18
  __exportStar(require("./LightBulbFilledIcon"), exports);
19
19
  __exportStar(require("./LightBulbOutlinedIcon"), exports);
20
+ __exportStar(require("./FilterIcon"), exports);
@@ -211,6 +211,7 @@ export declare const IconSet: {
211
211
  readonly MinimizeIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
212
212
  readonly LightBulbFilledIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
213
213
  readonly LightBulbOutlinedIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
214
+ readonly FilterIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
214
215
  readonly ActivityLogIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
215
216
  readonly AlignBaselineIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
216
217
  readonly AlignBottomIcon: ({ color, ...props }: import("@modulz/radix-icons/dist/types").IconProps) => JSX.Element;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useTheme = void 0;
4
- const themes_1 = require("../components/system/ThemeProvider/themes");
4
+ const theme_1 = require("../components/system/ThemeProvider/theme");
5
5
  const useColorScheme_1 = require("../hooks/useColorScheme");
6
6
  const ThemeProvider_1 = require("../components/system/ThemeProvider");
7
7
  const Themes = {
8
- [useColorScheme_1.ColorScheme.dark]: themes_1.OpenFinDarkTheme,
9
- [useColorScheme_1.ColorScheme.light]: themes_1.OpenFinLightTheme,
8
+ [useColorScheme_1.ColorScheme.dark]: theme_1.OpenFinDarkTheme,
9
+ [useColorScheme_1.ColorScheme.light]: theme_1.OpenFinLightTheme,
10
10
  };
11
11
  const useTheme = ({ themes, scheme, config, }) => {
12
12
  // 1. Get Current Scheme
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.33",
4
+ "version": "0.1.34-alpha.1640217486",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "repository": "github:openfin/ui-library",