@xyo-network/react-error 2.60.12 → 2.61.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +1 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.d.ts +21 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.stories.d.mts +7 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.stories.d.mts.map +1 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.stories.d.ts +7 -0
- package/dist/components/ErrorBoundary/ThrownErrorBoundary.stories.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/index.d.mts.map +1 -0
- package/dist/{esm/components/ErrorBoundary/index.js → components/ErrorBoundary/index.d.ts} +1 -1
- package/dist/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/components/ErrorRender/ErrorAlert.d.mts.map +1 -0
- package/dist/components/ErrorRender/ErrorAlert.d.ts +10 -0
- package/dist/components/ErrorRender/ErrorAlert.d.ts.map +1 -0
- package/dist/components/ErrorRender/Props.d.mts.map +1 -0
- package/dist/components/ErrorRender/Props.d.ts +12 -0
- package/dist/components/ErrorRender/Props.d.ts.map +1 -0
- package/dist/components/ErrorRender/Render.d.mts.map +1 -0
- package/dist/components/ErrorRender/Render.d.ts +4 -0
- package/dist/components/ErrorRender/Render.d.ts.map +1 -0
- package/dist/components/ErrorRender/index.d.mts.map +1 -0
- package/dist/{esm/components/ErrorRender/index.js → components/ErrorRender/index.d.ts} +1 -1
- package/dist/components/ErrorRender/index.d.ts.map +1 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
- package/dist/components/index.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/Context.d.mts.map +1 -0
- package/dist/contexts/ErrorReporter/Context.d.ts +4 -0
- package/dist/contexts/ErrorReporter/Context.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/Provider.d.mts.map +1 -0
- package/dist/contexts/ErrorReporter/Provider.d.ts +9 -0
- package/dist/contexts/ErrorReporter/Provider.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/Provider.stories.d.mts +10 -0
- package/dist/contexts/ErrorReporter/Provider.stories.d.mts.map +1 -0
- package/dist/contexts/ErrorReporter/Provider.stories.d.ts +10 -0
- package/dist/contexts/ErrorReporter/Provider.stories.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/State.d.mts.map +1 -0
- package/dist/contexts/ErrorReporter/State.d.ts +5 -0
- package/dist/contexts/ErrorReporter/State.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/index.d.mts.map +1 -0
- package/dist/{esm/contexts/ErrorReporter/index.js → contexts/ErrorReporter/index.d.ts} +1 -1
- package/dist/contexts/ErrorReporter/index.d.ts.map +1 -0
- package/dist/contexts/ErrorReporter/useRollbar.d.mts.map +1 -0
- package/dist/contexts/ErrorReporter/useRollbar.d.ts +3 -0
- package/dist/contexts/ErrorReporter/useRollbar.d.ts.map +1 -0
- package/dist/contexts/index.d.mts.map +1 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/docs.json +1046 -1172
- package/dist/index.d.mts.map +1 -0
- package/dist/{esm/index.js → index.d.ts} +1 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +159 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +118 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +28 -20
- package/dist/cjs/components/ErrorBoundary/ThrownErrorBoundary.js +0 -43
- package/dist/cjs/components/ErrorBoundary/ThrownErrorBoundary.js.map +0 -1
- package/dist/cjs/components/ErrorBoundary/index.js +0 -5
- package/dist/cjs/components/ErrorBoundary/index.js.map +0 -1
- package/dist/cjs/components/ErrorRender/ErrorAlert.js +0 -14
- package/dist/cjs/components/ErrorRender/ErrorAlert.js.map +0 -1
- package/dist/cjs/components/ErrorRender/Props.js +0 -3
- package/dist/cjs/components/ErrorRender/Props.js.map +0 -1
- package/dist/cjs/components/ErrorRender/Render.js +0 -30
- package/dist/cjs/components/ErrorRender/Render.js.map +0 -1
- package/dist/cjs/components/ErrorRender/index.js +0 -7
- package/dist/cjs/components/ErrorRender/index.js.map +0 -1
- package/dist/cjs/components/index.js +0 -6
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/cjs/contexts/ErrorReporter/Context.js +0 -6
- package/dist/cjs/contexts/ErrorReporter/Context.js.map +0 -1
- package/dist/cjs/contexts/ErrorReporter/Provider.js +0 -17
- package/dist/cjs/contexts/ErrorReporter/Provider.js.map +0 -1
- package/dist/cjs/contexts/ErrorReporter/State.js +0 -3
- package/dist/cjs/contexts/ErrorReporter/State.js.map +0 -1
- package/dist/cjs/contexts/ErrorReporter/index.js +0 -7
- package/dist/cjs/contexts/ErrorReporter/index.js.map +0 -1
- package/dist/cjs/contexts/ErrorReporter/useRollbar.js +0 -14
- package/dist/cjs/contexts/ErrorReporter/useRollbar.js.map +0 -1
- package/dist/cjs/contexts/index.js +0 -5
- package/dist/cjs/contexts/index.js.map +0 -1
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/components/ErrorBoundary/ThrownErrorBoundary.js +0 -36
- package/dist/esm/components/ErrorBoundary/ThrownErrorBoundary.js.map +0 -1
- package/dist/esm/components/ErrorBoundary/index.js.map +0 -1
- package/dist/esm/components/ErrorRender/ErrorAlert.js +0 -8
- package/dist/esm/components/ErrorRender/ErrorAlert.js.map +0 -1
- package/dist/esm/components/ErrorRender/Props.js +0 -2
- package/dist/esm/components/ErrorRender/Props.js.map +0 -1
- package/dist/esm/components/ErrorRender/Render.js +0 -23
- package/dist/esm/components/ErrorRender/Render.js.map +0 -1
- package/dist/esm/components/ErrorRender/index.js.map +0 -1
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/contexts/ErrorReporter/Context.js +0 -3
- package/dist/esm/contexts/ErrorReporter/Context.js.map +0 -1
- package/dist/esm/contexts/ErrorReporter/Provider.js +0 -14
- package/dist/esm/contexts/ErrorReporter/Provider.js.map +0 -1
- package/dist/esm/contexts/ErrorReporter/State.js +0 -2
- package/dist/esm/contexts/ErrorReporter/State.js.map +0 -1
- package/dist/esm/contexts/ErrorReporter/index.js.map +0 -1
- package/dist/esm/contexts/ErrorReporter/useRollbar.js +0 -11
- package/dist/esm/contexts/ErrorReporter/useRollbar.js.map +0 -1
- package/dist/esm/contexts/index.js +0 -2
- package/dist/esm/contexts/index.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/types/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +0 -1
- package/dist/types/components/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/types/components/ErrorRender/ErrorAlert.d.ts.map +0 -1
- package/dist/types/components/ErrorRender/Props.d.ts.map +0 -1
- package/dist/types/components/ErrorRender/Render.d.ts.map +0 -1
- package/dist/types/components/ErrorRender/index.d.ts.map +0 -1
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/contexts/ErrorReporter/Context.d.ts.map +0 -1
- package/dist/types/contexts/ErrorReporter/Provider.d.ts.map +0 -1
- package/dist/types/contexts/ErrorReporter/State.d.ts.map +0 -1
- package/dist/types/contexts/ErrorReporter/index.d.ts.map +0 -1
- package/dist/types/contexts/ErrorReporter/useRollbar.d.ts.map +0 -1
- package/dist/types/contexts/index.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- /package/dist/{types/components/ErrorBoundary/ThrownErrorBoundary.d.ts → components/ErrorBoundary/ThrownErrorBoundary.d.mts} +0 -0
- /package/dist/{types/components/ErrorBoundary/index.d.ts → components/ErrorBoundary/index.d.mts} +0 -0
- /package/dist/{types/components/ErrorRender/ErrorAlert.d.ts → components/ErrorRender/ErrorAlert.d.mts} +0 -0
- /package/dist/{types/components/ErrorRender/Props.d.ts → components/ErrorRender/Props.d.mts} +0 -0
- /package/dist/{types/components/ErrorRender/Render.d.ts → components/ErrorRender/Render.d.mts} +0 -0
- /package/dist/{types/components/ErrorRender/index.d.ts → components/ErrorRender/index.d.mts} +0 -0
- /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
- /package/dist/{types/contexts/ErrorReporter/Context.d.ts → contexts/ErrorReporter/Context.d.mts} +0 -0
- /package/dist/{types/contexts/ErrorReporter/Provider.d.ts → contexts/ErrorReporter/Provider.d.mts} +0 -0
- /package/dist/{types/contexts/ErrorReporter/State.d.ts → contexts/ErrorReporter/State.d.mts} +0 -0
- /package/dist/{types/contexts/ErrorReporter/index.d.ts → contexts/ErrorReporter/index.d.mts} +0 -0
- /package/dist/{types/contexts/ErrorReporter/useRollbar.d.ts → contexts/ErrorReporter/useRollbar.d.mts} +0 -0
- /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
- /package/dist/{types/index.d.ts → index.d.mts} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACvD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACrE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;IACpF,KAAK,EAAE,wBAAwB,CAE9C;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;WAI9B,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,WAAW;IAMrD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAYpD,MAAM;CAYvB"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { ModuleError } from '@xyo-network/payload-model';
|
2
|
+
import { Component, ErrorInfo, ReactNode } from 'react';
|
3
|
+
import Rollbar from 'rollbar';
|
4
|
+
export interface ThrownErrorBoundaryProps {
|
5
|
+
boundaryName?: string;
|
6
|
+
children: ReactNode;
|
7
|
+
errorComponent?: (e: ModuleError, boundaryName?: string) => ReactNode;
|
8
|
+
rethrow?: boolean;
|
9
|
+
rollbar?: Rollbar;
|
10
|
+
}
|
11
|
+
export interface ThrownErrorBoundaryState {
|
12
|
+
xyoError?: ModuleError;
|
13
|
+
}
|
14
|
+
export declare class ThrownErrorBoundary extends Component<ThrownErrorBoundaryProps, ThrownErrorBoundaryState> {
|
15
|
+
state: ThrownErrorBoundaryState;
|
16
|
+
static getDerivedStateFromError(error: Error): ThrownErrorBoundaryState;
|
17
|
+
static normalizeError(error: Error | ModuleError): ModuleError;
|
18
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
19
|
+
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=ThrownErrorBoundary.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACvD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACrE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;IACpF,KAAK,EAAE,wBAAwB,CAE9C;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;WAI9B,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,WAAW;IAMrD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAYpD,MAAM;CAYvB"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta } from '@storybook/react';
|
2
|
+
declare const StorybookEntry: Meta;
|
3
|
+
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./ThrownErrorBoundary").ThrownErrorBoundaryProps>;
|
4
|
+
declare const CustomErrorComponent: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./ThrownErrorBoundary").ThrownErrorBoundaryProps>;
|
5
|
+
export { CustomErrorComponent, Default };
|
6
|
+
export default StorybookEntry;
|
7
|
+
//# sourceMappingURL=ThrownErrorBoundary.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ThrownErrorBoundary.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ThrownErrorBoundary.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAA;AAIhD,QAAA,MAAM,cAAc,EAAE,IAGrB,CAAA;AAUD,QAAA,MAAM,OAAO,yJAAoB,CAAA;AAGjC,QAAA,MAAM,oBAAoB,yJAAoB,CAAA;AAK9C,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,CAAA;AAGxC,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta } from '@storybook/react';
|
2
|
+
declare const StorybookEntry: Meta;
|
3
|
+
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./ThrownErrorBoundary").ThrownErrorBoundaryProps>;
|
4
|
+
declare const CustomErrorComponent: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./ThrownErrorBoundary").ThrownErrorBoundaryProps>;
|
5
|
+
export { CustomErrorComponent, Default };
|
6
|
+
export default StorybookEntry;
|
7
|
+
//# sourceMappingURL=ThrownErrorBoundary.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ThrownErrorBoundary.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ThrownErrorBoundary.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAA;AAIhD,QAAA,MAAM,cAAc,EAAE,IAGrB,CAAA;AAUD,QAAA,MAAM,OAAO,yJAAoB,CAAA;AAGjC,QAAA,MAAM,oBAAoB,yJAAoB,CAAA;AAK9C,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,CAAA;AAGxC,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export * from './ThrownErrorBoundary';
|
2
|
-
//# sourceMappingURL=index.
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":";AACA,OAAO,EAAS,UAAU,EAA0B,MAAM,eAAe,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAExD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoBhD,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { AlertProps } from '@mui/material';
|
3
|
+
import { ModuleError } from '@xyo-network/payload-model';
|
4
|
+
export interface ErrorAlertProps extends AlertProps {
|
5
|
+
error?: ModuleError | Error;
|
6
|
+
errorContext?: string;
|
7
|
+
onCancel?: () => void;
|
8
|
+
}
|
9
|
+
export declare const ErrorAlert: React.FC<ErrorAlertProps>;
|
10
|
+
//# sourceMappingURL=ErrorAlert.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":";AACA,OAAO,EAAS,UAAU,EAA0B,MAAM,eAAe,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAExD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoBhD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
+
import { ModuleError } from '@xyo-network/payload-model';
|
3
|
+
import { ReactNode } from 'react';
|
4
|
+
export interface ErrorRenderProps extends FlexBoxProps {
|
5
|
+
customError?: ReactNode;
|
6
|
+
error?: ModuleError | Error;
|
7
|
+
errorContext?: string;
|
8
|
+
noErrorDisplay?: boolean;
|
9
|
+
noReAuth?: boolean;
|
10
|
+
onCancel?: () => void;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=Props.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkClD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkClD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEnD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEnD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAU7E,CAAA;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { WithChildren } from '@xylabs/react-shared';
|
3
|
+
import Rollbar from 'rollbar';
|
4
|
+
export interface ErrorReporterProviderProps {
|
5
|
+
rollbar: Rollbar;
|
6
|
+
}
|
7
|
+
declare const ErrorReporterProvider: React.FC<WithChildren<ErrorReporterProviderProps>>;
|
8
|
+
export { ErrorReporterProvider };
|
9
|
+
//# sourceMappingURL=Provider.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAU7E,CAAA;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("./Provider").ErrorReporterProviderProps, "children"> & {
|
3
|
+
children?: import("react").ReactNode;
|
4
|
+
}>;
|
5
|
+
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("./Provider").ErrorReporterProviderProps, "children"> & {
|
6
|
+
children?: import("react").ReactNode;
|
7
|
+
}>;
|
8
|
+
export { Default };
|
9
|
+
export default StorybookEntry;
|
10
|
+
//# sourceMappingURL=Provider.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.stories.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Provider.stories.tsx"],"names":[],"mappings":";AAOA,QAAA,MAAM,cAAc;;EASmB,CAAA;AAkBvC,QAAA,MAAM,OAAO;;EAAoB,CAAA;AAEjC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("./Provider").ErrorReporterProviderProps, "children"> & {
|
3
|
+
children?: import("react").ReactNode;
|
4
|
+
}>;
|
5
|
+
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("./Provider").ErrorReporterProviderProps, "children"> & {
|
6
|
+
children?: import("react").ReactNode;
|
7
|
+
}>;
|
8
|
+
export { Default };
|
9
|
+
export default StorybookEntry;
|
10
|
+
//# sourceMappingURL=Provider.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Provider.stories.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/Provider.stories.tsx"],"names":[],"mappings":";AAOA,QAAA,MAAM,cAAc;;EASmB,CAAA;AAkBvC,QAAA,MAAM,OAAO;;EAAoB,CAAA;AAEjC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useRollbar.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/useRollbar.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,UAAU,mDAOf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useRollbar.d.ts","sourceRoot":"","sources":["../../../src/contexts/ErrorReporter/useRollbar.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,UAAU,mDAOf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|