@wavelengthusaf/components 2.3.5 → 2.5.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.
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -87,6 +87,19 @@ interface DownloadProps {
87
87
  }
88
88
  declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
89
89
 
90
+ interface StyledButtonPropsTwo {
91
+ type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
92
+ styles?: React__default.CSSProperties;
93
+ hoverstyles?: React__default.CSSProperties;
94
+ activestyles?: React__default.CSSProperties;
95
+ disabledstyles?: React__default.CSSProperties;
96
+ icon?: React__default.ReactNode;
97
+ disabled?: boolean;
98
+ children: React__default.ReactNode;
99
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
100
+ }
101
+ declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
102
+
90
103
  interface WavelengthBoxProps {
91
104
  width?: number;
92
105
  height?: number;
@@ -203,6 +216,19 @@ interface spinningLogoProps {
203
216
  }
204
217
  declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
205
218
 
219
+ interface DragAndDropProps {
220
+ width?: string;
221
+ height?: string;
222
+ border?: string;
223
+ onFilesSelected: (files: File[]) => void;
224
+ textColor?: string;
225
+ fontSize?: string;
226
+ allowedFileMIME?: string[];
227
+ allowedFileExtensions?: string;
228
+ backgroundColor?: string;
229
+ }
230
+ declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
+
206
232
  interface WavelengthFooterProps {
207
233
  text?: string;
208
234
  textColor?: string;
@@ -256,15 +282,21 @@ declare function WavelengthPlaneTrail({ trailDir, id }: WavelengthPlaneTrailProp
256
282
  type ThemeProperties = {
257
283
  name?: string;
258
284
  };
259
- declare const WavelengthAppTheme: React.Context<ThemeProperties>;
285
+ declare const WavelengthAppTheme: React$1.Context<ThemeProperties>;
260
286
  declare const useThemeContext: () => ThemeProperties;
261
287
 
262
288
  interface WavelengthConfirmationModalProps {
263
289
  show: boolean;
264
290
  setShow: (show: boolean) => void;
265
291
  textObj: Record<string, string>;
266
- handleConfirmationModalOnConfirmProp: () => void;
267
292
  id?: string;
293
+ width?: string;
294
+ height?: string;
295
+ fontFamily?: string;
296
+ textColor?: string;
297
+ cacelButton?: React.ReactNode;
298
+ submitButton?: React.ReactNode;
299
+ backgroundColor?: string;
268
300
  }
269
301
  declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
270
302
 
@@ -424,4 +456,20 @@ declare const range: (start: number, end: number) => number[];
424
456
  declare function ascendingRange(start: number, end: number): number[];
425
457
  declare function DefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
426
458
 
427
- export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchResult, SearchTextField, SliderCardCarousel, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
459
+ interface TextFieldProps {
460
+ width?: string;
461
+ height?: string;
462
+ label?: string;
463
+ borderColor?: string;
464
+ labelColor?: string;
465
+ focusColor?: string;
466
+ textColor?: string;
467
+ required?: boolean;
468
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
469
+ regex?: RegExp;
470
+ placeholder?: string;
471
+ type?: string;
472
+ }
473
+ declare function WavelengthTextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
474
+
475
+ export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
@@ -0,0 +1,14 @@
1
+ interface DragAndDropProps {
2
+ width?: string;
3
+ height?: string;
4
+ border?: string;
5
+ onFilesSelected: (files: File[]) => void;
6
+ textColor?: string;
7
+ fontSize?: string;
8
+ allowedFileMIME?: string[];
9
+ allowedFileExtensions?: string;
10
+ backgroundColor?: string;
11
+ }
12
+ export declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, }: DragAndDropProps): import("react/jsx-runtime").JSX.Element;
13
+ export default WavelengthDragAndDrop;
14
+ //# sourceMappingURL=WavelengthDragAndDrop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WavelengthDragAndDrop.d.ts","sourceRoot":"","sources":["../../../src/components/PageComponents/WavelengthDragAndDrop.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD,wBAAgB,qBAAqB,CAAC,EACpC,KAAe,EACf,MAAgB,EAChB,eAAe,EACf,MAAM,EACN,SAAS,EACT,QAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,eAA+B,GAChC,EAAE,gBAAgB,2CA+DlB;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ interface TextFieldProps {
3
+ width?: string;
4
+ height?: string;
5
+ label?: string;
6
+ borderColor?: string;
7
+ labelColor?: string;
8
+ focusColor?: string;
9
+ textColor?: string;
10
+ required?: boolean;
11
+ onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
12
+ regex?: RegExp;
13
+ placeholder?: string;
14
+ type?: string;
15
+ }
16
+ export declare function WavelengthTextField(props: TextFieldProps): import("react/jsx-runtime").JSX.Element;
17
+ export default WavelengthTextField;
18
+ //# sourceMappingURL=WavelengthTextField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WavelengthTextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/WavelengthTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACxF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,2CAoDxD;AAED,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ export interface StyledButtonPropsTwo {
3
+ type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
4
+ styles?: React.CSSProperties;
5
+ hoverstyles?: React.CSSProperties;
6
+ activestyles?: React.CSSProperties;
7
+ disabledstyles?: React.CSSProperties;
8
+ icon?: React.ReactNode;
9
+ disabled?: boolean;
10
+ children: React.ReactNode;
11
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
12
+ }
13
+ export declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): import("react/jsx-runtime").JSX.Element;
14
+ export default WavelengthStyledButton;
15
+ //# sourceMappingURL=WavelengthStyledButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WavelengthStyledButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/WavelengthButton/WavelengthStyledButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,oBAAoB;IACnC,IAAI,EACA,yBAAyB,GACzB,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,sBAAsB,GACtB,gBAAgB,GAChB,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,SAAS,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAqaD,wBAAgB,sBAAsB,CAAC,EAAE,IAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAgB,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,oBAAoB,2CAO9K;AAED,eAAe,sBAAsB,CAAC"}
@@ -2,8 +2,14 @@ interface WavelengthConfirmationModalProps {
2
2
  show: boolean;
3
3
  setShow: (show: boolean) => void;
4
4
  textObj: Record<string, string>;
5
- handleConfirmationModalOnConfirmProp: () => void;
6
5
  id?: string;
6
+ width?: string;
7
+ height?: string;
8
+ fontFamily?: string;
9
+ textColor?: string;
10
+ cacelButton?: React.ReactNode;
11
+ submitButton?: React.ReactNode;
12
+ backgroundColor?: string;
7
13
  }
8
14
  export declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): import("react/jsx-runtime").JSX.Element;
9
15
  export default WavelengthConfirmationModal;
@@ -1 +1 @@
1
- {"version":3,"file":"WavelengthConfirmationModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/WavelengthConfirmationModal.tsx"],"names":[],"mappings":"AACA,UAAU,gCAAgC;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,oCAAoC,EAAE,MAAM,IAAI,CAAC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,2CAwBlF;AAED,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"WavelengthConfirmationModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/WavelengthConfirmationModal.tsx"],"names":[],"mappings":"AAEA,UAAU,gCAAgC;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,2CAmClF;AAED,eAAe,2BAA2B,CAAC"}
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -87,6 +87,19 @@ interface DownloadProps {
87
87
  }
88
88
  declare function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button, id }: DownloadProps): react_jsx_runtime.JSX.Element | undefined;
89
89
 
90
+ interface StyledButtonPropsTwo {
91
+ type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
92
+ styles?: React__default.CSSProperties;
93
+ hoverstyles?: React__default.CSSProperties;
94
+ activestyles?: React__default.CSSProperties;
95
+ disabledstyles?: React__default.CSSProperties;
96
+ icon?: React__default.ReactNode;
97
+ disabled?: boolean;
98
+ children: React__default.ReactNode;
99
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
100
+ }
101
+ declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
102
+
90
103
  interface WavelengthBoxProps {
91
104
  width?: number;
92
105
  height?: number;
@@ -203,6 +216,19 @@ interface spinningLogoProps {
203
216
  }
204
217
  declare function WavelengthSpinningLogo({ svg, size, id }: spinningLogoProps): react_jsx_runtime.JSX.Element;
205
218
 
219
+ interface DragAndDropProps {
220
+ width?: string;
221
+ height?: string;
222
+ border?: string;
223
+ onFilesSelected: (files: File[]) => void;
224
+ textColor?: string;
225
+ fontSize?: string;
226
+ allowedFileMIME?: string[];
227
+ allowedFileExtensions?: string;
228
+ backgroundColor?: string;
229
+ }
230
+ declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
+
206
232
  interface WavelengthFooterProps {
207
233
  text?: string;
208
234
  textColor?: string;
@@ -256,15 +282,21 @@ declare function WavelengthPlaneTrail({ trailDir, id }: WavelengthPlaneTrailProp
256
282
  type ThemeProperties = {
257
283
  name?: string;
258
284
  };
259
- declare const WavelengthAppTheme: React.Context<ThemeProperties>;
285
+ declare const WavelengthAppTheme: React$1.Context<ThemeProperties>;
260
286
  declare const useThemeContext: () => ThemeProperties;
261
287
 
262
288
  interface WavelengthConfirmationModalProps {
263
289
  show: boolean;
264
290
  setShow: (show: boolean) => void;
265
291
  textObj: Record<string, string>;
266
- handleConfirmationModalOnConfirmProp: () => void;
267
292
  id?: string;
293
+ width?: string;
294
+ height?: string;
295
+ fontFamily?: string;
296
+ textColor?: string;
297
+ cacelButton?: React.ReactNode;
298
+ submitButton?: React.ReactNode;
299
+ backgroundColor?: string;
268
300
  }
269
301
  declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
270
302
 
@@ -424,4 +456,20 @@ declare const range: (start: number, end: number) => number[];
424
456
  declare function ascendingRange(start: number, end: number): number[];
425
457
  declare function DefaultPagination({ totalPages, currentPageNumber, siblingCount, boundaryCount, style, onPageChange }: PaginationProps): react_jsx_runtime.JSX.Element;
426
458
 
427
- export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchResult, SearchTextField, SliderCardCarousel, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
459
+ interface TextFieldProps {
460
+ width?: string;
461
+ height?: string;
462
+ label?: string;
463
+ borderColor?: string;
464
+ labelColor?: string;
465
+ focusColor?: string;
466
+ textColor?: string;
467
+ required?: boolean;
468
+ onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
469
+ regex?: RegExp;
470
+ placeholder?: string;
471
+ type?: string;
472
+ }
473
+ declare function WavelengthTextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
474
+
475
+ export { AppLogo, ButtonIcon, ButtonMenu, DefaultCarousel, DefaultIcon, DefaultPagination, ManyPlanesComponent, NotAvailablePage, type SearchResult, SearchTextField, SliderCardCarousel, type StyledButtonPropsTwo, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };