namirasoft-site-react 1.3.10 → 1.3.13

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.
@@ -3,7 +3,6 @@
3
3
  flex-direction: column;
4
4
  align-items: flex-end;
5
5
  justify-content: flex-end;
6
- gap: 24px 0;
7
6
  box-shadow: 0 2px 10px 4px #00000040;
8
7
  padding: 24px;
9
8
  border-radius: 24px;
@@ -14,7 +13,7 @@
14
13
  background-repeat: no-repeat;
15
14
  background-size: cover;
16
15
  background-position: center;
17
- min-height: 320px;
16
+ min-height: 216px;
18
17
  }
19
18
 
20
19
  .card_background_text {
@@ -13,11 +13,11 @@
13
13
  color: #fff;
14
14
  font-size: 16px;
15
15
  font-weight: 400;
16
- height: 48px;
16
+ line-height: 16px;
17
17
  display: flex;
18
18
  justify-content: center;
19
19
  align-items: center;
20
- padding: 12px 32px;
20
+ padding: 16px 32px;
21
21
  border-radius: 24px;
22
22
  max-width: 358px;
23
23
  width: 100%;
@@ -1,4 +1,3 @@
1
- import './NSPagination.module.css';
2
1
  import { Component } from 'react';
3
2
  export interface NSPaginationProps {
4
3
  size: number;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import './NSPagination.module.css';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import Styles from './NSPagination.module.css';
4
4
  import { Component } from 'react';
5
5
  export class NSPagination extends Component {
6
6
  constructor(props) {
@@ -16,21 +16,21 @@ export class NSPagination extends Component {
16
16
  let arr = [];
17
17
  let pushPage = (index) => {
18
18
  if (index == page)
19
- arr.push(_jsx("div", { className: 'center_number', children: _jsx("a", { href: '#', className: 'center_number text-decoration-none text-light', children: index }) }));
19
+ arr.push(_jsx("div", { className: `${Styles.ns_select_number_parent}`, children: _jsx("a", { href: '#', className: `${Styles.ns_paginate_link} ${Styles.ns_select_number}`, children: index }) }));
20
20
  else
21
- arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: index }) }));
21
+ arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: `${Styles.ns_paginate_link}`, children: index }) }));
22
22
  };
23
- arr.push(_jsx("div", { children: _jsx("a", { href: '#', children: _jsx("img", { src: '/assets/images/left-vector.png', alt: 'left_vector' }) }) }));
23
+ arr.push(_jsx("div", { children: _jsxs("a", { href: '#', children: [" ", _jsx("img", { src: 'https://static.namirasoft.com/image/circle-chevron-left.png', alt: 'left_vector' }), " "] }) }));
24
24
  pushPage(1);
25
25
  if (page > window * 2)
26
- arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: "..." }) }));
26
+ arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: `${Styles.ns_paginate_link}`, children: "..." }) }));
27
27
  for (let i = min; i <= max; i++)
28
28
  pushPage(i);
29
29
  if (page <= size - window * 2)
30
- arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: "..." }) }));
30
+ arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: `${Styles.ns_paginate_link}`, children: "..." }) }));
31
31
  pushPage(size);
32
- arr.push(_jsx("div", { children: _jsx("a", { href: '#', children: _jsx("img", { src: '/assets/images/right-vector.png', alt: 'right_vector' }) }) }));
33
- return (_jsx("div", { className: "ns_pagination_container d-flex flex-row gap-3 mt-3", children: arr.map(x => (x)) }));
32
+ arr.push(_jsx("div", { children: _jsxs("a", { href: '#', children: [" ", _jsx("img", { src: 'https://static.namirasoft.com/image/circle-chevron-right.png', alt: 'right_vector' }), " "] }) }));
33
+ return (_jsx("div", { className: `${Styles.ns_pagination_container}`, children: arr.map(x => (x)) }));
34
34
  }
35
35
  }
36
36
  //# sourceMappingURL=NSPagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAA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AG,EAAE,CAAC,EAAE;YAC3B,QAAQ,CAAC,CAAC,CAAC,CAAC;QAChB,IAAI,IAAI,IAAI,IAAI,GAAG,MAAM,GAAG,CAAC;YAClC,GAAG,CAAC,IAAI,CACP,wBACC,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,GAAG,MAAM,CAAC,gBAAgB,EAAE,oBAAS,GACvD,CACN,CAAC;QACG,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrB,GAAG,CAAC,IAAI,CACP,wBACC,aAAG,IAAI,EAAC,GAAG,kBAAE,cAAK,GAAG,EAAC,8DAA8D,EAAC,GAAG,EAAC,cAAc,GAAE,SAAK,GACzG,CACN,CAAC;QAEI,OAAO,CACH,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,uBAAuB,EAAE,YAC9C,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,GAChB,CACT,CAAC;IACN,CAAC;CACJ"}
@@ -1,25 +1,38 @@
1
1
  .ns_pagination_container {
2
- display: flex;
3
- flex-direction: row;
4
- gap: 18px;
5
- text-align: left;
6
- padding-left: 48px;
7
- font-size: 14px;
8
- justify-items: center;
9
- line-height: 35px;
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ justify-content: space-between;
6
+ gap: 16px;
7
+ text-align: left;
8
+ font-size: 14px;
9
+ justify-items: center;
10
+ line-height: 35px;
11
+ width: 100%;
12
+ max-width: 480px;
10
13
  }
11
14
 
12
- @media only screen and (max-width: 600px) {
13
- .ns_paginationl_container {
14
- padding-left: 36px;
15
- }
15
+ .ns_select_number_parent {
16
+ background-color: #3963FF;
17
+ border-radius: 50px;
18
+ height: 32px;
19
+ width: 32px;
20
+ text-align: center;
21
+ display: flex;
22
+ justify-content: center;
23
+ align-items: center;
16
24
  }
17
25
 
18
- .center_number {
19
- background-color: rgba(6, 209, 130, 1);
20
- border-radius: 50px;
21
- height: 32px;
22
- width: 32px;
23
- text-align: center;
24
- align-items: center;
26
+ .ns_paginate_link {
27
+ color: #001664;
28
+ text-decoration: none;
29
+ font-size: 14px;
30
+ font-weight: 400;
31
+ line-height: 22px;
32
+ font-family: inherit;
33
+ }
34
+
35
+ .ns_select_number {
36
+ color: #fff;
37
+ font-weight: 500;
25
38
  }
@@ -16,6 +16,7 @@ export interface NSSectionCardsProps {
16
16
  title: string;
17
17
  };
18
18
  cards: NSCardProps[];
19
+ padding_bottom?: string;
19
20
  }
20
21
  export declare class NSSectionCards extends Component<NSSectionCardsProps> {
21
22
  render(): import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ import { NSLinkBlue } from './NSLinkBlue';
9
9
  export class NSSectionCards extends Component {
10
10
  render() {
11
11
  var _a, _b, _c, _d, _e, _f;
12
- return (_jsx(_Fragment, { children: _jsx(NSSection, { background: this.props.background, children: _jsxs("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`, children: [this.props.title &&
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
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 &&
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 }) })] }) }) }));
@@ -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,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAqB1C,MAAM,OAAO,cAAe,SAAQ,SAA8B;IACxD,MAAM;;QAEd,OAAO,CACN,4BACC,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,YAC3C,eAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,aAGjF,IAAI,CAAC,KAAK,CAAC,KAAK;4BAChB,eAAK,SAAS,EAAE,MAAM,CAAC,gCAAgC,aACtD,KAAC,OAAO,IAAC,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,KAAK,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,IAAI,GAAI,EAGzE,IAAI,CAAC,KAAK,CAAC,WAAW;wCACtB,aAAG,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,WAAW,0CAAE,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,WAAW,kBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,SAAM,IAGlH,EAGP,cAAK,SAAS,EAAE,IAAI,MAAM,CAAC,iBAAiB,EAAE,YAE5C,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,GAAG,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AI,CAAC,KAAK,CAAC,KAAK,0CAAE,IAAI,GAAI,EAGzE,IAAI,CAAC,KAAK,CAAC,WAAW;wCACtB,aAAG,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,WAAW,0CAAE,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,WAAW,kBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,SAAM,IAGlH,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"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.10",
11
+ "version": "1.3.13",
12
12
  "main": "./dist/main.js",
13
13
  "types": "./dist/main.d.ts",
14
14
  "author": "Amir Abolhasani",
@@ -21,21 +21,21 @@
21
21
  "copy": "copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.svg src/**/*.png src/**/*.jpg dist/"
22
22
  },
23
23
  "dependencies": {
24
- "@types/node": "^20.12.2",
25
- "@types/react": "^18.2.73",
24
+ "@types/node": "^20.12.3",
25
+ "@types/react": "^18.2.74",
26
26
  "@types/react-dom": "^18.2.23",
27
- "antd": "^5.15.4",
27
+ "antd": "^5.16.0",
28
28
  "bootstrap": "^5.3.3",
29
29
  "link-react": "^3.0.0",
30
30
  "namirasoft-api-link": "^1.3.1",
31
- "namirasoft-core": "^1.3.14",
31
+ "namirasoft-core": "^1.3.18",
32
32
  "path-browserify": "^1.0.1",
33
33
  "react": "^18.2.0",
34
34
  "react-app-rewired": "^2.2.1",
35
35
  "react-bootstrap": "^2.10.2",
36
36
  "react-dom": "^18.2.0",
37
37
  "react-phone-input-2": "^2.15.1",
38
- "react-phone-number-input": "^3.3.9",
38
+ "react-phone-number-input": "^3.3.10",
39
39
  "react-router-dom": "^6.22.3",
40
40
  "react-scripts": "5.0.1",
41
41
  "copyfiles": "^2.4.1"
@@ -3,7 +3,6 @@
3
3
  flex-direction: column;
4
4
  align-items: flex-end;
5
5
  justify-content: flex-end;
6
- gap: 24px 0;
7
6
  box-shadow: 0 2px 10px 4px #00000040;
8
7
  padding: 24px;
9
8
  border-radius: 24px;
@@ -14,7 +13,7 @@
14
13
  background-repeat: no-repeat;
15
14
  background-size: cover;
16
15
  background-position: center;
17
- min-height: 320px;
16
+ min-height: 216px;
18
17
  }
19
18
 
20
19
  .card_background_text {
@@ -13,11 +13,11 @@
13
13
  color: #fff;
14
14
  font-size: 16px;
15
15
  font-weight: 400;
16
- height: 48px;
16
+ line-height: 16px;
17
17
  display: flex;
18
18
  justify-content: center;
19
19
  align-items: center;
20
- padding: 12px 32px;
20
+ padding: 16px 32px;
21
21
  border-radius: 24px;
22
22
  max-width: 358px;
23
23
  width: 100%;
@@ -1,25 +1,38 @@
1
1
  .ns_pagination_container {
2
- display: flex;
3
- flex-direction: row;
4
- gap: 18px;
5
- text-align: left;
6
- padding-left: 48px;
7
- font-size: 14px;
8
- justify-items: center;
9
- line-height: 35px;
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ justify-content: space-between;
6
+ gap: 16px;
7
+ text-align: left;
8
+ font-size: 14px;
9
+ justify-items: center;
10
+ line-height: 35px;
11
+ width: 100%;
12
+ max-width: 480px;
10
13
  }
11
14
 
12
- @media only screen and (max-width: 600px) {
13
- .ns_paginationl_container {
14
- padding-left: 36px;
15
- }
15
+ .ns_select_number_parent {
16
+ background-color: #3963FF;
17
+ border-radius: 50px;
18
+ height: 32px;
19
+ width: 32px;
20
+ text-align: center;
21
+ display: flex;
22
+ justify-content: center;
23
+ align-items: center;
16
24
  }
17
25
 
18
- .center_number {
19
- background-color: rgba(6, 209, 130, 1);
20
- border-radius: 50px;
21
- height: 32px;
22
- width: 32px;
23
- text-align: center;
24
- align-items: center;
26
+ .ns_paginate_link {
27
+ color: #001664;
28
+ text-decoration: none;
29
+ font-size: 14px;
30
+ font-weight: 400;
31
+ line-height: 22px;
32
+ font-family: inherit;
33
+ }
34
+
35
+ .ns_select_number {
36
+ color: #fff;
37
+ font-weight: 500;
25
38
  }
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import './NSPagination.module.css';
3
+ import Styles from './NSPagination.module.css';
4
4
  import { Component } from 'react';
5
5
 
6
6
  export interface NSPaginationProps
@@ -33,23 +33,47 @@ export class NSPagination extends Component<NSPaginationState, NSPaginationProps
33
33
  let pushPage = (index: number) =>
34
34
  {
35
35
  if (index == page)
36
- arr.push(<div className='center_number'><a href='#' className='center_number text-decoration-none text-light'>{index}</a></div>);
36
+ arr.push(
37
+ <div className={`${Styles.ns_select_number_parent}`}>
38
+ <a href='#' className={`${Styles.ns_paginate_link} ${Styles.ns_select_number}`}>{index}</a>
39
+ </div>
40
+ );
37
41
  else
38
- arr.push(<div><a href='#' className='text-decoration-none text-light'>{index}</a></div>);
42
+ arr.push(
43
+ <div>
44
+ <a href='#' className={`${Styles.ns_paginate_link}`}>{index}</a>
45
+ </div>
46
+ );
39
47
  };
40
- arr.push(<div><a href='#'><img src='/assets/images/left-vector.png' alt='left_vector'></img></a></div>);
48
+ arr.push(
49
+ <div>
50
+ <a href='#'> <img src='https://static.namirasoft.com/image/circle-chevron-left.png' alt='left_vector' /> </a>
51
+ </div>
52
+ );
41
53
  pushPage(1);
42
54
  if (page > window * 2)
43
- arr.push(<div><a href='#' className='text-decoration-none text-light'>...</a></div>);
55
+ arr.push(
56
+ <div>
57
+ <a href='#' className={`${Styles.ns_paginate_link}`}>...</a>
58
+ </div>
59
+ );
44
60
  for (let i = min; i <= max; i++)
45
61
  pushPage(i);
46
62
  if (page <= size - window * 2)
47
- arr.push(<div><a href='#' className='text-decoration-none text-light'>...</a></div>);
63
+ arr.push(
64
+ <div>
65
+ <a href='#' className={`${Styles.ns_paginate_link}`}>...</a>
66
+ </div>
67
+ );
48
68
  pushPage(size);
49
- arr.push(<div><a href='#'><img src='/assets/images/right-vector.png' alt='right_vector'></img></a></div>);
69
+ arr.push(
70
+ <div>
71
+ <a href='#'> <img src='https://static.namirasoft.com/image/circle-chevron-right.png' alt='right_vector'/> </a>
72
+ </div>
73
+ );
50
74
 
51
75
  return (
52
- <div className="ns_pagination_container d-flex flex-row gap-3 mt-3">
76
+ <div className={`${Styles.ns_pagination_container}`}>
53
77
  {arr.map(x => (x))}
54
78
  </div>
55
79
  );
@@ -23,7 +23,8 @@ export interface NSSectionCardsProps
23
23
  href: string;
24
24
  title: string;
25
25
  };
26
- cards: NSCardProps[]
26
+ cards: NSCardProps[];
27
+ padding_bottom?: string
27
28
  }
28
29
 
29
30
  export class NSSectionCards extends Component<NSSectionCardsProps> {
@@ -31,7 +32,7 @@ export class NSSectionCards extends Component<NSSectionCardsProps> {
31
32
  {
32
33
  return (
33
34
  <>
34
- <NSSection background={this.props.background} >
35
+ <NSSection background={this.props.background} padding_bottom={this.props.padding_bottom}>
35
36
  <div className={`container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`}>
36
37
 
37
38
  {