@xyo-network/os-react-runtime 4.2.6 → 4.2.8
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/index.mjs +24 -20
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/DappWindow.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts +2 -2
- package/package.json +9 -9
- package/src/modules/Dapp/modules/Window/DappWindow.tsx +2 -2
- package/src/modules/Dapp/modules/Window/menu/StyledListItems.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DappWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Dapp/modules/Window/DappWindow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,
|
|
1
|
+
{"version":3,"file":"DappWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Dapp/modules/Window/DappWindow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAkB,MAAM,OAAO,CAAA;AAMtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,gIAAgI;AAChI,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,GAAG,iBAAiB,CA4BpE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
2
|
-
export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<
|
|
2
|
+
export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"
|
|
4
|
+
}, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
//# sourceMappingURL=StyledListItems.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-react-runtime",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.8",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -48,23 +48,23 @@
|
|
|
48
48
|
"@xylabs/react-shared": "^5.3.14",
|
|
49
49
|
"@xyo-network/archivist-indexeddb": "^3.6.6",
|
|
50
50
|
"@xyo-network/archivist-model": "^3.6.6",
|
|
51
|
-
"@xyo-network/bios-browser": "^4.2.
|
|
52
|
-
"@xyo-network/bios-model": "^4.2.
|
|
51
|
+
"@xyo-network/bios-browser": "^4.2.8",
|
|
52
|
+
"@xyo-network/bios-model": "^4.2.8",
|
|
53
53
|
"@xyo-network/diviner-boundwitness-indexeddb": "^3.6.6",
|
|
54
54
|
"@xyo-network/diviner-model": "^3.6.6",
|
|
55
55
|
"@xyo-network/diviner-payload-generic": "^3.6.6",
|
|
56
56
|
"@xyo-network/diviner-payload-indexeddb": "^3.6.6",
|
|
57
57
|
"@xyo-network/diviner-payload-model": "^3.6.6",
|
|
58
|
-
"@xyo-network/kernel": "^4.2.
|
|
59
|
-
"@xyo-network/kernel-model": "^4.2.
|
|
58
|
+
"@xyo-network/kernel": "^4.2.8",
|
|
59
|
+
"@xyo-network/kernel-model": "^4.2.8",
|
|
60
60
|
"@xyo-network/module-event-emitter": "^3.6.6",
|
|
61
61
|
"@xyo-network/module-events": "^3.6.6",
|
|
62
62
|
"@xyo-network/module-factory-locator": "^3.6.6",
|
|
63
63
|
"@xyo-network/node-model": "^3.6.6",
|
|
64
|
-
"@xyo-network/os-model": "^4.2.
|
|
65
|
-
"@xyo-network/os-react-debug": "^4.2.
|
|
66
|
-
"@xyo-network/os-react-model": "^4.2.
|
|
67
|
-
"@xyo-network/os-runtime": "^4.2.
|
|
64
|
+
"@xyo-network/os-model": "^4.2.8",
|
|
65
|
+
"@xyo-network/os-react-debug": "^4.2.8",
|
|
66
|
+
"@xyo-network/os-react-model": "^4.2.8",
|
|
67
|
+
"@xyo-network/os-runtime": "^4.2.8",
|
|
68
68
|
"@xyo-network/payload-model": "^3.6.6",
|
|
69
69
|
"@xyo-network/react-archivist": "^4.3.1",
|
|
70
70
|
"@xyo-network/react-card": "^4.3.1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Snackbar } from '@mui/material'
|
|
2
2
|
import { ErrorBoundary, ErrorRender } from '@xylabs/react-error'
|
|
3
3
|
import type { PropsWithChildren } from 'react'
|
|
4
|
-
import React from 'react'
|
|
4
|
+
import React, { useMemo } from 'react'
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
useManageDappInjectableParamsFromRoute, useManageDappPathFromRoute, useSyncOsRegisteredAccessInterfaces,
|
|
@@ -21,7 +21,7 @@ export const DappWindow: React.FC<DappWindowProps & PropsWithChildren> = ({
|
|
|
21
21
|
const routingError = useManageDappPathFromRoute(context, name)
|
|
22
22
|
const injectableErrors = useManageDappInjectableParamsFromRoute(context)
|
|
23
23
|
|
|
24
|
-
const resolvedErrors = [...injectableErrors, routingError]
|
|
24
|
+
const resolvedErrors = useMemo(() => [...injectableErrors, routingError].filter(Boolean), [injectableErrors, routingError])
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
27
|
<>
|
|
@@ -7,7 +7,7 @@ export const StyledMenuIconWrapSpan = styled('span', { name: 'StyledMenuIconWrap
|
|
|
7
7
|
flexDirection: 'column',
|
|
8
8
|
}))
|
|
9
9
|
|
|
10
|
-
export const StyledListItemButton = styled(ListItemButton, { name: 'StyledListItemButton' })<{
|
|
10
|
+
export const StyledListItemButton = styled(ListItemButton, { name: 'StyledListItemButton', shouldForwardProp: prop => prop !== 'active' })<{
|
|
11
11
|
active?: boolean
|
|
12
12
|
}>(({ theme, active }) => {
|
|
13
13
|
const activeOrHoverColor = theme.palette.primary.main
|