dry-ux 1.61.0 → 1.63.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.
- package/dist/enhanced-inputs/HTMLInputs.d.ts +1 -1
- package/dist/enhanced-inputs/HTMLInputs.js +1 -1
- package/dist/styles/modal-overlay.css +26 -0
- package/dist/ui-utils/Modal.d.ts +1 -1
- package/dist/ui-utils/Modal.js +1 -1
- package/package.json +2 -2
- /package/dist/{enhanced-inputs/styles.css → styles/validation.css} +0 -0
|
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
exports.TextArea = exports.Select = exports.Input = void 0;
|
|
15
15
|
const React = require("react");
|
|
16
16
|
const withEnhancements_1 = require("./withEnhancements");
|
|
17
|
-
require("
|
|
17
|
+
require("../styles/validation.css");
|
|
18
18
|
/**
|
|
19
19
|
* Enhanced input component with enhancements applied.
|
|
20
20
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.dry-ux-overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: rgba(0, 0, 0, 0.65);
|
|
8
|
+
z-index: 1050;
|
|
9
|
+
border-radius: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dry-ux-overlay-content {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 50%;
|
|
15
|
+
left: 50%;
|
|
16
|
+
transform: translate(-50%, -50%);
|
|
17
|
+
background-color: white;
|
|
18
|
+
padding: 10px;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media only screen and (max-width: 767px) {
|
|
23
|
+
.dry-ux-overlay-content {
|
|
24
|
+
width: 90%;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/dist/ui-utils/Modal.d.ts
CHANGED
package/dist/ui-utils/Modal.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const react_bootstrap_1 = require("react-bootstrap");
|
|
5
|
-
require("
|
|
5
|
+
require("../styles/modal-overlay.css");
|
|
6
6
|
const Modal = React.memo(({ handleClose, shown, overlay, options: { content, footerContent, cssClass, closeBtn, title, width, onClose, titleCloseBtn = true, centered, trackingId, }, config: { defaultModalStyles = false, styles = {}, setBackdropHeight = true, centered: globalCentered, onOpen, onClose: globalOnClose, }, }) => {
|
|
7
7
|
const isCentered = centered !== null && centered !== void 0 ? centered : globalCentered;
|
|
8
8
|
const modalRef = React.useRef(null);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dry-ux",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.63.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"copy-css": "copyfiles -u 2 \"./src/
|
|
7
|
+
"copy-css": "copyfiles -u 2 \"./src/styles/*.css\" \"./dist/styles\"",
|
|
8
8
|
"build": "rimraf dist/ && tsc && npm run copy-css",
|
|
9
9
|
"watch": "rimraf dist/ && tsc --watch",
|
|
10
10
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
|
|
File without changes
|