namirasoft-site-react 1.3.364 → 1.3.365
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
|
function NSDialog(props) {
|
|
4
4
|
var _a;
|
|
5
|
-
return (
|
|
5
|
+
return (_jsxs("section", { id: props.id, className: `${Styles.ns_dialog_container} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: props.style, children: [_jsx("div", { className: Styles.ns_dialog_background, onClick: () => props.onClose() }), _jsxs("div", { className: Styles.ns_dialog_content, 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 })] })] }));
|
|
6
6
|
}
|
|
7
7
|
export default NSDialog;
|
|
8
8
|
//# 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,KAAqB;;IAEnC,OAAO,CACH,
|
|
1
|
+
{"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,SAAS,QAAQ,CAAC,KAAqB;;IAEnC,OAAO,CACH,mBACI,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,GAAG,MAAM,CAAC,mBAAmB,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EACxE,KAAK,EAAE,KAAK,CAAC,KAAK,aAElB,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,GACrE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,aACpC,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,IACA,CACb,CAAC;AACN,CAAC;AAED,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -16,6 +16,8 @@ function NSDialog(props: INSDialogProps)
|
|
|
16
16
|
className={`${Styles.ns_dialog_container} ${props.classList?.join(" ")}`}
|
|
17
17
|
style={props.style}
|
|
18
18
|
>
|
|
19
|
+
<div className={Styles.ns_dialog_background} onClick={() => props.onClose()}>
|
|
20
|
+
</div>
|
|
19
21
|
<div className={Styles.ns_dialog_content}>
|
|
20
22
|
<img
|
|
21
23
|
src='https://static.namirasoft.com/image/concept/close/blue.svg'
|