@wavelengthusaf/components 2.9.0 → 2.9.2
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 +9 -0
- package/dist/cjs/index.cjs +578 -333
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +17 -15
- package/dist/esm/index.d.ts +17 -15
- package/dist/esm/index.js +605 -360
- 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;
|
|
@@ -409,7 +411,7 @@ interface DropdownProps {
|
|
|
409
411
|
palette: "brewery" | "custom";
|
|
410
412
|
width: string;
|
|
411
413
|
options: menuOptions[];
|
|
412
|
-
buttonSx?: SxProps
|
|
414
|
+
buttonSx?: SxProps<Theme> | undefined;
|
|
413
415
|
menuSx?: MenuSxProps;
|
|
414
416
|
buttonText: string | ReactNode;
|
|
415
417
|
}
|
|
@@ -572,4 +574,4 @@ type Props<T> = {
|
|
|
572
574
|
};
|
|
573
575
|
declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
|
|
574
576
|
|
|
575
|
-
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
|
577
|
+
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPermissionAlert, 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;
|
|
@@ -409,7 +411,7 @@ interface DropdownProps {
|
|
|
409
411
|
palette: "brewery" | "custom";
|
|
410
412
|
width: string;
|
|
411
413
|
options: menuOptions[];
|
|
412
|
-
buttonSx?: SxProps
|
|
414
|
+
buttonSx?: SxProps<Theme> | undefined;
|
|
413
415
|
menuSx?: MenuSxProps;
|
|
414
416
|
buttonText: string | ReactNode;
|
|
415
417
|
}
|
|
@@ -572,4 +574,4 @@ type Props<T> = {
|
|
|
572
574
|
};
|
|
573
575
|
declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
|
|
574
576
|
|
|
575
|
-
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
|
577
|
+
export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchProps, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|