namirasoft-account-react 1.3.264 → 1.3.265

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.
@@ -72,7 +72,7 @@ export default class NSAAccessListDialog extends Component {
72
72
  }
73
73
  return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
74
74
  top: "0",
75
- transform: "translate(-100%,15%)",
75
+ transform: "translate(-100%,20%)",
76
76
  left: "99%"
77
77
  }, children: [_jsx("a", { className: 'text-left w-100', href: 'https://access.namirasoft.com/', children: _jsx("span", { className: 'd-flex justify-content-left', children: "Manage Accesss" }) }), _jsxs("section", { className: Styles.ns_access_container, children: [profile, _jsx(NSLine, {}), _jsx("h6", { children: "Switch user as:" }), content !== null &&
78
78
  _jsx("p", { children: "There is not any other user" })] })] })));
@@ -37,7 +37,7 @@ export class NSAMessageListDialog extends Component {
37
37
  }, children: [_jsx("ul", { className: Styles.nsa_message_item_ul, children: _jsx("li", { className: `${Styles.nsa_message_item_title}`, children: message.title }) }), _jsx("p", { className: `${Styles.nsa_message_item_content} nsa_font_13_normal`, children: message.body })] }));
38
38
  return (_jsxs(NSDialog, Object.assign({ style: {
39
39
  top: "0",
40
- transform: "translate(-100%,15%)",
40
+ transform: "translate(-100%,20%)",
41
41
  left: "99%"
42
42
  } }, this.props, { children: [_jsx("div", { className: Styles.nsa_toast, children: _jsxs("div", { children: [_jsx("div", { className: Styles.nsa_toast_header, children: _jsxs("article", { className: 'd-flex flex-row justify-content-center align-item-center', style: { cursor: "pointer" }, children: [_jsx("img", { src: MessageHeader, alt: "Message Header", width: 22 }), _jsx("span", { className: `${Styles.nsa_message_title} ms-2`, onClick: () => {
43
43
  let server = new NamirasoftMessageServer(this.props.account.token_manager, this.props.notifier.onError);
@@ -46,7 +46,7 @@ export class NSAProductListDialog extends Component {
46
46
  }
47
47
  return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
48
48
  top: "0",
49
- transform: "translate(-100%,15%)",
49
+ transform: "translate(-100%,20%)",
50
50
  left: "99%"
51
51
  }, children: [_jsx(NSBoxSearch, { title: "", required: false, onChanged: (e) => {
52
52
  this.setState({ search: e.getValue() });
@@ -23,11 +23,11 @@ export default class NSAProjectListDialog extends Component {
23
23
  }
24
24
  else {
25
25
  let projects = SearchOperation.filter(this.state.projects, p => p.name, this.state.search);
26
- content = (_jsx("div", { className: Styles.nsa_project_list, children: projects.map((project) => (_jsxs("div", { className: Styles.nsa_project_border, children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/project/logo/base.png", alt: 'No Profile', width: 48, height: 48, style: { cursor: "default" } }), _jsxs("div", { className: 'd-flex flex-column align-items-start', children: [_jsx("h2", { className: Styles.nsa_project_h2, children: project.name }), _jsx("h6", { className: Styles.nsa_project_h6, children: project.user_id })] })] }))) }));
26
+ content = (_jsx("div", { className: Styles.nsa_project_list, children: projects.map((project) => (_jsxs("div", { className: Styles.nsa_project_border, children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/project/logo/base.png", alt: 'No Profile', width: 48, height: 48, style: { cursor: "pointer" } }), _jsxs("div", { className: 'd-flex flex-column align-items-start', children: [_jsx("h2", { className: Styles.nsa_project_h2, children: project.name }), _jsx("h6", { className: Styles.nsa_project_h6, children: project.user_id })] })] }))) }));
27
27
  }
28
28
  return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
29
29
  top: "0",
30
- transform: "translate(-100%,15%)",
30
+ transform: "translate(-100%,20%)",
31
31
  left: "99%"
32
32
  }, children: [_jsx(NSBoxSearch, { title: '', required: false, placeholder: 'Search your project', onChanged: (e) => {
33
33
  this.setState({ search: e.getValue() });
@@ -41,8 +41,4 @@
41
41
  background-color: rgba(20, 27, 92, 0.3);
42
42
  color: white;
43
43
  cursor: pointer;
44
- }
45
-
46
- .nsa_project_border img {
47
- cursor: pointer;
48
44
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.264",
11
+ "version": "1.3.265",
12
12
  "author": "Amir Abolhasani, Sepideh Mazloumi, Hooman Shashaeh",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -138,7 +138,7 @@ export default class NSAAccessListDialog extends Component<NSAAccessListDialogPr
138
138
  <NSDialog {...this.props}
139
139
  style={{
140
140
  top: "0",
141
- transform: "translate(-100%,15%)",
141
+ transform: "translate(-100%,20%)",
142
142
  left: "99%"
143
143
  }}
144
144
  >
@@ -72,7 +72,7 @@ export class NSAMessageListDialog extends Component<NSAMessageListDialogProps, N
72
72
  <NSDialog
73
73
  style={{
74
74
  top: "0",
75
- transform: "translate(-100%,15%)",
75
+ transform: "translate(-100%,20%)",
76
76
  left: "99%"
77
77
  }}
78
78
  {...this.props}>
@@ -85,7 +85,7 @@ export class NSAProductListDialog extends Component<NSAProductListDialogProps, N
85
85
  <NSDialog {...this.props}
86
86
  style={{
87
87
  top: "0",
88
- transform: "translate(-100%,15%)",
88
+ transform: "translate(-100%,20%)",
89
89
  left: "99%"
90
90
  }}
91
91
  >
@@ -41,8 +41,4 @@
41
41
  background-color: rgba(20, 27, 92, 0.3);
42
42
  color: white;
43
43
  cursor: pointer;
44
- }
45
-
46
- .nsa_project_border img {
47
- cursor: pointer;
48
44
  }
@@ -45,7 +45,7 @@ export default class NSAProjectListDialog extends Component<NSAProjectListDialog
45
45
  {
46
46
  projects.map((project) => (
47
47
  <div className={Styles.nsa_project_border}>
48
- <img src={"https://static.namirasoft.com/image/namirasoft/project/logo/base.png"} alt='No Profile' width={48} height={48} style={{ cursor: "default" }} />
48
+ <img src={"https://static.namirasoft.com/image/namirasoft/project/logo/base.png"} alt='No Profile' width={48} height={48} style={{ cursor: "pointer" }} />
49
49
  <div className='d-flex flex-column align-items-start'>
50
50
  <h2 className={Styles.nsa_project_h2}>{project.name}</h2>
51
51
  <h6 className={Styles.nsa_project_h6}>{project.user_id}</h6>
@@ -60,7 +60,7 @@ export default class NSAProjectListDialog extends Component<NSAProjectListDialog
60
60
  <NSDialog {...this.props}
61
61
  style={{
62
62
  top: "0",
63
- transform: "translate(-100%,15%)",
63
+ transform: "translate(-100%,20%)",
64
64
  left: "99%"
65
65
  }}
66
66
  >