@wavelengthusaf/components 1.3.2 → 2.0.1

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.
Files changed (74) hide show
  1. package/dist/CustomHooks/useClickOutside.d.ts +3 -0
  2. package/dist/CustomHooks/useClickOutside.d.ts.map +1 -0
  3. package/dist/components/CSFD/GreenEllipse.d.ts +8 -0
  4. package/dist/components/CSFD/GreenEllipse.d.ts.map +1 -0
  5. package/dist/components/CSFD/ManyPlanes.d.ts +10 -0
  6. package/dist/components/CSFD/ManyPlanes.d.ts.map +1 -0
  7. package/dist/components/PageComponents/NotAvailablePage.d.ts +12 -0
  8. package/dist/components/PageComponents/NotAvailablePage.d.ts.map +1 -0
  9. package/dist/components/PageComponents/WavelengthSideBar.d.ts +29 -0
  10. package/dist/components/PageComponents/WavelengthSideBar.d.ts.map +1 -0
  11. package/dist/components/PageComponents/WavelengthSpinningLogo.d.ts +11 -0
  12. package/dist/components/PageComponents/WavelengthSpinningLogo.d.ts.map +1 -0
  13. package/dist/components/PageComponents/WavelengthSpinningLogoComponent.d.ts +8 -0
  14. package/dist/components/PageComponents/WavelengthSpinningLogoComponent.d.ts.map +1 -0
  15. package/dist/components/buttons/WavelengthButton/WavelengthButton.d.ts +21 -0
  16. package/dist/components/buttons/WavelengthButton/WavelengthButton.d.ts.map +1 -0
  17. package/dist/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts +21 -0
  18. package/dist/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts.map +1 -0
  19. package/dist/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts +22 -0
  20. package/dist/components/buttons/WavelengthDropdownButton/WavelengthDropdownButton.d.ts.map +1 -0
  21. package/dist/components/buttons/WavelengthFileDownloader.d.ts +10 -0
  22. package/dist/components/buttons/WavelengthFileDownloader.d.ts.map +1 -0
  23. package/dist/components/containers/WavelengthBox/WavelengthBox.d.ts +11 -0
  24. package/dist/components/containers/WavelengthBox/WavelengthBox.d.ts.map +1 -0
  25. package/dist/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts +13 -0
  26. package/dist/components/containers/WavelengthContentPlaceholder/WavelengthContentPlaceholder.d.ts.map +1 -0
  27. package/dist/components/example/WavelengthExampleComponent.d.ts +7 -0
  28. package/dist/components/example/WavelengthExampleComponent.d.ts.map +1 -0
  29. package/dist/components/footers/WavelengthFooter/WavelengthFooter.d.ts +3 -0
  30. package/dist/components/footers/WavelengthFooter/WavelengthFooter.d.ts.map +1 -0
  31. package/dist/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts +9 -0
  32. package/dist/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts.map +1 -0
  33. package/dist/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts +3 -0
  34. package/dist/components/headers/WavelengthTitleBar/WavelengthTitleBar.d.ts.map +1 -0
  35. package/dist/components/logos/applogo/AppLogo.d.ts +9 -0
  36. package/dist/components/logos/applogo/AppLogo.d.ts.map +1 -0
  37. package/dist/components/modals/WavelengthConfirmationModal.d.ts +9 -0
  38. package/dist/components/modals/WavelengthConfirmationModal.d.ts.map +1 -0
  39. package/dist/components/modals/WavelengthContentModal.d.ts +9 -0
  40. package/dist/components/modals/WavelengthContentModal.d.ts.map +1 -0
  41. package/dist/components/modals/WavelengthDropdown.d.ts +25 -0
  42. package/dist/components/modals/WavelengthDropdown.d.ts.map +1 -0
  43. package/dist/components/modals/WavelengthPopUpMenu.d.ts +19 -0
  44. package/dist/components/modals/WavelengthPopUpMenu.d.ts.map +1 -0
  45. package/dist/components/search/SearchTextField.d.ts +3 -0
  46. package/dist/components/search/SearchTextField.d.ts.map +1 -0
  47. package/dist/components/search/WavelengthSearch.d.ts +32 -0
  48. package/dist/components/search/WavelengthSearch.d.ts.map +1 -0
  49. package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts +6 -0
  50. package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts.map +1 -0
  51. package/dist/components/snackbars/TestSnackbar.d.ts +15 -0
  52. package/dist/components/snackbars/TestSnackbar.d.ts.map +1 -0
  53. package/dist/components/snackbars/WavelengthSnackbar.d.ts +17 -0
  54. package/dist/components/snackbars/WavelengthSnackbar.d.ts.map +1 -0
  55. package/dist/components/snackbars/WavelengthStandardSnackbar.d.ts +17 -0
  56. package/dist/components/snackbars/WavelengthStandardSnackbar.d.ts.map +1 -0
  57. package/dist/functions/math.d.ts +8 -0
  58. package/dist/functions/math.d.ts.map +1 -0
  59. package/dist/functions/string.d.ts +8 -0
  60. package/dist/functions/string.d.ts.map +1 -0
  61. package/dist/index.d.ts +33 -389
  62. package/dist/index.d.ts.map +1 -0
  63. package/dist/index.js +1307 -1772
  64. package/dist/index.js.map +1 -1
  65. package/dist/themes/Palette.d.ts +10 -0
  66. package/dist/themes/Palette.d.ts.map +1 -0
  67. package/dist/themes/WavelengthAppTheme.d.ts +6 -0
  68. package/dist/themes/WavelengthAppTheme.d.ts.map +1 -0
  69. package/package.json +23 -13
  70. package/LICENSE +0 -21
  71. package/README.md +0 -35
  72. package/dist/index.d.mts +0 -391
  73. package/dist/index.mjs +0 -5392
  74. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,10 @@
1
+ export type ColorPalette = {
2
+ primary: string;
3
+ secondary: string;
4
+ };
5
+ /**
6
+ * Retrieves a palette for the current application
7
+ * @returns
8
+ */
9
+ export declare function getPalette(): ColorPalette;
10
+ //# sourceMappingURL=Palette.d.ts.map
@@ -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,6 @@
1
+ export type ThemeProperties = {
2
+ name?: string;
3
+ };
4
+ export declare const WavelengthAppTheme: import("react").Context<ThemeProperties>;
5
+ export declare const useThemeContext: () => ThemeProperties;
6
+ //# sourceMappingURL=WavelengthAppTheme.d.ts.map
@@ -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"}
package/package.json CHANGED
@@ -2,19 +2,28 @@
2
2
  "name": "@wavelengthusaf/components",
3
3
  "author": "563 EWS - Wavelength",
4
4
  "license": "MIT",
5
- "version": "1.3.2",
5
+ "version": "2.0.1",
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": "/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",
10
18
  "files": [
11
- "dist"
19
+ "dist/**/*"
12
20
  ],
13
21
  "scripts": {
14
22
  "compile": "tsc",
15
23
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
16
24
  "test": "jest --runInBand --coverage",
17
- "build": "tsup"
25
+ "build": "tsup && tsc --jsx react-jsx --project ./tsconfig.json",
26
+ "watch": "tsup --watch && tsc --jsx react-jsx --project ./tsconfig.json"
18
27
  },
19
28
  "repository": {
20
29
  "type": "git",
@@ -25,35 +34,36 @@
25
34
  "components"
26
35
  ],
27
36
  "directories": {
28
- "test": "tests"
37
+ "test": "jest"
29
38
  },
30
39
  "devDependencies": {
40
+ "@babel/preset-typescript": "^7.25.7",
31
41
  "@testing-library/react": "^16.0.0",
32
- "@types/jest": "^29.5.12",
42
+ "@types/jest": "^29.5.14",
33
43
  "@types/react-dom": "^18.2.18",
34
44
  "@typescript-eslint/eslint-plugin": "^7.18.0",
35
45
  "@typescript-eslint/parser": "^7.18.0",
46
+ "babel-plugin-prismjs": "^2.1.0",
36
47
  "css-loader": "^7.1.2",
37
48
  "eslint": "^8.56.0",
38
49
  "eslint-config-love": "^64.0.0",
39
50
  "eslint-config-prettier": "^9.1.0",
40
51
  "eslint-plugin-react": "^7.33.2",
41
- "file-loader": "^6.2.0",
42
52
  "jest": "^29.7.0",
43
53
  "jest-environment-jsdom": "^29.7.0",
44
54
  "ts-jest": "^29.1.2",
45
55
  "ts-node": "^10.9.2",
46
- "tsup": "^8.0.1",
47
- "typescript": "^5.3.3"
56
+ "tsup": "^8.0.1"
48
57
  },
49
58
  "dependencies": {
50
59
  "@emotion/react": "^11.11.3",
51
60
  "@emotion/styled": "^11.11.0",
52
61
  "@mui/icons-material": "^5.16.5",
53
62
  "@mui/material": "^5.15.7",
54
- "@wavelengthusaf/components": "^1.1.2",
63
+ "@wavelengthusaf/components": "^1.3.1",
55
64
  "react": "^18.2.0",
56
65
  "react-router-dom": "^6.26.2",
57
- "styled-components": "^6.1.12"
66
+ "styled-components": "^6.1.12",
67
+ "typescript": "^5.5.2"
58
68
  }
59
69
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Keenan Ray
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/README.md DELETED
@@ -1,35 +0,0 @@
1
- # common-components
2
-
3
- ## Overview
4
-
5
- This module was created to share common components across Wavelength product teams. All components stored in this library are unclassified.
6
-
7
- ## Getting started
8
-
9
- You can install this package the same way that you install everything else
10
-
11
- ```
12
- npm install @wavelengthusaf/components
13
- ```
14
-
15
- ## Release Notes
16
-
17
- ## 1.3.1
18
-
19
- -Updated WavelengthBox Component, and Wavelength Button Component. Created new Dropdown Component called Wavelength Dropdown.
20
-
21
- ## 1.3.0
22
-
23
- - Updated Footer and Snackbar component, added a basic File Download component.
24
-
25
- ### 1.0.2 - 1.0.3
26
-
27
- - Updated dependencies
28
-
29
- ### 1.0.1
30
-
31
- - Updated readme and added first ts component
32
-
33
- ### 1.0.0
34
-
35
- - Created npm package
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 };