@xyo-network/react-payload-details 2.66.3 → 2.66.5
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,22 +10,23 @@
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"@xylabs/react-button": "^3.0.
|
14
|
-
"@xylabs/react-flexbox": "^3.0.
|
15
|
-
"@xylabs/react-promise": "^3.0.
|
16
|
-
"@xylabs/react-quick-tip-button": "^3.0.
|
13
|
+
"@xylabs/react-button": "^3.0.34",
|
14
|
+
"@xylabs/react-flexbox": "^3.0.34",
|
15
|
+
"@xylabs/react-promise": "^3.0.34",
|
16
|
+
"@xylabs/react-quick-tip-button": "^3.0.34",
|
17
17
|
"@xyo-network/hash": "^2.82.0",
|
18
18
|
"@xyo-network/payload-model": "^2.82.0",
|
19
19
|
"@xyo-network/payload-validator": "^2.82.0",
|
20
|
-
"@xyo-network/react-property": "~2.66.
|
21
|
-
"@xyo-network/react-schema": "~2.66.
|
22
|
-
"@xyo-network/react-shared": "~2.66.
|
20
|
+
"@xyo-network/react-property": "~2.66.5",
|
21
|
+
"@xyo-network/react-schema": "~2.66.5",
|
22
|
+
"@xyo-network/react-shared": "~2.66.5",
|
23
23
|
"react-json-view": "^1.21.3"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@storybook/react": "^7.6.3",
|
27
27
|
"@xylabs/ts-scripts-yarn3": "^3.2.10",
|
28
28
|
"@xylabs/tsconfig-react": "^3.2.10",
|
29
|
+
"@xyo-network/react-storybook": "~2.66.5",
|
29
30
|
"react-router-dom": "^6.20.1",
|
30
31
|
"typescript": "^5.3.2"
|
31
32
|
},
|
@@ -87,6 +88,6 @@
|
|
87
88
|
},
|
88
89
|
"sideEffects": false,
|
89
90
|
"types": "dist/browser/index.d.ts",
|
90
|
-
"version": "2.66.
|
91
|
+
"version": "2.66.5",
|
91
92
|
"type": "module"
|
92
93
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/react'
|
2
|
-
import { sampleIdPayload, samplePayloadFromBuilder
|
2
|
+
import { sampleIdPayload, samplePayloadFromBuilder } from '@xyo-network/react-storybook'
|
3
3
|
import { BrowserRouter, Route, Routes } from 'react-router-dom'
|
4
4
|
|
5
5
|
import { PayloadDetails } from './Details'
|
@@ -26,35 +26,27 @@ const Template: StoryFn<typeof PayloadDetails> = (args) => (
|
|
26
26
|
|
27
27
|
const Default = Template.bind({})
|
28
28
|
Default.args = {}
|
29
|
-
Default.decorators = [useAppThemeDecorator]
|
30
29
|
|
31
30
|
const WithSample = Template.bind({})
|
32
31
|
WithSample.args = { payload: sampleIdPayload }
|
33
|
-
WithSample.decorators = [useAppThemeDecorator]
|
34
32
|
|
35
33
|
const WithBuilderSample = Template.bind({})
|
36
34
|
WithBuilderSample.args = { payload: samplePayloadFromBuilder }
|
37
|
-
WithBuilderSample.decorators = [useAppThemeDecorator]
|
38
35
|
|
39
36
|
const WithArchiveLink = Template.bind({})
|
40
37
|
WithArchiveLink.args = { payload: samplePayloadFromBuilder }
|
41
|
-
WithArchiveLink.decorators = [useAppThemeDecorator]
|
42
38
|
|
43
39
|
const DefaultPaper = Template.bind({})
|
44
40
|
DefaultPaper.args = { paper: true }
|
45
|
-
DefaultPaper.decorators = [useAppThemeDecorator]
|
46
41
|
|
47
42
|
const WithSamplePaper = Template.bind({})
|
48
43
|
WithSamplePaper.args = { paper: true, payload: sampleIdPayload }
|
49
|
-
WithSamplePaper.decorators = [useAppThemeDecorator]
|
50
44
|
|
51
45
|
const WithBuilderSamplePaper = Template.bind({})
|
52
46
|
WithBuilderSamplePaper.args = { paper: true, payload: samplePayloadFromBuilder }
|
53
|
-
WithBuilderSamplePaper.decorators = [useAppThemeDecorator]
|
54
47
|
|
55
48
|
const WithArchiveLinkPaper = Template.bind({})
|
56
49
|
WithArchiveLinkPaper.args = { paper: true, payload: samplePayloadFromBuilder }
|
57
|
-
WithArchiveLinkPaper.decorators = [useAppThemeDecorator]
|
58
50
|
|
59
51
|
export { Default, DefaultPaper, WithArchiveLink, WithArchiveLinkPaper, WithBuilderSample, WithBuilderSamplePaper, WithSample, WithSamplePaper }
|
60
52
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/react'
|
2
2
|
import { Payload } from '@xyo-network/payload-model'
|
3
|
-
import { sampleIdPayload
|
3
|
+
import { sampleIdPayload } from '@xyo-network/react-storybook'
|
4
4
|
import { BrowserRouter } from 'react-router-dom'
|
5
5
|
|
6
6
|
import { PayloadDetails } from '../Details'
|
@@ -15,7 +15,6 @@ const StorybookEntry: Meta = {
|
|
15
15
|
},
|
16
16
|
},
|
17
17
|
component: PayloadDetails,
|
18
|
-
decorators: [useAppThemeDecorator],
|
19
18
|
parameters: {
|
20
19
|
docs: {
|
21
20
|
page: null,
|