namirasoft-site-react 1.3.380 → 1.3.381

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.
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  @media only screen and (min-width: 380px) {
51
- .ns_checkbox_parent {
52
- width: 272px;
51
+ .ns_input_parent {
52
+ max-width: 272px;
53
53
  }
54
54
  }
@@ -2,7 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Styles from './NSDialog.module.css';
3
3
  function NSDialog(props) {
4
4
  var _a;
5
- return (_jsxs("section", { id: props.id, className: 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({ top: "50%", left: "50%", transform: "translate(-50%, -50%)" }, props.style), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/close/blue.svg', alt: '', width: 24, height: 24, onClick: () => props.onClose() }), _jsx("div", { className: Styles.ns_dialog_children, children: props.children })] })] }));
5
+ return (_jsxs("section", { id: props.id, className: 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({ top: "50%", left: "50%", transform: "translate(-50%, -50%)" }, props.style), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/close/blue.svg', alt: '', width: 24, height: 24, style: {
6
+ position: "absolute",
7
+ top: 0,
8
+ right: 0,
9
+ transform: "translate(-40%,40%)",
10
+ cursor: "pointer"
11
+ }, onClick: () => props.onClose() }), _jsx("div", { className: Styles.ns_dialog_children, children: props.children })] })] }));
6
12
  }
7
13
  export default NSDialog;
8
14
  //# sourceMappingURL=NSDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,SAAS,QAAQ,CAAC,KAAoB;;IAElC,OAAO,CACH,mBACI,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,MAAM,CAAC,mBAAmB,aAErC,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,kBACD,GAAG,EAAE,KAAK,EACV,IAAI,EAAE,KAAK,EACX,SAAS,EAAE,uBAAuB,IAC/B,KAAK,CAAC,KAAK,cAGlB,cACI,GAAG,EAAC,4DAA4D,EAChE,GAAG,EAAC,EAAE,EACN,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,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;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,SAAS,QAAQ,CAAC,KAAoB;;IAElC,OAAO,CACH,mBACI,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,MAAM,CAAC,mBAAmB,aAErC,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,kBACD,GAAG,EAAE,KAAK,EACV,IAAI,EAAE,KAAK,EACX,SAAS,EAAE,uBAAuB,IAC/B,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;AAED,eAAe,QAAQ,CAAC"}
@@ -19,15 +19,6 @@
19
19
  padding: 16px 16px;
20
20
  position: absolute;
21
21
  color: black;
22
- overflow: auto;
23
- }
24
-
25
- .ns_dialog_container img {
26
- top: 0;
27
- right: 0;
28
- position: absolute;
29
- transform: translate(-40%, 40%);
30
- cursor: pointer;
31
22
  }
32
23
 
33
24
  .ns_dialog_children {
package/package.json CHANGED
@@ -8,8 +8,8 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.380",
12
- "author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh",
11
+ "version": "1.3.381",
12
+ "author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh, Mehrab Bahramian",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
15
15
  "types": "./dist/main.d.ts",
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  @media only screen and (min-width: 380px) {
51
- .ns_checkbox_parent {
52
- width: 272px;
51
+ .ns_input_parent {
52
+ max-width: 272px;
53
53
  }
54
54
  }
@@ -19,15 +19,6 @@
19
19
  padding: 16px 16px;
20
20
  position: absolute;
21
21
  color: black;
22
- overflow: auto;
23
- }
24
-
25
- .ns_dialog_container img {
26
- top: 0;
27
- right: 0;
28
- position: absolute;
29
- transform: translate(-40%, 40%);
30
- cursor: pointer;
31
22
  }
32
23
 
33
24
  .ns_dialog_children {
@@ -31,6 +31,14 @@ function NSDialog(props: NSDialogProps)
31
31
  alt=''
32
32
  width={24}
33
33
  height={24}
34
+ style=
35
+ {{
36
+ position: "absolute",
37
+ top: 0,
38
+ right: 0,
39
+ transform: "translate(-40%,40%)",
40
+ cursor: "pointer"
41
+ }}
34
42
  onClick={() => props.onClose()} />
35
43
  <div className={Styles.ns_dialog_children}>
36
44
  {props.children}