@xyo-network/react-payload-table 2.66.2 → 2.66.4
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.
package/package.json
CHANGED
|
@@ -10,26 +10,27 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/react-promise": "^3.0.
|
|
14
|
-
"@xylabs/react-shared": "^3.0.
|
|
15
|
-
"@xyo-network/hash": "^2.
|
|
16
|
-
"@xyo-network/payload-model": "^2.
|
|
17
|
-
"@xyo-network/payload-validator": "^2.
|
|
18
|
-
"@xyo-network/react-error": "~2.66.
|
|
19
|
-
"@xyo-network/react-event": "~2.66.
|
|
20
|
-
"@xyo-network/react-network": "~2.66.
|
|
21
|
-
"@xyo-network/react-payload-plugin": "~2.66.
|
|
22
|
-
"@xyo-network/react-payload-plugin-resolver": "~2.66.
|
|
23
|
-
"@xyo-network/react-shared": "~2.66.
|
|
24
|
-
"@xyo-network/react-table": "~2.66.
|
|
13
|
+
"@xylabs/react-promise": "^3.0.33",
|
|
14
|
+
"@xylabs/react-shared": "^3.0.33",
|
|
15
|
+
"@xyo-network/hash": "^2.82.0",
|
|
16
|
+
"@xyo-network/payload-model": "^2.82.0",
|
|
17
|
+
"@xyo-network/payload-validator": "^2.82.0",
|
|
18
|
+
"@xyo-network/react-error": "~2.66.4",
|
|
19
|
+
"@xyo-network/react-event": "~2.66.4",
|
|
20
|
+
"@xyo-network/react-network": "~2.66.4",
|
|
21
|
+
"@xyo-network/react-payload-plugin": "~2.66.4",
|
|
22
|
+
"@xyo-network/react-payload-plugin-resolver": "~2.66.4",
|
|
23
|
+
"@xyo-network/react-shared": "~2.66.4",
|
|
24
|
+
"@xyo-network/react-table": "~2.66.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@storybook/react": "^7.
|
|
28
|
-
"@xylabs/delay": "^2.13.
|
|
27
|
+
"@storybook/react": "^7.6.3",
|
|
28
|
+
"@xylabs/delay": "^2.13.20",
|
|
29
29
|
"@xylabs/ts-scripts-yarn3": "^3.2.10",
|
|
30
30
|
"@xylabs/tsconfig-react": "^3.2.10",
|
|
31
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "~2.66.
|
|
32
|
-
"react-
|
|
31
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "~2.66.4",
|
|
32
|
+
"@xyo-network/react-storybook": "~2.66.4",
|
|
33
|
+
"react-router-dom": "^6.20.1",
|
|
33
34
|
"typescript": "^5.3.2"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
|
@@ -90,6 +91,6 @@
|
|
|
90
91
|
"license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
|
|
91
92
|
},
|
|
92
93
|
"sideEffects": false,
|
|
93
|
-
"version": "2.66.
|
|
94
|
+
"version": "2.66.4",
|
|
94
95
|
"type": "module"
|
|
95
96
|
}
|
|
@@ -2,13 +2,7 @@ import { Meta, StoryFn } from '@storybook/react'
|
|
|
2
2
|
import { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'
|
|
3
3
|
import { DefaultPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
|
|
4
4
|
import { PayloadRenderPluginResolver, PayloadRenderPluginResolverProvider } from '@xyo-network/react-payload-plugin-resolver'
|
|
5
|
-
import {
|
|
6
|
-
sampleCoinGeckoPayload,
|
|
7
|
-
sampleIdPayload,
|
|
8
|
-
sampleSystemInfoBrowserPayload,
|
|
9
|
-
sampleUniswapPayload,
|
|
10
|
-
useAppThemeDecorator,
|
|
11
|
-
} from '@xyo-network/react-storybook'
|
|
5
|
+
import { sampleCoinGeckoPayload, sampleIdPayload, sampleSystemInfoBrowserPayload, sampleUniswapPayload } from '@xyo-network/react-storybook'
|
|
12
6
|
import { BrowserRouter } from 'react-router-dom'
|
|
13
7
|
|
|
14
8
|
import { PayloadDynamicTable } from './Table'
|
|
@@ -36,7 +30,6 @@ const Template: StoryFn<typeof PayloadDynamicTable> = (args) => (
|
|
|
36
30
|
|
|
37
31
|
const Default = Template.bind({})
|
|
38
32
|
Default.args = {}
|
|
39
|
-
Default.decorators = [useAppThemeDecorator]
|
|
40
33
|
|
|
41
34
|
const WithData = Template.bind({})
|
|
42
35
|
WithData.args = {
|
|
@@ -64,7 +57,6 @@ WithData.args = {
|
|
|
64
57
|
sampleSystemInfoBrowserPayload,
|
|
65
58
|
],
|
|
66
59
|
}
|
|
67
|
-
WithData.decorators = [useAppThemeDecorator]
|
|
68
60
|
|
|
69
61
|
const WithError = Template.bind({})
|
|
70
62
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2,7 +2,7 @@ import { Chip } from '@mui/material'
|
|
|
2
2
|
import { Meta, StoryFn } from '@storybook/react'
|
|
3
3
|
import { Payload } from '@xyo-network/payload-model'
|
|
4
4
|
import { useEvent } from '@xyo-network/react-event'
|
|
5
|
-
import { sampleIdPayload, sampleSystemInfoBrowserPayload
|
|
5
|
+
import { sampleIdPayload, sampleSystemInfoBrowserPayload } from '@xyo-network/react-storybook'
|
|
6
6
|
import { useState } from 'react'
|
|
7
7
|
import { BrowserRouter } from 'react-router-dom'
|
|
8
8
|
|
|
@@ -33,7 +33,6 @@ const Template: StoryFn<typeof PayloadTable> = (args) => {
|
|
|
33
33
|
|
|
34
34
|
const Default = Template.bind({})
|
|
35
35
|
Default.args = {}
|
|
36
|
-
Default.decorators = [useAppThemeDecorator]
|
|
37
36
|
|
|
38
37
|
const payloads: Payload[] = [
|
|
39
38
|
sampleIdPayload,
|
|
@@ -57,7 +56,6 @@ const WithData = Template.bind({})
|
|
|
57
56
|
WithData.args = {
|
|
58
57
|
payloads,
|
|
59
58
|
}
|
|
60
|
-
WithData.decorators = [useAppThemeDecorator]
|
|
61
59
|
|
|
62
60
|
const WithOutStickyHeaderFooter = Template.bind({})
|
|
63
61
|
WithOutStickyHeaderFooter.args = {
|
|
@@ -70,7 +68,6 @@ WithDataAndMaxSchemaDepth.args = {
|
|
|
70
68
|
maxSchemaDepth: 2,
|
|
71
69
|
payloads,
|
|
72
70
|
}
|
|
73
|
-
WithDataAndMaxSchemaDepth.decorators = [useAppThemeDecorator]
|
|
74
71
|
|
|
75
72
|
const WithInvalid = Template.bind({})
|
|
76
73
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|