namirasoft-site-react 1.2.34 → 1.2.36
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.
- package/dist/App.js +1 -1
- package/dist/App.js.map +1 -1
- package/dist/components/NSButtonGreen.d.ts +2 -0
- package/dist/components/NSButtonGreen.js +1 -0
- package/dist/components/NSButtonGreen.js.map +1 -1
- package/dist/components/NSButtonRed.js +1 -0
- package/dist/components/NSButtonRed.js.map +1 -1
- package/dist/components/NSCard.d.ts +20 -0
- package/dist/components/NSCard.js +13 -0
- package/dist/components/NSCard.js.map +1 -0
- package/dist/components/NSCard.module.css +85 -0
- package/dist/components/NSFooter.js +4 -2
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSFooter.module.css +86 -20
- package/dist/components/NSHeader.js +4 -6
- package/dist/components/NSHeader.js.map +1 -1
- package/dist/components/NSHeader.module.css +56 -2
- package/dist/components/NSInputDate.js +2 -1
- package/dist/components/NSInputDate.js.map +1 -1
- package/dist/components/NSInputDate.module.css +30 -26
- package/dist/components/NSInputDuration.js +1 -0
- package/dist/components/NSInputDuration.js.map +1 -1
- package/dist/components/NSInputEmail.js +1 -0
- package/dist/components/NSInputEmail.js.map +1 -1
- package/dist/components/NSInputFloat.js +1 -0
- package/dist/components/NSInputFloat.js.map +1 -1
- package/dist/components/NSInputFloat.module.css +7 -4
- package/dist/components/NSInputIP.js +1 -0
- package/dist/components/NSInputIP.js.map +1 -1
- package/dist/components/NSInputIP.module.css +6 -3
- package/dist/components/NSInputInteger.js +1 -0
- package/dist/components/NSInputInteger.js.map +1 -1
- package/dist/components/NSInputPhone.js +1 -0
- package/dist/components/NSInputPhone.js.map +1 -1
- package/dist/components/NSInputPhone.module.css +10 -7
- package/dist/components/NSInputPrice.js +1 -0
- package/dist/components/NSInputPrice.js.map +1 -1
- package/dist/components/NSInputPrice.module.css +6 -3
- package/dist/components/NSInputSearch.js +1 -0
- package/dist/components/NSInputSearch.js.map +1 -1
- package/dist/components/NSInputString.js +1 -0
- package/dist/components/NSInputString.js.map +1 -1
- package/dist/components/NSInputString.module.css +6 -3
- package/dist/components/NSInputText.js +1 -0
- package/dist/components/NSInputText.js.map +1 -1
- package/dist/components/NSInputText.module.css +6 -3
- package/dist/components/NSInputTime.js +1 -0
- package/dist/components/NSInputTime.js.map +1 -1
- package/dist/components/NSInputTime.module.css +6 -3
- package/dist/components/NSLayout.d.ts +2 -6
- package/dist/components/NSLayout.js +2 -5
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayout.module.css +7 -0
- package/dist/components/NSLayoutHeroBanner.d.ts +12 -0
- package/dist/components/NSLayoutHeroBanner.js +8 -0
- package/dist/components/NSLayoutHeroBanner.js.map +1 -0
- package/dist/components/NSLayoutHeroBanner.module.css +44 -0
- package/dist/components/NSLayoutTitle.d.ts +10 -0
- package/dist/components/NSLayoutTitle.js +6 -0
- package/dist/components/NSLayoutTitle.js.map +1 -0
- package/dist/components/NSLinkGreen.js +1 -0
- package/dist/components/NSLinkGreen.js.map +1 -1
- package/dist/components/NSLinkRed.js +1 -0
- package/dist/components/NSLinkRed.js.map +1 -1
- package/dist/components/NSPagination.js +1 -0
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSParentCard.module.css +35 -0
- package/dist/components/NSSelectBox.js +1 -0
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSSelectBox.module.css +6 -2
- package/dist/components/NSTable.js +1 -0
- package/dist/components/NSTable.js.map +1 -1
- package/dist/main.d.ts +3 -0
- package/dist/main.js +3 -0
- package/dist/main.js.map +1 -1
- package/dist/pages/NSLoginPage.js +1 -0
- package/dist/pages/NSLoginPage.js.map +1 -1
- package/package.json +7 -7
- package/src/App.tsx +3 -2
- package/src/components/NSButtonGreen.tsx +4 -0
- package/src/components/NSButtonRed.tsx +2 -0
- package/src/components/NSCard.module.css +85 -0
- package/src/components/NSCard.tsx +54 -0
- package/src/components/NSFooter.module.css +86 -20
- package/src/components/NSFooter.tsx +21 -20
- package/src/components/NSHeader.module.css +56 -2
- package/src/components/NSHeader.tsx +14 -14
- package/src/components/NSInputDate.module.css +30 -26
- package/src/components/NSInputDate.tsx +4 -1
- package/src/components/NSInputDuration.tsx +2 -0
- package/src/components/NSInputEmail.tsx +2 -0
- package/src/components/NSInputFloat.module.css +7 -4
- package/src/components/NSInputFloat.tsx +2 -0
- package/src/components/NSInputIP.module.css +6 -3
- package/src/components/NSInputIP.tsx +2 -0
- package/src/components/NSInputInteger.tsx +2 -0
- package/src/components/NSInputPhone.module.css +10 -7
- package/src/components/NSInputPhone.tsx +2 -0
- package/src/components/NSInputPrice.module.css +6 -3
- package/src/components/NSInputPrice.tsx +2 -0
- package/src/components/NSInputSearch.tsx +2 -0
- package/src/components/NSInputString.module.css +6 -3
- package/src/components/NSInputString.tsx +2 -0
- package/src/components/NSInputText.module.css +6 -3
- package/src/components/NSInputText.tsx +2 -0
- package/src/components/NSInputTime.module.css +6 -3
- package/src/components/NSInputTime.tsx +2 -0
- package/src/components/NSLayout.module.css +7 -0
- package/src/components/NSLayout.tsx +18 -27
- package/src/components/NSLayoutHeroBanner.module.css +44 -0
- package/src/components/NSLayoutHeroBanner.tsx +84 -0
- package/src/components/NSLayoutTitle.tsx +24 -0
- package/src/components/NSLinkGreen.tsx +2 -0
- package/src/components/NSLinkRed.tsx +2 -0
- package/src/components/NSPagination.tsx +2 -0
- package/src/components/NSParentCard.module.css +35 -0
- package/src/components/NSParentCard.tsx.temp +59 -0
- package/src/components/NSSelectBox.module.css +6 -2
- package/src/components/NSSelectBox.tsx +2 -0
- package/src/components/NSTable.tsx +2 -0
- package/src/main.ts +4 -0
- package/src/pages/NSLoginPage.tsx +2 -0
|
@@ -0,0 +1,59 @@
|
|
|
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 default 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
|
+
// };
|
|
@@ -7,18 +7,22 @@
|
|
|
7
7
|
height: 48px;
|
|
8
8
|
width: 304px !important;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
.ns_input_select span span svg path {
|
|
11
12
|
height: 24px !important;
|
|
12
13
|
width: 24px !important;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
.ns_input_select span span svg {
|
|
15
17
|
height: 24px !important;
|
|
16
18
|
width: 24px !important;
|
|
17
19
|
}
|
|
18
|
-
|
|
20
|
+
|
|
21
|
+
.ns_input_select span span span svg path {
|
|
19
22
|
height: 12px !important;
|
|
20
23
|
width: 12px !important;
|
|
21
24
|
}
|
|
25
|
+
|
|
22
26
|
.ns_input_select span span span svg {
|
|
23
27
|
height: 12px !important;
|
|
24
28
|
width: 12px !important;
|
package/src/main.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./components/NSButtonGreen";
|
|
2
2
|
export * from "./components/NSButtonRed";
|
|
3
|
+
export * from "./components/NSCard";
|
|
4
|
+
// export * from "./components/NSParentCard";
|
|
3
5
|
export * from "./components/NSFooter";
|
|
4
6
|
export * from "./components/NSHeader";
|
|
5
7
|
export * from "./components/NSInputDate";
|
|
@@ -15,6 +17,8 @@ export * from "./components/NSInputString";
|
|
|
15
17
|
export * from "./components/NSInputText";
|
|
16
18
|
export * from "./components/NSInputTime";
|
|
17
19
|
export * from "./components/NSLayout";
|
|
20
|
+
export * from "./components/NSLayoutHeroBanner";
|
|
21
|
+
export * from "./components/NSLayoutTitle";
|
|
18
22
|
export * from "./components/NSSelectBox";
|
|
19
23
|
export * from "./components/NSLinkGreen";
|
|
20
24
|
export * from "./components/NSLinkRed";
|