lkd-web-kit 0.5.2 → 0.5.3

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -339,7 +339,7 @@ export declare interface LayoutProps {
339
339
  params: Promise<PageParams>;
340
340
  }
341
341
 
342
- export declare type ModalManagerWrappedComponentProps<T = any> = T & {
342
+ export declare type ModalManagerWrappedComponentProps<T extends object> = T & {
343
343
  modalProps: ModalProps;
344
344
  };
345
345
 
@@ -571,7 +571,7 @@ export declare interface WithControllerProps {
571
571
  disabled?: boolean;
572
572
  }
573
573
 
574
- export declare const withModalManager: <CustomProps extends Object>(WrappedComponent: React.ComponentType<ModalManagerWrappedComponentProps<CustomProps>>) => FC<CustomProps & {
574
+ export declare const withModalManager: <CustomProps extends object>(WrappedComponent: React.ComponentType<ModalManagerWrappedComponentProps<CustomProps>>) => FC<CustomProps & {
575
575
  modalProps: ModalProps;
576
576
  } & WithModalManagerProps>;
577
577
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",