@tachybase/components 1.6.13-alpha.3 → 1.6.13-alpha.5

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.
@@ -1,5 +1,4 @@
1
1
  import { Component } from 'react';
2
- import './style.css';
3
2
  import { IReactImageLightboxProps, IReactImageLightboxState } from './interface';
4
3
  declare class ReactImageLightbox extends Component<IReactImageLightboxProps, IReactImageLightboxState> {
5
4
  moveRequested: boolean;
@@ -37,7 +37,6 @@ var import_prop_types = __toESM(require("prop-types"));
37
37
  var import_react_modal = __toESM(require("react-modal"));
38
38
  var import_constant = require("./constant");
39
39
  var import_util = require("./util");
40
- var import_style = require("./style.css");
41
40
  const _ReactImageLightbox = class _ReactImageLightbox extends import_react.Component {
42
41
  static isTargetMatchImage(target) {
43
42
  return target && /ril-image-current/.test(target.className);
@@ -155,6 +154,7 @@ const _ReactImageLightbox = class _ReactImageLightbox extends import_react.Compo
155
154
  this.moveRequested = false;
156
155
  }
157
156
  componentDidMount() {
157
+ void import("./style.css");
158
158
  if (!this.props.animationDisabled) {
159
159
  this.setState({ isClosing: false });
160
160
  }
package/lib/style.d.js ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/components",
3
- "version": "1.6.13-alpha.3",
3
+ "version": "1.6.13-alpha.5",
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.13-alpha.3"
29
+ "@tachybase/schema": "1.6.13-alpha.5"
30
30
  },
31
31
  "devDependencies": {
32
32
  "rc-cascader": "3.31.0",