@xyo-network/react-chain-blockchain 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/dist/browser/index.mjs +13 -13
  2. package/dist/browser/index.mjs.map +1 -1
  3. package/dist/types/components/block/BlockHeadingFlexbox.d.ts +1 -1
  4. package/dist/types/components/block/BlockHeadingFlexbox.d.ts.map +1 -1
  5. package/dist/types/components/block/ProducerChip.d.ts +2 -2
  6. package/dist/types/components/block/ProducerChip.d.ts.map +1 -1
  7. package/dist/types/components/block/helpers/blockProducer.d.ts +1 -1
  8. package/dist/types/components/block/helpers/blockProducer.d.ts.map +1 -1
  9. package/dist/types/components/block/helpers/buildBlockChainRenderComponent.d.ts +3 -3
  10. package/dist/types/components/block/helpers/buildBlockChainRenderComponent.d.ts.map +1 -1
  11. package/dist/types/components/block/helpers/tsxFromBlock.d.ts +2 -2
  12. package/dist/types/components/block/helpers/tsxFromBlock.d.ts.map +1 -1
  13. package/dist/types/components/block/hooks/useBlockProducer.d.ts +1 -1
  14. package/dist/types/components/block/hooks/useBlockProducer.d.ts.map +1 -1
  15. package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts +3 -3
  16. package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts.map +1 -1
  17. package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts +3 -3
  18. package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts.map +1 -1
  19. package/dist/types/components/block/hooks/useTxsFromBlock.d.ts +2 -2
  20. package/dist/types/components/block/hooks/useTxsFromBlock.d.ts.map +1 -1
  21. package/dist/types/components/block/menu/Expanded.d.ts +1 -1
  22. package/dist/types/components/block/menu/Expanded.d.ts.map +1 -1
  23. package/dist/types/components/block/table/Ex.d.ts +1 -1
  24. package/dist/types/components/block/table/Ex.d.ts.map +1 -1
  25. package/dist/types/components/block/table/cell/BlockNumber.d.ts +1 -1
  26. package/dist/types/components/block/table/cell/BlockNumber.d.ts.map +1 -1
  27. package/dist/types/components/block/table/cell/Hash.d.ts +2 -2
  28. package/dist/types/components/block/table/cell/Hash.d.ts.map +1 -1
  29. package/dist/types/components/block/table/cell/JsonView.d.ts +1 -1
  30. package/dist/types/components/block/table/cell/JsonView.d.ts.map +1 -1
  31. package/dist/types/components/block/table/cell/Producer.d.ts +2 -2
  32. package/dist/types/components/block/table/cell/Producer.d.ts.map +1 -1
  33. package/dist/types/components/block/table/cell/TransactionCount.d.ts +2 -2
  34. package/dist/types/components/block/table/cell/TransactionCount.d.ts.map +1 -1
  35. package/dist/types/components/block/table/cell/Verification.d.ts +1 -1
  36. package/dist/types/components/block/table/cell/Verification.d.ts.map +1 -1
  37. package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts +2 -2
  38. package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts.map +1 -1
  39. package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts +2 -2
  40. package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts.map +1 -1
  41. package/dist/types/components/block/table/row/TableRow.d.ts +1 -1
  42. package/dist/types/components/block/table/row/TableRow.d.ts.map +1 -1
  43. package/dist/types/components/chain/controls/PollingControlsFlexbox.d.ts +2 -2
  44. package/dist/types/components/chain/controls/PollingControlsFlexbox.d.ts.map +1 -1
  45. package/dist/types/components/chain/dialog/Dialog.d.ts +1 -1
  46. package/dist/types/components/chain/dialog/Dialog.d.ts.map +1 -1
  47. package/dist/types/components/chain/hooks/useOnBlock.d.ts +1 -1
  48. package/dist/types/components/chain/hooks/useOnBlock.d.ts.map +1 -1
  49. package/dist/types/components/chain/list/Animated.d.ts +1 -1
  50. package/dist/types/components/chain/list/Animated.d.ts.map +1 -1
  51. package/dist/types/components/chain/list/TableEx.d.ts +1 -1
  52. package/dist/types/components/chain/list/TableEx.d.ts.map +1 -1
  53. package/dist/types/components/chain/pagination/BlockChainPagination.d.ts +1 -1
  54. package/dist/types/components/chain/pagination/BlockChainPagination.d.ts.map +1 -1
  55. package/dist/types/components/chain/pagination/hooks/usePagination.d.ts +2 -2
  56. package/dist/types/components/chain/pagination/hooks/usePagination.d.ts.map +1 -1
  57. package/dist/types/components/chain/render/dynamic/flexbox/Flexbox.d.ts +1 -1
  58. package/dist/types/components/chain/render/dynamic/flexbox/Flexbox.d.ts.map +1 -1
  59. package/dist/types/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts +2 -2
  60. package/dist/types/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts.map +1 -1
  61. package/dist/types/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.d.ts +2 -2
  62. package/dist/types/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.d.ts.map +1 -1
  63. package/dist/types/components/chain/render/static/flexbox/Flexbox.d.ts +1 -1
  64. package/dist/types/components/chain/render/static/flexbox/Flexbox.d.ts.map +1 -1
  65. package/dist/types/components/chain/render/static/hooks/useStaticBlockRenderComponents.d.ts +2 -2
  66. package/dist/types/components/chain/render/static/hooks/useStaticBlockRenderComponents.d.ts.map +1 -1
  67. package/dist/types/components/chain/render/static/table/Ex.d.ts +1 -1
  68. package/dist/types/components/chain/render/static/table/Ex.d.ts.map +1 -1
  69. package/dist/types/components/chain/stats/Dialog.d.ts +1 -1
  70. package/dist/types/components/chain/stats/Dialog.d.ts.map +1 -1
  71. package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts +1 -1
  72. package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts.map +1 -1
  73. package/dist/types/components/chain/stats/producer/Table.d.ts +2 -2
  74. package/dist/types/components/chain/stats/producer/Table.d.ts.map +1 -1
  75. package/dist/types/components/payload/builder/BuilderComponentProps.d.ts +1 -1
  76. package/dist/types/components/payload/builder/BuilderComponentProps.d.ts.map +1 -1
  77. package/dist/types/components/payload/builder/Flexbox.d.ts +3 -3
  78. package/dist/types/components/payload/builder/Flexbox.d.ts.map +1 -1
  79. package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts +1 -1
  80. package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts.map +1 -1
  81. package/dist/types/components/payload/builder/producer-intent/Form.d.ts +1 -1
  82. package/dist/types/components/payload/builder/producer-intent/Form.d.ts.map +1 -1
  83. package/dist/types/components/payload/builder/transfer/Flexbox.d.ts +1 -1
  84. package/dist/types/components/payload/builder/transfer/Flexbox.d.ts.map +1 -1
  85. package/dist/types/components/payload/builder/transfer/Form.d.ts +1 -1
  86. package/dist/types/components/payload/builder/transfer/Form.d.ts.map +1 -1
  87. package/dist/types/components/payload/builder/transfer/Transfer.d.ts +1 -1
  88. package/dist/types/components/payload/builder/transfer/Transfer.d.ts.map +1 -1
  89. package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts +2 -2
  90. package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts.map +1 -1
  91. package/dist/types/components/payload/fields/BlockNumberTextField.d.ts +1 -1
  92. package/dist/types/components/payload/fields/BlockNumberTextField.d.ts.map +1 -1
  93. package/dist/types/components/payload/fields/XyoAddressTextField.d.ts +2 -2
  94. package/dist/types/components/payload/fields/XyoAddressTextField.d.ts.map +1 -1
  95. package/dist/types/components/transactions/TransactionCountChip.d.ts +2 -2
  96. package/dist/types/components/transactions/TransactionCountChip.d.ts.map +1 -1
  97. package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts +3 -3
  98. package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts.map +1 -1
  99. package/dist/types/components/transactions/submit/Builder.d.ts +1 -1
  100. package/dist/types/components/transactions/submit/Builder.d.ts.map +1 -1
  101. package/dist/types/components/transactions/submit/Network.d.ts +1 -1
  102. package/dist/types/components/transactions/submit/Network.d.ts.map +1 -1
  103. package/dist/types/context/analyzer/Provider.d.ts +2 -2
  104. package/dist/types/context/analyzer/Provider.d.ts.map +1 -1
  105. package/dist/types/context/analyzer/context.d.ts +1 -1
  106. package/dist/types/context/analyzer/context.d.ts.map +1 -1
  107. package/dist/types/context/analyzer/state.d.ts +3 -3
  108. package/dist/types/context/analyzer/state.d.ts.map +1 -1
  109. package/dist/types/context/analyzer/use.d.ts +1 -1
  110. package/dist/types/context/analyzer/use.d.ts.map +1 -1
  111. package/dist/types/context/chain/Context.d.ts +1 -1
  112. package/dist/types/context/chain/Context.d.ts.map +1 -1
  113. package/dist/types/context/chain/Provider.d.ts +3 -2
  114. package/dist/types/context/chain/Provider.d.ts.map +1 -1
  115. package/dist/types/context/chain/State.d.ts +3 -3
  116. package/dist/types/context/chain/State.d.ts.map +1 -1
  117. package/dist/types/context/chain/use.d.ts +1 -1
  118. package/dist/types/context/chain/use.d.ts.map +1 -1
  119. package/dist/types/context/polling/Provider.d.ts +2 -2
  120. package/dist/types/context/polling/Provider.d.ts.map +1 -1
  121. package/dist/types/context/polling/context.d.ts +1 -1
  122. package/dist/types/context/polling/context.d.ts.map +1 -1
  123. package/dist/types/context/polling/state.d.ts +1 -1
  124. package/dist/types/context/polling/state.d.ts.map +1 -1
  125. package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts +1 -1
  126. package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts.map +1 -1
  127. package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts +4 -4
  128. package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts.map +1 -1
  129. package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts +2 -2
  130. package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts.map +1 -1
  131. package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts +2 -2
  132. package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts.map +1 -1
  133. package/dist/types/hooks/useIterateChain.d.ts +1 -1
  134. package/dist/types/hooks/useIterateChain.d.ts.map +1 -1
  135. package/dist/types/lib/getChainArchivist.d.ts +2 -2
  136. package/dist/types/lib/getChainArchivist.d.ts.map +1 -1
  137. package/dist/types/lib/getChainInformation.d.ts +2 -2
  138. package/dist/types/lib/getChainInformation.d.ts.map +1 -1
  139. package/dist/types/stories/ChainArchivistDecorator.d.ts +1 -1
  140. package/dist/types/stories/ChainArchivistDecorator.d.ts.map +1 -1
  141. package/dist/types/stories/ChainArchivistDelayedInsertDecorator.d.ts +1 -1
  142. package/dist/types/stories/ChainArchivistDelayedInsertDecorator.d.ts.map +1 -1
  143. package/dist/types/stories/ChainInfoContextDecorator.d.ts +1 -1
  144. package/dist/types/stories/ChainInfoContextDecorator.d.ts.map +1 -1
  145. package/dist/types/types/BlockComponentProps.d.ts +2 -2
  146. package/dist/types/types/BlockComponentProps.d.ts.map +1 -1
  147. package/dist/types/types/BlockComponents.d.ts +2 -2
  148. package/dist/types/types/BlockComponents.d.ts.map +1 -1
  149. package/dist/types/types/BlockListComponentProps.d.ts +1 -1
  150. package/dist/types/types/BlockListComponentProps.d.ts.map +1 -1
  151. package/dist/types/types/render/BlockChainRenderProps.d.ts +3 -3
  152. package/dist/types/types/render/BlockChainRenderProps.d.ts.map +1 -1
  153. package/dist/types/types/render/flexbox/BlockChainRenderFlexboxProps.d.ts +3 -3
  154. package/dist/types/types/render/flexbox/BlockChainRenderFlexboxProps.d.ts.map +1 -1
  155. package/dist/types/types/render/flexbox/RenderFlexboxProps.d.ts +2 -2
  156. package/dist/types/types/render/flexbox/RenderFlexboxProps.d.ts.map +1 -1
  157. package/dist/types/types/render/table/BlockChainRenderTableExProps.d.ts +3 -3
  158. package/dist/types/types/render/table/BlockChainRenderTableExProps.d.ts.map +1 -1
  159. package/dist/types/types/render/table/RenderTableProps.d.ts +2 -2
  160. package/dist/types/types/render/table/RenderTableProps.d.ts.map +1 -1
  161. package/eslint.config.mjs +1 -0
  162. package/package.json +14 -14
  163. package/src/components/block/BlockHeadingFlexbox.stories.tsx +4 -3
  164. package/src/components/block/BlockHeadingFlexbox.tsx +3 -3
  165. package/src/components/block/ProducerChip.tsx +3 -2
  166. package/src/components/block/helpers/blockProducer.ts +1 -1
  167. package/src/components/block/helpers/buildBlockChainRenderComponent.tsx +3 -3
  168. package/src/components/block/helpers/tsxFromBlock.ts +3 -2
  169. package/src/components/block/hooks/useBlockProducer.ts +1 -1
  170. package/src/components/block/hooks/useDynamicBlockComponents.ts +5 -5
  171. package/src/components/block/hooks/useStaticBlockComponents.ts +3 -3
  172. package/src/components/block/hooks/useTxsFromBlock.ts +2 -2
  173. package/src/components/block/menu/Expanded.tsx +1 -1
  174. package/src/components/block/table/Ex.stories.tsx +5 -3
  175. package/src/components/block/table/Ex.tsx +2 -1
  176. package/src/components/block/table/cell/BlockNumber.tsx +1 -1
  177. package/src/components/block/table/cell/Hash.tsx +3 -2
  178. package/src/components/block/table/cell/JsonView.tsx +1 -1
  179. package/src/components/block/table/cell/Producer.tsx +3 -2
  180. package/src/components/block/table/cell/TransactionCount.tsx +2 -2
  181. package/src/components/block/table/cell/Verification.tsx +2 -2
  182. package/src/components/block/table/cell/hooks/useLinkedBlockItem.tsx +2 -2
  183. package/src/components/block/table/cell/lib/BlockTableCellProps.ts +2 -2
  184. package/src/components/block/table/row/TableRow.stories.tsx +2 -2
  185. package/src/components/block/table/row/TableRow.tsx +1 -1
  186. package/src/components/chain/controls/PollingControlsFlexbox.tsx +3 -2
  187. package/src/components/chain/dialog/Dialog.tsx +2 -1
  188. package/src/components/chain/hooks/useOnBlock.ts +1 -1
  189. package/src/components/chain/list/Animated.tsx +1 -1
  190. package/src/components/chain/list/TableEx.tsx +1 -1
  191. package/src/components/chain/pagination/BlockChainPagination.tsx +2 -1
  192. package/src/components/chain/pagination/hooks/usePagination.tsx +3 -4
  193. package/src/components/chain/render/dynamic/flexbox/Flexbox.stories.tsx +1 -1
  194. package/src/components/chain/render/dynamic/flexbox/Flexbox.tsx +4 -5
  195. package/src/components/chain/render/dynamic/flexbox/Remote.stories.tsx +2 -2
  196. package/src/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.ts +3 -2
  197. package/src/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.ts +2 -2
  198. package/src/components/chain/render/static/flexbox/Flexbox.stories.tsx +1 -1
  199. package/src/components/chain/render/static/flexbox/Flexbox.tsx +4 -3
  200. package/src/components/chain/render/static/hooks/useStaticBlockRenderComponents.ts +3 -2
  201. package/src/components/chain/render/static/table/Ex.stories.tsx +1 -1
  202. package/src/components/chain/render/static/table/Ex.tsx +1 -1
  203. package/src/components/chain/stats/Dialog.tsx +2 -1
  204. package/src/components/chain/stats/producer/ProducerFlexbox.tsx +2 -2
  205. package/src/components/chain/stats/producer/Table.tsx +3 -2
  206. package/src/components/payload/builder/BuilderComponentProps.ts +1 -1
  207. package/src/components/payload/builder/Flexbox.tsx +6 -4
  208. package/src/components/payload/builder/producer-intent/Flexbox.stories.tsx +1 -1
  209. package/src/components/payload/builder/producer-intent/Flexbox.tsx +1 -1
  210. package/src/components/payload/builder/producer-intent/Form.tsx +5 -6
  211. package/src/components/payload/builder/transfer/Flexbox.stories.tsx +1 -1
  212. package/src/components/payload/builder/transfer/Flexbox.tsx +1 -1
  213. package/src/components/payload/builder/transfer/Form.tsx +7 -7
  214. package/src/components/payload/builder/transfer/Transfer.ts +1 -1
  215. package/src/components/payload/builder/transfer/builder/SingleFlexbox.tsx +5 -3
  216. package/src/components/payload/fields/BlockNumberTextField.tsx +4 -2
  217. package/src/components/payload/fields/XyoAddressTextField.tsx +4 -2
  218. package/src/components/transactions/TransactionCountChip.tsx +3 -4
  219. package/src/components/transactions/TransactionsQuickTipButton.tsx +5 -4
  220. package/src/components/transactions/submit/Builder.tsx +2 -2
  221. package/src/components/transactions/submit/Network.tsx +4 -2
  222. package/src/components/transactions/submit/SubmitChain.stories.tsx +1 -1
  223. package/src/components/transactions/submit/SubmitChain.tsx +5 -5
  224. package/src/context/analyzer/Provider.tsx +5 -4
  225. package/src/context/analyzer/context.ts +1 -1
  226. package/src/context/analyzer/state.ts +3 -3
  227. package/src/context/analyzer/use.ts +1 -1
  228. package/src/context/chain/Context.ts +1 -1
  229. package/src/context/chain/Provider.tsx +2 -2
  230. package/src/context/chain/State.ts +3 -3
  231. package/src/context/chain/use.ts +1 -1
  232. package/src/context/polling/Provider.tsx +3 -2
  233. package/src/context/polling/context.ts +1 -1
  234. package/src/context/polling/state.ts +1 -1
  235. package/src/hooks/chain-iterator/ChainIteratorStore.ts +1 -1
  236. package/src/hooks/chain-iterator/useChainIteratorParams.ts +5 -4
  237. package/src/hooks/chain-iterator/useChainIteratorStore.ts +3 -2
  238. package/src/hooks/chain-iterator/useChainIteratorUpdatingHead.ts +3 -3
  239. package/src/hooks/useIterateChain.ts +3 -4
  240. package/src/lib/getChainArchivist.ts +5 -5
  241. package/src/lib/getChainInformation.ts +2 -2
  242. package/src/stories/ChainArchivistDecorator.tsx +3 -3
  243. package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +5 -4
  244. package/src/stories/ChainInfoContextDecorator.tsx +4 -5
  245. package/src/stories/buildRandomBlockchain.ts +2 -2
  246. package/src/types/BlockComponentProps.ts +2 -2
  247. package/src/types/BlockComponents.ts +2 -2
  248. package/src/types/BlockListComponentProps.ts +1 -1
  249. package/src/types/render/BlockChainRenderProps.ts +3 -3
  250. package/src/types/render/flexbox/BlockChainRenderFlexboxProps.ts +3 -3
  251. package/src/types/render/flexbox/RenderFlexboxProps.ts +2 -2
  252. package/src/types/render/table/BlockChainRenderTableExProps.ts +3 -3
  253. package/src/types/render/table/RenderTableProps.ts +2 -2
  254. package/xy.config.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
2
 
3
3
  export interface PayloadBuilderComponentProps {
4
4
  onBuild?: (payload: Payload) => void
@@ -1,9 +1,11 @@
1
- import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
2
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
2
+ import { FlexCol } from '@xylabs/react-flexbox'
3
+ import type { Payload } from '@xyo-network/payload-model'
3
4
  import { JsonViewerEx } from '@xyo-network/react-payload-raw-info'
4
- import { ComponentType, useState } from 'react'
5
+ import type { ComponentType } from 'react'
6
+ import { useState } from 'react'
5
7
 
6
- import { PayloadBuilderComponentProps } from './BuilderComponentProps.ts'
8
+ import type { PayloadBuilderComponentProps } from './BuilderComponentProps.ts'
7
9
 
8
10
  export interface PayloadBuilderFlexboxProps extends PayloadBuilderComponentProps, FlexBoxProps {
9
11
  BuilderComponent: ComponentType<PayloadBuilderComponentProps>
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { ProducerIntentBuilderFlexbox } from './Flexbox.tsx'
4
4
 
@@ -1,4 +1,4 @@
1
- import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
1
+ import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
2
2
  import { PayloadBuilderFlexbox } from '../Flexbox.tsx'
3
3
  import { ProducerIntentBuilderForm } from './Form.tsx'
4
4
 
@@ -1,13 +1,12 @@
1
1
  import { Button, FormControl } from '@mui/material'
2
+ import type { Address } from '@xylabs/hex'
2
3
  import { createProducerChainStakeIntent } from '@xyo-network/chain-ethereum'
3
- import { Address } from '@xylabs/hex'
4
- import React, {
5
- MouseEventHandler, useMemo, useState,
6
- } from 'react'
4
+ import type { ChainStakeIntent } from '@xyo-network/chain-model'
5
+ import type { MouseEventHandler } from 'react'
6
+ import React, { useMemo, useState } from 'react'
7
7
 
8
8
  import { BlockNumberTextField, XyoAddressTextField } from '../../fields/index.ts'
9
- import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
10
- import { ChainStakeIntent } from '@xyo-network/chain-model'
9
+ import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
11
10
 
12
11
  export interface ProducerIntentBuilderFormProps extends PayloadBuilderComponentProps {}
13
12
 
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { TransferBuilderFlexbox } from './Flexbox.tsx'
4
4
 
@@ -1,4 +1,4 @@
1
- import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
1
+ import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
2
2
  import { PayloadBuilderFlexbox } from '../Flexbox.tsx'
3
3
  import { TransferBuilderForm } from './Form.tsx'
4
4
 
@@ -1,17 +1,17 @@
1
1
  import { Button, FormControl } from '@mui/material'
2
+ import type { Address } from '@xylabs/hex'
3
+ import type { Elevated, Transfer } from '@xyo-network/chain-model'
2
4
  import {
3
- elevate, Elevated, Transfer,
5
+ elevate,
4
6
  TransferSchema,
5
7
  } from '@xyo-network/chain-model'
6
- import { Address } from '@xylabs/hex'
7
- import React, {
8
- MouseEventHandler, useMemo, useState,
9
- } from 'react'
8
+ import type { MouseEventHandler } from 'react'
9
+ import React, { useMemo, useState } from 'react'
10
10
 
11
11
  import { XyoAddressTextField } from '../../fields/index.ts'
12
- import { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
12
+ import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
13
13
  import { SingleTransferBuilderFlexbox } from './builder/index.ts'
14
- import { TransferAmount } from './Transfer.ts'
14
+ import type { TransferAmount } from './Transfer.ts'
15
15
 
16
16
  export interface TransferBuilderFormProps extends PayloadBuilderComponentProps {}
17
17
 
@@ -1,3 +1,3 @@
1
- import { Address, Hex } from '@xylabs/hex'
1
+ import type { Address, Hex } from '@xylabs/hex'
2
2
 
3
3
  export type TransferAmount = { amount: Hex; to: Address; transferId: number }
@@ -2,15 +2,17 @@ import { RemoveCircle } from '@mui/icons-material'
2
2
  import {
3
3
  FormControl, Icon, IconButton,
4
4
  } from '@mui/material'
5
- import { Address, toHex } from '@xylabs/hex'
6
- import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
5
+ import type { Address } from '@xylabs/hex'
6
+ import { toHex } from '@xylabs/hex'
7
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
8
+ import { FlexRow } from '@xylabs/react-flexbox'
7
9
  import { BigIntInput } from '@xyo-network/react-shared'
8
10
  import {
9
11
  useEffect, useMemo, useState,
10
12
  } from 'react'
11
13
 
12
14
  import { XyoAddressTextField } from '../../../fields/index.ts'
13
- import { TransferAmount } from '../Transfer.ts'
15
+ import type { TransferAmount } from '../Transfer.ts'
14
16
 
15
17
  export interface SingleTransferBuilderFlexboxProps extends FlexBoxProps {
16
18
  onRemoveTransfer?: (transferId: number) => void
@@ -1,7 +1,9 @@
1
+ import type { StandardTextFieldProps, Theme } from '@mui/material'
1
2
  import {
2
- FormControl, FormHelperText, StandardTextFieldProps, TextField, Theme,
3
+ FormControl, FormHelperText, TextField,
3
4
  } from '@mui/material'
4
- import React, { ChangeEventHandler, useState } from 'react'
5
+ import type { ChangeEventHandler } from 'react'
6
+ import React, { useState } from 'react'
5
7
 
6
8
  interface BlockNumberTextFieldProps extends StandardTextFieldProps {
7
9
  errorMessage?: string
@@ -1,7 +1,9 @@
1
+ import type { StandardTextFieldProps, Theme } from '@mui/material'
1
2
  import {
2
- FormControl, FormHelperText, StandardTextFieldProps, TextField, Theme,
3
+ FormControl, FormHelperText, TextField,
3
4
  } from '@mui/material'
4
- import { Address, asAddress } from '@xylabs/hex'
5
+ import type { Address } from '@xylabs/hex'
6
+ import { asAddress } from '@xylabs/hex'
5
7
  import React, { useEffect, useState } from 'react'
6
8
 
7
9
  interface XyoAddressTextFieldProps extends Omit<StandardTextFieldProps, 'value'> {
@@ -1,8 +1,7 @@
1
1
  import { Difference } from '@mui/icons-material'
2
- import {
3
- Chip, ChipProps, Icon,
4
- } from '@mui/material'
5
- import { Hash } from '@xylabs/hex'
2
+ import type { ChipProps } from '@mui/material'
3
+ import { Chip, Icon } from '@mui/material'
4
+ import type { Hash } from '@xylabs/hex'
6
5
  import { useMemo } from 'react'
7
6
 
8
7
  export interface TransactionCountChipProps extends ChipProps {
@@ -2,14 +2,15 @@ import { ContentCopy as ContentCopyIcon, Paid } from '@mui/icons-material'
2
2
  import {
3
3
  Alert, AlertTitle, Collapse, Snackbar, Typography,
4
4
  } from '@mui/material'
5
- import { BlockBoundWitness } from '@xyo-network/chain-model'
6
- import { Hash } from '@xylabs/hex'
5
+ import type { Hash } from '@xylabs/hex'
7
6
  import { ErrorRender } from '@xylabs/react-error'
8
7
  import {
9
8
  FlexGrowCol, FlexGrowRow, FlexRow,
10
9
  } from '@xylabs/react-flexbox'
11
- import { QuickTipButton, QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
12
- import { ArchivistInstance } from '@xyo-network/archivist-model'
10
+ import type { QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
11
+ import { QuickTipButton } from '@xylabs/react-quick-tip-button'
12
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
13
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
13
14
  import React, {
14
15
  Fragment, useMemo, useState,
15
16
  } from 'react'
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Button, FormControl, TextField,
3
3
  } from '@mui/material'
4
- import { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
5
- import { Address, Hex } from '@xylabs/hex'
4
+ import type { Address, Hex } from '@xylabs/hex'
6
5
  import { FlexCol } from '@xylabs/react-flexbox'
6
+ import type { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
7
7
  import React from 'react'
8
8
 
9
9
  export interface ChainTransactionBuilder {
@@ -1,8 +1,10 @@
1
+ import type { StandardTextFieldProps } from '@mui/material'
1
2
  import {
2
- FormControl, FormHelperText, StandardTextFieldProps,
3
+ FormControl, FormHelperText,
3
4
  TextField,
4
5
  } from '@mui/material'
5
- import React, { ChangeEventHandler, useState } from 'react'
6
+ import type { ChangeEventHandler } from 'react'
7
+ import React, { useState } from 'react'
6
8
 
7
9
  export interface ChainTransactionNetworkProps extends StandardTextFieldProps {
8
10
  network?: URL
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import React from 'react'
3
3
 
4
4
  import { SubmitChainTransaction } from './SubmitChain.tsx'
@@ -2,17 +2,17 @@ import {
2
2
  Alert, Grid2, Typography,
3
3
  } from '@mui/material'
4
4
  import { axios } from '@xylabs/axios'
5
- import { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
6
- import { buildTransaction } from '@xyo-network/chain-protocol'
7
5
  import { ErrorRender } from '@xylabs/react-error'
8
6
  import { FlexGrowCol } from '@xylabs/react-flexbox'
9
7
  import { Account } from '@xyo-network/account'
10
- import { ApiEnvelope } from '@xyo-network/api-models'
8
+ import type { ApiEnvelope } from '@xyo-network/api-models'
11
9
  import { ArchivistInsertQuerySchema } from '@xyo-network/archivist-model'
12
10
  import { QueryBoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
13
- import { ModuleQueryResult } from '@xyo-network/module-model'
11
+ import type { TransactionBoundWitnessFields } from '@xyo-network/chain-model'
12
+ import { buildTransaction } from '@xyo-network/chain-protocol'
13
+ import type { ModuleQueryResult } from '@xyo-network/module-model'
14
14
  import { PayloadBuilder } from '@xyo-network/payload-builder'
15
- import { Payload } from '@xyo-network/payload-model'
15
+ import type { Payload } from '@xyo-network/payload-model'
16
16
  import React, { useState } from 'react'
17
17
 
18
18
  import { ChainTransactionBuilder } from './Builder.tsx'
@@ -1,13 +1,14 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
2
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
2
3
  import { hydrateBlock } from '@xyo-network/chain-protocol'
3
- import { ReadArchivist } from '@xyo-network/archivist-model'
4
4
  import { PayloadBuilder } from '@xyo-network/payload-builder'
5
+ import type { PropsWithChildren } from 'react'
5
6
  import {
6
- PropsWithChildren, useCallback, useMemo, useState,
7
+ useCallback, useMemo, useState,
7
8
  } from 'react'
8
9
 
9
10
  import { ChainAnalyzersContext } from './context.ts'
10
- import { ChainAnalyzers, ChainAnalyzersState } from './state.ts'
11
+ import type { ChainAnalyzers, ChainAnalyzersState } from './state.ts'
11
12
 
12
13
  export interface ChainAnalyzersProviderProps extends PropsWithChildren {
13
14
  analyzers?: ChainAnalyzers
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { ChainAnalyzersState } from './state.ts'
3
+ import type { ChainAnalyzersState } from './state.ts'
4
4
 
5
5
  export const ChainAnalyzersContext = createContextEx<ChainAnalyzersState>()
@@ -1,6 +1,6 @@
1
- import { BlockBoundWitness, ChainAnalyzer } from '@xyo-network/chain-model'
2
- import { ReadArchivist } from '@xyo-network/archivist-model'
3
- import { ContextExState } from '@xyo-network/react-shared'
1
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
2
+ import type { BlockBoundWitness, ChainAnalyzer } from '@xyo-network/chain-model'
3
+ import type { ContextExState } from '@xyo-network/react-shared'
4
4
 
5
5
  export type ChainAnalyzerIds = 'producers'
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { useContextEx } from '@xyo-network/react-shared'
2
2
 
3
3
  import { ChainAnalyzersContext } from './context.ts'
4
- import { ChainAnalyzersState } from './state.ts'
4
+ import type { ChainAnalyzersState } from './state.ts'
5
5
 
6
6
  export const useChainAnalyzersContext = (required = false) => useContextEx<ChainAnalyzersState>(ChainAnalyzersContext, 'ChainAnalyzers', required)
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { ChainInfoState } from './State.ts'
3
+ import type { ChainInfoState } from './State.ts'
4
4
 
5
5
  export const ChainInfoContext = createContextEx<ChainInfoState>()
@@ -1,10 +1,10 @@
1
+ import type { PropsWithChildren } from 'react'
1
2
  import React, {
2
- PropsWithChildren,
3
3
  useEffect, useMemo, useState,
4
4
  } from 'react'
5
5
 
6
6
  import { ChainInfoContext } from './Context.ts'
7
- import { ChainInfoState } from './State.ts'
7
+ import type { ChainInfoState } from './State.ts'
8
8
 
9
9
  interface ChainInfoProviderProps extends PropsWithChildren, Omit<ChainInfoState, 'provided'> {
10
10
  }
@@ -1,6 +1,6 @@
1
- import { ChainBlockNumberIterator, ChainInformation } from '@xyo-network/chain-model'
2
- import { ArchivistInstance } from '@xyo-network/archivist-model'
3
- import { ContextExState } from '@xyo-network/react-shared'
1
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
2
+ import type { ChainBlockNumberIterator, ChainInformation } from '@xyo-network/chain-model'
3
+ import type { ContextExState } from '@xyo-network/react-shared'
4
4
 
5
5
  export interface ChainInfoState extends ContextExState {
6
6
  chainArchivist?: ArchivistInstance
@@ -1,6 +1,6 @@
1
1
  import { useContextEx } from '@xyo-network/react-shared'
2
2
 
3
3
  import { ChainInfoContext } from './Context.ts'
4
- import { ChainInfoState } from './State.ts'
4
+ import type { ChainInfoState } from './State.ts'
5
5
 
6
6
  export const useChainInfo = (required = false) => useContextEx<ChainInfoState>(ChainInfoContext, 'ChainState', required)
@@ -1,9 +1,10 @@
1
+ import type { PropsWithChildren } from 'react'
1
2
  import {
2
- PropsWithChildren, useCallback, useMemo, useState,
3
+ useCallback, useMemo, useState,
3
4
  } from 'react'
4
5
 
5
6
  import { ChainPollingContext } from './context.ts'
6
- import { ChainPollingState, PollingState } from './state.ts'
7
+ import type { ChainPollingState, PollingState } from './state.ts'
7
8
 
8
9
  export interface ChainPollingProviderProps extends PropsWithChildren {
9
10
  pollingState?: PollingState
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { ChainPollingState } from './state.ts'
3
+ import type { ChainPollingState } from './state.ts'
4
4
 
5
5
  export const ChainPollingContext = createContextEx<ChainPollingState>()
@@ -1,4 +1,4 @@
1
- import { ContextExState } from '@xyo-network/react-shared'
1
+ import type { ContextExState } from '@xyo-network/react-shared'
2
2
 
3
3
  export type PollingState = 'paused' | 'running'
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
- import {
2
+ import type {
3
3
  BlockBoundWitness, EventingChainBlockNumberIterator, HeadEventArgs,
4
4
  XyoChainIteratorParams,
5
5
  } from '@xyo-network/chain-model'
@@ -1,11 +1,12 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
- import { BlockBoundWitness, isBlockBoundWitness } from '@xyo-network/chain-model'
3
- import { Hash } from '@xylabs/hex'
2
+ import type { Hash } from '@xylabs/hex'
4
3
  import { usePromise } from '@xylabs/react-promise'
5
- import { ReadArchivist } from '@xyo-network/archivist-model'
4
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
6
5
  import { BoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
6
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
7
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
7
8
 
8
- import { BlockChainIterator } from '../../types/index.ts'
9
+ import type { BlockChainIterator } from '../../types/index.ts'
9
10
 
10
11
  export const resolveDefinedHead = async (head: Hash, chainArchivist: ReadArchivist) => {
11
12
  // get the head from the chain archivist
@@ -1,11 +1,12 @@
1
- import { XyoChainIteratorParams } from '@xyo-network/chain-model'
2
1
  import { usePromise } from '@xylabs/react-promise'
2
+ import type { XyoChainIteratorParams } from '@xyo-network/chain-model'
3
3
  import {
4
4
  useEffect,
5
5
  useMemo, useRef, useSyncExternalStore,
6
6
  } from 'react'
7
7
 
8
- import { ChainIteratorStore, ChainIteratorStoreValues } from './ChainIteratorStore.ts'
8
+ import type { ChainIteratorStoreValues } from './ChainIteratorStore.ts'
9
+ import { ChainIteratorStore } from './ChainIteratorStore.ts'
9
10
  import { useChainIteratorUpdatingHead } from './useChainIteratorUpdatingHead.ts'
10
11
 
11
12
  const stub = {} as Partial<ChainIteratorStoreValues>
@@ -1,7 +1,7 @@
1
- import { ChainBlockNumberIterator } from '@xyo-network/chain-model'
2
- import { findMostRecentBlock } from '@xyo-network/chain-protocol'
3
1
  import { toHex } from '@xylabs/hex'
4
- import { ArchivistInstance } from '@xyo-network/archivist-model'
2
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
3
+ import type { ChainBlockNumberIterator } from '@xyo-network/chain-model'
4
+ import { findMostRecentBlock } from '@xyo-network/chain-protocol'
5
5
  import { useEffect, useState } from 'react'
6
6
 
7
7
  export interface ChainIteratorUpdatingHeadParams {
@@ -1,9 +1,8 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
- import {
3
- BlockBoundWitness, isBlockBoundWitness, XyoChainIteratorParams,
4
- } from '@xyo-network/chain-model'
5
- import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
6
2
  import { usePromise } from '@xylabs/react-promise'
3
+ import type { BlockBoundWitness, XyoChainIteratorParams } from '@xyo-network/chain-model'
4
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
5
+ import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
7
6
 
8
7
  const iterateChain = async (chainIteratorParams?: XyoChainIteratorParams, maxDepth?: number) => {
9
8
  const { chainArchivist, head } = chainIteratorParams ?? {} as XyoChainIteratorParams
@@ -1,9 +1,9 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
- import { ArchivistInstance, asArchivistInstance } from '@xyo-network/archivist-model'
3
- import {
4
- HttpBridge, HttpBridgeConfig, HttpBridgeConfigSchema,
5
- } from '@xyo-network/bridge-http'
6
- import { ModuleIdentifier } from '@xyo-network/module-model'
2
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
3
+ import { asArchivistInstance } from '@xyo-network/archivist-model'
4
+ import type { HttpBridgeConfig } from '@xyo-network/bridge-http'
5
+ import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
6
+ import type { ModuleIdentifier } from '@xyo-network/module-model'
7
7
 
8
8
  export interface BridgedChainArchivistParams {
9
9
  chainArchivistModuleId: ModuleIdentifier
@@ -1,5 +1,5 @@
1
- import { ChainInformation } from '@xyo-network/chain-model'
2
- import { Promisable } from '@xylabs/promise'
1
+ import type { Promisable } from '@xylabs/promise'
2
+ import type { ChainInformation } from '@xyo-network/chain-model'
3
3
 
4
4
  const id = 'ce080bf3043a40c6c8838c7e813c00ab53df1684'
5
5
 
@@ -1,13 +1,13 @@
1
1
  import { CircularProgress } from '@mui/material'
2
- import { Decorator } from '@storybook/react'
3
- import { isBlockBoundWitness } from '@xyo-network/chain-model'
2
+ import type { Decorator } from '@storybook/react'
4
3
  import { usePromise } from '@xylabs/react-promise'
5
4
  import { MemoryArchivist } from '@xyo-network/archivist-memory'
6
5
  import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
6
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
7
7
  import { useEffect } from 'react'
8
8
 
9
9
  import { getChainInformation } from '../lib/index.ts'
10
- import { BlockChainRenderBaseProps } from '../types/index.ts'
10
+ import type { BlockChainRenderBaseProps } from '../types/index.ts'
11
11
  import { buildRandomBlockChain } from './buildRandomBlockchain.ts'
12
12
 
13
13
  export const ChainArchivistDecorator: Decorator = (Story, context) => {
@@ -1,15 +1,16 @@
1
1
  import { CircularProgress } from '@mui/material'
2
- import { Decorator } from '@storybook/react'
3
- import { BlockBoundWitness, isBlockBoundWitness } from '@xyo-network/chain-model'
2
+ import type { Decorator } from '@storybook/react'
4
3
  import { delay } from '@xylabs/delay'
5
4
  import { usePromise } from '@xylabs/react-promise'
6
5
  import { MemoryArchivist } from '@xyo-network/archivist-memory'
7
6
  import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
8
- import { Payload } from '@xyo-network/payload-model'
7
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
8
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
9
+ import type { Payload } from '@xyo-network/payload-model'
9
10
  import { useEffect, useState } from 'react'
10
11
 
11
12
  import { getChainInformation } from '../lib/index.ts'
12
- import { BlockChainRenderBaseProps } from '../types/index.ts'
13
+ import type { BlockChainRenderBaseProps } from '../types/index.ts'
13
14
  import { buildRandomBlockChain } from './buildRandomBlockchain.ts'
14
15
 
15
16
  let chainArchivistRef: MemoryArchivist | undefined
@@ -1,14 +1,13 @@
1
- import { Decorator } from '@storybook/react'
1
+ import type { Decorator } from '@storybook/react'
2
2
  import { assertEx } from '@xylabs/assert'
3
+ import { usePromise } from '@xylabs/react-promise'
3
4
  import { isBlockBoundWitness } from '@xyo-network/chain-model'
4
5
  import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
5
6
  import { findFirstMatching } from '@xyo-network/chain-utils'
6
- import { usePromise } from '@xylabs/react-promise'
7
7
 
8
8
  import { ChainInfoProvider } from '../context/index.ts'
9
- import {
10
- BridgedChainArchivistParams, getChainArchivistFromBridge, getChainInformation,
11
- } from '../lib/index.ts'
9
+ import type { BridgedChainArchivistParams } from '../lib/index.ts'
10
+ import { getChainArchivistFromBridge, getChainInformation } from '../lib/index.ts'
12
11
 
13
12
  const archivistConfig: BridgedChainArchivistParams = {
14
13
  url: 'http://localhost:8080',
@@ -1,7 +1,7 @@
1
+ import { Account } from '@xyo-network/account'
1
2
  import { buildRandomChain } from '@xyo-network/chain-ethereum'
2
- import { HydratedBlock } from '@xyo-network/chain-model'
3
+ import type { HydratedBlock } from '@xyo-network/chain-model'
3
4
  import { flattenHydratedBlocks } from '@xyo-network/chain-protocol'
4
- import { Account } from '@xyo-network/account'
5
5
 
6
6
  export const buildRandomBlockChain = async (blockCount = 10) => {
7
7
  // Create a producer
@@ -1,5 +1,5 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
2
- import { Hash } from '@xylabs/hex'
1
+ import type { Hash } from '@xylabs/hex'
2
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
3
3
 
4
4
  /** Interface for all components that render a single block */
5
5
  export interface BlockComponentProps {
@@ -1,5 +1,5 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
2
- import { NodesWithKeys } from '@xylabs/react-animation'
1
+ import type { NodesWithKeys } from '@xylabs/react-animation'
2
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
3
3
 
4
4
  /** Interface for all block components meant to be rendered in a chain */
5
5
  export interface BlockChainRenderComponent extends NodesWithKeys {
@@ -1,4 +1,4 @@
1
- import { BlockChainRenderComponent } from './BlockComponents.ts'
1
+ import type { BlockChainRenderComponent } from './BlockComponents.ts'
2
2
 
3
3
  /** Props for components that can render a list of blocks, i.e. Table, Animated */
4
4
  export interface BlockListComponentProps {
@@ -1,6 +1,6 @@
1
- import { ChainInformation } from '@xyo-network/chain-model'
2
- import { Hash } from '@xylabs/hex'
3
- import { ArchivistInstance } from '@xyo-network/archivist-model'
1
+ import type { Hash } from '@xylabs/hex'
2
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
3
+ import type { ChainInformation } from '@xyo-network/chain-model'
4
4
 
5
5
  /** Props that control the rendering (not blockchain specific) */
6
6
  export interface RenderProps {
@@ -1,7 +1,7 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox'
1
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
2
2
 
3
- import { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
4
- import { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
3
+ import type { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
4
+ import type { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
5
5
 
6
6
  export interface BlockChainRenderFlexboxProps extends BlockChainRenderBaseProps, FlexBoxProps {}
7
7
 
@@ -1,5 +1,5 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox'
1
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
2
2
 
3
- import { RenderProps } from '../BlockChainRenderProps.ts'
3
+ import type { RenderProps } from '../BlockChainRenderProps.ts'
4
4
 
5
5
  export interface RenderFlexboxProps extends RenderProps, FlexBoxProps {}
@@ -1,7 +1,7 @@
1
- import { TableExProps } from '@xyo-network/react-table'
1
+ import type { TableExProps } from '@xyo-network/react-table'
2
2
 
3
- import { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
4
- import { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
3
+ import type { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts'
4
+ import type { RemoteArchivistProps } from '../RemoteArchivistProps.ts'
5
5
 
6
6
  export interface BlockChainRenderTableExProps extends BlockChainRenderBaseProps, TableExProps {}
7
7
 
@@ -1,5 +1,5 @@
1
- import { TableProps } from '@mui/material'
1
+ import type { TableProps } from '@mui/material'
2
2
 
3
- import { RenderProps } from '../BlockChainRenderProps.ts'
3
+ import type { RenderProps } from '../BlockChainRenderProps.ts'
4
4
 
5
5
  export interface RenderTableProps extends RenderProps, TableProps {}