@wavelengthusaf/components 4.13.0 → 4.16.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.
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
206
206
  var ContextProvider = REACT_PROVIDER_TYPE;
207
207
  var Element = REACT_ELEMENT_TYPE;
208
208
  var ForwardRef2 = REACT_FORWARD_REF_TYPE;
209
- var Fragment16 = REACT_FRAGMENT_TYPE;
209
+ var Fragment15 = REACT_FRAGMENT_TYPE;
210
210
  var Lazy = REACT_LAZY_TYPE;
211
211
  var Memo2 = REACT_MEMO_TYPE;
212
212
  var Portal = REACT_PORTAL_TYPE;
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
265
265
  exports.ContextProvider = ContextProvider;
266
266
  exports.Element = Element;
267
267
  exports.ForwardRef = ForwardRef2;
268
- exports.Fragment = Fragment16;
268
+ exports.Fragment = Fragment15;
269
269
  exports.Lazy = Lazy;
270
270
  exports.Memo = Memo2;
271
271
  exports.Portal = Portal;
@@ -3728,7 +3728,7 @@ WavelengthExampleComponent.displayName = "WavelengthExampleComponent";
3728
3728
 
3729
3729
 
3730
3730
  var WavelengthSearch = ({
3731
- customStyle: customStyle2,
3731
+ customStyle,
3732
3732
  width: width2,
3733
3733
  mode,
3734
3734
  fontSize,
@@ -3761,7 +3761,7 @@ var WavelengthSearch = ({
3761
3761
  _react.useEffect.call(void 0, () => {
3762
3762
  const el = ref.current;
3763
3763
  if (!el) return;
3764
- el.customStyles = customStyle2;
3764
+ el.customStyles = customStyle;
3765
3765
  syncAttribute("width", width2);
3766
3766
  syncAttribute("mode", mode);
3767
3767
  syncAttribute("font-size", fontSize);
@@ -3779,7 +3779,7 @@ var WavelengthSearch = ({
3779
3779
  syncAttribute("input-color", inputColor);
3780
3780
  syncAttribute("input-font", inputFont);
3781
3781
  }, [
3782
- customStyle2,
3782
+ customStyle,
3783
3783
  width2,
3784
3784
  mode,
3785
3785
  fontSize,
@@ -5162,14 +5162,14 @@ var WavelengthBadge = ({
5162
5162
  textBoxHoverBorderColor,
5163
5163
  item,
5164
5164
  children,
5165
- customStyle: customStyle2,
5165
+ customStyle,
5166
5166
  ...rest
5167
5167
  }) => {
5168
5168
  const ref = _react.useRef.call(void 0, null);
5169
5169
  _react.useEffect.call(void 0, () => {
5170
5170
  const el = ref.current;
5171
5171
  if (!el) return;
5172
- el.customStyles = customStyle2;
5172
+ el.customStyles = customStyle;
5173
5173
  const updateAttribute = (attr, value) => {
5174
5174
  if (value !== void 0 && value !== null && value !== "") {
5175
5175
  el.setAttribute(attr, value.toString());
@@ -5213,7 +5213,7 @@ var WavelengthBadge = ({
5213
5213
  textBoxBorderRadius,
5214
5214
  textBoxHoverBorderColor,
5215
5215
  item,
5216
- customStyle2
5216
+ customStyle
5217
5217
  ]);
5218
5218
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "wavelength-badge", { ref, ...rest, children: [
5219
5219
  badgeContent !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { slot: "badge", children: badgeContent }),
@@ -5526,7 +5526,7 @@ var WavelengthPlaneTrail = ({
5526
5526
  id,
5527
5527
  children,
5528
5528
  // Style argument
5529
- customStyle: customStyle2,
5529
+ customStyle,
5530
5530
  ...rest
5531
5531
  // This rest operator includes className, style, onClick, etc.
5532
5532
  }) => {
@@ -5534,8 +5534,8 @@ var WavelengthPlaneTrail = ({
5534
5534
  _react.useEffect.call(void 0, () => {
5535
5535
  const el = ref.current;
5536
5536
  if (!el) return;
5537
- if (customStyle2 !== void 0) {
5538
- el.customStyles = customStyle2;
5537
+ if (customStyle !== void 0) {
5538
+ el.customStyles = customStyle;
5539
5539
  }
5540
5540
  if (trailDir !== void 0) {
5541
5541
  el.setAttribute("trailDir", trailDir);
@@ -5547,7 +5547,7 @@ var WavelengthPlaneTrail = ({
5547
5547
  el.setAttribute("id", id);
5548
5548
  }
5549
5549
  }, [trailDir]);
5550
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-planetrail", { ref, trailDir, color: color2, id, customStyle: customStyle2, ...rest, children });
5550
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-planetrail", { ref, trailDir, color: color2, id, customStyle, ...rest, children });
5551
5551
  };
5552
5552
  WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
5553
5553
 
@@ -5556,39 +5556,41 @@ WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
5556
5556
 
5557
5557
  function WavelengthConfirmationModal(props) {
5558
5558
  const { show, setShow, id, name } = props;
5559
- const handleClose = () => {
5560
- setShow(false);
5561
- };
5562
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Modal, { open: show, onClose: handleClose, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5563
- _material.Box,
5559
+ const modalRef = _react.useRef.call(void 0, null);
5560
+ _react.useEffect.call(void 0, () => {
5561
+ const handleClose = () => {
5562
+ setShow(false);
5563
+ };
5564
+ const currentModal = modalRef.current;
5565
+ if (currentModal) {
5566
+ currentModal.addEventListener("close", handleClose);
5567
+ }
5568
+ return () => {
5569
+ if (currentModal) {
5570
+ currentModal.removeEventListener("close", handleClose);
5571
+ }
5572
+ };
5573
+ }, [setShow]);
5574
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5575
+ "wavelength-confirmation-modal",
5564
5576
  {
5565
- sx: {
5566
- position: "absolute",
5567
- top: "50%",
5568
- left: "50%",
5569
- transform: "translate(-50%, -50%)",
5570
- width: props.width || "451px",
5571
- // Custom width
5572
- height: props.height || "256px",
5573
- // Custom height
5574
- boxSizing: "border-box",
5575
- bgcolor: props.backgroundColor || "background.paper",
5576
- borderRadius: "16px",
5577
- color: props.textColor || "black",
5578
- boxShadow: 24,
5579
- padding: "32px",
5580
- overflow: "scroll"
5581
- },
5577
+ ref: modalRef,
5578
+ show: show ? "true" : void 0,
5579
+ "modal-id": id,
5580
+ "modal-name": name,
5581
+ width: props.width,
5582
+ height: props.height,
5583
+ "font-family": props.fontFamily,
5584
+ "text-color": props.textColor,
5585
+ "background-color": props.backgroundColor,
5586
+ "title-text": _optionalChain([props, 'access', _31 => _31.textObj, 'optionalAccess', _32 => _32.title]),
5587
+ "dialog-text": _optionalChain([props, 'access', _33 => _33.textObj, 'optionalAccess', _34 => _34.dialog]),
5582
5588
  children: [
5583
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { margin: "0px", fontSize: "28px", fontWeight: 500, padding: "0px", marginBottom: "16px", fontFamily: props.fontFamily }, children: _optionalChain([props, 'access', _31 => _31.textObj, 'optionalAccess', _32 => _32.title]) }),
5584
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { margin: "0px", fontSize: "16px", lineHeight: "19.2px", fontFamily: props.fontFamily, fontWeight: 400, height: "60px" }, children: _optionalChain([props, 'access', _33 => _33.textObj, 'optionalAccess', _34 => _34.dialog]) }),
5585
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", justifyContent: "flex-end", marginTop: "40px", gap: "8px" }, children: [
5586
- props.cancelButton,
5587
- props.submitButton
5588
- ] })
5589
+ props.cancelButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { slot: "cancel-button", style: { display: "contents" }, children: props.cancelButton }),
5590
+ props.submitButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { slot: "submit-button", style: { display: "contents" }, children: props.submitButton })
5589
5591
  ]
5590
5592
  }
5591
- ) });
5593
+ );
5592
5594
  }
5593
5595
  WavelengthConfirmationModal.displayName = "WavelengthConfirmationModal";
5594
5596
 
@@ -5614,136 +5616,34 @@ WavelengthContentModal.displayName = "WavelengthContentModal";
5614
5616
 
5615
5617
  // src/components/modals/WavelengthPopUpMenu.tsx
5616
5618
 
5617
- var _Menu = require('@mui/material/Menu'); var _Menu2 = _interopRequireDefault(_Menu);
5618
- var _MenuItem = require('@mui/material/MenuItem'); var _MenuItem2 = _interopRequireDefault(_MenuItem);
5619
-
5620
- var _Slide = require('@mui/material/Slide'); var _Slide2 = _interopRequireDefault(_Slide);
5621
-
5622
-
5623
- var _IconButton = require('@mui/material/IconButton'); var _IconButton2 = _interopRequireDefault(_IconButton);
5624
- var _Divider = require('@mui/material/Divider'); var _Divider2 = _interopRequireDefault(_Divider);
5625
-
5626
- var customStyle = { marginLeft: 16, marginRight: 16, marginTop: 8, marginBottom: 8 };
5627
- var emailStyle = {
5628
- marginLeft: 16,
5629
- marginRight: 16,
5630
- marginTop: 8,
5631
- marginBottom: 8
5632
- };
5633
- function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, menuDirection = "top", color: color2, id, border: border2 }) {
5634
- const Links = _styledcomponents2.default.a`
5635
- color: inherit;
5636
- text-decoration: none;
5637
5619
 
5638
- &:hover,
5639
- &:focus {
5640
- color: ${({ hoverColor }) => hoverColor || "inherit"};
5641
- }
5642
- &:active {
5643
- color: ${({ hoverColor }) => hoverColor || "inherit"};
5644
- }
5645
- `;
5646
- const [anchorEl, setAnchorEl] = React2.default.useState(null);
5647
- const open = Boolean(anchorEl);
5648
- let icon;
5649
- const handleClick = (event) => {
5650
- setAnchorEl(event.currentTarget);
5651
- };
5652
- const handleClose = () => {
5653
- setAnchorEl(null);
5654
- };
5655
- if (customIcon) {
5656
- icon = customIcon;
5657
- } else {
5658
- icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _iconsmaterial.HelpOutline, { fontSize: "medium", sx: { color: color2 } });
5659
- }
5660
- const anchor = menuDirection === "top" || menuDirection === void 0 ? "top" : "bottom";
5661
- const transform = menuDirection === "top" || menuDirection === void 0 ? "bottom" : "top";
5662
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
5663
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _IconButton2.default, { onClick: handleClick, children: icon }),
5664
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5665
- _Menu2.default,
5666
- {
5667
- id,
5668
- open,
5669
- sx: {
5670
- width: width2,
5671
- "& .MuiPaper-root": {
5672
- border: border2
5673
- }
5674
- },
5675
- onClose: handleClose,
5676
- anchorEl,
5677
- TransitionComponent: _Slide2.default,
5678
- anchorOrigin: { vertical: anchor, horizontal: "center" },
5679
- transformOrigin: { vertical: transform, horizontal: "center" },
5680
- children: [
5681
- ...menuItems.map((items, index) => {
5682
- if (items.end === true) {
5683
- if (items.itemType === "header") {
5684
- if (items.link) {
5685
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5686
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: "bold" }, children: items.label }) }) }),
5687
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5688
- ] }, index);
5689
- } else {
5690
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5691
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { marginLeft: 16, marginRight: 16, marginTop: 6, marginBottom: 6 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: "bold" }, children: items.label }) }),
5692
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5693
- ] }, index);
5694
- }
5695
- } else if (items.itemType === "link") {
5696
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5697
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }, index) }),
5698
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5699
- ] }, index);
5700
- } else {
5701
- if (items.link) {
5702
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5703
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: items.label }) }),
5704
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5705
- ] }, index);
5706
- } else {
5707
- if (items.email) {
5708
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5709
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.email, style: emailStyle, children: items.label }),
5710
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5711
- ] }, index);
5712
- } else {
5713
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
5714
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }),
5715
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
5716
- ] }, index);
5717
- }
5718
- }
5719
- }
5720
- } else if (items.end === void 0 || items.end === false || items.end === null) {
5721
- if (items.itemType === "header") {
5722
- if (items.link) {
5723
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }) }, index);
5724
- } else {
5725
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }, index);
5726
- }
5727
- } else if (items.itemType === "link") {
5728
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { style: { textDecoration: "none" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor || "", children: items.label }) }, index);
5729
- } else {
5730
- if (items.link) {
5731
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { href: items.link, children: items.label }, index);
5732
- } else {
5733
- if (items.email) {
5734
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: emailStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.email, hoverColor: items.hoverColor || "blue", children: items.label }) }, index);
5735
- } else {
5736
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }, index);
5737
- }
5738
- }
5739
- }
5740
- }
5741
- })
5742
- ]
5620
+ var WavelengthPopUpMenu = React2.default.forwardRef(
5621
+ ({ children, customStyle = {}, variant, trigger, menuDirection, menuOffset, menuItems, badgeLabel, ...rest }, externalRef) => {
5622
+ const internalRef = _react.useRef.call(void 0, null);
5623
+ React2.default.useImperativeHandle(externalRef, () => internalRef.current);
5624
+ _react.useEffect.call(void 0, () => {
5625
+ const el = internalRef.current;
5626
+ if (!el) return;
5627
+ el.customStyles = customStyle;
5628
+ const set = (attr, value) => {
5629
+ if (value !== void 0 && value !== null && value !== "") {
5630
+ el.setAttribute(attr, value.toString());
5631
+ } else {
5632
+ el.removeAttribute(attr);
5633
+ }
5634
+ };
5635
+ set("variant", variant);
5636
+ set("trigger", trigger);
5637
+ set("menu-direction", menuDirection);
5638
+ set("menu-offset", menuOffset);
5639
+ set("badge-label", badgeLabel);
5640
+ if (menuItems !== void 0) {
5641
+ el.setAttribute("menu-items", JSON.stringify(menuItems));
5743
5642
  }
5744
- )
5745
- ] });
5746
- }
5643
+ }, [customStyle, variant, trigger, menuDirection, menuOffset, menuItems, badgeLabel]);
5644
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-popup-menu", { ref: internalRef, ...rest, children });
5645
+ }
5646
+ );
5747
5647
  WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
5748
5648
 
5749
5649
  // src/components/modals/WavelengthDropdown.tsx
@@ -5886,7 +5786,7 @@ WavelengthMenu.displayName = "WavelengthMenu";
5886
5786
  // src/components/modals/WavelengthSwitch.tsx
5887
5787
 
5888
5788
 
5889
- var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2, labelFont, checked, value, onWavelengthSwitchChange, customStyle: customStyle2, ...rest }) => {
5789
+ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2, labelFont, checked, value, onWavelengthSwitchChange, customStyle, ...rest }) => {
5890
5790
  const ref = _react.useRef.call(void 0, null);
5891
5791
  _react.useEffect.call(void 0, () => {
5892
5792
  const el = ref.current;
@@ -5898,7 +5798,7 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
5898
5798
  el.setAttribute(attr, isBool ? "" : val.toString());
5899
5799
  }
5900
5800
  };
5901
- el.customStyles = customStyle2;
5801
+ el.customStyles = customStyle;
5902
5802
  syncAttribute("checked", checked, true);
5903
5803
  syncAttribute("disabled", disabled, true);
5904
5804
  syncAttribute("label", label);
@@ -5907,7 +5807,7 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
5907
5807
  syncAttribute("color", color2);
5908
5808
  syncAttribute("label-font", labelFont);
5909
5809
  syncAttribute("value", value);
5910
- }, [checked, label, labelPlacement, size, disabled, color2, labelFont, value, customStyle2]);
5810
+ }, [checked, label, labelPlacement, size, disabled, color2, labelFont, value, customStyle]);
5911
5811
  _react.useEffect.call(void 0, () => {
5912
5812
  const el = ref.current;
5913
5813
  if (!el || !onWavelengthSwitchChange) return;
@@ -5921,6 +5821,102 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
5921
5821
  };
5922
5822
  WavelengthSwitch.displayName = "WavelengthSwitch";
5923
5823
 
5824
+ // src/components/modals/WavelengthDialog.tsx
5825
+
5826
+
5827
+ var WavelengthDialog = ({
5828
+ children,
5829
+ customStyle,
5830
+ dialogTitle,
5831
+ leftBtnLabel,
5832
+ rightBtnLabel,
5833
+ boxColor,
5834
+ maxWidth: maxWidth2,
5835
+ maxHeight: maxHeight2,
5836
+ shadow,
5837
+ borderRadius: borderRadius2,
5838
+ borderColor: borderColor2,
5839
+ textColor,
5840
+ leftBtnBg,
5841
+ leftBtnColor,
5842
+ rightBtnBg,
5843
+ rightBtnColor,
5844
+ overlay,
5845
+ fontFamily,
5846
+ open,
5847
+ onWlLeftBtnClick,
5848
+ onWlRightBtnClick,
5849
+ ...rest
5850
+ }) => {
5851
+ const ref = _react.useRef.call(void 0, null);
5852
+ _react.useEffect.call(void 0, () => {
5853
+ const el = ref.current;
5854
+ if (!el) return;
5855
+ if (open) el.setAttribute("open", "");
5856
+ else el.removeAttribute("open");
5857
+ }, [open]);
5858
+ _react.useEffect.call(void 0, () => {
5859
+ const el = ref.current;
5860
+ if (!el) return;
5861
+ if (overlay) el.setAttribute("overlay", "");
5862
+ else el.removeAttribute("overlay");
5863
+ }, [overlay]);
5864
+ _react.useEffect.call(void 0, () => {
5865
+ const el = ref.current;
5866
+ if (!el) return;
5867
+ const handleLeft = (e) => _optionalChain([onWlLeftBtnClick, 'optionalCall', _41 => _41(e)]);
5868
+ const handleRight = (e) => _optionalChain([onWlRightBtnClick, 'optionalCall', _42 => _42(e)]);
5869
+ el.addEventListener("wl-left-btn-click", handleLeft);
5870
+ el.addEventListener("wl-right-btn-click", handleRight);
5871
+ return () => {
5872
+ el.removeEventListener("wl-left-btn-click", handleLeft);
5873
+ el.removeEventListener("wl-right-btn-click", handleRight);
5874
+ };
5875
+ }, [onWlLeftBtnClick, onWlRightBtnClick]);
5876
+ _react.useEffect.call(void 0, () => {
5877
+ const el = ref.current;
5878
+ if (!el) return;
5879
+ if (customStyle !== void 0) el.customStyles = customStyle;
5880
+ const setAttr = (attr, value) => {
5881
+ if (value !== void 0) el.setAttribute(attr, value);
5882
+ };
5883
+ setAttr("dialog-title", dialogTitle);
5884
+ setAttr("left-btn-label", leftBtnLabel);
5885
+ setAttr("right-btn-label", rightBtnLabel);
5886
+ setAttr("box-color", boxColor);
5887
+ setAttr("max-width", maxWidth2);
5888
+ setAttr("max-height", maxHeight2);
5889
+ setAttr("shadow", shadow);
5890
+ setAttr("border-radius", borderRadius2);
5891
+ setAttr("border-color", borderColor2);
5892
+ setAttr("text-color", textColor);
5893
+ setAttr("left-btn-bg", leftBtnBg);
5894
+ setAttr("left-btn-color", leftBtnColor);
5895
+ setAttr("right-btn-bg", rightBtnBg);
5896
+ setAttr("right-btn-color", rightBtnColor);
5897
+ setAttr("font-family", fontFamily);
5898
+ }, [
5899
+ customStyle,
5900
+ dialogTitle,
5901
+ leftBtnLabel,
5902
+ rightBtnLabel,
5903
+ boxColor,
5904
+ maxWidth2,
5905
+ maxHeight2,
5906
+ shadow,
5907
+ borderRadius2,
5908
+ borderColor2,
5909
+ textColor,
5910
+ leftBtnBg,
5911
+ leftBtnColor,
5912
+ rightBtnBg,
5913
+ rightBtnColor,
5914
+ fontFamily
5915
+ ]);
5916
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-dialog", { ref, ...rest, children });
5917
+ };
5918
+ WavelengthDialog.displayName = "WavelengthDialog";
5919
+
5924
5920
  // src/components/modals/WavelengthPagination.tsx
5925
5921
 
5926
5922
 
@@ -5928,7 +5924,7 @@ var WavelengthPagination = ({
5928
5924
  testProp,
5929
5925
  children,
5930
5926
  // Style argument
5931
- customStyle: customStyle2,
5927
+ customStyle,
5932
5928
  variant,
5933
5929
  textColor,
5934
5930
  font,
@@ -5955,7 +5951,7 @@ var WavelengthPagination = ({
5955
5951
  _react.useEffect.call(void 0, () => {
5956
5952
  const el = ref.current;
5957
5953
  if (!el) return;
5958
- el.customStyles = customStyle2;
5954
+ el.customStyles = customStyle;
5959
5955
  syncAttribute("variant", variant || "");
5960
5956
  syncAttribute("text-color", textColor || "");
5961
5957
  syncAttribute("font", font || "");
@@ -5967,8 +5963,8 @@ var WavelengthPagination = ({
5967
5963
  syncAttribute("active-text-color", activeTextColor || "");
5968
5964
  syncAttribute("background-color", backgroundColor2 || "");
5969
5965
  syncAttribute("disabled-color", disabledColor || "");
5970
- syncAttribute("total-pages", _optionalChain([totalPages, 'optionalAccess', _41 => _41.toString, 'call', _42 => _42()]) || "");
5971
- syncAttribute("current-page", _optionalChain([currentPage, 'optionalAccess', _43 => _43.toString, 'call', _44 => _44()]) || "");
5966
+ syncAttribute("total-pages", _optionalChain([totalPages, 'optionalAccess', _43 => _43.toString, 'call', _44 => _44()]) || "");
5967
+ syncAttribute("current-page", _optionalChain([currentPage, 'optionalAccess', _45 => _45.toString, 'call', _46 => _46()]) || "");
5972
5968
  const handlePageChange = (e) => {
5973
5969
  if (onPageChange) {
5974
5970
  onPageChange(e.detail.page);
@@ -6467,37 +6463,41 @@ WavelengthTestSnackbar.displayName = "WavelengthTestSnackbar";
6467
6463
 
6468
6464
  // src/components/sliders/WavelengthSlider.tsx
6469
6465
 
6470
- var _Slider = require('@mui/material/Slider'); var _Slider2 = _interopRequireDefault(_Slider);
6471
6466
 
6472
- function WavelengthSlider({ width: width2 = "300px", color: color2, valueDisplayed, marks, labelColor, value, id, maxVal = 100, minVal, step = 1, labelFunc, handleChange }) {
6473
- const on = valueDisplayed ? "on" : "off";
6474
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Box2.default, { sx: { width: width2 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6475
- _Slider2.default,
6476
- {
6477
- id,
6478
- "aria-label": "Custom marks",
6467
+ var WavelengthSlider = ({ children, customStyle, value, maxVal, minVal, step, handleChange, labelFunc, valueDisplayed, marks, color: color2, width: width2, ...rest }) => {
6468
+ const ref = _react.useRef.call(void 0, null);
6469
+ _react.useEffect.call(void 0, () => {
6470
+ const el = ref.current;
6471
+ if (!el) return;
6472
+ el.customStyles = customStyle;
6473
+ const attrs = {
6479
6474
  value,
6480
- getAriaValueText: labelFunc,
6475
+ "max-val": maxVal,
6476
+ "min-val": minVal,
6481
6477
  step,
6482
- marks,
6483
- valueLabelDisplay: on,
6484
- max: maxVal,
6485
- min: minVal,
6486
- onChange: handleChange,
6487
- sx: {
6488
- color: color2,
6489
- "& .MuiSlider-markLabel": {
6490
- color: labelColor
6491
- }
6492
- }
6493
- }
6494
- ) });
6495
- }
6478
+ marks: marks ? JSON.stringify(marks) : void 0,
6479
+ color: color2,
6480
+ width: width2,
6481
+ "value-displayed": _nullishCoalesce(valueDisplayed, () => ( (labelFunc && value !== void 0 ? labelFunc(value) : void 0)))
6482
+ };
6483
+ Object.entries(attrs).forEach(([key, val]) => {
6484
+ if (val !== void 0) el.setAttribute(key, val.toString());
6485
+ });
6486
+ }, [value, maxVal, minVal, step, marks, customStyle, color2, width2, valueDisplayed, labelFunc]);
6487
+ _react.useEffect.call(void 0, () => {
6488
+ const el = ref.current;
6489
+ if (!el || !handleChange) return;
6490
+ const onSliderChange = (e) => handleChange(e, e.detail.value);
6491
+ el.addEventListener("slider-change", onSliderChange);
6492
+ return () => el.removeEventListener("slider-change", onSliderChange);
6493
+ }, [handleChange]);
6494
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-slider", { ref, ...rest, children });
6495
+ };
6496
6496
  WavelengthSlider.displayName = "WavelengthSlider";
6497
6497
 
6498
6498
  // src/components/carousels/WavelengthDefaultCarousel.tsx
6499
6499
 
6500
-
6500
+ var _IconButton = require('@mui/material/IconButton'); var _IconButton2 = _interopRequireDefault(_IconButton);
6501
6501
  var _NavigateBefore = require('@mui/icons-material/NavigateBefore'); var _NavigateBefore2 = _interopRequireDefault(_NavigateBefore);
6502
6502
  var _NavigateNext = require('@mui/icons-material/NavigateNext'); var _NavigateNext2 = _interopRequireDefault(_NavigateNext);
6503
6503
 
@@ -6684,7 +6684,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
6684
6684
  const internalRef = _react.useRef.call(void 0, null);
6685
6685
  _react.useImperativeHandle.call(void 0, ref, () => ({
6686
6686
  ...internalRef.current,
6687
- validate: () => _optionalChain([internalRef, 'access', _45 => _45.current, 'optionalAccess', _46 => _46.validate, 'optionalCall', _47 => _47(true)])
6687
+ validate: () => _optionalChain([internalRef, 'access', _47 => _47.current, 'optionalAccess', _48 => _48.validate, 'optionalCall', _49 => _49(true)])
6688
6688
  }));
6689
6689
  _react.useEffect.call(void 0, () => {
6690
6690
  const el = internalRef.current;
@@ -6763,7 +6763,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
6763
6763
  const el = internalRef.current;
6764
6764
  if (!el || !onBlurCallback) return;
6765
6765
  const handler = (e) => {
6766
- const input = _optionalChain([el, 'access', _48 => _48.shadowRoot, 'optionalAccess', _49 => _49.querySelector, 'call', _50 => _50("input, textarea")]);
6766
+ const input = _optionalChain([el, 'access', _50 => _50.shadowRoot, 'optionalAccess', _51 => _51.querySelector, 'call', _52 => _52("input, textarea")]);
6767
6767
  if (input) {
6768
6768
  onBlurCallback();
6769
6769
  }
@@ -6775,7 +6775,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
6775
6775
  const el = internalRef.current;
6776
6776
  if (!el || !onChange) return;
6777
6777
  const handler = (e) => {
6778
- const input = _optionalChain([el, 'access', _51 => _51.shadowRoot, 'optionalAccess', _52 => _52.querySelector, 'call', _53 => _53("input, textarea")]);
6778
+ const input = _optionalChain([el, 'access', _53 => _53.shadowRoot, 'optionalAccess', _54 => _54.querySelector, 'call', _55 => _55("input, textarea")]);
6779
6779
  if (input) {
6780
6780
  const synthetic = {
6781
6781
  ...e,
@@ -6978,7 +6978,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
6978
6978
  const [noRowsOpen, setNoRowsOpen] = _react.useState.call(void 0, false);
6979
6979
  const [isModalOpen, setIsModalOpen] = _react.useState.call(void 0, false);
6980
6980
  const [searchItem, setSearchItem] = _react.useState.call(void 0, "");
6981
- const [selectedValue, setSelectedValue] = _react.useState.call(void 0, _optionalChain([columns, 'access', _54 => _54[0], 'optionalAccess', _55 => _55.key]) || "");
6981
+ const [selectedValue, setSelectedValue] = _react.useState.call(void 0, _optionalChain([columns, 'access', _56 => _56[0], 'optionalAccess', _57 => _57.key]) || "");
6982
6982
  const [currentPage, setCurrentPage] = _react.useState.call(void 0, 1);
6983
6983
  const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
6984
6984
  const [editingMenuKey, setEditingMenuKey] = _react.useState.call(void 0, null);
@@ -7132,7 +7132,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7132
7132
  ] }, index)
7133
7133
  ] }, `headCell-${index}`);
7134
7134
  });
7135
- const rows = !_optionalChain([currentPageData, 'optionalAccess', _56 => _56.length]) || noRowsOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([currentPageData, 'optionalAccess', _57 => _57.map, 'call', _58 => _58((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: columns.map((column, index2) => {
7135
+ const rows = !_optionalChain([currentPageData, 'optionalAccess', _58 => _58.length]) || noRowsOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([currentPageData, 'optionalAccess', _59 => _59.map, 'call', _60 => _60((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: columns.map((column, index2) => {
7136
7136
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledTd, { children: editingId === item.id && editedColumnKey === column.key ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7137
7137
  StyledInput,
7138
7138
  {
@@ -7378,7 +7378,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7378
7378
  }
7379
7379
  if (sortSubOrder) {
7380
7380
  result.map(
7381
- (item) => _optionalChain([item, 'access', _59 => _59.Details, 'optionalAccess', _60 => _60.fileObjects, 'access', _61 => _61.sort, 'call', _62 => _62((c, d) => {
7381
+ (item) => _optionalChain([item, 'access', _61 => _61.Details, 'optionalAccess', _62 => _62.fileObjects, 'access', _63 => _63.sort, 'call', _64 => _64((c, d) => {
7382
7382
  const valueC = c[sortSubKey];
7383
7383
  const valueD = d[sortSubKey];
7384
7384
  if (typeof valueC === "string" && typeof valueD === "string") {
@@ -7439,24 +7439,24 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7439
7439
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { children: renderSortSubButton(column, sortSubOrder, sortSubKey) }, `SubHeadCell-${index}`);
7440
7440
  });
7441
7441
  const subDataRows = (itemId) => {
7442
- return processedRowData.filter((item) => _optionalChain([item, 'access', _63 => _63.Details, 'optionalAccess', _64 => _64.relationId]) === itemId).map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: _optionalChain([item, 'access', _65 => _65.Details, 'optionalAccess', _66 => _66.fileObjects, 'access', _67 => _67.map, 'call', _68 => _68((fileItem, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SubDataTableBodyRowContainer, { children: [
7442
+ return processedRowData.filter((item) => _optionalChain([item, 'access', _65 => _65.Details, 'optionalAccess', _66 => _66.relationId]) === itemId).map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: _optionalChain([item, 'access', _67 => _67.Details, 'optionalAccess', _68 => _68.fileObjects, 'access', _69 => _69.map, 'call', _70 => _70((fileItem, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SubDataTableBodyRowContainer, { children: [
7443
7443
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DownloadArrow, { onClick: downloadArrowOnClick, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7444
7444
  "path",
7445
7445
  {
7446
7446
  d: "M8.5 12L3.5 7L4.9 5.55L7.5 8.15V0H9.5V8.15L12.1 5.55L13.5 7L8.5 12ZM2.5 16C1.95 16 1.47917 15.8042 1.0875 15.4125C0.695833 15.0208 0.5 14.55 0.5 14V11H2.5V14H14.5V11H16.5V14C16.5 14.55 16.3042 15.0208 15.9125 15.4125C15.5208 15.8042 15.05 16 14.5 16H2.5Z",
7447
7447
  fill: "#1C1B1F"
7448
7448
  }
7449
- ) }) }) }, `td-${_optionalChain([item, 'access', _69 => _69.Details, 'optionalAccess', _70 => _70.relationId])}-${fileItem.id}`),
7449
+ ) }) }) }, `td-${_optionalChain([item, 'access', _71 => _71.Details, 'optionalAccess', _72 => _72.relationId])}-${fileItem.id}`),
7450
7450
  SubDataColumns.map((column) => {
7451
7451
  const columnKey = trimBeforePeriod2(column.key);
7452
7452
  const value = fileItem[columnKey];
7453
7453
  if (value !== void 0) {
7454
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }, `span-${_optionalChain([item, 'access', _71 => _71.Details, 'optionalAccess', _72 => _72.relationId])}-${fileItem.id}-${index}-${column.title}`) }, `fileitem-${item}-${_optionalChain([item, 'access', _73 => _73.Details, 'optionalAccess', _74 => _74.relationId])}-${fileItem.id}-${index}-${column.title}`);
7454
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }, `span-${_optionalChain([item, 'access', _73 => _73.Details, 'optionalAccess', _74 => _74.relationId])}-${fileItem.id}-${index}-${column.title}`) }, `fileitem-${item}-${_optionalChain([item, 'access', _75 => _75.Details, 'optionalAccess', _76 => _76.relationId])}-${fileItem.id}-${index}-${column.title}`);
7455
7455
  }
7456
7456
  })
7457
- ] }, `${item}-${_optionalChain([item, 'access', _75 => _75.Details, 'optionalAccess', _76 => _76.relationId])}-${fileItem.id}-${index}`))]) }, `SDR-${item.id}-${_optionalChain([item, 'access', _77 => _77.Details, 'optionalAccess', _78 => _78.relationId])}`));
7457
+ ] }, `${item}-${_optionalChain([item, 'access', _77 => _77.Details, 'optionalAccess', _78 => _78.relationId])}-${fileItem.id}-${index}`))]) }, `SDR-${item.id}-${_optionalChain([item, 'access', _79 => _79.Details, 'optionalAccess', _80 => _80.relationId])}`));
7458
7458
  };
7459
- const dataRows = _optionalChain([processedRowData, 'optionalAccess', _79 => _79.map, 'call', _80 => _80((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, BodyRowContainer, { children: [
7459
+ const dataRows = _optionalChain([processedRowData, 'optionalAccess', _81 => _81.map, 'call', _82 => _82((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, BodyRowContainer, { children: [
7460
7460
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { $amountofColumns: HeadColumns.length, children: HeadColumns.map((column) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBodyCell, { $primaryBoldState: column.PrimaryBoldText, children: item[column.key] }, `TableBodycell-${item.id}-${column.key}`)) }),
7461
7461
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ButtonStylingRow, { children: [
7462
7462
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DownloadMissionButton, { onClick: downloadMissionOnClick, children: "Download Mission" }),
@@ -7510,7 +7510,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7510
7510
  root = _client.createRoot.call(void 0, container);
7511
7511
  reactDropdownRoots.current.set(container, root);
7512
7512
  }
7513
- const item = _optionalChain([data, 'optionalAccess', _81 => _81.find, 'call', _82 => _82((item2) => String(item2.id) === String(itemId))]);
7513
+ const item = _optionalChain([data, 'optionalAccess', _83 => _83.find, 'call', _84 => _84((item2) => String(item2.id) === String(itemId))]);
7514
7514
  if (item && item.dropdown && root) {
7515
7515
  root.render(item.dropdown);
7516
7516
  }
@@ -7637,9 +7637,9 @@ var NestedDataTable = ({ data, columns, id }) => {
7637
7637
  const SubDataHeaders = SubDataColumns.map((column, index) => {
7638
7638
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { children: column.title }, `SubHeadCell-${index}`);
7639
7639
  });
7640
- const subDataRows = !_optionalChain([data, 'optionalAccess', _83 => _83.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoSubDataRows", colSpan: columns.length, children: "No data" }) }) : data.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTr, { children: SubDataColumns.map((column, colIndex) => {
7640
+ const subDataRows = !_optionalChain([data, 'optionalAccess', _85 => _85.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoSubDataRows", colSpan: columns.length, children: "No data" }) }) : data.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTr, { children: SubDataColumns.map((column, colIndex) => {
7641
7641
  const columnKey = trimBeforePeriod(column.key);
7642
- const value = _optionalChain([item, 'access', _84 => _84.Details, 'optionalAccess', _85 => _85[columnKey]]);
7642
+ const value = _optionalChain([item, 'access', _86 => _86.Details, 'optionalAccess', _87 => _87[columnKey]]);
7643
7643
  console.log("value: ", value);
7644
7644
  if (value !== void 0) {
7645
7645
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }) }, `Span-${item.id}-${colIndex}`);
@@ -7649,7 +7649,7 @@ var NestedDataTable = ({ data, columns, id }) => {
7649
7649
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: SubDataHeaders }) }),
7650
7650
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tbody", { children: subDataRows })
7651
7651
  ] });
7652
- const rows = !_optionalChain([data, 'optionalAccess', _86 => _86.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([data, 'optionalAccess', _87 => _87.map, 'call', _88 => _88((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
7652
+ const rows = !_optionalChain([data, 'optionalAccess', _88 => _88.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([data, 'optionalAccess', _89 => _89.map, 'call', _90 => _90((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
7653
7653
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PrimaryTrRows, { $index: index, children: [
7654
7654
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: "\u2227" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: "\u2228" }) }),
7655
7655
  HeadColumns.map((column, index2) => {
@@ -8147,7 +8147,7 @@ var SampleComponent = ({
8147
8147
  testProp,
8148
8148
  children,
8149
8149
  // Style argument
8150
- customStyle: customStyle2,
8150
+ customStyle,
8151
8151
  ...rest
8152
8152
  // This rest operator includes className, style, onClick, etc.
8153
8153
  }) => {
@@ -8155,7 +8155,7 @@ var SampleComponent = ({
8155
8155
  _react.useEffect.call(void 0, () => {
8156
8156
  const el = ref.current;
8157
8157
  if (!el) return;
8158
- el.customStyles = customStyle2;
8158
+ el.customStyles = customStyle;
8159
8159
  if (testProp !== void 0) {
8160
8160
  el.setAttribute("test-prop", testProp);
8161
8161
  }
@@ -8318,7 +8318,8 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8318
8318
 
8319
8319
 
8320
8320
 
8321
- exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBadge = WavelengthBadge; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMenu = WavelengthMenu; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPagination = WavelengthPagination; exports.WavelengthPaginationElement = _webcomponents.WavelengthPagination; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthSwitch = WavelengthSwitch; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.WavelengthToolTip = WavelengthToolTip; exports.WavelengthWebSnackbar = WavelengthWebSnackbar; exports.add = add; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8321
+
8322
+ exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBadge = WavelengthBadge; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDialog = WavelengthDialog; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMenu = WavelengthMenu; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPagination = WavelengthPagination; exports.WavelengthPaginationElement = _webcomponents.WavelengthPagination; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthSwitch = WavelengthSwitch; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.WavelengthToolTip = WavelengthToolTip; exports.WavelengthWebSnackbar = WavelengthWebSnackbar; exports.add = add; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8322
8323
  /*! Bundled license information:
8323
8324
 
8324
8325
  react-is/cjs/react-is.production.min.js: