@wavelengthusaf/components 2.8.1 → 2.9.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.
@@ -226,8 +226,9 @@ interface DragAndDropProps {
226
226
  allowedFileMIME?: string[];
227
227
  allowedFileExtensions?: string;
228
228
  backgroundColor?: string;
229
+ dataTestId?: string;
229
230
  }
230
- declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
+ declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
232
 
232
233
  interface ProgressProps {
233
234
  name?: string;
@@ -238,8 +239,9 @@ interface ProgressProps {
238
239
  progressColor?: string;
239
240
  value?: number;
240
241
  textColor?: string;
242
+ dataTestId?: string;
241
243
  }
242
- declare function WavelengthProgressBar({ width, height, backgroundColor, borderRadius, progressColor, value, name, textColor }: ProgressProps): react_jsx_runtime.JSX.Element;
244
+ declare function WavelengthProgressBar({ dataTestId, width, height, backgroundColor, borderRadius, progressColor, value, name, textColor }: ProgressProps): react_jsx_runtime.JSX.Element;
243
245
 
244
246
  interface CommentProps {
245
247
  width?: string;
@@ -252,9 +254,53 @@ interface CommentProps {
252
254
  backgroundColor?: string;
253
255
  border?: string;
254
256
  iconSelectedColor?: string;
257
+ dataTestId?: string;
255
258
  }
256
259
  declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
257
260
 
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
+
258
304
  interface WavelengthFooterProps {
259
305
  text?: string;
260
306
  textColor?: string;
@@ -526,4 +572,4 @@ type Props<T> = {
526
572
  };
527
573
  declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
528
574
 
529
- 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, 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 };
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 };
@@ -226,8 +226,9 @@ interface DragAndDropProps {
226
226
  allowedFileMIME?: string[];
227
227
  allowedFileExtensions?: string;
228
228
  backgroundColor?: string;
229
+ dataTestId?: string;
229
230
  }
230
- declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
+ declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
231
232
 
232
233
  interface ProgressProps {
233
234
  name?: string;
@@ -238,8 +239,9 @@ interface ProgressProps {
238
239
  progressColor?: string;
239
240
  value?: number;
240
241
  textColor?: string;
242
+ dataTestId?: string;
241
243
  }
242
- declare function WavelengthProgressBar({ width, height, backgroundColor, borderRadius, progressColor, value, name, textColor }: ProgressProps): react_jsx_runtime.JSX.Element;
244
+ declare function WavelengthProgressBar({ dataTestId, width, height, backgroundColor, borderRadius, progressColor, value, name, textColor }: ProgressProps): react_jsx_runtime.JSX.Element;
243
245
 
244
246
  interface CommentProps {
245
247
  width?: string;
@@ -252,9 +254,53 @@ interface CommentProps {
252
254
  backgroundColor?: string;
253
255
  border?: string;
254
256
  iconSelectedColor?: string;
257
+ dataTestId?: string;
255
258
  }
256
259
  declare function WavelengthCommentDisplay(props: CommentProps): react_jsx_runtime.JSX.Element;
257
260
 
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
+
258
304
  interface WavelengthFooterProps {
259
305
  text?: string;
260
306
  textColor?: string;
@@ -526,4 +572,4 @@ type Props<T> = {
526
572
  };
527
573
  declare const WavelengthDataTable: <T extends DataType>({ data, columns, itemsPerPage, totalPages }: Props<T>) => react_jsx_runtime.JSX.Element;
528
574
 
529
- 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, 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 };
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 };