@wavelengthusaf/components 1.3.0 → 1.3.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Keenan Ray
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
+ import { SxProps, Theme } from '@mui/material/styles';
3
4
  import { TextFieldVariants } from '@mui/material/TextField';
5
+ import { SxProps as SxProps$1, Theme as Theme$1 } from '@mui/material';
4
6
 
5
7
  /**
6
8
  * Helper Functions
@@ -20,7 +22,7 @@ declare function concat(a: string, b: string): string;
20
22
 
21
23
  interface OutlinedButtonProps {
22
24
  id?: string;
23
- variant: "outlined" | "contained" | "text";
25
+ variant: "outlined" | "contained" | "text" | "custom";
24
26
  colorOne?: string;
25
27
  colorTwo?: string;
26
28
  onClick?: any;
@@ -31,8 +33,9 @@ interface OutlinedButtonProps {
31
33
  children?: ReactNode;
32
34
  data_test?: string;
33
35
  borderRadius?: string;
36
+ mySx?: SxProps<Theme> | undefined;
34
37
  }
35
- declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius }: OutlinedButtonProps): React__default.JSX.Element;
38
+ declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius, mySx }: OutlinedButtonProps): React__default.JSX.Element;
36
39
 
37
40
  interface ButtonProps {
38
41
  onClick?: any;
@@ -85,8 +88,10 @@ interface WavelengthBoxProps {
85
88
  width?: number;
86
89
  height?: number;
87
90
  children: ReactNode;
91
+ borderTopRadius?: string;
92
+ borderBottomRadius?: string;
88
93
  }
89
- declare function WavelengthBox({ width, height, children }: WavelengthBoxProps): React__default.JSX.Element;
94
+ declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius }: WavelengthBoxProps): React__default.JSX.Element;
90
95
 
91
96
  interface WavelengthContentPlaceholderProps {
92
97
  type?: "circle" | "rectangle";
@@ -319,6 +324,24 @@ interface PopUPMenuProps {
319
324
  }
320
325
  declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, emailHoverColor }: PopUPMenuProps): React__default.JSX.Element;
321
326
 
327
+ interface DropdownProps {
328
+ id?: string;
329
+ button: React__default.ReactNode;
330
+ width: string;
331
+ borderColor?: string;
332
+ backgroundColor?: string;
333
+ hoverColor?: string;
334
+ options: menuOptions[];
335
+ anchor: HTMLElement | null;
336
+ handleClose: () => void;
337
+ mySx?: SxProps$1<Theme$1> | undefined;
338
+ }
339
+ interface menuOptions {
340
+ option: React__default.ReactNode;
341
+ onClick?: React__default.MouseEventHandler<HTMLLIElement> | undefined;
342
+ }
343
+ declare function WavelengthDropdown({ id, width, options, borderColor, backgroundColor, anchor, handleClose, button, mySx, hoverColor }: DropdownProps): React__default.JSX.Element;
344
+
322
345
  interface ConfirmationSnackbarProps {
323
346
  show: boolean;
324
347
  setShow: (show: boolean) => void;
@@ -362,4 +385,4 @@ interface Testprops {
362
385
  declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
363
386
  declare function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): React__default.JSX.Element;
364
387
 
365
- export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, NotAvailablePage, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
388
+ export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, NotAvailablePage, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
+ import { SxProps, Theme } from '@mui/material/styles';
3
4
  import { TextFieldVariants } from '@mui/material/TextField';
5
+ import { SxProps as SxProps$1, Theme as Theme$1 } from '@mui/material';
4
6
 
5
7
  /**
6
8
  * Helper Functions
@@ -20,7 +22,7 @@ declare function concat(a: string, b: string): string;
20
22
 
21
23
  interface OutlinedButtonProps {
22
24
  id?: string;
23
- variant: "outlined" | "contained" | "text";
25
+ variant: "outlined" | "contained" | "text" | "custom";
24
26
  colorOne?: string;
25
27
  colorTwo?: string;
26
28
  onClick?: any;
@@ -31,8 +33,9 @@ interface OutlinedButtonProps {
31
33
  children?: ReactNode;
32
34
  data_test?: string;
33
35
  borderRadius?: string;
36
+ mySx?: SxProps<Theme> | undefined;
34
37
  }
35
- declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius }: OutlinedButtonProps): React__default.JSX.Element;
38
+ declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius, mySx }: OutlinedButtonProps): React__default.JSX.Element;
36
39
 
37
40
  interface ButtonProps {
38
41
  onClick?: any;
@@ -85,8 +88,10 @@ interface WavelengthBoxProps {
85
88
  width?: number;
86
89
  height?: number;
87
90
  children: ReactNode;
91
+ borderTopRadius?: string;
92
+ borderBottomRadius?: string;
88
93
  }
89
- declare function WavelengthBox({ width, height, children }: WavelengthBoxProps): React__default.JSX.Element;
94
+ declare function WavelengthBox({ width, height, children, borderBottomRadius, borderTopRadius }: WavelengthBoxProps): React__default.JSX.Element;
90
95
 
91
96
  interface WavelengthContentPlaceholderProps {
92
97
  type?: "circle" | "rectangle";
@@ -319,6 +324,24 @@ interface PopUPMenuProps {
319
324
  }
320
325
  declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, emailHoverColor }: PopUPMenuProps): React__default.JSX.Element;
321
326
 
327
+ interface DropdownProps {
328
+ id?: string;
329
+ button: React__default.ReactNode;
330
+ width: string;
331
+ borderColor?: string;
332
+ backgroundColor?: string;
333
+ hoverColor?: string;
334
+ options: menuOptions[];
335
+ anchor: HTMLElement | null;
336
+ handleClose: () => void;
337
+ mySx?: SxProps$1<Theme$1> | undefined;
338
+ }
339
+ interface menuOptions {
340
+ option: React__default.ReactNode;
341
+ onClick?: React__default.MouseEventHandler<HTMLLIElement> | undefined;
342
+ }
343
+ declare function WavelengthDropdown({ id, width, options, borderColor, backgroundColor, anchor, handleClose, button, mySx, hoverColor }: DropdownProps): React__default.JSX.Element;
344
+
322
345
  interface ConfirmationSnackbarProps {
323
346
  show: boolean;
324
347
  setShow: (show: boolean) => void;
@@ -362,4 +385,4 @@ interface Testprops {
362
385
  declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
363
386
  declare function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): React__default.JSX.Element;
364
387
 
365
- export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, NotAvailablePage, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
388
+ export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, NotAvailablePage, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, TestSnackbar, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthSideBar, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
package/dist/index.js CHANGED
@@ -1327,6 +1327,7 @@ __export(src_exports, {
1327
1327
  WavelengthConfirmationModal: () => WavelengthConfirmationModal,
1328
1328
  WavelengthContentModal: () => WavelengthContentModal,
1329
1329
  WavelengthContentPlaceholder: () => WavelengthContentPlaceholder,
1330
+ WavelengthDropdown: () => WavelengthDropdown,
1330
1331
  WavelengthDropdownButton: () => WavelengthDropdownButton,
1331
1332
  WavelengthExampleComponent: () => WavelengthExampleComponent,
1332
1333
  WavelengthFileDownloader: () => WavelengthFileDownloader,
@@ -1409,7 +1410,7 @@ function getPalette() {
1409
1410
  }
1410
1411
 
1411
1412
  // src/components/buttons/WavelengthButton/WavelengthButton.tsx
1412
- function WavelengthButton({ id, variant, colorOne, colorTwo, margin: margin2, padding: padding2, autoFocus, disabled, onClick, children, borderRadius: borderRadius2 }) {
1413
+ function WavelengthButton({ id, variant, colorOne, colorTwo, margin: margin2, padding: padding2, autoFocus, disabled, onClick, children, borderRadius: borderRadius2, mySx }) {
1413
1414
  const palette2 = getPalette();
1414
1415
  const WLContainedButton = {
1415
1416
  margin: { margin: margin2 },
@@ -1457,6 +1458,9 @@ function WavelengthButton({ id, variant, colorOne, colorTwo, margin: margin2, pa
1457
1458
  if (variant === "outlined") {
1458
1459
  return /* @__PURE__ */ import_react2.default.createElement(import_Button.default, { variant: "outlined", id, autoFocus, disabled, onClick, sx: WLOutlinedButton }, children);
1459
1460
  }
1461
+ if (variant === "custom") {
1462
+ return /* @__PURE__ */ import_react2.default.createElement(import_Button.default, { id, autoFocus, disabled, onClick, sx: mySx }, children);
1463
+ }
1460
1464
  return /* @__PURE__ */ import_react2.default.createElement(import_Button.default, { variant: "text", id, autoFocus, disabled, onClick, sx: WLTextButton }, children);
1461
1465
  }
1462
1466
 
@@ -3044,7 +3048,7 @@ function WavelengthFileDownloader({ fileLoc, fileURL, fileName, button }) {
3044
3048
  // src/components/containers/WavelengthBox/WavelengthBox.tsx
3045
3049
  var import_react8 = __toESM(require("react"));
3046
3050
  var import_Grid = __toESM(require("@mui/material/Grid"));
3047
- function WavelengthBox({ width: width2, height: height2, children }) {
3051
+ function WavelengthBox({ width: width2, height: height2, children, borderBottomRadius, borderTopRadius }) {
3048
3052
  const palette2 = getPalette();
3049
3053
  return (
3050
3054
  // <div
@@ -3068,7 +3072,10 @@ function WavelengthBox({ width: width2, height: height2, children }) {
3068
3072
  sx: {
3069
3073
  width: { width: width2 },
3070
3074
  height: { height: height2 },
3071
- borderRadius: 2,
3075
+ borderTopLeftRadius: borderTopRadius,
3076
+ borderTopRightRadius: borderTopRadius,
3077
+ borderBottomLeftRadius: borderBottomRadius,
3078
+ borderBottomRightRadius: borderBottomRadius,
3072
3079
  borderColor: "#70714B",
3073
3080
  bgcolor: palette2.primary,
3074
3081
  border: "1px solid grey"
@@ -5070,8 +5077,64 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
5070
5077
  ));
5071
5078
  }
5072
5079
 
5073
- // src/components/snackbars/WavelengthSnackbar.tsx
5080
+ // src/components/modals/WavelengthDropdown.tsx
5074
5081
  var import_react37 = __toESM(require("react"));
5082
+ var import_material = require("@mui/material");
5083
+ var import_material2 = require("@mui/material");
5084
+ var import_Grow = __toESM(require("@mui/material/Grow"));
5085
+ function WavelengthDropdown({ id, width: width2, options, borderColor: borderColor2, backgroundColor: backgroundColor2, anchor, handleClose, button, mySx, hoverColor }) {
5086
+ const open = Boolean(anchor);
5087
+ const MenuItem2 = (0, import_material2.styled)(import_material2.MenuItem)({
5088
+ "&.MuiMenuItem-root": {
5089
+ "&.Mui-selected": {
5090
+ backgroundColor: `${backgroundColor2}`
5091
+ },
5092
+ "&:hover": {
5093
+ backgroundColor: `${hoverColor}`
5094
+ }
5095
+ }
5096
+ });
5097
+ const MyMenu = (0, import_material2.styled)(import_material.Menu)({
5098
+ "& .MuiMenu-paper": {
5099
+ borderBottomLeftRadius: "8px",
5100
+ borderBottomRightRadius: "8px",
5101
+ borderTopRightRadius: "0px",
5102
+ borderTopLeftRadius: "0px",
5103
+ backgroundColor: `${backgroundColor2}`
5104
+ },
5105
+ "& .MuiMenu-list": {
5106
+ width: width2,
5107
+ borderLeft: `1px solid ${borderColor2}`,
5108
+ borderRight: `1px solid ${borderColor2}`,
5109
+ borderBottom: `1px solid ${borderColor2}`,
5110
+ paddingTop: "6px",
5111
+ paddingBottom: "6px"
5112
+ }
5113
+ });
5114
+ return /* @__PURE__ */ import_react37.default.createElement(import_react37.default.Fragment, null, /* @__PURE__ */ import_react37.default.createElement("div", null, button), /* @__PURE__ */ import_react37.default.createElement(
5115
+ MyMenu,
5116
+ {
5117
+ id,
5118
+ sx: mySx,
5119
+ anchorEl: anchor,
5120
+ open,
5121
+ onClose: handleClose,
5122
+ MenuListProps: {
5123
+ "aria-labelledby": "basic-button"
5124
+ },
5125
+ anchorOrigin: { vertical: "bottom", horizontal: "center" },
5126
+ transformOrigin: { vertical: "top", horizontal: "center" },
5127
+ TransitionComponent: import_Grow.default
5128
+ },
5129
+ options.map((item, index) => {
5130
+ return /* @__PURE__ */ import_react37.default.createElement(MenuItem2, { key: index, onClick: item.onClick }, item.option);
5131
+ })
5132
+ ));
5133
+ }
5134
+ var WavelengthDropdownStyled = (0, import_material2.styled)(WavelengthDropdown)``;
5135
+
5136
+ // src/components/snackbars/WavelengthSnackbar.tsx
5137
+ var import_react38 = __toESM(require("react"));
5075
5138
  var import_Snackbar = __toESM(require("@mui/material/Snackbar"));
5076
5139
  var import_SnackbarContent = __toESM(require("@mui/material/SnackbarContent"));
5077
5140
  function WavelengthSnackbar(props) {
@@ -5081,7 +5144,7 @@ function WavelengthSnackbar(props) {
5081
5144
  };
5082
5145
  const palette2 = getPalette();
5083
5146
  const durationMs = props.durationSb ? props.durationSb * 1e3 : 4e3;
5084
- return /* @__PURE__ */ import_react37.default.createElement(
5147
+ return /* @__PURE__ */ import_react38.default.createElement(
5085
5148
  import_Snackbar.default,
5086
5149
  {
5087
5150
  open: show,
@@ -5092,7 +5155,7 @@ function WavelengthSnackbar(props) {
5092
5155
  horizontal: props.horryAlign ? props.horryAlign : "center"
5093
5156
  }
5094
5157
  },
5095
- /* @__PURE__ */ import_react37.default.createElement(
5158
+ /* @__PURE__ */ import_react38.default.createElement(
5096
5159
  import_SnackbarContent.default,
5097
5160
  {
5098
5161
  style: {
@@ -5101,15 +5164,15 @@ function WavelengthSnackbar(props) {
5101
5164
  display: "flex",
5102
5165
  width: props.width
5103
5166
  },
5104
- message: /* @__PURE__ */ import_react37.default.createElement("div", null, /* @__PURE__ */ import_react37.default.createElement("span", null, props.icon), /* @__PURE__ */ import_react37.default.createElement("span", { id: "snackbar" }, props.message ? props.message : "Insert Message Here")),
5105
- action: /* @__PURE__ */ import_react37.default.createElement("div", { style: { display: "flex", justifyContent: "center" }, onClick: handleClose }, props.closeIcon)
5167
+ message: /* @__PURE__ */ import_react38.default.createElement("div", null, /* @__PURE__ */ import_react38.default.createElement("span", null, props.icon), /* @__PURE__ */ import_react38.default.createElement("span", { id: "snackbar" }, props.message ? props.message : "Insert Message Here")),
5168
+ action: /* @__PURE__ */ import_react38.default.createElement("div", { style: { display: "flex", justifyContent: "center" }, onClick: handleClose }, props.closeIcon)
5106
5169
  }
5107
5170
  )
5108
5171
  );
5109
5172
  }
5110
5173
 
5111
5174
  // src/components/snackbars/WavelengthStandardSnackbar.tsx
5112
- var import_react38 = __toESM(require("react"));
5175
+ var import_react39 = __toESM(require("react"));
5113
5176
  var import_Snackbar2 = __toESM(require("@mui/material/Snackbar"));
5114
5177
  var import_SnackbarContent2 = __toESM(require("@mui/material/SnackbarContent"));
5115
5178
  function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width: width2, message, customVertyAlign, toggleShow, closeIcon }) {
@@ -5126,7 +5189,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
5126
5189
  bgColor = "#737373";
5127
5190
  }
5128
5191
  const sIcon = icon ? icon : "";
5129
- return /* @__PURE__ */ import_react38.default.createElement(
5192
+ return /* @__PURE__ */ import_react39.default.createElement(
5130
5193
  import_Snackbar2.default,
5131
5194
  {
5132
5195
  sx: { marginTop: customVertyAlign ? `${customVertyAlign}` : "", zIndex: 1400 },
@@ -5138,7 +5201,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
5138
5201
  horizontal: horryAlign ? horryAlign : "center"
5139
5202
  }
5140
5203
  },
5141
- /* @__PURE__ */ import_react38.default.createElement(
5204
+ /* @__PURE__ */ import_react39.default.createElement(
5142
5205
  import_SnackbarContent2.default,
5143
5206
  {
5144
5207
  style: {
@@ -5147,7 +5210,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
5147
5210
  //color: props.textColor ? props.textColor : palette.secondary,
5148
5211
  },
5149
5212
  sx: { paddingTop: "0px", paddingBottom: "0px" },
5150
- message: /* @__PURE__ */ import_react38.default.createElement(
5213
+ message: /* @__PURE__ */ import_react39.default.createElement(
5151
5214
  "div",
5152
5215
  {
5153
5216
  style: {
@@ -5156,8 +5219,8 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
5156
5219
  width: width2
5157
5220
  }
5158
5221
  },
5159
- /* @__PURE__ */ import_react38.default.createElement("div", { style: { marginTop: 4, gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center" }, id: "snackbar" }, /* @__PURE__ */ import_react38.default.createElement("div", null, sIcon), /* @__PURE__ */ import_react38.default.createElement("div", { style: { fontSize: "1rem", marginLeft: "10px" } }, message ? message : "Insert Message Here")),
5160
- /* @__PURE__ */ import_react38.default.createElement("div", { style: { gridColumnStart: 6 }, onClick: handleClose }, closeIcon)
5222
+ /* @__PURE__ */ import_react39.default.createElement("div", { style: { marginTop: 4, gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center" }, id: "snackbar" }, /* @__PURE__ */ import_react39.default.createElement("div", null, sIcon), /* @__PURE__ */ import_react39.default.createElement("div", { style: { fontSize: "1rem", marginLeft: "10px" } }, message ? message : "Insert Message Here")),
5223
+ /* @__PURE__ */ import_react39.default.createElement("div", { style: { gridColumnStart: 6 }, onClick: handleClose }, closeIcon)
5161
5224
  )
5162
5225
  }
5163
5226
  )
@@ -5167,10 +5230,10 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
5167
5230
  // src/components/snackbars/TestSnackbar.tsx
5168
5231
  var import_Box5 = __toESM(require("@mui/material/Box"));
5169
5232
  var import_Button5 = __toESM(require("@mui/material/Button"));
5170
- var import_react39 = __toESM(require("react"));
5233
+ var import_react40 = __toESM(require("react"));
5171
5234
  var useOutsideClick = (callback) => {
5172
- const ref = (0, import_react39.useRef)(null);
5173
- (0, import_react39.useEffect)(() => {
5235
+ const ref = (0, import_react40.useRef)(null);
5236
+ (0, import_react40.useEffect)(() => {
5174
5237
  const handleClickOutside = (event) => {
5175
5238
  if (ref.current && !ref.current.contains(event.target)) {
5176
5239
  callback();
@@ -5197,7 +5260,7 @@ function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign
5197
5260
  } else if (type == "disabled") {
5198
5261
  bgColor = "#737373";
5199
5262
  }
5200
- return /* @__PURE__ */ import_react39.default.createElement(import_react39.default.Fragment, null, isPopUpOpen && /* @__PURE__ */ import_react39.default.createElement(
5263
+ return /* @__PURE__ */ import_react40.default.createElement(import_react40.default.Fragment, null, isPopUpOpen && /* @__PURE__ */ import_react40.default.createElement(
5201
5264
  import_Box5.default,
5202
5265
  {
5203
5266
  sx: { position: "fixed", right: "auto", top: "24px", left: "50%", transform: "translateX(-50%)" },
@@ -5216,9 +5279,9 @@ function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign
5216
5279
  marginTop: customVertyAlign ? `${customVertyAlign}` : ""
5217
5280
  }
5218
5281
  },
5219
- /* @__PURE__ */ import_react39.default.createElement("div", { style: { backgroundColor: "red" } }),
5220
- /* @__PURE__ */ import_react39.default.createElement("div", { style: { color: "white", fontSize: "1rem" } }, message),
5221
- /* @__PURE__ */ import_react39.default.createElement(
5282
+ /* @__PURE__ */ import_react40.default.createElement("div", { style: { backgroundColor: "red" } }),
5283
+ /* @__PURE__ */ import_react40.default.createElement("div", { style: { color: "white", fontSize: "1rem" } }, message),
5284
+ /* @__PURE__ */ import_react40.default.createElement(
5222
5285
  import_Button5.default,
5223
5286
  {
5224
5287
  variant: "text",
@@ -5256,6 +5319,7 @@ function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign
5256
5319
  WavelengthConfirmationModal,
5257
5320
  WavelengthContentModal,
5258
5321
  WavelengthContentPlaceholder,
5322
+ WavelengthDropdown,
5259
5323
  WavelengthDropdownButton,
5260
5324
  WavelengthExampleComponent,
5261
5325
  WavelengthFileDownloader,