dry-ux 1.5.0 → 1.6.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.
@@ -6,6 +6,7 @@ const Modal = React.memo(({ handleClose, shown, options: { content, cssClass, cl
6
6
  React.useEffect(() => {
7
7
  if (shown) {
8
8
  $(".modal-dialog").css("width", width);
9
+ $("[role=dialog]").css("opacity", 1);
9
10
  $(".modal-backdrop").css("height", $(document).height());
10
11
  }
11
12
  }, [shown, width]);
@@ -14,7 +15,7 @@ const Modal = React.memo(({ handleClose, shown, options: { content, cssClass, cl
14
15
  onClose && onClose();
15
16
  };
16
17
  const contentToRender = typeof content == "string" ? React.createElement("div", { dangerouslySetInnerHTML: { __html: content } }) : content;
17
- return (React.createElement(react_bootstrap_1.Modal, { onHide: hide, show: shown, animation: true, autoFocus: true, keyboard: false, className: cssClass, backdropStyle: { zIndex: 1040 }, backdrop: "static" },
18
+ return (React.createElement(react_bootstrap_1.Modal, { onHide: hide, show: shown, animation: true, autoFocus: true, keyboard: false, className: cssClass, backdropStyle: { zIndex: 1040, opacity: 0.5 }, backdrop: "static" },
18
19
  !!title && (React.createElement(react_bootstrap_1.Modal.Header, { closeButton: titleCloseBtn, onHide: hide },
19
20
  React.createElement(react_bootstrap_1.Modal.Title, null, title))),
20
21
  React.createElement(react_bootstrap_1.Modal.Body, null, contentToRender),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dry-ux",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "main": "dist/index",
6
6
  "scripts": {
@@ -8,8 +8,8 @@
8
8
  "watch": "rimraf dist/ && tsc --watch",
9
9
  "format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
10
10
  "update:version": "npm version minor --no-git-tag-version",
11
- "prepublish:npm": "npm run format && npm run build && npm run update:version",
12
- "publish:npm": "npm run prepublish:npm && npm publish"
11
+ "prepub:npm": "npm run format && npm run build && npm run update:version",
12
+ "publish:npm": "npm run prepub:npm && npm publish"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",