namirasoft-site-react 1.3.26 → 1.3.28

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.
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx } from "react/jsx-runtime";
2
3
  import { Component } from 'react';
3
4
  import Styles from './NSLoading.module.css';
@@ -1 +1 @@
1
- {"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,SAAU,SAAQ,SAAyB;IAE9C,MAAM;QAEd,OAAO,CACN,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,YACtF,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,YACvC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,GAAQ,GACnC,GACK,CACZ,CAAC;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,SAAU,SAAQ,SAAyB;IAE9C,MAAM;QAEd,OAAO,CACN,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,YACtF,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,YACvC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,GAAQ,GACnC,GACK,CACZ,CAAC;IACH,CAAC;CACD"}
@@ -11,7 +11,7 @@ export class NSSectionCards extends Component {
11
11
  var _a, _b, _c, _d, _e, _f;
12
12
  return (_jsx(_Fragment, { children: _jsx(NSSection, { background: this.props.background, padding_bottom: this.props.padding_bottom, children: _jsxs("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`, children: [this.props.title &&
13
13
  _jsxs("div", { className: Styles.ns_section_cards_title_container, children: [_jsx(NSTitle, { color: (_a = this.props.title) === null || _a === void 0 ? void 0 : _a.color, title: (_b = this.props.title) === null || _b === void 0 ? void 0 : _b.text }), this.props.description &&
14
- _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
14
+ _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.ns_description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
15
15
  _jsx("div", { className: `mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}`, children: _jsx(NSLinkBlue, { href: (_e = this.props.button) === null || _e === void 0 ? void 0 : _e.href, title: (_f = this.props.button) === null || _f === void 0 ? void 0 : _f.title }) })] }) }) }));
16
16
  }
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NSSectionCards.js","sourceRoot":"","sources":["../../src/components/NSSectionCards.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM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EAAE,SAAS,EAAE,MAAM,CAAC,cAAc,kBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,SAAM,IAGrH,EAGP,cAAK,SAAS,EAAE,IAAI,MAAM,CAAC,iBAAiB,EAAE,YAE5C,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,MAAM,oBAAmB,IAAI,GAAjB,IAAI,CAAC,EAAE,CAAc,CAAC,GAE/D,EAEL,IAAI,CAAC,KAAK,CAAC,MAAM;4BACjB,cAAK,SAAS,EAAE,6BAA6B,MAAM,CAAC,+BAA+B,EAAE,YACpF,KAAC,UAAU,IAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,IAAI,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,KAAK,GAAI,GACzE,IAEF,GACK,GACV,CACH,CAAC;IACH,CAAC;CACD"}
@@ -28,7 +28,8 @@
28
28
  text-align: center;
29
29
  }
30
30
 
31
- .description {
31
+ .ns_description {
32
+ text-align: center;
32
33
  font-style: normal;
33
34
  font-weight: inherit;
34
35
  font-size: 16px;
@@ -1,5 +1,4 @@
1
1
  import { Component } from 'react';
2
- declare class NSNotFoundPage extends Component {
2
+ export declare class NSNotFoundPage extends Component {
3
3
  render(): import("react/jsx-runtime").JSX.Element;
4
4
  }
5
- export default NSNotFoundPage;
@@ -1,11 +1,11 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { Component } from 'react';
3
4
  import Styles from './NSNotFoundPage.module.css';
4
5
  import { NSLinkBlue } from '../main';
5
- class NSNotFoundPage extends Component {
6
+ export class NSNotFoundPage extends Component {
6
7
  render() {
7
8
  return (_jsxs(_Fragment, { children: [_jsx("div", { className: Styles.ns_not_found_page }), _jsx(NSLinkBlue, { href: '/', target: '_self', title: 'Back To Home' }), "``"] }));
8
9
  }
9
10
  }
10
- export default NSNotFoundPage;
11
11
  //# sourceMappingURL=NSNotFoundPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSNotFoundPage.js","sourceRoot":"","sources":["../../src/pages/NSNotFoundPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,cAAe,SAAQ,SAAS;IAE5B,MAAM;QAEd,OAAO,CACN,8BACC,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,GAAQ,EAChD,KAAC,UAAU,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,cAAc,GAAE,UACxD,CACH,CAAC;IACH,CAAC;CACD;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"NSNotFoundPage.js","sourceRoot":"","sources":["../../src/pages/NSNotFoundPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,OAAO,cAAe,SAAQ,SAAS;IAEnC,MAAM;QAEd,OAAO,CACN,8BACC,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,GAAQ,EAChD,KAAC,UAAU,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,cAAc,GAAE,UACxD,CACH,CAAC;IACH,CAAC;CACD"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.26",
11
+ "version": "1.3.28",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  import { Component } from 'react';
2
4
  import Styles from './NSLoading.module.css';
3
5
  import { NSSection } from './NSSection';
@@ -28,7 +28,8 @@
28
28
  text-align: center;
29
29
  }
30
30
 
31
- .description {
31
+ .ns_description {
32
+ text-align: center;
32
33
  font-style: normal;
33
34
  font-weight: inherit;
34
35
  font-size: 16px;
@@ -43,7 +43,7 @@ export class NSSectionCards extends Component<NSSectionCardsProps>
43
43
 
44
44
  {
45
45
  this.props.description &&
46
- <p style={{ color: this.props.description?.color }} className={Styles.description}> {this.props.description.text} </p>
46
+ <p style={{ color: this.props.description?.color }} className={Styles.ns_description}> {this.props.description.text} </p>
47
47
  }
48
48
 
49
49
  </div>
@@ -1,8 +1,10 @@
1
+ "use client";
2
+
1
3
  import { Component } from 'react';
2
4
  import Styles from './NSNotFoundPage.module.css'
3
5
  import { NSLinkBlue } from '../main';
4
6
 
5
- class NSNotFoundPage extends Component
7
+ export class NSNotFoundPage extends Component
6
8
  {
7
9
  override render()
8
10
  {
@@ -13,6 +15,4 @@ class NSNotFoundPage extends Component
13
15
  </>
14
16
  );
15
17
  }
16
- }
17
-
18
- export default NSNotFoundPage;
18
+ }