@xyo-network/react-shared 2.81.1 → 2.81.3
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/dist/browser/components/LabeledTextFieldWrapper.d.cts +6 -0
- package/dist/browser/components/LabeledTextFieldWrapper.d.cts.map +1 -0
- package/dist/browser/components/LabeledTextFieldWrapper.d.mts +6 -0
- package/dist/browser/components/LabeledTextFieldWrapper.d.mts.map +1 -0
- package/dist/browser/components/LabeledTextFieldWrapper.d.ts +6 -0
- package/dist/browser/components/LabeledTextFieldWrapper.d.ts.map +1 -0
- package/dist/browser/components/index.d.cts +1 -0
- package/dist/browser/components/index.d.cts.map +1 -1
- package/dist/browser/components/index.d.mts +1 -0
- package/dist/browser/components/index.d.mts.map +1 -1
- package/dist/browser/components/index.d.ts +1 -0
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/index.cjs +83 -72
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +71 -60
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/components/LabeledTextFieldWrapper.d.cts +6 -0
- package/dist/neutral/components/LabeledTextFieldWrapper.d.cts.map +1 -0
- package/dist/neutral/components/LabeledTextFieldWrapper.d.mts +6 -0
- package/dist/neutral/components/LabeledTextFieldWrapper.d.mts.map +1 -0
- package/dist/neutral/components/LabeledTextFieldWrapper.d.ts +6 -0
- package/dist/neutral/components/LabeledTextFieldWrapper.d.ts.map +1 -0
- package/dist/neutral/components/index.d.cts +1 -0
- package/dist/neutral/components/index.d.cts.map +1 -1
- package/dist/neutral/components/index.d.mts +1 -0
- package/dist/neutral/components/index.d.mts.map +1 -1
- package/dist/neutral/components/index.d.ts +1 -0
- package/dist/neutral/components/index.d.ts.map +1 -1
- package/dist/neutral/index.cjs +83 -72
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +71 -60
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/components/LabeledTextFieldWrapper.d.cts +6 -0
- package/dist/node/components/LabeledTextFieldWrapper.d.cts.map +1 -0
- package/dist/node/components/LabeledTextFieldWrapper.d.mts +6 -0
- package/dist/node/components/LabeledTextFieldWrapper.d.mts.map +1 -0
- package/dist/node/components/LabeledTextFieldWrapper.d.ts +6 -0
- package/dist/node/components/LabeledTextFieldWrapper.d.ts.map +1 -0
- package/dist/node/components/index.d.cts +1 -0
- package/dist/node/components/index.d.cts.map +1 -1
- package/dist/node/components/index.d.mts +1 -0
- package/dist/node/components/index.d.mts.map +1 -1
- package/dist/node/components/index.d.ts +1 -0
- package/dist/node/components/index.d.ts.map +1 -1
- package/dist/node/index.cjs +84 -72
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +71 -60
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
- package/src/components/BasicHero/BasicHero.tsx +3 -3
- package/src/components/LabeledTextFieldWrapper.tsx +16 -0
- package/src/components/ThemeTokenAvatar/ThemeTokenAvatar.stories.tsx +2 -2
- package/src/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.stories.tsx +2 -2
- package/src/components/TokenBar/TokenBar.stories.tsx +1 -1
- package/src/components/TokenSummary/TokenSummary.stories.tsx +2 -2
- package/src/components/index.ts +1 -0
package/dist/neutral/index.js
CHANGED
|
@@ -152,7 +152,7 @@ var SubLinkSection = ({ backgroundImageAlignment, subLinkIcon, subLinkPath, subL
|
|
|
152
152
|
);
|
|
153
153
|
};
|
|
154
154
|
var ButtonSection = ({ href, to, buttonText }) => {
|
|
155
|
-
const isMobile =
|
|
155
|
+
const isMobile = useIsSmall();
|
|
156
156
|
return /* @__PURE__ */ jsx2(
|
|
157
157
|
ButtonEx,
|
|
158
158
|
{
|
|
@@ -194,7 +194,7 @@ var BasicHero = ({
|
|
|
194
194
|
sx,
|
|
195
195
|
...props
|
|
196
196
|
}) => {
|
|
197
|
-
const isMobile =
|
|
197
|
+
const isMobile = useIsSmall();
|
|
198
198
|
const { classes } = useGradientStyles();
|
|
199
199
|
return /* @__PURE__ */ jsx2(
|
|
200
200
|
FlexGrowCol,
|
|
@@ -361,10 +361,20 @@ var ErrorBoundary = class extends Component {
|
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
|
|
364
|
+
// src/components/LabeledTextFieldWrapper.tsx
|
|
365
|
+
import { Stack, Typography as Typography5 } from "@mui/material";
|
|
366
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
367
|
+
var LabeledTextFieldWrapper = ({ children, label, ...props }) => {
|
|
368
|
+
return /* @__PURE__ */ jsxs3(Stack, { flexDirection: "column", ...props, children: [
|
|
369
|
+
/* @__PURE__ */ jsx5(Typography5, { gutterBottom: true, variant: "caption", children: label }),
|
|
370
|
+
children
|
|
371
|
+
] });
|
|
372
|
+
};
|
|
373
|
+
|
|
364
374
|
// src/components/ListItemButtonEx.tsx
|
|
365
375
|
import { ListItemButton } from "@mui/material";
|
|
366
376
|
import { useNavigate } from "react-router-dom";
|
|
367
|
-
import { jsx as
|
|
377
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
368
378
|
var ListItemButtonExTo = ({ to, toOptions, onClick, ...props }) => {
|
|
369
379
|
const navigate = useNavigate();
|
|
370
380
|
const localOnClick = (event) => {
|
|
@@ -373,59 +383,59 @@ var ListItemButtonExTo = ({ to, toOptions, onClick, ...props }) => {
|
|
|
373
383
|
navigate(to, toOptions);
|
|
374
384
|
}
|
|
375
385
|
};
|
|
376
|
-
return /* @__PURE__ */
|
|
386
|
+
return /* @__PURE__ */ jsx6(ListItemButton, { onClick: localOnClick, ...props });
|
|
377
387
|
};
|
|
378
388
|
var ListItemButtonEx = ({ to, ...props }) => {
|
|
379
|
-
return to ? /* @__PURE__ */
|
|
389
|
+
return to ? /* @__PURE__ */ jsx6(ListItemButtonExTo, { to, ...props }) : /* @__PURE__ */ jsx6(ListItemButton, { ...props });
|
|
380
390
|
};
|
|
381
391
|
|
|
382
392
|
// src/components/LoadResult.tsx
|
|
383
393
|
import { FlexGrowRow as FlexGrowRow2 } from "@xylabs/react-flexbox";
|
|
384
394
|
|
|
385
395
|
// src/components/NotFound.tsx
|
|
386
|
-
import { Typography as
|
|
396
|
+
import { Typography as Typography6 } from "@mui/material";
|
|
387
397
|
import { FlexGrowCol as FlexGrowCol2 } from "@xylabs/react-flexbox";
|
|
388
|
-
import { jsx as
|
|
398
|
+
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
389
399
|
var NotFound = (props) => {
|
|
390
|
-
return /* @__PURE__ */
|
|
391
|
-
/* @__PURE__ */
|
|
392
|
-
/* @__PURE__ */
|
|
400
|
+
return /* @__PURE__ */ jsxs4(FlexGrowCol2, { ...props, children: [
|
|
401
|
+
/* @__PURE__ */ jsx7(Typography6, { variant: "h2", children: "Sorry!" }),
|
|
402
|
+
/* @__PURE__ */ jsx7(Typography6, { marginY: 3, variant: "body2", children: "Can't find anything here" })
|
|
393
403
|
] });
|
|
394
404
|
};
|
|
395
405
|
|
|
396
406
|
// src/components/LoadResult.tsx
|
|
397
|
-
import { Fragment, jsx as
|
|
407
|
+
import { Fragment, jsx as jsx8 } from "react/jsx-runtime";
|
|
398
408
|
function LoadResult(props) {
|
|
399
409
|
const { notFound, error, searchResult, children } = props;
|
|
400
410
|
if (notFound) {
|
|
401
|
-
return /* @__PURE__ */
|
|
411
|
+
return /* @__PURE__ */ jsx8(NotFound, {});
|
|
402
412
|
}
|
|
403
413
|
if (error) {
|
|
404
|
-
return /* @__PURE__ */
|
|
414
|
+
return /* @__PURE__ */ jsx8(Fragment, { children });
|
|
405
415
|
}
|
|
406
|
-
return searchResult === void 0 ? /* @__PURE__ */
|
|
416
|
+
return searchResult === void 0 ? /* @__PURE__ */ jsx8(FlexGrowRow2, { busy: true, minHeight: "50px" }) : /* @__PURE__ */ jsx8(Fragment, { children });
|
|
407
417
|
}
|
|
408
418
|
|
|
409
419
|
// src/components/Pipe.tsx
|
|
410
|
-
import { Typography as
|
|
411
|
-
import { jsx as
|
|
420
|
+
import { Typography as Typography7 } from "@mui/material";
|
|
421
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
412
422
|
var Pipe = (props) => {
|
|
413
|
-
return /* @__PURE__ */
|
|
423
|
+
return /* @__PURE__ */ jsx9(Typography7, { marginX: 1, component: "span", ...props, children: "|" });
|
|
414
424
|
};
|
|
415
425
|
|
|
416
426
|
// src/components/pluginValidation/DataMissing.tsx
|
|
417
427
|
import { Alert, AlertTitle } from "@mui/material";
|
|
418
|
-
import { jsx as
|
|
428
|
+
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
419
429
|
var PayloadDataMissing = ({ alertBody, ...props }) => {
|
|
420
|
-
return /* @__PURE__ */
|
|
421
|
-
/* @__PURE__ */
|
|
430
|
+
return /* @__PURE__ */ jsxs5(Alert, { severity: "warning", ...props, children: [
|
|
431
|
+
/* @__PURE__ */ jsx10(AlertTitle, { children: "Missing Data" }),
|
|
422
432
|
alertBody ?? "Payload is missing required data to render correctly"
|
|
423
433
|
] });
|
|
424
434
|
};
|
|
425
435
|
|
|
426
436
|
// src/components/ScrollTableOnSm.tsx
|
|
427
437
|
import { styled as styled2 } from "@mui/material";
|
|
428
|
-
import { jsx as
|
|
438
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
429
439
|
var StyledScrollTableOnSm = styled2("div")(({ theme }) => ({
|
|
430
440
|
[theme.breakpoints.down("md")]: {
|
|
431
441
|
overflowX: "scroll"
|
|
@@ -433,16 +443,16 @@ var StyledScrollTableOnSm = styled2("div")(({ theme }) => ({
|
|
|
433
443
|
display: "flex",
|
|
434
444
|
flexGrow: 1
|
|
435
445
|
}));
|
|
436
|
-
var ScrollTableOnSm = ({ children }) => /* @__PURE__ */
|
|
446
|
+
var ScrollTableOnSm = ({ children }) => /* @__PURE__ */ jsx11(StyledScrollTableOnSm, { children });
|
|
437
447
|
|
|
438
448
|
// src/components/SectionSpacingRow/SectionSpacingRow.tsx
|
|
439
449
|
import { useTheme as useTheme3 } from "@mui/material";
|
|
440
450
|
import { FlexGrowRow as FlexGrowRow3 } from "@xylabs/react-flexbox";
|
|
441
451
|
import { forwardRef as forwardRef2 } from "react";
|
|
442
|
-
import { jsx as
|
|
452
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
443
453
|
var SectionSpacingRow = forwardRef2(({ children, sx, ...props }, ref) => {
|
|
444
454
|
const theme = useTheme3();
|
|
445
|
-
return /* @__PURE__ */
|
|
455
|
+
return /* @__PURE__ */ jsx12(
|
|
446
456
|
FlexGrowRow3,
|
|
447
457
|
{
|
|
448
458
|
sx: {
|
|
@@ -466,7 +476,7 @@ import { forwardRef as forwardRef4 } from "react";
|
|
|
466
476
|
import { styled as styled3, TableCell } from "@mui/material";
|
|
467
477
|
import { LinkEx as LinkEx2 } from "@xylabs/react-link";
|
|
468
478
|
import { forwardRef as forwardRef3, useMemo } from "react";
|
|
469
|
-
import { jsx as
|
|
479
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
470
480
|
var EllipsisTableCellRoot = styled3(TableCell, {
|
|
471
481
|
name: "EllipsisTableCell",
|
|
472
482
|
shouldForwardProp: (prop) => prop !== "width",
|
|
@@ -481,29 +491,29 @@ var EllipsisTableCellWithRef = forwardRef3(
|
|
|
481
491
|
return children;
|
|
482
492
|
}
|
|
483
493
|
if (href || link || to) {
|
|
484
|
-
return /* @__PURE__ */
|
|
494
|
+
return /* @__PURE__ */ jsx13(LinkEx2, { title: value, to, href, target: href ? "_blank" : void 0, children: value });
|
|
485
495
|
}
|
|
486
496
|
return value;
|
|
487
497
|
}, [children, href, link, to, value]);
|
|
488
|
-
return /* @__PURE__ */
|
|
498
|
+
return /* @__PURE__ */ jsx13(EllipsisTableCellRoot, { ref, ...props, children: /* @__PURE__ */ jsx13(EllipsizeBox, { sx: { cursor: link || to || href ? "pointer" : "inherit" }, children: data }) });
|
|
489
499
|
}
|
|
490
500
|
);
|
|
491
501
|
EllipsisTableCellWithRef.displayName = "EllipsisTableCell";
|
|
492
502
|
var EllipsisTableCell = EllipsisTableCellWithRef;
|
|
493
503
|
|
|
494
504
|
// src/components/TableCell/AddressTableCell.tsx
|
|
495
|
-
import { jsx as
|
|
505
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
496
506
|
var AddressTableCell = forwardRef4(({ value, archive, exploreDomain, link, ...props }, ref) => {
|
|
497
507
|
const href = exploreDomain && archive ? `${exploreDomain}/archive/${archive}/address/${value}` : void 0;
|
|
498
508
|
const to = exploreDomain === void 0 && archive ? `/archive/${archive}/address/${value}` : void 0;
|
|
499
|
-
return /* @__PURE__ */
|
|
509
|
+
return /* @__PURE__ */ jsx14(EllipsisTableCell, { value, href, to, ref, link, ...props });
|
|
500
510
|
});
|
|
501
511
|
AddressTableCell.displayName = "AddressTableCell";
|
|
502
512
|
|
|
503
513
|
// src/components/TableCell/HashTableCell.tsx
|
|
504
514
|
import { useEvent } from "@xyo-network/react-event";
|
|
505
515
|
import { useRef as useRef2 } from "react";
|
|
506
|
-
import { jsx as
|
|
516
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
507
517
|
var HashTableCell = ({ value, archive, dataType, network, exploreDomain, onHashClick, ...props }) => {
|
|
508
518
|
const ref = useRef2(null);
|
|
509
519
|
const [tableCellRef, dispatch] = useEvent(void 0, ref);
|
|
@@ -516,7 +526,7 @@ var HashTableCell = ({ value, archive, dataType, network, exploreDomain, onHashC
|
|
|
516
526
|
dispatch?.("hash", "click", value);
|
|
517
527
|
}
|
|
518
528
|
};
|
|
519
|
-
return /* @__PURE__ */
|
|
529
|
+
return /* @__PURE__ */ jsx15(
|
|
520
530
|
EllipsisTableCell,
|
|
521
531
|
{
|
|
522
532
|
onClick: handleCellClick,
|
|
@@ -531,30 +541,30 @@ var HashTableCell = ({ value, archive, dataType, network, exploreDomain, onHashC
|
|
|
531
541
|
|
|
532
542
|
// src/components/ThemeTokenAvatar/ThemeTokenAvatar.tsx
|
|
533
543
|
import { Avatar, useTheme as useTheme4 } from "@mui/material";
|
|
534
|
-
import { jsx as
|
|
544
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
535
545
|
var ThemeTokenAvatar = ({ ...props }) => {
|
|
536
546
|
const theme = useTheme4();
|
|
537
|
-
return /* @__PURE__ */
|
|
547
|
+
return /* @__PURE__ */ jsx16(Avatar, { sx: { background: theme.palette.common.white }, ...props });
|
|
538
548
|
};
|
|
539
549
|
|
|
540
550
|
// src/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.tsx
|
|
541
551
|
import { AvatarGroup } from "@mui/material";
|
|
542
|
-
import { jsx as
|
|
552
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
543
553
|
var ThemeTokenAvatarGroup = ({ images, ...props }) => {
|
|
544
|
-
return /* @__PURE__ */
|
|
554
|
+
return /* @__PURE__ */ jsx17(AvatarGroup, { ...props, children: images?.map((image, index) => /* @__PURE__ */ jsx17(ThemeTokenAvatar, { src: image }, index)) });
|
|
545
555
|
};
|
|
546
556
|
|
|
547
557
|
// src/components/TokenBar/TokenBar.tsx
|
|
548
|
-
import { Paper, Typography as
|
|
558
|
+
import { Paper, Typography as Typography8 } from "@mui/material";
|
|
549
559
|
import { FlexRow } from "@xylabs/react-flexbox";
|
|
550
|
-
import { jsx as
|
|
560
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
551
561
|
var TokenBar = ({ text1, text1Props, text1Suffix, text2, text2Props, text2Suffix, ...props }) => {
|
|
552
|
-
return /* @__PURE__ */
|
|
553
|
-
/* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ jsx18(Paper, { elevation: 0, className: "TokenBar-root", ...props, children: /* @__PURE__ */ jsxs6(FlexRow, { justifyContent: "space-between", children: [
|
|
563
|
+
/* @__PURE__ */ jsxs6(Typography8, { variant: "body1", fontWeight: 300, margin: 1, ...text1Props, children: [
|
|
554
564
|
text1,
|
|
555
565
|
text1Suffix
|
|
556
566
|
] }),
|
|
557
|
-
/* @__PURE__ */
|
|
567
|
+
/* @__PURE__ */ jsxs6(Typography8, { variant: "body1", fontWeight: 300, textTransform: "uppercase", color: "gray", margin: 1, ...text2Props, children: [
|
|
558
568
|
text2,
|
|
559
569
|
text2Suffix
|
|
560
570
|
] })
|
|
@@ -712,15 +722,15 @@ var useGetTokenData = (symbols) => {
|
|
|
712
722
|
};
|
|
713
723
|
|
|
714
724
|
// src/components/TokenSummary/TokenSummary.tsx
|
|
715
|
-
import { CardHeader, Typography as
|
|
716
|
-
import { Fragment as Fragment2, jsx as
|
|
725
|
+
import { CardHeader, Typography as Typography9 } from "@mui/material";
|
|
726
|
+
import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
717
727
|
var TokenSummary = ({ icon, symbol, symbolElement, children, ...props }) => {
|
|
718
|
-
return /* @__PURE__ */
|
|
719
|
-
/* @__PURE__ */
|
|
728
|
+
return /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
729
|
+
/* @__PURE__ */ jsx19(
|
|
720
730
|
CardHeader,
|
|
721
731
|
{
|
|
722
|
-
avatar: /* @__PURE__ */
|
|
723
|
-
title: /* @__PURE__ */
|
|
732
|
+
avatar: /* @__PURE__ */ jsx19(ThemeTokenAvatar, { src: icon, alt: symbol }),
|
|
733
|
+
title: /* @__PURE__ */ jsx19(Typography9, { variant: "h6", fontWeight: 300, textTransform: "uppercase", children: symbolElement ?? symbol }),
|
|
724
734
|
...props
|
|
725
735
|
}
|
|
726
736
|
),
|
|
@@ -729,11 +739,11 @@ var TokenSummary = ({ icon, symbol, symbolElement, children, ...props }) => {
|
|
|
729
739
|
};
|
|
730
740
|
|
|
731
741
|
// src/components/TypographyEx.tsx
|
|
732
|
-
import { Typography as
|
|
733
|
-
import { jsx as
|
|
742
|
+
import { Typography as Typography10 } from "@mui/material";
|
|
743
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
734
744
|
var TypographyEx = ({ gradient, ...props }) => {
|
|
735
745
|
const { classes } = useGradientStyles();
|
|
736
|
-
return /* @__PURE__ */
|
|
746
|
+
return /* @__PURE__ */ jsx20(Typography10, { className: gradient === "text" ? classes().heading : void 0, ...props });
|
|
737
747
|
};
|
|
738
748
|
|
|
739
749
|
// src/contexts/contextEx/create.ts
|
|
@@ -759,7 +769,7 @@ var ResolvedDivinerContext = () => createContextEx();
|
|
|
759
769
|
|
|
760
770
|
// src/contexts/diviner/Provider.tsx
|
|
761
771
|
import { useEffect as useEffect2, useState as useState3 } from "react";
|
|
762
|
-
import { jsx as
|
|
772
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
763
773
|
var ResolvedDivinerProvider = ({ diviner: divinerProp, required = false, children, context }) => {
|
|
764
774
|
const [diviner, setDiviner] = useState3(divinerProp);
|
|
765
775
|
useEffect2(() => {
|
|
@@ -774,7 +784,7 @@ var ResolvedDivinerProvider = ({ diviner: divinerProp, required = false, childre
|
|
|
774
784
|
return diviner;
|
|
775
785
|
}
|
|
776
786
|
};
|
|
777
|
-
return /* @__PURE__ */
|
|
787
|
+
return /* @__PURE__ */ jsx21(
|
|
778
788
|
context.Provider,
|
|
779
789
|
{
|
|
780
790
|
value: {
|
|
@@ -792,10 +802,10 @@ var ListModeContext = createContextEx();
|
|
|
792
802
|
|
|
793
803
|
// src/contexts/ListMode/Provider.tsx
|
|
794
804
|
import { useState as useState4 } from "react";
|
|
795
|
-
import { jsx as
|
|
805
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
796
806
|
var ListModeProvider = ({ children, defaultListMode }) => {
|
|
797
807
|
const [listMode, setListMode] = useState4(defaultListMode ?? "default");
|
|
798
|
-
return /* @__PURE__ */
|
|
808
|
+
return /* @__PURE__ */ jsx22(
|
|
799
809
|
ListModeContext.Provider,
|
|
800
810
|
{
|
|
801
811
|
value: {
|
|
@@ -889,14 +899,14 @@ import {
|
|
|
889
899
|
TimerRounded as TimerRoundedIcon,
|
|
890
900
|
VisibilityRounded as VisibilityRoundedIcon
|
|
891
901
|
} from "@mui/icons-material";
|
|
892
|
-
import { jsx as
|
|
902
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
893
903
|
var networkComponents = [
|
|
894
|
-
{ icon: (props) => /* @__PURE__ */
|
|
895
|
-
{ icon: (props) => /* @__PURE__ */
|
|
896
|
-
{ icon: (props) => /* @__PURE__ */
|
|
897
|
-
{ icon: (props) => /* @__PURE__ */
|
|
898
|
-
{ icon: (props) => /* @__PURE__ */
|
|
899
|
-
{ icon: (props) => /* @__PURE__ */
|
|
904
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(HubRoundedIcon, { ...props }), name: "Node", slug: "node" },
|
|
905
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(TimerRoundedIcon, { ...props }), name: "Sentinel", slug: "sentinel" },
|
|
906
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(InsertLinkRoundedIcon, { ...props }), name: "Bridge", slug: "bridge" },
|
|
907
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(Inventory2RoundedIcon, { ...props }), name: "Archivist", slug: "archivist" },
|
|
908
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(BubbleChartRoundedIcon, { ...props }), name: "Diviner", slug: "diviner" },
|
|
909
|
+
{ icon: (props) => /* @__PURE__ */ jsx23(VisibilityRoundedIcon, { ...props }), name: "Witness", slug: "witness" }
|
|
900
910
|
];
|
|
901
911
|
var findNetworkComponentIndex = (slug) => {
|
|
902
912
|
return networkComponents.findIndex((info) => info.slug === slug);
|
|
@@ -913,6 +923,7 @@ export {
|
|
|
913
923
|
EllipsizeBox,
|
|
914
924
|
ErrorBoundary,
|
|
915
925
|
HashTableCell,
|
|
926
|
+
LabeledTextFieldWrapper,
|
|
916
927
|
ListItemButtonEx,
|
|
917
928
|
ListItemButtonExTo,
|
|
918
929
|
ListModeContext,
|