namirasoft-site-react 1.3.414 → 1.3.416
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.
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import Styles from './NSDialog.module.css';
|
|
3
3
|
export function NSDialog(props) {
|
|
4
4
|
var _a;
|
|
5
|
-
return (_jsxs("section", { id: props.id, className: props.center_dialog ? Styles.ns_dialog_center_container :
|
|
5
|
+
return (_jsxs("section", { id: props.id, className: props.center_dialog ? Styles.ns_dialog_center_container : Styles.ns_dialog_container, children: [_jsx("div", { className: Styles.ns_dialog_background, onClick: () => props.onClose() }), _jsxs("div", { className: `${Styles.ns_dialog_content} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: Object.assign({}, props.style), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/close/blue.svg', alt: '', width: 24, height: 24, style: {
|
|
6
6
|
position: "absolute",
|
|
7
7
|
top: 0,
|
|
8
8
|
right: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,MAAM,UAAU,QAAQ,CAAC,KAAoB;;IAEzC,OAAO,CACH,mBACI,EAAE,EAAE,KAAK,CAAC,EAAE,EACrB,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,MAAM,UAAU,QAAQ,CAAC,KAAoB;;IAEzC,OAAO,CACH,mBACI,EAAE,EAAE,KAAK,CAAC,EAAE,EACrB,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC,mBAAmB,aAEtF,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,GACrE,EACN,eACI,SAAS,EAAE,GAAG,MAAM,CAAC,iBAAiB,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EACtE,KAAK,oBACE,KAAK,CAAC,KAAK,cAGlB,cACI,GAAG,EAAC,4DAA4D,EAChE,GAAG,EAAC,EAAE,EACN,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,KAAK,EACJ;4BACG,QAAQ,EAAE,UAAU;4BACpB,GAAG,EAAE,CAAC;4BACN,KAAK,EAAE,CAAC;4BACR,SAAS,EAAE,qBAAqB;4BAChC,MAAM,EAAE,SAAS;yBACpB,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,GAAI,EACtC,cAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,YACpC,KAAK,CAAC,QAAQ,GACb,IACJ,IACC,CACd,CAAC;AACN,CAAC"}
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
min-height: 150px;
|
|
24
24
|
padding: 16px 16px;
|
|
25
25
|
position: absolute;
|
|
26
|
-
right: 0;
|
|
27
26
|
color: black;
|
|
28
27
|
cursor: default;
|
|
29
28
|
}
|
|
@@ -38,9 +37,8 @@
|
|
|
38
37
|
@media only screen and (min-width: 1024px) {
|
|
39
38
|
.ns_dialog_container {
|
|
40
39
|
background-color: none;
|
|
41
|
-
width: unset;
|
|
42
|
-
height: unset;
|
|
43
40
|
position: relative;
|
|
41
|
+
display: unset;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
.ns_dialog_background {
|
|
@@ -67,4 +65,7 @@
|
|
|
67
65
|
justify-content: center;
|
|
68
66
|
align-items: center;
|
|
69
67
|
}
|
|
68
|
+
.ns_dialog_content {
|
|
69
|
+
right: 0;
|
|
70
|
+
}
|
|
70
71
|
}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.3.
|
|
11
|
+
"version": "1.3.416",
|
|
12
12
|
"author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh, Mehrab Bahramian",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
min-height: 150px;
|
|
24
24
|
padding: 16px 16px;
|
|
25
25
|
position: absolute;
|
|
26
|
-
right: 0;
|
|
27
26
|
color: black;
|
|
28
27
|
cursor: default;
|
|
29
28
|
}
|
|
@@ -38,9 +37,8 @@
|
|
|
38
37
|
@media only screen and (min-width: 1024px) {
|
|
39
38
|
.ns_dialog_container {
|
|
40
39
|
background-color: none;
|
|
41
|
-
width: unset;
|
|
42
|
-
height: unset;
|
|
43
40
|
position: relative;
|
|
41
|
+
display: unset;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
.ns_dialog_background {
|
|
@@ -67,4 +65,7 @@
|
|
|
67
65
|
justify-content: center;
|
|
68
66
|
align-items: center;
|
|
69
67
|
}
|
|
68
|
+
.ns_dialog_content {
|
|
69
|
+
right: 0;
|
|
70
|
+
}
|
|
70
71
|
}
|
|
@@ -14,7 +14,7 @@ export function NSDialog(props: NSDialogProps)
|
|
|
14
14
|
return (
|
|
15
15
|
<section
|
|
16
16
|
id={props.id}
|
|
17
|
-
className={props.center_dialog ? Styles.ns_dialog_center_container :
|
|
17
|
+
className={props.center_dialog ? Styles.ns_dialog_center_container : Styles.ns_dialog_container}
|
|
18
18
|
>
|
|
19
19
|
<div className={Styles.ns_dialog_background} onClick={() => props.onClose()}>
|
|
20
20
|
</div>
|