namirasoft-site-react 1.3.432 → 1.3.433

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.
@@ -11,7 +11,7 @@ export function NSBarAction(props) {
11
11
  show: false
12
12
  });
13
13
  const groups = Object.keys(props.menus);
14
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: Styles.ns_action_bar_holder, children: _jsxs("div", { className: 'container d-flex justify-content-center justify-content-md-between align-items-center w-100', children: [_jsxs("div", { className: `d-none d-lg-flex ${Styles.ns_desktop_action_bar_title}`, children: [_jsx("h1", { className: Styles.title, children: props.title }), props.description !== "" &&
14
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: Styles.ns_action_bar_holder, children: _jsxs("div", { className: 'container d-flex justify-content-center justify-content-lg-between align-items-center w-100', children: [_jsxs("div", { className: `d-none d-lg-flex ${Styles.ns_desktop_action_bar_title}`, children: [_jsx("h1", { className: Styles.title, children: props.title }), props.description !== "" &&
15
15
  _jsxs("button", { className: Styles.ns_info_container, onClick: () => setState({ show: true }), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/info/white-blue.svg', alt: 'info-icon', width: 24, height: 24 }), _jsx("span", { children: " Info " })] }), state.show &&
16
16
  _jsx(NSInfoDialog, { description: props.description, title: props.title, onClose: () => setState({ show: false }), children: _jsx(_Fragment, {}) })] }), _jsx("div", { style: { padding: groups.length !== 0 ? "16px 0" : "0" }, className: Styles.ns_actions_holder, children: groups.map((group, index) => _jsx(NSActionMenu, { name: group, items: props.menus[group] }, index)) })] }) }), _jsxs("div", { className: `container d-block d-lg-none ${Styles.ns_mobile_action_bar_title}`, children: [_jsx("h1", { className: Styles.title, children: props.title }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), props.description && lines &&
17
17
  _jsxs(_Fragment, { children: [_jsx("p", { className: Styles.description, children: lines.map((line, index) => {
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.432",
11
+ "version": "1.3.433",
12
12
  "author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh, Mehrab Bahramian",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -30,7 +30,7 @@ export function NSBarAction(props: INSBarActionProps)
30
30
  <>
31
31
  <div className={Styles.ns_action_bar_holder}>
32
32
  {/* Desktop */}
33
- <div className='container d-flex justify-content-center justify-content-md-between align-items-center w-100'>
33
+ <div className='container d-flex justify-content-center justify-content-lg-between align-items-center w-100'>
34
34
  <div className={`d-none d-lg-flex ${Styles.ns_desktop_action_bar_title}`}>
35
35
  <h1 className={Styles.title}>{props.title}</h1>
36
36
  {