@oliasoft-open-source/react-ui-library 9.4.2-beta-1 → 9.4.3-beta-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 (2) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ChangeEvent } from 'react';
2
2
  import { Color as Color_2 } from 'react-aria-components/ColorPicker';
3
+ import { ComponentType } from 'react';
3
4
  import { Context } from 'react';
4
5
  import { CSSProperties } from 'react';
5
6
  import { default as default_2 } from 'react';
@@ -2462,8 +2463,8 @@ declare type ViewType = typeof SPLIT_VIEW | typeof UNIFIED_VIEW;
2462
2463
 
2463
2464
  export declare const widthOfCharacters: (characterCount: number) => string;
2464
2465
 
2465
- export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <T extends default_2.JSXElementConstructor<any>>(Component: T) => T;
2466
+ export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <P extends object>(Component: ComponentType<P>) => ComponentType<P>;
2466
2467
 
2467
- export declare const withErrorBoundary: <T extends default_2.JSXElementConstructor<any>>(Component: T, options?: ErrorBoundaryOptions) => T;
2468
+ export declare const withErrorBoundary: <P extends object>(Component: ComponentType<P>, options?: ErrorBoundaryOptions) => ComponentType<P>;
2468
2469
 
2469
2470
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "9.4.2-beta-1",
3
+ "version": "9.4.3-beta-1",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {