@wavelengthusaf/components 3.3.11 → 4.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 +21 -7
- package/dist/cjs/index.cjs +634 -1376
- package/dist/cjs/index.d.cts +192 -9
- package/dist/esm/index.d.ts +192 -9
- package/dist/esm/index.js +842 -1584
- package/package.json +10 -7
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/fonts/fonts/b612-latin-400-normal.woff +0 -0
- package/dist/fonts/fonts/b612-latin-400-normal.woff2 +0 -0
- package/dist/fonts/fonts/goldman-latin-400-normal.woff +0 -0
- package/dist/fonts/fonts/goldman-latin-400-normal.woff2 +0 -0
- package/dist/styles/styles/fontBase64.tsx +0 -16
- package/dist/styles/styles/fontSheet.tsx +0 -19
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
|
|
3
|
+
export { SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
|
|
3
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
6
|
+
import { z } from 'zod';
|
|
5
7
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
6
8
|
|
|
7
9
|
/**
|
|
@@ -61,6 +63,9 @@ interface ButtonMenuProps {
|
|
|
61
63
|
}
|
|
62
64
|
declare function ButtonMenu({ children }: ButtonMenuProps): react_jsx_runtime.JSX.Element;
|
|
63
65
|
declare function WavelengthDropdownButton({ children, onClick }: ButtonProps): React__default.JSX.Element;
|
|
66
|
+
declare namespace WavelengthDropdownButton {
|
|
67
|
+
var displayName: string;
|
|
68
|
+
}
|
|
64
69
|
|
|
65
70
|
interface WavelengthAutocompleteProps {
|
|
66
71
|
id?: string;
|
|
@@ -81,6 +86,9 @@ interface WavelengthAutocompleteProps {
|
|
|
81
86
|
*/
|
|
82
87
|
declare function findBestStringMatch(searchString: string, choices: string[]): string;
|
|
83
88
|
declare function WavelengthAutocomplete({ label, width, variant, items, onChange, borderColor, textColor, hoverColor, id }: WavelengthAutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare namespace WavelengthAutocomplete {
|
|
90
|
+
var displayName: string;
|
|
91
|
+
}
|
|
84
92
|
|
|
85
93
|
interface DownloadProps {
|
|
86
94
|
fileLoc: "local" | "api";
|
|
@@ -90,6 +98,9 @@ interface DownloadProps {
|
|
|
90
98
|
id?: string;
|
|
91
99
|
}
|
|
92
100
|
declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
|
|
101
|
+
declare namespace WavelengthFileDownloader {
|
|
102
|
+
var displayName: string;
|
|
103
|
+
}
|
|
93
104
|
|
|
94
105
|
interface StyledButtonPropsTwo {
|
|
95
106
|
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 +114,9 @@ interface StyledButtonPropsTwo {
|
|
|
103
114
|
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
104
115
|
}
|
|
105
116
|
declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare namespace WavelengthStyledButton {
|
|
118
|
+
var displayName: string;
|
|
119
|
+
}
|
|
106
120
|
|
|
107
121
|
interface WavelengthBoxProps {
|
|
108
122
|
width?: number;
|
|
@@ -113,6 +127,9 @@ interface WavelengthBoxProps {
|
|
|
113
127
|
id?: string;
|
|
114
128
|
}
|
|
115
129
|
declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius, id }: WavelengthBoxProps): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare namespace WavelengthBox {
|
|
131
|
+
var displayName: string;
|
|
132
|
+
}
|
|
116
133
|
|
|
117
134
|
interface WavelengthContentPlaceholderProps {
|
|
118
135
|
type?: "circle" | "rectangle";
|
|
@@ -124,12 +141,18 @@ interface WavelengthContentPlaceholderProps {
|
|
|
124
141
|
id?: string;
|
|
125
142
|
}
|
|
126
143
|
declare function WavelengthContentPlaceholder({ type, width, height, txtcolor, bgcolor, children, id }: WavelengthContentPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare namespace WavelengthContentPlaceholder {
|
|
145
|
+
var displayName: string;
|
|
146
|
+
}
|
|
127
147
|
|
|
128
148
|
interface WavelengthExampleComponentProps {
|
|
129
149
|
width?: number;
|
|
130
150
|
height?: number;
|
|
131
151
|
}
|
|
132
152
|
declare function WavelengthExampleComponent({ width, height }: WavelengthExampleComponentProps): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare namespace WavelengthExampleComponent {
|
|
154
|
+
var displayName: string;
|
|
155
|
+
}
|
|
133
156
|
|
|
134
157
|
interface SearchResult {
|
|
135
158
|
id: number | string;
|
|
@@ -160,8 +183,14 @@ interface SearchProps {
|
|
|
160
183
|
onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
|
|
161
184
|
}
|
|
162
185
|
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;
|
|
186
|
+
declare namespace WavelengthSearch {
|
|
187
|
+
var displayName: string;
|
|
188
|
+
}
|
|
163
189
|
|
|
164
190
|
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare namespace WavelengthSearchTextField {
|
|
192
|
+
var displayName: string;
|
|
193
|
+
}
|
|
165
194
|
|
|
166
195
|
interface WavelengthNotAvailablePageProps {
|
|
167
196
|
WavelengthAppLogoName?: string;
|
|
@@ -174,6 +203,9 @@ interface WavelengthNotAvailablePageProps {
|
|
|
174
203
|
id?: string;
|
|
175
204
|
}
|
|
176
205
|
declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
|
|
206
|
+
declare namespace WavelengthNotAvailablePage {
|
|
207
|
+
var displayName: string;
|
|
208
|
+
}
|
|
177
209
|
|
|
178
210
|
interface SubSectionItem {
|
|
179
211
|
title?: string;
|
|
@@ -202,6 +234,9 @@ interface SidebarProps {
|
|
|
202
234
|
height?: string | number;
|
|
203
235
|
}
|
|
204
236
|
declare function WavelengthSideBar({ sections, txtColor, bgColor, labelColor, arrowColor, marginTop, marginLeft, width, height, id }: SidebarProps): React__default.JSX.Element;
|
|
237
|
+
declare namespace WavelengthSideBar {
|
|
238
|
+
var displayName: string;
|
|
239
|
+
}
|
|
205
240
|
|
|
206
241
|
interface ISpinningSvgProps {
|
|
207
242
|
size: number;
|
|
@@ -212,6 +247,9 @@ interface ISpinningSvgProps {
|
|
|
212
247
|
radius: number;
|
|
213
248
|
}
|
|
214
249
|
declare function WavelengthSpinningOuterCircle({ size, id, clip, color, gradient, radius }: ISpinningSvgProps): react_jsx_runtime.JSX.Element;
|
|
250
|
+
declare namespace WavelengthSpinningOuterCircle {
|
|
251
|
+
var displayName: string;
|
|
252
|
+
}
|
|
215
253
|
|
|
216
254
|
interface spinningLogoProps {
|
|
217
255
|
svg?: React__default.ReactNode;
|
|
@@ -219,6 +257,9 @@ interface spinningLogoProps {
|
|
|
219
257
|
id?: string;
|
|
220
258
|
}
|
|
221
259
|
declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
|
|
260
|
+
declare namespace WavelengthSpinningLogo {
|
|
261
|
+
var displayName: string;
|
|
262
|
+
}
|
|
222
263
|
|
|
223
264
|
interface DragAndDropProps {
|
|
224
265
|
width?: string;
|
|
@@ -233,6 +274,9 @@ interface DragAndDropProps {
|
|
|
233
274
|
dataTestId?: string;
|
|
234
275
|
}
|
|
235
276
|
declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare namespace WavelengthDragAndDrop {
|
|
278
|
+
var displayName: string;
|
|
279
|
+
}
|
|
236
280
|
|
|
237
281
|
interface WavelengthProgressBarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
238
282
|
name?: string;
|
|
@@ -260,6 +304,9 @@ interface CommentProps {
|
|
|
260
304
|
dataTestId?: string;
|
|
261
305
|
}
|
|
262
306
|
declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
|
|
307
|
+
declare namespace WavelengthCommentDisplay {
|
|
308
|
+
var displayName: string;
|
|
309
|
+
}
|
|
263
310
|
|
|
264
311
|
interface PermissionAlertProps {
|
|
265
312
|
height?: string;
|
|
@@ -274,6 +321,9 @@ interface PermissionAlertProps {
|
|
|
274
321
|
dataTestId?: string;
|
|
275
322
|
}
|
|
276
323
|
declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
|
|
324
|
+
declare namespace WavelengthPermissionAlert {
|
|
325
|
+
var displayName: string;
|
|
326
|
+
}
|
|
277
327
|
|
|
278
328
|
interface AccessAlertProps {
|
|
279
329
|
height?: string;
|
|
@@ -290,6 +340,9 @@ interface AccessAlertProps {
|
|
|
290
340
|
onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
291
341
|
}
|
|
292
342
|
declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
|
|
343
|
+
declare namespace WavelengthAccessAlert {
|
|
344
|
+
var displayName: string;
|
|
345
|
+
}
|
|
293
346
|
|
|
294
347
|
interface WavelengthAlertProps {
|
|
295
348
|
id?: string;
|
|
@@ -307,12 +360,84 @@ interface WavelengthAlertProps {
|
|
|
307
360
|
onClose?: () => void;
|
|
308
361
|
}
|
|
309
362
|
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
363
|
+
declare namespace WavelengthAlert {
|
|
364
|
+
var displayName: string;
|
|
365
|
+
}
|
|
310
366
|
|
|
311
367
|
interface WavelengthFooterProps {
|
|
312
368
|
text?: string;
|
|
313
369
|
textColor?: string;
|
|
314
370
|
}
|
|
315
371
|
declare function WavelengthFooter({ text, textColor }: WavelengthFooterProps): react_jsx_runtime.JSX.Element;
|
|
372
|
+
declare namespace WavelengthFooter {
|
|
373
|
+
var displayName: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/** Attributes passed through to the underlying `wavelength-button` */
|
|
377
|
+
interface WavelengthButtonAttributes extends React__default.HTMLAttributes<HTMLElement> {
|
|
378
|
+
[key: string]: any;
|
|
379
|
+
}
|
|
380
|
+
interface ButtonConfig {
|
|
381
|
+
label?: string;
|
|
382
|
+
buttonProps?: WavelengthButtonAttributes;
|
|
383
|
+
eventName?: string;
|
|
384
|
+
}
|
|
385
|
+
/** Attributes passed through to each generated `wavelength-input` */
|
|
386
|
+
interface WavelengthInputAttributes extends React__default.HTMLAttributes<HTMLElement> {
|
|
387
|
+
[key: string]: any;
|
|
388
|
+
}
|
|
389
|
+
interface WavelengthFormProps<T extends object = Record<string, unknown>> {
|
|
390
|
+
/** A Zod object schema */
|
|
391
|
+
schema: z.ZodType<T>;
|
|
392
|
+
/** Initial or controlled value (partial OK) */
|
|
393
|
+
value?: Partial<T>;
|
|
394
|
+
/** Configuration for an optional left-aligned button */
|
|
395
|
+
leftButton?: ButtonConfig;
|
|
396
|
+
/** Configuration for an optional center-aligned button */
|
|
397
|
+
centerButton?: ButtonConfig;
|
|
398
|
+
/** Configuration for an optional right-aligned button */
|
|
399
|
+
rightButton?: ButtonConfig;
|
|
400
|
+
/** Props applied to each generated WavelengthInput */
|
|
401
|
+
inputProps?: WavelengthInputAttributes;
|
|
402
|
+
/** Prefix applied to generated input IDs and names */
|
|
403
|
+
idPrefix?: string;
|
|
404
|
+
/** Optional heading text displayed above the form */
|
|
405
|
+
title?: string;
|
|
406
|
+
/** Alignment for the heading text (default: left) */
|
|
407
|
+
titleAlign?: React__default.CSSProperties["textAlign"];
|
|
408
|
+
/** Color for the heading text */
|
|
409
|
+
titleColor?: React__default.CSSProperties["color"];
|
|
410
|
+
/** Per-field placeholder overrides */
|
|
411
|
+
placeholders?: Partial<Record<keyof T & string, string>>;
|
|
412
|
+
/** CSS width applied to the underlying form element */
|
|
413
|
+
formWidth?: string;
|
|
414
|
+
/** Array defining how many fields appear in each row */
|
|
415
|
+
layout?: number[];
|
|
416
|
+
/** Standard React props */
|
|
417
|
+
className?: string;
|
|
418
|
+
style?: React__default.CSSProperties;
|
|
419
|
+
/** Event callbacks (straight from web component custom events) */
|
|
420
|
+
onChange?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
|
|
421
|
+
onValid?: (value: T, issues: z.ZodIssue[]) => void;
|
|
422
|
+
onInvalid?: (value: Partial<T>, issues: z.ZodIssue[]) => void;
|
|
423
|
+
/** Fired when the default left event is triggered */
|
|
424
|
+
onLeft?: () => void;
|
|
425
|
+
/** Fired when the default center event is triggered */
|
|
426
|
+
onCenter?: () => void;
|
|
427
|
+
/** Fired when the default right event is triggered */
|
|
428
|
+
onRight?: () => void;
|
|
429
|
+
/** Fired when the underlying form emits a native submit event */
|
|
430
|
+
onSubmit?: (event: SubmitEvent) => void;
|
|
431
|
+
}
|
|
432
|
+
interface WavelengthFormRef<T extends object = Record<string, unknown>> {
|
|
433
|
+
/** Runs the component’s internal validation and returns boolean */
|
|
434
|
+
validate: () => boolean;
|
|
435
|
+
/** Read current value (as the element holds it) */
|
|
436
|
+
getValue: () => Partial<T> | undefined;
|
|
437
|
+
/** Imperatively set the value */
|
|
438
|
+
setValue: (v: Partial<T>) => void;
|
|
439
|
+
}
|
|
440
|
+
declare const WavelengthForm: <T extends object = Record<string, unknown>>(props: WavelengthFormProps<T> & React__default.RefAttributes<WavelengthFormRef<T>>) => React__default.ReactElement | null;
|
|
316
441
|
|
|
317
442
|
interface WavelengthTitleBarProps {
|
|
318
443
|
titleText?: string;
|
|
@@ -321,6 +446,9 @@ interface WavelengthTitleBarProps {
|
|
|
321
446
|
shadowColor?: string;
|
|
322
447
|
}
|
|
323
448
|
declare function WavelengthTitleBar({ titleText, subtitleText, textColor, shadowColor }: WavelengthTitleBarProps): react_jsx_runtime.JSX.Element;
|
|
449
|
+
declare namespace WavelengthTitleBar {
|
|
450
|
+
var displayName: string;
|
|
451
|
+
}
|
|
324
452
|
|
|
325
453
|
interface WavelengthBannerProps {
|
|
326
454
|
bannerText?: string;
|
|
@@ -333,6 +461,9 @@ interface WavelengthBannerProps {
|
|
|
333
461
|
control?: string[];
|
|
334
462
|
}
|
|
335
463
|
declare function WavelengthBanner({ bannerText, bannerColor, textColor, opacity, zIndex, id, classification, control }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
464
|
+
declare namespace WavelengthBanner {
|
|
465
|
+
var displayName: string;
|
|
466
|
+
}
|
|
336
467
|
|
|
337
468
|
interface WavelengthAppLogoProps {
|
|
338
469
|
width?: number;
|
|
@@ -342,12 +473,18 @@ interface WavelengthAppLogoProps {
|
|
|
342
473
|
id?: string;
|
|
343
474
|
}
|
|
344
475
|
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
476
|
+
declare namespace WavelengthAppLogo {
|
|
477
|
+
var displayName: string;
|
|
478
|
+
}
|
|
345
479
|
|
|
346
480
|
interface DefaultProps {
|
|
347
481
|
width?: string;
|
|
348
482
|
height?: number;
|
|
349
483
|
}
|
|
350
484
|
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
485
|
+
declare namespace WavelengthDefaultIcon {
|
|
486
|
+
var displayName: string;
|
|
487
|
+
}
|
|
351
488
|
|
|
352
489
|
interface HeaderProps {
|
|
353
490
|
numberOfPlanes?: number;
|
|
@@ -357,6 +494,9 @@ interface HeaderProps {
|
|
|
357
494
|
gradient?: boolean;
|
|
358
495
|
}
|
|
359
496
|
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
497
|
+
declare namespace WavelengthManyPlanes {
|
|
498
|
+
var displayName: string;
|
|
499
|
+
}
|
|
360
500
|
|
|
361
501
|
interface WavelengthPlaneTrailProps {
|
|
362
502
|
trailDir?: "right" | "left";
|
|
@@ -364,6 +504,9 @@ interface WavelengthPlaneTrailProps {
|
|
|
364
504
|
id?: string;
|
|
365
505
|
}
|
|
366
506
|
declare function WavelengthPlaneTrail({ trailDir, id, color }: WavelengthPlaneTrailProps): react_jsx_runtime.JSX.Element;
|
|
507
|
+
declare namespace WavelengthPlaneTrail {
|
|
508
|
+
var displayName: string;
|
|
509
|
+
}
|
|
367
510
|
|
|
368
511
|
type ThemeProperties = {
|
|
369
512
|
name?: string;
|
|
@@ -385,6 +528,9 @@ interface WavelengthConfirmationModalProps {
|
|
|
385
528
|
backgroundColor?: string;
|
|
386
529
|
}
|
|
387
530
|
declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare namespace WavelengthConfirmationModal {
|
|
532
|
+
var displayName: string;
|
|
533
|
+
}
|
|
388
534
|
|
|
389
535
|
interface WavelengthContentModalProps {
|
|
390
536
|
show: boolean;
|
|
@@ -393,6 +539,9 @@ interface WavelengthContentModalProps {
|
|
|
393
539
|
handleContentModalOnConfirmProp: () => void;
|
|
394
540
|
}
|
|
395
541
|
declare function WavelengthContentModal(props: WavelengthContentModalProps): react_jsx_runtime.JSX.Element;
|
|
542
|
+
declare namespace WavelengthContentModal {
|
|
543
|
+
var displayName: string;
|
|
544
|
+
}
|
|
396
545
|
|
|
397
546
|
interface menuItemProps {
|
|
398
547
|
itemType: "header" | "link" | "footer" | string;
|
|
@@ -412,6 +561,9 @@ interface PopUPMenuProps {
|
|
|
412
561
|
id?: string;
|
|
413
562
|
}
|
|
414
563
|
declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, id, border }: PopUPMenuProps): react_jsx_runtime.JSX.Element;
|
|
564
|
+
declare namespace WavelengthPopUpMenu {
|
|
565
|
+
var displayName: string;
|
|
566
|
+
}
|
|
415
567
|
|
|
416
568
|
interface DropdownProps {
|
|
417
569
|
id?: string;
|
|
@@ -434,6 +586,9 @@ interface MenuSxProps {
|
|
|
434
586
|
boxShadow?: string;
|
|
435
587
|
}
|
|
436
588
|
declare function WavelengthDropdown({ id, options, buttonSx, width, buttonText, menuSx, palette, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
589
|
+
declare namespace WavelengthDropdown {
|
|
590
|
+
var displayName: string;
|
|
591
|
+
}
|
|
437
592
|
|
|
438
593
|
interface ConfirmationSnackbarProps {
|
|
439
594
|
show: boolean;
|
|
@@ -450,6 +605,9 @@ interface ConfirmationSnackbarProps {
|
|
|
450
605
|
icon?: ReactNode;
|
|
451
606
|
}
|
|
452
607
|
declare function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width, icon, id }: ConfirmationSnackbarProps): react_jsx_runtime.JSX.Element;
|
|
608
|
+
declare namespace WavelengthSnackbar {
|
|
609
|
+
var displayName: string;
|
|
610
|
+
}
|
|
453
611
|
|
|
454
612
|
interface StandardSnackbarProps {
|
|
455
613
|
type: "success" | "error" | "disabled";
|
|
@@ -466,6 +624,9 @@ interface StandardSnackbarProps {
|
|
|
466
624
|
id?: string;
|
|
467
625
|
}
|
|
468
626
|
declare function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width, message, customVertyAlign, toggleShow, closeIcon, id }: StandardSnackbarProps): react_jsx_runtime.JSX.Element;
|
|
627
|
+
declare namespace WavelengthStandardSnackbar {
|
|
628
|
+
var displayName: string;
|
|
629
|
+
}
|
|
469
630
|
|
|
470
631
|
interface Testprops {
|
|
471
632
|
isPopUpOpen: boolean;
|
|
@@ -479,6 +640,9 @@ interface Testprops {
|
|
|
479
640
|
}
|
|
480
641
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
481
642
|
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
643
|
+
declare namespace WavelengthTestSnackbar {
|
|
644
|
+
var displayName: string;
|
|
645
|
+
}
|
|
482
646
|
|
|
483
647
|
interface sliderProps {
|
|
484
648
|
width?: string;
|
|
@@ -494,6 +658,9 @@ interface sliderProps {
|
|
|
494
658
|
marks?: Mark[];
|
|
495
659
|
}
|
|
496
660
|
declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): react_jsx_runtime.JSX.Element;
|
|
661
|
+
declare namespace WavelengthSlider {
|
|
662
|
+
var displayName: string;
|
|
663
|
+
}
|
|
497
664
|
|
|
498
665
|
interface carouselItem$1 {
|
|
499
666
|
title?: string;
|
|
@@ -541,6 +708,9 @@ interface PaginationProps {
|
|
|
541
708
|
declare const range: (start: number, end: number) => number[];
|
|
542
709
|
declare function ascendingRange(start: number, end: number): number[];
|
|
543
710
|
declare function DefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
711
|
+
declare namespace DefaultPagination {
|
|
712
|
+
var displayName: string;
|
|
713
|
+
}
|
|
544
714
|
|
|
545
715
|
interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
546
716
|
id?: string;
|
|
@@ -595,7 +765,10 @@ type Props$2<T> = {
|
|
|
595
765
|
itemsPerPage: number;
|
|
596
766
|
totalPages: number;
|
|
597
767
|
};
|
|
598
|
-
declare const WavelengthDataTable:
|
|
768
|
+
declare const WavelengthDataTable: {
|
|
769
|
+
<T extends DataType$2>({ data, columns, itemsPerPage, totalPages }: Props$2<T>): react_jsx_runtime.JSX.Element;
|
|
770
|
+
displayName: string;
|
|
771
|
+
};
|
|
599
772
|
|
|
600
773
|
interface fileObject {
|
|
601
774
|
id: number;
|
|
@@ -623,7 +796,10 @@ type Props$1<T> = {
|
|
|
623
796
|
downloadMissionOnClick?: () => void | Promise<void>;
|
|
624
797
|
addFilesOnClick?: () => void | Promise<void>;
|
|
625
798
|
};
|
|
626
|
-
declare const ChildDataTable:
|
|
799
|
+
declare const ChildDataTable: {
|
|
800
|
+
<T extends DataType$1>({ data, columns, downloadArrowOnClick, downloadMissionOnClick, addFilesOnClick }: Props$1<T>): react_jsx_runtime.JSX.Element;
|
|
801
|
+
displayName: string;
|
|
802
|
+
};
|
|
627
803
|
|
|
628
804
|
interface Details {
|
|
629
805
|
relationId: number;
|
|
@@ -646,7 +822,10 @@ type Props<T> = {
|
|
|
646
822
|
columns: Array<ColumnProps<T>>;
|
|
647
823
|
data?: T[] | undefined;
|
|
648
824
|
};
|
|
649
|
-
declare const NestedDataTable:
|
|
825
|
+
declare const NestedDataTable: {
|
|
826
|
+
<T extends DataType>({ data, columns }: Props<T>): react_jsx_runtime.JSX.Element;
|
|
827
|
+
displayName: string;
|
|
828
|
+
};
|
|
650
829
|
|
|
651
830
|
interface AutocompleteProps {
|
|
652
831
|
data: string[];
|
|
@@ -658,13 +837,14 @@ interface AutocompleteProps {
|
|
|
658
837
|
inputFocusBorderColor?: string;
|
|
659
838
|
autoBackGroundColor?: string;
|
|
660
839
|
labelColor?: string;
|
|
661
|
-
|
|
840
|
+
focusedLabelColor?: string;
|
|
662
841
|
id?: string;
|
|
663
842
|
name?: string;
|
|
664
843
|
}
|
|
665
|
-
declare const
|
|
666
|
-
|
|
667
|
-
|
|
844
|
+
declare const WavelengthAutoComplete: {
|
|
845
|
+
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, focusedLabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
846
|
+
displayName: string;
|
|
847
|
+
};
|
|
668
848
|
|
|
669
849
|
type timeVariant = "date" | "datetime-local" | "";
|
|
670
850
|
interface DateInputProps {
|
|
@@ -683,11 +863,14 @@ interface DateInputProps {
|
|
|
683
863
|
id?: string;
|
|
684
864
|
name?: string;
|
|
685
865
|
}
|
|
686
|
-
declare const
|
|
866
|
+
declare const WavelengthDatePicker: {
|
|
867
|
+
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
868
|
+
displayName: string;
|
|
869
|
+
};
|
|
687
870
|
|
|
688
871
|
interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
689
872
|
testProp?: string;
|
|
690
873
|
}
|
|
691
874
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
692
875
|
|
|
693
|
-
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties,
|
|
876
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|