@meduza/ui-kit-2 0.1.48 → 0.1.49

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.
@@ -436,8 +436,6 @@ var Image = function Image(_ref) {
436
436
  height = _ref.height,
437
437
  source = _ref.source,
438
438
  lazy = _ref.lazy,
439
- _ref$fullscreen = _ref.fullscreen,
440
- fullscreen = _ref$fullscreen === void 0 ? true : _ref$fullscreen,
441
439
  ratio = _ref.ratio,
442
440
  styleContext = _ref.styleContext;
443
441
 
@@ -449,7 +447,7 @@ var Image = function Image(_ref) {
449
447
  setIsLoaded = _useState[1];
450
448
 
451
449
  var handleClick = function handleClick() {
452
- if (!fullscreen || !lightBox || optimized && !optimized.original) {
450
+ if (!lightBox || optimized && !optimized.original) {
453
451
  return;
454
452
  }
455
453
 
@@ -466,7 +464,7 @@ var Image = function Image(_ref) {
466
464
  /* fallback w325 url until w6 was released */
467
465
 
468
466
  var fallbackSource = source && source[0] || optimized.w325 && optimized.w325['1x'] || optimized.original;
469
- var classNames = [[styles$4.root, true], [styles$4.isLoaded, isLoaded], [styles$4.fullscreen, fullscreen]];
467
+ var classNames = [[styles$4.root, true], [styles$4.isLoaded, isLoaded], [styles$4.fullscreen, lightBox && optimized && optimized.original]];
470
468
 
471
469
  if (styleContext) {
472
470
  classNames = makeStyleContext(classNames, styleContext, styles$4);