@wavelengthusaf/components 2.5.1 → 2.6.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 +4 -0
- package/dist/cjs/index.cjs +44 -6
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +16 -3
- package/dist/components/PageComponents/WavelengthProgressBar.d.ts +13 -0
- package/dist/components/PageComponents/WavelengthProgressBar.d.ts.map +1 -0
- package/dist/components/modals/WavelengthConfirmationModal.d.ts +1 -1
- package/dist/components/modals/WavelengthConfirmationModal.d.ts.map +1 -1
- package/dist/components/search/WavelengthSearch.d.ts +1 -1
- package/dist/components/search/WavelengthSearch.d.ts.map +1 -1
- package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts +2 -1
- package/dist/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.d.ts.map +1 -1
- package/dist/esm/index.d.ts +16 -3
- package/dist/esm/index.js +222 -184
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.cjs
CHANGED
|
@@ -4677,9 +4677,46 @@ function WavelengthDragAndDrop({
|
|
|
4677
4677
|
);
|
|
4678
4678
|
}
|
|
4679
4679
|
|
|
4680
|
+
// src/components/PageComponents/WavelengthProgressBar.tsx
|
|
4681
|
+
var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);
|
|
4682
|
+
var _LinearProgress = require('@mui/material/LinearProgress'); var _LinearProgress2 = _interopRequireDefault(_LinearProgress);
|
|
4683
|
+
|
|
4684
|
+
function WavelengthProgressBar({ width: width2 = "425px", height: height2 = "12px", backgroundColor: backgroundColor2, borderRadius: borderRadius2 = "24px", progressColor, value, name, textColor = "inherit" }) {
|
|
4685
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
4686
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", width: width2, justifyContent: "space-between", color: textColor }, children: [
|
|
4687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "", children: name }),
|
|
4688
|
+
value === 100 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { htmlFor: "", children: [
|
|
4689
|
+
"Complete! - ",
|
|
4690
|
+
value,
|
|
4691
|
+
"%"
|
|
4692
|
+
] }),
|
|
4693
|
+
value !== 100 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { htmlFor: "", children: [
|
|
4694
|
+
"Uploading - ",
|
|
4695
|
+
value,
|
|
4696
|
+
"%"
|
|
4697
|
+
] })
|
|
4698
|
+
] }),
|
|
4699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Box2.default, { sx: { width: width2, height: "12px", borderRadius: "24px" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4700
|
+
_LinearProgress2.default,
|
|
4701
|
+
{
|
|
4702
|
+
variant: "determinate",
|
|
4703
|
+
value,
|
|
4704
|
+
style: { backgroundColor: backgroundColor2, height: height2, borderRadius: borderRadius2, border: "2px solid black" },
|
|
4705
|
+
sx: {
|
|
4706
|
+
"& .MuiLinearProgress-bar": {
|
|
4707
|
+
backgroundColor: progressColor,
|
|
4708
|
+
borderRadius: borderRadius2,
|
|
4709
|
+
border: "1px solid black"
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
}
|
|
4713
|
+
) })
|
|
4714
|
+
] });
|
|
4715
|
+
}
|
|
4716
|
+
|
|
4680
4717
|
// src/components/footers/WavelengthFooter/WavelengthFooter.tsx
|
|
4681
4718
|
|
|
4682
|
-
|
|
4719
|
+
|
|
4683
4720
|
var _Container = require('@mui/material/Container'); var _Container2 = _interopRequireDefault(_Container);
|
|
4684
4721
|
|
|
4685
4722
|
|
|
@@ -4885,7 +4922,7 @@ function DefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
|
4885
4922
|
var _Divider = require('@mui/material/Divider'); var _Divider2 = _interopRequireDefault(_Divider);
|
|
4886
4923
|
|
|
4887
4924
|
|
|
4888
|
-
function WavelengthPlaneTrail({ trailDir = "right", id }) {
|
|
4925
|
+
function WavelengthPlaneTrail({ trailDir = "right", id, color: color2 }) {
|
|
4889
4926
|
let direction = "row-reverse";
|
|
4890
4927
|
let flippy = "";
|
|
4891
4928
|
if (trailDir !== "right") {
|
|
@@ -4903,11 +4940,11 @@ function WavelengthPlaneTrail({ trailDir = "right", id }) {
|
|
|
4903
4940
|
"path",
|
|
4904
4941
|
{
|
|
4905
4942
|
d: "M4.16662 14.8988L5.76079 14.8988L8.16454 18.1359L18.2616 18.1359L14.1291 4.16669L16.2425 4.16669L24.5075 18.1359L33.985 18.1359C34.5022 18.1359 34.9422 18.3172 35.305 18.68C35.6677 19.0428 35.8491 19.4828 35.8491 20C35.8491 20.5172 35.6677 20.9572 35.305 21.32C34.9422 21.6828 34.5022 21.8642 33.985 21.8642L24.5075 21.8642L16.2425 35.8334L14.1291 35.8334L18.2616 21.8642L8.19662 21.8642L5.76079 25.1013L4.16662 25.1013L5.64329 20L4.16662 14.8988Z",
|
|
4906
|
-
fill: palette2.primary
|
|
4943
|
+
fill: color2 ? color2 : palette2.primary
|
|
4907
4944
|
}
|
|
4908
4945
|
) })
|
|
4909
4946
|
] }) }),
|
|
4910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Grid2.default, { item: true, style: { width: "75%" }, id: "trailExample", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, { variant: "middle", sx: { bgcolor: palette2.primary } }) })
|
|
4947
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Grid2.default, { item: true, style: { width: "75%" }, id: "trailExample", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, { variant: "middle", sx: { bgcolor: color2 ? color2 : palette2.primary } }) })
|
|
4911
4948
|
] });
|
|
4912
4949
|
}
|
|
4913
4950
|
|
|
@@ -4943,7 +4980,7 @@ function WavelengthConfirmationModal(props) {
|
|
|
4943
4980
|
/* @__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', _7 => _7.textObj, 'optionalAccess', _8 => _8.title]) }),
|
|
4944
4981
|
/* @__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', _9 => _9.textObj, 'optionalAccess', _10 => _10.dialog]) }),
|
|
4945
4982
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", justifyContent: "flex-end", marginTop: "40px", gap: "8px" }, children: [
|
|
4946
|
-
props.
|
|
4983
|
+
props.cancelButton,
|
|
4947
4984
|
props.submitButton
|
|
4948
4985
|
] })
|
|
4949
4986
|
]
|
|
@@ -5964,7 +6001,8 @@ function WavelengthTextField(props) {
|
|
|
5964
6001
|
|
|
5965
6002
|
|
|
5966
6003
|
|
|
5967
|
-
|
|
6004
|
+
|
|
6005
|
+
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.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFooter = WavelengthFooter; 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 = WavelengthTitleBar; exports.add = add; exports.ascendingRange = ascendingRange; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.range = range; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
|
|
5968
6006
|
/*! Bundled license information:
|
|
5969
6007
|
|
|
5970
6008
|
react-is/cjs/react-is.production.min.js:
|