@xyo-network/react-payload-details 6.1.4 → 7.0.0

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.
@@ -1,41 +1,2 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { PropertyProps, PropertyGroupProps } from '@xyo-network/react-property';
3
- import { SizeProp } from '@xyo-network/react-shared';
4
- import React from 'react';
5
- import { FlexBoxProps } from '@xylabs/react-flexbox';
6
- import { JsonViewerExProps } from '@xyo-network/react-payload-raw-info';
7
-
8
- type PayloadDataDetailsProps = PropertyProps & {
9
- badge?: boolean;
10
- payload?: Payload;
11
- size?: SizeProp;
12
- };
13
- declare const PayloadDataDetails: React.FC<PayloadDataDetailsProps>;
14
-
15
- type WithPaper<T> = T & {
16
- paper: true;
17
- };
18
- type WithoutPaper<T> = T & {
19
- paper?: false;
20
- };
21
- type PayloadDetailsProps = FlexBoxProps & {
22
- paper?: boolean;
23
- payload?: Payload;
24
- };
25
- declare const PayloadDetails: React.FC<PayloadDetailsProps>;
26
-
27
- type PayloadJsonDetailsProps = PropertyGroupProps & {
28
- jsonViewProps?: JsonViewerExProps;
29
- payload?: Payload;
30
- };
31
- declare const PayloadJsonDetails: React.FC<PayloadJsonDetailsProps>;
32
-
33
- type PayloadValidationDetailsProps = PropertyGroupProps & {
34
- skipBody?: boolean;
35
- value?: Payload;
36
- };
37
-
38
- declare const PayloadValidationDetails: React.FC<PayloadValidationDetailsProps>;
39
-
40
- export { PayloadDataDetails, PayloadDetails, PayloadJsonDetails, PayloadValidationDetails };
41
- export type { PayloadDataDetailsProps, PayloadDetailsProps, PayloadJsonDetailsProps, PayloadValidationDetailsProps, WithPaper, WithoutPaper };
1
+ export * from './components/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-payload-details",
3
- "version": "6.1.4",
3
+ "version": "7.0.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -38,19 +38,23 @@
38
38
  },
39
39
  "module": "dist/browser/index.mjs",
40
40
  "types": "dist/browser/index.d.ts",
41
+ "files": [
42
+ "dist",
43
+ "src"
44
+ ],
41
45
  "dependencies": {
42
- "@xylabs/forget": "^4.13.23",
43
- "@xylabs/react-button": "^6.3.13",
44
- "@xylabs/react-flexbox": "^6.3.13",
45
- "@xylabs/react-promise": "^6.3.13",
46
- "@xylabs/react-quick-tip-button": "^6.3.13",
47
- "@xyo-network/payload-builder": "^4.1.7",
48
- "@xyo-network/payload-model": "^4.1.7",
49
- "@xyo-network/payload-validator": "^4.1.7",
50
- "@xyo-network/react-payload-raw-info": "^6.1.4",
51
- "@xyo-network/react-property": "^6.1.4",
52
- "@xyo-network/react-schema": "^6.1.4",
53
- "@xyo-network/react-shared": "^6.1.4"
46
+ "@xylabs/forget": "^5.0.0",
47
+ "@xylabs/react-button": "^7.0.0",
48
+ "@xylabs/react-flexbox": "^7.0.0",
49
+ "@xylabs/react-promise": "^7.0.0",
50
+ "@xylabs/react-quick-tip-button": "^7.0.0",
51
+ "@xyo-network/payload-builder": "^5.0.0",
52
+ "@xyo-network/payload-model": "^5.0.0",
53
+ "@xyo-network/payload-validator": "^5.0.0",
54
+ "@xyo-network/react-payload-raw-info": "^7.0.0",
55
+ "@xyo-network/react-property": "^7.0.0",
56
+ "@xyo-network/react-schema": "^7.0.0",
57
+ "@xyo-network/react-shared": "^7.0.0"
54
58
  },
55
59
  "devDependencies": {
56
60
  "@emotion/react": "^11.14.0",
@@ -58,13 +62,13 @@
58
62
  "@mui/icons-material": "^7.2.0",
59
63
  "@mui/material": "^7.2.0",
60
64
  "@storybook/react-vite": "^9.0.18",
61
- "@types/react": "^19.1.8",
62
- "@xylabs/ts-scripts-yarn3": "next",
63
- "@xylabs/tsconfig-react": "next",
64
- "@xyo-network/react-storybook": "^6.1.4",
65
- "react": "^19.1.0",
66
- "react-dom": "^19.1.0",
67
- "react-router-dom": "^7.7.0",
65
+ "@types/react": "^19.1.9",
66
+ "@xylabs/ts-scripts-yarn3": "^7.0.2",
67
+ "@xylabs/tsconfig-react": "^7.0.2",
68
+ "@xyo-network/react-storybook": "^7.0.0",
69
+ "react": "^19.1.1",
70
+ "react-dom": "^19.1.1",
71
+ "react-router-dom": "^7.7.1",
68
72
  "storybook": "^9.0.18",
69
73
  "typescript": "^5.8.3"
70
74
  },
package/src/global.d.ts CHANGED
@@ -1 +1 @@
1
- import type {} from '@mui/material/themeCssVarsAugmentation'
1
+ import '@mui/material/themeCssVarsAugmentation'
package/typedoc.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://typedoc.org/schema.json",
3
- "entryPoints": ["src/index.ts"],
4
- "tsconfig": "./tsconfig.typedoc.json"
5
- }
package/xy.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
- const config: XyTsupConfig = {
3
- compile: {
4
- browser: { src: true },
5
- node: {},
6
- neutral: {},
7
- },
8
- }
9
-
10
- export default config