@xyo-network/react-shared 2.75.6 → 2.76.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/dist/browser/components/TableCell/HashTableCell.d.cts +2 -0
- package/dist/browser/components/TableCell/HashTableCell.d.cts.map +1 -1
- package/dist/browser/components/TableCell/HashTableCell.d.mts +2 -0
- package/dist/browser/components/TableCell/HashTableCell.d.mts.map +1 -1
- package/dist/browser/components/TableCell/HashTableCell.d.ts +2 -0
- package/dist/browser/components/TableCell/HashTableCell.d.ts.map +1 -1
- package/dist/browser/index.cjs +6 -2
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +6 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/SizeProp.d.cts +2 -0
- package/dist/neutral/SizeProp.d.cts.map +1 -0
- package/dist/neutral/SizeProp.d.mts +2 -0
- package/dist/neutral/SizeProp.d.mts.map +1 -0
- package/dist/neutral/SizeProp.d.ts +2 -0
- package/dist/neutral/SizeProp.d.ts.map +1 -0
- package/dist/neutral/ada-JCPSRXND.png +0 -0
- package/dist/neutral/btc-SRW7TEQV.png +0 -0
- package/dist/neutral/busd-RAN4SWCI.png +0 -0
- package/dist/neutral/components/Ampersand.d.cts +4 -0
- package/dist/neutral/components/Ampersand.d.cts.map +1 -0
- package/dist/neutral/components/Ampersand.d.mts +4 -0
- package/dist/neutral/components/Ampersand.d.mts.map +1 -0
- package/dist/neutral/components/Ampersand.d.ts +4 -0
- package/dist/neutral/components/Ampersand.d.ts.map +1 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.cts +25 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.cts.map +1 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.mts +25 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.mts.map +1 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.ts +25 -0
- package/dist/neutral/components/BasicHero/BasicHero.d.ts.map +1 -0
- package/dist/neutral/components/BasicHero/index.d.cts +2 -0
- package/dist/neutral/components/BasicHero/index.d.cts.map +1 -0
- package/dist/neutral/components/BasicHero/index.d.mts +2 -0
- package/dist/neutral/components/BasicHero/index.d.mts.map +1 -0
- package/dist/neutral/components/BasicHero/index.d.ts +2 -0
- package/dist/neutral/components/BasicHero/index.d.ts.map +1 -0
- package/dist/neutral/components/Ellipsize.d.cts +16 -0
- package/dist/neutral/components/Ellipsize.d.cts.map +1 -0
- package/dist/neutral/components/Ellipsize.d.mts +16 -0
- package/dist/neutral/components/Ellipsize.d.mts.map +1 -0
- package/dist/neutral/components/Ellipsize.d.ts +16 -0
- package/dist/neutral/components/Ellipsize.d.ts.map +1 -0
- package/dist/neutral/components/ErrorBoundary.d.cts +18 -0
- package/dist/neutral/components/ErrorBoundary.d.cts.map +1 -0
- package/dist/neutral/components/ErrorBoundary.d.mts +18 -0
- package/dist/neutral/components/ErrorBoundary.d.mts.map +1 -0
- package/dist/neutral/components/ErrorBoundary.d.ts +18 -0
- package/dist/neutral/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/neutral/components/ListItemButtonEx.d.cts +11 -0
- package/dist/neutral/components/ListItemButtonEx.d.cts.map +1 -0
- package/dist/neutral/components/ListItemButtonEx.d.mts +11 -0
- package/dist/neutral/components/ListItemButtonEx.d.mts.map +1 -0
- package/dist/neutral/components/ListItemButtonEx.d.ts +11 -0
- package/dist/neutral/components/ListItemButtonEx.d.ts.map +1 -0
- package/dist/neutral/components/LoadResult.d.cts +11 -0
- package/dist/neutral/components/LoadResult.d.cts.map +1 -0
- package/dist/neutral/components/LoadResult.d.mts +11 -0
- package/dist/neutral/components/LoadResult.d.mts.map +1 -0
- package/dist/neutral/components/LoadResult.d.ts +11 -0
- package/dist/neutral/components/LoadResult.d.ts.map +1 -0
- package/dist/neutral/components/NotFound.d.cts +5 -0
- package/dist/neutral/components/NotFound.d.cts.map +1 -0
- package/dist/neutral/components/NotFound.d.mts +5 -0
- package/dist/neutral/components/NotFound.d.mts.map +1 -0
- package/dist/neutral/components/NotFound.d.ts +5 -0
- package/dist/neutral/components/NotFound.d.ts.map +1 -0
- package/dist/neutral/components/Pipe.d.cts +4 -0
- package/dist/neutral/components/Pipe.d.cts.map +1 -0
- package/dist/neutral/components/Pipe.d.mts +4 -0
- package/dist/neutral/components/Pipe.d.mts.map +1 -0
- package/dist/neutral/components/Pipe.d.ts +4 -0
- package/dist/neutral/components/Pipe.d.ts.map +1 -0
- package/dist/neutral/components/ScrollTableOnSm.d.cts +5 -0
- package/dist/neutral/components/ScrollTableOnSm.d.cts.map +1 -0
- package/dist/neutral/components/ScrollTableOnSm.d.mts +5 -0
- package/dist/neutral/components/ScrollTableOnSm.d.mts.map +1 -0
- package/dist/neutral/components/ScrollTableOnSm.d.ts +5 -0
- package/dist/neutral/components/ScrollTableOnSm.d.ts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.cts +3 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.cts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.mts +3 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.mts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.ts +3 -0
- package/dist/neutral/components/SectionSpacingRow/SectionSpacingRow.d.ts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.cts +2 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.cts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.mts +2 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.mts.map +1 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.ts +2 -0
- package/dist/neutral/components/SectionSpacingRow/index.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.cts +2 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.mts +2 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.ts +2 -0
- package/dist/neutral/components/StyleGuide/AppBars.example.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.cts +3 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.mts +3 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.ts +3 -0
- package/dist/neutral/components/StyleGuide/Buttons.example.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.cts +3 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.mts +3 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.ts +3 -0
- package/dist/neutral/components/StyleGuide/Papers.example.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.cts +3 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.mts +3 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.ts +3 -0
- package/dist/neutral/components/StyleGuide/StyleGuide.example.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.cts +2 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.mts +2 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.ts +2 -0
- package/dist/neutral/components/StyleGuide/Texts.example.d.ts.map +1 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.cts +3 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.cts.map +1 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.mts +3 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.mts.map +1 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.ts +3 -0
- package/dist/neutral/components/StyleGuide/VariantContext.example.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.cts +12 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.mts +12 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.ts +12 -0
- package/dist/neutral/components/TableCell/AddressTableCell.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.cts +19 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.mts +19 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.ts +19 -0
- package/dist/neutral/components/TableCell/EllipsisTableCell.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.cts +12 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.mts +12 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.ts +12 -0
- package/dist/neutral/components/TableCell/EllipsisTableCellDeprecated.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.cts +12 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.mts +12 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.ts +12 -0
- package/dist/neutral/components/TableCell/HashTableCell.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/findParent.d.cts +2 -0
- package/dist/neutral/components/TableCell/findParent.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/findParent.d.mts +2 -0
- package/dist/neutral/components/TableCell/findParent.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/findParent.d.ts +2 -0
- package/dist/neutral/components/TableCell/findParent.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.cts +3 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.mts +3 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.ts +3 -0
- package/dist/neutral/components/TableCell/getRemainingRowWidth.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.cts +2 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.mts +2 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.ts +2 -0
- package/dist/neutral/components/TableCell/getSmallestParentWidth.d.ts.map +1 -0
- package/dist/neutral/components/TableCell/index.d.cts +4 -0
- package/dist/neutral/components/TableCell/index.d.cts.map +1 -0
- package/dist/neutral/components/TableCell/index.d.mts +4 -0
- package/dist/neutral/components/TableCell/index.d.mts.map +1 -0
- package/dist/neutral/components/TableCell/index.d.ts +4 -0
- package/dist/neutral/components/TableCell/index.d.ts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.cts +4 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.cts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.mts +4 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.mts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.ts +4 -0
- package/dist/neutral/components/ThemeTokenAvatar/ThemeTokenAvatar.d.ts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.cts +2 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.cts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.mts +2 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.mts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.ts +2 -0
- package/dist/neutral/components/ThemeTokenAvatar/index.d.ts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.cts +7 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.cts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.mts +7 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.mts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.ts +7 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.ts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.cts +2 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.cts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.mts +2 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.mts.map +1 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.ts +2 -0
- package/dist/neutral/components/ThemeTokenAvatarGroup/index.d.ts.map +1 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.cts +12 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.cts.map +1 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.mts +12 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.mts.map +1 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.ts +12 -0
- package/dist/neutral/components/TokenBar/TokenBar.d.ts.map +1 -0
- package/dist/neutral/components/TokenBar/index.d.cts +2 -0
- package/dist/neutral/components/TokenBar/index.d.cts.map +1 -0
- package/dist/neutral/components/TokenBar/index.d.mts +2 -0
- package/dist/neutral/components/TokenBar/index.d.mts.map +1 -0
- package/dist/neutral/components/TokenBar/index.d.ts +2 -0
- package/dist/neutral/components/TokenBar/index.d.ts.map +1 -0
- package/dist/neutral/components/TokenData/TokenData.d.cts +10 -0
- package/dist/neutral/components/TokenData/TokenData.d.cts.map +1 -0
- package/dist/neutral/components/TokenData/TokenData.d.mts +10 -0
- package/dist/neutral/components/TokenData/TokenData.d.mts.map +1 -0
- package/dist/neutral/components/TokenData/TokenData.d.ts +10 -0
- package/dist/neutral/components/TokenData/TokenData.d.ts.map +1 -0
- package/dist/neutral/components/TokenData/img/index.d.cts +16 -0
- package/dist/neutral/components/TokenData/img/index.d.cts.map +1 -0
- package/dist/neutral/components/TokenData/img/index.d.mts +16 -0
- package/dist/neutral/components/TokenData/img/index.d.mts.map +1 -0
- package/dist/neutral/components/TokenData/img/index.d.ts +16 -0
- package/dist/neutral/components/TokenData/img/index.d.ts.map +1 -0
- package/dist/neutral/components/TokenData/index.d.cts +3 -0
- package/dist/neutral/components/TokenData/index.d.cts.map +1 -0
- package/dist/neutral/components/TokenData/index.d.mts +3 -0
- package/dist/neutral/components/TokenData/index.d.mts.map +1 -0
- package/dist/neutral/components/TokenData/index.d.ts +3 -0
- package/dist/neutral/components/TokenData/index.d.ts.map +1 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.cts +3 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.cts.map +1 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.mts +3 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.mts.map +1 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.ts +3 -0
- package/dist/neutral/components/TokenData/useGetTokenData.d.ts.map +1 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.cts +10 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.cts.map +1 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.mts +10 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.mts.map +1 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.ts +10 -0
- package/dist/neutral/components/TokenSummary/TokenSummary.d.ts.map +1 -0
- package/dist/neutral/components/TokenSummary/index.d.cts +2 -0
- package/dist/neutral/components/TokenSummary/index.d.cts.map +1 -0
- package/dist/neutral/components/TokenSummary/index.d.mts +2 -0
- package/dist/neutral/components/TokenSummary/index.d.mts.map +1 -0
- package/dist/neutral/components/TokenSummary/index.d.ts +2 -0
- package/dist/neutral/components/TokenSummary/index.d.ts.map +1 -0
- package/dist/neutral/components/TypographyEx.d.cts +7 -0
- package/dist/neutral/components/TypographyEx.d.cts.map +1 -0
- package/dist/neutral/components/TypographyEx.d.mts +7 -0
- package/dist/neutral/components/TypographyEx.d.mts.map +1 -0
- package/dist/neutral/components/TypographyEx.d.ts +7 -0
- package/dist/neutral/components/TypographyEx.d.ts.map +1 -0
- package/dist/neutral/components/index.d.cts +19 -0
- package/dist/neutral/components/index.d.cts.map +1 -0
- package/dist/neutral/components/index.d.mts +19 -0
- package/dist/neutral/components/index.d.mts.map +1 -0
- package/dist/neutral/components/index.d.ts +19 -0
- package/dist/neutral/components/index.d.ts.map +1 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.cts +7 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.cts.map +1 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.mts +7 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.mts.map +1 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.ts +7 -0
- package/dist/neutral/components/pluginValidation/DataMissing.d.ts.map +1 -0
- package/dist/neutral/components/pluginValidation/index.d.cts +2 -0
- package/dist/neutral/components/pluginValidation/index.d.cts.map +1 -0
- package/dist/neutral/components/pluginValidation/index.d.mts +2 -0
- package/dist/neutral/components/pluginValidation/index.d.mts.map +1 -0
- package/dist/neutral/components/pluginValidation/index.d.ts +2 -0
- package/dist/neutral/components/pluginValidation/index.d.ts.map +1 -0
- package/dist/neutral/contexts/ListMode/Context.d.cts +4 -0
- package/dist/neutral/contexts/ListMode/Context.d.cts.map +1 -0
- package/dist/neutral/contexts/ListMode/Context.d.mts +4 -0
- package/dist/neutral/contexts/ListMode/Context.d.mts.map +1 -0
- package/dist/neutral/contexts/ListMode/Context.d.ts +4 -0
- package/dist/neutral/contexts/ListMode/Context.d.ts.map +1 -0
- package/dist/neutral/contexts/ListMode/Provider.d.cts +8 -0
- package/dist/neutral/contexts/ListMode/Provider.d.cts.map +1 -0
- package/dist/neutral/contexts/ListMode/Provider.d.mts +8 -0
- package/dist/neutral/contexts/ListMode/Provider.d.mts.map +1 -0
- package/dist/neutral/contexts/ListMode/Provider.d.ts +8 -0
- package/dist/neutral/contexts/ListMode/Provider.d.ts.map +1 -0
- package/dist/neutral/contexts/ListMode/State.d.cts +8 -0
- package/dist/neutral/contexts/ListMode/State.d.cts.map +1 -0
- package/dist/neutral/contexts/ListMode/State.d.mts +8 -0
- package/dist/neutral/contexts/ListMode/State.d.mts.map +1 -0
- package/dist/neutral/contexts/ListMode/State.d.ts +8 -0
- package/dist/neutral/contexts/ListMode/State.d.ts.map +1 -0
- package/dist/neutral/contexts/ListMode/index.d.cts +5 -0
- package/dist/neutral/contexts/ListMode/index.d.cts.map +1 -0
- package/dist/neutral/contexts/ListMode/index.d.mts +5 -0
- package/dist/neutral/contexts/ListMode/index.d.mts.map +1 -0
- package/dist/neutral/contexts/ListMode/index.d.ts +5 -0
- package/dist/neutral/contexts/ListMode/index.d.ts.map +1 -0
- package/dist/neutral/contexts/ListMode/use.d.cts +2 -0
- package/dist/neutral/contexts/ListMode/use.d.cts.map +1 -0
- package/dist/neutral/contexts/ListMode/use.d.mts +2 -0
- package/dist/neutral/contexts/ListMode/use.d.mts.map +1 -0
- package/dist/neutral/contexts/ListMode/use.d.ts +2 -0
- package/dist/neutral/contexts/ListMode/use.d.ts.map +1 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.cts +6 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.cts.map +1 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.mts +6 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.mts.map +1 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.ts +6 -0
- package/dist/neutral/contexts/contextEx/ContextExProviderProps.d.ts.map +1 -0
- package/dist/neutral/contexts/contextEx/State.d.cts +4 -0
- package/dist/neutral/contexts/contextEx/State.d.cts.map +1 -0
- package/dist/neutral/contexts/contextEx/State.d.mts +4 -0
- package/dist/neutral/contexts/contextEx/State.d.mts.map +1 -0
- package/dist/neutral/contexts/contextEx/State.d.ts +4 -0
- package/dist/neutral/contexts/contextEx/State.d.ts.map +1 -0
- package/dist/neutral/contexts/contextEx/create.d.cts +4 -0
- package/dist/neutral/contexts/contextEx/create.d.cts.map +1 -0
- package/dist/neutral/contexts/contextEx/create.d.mts +4 -0
- package/dist/neutral/contexts/contextEx/create.d.mts.map +1 -0
- package/dist/neutral/contexts/contextEx/create.d.ts +4 -0
- package/dist/neutral/contexts/contextEx/create.d.ts.map +1 -0
- package/dist/neutral/contexts/contextEx/index.d.cts +5 -0
- package/dist/neutral/contexts/contextEx/index.d.cts.map +1 -0
- package/dist/neutral/contexts/contextEx/index.d.mts +5 -0
- package/dist/neutral/contexts/contextEx/index.d.mts.map +1 -0
- package/dist/neutral/contexts/contextEx/index.d.ts +5 -0
- package/dist/neutral/contexts/contextEx/index.d.ts.map +1 -0
- package/dist/neutral/contexts/contextEx/use.d.cts +5 -0
- package/dist/neutral/contexts/contextEx/use.d.cts.map +1 -0
- package/dist/neutral/contexts/contextEx/use.d.mts +5 -0
- package/dist/neutral/contexts/contextEx/use.d.mts.map +1 -0
- package/dist/neutral/contexts/contextEx/use.d.ts +5 -0
- package/dist/neutral/contexts/contextEx/use.d.ts.map +1 -0
- package/dist/neutral/contexts/diviner/Context.d.cts +3 -0
- package/dist/neutral/contexts/diviner/Context.d.cts.map +1 -0
- package/dist/neutral/contexts/diviner/Context.d.mts +3 -0
- package/dist/neutral/contexts/diviner/Context.d.mts.map +1 -0
- package/dist/neutral/contexts/diviner/Context.d.ts +3 -0
- package/dist/neutral/contexts/diviner/Context.d.ts.map +1 -0
- package/dist/neutral/contexts/diviner/Provider.d.cts +11 -0
- package/dist/neutral/contexts/diviner/Provider.d.cts.map +1 -0
- package/dist/neutral/contexts/diviner/Provider.d.mts +11 -0
- package/dist/neutral/contexts/diviner/Provider.d.mts.map +1 -0
- package/dist/neutral/contexts/diviner/Provider.d.ts +11 -0
- package/dist/neutral/contexts/diviner/Provider.d.ts.map +1 -0
- package/dist/neutral/contexts/diviner/State.d.cts +7 -0
- package/dist/neutral/contexts/diviner/State.d.cts.map +1 -0
- package/dist/neutral/contexts/diviner/State.d.mts +7 -0
- package/dist/neutral/contexts/diviner/State.d.mts.map +1 -0
- package/dist/neutral/contexts/diviner/State.d.ts +7 -0
- package/dist/neutral/contexts/diviner/State.d.ts.map +1 -0
- package/dist/neutral/contexts/diviner/index.d.cts +4 -0
- package/dist/neutral/contexts/diviner/index.d.cts.map +1 -0
- package/dist/neutral/contexts/diviner/index.d.mts +4 -0
- package/dist/neutral/contexts/diviner/index.d.mts.map +1 -0
- package/dist/neutral/contexts/diviner/index.d.ts +4 -0
- package/dist/neutral/contexts/diviner/index.d.ts.map +1 -0
- package/dist/neutral/contexts/index.d.cts +4 -0
- package/dist/neutral/contexts/index.d.cts.map +1 -0
- package/dist/neutral/contexts/index.d.mts +4 -0
- package/dist/neutral/contexts/index.d.mts.map +1 -0
- package/dist/neutral/contexts/index.d.ts +4 -0
- package/dist/neutral/contexts/index.d.ts.map +1 -0
- package/dist/neutral/dai-FZSM2RYY.png +0 -0
- package/dist/neutral/dogecoin-QOIF7Q5M.png +0 -0
- package/dist/neutral/dot-P5Z7IW2O.png +0 -0
- package/dist/neutral/ethereum-3SLTXYTT.png +0 -0
- package/dist/neutral/frax-TQDXCCOP.png +0 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.cts +67 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.cts.map +1 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.mts +67 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.mts.map +1 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.ts +67 -0
- package/dist/neutral/hooks/GradientStyles/GradientStyles.d.ts.map +1 -0
- package/dist/neutral/hooks/GradientStyles/index.d.cts +2 -0
- package/dist/neutral/hooks/GradientStyles/index.d.cts.map +1 -0
- package/dist/neutral/hooks/GradientStyles/index.d.mts +2 -0
- package/dist/neutral/hooks/GradientStyles/index.d.mts.map +1 -0
- package/dist/neutral/hooks/GradientStyles/index.d.ts +2 -0
- package/dist/neutral/hooks/GradientStyles/index.d.ts.map +1 -0
- package/dist/neutral/hooks/index.d.cts +8 -0
- package/dist/neutral/hooks/index.d.cts.map +1 -0
- package/dist/neutral/hooks/index.d.mts +8 -0
- package/dist/neutral/hooks/index.d.mts.map +1 -0
- package/dist/neutral/hooks/index.d.ts +8 -0
- package/dist/neutral/hooks/index.d.ts.map +1 -0
- package/dist/neutral/hooks/useDataState.d.cts +3 -0
- package/dist/neutral/hooks/useDataState.d.cts.map +1 -0
- package/dist/neutral/hooks/useDataState.d.mts +3 -0
- package/dist/neutral/hooks/useDataState.d.mts.map +1 -0
- package/dist/neutral/hooks/useDataState.d.ts +3 -0
- package/dist/neutral/hooks/useDataState.d.ts.map +1 -0
- package/dist/neutral/hooks/useIsMobile.d.cts +2 -0
- package/dist/neutral/hooks/useIsMobile.d.cts.map +1 -0
- package/dist/neutral/hooks/useIsMobile.d.mts +2 -0
- package/dist/neutral/hooks/useIsMobile.d.mts.map +1 -0
- package/dist/neutral/hooks/useIsMobile.d.ts +2 -0
- package/dist/neutral/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/neutral/hooks/useMediaQuery.d.cts +2 -0
- package/dist/neutral/hooks/useMediaQuery.d.cts.map +1 -0
- package/dist/neutral/hooks/useMediaQuery.d.mts +2 -0
- package/dist/neutral/hooks/useMediaQuery.d.mts.map +1 -0
- package/dist/neutral/hooks/useMediaQuery.d.ts +2 -0
- package/dist/neutral/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/neutral/hooks/usePayloadHash.d.cts +7 -0
- package/dist/neutral/hooks/usePayloadHash.d.cts.map +1 -0
- package/dist/neutral/hooks/usePayloadHash.d.mts +7 -0
- package/dist/neutral/hooks/usePayloadHash.d.mts.map +1 -0
- package/dist/neutral/hooks/usePayloadHash.d.ts +7 -0
- package/dist/neutral/hooks/usePayloadHash.d.ts.map +1 -0
- package/dist/neutral/hooks/usePromise.d.cts +3 -0
- package/dist/neutral/hooks/usePromise.d.cts.map +1 -0
- package/dist/neutral/hooks/usePromise.d.mts +3 -0
- package/dist/neutral/hooks/usePromise.d.mts.map +1 -0
- package/dist/neutral/hooks/usePromise.d.ts +3 -0
- package/dist/neutral/hooks/usePromise.d.ts.map +1 -0
- package/dist/neutral/hooks/useShareForwardRef.d.cts +3 -0
- package/dist/neutral/hooks/useShareForwardRef.d.cts.map +1 -0
- package/dist/neutral/hooks/useShareForwardRef.d.mts +3 -0
- package/dist/neutral/hooks/useShareForwardRef.d.mts.map +1 -0
- package/dist/neutral/hooks/useShareForwardRef.d.ts +3 -0
- package/dist/neutral/hooks/useShareForwardRef.d.ts.map +1 -0
- package/dist/neutral/index.cjs +980 -0
- package/dist/neutral/index.cjs.map +1 -0
- package/dist/neutral/index.d.cts +7 -0
- package/dist/neutral/index.d.cts.map +1 -0
- package/dist/neutral/index.d.mts +7 -0
- package/dist/neutral/index.d.mts.map +1 -0
- package/dist/neutral/index.d.ts +7 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.js +954 -0
- package/dist/neutral/index.js.map +1 -0
- package/dist/neutral/lib/assertDefinedEx.d.cts +2 -0
- package/dist/neutral/lib/assertDefinedEx.d.cts.map +1 -0
- package/dist/neutral/lib/assertDefinedEx.d.mts +2 -0
- package/dist/neutral/lib/assertDefinedEx.d.mts.map +1 -0
- package/dist/neutral/lib/assertDefinedEx.d.ts +2 -0
- package/dist/neutral/lib/assertDefinedEx.d.ts.map +1 -0
- package/dist/neutral/lib/getActualPaddingX.d.cts +14 -0
- package/dist/neutral/lib/getActualPaddingX.d.cts.map +1 -0
- package/dist/neutral/lib/getActualPaddingX.d.mts +14 -0
- package/dist/neutral/lib/getActualPaddingX.d.mts.map +1 -0
- package/dist/neutral/lib/getActualPaddingX.d.ts +14 -0
- package/dist/neutral/lib/getActualPaddingX.d.ts.map +1 -0
- package/dist/neutral/lib/index.d.cts +4 -0
- package/dist/neutral/lib/index.d.cts.map +1 -0
- package/dist/neutral/lib/index.d.mts +4 -0
- package/dist/neutral/lib/index.d.mts.map +1 -0
- package/dist/neutral/lib/index.d.ts +4 -0
- package/dist/neutral/lib/index.d.ts.map +1 -0
- package/dist/neutral/lib/networkComponents.d.cts +12 -0
- package/dist/neutral/lib/networkComponents.d.cts.map +1 -0
- package/dist/neutral/lib/networkComponents.d.mts +12 -0
- package/dist/neutral/lib/networkComponents.d.mts.map +1 -0
- package/dist/neutral/lib/networkComponents.d.ts +12 -0
- package/dist/neutral/lib/networkComponents.d.ts.map +1 -0
- package/dist/neutral/lib/xyo.d.cts +4 -0
- package/dist/neutral/lib/xyo.d.cts.map +1 -0
- package/dist/neutral/lib/xyo.d.mts +4 -0
- package/dist/neutral/lib/xyo.d.mts.map +1 -0
- package/dist/neutral/lib/xyo.d.ts +4 -0
- package/dist/neutral/lib/xyo.d.ts.map +1 -0
- package/dist/neutral/link-THYNVLXG.png +0 -0
- package/dist/neutral/models/ListMode.d.cts +2 -0
- package/dist/neutral/models/ListMode.d.cts.map +1 -0
- package/dist/neutral/models/ListMode.d.mts +2 -0
- package/dist/neutral/models/ListMode.d.mts.map +1 -0
- package/dist/neutral/models/ListMode.d.ts +2 -0
- package/dist/neutral/models/ListMode.d.ts.map +1 -0
- package/dist/neutral/models/index.d.cts +2 -0
- package/dist/neutral/models/index.d.cts.map +1 -0
- package/dist/neutral/models/index.d.mts +2 -0
- package/dist/neutral/models/index.d.mts.map +1 -0
- package/dist/neutral/models/index.d.ts +2 -0
- package/dist/neutral/models/index.d.ts.map +1 -0
- package/dist/neutral/sol-A4J5S4EN.png +0 -0
- package/dist/neutral/tether-3X63FB23.png +0 -0
- package/dist/neutral/usd-coin-UCS44T5B.png +0 -0
- package/dist/neutral/weth-HDGYDSJB.png +0 -0
- package/dist/neutral/wrapped-bitcoin-TS5QFJLK.png +0 -0
- package/dist/neutral/xyo-RLMLL56X.png +0 -0
- package/dist/node/components/TableCell/HashTableCell.d.cts +2 -0
- package/dist/node/components/TableCell/HashTableCell.d.cts.map +1 -1
- package/dist/node/components/TableCell/HashTableCell.d.mts +2 -0
- package/dist/node/components/TableCell/HashTableCell.d.mts.map +1 -1
- package/dist/node/components/TableCell/HashTableCell.d.ts +2 -0
- package/dist/node/components/TableCell/HashTableCell.d.ts.map +1 -1
- package/dist/node/index.cjs +6 -2
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +6 -2
- package/dist/node/index.js.map +1 -1
- package/package.json +15 -15
- package/src/components/TableCell/HashTableCell.tsx +7 -2
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
// src/components/Ampersand.tsx
|
|
2
|
+
import { Typography } from "@mui/material";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
var Ampersand = (props) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(Typography, { marginX: 1, component: "span", ...props, children: "&" });
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
// src/components/BasicHero/BasicHero.tsx
|
|
9
|
+
import { Container, Grid, Typography as Typography2 } from "@mui/material";
|
|
10
|
+
import { ButtonEx } from "@xylabs/react-button";
|
|
11
|
+
import { FlexGrowCol, FlexGrowRow } from "@xylabs/react-flexbox";
|
|
12
|
+
import { LinkEx } from "@xylabs/react-link";
|
|
13
|
+
|
|
14
|
+
// src/hooks/GradientStyles/GradientStyles.tsx
|
|
15
|
+
import { useTheme } from "@mui/material";
|
|
16
|
+
import { makeStyles } from "@mui/styles";
|
|
17
|
+
var colorfulGradientLightMode = () => {
|
|
18
|
+
return {
|
|
19
|
+
background: {
|
|
20
|
+
backgroundImage: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)"
|
|
21
|
+
},
|
|
22
|
+
border: {
|
|
23
|
+
borderImage: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)",
|
|
24
|
+
borderImageSlice: 1,
|
|
25
|
+
borderImageSource: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)",
|
|
26
|
+
borderRadius: 0,
|
|
27
|
+
borderStyle: "solid",
|
|
28
|
+
borderWidth: "2px"
|
|
29
|
+
},
|
|
30
|
+
heading: {
|
|
31
|
+
WebkitBackgroundClip: "text",
|
|
32
|
+
WebkitTextFillColor: "transparent",
|
|
33
|
+
background: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)",
|
|
34
|
+
display: "inline-block"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
var colorfulGradientDarkMode = () => {
|
|
39
|
+
return {
|
|
40
|
+
background: {
|
|
41
|
+
backgroundImage: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)"
|
|
42
|
+
},
|
|
43
|
+
border: {
|
|
44
|
+
borderImage: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)",
|
|
45
|
+
borderImageSlice: 1,
|
|
46
|
+
borderImageSource: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)",
|
|
47
|
+
borderRadius: 0,
|
|
48
|
+
borderStyle: "solid",
|
|
49
|
+
borderWidth: "2px"
|
|
50
|
+
},
|
|
51
|
+
heading: {
|
|
52
|
+
WebkitBackgroundClip: "text",
|
|
53
|
+
WebkitTextFillColor: "transparent",
|
|
54
|
+
background: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)",
|
|
55
|
+
display: "inline-block"
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
var useGradientStyles = () => {
|
|
60
|
+
const theme = useTheme();
|
|
61
|
+
const styles = theme.palette.mode === "dark" ? colorfulGradientDarkMode() : colorfulGradientLightMode();
|
|
62
|
+
const classes = makeStyles(styles);
|
|
63
|
+
return { classes, styles };
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// src/hooks/useDataState.ts
|
|
67
|
+
import { useState } from "react";
|
|
68
|
+
var useDataState = (defaultValue) => {
|
|
69
|
+
const [state, setState] = useState(defaultValue);
|
|
70
|
+
const setDataState = (value) => {
|
|
71
|
+
try {
|
|
72
|
+
if (JSON.stringify(value) !== JSON.stringify(state)) {
|
|
73
|
+
setState(value);
|
|
74
|
+
}
|
|
75
|
+
} catch {
|
|
76
|
+
console.error("setDataState failed! Make sure data type is stringifiable!");
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
return [state, setDataState];
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// src/hooks/useIsMobile.ts
|
|
83
|
+
import { useTheme as useTheme2 } from "@mui/material";
|
|
84
|
+
|
|
85
|
+
// src/hooks/useMediaQuery.ts
|
|
86
|
+
import { useMediaQuery } from "@mui/material";
|
|
87
|
+
|
|
88
|
+
// src/hooks/useIsMobile.ts
|
|
89
|
+
var useIsMobile = () => {
|
|
90
|
+
const theme = useTheme2();
|
|
91
|
+
return useMediaQuery(theme.breakpoints.down("md"));
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
// src/hooks/usePayloadHash.ts
|
|
95
|
+
import { usePromise } from "@xylabs/react-promise";
|
|
96
|
+
import { PayloadBuilder } from "@xyo-network/payload-builder";
|
|
97
|
+
var usePayloadHash = (payload) => {
|
|
98
|
+
return usePromise(async () => payload ? await PayloadBuilder.dataHash(payload) : void 0, [payload])[0];
|
|
99
|
+
};
|
|
100
|
+
var usePayloadHashes = (payloads) => {
|
|
101
|
+
return usePromise(
|
|
102
|
+
async () => payloads ? await Promise.all(payloads.map(async (payload) => [payload, await PayloadBuilder.dataHash(payload)])) : void 0,
|
|
103
|
+
[payloads]
|
|
104
|
+
)[0];
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// src/hooks/usePromise.ts
|
|
108
|
+
import { usePromise as usePromise2 } from "@xylabs/react-promise";
|
|
109
|
+
|
|
110
|
+
// src/hooks/useShareForwardRef.ts
|
|
111
|
+
import { useEffect, useRef } from "react";
|
|
112
|
+
var useShareForwardedRef = (forwardedRef, refresh = 0) => {
|
|
113
|
+
const innerRef = useRef(null);
|
|
114
|
+
useEffect(() => {
|
|
115
|
+
if (!forwardedRef) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if (typeof forwardedRef === "function") {
|
|
119
|
+
forwardedRef(innerRef.current);
|
|
120
|
+
return;
|
|
121
|
+
} else {
|
|
122
|
+
forwardedRef.current = innerRef.current;
|
|
123
|
+
}
|
|
124
|
+
}, [forwardedRef, refresh]);
|
|
125
|
+
return innerRef;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
// src/components/BasicHero/BasicHero.tsx
|
|
129
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
130
|
+
var SubLinkSection = ({ backgroundImageAlignment, subLinkIcon, subLinkPath, subLinkText1, subLinkText2 }) => {
|
|
131
|
+
return /* @__PURE__ */ jsxs(
|
|
132
|
+
FlexGrowRow,
|
|
133
|
+
{
|
|
134
|
+
width: "100%",
|
|
135
|
+
sx: { flexDirection: { md: "row", xs: "column" }, justifyContent: { md: backgroundImageAlignment ? "flex-start" : "center", xs: "center" } },
|
|
136
|
+
children: [
|
|
137
|
+
subLinkIcon ? /* @__PURE__ */ jsxs("span", { children: [
|
|
138
|
+
subLinkIcon,
|
|
139
|
+
"\xA0"
|
|
140
|
+
] }) : null,
|
|
141
|
+
/* @__PURE__ */ jsxs(Typography2, { children: [
|
|
142
|
+
subLinkText1,
|
|
143
|
+
"\xA0"
|
|
144
|
+
] }),
|
|
145
|
+
/* @__PURE__ */ jsx2(LinkEx, { href: subLinkPath, underline: "always", target: "_blank", color: "inherit", children: /* @__PURE__ */ jsx2(Typography2, { children: subLinkText2 }) })
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
};
|
|
150
|
+
var ButtonSection = ({ href, to, buttonText }) => {
|
|
151
|
+
const isMobile = useIsMobile();
|
|
152
|
+
return /* @__PURE__ */ jsx2(
|
|
153
|
+
ButtonEx,
|
|
154
|
+
{
|
|
155
|
+
fullWidth: true,
|
|
156
|
+
marginTop: 1,
|
|
157
|
+
marginBottom: 1,
|
|
158
|
+
marginRight: isMobile ? 2 : 1,
|
|
159
|
+
marginLeft: isMobile ? 2 : 0,
|
|
160
|
+
target: href ?? "_blank",
|
|
161
|
+
to,
|
|
162
|
+
href,
|
|
163
|
+
color: "primary",
|
|
164
|
+
variant: "contained",
|
|
165
|
+
paddingX: 3,
|
|
166
|
+
sx: { display: href || to ? "flex" : "none" },
|
|
167
|
+
children: buttonText
|
|
168
|
+
}
|
|
169
|
+
);
|
|
170
|
+
};
|
|
171
|
+
var BasicHero = ({
|
|
172
|
+
backgroundImage,
|
|
173
|
+
title,
|
|
174
|
+
gradientTitle,
|
|
175
|
+
backgroundColor,
|
|
176
|
+
textColor,
|
|
177
|
+
desc,
|
|
178
|
+
heroImage,
|
|
179
|
+
title2,
|
|
180
|
+
subLinkText1,
|
|
181
|
+
subLinkText2,
|
|
182
|
+
subLinkPath,
|
|
183
|
+
button1Text,
|
|
184
|
+
button2Text,
|
|
185
|
+
button2To,
|
|
186
|
+
button1To,
|
|
187
|
+
button2Href,
|
|
188
|
+
button1Href,
|
|
189
|
+
subLinkIcon,
|
|
190
|
+
sx,
|
|
191
|
+
...props
|
|
192
|
+
}) => {
|
|
193
|
+
const isMobile = useIsMobile();
|
|
194
|
+
const { classes } = useGradientStyles();
|
|
195
|
+
return /* @__PURE__ */ jsx2(
|
|
196
|
+
FlexGrowCol,
|
|
197
|
+
{
|
|
198
|
+
sx: {
|
|
199
|
+
backgroundImage: `url(${backgroundImage})`,
|
|
200
|
+
backgroundPosition: { lg: "bottom", md: "center left", xs: "top left" },
|
|
201
|
+
minHeight: {
|
|
202
|
+
md: "500px",
|
|
203
|
+
sm: "400px",
|
|
204
|
+
xs: "200px"
|
|
205
|
+
},
|
|
206
|
+
...sx
|
|
207
|
+
},
|
|
208
|
+
style: {
|
|
209
|
+
backgroundColor: backgroundColor ?? "",
|
|
210
|
+
backgroundRepeat: "no-repeat",
|
|
211
|
+
backgroundSize: "cover",
|
|
212
|
+
color: textColor ?? ""
|
|
213
|
+
},
|
|
214
|
+
...props,
|
|
215
|
+
children: /* @__PURE__ */ jsx2(Container, { children: /* @__PURE__ */ jsxs(
|
|
216
|
+
Grid,
|
|
217
|
+
{
|
|
218
|
+
container: true,
|
|
219
|
+
justifyContent: "center",
|
|
220
|
+
alignItems: "center",
|
|
221
|
+
sx: {
|
|
222
|
+
alignItems: { xs: "center" },
|
|
223
|
+
justifyContent: { xs: "center" }
|
|
224
|
+
},
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx2(Grid, { item: true, xs: 12, sm: 8, md: backgroundImage ? 6 : 8, lg: backgroundImage ? 6 : 8, children: /* @__PURE__ */ jsxs(FlexGrowCol, { paddingY: 2, sx: { alignItems: { xs: backgroundImage && !isMobile ? "flex-start" : "center" } }, children: [
|
|
227
|
+
/* @__PURE__ */ jsxs(Typography2, { variant: "h1", component: "h1", gutterBottom: true, textAlign: backgroundImage && !isMobile ? "left" : "center", children: [
|
|
228
|
+
title ? /* @__PURE__ */ jsx2("span", { children: `${title} ` }) : null,
|
|
229
|
+
gradientTitle ? /* @__PURE__ */ jsxs("span", { className: classes().heading, children: [
|
|
230
|
+
" ",
|
|
231
|
+
` ${gradientTitle}`
|
|
232
|
+
] }) : null,
|
|
233
|
+
title2 ? /* @__PURE__ */ jsx2("span", { children: ` ${title2}` }) : null
|
|
234
|
+
] }),
|
|
235
|
+
/* @__PURE__ */ jsx2(Typography2, { variant: "body1", component: "h2", gutterBottom: true, textAlign: backgroundImage && !isMobile ? "left" : "center", children: desc }),
|
|
236
|
+
/* @__PURE__ */ jsxs(FlexGrowRow, { sx: { flexDirection: { lg: "row", xs: "column" } }, width: "100%", marginTop: 1, children: [
|
|
237
|
+
/* @__PURE__ */ jsx2(ButtonSection, { href: button1Href, to: button1To, buttonText: button1Text }),
|
|
238
|
+
/* @__PURE__ */ jsx2(ButtonSection, { href: button2Href, to: button2To, buttonText: button2Text })
|
|
239
|
+
] }),
|
|
240
|
+
/* @__PURE__ */ jsx2(
|
|
241
|
+
SubLinkSection,
|
|
242
|
+
{
|
|
243
|
+
subLinkIcon,
|
|
244
|
+
subLinkText1,
|
|
245
|
+
subLinkText2,
|
|
246
|
+
subLinkPath,
|
|
247
|
+
backgroundImageAlignment: backgroundImage ? true : false
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
] }) }),
|
|
251
|
+
/* @__PURE__ */ jsx2(Grid, { item: true, xs: 12, md: 6, children: heroImage ? /* @__PURE__ */ jsx2("img", { src: heroImage, width: "100%" }) : null })
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
) })
|
|
255
|
+
}
|
|
256
|
+
);
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
// src/components/Ellipsize.tsx
|
|
260
|
+
import { Box, styled, Typography as Typography3 } from "@mui/material";
|
|
261
|
+
import { forwardRef, useCallback, useState as useState2 } from "react";
|
|
262
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
263
|
+
var ComponentName = "Ellipsize";
|
|
264
|
+
var EllipsizeRoot = styled(Box, {
|
|
265
|
+
name: ComponentName,
|
|
266
|
+
shouldForwardProp: (prop) => prop !== "beforeLineHeight",
|
|
267
|
+
slot: "Root"
|
|
268
|
+
})(({ beforeLineHeight }) => ({
|
|
269
|
+
"&": {
|
|
270
|
+
// because the cell content ends up absolutely positioned, the cell doesn't know the content height.
|
|
271
|
+
// the pseudo element with a hidden character establishes the proper height of the content and hides it
|
|
272
|
+
":before": {
|
|
273
|
+
content: "'nbsp;'",
|
|
274
|
+
display: "block",
|
|
275
|
+
// take the pseudo element out of the `display: block` flow so it won't push against our actual content
|
|
276
|
+
float: "left",
|
|
277
|
+
visibility: "hidden",
|
|
278
|
+
// since we are `display: block`, lineHeight is the height
|
|
279
|
+
...beforeLineHeight && { lineHeight: beforeLineHeight }
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}));
|
|
283
|
+
var EllipsizeInnerWrap = styled(Box, {
|
|
284
|
+
name: ComponentName,
|
|
285
|
+
slot: "innerWrap"
|
|
286
|
+
})(() => ({
|
|
287
|
+
position: "relative"
|
|
288
|
+
}));
|
|
289
|
+
var EllipsizeContentWrap = styled(Typography3, {
|
|
290
|
+
name: ComponentName,
|
|
291
|
+
shouldForwardProp: (prop) => prop !== "ellipsisPosition",
|
|
292
|
+
slot: "contentWrap"
|
|
293
|
+
})(({ theme, ellipsisPosition, fontFamily }) => {
|
|
294
|
+
return theme.unstable_sx({
|
|
295
|
+
fontFamily: fontFamily ?? "monospace",
|
|
296
|
+
left: 0,
|
|
297
|
+
overflow: "hidden",
|
|
298
|
+
position: "absolute",
|
|
299
|
+
right: 0,
|
|
300
|
+
textOverflow: "ellipsis",
|
|
301
|
+
whiteSpace: "nowrap",
|
|
302
|
+
...ellipsisPosition === "start" ? {
|
|
303
|
+
direction: "rtl",
|
|
304
|
+
textAlign: "left"
|
|
305
|
+
} : {}
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
var useClientHeight = () => {
|
|
309
|
+
const [contentWrapHeight, setContentWrapHeight] = useState2();
|
|
310
|
+
const contentWrapRef = useCallback((node) => {
|
|
311
|
+
if (node !== null) {
|
|
312
|
+
setContentWrapHeight(node.clientHeight + "px");
|
|
313
|
+
}
|
|
314
|
+
}, []);
|
|
315
|
+
return { contentWrapHeight, contentWrapRef };
|
|
316
|
+
};
|
|
317
|
+
var EllipsizeBox = forwardRef(
|
|
318
|
+
({ children, ellipsisPosition = "start", disableSharedRef, typographyProps, ...props }, ref) => {
|
|
319
|
+
const { contentWrapRef, contentWrapHeight } = useClientHeight();
|
|
320
|
+
const sharedRef = useShareForwardedRef(ref);
|
|
321
|
+
return /* @__PURE__ */ jsx3(EllipsizeRoot, { beforeLineHeight: !!sharedRef && !disableSharedRef ? contentWrapHeight : void 0, ...props, ref, children: /* @__PURE__ */ jsx3(EllipsizeInnerWrap, { children: /* @__PURE__ */ jsx3(EllipsizeContentWrap, { ref: contentWrapRef, component: "span", ellipsisPosition, variant: "body2", ...typographyProps, children }) }) });
|
|
322
|
+
}
|
|
323
|
+
);
|
|
324
|
+
EllipsizeBox.displayName = "EllipsizeBox";
|
|
325
|
+
|
|
326
|
+
// src/components/ErrorBoundary.tsx
|
|
327
|
+
import { Typography as Typography4 } from "@mui/material";
|
|
328
|
+
import { FlexCol } from "@xylabs/react-flexbox";
|
|
329
|
+
import { Component } from "react";
|
|
330
|
+
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
331
|
+
var ErrorBoundary = class extends Component {
|
|
332
|
+
constructor(props) {
|
|
333
|
+
super(props);
|
|
334
|
+
this.state = { error: void 0 };
|
|
335
|
+
}
|
|
336
|
+
static getDerivedStateFromError(error) {
|
|
337
|
+
return { error };
|
|
338
|
+
}
|
|
339
|
+
componentDidCatch(error, errorInfo) {
|
|
340
|
+
console.error(`${error}: ${errorInfo}`);
|
|
341
|
+
}
|
|
342
|
+
render() {
|
|
343
|
+
if (this.state.error) {
|
|
344
|
+
if (this.props.fallbackWithError) {
|
|
345
|
+
return this.props.fallbackWithError(this.state.error);
|
|
346
|
+
}
|
|
347
|
+
return this.props.fallback ?? /* @__PURE__ */ jsxs2(FlexCol, { children: [
|
|
348
|
+
/* @__PURE__ */ jsx4(Typography4, { variant: "h1", children: "Something went wrong." }),
|
|
349
|
+
/* @__PURE__ */ jsxs2(Typography4, { variant: "body1", children: [
|
|
350
|
+
"[",
|
|
351
|
+
this.state.error?.message,
|
|
352
|
+
"]"
|
|
353
|
+
] })
|
|
354
|
+
] });
|
|
355
|
+
}
|
|
356
|
+
return this.props.children;
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
// src/components/ListItemButtonEx.tsx
|
|
361
|
+
import { ListItemButton } from "@mui/material";
|
|
362
|
+
import { useNavigate } from "react-router-dom";
|
|
363
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
364
|
+
var ListItemButtonExTo = ({ to, toOptions, onClick, ...props }) => {
|
|
365
|
+
const navigate = useNavigate();
|
|
366
|
+
const localOnClick = (event) => {
|
|
367
|
+
onClick?.(event);
|
|
368
|
+
if (to) {
|
|
369
|
+
navigate(to, toOptions);
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
return /* @__PURE__ */ jsx5(ListItemButton, { onClick: localOnClick, ...props });
|
|
373
|
+
};
|
|
374
|
+
var ListItemButtonEx = ({ to, ...props }) => {
|
|
375
|
+
return to ? /* @__PURE__ */ jsx5(ListItemButtonExTo, { to, ...props }) : /* @__PURE__ */ jsx5(ListItemButton, { ...props });
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
// src/components/LoadResult.tsx
|
|
379
|
+
import { FlexGrowRow as FlexGrowRow2 } from "@xylabs/react-flexbox";
|
|
380
|
+
|
|
381
|
+
// src/components/NotFound.tsx
|
|
382
|
+
import { Typography as Typography5 } from "@mui/material";
|
|
383
|
+
import { FlexGrowCol as FlexGrowCol2 } from "@xylabs/react-flexbox";
|
|
384
|
+
import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
385
|
+
var NotFound = (props) => {
|
|
386
|
+
return /* @__PURE__ */ jsxs3(FlexGrowCol2, { ...props, children: [
|
|
387
|
+
/* @__PURE__ */ jsx6(Typography5, { variant: "h2", children: "Sorry!" }),
|
|
388
|
+
/* @__PURE__ */ jsx6(Typography5, { marginY: 3, variant: "body2", children: "Can't find anything here" })
|
|
389
|
+
] });
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
// src/components/LoadResult.tsx
|
|
393
|
+
import { Fragment, jsx as jsx7 } from "react/jsx-runtime";
|
|
394
|
+
function LoadResult(props) {
|
|
395
|
+
const { notFound, error, searchResult, children } = props;
|
|
396
|
+
if (notFound) {
|
|
397
|
+
return /* @__PURE__ */ jsx7(NotFound, {});
|
|
398
|
+
}
|
|
399
|
+
if (error) {
|
|
400
|
+
return /* @__PURE__ */ jsx7(Fragment, { children });
|
|
401
|
+
}
|
|
402
|
+
return searchResult === void 0 ? /* @__PURE__ */ jsx7(FlexGrowRow2, { busy: true, minHeight: "50px" }) : /* @__PURE__ */ jsx7(Fragment, { children });
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// src/components/Pipe.tsx
|
|
406
|
+
import { Typography as Typography6 } from "@mui/material";
|
|
407
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
408
|
+
var Pipe = (props) => {
|
|
409
|
+
return /* @__PURE__ */ jsx8(Typography6, { marginX: 1, component: "span", ...props, children: "|" });
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
// src/components/pluginValidation/DataMissing.tsx
|
|
413
|
+
import { Alert, AlertTitle } from "@mui/material";
|
|
414
|
+
import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
415
|
+
var PayloadDataMissing = ({ alertBody, ...props }) => {
|
|
416
|
+
return /* @__PURE__ */ jsxs4(Alert, { severity: "warning", ...props, children: [
|
|
417
|
+
/* @__PURE__ */ jsx9(AlertTitle, { children: "Missing Data" }),
|
|
418
|
+
alertBody ?? "Payload is missing required data to render correctly"
|
|
419
|
+
] });
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
// src/components/ScrollTableOnSm.tsx
|
|
423
|
+
import { styled as styled2 } from "@mui/material";
|
|
424
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
425
|
+
var StyledScrollTableOnSm = styled2("div")(({ theme }) => ({
|
|
426
|
+
[theme.breakpoints.down("md")]: {
|
|
427
|
+
overflowX: "scroll"
|
|
428
|
+
},
|
|
429
|
+
display: "flex",
|
|
430
|
+
flexGrow: 1
|
|
431
|
+
}));
|
|
432
|
+
var ScrollTableOnSm = ({ children }) => /* @__PURE__ */ jsx10(StyledScrollTableOnSm, { children });
|
|
433
|
+
|
|
434
|
+
// src/components/SectionSpacingRow/SectionSpacingRow.tsx
|
|
435
|
+
import { useTheme as useTheme3 } from "@mui/material";
|
|
436
|
+
import { FlexGrowRow as FlexGrowRow3 } from "@xylabs/react-flexbox";
|
|
437
|
+
import { forwardRef as forwardRef2 } from "react";
|
|
438
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
439
|
+
var SectionSpacingRow = forwardRef2(({ children, sx, ...props }, ref) => {
|
|
440
|
+
const theme = useTheme3();
|
|
441
|
+
return /* @__PURE__ */ jsx11(
|
|
442
|
+
FlexGrowRow3,
|
|
443
|
+
{
|
|
444
|
+
sx: {
|
|
445
|
+
paddingBottom: { md: theme.spacing(5), xs: theme.spacing(5) },
|
|
446
|
+
paddingTop: { md: theme.spacing(5), xs: theme.spacing(5) },
|
|
447
|
+
...sx
|
|
448
|
+
},
|
|
449
|
+
width: "100%",
|
|
450
|
+
ref,
|
|
451
|
+
...props,
|
|
452
|
+
children
|
|
453
|
+
}
|
|
454
|
+
);
|
|
455
|
+
});
|
|
456
|
+
SectionSpacingRow.displayName = "SectionSpacingRow";
|
|
457
|
+
|
|
458
|
+
// src/components/TableCell/AddressTableCell.tsx
|
|
459
|
+
import { forwardRef as forwardRef4 } from "react";
|
|
460
|
+
|
|
461
|
+
// src/components/TableCell/EllipsisTableCell.tsx
|
|
462
|
+
import { styled as styled3, TableCell } from "@mui/material";
|
|
463
|
+
import { LinkEx as LinkEx2 } from "@xylabs/react-link";
|
|
464
|
+
import { forwardRef as forwardRef3, useMemo } from "react";
|
|
465
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
466
|
+
var EllipsisTableCellRoot = styled3(TableCell, {
|
|
467
|
+
name: "EllipsisTableCell",
|
|
468
|
+
shouldForwardProp: (prop) => prop !== "width",
|
|
469
|
+
slot: "Root"
|
|
470
|
+
})(({ width = "100%" }) => ({
|
|
471
|
+
width
|
|
472
|
+
}));
|
|
473
|
+
var EllipsisTableCellWithRef = forwardRef3(
|
|
474
|
+
({ children, href, link = false, to, value, ...props }, ref) => {
|
|
475
|
+
const data = useMemo(() => {
|
|
476
|
+
if (children) {
|
|
477
|
+
return children;
|
|
478
|
+
}
|
|
479
|
+
if (href || link || to) {
|
|
480
|
+
return /* @__PURE__ */ jsx12(LinkEx2, { title: value, to, href, target: href ? "_blank" : void 0, children: value });
|
|
481
|
+
}
|
|
482
|
+
return value;
|
|
483
|
+
}, [children, href, link, to, value]);
|
|
484
|
+
return /* @__PURE__ */ jsx12(EllipsisTableCellRoot, { ref, ...props, children: /* @__PURE__ */ jsx12(EllipsizeBox, { sx: { cursor: link || to || href ? "pointer" : "inherit" }, children: data }) });
|
|
485
|
+
}
|
|
486
|
+
);
|
|
487
|
+
EllipsisTableCellWithRef.displayName = "EllipsisTableCell";
|
|
488
|
+
var EllipsisTableCell = EllipsisTableCellWithRef;
|
|
489
|
+
|
|
490
|
+
// src/components/TableCell/AddressTableCell.tsx
|
|
491
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
492
|
+
var AddressTableCell = forwardRef4(({ value, archive, exploreDomain, link, ...props }, ref) => {
|
|
493
|
+
const href = exploreDomain && archive ? `${exploreDomain}/archive/${archive}/address/${value}` : void 0;
|
|
494
|
+
const to = exploreDomain === void 0 && archive ? `/archive/${archive}/address/${value}` : void 0;
|
|
495
|
+
return /* @__PURE__ */ jsx13(EllipsisTableCell, { value, href, to, ref, link, ...props });
|
|
496
|
+
});
|
|
497
|
+
AddressTableCell.displayName = "AddressTableCell";
|
|
498
|
+
|
|
499
|
+
// src/components/TableCell/HashTableCell.tsx
|
|
500
|
+
import { useEvent } from "@xyo-network/react-event";
|
|
501
|
+
import { useRef as useRef2 } from "react";
|
|
502
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
503
|
+
var HashTableCell = ({ value, archive, dataType, network, exploreDomain, onHashClick, ...props }) => {
|
|
504
|
+
const ref = useRef2(null);
|
|
505
|
+
const [tableCellRef, dispatch] = useEvent(void 0, ref);
|
|
506
|
+
const hashPath = `/${dataType}/hash/${value}?network=${network ?? "main"}`;
|
|
507
|
+
const explorePath = archive ? `/archive/${archive}${hashPath}` : hashPath;
|
|
508
|
+
const handleCellClick = () => {
|
|
509
|
+
if (onHashClick) {
|
|
510
|
+
onHashClick(value);
|
|
511
|
+
} else {
|
|
512
|
+
dispatch?.("hash", "click", value);
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
return /* @__PURE__ */ jsx14(
|
|
516
|
+
EllipsisTableCell,
|
|
517
|
+
{
|
|
518
|
+
onClick: handleCellClick,
|
|
519
|
+
ref: tableCellRef,
|
|
520
|
+
value,
|
|
521
|
+
href: exploreDomain ? `${exploreDomain}${explorePath}}` : void 0,
|
|
522
|
+
to: exploreDomain ? void 0 : explorePath,
|
|
523
|
+
...props
|
|
524
|
+
}
|
|
525
|
+
);
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
// src/components/ThemeTokenAvatar/ThemeTokenAvatar.tsx
|
|
529
|
+
import { Avatar, useTheme as useTheme4 } from "@mui/material";
|
|
530
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
531
|
+
var ThemeTokenAvatar = ({ ...props }) => {
|
|
532
|
+
const theme = useTheme4();
|
|
533
|
+
return /* @__PURE__ */ jsx15(Avatar, { sx: { background: theme.palette.common.white }, ...props });
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
// src/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.tsx
|
|
537
|
+
import { AvatarGroup } from "@mui/material";
|
|
538
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
539
|
+
var ThemeTokenAvatarGroup = ({ images, ...props }) => {
|
|
540
|
+
return /* @__PURE__ */ jsx16(AvatarGroup, { ...props, children: images?.map((image, index) => /* @__PURE__ */ jsx16(ThemeTokenAvatar, { src: image }, index)) });
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
// src/components/TokenBar/TokenBar.tsx
|
|
544
|
+
import { Paper, Typography as Typography7 } from "@mui/material";
|
|
545
|
+
import { FlexRow } from "@xylabs/react-flexbox";
|
|
546
|
+
import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
547
|
+
var TokenBar = ({ text1, text1Props, text1Suffix, text2, text2Props, text2Suffix, ...props }) => {
|
|
548
|
+
return /* @__PURE__ */ jsx17(Paper, { elevation: 0, className: "TokenBar-root", ...props, children: /* @__PURE__ */ jsxs5(FlexRow, { justifyContent: "space-between", children: [
|
|
549
|
+
/* @__PURE__ */ jsxs5(Typography7, { variant: "body1", fontWeight: 300, margin: 1, ...text1Props, children: [
|
|
550
|
+
text1,
|
|
551
|
+
text1Suffix
|
|
552
|
+
] }),
|
|
553
|
+
/* @__PURE__ */ jsxs5(Typography7, { variant: "body1", fontWeight: 300, textTransform: "uppercase", color: "gray", margin: 1, ...text2Props, children: [
|
|
554
|
+
text2,
|
|
555
|
+
text2Suffix
|
|
556
|
+
] })
|
|
557
|
+
] }) });
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
// src/components/TokenData/img/index.ts
|
|
561
|
+
import { default as default2 } from "./ada-JCPSRXND.png";
|
|
562
|
+
import { default as default3 } from "./btc-SRW7TEQV.png";
|
|
563
|
+
import { default as default4 } from "./busd-RAN4SWCI.png";
|
|
564
|
+
import { default as default5 } from "./dai-FZSM2RYY.png";
|
|
565
|
+
import { default as default6 } from "./dogecoin-QOIF7Q5M.png";
|
|
566
|
+
import { default as default7 } from "./dot-P5Z7IW2O.png";
|
|
567
|
+
import { default as default8 } from "./ethereum-3SLTXYTT.png";
|
|
568
|
+
import { default as default9 } from "./frax-TQDXCCOP.png";
|
|
569
|
+
import { default as default10 } from "./link-THYNVLXG.png";
|
|
570
|
+
import { default as default11 } from "./sol-A4J5S4EN.png";
|
|
571
|
+
import { default as default12 } from "./tether-3X63FB23.png";
|
|
572
|
+
import { default as default13 } from "./usd-coin-UCS44T5B.png";
|
|
573
|
+
import { default as default14 } from "./weth-HDGYDSJB.png";
|
|
574
|
+
import { default as default15 } from "./wrapped-bitcoin-TS5QFJLK.png";
|
|
575
|
+
import { default as default16 } from "./xyo-RLMLL56X.png";
|
|
576
|
+
|
|
577
|
+
// src/components/TokenData/TokenData.ts
|
|
578
|
+
var TokenData = [
|
|
579
|
+
{
|
|
580
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/multi-collateral-dai/",
|
|
581
|
+
etherscanLink: "https://etherscan.io/token/0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
582
|
+
icon: default5,
|
|
583
|
+
readableName: "Dai",
|
|
584
|
+
tokenSymbol: "dai",
|
|
585
|
+
uniqueTokenId: "dai"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/weth/",
|
|
589
|
+
etherscanLink: "https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
590
|
+
icon: default14,
|
|
591
|
+
readableName: "Weth",
|
|
592
|
+
tokenSymbol: "weth",
|
|
593
|
+
uniqueTokenId: "weth"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/ethereum/",
|
|
597
|
+
etherscanLink: "n/a",
|
|
598
|
+
icon: default8,
|
|
599
|
+
readableName: "Ethereum",
|
|
600
|
+
tokenSymbol: "eth",
|
|
601
|
+
uniqueTokenId: "ethereum"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/bitcoin/",
|
|
605
|
+
etherscanLink: "n/a",
|
|
606
|
+
icon: default3,
|
|
607
|
+
readableName: "Bitcoin",
|
|
608
|
+
tokenSymbol: "btc",
|
|
609
|
+
uniqueTokenId: "btc"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/xyo/",
|
|
613
|
+
etherscanLink: "https://etherscan.io/token/0x55296f69f40ea6d20e478533c15a6b08b654e758",
|
|
614
|
+
icon: default16,
|
|
615
|
+
readableName: "XYO",
|
|
616
|
+
tokenSymbol: "xyo",
|
|
617
|
+
uniqueTokenId: "xyo"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/frax/",
|
|
621
|
+
etherscanLink: "https://etherscan.io/token/0x853d955acef822db058eb8505911ed77f175b99e",
|
|
622
|
+
icon: default9,
|
|
623
|
+
readableName: "Frax",
|
|
624
|
+
tokenSymbol: "frax",
|
|
625
|
+
uniqueTokenId: "frax"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/wrapped-bitcoin/",
|
|
629
|
+
etherscanLink: "https://etherscan.io/token/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
630
|
+
icon: default15,
|
|
631
|
+
readableName: "Wrapped BTC",
|
|
632
|
+
tokenSymbol: "wbtc",
|
|
633
|
+
uniqueTokenId: "wbtc"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/usd-coin/",
|
|
637
|
+
etherscanLink: "https://etherscan.io/token/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
638
|
+
icon: default13,
|
|
639
|
+
readableName: "USDC",
|
|
640
|
+
tokenSymbol: "usdc",
|
|
641
|
+
uniqueTokenId: "usdc"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/tether/",
|
|
645
|
+
etherscanLink: "https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
646
|
+
icon: default12,
|
|
647
|
+
readableName: "Tether",
|
|
648
|
+
tokenSymbol: "usdt",
|
|
649
|
+
uniqueTokenId: "usdt"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/cardano/",
|
|
653
|
+
etherscanLink: "https://etherscan.io/token/0xc14777c94229582e5758c5a79b83dde876b9be98",
|
|
654
|
+
icon: default2,
|
|
655
|
+
readableName: "Cardano",
|
|
656
|
+
tokenSymbol: "ada",
|
|
657
|
+
uniqueTokenId: "ada"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/binance-usd/",
|
|
661
|
+
etherscanLink: "https://etherscan.io/token/0x4Fabb145d64652a948d72533023f6E7A623C7C53",
|
|
662
|
+
icon: default4,
|
|
663
|
+
readableName: "Binance USD",
|
|
664
|
+
tokenSymbol: "busd",
|
|
665
|
+
uniqueTokenId: "busd"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/dogecoin/",
|
|
669
|
+
etherscanLink: "https://etherscan.io/token/0x7618b5024a6349f9aef10ddfd33e3428c734551e",
|
|
670
|
+
icon: default6,
|
|
671
|
+
readableName: "Dogecoin",
|
|
672
|
+
tokenSymbol: "doge",
|
|
673
|
+
uniqueTokenId: "doge"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/polkadot-new/",
|
|
677
|
+
etherscanLink: "https://etherscan.io/token/0x2d4fb6dd969992c881d8e534c747cc925d5ba221",
|
|
678
|
+
icon: default7,
|
|
679
|
+
readableName: "Polkadot",
|
|
680
|
+
tokenSymbol: "dot",
|
|
681
|
+
uniqueTokenId: "dot"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/chainlink/",
|
|
685
|
+
etherscanLink: "https://etherscan.io/token/0x514910771af9ca656af840dff83e8264ecf986ca",
|
|
686
|
+
icon: default10,
|
|
687
|
+
readableName: "ChainLink",
|
|
688
|
+
tokenSymbol: "link",
|
|
689
|
+
uniqueTokenId: "link"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
coinmarketcapLink: "https://coinmarketcap.com/currencies/solana/",
|
|
693
|
+
etherscanLink: "https://etherscan.io/token/0x1f54638b7737193ffd86c19ec51907a7c41755d8",
|
|
694
|
+
icon: default11,
|
|
695
|
+
readableName: "Solana",
|
|
696
|
+
tokenSymbol: "sol",
|
|
697
|
+
uniqueTokenId: "sol"
|
|
698
|
+
}
|
|
699
|
+
];
|
|
700
|
+
|
|
701
|
+
// src/components/TokenData/useGetTokenData.tsx
|
|
702
|
+
var useGetTokenData = (symbols) => {
|
|
703
|
+
return symbols?.map((symbol) => {
|
|
704
|
+
const additionalTokenData = TokenData.find((x) => x.tokenSymbol === symbol);
|
|
705
|
+
const checkedTokenData = additionalTokenData ?? TokenData[0];
|
|
706
|
+
return checkedTokenData;
|
|
707
|
+
});
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
// src/components/TokenSummary/TokenSummary.tsx
|
|
711
|
+
import { CardHeader, Typography as Typography8 } from "@mui/material";
|
|
712
|
+
import { Fragment as Fragment2, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
713
|
+
var TokenSummary = ({ icon, symbol, symbolElement, children, ...props }) => {
|
|
714
|
+
return /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
715
|
+
/* @__PURE__ */ jsx18(
|
|
716
|
+
CardHeader,
|
|
717
|
+
{
|
|
718
|
+
avatar: /* @__PURE__ */ jsx18(ThemeTokenAvatar, { src: icon, alt: symbol }),
|
|
719
|
+
title: /* @__PURE__ */ jsx18(Typography8, { variant: "h6", fontWeight: 300, textTransform: "uppercase", children: symbolElement ?? symbol }),
|
|
720
|
+
...props
|
|
721
|
+
}
|
|
722
|
+
),
|
|
723
|
+
children
|
|
724
|
+
] });
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
// src/components/TypographyEx.tsx
|
|
728
|
+
import { Typography as Typography9 } from "@mui/material";
|
|
729
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
730
|
+
var TypographyEx = ({ gradient, ...props }) => {
|
|
731
|
+
const { classes } = useGradientStyles();
|
|
732
|
+
return /* @__PURE__ */ jsx19(Typography9, { className: gradient === "text" ? classes().heading : void 0, ...props });
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
// src/contexts/contextEx/create.ts
|
|
736
|
+
import { createContext } from "react";
|
|
737
|
+
var createContextEx = () => createContext({ provided: false });
|
|
738
|
+
|
|
739
|
+
// src/contexts/contextEx/use.ts
|
|
740
|
+
import { useContext } from "react";
|
|
741
|
+
var useContextEx = (context, contextName, required = true) => {
|
|
742
|
+
const { provided, ...props } = useContext(context);
|
|
743
|
+
if (!provided && required) {
|
|
744
|
+
throw new Error(`use${contextName} can not be used outside of a ${contextName}Context when required=true`);
|
|
745
|
+
}
|
|
746
|
+
return props;
|
|
747
|
+
};
|
|
748
|
+
var useProvided = (context) => {
|
|
749
|
+
const { provided } = useContext(context);
|
|
750
|
+
return provided;
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
// src/contexts/diviner/Context.tsx
|
|
754
|
+
var ResolvedDivinerContext = () => createContextEx();
|
|
755
|
+
|
|
756
|
+
// src/contexts/diviner/Provider.tsx
|
|
757
|
+
import { useEffect as useEffect2, useState as useState3 } from "react";
|
|
758
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
759
|
+
var ResolvedDivinerProvider = ({ diviner: divinerProp, required = false, children, context }) => {
|
|
760
|
+
const [diviner, setDiviner] = useState3(divinerProp);
|
|
761
|
+
useEffect2(() => {
|
|
762
|
+
if (divinerProp) {
|
|
763
|
+
setDiviner(divinerProp);
|
|
764
|
+
}
|
|
765
|
+
}, [divinerProp, setDiviner]);
|
|
766
|
+
const resolveDiviner = () => {
|
|
767
|
+
if (divinerProp) {
|
|
768
|
+
return diviner === divinerProp ? diviner : void 0;
|
|
769
|
+
} else {
|
|
770
|
+
return diviner;
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
return /* @__PURE__ */ jsx20(
|
|
774
|
+
context.Provider,
|
|
775
|
+
{
|
|
776
|
+
value: {
|
|
777
|
+
diviner: resolveDiviner(),
|
|
778
|
+
provided: true,
|
|
779
|
+
setDiviner
|
|
780
|
+
},
|
|
781
|
+
children: diviner ? children : required ? null : children
|
|
782
|
+
}
|
|
783
|
+
);
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
// src/contexts/ListMode/Context.ts
|
|
787
|
+
var ListModeContext = createContextEx();
|
|
788
|
+
|
|
789
|
+
// src/contexts/ListMode/Provider.tsx
|
|
790
|
+
import { useState as useState4 } from "react";
|
|
791
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
792
|
+
var ListModeProvider = ({ children, defaultListMode }) => {
|
|
793
|
+
const [listMode, setListMode] = useState4(defaultListMode ?? "default");
|
|
794
|
+
return /* @__PURE__ */ jsx21(
|
|
795
|
+
ListModeContext.Provider,
|
|
796
|
+
{
|
|
797
|
+
value: {
|
|
798
|
+
listMode,
|
|
799
|
+
provided: true,
|
|
800
|
+
setListMode
|
|
801
|
+
},
|
|
802
|
+
children
|
|
803
|
+
}
|
|
804
|
+
);
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
// src/contexts/ListMode/use.ts
|
|
808
|
+
var useListMode = (required = false) => {
|
|
809
|
+
return useContextEx(ListModeContext, "ListMode", required);
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
// src/lib/assertDefinedEx.ts
|
|
813
|
+
var assertDefinedEx = (expr, message) => {
|
|
814
|
+
if (expr !== null && expr !== void 0)
|
|
815
|
+
return expr;
|
|
816
|
+
throw new Error(message);
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
// src/lib/getActualPaddingX.ts
|
|
820
|
+
var parseMeausureString = (measure, absolute) => {
|
|
821
|
+
if (measure !== void 0 && measure !== null && measure.length > 0) {
|
|
822
|
+
if (measure.endsWith("px")) {
|
|
823
|
+
return Number.parseFloat(measure.slice(0, Math.max(0, measure.length - 2)));
|
|
824
|
+
} else if (measure.endsWith("%")) {
|
|
825
|
+
if (absolute !== void 0) {
|
|
826
|
+
return Number.parseFloat(measure.slice(0, Math.max(0, measure.length - 1))) / 100 * absolute;
|
|
827
|
+
}
|
|
828
|
+
throw new Error("Error Parsing Measure [missing absolute]");
|
|
829
|
+
} else if (measure.endsWith("vw")) {
|
|
830
|
+
return Number.parseFloat(measure.slice(0, Math.max(0, measure.length - 2))) / 100 * window.innerWidth;
|
|
831
|
+
} else if (measure.endsWith("vh")) {
|
|
832
|
+
return Number.parseFloat(measure.slice(0, Math.max(0, measure.length - 2))) / 100 * window.innerHeight;
|
|
833
|
+
}
|
|
834
|
+
throw new Error(`Error Parsing Measure [${measure}]`);
|
|
835
|
+
}
|
|
836
|
+
};
|
|
837
|
+
var parsePadding = (padding) => {
|
|
838
|
+
const parts = padding.split(" ");
|
|
839
|
+
switch (parts.length) {
|
|
840
|
+
case 4: {
|
|
841
|
+
return {
|
|
842
|
+
bottom: parts[2],
|
|
843
|
+
left: parts[3],
|
|
844
|
+
right: parts[1],
|
|
845
|
+
top: parts[0]
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
case 3: {
|
|
849
|
+
return {
|
|
850
|
+
bottom: parts[2],
|
|
851
|
+
right: parts[1],
|
|
852
|
+
top: parts[0]
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
case 2: {
|
|
856
|
+
return {
|
|
857
|
+
bottom: parts[0],
|
|
858
|
+
left: parts[1],
|
|
859
|
+
right: parts[1],
|
|
860
|
+
top: parts[0]
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
case 1: {
|
|
864
|
+
return {
|
|
865
|
+
bottom: parts[0],
|
|
866
|
+
left: parts[0],
|
|
867
|
+
right: parts[0],
|
|
868
|
+
top: parts[0]
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
var getActualPaddingX = (element) => {
|
|
874
|
+
const padding = parsePadding(window.getComputedStyle(element, null).getPropertyValue("padding"));
|
|
875
|
+
const paddingLeft = parseMeausureString(window.getComputedStyle(element, null).getPropertyValue("padding-left") ?? padding?.left, element.clientWidth) ?? 0;
|
|
876
|
+
const paddingRight = parseMeausureString(window.getComputedStyle(element, null).getPropertyValue("padding-right") ?? padding?.right, element.clientWidth) ?? 0;
|
|
877
|
+
return paddingLeft + paddingRight;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
// src/lib/networkComponents.tsx
|
|
881
|
+
import {
|
|
882
|
+
BubbleChartRounded as BubbleChartRoundedIcon,
|
|
883
|
+
HubRounded as HubRoundedIcon,
|
|
884
|
+
InsertLinkRounded as InsertLinkRoundedIcon,
|
|
885
|
+
Inventory2Rounded as Inventory2RoundedIcon,
|
|
886
|
+
TimerRounded as TimerRoundedIcon,
|
|
887
|
+
VisibilityRounded as VisibilityRoundedIcon
|
|
888
|
+
} from "@mui/icons-material";
|
|
889
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
890
|
+
var networkComponents = [
|
|
891
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(HubRoundedIcon, { ...props }), name: "Node", slug: "node" },
|
|
892
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(TimerRoundedIcon, { ...props }), name: "Sentinel", slug: "sentinel" },
|
|
893
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(InsertLinkRoundedIcon, { ...props }), name: "Bridge", slug: "bridge" },
|
|
894
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(Inventory2RoundedIcon, { ...props }), name: "Archivist", slug: "archivist" },
|
|
895
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(BubbleChartRoundedIcon, { ...props }), name: "Diviner", slug: "diviner" },
|
|
896
|
+
{ icon: (props) => /* @__PURE__ */ jsx22(VisibilityRoundedIcon, { ...props }), name: "Witness", slug: "witness" }
|
|
897
|
+
];
|
|
898
|
+
var findNetworkComponentIndex = (slug) => {
|
|
899
|
+
return networkComponents.findIndex((info) => info.slug === slug);
|
|
900
|
+
};
|
|
901
|
+
var findNetworkComponent = (slug) => {
|
|
902
|
+
return networkComponents.find((info) => info.slug === slug);
|
|
903
|
+
};
|
|
904
|
+
export {
|
|
905
|
+
AddressTableCell,
|
|
906
|
+
Ampersand,
|
|
907
|
+
BasicHero,
|
|
908
|
+
EllipsisTableCell,
|
|
909
|
+
EllipsisTableCellWithRef,
|
|
910
|
+
EllipsizeBox,
|
|
911
|
+
ErrorBoundary,
|
|
912
|
+
HashTableCell,
|
|
913
|
+
ListItemButtonEx,
|
|
914
|
+
ListItemButtonExTo,
|
|
915
|
+
ListModeContext,
|
|
916
|
+
ListModeProvider,
|
|
917
|
+
LoadResult,
|
|
918
|
+
NotFound,
|
|
919
|
+
PayloadDataMissing,
|
|
920
|
+
Pipe,
|
|
921
|
+
ResolvedDivinerContext,
|
|
922
|
+
ResolvedDivinerProvider,
|
|
923
|
+
ScrollTableOnSm,
|
|
924
|
+
SectionSpacingRow,
|
|
925
|
+
ThemeTokenAvatar,
|
|
926
|
+
ThemeTokenAvatarGroup,
|
|
927
|
+
TokenBar,
|
|
928
|
+
TokenData,
|
|
929
|
+
TokenSummary,
|
|
930
|
+
TypographyEx,
|
|
931
|
+
assertDefinedEx,
|
|
932
|
+
colorfulGradientDarkMode,
|
|
933
|
+
colorfulGradientLightMode,
|
|
934
|
+
createContextEx,
|
|
935
|
+
findNetworkComponent,
|
|
936
|
+
findNetworkComponentIndex,
|
|
937
|
+
getActualPaddingX,
|
|
938
|
+
networkComponents,
|
|
939
|
+
parseMeausureString,
|
|
940
|
+
parsePadding,
|
|
941
|
+
useContextEx,
|
|
942
|
+
useDataState,
|
|
943
|
+
useGetTokenData,
|
|
944
|
+
useGradientStyles,
|
|
945
|
+
useIsMobile,
|
|
946
|
+
useListMode,
|
|
947
|
+
useMediaQuery,
|
|
948
|
+
usePayloadHash,
|
|
949
|
+
usePayloadHashes,
|
|
950
|
+
usePromise2 as usePromise,
|
|
951
|
+
useProvided,
|
|
952
|
+
useShareForwardedRef
|
|
953
|
+
};
|
|
954
|
+
//# sourceMappingURL=index.js.map
|