@tachybase/components 1.6.10-alpha.1 → 1.6.11-alpha.1

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.
@@ -32,6 +32,7 @@ export interface IReactImageLightboxProps {
32
32
  zoomOutLabel?: string;
33
33
  closeLabel?: string;
34
34
  imageCaption?: any;
35
+ otherProps?: any;
35
36
  }
36
37
  export interface IReactImageLightboxState {
37
38
  zoomLevel: number;
@@ -987,7 +987,8 @@ const _ReactImageLightbox = class _ReactImageLightbox extends import_react.Compo
987
987
  onAfterOpen,
988
988
  imageCrossOrigin,
989
989
  reactModalProps,
990
- loader
990
+ loader,
991
+ otherProps
991
992
  } = this.props;
992
993
  const { zoomLevel, offsetX, offsetY, isClosing, loadErrorStatus } = this.state;
993
994
  const boxSize = this.getLightboxRect();
@@ -1036,6 +1037,7 @@ const _ReactImageLightbox = class _ReactImageLightbox extends import_react.Compo
1036
1037
  alignItems: "center"
1037
1038
  },
1038
1039
  children: checkedComponent({
1040
+ ...otherProps,
1039
1041
  key: `${fieldType + keyEndings[srcType]}`,
1040
1042
  onDoubleClick: this.handleImageDoubleClick,
1041
1043
  onWheel: this.handleImageMouseWheel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/components",
3
- "version": "1.6.10-alpha.1",
3
+ "version": "1.6.11-alpha.1",
4
4
  "homepage": "https://github.com/tegojs/tego#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/tegojs/tego/issues"
@@ -26,7 +26,7 @@
26
26
  "prop-types": "^15.8.1",
27
27
  "react-modal": "^3.16.3",
28
28
  "react-sticky-box": "^1.0.2",
29
- "@tachybase/schema": "1.6.10-alpha.1"
29
+ "@tachybase/schema": "1.6.11-alpha.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "rc-cascader": "3.31.0",