@wavelengthusaf/web-components 1.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.
@@ -0,0 +1,882 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { TextFieldVariants, SxProps, Theme } from '@mui/material';
5
+ import { z } from 'zod';
6
+ import { Mark } from '@mui/material/Slider/useSlider.types';
7
+
8
+ /**
9
+ * Helper Functions
10
+ * @param a
11
+ * @param b
12
+ * @returns
13
+ */
14
+ declare function add(a: number, b: number): number;
15
+
16
+ /**
17
+ * Helper Functions
18
+ * @param a
19
+ * @param b
20
+ * @returns
21
+ */
22
+ declare function concat(a: string, b: string): string;
23
+
24
+ interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElement> {
25
+ variant?: "contained" | "outlined" | "text";
26
+ size?: "small" | "medium" | "large";
27
+ height?: string;
28
+ width?: string;
29
+ margin?: string;
30
+ padding?: string;
31
+ colorOne?: string;
32
+ colorTwo?: string;
33
+ fontSize?: string;
34
+ disabled?: boolean;
35
+ borderRadius?: string;
36
+ onClick?: React__default.MouseEventHandler<HTMLElement>;
37
+ children?: React__default.ReactNode;
38
+ href?: string;
39
+ target?: "_self" | "_blank" | "_parent" | "_top";
40
+ boxShadow?: string;
41
+ className?: string;
42
+ style?: React__default.CSSProperties;
43
+ }
44
+ declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
45
+
46
+ interface ButtonProps {
47
+ onClick?: any;
48
+ children?: ReactNode;
49
+ }
50
+ interface IconProps {
51
+ text: string;
52
+ numIcon?: string;
53
+ children: ReactNode;
54
+ active?: boolean;
55
+ width: string;
56
+ height: number;
57
+ fontsize: number;
58
+ }
59
+ declare function ButtonIcon({ text, numIcon, children, active, width, height, fontsize }: IconProps): react_jsx_runtime.JSX.Element;
60
+ interface ButtonMenuProps {
61
+ children: ReactNode;
62
+ }
63
+ declare function ButtonMenu({ children }: ButtonMenuProps): react_jsx_runtime.JSX.Element;
64
+ declare function WavelengthDropdownButton({ children, onClick }: ButtonProps): React__default.JSX.Element;
65
+ declare namespace WavelengthDropdownButton {
66
+ var displayName: string;
67
+ }
68
+
69
+ interface WavelengthAutocompleteProps {
70
+ id?: string;
71
+ label: string;
72
+ items?: any;
73
+ variant?: TextFieldVariants;
74
+ width?: number;
75
+ borderColor?: string;
76
+ hoverColor?: string;
77
+ textColor?: string;
78
+ onChange?: (selectedValue: string) => void;
79
+ }
80
+ /**
81
+ * Returns the Best Matching String from a List; Defaults to the first item if no good match is found
82
+ * @param searchString - the string we want to look for
83
+ * @param choices - the list of strings we get to choose from (must be greater than 0)
84
+ * @returns - a string with the "best" match, or "" if no match is found
85
+ */
86
+ declare function findBestStringMatch(searchString: string, choices: string[]): string;
87
+ declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor, id }: WavelengthAutocompleteProps): react_jsx_runtime.JSX.Element;
88
+ declare namespace WavelengthAutocomplete {
89
+ var displayName: string;
90
+ }
91
+
92
+ interface DownloadProps {
93
+ fileLoc: "local" | "api";
94
+ fileURL: string;
95
+ fileName: string;
96
+ button?: ReactNode | React__default.JSX.Element;
97
+ id?: string;
98
+ }
99
+ declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
100
+ declare namespace WavelengthFileDownloader {
101
+ var displayName: string;
102
+ }
103
+
104
+ interface StyledButtonPropsTwo {
105
+ type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
106
+ styles?: React__default.CSSProperties;
107
+ hoverstyles?: React__default.CSSProperties;
108
+ activestyles?: React__default.CSSProperties;
109
+ disabledstyles?: React__default.CSSProperties;
110
+ icon?: React__default.ReactNode;
111
+ disabled?: boolean;
112
+ children: React__default.ReactNode;
113
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
114
+ }
115
+ declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
116
+ declare namespace WavelengthStyledButton {
117
+ var displayName: string;
118
+ }
119
+
120
+ interface WavelengthBoxProps {
121
+ width?: number;
122
+ height?: number;
123
+ children: ReactNode;
124
+ borderTopRadius?: string;
125
+ borderBottomRadius?: string;
126
+ id?: string;
127
+ }
128
+ declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius, id }: WavelengthBoxProps): react_jsx_runtime.JSX.Element;
129
+ declare namespace WavelengthBox {
130
+ var displayName: string;
131
+ }
132
+
133
+ interface WavelengthContentPlaceholderProps {
134
+ type?: "circle" | "rectangle";
135
+ width?: string | number;
136
+ height?: string | number;
137
+ txtcolor?: string;
138
+ bgcolor?: string;
139
+ children: ReactNode;
140
+ id?: string;
141
+ }
142
+ declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id }: WavelengthContentPlaceholderProps): react_jsx_runtime.JSX.Element;
143
+ declare namespace WavelengthContentPlaceholder {
144
+ var displayName: string;
145
+ }
146
+
147
+ interface WavelengthExampleComponentProps {
148
+ width?: number;
149
+ height?: number;
150
+ }
151
+ declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
152
+ declare namespace WavelengthExampleComponent {
153
+ var displayName: string;
154
+ }
155
+
156
+ interface SearchResult {
157
+ id: number | string;
158
+ title: string;
159
+ subtitle?: string;
160
+ }
161
+ interface SearchProps {
162
+ id?: string;
163
+ mode: "automatic" | "manual";
164
+ type?: "text-box" | "search-bar";
165
+ iconPos?: "start" | "end";
166
+ clearIconMarginRight?: string;
167
+ borderRadius?: number | string;
168
+ label?: string;
169
+ width?: string;
170
+ height?: string | number;
171
+ children?: ReactNode;
172
+ borderColor?: string;
173
+ hoverColor?: string;
174
+ textColor?: string;
175
+ backgroundColor?: string;
176
+ placeholder?: string;
177
+ onEnter?: (arg0?: any) => any;
178
+ size?: "small" | "medium";
179
+ fontSize?: string;
180
+ options: SearchResult[];
181
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
182
+ onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
183
+ }
184
+ declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
185
+ declare namespace WavelengthSearch {
186
+ var displayName: string;
187
+ }
188
+
189
+ declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
190
+ declare namespace WavelengthSearchTextField {
191
+ var displayName: string;
192
+ }
193
+
194
+ interface WavelengthNotAvailablePageProps {
195
+ WavelengthAppLogoName?: string;
196
+ errorMessage: string;
197
+ backgroundColor?: string;
198
+ buttonText: string;
199
+ redirectLink?: string;
200
+ buttonColorOne?: string;
201
+ buttonColorTwo?: string;
202
+ id?: string;
203
+ }
204
+ declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
205
+ declare namespace WavelengthNotAvailablePage {
206
+ var displayName: string;
207
+ }
208
+
209
+ interface SubSectionItem {
210
+ title?: string;
211
+ path?: string;
212
+ onClick?: () => void;
213
+ items?: SubSectionItem[];
214
+ }
215
+ interface SubSection {
216
+ title?: string;
217
+ items?: SubSectionItem[];
218
+ }
219
+ interface Section {
220
+ title: string;
221
+ subsections?: SubSection[];
222
+ }
223
+ interface SidebarProps {
224
+ id?: string;
225
+ sections: Section[];
226
+ bgColor?: string;
227
+ txtColor?: string;
228
+ labelColor?: string;
229
+ arrowColor?: string;
230
+ marginTop?: string;
231
+ marginLeft?: string;
232
+ width?: string | number;
233
+ height?: string | number;
234
+ }
235
+ declare function WavelengthSideBar({ sections, txtColor, bgColor, labelColor, arrowColor, marginTop, marginLeft, width, height, id }: SidebarProps): React__default.JSX.Element;
236
+ declare namespace WavelengthSideBar {
237
+ var displayName: string;
238
+ }
239
+
240
+ interface ISpinningSvgProps {
241
+ size: number;
242
+ id: "outer-circle" | "middle-circle" | "inner-circle" | "spinning";
243
+ clip: string;
244
+ color: string;
245
+ gradient: boolean;
246
+ radius: number;
247
+ }
248
+ declare function WavelengthSpinningOuterCircle({ size, id, clip, color, gradient, radius }: ISpinningSvgProps): react_jsx_runtime.JSX.Element;
249
+ declare namespace WavelengthSpinningOuterCircle {
250
+ var displayName: string;
251
+ }
252
+
253
+ interface spinningLogoProps {
254
+ svg?: React__default.ReactNode;
255
+ size?: number;
256
+ id?: string;
257
+ }
258
+ declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
259
+ declare namespace WavelengthSpinningLogo {
260
+ var displayName: string;
261
+ }
262
+
263
+ interface DragAndDropProps {
264
+ width?: string;
265
+ height?: string;
266
+ border?: string;
267
+ onFilesSelected: (files: File[]) => void;
268
+ textColor?: string;
269
+ fontSize?: string;
270
+ allowedFileMIME?: string[];
271
+ allowedFileExtensions?: string;
272
+ backgroundColor?: string;
273
+ dataTestId?: string;
274
+ }
275
+ declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
276
+ declare namespace WavelengthDragAndDrop {
277
+ var displayName: string;
278
+ }
279
+
280
+ interface WavelengthProgressBarProps extends React__default.HTMLAttributes<HTMLElement> {
281
+ name?: string;
282
+ value?: number;
283
+ width?: string;
284
+ height?: string;
285
+ fontSize?: string;
286
+ fontColor?: string;
287
+ progressBorder?: string;
288
+ progressColor?: string;
289
+ }
290
+ declare const WavelengthProgressBar: React__default.FC<WavelengthProgressBarProps>;
291
+
292
+ interface CommentProps {
293
+ width?: string;
294
+ height?: string;
295
+ author: string;
296
+ date: string;
297
+ comments: string;
298
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
299
+ textColor?: string;
300
+ backgroundColor?: string;
301
+ border?: string;
302
+ iconSelectedColor?: string;
303
+ dataTestId?: string;
304
+ }
305
+ declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
306
+ declare namespace WavelengthCommentDisplay {
307
+ var displayName: string;
308
+ }
309
+
310
+ interface PermissionAlertProps {
311
+ height?: string;
312
+ width?: string;
313
+ permission?: "Permission Requested" | "Permission Denied";
314
+ applicationName?: string;
315
+ requestorName?: string;
316
+ dateOfRequest?: string;
317
+ backgroundColor?: string;
318
+ unit?: string;
319
+ onDismiss?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
320
+ dataTestId?: string;
321
+ }
322
+ declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
323
+ declare namespace WavelengthPermissionAlert {
324
+ var displayName: string;
325
+ }
326
+
327
+ interface AccessAlertProps {
328
+ height?: string;
329
+ width?: string;
330
+ access?: "Access Request" | "Access Granted" | "Access Denied";
331
+ appAdmin?: string;
332
+ time?: string;
333
+ requestorName?: string;
334
+ appNickname?: string;
335
+ message?: string;
336
+ appLogo?: string;
337
+ dataTestId?: string;
338
+ backgroundColor?: string;
339
+ onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
340
+ }
341
+ declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
342
+ declare namespace WavelengthAccessAlert {
343
+ var displayName: string;
344
+ }
345
+
346
+ interface WavelengthAlertProps {
347
+ id?: string;
348
+ height?: string;
349
+ width?: string;
350
+ variant?: "caveman" | "basic" | "civilized";
351
+ backgroundColor?: string;
352
+ alertType?: string | React__default.ReactNode;
353
+ alertDescription?: string | React__default.ReactNode;
354
+ datatestid?: string;
355
+ viewed?: boolean;
356
+ timeStamp?: string | React__default.ReactNode;
357
+ appName?: string | React__default.ReactNode;
358
+ url?: string;
359
+ onClose?: () => void;
360
+ }
361
+ declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
362
+ declare namespace WavelengthAlert {
363
+ var displayName: string;
364
+ }
365
+
366
+ interface WavelengthFooterProps {
367
+ text?: string;
368
+ textColor?: string;
369
+ }
370
+ declare function WavelengthFooter({ text, textColor }: WavelengthFooterProps): react_jsx_runtime.JSX.Element;
371
+ declare namespace WavelengthFooter {
372
+ var displayName: string;
373
+ }
374
+
375
+ /** Attributes passed through to the underlying `wavelength-button` */
376
+ interface WavelengthButtonAttributes extends React__default.HTMLAttributes<HTMLElement> {
377
+ [key: string]: any;
378
+ }
379
+ interface ButtonConfig {
380
+ label?: string;
381
+ buttonProps?: WavelengthButtonAttributes;
382
+ eventName?: string;
383
+ }
384
+ /** Attributes passed through to each generated `wavelength-input` */
385
+ interface WavelengthInputAttributes extends React__default.HTMLAttributes<HTMLElement> {
386
+ [key: string]: any;
387
+ }
388
+ type FormDetail<T> = {
389
+ value: T;
390
+ issues: z.ZodIssue[];
391
+ };
392
+ type FormInvalidDetail<T> = FormDetail<Partial<T>>;
393
+ type FormValidDetail<T> = FormDetail<T>;
394
+ type FormChangeDetail<T> = FormDetail<Partial<T>>;
395
+ interface WavelengthFormProps<T extends object = Record<string, unknown>> {
396
+ /** A Zod object schema */
397
+ schema: z.ZodType<T>;
398
+ /** Initial or controlled value (partial OK) */
399
+ value?: Partial<T>;
400
+ /** Configuration for an optional left-aligned button */
401
+ leftButton?: ButtonConfig;
402
+ /** Configuration for an optional center-aligned button */
403
+ centerButton?: ButtonConfig;
404
+ /** Configuration for an optional right-aligned button */
405
+ rightButton?: ButtonConfig;
406
+ /** Props applied to each generated WavelengthInput */
407
+ inputProps?: WavelengthInputAttributes;
408
+ /** Prefix applied to generated input IDs and names */
409
+ idPrefix?: string;
410
+ /** Optional heading text displayed above the form */
411
+ title?: string;
412
+ /** Alignment for the heading text (default: left) */
413
+ titleAlign?: React__default.CSSProperties["textAlign"];
414
+ /** Color for the heading text */
415
+ titleColor?: React__default.CSSProperties["color"];
416
+ /** Per-field placeholder overrides */
417
+ placeholders?: Partial<Record<keyof T & string, string>>;
418
+ /** CSS width applied to the underlying form element */
419
+ formWidth?: string;
420
+ /** Array defining how many fields appear in each row */
421
+ layout?: number[];
422
+ /** Standard React props */
423
+ className?: string;
424
+ style?: React__default.CSSProperties;
425
+ /** Event callbacks (straight from web component custom events) */
426
+ onChange?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
427
+ onValid?: (value: T, issues: z.ZodIssue[]) => void;
428
+ onInvalid?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
429
+ /** Fired when the default left event is triggered */
430
+ onLeft?: () => void;
431
+ /** Fired when the default center event is triggered */
432
+ onCenter?: () => void;
433
+ /** Fired when the default right event is triggered */
434
+ onRight?: () => void;
435
+ /** Fired when the underlying form emits a native submit event */
436
+ onSubmit?: (event: SubmitEvent) => void;
437
+ }
438
+ interface WavelengthFormRef<T extends object = Record<string, unknown>> {
439
+ /** Runs the component’s internal validation and returns boolean */
440
+ validate: () => boolean;
441
+ /** Read current value (as the element holds it) */
442
+ getValue: () => Partial<T> | undefined;
443
+ /** Imperatively set the value */
444
+ setValue: (v: Partial<T>) => void;
445
+ }
446
+ declare const WavelengthForm: <T extends object = Record<string, unknown>>(props: WavelengthFormProps<T> & React__default.RefAttributes<WavelengthFormRef<T>>) => React__default.ReactElement | null;
447
+
448
+ interface WavelengthTitleBarProps {
449
+ titleText?: string;
450
+ subtitleText?: string;
451
+ textColor?: string;
452
+ shadowColor?: string;
453
+ }
454
+ declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
455
+ declare namespace WavelengthTitleBar {
456
+ var displayName: string;
457
+ }
458
+
459
+ interface WavelengthBannerProps {
460
+ bannerText?: string;
461
+ bannerColor?: string;
462
+ textColor?: string;
463
+ opacity?: string | number;
464
+ zIndex?: string | number;
465
+ id?: string;
466
+ classification?: string;
467
+ control?: string[];
468
+ }
469
+ declare function WavelengthBanner({ bannerText, bannerColor, textColor, opacity, zIndex, id, classification, control }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
470
+ declare namespace WavelengthBanner {
471
+ var displayName: string;
472
+ }
473
+
474
+ interface WavelengthAppLogoProps {
475
+ width?: number;
476
+ height?: number;
477
+ name?: string;
478
+ grayscale?: boolean;
479
+ id?: string;
480
+ }
481
+ declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
482
+ declare namespace WavelengthAppLogo {
483
+ var displayName: string;
484
+ }
485
+
486
+ interface DefaultProps {
487
+ width?: string;
488
+ height?: number;
489
+ }
490
+ declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
491
+ declare namespace WavelengthDefaultIcon {
492
+ var displayName: string;
493
+ }
494
+
495
+ interface HeaderProps {
496
+ numberOfPlanes?: number;
497
+ trailDir?: "right" | "left";
498
+ color?: string;
499
+ opacity?: number;
500
+ gradient?: boolean;
501
+ }
502
+ declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
503
+ declare namespace WavelengthManyPlanes {
504
+ var displayName: string;
505
+ }
506
+
507
+ interface WavelengthPlaneTrailProps {
508
+ trailDir?: "right" | "left";
509
+ color?: string;
510
+ id?: string;
511
+ }
512
+ declare function WavelengthPlaneTrail({ trailDir, id, color }: WavelengthPlaneTrailProps): react_jsx_runtime.JSX.Element;
513
+ declare namespace WavelengthPlaneTrail {
514
+ var displayName: string;
515
+ }
516
+
517
+ type ThemeProperties = {
518
+ name?: string;
519
+ };
520
+ declare const WavelengthAppTheme: React$1.Context<ThemeProperties>;
521
+ declare const useThemeContext: () => ThemeProperties;
522
+
523
+ interface WavelengthConfirmationModalProps {
524
+ show: boolean;
525
+ setShow: (show: boolean) => void;
526
+ textObj: Record<string, string>;
527
+ id?: string;
528
+ width?: string;
529
+ height?: string;
530
+ fontFamily?: string;
531
+ textColor?: string;
532
+ cancelButton?: React.ReactNode;
533
+ submitButton?: React.ReactNode;
534
+ backgroundColor?: string;
535
+ }
536
+ declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
537
+ declare namespace WavelengthConfirmationModal {
538
+ var displayName: string;
539
+ }
540
+
541
+ interface WavelengthContentModalProps {
542
+ show: boolean;
543
+ setShow: (show: boolean) => void;
544
+ textObj: Record<string, string>;
545
+ handleContentModalOnConfirmProp: () => void;
546
+ }
547
+ declare function WavelengthContentModal(props: WavelengthContentModalProps): react_jsx_runtime.JSX.Element;
548
+ declare namespace WavelengthContentModal {
549
+ var displayName: string;
550
+ }
551
+
552
+ interface menuItemProps {
553
+ itemType: "header" | "link" | "footer" | string;
554
+ label: string | number;
555
+ link?: string;
556
+ end?: boolean;
557
+ email?: string;
558
+ hoverColor?: string;
559
+ }
560
+ interface PopUPMenuProps {
561
+ menuItems: menuItemProps[];
562
+ customIcon?: React__default.ReactNode;
563
+ width?: string;
564
+ menuDirection?: "top" | "bottom";
565
+ color?: string;
566
+ border?: string;
567
+ id?: string;
568
+ }
569
+ declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, id, border }: PopUPMenuProps): react_jsx_runtime.JSX.Element;
570
+ declare namespace WavelengthPopUpMenu {
571
+ var displayName: string;
572
+ }
573
+
574
+ interface DropdownProps {
575
+ id?: string;
576
+ palette: "brewery" | "custom";
577
+ width: string;
578
+ options: menuOptions[];
579
+ buttonSx?: SxProps<Theme> | undefined;
580
+ menuSx?: MenuSxProps;
581
+ buttonText: string | ReactNode;
582
+ }
583
+ interface menuOptions {
584
+ option: React__default.ReactNode;
585
+ onClick?: React__default.MouseEventHandler<HTMLLIElement> | undefined;
586
+ }
587
+ interface MenuSxProps {
588
+ backgroundColor?: string;
589
+ borderColor?: string;
590
+ hoverColor?: string;
591
+ width?: string;
592
+ boxShadow?: string;
593
+ }
594
+ declare function WavelengthDropdown({ id, options, buttonSx, width, buttonText, menuSx, palette, }: DropdownProps): react_jsx_runtime.JSX.Element;
595
+ declare namespace WavelengthDropdown {
596
+ var displayName: string;
597
+ }
598
+
599
+ interface ConfirmationSnackbarProps {
600
+ show: boolean;
601
+ setShow: (show: boolean) => void;
602
+ closeIcon?: ReactNode | React__default.JSX.Element;
603
+ message?: ReactNode | React__default.JSX.Element;
604
+ snackBarColor?: string;
605
+ textColor?: string;
606
+ horryAlign?: "left" | "right" | "center";
607
+ vertyAlign?: "top" | "bottom";
608
+ durationSb?: number;
609
+ id?: string;
610
+ width?: string | number;
611
+ icon?: ReactNode;
612
+ }
613
+ declare function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width, icon, id }: ConfirmationSnackbarProps): react_jsx_runtime.JSX.Element;
614
+ declare namespace WavelengthSnackbar {
615
+ var displayName: string;
616
+ }
617
+
618
+ interface StandardSnackbarProps {
619
+ type: "success" | "error" | "disabled";
620
+ show: boolean;
621
+ closeIcon: ReactNode | React__default.JSX.Element;
622
+ icon?: ReactNode;
623
+ toggleShow: (on: boolean) => void;
624
+ horryAlign?: "left" | "right" | "center";
625
+ vertyAlign?: "top" | "bottom";
626
+ durationSb?: number;
627
+ width?: string | number;
628
+ message?: string | ReactNode;
629
+ customVertyAlign?: string;
630
+ id?: string;
631
+ }
632
+ declare function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width, message, customVertyAlign, toggleShow, closeIcon, id }: StandardSnackbarProps): react_jsx_runtime.JSX.Element;
633
+ declare namespace WavelengthStandardSnackbar {
634
+ var displayName: string;
635
+ }
636
+
637
+ interface Testprops {
638
+ isPopUpOpen: boolean;
639
+ type: "success" | "error" | "disabled";
640
+ icon?: ReactNode;
641
+ width?: string | number;
642
+ message?: string | ReactNode;
643
+ img: React__default.JSX.Element | ReactNode;
644
+ toggleOpen: (value: React__default.SetStateAction<boolean>) => void;
645
+ customVertyAlign?: string;
646
+ }
647
+ declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
648
+ declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
649
+ declare namespace WavelengthTestSnackbar {
650
+ var displayName: string;
651
+ }
652
+
653
+ interface sliderProps {
654
+ width?: string;
655
+ labelColor?: string;
656
+ color?: string;
657
+ value: number;
658
+ valueDisplayed?: boolean;
659
+ minVal: number;
660
+ maxVal: number;
661
+ step: number;
662
+ handleChange: (event: Event, newValue: number | number[]) => void;
663
+ labelFunc?(val: number): string;
664
+ marks?: Mark[];
665
+ }
666
+ declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): react_jsx_runtime.JSX.Element;
667
+ declare namespace WavelengthSlider {
668
+ var displayName: string;
669
+ }
670
+
671
+ interface carouselItem$1 {
672
+ title?: string;
673
+ description?: string;
674
+ image: string;
675
+ path: string;
676
+ }
677
+ interface carouselConfigArray$1 {
678
+ items: carouselItem$1[];
679
+ }
680
+ interface adjustableDimensions {
681
+ buttonSize?: number;
682
+ imageHeight?: number;
683
+ imageWidth?: number;
684
+ cardWidth?: number;
685
+ cardHeight?: number;
686
+ }
687
+ declare const DefaultCarousel: React__default.FC<carouselConfigArray$1 & adjustableDimensions>;
688
+
689
+ interface carouselItem {
690
+ title?: string;
691
+ description?: string;
692
+ image: string;
693
+ path: string;
694
+ }
695
+ interface carouselConfigArray {
696
+ items: carouselItem[];
697
+ }
698
+ interface adjustDimenforCarousel {
699
+ contHeight?: number;
700
+ contWidth?: number;
701
+ cardWidth?: number;
702
+ cardHeight?: number;
703
+ }
704
+ declare const SliderCardCarousel: React__default.FC<carouselConfigArray & adjustDimenforCarousel>;
705
+
706
+ interface PaginationProps {
707
+ totalPages: number;
708
+ boundaryCount?: number;
709
+ siblingCount?: number;
710
+ currentPageNumber: number;
711
+ style?: "text" | "contained" | "outlined" | "circular";
712
+ onPageChange: (page: number) => void;
713
+ }
714
+ declare const range: (start: number, end: number) => number[];
715
+ declare function ascendingRange(start: number, end: number): number[];
716
+ declare function DefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
717
+ declare namespace DefaultPagination {
718
+ var displayName: string;
719
+ }
720
+
721
+ interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement> {
722
+ id?: string;
723
+ name?: string;
724
+ value?: string;
725
+ clearable?: boolean;
726
+ placeholder?: string;
727
+ inputType?: string;
728
+ regex?: string;
729
+ helperMessage?: string;
730
+ errorMessage?: string;
731
+ minLengthMessage?: string;
732
+ maxLengthMessage?: string;
733
+ validationType?: "none" | "always" | "onBlur" | "manual";
734
+ minLength?: number;
735
+ maxLength?: number;
736
+ required?: boolean;
737
+ forceError?: boolean;
738
+ disabled?: boolean;
739
+ width?: string;
740
+ height?: string;
741
+ padding?: string;
742
+ borderRadius?: string;
743
+ backgroundColor?: string;
744
+ labelColor?: string;
745
+ placeholderColor?: string;
746
+ textColor?: string;
747
+ borderColor?: string;
748
+ focusColor?: string;
749
+ helperColor?: string;
750
+ label?: string;
751
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
752
+ }
753
+ declare const WavelengthInput: React__default.ForwardRefExoticComponent<WavelengthInputProps & React__default.RefAttributes<HTMLElement & {
754
+ validate?: () => boolean;
755
+ }>>;
756
+
757
+ interface DataType$2 {
758
+ id: number;
759
+ [key: string]: any;
760
+ }
761
+ interface ColumnProps$2<T> {
762
+ key: string;
763
+ title: string | ReactElement;
764
+ width?: string;
765
+ editable?: boolean;
766
+ render?: (column: ColumnProps$2<T>, item: T) => ReactElement;
767
+ }
768
+ type Props$2<T> = {
769
+ columns: Array<ColumnProps$2<T>>;
770
+ data?: T[] | undefined;
771
+ itemsPerPage: number;
772
+ totalPages: number;
773
+ };
774
+ declare const WavelengthDataTable: {
775
+ <T extends DataType$2>({ data, columns, itemsPerPage, totalPages }: Props$2<T>): react_jsx_runtime.JSX.Element;
776
+ displayName: string;
777
+ };
778
+
779
+ interface fileObject {
780
+ id: number;
781
+ [key: string]: any;
782
+ }
783
+ interface Details$1 {
784
+ relationId: number;
785
+ fileObjects: fileObject[];
786
+ }
787
+ interface DataType$1 {
788
+ id: number;
789
+ [key: string]: any;
790
+ Details?: Details$1;
791
+ }
792
+ interface ColumnProps$1 {
793
+ key: string;
794
+ title: string | ReactElement;
795
+ subDataTableColumn: boolean;
796
+ PrimaryBoldText?: boolean;
797
+ }
798
+ type Props$1<T> = {
799
+ columns: Array<ColumnProps$1>;
800
+ data?: T[] | undefined;
801
+ downloadArrowOnClick?: () => void | Promise<void>;
802
+ downloadMissionOnClick?: () => void | Promise<void>;
803
+ addFilesOnClick?: () => void | Promise<void>;
804
+ };
805
+ declare const ChildDataTable: {
806
+ <T extends DataType$1>({ data, columns, downloadArrowOnClick, downloadMissionOnClick, addFilesOnClick }: Props$1<T>): react_jsx_runtime.JSX.Element;
807
+ displayName: string;
808
+ };
809
+
810
+ interface Details {
811
+ relationId: number;
812
+ [key: string]: any;
813
+ }
814
+ interface DataType {
815
+ id: number;
816
+ [key: string]: any;
817
+ Details?: Details;
818
+ }
819
+ interface ColumnProps<T> {
820
+ key: string;
821
+ title: string | ReactElement;
822
+ subDataTableColumn: boolean;
823
+ width?: string;
824
+ editable?: boolean;
825
+ render?: (column: ColumnProps<T>, item: T) => ReactElement;
826
+ }
827
+ type Props<T> = {
828
+ columns: Array<ColumnProps<T>>;
829
+ data?: T[] | undefined;
830
+ };
831
+ declare const NestedDataTable: {
832
+ <T extends DataType>({ data, columns }: Props<T>): react_jsx_runtime.JSX.Element;
833
+ displayName: string;
834
+ };
835
+
836
+ interface AutocompleteProps {
837
+ data: string[];
838
+ floatLabel: string;
839
+ onDataChange?: (data: string) => void;
840
+ height?: string;
841
+ width?: string;
842
+ inputBorderStyle?: string;
843
+ inputFocusBorderColor?: string;
844
+ autoBackGroundColor?: string;
845
+ labelColor?: string;
846
+ focusedLabelColor?: string;
847
+ id?: string;
848
+ name?: string;
849
+ }
850
+ declare const WavelengthAutoComplete: {
851
+ ({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, focusedLabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
852
+ displayName: string;
853
+ };
854
+
855
+ type timeVariant = "date" | "datetime-local" | "";
856
+ interface DateInputProps {
857
+ floatLabel: string;
858
+ OnDataChange?: (data: Date) => void;
859
+ height?: string;
860
+ width?: string;
861
+ min?: string;
862
+ max?: string;
863
+ inputTimeType: timeVariant;
864
+ labelColor?: string;
865
+ inputBorderStyle?: string;
866
+ inputFocusBorderColor?: string;
867
+ backgroundColor?: string;
868
+ FocusLabelColor?: string;
869
+ id?: string;
870
+ name?: string;
871
+ }
872
+ declare const WavelengthDatePicker: {
873
+ ({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
874
+ displayName: string;
875
+ };
876
+
877
+ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
878
+ testProp?: string;
879
+ }
880
+ declare const SampleComponent: React__default.FC<SampleComponentProps>;
881
+
882
+ export { type ButtonConfig, ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, type FormChangeDetail, type FormDetail, type FormInvalidDetail, type FormValidDetail, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, type WavelengthBannerProps, WavelengthBox, WavelengthButton, type WavelengthButtonAttributes, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, type WavelengthFormProps, type WavelengthFormRef, WavelengthInput, type WavelengthInputAttributes, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, type WavelengthProgressBarProps, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };