@wavelengthusaf/components 3.3.11 → 3.4.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 +5 -0
- package/dist/cjs/index.cjs +3559 -212
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +197 -6
- package/dist/esm/index.d.ts +197 -6
- package/dist/esm/index.js +3743 -396
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
5
|
+
import { z } from 'zod';
|
|
5
6
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -61,6 +62,9 @@ interface ButtonMenuProps {
|
|
|
61
62
|
}
|
|
62
63
|
declare function ButtonMenu({ children }: ButtonMenuProps): react_jsx_runtime.JSX.Element;
|
|
63
64
|
declare function WavelengthDropdownButton({ children, onClick }: ButtonProps): React__default.JSX.Element;
|
|
65
|
+
declare namespace WavelengthDropdownButton {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
64
68
|
|
|
65
69
|
interface WavelengthAutocompleteProps {
|
|
66
70
|
id?: string;
|
|
@@ -81,6 +85,9 @@ interface WavelengthAutocompleteProps {
|
|
|
81
85
|
*/
|
|
82
86
|
declare function findBestStringMatch(searchString: string, choices: string[]): string;
|
|
83
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
|
+
}
|
|
84
91
|
|
|
85
92
|
interface DownloadProps {
|
|
86
93
|
fileLoc: "local" | "api";
|
|
@@ -90,6 +97,9 @@ interface DownloadProps {
|
|
|
90
97
|
id?: string;
|
|
91
98
|
}
|
|
92
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
|
+
}
|
|
93
103
|
|
|
94
104
|
interface StyledButtonPropsTwo {
|
|
95
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";
|
|
@@ -103,6 +113,9 @@ interface StyledButtonPropsTwo {
|
|
|
103
113
|
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
104
114
|
}
|
|
105
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
|
+
}
|
|
106
119
|
|
|
107
120
|
interface WavelengthBoxProps {
|
|
108
121
|
width?: number;
|
|
@@ -113,6 +126,9 @@ interface WavelengthBoxProps {
|
|
|
113
126
|
id?: string;
|
|
114
127
|
}
|
|
115
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
|
+
}
|
|
116
132
|
|
|
117
133
|
interface WavelengthContentPlaceholderProps {
|
|
118
134
|
type?: "circle" | "rectangle";
|
|
@@ -124,12 +140,18 @@ interface WavelengthContentPlaceholderProps {
|
|
|
124
140
|
id?: string;
|
|
125
141
|
}
|
|
126
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
|
+
}
|
|
127
146
|
|
|
128
147
|
interface WavelengthExampleComponentProps {
|
|
129
148
|
width?: number;
|
|
130
149
|
height?: number;
|
|
131
150
|
}
|
|
132
151
|
declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare namespace WavelengthExampleComponent {
|
|
153
|
+
var displayName: string;
|
|
154
|
+
}
|
|
133
155
|
|
|
134
156
|
interface SearchResult {
|
|
135
157
|
id: number | string;
|
|
@@ -160,8 +182,14 @@ interface SearchProps {
|
|
|
160
182
|
onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
|
|
161
183
|
}
|
|
162
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
|
+
}
|
|
163
188
|
|
|
164
189
|
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare namespace WavelengthSearchTextField {
|
|
191
|
+
var displayName: string;
|
|
192
|
+
}
|
|
165
193
|
|
|
166
194
|
interface WavelengthNotAvailablePageProps {
|
|
167
195
|
WavelengthAppLogoName?: string;
|
|
@@ -174,6 +202,9 @@ interface WavelengthNotAvailablePageProps {
|
|
|
174
202
|
id?: string;
|
|
175
203
|
}
|
|
176
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
|
+
}
|
|
177
208
|
|
|
178
209
|
interface SubSectionItem {
|
|
179
210
|
title?: string;
|
|
@@ -202,6 +233,9 @@ interface SidebarProps {
|
|
|
202
233
|
height?: string | number;
|
|
203
234
|
}
|
|
204
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
|
+
}
|
|
205
239
|
|
|
206
240
|
interface ISpinningSvgProps {
|
|
207
241
|
size: number;
|
|
@@ -212,6 +246,9 @@ interface ISpinningSvgProps {
|
|
|
212
246
|
radius: number;
|
|
213
247
|
}
|
|
214
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
|
+
}
|
|
215
252
|
|
|
216
253
|
interface spinningLogoProps {
|
|
217
254
|
svg?: React__default.ReactNode;
|
|
@@ -219,6 +256,9 @@ interface spinningLogoProps {
|
|
|
219
256
|
id?: string;
|
|
220
257
|
}
|
|
221
258
|
declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
declare namespace WavelengthSpinningLogo {
|
|
260
|
+
var displayName: string;
|
|
261
|
+
}
|
|
222
262
|
|
|
223
263
|
interface DragAndDropProps {
|
|
224
264
|
width?: string;
|
|
@@ -233,6 +273,9 @@ interface DragAndDropProps {
|
|
|
233
273
|
dataTestId?: string;
|
|
234
274
|
}
|
|
235
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
|
+
}
|
|
236
279
|
|
|
237
280
|
interface WavelengthProgressBarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
238
281
|
name?: string;
|
|
@@ -260,6 +303,9 @@ interface CommentProps {
|
|
|
260
303
|
dataTestId?: string;
|
|
261
304
|
}
|
|
262
305
|
declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare namespace WavelengthCommentDisplay {
|
|
307
|
+
var displayName: string;
|
|
308
|
+
}
|
|
263
309
|
|
|
264
310
|
interface PermissionAlertProps {
|
|
265
311
|
height?: string;
|
|
@@ -274,6 +320,9 @@ interface PermissionAlertProps {
|
|
|
274
320
|
dataTestId?: string;
|
|
275
321
|
}
|
|
276
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
|
+
}
|
|
277
326
|
|
|
278
327
|
interface AccessAlertProps {
|
|
279
328
|
height?: string;
|
|
@@ -290,6 +339,9 @@ interface AccessAlertProps {
|
|
|
290
339
|
onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
291
340
|
}
|
|
292
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
|
+
}
|
|
293
345
|
|
|
294
346
|
interface WavelengthAlertProps {
|
|
295
347
|
id?: string;
|
|
@@ -307,12 +359,91 @@ interface WavelengthAlertProps {
|
|
|
307
359
|
onClose?: () => void;
|
|
308
360
|
}
|
|
309
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
|
+
}
|
|
310
365
|
|
|
311
366
|
interface WavelengthFooterProps {
|
|
312
367
|
text?: string;
|
|
313
368
|
textColor?: string;
|
|
314
369
|
}
|
|
315
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;
|
|
316
447
|
|
|
317
448
|
interface WavelengthTitleBarProps {
|
|
318
449
|
titleText?: string;
|
|
@@ -321,6 +452,9 @@ interface WavelengthTitleBarProps {
|
|
|
321
452
|
shadowColor?: string;
|
|
322
453
|
}
|
|
323
454
|
declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
|
|
455
|
+
declare namespace WavelengthTitleBar {
|
|
456
|
+
var displayName: string;
|
|
457
|
+
}
|
|
324
458
|
|
|
325
459
|
interface WavelengthBannerProps {
|
|
326
460
|
bannerText?: string;
|
|
@@ -333,6 +467,9 @@ interface WavelengthBannerProps {
|
|
|
333
467
|
control?: string[];
|
|
334
468
|
}
|
|
335
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
|
+
}
|
|
336
473
|
|
|
337
474
|
interface WavelengthAppLogoProps {
|
|
338
475
|
width?: number;
|
|
@@ -342,12 +479,18 @@ interface WavelengthAppLogoProps {
|
|
|
342
479
|
id?: string;
|
|
343
480
|
}
|
|
344
481
|
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
482
|
+
declare namespace WavelengthAppLogo {
|
|
483
|
+
var displayName: string;
|
|
484
|
+
}
|
|
345
485
|
|
|
346
486
|
interface DefaultProps {
|
|
347
487
|
width?: string;
|
|
348
488
|
height?: number;
|
|
349
489
|
}
|
|
350
490
|
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
491
|
+
declare namespace WavelengthDefaultIcon {
|
|
492
|
+
var displayName: string;
|
|
493
|
+
}
|
|
351
494
|
|
|
352
495
|
interface HeaderProps {
|
|
353
496
|
numberOfPlanes?: number;
|
|
@@ -357,6 +500,9 @@ interface HeaderProps {
|
|
|
357
500
|
gradient?: boolean;
|
|
358
501
|
}
|
|
359
502
|
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
503
|
+
declare namespace WavelengthManyPlanes {
|
|
504
|
+
var displayName: string;
|
|
505
|
+
}
|
|
360
506
|
|
|
361
507
|
interface WavelengthPlaneTrailProps {
|
|
362
508
|
trailDir?: "right" | "left";
|
|
@@ -364,6 +510,9 @@ interface WavelengthPlaneTrailProps {
|
|
|
364
510
|
id?: string;
|
|
365
511
|
}
|
|
366
512
|
declare function WavelengthPlaneTrail({ trailDir, id, color }: WavelengthPlaneTrailProps): react_jsx_runtime.JSX.Element;
|
|
513
|
+
declare namespace WavelengthPlaneTrail {
|
|
514
|
+
var displayName: string;
|
|
515
|
+
}
|
|
367
516
|
|
|
368
517
|
type ThemeProperties = {
|
|
369
518
|
name?: string;
|
|
@@ -385,6 +534,9 @@ interface WavelengthConfirmationModalProps {
|
|
|
385
534
|
backgroundColor?: string;
|
|
386
535
|
}
|
|
387
536
|
declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
declare namespace WavelengthConfirmationModal {
|
|
538
|
+
var displayName: string;
|
|
539
|
+
}
|
|
388
540
|
|
|
389
541
|
interface WavelengthContentModalProps {
|
|
390
542
|
show: boolean;
|
|
@@ -393,6 +545,9 @@ interface WavelengthContentModalProps {
|
|
|
393
545
|
handleContentModalOnConfirmProp: () => void;
|
|
394
546
|
}
|
|
395
547
|
declare function WavelengthContentModal(props: WavelengthContentModalProps): react_jsx_runtime.JSX.Element;
|
|
548
|
+
declare namespace WavelengthContentModal {
|
|
549
|
+
var displayName: string;
|
|
550
|
+
}
|
|
396
551
|
|
|
397
552
|
interface menuItemProps {
|
|
398
553
|
itemType: "header" | "link" | "footer" | string;
|
|
@@ -412,6 +567,9 @@ interface PopUPMenuProps {
|
|
|
412
567
|
id?: string;
|
|
413
568
|
}
|
|
414
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
|
+
}
|
|
415
573
|
|
|
416
574
|
interface DropdownProps {
|
|
417
575
|
id?: string;
|
|
@@ -434,6 +592,9 @@ interface MenuSxProps {
|
|
|
434
592
|
boxShadow?: string;
|
|
435
593
|
}
|
|
436
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
|
+
}
|
|
437
598
|
|
|
438
599
|
interface ConfirmationSnackbarProps {
|
|
439
600
|
show: boolean;
|
|
@@ -450,6 +611,9 @@ interface ConfirmationSnackbarProps {
|
|
|
450
611
|
icon?: ReactNode;
|
|
451
612
|
}
|
|
452
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
|
+
}
|
|
453
617
|
|
|
454
618
|
interface StandardSnackbarProps {
|
|
455
619
|
type: "success" | "error" | "disabled";
|
|
@@ -466,6 +630,9 @@ interface StandardSnackbarProps {
|
|
|
466
630
|
id?: string;
|
|
467
631
|
}
|
|
468
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
|
+
}
|
|
469
636
|
|
|
470
637
|
interface Testprops {
|
|
471
638
|
isPopUpOpen: boolean;
|
|
@@ -479,6 +646,9 @@ interface Testprops {
|
|
|
479
646
|
}
|
|
480
647
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
481
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
|
+
}
|
|
482
652
|
|
|
483
653
|
interface sliderProps {
|
|
484
654
|
width?: string;
|
|
@@ -494,6 +664,9 @@ interface sliderProps {
|
|
|
494
664
|
marks?: Mark[];
|
|
495
665
|
}
|
|
496
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
|
+
}
|
|
497
670
|
|
|
498
671
|
interface carouselItem$1 {
|
|
499
672
|
title?: string;
|
|
@@ -541,6 +714,9 @@ interface PaginationProps {
|
|
|
541
714
|
declare const range: (start: number, end: number) => number[];
|
|
542
715
|
declare function ascendingRange(start: number, end: number): number[];
|
|
543
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
|
+
}
|
|
544
720
|
|
|
545
721
|
interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
546
722
|
id?: string;
|
|
@@ -595,7 +771,10 @@ type Props$2<T> = {
|
|
|
595
771
|
itemsPerPage: number;
|
|
596
772
|
totalPages: number;
|
|
597
773
|
};
|
|
598
|
-
declare const WavelengthDataTable:
|
|
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
|
+
};
|
|
599
778
|
|
|
600
779
|
interface fileObject {
|
|
601
780
|
id: number;
|
|
@@ -623,7 +802,10 @@ type Props$1<T> = {
|
|
|
623
802
|
downloadMissionOnClick?: () => void | Promise<void>;
|
|
624
803
|
addFilesOnClick?: () => void | Promise<void>;
|
|
625
804
|
};
|
|
626
|
-
declare const ChildDataTable:
|
|
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
|
+
};
|
|
627
809
|
|
|
628
810
|
interface Details {
|
|
629
811
|
relationId: number;
|
|
@@ -646,7 +828,10 @@ type Props<T> = {
|
|
|
646
828
|
columns: Array<ColumnProps<T>>;
|
|
647
829
|
data?: T[] | undefined;
|
|
648
830
|
};
|
|
649
|
-
declare const NestedDataTable:
|
|
831
|
+
declare const NestedDataTable: {
|
|
832
|
+
<T extends DataType>({ data, columns }: Props<T>): react_jsx_runtime.JSX.Element;
|
|
833
|
+
displayName: string;
|
|
834
|
+
};
|
|
650
835
|
|
|
651
836
|
interface AutocompleteProps {
|
|
652
837
|
data: string[];
|
|
@@ -662,7 +847,10 @@ interface AutocompleteProps {
|
|
|
662
847
|
id?: string;
|
|
663
848
|
name?: string;
|
|
664
849
|
}
|
|
665
|
-
declare const WLAutoComplete:
|
|
850
|
+
declare const WLAutoComplete: {
|
|
851
|
+
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, FocusedlabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
852
|
+
displayName: string;
|
|
853
|
+
};
|
|
666
854
|
|
|
667
855
|
declare const WLInputDatePicker: React.FC;
|
|
668
856
|
|
|
@@ -683,11 +871,14 @@ interface DateInputProps {
|
|
|
683
871
|
id?: string;
|
|
684
872
|
name?: string;
|
|
685
873
|
}
|
|
686
|
-
declare const WLDatePicker:
|
|
874
|
+
declare const WLDatePicker: {
|
|
875
|
+
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
876
|
+
displayName: string;
|
|
877
|
+
};
|
|
687
878
|
|
|
688
879
|
interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
689
880
|
testProp?: string;
|
|
690
881
|
}
|
|
691
882
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
692
883
|
|
|
693
|
-
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WLAutoComplete, WLDatePicker, WLInputDatePicker, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, type WavelengthBannerProps, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthInput, 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 };
|
|
884
|
+
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, WLAutoComplete, WLDatePicker, WLInputDatePicker, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, type WavelengthBannerProps, WavelengthBox, WavelengthButton, type WavelengthButtonAttributes, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, 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 };
|