@xyo-network/os-react-runtime 7.2.0 → 7.3.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.
Files changed (322) hide show
  1. package/dist/browser/helpers/BridgeActivityHelper.d.ts +3 -5
  2. package/dist/browser/helpers/BridgeActivityHelper.d.ts.map +1 -1
  3. package/dist/browser/helpers/BrowserLocator.d.ts +1 -1
  4. package/dist/browser/helpers/BrowserLocator.d.ts.map +1 -1
  5. package/dist/browser/helpers/widget/Caller.d.ts.map +1 -1
  6. package/dist/browser/img/backgrounds/index.d.ts +18 -18
  7. package/dist/browser/img/backgrounds/index.d.ts.map +1 -1
  8. package/dist/browser/index.mjs +2664 -2504
  9. package/dist/browser/index.mjs.map +1 -1
  10. package/dist/browser/modules/Dapp/Alert/RenderErrorWithSupportLink.d.ts.map +1 -1
  11. package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts +3 -3
  12. package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts.map +1 -1
  13. package/dist/browser/modules/Dapp/Button/StyledDappIconBuilder.d.ts +1 -1
  14. package/dist/browser/modules/Dapp/Button/StyledDappIconBuilder.d.ts.map +1 -1
  15. package/dist/browser/modules/Dapp/Button/hooks/useLaunchPoint.d.ts +1 -1
  16. package/dist/browser/modules/Dapp/Button/hooks/useLaunchPoint.d.ts.map +1 -1
  17. package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts +9 -1098
  18. package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts.map +1 -1
  19. package/dist/browser/modules/Dapp/Page/DappPathSwitcher.d.ts.map +1 -1
  20. package/dist/browser/modules/Dapp/Page/Row.d.ts +1 -1
  21. package/dist/browser/modules/Dapp/Page/Row.d.ts.map +1 -1
  22. package/dist/browser/modules/Dapp/modules/Window/LoadingFlexbox.d.ts.map +1 -1
  23. package/dist/browser/modules/Dapp/modules/Window/components/DefaultComingSoon/DefaultComingSoon.d.ts +1 -1
  24. package/dist/browser/modules/Dapp/modules/Window/components/DefaultComingSoon/DefaultComingSoon.d.ts.map +1 -1
  25. package/dist/browser/modules/Dapp/modules/Window/components/menu/BottomNavigation.d.ts.map +1 -1
  26. package/dist/browser/modules/Dapp/modules/Window/components/menu/Drawer.d.ts.map +1 -1
  27. package/dist/browser/modules/Dapp/modules/Window/components/menu/SocialData.d.ts.map +1 -1
  28. package/dist/browser/modules/Dapp/modules/Window/components/menu/StyledListItems.d.ts +2 -2
  29. package/dist/browser/modules/Dapp/modules/Window/components/menu/StyledListItems.d.ts.map +1 -1
  30. package/dist/browser/modules/Dapp/modules/Window/components/menu/img/index.d.ts +2 -2
  31. package/dist/browser/modules/Dapp/modules/Window/components/menu/img/index.d.ts.map +1 -1
  32. package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenu.d.ts.map +1 -1
  33. package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenuCaller.d.ts +2 -2
  34. package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenuCaller.d.ts.map +1 -1
  35. package/dist/browser/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappInjectableParamsFromRoute.d.ts.map +1 -1
  36. package/dist/browser/modules/Dapp/modules/Window/hooks/useSyncOsRegisteredAccessInterfaces.d.ts +1 -1
  37. package/dist/browser/modules/Dapp/modules/access-interface/components/Dialog.d.ts.map +1 -1
  38. package/dist/browser/modules/LoadingOsLogo/img/index.d.ts +1 -1
  39. package/dist/browser/modules/LoadingOsLogo/img/index.d.ts.map +1 -1
  40. package/dist/browser/modules/XyOsUi/lib/XyOsUi.d.ts.map +1 -1
  41. package/dist/browser/modules/bios/hooks/useKernel.d.ts +1 -1
  42. package/dist/browser/modules/bios/hooks/useKernel.d.ts.map +1 -1
  43. package/dist/browser/modules/dapps/accounts/components/AccountCard.d.ts +1 -1
  44. package/dist/browser/modules/dapps/accounts/components/AccountCard.d.ts.map +1 -1
  45. package/dist/browser/modules/dapps/accounts/models/CreditCardInput.d.ts +5 -3
  46. package/dist/browser/modules/dapps/accounts/models/CreditCardInput.d.ts.map +1 -1
  47. package/dist/browser/modules/dapps/table/head/Schema.d.ts +3 -1
  48. package/dist/browser/modules/dapps/table/head/Schema.d.ts.map +1 -1
  49. package/dist/browser/modules/dapps/table/head/components/StyledTableRowHeader.d.ts +1 -1
  50. package/dist/browser/modules/dapps/table/head/components/StyledTableRowHeader.d.ts.map +1 -1
  51. package/dist/browser/modules/intent/useDappIntentListener2.d.ts.map +1 -1
  52. package/dist/browser/modules/intent/useNavigateIntent.d.ts +2 -2
  53. package/dist/browser/modules/intent/useNavigateIntent.d.ts.map +1 -1
  54. package/dist/browser/modules/network/components/LoadingIndicator.d.ts.map +1 -1
  55. package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts +1 -1
  56. package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts.map +1 -1
  57. package/dist/browser/modules/os/hooks/useDappContextCreator.d.ts +0 -1
  58. package/dist/browser/modules/os/hooks/useDappContextCreator.d.ts.map +1 -1
  59. package/dist/browser/modules/os/hooks/useDappRegistrationResults.d.ts.map +1 -1
  60. package/dist/browser/modules/os/hooks/useDappRegistry.d.ts.map +1 -1
  61. package/dist/browser/modules/os/hooks/useDappSeedPhraseRepository.d.ts +1 -1
  62. package/dist/browser/modules/os/hooks/useDappSeedPhraseRepository.d.ts.map +1 -1
  63. package/dist/browser/modules/resource/ResourceHooks.d.ts.map +1 -1
  64. package/dist/browser/modules/resource/useSyncExternalPayloadStore.d.ts.map +1 -1
  65. package/dist/browser/modules/stack/useStackReady.d.ts.map +1 -1
  66. package/dist/browser/modules/widgets/Types/BarGraph/StyledLinearProgress.d.ts +1 -1
  67. package/dist/browser/modules/widgets/Types/BarGraph/StyledLinearProgress.d.ts.map +1 -1
  68. package/dist/browser/modules/widgets/Types/Stat/Subtitle.d.ts +1 -1
  69. package/dist/browser/modules/widgets/Types/Stat/Subtitle.d.ts.map +1 -1
  70. package/dist/browser/modules/widgets/Types/Stat/Unit.d.ts +1 -1
  71. package/dist/browser/modules/widgets/Types/Stat/Unit.d.ts.map +1 -1
  72. package/dist/browser/modules/widgets/Types/Stat/Value.d.ts +1 -1
  73. package/dist/browser/modules/widgets/Types/Stat/Value.d.ts.map +1 -1
  74. package/dist/browser/modules/widgets/Types/Tables/BooleanTable.d.ts +4 -4
  75. package/dist/browser/modules/widgets/Types/Tables/BooleanTable.d.ts.map +1 -1
  76. package/dist/browser/settings/Theme/ThemeCssVars.d.ts +1 -1
  77. package/dist/browser/settings/Theme/ThemeCssVars.d.ts.map +1 -1
  78. package/package.json +323 -75
  79. package/dist/browser/modules/Dapp/modules/Window/components/menu/stories/DefaultData.d.ts +0 -10
  80. package/dist/browser/modules/Dapp/modules/Window/components/menu/stories/DefaultData.d.ts.map +0 -1
  81. package/dist/browser/modules/Dapp/modules/Window/components/menu/stories/Drawer.stories.d.ts +0 -6
  82. package/dist/browser/modules/Dapp/modules/Window/components/menu/stories/Drawer.stories.d.ts.map +0 -1
  83. package/src/helpers/BridgeActivityHelper.ts +0 -40
  84. package/src/helpers/BrowserLocator.ts +0 -18
  85. package/src/helpers/NodePalettes.ts +0 -84
  86. package/src/helpers/index.ts +0 -5
  87. package/src/helpers/monitor/XyOsBrowserMonitor.ts +0 -14
  88. package/src/helpers/monitor/index.ts +0 -1
  89. package/src/helpers/widget/Caller.tsx +0 -124
  90. package/src/helpers/widget/index.ts +0 -1
  91. package/src/img/backgrounds/candy-dark@3x.webp +0 -0
  92. package/src/img/backgrounds/candy-light@3x.webp +0 -0
  93. package/src/img/backgrounds/candyApple-dark@3x.webp +0 -0
  94. package/src/img/backgrounds/candyApple-light@3x.webp +0 -0
  95. package/src/img/backgrounds/images.d.ts +0 -5
  96. package/src/img/backgrounds/index.ts +0 -18
  97. package/src/img/backgrounds/moss-dark@3x.webp +0 -0
  98. package/src/img/backgrounds/moss-light@3x.webp +0 -0
  99. package/src/img/backgrounds/ocean-dark@3x.webp +0 -0
  100. package/src/img/backgrounds/ocean-light@3x.webp +0 -0
  101. package/src/img/backgrounds/peachYogurt-dark@3x.webp +0 -0
  102. package/src/img/backgrounds/peachYogurt-light@3x.webp +0 -0
  103. package/src/img/backgrounds/sherbet-dark@3x.webp +0 -0
  104. package/src/img/backgrounds/sherbet-light@3x.webp +0 -0
  105. package/src/img/backgrounds/spring-dark@3x.webp +0 -0
  106. package/src/img/backgrounds/spring-light@3x.webp +0 -0
  107. package/src/img/backgrounds/sunset-dark@3x.webp +0 -0
  108. package/src/img/backgrounds/sunset-light@3x.webp +0 -0
  109. package/src/img/backgrounds/xyo-dark@3x.webp +0 -0
  110. package/src/img/backgrounds/xyo-light@3x.webp +0 -0
  111. package/src/img/index.ts +0 -1
  112. package/src/index.ts +0 -5
  113. package/src/interfaces/StackReady.ts +0 -6
  114. package/src/interfaces/index.ts +0 -1
  115. package/src/modules/Dapp/Alert/RenderErrorWithSupportLink.tsx +0 -50
  116. package/src/modules/Dapp/Alert/index.ts +0 -1
  117. package/src/modules/Dapp/Button/IconEx.tsx +0 -96
  118. package/src/modules/Dapp/Button/LaunchFrame.tsx +0 -77
  119. package/src/modules/Dapp/Button/StyledComponents.tsx +0 -55
  120. package/src/modules/Dapp/Button/StyledDappIconBuilder.tsx +0 -17
  121. package/src/modules/Dapp/Button/hooks/index.ts +0 -1
  122. package/src/modules/Dapp/Button/hooks/useLaunchPoint.tsx +0 -31
  123. package/src/modules/Dapp/Button/index.ts +0 -4
  124. package/src/modules/Dapp/Button/lib/decomposeProps.tsx +0 -15
  125. package/src/modules/Dapp/Button/lib/index.ts +0 -1
  126. package/src/modules/Dapp/Container.tsx +0 -63
  127. package/src/modules/Dapp/ContainerFlexbox.tsx +0 -30
  128. package/src/modules/Dapp/Debug/Dialog.tsx +0 -54
  129. package/src/modules/Dapp/Debug/index.ts +0 -1
  130. package/src/modules/Dapp/EnterAnimation.tsx +0 -54
  131. package/src/modules/Dapp/Page/DappPage.tsx +0 -115
  132. package/src/modules/Dapp/Page/DappPathSwitcher.tsx +0 -58
  133. package/src/modules/Dapp/Page/DividerChip.tsx +0 -31
  134. package/src/modules/Dapp/Page/Row.tsx +0 -69
  135. package/src/modules/Dapp/Page/index.ts +0 -3
  136. package/src/modules/Dapp/RenderHtml.tsx +0 -12
  137. package/src/modules/Dapp/index.ts +0 -8
  138. package/src/modules/Dapp/lib/DappState.ts +0 -5
  139. package/src/modules/Dapp/lib/DefaultIconSize.ts +0 -1
  140. package/src/modules/Dapp/lib/deriveDappState.ts +0 -16
  141. package/src/modules/Dapp/lib/index.ts +0 -3
  142. package/src/modules/Dapp/modules/Window/AppBar.tsx +0 -115
  143. package/src/modules/Dapp/modules/Window/Chrome.tsx +0 -79
  144. package/src/modules/Dapp/modules/Window/DappWindow.tsx +0 -39
  145. package/src/modules/Dapp/modules/Window/LoadingFlexbox.tsx +0 -99
  146. package/src/modules/Dapp/modules/Window/MetaTags.tsx +0 -27
  147. package/src/modules/Dapp/modules/Window/NodeManifest.tsx +0 -16
  148. package/src/modules/Dapp/modules/Window/Rendered.tsx +0 -101
  149. package/src/modules/Dapp/modules/Window/Trail.tsx +0 -33
  150. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/DefaultComingSoon.tsx +0 -82
  151. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/DeveloperLinkSection.tsx +0 -27
  152. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/InstallButtonSection.tsx +0 -34
  153. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/SummarySection.tsx +0 -73
  154. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/index.ts +0 -1
  155. package/src/modules/Dapp/modules/Window/components/index.ts +0 -2
  156. package/src/modules/Dapp/modules/Window/components/menu/BottomMenuArea.tsx +0 -130
  157. package/src/modules/Dapp/modules/Window/components/menu/BottomNavigation.tsx +0 -66
  158. package/src/modules/Dapp/modules/Window/components/menu/Drawer.tsx +0 -160
  159. package/src/modules/Dapp/modules/Window/components/menu/SocialData.tsx +0 -71
  160. package/src/modules/Dapp/modules/Window/components/menu/StyledListItems.tsx +0 -36
  161. package/src/modules/Dapp/modules/Window/components/menu/img/index.ts +0 -2
  162. package/src/modules/Dapp/modules/Window/components/menu/img/xyoOS-Icon-Black.svg +0 -1
  163. package/src/modules/Dapp/modules/Window/components/menu/img/xyoOS-Icon-White.svg +0 -1
  164. package/src/modules/Dapp/modules/Window/components/menu/index.ts +0 -3
  165. package/src/modules/Dapp/modules/Window/components/menu/stories/DefaultData.tsx +0 -118
  166. package/src/modules/Dapp/modules/Window/components/menu/stories/Drawer.stories.tsx +0 -36
  167. package/src/modules/Dapp/modules/Window/components/menu/stories/default.manifest.json +0 -20
  168. package/src/modules/Dapp/modules/Window/hooks/index.ts +0 -8
  169. package/src/modules/Dapp/modules/Window/hooks/lib/DappPathHelpers.ts +0 -34
  170. package/src/modules/Dapp/modules/Window/hooks/lib/detectCustomer.ts +0 -21
  171. package/src/modules/Dapp/modules/Window/hooks/lib/index.ts +0 -2
  172. package/src/modules/Dapp/modules/Window/hooks/menu/index.ts +0 -5
  173. package/src/modules/Dapp/modules/Window/hooks/menu/useAddDappMenuItems.ts +0 -25
  174. package/src/modules/Dapp/modules/Window/hooks/menu/useBuildDappMenuResource.ts +0 -39
  175. package/src/modules/Dapp/modules/Window/hooks/menu/useDappMenu.ts +0 -71
  176. package/src/modules/Dapp/modules/Window/hooks/menu/useDappMenuCaller.ts +0 -22
  177. package/src/modules/Dapp/modules/Window/hooks/menu/useDappMenuDependencies.ts +0 -16
  178. package/src/modules/Dapp/modules/Window/hooks/route/helpers/RoutingNodes.md +0 -7
  179. package/src/modules/Dapp/modules/Window/hooks/route/helpers/index.ts +0 -4
  180. package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappInjectableParamsFromRoute.tsx +0 -56
  181. package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappIntentRequest.tsx +0 -68
  182. package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappPathFromRoute.tsx +0 -75
  183. package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappStateFromRoute.tsx +0 -51
  184. package/src/modules/Dapp/modules/Window/hooks/route/index.ts +0 -1
  185. package/src/modules/Dapp/modules/Window/hooks/useDebugClick.ts +0 -61
  186. package/src/modules/Dapp/modules/Window/hooks/useDecomposeDapp.tsx +0 -21
  187. package/src/modules/Dapp/modules/Window/hooks/useExposedNode.ts +0 -6
  188. package/src/modules/Dapp/modules/Window/hooks/useSkipLoadingScreen.tsx +0 -17
  189. package/src/modules/Dapp/modules/Window/hooks/useSyncOsRegisteredAccessInterfaces.tsx +0 -36
  190. package/src/modules/Dapp/modules/Window/index.ts +0 -7
  191. package/src/modules/Dapp/modules/Window/types/DappMenuProperties.ts +0 -9
  192. package/src/modules/Dapp/modules/Window/types/DappWindowProps.ts +0 -14
  193. package/src/modules/Dapp/modules/Window/types/index.ts +0 -2
  194. package/src/modules/Dapp/modules/access-interface/components/Dialog.tsx +0 -132
  195. package/src/modules/Dapp/modules/access-interface/components/Flexbox.tsx +0 -29
  196. package/src/modules/Dapp/modules/access-interface/components/index.ts +0 -2
  197. package/src/modules/Dapp/modules/access-interface/hooks/index.ts +0 -1
  198. package/src/modules/Dapp/modules/access-interface/hooks/useDialogState.tsx +0 -28
  199. package/src/modules/Dapp/modules/access-interface/index.ts +0 -2
  200. package/src/modules/Dapp/modules/index.ts +0 -2
  201. package/src/modules/Dapp/useDappCaller.ts +0 -16
  202. package/src/modules/LoadingOsLogo/LoadingOsLogo.tsx +0 -54
  203. package/src/modules/LoadingOsLogo/img/index.ts +0 -1
  204. package/src/modules/LoadingOsLogo/img/xyoOS-Icon.svg +0 -1
  205. package/src/modules/LoadingOsLogo/index.ts +0 -1
  206. package/src/modules/XyOsUi/contexts/XyOsUiContext.ts +0 -10
  207. package/src/modules/XyOsUi/contexts/index.ts +0 -1
  208. package/src/modules/XyOsUi/index.ts +0 -2
  209. package/src/modules/XyOsUi/lib/XyOsUi.ts +0 -51
  210. package/src/modules/XyOsUi/lib/index.ts +0 -1
  211. package/src/modules/access-requests/NameServiceRegistrationHooks.ts +0 -36
  212. package/src/modules/access-requests/index.ts +0 -2
  213. package/src/modules/access-requests/useBuildDappAccessRequestResource.ts +0 -38
  214. package/src/modules/bios/hooks/index.ts +0 -2
  215. package/src/modules/bios/hooks/useBios.ts +0 -25
  216. package/src/modules/bios/hooks/useKernel.ts +0 -36
  217. package/src/modules/bios/index.ts +0 -1
  218. package/src/modules/dapps/accounts/components/AccountCard.tsx +0 -57
  219. package/src/modules/dapps/accounts/components/AnimatedComponents/GenericAnimations/ShiftAnimation.tsx +0 -116
  220. package/src/modules/dapps/accounts/components/AnimatedComponents/GenericAnimations/index.ts +0 -1
  221. package/src/modules/dapps/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPoint.tsx +0 -23
  222. package/src/modules/dapps/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPointList.tsx +0 -24
  223. package/src/modules/dapps/accounts/components/AnimatedComponents/IconAnimations/index.ts +0 -2
  224. package/src/modules/dapps/accounts/components/AnimatedComponents/index.ts +0 -2
  225. package/src/modules/dapps/accounts/components/InputFields/CoinbaseEmail.tsx +0 -41
  226. package/src/modules/dapps/accounts/components/InputFields/PrimaryCryptowallet.tsx +0 -42
  227. package/src/modules/dapps/accounts/components/InputFields/SecondaryCryptowallet.tsx +0 -42
  228. package/src/modules/dapps/accounts/components/InputFields/index.ts +0 -3
  229. package/src/modules/dapps/accounts/components/PaymentMethods.tsx +0 -51
  230. package/src/modules/dapps/accounts/components/index.ts +0 -3
  231. package/src/modules/dapps/accounts/hooks/index.ts +0 -1
  232. package/src/modules/dapps/accounts/hooks/useAccountArchivist.ts +0 -5
  233. package/src/modules/dapps/accounts/icon/Icon.tsx +0 -49
  234. package/src/modules/dapps/accounts/icon/custom-accounts-icon.svg +0 -1
  235. package/src/modules/dapps/accounts/icon/index.ts +0 -1
  236. package/src/modules/dapps/accounts/index.ts +0 -3
  237. package/src/modules/dapps/accounts/models/CreditCardInput.ts +0 -20
  238. package/src/modules/dapps/accounts/models/index.ts +0 -1
  239. package/src/modules/dapps/index.ts +0 -3
  240. package/src/modules/dapps/name-service/DomainIcon.tsx +0 -12
  241. package/src/modules/dapps/name-service/index.ts +0 -1
  242. package/src/modules/dapps/table/NextIteratorFlexbox.tsx +0 -33
  243. package/src/modules/dapps/table/head/Payload.ts +0 -11
  244. package/src/modules/dapps/table/head/Schema.ts +0 -2
  245. package/src/modules/dapps/table/head/components/Head.tsx +0 -47
  246. package/src/modules/dapps/table/head/components/StyledTableRowHeader.tsx +0 -6
  247. package/src/modules/dapps/table/head/components/index.ts +0 -1
  248. package/src/modules/dapps/table/head/hooks/index.ts +0 -1
  249. package/src/modules/dapps/table/head/hooks/useVisibleColumns.tsx +0 -15
  250. package/src/modules/dapps/table/head/index.ts +0 -4
  251. package/src/modules/dapps/table/index.ts +0 -2
  252. package/src/modules/index.ts +0 -12
  253. package/src/modules/intent/DappIntentResourceHooks.ts +0 -35
  254. package/src/modules/intent/index.ts +0 -7
  255. package/src/modules/intent/useClearIntents.ts +0 -14
  256. package/src/modules/intent/useDappIntentCaller.ts +0 -17
  257. package/src/modules/intent/useDappIntentListener.ts +0 -53
  258. package/src/modules/intent/useDappIntentListener2.ts +0 -48
  259. package/src/modules/intent/useNavigateIntent.ts +0 -51
  260. package/src/modules/intent/useSendDappIntent.ts +0 -38
  261. package/src/modules/network/components/LoadingIndicator.tsx +0 -51
  262. package/src/modules/network/components/NetworkButton.tsx +0 -27
  263. package/src/modules/network/components/NetworkReady.tsx +0 -31
  264. package/src/modules/network/components/StyledLoadingIndicator.tsx +0 -49
  265. package/src/modules/network/components/index.ts +0 -3
  266. package/src/modules/network/hooks/index.ts +0 -2
  267. package/src/modules/network/hooks/lib/NetworkState.ts +0 -8
  268. package/src/modules/network/hooks/lib/createNetworkState.ts +0 -20
  269. package/src/modules/network/hooks/lib/index.ts +0 -2
  270. package/src/modules/network/hooks/useOsNetwork.tsx +0 -17
  271. package/src/modules/network/hooks/useXyoPublicNetwork.tsx +0 -17
  272. package/src/modules/network/index.ts +0 -2
  273. package/src/modules/os/hooks/index.ts +0 -8
  274. package/src/modules/os/hooks/useDappContextCreator.ts +0 -90
  275. package/src/modules/os/hooks/useDappRegistrationResults.ts +0 -30
  276. package/src/modules/os/hooks/useDappRegistry.ts +0 -19
  277. package/src/modules/os/hooks/useDappSeedPhraseRepository.ts +0 -19
  278. package/src/modules/os/hooks/useOsSettingsCaller.ts +0 -19
  279. package/src/modules/os/hooks/usePhraseFile.ts +0 -33
  280. package/src/modules/os/hooks/useTabs.ts +0 -14
  281. package/src/modules/os/hooks/useWidgetDapps.ts +0 -23
  282. package/src/modules/os/index.ts +0 -1
  283. package/src/modules/resource/ResourceHooks.ts +0 -45
  284. package/src/modules/resource/index.ts +0 -3
  285. package/src/modules/resource/useCleanup.ts +0 -10
  286. package/src/modules/resource/useSyncExternalPayloadStore.ts +0 -37
  287. package/src/modules/stack/index.ts +0 -1
  288. package/src/modules/stack/useStackReady.ts +0 -48
  289. package/src/modules/widgets/StackOfWidgets.tsx +0 -149
  290. package/src/modules/widgets/Types/BarGraph/HorizontalBarGraph.tsx +0 -58
  291. package/src/modules/widgets/Types/BarGraph/StyledLinearProgress.tsx +0 -12
  292. package/src/modules/widgets/Types/BarGraph/index.ts +0 -2
  293. package/src/modules/widgets/Types/DataColumns/TwoColFourStat.tsx +0 -34
  294. package/src/modules/widgets/Types/DataColumns/TwoColTwoStat.tsx +0 -39
  295. package/src/modules/widgets/Types/DataColumns/index.ts +0 -1
  296. package/src/modules/widgets/Types/Examples/BarGraph.tsx +0 -10
  297. package/src/modules/widgets/Types/Examples/BooleanTable.tsx +0 -27
  298. package/src/modules/widgets/Types/Examples/TwoColTwoStat.tsx +0 -27
  299. package/src/modules/widgets/Types/Examples/index.ts +0 -3
  300. package/src/modules/widgets/Types/Stat/Insight.ts +0 -9
  301. package/src/modules/widgets/Types/Stat/InsightStatProps.ts +0 -7
  302. package/src/modules/widgets/Types/Stat/Stat.tsx +0 -41
  303. package/src/modules/widgets/Types/Stat/Subtitle.tsx +0 -14
  304. package/src/modules/widgets/Types/Stat/Unit.tsx +0 -13
  305. package/src/modules/widgets/Types/Stat/Value.tsx +0 -16
  306. package/src/modules/widgets/Types/Stat/index.ts +0 -3
  307. package/src/modules/widgets/Types/Tables/BooleanTable.tsx +0 -88
  308. package/src/modules/widgets/Types/Tables/index.ts +0 -1
  309. package/src/modules/widgets/Types/index.ts +0 -4
  310. package/src/modules/widgets/WidgetCard.tsx +0 -111
  311. package/src/modules/widgets/WidgetCardExamples.tsx +0 -31
  312. package/src/modules/widgets/index.ts +0 -2
  313. package/src/settings/Theme/ThemeCssVars.ts +0 -228
  314. package/src/settings/Theme/ThemeProvider.tsx +0 -20
  315. package/src/settings/Theme/index.ts +0 -1
  316. package/src/settings/index.ts +0 -1
  317. package/src/types/global.d.ts +0 -11
  318. package/src/types/images.d.ts +0 -4
  319. package/src/utils/DappInstallTypeFilters.ts +0 -27
  320. package/src/utils/getApiDomain.ts +0 -14
  321. package/src/utils/index.ts +0 -3
  322. package/src/utils/useOnWindowResize.tsx +0 -18
@@ -1,116 +0,0 @@
1
- // Inspired by https://www.joshwcomeau.com/react/rotate/#bonus-that-star-animation-8
2
-
3
- import { animated, useSpring } from '@react-spring/web'
4
- import type { FlexBoxProps } from '@xylabs/react-flexbox'
5
- import React, { useEffect, useState } from 'react'
6
-
7
- export interface ShiftAnimationProps extends FlexBoxProps {
8
- animationDirection: Direction
9
- startAnimation?: boolean
10
- }
11
-
12
- type Direction = 'wiggle' | 'jump' | 'up' | 'down' | 'left' | 'right'
13
- interface PointData {
14
- FromXMovement?: Readonly<number>
15
- FromYMovement?: Readonly<number>
16
- ToXMovement?: Readonly<number>
17
- ToYMovement?: Readonly<number>
18
- }
19
- const MovementData: Readonly<Record<Direction, Readonly<PointData[]>>> = {
20
- down: [
21
- {
22
- FromYMovement: 0,
23
- ToYMovement: -3,
24
- },
25
- {
26
- FromYMovement: -3,
27
- ToYMovement: 0,
28
- },
29
- ],
30
- jump: [
31
- {
32
- FromYMovement: 0,
33
- ToYMovement: -3,
34
- },
35
- {
36
- FromYMovement: -3,
37
- ToYMovement: 0,
38
- },
39
- ],
40
- left: [
41
- {
42
- FromXMovement: 0,
43
- ToXMovement: -3,
44
- },
45
- {
46
- FromXMovement: -3,
47
- ToXMovement: 0,
48
- },
49
- ],
50
- right: [
51
- {
52
- FromXMovement: 0,
53
- ToXMovement: -3,
54
- },
55
- {
56
- FromXMovement: -3,
57
- ToXMovement: 0,
58
- },
59
- ],
60
- up: [
61
- {
62
- FromYMovement: 0,
63
- ToYMovement: -3,
64
- },
65
- {
66
- FromYMovement: -3,
67
- ToYMovement: 0,
68
- },
69
- ],
70
- wiggle: [
71
- {
72
- FromXMovement: 0,
73
- ToXMovement: -3,
74
- },
75
- {
76
- FromXMovement: -3,
77
- ToXMovement: 0,
78
- },
79
- ],
80
- }
81
-
82
- export const ShiftAnimation: React.FC<ShiftAnimationProps> = ({
83
- startAnimation = false, animationDirection, children,
84
- }) => {
85
- const [isShifted, setIsShifted] = useState(startAnimation)
86
- const anim = useSpring({
87
- backfaceVisibility: 'hidden',
88
- config: {
89
- friction: 10,
90
- tension: 300,
91
- },
92
- from: {
93
- x: startAnimation ? MovementData[animationDirection][1].FromXMovement : 0,
94
- y: startAnimation ? MovementData[animationDirection][1].FromYMovement : 0,
95
- },
96
- reset: true,
97
- to: {
98
- x: startAnimation ? MovementData[animationDirection][0].FromXMovement : 0,
99
- y: startAnimation ? MovementData[animationDirection][0].FromYMovement : 0,
100
- },
101
- })
102
-
103
- useEffect(() => {
104
- if (!isShifted) {
105
- return
106
- }
107
- const timeoutId = globalThis.setTimeout(() => {
108
- setIsShifted(false)
109
- }, 5)
110
- return () => {
111
- globalThis.clearTimeout(timeoutId)
112
- }
113
- }, [isShifted])
114
-
115
- return <animated.div style={anim}>{children}</animated.div>
116
- }
@@ -1 +0,0 @@
1
- export { ShiftAnimation } from './ShiftAnimation.tsx'
@@ -1,23 +0,0 @@
1
- import { FiberManualRecordRounded } from '@mui/icons-material'
2
- import type { BoxProps } from '@mui/material'
3
- import { Box, useTheme } from '@mui/material'
4
- import { alphaCss } from '@xylabs/react-theme'
5
- import React from 'react'
6
-
7
- export const TwoToneBulletPoint: React.FC<BoxProps> = (props) => {
8
- const theme = useTheme()
9
- return (
10
- <Box {...props}>
11
- <FiberManualRecordRounded
12
- fontSize="small"
13
- sx={{
14
- '&:hover': { padding: 0.2 },
15
- 'backgroundColor': alphaCss(theme.vars?.palette.secondary.main ?? '#000', 0.2),
16
- 'borderRadius': 2,
17
- 'padding': 0.4,
18
- }}
19
- color="primary"
20
- />
21
- </Box>
22
- )
23
- }
@@ -1,24 +0,0 @@
1
- import { FlexCol, FlexGrowRow } from '@xylabs/react-flexbox'
2
- import type { ReactNode } from 'react'
3
- import React from 'react'
4
-
5
- import { TwoToneBulletPoint } from './TwoToneBulletPoint.tsx'
6
-
7
- export interface TwoToneBulletPointListProps {
8
- list: ReactNode[]
9
- }
10
-
11
- export const TwoToneBulletPointList: React.FC<TwoToneBulletPointListProps> = ({ list }) => {
12
- return (
13
- <FlexCol alignItems="flex-start" gap={1}>
14
- {list.map((item, index) => {
15
- return (
16
- <FlexGrowRow key={index + 'bulletPointList'} alignItems="flex-start" justifyContent="flex-start" gap={1}>
17
- <TwoToneBulletPoint marginTop="4px" />
18
- {item}
19
- </FlexGrowRow>
20
- )
21
- })}
22
- </FlexCol>
23
- )
24
- }
@@ -1,2 +0,0 @@
1
- export { TwoToneBulletPoint } from './TwoToneBulletPoint.tsx'
2
- export { TwoToneBulletPointList } from './TwoToneBulletPointList.tsx'
@@ -1,2 +0,0 @@
1
- export * from './GenericAnimations/index.ts'
2
- export * from './IconAnimations/index.ts'
@@ -1,41 +0,0 @@
1
- import type { StandardTextFieldProps } from '@mui/material'
2
- import { FormControl, TextField } from '@mui/material'
3
- import { LabeledTextFieldWrapper } from '@xyo-network/react-shared'
4
- import type { ChangeEventHandler, FocusEventHandler } from 'react'
5
- import React, { useState } from 'react'
6
-
7
- export interface CoinbaseEmailInputProps extends StandardTextFieldProps {
8
- existingEmail?: string
9
- }
10
-
11
- export const CoinbaseEmailInput: React.FC<CoinbaseEmailInputProps> = ({ existingEmail, ...props }) => {
12
- const [email, setEmail] = useState(existingEmail)
13
- const [valid, setValid] = useState<boolean | undefined>()
14
-
15
- const handleBlur: FocusEventHandler<HTMLInputElement> = (event) => {
16
- setValid(!!event.target.value)
17
- }
18
-
19
- const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {
20
- const emailFromEvent = event.target.value
21
- setValid(!!emailFromEvent)
22
- setEmail(emailFromEvent)
23
- }
24
- return (
25
- <FormControl fullWidth>
26
- <LabeledTextFieldWrapper label="Primary Cryptowallet">
27
- <TextField
28
- fullWidth
29
- variant="filled"
30
- error={valid === false}
31
- hiddenLabel
32
- onBlur={handleBlur}
33
- value={email}
34
- onChange={handleChange}
35
- size="small"
36
- {...props}
37
- />
38
- </LabeledTextFieldWrapper>
39
- </FormControl>
40
- )
41
- }
@@ -1,42 +0,0 @@
1
- import type { StandardTextFieldProps } from '@mui/material'
2
- import { FormControl, TextField } from '@mui/material'
3
- import { LabeledTextFieldWrapper } from '@xyo-network/react-shared'
4
- import type { ChangeEventHandler, FocusEventHandler } from 'react'
5
- import React, { useState } from 'react'
6
-
7
- export interface PrimaryCryptoWalletInputProps extends StandardTextFieldProps {
8
- existingPrimaryCryptoWallet?: string
9
- }
10
-
11
- export const PrimaryCryptoWalletInput: React.FC<PrimaryCryptoWalletInputProps> = ({ existingPrimaryCryptoWallet, ...props }) => {
12
- const [primaryWallet, setPrimaryWallet] = useState(existingPrimaryCryptoWallet)
13
- const [valid, setValid] = useState<boolean | undefined>()
14
-
15
- const handleBlur: FocusEventHandler<HTMLInputElement> = (event) => {
16
- setValid(!!event.target.value)
17
- }
18
-
19
- const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {
20
- const nameFromEvent = event.target.value
21
- setValid(!!nameFromEvent)
22
- setPrimaryWallet(nameFromEvent)
23
- }
24
- return (
25
- <FormControl fullWidth>
26
- <LabeledTextFieldWrapper label="Primary Cryptowallet">
27
- <TextField
28
- fullWidth
29
- variant="filled"
30
- error={valid === false}
31
- hiddenLabel
32
- onBlur={handleBlur}
33
- value={primaryWallet}
34
- onChange={handleChange}
35
- size="small"
36
- required
37
- {...props}
38
- />
39
- </LabeledTextFieldWrapper>
40
- </FormControl>
41
- )
42
- }
@@ -1,42 +0,0 @@
1
- import type { StandardTextFieldProps } from '@mui/material'
2
- import { FormControl, TextField } from '@mui/material'
3
- import { LabeledTextFieldWrapper } from '@xyo-network/react-shared'
4
- import type { ChangeEventHandler, FocusEventHandler } from 'react'
5
- import React, { useState } from 'react'
6
-
7
- export interface SecondaryCryptoWalletInputProps extends StandardTextFieldProps {
8
- existingSecondaryCryptoWallet?: string
9
- }
10
-
11
- export const SecondaryCryptoWalletInput: React.FC<SecondaryCryptoWalletInputProps> = ({ existingSecondaryCryptoWallet, ...props }) => {
12
- const [secondaryWallet, setSecondaryWallet] = useState(existingSecondaryCryptoWallet)
13
- const [valid, setValid] = useState<boolean | undefined>()
14
-
15
- const handleBlur: FocusEventHandler<HTMLInputElement> = (event) => {
16
- setValid(!!event.target.value)
17
- }
18
-
19
- const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {
20
- const walletFromEvent = event.target.value
21
- setValid(!!walletFromEvent)
22
- setSecondaryWallet(walletFromEvent)
23
- }
24
- return (
25
- <FormControl fullWidth>
26
- <LabeledTextFieldWrapper label="Secondary Cryptowallet">
27
- <TextField
28
- variant="filled"
29
- fullWidth
30
- error={valid === false}
31
- hiddenLabel
32
- onBlur={handleBlur}
33
- value={secondaryWallet}
34
- onChange={handleChange}
35
- size="small"
36
- required
37
- {...props}
38
- />
39
- </LabeledTextFieldWrapper>
40
- </FormControl>
41
- )
42
- }
@@ -1,3 +0,0 @@
1
- export * from './CoinbaseEmail.tsx'
2
- export * from './PrimaryCryptowallet.tsx'
3
- export * from './SecondaryCryptowallet.tsx'
@@ -1,51 +0,0 @@
1
- import { Grid } from '@mui/material'
2
- import type { FlexBoxProps } from '@xylabs/react-flexbox'
3
- import { FormGroupCreditCardProvider } from '@xyo-network/react-form-credit-card'
4
- import React from 'react'
5
-
6
- import { DappPage } from '../../../Dapp/index.ts'
7
- import { AccountCard } from './AccountCard.tsx'
8
- import {
9
- CoinbaseEmailInput, PrimaryCryptoWalletInput, SecondaryCryptoWalletInput,
10
- } from './InputFields/index.ts'
11
-
12
- export const PaymentMethods: React.FC<FlexBoxProps> = () => {
13
- return (
14
- <DappPage title="Payment Methods">
15
- <Grid container spacing={3}>
16
- <Grid size={{ xs: 12 }}>
17
- <AccountCard
18
- sx={{ height: '100%' }}
19
- items={[
20
- {
21
- // TODO - needs a default implementation
22
- component: (
23
- <FormGroupCreditCardProvider>
24
- null
25
- </FormGroupCreditCardProvider>
26
- ),
27
- desc: 'Save a credit card to your node to complete credit payments seamlessly.',
28
- title: 'Credit Card',
29
- },
30
- {
31
- component: <CoinbaseEmailInput />,
32
- desc: 'Use your Coinbase Account receive payments easily.',
33
- title: 'Coinbase Email',
34
- },
35
- {
36
- component: <PrimaryCryptoWalletInput />,
37
- desc: 'This is the primary crypto wallet on your node.',
38
- title: 'Primary Crypto Wallet',
39
- },
40
- {
41
- component: <SecondaryCryptoWalletInput />,
42
- desc: 'This is the secondary crypto wallet on your node.',
43
- title: 'Secondary Crypto Wallet',
44
- },
45
- ]}
46
- />
47
- </Grid>
48
- </Grid>
49
- </DappPage>
50
- )
51
- }
@@ -1,3 +0,0 @@
1
- export * from './AnimatedComponents/index.ts'
2
- export * from './InputFields/index.ts'
3
- export * from './PaymentMethods.tsx'
@@ -1 +0,0 @@
1
- export * from './useAccountArchivist.ts'
@@ -1,5 +0,0 @@
1
- import { useWeakArchivistFromNode } from '@xyo-network/react-archivist'
2
-
3
- export const useAccountArchivist = () => {
4
- return useWeakArchivistFromNode('AccountArchivist')
5
- }
@@ -1,49 +0,0 @@
1
- /* eslint-disable @stylistic/max-len */
2
- import { createSvgIcon } from '@mui/material'
3
- import React from 'react'
4
-
5
- export const AccountsIcon = createSvgIcon(
6
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">
7
- <path
8
- fill="transparent"
9
- d="M6.44,27.12c-.78,0-1.44.28-2,.83-.55.55-.83,1.21-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83Z"
10
- />
11
- <path
12
- fill="transparent"
13
- d="M18.01,27.91c-.55.55-.83,1.22-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83s-1.44.28-2,.83Z"
14
- />
15
- <path
16
- fill="transparent"
17
- d="M33.56,27.12c-.78,0-1.44.28-2,.83-.55.55-.83,1.21-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83Z"
18
- />
19
- <path
20
- fill="currentColor"
21
- d="M36.55,26.94c-.82-.82-1.82-1.23-3-1.23-.32,0-.63.04-.93.11-.3.07-.59.17-.87.31l-5.87-8.09c-.18.03-.36.05-.56.05h-1.13l6.42,8.83c-.39.4-.7.85-.93,1.36-.23.51-.35,1.06-.35,1.66,0,1.18.41,2.17,1.23,3s1.82,1.23,3,1.23,2.17-.41,3-1.23,1.23-1.82,1.23-3-.41-2.17-1.23-3ZM35.55,31.93c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99Z"
22
- />
23
- <path
24
- fill="currentColor"
25
- d="M19.29,25.73c-1,.16-1.84.64-2.52,1.42-.67.79-1.01,1.7-1.01,2.75,0,1.18.41,2.17,1.23,3,.82.82,1.82,1.23,3,1.23s2.17-.41,3-1.23c.82-.82,1.23-1.82,1.23-3,0-1.05-.34-1.97-1.01-2.74-.67-.78-1.51-1.25-2.52-1.43v-7.65h-1.41v7.65ZM22,27.91c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83Z"
26
- />
27
- <path
28
- fill="currentColor"
29
- d="M14.1,18l-5.89,8.08c-.28-.13-.56-.22-.86-.28-.29-.06-.6-.09-.91-.09-1.18,0-2.17.41-3,1.23-.82.82-1.23,1.82-1.23,3s.41,2.17,1.23,3,1.82,1.23,3,1.23,2.17-.41,3-1.23,1.23-1.82,1.23-3c0-.6-.12-1.15-.36-1.66s-.56-.96-.95-1.36l6.45-8.83h-1c-.25,0-.48-.03-.7-.08ZM8.44,31.93c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99Z"
30
- />
31
- <path
32
- fill="transparent"
33
- d="M20,12.91c1.26,0,2.46.19,3.61.56,1.15.37,2.23.88,3.23,1.54V4.86c0-.44-.15-.82-.46-1.12s-.68-.46-1.12-.46h-10.52c-.44,0-.82.15-1.12.46s-.46.68-.46,1.12v10.15c1-.66,2.08-1.17,3.23-1.54s2.36-.56,3.61-.56ZM17.7,5.83c.63-.63,1.4-.95,2.3-.95s1.66.32,2.3.95.95,1.4.95,2.3-.32,1.66-.95,2.3-1.4.95-2.3.95-1.66-.32-2.3-.95-.95-1.4-.95-2.3.32-1.66.95-2.3Z"
34
- />
35
- <path
36
- fill="transparent"
37
- d="M20,10.32c.6,0,1.12-.21,1.55-.64.43-.43.65-.94.65-1.55s-.22-1.12-.65-1.55c-.43-.43-.95-.65-1.55-.65s-1.12.22-1.55.65-.64.95-.64,1.55.21,1.12.64,1.55.94.64,1.55.64Z"
38
- />
39
- <path
40
- fill="currentColor"
41
- d="M20,11.37c.9,0,1.66-.32,2.3-.95s.95-1.4.95-2.3-.32-1.66-.95-2.3-1.4-.95-2.3-.95-1.66.32-2.3.95-.95,1.4-.95,2.3.32,1.66.95,2.3,1.4.95,2.3.95ZM18.45,6.58c.43-.43.95-.65,1.55-.65s1.12.22,1.55.65c.43.43.65.95.65,1.55s-.22,1.12-.65,1.55c-.43.43-.95.64-1.55.64s-1.12-.21-1.55-.64-.64-.95-.64-1.55.21-1.12.64-1.55Z"
42
- />
43
- <path
44
- fill="currentColor"
45
- d="M27.21,2.9c-.5-.5-1.15-.75-1.95-.75h-10.52c-.8,0-1.45.25-1.95.75-.5.5-.75,1.15-.75,1.95v10.52c0,.8.25,1.45.75,1.95.35.35.77.56,1.25.67.22.05.45.08.7.08h10.52c.2,0,.38-.02.56-.05.55-.09,1.01-.33,1.39-.71.5-.5.75-1.15.75-1.95V4.86c0-.8-.25-1.45-.75-1.95ZM25.93,16.74c-.26.14-.55.22-.86.22h-10.15s-.08-.01-.12-.01c-.25-.02-.5-.08-.74-.2-.28-.14-.45-.35-.5-.63.99-.7,2.03-1.22,3.12-1.57s2.19-.52,3.31-.52,2.27.18,3.4.55c1.13.36,2.18.88,3.16,1.54-.15.27-.36.48-.63.63ZM26.84,15.01c-1-.66-2.08-1.17-3.23-1.54-1.15-.37-2.36-.56-3.61-.56s-2.46.19-3.61.56-2.23.88-3.23,1.54V4.86c0-.44.15-.82.46-1.12s.68-.46,1.12-.46h10.52c.44,0,.82.15,1.12.46s.46.68.46,1.12v10.15Z"
46
- />
47
- </svg>,
48
- 'AccountsIcon',
49
- )
@@ -1 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><style>.cls-1{fill:none;}.cls-1,.cls-2{stroke-width:0px;}.cls-2{fill:#000;}</style></defs><path class="cls-1" d="M6.44,27.12c-.78,0-1.44.28-2,.83-.55.55-.83,1.21-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83Z"/><path class="cls-1" d="M18.01,27.91c-.55.55-.83,1.22-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83s-1.44.28-2,.83Z"/><path class="cls-1" d="M33.56,27.12c-.78,0-1.44.28-2,.83-.55.55-.83,1.21-.83,1.99s.28,1.44.83,2c.55.55,1.21.83,1.99.83s1.44-.28,2-.83c.55-.55.83-1.21.83-1.99s-.28-1.44-.83-2c-.55-.55-1.21-.83-1.99-.83Z"/><path class="cls-2" d="M36.55,26.94c-.82-.82-1.82-1.23-3-1.23-.32,0-.63.04-.93.11-.3.07-.59.17-.87.31l-5.87-8.09c-.18.03-.36.05-.56.05h-1.13l6.42,8.83c-.39.4-.7.85-.93,1.36-.23.51-.35,1.06-.35,1.66,0,1.18.41,2.17,1.23,3s1.82,1.23,3,1.23,2.17-.41,3-1.23,1.23-1.82,1.23-3-.41-2.17-1.23-3ZM35.55,31.93c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99Z"/><path class="cls-2" d="M19.29,25.73c-1,.16-1.84.64-2.52,1.42-.67.79-1.01,1.7-1.01,2.75,0,1.18.41,2.17,1.23,3,.82.82,1.82,1.23,3,1.23s2.17-.41,3-1.23c.82-.82,1.23-1.82,1.23-3,0-1.05-.34-1.97-1.01-2.74-.67-.78-1.51-1.25-2.52-1.43v-7.65h-1.41v7.65ZM22,27.91c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83Z"/><path class="cls-2" d="M14.1,18l-5.89,8.08c-.28-.13-.56-.22-.86-.28-.29-.06-.6-.09-.91-.09-1.18,0-2.17.41-3,1.23-.82.82-1.23,1.82-1.23,3s.41,2.17,1.23,3,1.82,1.23,3,1.23,2.17-.41,3-1.23,1.23-1.82,1.23-3c0-.6-.12-1.15-.36-1.66s-.56-.96-.95-1.36l6.45-8.83h-1c-.25,0-.48-.03-.7-.08ZM8.44,31.93c-.55.55-1.22.83-2,.83s-1.44-.28-1.99-.83c-.55-.55-.83-1.22-.83-2s.28-1.44.83-1.99c.55-.55,1.22-.83,2-.83s1.44.28,1.99.83c.55.55.83,1.22.83,2s-.28,1.44-.83,1.99Z"/><path class="cls-1" d="M20,12.91c1.26,0,2.46.19,3.61.56,1.15.37,2.23.88,3.23,1.54V4.86c0-.44-.15-.82-.46-1.12s-.68-.46-1.12-.46h-10.52c-.44,0-.82.15-1.12.46s-.46.68-.46,1.12v10.15c1-.66,2.08-1.17,3.23-1.54s2.36-.56,3.61-.56ZM17.7,5.83c.63-.63,1.4-.95,2.3-.95s1.66.32,2.3.95.95,1.4.95,2.3-.32,1.66-.95,2.3-1.4.95-2.3.95-1.66-.32-2.3-.95-.95-1.4-.95-2.3.32-1.66.95-2.3Z"/><path class="cls-1" d="M20,10.32c.6,0,1.12-.21,1.55-.64.43-.43.65-.94.65-1.55s-.22-1.12-.65-1.55c-.43-.43-.95-.65-1.55-.65s-1.12.22-1.55.65-.64.95-.64,1.55.21,1.12.64,1.55.94.64,1.55.64Z"/><path class="cls-2" d="M20,11.37c.9,0,1.66-.32,2.3-.95s.95-1.4.95-2.3-.32-1.66-.95-2.3-1.4-.95-2.3-.95-1.66.32-2.3.95-.95,1.4-.95,2.3.32,1.66.95,2.3,1.4.95,2.3.95ZM18.45,6.58c.43-.43.95-.65,1.55-.65s1.12.22,1.55.65c.43.43.65.95.65,1.55s-.22,1.12-.65,1.55c-.43.43-.95.64-1.55.64s-1.12-.21-1.55-.64-.64-.95-.64-1.55.21-1.12.64-1.55Z"/><path class="cls-2" d="M27.21,2.9c-.5-.5-1.15-.75-1.95-.75h-10.52c-.8,0-1.45.25-1.95.75-.5.5-.75,1.15-.75,1.95v10.52c0,.8.25,1.45.75,1.95.35.35.77.56,1.25.67.22.05.45.08.7.08h10.52c.2,0,.38-.02.56-.05.55-.09,1.01-.33,1.39-.71.5-.5.75-1.15.75-1.95V4.86c0-.8-.25-1.45-.75-1.95ZM25.93,16.74c-.26.14-.55.22-.86.22h-10.15s-.08-.01-.12-.01c-.25-.02-.5-.08-.74-.2-.28-.14-.45-.35-.5-.63.99-.7,2.03-1.22,3.12-1.57s2.19-.52,3.31-.52,2.27.18,3.4.55c1.13.36,2.18.88,3.16,1.54-.15.27-.36.48-.63.63ZM26.84,15.01c-1-.66-2.08-1.17-3.23-1.54-1.15-.37-2.36-.56-3.61-.56s-2.46.19-3.61.56-2.23.88-3.23,1.54V4.86c0-.44.15-.82.46-1.12s.68-.46,1.12-.46h10.52c.44,0,.82.15,1.12.46s.46.68.46,1.12v10.15Z"/></svg>
@@ -1 +0,0 @@
1
- export * from './Icon.tsx'
@@ -1,3 +0,0 @@
1
- export * from './components/index.ts'
2
- export * from './hooks/index.ts'
3
- export * from './models/index.ts'
@@ -1,20 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model'
2
- import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
3
-
4
- export const CreditCardInputSchema = 'network.xyo.credit.card.input' as const
5
- export type CreditCardInputSchema = typeof CreditCardInputSchema
6
-
7
- export type CreditCardInputFields = {
8
- cardNumber: string
9
- cvc: string
10
- emailAddress: string
11
- expiration: string
12
- firstName: string
13
- lastName: string
14
- timestamp: number
15
- zip: string
16
- }
17
-
18
- export type CreditCardInput = Payload<CreditCardInputFields, CreditCardInputSchema>
19
-
20
- export const isCreditCardInput = isPayloadOfSchemaType<CreditCardInput>(CreditCardInputSchema)
@@ -1 +0,0 @@
1
- export * from './CreditCardInput.ts'
@@ -1,3 +0,0 @@
1
- export * from './accounts/index.ts'
2
- export * from './name-service/index.ts'
3
- export * from './table/index.ts'
@@ -1,12 +0,0 @@
1
- /* eslint-disable @stylistic/max-len */
2
- import { createSvgIcon } from '@mui/material'
3
- import React from 'react'
4
-
5
- export const XnsDomainIcon = createSvgIcon(
6
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
7
- <path fill="currentColor" d="M0,314.34V85.34h43.89l99.55,152.67V85.34h43.89v229h-43.89L43.89,161.68v152.67H0Z"></path>
8
- <path fill="currentColor" d="M298.99,319.12c-16.96,0-32.26-3-45.88-8.99-13.62-5.99-24.81-14.58-33.56-25.76-8.75-11.18-14.29-24.52-16.62-40l45.17-6.68c3.18,13.15,9.75,23.27,19.72,30.37,9.96,7.1,21.31,10.65,34.03,10.65,7.1,0,14-1.11,20.67-3.34,6.68-2.23,12.17-5.51,16.46-9.86,4.29-4.35,6.44-9.7,6.44-16.06,0-2.33-.35-4.59-1.03-6.76-.69-2.17-1.83-4.21-3.42-6.12-1.59-1.91-3.84-3.71-6.76-5.41-2.92-1.69-6.6-3.23-11.05-4.61l-59.48-17.49c-4.45-1.27-9.62-3.07-15.5-5.41-5.88-2.33-11.58-5.67-17.1-10.02-5.51-4.35-10.1-10.1-13.76-17.26-3.66-7.16-5.49-16.19-5.49-27.11,0-15.37,3.87-28.15,11.61-38.33,7.74-10.18,18.08-17.76,31.01-22.74,12.93-4.98,27.25-7.42,42.94-7.32,15.8.21,29.9,2.92,42.3,8.11,12.4,5.2,22.79,12.75,31.17,22.66,8.37,9.92,14.42,22.03,18.13,36.34l-46.76,7.95c-1.7-7.42-4.83-13.68-9.38-18.77-4.56-5.09-9.99-8.96-16.3-11.61-6.31-2.65-12.91-4.08-19.8-4.29-6.79-.21-13.17.72-19.16,2.78-5.99,2.07-10.87,5.06-14.63,8.99-3.76,3.92-5.65,8.59-5.65,14,0,4.98,1.54,9.04,4.61,12.17,3.07,3.13,6.94,5.65,11.61,7.55,4.66,1.91,9.44,3.5,14.31,4.77l39.76,10.81c5.94,1.59,12.51,3.68,19.72,6.28,7.21,2.6,14.13,6.2,20.75,10.81,6.62,4.61,12.09,10.68,16.38,18.21,4.29,7.53,6.44,17.07,6.44,28.63,0,12.3-2.57,23.03-7.71,32.2-5.14,9.17-12.06,16.75-20.75,22.74-8.69,5.99-18.53,10.47-29.5,13.44-10.97,2.97-22.29,4.45-33.95,4.45Z"></path>
9
- <circle fill="#3898e7" cx="372.52" cy="291.63" r="27.48"></circle>
10
- </svg>,
11
- 'XNSDomain',
12
- )
@@ -1 +0,0 @@
1
- export * from './DomainIcon.tsx'
@@ -1,33 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-misused-promises */
2
- import { ArrowCircleLeftOutlined, ArrowCircleRightOutlined } from '@mui/icons-material'
3
- import { IconButton, LinearProgress } from '@mui/material'
4
- import type { FlexBoxProps } from '@xylabs/react-flexbox'
5
- import { FlexRow } from '@xylabs/react-flexbox'
6
- import type { PayloadDivinerQueryPayload } from '@xyo-network/diviner-payload-model'
7
- import React from 'react'
8
-
9
- export interface NextIteratorFlexboxProps extends FlexBoxProps {
10
- loading?: boolean
11
- next: (order: PayloadDivinerQueryPayload['order']) => Promise<void>
12
- }
13
-
14
- export const NextIteratorFlexbox: React.FC<NextIteratorFlexboxProps> = ({
15
- next: changePage, loading, ...props
16
- }) => {
17
- return (
18
- <FlexRow justifyContent="space-between" gap={2} {...props}>
19
- <LinearProgress sx={{
20
- display: 'flex', flexGrow: 1, visibility: loading ? 'visible' : 'hidden',
21
- }}
22
- />
23
- <FlexRow>
24
- <IconButton onClick={() => changePage('asc')}>
25
- <ArrowCircleLeftOutlined />
26
- </IconButton>
27
- <IconButton onClick={() => changePage('desc')}>
28
- <ArrowCircleRightOutlined />
29
- </IconButton>
30
- </FlexRow>
31
- </FlexRow>
32
- )
33
- }
@@ -1,11 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model'
2
- import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
3
- import type { TableHeadCell as TableHeadCellFields } from '@xyo-network/react-table'
4
-
5
- import { TableHeadCellSchema } from './Schema.ts'
6
-
7
- export type TableHeadCell = Payload<TableHeadCellFields & {
8
- tooltip?: string
9
- }, TableHeadCellSchema>
10
-
11
- export const isTableHeadCell = isPayloadOfSchemaType<TableHeadCell>(TableHeadCellSchema)
@@ -1,2 +0,0 @@
1
- export const TableHeadCellSchema = 'network.xyo.table.cell.head' as const
2
- export type TableHeadCellSchema = typeof TableHeadCellSchema
@@ -1,47 +0,0 @@
1
- import { InfoOutlined } from '@mui/icons-material'
2
- import type { TableHeadProps } from '@mui/material'
3
- import {
4
- TableCell, TableHead, Tooltip,
5
- } from '@mui/material'
6
- import React from 'react'
7
-
8
- import { useVisibleColumns } from '../hooks/index.ts'
9
- import type { TableHeadCell } from '../Payload.ts'
10
- import { StyledTableRowHeader } from './StyledTableRowHeader.tsx'
11
-
12
- interface TableHeadExProps extends TableHeadProps {
13
- payloads: TableHeadCell[]
14
- }
15
-
16
- export const TableHeadEx: React.FC<TableHeadExProps> = ({ payloads, ...props }) => {
17
- const [VisibleTableCells] = useVisibleColumns(payloads)
18
-
19
- return (
20
- <TableHead {...props}>
21
- <StyledTableRowHeader>
22
- {VisibleTableCells.map(headCell => (
23
- <TableCell
24
- key={headCell.id}
25
- align={headCell.align ?? 'left'}
26
- padding={headCell.disablePadding ? 'none' : 'normal'}
27
- width={headCell.width ?? 'auto'}
28
- >
29
- {headCell.tooltip
30
- ? (
31
- <span style={{
32
- alignItems: 'center', display: 'inline-flex', gap: '4px',
33
- }}
34
- >
35
- {headCell.label}
36
- <Tooltip title={headCell.tooltip}>
37
- <InfoOutlined sx={{ fontSize: '16px' }} />
38
- </Tooltip>
39
- </span>
40
- )
41
- : headCell.label}
42
- </TableCell>
43
- ))}
44
- </StyledTableRowHeader>
45
- </TableHead>
46
- )
47
- }
@@ -1,6 +0,0 @@
1
- import { styled, TableRow } from '@mui/material'
2
-
3
- export const StyledTableRowHeader = styled(
4
- TableRow,
5
- { name: 'StyledTableRowHeader' },
6
- )(({ theme }) => ({ '& .MuiTableCell-root': { backgroundColor: theme.vars?.palette.background.paper } }))
@@ -1 +0,0 @@
1
- export * from './Head.tsx'
@@ -1 +0,0 @@
1
- export * from './useVisibleColumns.tsx'
@@ -1,15 +0,0 @@
1
- import type { Theme } from '@mui/material'
2
- import { useMediaQuery } from '@mui/material'
3
- import { useMemo } from 'react'
4
-
5
- import type { TableHeadCell } from '../Payload.ts'
6
-
7
- export const useVisibleColumns = (tableHeadCells: TableHeadCell[]): [TableHeadCell[], boolean] => {
8
- const isMedium = useMediaQuery((theme: Theme) => theme.breakpoints.down('lg'))
9
-
10
- const VisibleTableCells = useMemo(() => {
11
- return isMedium ? tableHeadCells.filter(cell => cell.showOnMobile) : tableHeadCells
12
- }, [isMedium, tableHeadCells])
13
-
14
- return [VisibleTableCells, isMedium]
15
- }
@@ -1,4 +0,0 @@
1
- export * from './components/index.ts'
2
- export * from './hooks/index.ts'
3
- export * from './Payload.ts'
4
- export * from './Schema.ts'
@@ -1,2 +0,0 @@
1
- export * from './head/index.ts'
2
- export * from './NextIteratorFlexbox.tsx'
@@ -1,12 +0,0 @@
1
- export * from './access-requests/index.ts'
2
- export * from './bios/index.ts'
3
- export * from './Dapp/index.ts'
4
- export * from './dapps/index.ts'
5
- export * from './intent/index.ts'
6
- export * from './LoadingOsLogo/index.ts'
7
- export * from './network/index.ts'
8
- export * from './os/index.ts'
9
- export * from './resource/index.ts'
10
- export * from './stack/index.ts'
11
- export * from './widgets/index.ts'
12
- export * from './XyOsUi/index.ts'