@wavelengthusaf/components 2.1.0 → 2.2.2
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 +9 -1
- package/dist/components/PageComponents/WavelengthSpinningLogo.d.ts.map +1 -1
- package/dist/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.d.ts.map +1 -1
- package/dist/components/headers/WavelengthTitleBar/{WavelengthBannerHeader.d.ts → WavelengthBanner.d.ts} +4 -4
- package/dist/components/headers/WavelengthTitleBar/WavelengthBanner.d.ts.map +1 -0
- package/dist/components/modals/WavelengthDropdown.d.ts.map +1 -1
- package/dist/components/sliders/WavelengthSlider.d.ts +17 -0
- package/dist/components/sliders/WavelengthSlider.d.ts.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/headers/WavelengthTitleBar/WavelengthBannerHeader.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -14,6 +14,14 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 2.2.1
|
|
18
|
+
|
|
19
|
+
- Renamed `WavelengthBannerHeader` to `WavelengthBanner` to reflect its more broader, possible use.
|
|
20
|
+
|
|
21
|
+
### 2.2.0
|
|
22
|
+
|
|
23
|
+
- A new component was added, The WavelengthSlider Component.
|
|
24
|
+
|
|
17
25
|
### 2.1.0
|
|
18
26
|
|
|
19
27
|
- Added Carousel components to Mono Repo, Page Carousel with route, and information ready to be used.
|
|
@@ -26,7 +34,7 @@ npm install @wavelengthusaf/components
|
|
|
26
34
|
|
|
27
35
|
- Added BoxShadow prop to menuSx for the dropdown menu component
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
### 2.0.0
|
|
30
38
|
|
|
31
39
|
- Migrated to a Mono Repo; some minor updates to various components were made throughout the package.
|
|
32
40
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WavelengthSpinningLogo.d.ts","sourceRoot":"","sources":["../../../src/components/PageComponents/WavelengthSpinningLogo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WavelengthSpinningLogo.d.ts","sourceRoot":"","sources":["../../../src/components/PageComponents/WavelengthSpinningLogo.tsx"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,cAAc,GAAG,eAAe,GAAG,cAAc,GAAG,UAAU,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,6BAA6B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,iBAAiB,2CA2D3G;AAED,eAAe,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WavelengthAutocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAG3E,UAAU,2BAA2B;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AACD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAenF;AACD,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,KAAW,EAAE,OAAoB,EAAE,KAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"WavelengthAutocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/WavelengthDropdownButton/WavelengthAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAG3E,UAAU,2BAA2B;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AACD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAenF;AACD,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,KAAW,EAAE,OAAoB,EAAE,KAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,2BAA2B,2CAmE7K;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface WavelengthBannerProps {
|
|
2
2
|
classification?: "unclassified" | "controlled" | "controlled unclassified information" | "cui" | "u" | "confidential" | "c" | "secret" | "s" | "top secret" | "ts" | string;
|
|
3
3
|
control?: ("cui" | "sci" | "fouo" | "nf" | "propin" | "frd" | "gbr s" | "si" | "si-g" | "tk" | "relido" | "rd" | "rd-n" | "rel" | "fvey" | "hcs" | string)[];
|
|
4
4
|
headerColor?: string;
|
|
5
5
|
textColor?: string;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function
|
|
9
|
-
export default
|
|
10
|
-
//# sourceMappingURL=
|
|
8
|
+
export declare function WavelengthBanner({ classification, control, headerColor, textColor, id }: WavelengthBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default WavelengthBanner;
|
|
10
|
+
//# sourceMappingURL=WavelengthBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WavelengthBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/headers/WavelengthTitleBar/WavelengthBanner.tsx"],"names":[],"mappings":"AAGA,UAAU,qBAAqB;IAC7B,cAAc,CAAC,EAAE,cAAc,GAAG,YAAY,GAAG,qCAAqC,GAAG,KAAK,GAAG,GAAG,GAAG,cAAc,GAAG,GAAG,GAAG,QAAQ,GAAG,GAAG,GAAG,YAAY,GAAG,IAAI,GAAG,MAAM,CAAC;IAC5K,OAAO,CAAC,EAAE,CAAC,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC,EAAE,CAAC;IAC7J,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,gBAAgB,CAAC,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,qBAAqB,2CAmD9G;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WavelengthDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/modals/WavelengthDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAmC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMhF,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AACD,UAAU,WAAW;IACnB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;CAC9D;AACD,UAAU,WAAW;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"WavelengthDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/modals/WavelengthDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAmC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMhF,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AACD,UAAU,WAAW;IACnB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;CAC9D;AACD,UAAU,WAAW;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,aAAa,2CAiH9G;AAED,QAAA,MAAM,wBAAwB,sHAA+B,CAAC;AAC9D,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Mark } from "@mui/material/Slider/useSlider.types";
|
|
2
|
+
interface sliderProps {
|
|
3
|
+
width?: string;
|
|
4
|
+
labelColor?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
value: number;
|
|
7
|
+
valueDisplayed?: boolean;
|
|
8
|
+
minVal: number;
|
|
9
|
+
maxVal: number;
|
|
10
|
+
step: number;
|
|
11
|
+
handleChange: (event: Event, newValue: number | number[]) => void;
|
|
12
|
+
labelFunc?(val: number): string;
|
|
13
|
+
marks?: Mark[];
|
|
14
|
+
}
|
|
15
|
+
export declare function WavelengthSlider({ width, color, valueDisplayed, marks, labelColor, value, maxVal, minVal, step, labelFunc, handleChange }: sliderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default WavelengthSlider;
|
|
17
|
+
//# sourceMappingURL=WavelengthSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WavelengthSlider.d.ts","sourceRoot":"","sources":["../../../src/components/sliders/WavelengthSlider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAG5D,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IAEd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAClE,SAAS,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAe,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAY,EAAE,MAAM,EAAE,IAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,WAAW,2CAwB1K;AAED,eAAe,gBAAgB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export * from "./components/PageComponents/WavelengthSpinningLogo";
|
|
|
20
20
|
export * from "./components/PageComponents/WavelengthSpinningLogoComponent";
|
|
21
21
|
export * from "./components/footers/WavelengthFooter/WavelengthFooter";
|
|
22
22
|
export * from "./components/headers/WavelengthTitleBar/WavelengthTitleBar";
|
|
23
|
-
export * from "./components/headers/WavelengthTitleBar/
|
|
23
|
+
export * from "./components/headers/WavelengthTitleBar/WavelengthBanner";
|
|
24
24
|
export * from "./components/logos/applogo/AppLogo";
|
|
25
25
|
export * from "./components/CSFD/ManyPlanes";
|
|
26
26
|
export * from "./components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail";
|
|
@@ -32,6 +32,7 @@ export * from "./components/modals/WavelengthDropdown";
|
|
|
32
32
|
export * from "./components/snackbars/WavelengthSnackbar";
|
|
33
33
|
export * from "./components/snackbars/WavelengthStandardSnackbar";
|
|
34
34
|
export * from "./components/snackbars/TestSnackbar";
|
|
35
|
+
export * from "./components/sliders/WavelengthSlider";
|
|
35
36
|
export * from "./components/carousels/WavelengthDefaultCarousel";
|
|
36
37
|
export * from "./components/carousels/sliderCarousel";
|
|
37
38
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,wDAAwD,CAAC;AACvE,cAAc,wEAAwE,CAAC;AACvF,cAAc,sEAAsE,CAAC;AACrF,cAAc,+CAA+C,CAAC;AAG9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,mFAAmF,CAAC;AAElG,cAAc,8CAA8C,CAAC;AAG7D,cAAc,iDAAiD,CAAC;AAGhE,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAG5E,cAAc,wDAAwD,CAAC;AAGvE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,wDAAwD,CAAC;AACvE,cAAc,wEAAwE,CAAC;AACvF,cAAc,sEAAsE,CAAC;AACrF,cAAc,+CAA+C,CAAC;AAG9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,mFAAmF,CAAC;AAElG,cAAc,8CAA8C,CAAC;AAG7D,cAAc,iDAAiD,CAAC;AAGhE,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAG5E,cAAc,wDAAwD,CAAC;AAGvE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,0DAA0D,CAAC;AAGzE,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAG7C,cAAc,mEAAmE,CAAC;AAGlF,cAAc,6BAA6B,CAAC;AAG5C,cAAc,iDAAiD,CAAC;AAChE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AAGvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AAGpD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4224,9 +4224,9 @@ function WavelengthTitleBar({ id }) {
|
|
|
4224
4224
|
] }) }) });
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
-
// src/components/headers/WavelengthTitleBar/
|
|
4227
|
+
// src/components/headers/WavelengthTitleBar/WavelengthBanner.tsx
|
|
4228
4228
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4229
|
-
function
|
|
4229
|
+
function WavelengthBanner({ classification, control, headerColor, textColor, id }) {
|
|
4230
4230
|
const palette2 = getPalette();
|
|
4231
4231
|
if (classification === "unclassified") {
|
|
4232
4232
|
if (control && control.includes("cui")) {
|
|
@@ -4587,8 +4587,6 @@ function WavelengthDropdown({ id, options, buttonSx, width: width2, buttonText,
|
|
|
4587
4587
|
backgroundColor: `${myMenusx.backgroundColor}`
|
|
4588
4588
|
},
|
|
4589
4589
|
"& .MuiMenu-list": {
|
|
4590
|
-
// paddingTop: "6px",
|
|
4591
|
-
// paddingBottom: "6px",
|
|
4592
4590
|
borderBottomLeftRadius: "8px",
|
|
4593
4591
|
borderBottomRightRadius: "8px",
|
|
4594
4592
|
borderLeft: `1px solid ${myMenusx.borderColor}`,
|
|
@@ -4796,6 +4794,34 @@ function TestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign
|
|
|
4796
4794
|
) });
|
|
4797
4795
|
}
|
|
4798
4796
|
|
|
4797
|
+
// src/components/sliders/WavelengthSlider.tsx
|
|
4798
|
+
import Box5 from "@mui/material/Box";
|
|
4799
|
+
import Slider from "@mui/material/Slider";
|
|
4800
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4801
|
+
function WavelengthSlider({ width: width2 = "300px", color: color2, valueDisplayed, marks, labelColor, value, maxVal = 100, minVal, step = 1, labelFunc, handleChange }) {
|
|
4802
|
+
const on = valueDisplayed ? "on" : "off";
|
|
4803
|
+
return /* @__PURE__ */ jsx27(Box5, { sx: { width: width2 }, children: /* @__PURE__ */ jsx27(
|
|
4804
|
+
Slider,
|
|
4805
|
+
{
|
|
4806
|
+
"aria-label": "Custom marks",
|
|
4807
|
+
value,
|
|
4808
|
+
getAriaValueText: labelFunc,
|
|
4809
|
+
step,
|
|
4810
|
+
marks,
|
|
4811
|
+
valueLabelDisplay: on,
|
|
4812
|
+
max: maxVal,
|
|
4813
|
+
min: minVal,
|
|
4814
|
+
onChange: handleChange,
|
|
4815
|
+
sx: {
|
|
4816
|
+
color: color2,
|
|
4817
|
+
"& .MuiSlider-markLabel": {
|
|
4818
|
+
color: labelColor
|
|
4819
|
+
}
|
|
4820
|
+
}
|
|
4821
|
+
}
|
|
4822
|
+
) });
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4799
4825
|
// src/components/carousels/WavelengthDefaultCarousel.tsx
|
|
4800
4826
|
import { useState as useState3 } from "react";
|
|
4801
4827
|
import IconButton5 from "@mui/material/IconButton";
|
|
@@ -4807,7 +4833,7 @@ import Card from "@mui/material/Card";
|
|
|
4807
4833
|
import CardContent from "@mui/material/CardContent";
|
|
4808
4834
|
import CardMedia from "@mui/material/CardMedia";
|
|
4809
4835
|
import CardActionArea from "@mui/material/CardActionArea";
|
|
4810
|
-
import { jsx as
|
|
4836
|
+
import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4811
4837
|
var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight, cardWidth }) => {
|
|
4812
4838
|
const [currentIndex, setCurrentIndex] = useState3(0);
|
|
4813
4839
|
const adjustButtonSize = buttonSize !== void 0 ? buttonSize : 70;
|
|
@@ -4824,7 +4850,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
4824
4850
|
const handleClick = () => {
|
|
4825
4851
|
window.open(items[currentIndex].path, "_blank");
|
|
4826
4852
|
};
|
|
4827
|
-
return /* @__PURE__ */
|
|
4853
|
+
return /* @__PURE__ */ jsx28("div", { children: /* @__PURE__ */ jsx28("div", { children: /* @__PURE__ */ jsxs20(
|
|
4828
4854
|
Grid5,
|
|
4829
4855
|
{
|
|
4830
4856
|
container: true,
|
|
@@ -4833,8 +4859,8 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
4833
4859
|
alignItems: "center"
|
|
4834
4860
|
},
|
|
4835
4861
|
children: [
|
|
4836
|
-
/* @__PURE__ */
|
|
4837
|
-
/* @__PURE__ */
|
|
4862
|
+
/* @__PURE__ */ jsx28("div", { children: /* @__PURE__ */ jsx28(IconButton5, { onClick: handlePrev, sx: { margin: 1, color: "white" }, children: /* @__PURE__ */ jsx28(NavigateBeforeIcon, { style: { fontSize: adjustButtonSize } }) }) }),
|
|
4863
|
+
/* @__PURE__ */ jsx28(
|
|
4838
4864
|
Card,
|
|
4839
4865
|
{
|
|
4840
4866
|
sx: {
|
|
@@ -4842,15 +4868,15 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
4842
4868
|
maxHeight: adjustCardHeight
|
|
4843
4869
|
},
|
|
4844
4870
|
children: /* @__PURE__ */ jsxs20(CardActionArea, { onClick: handleClick, children: [
|
|
4845
|
-
/* @__PURE__ */
|
|
4871
|
+
/* @__PURE__ */ jsx28(CardMedia, { sx: { height: adjustImageHeight, width: adjustImageWidth }, image: items[currentIndex].image }),
|
|
4846
4872
|
/* @__PURE__ */ jsxs20(CardContent, { children: [
|
|
4847
|
-
/* @__PURE__ */
|
|
4848
|
-
/* @__PURE__ */
|
|
4873
|
+
/* @__PURE__ */ jsx28(Typography4, { variant: "h4", children: items[currentIndex].title }),
|
|
4874
|
+
/* @__PURE__ */ jsx28(Typography4, { variant: "body1", children: items[currentIndex].description })
|
|
4849
4875
|
] })
|
|
4850
4876
|
] })
|
|
4851
4877
|
}
|
|
4852
4878
|
),
|
|
4853
|
-
/* @__PURE__ */
|
|
4879
|
+
/* @__PURE__ */ jsx28("div", { children: /* @__PURE__ */ jsx28(IconButton5, { onClick: handleNext, sx: { margin: 1, color: "white" }, children: /* @__PURE__ */ jsx28(NavigateNextIcon, { style: { fontSize: adjustButtonSize } }) }) })
|
|
4854
4880
|
]
|
|
4855
4881
|
}
|
|
4856
4882
|
) }) });
|
|
@@ -4863,7 +4889,7 @@ import Card2 from "@mui/material/Card";
|
|
|
4863
4889
|
import CardContent2 from "@mui/material/CardContent";
|
|
4864
4890
|
import CardMedia2 from "@mui/material/CardMedia";
|
|
4865
4891
|
import CardActionArea2 from "@mui/material/CardActionArea";
|
|
4866
|
-
import { jsx as
|
|
4892
|
+
import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4867
4893
|
var delay = 2500;
|
|
4868
4894
|
var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth }) => {
|
|
4869
4895
|
const [index, setIndex] = useState4(0);
|
|
@@ -4906,7 +4932,7 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
4906
4932
|
boxShadow: isHovered ? "5px 5px 8px rgba(222, 222, 222, 0.362), 10px 10px 8px rgba(152, 133, 133, 0.392), 15px 15px 8px rgba(139, 154, 139, 0.303)" : "none"
|
|
4907
4933
|
}
|
|
4908
4934
|
};
|
|
4909
|
-
return /* @__PURE__ */
|
|
4935
|
+
return /* @__PURE__ */ jsx29("div", { style: styles.carouselcontainer, children: /* @__PURE__ */ jsx29("div", { className: "my-animation", style: styles.carouselTrackStyle, children: /* @__PURE__ */ jsx29(
|
|
4910
4936
|
Grid6,
|
|
4911
4937
|
{
|
|
4912
4938
|
sx: {
|
|
@@ -4916,7 +4942,7 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
4916
4942
|
},
|
|
4917
4943
|
container: true,
|
|
4918
4944
|
spacing: 0.5,
|
|
4919
|
-
children: items.map((card) => /* @__PURE__ */
|
|
4945
|
+
children: items.map((card) => /* @__PURE__ */ jsx29("div", { children: /* @__PURE__ */ jsx29(
|
|
4920
4946
|
Card2,
|
|
4921
4947
|
{
|
|
4922
4948
|
sx: {
|
|
@@ -4927,10 +4953,10 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
4927
4953
|
onMouseEnter: () => setIsHovered(true),
|
|
4928
4954
|
onMouseLeave: () => setIsHovered(false),
|
|
4929
4955
|
children: /* @__PURE__ */ jsxs21(CardActionArea2, { href: card.path, children: [
|
|
4930
|
-
/* @__PURE__ */
|
|
4956
|
+
/* @__PURE__ */ jsx29(CardMedia2, { sx: { height: adjustCardHeight, width: adjustCardWith }, image: card.image }),
|
|
4931
4957
|
/* @__PURE__ */ jsxs21(CardContent2, { children: [
|
|
4932
|
-
/* @__PURE__ */
|
|
4933
|
-
/* @__PURE__ */
|
|
4958
|
+
/* @__PURE__ */ jsx29("h3", { children: card.title }),
|
|
4959
|
+
/* @__PURE__ */ jsx29("p", { children: card.description })
|
|
4934
4960
|
] })
|
|
4935
4961
|
] })
|
|
4936
4962
|
}
|
|
@@ -4950,7 +4976,7 @@ export {
|
|
|
4950
4976
|
TestSnackbar,
|
|
4951
4977
|
WavelengthAppTheme,
|
|
4952
4978
|
WavelengthAutocomplete,
|
|
4953
|
-
|
|
4979
|
+
WavelengthBanner,
|
|
4954
4980
|
WavelengthBox,
|
|
4955
4981
|
WavelengthButton,
|
|
4956
4982
|
WavelengthConfirmationModal,
|
|
@@ -4965,6 +4991,7 @@ export {
|
|
|
4965
4991
|
WavelengthPopUpMenu,
|
|
4966
4992
|
WavelengthSearch,
|
|
4967
4993
|
WavelengthSideBar,
|
|
4994
|
+
WavelengthSlider,
|
|
4968
4995
|
WavelengthSnackbar,
|
|
4969
4996
|
WavelengthSpinningLogo,
|
|
4970
4997
|
WavelengthSpinningOuterCircle,
|