@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.
- package/README.md +5 -0
- package/dist/cjs/index.cjs +305 -9
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +49 -3
- package/dist/esm/index.d.ts +49 -3
- package/dist/esm/index.js +499 -203
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,11 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 2.9.0
|
|
18
|
+
- 4/25/2025
|
|
19
|
+
- New Alert Component
|
|
20
|
+
- Added tests for new components (Alert Component)
|
|
21
|
+
|
|
17
22
|
### 2.8.1
|
|
18
23
|
- 4/18/2024
|
|
19
24
|
- Created test for the Wavelength Comment Display
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -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
|
|
209
|
+
var Fragment14 = 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 =
|
|
268
|
+
exports.Fragment = Fragment14;
|
|
269
269
|
exports.Lazy = Lazy;
|
|
270
270
|
exports.Memo = Memo2;
|
|
271
271
|
exports.Portal = Portal;
|
|
@@ -3318,6 +3318,7 @@ function WavelengthStyledButton({ type = "default", styles, children, disabled =
|
|
|
3318
3318
|
children
|
|
3319
3319
|
] });
|
|
3320
3320
|
}
|
|
3321
|
+
var WavelengthStyledButton_default = WavelengthStyledButton;
|
|
3321
3322
|
|
|
3322
3323
|
// src/components/containers/WavelengthBox/WavelengthBox.tsx
|
|
3323
3324
|
var _Grid = require('@mui/material/Grid'); var _Grid2 = _interopRequireDefault(_Grid);
|
|
@@ -4624,7 +4625,8 @@ function WavelengthDragAndDrop({
|
|
|
4624
4625
|
fontSize = "12px",
|
|
4625
4626
|
allowedFileMIME,
|
|
4626
4627
|
allowedFileExtensions,
|
|
4627
|
-
backgroundColor: backgroundColor2 = "transparent"
|
|
4628
|
+
backgroundColor: backgroundColor2 = "transparent",
|
|
4629
|
+
dataTestId
|
|
4628
4630
|
}) {
|
|
4629
4631
|
const handleFileChange = (event) => {
|
|
4630
4632
|
const selectedFiles = event.target.files;
|
|
@@ -4650,6 +4652,7 @@ function WavelengthDragAndDrop({
|
|
|
4650
4652
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4651
4653
|
"div",
|
|
4652
4654
|
{
|
|
4655
|
+
"data-testid": dataTestId,
|
|
4653
4656
|
style: {
|
|
4654
4657
|
backgroundColor: backgroundColor2,
|
|
4655
4658
|
border: border2 ? border2 : "1px dashed rgba(14, 178, 178, 1)",
|
|
@@ -4681,7 +4684,7 @@ function WavelengthDragAndDrop({
|
|
|
4681
4684
|
var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);
|
|
4682
4685
|
var _LinearProgress = require('@mui/material/LinearProgress'); var _LinearProgress2 = _interopRequireDefault(_LinearProgress);
|
|
4683
4686
|
|
|
4684
|
-
function WavelengthProgressBar({ width: width2 = "425px", height: height2 = "12px", backgroundColor: backgroundColor2, borderRadius: borderRadius2 = "24px", progressColor, value, name, textColor = "inherit" }) {
|
|
4687
|
+
function WavelengthProgressBar({ dataTestId, width: width2 = "425px", height: height2 = "12px", backgroundColor: backgroundColor2, borderRadius: borderRadius2 = "24px", progressColor, value, name, textColor = "inherit" }) {
|
|
4685
4688
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
4686
4689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", width: width2, justifyContent: "space-between", color: textColor }, children: [
|
|
4687
4690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", children: name }),
|
|
@@ -4696,7 +4699,7 @@ function WavelengthProgressBar({ width: width2 = "425px", height: height2 = "12p
|
|
|
4696
4699
|
"%"
|
|
4697
4700
|
] })
|
|
4698
4701
|
] }),
|
|
4699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Box2.default, { sx: { width: width2, height: "12px", borderRadius: "24px" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Box2.default, { "data-testid": dataTestId, sx: { width: width2, height: "12px", borderRadius: "24px" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4700
4703
|
_LinearProgress2.default,
|
|
4701
4704
|
{
|
|
4702
4705
|
variant: "determinate",
|
|
@@ -4725,6 +4728,7 @@ function WavelengthCommentDisplay(props) {
|
|
|
4725
4728
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4726
4729
|
"div",
|
|
4727
4730
|
{
|
|
4731
|
+
"data-testid": props.dataTestId,
|
|
4728
4732
|
style: {
|
|
4729
4733
|
display: "flex",
|
|
4730
4734
|
flexDirection: "column",
|
|
@@ -4764,12 +4768,301 @@ function WavelengthCommentDisplay(props) {
|
|
|
4764
4768
|
)
|
|
4765
4769
|
] }),
|
|
4766
4770
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { style: { fontSize: "12px", fontWeight: 400, opacity: 0.6 }, children: props.date }),
|
|
4767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "14px", fontWeight: 400 }, children: props.comments })
|
|
4771
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "14px", fontWeight: 400, marginTop: "8px" }, children: props.comments })
|
|
4768
4772
|
]
|
|
4769
4773
|
}
|
|
4770
4774
|
);
|
|
4771
4775
|
}
|
|
4772
4776
|
|
|
4777
|
+
// src/components/PageComponents/WavelengthPermissionAlert.tsx
|
|
4778
|
+
|
|
4779
|
+
function WavelengthPermissionAlert({
|
|
4780
|
+
dataTestId,
|
|
4781
|
+
height: height2 = "112px",
|
|
4782
|
+
width: width2 = "314px",
|
|
4783
|
+
backgroundColor: backgroundColor2 = "white",
|
|
4784
|
+
permission,
|
|
4785
|
+
applicationName,
|
|
4786
|
+
requestorName,
|
|
4787
|
+
dateOfRequest,
|
|
4788
|
+
onDismiss,
|
|
4789
|
+
unit = "No Unit"
|
|
4790
|
+
}) {
|
|
4791
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4792
|
+
"div",
|
|
4793
|
+
{
|
|
4794
|
+
"data-testid": dataTestId,
|
|
4795
|
+
style: {
|
|
4796
|
+
width: width2,
|
|
4797
|
+
height: height2,
|
|
4798
|
+
backgroundColor: backgroundColor2,
|
|
4799
|
+
border: "1px solid #5F5F5F",
|
|
4800
|
+
borderRadius: "12px",
|
|
4801
|
+
display: "flex",
|
|
4802
|
+
flexDirection: "column",
|
|
4803
|
+
padding: "8px 12px",
|
|
4804
|
+
gap: "8px",
|
|
4805
|
+
fontSize: "14px",
|
|
4806
|
+
fontWeight: 400,
|
|
4807
|
+
boxSizing: "border-box",
|
|
4808
|
+
fontFamily: "roboto"
|
|
4809
|
+
},
|
|
4810
|
+
children: [
|
|
4811
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "20px", fontWeight: 400 }, children: permission }),
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { letterSpacing: "-6%" }, children: [
|
|
4813
|
+
"Application: ",
|
|
4814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: 600, marginLeft: "4px" }, children: applicationName })
|
|
4815
|
+
] }),
|
|
4816
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { letterSpacing: "-6%" }, children: [
|
|
4817
|
+
"Requestor:",
|
|
4818
|
+
" ",
|
|
4819
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { style: { fontWeight: 600, marginLeft: "4px" }, children: [
|
|
4820
|
+
requestorName,
|
|
4821
|
+
", ",
|
|
4822
|
+
"" + unit
|
|
4823
|
+
] })
|
|
4824
|
+
] }),
|
|
4825
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
4826
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { letterSpacing: "-6%" }, children: [
|
|
4827
|
+
"Date of Request: ",
|
|
4828
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: 600, marginLeft: "4px" }, children: dateOfRequest })
|
|
4829
|
+
] }),
|
|
4830
|
+
" ",
|
|
4831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: "", style: { color: "black", fontWeight: 600 }, onClick: onDismiss, children: "Dismiss" }),
|
|
4832
|
+
" "
|
|
4833
|
+
] })
|
|
4834
|
+
]
|
|
4835
|
+
}
|
|
4836
|
+
) });
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
// src/components/PageComponents/WavelengthAccessAlert.tsx
|
|
4840
|
+
var _Check = require('@mui/icons-material/Check'); var _Check2 = _interopRequireDefault(_Check);
|
|
4841
|
+
var _NotInterested = require('@mui/icons-material/NotInterested'); var _NotInterested2 = _interopRequireDefault(_NotInterested);
|
|
4842
|
+
|
|
4843
|
+
function WavelengthAccessAlert({
|
|
4844
|
+
height: height2 = "100px",
|
|
4845
|
+
dataTestId,
|
|
4846
|
+
width: width2 = "244px",
|
|
4847
|
+
time = "2m ago",
|
|
4848
|
+
access = "Access Request",
|
|
4849
|
+
appNickname = "App Nickname",
|
|
4850
|
+
appLogo = "wings",
|
|
4851
|
+
appAdmin = "app.admin.1",
|
|
4852
|
+
requestorName = "joes.user.1"
|
|
4853
|
+
}) {
|
|
4854
|
+
if (access === "Access Request") {
|
|
4855
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4856
|
+
"div",
|
|
4857
|
+
{
|
|
4858
|
+
"data-testid": dataTestId,
|
|
4859
|
+
style: {
|
|
4860
|
+
width: width2,
|
|
4861
|
+
height: height2,
|
|
4862
|
+
border: "1px solid rgba(0, 0, 0, 0.6)",
|
|
4863
|
+
borderRadius: "6px",
|
|
4864
|
+
position: "relative",
|
|
4865
|
+
padding: "8px 10px 2px 10px",
|
|
4866
|
+
display: "grid",
|
|
4867
|
+
gridTemplateColumns: "1fr 3fr 2fr",
|
|
4868
|
+
gridTemplateRows: "1fr 1fr 1fr",
|
|
4869
|
+
boxSizing: "border-box"
|
|
4870
|
+
},
|
|
4871
|
+
children: [
|
|
4872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
4873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontWeight: 700, fontSize: "12px", color: "rgba(248, 136, 5, 1)", marginTop: "5px", marginLeft: "5px", gridArea: "1/2/1/3" }, children: access }),
|
|
4874
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
4875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLogo_default, { name: appLogo, width: 22 }),
|
|
4876
|
+
" "
|
|
4877
|
+
] }),
|
|
4878
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", gap: "4px", marginLeft: "5px" }, children: [
|
|
4879
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { htmlFor: "", children: [
|
|
4880
|
+
"Requestor: ",
|
|
4881
|
+
requestorName
|
|
4882
|
+
] }),
|
|
4883
|
+
" ",
|
|
4884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", children: appNickname })
|
|
4885
|
+
] }),
|
|
4886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4887
|
+
WavelengthStyledButton_default,
|
|
4888
|
+
{
|
|
4889
|
+
type: "default",
|
|
4890
|
+
styles: { backgroundColor: "rgba(143, 143, 143, 1)", marginTop: "5px", borderRadius: "5px", height: "22px", width: "44px", gridArea: "3/4/3/4", color: "white" },
|
|
4891
|
+
children: "clear"
|
|
4892
|
+
}
|
|
4893
|
+
)
|
|
4894
|
+
]
|
|
4895
|
+
}
|
|
4896
|
+
);
|
|
4897
|
+
} else if (access === "Access Granted") {
|
|
4898
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4899
|
+
"div",
|
|
4900
|
+
{
|
|
4901
|
+
"data-testid": dataTestId,
|
|
4902
|
+
style: {
|
|
4903
|
+
width: width2,
|
|
4904
|
+
height: height2,
|
|
4905
|
+
border: "1px solid rgba(0, 0, 0, 0.6)",
|
|
4906
|
+
borderRadius: "6px",
|
|
4907
|
+
position: "relative",
|
|
4908
|
+
padding: "8px 10px 2px 10px",
|
|
4909
|
+
display: "grid",
|
|
4910
|
+
gridTemplateColumns: "1fr 3fr 2fr",
|
|
4911
|
+
gridTemplateRows: "1fr 1fr 1fr",
|
|
4912
|
+
boxSizing: "border-box"
|
|
4913
|
+
},
|
|
4914
|
+
children: [
|
|
4915
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
4916
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { fontWeight: 700, fontSize: "12px", marginTop: "5px", marginLeft: "5px", gridArea: "1/2/1/4", display: "flex", alignItems: "center" }, children: [
|
|
4917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Check2.default, { fontSize: "small", sx: { color: "rgba(36, 226, 32, 1)", width: "16px" } }),
|
|
4918
|
+
access
|
|
4919
|
+
] }),
|
|
4920
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
4921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLogo_default, { name: appLogo, width: 22 }),
|
|
4922
|
+
" "
|
|
4923
|
+
] }),
|
|
4924
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
4925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontWeight: 700, fontSize: "10px" }, children: appNickname }),
|
|
4926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", style: { marginTop: "5px" }, children: appAdmin }),
|
|
4927
|
+
" ",
|
|
4928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", children: "Added you as a user" })
|
|
4929
|
+
] }),
|
|
4930
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthStyledButton_default, { type: "default", styles: { backgroundColor: "rgba(143, 143, 143, 1)", borderRadius: "5px", height: "22px", width: "44px", gridArea: "3/4/3/4", color: "white" }, children: "clear" })
|
|
4931
|
+
]
|
|
4932
|
+
}
|
|
4933
|
+
);
|
|
4934
|
+
} else {
|
|
4935
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4936
|
+
"div",
|
|
4937
|
+
{
|
|
4938
|
+
"data-testid": dataTestId,
|
|
4939
|
+
style: {
|
|
4940
|
+
width: width2,
|
|
4941
|
+
height: height2,
|
|
4942
|
+
border: "1px solid rgba(0, 0, 0, 0.6)",
|
|
4943
|
+
borderRadius: "6px",
|
|
4944
|
+
position: "relative",
|
|
4945
|
+
padding: "8px 10px 2px 10px",
|
|
4946
|
+
display: "grid",
|
|
4947
|
+
gridTemplateColumns: "1fr 3fr 2fr",
|
|
4948
|
+
gridTemplateRows: "1fr 1fr 1fr",
|
|
4949
|
+
boxSizing: "border-box"
|
|
4950
|
+
},
|
|
4951
|
+
children: [
|
|
4952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
4953
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { fontWeight: 700, fontSize: "12px", marginTop: "5px", marginLeft: "5px", gridArea: "1/2/1/4", display: "flex", alignItems: "center" }, children: [
|
|
4954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _NotInterested2.default, { fontSize: "small", sx: { color: "rgba(234, 30, 30, 1)", width: "16px" } }),
|
|
4955
|
+
access
|
|
4956
|
+
] }),
|
|
4957
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
4958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLogo_default, { name: appLogo, width: 22 }),
|
|
4959
|
+
" "
|
|
4960
|
+
] }),
|
|
4961
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
4962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontWeight: 700, fontSize: "10px" }, children: appNickname }),
|
|
4963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", style: { marginTop: "5px" }, children: appAdmin }),
|
|
4964
|
+
" ",
|
|
4965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", children: "Denied your request" })
|
|
4966
|
+
] }),
|
|
4967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthStyledButton_default, { type: "default", styles: { backgroundColor: "rgba(143, 143, 143, 1)", borderRadius: "5px", height: "22px", width: "44px", gridArea: "3/4/3/4", color: "white" }, children: "clear" })
|
|
4968
|
+
]
|
|
4969
|
+
}
|
|
4970
|
+
);
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4974
|
+
// src/components/PageComponents/WavelengthAlert.tsx
|
|
4975
|
+
var _Close = require('@mui/icons-material/Close'); var _Close2 = _interopRequireDefault(_Close);
|
|
4976
|
+
|
|
4977
|
+
var _Notifications = require('@mui/icons-material/Notifications'); var _Notifications2 = _interopRequireDefault(_Notifications);
|
|
4978
|
+
|
|
4979
|
+
function WavelengthAlert({
|
|
4980
|
+
viewed,
|
|
4981
|
+
width: width2 = "320px",
|
|
4982
|
+
height: height2 = "96px",
|
|
4983
|
+
backgroundColor: backgroundColor2 = "rgba(229, 246, 253, 1)",
|
|
4984
|
+
alertHeader = "Access Requested",
|
|
4985
|
+
alertDescription = "Keenan Ray has requested to be added as a User to your App",
|
|
4986
|
+
datatestid,
|
|
4987
|
+
id,
|
|
4988
|
+
onClose
|
|
4989
|
+
}) {
|
|
4990
|
+
if (!viewed) {
|
|
4991
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4992
|
+
"div",
|
|
4993
|
+
{
|
|
4994
|
+
role: "alert",
|
|
4995
|
+
id,
|
|
4996
|
+
"data-testid": datatestid,
|
|
4997
|
+
style: {
|
|
4998
|
+
width: width2,
|
|
4999
|
+
height: height2,
|
|
5000
|
+
backgroundColor: backgroundColor2,
|
|
5001
|
+
fontFamily: "Roboto, sans-serif",
|
|
5002
|
+
border: "1px solid rgba(2, 136, 209, 1)",
|
|
5003
|
+
borderRadius: "4px",
|
|
5004
|
+
display: "flex",
|
|
5005
|
+
flexDirection: "row",
|
|
5006
|
+
boxSizing: "border-box",
|
|
5007
|
+
alignItems: "flex-start",
|
|
5008
|
+
padding: "12px 16px 10px 16px"
|
|
5009
|
+
},
|
|
5010
|
+
children: [
|
|
5011
|
+
" ",
|
|
5012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Notifications2.default, { sx: { width: "24px", padding: "0px", color: "rgba(2, 136, 209, 1)" } }),
|
|
5013
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gap: "4px", width: "250px", marginLeft: "12px" }, children: [
|
|
5014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", style: { fontSize: "1rem", lineHeight: "150%", letterSpacing: "0.15px", fontWeight: 500 }, children: alertHeader }),
|
|
5015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5016
|
+
"div",
|
|
5017
|
+
{
|
|
5018
|
+
style: { fontSize: ".875rem", fontWeight: 400, lineHeight: "143%", display: "-webkit-box", WebkitLineClamp: 2, WebkitBoxOrient: "vertical", overflow: "hidden", textOverflow: "ellipsis" },
|
|
5019
|
+
children: alertDescription
|
|
5020
|
+
}
|
|
5021
|
+
)
|
|
5022
|
+
] }),
|
|
5023
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { padding: "0px", width: "20px" }, onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Close2.default, {}) })
|
|
5024
|
+
]
|
|
5025
|
+
}
|
|
5026
|
+
);
|
|
5027
|
+
} else {
|
|
5028
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5029
|
+
"div",
|
|
5030
|
+
{
|
|
5031
|
+
role: "alert",
|
|
5032
|
+
id,
|
|
5033
|
+
"data-testid": datatestid,
|
|
5034
|
+
style: {
|
|
5035
|
+
width: width2,
|
|
5036
|
+
height: height2,
|
|
5037
|
+
backgroundColor: backgroundColor2 = "#DFDCDC",
|
|
5038
|
+
fontFamily: "Roboto, sans-serif",
|
|
5039
|
+
border: "1px solid #A0A2A3",
|
|
5040
|
+
borderRadius: "4px",
|
|
5041
|
+
display: "flex",
|
|
5042
|
+
flexDirection: "row",
|
|
5043
|
+
boxSizing: "border-box",
|
|
5044
|
+
alignItems: "flex-start",
|
|
5045
|
+
padding: "12px 16px 10px 16px"
|
|
5046
|
+
},
|
|
5047
|
+
children: [
|
|
5048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Notifications2.default, { sx: { width: "24px", padding: "0px", color: "#A0A2A3" } }),
|
|
5049
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gap: "4px", width: "250px", marginLeft: "12px" }, children: [
|
|
5050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", style: { fontSize: "1rem", lineHeight: "150%", letterSpacing: "0.15px", fontWeight: 500 }, children: alertHeader }),
|
|
5051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5052
|
+
"div",
|
|
5053
|
+
{
|
|
5054
|
+
style: { fontSize: ".875rem", fontWeight: 400, lineHeight: "143%", display: "-webkit-box", WebkitLineClamp: 2, WebkitBoxOrient: "vertical", overflow: "hidden", textOverflow: "ellipsis" },
|
|
5055
|
+
children: alertDescription
|
|
5056
|
+
}
|
|
5057
|
+
)
|
|
5058
|
+
] }),
|
|
5059
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { padding: "0px", width: "20px" }, onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Close2.default, {}) })
|
|
5060
|
+
]
|
|
5061
|
+
}
|
|
5062
|
+
);
|
|
5063
|
+
}
|
|
5064
|
+
}
|
|
5065
|
+
|
|
4773
5066
|
// src/components/footers/WavelengthFooter/WavelengthFooter.tsx
|
|
4774
5067
|
|
|
4775
5068
|
|
|
@@ -5206,7 +5499,7 @@ function WavelengthConfirmationModal(props) {
|
|
|
5206
5499
|
|
|
5207
5500
|
// src/components/modals/WavelengthContentModal.tsx
|
|
5208
5501
|
|
|
5209
|
-
|
|
5502
|
+
|
|
5210
5503
|
|
|
5211
5504
|
function WavelengthContentModal(props) {
|
|
5212
5505
|
const { show, setShow, handleContentModalOnConfirmProp } = props;
|
|
@@ -5368,7 +5661,7 @@ function WavelengthDropdown({
|
|
|
5368
5661
|
buttonSx,
|
|
5369
5662
|
width: width2 = "190px",
|
|
5370
5663
|
buttonText,
|
|
5371
|
-
menuSx = { backgroundColor: "#FCFAF8", borderColor: "blue", width:
|
|
5664
|
+
menuSx = { backgroundColor: "#FCFAF8", borderColor: "blue", width: width2, boxShadow: "none" },
|
|
5372
5665
|
palette: palette2
|
|
5373
5666
|
}) {
|
|
5374
5667
|
const [anchorEl, setAnchorEl] = React.default.useState(null);
|
|
@@ -6656,7 +6949,10 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages }) => {
|
|
|
6656
6949
|
|
|
6657
6950
|
|
|
6658
6951
|
|
|
6659
|
-
|
|
6952
|
+
|
|
6953
|
+
|
|
6954
|
+
|
|
6955
|
+
exports.AppLogo = AppLogo; exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.DefaultCarousel = DefaultCarousel; exports.DefaultIcon = DefaultIcon; exports.DefaultPagination = DefaultPagination; exports.ManyPlanesComponent = ManyPlanesComponent; exports.NotAvailablePage = NotAvailablePage; exports.SearchTextField = SearchTextField; exports.SliderCardCarousel = SliderCardCarousel; exports.TestSnackbar = TestSnackbar; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner2; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthTextField = WavelengthTextField; exports.WavelengthTitleBar = WavelengthTitleBar2; exports.add = add; exports.ascendingRange = ascendingRange; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.range = range; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
|
|
6660
6956
|
/*! Bundled license information:
|
|
6661
6957
|
|
|
6662
6958
|
react-is/cjs/react-is.production.min.js:
|