@xyo-network/os-react-runtime 4.2.11 → 4.2.13

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.
@@ -291,8 +291,8 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
291
291
  focusVisibleClassName?: string | undefined;
292
292
  LinkComponent?: React.ElementType | undefined;
293
293
  onFocusVisible?: React.FocusEventHandler<any> | undefined;
294
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
295
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
294
+ TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps> | undefined;
295
+ touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions> | undefined;
296
296
  disableFocusRipple?: boolean | undefined;
297
297
  loading?: boolean | null | undefined;
298
298
  loadingIndicator?: import("react").ReactNode;
@@ -640,8 +640,8 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
640
640
  focusVisibleClassName?: string | undefined;
641
641
  LinkComponent?: React.ElementType | undefined;
642
642
  onFocusVisible?: React.FocusEventHandler<any> | undefined;
643
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
644
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
643
+ TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps> | undefined;
644
+ touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions> | undefined;
645
645
  disableFocusRipple?: boolean | undefined;
646
646
  loading?: boolean | null | undefined;
647
647
  loadingIndicator?: import("react").ReactNode;
@@ -989,8 +989,8 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
989
989
  focusVisibleClassName?: string | undefined;
990
990
  LinkComponent?: React.ElementType | undefined;
991
991
  onFocusVisible?: React.FocusEventHandler<any> | undefined;
992
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
993
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
992
+ TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps> | undefined;
993
+ touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions> | undefined;
994
994
  disableFocusRipple?: boolean | undefined;
995
995
  loading?: boolean | null | undefined;
996
996
  loadingIndicator?: import("react").ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"decomposeProps.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Dapp/Button/lib/decomposeProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAIrD,eAAO,MAAM,cAAc,cAAe,QAAQ,UAAU,aAAa;;;;;;;;;;;;;gBAU26C,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BAAwhB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAwqE,MAAO,WAAW;iBAH7sI,MAAQ,GAAE;;;;;;;wBAGkoD,MAAO,WAAW;yBAA6I,MAAO,iBAAiB;;yBAAoa,MAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA9xB,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BA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;;;;;;;;;;;;;;;;;;;;gBAAh1B,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BAA0kB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAsnE,MAAO,WAAW;iBAA9sI,MAAO,GAAG;;;;;;;wBAAqrD,MAAO,WAAW;yBAA6I,MAAO,iBAAiB;;yBAAoa,MAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CADn0E,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/os-react-runtime",
3
- "version": "4.2.11",
3
+ "version": "4.2.13",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,65 +29,65 @@
29
29
  "main": "dist/browser/index.mjs",
30
30
  "types": "dist/browser/index.d.ts",
31
31
  "dependencies": {
32
- "@mui/icons-material": "^6.4.0",
32
+ "@mui/icons-material": "^6.4.1",
33
33
  "@react-spring/web": "^9.7.5",
34
- "@xylabs/assert": "^4.4.36",
35
- "@xylabs/forget": "^4.4.36",
36
- "@xylabs/hex": "^4.4.36",
37
- "@xylabs/lodash": "^4.4.36",
38
- "@xylabs/object": "^4.4.36",
39
- "@xylabs/promise": "^4.4.36",
40
- "@xylabs/react-animation": "^5.3.16",
41
- "@xylabs/react-async-effect": "^5.3.16",
42
- "@xylabs/react-button": "^5.3.16",
43
- "@xylabs/react-error": "^5.3.16",
44
- "@xylabs/react-flexbox": "^5.3.16",
45
- "@xylabs/react-invertible-theme": "^5.3.16",
46
- "@xylabs/react-link": "^5.3.16",
47
- "@xylabs/react-promise": "^5.3.16",
48
- "@xylabs/react-shared": "^5.3.16",
49
- "@xyo-network/archivist-indexeddb": "^3.6.9",
50
- "@xyo-network/archivist-model": "^3.6.9",
51
- "@xyo-network/bios-browser": "^4.2.11",
52
- "@xyo-network/bios-model": "^4.2.11",
53
- "@xyo-network/diviner-boundwitness-indexeddb": "^3.6.9",
54
- "@xyo-network/diviner-model": "^3.6.9",
55
- "@xyo-network/diviner-payload-generic": "^3.6.9",
56
- "@xyo-network/diviner-payload-indexeddb": "^3.6.9",
57
- "@xyo-network/diviner-payload-model": "^3.6.9",
58
- "@xyo-network/kernel": "^4.2.11",
59
- "@xyo-network/kernel-model": "^4.2.11",
60
- "@xyo-network/module-event-emitter": "^3.6.9",
61
- "@xyo-network/module-events": "^3.6.9",
62
- "@xyo-network/module-factory-locator": "^3.6.9",
63
- "@xyo-network/node-model": "^3.6.9",
64
- "@xyo-network/os-model": "^4.2.11",
65
- "@xyo-network/os-react-debug": "^4.2.11",
66
- "@xyo-network/os-react-model": "^4.2.11",
67
- "@xyo-network/os-runtime": "^4.2.11",
68
- "@xyo-network/payload-model": "^3.6.9",
69
- "@xyo-network/react-archivist": "^4.3.5",
70
- "@xyo-network/react-card": "^4.3.5",
71
- "@xyo-network/react-form-credit-card": "^4.3.5",
72
- "@xyo-network/react-node": "^4.3.5",
73
- "@xyo-network/react-shared": "^4.3.5",
74
- "@xyo-network/react-table": "^4.3.5",
75
- "@xyo-network/react-wallet": "^4.3.5",
76
- "@xyo-network/wallet-model": "^3.6.9",
34
+ "@xylabs/assert": "^4.5.1",
35
+ "@xylabs/forget": "^4.5.1",
36
+ "@xylabs/hex": "^4.5.1",
37
+ "@xylabs/lodash": "^4.5.1",
38
+ "@xylabs/object": "^4.5.1",
39
+ "@xylabs/promise": "^4.5.1",
40
+ "@xylabs/react-animation": "^5.3.22",
41
+ "@xylabs/react-async-effect": "^5.3.22",
42
+ "@xylabs/react-button": "^5.3.22",
43
+ "@xylabs/react-error": "^5.3.22",
44
+ "@xylabs/react-flexbox": "^5.3.22",
45
+ "@xylabs/react-invertible-theme": "^5.3.22",
46
+ "@xylabs/react-link": "^5.3.22",
47
+ "@xylabs/react-promise": "^5.3.22",
48
+ "@xylabs/react-shared": "^5.3.22",
49
+ "@xyo-network/archivist-indexeddb": "^3.6.11",
50
+ "@xyo-network/archivist-model": "^3.6.11",
51
+ "@xyo-network/bios-browser": "^4.2.13",
52
+ "@xyo-network/bios-model": "^4.2.13",
53
+ "@xyo-network/diviner-boundwitness-indexeddb": "^3.6.11",
54
+ "@xyo-network/diviner-model": "^3.6.11",
55
+ "@xyo-network/diviner-payload-generic": "^3.6.11",
56
+ "@xyo-network/diviner-payload-indexeddb": "^3.6.11",
57
+ "@xyo-network/diviner-payload-model": "^3.6.11",
58
+ "@xyo-network/kernel": "^4.2.13",
59
+ "@xyo-network/kernel-model": "^4.2.13",
60
+ "@xyo-network/module-event-emitter": "^3.6.11",
61
+ "@xyo-network/module-events": "^3.6.11",
62
+ "@xyo-network/module-factory-locator": "^3.6.11",
63
+ "@xyo-network/node-model": "^3.6.11",
64
+ "@xyo-network/os-model": "^4.2.13",
65
+ "@xyo-network/os-react-debug": "^4.2.13",
66
+ "@xyo-network/os-react-model": "^4.2.13",
67
+ "@xyo-network/os-runtime": "^4.2.13",
68
+ "@xyo-network/payload-model": "^3.6.11",
69
+ "@xyo-network/react-archivist": "^4.3.9",
70
+ "@xyo-network/react-card": "^4.3.9",
71
+ "@xyo-network/react-form-credit-card": "^4.3.9",
72
+ "@xyo-network/react-node": "^4.3.9",
73
+ "@xyo-network/react-shared": "^4.3.9",
74
+ "@xyo-network/react-table": "^4.3.9",
75
+ "@xyo-network/react-wallet": "^4.3.9",
76
+ "@xyo-network/wallet-model": "^3.6.11",
77
77
  "country-region-data": "^3.1.0",
78
78
  "luxon": "^3.5.0",
79
79
  "react-helmet": "^6.1.0",
80
80
  "react-icons": "^5.4.0",
81
- "react-router-dom": "^7.1.1",
81
+ "react-router-dom": "^7.1.3",
82
82
  "react-use-gesture": "^9.1.3",
83
83
  "rollbar": "^2.26.4"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@emotion/react": "^11.14.0",
87
87
  "@emotion/styled": "^11.14.0",
88
- "@mui/material": "^6.4.0",
89
- "@mui/styles": "^6.4.0",
90
- "@storybook/react": "^8.4.7",
88
+ "@mui/material": "^6.4.1",
89
+ "@mui/styles": "^6.4.1",
90
+ "@storybook/react": "^8.5.2",
91
91
  "@types/luxon": "^3.4.2",
92
92
  "@types/react": "^18.3.18",
93
93
  "@types/react-helmet": "^6.1.11",
@@ -98,7 +98,7 @@
98
98
  "@xylabs/tsconfig-react": "^4.2.6",
99
99
  "react": "^18.3.1",
100
100
  "react-dom": "^18.3.1",
101
- "storybook": "^8.4.7",
101
+ "storybook": "^8.5.2",
102
102
  "typescript": "^5.7.3"
103
103
  },
104
104
  "peerDependencies": {
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>