@xyo-network/react-chain-blockchain 1.16.12 → 1.16.14

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 (43) hide show
  1. package/dist/browser/components/account/BalanceHistoryFlexbox.d.ts.map +1 -1
  2. package/dist/browser/components/account/helpers/formatBalanceMagnitude.d.ts +3 -0
  3. package/dist/browser/components/account/helpers/formatBalanceMagnitude.d.ts.map +1 -0
  4. package/dist/browser/components/account/helpers/index.d.ts +2 -0
  5. package/dist/browser/components/account/helpers/index.d.ts.map +1 -0
  6. package/dist/browser/components/account/index.d.ts +1 -0
  7. package/dist/browser/components/account/index.d.ts.map +1 -1
  8. package/dist/browser/components/account/table/BalanceHistoryTableEx.d.ts +9 -0
  9. package/dist/browser/components/account/table/BalanceHistoryTableEx.d.ts.map +1 -0
  10. package/dist/browser/components/account/table/{BalanceHistoryTable.stories.d.ts → BalanceHistoryTableEx.stories.d.ts} +3 -3
  11. package/dist/browser/components/account/table/BalanceHistoryTableEx.stories.d.ts.map +1 -0
  12. package/dist/browser/components/account/table/BalanceHistoryTableRow.d.ts.map +1 -1
  13. package/dist/browser/components/account/table/cell/AddressTableCell.d.ts.map +1 -0
  14. package/dist/browser/components/account/table/cell/HashTableCell.d.ts +9 -0
  15. package/dist/browser/components/account/table/cell/HashTableCell.d.ts.map +1 -0
  16. package/dist/browser/components/account/table/cell/index.d.ts +3 -0
  17. package/dist/browser/components/account/table/cell/index.d.ts.map +1 -0
  18. package/dist/browser/components/account/table/index.d.ts +2 -2
  19. package/dist/browser/components/account/table/index.d.ts.map +1 -1
  20. package/dist/browser/components/account/table/types/index.d.ts +1 -1
  21. package/dist/browser/components/account/table/types/index.d.ts.map +1 -1
  22. package/dist/browser/index.mjs +98 -65
  23. package/dist/browser/index.mjs.map +1 -1
  24. package/dist/browser/stories/ChainArchivistDelayedInsertDecorator.d.ts.map +1 -1
  25. package/package.json +25 -25
  26. package/src/components/account/BalanceHistoryFlexbox.tsx +4 -16
  27. package/src/components/account/helpers/formatBalanceMagnitude.ts +14 -0
  28. package/src/components/account/helpers/index.ts +1 -0
  29. package/src/components/account/index.ts +1 -0
  30. package/src/components/account/table/{BalanceHistoryTable.stories.tsx → BalanceHistoryTableEx.stories.tsx} +7 -7
  31. package/src/components/account/table/{BalanceHistoryTable.tsx → BalanceHistoryTableEx.tsx} +7 -6
  32. package/src/components/account/table/BalanceHistoryTableRow.tsx +4 -2
  33. package/src/components/account/table/{AddressTableCell.tsx → cell/AddressTableCell.tsx} +1 -1
  34. package/src/components/account/table/cell/HashTableCell.tsx +44 -0
  35. package/src/components/account/table/cell/index.ts +2 -0
  36. package/src/components/account/table/index.ts +2 -2
  37. package/src/components/account/table/types/index.ts +1 -1
  38. package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +3 -2
  39. package/dist/browser/components/account/table/AddressTableCell.d.ts.map +0 -1
  40. package/dist/browser/components/account/table/BalanceHistoryTable.d.ts +0 -9
  41. package/dist/browser/components/account/table/BalanceHistoryTable.d.ts.map +0 -1
  42. package/dist/browser/components/account/table/BalanceHistoryTable.stories.d.ts.map +0 -1
  43. /package/dist/browser/components/account/table/{AddressTableCell.d.ts → cell/AddressTableCell.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ChainArchivistDelayedInsertDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDelayedInsertDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAetD,eAAO,MAAM,oCAAoC,EAAE,SAsDlD,CAAA"}
1
+ {"version":3,"file":"ChainArchivistDelayedInsertDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDelayedInsertDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAetD,eAAO,MAAM,oCAAoC,EAAE,SAuDlD,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/react-chain-blockchain",
4
- "version": "1.16.12",
4
+ "version": "1.16.14",
5
5
  "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@storybook/react-vite": "~10.0.7",
48
- "@xylabs/axios": "~5.0.33",
48
+ "@xylabs/axios": "~5.0.34",
49
49
  "@xylabs/react-animation": "~7.1.8",
50
50
  "@xylabs/react-error": "~7.1.8",
51
51
  "@xylabs/react-flexbox": "~7.1.8",
@@ -53,25 +53,25 @@
53
53
  "@xylabs/react-quick-tip-button": "~7.1.8",
54
54
  "@xylabs/react-shared": "~7.1.8",
55
55
  "@xylabs/react-theme": "~7.1.8",
56
- "@xylabs/sdk-js": "~5.0.33",
57
- "@xyo-network/account": "~5.1.22",
58
- "@xyo-network/archivist-memory": "~5.1.22",
59
- "@xyo-network/archivist-model": "~5.1.22",
60
- "@xyo-network/boundwitness-builder": "~5.1.22",
61
- "@xyo-network/boundwitness-model": "~5.1.22",
62
- "@xyo-network/bridge-http": "~5.1.22",
63
- "@xyo-network/chain-analyze": "~1.16.12",
64
- "@xyo-network/chain-protocol": "~1.16.12",
65
- "@xyo-network/chain-services": "~1.16.12",
66
- "@xyo-network/chain-utils": "~1.16.12",
67
- "@xyo-network/chain-wrappers": "~1.16.12",
68
- "@xyo-network/module-model": "~5.1.22",
69
- "@xyo-network/payload-builder": "~5.1.22",
70
- "@xyo-network/payload-model": "~5.1.22",
56
+ "@xylabs/sdk-js": "~5.0.34",
57
+ "@xyo-network/account": "~5.1.23",
58
+ "@xyo-network/archivist-memory": "~5.1.23",
59
+ "@xyo-network/archivist-model": "~5.1.23",
60
+ "@xyo-network/boundwitness-builder": "~5.1.23",
61
+ "@xyo-network/boundwitness-model": "~5.1.23",
62
+ "@xyo-network/bridge-http": "~5.1.23",
63
+ "@xyo-network/chain-analyze": "~1.16.14",
64
+ "@xyo-network/chain-protocol": "~1.16.14",
65
+ "@xyo-network/chain-services": "~1.16.14",
66
+ "@xyo-network/chain-utils": "~1.16.14",
67
+ "@xyo-network/chain-wrappers": "~1.16.14",
68
+ "@xyo-network/module-model": "~5.1.23",
69
+ "@xyo-network/payload-builder": "~5.1.23",
70
+ "@xyo-network/payload-model": "~5.1.23",
71
71
  "@xyo-network/react-boundwitness-plugin": "~7.3.10",
72
- "@xyo-network/react-chain-blockies": "~1.16.12",
73
- "@xyo-network/react-chain-provider": "~1.16.12",
74
- "@xyo-network/react-chain-shared": "~1.16.12",
72
+ "@xyo-network/react-chain-blockies": "~1.16.14",
73
+ "@xyo-network/react-chain-provider": "~1.16.14",
74
+ "@xyo-network/react-chain-shared": "~1.16.14",
75
75
  "@xyo-network/react-error": "~7.3.10",
76
76
  "@xyo-network/react-event": "~7.3.10",
77
77
  "@xyo-network/react-payload-raw-info": "~7.3.10",
@@ -79,7 +79,7 @@
79
79
  "@xyo-network/react-shared": "~7.3.10",
80
80
  "@xyo-network/react-table": "~7.3.10",
81
81
  "@xyo-network/xl1-protocol": "~1.13.11",
82
- "@xyo-network/xl1-protocol-sdk": "~1.16.12"
82
+ "@xyo-network/xl1-protocol-sdk": "~1.16.14"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@emotion/react": "~11.14.0",
@@ -87,14 +87,14 @@
87
87
  "@mui/icons-material": "~7.3.5",
88
88
  "@mui/material": "~7.3.5",
89
89
  "@types/react": "~19.2.5",
90
- "@xylabs/sdk-js": "~5.0.33",
90
+ "@xylabs/sdk-js": "~5.0.34",
91
91
  "@xylabs/ts-scripts-yarn3": "~7.2.8",
92
92
  "@xylabs/tsconfig": "~7.2.8",
93
93
  "@xylabs/tsconfig-dom": "~7.2.8",
94
94
  "@xylabs/tsconfig-react": "~7.2.8",
95
- "@xyo-network/api-models": "~5.1.22",
96
- "@xyo-network/xl1-network-model": "~1.16.12",
97
- "@xyo-network/xl1-rpc": "~1.16.12",
95
+ "@xyo-network/api-models": "~5.1.23",
96
+ "@xyo-network/xl1-network-model": "~1.16.14",
97
+ "@xyo-network/xl1-rpc": "~1.16.14",
98
98
  "axios": "^1.13.2",
99
99
  "eslint": "^9.39.1",
100
100
  "react": "~19.2.0",
@@ -5,11 +5,12 @@ import { type Address } from '@xylabs/sdk-js'
5
5
  import { isDefined } from '@xylabs/sdk-js'
6
6
  import { useAccountBalanceHistory } from '@xyo-network/react-chain-provider'
7
7
  import { ErrorRender } from '@xyo-network/react-error'
8
- import { AttoXL1, XL1Amount } from '@xyo-network/xl1-protocol'
8
+ import { AttoXL1 } from '@xyo-network/xl1-protocol'
9
9
  import type { XyoViewer } from '@xyo-network/xl1-protocol-sdk'
10
10
  import React from 'react'
11
11
 
12
- import { AccountBalanceHistoryTable } from './table/index.ts'
12
+ import { formatBalanceMagnitude } from './helpers/index.ts'
13
+ import { AccountBalanceHistoryTableEx } from './table/index.ts'
13
14
 
14
15
  export interface AccountBalanceHistoryFlexBoxProps extends FlexBoxProps {
15
16
  address?: Address
@@ -25,19 +26,6 @@ export const AccountBalanceHistoryFlexBox: React.FC<AccountBalanceHistoryFlexBox
25
26
  history, balance, truncated,
26
27
  } = results || { balance: [AttoXL1(0n), AttoXL1(0n)], history: undefined }
27
28
 
28
- const formatBalance = (balance: bigint) => {
29
- const xl1Amount = new XL1Amount(balance)
30
- return xl1Amount.toString(undefined, {
31
- places: 18, maxDecimal: 12, maxCharacters: 12, minDecimals: 1, locale: navigator.language,
32
- })
33
- }
34
-
35
- const formatBalanceMagnitude = (set: [AttoXL1, AttoXL1]) => {
36
- const [received, sent] = set
37
- const netBalance = received - sent
38
- return netBalance < 0n ? `-${formatBalance(sent - received)}` : formatBalance(netBalance)
39
- }
40
-
41
29
  return isDefined(history) && isDefined(address)
42
30
  ? (
43
31
  <FlexCol {...props}>
@@ -58,7 +46,7 @@ export const AccountBalanceHistoryFlexBox: React.FC<AccountBalanceHistoryFlexBox
58
46
  </Typography>
59
47
  )
60
48
  : null}
61
- <AccountBalanceHistoryTable history={history} />
49
+ <AccountBalanceHistoryTableEx history={history} />
62
50
  </FlexCol>
63
51
  )
64
52
  : null
@@ -0,0 +1,14 @@
1
+ import { type AttoXL1, XL1Amount } from '@xyo-network/xl1-protocol'
2
+
3
+ export const formatBalanceMagnitude = (set: [AttoXL1, AttoXL1]) => {
4
+ const [received, sent] = set
5
+ const netBalance = received - sent
6
+ return netBalance < 0n ? `-${formatBalance(sent - received)}` : formatBalance(netBalance)
7
+ }
8
+
9
+ const formatBalance = (balance: bigint) => {
10
+ const xl1Amount = new XL1Amount(balance)
11
+ return xl1Amount.toString(undefined, {
12
+ places: 18, maxDecimal: 12, maxCharacters: 12, minDecimals: 1, locale: navigator.language,
13
+ })
14
+ }
@@ -0,0 +1 @@
1
+ export * from './formatBalanceMagnitude.ts'
@@ -1,2 +1,3 @@
1
1
  export * from './BalanceHistoryFlexbox.tsx'
2
+ export * from './helpers/index.ts'
2
3
  export * from './table/index.ts'
@@ -10,11 +10,11 @@ import { useEvent } from '@xyo-network/react-event'
10
10
  import { LocalNetwork } from '@xyo-network/xl1-network-model'
11
11
  import React, { useState } from 'react'
12
12
 
13
- import { AccountBalanceHistoryTable } from './BalanceHistoryTable.tsx'
13
+ import { AccountBalanceHistoryTableEx } from './BalanceHistoryTableEx.tsx'
14
14
 
15
15
  export default {
16
- title: 'AccountBalanceHistory/Table',
17
- component: AccountBalanceHistoryTable,
16
+ title: 'AccountBalanceHistory/TableEx',
17
+ component: AccountBalanceHistoryTableEx,
18
18
  } as Meta
19
19
 
20
20
  const TEST_ADDRESS = 'aa9401662e9cd3ce8bb8a6ab92a35ed83e85ac67' as Address
@@ -26,19 +26,19 @@ const useFetchBalanceHistory = (address?: Address) => {
26
26
  return useAccountBalanceHistory(address, viewer)
27
27
  }
28
28
 
29
- const Template: StoryFn<typeof AccountBalanceHistoryTable> = (args) => {
29
+ const Template: StoryFn<typeof AccountBalanceHistoryTableEx> = (args) => {
30
30
  const results = useFetchBalanceHistory(TEST_ADDRESS)
31
31
  const [history, error, loading] = results
32
32
  return (
33
33
  <>
34
34
  <ErrorRender error={error} scope="AccountBalanceHistoryTableStory" />
35
35
  {loading === 'pending' ? <LinearProgress /> : null}
36
- <AccountBalanceHistoryTable history={history?.history} {...args} />
36
+ <AccountBalanceHistoryTableEx history={history?.history} {...args} />
37
37
  </>
38
38
  )
39
39
  }
40
40
 
41
- const TemplateLinked: StoryFn<typeof AccountBalanceHistoryTable> = (args) => {
41
+ const TemplateLinked: StoryFn<typeof AccountBalanceHistoryTableEx> = (args) => {
42
42
  const [event, setEvent] = useState<Event>()
43
43
  const [ref] = useEvent<HTMLTableElement>((noun, verb, data) => setEvent({
44
44
  noun, verb, data,
@@ -51,7 +51,7 @@ const TemplateLinked: StoryFn<typeof AccountBalanceHistoryTable> = (args) => {
51
51
  <>
52
52
  <ErrorRender error={error} scope="AccountBalanceHistoryTableStory" />
53
53
  {loading === 'pending' ? <LinearProgress /> : null}
54
- <AccountBalanceHistoryTable history={history?.history} ref={ref} {...args} />
54
+ <AccountBalanceHistoryTableEx history={history?.history} ref={ref} {...args} />
55
55
  <Snackbar autoHideDuration={5000} open={!!event} onClose={() => setEvent(undefined)}>
56
56
  <Alert>
57
57
  <AlertTitle>
@@ -1,25 +1,26 @@
1
- import type { TableProps } from '@mui/material'
2
1
  import {
3
- Table, TableBody, TableCell, TableHead, TableRow,
2
+ TableBody, TableCell, TableHead, TableRow,
4
3
  } from '@mui/material'
5
4
  import { isDefined } from '@xylabs/sdk-js'
6
5
  import type { AccountBalanceHistoryItemFormatted } from '@xyo-network/react-chain-provider'
6
+ import type { TableExProps } from '@xyo-network/react-table'
7
+ import { TableEx } from '@xyo-network/react-table'
7
8
  import React from 'react'
8
9
 
9
10
  import { BalanceHistoryTableRow } from './BalanceHistoryTableRow.tsx'
10
11
  import { TableHeadingLabels } from './types/index.ts'
11
12
 
12
- export interface AccountBalanceHistoryTableProps extends TableProps {
13
+ export interface AccountBalanceHistoryTableExProps extends TableExProps {
13
14
  history?: AccountBalanceHistoryItemFormatted[]
14
15
  linked?: boolean
15
16
  }
16
17
 
17
- export const AccountBalanceHistoryTable: React.FC<AccountBalanceHistoryTableProps> = ({
18
+ export const AccountBalanceHistoryTableEx: React.FC<AccountBalanceHistoryTableExProps> = ({
18
19
  history, linked, ...props
19
20
  }) => {
20
21
  return isDefined(history)
21
22
  ? (
22
- <Table {...props}>
23
+ <TableEx {...props}>
23
24
  <TableHead>
24
25
  <TableRow>
25
26
  {TableHeadingLabels.map(heading => (
@@ -30,7 +31,7 @@ export const AccountBalanceHistoryTable: React.FC<AccountBalanceHistoryTableProp
30
31
  <TableBody>
31
32
  {history?.map(row => <BalanceHistoryTableRow key={row.key} linked={linked} row={row} />)}
32
33
  </TableBody>
33
- </Table>
34
+ </TableEx>
34
35
  )
35
36
  : null
36
37
  }
@@ -7,9 +7,11 @@ import type { JsonValue } from '@xyo-network/xl1-rpc'
7
7
  import { useMemo } from 'react'
8
8
 
9
9
  import { BlockEpochTableCellInner, BlockNumberTableCellInner } from '../../block/index.ts'
10
- import { AddressTableCell } from './AddressTableCell.tsx'
10
+ import { AddressTableCell, HashTableCell } from './cell/index.ts'
11
11
  import { RawAmountTableCell } from './RawAmountTableCell.tsx'
12
12
 
13
+ // const TEXT_TX_HASH = '123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234' as Hash
14
+
13
15
  export interface BalanceHistoryTableRowProps extends TableRowProps {
14
16
  linked?: boolean
15
17
  row: AccountBalanceHistoryItemFormatted
@@ -26,7 +28,7 @@ export const BalanceHistoryTableRow: React.FC<BalanceHistoryTableRowProps> = ({
26
28
 
27
29
  return (
28
30
  <TableRow key={key} {...props}>
29
- <TableCell>{txHash || 'N/A'}</TableCell>
31
+ <HashTableCell hash={txHash} toolTipTitle={`Transaction Hash: ${txHash}`} {...linkedTableCallProps} />
30
32
  <BlockNumberTableCellInner blockNumber={blockNumber} {...linkedTableCallProps} />
31
33
  <BlockEpochTableCellInner epoch={timestamp} {...linkedTableCallProps} />
32
34
  <AddressTableCell address={from} toolTipTitle={`From Address: ${from}`} {...linkedTableCallProps} />
@@ -2,7 +2,7 @@ import type { TableCellProps } from '@mui/material'
2
2
  import { TableCell, Tooltip } from '@mui/material'
3
3
  import { useEvent } from '@xyo-network/react-event'
4
4
 
5
- import { BlockAddressChip } from '../../block/index.ts'
5
+ import { BlockAddressChip } from '../../../block/index.ts'
6
6
 
7
7
  export interface AddressTableCellProps extends TableCellProps {
8
8
  address?: string
@@ -0,0 +1,44 @@
1
+ import type { TableCellProps } from '@mui/material'
2
+ import {
3
+ Link, TableCell, Tooltip,
4
+ Typography,
5
+ } from '@mui/material'
6
+ import {
7
+ ellipsize, type Hash, isDefined,
8
+ } from '@xylabs/sdk-js'
9
+ import { useEvent } from '@xyo-network/react-event'
10
+
11
+ import type { BalanceHistoryEventNouns } from '../types/index.ts'
12
+
13
+ export interface HashTableCellProps extends TableCellProps {
14
+ hash?: Hash
15
+ linked?: boolean
16
+ toolTipTitle?: string
17
+ }
18
+
19
+ export const HashTableCell: React.FC<HashTableCellProps> = ({
20
+ hash, linked, toolTipTitle, sx, ...props
21
+ }) => {
22
+ const [ref, dispatch] = useEvent<HTMLTableCellElement, BalanceHistoryEventNouns>()
23
+ const handleClick = () => dispatch('tx-hash', 'click', hash)
24
+ const shortenedHash = isDefined(hash) ? ellipsize(hash as string, 6) : 'N/A'
25
+ return (
26
+ <TableCell ref={ref} {...props}>
27
+ {hash
28
+ ? (
29
+ <Tooltip title={toolTipTitle}>
30
+ <Typography component="span" variant="body1">
31
+ {linked
32
+ ? (
33
+ <Link onClick={handleClick} sx={{ cursor: 'pointer' }}>
34
+ {shortenedHash}
35
+ </Link>
36
+ )
37
+ : shortenedHash}
38
+ </Typography>
39
+ </Tooltip>
40
+ )
41
+ : 'N/A'}
42
+ </TableCell>
43
+ )
44
+ }
@@ -0,0 +1,2 @@
1
+ export * from './AddressTableCell.tsx'
2
+ export * from './HashTableCell.tsx'
@@ -1,4 +1,4 @@
1
- export * from './AddressTableCell.tsx'
2
- export * from './BalanceHistoryTable.tsx'
1
+ export * from './BalanceHistoryTableEx.tsx'
3
2
  export * from './BalanceHistoryTableRow.tsx'
3
+ export * from './cell/index.ts'
4
4
  export * from './types/index.ts'
@@ -1,7 +1,7 @@
1
1
  import type { AccountBalanceHistoryItemFormatted } from '@xyo-network/react-chain-provider'
2
2
  import type { ExtendEventNoun } from '@xyo-network/react-event'
3
3
 
4
- export type BalanceHistoryEventNouns = ExtendEventNoun<'amount' | 'blockNumber'>
4
+ export type BalanceHistoryEventNouns = ExtendEventNoun<'amount' | 'blockNumber' | 'tx-hash'>
5
5
 
6
6
  export type TableHeadingLabels = 'Tx Hash' | 'BlockNumber' | 'Timestamp' | 'From' | 'To' | 'Amount' | 'Debug'
7
7
  export type TableHeadings = { [key in keyof AccountBalanceHistoryItemFormatted]: TableHeadingLabels }
@@ -54,13 +54,14 @@ export const ChainArchivistDelayedInsertDecorator: Decorator = (Story, context)
54
54
  const chainId = await getChainId()
55
55
  return { chainArchivist, chainId }
56
56
  }, [chainArchivist])
57
+ const { args } = context
57
58
 
58
59
  const props = {
59
60
  ...context,
60
61
  args: {
61
- ...context.args,
62
+ ...args,
62
63
  blockChainRenderProps: {
63
- ...(context.args.blockChainRenderProps as BlockChainRenderBaseProps),
64
+ ...(args.blockChainRenderProps as BlockChainRenderBaseProps),
64
65
  ...blockChainRenderProps,
65
66
  head: randomBlockChain?.[0][0]?._hash,
66
67
  },
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddressTableCell.d.ts","sourceRoot":"","sources":["../../../../../src/components/account/table/AddressTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAMnD,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAY5D,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { TableProps } from '@mui/material';
2
- import type { AccountBalanceHistoryItemFormatted } from '@xyo-network/react-chain-provider';
3
- import React from 'react';
4
- export interface AccountBalanceHistoryTableProps extends TableProps {
5
- history?: AccountBalanceHistoryItemFormatted[];
6
- linked?: boolean;
7
- }
8
- export declare const AccountBalanceHistoryTable: React.FC<AccountBalanceHistoryTableProps>;
9
- //# sourceMappingURL=BalanceHistoryTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceHistoryTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/account/table/BalanceHistoryTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAK/C,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAA;AAC3F,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,WAAW,+BAAgC,SAAQ,UAAU;IACjE,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAmBhF,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceHistoryTable.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/account/table/BalanceHistoryTable.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;wBAcrD,IAAI;AAHT,wBAGS;AAmDT,QAAA,MAAM,OAAO,kKAAoB,CAAA;AAGjC,QAAA,MAAM,UAAU,kKAA0B,CAAA;AAG1C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAA"}