@xyo-network/os-react-runtime 2.3.2 → 3.0.1

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.
Files changed (24) hide show
  1. package/dist/browser/StyledBuilder.d.ts +1 -1
  2. package/dist/browser/components/Widgets/Types/BarGraph/StyledLinearProgress.d.ts +1 -1
  3. package/dist/browser/components/Widgets/Types/Stat/Subtitle.d.ts +1 -1
  4. package/dist/browser/components/Widgets/Types/Stat/Unit.d.ts +1 -1
  5. package/dist/browser/components/Widgets/Types/Stat/Value.d.ts +1 -1
  6. package/dist/browser/components/Widgets/Types/Tables/BooleanTable.d.ts +4 -4
  7. package/dist/browser/dapps/shared/table/head/components/StyledTableRowHeader.d.ts +1 -1
  8. package/dist/browser/index.mjs +12 -12
  9. package/dist/browser/index.mjs.map +1 -1
  10. package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts +3 -3
  11. package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts +3 -3
  12. package/dist/browser/modules/Dapp/Page/Row.d.ts +1 -1
  13. package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts +2 -2
  14. package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts +1 -1
  15. package/package.json +46 -46
  16. package/src/components/Widgets/StackOfWidgets.tsx +1 -1
  17. package/src/components/alerts/errors/RenderErrorWithSupportLink.tsx +1 -1
  18. package/src/dapps/shared/accounts/components/AnimatedComponents/GenericAnimations/ShiftAnimation.tsx +2 -2
  19. package/src/helpers/monitor/XyOsBrowserMonitor.ts +2 -2
  20. package/src/hooks/useDetectCustomer.tsx +1 -1
  21. package/src/hooks/usePhraseFile.tsx +1 -1
  22. package/src/modules/Dapp/EnterAnimation.tsx +2 -2
  23. package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappInjectableParamsFromRoute.tsx +2 -2
  24. package/src/utils/useOnWindowResize.tsx +2 -2
@@ -1,8 +1,8 @@
1
1
  import type { ButtonExProps } from '@xylabs/react-button';
2
2
  import React from 'react';
3
- export declare const StyledDappIconButtonEx: import("@emotion/styled").StyledComponent<ButtonExProps & React.RefAttributes<HTMLSpanElement> & import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
3
+ export declare const StyledDappIconButtonEx: import("@emotion/styled").StyledComponent<ButtonExProps & React.RefAttributes<HTMLSpanElement> & import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
4
  iconBgBaseColor?: string;
5
5
  }, {}, {}>;
6
- export declare const StyledDappName: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
- export declare const StyledDefaultDappIcon: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
+ export declare const StyledDappName: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
+ export declare const StyledDefaultDappIcon: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  //# sourceMappingURL=StyledComponents.d.ts.map
@@ -16,7 +16,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
16
16
  className?: string | undefined;
17
17
  style?: React.CSSProperties | undefined;
18
18
  children?: React.ReactNode;
19
- variant?: import(".store/@mui-types-virtual-220a08ab6a/package").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
19
+ variant?: import(".store/@mui-types-virtual-dbfde2226d/package").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
20
20
  form?: string | undefined;
21
21
  slot?: string | undefined;
22
22
  title?: string | undefined;
@@ -55,7 +55,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
55
55
  vocab?: string | undefined;
56
56
  autoCorrect?: string | undefined;
57
57
  autoSave?: string | undefined;
58
- color?: import(".store/@mui-types-virtual-220a08ab6a/package").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
58
+ color?: import(".store/@mui-types-virtual-dbfde2226d/package").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
59
59
  itemProp?: string | undefined;
60
60
  itemScope?: boolean | undefined;
61
61
  itemType?: string | undefined;
@@ -299,7 +299,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
299
299
  endIcon?: React.ReactNode;
300
300
  fullWidth?: boolean | undefined;
301
301
  href?: string | undefined;
302
- size?: import(".store/@mui-types-virtual-220a08ab6a/package").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
302
+ size?: import(".store/@mui-types-virtual-dbfde2226d/package").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
303
303
  startIcon?: React.ReactNode;
304
304
  formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
305
305
  formEncType?: string | undefined;
@@ -9,5 +9,5 @@ export interface DappsRowProps {
9
9
  xnsNodeUrl: string | undefined;
10
10
  }
11
11
  export declare const DappsRow: React.FC<DappsRowProps>;
12
- export declare const StyledGridContainer: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
12
+ export declare const StyledGridContainer: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
13
13
  //# sourceMappingURL=Row.d.ts.map
@@ -1,7 +1,7 @@
1
- export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
1
+ export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-8503470a7a/package").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
2
  export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<Pick<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">, "classes" | "className" | "style" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"> & import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
+ }, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider">, "classes" | "className" | "style" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"> & import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
5
  active?: boolean;
6
6
  }, {}, {}>;
7
7
  //# sourceMappingURL=StyledListItems.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-982cf89f35/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
1
+ export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-8503470a7a/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
2
2
  //# sourceMappingURL=StyledLoadingIndicator.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/os-react-runtime",
3
- "version": "2.3.2",
3
+ "version": "3.0.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,50 +29,50 @@
29
29
  "main": "dist/browser/index.mjs",
30
30
  "types": "dist/browser/index.d.ts",
31
31
  "dependencies": {
32
- "@mui/icons-material": "^6.1.1",
33
- "@react-spring/web": "^9.7.4",
34
- "@xylabs/assert": "^4.0.10",
35
- "@xylabs/forget": "^4.0.10",
36
- "@xylabs/hex": "^4.0.10",
37
- "@xylabs/lodash": "^4.0.10",
38
- "@xylabs/object": "^4.0.10",
39
- "@xylabs/promise": "^4.0.10",
40
- "@xylabs/react-animation": "^5.0.1",
41
- "@xylabs/react-async-effect": "^5.0.1",
42
- "@xylabs/react-button": "^5.0.1",
43
- "@xylabs/react-flexbox": "^5.0.1",
44
- "@xylabs/react-invertible-theme": "^5.0.1",
45
- "@xylabs/react-link": "^5.0.1",
46
- "@xylabs/react-promise": "^5.0.1",
47
- "@xylabs/react-shared": "^5.0.1",
32
+ "@mui/icons-material": "^6.1.2",
33
+ "@react-spring/web": "^9.7.5",
34
+ "@xylabs/assert": "^4.1.0",
35
+ "@xylabs/forget": "^4.1.0",
36
+ "@xylabs/hex": "^4.1.0",
37
+ "@xylabs/lodash": "^4.1.0",
38
+ "@xylabs/object": "^4.1.0",
39
+ "@xylabs/promise": "^4.1.0",
40
+ "@xylabs/react-animation": "^5.1.0",
41
+ "@xylabs/react-async-effect": "^5.1.0",
42
+ "@xylabs/react-button": "^5.1.0",
43
+ "@xylabs/react-flexbox": "^5.1.0",
44
+ "@xylabs/react-invertible-theme": "^5.1.0",
45
+ "@xylabs/react-link": "^5.1.0",
46
+ "@xylabs/react-promise": "^5.1.0",
47
+ "@xylabs/react-shared": "^5.1.0",
48
48
  "@xyo-network/archivist-indexeddb": "^3.1.14",
49
49
  "@xyo-network/archivist-model": "^3.1.14",
50
- "@xyo-network/bios-browser": "^3.2.2",
51
- "@xyo-network/bios-model": "^3.2.2",
50
+ "@xyo-network/bios-browser": "^4.0.1",
51
+ "@xyo-network/bios-model": "^4.0.1",
52
52
  "@xyo-network/diviner-boundwitness-indexeddb": "^3.1.14",
53
53
  "@xyo-network/diviner-model": "^3.1.14",
54
54
  "@xyo-network/diviner-payload-generic": "^3.1.14",
55
55
  "@xyo-network/diviner-payload-indexeddb": "^3.1.14",
56
56
  "@xyo-network/diviner-payload-model": "^3.1.14",
57
- "@xyo-network/kernel": "^3.2.2",
58
- "@xyo-network/kernel-model": "^3.2.2",
57
+ "@xyo-network/kernel": "^4.0.1",
58
+ "@xyo-network/kernel-model": "^4.0.1",
59
59
  "@xyo-network/module-abstract": "^3.1.14",
60
60
  "@xyo-network/module-events": "^3.1.14",
61
61
  "@xyo-network/module-factory-locator": "^3.1.14",
62
62
  "@xyo-network/node-model": "^3.1.14",
63
- "@xyo-network/os-model": "^3.2.2",
64
- "@xyo-network/os-react-debug": "^2.3.2",
65
- "@xyo-network/os-react-model": "^2.3.2",
66
- "@xyo-network/os-runtime": "^3.2.2",
63
+ "@xyo-network/os-model": "^4.0.1",
64
+ "@xyo-network/os-react-debug": "^3.0.1",
65
+ "@xyo-network/os-react-model": "^3.0.1",
66
+ "@xyo-network/os-runtime": "^4.0.1",
67
67
  "@xyo-network/payload-model": "^3.1.14",
68
- "@xyo-network/react-archivist": "^4.0.1",
69
- "@xyo-network/react-card": "^4.0.1",
70
- "@xyo-network/react-error": "^4.0.1",
71
- "@xyo-network/react-form-credit-card": "^4.0.1",
72
- "@xyo-network/react-node": "^4.0.1",
73
- "@xyo-network/react-shared": "^4.0.1",
74
- "@xyo-network/react-table": "^4.0.1",
75
- "@xyo-network/react-wallet": "^4.0.1",
68
+ "@xyo-network/react-archivist": "^4.0.4",
69
+ "@xyo-network/react-card": "^4.0.4",
70
+ "@xyo-network/react-error": "^4.0.4",
71
+ "@xyo-network/react-form-credit-card": "^4.0.4",
72
+ "@xyo-network/react-node": "^4.0.4",
73
+ "@xyo-network/react-shared": "^4.0.4",
74
+ "@xyo-network/react-table": "^4.0.4",
75
+ "@xyo-network/react-wallet": "^4.0.4",
76
76
  "@xyo-network/wallet-model": "^3.1.14",
77
77
  "country-region-data": "^3.0.0",
78
78
  "luxon": "^3.5.0",
@@ -85,28 +85,28 @@
85
85
  "devDependencies": {
86
86
  "@emotion/react": "^11.13.3",
87
87
  "@emotion/styled": "^11.13.0",
88
- "@mui/material": "^6.1.1",
89
- "@mui/styles": "^6.1.1",
90
- "@storybook/react": "^8.3.4",
88
+ "@mui/material": "^6.1.2",
89
+ "@mui/styles": "^6.1.2",
90
+ "@storybook/react": "^8.3.5",
91
91
  "@types/luxon": "^3.4.2",
92
- "@types/react": "^18.3.10",
92
+ "@types/react": "^18.3.11",
93
93
  "@types/react-helmet": "^6.1.11",
94
- "@xylabs/ts-scripts-react-yarn3": "^4.0.7",
95
- "@xylabs/ts-scripts-yarn3": "^4.0.7",
96
- "@xylabs/tsconfig": "^4.0.7",
97
- "@xylabs/tsconfig-dom": "^4.0.7",
98
- "@xylabs/tsconfig-react": "^4.0.7",
94
+ "@xylabs/ts-scripts-react-yarn3": "^4.1.0",
95
+ "@xylabs/ts-scripts-yarn3": "^4.1.0",
96
+ "@xylabs/tsconfig": "^4.1.0",
97
+ "@xylabs/tsconfig-dom": "^4.1.0",
98
+ "@xylabs/tsconfig-react": "^4.1.0",
99
99
  "react": "^18.3.1",
100
100
  "react-dom": "^18.3.1",
101
- "storybook": "^8.3.4",
101
+ "storybook": "^8.3.5",
102
102
  "typescript": "^5.6.2"
103
103
  },
104
104
  "peerDependencies": {
105
105
  "@emotion/react": "^11",
106
106
  "@emotion/styled": "^11",
107
- "@mui/icons-material": "^5",
108
- "@mui/material": "^5",
109
- "@mui/styles": "^5",
107
+ "@mui/icons-material": "^6",
108
+ "@mui/material": "^6",
109
+ "@mui/styles": "^6",
110
110
  "react": "^18",
111
111
  "react-dom": "^18"
112
112
  },
@@ -53,7 +53,7 @@ function Deck() {
53
53
  const isGone = gone.has(index)
54
54
  const x
55
55
  = isGone
56
- ? (200 + window.innerWidth) * dir
56
+ ? (200 + globalThis.innerWidth) * dir
57
57
  : down
58
58
  ? mx
59
59
  : 0 // When a card is gone it flys out left or right, otherwise goes back to zero
@@ -22,7 +22,7 @@ export const ErrorRenderWithSupport: React.FC<ErrorRenderWithSupportProps> = ({
22
22
  const location = useLocation()
23
23
  useEffect(() => {
24
24
  // ensure we end up at the same place we are now after logging in
25
- location.state = { from: { pathname: window.location.pathname } }
25
+ location.state = { from: { pathname: globalThis.location.pathname } }
26
26
  }, [location])
27
27
  return (
28
28
  <ErrorAlert
@@ -104,11 +104,11 @@ export const ShiftAnimation: React.FC<ShiftAnimationProps> = ({
104
104
  if (!isShifted) {
105
105
  return
106
106
  }
107
- const timeoutId = window.setTimeout(() => {
107
+ const timeoutId = globalThis.setTimeout(() => {
108
108
  setIsShifted(false)
109
109
  }, 5)
110
110
  return () => {
111
- window.clearTimeout(timeoutId)
111
+ globalThis.clearTimeout(timeoutId)
112
112
  }
113
113
  }, [isShifted])
114
114
 
@@ -4,8 +4,8 @@ import { XyOsMonitor } from '@xyo-network/os-runtime'
4
4
  export class XyOsBrowserMonitor extends XyOsMonitor {
5
5
  protected connection(): Connection | undefined {
6
6
  try {
7
- if (window !== undefined) {
8
- return 'connection' in window.navigator ? (window.navigator.connection as Connection) : undefined
7
+ if (globalThis !== undefined) {
8
+ return 'connection' in globalThis.navigator ? (globalThis.navigator.connection as Connection) : undefined
9
9
  }
10
10
  } catch {
11
11
  return
@@ -8,7 +8,7 @@ export const CustomerParams = [
8
8
  // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
9
9
  export const useDetectCustomer = () => {
10
10
  return CustomerParams.find((customerParamSet) => {
11
- const searchParams = new URLSearchParams(window.location.search)
11
+ const searchParams = new URLSearchParams(globalThis.location.search)
12
12
  const searchParamValue = searchParams.get(customerParamSet.key)
13
13
 
14
14
  // if the customerParamSet.key is present and matches in *, we don't care about the value
@@ -15,7 +15,7 @@ export const usePhraseFile = (phrase?: string) => {
15
15
  if (payload) {
16
16
  try {
17
17
  const data = new Blob([JSON.stringify(payload, null, 2)], { type: 'text/plain' })
18
- return { phraseFile: window.URL.createObjectURL(data) }
18
+ return { phraseFile: globalThis.URL.createObjectURL(data) }
19
19
  } catch (e) {
20
20
  return { phraseFileError: e as Error }
21
21
  }
@@ -35,11 +35,11 @@ export const RotationAnimation: React.FC<RotationAnimationProps> = ({ children,
35
35
  if (!isRotated) {
36
36
  return
37
37
  }
38
- const timeoutId = window.setTimeout(() => {
38
+ const timeoutId = globalThis.setTimeout(() => {
39
39
  setIsRotated(false)
40
40
  }, 5)
41
41
  return () => {
42
- window.clearTimeout(timeoutId)
42
+ globalThis.clearTimeout(timeoutId)
43
43
  }
44
44
  }, [isRotated])
45
45
 
@@ -18,7 +18,7 @@ export const useManageDappInjectableParamsFromRoute = (context?: XyOsContext | n
18
18
  const [, callerError] = usePromise(async () => {
19
19
  if (context && (params || queryParams)) {
20
20
  const dappCaller = new DappCaller(context)
21
- const pathname = window.location.pathname
21
+ const pathname = globalThis.location.pathname
22
22
  await dappCaller.setDappInjectableRouteParams(queryParams, pathname)
23
23
  }
24
24
  }, [context, queryParams, params])
@@ -29,7 +29,7 @@ export const useManageDappInjectableParamsFromRoute = (context?: XyOsContext | n
29
29
  const listener = ({ payloads }: ArchivistModuleEventData['inserted']) => {
30
30
  const injectableParams = payloads.find(isDappInjectableParams)
31
31
  if (injectableParams && context) {
32
- const pathname = window.location.pathname
32
+ const pathname = globalThis.location.pathname
33
33
  if (pathname !== injectableParams.path) {
34
34
  navigate(injectableParams.path)
35
35
  }
@@ -7,10 +7,10 @@ export const useOnWindowResize = () => {
7
7
  const onResize = (event: UIEvent) => {
8
8
  setResized(event)
9
9
  }
10
- window.addEventListener('resize', onResize, false)
10
+ globalThis.addEventListener('resize', onResize, false)
11
11
 
12
12
  return () => {
13
- window.removeEventListener('resize', onResize)
13
+ globalThis.removeEventListener('resize', onResize)
14
14
  }
15
15
  }, [])
16
16