@xyo-network/os-react-runtime 4.2.10 → 4.2.12

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/os-react-runtime",
3
- "version": "4.2.10",
3
+ "version": "4.2.12",
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.16",
49
49
  "@xyo-network/archivist-indexeddb": "^3.6.9",
50
50
  "@xyo-network/archivist-model": "^3.6.9",
51
- "@xyo-network/bios-browser": "^4.2.10",
52
- "@xyo-network/bios-model": "^4.2.10",
51
+ "@xyo-network/bios-browser": "^4.2.12",
52
+ "@xyo-network/bios-model": "^4.2.12",
53
53
  "@xyo-network/diviner-boundwitness-indexeddb": "^3.6.9",
54
54
  "@xyo-network/diviner-model": "^3.6.9",
55
55
  "@xyo-network/diviner-payload-generic": "^3.6.9",
56
56
  "@xyo-network/diviner-payload-indexeddb": "^3.6.9",
57
57
  "@xyo-network/diviner-payload-model": "^3.6.9",
58
- "@xyo-network/kernel": "^4.2.10",
59
- "@xyo-network/kernel-model": "^4.2.10",
58
+ "@xyo-network/kernel": "^4.2.12",
59
+ "@xyo-network/kernel-model": "^4.2.12",
60
60
  "@xyo-network/module-event-emitter": "^3.6.9",
61
61
  "@xyo-network/module-events": "^3.6.9",
62
62
  "@xyo-network/module-factory-locator": "^3.6.9",
63
63
  "@xyo-network/node-model": "^3.6.9",
64
- "@xyo-network/os-model": "^4.2.10",
65
- "@xyo-network/os-react-debug": "^4.2.10",
66
- "@xyo-network/os-react-model": "^4.2.10",
67
- "@xyo-network/os-runtime": "^4.2.10",
64
+ "@xyo-network/os-model": "^4.2.12",
65
+ "@xyo-network/os-react-debug": "^4.2.12",
66
+ "@xyo-network/os-react-model": "^4.2.12",
67
+ "@xyo-network/os-runtime": "^4.2.12",
68
68
  "@xyo-network/payload-model": "^3.6.9",
69
69
  "@xyo-network/react-archivist": "^4.3.5",
70
70
  "@xyo-network/react-card": "^4.3.5",
package/src/DappPage.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import type { Breakpoint } from '@mui/material'
1
+ import type { Breakpoint, TypographyProps } from '@mui/material'
2
2
  import { Container, Typography } from '@mui/material'
3
3
  import { ThrownErrorBoundary } from '@xylabs/react-error'
4
4
  import type { FlexBoxProps } from '@xylabs/react-flexbox'
@@ -14,6 +14,7 @@ export interface SharedDappPageProps extends FlexBoxProps {
14
14
  checkNetwork?: boolean
15
15
  noScroll?: boolean
16
16
  subtitle?: string
17
+ titleProps?: TypographyProps
17
18
  }
18
19
 
19
20
  export interface DappPageProps extends SharedDappPageProps {
@@ -39,7 +40,7 @@ export const DappTitle: React.FC<SharedDappPageProps> = ({
39
40
  }
40
41
 
41
42
  const InnerDappPage: React.FC<SharedDappPageProps> = ({
42
- noScroll, children, subtitle, title, sx, ...props
43
+ noScroll, children, subtitle, title, sx, titleProps, ...props
43
44
  }) => {
44
45
  return (
45
46
  <FlexCol
@@ -54,7 +55,7 @@ const InnerDappPage: React.FC<SharedDappPageProps> = ({
54
55
  {...props}
55
56
  >
56
57
  {title
57
- ? <DappTitle subtitle={subtitle} title={title} marginX={1} />
58
+ ? <DappTitle subtitle={subtitle} title={title} {...titleProps} />
58
59
  : null}
59
60
  {children}
60
61
  </FlexCol>