@wavelengthusaf/components 2.10.1 → 3.0.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 +25 -0
- package/dist/cjs/index.cjs +84 -77
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +22 -21
- package/dist/esm/index.d.ts +22 -21
- package/dist/esm/index.js +96 -89
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,31 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 3.0.0
|
|
18
|
+
|
|
19
|
+
- 5/16/2025
|
|
20
|
+
- Renamed several components to include the word `Wavelength` in front of them. The following components have been renamed accordingly:
|
|
21
|
+
|
|
22
|
+
<pre>
|
|
23
|
+
sliderCarousel --------> WavelengthSliderCarousel
|
|
24
|
+
GreenEllipse ----------> DELETED
|
|
25
|
+
ManyPlanes ------------> WavelengthManyPlanes
|
|
26
|
+
AppLogo ---------------> WavelengthAppLogo
|
|
27
|
+
DefaultIcon -----------> WavelengthDefaultIcon
|
|
28
|
+
NotAvailablePage ------> WavelengthNotAvailablePage
|
|
29
|
+
ButtonPagination ------> WavelengthButtonPagination
|
|
30
|
+
VariationPagination ---> WavelengthVariationPagination
|
|
31
|
+
WavelengthPagination --> WavelengthDefaultPagination
|
|
32
|
+
SearchTextField -------> WavelengthSearchTextField
|
|
33
|
+
TestSnackbar ----------> WavelengthTestSnackbar
|
|
34
|
+
</pre>
|
|
35
|
+
|
|
36
|
+
### 2.10.2
|
|
37
|
+
|
|
38
|
+
- 5/14/2025
|
|
39
|
+
- Updated Wavelength Alert
|
|
40
|
+
- Updated Textfield to include inputRef as a prop
|
|
41
|
+
|
|
17
42
|
### 2.10.1
|
|
18
43
|
|
|
19
44
|
- 5/13/2025
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -4431,13 +4431,13 @@ function WavelengthSearch({
|
|
|
4431
4431
|
return void 0;
|
|
4432
4432
|
}
|
|
4433
4433
|
|
|
4434
|
-
// src/components/search/
|
|
4434
|
+
// src/components/search/WavelengthSearchTextField.tsx
|
|
4435
4435
|
|
|
4436
4436
|
|
|
4437
4437
|
|
|
4438
|
-
function
|
|
4438
|
+
function WavelengthSearchTextField() {
|
|
4439
4439
|
const palette2 = getPalette();
|
|
4440
|
-
const
|
|
4440
|
+
const WavelengthSearchTextField2 = _styled2.default.call(void 0, (0, _TextField2.default))(() => ({
|
|
4441
4441
|
"&.MuiTextField-root": {
|
|
4442
4442
|
"& label.Mui-focused": {
|
|
4443
4443
|
color: `${palette2.primary}`
|
|
@@ -4455,12 +4455,12 @@ function SearchTextField() {
|
|
|
4455
4455
|
}
|
|
4456
4456
|
}
|
|
4457
4457
|
}));
|
|
4458
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4458
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthSearchTextField2, {});
|
|
4459
4459
|
}
|
|
4460
4460
|
|
|
4461
|
-
// src/components/logos/applogo/
|
|
4461
|
+
// src/components/logos/applogo/WavelengthAppLogo.tsx
|
|
4462
4462
|
|
|
4463
|
-
function
|
|
4463
|
+
function WavelengthAppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
4464
4464
|
let logo;
|
|
4465
4465
|
{
|
|
4466
4466
|
}
|
|
@@ -4904,17 +4904,17 @@ function AppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
|
4904
4904
|
}
|
|
4905
4905
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: logo });
|
|
4906
4906
|
}
|
|
4907
|
-
var
|
|
4907
|
+
var WavelengthAppLogo_default = WavelengthAppLogo;
|
|
4908
4908
|
|
|
4909
|
-
// src/components/PageComponents/
|
|
4909
|
+
// src/components/PageComponents/WavelengthNotAvailablePage.tsx
|
|
4910
4910
|
|
|
4911
|
-
function
|
|
4911
|
+
function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor: backgroundColor2, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }) {
|
|
4912
4912
|
backgroundColor2 = backgroundColor2 ? backgroundColor2 : "gray";
|
|
4913
|
-
|
|
4913
|
+
WavelengthAppLogoName = WavelengthAppLogoName ? WavelengthAppLogoName : "563rdpatch";
|
|
4914
4914
|
buttonColorOne = buttonColorOne ? buttonColorOne : "white";
|
|
4915
4915
|
buttonColorTwo = buttonColorTwo ? buttonColorTwo : "#0D5288";
|
|
4916
4916
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { id, style: { display: "flex", backgroundColor: backgroundColor2, flexDirection: "column", alignItems: "center", height: "100%", justifyContent: "center", gap: 55, padding: "8%" }, children: [
|
|
4917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: WavelengthAppLogoName, width: 300, height: 200, grayscale: true }),
|
|
4918
4918
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [
|
|
4919
4919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { textAlign: "center", marginBottom: 45, fontSize: 40, color: "white" }, children: `${errorMessage}` }),
|
|
4920
4920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthButton2, { "data-testid": "not-available-button", variant: "contained", colorOne: buttonColorOne, colorTwo: buttonColorTwo, href: redirectLink, children: buttonText })
|
|
@@ -5344,10 +5344,7 @@ function WavelengthAccessAlert({
|
|
|
5344
5344
|
children: [
|
|
5345
5345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
5346
5346
|
/* @__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 }),
|
|
5347
|
-
/* @__PURE__ */ _jsxruntime.
|
|
5348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLogo_default, { name: appLogo, width: 22 }),
|
|
5349
|
-
" "
|
|
5350
|
-
] }),
|
|
5347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }) }),
|
|
5351
5348
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", gap: "4px", marginLeft: "5px" }, children: [
|
|
5352
5349
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { htmlFor: "", children: [
|
|
5353
5350
|
"Requestor: ",
|
|
@@ -5391,7 +5388,8 @@ function WavelengthAccessAlert({
|
|
|
5391
5388
|
access
|
|
5392
5389
|
] }),
|
|
5393
5390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5394
|
-
|
|
5391
|
+
" ",
|
|
5392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5395
5393
|
" "
|
|
5396
5394
|
] }),
|
|
5397
5395
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5428,7 +5426,7 @@ function WavelengthAccessAlert({
|
|
|
5428
5426
|
access
|
|
5429
5427
|
] }),
|
|
5430
5428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5432
5430
|
" "
|
|
5433
5431
|
] }),
|
|
5434
5432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5461,7 +5459,6 @@ function WavelengthAlert({
|
|
|
5461
5459
|
variant,
|
|
5462
5460
|
timeStamp,
|
|
5463
5461
|
url,
|
|
5464
|
-
initiator,
|
|
5465
5462
|
id,
|
|
5466
5463
|
onClose
|
|
5467
5464
|
}) {
|
|
@@ -5536,12 +5533,8 @@ function WavelengthAlert({
|
|
|
5536
5533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Notifications2.default, { sx: iconStyle }),
|
|
5537
5534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href: url, style: { display: "flex", flexDirection: "column", gap: "7px", width: "250px", marginLeft: "12px", textDecoration: "none", color: baseContainerStyle.color }, children: [
|
|
5538
5535
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { style: { fontSize: "16px", lineHeight: "24px", letterSpacing: "0.15px", fontWeight: 550 }, children: alertType }),
|
|
5539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children:
|
|
5540
|
-
/* @__PURE__ */ _jsxruntime.
|
|
5541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: 550 }, children: "Initiator: " }),
|
|
5542
|
-
" ",
|
|
5543
|
-
initiator
|
|
5544
|
-
] })
|
|
5536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children: appName }),
|
|
5537
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 }, children: alertDescription })
|
|
5545
5538
|
] }),
|
|
5546
5539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5547
5540
|
"div",
|
|
@@ -5651,10 +5644,42 @@ function WavelengthBanner2({ headerText = "CLASSIFICATION//CONTROL", headerColor
|
|
|
5651
5644
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-banner", { ref });
|
|
5652
5645
|
}
|
|
5653
5646
|
|
|
5654
|
-
// src/components/
|
|
5647
|
+
// src/components/logos/default/WavelengthDefaultIcon.tsx
|
|
5655
5648
|
|
|
5649
|
+
function WavelengthDefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5650
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5651
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5652
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5653
|
+
"path",
|
|
5654
|
+
{
|
|
5655
|
+
d: "M63.5 14.618L77.2811 57.0319L77.3934 57.3774H77.7566H122.353L86.2738 83.5906L85.9799 83.8042L86.0922 84.1497L99.8733 126.564L63.7939 100.35L63.5 100.137L63.2061 100.35L27.1267 126.564L40.9078 84.1497L41.0201 83.8042L40.7262 83.5906L4.64675 57.3774H49.2434H49.6066L49.7189 57.0319L63.5 14.618Z",
|
|
5656
|
+
fill: "url(#paint0_linear_3571_2148)",
|
|
5657
|
+
fillOpacity: ".0.5",
|
|
5658
|
+
stroke: "#6B6B6B"
|
|
5659
|
+
}
|
|
5660
|
+
),
|
|
5661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5667
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5668
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M76 44.2478C76 59.5749 63.4645 72 48.0011 72C48.0011 72 49 19.5 49 16C49 16 20 16 20 44.2478C35.4634 44.2478 76 44.2478 76 44.2478Z", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { stopColor: "#A1A1A1" }),
|
|
5674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { offset: "1", stopColor: "#606060" })
|
|
5675
|
+
] }) })
|
|
5676
|
+
] }) });
|
|
5677
|
+
}
|
|
5656
5678
|
|
|
5657
|
-
|
|
5679
|
+
// src/components/CSFD/WavelengthManyPlanes.tsx
|
|
5680
|
+
|
|
5681
|
+
|
|
5682
|
+
function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false }) {
|
|
5658
5683
|
let direction = "row-reverse";
|
|
5659
5684
|
let flippy = "";
|
|
5660
5685
|
const palette2 = getPalette();
|
|
@@ -5693,38 +5718,6 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5693
5718
|
return PlaneGridWrapper(numberOfPlanes, opacity);
|
|
5694
5719
|
}
|
|
5695
5720
|
|
|
5696
|
-
// src/components/logos/default/DefaultDisplay.tsx
|
|
5697
|
-
|
|
5698
|
-
function DefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5699
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5702
|
-
"path",
|
|
5703
|
-
{
|
|
5704
|
-
d: "M63.5 14.618L77.2811 57.0319L77.3934 57.3774H77.7566H122.353L86.2738 83.5906L85.9799 83.8042L86.0922 84.1497L99.8733 126.564L63.7939 100.35L63.5 100.137L63.2061 100.35L27.1267 126.564L40.9078 84.1497L41.0201 83.8042L40.7262 83.5906L4.64675 57.3774H49.2434H49.6066L49.7189 57.0319L63.5 14.618Z",
|
|
5705
|
-
fill: "url(#paint0_linear_3571_2148)",
|
|
5706
|
-
fillOpacity: ".0.5",
|
|
5707
|
-
stroke: "#6B6B6B"
|
|
5708
|
-
}
|
|
5709
|
-
),
|
|
5710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M76 44.2478C76 59.5749 63.4645 72 48.0011 72C48.0011 72 49 19.5 49 16C49 16 20 16 20 44.2478C35.4634 44.2478 76 44.2478 76 44.2478Z", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { stopColor: "#A1A1A1" }),
|
|
5723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { offset: "1", stopColor: "#606060" })
|
|
5724
|
-
] }) })
|
|
5725
|
-
] }) });
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
5721
|
// src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
|
|
5729
5722
|
var _Divider = require('@mui/material/Divider'); var _Divider2 = _interopRequireDefault(_Divider);
|
|
5730
5723
|
|
|
@@ -6182,7 +6175,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
|
|
|
6182
6175
|
);
|
|
6183
6176
|
}
|
|
6184
6177
|
|
|
6185
|
-
// src/components/snackbars/
|
|
6178
|
+
// src/components/snackbars/WavelengthTestSnackbar.tsx
|
|
6186
6179
|
|
|
6187
6180
|
|
|
6188
6181
|
|
|
@@ -6204,7 +6197,7 @@ var useOutsideClick = (callback) => {
|
|
|
6204
6197
|
}, [callback]);
|
|
6205
6198
|
return ref;
|
|
6206
6199
|
};
|
|
6207
|
-
function
|
|
6200
|
+
function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width: width2, img }) {
|
|
6208
6201
|
const ref = useOutsideClick(() => {
|
|
6209
6202
|
toggleOpen(false);
|
|
6210
6203
|
});
|
|
@@ -6340,7 +6333,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
6340
6333
|
) }) });
|
|
6341
6334
|
};
|
|
6342
6335
|
|
|
6343
|
-
// src/components/carousels/
|
|
6336
|
+
// src/components/carousels/WavelengthSliderCarousel.tsx
|
|
6344
6337
|
|
|
6345
6338
|
|
|
6346
6339
|
|
|
@@ -6423,10 +6416,10 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
6423
6416
|
) }) });
|
|
6424
6417
|
};
|
|
6425
6418
|
|
|
6426
|
-
// src/components/pagination/
|
|
6419
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6427
6420
|
|
|
6428
6421
|
|
|
6429
|
-
// src/components/pagination/
|
|
6422
|
+
// src/components/pagination/WavelengthButtonPagination.tsx
|
|
6430
6423
|
|
|
6431
6424
|
|
|
6432
6425
|
var _ArrowBackIosNew = require('@mui/icons-material/ArrowBackIosNew'); var _ArrowBackIosNew2 = _interopRequireDefault(_ArrowBackIosNew);
|
|
@@ -6445,7 +6438,7 @@ var MyDroplistItems = _styledcomponents2.default.call(void 0, "li")`
|
|
|
6445
6438
|
background-color: lightgray;
|
|
6446
6439
|
}
|
|
6447
6440
|
`;
|
|
6448
|
-
function
|
|
6441
|
+
function WavelengthButtonPagination({ totalPages, current, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6449
6442
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
6450
6443
|
const [isSecOpen, setIsSecOpen] = _react.useState.call(void 0, false);
|
|
6451
6444
|
const toggleDropdown = (index) => {
|
|
@@ -6535,16 +6528,16 @@ function ButtonPagination({ totalPages, current, handleChangePage, itemList, fir
|
|
|
6535
6528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Button2.default, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, sx: WLButtonPagStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowForwardIos2.default, {}) })
|
|
6536
6529
|
] });
|
|
6537
6530
|
}
|
|
6538
|
-
var
|
|
6531
|
+
var WavelengthButtonPagination_default = WavelengthButtonPagination;
|
|
6539
6532
|
|
|
6540
|
-
// src/components/pagination/
|
|
6533
|
+
// src/components/pagination/WavelengthVariationPagination.tsx
|
|
6541
6534
|
|
|
6542
6535
|
|
|
6543
6536
|
|
|
6544
6537
|
|
|
6545
6538
|
|
|
6546
6539
|
|
|
6547
|
-
function
|
|
6540
|
+
function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6548
6541
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
6549
6542
|
const [isSecOpen, setIsSecOpen] = _react.useState.call(void 0, false);
|
|
6550
6543
|
const MyDroplistItems2 = _styledcomponents2.default.call(void 0, "li")`
|
|
@@ -6626,9 +6619,9 @@ function VariationPagination({ totalPages, current, variant, handleChangePage, i
|
|
|
6626
6619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Button2.default, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, variant, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowForwardIos2.default, {}) })
|
|
6627
6620
|
] });
|
|
6628
6621
|
}
|
|
6629
|
-
var
|
|
6622
|
+
var WavelengthVariationPagination_default = WavelengthVariationPagination;
|
|
6630
6623
|
|
|
6631
|
-
// src/components/pagination/
|
|
6624
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6632
6625
|
|
|
6633
6626
|
var range = (start, end) => {
|
|
6634
6627
|
const length = end - start + 1;
|
|
@@ -6667,10 +6660,20 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6667
6660
|
}
|
|
6668
6661
|
};
|
|
6669
6662
|
if (style3 === "circular") {
|
|
6670
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6664
|
+
WavelengthButtonPagination_default,
|
|
6665
|
+
{
|
|
6666
|
+
totalPages,
|
|
6667
|
+
current,
|
|
6668
|
+
handleChangePage,
|
|
6669
|
+
itemList,
|
|
6670
|
+
firstEllipseList,
|
|
6671
|
+
secondEllipseList
|
|
6672
|
+
}
|
|
6673
|
+
);
|
|
6671
6674
|
} else if (style3 === "text") {
|
|
6672
6675
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6673
|
-
|
|
6676
|
+
WavelengthVariationPagination_default,
|
|
6674
6677
|
{
|
|
6675
6678
|
totalPages,
|
|
6676
6679
|
current,
|
|
@@ -6683,7 +6686,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6683
6686
|
);
|
|
6684
6687
|
} else if (style3 === "outlined") {
|
|
6685
6688
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6686
|
-
|
|
6689
|
+
WavelengthVariationPagination_default,
|
|
6687
6690
|
{
|
|
6688
6691
|
totalPages,
|
|
6689
6692
|
current,
|
|
@@ -6696,7 +6699,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6696
6699
|
);
|
|
6697
6700
|
} else if (style3 === "contained") {
|
|
6698
6701
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6699
|
-
|
|
6702
|
+
WavelengthVariationPagination_default,
|
|
6700
6703
|
{
|
|
6701
6704
|
totalPages,
|
|
6702
6705
|
current,
|
|
@@ -6709,7 +6712,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6709
6712
|
);
|
|
6710
6713
|
} else {
|
|
6711
6714
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6712
|
-
|
|
6715
|
+
WavelengthVariationPagination_default,
|
|
6713
6716
|
{
|
|
6714
6717
|
totalPages,
|
|
6715
6718
|
current,
|
|
@@ -6721,7 +6724,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6721
6724
|
);
|
|
6722
6725
|
}
|
|
6723
6726
|
}
|
|
6724
|
-
var
|
|
6727
|
+
var WavelengthDefaultPagination_default = DefaultPagination;
|
|
6725
6728
|
|
|
6726
6729
|
// src/components/TextField/WavelengthTextField.tsx
|
|
6727
6730
|
|
|
@@ -6790,6 +6793,8 @@ function WavelengthTextField(props) {
|
|
|
6790
6793
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6791
6794
|
_TextField2.default,
|
|
6792
6795
|
{
|
|
6796
|
+
value: props.value,
|
|
6797
|
+
inputRef: props.inputRef,
|
|
6793
6798
|
type: props.type,
|
|
6794
6799
|
required: props.required,
|
|
6795
6800
|
label: props.label,
|
|
@@ -6832,6 +6837,8 @@ function WavelengthTextField(props) {
|
|
|
6832
6837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6833
6838
|
StandardTextField,
|
|
6834
6839
|
{
|
|
6840
|
+
value: props.value,
|
|
6841
|
+
ref: props.inputRef,
|
|
6835
6842
|
type: props.type,
|
|
6836
6843
|
id: "custom-input",
|
|
6837
6844
|
placeholder: props.placeholder,
|
|
@@ -7212,7 +7219,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages }) => {
|
|
|
7212
7219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: headers }) }),
|
|
7213
7220
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tbody", { children: rows })
|
|
7214
7221
|
] }) }),
|
|
7215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledNavBoxDiv, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledNavBoxDiv, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthDefaultPagination_default, { totalPages, currentPageNumber: currentPage, onPageChange: setCurrentPage, style: "circular" }) })
|
|
7216
7223
|
] });
|
|
7217
7224
|
};
|
|
7218
7225
|
|
|
@@ -7287,7 +7294,7 @@ var SampleComponent2 = ({
|
|
|
7287
7294
|
|
|
7288
7295
|
|
|
7289
7296
|
|
|
7290
|
-
exports.
|
|
7297
|
+
exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.DefaultCarousel = DefaultCarousel; exports.DefaultPagination = DefaultPagination; exports.SampleComponent = SampleComponent2; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner2; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton2; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = 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.WavelengthTestSnackbar = WavelengthTestSnackbar; 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;
|
|
7291
7298
|
/*! Bundled license information:
|
|
7292
7299
|
|
|
7293
7300
|
react-is/cjs/react-is.production.min.js:
|