yet-another-react-lightbox
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -42,3 +42,3 @@ import * as React from "react"; | ||
}; | ||
declare type ComponentProps<T> = T extends React.ComponentType<infer P> | React.Component<infer P> ? JSX.LibraryManagedAttributes<T, P> : never; | ||
declare type LightboxComponentProps<T> = T extends React.ComponentType<infer P> | React.Component<infer P> ? JSX.LibraryManagedAttributes<T, P> : never; | ||
declare type MakePartial<T> = T extends object ? Partial<T> : T; | ||
@@ -49,3 +49,3 @@ declare type NestedPartial<T extends object> = { | ||
declare type NestedOptional<T, K extends keyof T> = Omit<T, K> & NestedPartial<Pick<T, K>>; | ||
export declare const Lightbox: (props: NestedOptional<ComponentProps<typeof LightboxComponent>, "carousel" | "animation">) => JSX.Element; | ||
export declare const Lightbox: (props: NestedOptional<LightboxComponentProps<typeof LightboxComponent>, "carousel" | "animation">) => JSX.Element; | ||
export {}; |
{ | ||
"name": "yet-another-react-lightbox", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Modern lightbox component for React", | ||
@@ -67,3 +67,3 @@ "author": "Igor Danchenko", | ||
"dependencies": { | ||
"prop-types": "^15.8.1" | ||
"prop-types": "^15.5.7" | ||
}, | ||
@@ -80,3 +80,3 @@ "peerDependencies": { | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.2.0", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/user-event": "^14.2.0", | ||
@@ -83,0 +83,0 @@ "@types/jest": "^27.5.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77160
Updatedprop-types@^15.5.7