namirasoft-site-react 1.3.9 → 1.3.12

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 (105) hide show
  1. package/dist/components/NSButtonGreen.d.ts +4 -7
  2. package/dist/components/NSButtonGreen.js.map +1 -1
  3. package/dist/components/NSButtonRed.d.ts +4 -7
  4. package/dist/components/NSButtonRed.js.map +1 -1
  5. package/dist/components/NSCard.js.map +1 -1
  6. package/dist/components/NSEntityBar.js.map +1 -1
  7. package/dist/components/NSEntityCardBackground.d.ts +4 -5
  8. package/dist/components/NSEntityCardBackground.js.map +1 -1
  9. package/dist/components/NSEntityCardBackground.module.css +1 -2
  10. package/dist/components/NSFooter.d.ts +4 -5
  11. package/dist/components/NSFooter.js.map +1 -1
  12. package/dist/components/NSHeader.d.ts +4 -5
  13. package/dist/components/NSHeader.js.map +1 -1
  14. package/dist/components/NSInputDate.d.ts +4 -5
  15. package/dist/components/NSInputDate.js.map +1 -1
  16. package/dist/components/NSInputDuration.d.ts +4 -5
  17. package/dist/components/NSInputDuration.js.map +1 -1
  18. package/dist/components/NSInputEmail.d.ts +4 -5
  19. package/dist/components/NSInputEmail.js.map +1 -1
  20. package/dist/components/NSInputFloat.d.ts +4 -5
  21. package/dist/components/NSInputFloat.js.map +1 -1
  22. package/dist/components/NSInputIP.d.ts +4 -5
  23. package/dist/components/NSInputIP.js.map +1 -1
  24. package/dist/components/NSInputInteger.d.ts +4 -5
  25. package/dist/components/NSInputInteger.js.map +1 -1
  26. package/dist/components/NSInputPhone.d.ts +4 -5
  27. package/dist/components/NSInputPhone.js.map +1 -1
  28. package/dist/components/NSInputPrice.d.ts +4 -5
  29. package/dist/components/NSInputPrice.js.map +1 -1
  30. package/dist/components/NSInputSearch.d.ts +4 -5
  31. package/dist/components/NSInputSearch.js.map +1 -1
  32. package/dist/components/NSInputString.d.ts +4 -5
  33. package/dist/components/NSInputString.js.map +1 -1
  34. package/dist/components/NSInputText.d.ts +4 -5
  35. package/dist/components/NSInputText.js.map +1 -1
  36. package/dist/components/NSInputTime.d.ts +4 -5
  37. package/dist/components/NSInputTime.js.map +1 -1
  38. package/dist/components/NSLayout.d.ts +2 -3
  39. package/dist/components/NSLayout.js.map +1 -1
  40. package/dist/components/NSLayoutHeroBanner.d.ts +2 -3
  41. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  42. package/dist/components/NSLayoutTitle.d.ts +2 -3
  43. package/dist/components/NSLayoutTitle.js.map +1 -1
  44. package/dist/components/NSLinkBlue.d.ts +4 -5
  45. package/dist/components/NSLinkBlue.js.map +1 -1
  46. package/dist/components/NSLinkBlue.module.css +2 -2
  47. package/dist/components/NSLinkGreen.d.ts +4 -5
  48. package/dist/components/NSLinkGreen.js.map +1 -1
  49. package/dist/components/NSLinkRed.d.ts +4 -5
  50. package/dist/components/NSLinkRed.js.map +1 -1
  51. package/dist/components/NSPagination.d.ts +4 -6
  52. package/dist/components/NSPagination.js +9 -9
  53. package/dist/components/NSPagination.js.map +1 -1
  54. package/dist/components/NSPagination.module.css +7 -1
  55. package/dist/components/NSSection.d.ts +2 -3
  56. package/dist/components/NSSection.js.map +1 -1
  57. package/dist/components/NSSectionBars.d.ts +1 -2
  58. package/dist/components/NSSectionBars.js.map +1 -1
  59. package/dist/components/NSSectionCards.d.ts +1 -2
  60. package/dist/components/NSSectionCards.js.map +1 -1
  61. package/dist/components/NSSectionTitle.d.ts +1 -2
  62. package/dist/components/NSSectionTitle.js.map +1 -1
  63. package/dist/components/NSSelectBox.d.ts +4 -5
  64. package/dist/components/NSSelectBox.js.map +1 -1
  65. package/dist/components/NSTable.d.ts +4 -5
  66. package/dist/components/NSTable.js.map +1 -1
  67. package/dist/components/NSTitle.d.ts +1 -2
  68. package/dist/components/NSTitle.js.map +1 -1
  69. package/package.json +7 -7
  70. package/src/components/NSButtonGreen.tsx +4 -6
  71. package/src/components/NSButtonRed.tsx +4 -6
  72. package/src/components/NSCard.tsx +3 -5
  73. package/src/components/NSEntityBar.tsx +0 -1
  74. package/src/components/NSEntityCardBackground.module.css +1 -2
  75. package/src/components/NSEntityCardBackground.tsx +4 -5
  76. package/src/components/NSFooter.tsx +4 -4
  77. package/src/components/NSHeader.tsx +50 -51
  78. package/src/components/NSInputDate.tsx +6 -6
  79. package/src/components/NSInputDuration.tsx +5 -7
  80. package/src/components/NSInputEmail.tsx +5 -7
  81. package/src/components/NSInputFloat.tsx +4 -4
  82. package/src/components/NSInputIP.tsx +5 -7
  83. package/src/components/NSInputInteger.tsx +4 -4
  84. package/src/components/NSInputPhone.tsx +5 -7
  85. package/src/components/NSInputPrice.tsx +6 -8
  86. package/src/components/NSInputSearch.tsx +5 -7
  87. package/src/components/NSInputString.tsx +4 -4
  88. package/src/components/NSInputText.tsx +5 -7
  89. package/src/components/NSInputTime.tsx +5 -7
  90. package/src/components/NSLayout.tsx +2 -2
  91. package/src/components/NSLayoutHeroBanner.tsx +2 -2
  92. package/src/components/NSLayoutTitle.tsx +3 -3
  93. package/src/components/NSLinkBlue.module.css +2 -2
  94. package/src/components/NSLinkBlue.tsx +4 -4
  95. package/src/components/NSLinkGreen.tsx +4 -4
  96. package/src/components/NSLinkRed.tsx +4 -4
  97. package/src/components/NSPagination.module.css +7 -1
  98. package/src/components/NSPagination.tsx +38 -12
  99. package/src/components/NSSection.tsx +3 -2
  100. package/src/components/NSSectionBars.tsx +1 -3
  101. package/src/components/NSSectionCards.tsx +1 -2
  102. package/src/components/NSSectionTitle.tsx +2 -1
  103. package/src/components/NSSelectBox.tsx +5 -7
  104. package/src/components/NSTable.tsx +4 -4
  105. package/src/components/NSTitle.tsx +3 -3
@@ -1,11 +1,10 @@
1
1
  "use client";
2
2
 
3
3
  import { Component } from 'react';
4
-
5
4
  import Styles from './NSEntityCardBackground.module.css'
6
5
  import { Background } from '../types/Background';
7
6
 
8
- export interface IProps
7
+ export interface NSEntityCardBackgroundProps
9
8
  {
10
9
  id?: string | number;
11
10
  title: string;
@@ -18,14 +17,14 @@ export interface IProps
18
17
  background?: Background;
19
18
  }
20
19
 
21
- interface IState
20
+ export interface NSEntityCardBackgroundState
22
21
  {
23
22
  background?: Background;
24
23
  }
25
24
 
26
- export class NSEntityCardBackground extends Component<IProps, IState> {
25
+ export class NSEntityCardBackground extends Component<NSEntityCardBackgroundProps, NSEntityCardBackgroundState> {
27
26
 
28
- constructor(props: IProps)
27
+ constructor(props: NSEntityCardBackgroundProps)
29
28
  {
30
29
  super(props);
31
30
  this.state = {
@@ -4,22 +4,22 @@ import React from "react";
4
4
  import Styles from "./NSFooter.module.css";
5
5
  import { NamirasoftAPILinkServer, FilterLinkRow } from 'namirasoft-api-link';
6
6
 
7
- interface IProps
7
+ export interface NSFooterProps
8
8
  {
9
9
  scope: string;
10
10
  name: string;
11
11
  logo: string;
12
12
  }
13
13
 
14
- interface IState
14
+ export interface NSFooterState
15
15
  {
16
16
  filters: FilterLinkRow[];
17
17
  selected: FilterLinkRow | null;
18
18
  }
19
19
 
20
- export class NSFooter extends React.Component<IProps, IState>
20
+ export class NSFooter extends React.Component<NSFooterProps, NSFooterState>
21
21
  {
22
- constructor(props: IProps)
22
+ constructor(props: NSFooterProps)
23
23
  {
24
24
  super(props);
25
25
  this.state = {
@@ -2,29 +2,28 @@
2
2
 
3
3
  import React from "react";
4
4
  import Styles from "./NSHeader.module.css";
5
-
6
5
  import NavDropdown from 'react-bootstrap/NavDropdown';
7
6
  import { NamirasoftAPILinkServer, FilterLinkRow } from 'namirasoft-api-link';
8
7
  import { Background } from "../types/Background";
9
8
 
10
- interface IProps
9
+ export interface NSHeaderProps
11
10
  {
12
11
  scope: string;
13
12
  name: string;
14
- logo: string;
15
- account?: boolean;
16
- background?: Background;
13
+ logo: string;
14
+ account?: boolean;
15
+ background?: Background;
17
16
  }
18
17
 
19
- interface IState
18
+ export interface NSHeaderState
20
19
  {
21
20
  filters: FilterLinkRow[];
22
21
  selected: FilterLinkRow | null;
23
22
  showNavbar: boolean;
24
23
  }
25
24
 
26
- export class NSHeader extends React.Component<IProps, IState> {
27
- constructor(props: IProps)
25
+ export class NSHeader extends React.Component<NSHeaderProps, NSHeaderState> {
26
+ constructor(props: NSHeaderProps)
28
27
  {
29
28
  super(props);
30
29
  this.state = {
@@ -61,49 +60,49 @@ export class NSHeader extends React.Component<IProps, IState> {
61
60
  }
62
61
  override render()
63
62
  {
64
- return (
65
- <header>
66
- <nav className={Styles.ns_navbar}
67
- style={{
68
- backgroundColor: this.props.background?.color ?this.props.background?.color : "#0000004d"
69
- }}
70
- >
71
- <div className={`${Styles.ns_navbar_parent_content} container`}>
72
- <a href="/">
73
- <img
74
- src={this.props.logo}
75
- alt="Logo"
76
- width={48}
77
- height={48}
78
- />
79
- </a>
80
- <div className={`${Styles.ns_navbar_content} `} >
81
- <div className={`${Styles.ns_navbar_elements} ${this.state.showNavbar && Styles.ns_navbar_active}`}>
82
- {this.render_menu(0, null)}
83
- </div>
84
- {this.props.account &&
85
- <div className={`${Styles.ns_navbar_login_status}`}>
86
- <span className={`${Styles.ns_navbar_usersname}`}>name</span>
87
- <img src='https://static.namirasoft.com/image/logout.svg'
88
- alt="Exit"
89
- width={20}
90
- height={20}
91
- />
92
- </div>
93
- }
94
- <div className={Styles.ns_navbar_menu_icon} onClick={this.handleShowNavbar}>
95
- <img
96
- src='https://static.namirasoft.com/image/menu.svg'
97
- alt="Menu"
98
- width={19}
99
- height={17}
100
- />
101
- </div>
102
-
103
- </div>
104
- </div>
105
- </nav>
106
- </header>
63
+ return (
64
+ <header>
65
+ <nav className={Styles.ns_navbar}
66
+ style={{
67
+ backgroundColor: this.props.background?.color ? this.props.background?.color : "#0000004d"
68
+ }}
69
+ >
70
+ <div className={`${Styles.ns_navbar_parent_content} container`}>
71
+ <a href="/">
72
+ <img
73
+ src={this.props.logo}
74
+ alt="Logo"
75
+ width={48}
76
+ height={48}
77
+ />
78
+ </a>
79
+ <div className={`${Styles.ns_navbar_content} `} >
80
+ <div className={`${Styles.ns_navbar_elements} ${this.state.showNavbar && Styles.ns_navbar_active}`}>
81
+ {this.render_menu(0, null)}
82
+ </div>
83
+ {this.props.account &&
84
+ <div className={`${Styles.ns_navbar_login_status}`}>
85
+ <span className={`${Styles.ns_navbar_usersname}`}>name</span>
86
+ <img src='https://static.namirasoft.com/image/logout.svg'
87
+ alt="Exit"
88
+ width={20}
89
+ height={20}
90
+ />
91
+ </div>
92
+ }
93
+ <div className={Styles.ns_navbar_menu_icon} onClick={this.handleShowNavbar}>
94
+ <img
95
+ src='https://static.namirasoft.com/image/menu.svg'
96
+ alt="Menu"
97
+ width={19}
98
+ height={17}
99
+ />
100
+ </div>
101
+
102
+ </div>
103
+ </div>
104
+ </nav>
105
+ </header>
107
106
  );
108
107
  }
109
108
  private render_menu(level: number, parent_id: number | null)
@@ -3,18 +3,18 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInputDate.module.css";
5
5
 
6
- interface IProps
6
+ export interface NSInputDateProps
7
7
  {
8
8
  title: string;
9
9
  }
10
10
 
11
- interface IState
11
+ export interface NSInputDateState
12
12
  {
13
13
  value: string;
14
14
  }
15
15
 
16
- export class NSInputDate extends React.Component<IProps, IState> {
17
- constructor(props: IProps)
16
+ export class NSInputDate extends React.Component<NSInputDateProps, NSInputDateState> {
17
+ constructor(props: NSInputDateProps)
18
18
  {
19
19
  super(props);
20
20
  this.state = {
@@ -46,8 +46,8 @@ export class NSInputDate extends React.Component<IProps, IState> {
46
46
  onChange={this.setValue}
47
47
  type="date"
48
48
  className={Styles.ns_input}
49
- placeholder="YYYY/MM/DD"
50
- id="ns-input-date"
49
+ placeholder="YYYY/MM/DD"
50
+ id="ns-input-date"
51
51
  />
52
52
  </div>
53
53
  );
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputDuration.module.css";
5
5
  import IconInputDuration from '../assets/images/icon-input-duration.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputDurationProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputDurationState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputDuration extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputDuration extends React.Component<NSInputDurationProps, NSInputDurationState> {
18
+ constructor(props: NSInputDurationProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -60,6 +60,4 @@ export class NSInputDuration extends React.Component<IProps, IState> {
60
60
  </div>
61
61
  );
62
62
  }
63
- }
64
-
65
-
63
+ }
@@ -5,19 +5,19 @@ import Styles from "./NSInputEmail.module.css";
5
5
  import IconInputEmail from '../assets/images/icon-input-email.svg';
6
6
  import Danger from '../assets/images/danger.svg';
7
7
 
8
- interface IProps
8
+ export interface NSInputEmailProps
9
9
  {
10
10
  title: string;
11
11
  }
12
12
 
13
- interface IState
13
+ export interface NSInputEmailState
14
14
  {
15
15
  value: string;
16
16
  error: boolean;
17
17
  }
18
18
 
19
- export class NSInputEmail extends React.Component<IProps, IState> {
20
- constructor(props: IProps)
19
+ export class NSInputEmail extends React.Component<NSInputEmailProps, NSInputEmailState> {
20
+ constructor(props: NSInputEmailProps)
21
21
  {
22
22
  super(props);
23
23
  this.state = {
@@ -87,6 +87,4 @@ export class NSInputEmail extends React.Component<IProps, IState> {
87
87
  </>
88
88
  );
89
89
  }
90
- }
91
-
92
-
90
+ }
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputFloat.module.css";
5
5
  import IconInputFloat from '../assets/images/icon-input-float.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputFloatProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputFloatState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputFloat extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputFloat extends React.Component<NSInputFloatProps, NSInputFloatState> {
18
+ constructor(props: NSInputFloatProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputIP.module.css";
5
5
  import IconInputId from '../assets/images/icon-input-id.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputIPProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputIPState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputIP extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputIP extends React.Component<NSInputIPProps, NSInputIPState> {
18
+ constructor(props: NSInputIPProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -60,6 +60,4 @@ export class NSInputIP extends React.Component<IProps, IState> {
60
60
  </div>
61
61
  );
62
62
  }
63
- }
64
-
65
-
63
+ }
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputInteger.module.css";
5
5
  import IconInputInteger from '../assets/images/icon-input-integer.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputIntegerProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputIntegerState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputInteger extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputInteger extends React.Component<NSInputIntegerProps, NSInputIntegerState> {
18
+ constructor(props: NSInputIntegerProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -6,18 +6,18 @@ import IconInputPhone from '../assets/images/icon-input-phone.svg';
6
6
  import PhoneInput from 'react-phone-input-2'
7
7
  import 'react-phone-input-2/lib/style.css'
8
8
 
9
- interface IProps
9
+ export interface NSInputPhoneProps
10
10
  {
11
11
  title: string;
12
12
  }
13
13
 
14
- interface IState
14
+ export interface NSInputPhoneState
15
15
  {
16
16
  value: string;
17
17
  }
18
18
 
19
- export class NSInputPhone extends React.Component<IProps, IState> {
20
- constructor(props: IProps)
19
+ export class NSInputPhone extends React.Component<NSInputPhoneProps, NSInputPhoneState> {
20
+ constructor(props: NSInputPhoneProps)
21
21
  {
22
22
  super(props);
23
23
  this.state = {
@@ -60,6 +60,4 @@ export class NSInputPhone extends React.Component<IProps, IState> {
60
60
  </div>
61
61
  );
62
62
  }
63
- }
64
-
65
-
63
+ }
@@ -4,20 +4,20 @@ import React from "react";
4
4
  import Styles from "./NSInputPrice.module.css";
5
5
  import IconInputPrice from '../assets/images/icon-input-price.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputPriceProps
8
8
  {
9
9
  title: string;
10
10
  defaultValue?: number;
11
11
  onChanged?: (e: React.ChangeEvent<HTMLInputElement>) => void;
12
12
  }
13
13
 
14
- interface IState
14
+ export interface NSInputPriceState
15
15
  {
16
16
  value: number | undefined;
17
17
  }
18
18
 
19
- export class NSInputPrice extends React.Component<IProps, IState> {
20
- constructor(props: IProps)
19
+ export class NSInputPrice extends React.Component<NSInputPriceProps, NSInputPriceState> {
20
+ constructor(props: NSInputPriceProps)
21
21
  {
22
22
  super(props);
23
23
  this.state = {
@@ -45,7 +45,7 @@ export class NSInputPrice extends React.Component<IProps, IState> {
45
45
  {
46
46
  return (
47
47
  <div className={`${Styles.ns_input_parent} p-2`}>
48
- <img
48
+ <img
49
49
  className={Styles.ns_input_icon}
50
50
  src={IconInputPrice}
51
51
  alt="icon"
@@ -63,6 +63,4 @@ export class NSInputPrice extends React.Component<IProps, IState> {
63
63
  </div>
64
64
  );
65
65
  }
66
- }
67
-
68
-
66
+ }
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputSearch.module.css";
5
5
  import IconInputSearch from '../assets/images/icon-input-search.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputSearchProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputSearchState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputSearch extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputSearch extends React.Component<NSInputSearchProps, NSInputSearchState> {
18
+ constructor(props: NSInputSearchProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -73,6 +73,4 @@ export class NSInputSearch extends React.Component<IProps, IState> {
73
73
  </div>
74
74
  );
75
75
  }
76
- }
77
-
78
-
76
+ }
@@ -4,21 +4,21 @@ import React from "react";
4
4
  import Styles from "./NSInputString.module.css";
5
5
  import IconInputString from '../assets/images/icon-input-string.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputStringProps
8
8
  {
9
9
  title: string;
10
10
  defaultValue?: string;
11
11
  onChanged?: (e: React.ChangeEvent<HTMLInputElement>) => void;
12
12
  }
13
13
 
14
- interface IState
14
+ export interface NSInputStringState
15
15
  {
16
16
  value: string;
17
17
  }
18
18
 
19
- export class NSInputString extends React.Component<IProps, IState>
19
+ export class NSInputString extends React.Component<NSInputStringProps, NSInputStringState>
20
20
  {
21
- constructor(props: IProps)
21
+ constructor(props: NSInputStringProps)
22
22
  {
23
23
  super(props);
24
24
  this.state = {
@@ -4,20 +4,20 @@ import React from "react";
4
4
  import Styles from "./NSInputText.module.css";
5
5
  import IconInputText from '../assets/images/icon-input-text.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputTextProps
8
8
  {
9
9
  title: string;
10
10
  defaultValue?: string;
11
11
  onChanged?: (e: React.ChangeEvent<HTMLInputElement>) => void;
12
12
  }
13
13
 
14
- interface IState
14
+ export interface NSInputTextState
15
15
  {
16
16
  value: string;
17
17
  }
18
18
 
19
- export class NSInputText extends React.Component<IProps, IState> {
20
- constructor(props: IProps)
19
+ export class NSInputText extends React.Component<NSInputTextProps, NSInputTextState> {
20
+ constructor(props: NSInputTextProps)
21
21
  {
22
22
  super(props);
23
23
  this.state = {
@@ -64,6 +64,4 @@ export class NSInputText extends React.Component<IProps, IState> {
64
64
  </div>
65
65
  );
66
66
  }
67
- }
68
-
69
-
67
+ }
@@ -4,18 +4,18 @@ import React from "react";
4
4
  import Styles from "./NSInputTime.module.css";
5
5
  import IconInputTime from '../assets/images/icon-input-time.svg';
6
6
 
7
- interface IProps
7
+ export interface NSInputTimeProps
8
8
  {
9
9
  title: string;
10
10
  }
11
11
 
12
- interface IState
12
+ export interface NSInputTimeState
13
13
  {
14
14
  value: string;
15
15
  }
16
16
 
17
- export class NSInputTime extends React.Component<IProps, IState> {
18
- constructor(props: IProps)
17
+ export class NSInputTime extends React.Component<NSInputTimeProps, NSInputTimeState> {
18
+ constructor(props: NSInputTimeProps)
19
19
  {
20
20
  super(props);
21
21
  this.state = {
@@ -60,6 +60,4 @@ export class NSInputTime extends React.Component<IProps, IState> {
60
60
  </div>
61
61
  );
62
62
  }
63
- }
64
-
65
-
63
+ }
@@ -6,14 +6,14 @@ import { ReactNode } from 'react';
6
6
  import { NSHeader } from './NSHeader';
7
7
  import { NSFooter } from './NSFooter';
8
8
 
9
- interface IProps
9
+ export interface NSLayoutProps
10
10
  {
11
11
  scope: string;
12
12
  logo: string;
13
13
  children: ReactNode;
14
14
  }
15
15
 
16
- export function NSLayout(props: IProps)
16
+ export function NSLayout(props: NSLayoutProps)
17
17
  {
18
18
  return (
19
19
  <div className={Styles.ns_container}>
@@ -6,7 +6,7 @@ import Styles from './NSLayoutHeroBanner.module.css'
6
6
  import { Link } from 'react-router-dom';
7
7
  // import { NSHeader } from './NSHeader';
8
8
 
9
- interface IProps
9
+ export interface NSLayoutHeroBannerProps
10
10
  {
11
11
  scope: string;
12
12
  logo: string;
@@ -17,7 +17,7 @@ interface IProps
17
17
  children: ReactNode;
18
18
  }
19
19
 
20
- export function NSLayoutHeroBanner(props: IProps)
20
+ export function NSLayoutHeroBanner(props: NSLayoutHeroBannerProps)
21
21
  {
22
22
  return (
23
23
  <NSLayout scope={props.scope} logo={props.logo} >
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Component } from 'react';
3
2
 
3
+ import { Component } from 'react';
4
4
  import { ReactNode } from 'react';
5
5
  import { NSLayout } from './NSLayout';
6
6
 
7
- interface IProps
7
+ export interface NSLayoutTitleProps
8
8
  {
9
9
  scope: string;
10
10
  logo: string;
@@ -13,7 +13,7 @@ interface IProps
13
13
  children: ReactNode;
14
14
  }
15
15
 
16
- export class NSLayoutTitle extends Component<IProps> {
16
+ export class NSLayoutTitle extends Component<NSLayoutTitleProps> {
17
17
  override render()
18
18
  {
19
19
  return (
@@ -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%;
@@ -3,22 +3,22 @@
3
3
  import Styles from "./NSLinkBlue.module.css";
4
4
  import React from "react";
5
5
 
6
- interface IProps
6
+ export interface NSLinkBlueProps
7
7
  {
8
8
  title: string;
9
9
  href: string;
10
10
  style?: React.CSSProperties;
11
11
  }
12
12
 
13
- interface IState
13
+ export interface NSLinkBlueState
14
14
  {
15
15
  title: string;
16
16
  href: string;
17
17
  }
18
18
 
19
- export class NSLinkBlue extends React.Component<IProps, IState>
19
+ export class NSLinkBlue extends React.Component<NSLinkBlueProps, NSLinkBlueState>
20
20
  {
21
- constructor(props: IProps)
21
+ constructor(props: NSLinkBlueProps)
22
22
  {
23
23
  super(props);
24
24
  this.state = { title: props.title, href: props.href };