@xyo-network/react-chain-boundwitness 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 (129) hide show
  1. package/dist/browser/index.mjs.map +1 -1
  2. package/dist/types/Plugin.d.ts +1 -1
  3. package/dist/types/Plugin.d.ts.map +1 -1
  4. package/dist/types/components/Card/Card.d.ts +2 -2
  5. package/dist/types/components/Card/Card.d.ts.map +1 -1
  6. package/dist/types/components/Card/CardContent/AddressAvatarGroup.d.ts +1 -1
  7. package/dist/types/components/Card/CardContent/AddressAvatarGroup.d.ts.map +1 -1
  8. package/dist/types/components/Card/CardContent/CardContent.d.ts +2 -2
  9. package/dist/types/components/Card/CardContent/CardContent.d.ts.map +1 -1
  10. package/dist/types/components/Card/CardContent/SchemaAvatarGroup.d.ts +1 -1
  11. package/dist/types/components/Card/CardContent/SchemaAvatarGroup.d.ts.map +1 -1
  12. package/dist/types/components/Card/CardContent/layout/CardColumnTitle.d.ts +1 -1
  13. package/dist/types/components/Card/CardContent/layout/CardColumnTitle.d.ts.map +1 -1
  14. package/dist/types/components/Card/CardHeader/CardHeader.d.ts +4 -3
  15. package/dist/types/components/Card/CardHeader/CardHeader.d.ts.map +1 -1
  16. package/dist/types/components/Details/BoundWitnessLinksDetails.d.ts +2 -2
  17. package/dist/types/components/Details/BoundWitnessLinksDetails.d.ts.map +1 -1
  18. package/dist/types/components/Details/Box/DetailsBox.d.ts +2 -2
  19. package/dist/types/components/Details/Box/DetailsBox.d.ts.map +1 -1
  20. package/dist/types/components/Details/Card/DetailsCard.d.ts +1 -1
  21. package/dist/types/components/Details/Card/DetailsCard.d.ts.map +1 -1
  22. package/dist/types/components/Details/Card/DetailsCardContent.d.ts +4 -3
  23. package/dist/types/components/Details/Card/DetailsCardContent.d.ts.map +1 -1
  24. package/dist/types/components/Details/Card/DetailsCardInner.d.ts +1 -1
  25. package/dist/types/components/Details/Card/DetailsCardInner.d.ts.map +1 -1
  26. package/dist/types/components/Details/Card/Navigation/BottomNavigation.d.ts +4 -3
  27. package/dist/types/components/Details/Card/Navigation/BottomNavigation.d.ts.map +1 -1
  28. package/dist/types/components/Details/Card/Navigation/NavigationTabs.d.ts +4 -3
  29. package/dist/types/components/Details/Card/Navigation/NavigationTabs.d.ts.map +1 -1
  30. package/dist/types/components/Details/Details.d.ts +2 -2
  31. package/dist/types/components/Details/Details.d.ts.map +1 -1
  32. package/dist/types/components/Details/ValidationDetails.d.ts +2 -2
  33. package/dist/types/components/Details/ValidationDetails.d.ts.map +1 -1
  34. package/dist/types/components/_shared/Actions/BWActions.d.ts +4 -3
  35. package/dist/types/components/_shared/Actions/BWActions.d.ts.map +1 -1
  36. package/dist/types/components/_shared/Actions/Verification.d.ts +2 -2
  37. package/dist/types/components/_shared/Actions/Verification.d.ts.map +1 -1
  38. package/dist/types/components/_shared/Actions/_shared/ActionMenuItemProps.d.ts +2 -2
  39. package/dist/types/components/_shared/Actions/_shared/ActionMenuItemProps.d.ts.map +1 -1
  40. package/dist/types/components/_shared/Actions/_shared/MenuItemDialog.d.ts +1 -1
  41. package/dist/types/components/_shared/Actions/_shared/MenuItemDialog.d.ts.map +1 -1
  42. package/dist/types/components/_shared/Actions/json/MenuItem.d.ts +1 -1
  43. package/dist/types/components/_shared/Actions/json/MenuItem.d.ts.map +1 -1
  44. package/dist/types/components/_shared/Actions/previous-hash/DialogContent.d.ts +2 -2
  45. package/dist/types/components/_shared/Actions/previous-hash/DialogContent.d.ts.map +1 -1
  46. package/dist/types/components/_shared/Actions/previous-hash/MenuItem.d.ts +1 -1
  47. package/dist/types/components/_shared/Actions/previous-hash/MenuItem.d.ts.map +1 -1
  48. package/dist/types/components/_shared/Actions/previous-hash/QuickTipButton.d.ts +2 -2
  49. package/dist/types/components/_shared/Actions/previous-hash/QuickTipButton.d.ts.map +1 -1
  50. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/BackPaperAdornment.d.ts +1 -1
  51. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/BackPaperAdornment.d.ts.map +1 -1
  52. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornment.d.ts +1 -1
  53. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornment.d.ts.map +1 -1
  54. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornmentIconButton.d.ts +1 -1
  55. package/dist/types/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornmentIconButton.d.ts.map +1 -1
  56. package/dist/types/components/_shared/Heading/HashHeadingPaper/HashHeadingPaper.d.ts +2 -2
  57. package/dist/types/components/_shared/Heading/HashHeadingPaper/HashHeadingPaper.d.ts.map +1 -1
  58. package/dist/types/components/_shared/Heading/Heading.d.ts +1 -1
  59. package/dist/types/components/_shared/Heading/Heading.d.ts.map +1 -1
  60. package/dist/types/components/_shared/Heading/HeadingPaper/HeadingPaper.d.ts +2 -2
  61. package/dist/types/components/_shared/Heading/HeadingPaper/HeadingPaper.d.ts.map +1 -1
  62. package/dist/types/components/_shared/Heading/HeadingProps.d.ts +3 -3
  63. package/dist/types/components/_shared/Heading/HeadingProps.d.ts.map +1 -1
  64. package/dist/types/components/_shared/Payloads/PayloadsPropertyGroup.d.ts +3 -3
  65. package/dist/types/components/_shared/Payloads/PayloadsPropertyGroup.d.ts.map +1 -1
  66. package/dist/types/components/_shared/Payloads/PayloadsTable.d.ts +4 -3
  67. package/dist/types/components/_shared/Payloads/PayloadsTable.d.ts.map +1 -1
  68. package/dist/types/components/_shared/Payloads/payloads-table/TableBody.d.ts +2 -2
  69. package/dist/types/components/_shared/Payloads/payloads-table/TableBody.d.ts.map +1 -1
  70. package/dist/types/components/_shared/Payloads/payloads-table/TableBodyFiltered.d.ts +1 -1
  71. package/dist/types/components/_shared/Payloads/payloads-table/TableBodyFiltered.d.ts.map +1 -1
  72. package/dist/types/components/_shared/Payloads/payloads-table/TableHead.d.ts +1 -1
  73. package/dist/types/components/_shared/Payloads/payloads-table/TableHead.d.ts.map +1 -1
  74. package/dist/types/components/_shared/Signatures/SignatureDetails.d.ts +2 -2
  75. package/dist/types/components/_shared/Signatures/SignatureDetails.d.ts.map +1 -1
  76. package/dist/types/components/_shared/Signatures/SignatureTable.d.ts +2 -2
  77. package/dist/types/components/_shared/Signatures/SignatureTable.d.ts.map +1 -1
  78. package/dist/types/components/_shared/Signatures/SignatureTableRow.d.ts +1 -1
  79. package/dist/types/components/_shared/Signatures/SignatureTableRow.d.ts.map +1 -1
  80. package/eslint.config.mjs +24 -0
  81. package/package.json +13 -13
  82. package/src/Plugin.ts +3 -2
  83. package/src/components/Card/Card.stories.tsx +1 -1
  84. package/src/components/Card/Card.tsx +4 -3
  85. package/src/components/Card/CardContent/AddressAvatarGroup.tsx +2 -3
  86. package/src/components/Card/CardContent/CardContent.tsx +3 -3
  87. package/src/components/Card/CardContent/SchemaAvatarGroup.tsx +2 -3
  88. package/src/components/Card/CardContent/layout/CardColumnTitle.tsx +2 -3
  89. package/src/components/Card/CardHeader/CardHeader.tsx +6 -4
  90. package/src/components/Details/BoundWitnessLinksDetails.tsx +3 -4
  91. package/src/components/Details/Box/DetailsBox.stories.tsx +2 -2
  92. package/src/components/Details/Box/DetailsBox.tsx +6 -4
  93. package/src/components/Details/Card/DetailsCard.stories.tsx +1 -1
  94. package/src/components/Details/Card/DetailsCard.tsx +2 -2
  95. package/src/components/Details/Card/DetailsCardContent.tsx +5 -5
  96. package/src/components/Details/Card/DetailsCardInner.tsx +4 -3
  97. package/src/components/Details/Card/Navigation/BottomNavigation.stories.tsx +1 -1
  98. package/src/components/Details/Card/Navigation/BottomNavigation.tsx +6 -5
  99. package/src/components/Details/Card/Navigation/NavigationTabs.stories.tsx +1 -1
  100. package/src/components/Details/Card/Navigation/NavigationTabs.tsx +6 -3
  101. package/src/components/Details/Details.stories.tsx +3 -3
  102. package/src/components/Details/Details.tsx +4 -3
  103. package/src/components/Details/ValidationDetails.tsx +3 -4
  104. package/src/components/_shared/Actions/BWActions.tsx +5 -3
  105. package/src/components/_shared/Actions/Verification.tsx +5 -3
  106. package/src/components/_shared/Actions/_shared/ActionMenuItemProps.ts +2 -2
  107. package/src/components/_shared/Actions/_shared/MenuItemDialog.tsx +2 -1
  108. package/src/components/_shared/Actions/json/MenuItem.tsx +4 -2
  109. package/src/components/_shared/Actions/previous-hash/DialogContent.tsx +3 -2
  110. package/src/components/_shared/Actions/previous-hash/MenuItem.tsx +4 -2
  111. package/src/components/_shared/Actions/previous-hash/QuickTipButton.tsx +3 -2
  112. package/src/components/_shared/Heading/HashHeadingPaper/Adornment/BackPaperAdornment.tsx +1 -1
  113. package/src/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornment.tsx +2 -1
  114. package/src/components/_shared/Heading/HashHeadingPaper/Adornment/PaperAdornmentIconButton.tsx +2 -3
  115. package/src/components/_shared/Heading/HashHeadingPaper/HashHeadingPaper.stories.tsx +1 -1
  116. package/src/components/_shared/Heading/HashHeadingPaper/HashHeadingPaper.tsx +4 -2
  117. package/src/components/_shared/Heading/Heading.tsx +2 -2
  118. package/src/components/_shared/Heading/HeadingPaper/HeadingPaper.tsx +3 -4
  119. package/src/components/_shared/Heading/HeadingProps.tsx +3 -3
  120. package/src/components/_shared/Payloads/PayloadsPropertyGroup.tsx +4 -3
  121. package/src/components/_shared/Payloads/PayloadsTable.tsx +5 -3
  122. package/src/components/_shared/Payloads/payloads-table/TableBody.tsx +4 -2
  123. package/src/components/_shared/Payloads/payloads-table/TableBodyFiltered.tsx +2 -1
  124. package/src/components/_shared/Payloads/payloads-table/TableHead.tsx +1 -1
  125. package/src/components/_shared/Signatures/SignatureDetails.tsx +3 -2
  126. package/src/components/_shared/Signatures/SignatureTable.stories.tsx +1 -1
  127. package/src/components/_shared/Signatures/SignatureTable.tsx +3 -4
  128. package/src/components/_shared/Signatures/SignatureTableRow.tsx +2 -1
  129. package/xy.config.ts +1 -1
@@ -1,5 +1,5 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model';
2
- import { TableExProps } from '@xyo-network/react-table';
1
+ import type { BoundWitness } from '@xyo-network/boundwitness-model';
2
+ import type { TableExProps } from '@xyo-network/react-table';
3
3
  import React from 'react';
4
4
  export interface BoundWitnessSignatureTableProps extends TableExProps {
5
5
  block?: BoundWitness;
@@ -1 +1 @@
1
- {"version":3,"file":"SignatureTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/_shared/Signatures/SignatureTable.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAG9D,OAAO,EACiB,YAAY,EACnC,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAoBD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAyDhF,CAAA"}
1
+ {"version":3,"file":"SignatureTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/_shared/Signatures/SignatureTable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAoBD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAyDhF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { TableRowProps } from '@mui/material';
1
+ import type { TableRowProps } from '@mui/material';
2
2
  import React from 'react';
3
3
  type clickableFields = 'address' | 'signature';
4
4
  export interface BoundWitnessSignatureTableRowProps extends TableRowProps {
@@ -1 +1 @@
1
- {"version":3,"file":"SignatureTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/_shared/Signatures/SignatureTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EACsB,aAAa,EAEzC,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,eAAe,GAAG,SAAS,GAAG,WAAW,CAAA;AAE9C,MAAM,WAAW,kCAAmC,SAAQ,aAAa;IACvE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,eAAe,EAAE,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CA8DtF,CAAA"}
1
+ {"version":3,"file":"SignatureTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/_shared/Signatures/SignatureTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAWlD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,eAAe,GAAG,SAAS,GAAG,WAAW,CAAA;AAE9C,MAAM,WAAW,kCAAmC,SAAQ,aAAa;IACvE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,eAAe,EAAE,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CA8DtF,CAAA"}
@@ -0,0 +1,24 @@
1
+ import {
2
+ typescriptConfig,
3
+ unicornConfig,
4
+ workspacesConfig,
5
+ rulesConfig,
6
+ sonarConfig,
7
+ importConfig,
8
+ } from '@xylabs/eslint-config-flat'
9
+
10
+ export default [
11
+ { ignores: ['.yarn', 'dist', '**/dist/**', 'build', '**/build/**', 'node_modules/**', 'public', '**/storybook-static', '**/.storybook'] },
12
+ unicornConfig,
13
+ workspacesConfig,
14
+ rulesConfig,
15
+ typescriptConfig,
16
+ importConfig,
17
+ sonarConfig,
18
+ {
19
+ rules: {
20
+ 'sonarjs/prefer-single-boolean-return': ['off'],
21
+ 'import-x/no-unresolved': ['off'],
22
+ },
23
+ },
24
+ ]
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-boundwitness",
4
- "version": "1.0.1",
5
- "description": "XYO Layer One SDK",
4
+ "version": "1.0.3",
5
+ "description": "XYO Layer One React SDK BoundWitness",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
8
8
  "url": "git+https://github.com/xylabs/xyo-chain/issues",
@@ -44,16 +44,16 @@
44
44
  "@xyo-network/boundwitness-model": "^3.9.37",
45
45
  "@xyo-network/boundwitness-validator": "^3.9.37",
46
46
  "@xyo-network/payload-model": "^3.9.37",
47
- "@xyo-network/react-card": "^5.0.3",
48
- "@xyo-network/react-event": "^5.0.3",
49
- "@xyo-network/react-payload-details": "^5.0.3",
50
- "@xyo-network/react-payload-plugin": "^5.0.3",
51
- "@xyo-network/react-payload-plugin-resolver": "^5.0.3",
52
- "@xyo-network/react-payload-raw-info": "^5.0.3",
53
- "@xyo-network/react-payload-table": "^5.0.3",
54
- "@xyo-network/react-property": "^5.0.3",
55
- "@xyo-network/react-shared": "^5.0.3",
56
- "@xyo-network/react-table": "^5.0.3",
47
+ "@xyo-network/react-card": "^5.0.4",
48
+ "@xyo-network/react-event": "^5.0.4",
49
+ "@xyo-network/react-payload-details": "^5.0.4",
50
+ "@xyo-network/react-payload-plugin": "^5.0.4",
51
+ "@xyo-network/react-payload-plugin-resolver": "^5.0.4",
52
+ "@xyo-network/react-payload-raw-info": "^5.0.4",
53
+ "@xyo-network/react-payload-table": "^5.0.4",
54
+ "@xyo-network/react-property": "^5.0.4",
55
+ "@xyo-network/react-shared": "^5.0.4",
56
+ "@xyo-network/react-table": "^5.0.4",
57
57
  "react-icons": "^5.5.0"
58
58
  },
59
59
  "devDependencies": {
@@ -67,7 +67,7 @@
67
67
  "@xylabs/hex": "^4.6.0",
68
68
  "@xylabs/ts-scripts-yarn3": "^6.0.9",
69
69
  "@xylabs/tsconfig-react": "^6.0.9",
70
- "@xyo-network/react-storybook": "^5.0.3",
70
+ "@xyo-network/react-storybook": "^5.0.4",
71
71
  "eslint": "^9.22.0",
72
72
  "react": "^19.0.0",
73
73
  "react-dom": "^19.0.0",
package/src/Plugin.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { Payload } from '@xyo-network/payload-model'
2
- import { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
+ import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
3
+ import { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
3
4
 
4
5
  import {
5
6
  BoundWitnessCardContent, BoundWitnessCardHeader, BoundWitnessDetailsBox,
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import { sampleBlock } from '@xyo-network/react-storybook'
3
3
  import React from 'react'
4
4
 
@@ -1,6 +1,7 @@
1
- import { Card, CardProps } from '@mui/material'
2
- import { BoundWitness } from '@xyo-network/boundwitness-model'
3
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { CardProps } from '@mui/material'
2
+ import { Card } from '@mui/material'
3
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
4
+ import type { Payload } from '@xyo-network/payload-model'
4
5
  import React from 'react'
5
6
 
6
7
  import { BoundWitnessCardContent } from './CardContent/index.ts'
@@ -1,6 +1,5 @@
1
- import {
2
- Avatar, AvatarGroup, AvatarGroupProps,
3
- } from '@mui/material'
1
+ import type { AvatarGroupProps } from '@mui/material'
2
+ import { Avatar, AvatarGroup } from '@mui/material'
4
3
  import { Identicon } from '@xylabs/react-identicon'
5
4
  import React, { useRef } from 'react'
6
5
 
@@ -1,6 +1,6 @@
1
- import { CardContentProps } from '@mui/material'
2
- import { BoundWitness } from '@xyo-network/boundwitness-model'
3
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { CardContentProps } from '@mui/material'
2
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
3
+ import type { Payload } from '@xyo-network/payload-model'
4
4
  import React, { forwardRef } from 'react'
5
5
 
6
6
  import { AddressAvatarGroup } from './AddressAvatarGroup.tsx'
@@ -1,6 +1,5 @@
1
- import {
2
- Avatar, AvatarGroup, AvatarGroupProps,
3
- } from '@mui/material'
1
+ import type { AvatarGroupProps } from '@mui/material'
2
+ import { Avatar, AvatarGroup } from '@mui/material'
4
3
  import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
5
4
  import { usePayloadRenderPluginResolver } from '@xyo-network/react-payload-plugin-resolver'
6
5
  import React, { useCallback } from 'react'
@@ -1,6 +1,5 @@
1
- import {
2
- styled, Typography, TypographyProps,
3
- } from '@mui/material'
1
+ import type { TypographyProps } from '@mui/material'
2
+ import { styled, Typography } from '@mui/material'
4
3
  import React from 'react'
5
4
 
6
5
  export const CardColumnTitle = styled(Typography, { name: 'CardColumnTitle' })(({ theme }) => ({
@@ -1,12 +1,14 @@
1
+ import type { CardHeaderProps } from '@mui/material'
1
2
  import {
2
- CardHeader, CardHeaderProps,
3
+ CardHeader,
3
4
  styled, useTheme,
4
5
  } from '@mui/material'
5
6
  import { Identicon } from '@xylabs/react-identicon'
6
- import { BoundWitness } from '@xyo-network/boundwitness-model'
7
- import { Payload } from '@xyo-network/payload-model'
7
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
8
+ import type { Payload } from '@xyo-network/payload-model'
8
9
  import { usePayloadHash } from '@xyo-network/react-shared'
9
- import React, { forwardRef, ReactNode } from 'react'
10
+ import type { ReactNode } from 'react'
11
+ import React, { forwardRef } from 'react'
10
12
 
11
13
  import { BWActions, BWHeading } from '../../_shared/index.ts'
12
14
 
@@ -1,10 +1,9 @@
1
1
  import { Typography } from '@mui/material'
2
2
  import { FlexRow } from '@xylabs/react-flexbox'
3
- import { BoundWitness } from '@xyo-network/boundwitness-model'
3
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
4
4
  import { useEvent } from '@xyo-network/react-event'
5
- import {
6
- Property, PropertyGroup, PropertyGroupProps,
7
- } from '@xyo-network/react-property'
5
+ import type { PropertyGroupProps } from '@xyo-network/react-property'
6
+ import { Property, PropertyGroup } from '@xyo-network/react-property'
8
7
  import React from 'react'
9
8
 
10
9
  export type BoundWitnessLinksDetails = PropertyGroupProps & {
@@ -1,5 +1,5 @@
1
- import { Meta, StoryFn } from '@storybook/react'
2
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
+ import type { Payload } from '@xyo-network/payload-model'
3
3
  import { useEvent } from '@xyo-network/react-event'
4
4
  import { sampleAddressHistory } from '@xyo-network/react-storybook'
5
5
  import React, { useRef } from 'react'
@@ -1,10 +1,12 @@
1
1
  import { Divider } from '@mui/material'
2
- import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
3
- import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'
4
- import { PayloadDetailsListRenderProps, PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin'
2
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
3
+ import { FlexCol } from '@xylabs/react-flexbox'
4
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
5
+ import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
6
+ import type { PayloadDetailsListRenderProps, PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin'
5
7
  import { usePayloadHash } from '@xyo-network/react-shared'
6
8
  import { TableHeightProvider } from '@xyo-network/react-table'
7
- import React, { forwardRef, useMemo } from 'react'
9
+ import React, { useMemo } from 'react'
8
10
  // eslint-disable-next-line import-x/no-internal-modules
9
11
  import { FaSignature } from 'react-icons/fa'
10
12
  // eslint-disable-next-line import-x/no-internal-modules
@@ -1,4 +1,4 @@
1
- import {
1
+ import type {
2
2
  Decorator, Meta, StoryFn,
3
3
  } from '@storybook/react'
4
4
  import { useEvent } from '@xyo-network/react-event'
@@ -1,5 +1,5 @@
1
- import { CardProps } from '@mui/material'
2
- import { PayloadDetailsListRenderProps } from '@xyo-network/react-payload-plugin'
1
+ import type { CardProps } from '@mui/material'
2
+ import type { PayloadDetailsListRenderProps } from '@xyo-network/react-payload-plugin'
3
3
  import { TableHeightProvider } from '@xyo-network/react-table'
4
4
  import React, { forwardRef } from 'react'
5
5
 
@@ -1,11 +1,11 @@
1
1
  import { Collapse } from '@mui/material'
2
2
  import { FlexGrowCol, FlexRow } from '@xylabs/react-flexbox'
3
- import { BoundWitness } from '@xyo-network/boundwitness-model'
4
- import { CardContentEx, CardContentExProps } from '@xyo-network/react-card'
3
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
4
+ import type { CardContentExProps } from '@xyo-network/react-card'
5
+ import { CardContentEx } from '@xyo-network/react-card'
5
6
  import { useTableHeight } from '@xyo-network/react-table'
6
- import React, {
7
- Dispatch, forwardRef, SetStateAction, useState,
8
- } from 'react'
7
+ import type { Dispatch, SetStateAction } from 'react'
8
+ import React, { forwardRef, useState } from 'react'
9
9
 
10
10
  import {
11
11
  BoundWitnessPayloadsTable, BoundWitnessPayloadsTableForBWs, BoundWitnessSignatureTable,
@@ -1,11 +1,12 @@
1
1
  import { ExpandLessRounded as ExpandLessRoundedIcon, ExpandMoreRounded as ExpandMoreRoundedIcon } from '@mui/icons-material'
2
+ import type { CardProps } from '@mui/material'
2
3
  import {
3
- Card, CardProps,
4
+ Card,
4
5
  Divider, IconButton,
5
6
  } from '@mui/material'
6
7
  import { useResetState } from '@xylabs/react-hooks'
7
- import { BoundWitness } from '@xyo-network/boundwitness-model'
8
- import { PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin'
8
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
9
+ import type { PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin'
9
10
  import React, { forwardRef } from 'react'
10
11
 
11
12
  import { BoundWitnessCardHeader } from '../../Card/index.ts'
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import { FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import { sampleBlock } from '@xyo-network/react-storybook'
4
4
  import React from 'react'
@@ -1,11 +1,12 @@
1
+ import type { BottomNavigationProps } from '@mui/material'
1
2
  import {
2
- BottomNavigation, BottomNavigationAction, BottomNavigationProps,
3
+ BottomNavigation, BottomNavigationAction,
3
4
  styled,
4
5
  } from '@mui/material'
5
- import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'
6
- import React, {
7
- Dispatch, forwardRef, SetStateAction,
8
- } from 'react'
6
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
7
+ import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
8
+ import type { Dispatch, SetStateAction } from 'react'
9
+ import React, { forwardRef } from 'react'
9
10
  // eslint-disable-next-line import-x/no-internal-modules
10
11
  import { FaSignature } from 'react-icons/fa'
11
12
  // eslint-disable-next-line import-x/no-internal-modules
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import { FlexCol } from '@xylabs/react-flexbox'
3
3
  import React, { useState } from 'react'
4
4
 
@@ -1,11 +1,14 @@
1
+ import type { TabProps, TabsProps } from '@mui/material'
1
2
  import {
2
- Paper, Tab, TabProps, Tabs, TabsProps,
3
+ Paper, Tab, Tabs,
3
4
  useTheme,
4
5
  } from '@mui/material'
5
- import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'
6
- import React, {
6
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
7
+ import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
8
+ import type {
7
9
  Dispatch, SetStateAction, SyntheticEvent,
8
10
  } from 'react'
11
+ import React from 'react'
9
12
  // eslint-disable-next-line import-x/no-internal-modules
10
13
  import { FaSignature } from 'react-icons/fa'
11
14
  // eslint-disable-next-line import-x/no-internal-modules
@@ -1,6 +1,6 @@
1
- import { Meta, StoryFn } from '@storybook/react'
2
- import { Hash } from '@xylabs/hex'
3
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
+ import type { Hash } from '@xylabs/hex'
3
+ import type { Payload } from '@xyo-network/payload-model'
4
4
  import { useEvent } from '@xyo-network/react-event'
5
5
  import { sampleBlock } from '@xyo-network/react-storybook'
6
6
  import React, { useRef } from 'react'
@@ -1,6 +1,7 @@
1
- import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
2
- import { BoundWitness } from '@xyo-network/boundwitness-model'
3
- 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 { BoundWitness } from '@xyo-network/boundwitness-model'
4
+ import type { Payload } from '@xyo-network/payload-model'
4
5
  import { PayloadDataDetails, PayloadJsonDetails } from '@xyo-network/react-payload-details'
5
6
  import React, { forwardRef } from 'react'
6
7
 
@@ -1,11 +1,10 @@
1
1
  import { Typography } from '@mui/material'
2
2
  import { FlexCol } from '@xylabs/react-flexbox'
3
3
  import { usePromise } from '@xylabs/react-promise'
4
- import { BoundWitness } from '@xyo-network/boundwitness-model'
4
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
5
5
  import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
6
- import {
7
- Property, PropertyGroup, PropertyGroupProps,
8
- } from '@xyo-network/react-property'
6
+ import type { PropertyGroupProps } from '@xyo-network/react-property'
7
+ import { Property, PropertyGroup } from '@xyo-network/react-property'
9
8
  import React from 'react'
10
9
 
11
10
  export type BoundWitnessValidationDetailsProps = PropertyGroupProps & {
@@ -1,10 +1,12 @@
1
1
  import { DataObject as DataObjectIcon } from '@mui/icons-material'
2
2
  import { ellipsize } from '@xylabs/eth-address'
3
- import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
3
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
4
+ import { FlexRow } from '@xylabs/react-flexbox'
4
5
  import { QuickTipButton } from '@xylabs/react-quick-tip-button'
5
- import { BoundWitness } from '@xyo-network/boundwitness-model'
6
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
6
7
  import { usePayloadHash } from '@xyo-network/react-shared'
7
- import React, { ReactNode } from 'react'
8
+ import type { ReactNode } from 'react'
9
+ import React from 'react'
8
10
 
9
11
  import { BWPreviousHashQuickTipButton } from './previous-hash/index.ts'
10
12
  import { BWVerification } from './Verification.tsx'
@@ -1,9 +1,11 @@
1
1
  import { CancelRounded as CancelRoundedIcon, CheckCircleOutlineRounded as CheckCircleOutlineRoundedIcon } from '@mui/icons-material'
2
- import { SvgIconProps, Typography } from '@mui/material'
2
+ import type { SvgIconProps } from '@mui/material'
3
+ import { Typography } from '@mui/material'
3
4
  import { FlexCol } from '@xylabs/react-flexbox'
4
5
  import { usePromise } from '@xylabs/react-promise'
5
- import { QuickTipButton, QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
6
- import { BoundWitness } from '@xyo-network/boundwitness-model'
6
+ import type { QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
7
+ import { QuickTipButton } from '@xylabs/react-quick-tip-button'
8
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
7
9
  import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
8
10
  import React, { forwardRef } from 'react'
9
11
 
@@ -1,5 +1,5 @@
1
- import { MenuItemProps } from '@mui/material'
2
- import { BoundWitness } from '@xyo-network/boundwitness-model'
1
+ import type { MenuItemProps } from '@mui/material'
2
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
3
3
 
4
4
  export interface ActionMenuItemProps extends MenuItemProps {
5
5
  boundwitness?: BoundWitness
@@ -1,5 +1,6 @@
1
+ import type { DialogProps } from '@mui/material'
1
2
  import {
2
- Button, Dialog, DialogActions, DialogContent, DialogProps, DialogTitle,
3
+ Button, Dialog, DialogActions, DialogContent, DialogTitle,
3
4
  } from '@mui/material'
4
5
  import React from 'react'
5
6
 
@@ -3,9 +3,11 @@ import { ListItemIcon, MenuItem } from '@mui/material'
3
3
  import { ellipsize } from '@xylabs/eth-address'
4
4
  import { JsonViewerEx } from '@xyo-network/react-payload-raw-info'
5
5
  import { usePayloadHash } from '@xyo-network/react-shared'
6
- import React, { MouseEventHandler, useState } from 'react'
6
+ import type { MouseEventHandler } from 'react'
7
+ import React, { useState } from 'react'
7
8
 
8
- import { ActionMenuItemProps, MenuItemDialog } from '../_shared/index.ts'
9
+ import type { ActionMenuItemProps } from '../_shared/index.ts'
10
+ import { MenuItemDialog } from '../_shared/index.ts'
9
11
 
10
12
  export interface BWJsonMenuItemProps extends ActionMenuItemProps {}
11
13
 
@@ -1,10 +1,11 @@
1
1
  import { ContentCopy } from '@mui/icons-material'
2
+ import type { DialogContentProps } from '@mui/material'
2
3
  import {
3
4
  Alert, AlertTitle, Collapse,
4
- DialogContent, DialogContentProps,
5
+ DialogContent,
5
6
  } from '@mui/material'
6
7
  import { FlexGrowRow, FlexRow } from '@xylabs/react-flexbox'
7
- import { BoundWitness } from '@xyo-network/boundwitness-model'
8
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
8
9
  import { EllipsizeBox } from '@xyo-network/react-shared'
9
10
  import React, { useState } from 'react'
10
11
 
@@ -1,8 +1,10 @@
1
1
  import { Link } from '@mui/icons-material'
2
2
  import { ListItemIcon, MenuItem } from '@mui/material'
3
- import React, { MouseEventHandler, useState } from 'react'
3
+ import type { MouseEventHandler } from 'react'
4
+ import React, { useState } from 'react'
4
5
 
5
- import { ActionMenuItemProps, MenuItemDialog } from '../_shared/index.ts'
6
+ import type { ActionMenuItemProps } from '../_shared/index.ts'
7
+ import { MenuItemDialog } from '../_shared/index.ts'
6
8
  import { PreviousHashDialogContent } from './DialogContent.tsx'
7
9
 
8
10
  export interface BWPreviousHashMenuItemProps extends ActionMenuItemProps {}
@@ -1,7 +1,8 @@
1
1
  import { LinkRounded as LinkRoundedIcon } from '@mui/icons-material'
2
2
  import { ellipsize } from '@xylabs/eth-address'
3
- import { QuickTipButton, QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
4
- import { BoundWitness } from '@xyo-network/boundwitness-model'
3
+ import type { QuickTipButtonProps } from '@xylabs/react-quick-tip-button'
4
+ import { QuickTipButton } from '@xylabs/react-quick-tip-button'
5
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
5
6
  import React from 'react'
6
7
 
7
8
  import { PreviousHashDialogContent } from './DialogContent.tsx'
@@ -1,5 +1,5 @@
1
1
  import { ArrowBackRounded } from '@mui/icons-material'
2
- import { IconButtonProps } from '@mui/material'
2
+ import type { IconButtonProps } from '@mui/material'
3
3
  import React from 'react'
4
4
 
5
5
  import { PaperAdornmentIconButton } from './PaperAdornmentIconButton.tsx'
@@ -1,5 +1,6 @@
1
1
  import { styled } from '@mui/material'
2
- import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
2
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
3
+ import { FlexCol } from '@xylabs/react-flexbox'
3
4
 
4
5
  export interface PaperAdornmentProps extends FlexBoxProps {
5
6
  clickable?: boolean
@@ -1,6 +1,5 @@
1
- import {
2
- IconButton, IconButtonProps, styled,
3
- } from '@mui/material'
1
+ import type { IconButtonProps } from '@mui/material'
2
+ import { IconButton, styled } from '@mui/material'
4
3
 
5
4
  export interface PaperAdornmentIconButton extends IconButtonProps {
6
5
  themePadding?: number
@@ -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 { BackPaperAdornment } from './Adornment/index.ts'
@@ -1,8 +1,10 @@
1
1
  import { useTheme } from '@mui/material'
2
- import { Identicon, IdenticonProps } from '@xylabs/react-identicon'
2
+ import type { IdenticonProps } from '@xylabs/react-identicon'
3
+ import { Identicon } from '@xylabs/react-identicon'
3
4
  import React, { forwardRef } from 'react'
4
5
 
5
- import { HeadingPaper, HeadingPaperProps } from '../HeadingPaper/index.ts'
6
+ import type { HeadingPaperProps } from '../HeadingPaper/index.ts'
7
+ import { HeadingPaper } from '../HeadingPaper/index.ts'
6
8
 
7
9
  export interface HashHeadingPaperProps extends HeadingPaperProps {
8
10
  hash?: string
@@ -1,9 +1,9 @@
1
- import { TypographyVariant } from '@mui/material'
1
+ import type { TypographyVariant } from '@mui/material'
2
2
  import { FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import { EllipsizeBox } from '@xyo-network/react-shared'
4
4
  import React, { useRef } from 'react'
5
5
 
6
- import { BWHeadingProps, HeadingTextSizes } from './HeadingProps.tsx'
6
+ import type { BWHeadingProps, HeadingTextSizes } from './HeadingProps.tsx'
7
7
 
8
8
  export const BWHeading: React.FC<BWHeadingProps> = ({
9
9
  AdornmentEnd,
@@ -1,10 +1,9 @@
1
- import {
2
- Paper, PaperProps, styled,
3
- } from '@mui/material'
1
+ import type { PaperProps } from '@mui/material'
2
+ import { Paper, styled } from '@mui/material'
4
3
  import React, { forwardRef } from 'react'
5
4
 
6
5
  import { BWHeading } from '../Heading.tsx'
7
- import { BWHeadingProps } from '../HeadingProps.tsx'
6
+ import type { BWHeadingProps } from '../HeadingProps.tsx'
8
7
 
9
8
  export interface HeadingPaperProps extends BWHeadingProps {
10
9
  paperProps?: PaperProps
@@ -1,6 +1,6 @@
1
- import { TypographyProps } from '@mui/material'
2
- import { FlexBoxProps } from '@xylabs/react-flexbox'
3
- import { ReactNode } from 'react'
1
+ import type { TypographyProps } from '@mui/material'
2
+ import type { FlexBoxProps } from '@xylabs/react-flexbox'
3
+ import type { ReactNode } from 'react'
4
4
 
5
5
  export type HeadingTextSizes = 'small' | 'medium' | 'large'
6
6
 
@@ -1,6 +1,7 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model'
2
- import { PayloadTableProps } from '@xyo-network/react-payload-table'
3
- import { PropertyGroup, PropertyGroupProps } from '@xyo-network/react-property'
1
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
2
+ import type { PayloadTableProps } from '@xyo-network/react-payload-table'
3
+ import type { PropertyGroupProps } from '@xyo-network/react-property'
4
+ import { PropertyGroup } from '@xyo-network/react-property'
4
5
  import React from 'react'
5
6
 
6
7
  import { BoundWitnessPayloadsTable } from './PayloadsTable.tsx'
@@ -1,8 +1,10 @@
1
- import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'
2
- import { PayloadTableProps } from '@xyo-network/react-payload-table'
1
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
2
+ import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
3
+ import type { PayloadTableProps } from '@xyo-network/react-payload-table'
3
4
  import { usePayloadHash } from '@xyo-network/react-shared'
4
5
  import { TableEx } from '@xyo-network/react-table'
5
- import React, { PropsWithChildren } from 'react'
6
+ import type { PropsWithChildren } from 'react'
7
+ import React from 'react'
6
8
 
7
9
  import { BoundWitnessFilteredPayloadTableBody, BoundWitnessPayloadTableHead } from './payloads-table/index.ts'
8
10