@wavelengthusaf/components 2.9.0 → 2.9.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.
- package/dist/cjs/index.cjs +629 -677
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +17 -58
- package/dist/esm/index.d.ts +17 -58
- package/dist/esm/index.js +803 -851
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { TextFieldVariants, SxProps
|
|
4
|
+
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
6
5
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -21,22 +20,25 @@ declare function add(a: number, b: number): number;
|
|
|
21
20
|
*/
|
|
22
21
|
declare function concat(a: string, b: string): string;
|
|
23
22
|
|
|
24
|
-
interface
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
onClick?: any;
|
|
23
|
+
interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
24
|
+
variant?: "contained" | "outlined" | "text";
|
|
25
|
+
size?: "small" | "medium" | "large";
|
|
26
|
+
height?: string;
|
|
27
|
+
width?: string;
|
|
30
28
|
margin?: string;
|
|
31
29
|
padding?: string;
|
|
32
|
-
|
|
30
|
+
colorOne?: string;
|
|
31
|
+
colorTwo?: string;
|
|
32
|
+
fontSize?: string;
|
|
33
33
|
disabled?: boolean;
|
|
34
|
-
children?: ReactNode;
|
|
35
|
-
data_test?: string;
|
|
36
34
|
borderRadius?: string;
|
|
37
|
-
|
|
35
|
+
onClick?: React__default.MouseEventHandler<HTMLElement>;
|
|
36
|
+
children?: React__default.ReactNode;
|
|
37
|
+
href?: string;
|
|
38
|
+
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
39
|
+
boxShadow?: string;
|
|
38
40
|
}
|
|
39
|
-
declare
|
|
41
|
+
declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
|
|
40
42
|
|
|
41
43
|
interface ButtonProps {
|
|
42
44
|
onClick?: any;
|
|
@@ -258,49 +260,6 @@ interface CommentProps {
|
|
|
258
260
|
}
|
|
259
261
|
declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
|
|
260
262
|
|
|
261
|
-
interface PermissionAlertProps {
|
|
262
|
-
height?: string;
|
|
263
|
-
width?: string;
|
|
264
|
-
permission?: "Permission Requested" | "Permission Denied";
|
|
265
|
-
applicationName?: string;
|
|
266
|
-
requestorName?: string;
|
|
267
|
-
dateOfRequest?: string;
|
|
268
|
-
backgroundColor?: string;
|
|
269
|
-
unit?: string;
|
|
270
|
-
onDismiss?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
271
|
-
dataTestId?: string;
|
|
272
|
-
}
|
|
273
|
-
declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
|
|
274
|
-
|
|
275
|
-
interface AccessAlertProps {
|
|
276
|
-
height?: string;
|
|
277
|
-
width?: string;
|
|
278
|
-
access?: "Access Request" | "Access Granted" | "Access Denied";
|
|
279
|
-
appAdmin?: string;
|
|
280
|
-
time?: string;
|
|
281
|
-
requestorName?: string;
|
|
282
|
-
appNickname?: string;
|
|
283
|
-
message?: string;
|
|
284
|
-
appLogo?: string;
|
|
285
|
-
dataTestId?: string;
|
|
286
|
-
backgroundColor?: string;
|
|
287
|
-
onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
288
|
-
}
|
|
289
|
-
declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
|
|
290
|
-
|
|
291
|
-
interface WavelengthAlertProps {
|
|
292
|
-
id?: string;
|
|
293
|
-
height?: string;
|
|
294
|
-
width?: string;
|
|
295
|
-
backgroundColor?: string;
|
|
296
|
-
alertHeader?: string;
|
|
297
|
-
alertDescription?: string;
|
|
298
|
-
datatestid?: string;
|
|
299
|
-
viewed?: boolean;
|
|
300
|
-
onClose?: () => void;
|
|
301
|
-
}
|
|
302
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, alertHeader, alertDescription, datatestid, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
303
|
-
|
|
304
263
|
interface WavelengthFooterProps {
|
|
305
264
|
text?: string;
|
|
306
265
|
textColor?: string;
|
|
@@ -409,7 +368,7 @@ interface DropdownProps {
|
|
|
409
368
|
palette: "brewery" | "custom";
|
|
410
369
|
width: string;
|
|
411
370
|
options: menuOptions[];
|
|
412
|
-
buttonSx?: SxProps
|
|
371
|
+
buttonSx?: SxProps<Theme> | undefined;
|
|
413
372
|
menuSx?: MenuSxProps;
|
|
414
373
|
buttonText: string | ReactNode;
|
|
415
374
|
}
|
|
@@ -572,4 +531,4 @@ type Props<T> = {
|
|
|
572
531
|
};
|
|
573
532
|
declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
|
|
574
533
|
|
|
575
|
-
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties,
|
|
534
|
+
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { TextFieldVariants, SxProps
|
|
4
|
+
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
6
5
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -21,22 +20,25 @@ declare function add(a: number, b: number): number;
|
|
|
21
20
|
*/
|
|
22
21
|
declare function concat(a: string, b: string): string;
|
|
23
22
|
|
|
24
|
-
interface
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
onClick?: any;
|
|
23
|
+
interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
24
|
+
variant?: "contained" | "outlined" | "text";
|
|
25
|
+
size?: "small" | "medium" | "large";
|
|
26
|
+
height?: string;
|
|
27
|
+
width?: string;
|
|
30
28
|
margin?: string;
|
|
31
29
|
padding?: string;
|
|
32
|
-
|
|
30
|
+
colorOne?: string;
|
|
31
|
+
colorTwo?: string;
|
|
32
|
+
fontSize?: string;
|
|
33
33
|
disabled?: boolean;
|
|
34
|
-
children?: ReactNode;
|
|
35
|
-
data_test?: string;
|
|
36
34
|
borderRadius?: string;
|
|
37
|
-
|
|
35
|
+
onClick?: React__default.MouseEventHandler<HTMLElement>;
|
|
36
|
+
children?: React__default.ReactNode;
|
|
37
|
+
href?: string;
|
|
38
|
+
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
39
|
+
boxShadow?: string;
|
|
38
40
|
}
|
|
39
|
-
declare
|
|
41
|
+
declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
|
|
40
42
|
|
|
41
43
|
interface ButtonProps {
|
|
42
44
|
onClick?: any;
|
|
@@ -258,49 +260,6 @@ interface CommentProps {
|
|
|
258
260
|
}
|
|
259
261
|
declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
|
|
260
262
|
|
|
261
|
-
interface PermissionAlertProps {
|
|
262
|
-
height?: string;
|
|
263
|
-
width?: string;
|
|
264
|
-
permission?: "Permission Requested" | "Permission Denied";
|
|
265
|
-
applicationName?: string;
|
|
266
|
-
requestorName?: string;
|
|
267
|
-
dateOfRequest?: string;
|
|
268
|
-
backgroundColor?: string;
|
|
269
|
-
unit?: string;
|
|
270
|
-
onDismiss?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
271
|
-
dataTestId?: string;
|
|
272
|
-
}
|
|
273
|
-
declare function WavelengthPermissionAlert({ dataTestId, height, width, backgroundColor, permission, applicationName, requestorName, dateOfRequest, onDismiss, unit, }: PermissionAlertProps): react_jsx_runtime.JSX.Element;
|
|
274
|
-
|
|
275
|
-
interface AccessAlertProps {
|
|
276
|
-
height?: string;
|
|
277
|
-
width?: string;
|
|
278
|
-
access?: "Access Request" | "Access Granted" | "Access Denied";
|
|
279
|
-
appAdmin?: string;
|
|
280
|
-
time?: string;
|
|
281
|
-
requestorName?: string;
|
|
282
|
-
appNickname?: string;
|
|
283
|
-
message?: string;
|
|
284
|
-
appLogo?: string;
|
|
285
|
-
dataTestId?: string;
|
|
286
|
-
backgroundColor?: string;
|
|
287
|
-
onClear?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
288
|
-
}
|
|
289
|
-
declare function WavelengthAccessAlert({ height, dataTestId, width, time, access, appNickname, appLogo, appAdmin, requestorName, }: AccessAlertProps): react_jsx_runtime.JSX.Element;
|
|
290
|
-
|
|
291
|
-
interface WavelengthAlertProps {
|
|
292
|
-
id?: string;
|
|
293
|
-
height?: string;
|
|
294
|
-
width?: string;
|
|
295
|
-
backgroundColor?: string;
|
|
296
|
-
alertHeader?: string;
|
|
297
|
-
alertDescription?: string;
|
|
298
|
-
datatestid?: string;
|
|
299
|
-
viewed?: boolean;
|
|
300
|
-
onClose?: () => void;
|
|
301
|
-
}
|
|
302
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, alertHeader, alertDescription, datatestid, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
303
|
-
|
|
304
263
|
interface WavelengthFooterProps {
|
|
305
264
|
text?: string;
|
|
306
265
|
textColor?: string;
|
|
@@ -409,7 +368,7 @@ interface DropdownProps {
|
|
|
409
368
|
palette: "brewery" | "custom";
|
|
410
369
|
width: string;
|
|
411
370
|
options: menuOptions[];
|
|
412
|
-
buttonSx?: SxProps
|
|
371
|
+
buttonSx?: SxProps<Theme> | undefined;
|
|
413
372
|
menuSx?: MenuSxProps;
|
|
414
373
|
buttonText: string | ReactNode;
|
|
415
374
|
}
|
|
@@ -572,4 +531,4 @@ type Props<T> = {
|
|
|
572
531
|
};
|
|
573
532
|
declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
|
|
574
533
|
|
|
575
|
-
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties,
|
|
534
|
+
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|