namirasoft-site-react 1.2.33 → 1.2.34

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.
package/dist/App.js CHANGED
@@ -4,6 +4,6 @@ import 'bootstrap/dist/css/bootstrap.min.css';
4
4
  import { NSButtonRed } from './components/NSButtonRed';
5
5
  import { NSLayout, NSPagination } from './main';
6
6
  export function App() {
7
- return (_jsx("div", Object.assign({ className: "App" }, { children: _jsxs(NSLayout, Object.assign({ scope: 'Namirasoft SOP console', title: "", logo: '' }, { children: [_jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })), "asdasd"] })) })));
7
+ return (_jsx("div", Object.assign({ className: "App" }, { children: _jsxs(NSLayout, Object.assign({ scope: 'Namirasoft SOP console', title: "Hooman", logo: '' }, { children: [_jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })), "asdasd"] })) })));
8
8
  }
9
9
  //# sourceMappingURL=App.js.map
package/dist/App.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAc9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,UAAU,GAAG;IAyBf,OAAO,CACH,4BAAK,SAAS,EAAC,KAAK,gBAChB,MAAC,QAAQ,kBAAC,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,iBACrD,6BAAK,SAAS,EAAC,gBAAgB,iBAe3B,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAI,EAClD,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,KACjC,eACW,IACnB,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAc9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,UAAU,GAAG;IAyBf,OAAO,CACH,4BAAK,SAAS,EAAC,KAAK,gBAChB,MAAC,QAAQ,kBAAC,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,EAAE,iBAC3D,6BAAK,SAAS,EAAC,gBAAgB,iBAe3B,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAI,EAClD,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,KACjC,eACW,IACnB,CACT,CAAC;AACN,CAAC"}
@@ -5,7 +5,7 @@ import { NSHeader } from './NSHeader';
5
5
  import { NSFooter } from './NSFooter';
6
6
  export class NSLayout extends Component {
7
7
  render() {
8
- return (_jsxs("div", Object.assign({ className: Styles.ns_container }, { children: [_jsxs("div", Object.assign({ className: "d-flex flex-column text-white" }, { children: [_jsx(NSHeader, { scope: this.props.scope, name: "Header", logo: this.props.logo }), _jsxs("div", { children: [_jsx("h1", { children: this.props.title }), _jsx("h4", Object.assign({ className: "page-description" }, { children: this.props.description }))] }), _jsx("main", Object.assign({ className: "container" }, { children: this.props.children }))] })), _jsx("div", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo }) }))] })));
8
+ return (_jsxs("div", Object.assign({ className: Styles.ns_container }, { children: [_jsxs("div", Object.assign({ className: "d-flex flex-column text-white" }, { children: [_jsx(NSHeader, { scope: this.props.scope, name: "Header", logo: this.props.logo }), _jsxs("div", { children: [_jsx("h1", Object.assign({ className: 'text-center' }, { children: this.props.title })), _jsx("h4", Object.assign({ className: "page-description" }, { children: this.props.description }))] }), _jsx("main", Object.assign({ className: "container" }, { children: this.props.children }))] })), _jsx("div", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo }) }))] })));
9
9
  }
10
10
  }
11
11
  //# sourceMappingURL=NSLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,OAAO,QAAS,SAAQ,SAAiB;IAElC,MAAM;QAEX,OAAO,CACH,6BAAK,SAAS,EAAE,MAAM,CAAC,YAAY,iBAC/B,6BAAK,SAAS,EAAC,+BAA+B,iBAC1C,KAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,EAC1E,0BACI,uBAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAM,EAC3B,2BAAI,SAAS,EAAC,kBAAkB,gBAAE,IAAI,CAAC,KAAK,CAAC,WAAW,IAAM,IAC5D,EACN,6BAAM,SAAS,EAAC,WAAW,gBACtB,IAAI,CAAC,KAAK,CAAC,QAAQ,IACjB,KACJ,EACP,4BAAK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CAAC;IACN,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "namirasoft-site-react",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "dependencies": {
package/src/App.tsx CHANGED
@@ -45,7 +45,7 @@ export function App()
45
45
 
46
46
  return (
47
47
  <div className="App">
48
- <NSLayout scope='Namirasoft SOP console' title="" logo=''>
48
+ <NSLayout scope='Namirasoft SOP console' title="Hooman" logo=''>
49
49
  <div className='my-4 container'>
50
50
  {/* <NSInputText title='Text' />
51
51
  <NSInputInteger title='Integer' />
@@ -21,7 +21,7 @@ export class NSLayout extends Component<IProps>
21
21
  <div className="d-flex flex-column text-white">
22
22
  <NSHeader scope={this.props.scope} name="Header" logo={this.props.logo} />
23
23
  <div>
24
- <h1>{this.props.title}</h1>
24
+ <h1 className='text-center'>{this.props.title}</h1>
25
25
  <h4 className="page-description">{this.props.description}</h4>
26
26
  </div>
27
27
  <main className="container">