namirasoft-site-react 1.2.52 → 1.2.55

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.
Files changed (73) hide show
  1. package/dist/assets/images/map_location.png +0 -0
  2. package/dist/components/NSCard.d.ts +2 -5
  3. package/dist/components/NSCard.js +3 -3
  4. package/dist/components/NSCard.js.map +1 -1
  5. package/dist/components/NSCard.module.css +10 -1
  6. package/dist/components/NSEntityBar.d.ts +12 -0
  7. package/dist/components/NSEntityBar.js +10 -0
  8. package/dist/components/NSEntityBar.js.map +1 -0
  9. package/dist/components/NSEntityBar.module.css +53 -0
  10. package/dist/components/NSLayoutTitle.d.ts +4 -1
  11. package/dist/components/NSLayoutTitle.js +5 -2
  12. package/dist/components/NSLayoutTitle.js.map +1 -1
  13. package/dist/components/NSLinkBlue.d.ts +17 -0
  14. package/dist/components/NSLinkBlue.js +20 -0
  15. package/dist/components/NSLinkBlue.js.map +1 -0
  16. package/dist/components/NSLinkBlue.module.css +24 -0
  17. package/dist/components/NSMap.d.ts +12 -0
  18. package/dist/components/NSMap.js +18 -0
  19. package/dist/components/NSMap.js.map +1 -0
  20. package/dist/components/NSSection.d.ts +15 -0
  21. package/dist/components/NSSection.js +27 -0
  22. package/dist/components/NSSection.js.map +1 -0
  23. package/dist/components/NSSection.module.css +10 -0
  24. package/dist/components/NSSectionBars.d.ts +11 -0
  25. package/dist/components/NSSectionBars.js +14 -0
  26. package/dist/components/NSSectionBars.js.map +1 -0
  27. package/dist/components/NSSectionBars.module.css +11 -0
  28. package/dist/components/NSSectionCards.d.ts +23 -0
  29. package/dist/components/NSSectionCards.js +19 -0
  30. package/dist/components/NSSectionCards.js.map +1 -0
  31. package/dist/components/NSSectionCards.module.css +38 -0
  32. package/dist/components/NSSectionTitle.d.ts +15 -0
  33. package/dist/components/NSSectionTitle.js +11 -0
  34. package/dist/components/NSSectionTitle.js.map +1 -0
  35. package/dist/components/NSSectionTitle.module.css +0 -0
  36. package/dist/components/NSSelectBox.js +1 -2
  37. package/dist/components/NSSelectBox.js.map +1 -1
  38. package/dist/components/NSTitle.d.ts +10 -0
  39. package/dist/components/NSTitle.js +11 -0
  40. package/dist/components/NSTitle.js.map +1 -0
  41. package/dist/components/NSTitle.module.css +9 -0
  42. package/dist/main.d.ts +8 -0
  43. package/dist/main.js +8 -0
  44. package/dist/main.js.map +1 -1
  45. package/dist/types/Background.d.ts +5 -0
  46. package/dist/types/Background.js +2 -0
  47. package/dist/types/Background.js.map +1 -0
  48. package/package.json +12 -8
  49. package/src/assets/images/map_location.png +0 -0
  50. package/src/components/NSCard.module.css +10 -1
  51. package/src/components/NSCard.tsx +16 -16
  52. package/src/components/NSEntityBar.module.css +53 -0
  53. package/src/components/NSEntityBar.tsx +32 -0
  54. package/src/components/NSLayoutTitle.tsx +14 -11
  55. package/src/components/NSLinkBlue.module.css +24 -0
  56. package/src/components/NSLinkBlue.tsx +45 -0
  57. package/src/components/NSMap.tsx +38 -0
  58. package/src/components/NSSection.module.css +10 -0
  59. package/src/components/NSSection.tsx +48 -0
  60. package/src/components/NSSectionBars.module.css +11 -0
  61. package/src/components/NSSectionBars.tsx +35 -0
  62. package/src/components/NSSectionCards.module.css +38 -0
  63. package/src/components/NSSectionCards.tsx +69 -0
  64. package/src/components/NSSectionTitle.module.css +0 -0
  65. package/src/components/NSSectionTitle.tsx +28 -0
  66. package/src/components/NSSelectBox.tsx +2 -3
  67. package/src/components/NSTitle.module.css +9 -0
  68. package/src/components/NSTitle.tsx +25 -0
  69. package/src/main.ts +8 -0
  70. package/src/types/Background.ts +6 -0
  71. package/dist/components/NSParentCard.module.css +0 -35
  72. package/src/components/NSParentCard.module.css +0 -35
  73. package/src/components/NSParentCard.tsx.temp +0 -59
@@ -0,0 +1,28 @@
1
+ 'use client'
2
+
3
+ import { Component, ReactNode } from 'react';
4
+ import NSSection from './NSSection';
5
+ import NSTitle from './NSTitle';
6
+ import { Background } from '../types/Background';
7
+
8
+ interface NSSectionTitleProps
9
+ {
10
+ title: {
11
+ text: string,
12
+ color?: string
13
+ };
14
+ background?: Background
15
+ padding_bottom?: string;
16
+ children: ReactNode
17
+ }
18
+
19
+ export default class NSSectionTitle extends Component<NSSectionTitleProps> {
20
+ override render() {
21
+ return (
22
+ <NSSection padding_bottom={this.props.padding_bottom} background={this.props.background} >
23
+ <NSTitle color={this.props.title.color} title={this.props.title.text} />
24
+ {this.props.children}
25
+ </NSSection>
26
+ );
27
+ }
28
+ }
@@ -4,7 +4,7 @@ import React from "react";
4
4
  import Styles from "./NSSelectBox.module.css";
5
5
  import { Select, Space } from 'antd';
6
6
  import type { SelectProps } from 'antd';
7
- import { CaretDownOutlined } from '@ant-design/icons'
7
+ // import { CaretDownOutlined } from '@ant-design/icons'
8
8
 
9
9
  interface IProps
10
10
  {
@@ -36,11 +36,10 @@ export class NSSelectBox extends React.Component<IProps, IState> {
36
36
  }
37
37
  override render()
38
38
  {
39
-
40
39
  return (
41
40
  <div className={`${Styles.ns_input_parent} p-2`}>
42
41
  <Select
43
- suffixIcon={<CaretDownOutlined />}
42
+ // suffixIcon={<CaretDownOutlined />}
44
43
  mode="multiple"
45
44
  style={{ width: '100%' }}
46
45
  className={Styles.ns_input_select}
@@ -0,0 +1,9 @@
1
+ .ns_title {
2
+ font-size: 32px;
3
+ font-weight: 700;
4
+ line-height: normal;
5
+ color: #001664;
6
+ margin-bottom: 16px;
7
+ width: 100%;
8
+ text-align: center;
9
+ }
@@ -0,0 +1,25 @@
1
+ 'use client'
2
+ import { Component } from 'react';
3
+
4
+ //Styles
5
+ import Styles from './NSTitle.module.css';
6
+
7
+ interface NSTitleProps
8
+ {
9
+ title: string;
10
+ color?: string;
11
+ text_align?: string;
12
+ }
13
+ class NSTitle extends Component<NSTitleProps> {
14
+ override render()
15
+ {
16
+ return (
17
+ //todo : fix text align
18
+ <h2 style={{ color: this.props.color, textAlign: this.props.text_align ? "start" : "center" }} className={`${Styles.ns_title}`}>
19
+ {this.props.title}
20
+ </h2>
21
+ );
22
+ }
23
+ }
24
+
25
+ export default NSTitle;
package/src/main.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./components/NSButtonGreen";
2
2
  export * from "./components/NSButtonRed";
3
3
  export * from "./components/NSCard";
4
+ export * from "./components/NSEntityBar";
4
5
  export * from "./components/NSFooter";
5
6
  export * from "./components/NSHeader";
6
7
  export * from "./components/NSInputDate";
@@ -19,8 +20,15 @@ export * from "./components/NSLayout";
19
20
  export * from "./components/NSLayoutHeroBanner";
20
21
  export * from "./components/NSLayoutTitle";
21
22
  export * from "./components/NSSelectBox";
23
+ export * from "./components/NSSection";
24
+ export * from "./components/NSSectionBars";
25
+ export * from "./components/NSSectionCards";
26
+ export * from "./components/NSSectionTitle";
27
+ export * from "./components/NSLinkBlue";
22
28
  export * from "./components/NSLinkGreen";
23
29
  export * from "./components/NSLinkRed";
30
+ export * from "./components/NSMap";
24
31
  export * from "./components/NSPagination";
25
32
  export * from "./components/NSTable";
33
+ export * from "./components/NSTitle";
26
34
  export * from "./pages/NSLoginPage";
@@ -0,0 +1,6 @@
1
+ export interface Background
2
+ {
3
+ image?: string,
4
+ color?: string,
5
+ position? :string
6
+ }
@@ -1,35 +0,0 @@
1
- /* .section_card_container {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- padding: 48px 0;
7
- gap: 48px;
8
- }
9
-
10
- .section_card_details>h2 {
11
- color: inherit;
12
- font-size: 32px;
13
- font-weight: 700;
14
- line-height: normal;
15
- font-style: normal;
16
- text-align: center;
17
- margin-bottom: 16px;
18
- }
19
-
20
- .section_card_details>p {
21
- color: inherit;
22
- font-size: 16px;
23
- font-weight: 400;
24
- line-height: normal;
25
- font-style: normal;
26
- margin-bottom: 0;
27
- }
28
-
29
- .ns_card_container {
30
- display: flex;
31
- flex-direction: row;
32
- flex-wrap: wrap;
33
- justify-content: space-between;
34
- gap: 24px;
35
- } */
@@ -1,35 +0,0 @@
1
- /* .section_card_container {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- padding: 48px 0;
7
- gap: 48px;
8
- }
9
-
10
- .section_card_details>h2 {
11
- color: inherit;
12
- font-size: 32px;
13
- font-weight: 700;
14
- line-height: normal;
15
- font-style: normal;
16
- text-align: center;
17
- margin-bottom: 16px;
18
- }
19
-
20
- .section_card_details>p {
21
- color: inherit;
22
- font-size: 16px;
23
- font-weight: 400;
24
- line-height: normal;
25
- font-style: normal;
26
- margin-bottom: 0;
27
- }
28
-
29
- .ns_card_container {
30
- display: flex;
31
- flex-direction: row;
32
- flex-wrap: wrap;
33
- justify-content: space-between;
34
- gap: 24px;
35
- } */
@@ -1,59 +0,0 @@
1
- //// "use client"
2
-
3
- // import { Component } from 'react';
4
- // import Styles from './NSParentCard.module.css';
5
-
6
- // interface IPropsCard
7
- // {
8
- // title: string,
9
- // src: string,
10
- // alt?: string | undefined,
11
- // description?: string | undefined,
12
- // has_link: boolean,
13
- // href?: string | undefined,
14
- // target?: string | undefined
15
- // link_text?: string,
16
- // }
17
-
18
- // interface IProps
19
- // {
20
- // background?: {
21
- // backgroundColor?: string,
22
- // backgroundImage?: string,
23
- // },
24
- // section_title: string,
25
- // section_description?: string | undefined,
26
- // card: IPropsCard,
27
- // cards: IPropsCard[]
28
- // }
29
-
30
- // interface IState
31
- // { }
32
-
33
- // export class NSParentCard extends Component<IProps, IState> {
34
- // override render()
35
- // {
36
- // return (
37
-
38
- // <>
39
- // <section className={` ${Styles.section_card_container}`}>
40
- // <div className="ns-section-whitespace">
41
- // <div className="container mx-auto px-4 lg:px-12">
42
- // <div className={Styles.section_card_details}>
43
- // <h2> {this.props.section_title} </h2>
44
- // <p> {this.props.section_description} </p>
45
- // </div>
46
- // </div>
47
- // </div>
48
- // </section>
49
-
50
- // <section className={Styles.section_card_container} style={this.props.background} >
51
- // <div className={Styles.section_card_details}>
52
- // <h2> {this.props.section_title} </h2>
53
- // <p> {this.props.section_description} </p>
54
- // </div>
55
- // </section>
56
- // </>
57
- // );
58
- // }
59
- // };