@meduza/ui-kit-2 0.1.60 → 0.1.61

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.60",
2
+ "version": "0.1.61",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
package/src/types.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ImageProps } from './Image/Image.types'
1
2
  export interface OptimizedImageItem {
2
3
  '1x': string
3
4
  '2x': string
@@ -17,7 +18,7 @@ export type CallToActions =
17
18
  | 'cross'
18
19
 
19
20
  export interface LightboxContext {
20
- show: (image?: OptimizedImageItem, alt?: string) => void
21
+ show: (image?: ImageProps['optimized'], alt?: ImageProps['alt']) => void
21
22
  hide: () => void
22
23
  visible: boolean
23
24
  }