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