@xyo-network/react-shared 9.0.1 → 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 +17 -19
|
@@ -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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@react-spring/web": "~10.1.0",
|
|
50
50
|
"@scure/base": "~2.2.0",
|
|
51
51
|
"@storybook/react-vite": "~10.4.1",
|
|
52
|
-
"@types/react": "^19.2.
|
|
53
|
-
"@xylabs/pixel": "~6.0.
|
|
52
|
+
"@types/react": "^19.2.16",
|
|
53
|
+
"@xylabs/pixel": "~6.0.7",
|
|
54
54
|
"@xylabs/react-appbar": "~9.0.2",
|
|
55
55
|
"@xylabs/react-button": "~9.0.2",
|
|
56
56
|
"@xylabs/react-flexbox": "~9.0.2",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"@xylabs/react-quick-tip-button": "~9.0.2",
|
|
61
61
|
"@xylabs/react-shared": "~9.0.2",
|
|
62
62
|
"@xylabs/react-theme": "~9.0.2",
|
|
63
|
-
"@xylabs/sdk-js": "^6.0.
|
|
64
|
-
"@xylabs/threads": "^6.0.
|
|
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.
|
|
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",
|
|
@@ -78,18 +78,17 @@
|
|
|
78
78
|
"eslint": "^10.4.1",
|
|
79
79
|
"ethers": "^6.16.0",
|
|
80
80
|
"hash-wasm": "~4.12.0",
|
|
81
|
-
"mixpanel-browser": "~2.80",
|
|
81
|
+
"mixpanel-browser": "~2.80.0",
|
|
82
82
|
"observable-fns": "~0.6.1",
|
|
83
83
|
"pako": "^2.1.0",
|
|
84
84
|
"query-string": "~9.4.0",
|
|
85
|
-
"react": "^19.2.
|
|
86
|
-
"react-dom": "^19.2.
|
|
85
|
+
"react": "^19.2.7",
|
|
86
|
+
"react-dom": "^19.2.7",
|
|
87
87
|
"react-router-dom": "^7.16.0",
|
|
88
88
|
"spark-md5": "~3.0.2",
|
|
89
89
|
"storybook": "^10.4.1",
|
|
90
90
|
"typescript": "^6.0.3",
|
|
91
|
-
"vite": "^8.0.
|
|
92
|
-
"wasm-feature-detect": "~1.8.0",
|
|
91
|
+
"vite": "^8.0.16",
|
|
93
92
|
"zod": "^4.4.3"
|
|
94
93
|
},
|
|
95
94
|
"peerDependencies": {
|
|
@@ -129,7 +128,6 @@
|
|
|
129
128
|
"react-dom": "^19.2",
|
|
130
129
|
"react-router-dom": "^7.15",
|
|
131
130
|
"spark-md5": "~3.0",
|
|
132
|
-
"wasm-feature-detect": "~1.8",
|
|
133
131
|
"zod": "^4.4"
|
|
134
132
|
},
|
|
135
133
|
"publishConfig": {
|