@openfin/ui-library 0.12.0-alpha.1678479800 → 0.12.0-alpha.1678913049

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/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.12.0-alpha.1678479800",
4
+ "version": "0.12.0-alpha.1678913049",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "repository": "github:openfin/ui-library",
@@ -170,6 +170,9 @@
170
170
  "setupFilesAfterEnv": [
171
171
  "<rootDir>/src/setupTests.ts"
172
172
  ],
173
+ "moduleNameMapper": {
174
+ "\\.(css)$": "<rootDir>/src/test/mocks/styleMock.js"
175
+ },
173
176
  "testEnvironment": "jsdom",
174
177
  "testMatch": [
175
178
  "<rootDir>/src/**/*.test.tsx"
@@ -1,24 +0,0 @@
1
- import React, { Dispatch, SetStateAction } from 'react';
2
- export interface DropdownOption {
3
- title: string;
4
- value: unknown;
5
- iconUrl?: string;
6
- }
7
- export interface DropdownOptionsMenuProps {
8
- options: DropdownOption[];
9
- selected?: DropdownOption;
10
- expandMenu: {
11
- show: boolean;
12
- requestedByCollapse: boolean;
13
- };
14
- dropdownMenuId?: string;
15
- setExpandMenu?: Dispatch<SetStateAction<{
16
- show: boolean;
17
- requestedByCollapse: boolean;
18
- }>>;
19
- onOptionHover?: (value?: unknown) => void;
20
- onChange: (value: DropdownOption) => void;
21
- onCollapseRequest: () => void;
22
- fitContent?: boolean;
23
- }
24
- export declare const DropdownOptionsMenu: React.FC<DropdownOptionsMenuProps>;