@wavelengthusaf/components 1.3.2 → 2.0.0
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/README.md +15 -1
- package/apps/package/dist/CustomHooks/useClickOutside.d.ts +3 -0
- package/apps/package/dist/CustomHooks/useClickOutside.d.ts.map +1 -0
- package/apps/package/dist/components/CSFD/GreenEllipse.d.ts +8 -0
- package/apps/package/dist/components/CSFD/GreenEllipse.d.ts.map +1 -0
- package/apps/package/dist/components/CSFD/ManyPlanes.d.ts +10 -0
- package/apps/package/dist/components/CSFD/ManyPlanes.d.ts.map +1 -0
- package/apps/package/dist/components/PageComponents/NotAvailablePage.d.ts +12 -0
- package/apps/package/dist/components/PageComponents/NotAvailablePage.d.ts.map +1 -0
- package/apps/package/dist/components/PageComponents/WavelengthSideBar.d.ts +29 -0
- package/apps/package/dist/components/PageComponents/WavelengthSideBar.d.ts.map +1 -0
- package/apps/package/dist/components/PageComponents/WavelengthSpinningLogo.d.ts +11 -0
- package/apps/package/dist/components/PageComponents/WavelengthSpinningLogo.d.ts.map +1 -0
- package/apps/package/dist/components/PageComponents/WavelengthSpinningLogoComponent.d.ts +8 -0
- package/apps/package/dist/components/PageComponents/WavelengthSpinningLogoComponent.d.ts.map +1 -0
- package/apps/package/dist/components/buttons/WavelengthButton/WavelengthButton.d.ts +21 -0
- package/apps/package/dist/components/buttons/WavelengthButton/WavelengthButton.d.ts.map +1 -0
- package/apps/package/dist/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts +21 -0
- package/apps/package/dist/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts.map +1 -0
- package/apps/package/dist/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts +22 -0
- package/apps/package/dist/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts.map +1 -0
- package/apps/package/dist/components/buttons/WavelengthFileDownloader.d.ts +10 -0
- package/apps/package/dist/components/buttons/WavelengthFileDownloader.d.ts.map +1 -0
- package/apps/package/dist/components/containers/WavelengthBox/WavelengthBox.d.ts +11 -0
- package/apps/package/dist/components/containers/WavelengthBox/WavelengthBox.d.ts.map +1 -0
- package/apps/package/dist/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts +13 -0
- package/apps/package/dist/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts.map +1 -0
- package/apps/package/dist/components/example/WavelengthExampleComponent.d.ts +7 -0
- package/apps/package/dist/components/example/WavelengthExampleComponent.d.ts.map +1 -0
- package/apps/package/dist/components/footers/WavelengthFooter/WavelengthFooter.d.ts +3 -0
- package/apps/package/dist/components/footers/WavelengthFooter/WavelengthFooter.d.ts.map +1 -0
- package/apps/package/dist/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts +9 -0
- package/apps/package/dist/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts.map +1 -0
- package/apps/package/dist/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts +3 -0
- package/apps/package/dist/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts.map +1 -0
- package/apps/package/dist/components/logos/applogo/AppLogo.d.ts +9 -0
- package/apps/package/dist/components/logos/applogo/AppLogo.d.ts.map +1 -0
- package/apps/package/dist/components/modals/WavelengthConfirmationModal.d.ts +9 -0
- package/apps/package/dist/components/modals/WavelengthConfirmationModal.d.ts.map +1 -0
- package/apps/package/dist/components/modals/WavelengthContentModal.d.ts +9 -0
- package/apps/package/dist/components/modals/WavelengthContentModal.d.ts.map +1 -0
- package/apps/package/dist/components/modals/WavelengthDropdown.d.ts +25 -0
- package/apps/package/dist/components/modals/WavelengthDropdown.d.ts.map +1 -0
- package/apps/package/dist/components/modals/WavelengthPopUpMenu.d.ts +19 -0
- package/apps/package/dist/components/modals/WavelengthPopUpMenu.d.ts.map +1 -0
- package/apps/package/dist/components/search/SearchTextField.d.ts +3 -0
- package/apps/package/dist/components/search/SearchTextField.d.ts.map +1 -0
- package/apps/package/dist/components/search/WavelengthSearch.d.ts +32 -0
- package/apps/package/dist/components/search/WavelengthSearch.d.ts.map +1 -0
- package/apps/package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts +6 -0
- package/apps/package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts.map +1 -0
- package/apps/package/dist/components/snackbars/TestSnackbar.d.ts +15 -0
- package/apps/package/dist/components/snackbars/TestSnackbar.d.ts.map +1 -0
- package/apps/package/dist/components/snackbars/WavelengthSnackbar.d.ts +17 -0
- package/apps/package/dist/components/snackbars/WavelengthSnackbar.d.ts.map +1 -0
- package/apps/package/dist/components/snackbars/WavelengthStandardSnackbar.d.ts +17 -0
- package/apps/package/dist/components/snackbars/WavelengthStandardSnackbar.d.ts.map +1 -0
- package/apps/package/dist/functions/math.d.ts +8 -0
- package/apps/package/dist/functions/math.d.ts.map +1 -0
- package/apps/package/dist/functions/string.d.ts +8 -0
- package/apps/package/dist/functions/string.d.ts.map +1 -0
- package/apps/package/dist/index.d.ts +35 -0
- package/apps/package/dist/index.d.ts.map +1 -0
- package/apps/package/dist/index.js +4984 -0
- package/apps/package/dist/index.js.map +1 -0
- package/apps/package/dist/themes/Palette.d.ts +10 -0
- package/apps/package/dist/themes/Palette.d.ts.map +1 -0
- package/apps/package/dist/themes/WavelengthAppTheme.d.ts +6 -0
- package/apps/package/dist/themes/WavelengthAppTheme.d.ts.map +1 -0
- package/apps/package/package.json +69 -0
- package/package.json +52 -16
- package/dist/index.d.mts +0 -391
- package/dist/index.d.ts +0 -391
- package/dist/index.js +0 -5449
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -5392
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Palette.d.ts","sourceRoot":"","sources":["../../src/themes/Palette.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA+BF;;;GAGG;AACH,wBAAgB,UAAU,iBAqBzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WavelengthAppTheme.d.ts","sourceRoot":"","sources":["../../src/themes/WavelengthAppTheme.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,kBAAkB,0CAAqC,CAAC;AAErE,eAAO,MAAM,eAAe,uBAAuC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wavelengthusaf/components",
|
|
3
|
+
"author": "563 EWS - Wavelength",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"version": "2.0.0",
|
|
6
|
+
"description": "Common component library used by Wavelength developers",
|
|
7
|
+
"main": "/dist/index.js",
|
|
8
|
+
"module": "/dist/index.js",
|
|
9
|
+
"types": "/dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/esm/index.js",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"type": "module",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/**/*"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"compile": "tsc",
|
|
23
|
+
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
24
|
+
"test": "jest --runInBand --coverage",
|
|
25
|
+
"build": "tsup && tsc --jsx react-jsx --project ./tsconfig.json",
|
|
26
|
+
"watch": "tsup --watch && tsc --jsx react-jsx --project ./tsconfig.json"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://gitlab.wavelengthusaf.com/wavelength1/common-components"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"usaf",
|
|
34
|
+
"components"
|
|
35
|
+
],
|
|
36
|
+
"directories": {
|
|
37
|
+
"test": "jest"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
41
|
+
"@testing-library/react": "^16.0.0",
|
|
42
|
+
"@types/jest": "^29.5.14",
|
|
43
|
+
"@types/react-dom": "^18.2.18",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
45
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
46
|
+
"babel-plugin-prismjs": "^2.1.0",
|
|
47
|
+
"css-loader": "^7.1.2",
|
|
48
|
+
"eslint": "^8.56.0",
|
|
49
|
+
"eslint-config-love": "^64.0.0",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-react": "^7.33.2",
|
|
52
|
+
"jest": "^29.7.0",
|
|
53
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
54
|
+
"ts-jest": "^29.1.2",
|
|
55
|
+
"ts-node": "^10.9.2",
|
|
56
|
+
"tsup": "^8.0.1"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@emotion/react": "^11.11.3",
|
|
60
|
+
"@emotion/styled": "^11.11.0",
|
|
61
|
+
"@mui/icons-material": "^5.16.5",
|
|
62
|
+
"@mui/material": "^5.15.7",
|
|
63
|
+
"@wavelengthusaf/components": "^1.3.1",
|
|
64
|
+
"react": "^18.2.0",
|
|
65
|
+
"react-router-dom": "^6.26.2",
|
|
66
|
+
"styled-components": "^6.1.12",
|
|
67
|
+
"typescript": "^5.5.2"
|
|
68
|
+
}
|
|
69
|
+
}
|
package/package.json
CHANGED
|
@@ -2,19 +2,34 @@
|
|
|
2
2
|
"name": "@wavelengthusaf/components",
|
|
3
3
|
"author": "563 EWS - Wavelength",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "2.0.0",
|
|
6
6
|
"description": "Common component library used by Wavelength developers",
|
|
7
|
-
"main": "./dist/index.js",
|
|
8
|
-
"module": "./dist/index.mjs",
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
7
|
+
"main": "./apps/package/dist/index.js",
|
|
8
|
+
"module": "./apps/package/dist/index.mjs",
|
|
9
|
+
"types": "./apps/package/dist/index.d.ts",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"workspaces": [
|
|
12
|
+
"/apps/package",
|
|
13
|
+
"/apps/testbed"
|
|
14
|
+
],
|
|
10
15
|
"files": [
|
|
11
|
-
"dist"
|
|
16
|
+
"./apps/package/dist",
|
|
17
|
+
"package.json",
|
|
18
|
+
"README.md"
|
|
12
19
|
],
|
|
13
20
|
"scripts": {
|
|
21
|
+
"dev": "cd apps/testbed && npm run dev",
|
|
14
22
|
"compile": "tsc",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
23
|
+
"clean": "rm -rf apps/package/dist apps/testbed/dist",
|
|
24
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
25
|
+
"test": "npm run test:jest && npm run test:cypress",
|
|
26
|
+
"test:jest": "cd apps/package && jest --runInBand --coverage",
|
|
27
|
+
"test:cypress": "cd apps/testbed && cypress run --browser electron --component",
|
|
28
|
+
"watch": "cd apps/package && npm run watch",
|
|
29
|
+
"build": "npm run clean && npm run build:package && npm run build:testbed",
|
|
30
|
+
"build:package": "cd apps/package && npm run build",
|
|
31
|
+
"build:testbed": "cd apps/testbed && npm run build",
|
|
32
|
+
"publish": "npm publish"
|
|
18
33
|
},
|
|
19
34
|
"repository": {
|
|
20
35
|
"type": "git",
|
|
@@ -25,35 +40,56 @@
|
|
|
25
40
|
"components"
|
|
26
41
|
],
|
|
27
42
|
"directories": {
|
|
28
|
-
"test": "
|
|
43
|
+
"test": "jest"
|
|
29
44
|
},
|
|
30
45
|
"devDependencies": {
|
|
46
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
47
|
+
"@cypress/code-coverage": "^3.12.45",
|
|
31
48
|
"@testing-library/react": "^16.0.0",
|
|
32
|
-
"@types/
|
|
33
|
-
"@types/
|
|
49
|
+
"@types/cypress": "^1.1.6",
|
|
50
|
+
"@types/jest": "^29.5.14",
|
|
51
|
+
"@types/prismjs": "^1.26.4",
|
|
52
|
+
"@types/react": "^18.3.10",
|
|
53
|
+
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
54
|
+
"@types/react-dom": "^18.3.0",
|
|
55
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
34
56
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
35
57
|
"@typescript-eslint/parser": "^7.18.0",
|
|
58
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
59
|
+
"babel-plugin-prismjs": "^2.1.0",
|
|
36
60
|
"css-loader": "^7.1.2",
|
|
37
|
-
"
|
|
61
|
+
"cypress": "^13.14.2",
|
|
62
|
+
"cypress-real-events": "^1.13.0",
|
|
63
|
+
"eslint": "^8.57.1",
|
|
38
64
|
"eslint-config-love": "^64.0.0",
|
|
39
65
|
"eslint-config-prettier": "^9.1.0",
|
|
66
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
40
67
|
"eslint-plugin-react": "^7.33.2",
|
|
68
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
69
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
41
70
|
"file-loader": "^6.2.0",
|
|
71
|
+
"globals": "^15.11.0",
|
|
42
72
|
"jest": "^29.7.0",
|
|
43
73
|
"jest-environment-jsdom": "^29.7.0",
|
|
44
|
-
"
|
|
74
|
+
"nodemon": "^3.1.7",
|
|
75
|
+
"ts-jest": "^29.2.5",
|
|
45
76
|
"ts-node": "^10.9.2",
|
|
46
77
|
"tsup": "^8.0.1",
|
|
47
|
-
"
|
|
78
|
+
"vite": "^5.4.9"
|
|
48
79
|
},
|
|
49
80
|
"dependencies": {
|
|
50
81
|
"@emotion/react": "^11.11.3",
|
|
51
82
|
"@emotion/styled": "^11.11.0",
|
|
52
83
|
"@mui/icons-material": "^5.16.5",
|
|
53
84
|
"@mui/material": "^5.15.7",
|
|
54
|
-
"@wavelengthusaf/components": "^1.1
|
|
85
|
+
"@wavelengthusaf/components": "^1.3.1",
|
|
55
86
|
"react": "^18.2.0",
|
|
87
|
+
"react-confetti-explosion": "^2.1.2",
|
|
88
|
+
"react-copy-to-clipboard": "^5.1.0",
|
|
89
|
+
"react-dom": "^18.2.0",
|
|
56
90
|
"react-router-dom": "^6.26.2",
|
|
57
|
-
"
|
|
91
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
92
|
+
"styled-components": "^6.1.12",
|
|
93
|
+
"typescript": "^5.5.2"
|
|
58
94
|
}
|
|
59
95
|
}
|
package/dist/index.d.mts
DELETED
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode } from 'react';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
-
import { TextFieldVariants } from '@mui/material/TextField';
|
|
5
|
-
import { SxProps as SxProps$1, Theme as Theme$1 } from '@mui/material';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Helper Functions
|
|
9
|
-
* @param a
|
|
10
|
-
* @param b
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
declare function add(a: number, b: number): number;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Helper Functions
|
|
17
|
-
* @param a
|
|
18
|
-
* @param b
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
declare function concat(a: string, b: string): string;
|
|
22
|
-
|
|
23
|
-
interface OutlinedButtonProps {
|
|
24
|
-
id?: string;
|
|
25
|
-
variant: "outlined" | "contained" | "text" | "custom";
|
|
26
|
-
colorOne?: string;
|
|
27
|
-
colorTwo?: string;
|
|
28
|
-
onClick?: any;
|
|
29
|
-
margin?: string;
|
|
30
|
-
padding?: string;
|
|
31
|
-
autoFocus?: boolean;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
children?: ReactNode;
|
|
34
|
-
data_test?: string;
|
|
35
|
-
borderRadius?: string;
|
|
36
|
-
mySx?: SxProps<Theme> | undefined;
|
|
37
|
-
}
|
|
38
|
-
declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius, mySx }: OutlinedButtonProps): React__default.JSX.Element;
|
|
39
|
-
|
|
40
|
-
interface ButtonProps {
|
|
41
|
-
onClick?: any;
|
|
42
|
-
children?: ReactNode;
|
|
43
|
-
}
|
|
44
|
-
interface IconProps {
|
|
45
|
-
text: string;
|
|
46
|
-
numIcon?: string;
|
|
47
|
-
children: ReactNode;
|
|
48
|
-
active?: boolean;
|
|
49
|
-
width: string;
|
|
50
|
-
height: number;
|
|
51
|
-
fontsize: number;
|
|
52
|
-
}
|
|
53
|
-
declare function ButtonIcon({ text, numIcon, children, active, width, height, fontsize }: IconProps): React__default.JSX.Element;
|
|
54
|
-
interface ButtonMenuProps {
|
|
55
|
-
children: ReactNode;
|
|
56
|
-
}
|
|
57
|
-
declare function ButtonMenu({ children }: ButtonMenuProps): React__default.JSX.Element;
|
|
58
|
-
declare function WavelengthDropdownButton({ children, onClick }: ButtonProps): React__default.JSX.Element;
|
|
59
|
-
|
|
60
|
-
interface WavelengthAutocompleteProps {
|
|
61
|
-
label: string;
|
|
62
|
-
items?: any;
|
|
63
|
-
variant?: TextFieldVariants;
|
|
64
|
-
width?: number;
|
|
65
|
-
borderColor?: string;
|
|
66
|
-
hoverColor?: string;
|
|
67
|
-
textColor?: string;
|
|
68
|
-
onChange?: (selectedValue: string) => void;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Returns the Best Matching String from a List; Defaults to the first item if no good match is found
|
|
72
|
-
* @param searchString - the string we want to look for
|
|
73
|
-
* @param choices - the list of strings we get to choose from (must be greater than 0)
|
|
74
|
-
* @returns - a string with the "best" match, or "" if no match is found
|
|
75
|
-
*/
|
|
76
|
-
declare function findBestStringMatch(searchString: string, choices: string[]): string;
|
|
77
|
-
declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor }: WavelengthAutocompleteProps): React__default.JSX.Element;
|
|
78
|
-
|
|
79
|
-
interface DownloadProps {
|
|
80
|
-
fileLoc: "local" | "api";
|
|
81
|
-
fileURL: string;
|
|
82
|
-
fileName: string;
|
|
83
|
-
button?: ReactNode | React__default.JSX.Element;
|
|
84
|
-
}
|
|
85
|
-
declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button }: DownloadProps): React__default.JSX.Element | undefined;
|
|
86
|
-
|
|
87
|
-
interface WavelengthBoxProps {
|
|
88
|
-
width?: number;
|
|
89
|
-
height?: number;
|
|
90
|
-
children: ReactNode;
|
|
91
|
-
borderTopRadius?: string;
|
|
92
|
-
borderBottomRadius?: string;
|
|
93
|
-
}
|
|
94
|
-
declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius }: WavelengthBoxProps): React__default.JSX.Element;
|
|
95
|
-
|
|
96
|
-
interface WavelengthContentPlaceholderProps {
|
|
97
|
-
type?: "circle" | "rectangle";
|
|
98
|
-
width?: string | number;
|
|
99
|
-
height?: string | number;
|
|
100
|
-
txtcolor?: string;
|
|
101
|
-
bgcolor?: string;
|
|
102
|
-
children: ReactNode;
|
|
103
|
-
id?: string;
|
|
104
|
-
}
|
|
105
|
-
declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id }: WavelengthContentPlaceholderProps): React__default.JSX.Element;
|
|
106
|
-
|
|
107
|
-
interface NotAvailablePageProps {
|
|
108
|
-
appLogoName?: string;
|
|
109
|
-
errorMessage: string;
|
|
110
|
-
backgroundColor?: string;
|
|
111
|
-
buttonText: string;
|
|
112
|
-
redirectLink?: string;
|
|
113
|
-
buttonColorOne?: string;
|
|
114
|
-
buttonColorTwo?: string;
|
|
115
|
-
}
|
|
116
|
-
declare function NotAvailablePage({ appLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo }: NotAvailablePageProps): React__default.JSX.Element;
|
|
117
|
-
|
|
118
|
-
interface WavelengthExampleComponentProps {
|
|
119
|
-
width?: number;
|
|
120
|
-
height?: number;
|
|
121
|
-
}
|
|
122
|
-
declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): React__default.JSX.Element;
|
|
123
|
-
|
|
124
|
-
interface SearchResult {
|
|
125
|
-
id: number | string;
|
|
126
|
-
title: string;
|
|
127
|
-
subtitle?: string;
|
|
128
|
-
}
|
|
129
|
-
interface SearchProps {
|
|
130
|
-
id?: string;
|
|
131
|
-
mode: "automatic" | "manual";
|
|
132
|
-
type?: "text-box" | "search-bar";
|
|
133
|
-
iconPos?: "start" | "end";
|
|
134
|
-
borderRadius?: number | string;
|
|
135
|
-
label?: string;
|
|
136
|
-
width?: string;
|
|
137
|
-
height?: string | number;
|
|
138
|
-
children?: ReactNode;
|
|
139
|
-
borderColor?: string;
|
|
140
|
-
hoverColor?: string;
|
|
141
|
-
textColor?: string;
|
|
142
|
-
backgroundColor?: string;
|
|
143
|
-
placeholder?: string;
|
|
144
|
-
onEnter?: (arg0?: any) => any;
|
|
145
|
-
size?: "small" | "medium";
|
|
146
|
-
fontSize?: string;
|
|
147
|
-
options: SearchResult[];
|
|
148
|
-
onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
149
|
-
onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
|
|
150
|
-
}
|
|
151
|
-
declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, }: SearchProps): React__default.JSX.Element | undefined;
|
|
152
|
-
|
|
153
|
-
declare function SearchTextField(): React__default.JSX.Element;
|
|
154
|
-
|
|
155
|
-
interface SubSectionItem {
|
|
156
|
-
title?: string;
|
|
157
|
-
path?: string;
|
|
158
|
-
onClick?: () => void;
|
|
159
|
-
items?: SubSectionItem[];
|
|
160
|
-
}
|
|
161
|
-
interface SubSection {
|
|
162
|
-
title?: string;
|
|
163
|
-
items?: SubSectionItem[];
|
|
164
|
-
}
|
|
165
|
-
interface Section {
|
|
166
|
-
title: string;
|
|
167
|
-
subsections?: SubSection[];
|
|
168
|
-
}
|
|
169
|
-
interface SidebarProps {
|
|
170
|
-
sections: Section[];
|
|
171
|
-
bgColor?: string;
|
|
172
|
-
txtColor?: string;
|
|
173
|
-
labelColor?: string;
|
|
174
|
-
arrowColor?: string;
|
|
175
|
-
marginTop?: string;
|
|
176
|
-
marginLeft?: string;
|
|
177
|
-
width?: string | number;
|
|
178
|
-
height?: string | number;
|
|
179
|
-
}
|
|
180
|
-
declare function WavelengthSideBar({ sections, txtColor, bgColor, labelColor, arrowColor, marginTop, marginLeft, width, height }: SidebarProps): React__default.JSX.Element;
|
|
181
|
-
|
|
182
|
-
interface ISpinningSvgProps {
|
|
183
|
-
size: number;
|
|
184
|
-
id: "outer-circle" | "middle-circle" | "inner-circle" | "spinning";
|
|
185
|
-
clip: string;
|
|
186
|
-
color: string;
|
|
187
|
-
gradient: boolean;
|
|
188
|
-
radius: number;
|
|
189
|
-
}
|
|
190
|
-
declare function WavelengthSpinningOuterCircle({ size, id, clip, color, gradient, radius }: ISpinningSvgProps): React__default.JSX.Element;
|
|
191
|
-
|
|
192
|
-
interface spinningLogoProps {
|
|
193
|
-
svg?: React__default.ReactNode;
|
|
194
|
-
size?: number;
|
|
195
|
-
}
|
|
196
|
-
declare function WavelengthSpinningLogo({ svg, size }: spinningLogoProps): React__default.JSX.Element;
|
|
197
|
-
|
|
198
|
-
declare function WavelengthFooter(): React__default.JSX.Element;
|
|
199
|
-
|
|
200
|
-
declare function WavelengthTitleBar(): React__default.JSX.Element;
|
|
201
|
-
|
|
202
|
-
interface WavelengthBannerHeaderProps {
|
|
203
|
-
classification?: "unclassified" | "controlled" | "controlled unclassified information" | "cui" | "u" | "confidential" | "c" | "secret" | "s" | "top secret" | "ts" | string;
|
|
204
|
-
control?: ("cui" | "sci" | "fouo" | "nf" | "propin" | "frd" | "gbr s" | "si" | "si-g" | "tk" | "relido" | "rd" | "rd-n" | "rel" | "fvey" | "hcs" | string)[];
|
|
205
|
-
headerColor?: string;
|
|
206
|
-
textColor?: string;
|
|
207
|
-
}
|
|
208
|
-
declare function WavelengthBannerHeader({ classification, control, headerColor, textColor }: WavelengthBannerHeaderProps): React__default.JSX.Element;
|
|
209
|
-
|
|
210
|
-
interface bee {
|
|
211
|
-
width?: number;
|
|
212
|
-
height?: number;
|
|
213
|
-
}
|
|
214
|
-
declare function BomberBeeIcon({ width, height }: bee): React__default.JSX.Element;
|
|
215
|
-
|
|
216
|
-
interface Old563EWSLogoProps {
|
|
217
|
-
width?: number;
|
|
218
|
-
height?: number;
|
|
219
|
-
}
|
|
220
|
-
declare function Old563EWSLogo({ width, height }: Old563EWSLogoProps): React__default.JSX.Element;
|
|
221
|
-
|
|
222
|
-
interface AceOfSpadesProps {
|
|
223
|
-
width?: string;
|
|
224
|
-
height?: string;
|
|
225
|
-
}
|
|
226
|
-
declare function AceOfSpadesComponent({ width, height }: AceOfSpadesProps): React__default.JSX.Element;
|
|
227
|
-
|
|
228
|
-
interface ArrowProps {
|
|
229
|
-
width?: number;
|
|
230
|
-
height?: number;
|
|
231
|
-
}
|
|
232
|
-
declare function ArrowIcon({ width, height }: ArrowProps): React__default.JSX.Element;
|
|
233
|
-
|
|
234
|
-
interface PortalProps {
|
|
235
|
-
width?: number;
|
|
236
|
-
height?: number;
|
|
237
|
-
}
|
|
238
|
-
declare function PortalIcon({ width, height }: PortalProps): React__default.JSX.Element;
|
|
239
|
-
|
|
240
|
-
interface SwarmProps {
|
|
241
|
-
width?: number;
|
|
242
|
-
height?: number;
|
|
243
|
-
}
|
|
244
|
-
declare function SwarmIcon({ width, height }: SwarmProps): React__default.JSX.Element;
|
|
245
|
-
|
|
246
|
-
declare function RapidrefIcon(): React__default.JSX.Element;
|
|
247
|
-
|
|
248
|
-
interface SquadronProps {
|
|
249
|
-
width?: number;
|
|
250
|
-
height?: number;
|
|
251
|
-
}
|
|
252
|
-
declare function SquadronIcon({ width, height }: SquadronProps): React__default.JSX.Element;
|
|
253
|
-
|
|
254
|
-
interface WavelengthProps {
|
|
255
|
-
width?: number;
|
|
256
|
-
height?: number;
|
|
257
|
-
}
|
|
258
|
-
declare function WavelengthIcon({ width, height }: WavelengthProps): React__default.JSX.Element;
|
|
259
|
-
|
|
260
|
-
interface DefaultProps {
|
|
261
|
-
width?: string;
|
|
262
|
-
height?: number;
|
|
263
|
-
}
|
|
264
|
-
declare function DefaultIcon({ width, height }: DefaultProps): React__default.JSX.Element;
|
|
265
|
-
|
|
266
|
-
interface AppLogoProps {
|
|
267
|
-
width?: number;
|
|
268
|
-
height?: number;
|
|
269
|
-
name?: string;
|
|
270
|
-
grayscale?: boolean;
|
|
271
|
-
}
|
|
272
|
-
declare function AppLogo({ width, height, name, grayscale }: AppLogoProps): React__default.JSX.Element;
|
|
273
|
-
|
|
274
|
-
interface HeaderProps {
|
|
275
|
-
numberOfPlanes?: number;
|
|
276
|
-
trailDir?: "right" | "left";
|
|
277
|
-
color?: string;
|
|
278
|
-
opacity?: number;
|
|
279
|
-
gradient?: boolean;
|
|
280
|
-
}
|
|
281
|
-
declare function ManyPlanesComponent({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): React__default.JSX.Element;
|
|
282
|
-
|
|
283
|
-
interface WavelengthPlaneTrailProps {
|
|
284
|
-
trailDir?: "right" | "left";
|
|
285
|
-
}
|
|
286
|
-
declare function WavelengthPlaneTrail({ trailDir }: WavelengthPlaneTrailProps): React__default.JSX.Element;
|
|
287
|
-
|
|
288
|
-
type ThemeProperties = {
|
|
289
|
-
name?: string;
|
|
290
|
-
};
|
|
291
|
-
declare const WavelengthAppTheme: React.Context<ThemeProperties>;
|
|
292
|
-
declare const useThemeContext: () => ThemeProperties;
|
|
293
|
-
|
|
294
|
-
interface WavelengthConfirmationModalProps {
|
|
295
|
-
show: boolean;
|
|
296
|
-
setShow: (show: boolean) => void;
|
|
297
|
-
textObj: Record<string, string>;
|
|
298
|
-
handleConfirmationModalOnConfirmProp: () => void;
|
|
299
|
-
}
|
|
300
|
-
declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): React__default.JSX.Element;
|
|
301
|
-
|
|
302
|
-
interface WavelengthContentModalProps {
|
|
303
|
-
show: boolean;
|
|
304
|
-
setShow: (show: boolean) => void;
|
|
305
|
-
textObj: Record<string, string>;
|
|
306
|
-
handleContentModalOnConfirmProp: () => void;
|
|
307
|
-
}
|
|
308
|
-
declare function WavelengthContentModal(props: WavelengthContentModalProps): React__default.JSX.Element;
|
|
309
|
-
|
|
310
|
-
interface menuItemProps {
|
|
311
|
-
itemType: "header" | "link" | "footer" | string;
|
|
312
|
-
label: string | number;
|
|
313
|
-
link?: string;
|
|
314
|
-
end?: boolean;
|
|
315
|
-
email?: string;
|
|
316
|
-
}
|
|
317
|
-
interface PopUPMenuProps {
|
|
318
|
-
menuItems: menuItemProps[];
|
|
319
|
-
customIcon?: React__default.ReactNode;
|
|
320
|
-
width?: string;
|
|
321
|
-
menuDirection?: "top" | "bottom";
|
|
322
|
-
color?: string;
|
|
323
|
-
emailHoverColor?: string;
|
|
324
|
-
}
|
|
325
|
-
declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, emailHoverColor }: PopUPMenuProps): React__default.JSX.Element;
|
|
326
|
-
|
|
327
|
-
interface DropdownProps {
|
|
328
|
-
id?: string;
|
|
329
|
-
palette: "brewery" | "custom";
|
|
330
|
-
width: string;
|
|
331
|
-
options: menuOptions[];
|
|
332
|
-
buttonSx?: SxProps$1<Theme$1> | undefined;
|
|
333
|
-
menuSx?: MenuSxProps;
|
|
334
|
-
buttonText: string | ReactNode;
|
|
335
|
-
}
|
|
336
|
-
interface menuOptions {
|
|
337
|
-
option: React__default.ReactNode;
|
|
338
|
-
onClick?: React__default.MouseEventHandler<HTMLLIElement> | undefined;
|
|
339
|
-
}
|
|
340
|
-
interface MenuSxProps {
|
|
341
|
-
backgroundColor?: string;
|
|
342
|
-
borderColor?: string;
|
|
343
|
-
hoverColor?: string;
|
|
344
|
-
width?: string;
|
|
345
|
-
}
|
|
346
|
-
declare function WavelengthDropdown({ id, options, buttonSx, width, buttonText, menuSx, palette }: DropdownProps): React__default.JSX.Element;
|
|
347
|
-
|
|
348
|
-
interface ConfirmationSnackbarProps {
|
|
349
|
-
show: boolean;
|
|
350
|
-
setShow: (show: boolean) => void;
|
|
351
|
-
closeIcon: ReactNode | React__default.JSX.Element;
|
|
352
|
-
message?: string;
|
|
353
|
-
snackBarColor?: string;
|
|
354
|
-
textColor?: string;
|
|
355
|
-
horryAlign?: "left" | "right" | "center";
|
|
356
|
-
vertyAlign?: "top" | "bottom";
|
|
357
|
-
durationSb?: number;
|
|
358
|
-
width?: string | number;
|
|
359
|
-
icon?: ReactNode;
|
|
360
|
-
}
|
|
361
|
-
declare function WavelengthSnackbar(props: ConfirmationSnackbarProps): React__default.JSX.Element;
|
|
362
|
-
|
|
363
|
-
interface StandardSnackbarProps {
|
|
364
|
-
type: "success" | "error" | "disabled";
|
|
365
|
-
show: boolean;
|
|
366
|
-
closeIcon: ReactNode | React__default.JSX.Element;
|
|
367
|
-
icon?: ReactNode;
|
|
368
|
-
toggleShow: (on: boolean) => void;
|
|
369
|
-
horryAlign?: "left" | "right" | "center";
|
|
370
|
-
vertyAlign?: "top" | "bottom";
|
|
371
|
-
durationSb?: number;
|
|
372
|
-
width?: string | number;
|
|
373
|
-
message?: string | ReactNode;
|
|
374
|
-
customVertyAlign?: string;
|
|
375
|
-
}
|
|
376
|
-
declare function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width, message, customVertyAlign, toggleShow, closeIcon }: StandardSnackbarProps): React__default.JSX.Element;
|
|
377
|
-
|
|
378
|
-
interface Testprops {
|
|
379
|
-
isPopUpOpen: boolean;
|
|
380
|
-
type: "success" | "error" | "disabled";
|
|
381
|
-
icon?: ReactNode;
|
|
382
|
-
width?: string | number;
|
|
383
|
-
message?: string | ReactNode;
|
|
384
|
-
img: React__default.JSX.Element | ReactNode;
|
|
385
|
-
toggleOpen: (value: React__default.SetStateAction<boolean>) => void;
|
|
386
|
-
customVertyAlign?: string;
|
|
387
|
-
}
|
|
388
|
-
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
389
|
-
declare function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): React__default.JSX.Element;
|
|
390
|
-
|
|
391
|
-
export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, NotAvailablePage, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
|