@speakapbv/dough-component-library 10.4.0 → 10.5.0

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.
@@ -23,6 +23,7 @@ export interface ImageProps {
23
23
  borderRadius?: boolean;
24
24
  size?: Sizes;
25
25
  src?: string;
26
+ zIndex?: number;
26
27
  }
27
28
  export declare const Image: {
28
29
  (props: ImageProps): JSX.Element;
package/dist/index.es.js CHANGED
@@ -5448,12 +5448,12 @@ var Image = function (props) {
5448
5448
  "dough-image-with-ratio": props.ratio,
5449
5449
  "dough-image-viewer-fit-to-view": props.fitToView,
5450
5450
  "dough-image-viewer-show-children-on-hover": props.showChildrenOnHover,
5451
- }), style: __assign({ height: (_a = props.height) !== null && _a !== void 0 ? _a : "initial", width: (_b = props.width) !== null && _b !== void 0 ? _b : "initial" }, (props.ratio
5451
+ }), style: __assign(__assign({ height: (_a = props.height) !== null && _a !== void 0 ? _a : "initial", width: (_b = props.width) !== null && _b !== void 0 ? _b : "initial" }, (props.ratio
5452
5452
  ? {
5453
5453
  paddingTop: (props.ratio.height * 100) /
5454
5454
  props.ratio.width + "%",
5455
5455
  }
5456
- : {})) }, props.dataAttributes),
5456
+ : {})), (props.zIndex ? { zIndex: props.zIndex } : {})) }, props.dataAttributes),
5457
5457
  React.createElement("img", { alt: "", src: props.src, style: {
5458
5458
  opacity: props.opacity,
5459
5459
  } }),
package/dist/index.js CHANGED
@@ -5430,12 +5430,12 @@ var Image = function (props) {
5430
5430
  "dough-image-with-ratio": props.ratio,
5431
5431
  "dough-image-viewer-fit-to-view": props.fitToView,
5432
5432
  "dough-image-viewer-show-children-on-hover": props.showChildrenOnHover,
5433
- }), style: __assign({ height: (_a = props.height) !== null && _a !== void 0 ? _a : "initial", width: (_b = props.width) !== null && _b !== void 0 ? _b : "initial" }, (props.ratio
5433
+ }), style: __assign(__assign({ height: (_a = props.height) !== null && _a !== void 0 ? _a : "initial", width: (_b = props.width) !== null && _b !== void 0 ? _b : "initial" }, (props.ratio
5434
5434
  ? {
5435
5435
  paddingTop: (props.ratio.height * 100) /
5436
5436
  props.ratio.width + "%",
5437
5437
  }
5438
- : {})) }, props.dataAttributes),
5438
+ : {})), (props.zIndex ? { zIndex: props.zIndex } : {})) }, props.dataAttributes),
5439
5439
  React__default.createElement("img", { alt: "", src: props.src, style: {
5440
5440
  opacity: props.opacity,
5441
5441
  } }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "10.4.0",
3
+ "version": "10.5.0",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",