@tramvai/react 2.149.1 → 2.150.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.
@@ -1,3 +1,4 @@
1
1
  import type { Context } from 'react';
2
2
  import type { DI_TOKEN } from '@tinkoff/dippy';
3
3
  export declare const DIContext: Context<typeof DI_TOKEN>;
4
+ //# sourceMappingURL=context.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=di.test-types.d.ts.map
package/lib/di/hoc.d.ts CHANGED
@@ -3,3 +3,4 @@ import type { ProviderDeps, ProvideDepsIterator } from '@tinkoff/dippy';
3
3
  export declare const withDi: <T extends ProviderDeps>(deps: T) => <C extends React.ComponentType<Partial<ProvideDepsIterator<T>> & {
4
4
  children?: React.ReactNode;
5
5
  }>>(WrappedComponent: C) => C;
6
+ //# sourceMappingURL=hoc.d.ts.map
package/lib/di/hooks.d.ts CHANGED
@@ -12,3 +12,4 @@ declare function useDi<T extends ProviderDep>(dep: T): T extends string ? any :
12
12
  } ? OptionsType<OptionsToken, OptionsMulti, OptionsOptional> : T;
13
13
  declare function useDi<T extends ProviderDep>(dep: T): T extends string ? any : T;
14
14
  export { useDi };
15
+ //# sourceMappingURL=hooks.d.ts.map
@@ -42,3 +42,4 @@ export declare class UniversalErrorBoundary extends Component<Props, State> {
42
42
  render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
43
43
  }
44
44
  export {};
45
+ //# sourceMappingURL=UniversalErrorBoundary.d.ts.map
@@ -23,3 +23,4 @@ export declare class ErrorBoundary extends Component<Props, State> {
23
23
  render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
24
24
  }
25
25
  export {};
26
+ //# sourceMappingURL=component.d.ts.map
@@ -2,3 +2,4 @@ export declare const FallbackError: {
2
2
  (): import("react/jsx-runtime").JSX.Element;
3
3
  displayName: string;
4
4
  };
5
+ //# sourceMappingURL=fallback.d.ts.map
@@ -7,3 +7,4 @@ export declare const withError: ({ fallbackComponent }?: {
7
7
  }) => <T extends React.ComponentType<{
8
8
  children?: React.ReactNode;
9
9
  }>>(WrappedComponent: T) => T;
10
+ //# sourceMappingURL=hoc.d.ts.map
@@ -20,3 +20,4 @@ export declare const ERROR_BOUNDARY_FALLBACK_COMPONENT_TOKEN: React.ReactElement
20
20
  __type?: "base token" | undefined;
21
21
  };
22
22
  export {};
23
+ //# sourceMappingURL=tokens.d.ts.map
@@ -12,3 +12,4 @@ interface Options {
12
12
  export declare const __lazyErrorHandler: (error: any, load: () => Promise<any>) => Promise<any>;
13
13
  export declare const lazy: <Props>(load: (props?: Props | undefined) => Promise<DefaultComponent<Props>>, options?: Options) => LoadableComponent<Props>;
14
14
  export {};
15
+ //# sourceMappingURL=lazy.d.ts.map
package/lib/react.d.ts CHANGED
@@ -8,3 +8,4 @@ export { withError } from './error/hoc';
8
8
  export * from './error/tokens';
9
9
  export { lazy, __lazyErrorHandler, resolveLazyComponent } from './lazy/lazy';
10
10
  export * from './typings/components';
11
+ //# sourceMappingURL=react.d.ts.map
@@ -34,3 +34,4 @@ export type NestedLayoutComponent = ComponentType<NestedLayoutComponentProps> &
34
34
  export type ErrorBoundaryComponent = ComponentType<UniversalErrorBoundaryFallbackProps> & Partial<MetaComponentOptions>;
35
35
  export type TramvaiComponent = PageComponent | LayoutComponent | NestedLayoutComponent | ErrorBoundaryComponent;
36
36
  export type TramvaiComponentDecl = TramvaiComponent | LazyComponentWrapper<TramvaiComponent>;
37
+ //# sourceMappingURL=components.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/react",
3
- "version": "2.149.1",
3
+ "version": "2.150.1",
4
4
  "description": "",
5
5
  "main": "lib/react.js",
6
6
  "typings": "lib/react.d.ts",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@loadable/component": "^5.15.2",
21
21
  "@types/loadable__component": "^5.13.4",
22
- "@tramvai/types-actions-state-context": "2.149.1",
22
+ "@tramvai/types-actions-state-context": "2.150.1",
23
23
  "hoist-non-react-statics": "^3.3.0"
24
24
  },
25
25
  "peerDependencies": {