namirasoft-site-react 1.3.59 → 1.3.60

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 (141) hide show
  1. package/dist/App.js +2 -15
  2. package/dist/App.js.map +1 -1
  3. package/dist/components/NSButton.d.ts +4 -3
  4. package/dist/components/NSButton.js.map +1 -1
  5. package/dist/components/NSButtonBlue.d.ts +2 -1
  6. package/dist/components/NSButtonBlue.js.map +1 -1
  7. package/dist/components/NSButtonBlueVector.d.ts +2 -1
  8. package/dist/components/NSButtonBlueVector.js.map +1 -1
  9. package/dist/components/NSButtonGreen.d.ts +2 -1
  10. package/dist/components/NSButtonGreen.js.map +1 -1
  11. package/dist/components/NSButtonRed.d.ts +2 -1
  12. package/dist/components/NSButtonRed.js.map +1 -1
  13. package/dist/components/NSCard.d.ts +2 -1
  14. package/dist/components/NSCard.js.map +1 -1
  15. package/dist/components/NSCopyToClipboard.d.ts +2 -1
  16. package/dist/components/NSEntityBar.d.ts +2 -1
  17. package/dist/components/NSEntityBar.js.map +1 -1
  18. package/dist/components/NSEntityCardBackground.d.ts +2 -1
  19. package/dist/components/NSFooter.d.ts +2 -1
  20. package/dist/components/NSFooter.js.map +1 -1
  21. package/dist/components/NSHeader.d.ts +2 -1
  22. package/dist/components/NSHeader.js.map +1 -1
  23. package/dist/components/NSInputDate.d.ts +1 -0
  24. package/dist/components/NSInputDate.js +4 -3
  25. package/dist/components/NSInputDate.js.map +1 -1
  26. package/dist/components/NSInputDuration.js.map +1 -1
  27. package/dist/components/NSInputEmail.js +2 -1
  28. package/dist/components/NSInputEmail.js.map +1 -1
  29. package/dist/components/NSInputErrorNotifier.d.ts +5 -0
  30. package/dist/components/NSInputErrorNotifier.js +7 -0
  31. package/dist/components/NSInputErrorNotifier.js.map +1 -0
  32. package/dist/components/NSInputIP.js.map +1 -1
  33. package/dist/components/NSInputInteger.js.map +1 -1
  34. package/dist/components/NSInputPhone.js.map +1 -1
  35. package/dist/components/NSInputPrice.js.map +1 -1
  36. package/dist/components/NSInputSearch.js.map +1 -1
  37. package/dist/components/NSInputText.js.map +1 -1
  38. package/dist/components/NSInputTime.js.map +1 -1
  39. package/dist/components/NSLayout.d.ts +4 -1
  40. package/dist/components/NSLayout.js +2 -1
  41. package/dist/components/NSLayout.js.map +1 -1
  42. package/dist/components/NSLayoutHeroBanner.d.ts +3 -3
  43. package/dist/components/NSLayoutHeroBanner.js +1 -1
  44. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  45. package/dist/components/NSLayoutTitle.d.ts +3 -4
  46. package/dist/components/NSLayoutTitle.js +2 -2
  47. package/dist/components/NSLayoutTitle.js.map +1 -1
  48. package/dist/components/NSLinkBlue.d.ts +2 -2
  49. package/dist/components/NSLinkBlue.js.map +1 -1
  50. package/dist/components/NSLinkGreen.d.ts +2 -1
  51. package/dist/components/NSLinkGreen.js.map +1 -1
  52. package/dist/components/NSLinkRed.d.ts +2 -1
  53. package/dist/components/NSLinkRed.js.map +1 -1
  54. package/dist/components/NSLoading.d.ts +2 -2
  55. package/dist/components/NSLoading.js.map +1 -1
  56. package/dist/components/NSNotification.d.ts +22 -0
  57. package/dist/components/NSNotification.js +32 -0
  58. package/dist/components/NSNotification.js.map +1 -0
  59. package/dist/components/NSNotification.module.css +32 -0
  60. package/dist/components/NSPagination.d.ts +2 -1
  61. package/dist/components/NSPagination.js.map +1 -1
  62. package/dist/components/NSPanel.d.ts +2 -1
  63. package/dist/components/NSPanel.js.map +1 -1
  64. package/dist/components/NSSection.d.ts +2 -1
  65. package/dist/components/NSSection.js.map +1 -1
  66. package/dist/components/NSSectionBars.d.ts +2 -1
  67. package/dist/components/NSSectionBars.js.map +1 -1
  68. package/dist/components/NSSectionCards.d.ts +2 -1
  69. package/dist/components/NSSectionCards.js.map +1 -1
  70. package/dist/components/NSSectionTitle.d.ts +2 -1
  71. package/dist/components/NSSectionTitle.js.map +1 -1
  72. package/dist/components/NSSelectBox.d.ts +8 -4
  73. package/dist/components/NSSelectBox.js +11 -3
  74. package/dist/components/NSSelectBox.js.map +1 -1
  75. package/dist/components/NSSpace.d.ts +2 -1
  76. package/dist/components/NSSpace.js.map +1 -1
  77. package/dist/components/NSTable.d.ts +2 -1
  78. package/dist/components/NSTable.js.map +1 -1
  79. package/dist/components/NSTitle.d.ts +2 -1
  80. package/dist/components/NSTitle.js.map +1 -1
  81. package/dist/main.d.ts +2 -2
  82. package/dist/main.js +2 -2
  83. package/dist/main.js.map +1 -1
  84. package/dist/props/NSButtonProps.d.ts +2 -1
  85. package/package.json +3 -3
  86. package/src/App.tsx +3 -24
  87. package/src/components/NSButton.tsx +5 -3
  88. package/src/components/NSButtonBlue.tsx +2 -1
  89. package/src/components/NSButtonBlueVector.tsx +2 -1
  90. package/src/components/NSButtonGreen.tsx +2 -1
  91. package/src/components/NSButtonRed.tsx +2 -1
  92. package/src/components/NSCard.tsx +2 -1
  93. package/src/components/NSCopyToClipboard.tsx +3 -3
  94. package/src/components/NSEntityBar.tsx +4 -2
  95. package/src/components/NSEntityCardBackground.tsx +2 -2
  96. package/src/components/NSFooter.tsx +9 -8
  97. package/src/components/NSHeader.tsx +9 -8
  98. package/src/components/NSInputDate.tsx +20 -15
  99. package/src/components/NSInputDuration.tsx +10 -9
  100. package/src/components/NSInputEmail.tsx +2 -0
  101. package/src/components/NSInputErrorNotifier.tsx +28 -0
  102. package/src/components/NSInputFloat.tsx +1 -1
  103. package/src/components/NSInputIP.tsx +4 -3
  104. package/src/components/NSInputInteger.tsx +2 -1
  105. package/src/components/NSInputPhone.tsx +2 -1
  106. package/src/components/NSInputPrice.tsx +2 -1
  107. package/src/components/NSInputSearch.tsx +3 -3
  108. package/src/components/NSInputText.tsx +2 -1
  109. package/src/components/NSInputTime.tsx +2 -1
  110. package/src/components/NSLayout.tsx +5 -1
  111. package/src/components/NSLayoutHeroBanner.tsx +4 -6
  112. package/src/components/NSLayoutTitle.tsx +4 -6
  113. package/src/components/NSLinkBlue.tsx +2 -3
  114. package/src/components/NSLinkGreen.tsx +2 -1
  115. package/src/components/NSLinkRed.tsx +2 -1
  116. package/src/components/NSLoading.tsx +2 -1
  117. package/src/components/NSNotification.module.css +32 -0
  118. package/src/components/{NSMessenger.tsx → NSNotification.tsx} +18 -7
  119. package/src/components/NSPagination.tsx +14 -13
  120. package/src/components/NSPanel.tsx +7 -5
  121. package/src/components/NSSection.tsx +2 -1
  122. package/src/components/NSSectionBars.tsx +2 -1
  123. package/src/components/NSSectionCards.tsx +3 -2
  124. package/src/components/NSSectionTitle.tsx +2 -1
  125. package/src/components/NSSelectBox.tsx +21 -8
  126. package/src/components/NSSpace.tsx +3 -1
  127. package/src/components/NSTable.tsx +2 -1
  128. package/src/components/NSTitle.tsx +2 -1
  129. package/src/main.ts +2 -2
  130. package/src/props/NSButtonProps.ts +2 -1
  131. package/dist/components/NSError.d.ts +0 -11
  132. package/dist/components/NSError.js +0 -14
  133. package/dist/components/NSError.js.map +0 -1
  134. package/dist/components/NSMessenger.d.ts +0 -14
  135. package/dist/components/NSMessenger.js +0 -23
  136. package/dist/components/NSMessenger.js.map +0 -1
  137. package/dist/components/NSMessenger.module.css +0 -16
  138. package/src/components/NSError.tsx +0 -42
  139. package/src/components/NSMessenger.module.css +0 -16
  140. /package/dist/components/{NSError.module.css → NSInputErrorNotifier.module.css} +0 -0
  141. /package/src/components/{NSError.module.css → NSInputErrorNotifier.module.css} +0 -0
@@ -1,18 +1,20 @@
1
1
  "use client";
2
2
 
3
3
  import { Component, ReactNode } from "react";
4
- import Styles from './NSPanel.module.css'
4
+ import Styles from './NSPanel.module.css';
5
+ import { BaseComponentProps } from "../props/BaseComponentProps";
5
6
 
6
- export interface NSSectionProps
7
+ export interface NSSectionProps extends BaseComponentProps
7
8
  {
8
9
  children: ReactNode;
9
10
  grid: boolean;
10
11
  }
11
12
 
12
13
  export interface NSSectionState
13
- {}
14
+ { }
14
15
 
15
- export class NSPanel extends Component<NSSectionProps, NSSectionState> {
16
+ export class NSPanel extends Component<NSSectionProps, NSSectionState>
17
+ {
16
18
  constructor(props: NSSectionProps)
17
19
  {
18
20
  super(props);
@@ -21,7 +23,7 @@ export class NSPanel extends Component<NSSectionProps, NSSectionState> {
21
23
  {
22
24
  return (
23
25
  <section
24
- className={this.props.grid ? Styles.ns_panel_grid : Styles.ns_panel_column } >
26
+ className={this.props.grid ? Styles.ns_panel_grid : Styles.ns_panel_column} >
25
27
  {this.props.children}
26
28
  </section>
27
29
  );
@@ -3,8 +3,9 @@
3
3
  import { Component, ReactNode } from "react";
4
4
  import Styles from './NSSection.module.css'
5
5
  import { BackgroundProps } from "../props/BackgroundProps";
6
+ import { BaseComponentProps } from "../props/BaseComponentProps";
6
7
 
7
- export interface NSSectionProps
8
+ export interface NSSectionProps extends BaseComponentProps
8
9
  {
9
10
  children: ReactNode;
10
11
  background?: BackgroundProps;
@@ -6,8 +6,9 @@ import { NSEntityBar, NSEntityBarProps } from './NSEntityBar';
6
6
  import { NSSection } from './NSSection';
7
7
  import { BackgroundProps } from '../props/BackgroundProps';
8
8
  import { NSSpace, NSSpaceSizeType } from './NSSpace';
9
+ import { BaseComponentProps } from "../props/BaseComponentProps";
9
10
 
10
- export interface NSSectionBarsProps
11
+ export interface NSSectionBarsProps extends BaseComponentProps
11
12
  {
12
13
  background?: BackgroundProps;
13
14
  bars: NSEntityBarProps[]
@@ -8,8 +8,9 @@ import { NSSection } from './NSSection';
8
8
  import { NSLinkBlue } from './NSLinkBlue';
9
9
  import { BackgroundProps } from '../props/BackgroundProps';
10
10
  import { NSSpace, NSSpaceSizeType } from './NSSpace';
11
+ import { BaseComponentProps } from "../props/BaseComponentProps";
11
12
 
12
- export interface NSSectionCardsProps
13
+ export interface NSSectionCardsProps extends BaseComponentProps
13
14
  {
14
15
  title?: {
15
16
  text: string,
@@ -39,7 +40,7 @@ export class NSSectionCards extends Component<NSSectionCardsProps>
39
40
  {
40
41
  this.props.title &&
41
42
  <div className={Styles.ns_section_cards_title_container}>
42
- <NSTitle color={this.props.title?.color} title={this.props.title?.text} />
43
+ <NSTitle color={this.props.title?.color} title={this.props.title?.text} />
43
44
  {
44
45
  this.props.description &&
45
46
  <p style={{ color: this.props.description?.color }} className={Styles.ns_description}> {this.props.description.text} </p>
@@ -5,8 +5,9 @@ import { NSSection } from './NSSection';
5
5
  import { NSTitle } from './NSTitle';
6
6
  import { BackgroundProps } from '../props/BackgroundProps';
7
7
  import { NSSpace, NSSpaceSizeType } from './NSSpace';
8
+ import { BaseComponentProps } from "../props/BaseComponentProps";
8
9
 
9
- export interface NSSectionTitleProps
10
+ export interface NSSectionTitleProps extends BaseComponentProps
10
11
  {
11
12
  title: {
12
13
  text: string,
@@ -5,8 +5,9 @@ import Styles from "./NSSelectBox.module.css";
5
5
  import { Select, Space } from 'antd';
6
6
  import type { SelectProps } from 'antd';
7
7
  import IconSelectBox from '../assets/images/icon-select-box.svg';
8
+ import { BaseComponentProps } from "../props/BaseComponentProps";
8
9
 
9
- export interface NSSelectBoxProps
10
+ export interface NSSelectBoxProps extends BaseComponentProps
10
11
  {
11
12
  title: string;
12
13
  options: SelectProps['options'];
@@ -14,26 +15,38 @@ export interface NSSelectBoxProps
14
15
 
15
16
  export interface NSSelectBoxState
16
17
  {
17
- value: string[];
18
+ value: string | null;
19
+ values: string[];
18
20
  }
19
21
 
20
- export class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxState> {
22
+ export class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxState>
23
+ {
21
24
  constructor(props: NSSelectBoxProps)
22
25
  {
23
26
  super(props);
24
27
  this.state = {
25
- value: [],
28
+ value: null,
29
+ values: [],
26
30
  };
27
- this.setValue = this.setValue.bind(this);
31
+ this.getValues = this.getValues.bind(this);
32
+ this.setValues = this.setValues.bind(this);
28
33
  }
29
- setValue(value: string[]): void
34
+ setValue(value: string | null): void
30
35
  {
31
36
  this.setState({ value });
32
37
  }
33
- getValue(): string[]
38
+ getValue(): string | null
34
39
  {
35
40
  return this.state.value;
36
41
  }
42
+ setValues(values: string[]): void
43
+ {
44
+ this.setState({ values });
45
+ }
46
+ getValues(): string[]
47
+ {
48
+ return this.state.values;
49
+ }
37
50
  override render()
38
51
  {
39
52
  return (
@@ -44,7 +57,7 @@ export class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxSt
44
57
  style={{ width: '100%' }}
45
58
  className={Styles.ns_input_select}
46
59
  placeholder="Combo Box"
47
- onChange={this.setValue}
60
+ onChange={this.setValues}
48
61
  optionLabelProp="label"
49
62
  options={this.props.options}
50
63
  optionRender={(option) => (
@@ -1,4 +1,6 @@
1
- export interface NSSpaceProps
1
+ import { BaseComponentProps } from "../props/BaseComponentProps";
2
+
3
+ export interface NSSpaceProps extends BaseComponentProps
2
4
  {
3
5
  size: NSSpaceSizeType;
4
6
  }
@@ -6,8 +6,9 @@ import { NSPagination } from './NSPagination';
6
6
  import { NSSpace, NSSpaceSizeType } from './NSSpace';
7
7
  import Styles from './NSTable.module.css';
8
8
  import { Component } from 'react';
9
+ import { BaseComponentProps } from "../props/BaseComponentProps";
9
10
 
10
- export interface NSTableProps<RowType>
11
+ export interface NSTableProps<RowType> extends BaseComponentProps
11
12
  {
12
13
  columns: { [key: string]: string };
13
14
  rows: RowType[];
@@ -2,8 +2,9 @@
2
2
 
3
3
  import { Component } from 'react';
4
4
  import Styles from './NSTitle.module.css';
5
+ import { BaseComponentProps } from "../props/BaseComponentProps";
5
6
 
6
- export interface NSTitleProps
7
+ export interface NSTitleProps extends BaseComponentProps
7
8
  {
8
9
  title: string;
9
10
  color?: string;
package/src/main.ts CHANGED
@@ -6,7 +6,7 @@ export * from "./components/NSButtonRed";
6
6
  export * from "./components/NSCard";
7
7
  export * from "./components/NSEntityCardBackground";
8
8
  export * from "./components/NSEntityBar";
9
- export * from "./components/NSError";
9
+ export * from "./components/NSInputErrorNotifier";
10
10
  export * from "./components/NSFooter";
11
11
  export * from "./components/NSHeader";
12
12
  export * from "./components/NSCopyToClipboard";
@@ -27,7 +27,7 @@ export * from "./components/NSLayout";
27
27
  export * from "./components/NSLayoutHeroBanner";
28
28
  export * from "./components/NSLayoutTitle";
29
29
  export * from "./components/NSLoading";
30
- export * from "./components/NSMessenger";
30
+ export * from "./components/NSNotification";
31
31
  export * from "./components/NSSelectBox";
32
32
  export * from "./components/NSSpace";
33
33
  export * from "./components/NSSection";
@@ -1,7 +1,8 @@
1
1
  import { BackgroundProps } from "./BackgroundProps";
2
+ import { BaseComponentProps } from "./BaseComponentProps";
2
3
  import { ImageProps } from "./ImageProps";
3
4
 
4
- export interface NSButtonProps
5
+ export interface NSButtonProps extends BaseComponentProps // todo
5
6
  {
6
7
  title: string;
7
8
  onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- export interface NSErrorProps {
3
- text: string;
4
- show: boolean;
5
- }
6
- export interface NSErroState {
7
- }
8
- export declare class NSError extends React.Component<NSErrorProps, NSErroState> {
9
- constructor(props: NSErrorProps);
10
- render(): import("react/jsx-runtime").JSX.Element;
11
- }
@@ -1,14 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import React from "react";
4
- import Styles from "./NSError.module.css";
5
- import Danger from '../assets/images/danger.svg';
6
- export class NSError extends React.Component {
7
- constructor(props) {
8
- super(props);
9
- }
10
- render() {
11
- return _jsx(_Fragment, { children: this.props.show && (_jsx(_Fragment, { children: _jsxs("div", { className: "d-flex justify-content-start align-items-center gap-2 ms-2", children: [_jsx("img", { className: "", src: Danger, alt: "Error Icon", width: 13, height: 13 }), _jsx("span", { className: Styles.ns_input_error, children: this.props.text })] }) })) });
12
- }
13
- }
14
- //# sourceMappingURL=NSError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NSError.js","sourceRoot":"","sources":["../../src/components/NSError.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,MAAM,MAAM,6BAA6B,CAAC;AAWjD,MAAM,OAAO,OAAQ,SAAQ,KAAK,CAAC,SAAoC;IAEnE,YAAY,KAAmB;QAE3B,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAEQ,MAAM;QAEX,OAAO,4BACF,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAChB,4BACI,eAAK,SAAS,EAAC,4DAA4D,aACvE,cACI,SAAS,EAAE,EAAE,EACb,GAAG,EAAE,MAAM,EACX,GAAG,EAAC,YAAY,EAChB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACZ,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,cAAc,YAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAQ,IAC9D,GACP,CACN,GACF,CAAA;IACP,CAAC;CACJ"}
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- export interface NSMessengerProps {
3
- title: string;
4
- success: boolean;
5
- }
6
- export interface NSMessengerState {
7
- show: boolean;
8
- }
9
- export declare class NSMessenger extends React.Component<NSMessengerProps, NSMessengerState> {
10
- constructor(props: NSMessengerProps);
11
- componentDidMount(): void;
12
- handleDestroy: () => void;
13
- render(): import("react/jsx-runtime").JSX.Element;
14
- }
@@ -1,23 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import React from "react";
4
- import Exit from '../assets/images/close-vector.png';
5
- import Styles from "./NSMessenger.module.css";
6
- export class NSMessenger extends React.Component {
7
- constructor(props) {
8
- super(props);
9
- this.handleDestroy = () => {
10
- this.setState({ show: false });
11
- };
12
- this.state = {
13
- show: true,
14
- };
15
- }
16
- componentDidMount() {
17
- setTimeout(() => { this.handleDestroy(); }, 8000);
18
- }
19
- render() {
20
- return _jsx(_Fragment, { children: this.state.show && (_jsxs("div", { className: `${Styles.ns_messenger} "" ${this.props.success == true ? Styles.ns_green : Styles.ns_red}`, children: [_jsx("p", { className: `mb-0 ns-font-16-normal`, children: this.props.title }), _jsx("img", { className: Styles.ns_exit_icon, src: Exit, alt: "exit", width: 32, height: 32, onClick: () => this.handleDestroy() })] })) });
21
- }
22
- }
23
- //# sourceMappingURL=NSMessenger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NSMessenger.js","sourceRoot":"","sources":["../../src/components/NSMessenger.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,mCAAmC,CAAC;AACrD,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAa9C,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAA6C;IAEhF,YAAY,KAAuB;QAE/B,KAAK,CAAC,KAAK,CAAC,CAAC;QAWjB,kBAAa,GAAG,GAAG,EAAE;YAEjB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;QACnC,CAAC,CAAC;QAbE,IAAI,CAAC,KAAK,GAAG;YACT,IAAI,EAAE,IAAI;SACb,CAAC;IACN,CAAC;IAEQ,iBAAiB;QAEtB,UAAU,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,aAAa,EAAE,CAAA,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAOQ,MAAM;QAEX,OAAO,4BACF,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAChB,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,YAAY,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,aACvG,YAAG,SAAS,EAAE,wBAAwB,YAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAK,EAC9D,cACI,SAAS,EAAE,MAAM,CAAC,YAAY,EAC9B,GAAG,EAAE,IAAI,EACT,GAAG,EAAC,MAAM,EACV,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,GACrC,IACA,CACT,GACF,CAAA;IACP,CAAC;CACJ"}
@@ -1,16 +0,0 @@
1
- .ns_messenger {
2
- background-color: #fff;
3
- padding: 12px 15px;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- }
8
-
9
- .ns_green {
10
- border: 3px solid rgba(112, 224, 0, 1);
11
- box-shadow: 1px 1px 8px 0px rgba(112, 224, 0, 1);
12
- }
13
- .ns_red {
14
- border: 3px solid red;
15
- box-shadow: 1px 1px 8px 0px red;
16
- }
@@ -1,42 +0,0 @@
1
- "use client";
2
-
3
- import React from "react";
4
- import Styles from "./NSError.module.css";
5
- import Danger from '../assets/images/danger.svg';
6
-
7
- export interface NSErrorProps
8
- {
9
- text: string;
10
- show: boolean;
11
- }
12
-
13
- export interface NSErroState
14
- { }
15
-
16
- export class NSError extends React.Component<NSErrorProps, NSErroState>
17
- {
18
- constructor(props: NSErrorProps)
19
- {
20
- super(props);
21
- }
22
-
23
- override render()
24
- {
25
- return <>
26
- {this.props.show && (
27
- <>
28
- <div className="d-flex justify-content-start align-items-center gap-2 ms-2">
29
- <img
30
- className={""}
31
- src={Danger}
32
- alt="Error Icon"
33
- width={13}
34
- height={13}
35
- />
36
- <span className={Styles.ns_input_error}>{this.props.text}</span>
37
- </div>
38
- </>
39
- )}
40
- </>
41
- }
42
- }
@@ -1,16 +0,0 @@
1
- .ns_messenger {
2
- background-color: #fff;
3
- padding: 12px 15px;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- }
8
-
9
- .ns_green {
10
- border: 3px solid rgba(112, 224, 0, 1);
11
- box-shadow: 1px 1px 8px 0px rgba(112, 224, 0, 1);
12
- }
13
- .ns_red {
14
- border: 3px solid red;
15
- box-shadow: 1px 1px 8px 0px red;
16
- }