namirasoft-site-react 1.2.24 → 1.2.26
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/components/NSLayout.js +1 -1
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSPagination.d.ts +2 -2
- package/dist/components/NSPagination.js +2 -2
- package/dist/components/NSPagination.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NSLayout.tsx +2 -2
- package/src/components/NSPagination.tsx +2 -2
|
@@ -4,7 +4,7 @@ import { NSHeader } from './NSHeader';
|
|
|
4
4
|
import { NSFooter } from './NSFooter';
|
|
5
5
|
export class NSLayout extends Component {
|
|
6
6
|
render() {
|
|
7
|
-
return (_jsxs("div", Object.assign({ className: "d-flex flex-column text-center 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", { children: this.props.children }), _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo })] })));
|
|
7
|
+
return (_jsxs("div", Object.assign({ className: "d-flex flex-column text-center 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(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo })] })));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=NSLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,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AQ,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,KACvE,CACV,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './NSPagination.modules.css';
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
interface IProps {
|
|
4
4
|
size: number;
|
|
@@ -8,7 +8,7 @@ interface IState {
|
|
|
8
8
|
size: number;
|
|
9
9
|
page: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export declare class NSPagination extends Component<IState, IProps> {
|
|
12
12
|
constructor(props: IProps);
|
|
13
13
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import './
|
|
2
|
+
import './NSPagination.modules.css';
|
|
3
3
|
import { Component } from 'react';
|
|
4
|
-
export
|
|
4
|
+
export class NSPagination extends Component {
|
|
5
5
|
constructor(props) {
|
|
6
6
|
super(props);
|
|
7
7
|
this.state = { size: props.size, page: props.page };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYlC,MAAM,OAAO,YAAa,SAAQ,SAAyB;IAEvD,YAAY,KAAa;QAErB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAA;IACvD,CAAC;IACQ,MAAM;QAEX,IAAI,IAAI,GAAG,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,GAAG,MAAM,GAAG,CAAC;YACzB,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iCAAiC,yBAAQ,GAAM,CAAC,CAAC;QACzF,QAAQ,CAAC,IAAI,CAAC,CAAC;QACf,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,gBAAC,cAAK,GAAG,EAAC,iCAAiC,EAAC,GAAG,EAAC,cAAc,GAAO,IAAI,GAAM,CAAC,CAAC;QAE1G,OAAO,CACH,4BAAK,SAAS,EAAC,WAAW,gBACrB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAChB,CACT,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ interface IProps
|
|
|
10
10
|
description?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
export class NSLayout extends Component<IProps>
|
|
15
15
|
{
|
|
16
16
|
override render()
|
|
@@ -22,7 +22,7 @@ export class NSLayout extends Component<IProps>
|
|
|
22
22
|
<h1>{this.props.title}</h1>
|
|
23
23
|
<h4 className="page-description">{this.props.description}</h4>
|
|
24
24
|
</div>
|
|
25
|
-
<main>
|
|
25
|
+
<main className="container">
|
|
26
26
|
{this.props.children}
|
|
27
27
|
</main>
|
|
28
28
|
<NSFooter scope={this.props.scope} name="Footer" logo={this.props.logo} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './NSPagination.modules.css';
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
|
|
4
4
|
interface IProps
|
|
@@ -11,7 +11,7 @@ interface IState
|
|
|
11
11
|
size: number;
|
|
12
12
|
page: number;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export class NSPagination extends Component<IState, IProps>
|
|
15
15
|
{
|
|
16
16
|
constructor(props: IProps)
|
|
17
17
|
{
|