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

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 +1 @@
1
- {"version":3,"file":"RenderFlexboxProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/flexbox/RenderFlexboxProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAEzD,MAAM,WAAW,kBAAmB,SAAQ,WAAW,EAAE,YAAY;CAAG"}
1
+ {"version":3,"file":"RenderFlexboxProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/flexbox/RenderFlexboxProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAE9D,MAAM,WAAW,kBAAmB,SAAQ,WAAW,EAAE,YAAY;CAAG"}
@@ -1,6 +1,6 @@
1
- import { TableExProps } from '@xyo-network/react-table';
2
- import { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts';
3
- import { RemoteArchivistProps } from '../RemoteArchivistProps.ts';
1
+ import type { TableExProps } from '@xyo-network/react-table';
2
+ import type { BlockChainRenderBaseProps } from '../BlockChainRenderProps.ts';
3
+ import type { RemoteArchivistProps } from '../RemoteArchivistProps.ts';
4
4
  export interface BlockChainRenderTableExProps extends BlockChainRenderBaseProps, TableExProps {
5
5
  }
6
6
  export interface RemoteBlockChainRenderTableExProps extends BlockChainRenderBaseProps, RemoteArchivistProps, TableExProps {
@@ -1 +1 @@
1
- {"version":3,"file":"BlockChainRenderTableExProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/table/BlockChainRenderTableExProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAEjE,MAAM,WAAW,4BAA6B,SAAQ,yBAAyB,EAAE,YAAY;CAAG;AAEhG,MAAM,WAAW,kCAAmC,SAAQ,yBAAyB,EAAE,oBAAoB,EAAE,YAAY;CAAG"}
1
+ {"version":3,"file":"BlockChainRenderTableExProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/table/BlockChainRenderTableExProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,MAAM,WAAW,4BAA6B,SAAQ,yBAAyB,EAAE,YAAY;CAAG;AAEhG,MAAM,WAAW,kCAAmC,SAAQ,yBAAyB,EAAE,oBAAoB,EAAE,YAAY;CAAG"}
@@ -1,5 +1,5 @@
1
- import { TableProps } from '@mui/material';
2
- import { RenderProps } from '../BlockChainRenderProps.ts';
1
+ import type { TableProps } from '@mui/material';
2
+ import type { RenderProps } from '../BlockChainRenderProps.ts';
3
3
  export interface RenderTableProps extends RenderProps, TableProps {
4
4
  }
5
5
  //# sourceMappingURL=RenderTableProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RenderTableProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/table/RenderTableProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAEzD,MAAM,WAAW,gBAAiB,SAAQ,WAAW,EAAE,UAAU;CAAG"}
1
+ {"version":3,"file":"RenderTableProps.d.ts","sourceRoot":"","sources":["../../../../../src/types/render/table/RenderTableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAE9D,MAAM,WAAW,gBAAiB,SAAQ,WAAW,EAAE,UAAU;CAAG"}
@@ -0,0 +1 @@
1
+ export { config as default } from '@xylabs/eslint-config-flat'
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/react-chain-blockchain",
4
- "version": "1.0.1",
5
- "description": "XYO Layer One SDK",
4
+ "version": "1.0.2",
5
+ "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
8
8
  "url": "git+https://github.com/xylabs/xyo-chain/issues",
@@ -51,20 +51,20 @@
51
51
  "@xyo-network/archivist-model": "^3.9.37",
52
52
  "@xyo-network/boundwitness-builder": "^3.9.37",
53
53
  "@xyo-network/bridge-http": "^3.9.37",
54
- "@xyo-network/chain-ethereum": "^1.0.1",
55
- "@xyo-network/chain-model": "^1.0.1",
56
- "@xyo-network/chain-protocol": "^1.0.1",
57
- "@xyo-network/chain-services": "^1.0.1",
54
+ "@xyo-network/chain-ethereum": "^1.0.2",
55
+ "@xyo-network/chain-model": "^1.0.2",
56
+ "@xyo-network/chain-protocol": "^1.0.2",
57
+ "@xyo-network/chain-services": "^1.0.2",
58
58
  "@xyo-network/module-model": "^3.9.37",
59
59
  "@xyo-network/payload-builder": "^3.9.37",
60
60
  "@xyo-network/payload-model": "^3.9.37",
61
- "@xyo-network/react-chain-blockies": "^1.0.1",
62
- "@xyo-network/react-chain-boundwitness": "^1.0.1",
63
- "@xyo-network/react-event": "^5.0.3",
64
- "@xyo-network/react-payload-raw-info": "^5.0.3",
65
- "@xyo-network/react-payload-table": "^5.0.3",
66
- "@xyo-network/react-shared": "^5.0.3",
67
- "@xyo-network/react-table": "^5.0.3"
61
+ "@xyo-network/react-chain-blockies": "^1.0.2",
62
+ "@xyo-network/react-chain-boundwitness": "^1.0.2",
63
+ "@xyo-network/react-event": "^5.0.4",
64
+ "@xyo-network/react-payload-raw-info": "^5.0.4",
65
+ "@xyo-network/react-payload-table": "^5.0.4",
66
+ "@xyo-network/react-shared": "^5.0.4",
67
+ "@xyo-network/react-table": "^5.0.4"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@emotion/react": "^11.14.0",
@@ -79,7 +79,7 @@
79
79
  "@xylabs/ts-scripts-yarn3": "^6.0.9",
80
80
  "@xylabs/tsconfig-react": "^6.0.9",
81
81
  "@xyo-network/archivist-memory": "^3.9.37",
82
- "@xyo-network/chain-utils": "^1.0.1",
82
+ "@xyo-network/chain-utils": "^1.0.2",
83
83
  "eslint": "^9.22.0",
84
84
  "react": "^19.0.0",
85
85
  "react-dom": "^19.0.0",
@@ -1,13 +1,14 @@
1
1
  import {
2
2
  Alert, AlertTitle, List, ListItem, Stack,
3
3
  } from '@mui/material'
4
- import { Meta, StoryFn } from '@storybook/react'
5
- import { BlockBoundWitness } from '@xyo-network/chain-model'
4
+ import type { Meta, StoryFn } from '@storybook/react'
5
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
6
6
  import React, { useState } from 'react'
7
7
 
8
8
  import { buildRandomBlockChainBlocksOnly } from '../../stories/index.ts'
9
9
  import { BlockHeadingFlexbox } from './BlockHeadingFlexbox.tsx'
10
- import { BlockHeaderEventNouns, useBlockHeadingEvents } from './hooks/index.ts'
10
+ import type { BlockHeaderEventNouns } from './hooks/index.ts'
11
+ import { useBlockHeadingEvents } from './hooks/index.ts'
11
12
 
12
13
  export default {
13
14
  title: 'Block/Flexbox',
@@ -1,11 +1,11 @@
1
- import { Hash } from '@xylabs/hex'
2
- import { BWVerification, HashHeadingPaper } from '@xyo-network/react-chain-boundwitness'
1
+ import type { Hash } from '@xylabs/hex'
3
2
  import { FlexCol, FlexRow } from '@xylabs/react-flexbox'
3
+ import { BWVerification, HashHeadingPaper } from '@xyo-network/react-chain-boundwitness'
4
4
  import { usePayloadHash } from '@xyo-network/react-shared'
5
5
  import React from 'react'
6
6
 
7
7
  import { useChainPollingContext } from '../../context/index.ts'
8
- import { BlockComponentWithTxsProps } from '../../types/index.ts'
8
+ import type { BlockComponentWithTxsProps } from '../../types/index.ts'
9
9
  import { TransactionCountChip } from '../transactions/index.ts'
10
10
  import { useBlockHeadingEvents } from './hooks/index.ts'
11
11
  import { LinkedDivider } from './LinkedDivider.tsx'
@@ -1,6 +1,7 @@
1
- import { Chip, ChipProps } from '@mui/material'
2
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { ChipProps } from '@mui/material'
2
+ import { Chip } from '@mui/material'
3
3
  import { EthAddress } from '@xylabs/eth-address'
4
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
4
5
  import { BlockiesAvatar } from '@xyo-network/react-chain-blockies'
5
6
  import { useMemo } from 'react'
6
7
 
@@ -1,4 +1,4 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
2
2
 
3
3
  export const blockProducer = (block: BlockBoundWitness) => {
4
4
  return block.addresses[0]
@@ -1,7 +1,7 @@
1
- import { ArchivistInstance } from '@xyo-network/archivist-model'
2
- import { ComponentType } from 'react'
1
+ import type { ArchivistInstance } from '@xyo-network/archivist-model'
2
+ import type { ComponentType } from 'react'
3
3
 
4
- import {
4
+ import type {
5
5
  BlockChainRenderComponent,
6
6
  BlockComponentProps, BlockComponentWithTxsProps,
7
7
  } from '../../../types/index.ts'
@@ -1,5 +1,6 @@
1
- import { BlockBoundWitness, isTransactionBoundWitness } from '@xyo-network/chain-model'
2
- import { ReadArchivist } from '@xyo-network/archivist-model'
1
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
2
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
3
+ import { isTransactionBoundWitness } from '@xyo-network/chain-model'
3
4
  import { PayloadBuilder } from '@xyo-network/payload-builder'
4
5
 
5
6
  export const txsFromBlock = async (chainArchivist: ReadArchivist, block: BlockBoundWitness) => {
@@ -1,4 +1,4 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
2
2
  import { useMemo } from 'react'
3
3
 
4
4
  export const useBlockProducer = (block?: BlockBoundWitness) => {
@@ -1,10 +1,10 @@
1
- import {
2
- BlockBoundWitness, isBlockBoundWitness, XyoChainIteratorParams,
3
- } from '@xyo-network/chain-model'
4
- import { ComponentType, useState } from 'react'
1
+ import type { BlockBoundWitness, XyoChainIteratorParams } from '@xyo-network/chain-model'
2
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
3
+ import type { ComponentType } from 'react'
4
+ import { useState } from 'react'
5
5
 
6
6
  import { useChainAnalyzersContext } from '../../../context/index.ts'
7
- import {
7
+ import type {
8
8
  BlockChainRenderComponent,
9
9
  BlockComponentProps, BlockComponentWithTxsProps,
10
10
  } from '../../../types/index.ts'
@@ -1,9 +1,9 @@
1
- import { BlockBoundWitness, XyoChainIteratorParams } from '@xyo-network/chain-model'
2
1
  import { usePromise } from '@xylabs/react-promise'
3
- import { ComponentType } from 'react'
2
+ import type { BlockBoundWitness, XyoChainIteratorParams } from '@xyo-network/chain-model'
3
+ import type { ComponentType } from 'react'
4
4
 
5
5
  import { useChainAnalyzersContext } from '../../../context/index.ts'
6
- import { BlockComponentProps, BlockComponentWithTxsProps } from '../../../types/index.ts'
6
+ import type { BlockComponentProps, BlockComponentWithTxsProps } from '../../../types/index.ts'
7
7
  import { buildBlockChainRenderComponent } from '../helpers/index.ts'
8
8
 
9
9
  export const useStaticBlockComponents = (
@@ -1,6 +1,6 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
2
1
  import { usePromise } from '@xylabs/react-promise'
3
- import { ReadArchivist } from '@xyo-network/archivist-model'
2
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
3
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
4
4
 
5
5
  import { txsFromBlock } from '../helpers/index.ts'
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { MoreVert } from '@mui/icons-material'
2
2
  import { IconButton, Menu } from '@mui/material'
3
- import { BlockBoundWitness } from '@xyo-network/chain-model'
3
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
4
4
  import { BWJsonMenuItem, BWPreviousHashMenuItem } from '@xyo-network/react-chain-boundwitness'
5
5
 
6
6
  import { useAnchorElement } from '../hooks/index.ts'
@@ -1,9 +1,11 @@
1
1
  import {
2
2
  Alert, AlertTitle, Snackbar,
3
3
  } from '@mui/material'
4
- import { Meta, StoryFn } from '@storybook/react'
5
- import { BlockBoundWitness, isBlockBoundWitness } from '@xyo-network/chain-model'
6
- import { Event, useEvent } from '@xyo-network/react-event'
4
+ import type { Meta, StoryFn } from '@storybook/react'
5
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
6
+ import { isBlockBoundWitness } from '@xyo-network/chain-model'
7
+ import type { Event } from '@xyo-network/react-event'
8
+ import { useEvent } from '@xyo-network/react-event'
7
9
  import React, { useState } from 'react'
8
10
 
9
11
  import { buildRandomBlockChain } from '../../../stories/index.ts'
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  TableBody, TableCell, TableHead, TableRow,
3
3
  } from '@mui/material'
4
- import { TableEx, TableExProps } from '@xyo-network/react-table'
4
+ import type { TableExProps } from '@xyo-network/react-table'
5
+ import { TableEx } from '@xyo-network/react-table'
5
6
  import { forwardRef } from 'react'
6
7
 
7
8
  export const BlockchainTableEx = forwardRef<HTMLTableElement, TableExProps>(({ children, ...props }, ref) => {
@@ -4,7 +4,7 @@ import {
4
4
  import React from 'react'
5
5
 
6
6
  import { useLinkedBlockItem } from './hooks/index.ts'
7
- import { BlockTableCellProps } from './lib/index.ts'
7
+ import type { BlockTableCellProps } from './lib/index.ts'
8
8
 
9
9
  export interface BlockNumberTableCellProps extends BlockTableCellProps {}
10
10
 
@@ -3,12 +3,13 @@ import {
3
3
  Chip,
4
4
  TableCell, Tooltip,
5
5
  } from '@mui/material'
6
- import { Identicon, IdenticonProps } from '@xylabs/react-identicon'
6
+ import type { IdenticonProps } from '@xylabs/react-identicon'
7
+ import { Identicon } from '@xylabs/react-identicon'
7
8
  import { usePayloadHash } from '@xyo-network/react-shared'
8
9
  import React from 'react'
9
10
 
10
11
  import { useLinkedBlockItem } from './hooks/index.ts'
11
- import { BlockTableCellProps } from './lib/index.ts'
12
+ import type { BlockTableCellProps } from './lib/index.ts'
12
13
 
13
14
  export interface BlockHashTableCellProps extends BlockTableCellProps {
14
15
  identiconProps?: IdenticonProps
@@ -9,7 +9,7 @@ import { JsonViewerEx } from '@xyo-network/react-payload-raw-info'
9
9
  import { usePayloadHash } from '@xyo-network/react-shared'
10
10
  import React, { useState } from 'react'
11
11
 
12
- import { BlockTableCellProps } from './lib/index.ts'
12
+ import type { BlockTableCellProps } from './lib/index.ts'
13
13
 
14
14
  export interface BlockJsonViewTableCellProps extends BlockTableCellProps {}
15
15
 
@@ -3,9 +3,10 @@ import { FlexRow } from '@xylabs/react-flexbox'
3
3
  import React from 'react'
4
4
 
5
5
  import { useBlockProducer } from '../../hooks/index.ts'
6
- import { BlockProducerChip, BlockProducerChipProps } from '../../ProducerChip.tsx'
6
+ import type { BlockProducerChipProps } from '../../ProducerChip.tsx'
7
+ import { BlockProducerChip } from '../../ProducerChip.tsx'
7
8
  import { useLinkedBlockItem } from './hooks/index.ts'
8
- import { BlockTableCellProps } from './lib/index.ts'
9
+ import type { BlockTableCellProps } from './lib/index.ts'
9
10
 
10
11
  export interface BlockProducerTableCell extends BlockTableCellProps {
11
12
  producerChipProps?: BlockProducerChipProps
@@ -2,12 +2,12 @@ import { Error } from '@mui/icons-material'
2
2
  import {
3
3
  Link, TableCell, Tooltip,
4
4
  } from '@mui/material'
5
- import { ReadArchivist } from '@xyo-network/archivist-model'
5
+ import type { ReadArchivist } from '@xyo-network/archivist-model'
6
6
  import React from 'react'
7
7
 
8
8
  import { useTxsFromBlock } from '../../hooks/index.ts'
9
9
  import { useLinkedBlockItem } from './hooks/index.ts'
10
- import { BlockTableCellProps } from './lib/index.ts'
10
+ import type { BlockTableCellProps } from './lib/index.ts'
11
11
 
12
12
  export interface BlockTransactionCountTableCellProps extends BlockTableCellProps {
13
13
  chainArchivist?: ReadArchivist
@@ -1,10 +1,10 @@
1
1
  import { TableCell } from '@mui/material'
2
- import { BWVerification } from '@xyo-network/react-chain-boundwitness'
3
2
  import { FlexRow } from '@xylabs/react-flexbox'
3
+ import { BWVerification } from '@xyo-network/react-chain-boundwitness'
4
4
  import React from 'react'
5
5
 
6
6
  import { useLinkedBlockItem } from './hooks/index.ts'
7
- import { BlockTableCellProps } from './lib/index.ts'
7
+ import type { BlockTableCellProps } from './lib/index.ts'
8
8
 
9
9
  export interface BlockVerificationTableCellProps extends BlockTableCellProps {}
10
10
 
@@ -1,7 +1,7 @@
1
1
  import { useEvent } from '@xyo-network/react-event'
2
- import { RefObject } from 'react'
2
+ import type { RefObject } from 'react'
3
3
 
4
- import { BlockHeaderEventNouns } from '../../../hooks/index.ts'
4
+ import type { BlockHeaderEventNouns } from '../../../hooks/index.ts'
5
5
 
6
6
  export const useLinkedBlockItem = (noun?: BlockHeaderEventNouns, data?: string): [RefObject<HTMLElement | null>, (event: React.MouseEvent) => void] => {
7
7
  const [ref, dispatch] = useEvent<HTMLAnchorElement, BlockHeaderEventNouns>()
@@ -1,5 +1,5 @@
1
- import { TableCellProps } from '@mui/material'
2
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { TableCellProps } from '@mui/material'
2
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
3
3
 
4
4
  export interface BlockTableCellProps extends TableCellProps {
5
5
  block?: BlockBoundWitness
@@ -1,6 +1,6 @@
1
1
  import { Table, TableBody } from '@mui/material'
2
- import { Meta, StoryFn } from '@storybook/react'
3
- import { BlockBoundWitness } from '@xyo-network/chain-model'
2
+ import type { Meta, StoryFn } from '@storybook/react'
3
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
4
4
  import React from 'react'
5
5
 
6
6
  import { buildRandomBlockChainBlocksOnly } from '../../../../stories/index.ts'
@@ -1,7 +1,7 @@
1
1
  import { TableRow } from '@mui/material'
2
2
  import { useMemo } from 'react'
3
3
 
4
- import { BlockComponentProps } from '../../../../types/index.ts'
4
+ import type { BlockComponentProps } from '../../../../types/index.ts'
5
5
  import {
6
6
  BlockHashTableCell, BlockJsonViewTableCell, BlockNumberTableCell, BlockProducerTableCell,
7
7
  BlockTransactionCountTableCell,
@@ -8,10 +8,11 @@ import {
8
8
  Grow,
9
9
  Icon, IconButton, Tooltip,
10
10
  } from '@mui/material'
11
- import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
11
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
12
+ import { FlexRow } from '@xylabs/react-flexbox'
12
13
  import React, { memo } from 'react'
13
14
 
14
- import { PollingState } from '../hooks/index.ts'
15
+ import type { PollingState } from '../hooks/index.ts'
15
16
  import { ChainAnalyzerStatsDialogFromContext } from '../stats/index.ts'
16
17
  import { StyledPulseSvgIcon } from './PulseSvgIcon.tsx'
17
18
 
@@ -1,5 +1,6 @@
1
+ import type { DialogProps } from '@mui/material'
1
2
  import {
2
- Button, Dialog, DialogActions, DialogContent, DialogProps,
3
+ Button, Dialog, DialogActions, DialogContent,
3
4
  } from '@mui/material'
4
5
  import React from 'react'
5
6
 
@@ -1,4 +1,4 @@
1
- import { BlockBoundWitness } from '@xyo-network/chain-model'
1
+ import type { BlockBoundWitness } from '@xyo-network/chain-model'
2
2
  import { useEffect, useRef } from 'react'
3
3
 
4
4
  export type PollingState = 'paused' | 'running'
@@ -1,6 +1,6 @@
1
1
  import { AnimatedList } from '@xylabs/react-animation'
2
2
 
3
- import { BlockListComponentProps } from '../../../types/index.ts'
3
+ import type { BlockListComponentProps } from '../../../types/index.ts'
4
4
  import { BlockListWrapperFlexBox } from '../styled/index.ts'
5
5
 
6
6
  export const BlockListAnimated: React.FC<BlockListComponentProps> = ({ blockChainRenderComponents }) => {
@@ -1,6 +1,6 @@
1
1
  import React, { Fragment } from 'react'
2
2
 
3
- import { BlockListComponentProps } from '../../../types/index.ts'
3
+ import type { BlockListComponentProps } from '../../../types/index.ts'
4
4
  import { BlockchainTableEx } from '../../block/index.ts'
5
5
 
6
6
  export const BlockListTableEx: React.FC<BlockListComponentProps> = ({ blockChainRenderComponents }) => {
@@ -1,4 +1,5 @@
1
- import { TablePaginationActions, TablePaginationActionsProps } from '@xyo-network/react-payload-table'
1
+ import type { TablePaginationActionsProps } from '@xyo-network/react-payload-table'
2
+ import { TablePaginationActions } from '@xyo-network/react-payload-table'
2
3
  import React from 'react'
3
4
 
4
5
  export interface BlockChainPaginationProps extends TablePaginationActionsProps {}
@@ -1,8 +1,7 @@
1
- import {
2
- MouseEvent, useMemo, useState,
3
- } from 'react'
1
+ import type { MouseEvent } from 'react'
2
+ import { useMemo, useState } from 'react'
4
3
 
5
- import { BlockChainRenderComponent } from '../../../../types/index.ts'
4
+ import type { BlockChainRenderComponent } from '../../../../types/index.ts'
6
5
 
7
6
  export const useChainPagination = (pageSize: number, blockComponents?: BlockChainRenderComponent[]) => {
8
7
  const [page, setPage] = useState(0)
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { ChainArchivistDelayedInsertDecorator } from '../../../../../stories/index.ts'
4
4
  import { DynamicBlockchainRenderFlexbox } from './Flexbox.tsx'
@@ -1,12 +1,11 @@
1
- import { ChainProducersAnalyzer } from '@xyo-network/chain-protocol'
2
1
  import { ErrorRender } from '@xylabs/react-error'
3
2
  import { FlexCol } from '@xylabs/react-flexbox'
3
+ import { ChainProducersAnalyzer } from '@xyo-network/chain-protocol'
4
4
  import React, { useMemo } from 'react'
5
5
 
6
- import {
7
- ChainAnalyzers, ChainAnalyzersProvider, ChainPollingProvider,
8
- } from '../../../../../context/index.ts'
9
- import { BlockChainRenderFlexboxProps, RemoteBlockChainRenderFlexboxProps } from '../../../../../types/index.ts'
6
+ import type { ChainAnalyzers } from '../../../../../context/index.ts'
7
+ import { ChainAnalyzersProvider, ChainPollingProvider } from '../../../../../context/index.ts'
8
+ import type { BlockChainRenderFlexboxProps, RemoteBlockChainRenderFlexboxProps } from '../../../../../types/index.ts'
10
9
  import { BlockHeadingFlexbox } from '../../../../block/index.ts'
11
10
  import { MemoizedPollingControlsFlexbox } from '../../../controls/index.ts'
12
11
  import { BlockListAnimated } from '../../../list/index.ts'
@@ -1,7 +1,7 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { getChainInformation } from '../../../../../lib/index.ts'
4
- import { BlockChainRenderProps } from '../../../../../types/index.ts'
4
+ import type { BlockChainRenderProps } from '../../../../../types/index.ts'
5
5
  import { DynamicBlockchainRenderFlexbox } from './Flexbox.tsx'
6
6
 
7
7
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1,8 +1,9 @@
1
- import { ComponentType, useMemo } from 'react'
1
+ import type { ComponentType } from 'react'
2
+ import { useMemo } from 'react'
2
3
 
3
4
  import { useChainPollingContext } from '../../../../../context/index.ts'
4
5
  import { useChainIteratorParams, useChainIteratorStore } from '../../../../../hooks/index.ts'
5
- import { BlockChainRenderProps, BlockComponentWithTxsProps } from '../../../../../types/index.ts'
6
+ import type { BlockChainRenderProps, BlockComponentWithTxsProps } from '../../../../../types/index.ts'
6
7
  import { useDynamicBlockComponents } from '../../../../block/index.ts'
7
8
  import { useOnBlock } from '../../../hooks/index.ts'
8
9
 
@@ -1,9 +1,9 @@
1
1
  import { usePromise } from '@xylabs/react-promise'
2
- import { ModuleIdentifier } from '@xyo-network/module-model'
2
+ import type { ModuleIdentifier } from '@xyo-network/module-model'
3
3
  import { useMemo } from 'react'
4
4
 
5
5
  import { getChainArchivistFromBridge } from '../../../../../lib/index.ts'
6
- import { BlockChainRenderBaseProps, BlockChainRenderProps } from '../../../../../types/index.ts'
6
+ import type { BlockChainRenderBaseProps, BlockChainRenderProps } from '../../../../../types/index.ts'
7
7
 
8
8
  /** take blockChainRenderProps and remote archivist props and return with resolved chainArchivist */
9
9
  export const useRemoteBlockChainRenderProps = (
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
4
4
  import { StaticBlockchainRenderFlexBox } from './Flexbox.tsx'
@@ -1,10 +1,11 @@
1
- import { ChainProducersAnalyzer } from '@xyo-network/chain-protocol'
2
1
  import { ErrorRender } from '@xylabs/react-error'
3
2
  import { FlexCol, FlexGrowRow } from '@xylabs/react-flexbox'
3
+ import { ChainProducersAnalyzer } from '@xyo-network/chain-protocol'
4
4
  import React, { useMemo } from 'react'
5
5
 
6
- import { ChainAnalyzers, ChainAnalyzersProvider } from '../../../../../context/index.ts'
7
- import { BlockChainRenderFlexboxProps } from '../../../../../types/index.ts'
6
+ import type { ChainAnalyzers } from '../../../../../context/index.ts'
7
+ import { ChainAnalyzersProvider } from '../../../../../context/index.ts'
8
+ import type { BlockChainRenderFlexboxProps } from '../../../../../types/index.ts'
8
9
  import { BlockHeadingFlexbox } from '../../../../block/index.ts'
9
10
  import { BlockListAnimated } from '../../../list/index.ts'
10
11
  import { BlockChainPagination } from '../../../pagination/index.ts'
@@ -1,8 +1,9 @@
1
1
  import { exists } from '@xylabs/exists'
2
- import { ComponentType, useMemo } from 'react'
2
+ import type { ComponentType } from 'react'
3
+ import { useMemo } from 'react'
3
4
 
4
5
  import { useChainIteratorParams, useIterateChain } from '../../../../../hooks/index.ts'
5
- import { BlockChainRenderProps, BlockComponentWithTxsProps } from '../../../../../types/index.ts'
6
+ import type { BlockChainRenderProps, BlockComponentWithTxsProps } from '../../../../../types/index.ts'
6
7
  import { useStaticBlockComponents } from '../../../../block/index.ts'
7
8
  import { useChainPagination } from '../../../pagination/index.ts'
8
9
 
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
 
3
3
  import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
4
4
  import { StaticBlockchainRenderTableEx } from './Ex.tsx'
@@ -2,7 +2,7 @@ import { ErrorRender } from '@xylabs/react-error'
2
2
  import { FlexCol, FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import React from 'react'
4
4
 
5
- import { BlockChainRenderTableExProps } from '../../../../../types/index.ts'
5
+ import type { BlockChainRenderTableExProps } from '../../../../../types/index.ts'
6
6
  import { BlockChainTableRow } from '../../../../block/index.ts'
7
7
  import { BlockListTableEx } from '../../../list/index.ts'
8
8
  import { BlockChainPagination } from '../../../pagination/index.ts'
@@ -1,6 +1,7 @@
1
1
  import { QueryStats } from '@mui/icons-material'
2
+ import type { DialogProps } from '@mui/material'
2
3
  import {
3
- Dialog, DialogContent, DialogProps,
4
+ Dialog, DialogContent,
4
5
  DialogTitle, IconButton,
5
6
  } from '@mui/material'
6
7
  import { useState } from 'react'
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ListItem, styled, Typography,
3
3
  } from '@mui/material'
4
- import { isChainSummaryProducers } from '@xyo-network/chain-protocol'
5
4
  import { ErrorRender } from '@xylabs/react-error'
6
5
  import { FlexCol } from '@xylabs/react-flexbox'
7
- import { Payload } from '@xyo-network/payload-model'
6
+ import { isChainSummaryProducers } from '@xyo-network/chain-protocol'
7
+ import type { Payload } from '@xyo-network/payload-model'
8
8
  import { useMemo } from 'react'
9
9
 
10
10
  import { ChainProducerStatsTable } from './Table.tsx'
@@ -1,9 +1,10 @@
1
+ import type { TableProps } from '@mui/material'
1
2
  import {
2
- Table, TableBody, TableCell, TableHead, TableProps,
3
+ Table, TableBody, TableCell, TableHead,
3
4
  TableRow,
4
5
  useTheme,
5
6
  } from '@mui/material'
6
- import { AnalyzedProducer } from '@xyo-network/chain-protocol'
7
+ import type { AnalyzedProducer } from '@xyo-network/chain-protocol'
7
8
  import { BlockiesAvatar } from '@xyo-network/react-chain-blockies'
8
9
  import React from 'react'
9
10