@xyo-network/react-shared 9.0.0 → 9.0.2
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/dist/browser/components/Ellipsize.d.ts +1 -1
- package/dist/browser/components/LoadResult.d.ts +2 -1
- package/dist/browser/components/LoadResult.d.ts.map +1 -1
- package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.d.ts +2 -1
- package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.d.ts.map +1 -1
- package/dist/browser/components/TableCell/AddressTableCell.d.ts +2 -1
- package/dist/browser/components/TableCell/AddressTableCell.d.ts.map +1 -1
- package/dist/browser/components/TableCell/EllipsisTableCell.d.ts +3 -2
- package/dist/browser/components/TableCell/EllipsisTableCell.d.ts.map +1 -1
- package/dist/browser/contexts/diviner/Provider.d.ts +2 -1
- package/dist/browser/contexts/diviner/Provider.d.ts.map +1 -1
- package/package.json +36 -48
|
@@ -16,7 +16,7 @@ export interface EllipsizeBoxProps extends BoxProps {
|
|
|
16
16
|
typographyProps?: TypographyWithComponentProps;
|
|
17
17
|
}
|
|
18
18
|
export declare const EllipsizeBox: {
|
|
19
|
-
({ ref, innerWrapProps, children, ellipsisPosition, disableSharedRef, typographyProps, ...props }: PropsWithChildren<EllipsizeBoxProps>):
|
|
19
|
+
({ ref, innerWrapProps, children, ellipsisPosition, disableSharedRef, typographyProps, ...props }: PropsWithChildren<EllipsizeBoxProps>): React.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=Ellipsize.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export interface LoadResultProps<T> {
|
|
3
4
|
/** @deprecated - use error prop */
|
|
4
5
|
apiError?: Error;
|
|
@@ -7,5 +8,5 @@ export interface LoadResultProps<T> {
|
|
|
7
8
|
notFound: boolean;
|
|
8
9
|
searchResult: T | undefined;
|
|
9
10
|
}
|
|
10
|
-
export declare function LoadResult<T>(props: PropsWithChildren<LoadResultProps<T>>):
|
|
11
|
+
export declare function LoadResult<T>(props: PropsWithChildren<LoadResultProps<T>>): React.JSX.Element;
|
|
11
12
|
//# sourceMappingURL=LoadResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadResult.d.ts","sourceRoot":"","sources":["../../../src/components/LoadResult.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"LoadResult.d.ts","sourceRoot":"","sources":["../../../src/components/LoadResult.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,mCAAmC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,yDAAyD;IACzD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,YAAY,EAAE,CAAC,GAAG,SAAS,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,qBAkBzE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const SectionSpacingRow: {
|
|
3
|
-
({ ref, children, sx, ...props }: FlexBoxProps):
|
|
4
|
+
({ ref, children, sx, ...props }: FlexBoxProps): React.JSX.Element;
|
|
4
5
|
displayName: string;
|
|
5
6
|
};
|
|
6
7
|
//# sourceMappingURL=SectionSpacingRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionSpacingRow.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionSpacingRow/SectionSpacingRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"SectionSpacingRow.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionSpacingRow/SectionSpacingRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB;sCAE3B,YAAY;;CAed,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { EllipsisTableCellProps } from './EllipsisTableCell.tsx';
|
|
2
3
|
export interface AddressTableCellProps extends EllipsisTableCellProps {
|
|
3
4
|
/** @deprecated - archives are no longer supported */
|
|
@@ -7,7 +8,7 @@ export interface AddressTableCellProps extends EllipsisTableCellProps {
|
|
|
7
8
|
link?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const AddressTableCell: {
|
|
10
|
-
({ ref, value, archive, exploreDomain, link, ...props }: AddressTableCellProps):
|
|
11
|
+
({ ref, value, archive, exploreDomain, link, ...props }: AddressTableCellProps): React.JSX.Element;
|
|
11
12
|
displayName: string;
|
|
12
13
|
};
|
|
13
14
|
export { AddressTableCell };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/AddressTableCell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddressTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/AddressTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAGrE,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,QAAA,MAAM,gBAAgB;6DAEnB,qBAAqB;;CAKvB,CAAA;AAGD,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TableCellProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import type { To } from 'react-router-dom';
|
|
3
4
|
export interface EllipsisTableCellProps extends TableCellProps {
|
|
4
5
|
href?: string;
|
|
@@ -14,11 +15,11 @@ export interface EllipsisTableCellProps extends TableCellProps {
|
|
|
14
15
|
width?: string | number;
|
|
15
16
|
}
|
|
16
17
|
export declare const EllipsisTableCellWithRef: {
|
|
17
|
-
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps):
|
|
18
|
+
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps): React.JSX.Element;
|
|
18
19
|
displayName: string;
|
|
19
20
|
};
|
|
20
21
|
export declare const EllipsisTableCell: {
|
|
21
|
-
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps):
|
|
22
|
+
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps): React.JSX.Element;
|
|
22
23
|
displayName: string;
|
|
23
24
|
};
|
|
24
25
|
//# sourceMappingURL=EllipsisTableCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EllipsisTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"EllipsisTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAU1C,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,EAAE,CAAC,EAAE,EAAE,CAAA;IACP,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,wBAAwB;yDAElC,sBAAsB;;CAwBxB,CAAA;AAGD,eAAO,MAAM,iBAAiB;yDA3B3B,sBAAsB;;CA2BgC,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ContextExProviderProps } from '@xylabs/react-shared';
|
|
2
2
|
import type { Context, PropsWithChildren } from 'react';
|
|
3
|
+
import React from 'react';
|
|
3
4
|
import type { ResolvedDivinerState } from './State.ts';
|
|
4
5
|
export interface DivinerProviderProps<D> extends ContextExProviderProps, PropsWithChildren {
|
|
5
6
|
context: Context<ResolvedDivinerState<D>>;
|
|
6
7
|
diviner?: D;
|
|
7
8
|
}
|
|
8
9
|
/** Exposes a resolved diviner */
|
|
9
|
-
export declare const ResolvedDivinerProvider: <D>({ diviner: divinerProp, required, children, context: Context, }: DivinerProviderProps<D>) =>
|
|
10
|
+
export declare const ResolvedDivinerProvider: <D>({ diviner: divinerProp, required, children, context: Context, }: DivinerProviderProps<D>) => React.JSX.Element;
|
|
10
11
|
//# sourceMappingURL=Provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/diviner/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/diviner/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACvD,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEtD,MAAM,WAAW,oBAAoB,CAAC,CAAC,CAAE,SAAQ,sBAAsB,EAAE,iBAAiB;IACxF,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAA;IACzC,OAAO,CAAC,EAAE,CAAC,CAAA;CACZ;AAED,iCAAiC;AACjC,eAAO,MAAM,uBAAuB,GAAI,CAAC,EAAG,iEAEzC,oBAAoB,CAAC,CAAC,CAAC,sBA6BzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-shared",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.2",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -46,55 +46,49 @@
|
|
|
46
46
|
"@mui/material": "^9.0.1",
|
|
47
47
|
"@opentelemetry/api": "^1.9.1",
|
|
48
48
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
49
|
-
"@react-spring/web": "~10.0
|
|
49
|
+
"@react-spring/web": "~10.1.0",
|
|
50
50
|
"@scure/base": "~2.2.0",
|
|
51
|
-
"@storybook/react-vite": "~10.4.
|
|
52
|
-
"@types/react": "^19.2.
|
|
53
|
-
"@xylabs/pixel": "~6.0.
|
|
54
|
-
"@xylabs/react-appbar": "~9.0.
|
|
55
|
-
"@xylabs/react-button": "~9.0.
|
|
56
|
-
"@xylabs/react-flexbox": "~9.0.
|
|
57
|
-
"@xylabs/react-hooks": "~9.0.
|
|
58
|
-
"@xylabs/react-link": "~9.0.
|
|
59
|
-
"@xylabs/react-promise": "~9.0.
|
|
60
|
-
"@xylabs/react-quick-tip-button": "~9.0.
|
|
61
|
-
"@xylabs/react-shared": "~9.0.
|
|
62
|
-
"@xylabs/react-theme": "~9.0.
|
|
63
|
-
"@xylabs/sdk-js": "^6.0.
|
|
64
|
-
"@xylabs/threads": "
|
|
65
|
-
"@xylabs/toolchain": "~8.1.
|
|
66
|
-
"@xylabs/tsconfig": "^8.1.
|
|
67
|
-
"@xylabs/tsconfig-dom": "^8.1.
|
|
68
|
-
"@xylabs/tsconfig-react": "~8.1.
|
|
69
|
-
"@xyo-network/boundwitness-model": "^6.0.
|
|
70
|
-
"@xyo-network/boundwitness-validator": "^6.0.
|
|
71
|
-
"@xyo-network/payload-builder": "^6.0.
|
|
72
|
-
"@xyo-network/payload-model": "^6.0.
|
|
51
|
+
"@storybook/react-vite": "~10.4.1",
|
|
52
|
+
"@types/react": "^19.2.16",
|
|
53
|
+
"@xylabs/pixel": "~6.0.7",
|
|
54
|
+
"@xylabs/react-appbar": "~9.0.2",
|
|
55
|
+
"@xylabs/react-button": "~9.0.2",
|
|
56
|
+
"@xylabs/react-flexbox": "~9.0.2",
|
|
57
|
+
"@xylabs/react-hooks": "~9.0.2",
|
|
58
|
+
"@xylabs/react-link": "~9.0.2",
|
|
59
|
+
"@xylabs/react-promise": "~9.0.2",
|
|
60
|
+
"@xylabs/react-quick-tip-button": "~9.0.2",
|
|
61
|
+
"@xylabs/react-shared": "~9.0.2",
|
|
62
|
+
"@xylabs/react-theme": "~9.0.2",
|
|
63
|
+
"@xylabs/sdk-js": "^6.0.7",
|
|
64
|
+
"@xylabs/threads": "^6.0.7",
|
|
65
|
+
"@xylabs/toolchain": "~8.1.12",
|
|
66
|
+
"@xylabs/tsconfig": "^8.1.12",
|
|
67
|
+
"@xylabs/tsconfig-dom": "^8.1.12",
|
|
68
|
+
"@xylabs/tsconfig-react": "~8.1.12",
|
|
69
|
+
"@xyo-network/boundwitness-model": "^6.0.7",
|
|
70
|
+
"@xyo-network/boundwitness-validator": "^6.0.7",
|
|
71
|
+
"@xyo-network/payload-builder": "^6.0.7",
|
|
72
|
+
"@xyo-network/payload-model": "^6.0.7",
|
|
73
73
|
"async-mutex": "^0.5.0",
|
|
74
74
|
"bn.js": "^5.2.3",
|
|
75
75
|
"bowser": "^2.14.1",
|
|
76
76
|
"buffer": "^6.0.3",
|
|
77
|
-
"chalk": "^5.6.2",
|
|
78
77
|
"debug": "~4.4.3",
|
|
79
|
-
"eslint": "^10.4.
|
|
78
|
+
"eslint": "^10.4.1",
|
|
80
79
|
"ethers": "^6.16.0",
|
|
81
|
-
"fast-deep-equal": "~3.1.3",
|
|
82
80
|
"hash-wasm": "~4.12.0",
|
|
83
|
-
"
|
|
84
|
-
"mixpanel-browser": "~2.79.0",
|
|
81
|
+
"mixpanel-browser": "~2.80.0",
|
|
85
82
|
"observable-fns": "~0.6.1",
|
|
86
83
|
"pako": "^2.1.0",
|
|
87
|
-
"query-string": "~9.
|
|
88
|
-
"react": "^19.2.
|
|
89
|
-
"react-dom": "^19.2.
|
|
90
|
-
"react-
|
|
91
|
-
"react-router-dom": "^7.15.1",
|
|
92
|
-
"recharts": "~3.8.1",
|
|
84
|
+
"query-string": "~9.4.0",
|
|
85
|
+
"react": "^19.2.7",
|
|
86
|
+
"react-dom": "^19.2.7",
|
|
87
|
+
"react-router-dom": "^7.16.0",
|
|
93
88
|
"spark-md5": "~3.0.2",
|
|
94
|
-
"storybook": "^10.4.
|
|
89
|
+
"storybook": "^10.4.1",
|
|
95
90
|
"typescript": "^6.0.3",
|
|
96
|
-
"vite": "^8.0.
|
|
97
|
-
"wasm-feature-detect": "~1.8.0",
|
|
91
|
+
"vite": "^8.0.16",
|
|
98
92
|
"zod": "^4.4.3"
|
|
99
93
|
},
|
|
100
94
|
"peerDependencies": {
|
|
@@ -103,7 +97,7 @@
|
|
|
103
97
|
"@mui/material": "^9.0",
|
|
104
98
|
"@opentelemetry/api": "^1.9",
|
|
105
99
|
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
106
|
-
"@react-spring/web": "~10.
|
|
100
|
+
"@react-spring/web": "~10.1",
|
|
107
101
|
"@scure/base": "~2.2",
|
|
108
102
|
"@xylabs/pixel": "~6.0",
|
|
109
103
|
"@xylabs/react-button": "~9.0",
|
|
@@ -114,7 +108,7 @@
|
|
|
114
108
|
"@xylabs/react-shared": "~9.0",
|
|
115
109
|
"@xylabs/react-theme": "~9.0",
|
|
116
110
|
"@xylabs/sdk-js": "^6.0",
|
|
117
|
-
"@xylabs/threads": "
|
|
111
|
+
"@xylabs/threads": "^6.0",
|
|
118
112
|
"@xyo-network/boundwitness-model": "^6.0",
|
|
119
113
|
"@xyo-network/boundwitness-validator": "^6.0",
|
|
120
114
|
"@xyo-network/payload-builder": "^6.0",
|
|
@@ -123,23 +117,17 @@
|
|
|
123
117
|
"bn.js": "^5.2",
|
|
124
118
|
"bowser": "^2.14",
|
|
125
119
|
"buffer": "^6.0",
|
|
126
|
-
"chalk": "^5.6",
|
|
127
120
|
"debug": "~4.4",
|
|
128
121
|
"ethers": "^6.16",
|
|
129
|
-
"fast-deep-equal": "~3.1",
|
|
130
122
|
"hash-wasm": "~4.12",
|
|
131
|
-
"
|
|
132
|
-
"mixpanel-browser": "~2.79",
|
|
123
|
+
"mixpanel-browser": "~2.80",
|
|
133
124
|
"observable-fns": "~0.6",
|
|
134
125
|
"pako": "^2.1",
|
|
135
|
-
"query-string": "~9.
|
|
126
|
+
"query-string": "~9.4",
|
|
136
127
|
"react": "^19.2",
|
|
137
128
|
"react-dom": "^19.2",
|
|
138
|
-
"react-is": "^19.2",
|
|
139
129
|
"react-router-dom": "^7.15",
|
|
140
|
-
"recharts": "~3.8",
|
|
141
130
|
"spark-md5": "~3.0",
|
|
142
|
-
"wasm-feature-detect": "~1.8",
|
|
143
131
|
"zod": "^4.4"
|
|
144
132
|
},
|
|
145
133
|
"publishConfig": {
|