namirasoft-site-react 1.2.41 → 1.2.43

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 (181) hide show
  1. package/.gitlab-ci.yml +14 -14
  2. package/config-overrides.js +65 -65
  3. package/dist/App.d.ts +3 -3
  4. package/dist/App.js +8 -8
  5. package/dist/assets/images/arrow.svg +3 -3
  6. package/dist/assets/images/danger.svg +3 -3
  7. package/dist/assets/images/exit.svg +3 -3
  8. package/dist/assets/images/icon-input-date.svg +9 -9
  9. package/dist/assets/images/icon-input-duration.svg +9 -9
  10. package/dist/assets/images/icon-input-email.svg +9 -9
  11. package/dist/assets/images/icon-input-float.svg +9 -9
  12. package/dist/assets/images/icon-input-id.svg +9 -9
  13. package/dist/assets/images/icon-input-integer.svg +9 -9
  14. package/dist/assets/images/icon-input-phone.svg +9 -9
  15. package/dist/assets/images/icon-input-price.svg +9 -9
  16. package/dist/assets/images/icon-input-search.svg +4 -4
  17. package/dist/assets/images/icon-input-string.svg +9 -9
  18. package/dist/assets/images/icon-input-text.svg +9 -9
  19. package/dist/assets/images/icon-input-time.svg +9 -9
  20. package/dist/assets/images/logo.svg +9 -9
  21. package/dist/assets/images/menu.svg +3 -3
  22. package/dist/assets/images/namira.svg +9 -9
  23. package/dist/assets/images/rectangle.svg +3 -3
  24. package/dist/components/NSButtonGreen.d.ts +16 -16
  25. package/dist/components/NSButtonGreen.js +16 -16
  26. package/dist/components/NSButtonRed.d.ts +16 -16
  27. package/dist/components/NSButtonRed.js +16 -16
  28. package/dist/components/NSCard.d.ts +20 -20
  29. package/dist/components/NSCard.js +12 -12
  30. package/dist/components/NSFooter.d.ts +20 -20
  31. package/dist/components/NSFooter.js +46 -46
  32. package/dist/components/NSHeader.d.ts +23 -23
  33. package/dist/components/NSHeader.js +60 -60
  34. package/dist/components/NSInputDate.d.ts +15 -15
  35. package/dist/components/NSInputDate.js +27 -27
  36. package/dist/components/NSInputDuration.d.ts +15 -15
  37. package/dist/components/NSInputDuration.js +28 -28
  38. package/dist/components/NSInputEmail.d.ts +16 -16
  39. package/dist/components/NSInputEmail.js +36 -36
  40. package/dist/components/NSInputEmail.module.css +37 -37
  41. package/dist/components/NSInputFloat.d.ts +15 -15
  42. package/dist/components/NSInputFloat.js +28 -28
  43. package/dist/components/NSInputFloat.module.css +25 -25
  44. package/dist/components/NSInputIP.d.ts +15 -15
  45. package/dist/components/NSInputIP.js +28 -28
  46. package/dist/components/NSInputIP.module.css +25 -25
  47. package/dist/components/NSInputInteger.d.ts +15 -15
  48. package/dist/components/NSInputInteger.js +28 -28
  49. package/dist/components/NSInputInteger.module.css +25 -25
  50. package/dist/components/NSInputPhone.d.ts +16 -16
  51. package/dist/components/NSInputPhone.js +30 -30
  52. package/dist/components/NSInputPhone.module.css +32 -32
  53. package/dist/components/NSInputPrice.d.ts +17 -17
  54. package/dist/components/NSInputPrice.js +31 -31
  55. package/dist/components/NSInputPrice.module.css +26 -26
  56. package/dist/components/NSInputSearch.d.ts +17 -17
  57. package/dist/components/NSInputSearch.js +37 -37
  58. package/dist/components/NSInputSearch.module.css +25 -25
  59. package/dist/components/NSInputString.d.ts +17 -17
  60. package/dist/components/NSInputString.js +31 -31
  61. package/dist/components/NSInputString.module.css +26 -26
  62. package/dist/components/NSInputText.d.ts +17 -17
  63. package/dist/components/NSInputText.js +31 -31
  64. package/dist/components/NSInputText.module.css +27 -27
  65. package/dist/components/NSInputTime.d.ts +15 -15
  66. package/dist/components/NSInputTime.js +28 -28
  67. package/dist/components/NSInputTime.module.css +26 -26
  68. package/dist/components/NSLayout.d.ts +8 -8
  69. package/dist/components/NSLayout.js +8 -8
  70. package/dist/components/NSLayout.module.css +16 -16
  71. package/dist/components/NSLayoutHeroBanner.d.ts +12 -12
  72. package/dist/components/NSLayoutHeroBanner.js +8 -8
  73. package/dist/components/NSLayoutHeroBanner.module.css +43 -43
  74. package/dist/components/NSLayoutTitle.d.ts +10 -10
  75. package/dist/components/NSLayoutTitle.js +6 -6
  76. package/dist/components/NSLinkGreen.d.ts +16 -16
  77. package/dist/components/NSLinkGreen.js +20 -20
  78. package/dist/components/NSLinkGreen.module.css +15 -15
  79. package/dist/components/NSLinkRed.d.ts +16 -16
  80. package/dist/components/NSLinkRed.js +20 -20
  81. package/dist/components/NSLinkRed.module.css +15 -15
  82. package/dist/components/NSPagination.d.ts +15 -15
  83. package/dist/components/NSPagination.js +35 -35
  84. package/dist/components/NSPagination.module.css +24 -24
  85. package/dist/components/NSParentCard.module.css +34 -34
  86. package/dist/components/NSSelectBox.d.ts +16 -16
  87. package/dist/components/NSSelectBox.js +24 -24
  88. package/dist/components/NSSelectBox.module.css +28 -28
  89. package/dist/components/NSTable.d.ts +28 -28
  90. package/dist/components/NSTable.js +20 -20
  91. package/dist/components/NSTable.modules.css +76 -76
  92. package/dist/index.d.ts +1 -1
  93. package/dist/index.js +6 -6
  94. package/dist/main.d.ts +26 -26
  95. package/dist/main.js +26 -26
  96. package/dist/pages/NSLoginPage.d.ts +13 -13
  97. package/dist/pages/NSLoginPage.js +17 -17
  98. package/dist/pages/NSLoginPage.js.map +1 -1
  99. package/package.json +52 -52
  100. package/public/index.html +42 -42
  101. package/public/manifest.json +25 -25
  102. package/public/robots.txt +3 -3
  103. package/src/App.tsx +70 -70
  104. package/src/assets/images/arrow.svg +3 -3
  105. package/src/assets/images/danger.svg +3 -3
  106. package/src/assets/images/exit.svg +3 -3
  107. package/src/assets/images/icon-input-date.svg +9 -9
  108. package/src/assets/images/icon-input-duration.svg +9 -9
  109. package/src/assets/images/icon-input-email.svg +9 -9
  110. package/src/assets/images/icon-input-float.svg +9 -9
  111. package/src/assets/images/icon-input-id.svg +9 -9
  112. package/src/assets/images/icon-input-integer.svg +9 -9
  113. package/src/assets/images/icon-input-phone.svg +9 -9
  114. package/src/assets/images/icon-input-price.svg +9 -9
  115. package/src/assets/images/icon-input-search.svg +4 -4
  116. package/src/assets/images/icon-input-string.svg +9 -9
  117. package/src/assets/images/icon-input-text.svg +9 -9
  118. package/src/assets/images/icon-input-time.svg +9 -9
  119. package/src/assets/images/logo.svg +9 -9
  120. package/src/assets/images/menu.svg +3 -3
  121. package/src/assets/images/namira.svg +9 -9
  122. package/src/assets/images/rectangle.svg +3 -3
  123. package/src/components/NSButtonGreen.tsx +33 -33
  124. package/src/components/NSButtonRed.tsx +33 -33
  125. package/src/components/NSCard.tsx +54 -54
  126. package/src/components/NSFooter.tsx +123 -123
  127. package/src/components/NSHeader.tsx +134 -134
  128. package/src/components/NSInputDate.tsx +57 -57
  129. package/src/components/NSInputDuration.tsx +65 -65
  130. package/src/components/NSInputEmail.module.css +37 -37
  131. package/src/components/NSInputEmail.tsx +92 -92
  132. package/src/components/NSInputFloat.module.css +25 -25
  133. package/src/components/NSInputFloat.tsx +61 -61
  134. package/src/components/NSInputIP.module.css +25 -25
  135. package/src/components/NSInputIP.tsx +65 -65
  136. package/src/components/NSInputInteger.module.css +25 -25
  137. package/src/components/NSInputInteger.tsx +65 -65
  138. package/src/components/NSInputPhone.module.css +32 -32
  139. package/src/components/NSInputPhone.tsx +65 -65
  140. package/src/components/NSInputPrice.module.css +26 -26
  141. package/src/components/NSInputPrice.tsx +68 -68
  142. package/src/components/NSInputSearch.module.css +25 -25
  143. package/src/components/NSInputSearch.tsx +78 -78
  144. package/src/components/NSInputString.module.css +26 -26
  145. package/src/components/NSInputString.tsx +66 -66
  146. package/src/components/NSInputText.module.css +27 -27
  147. package/src/components/NSInputText.tsx +69 -69
  148. package/src/components/NSInputTime.module.css +26 -26
  149. package/src/components/NSInputTime.tsx +65 -65
  150. package/src/components/NSLayout.module.css +16 -16
  151. package/src/components/NSLayout.tsx +30 -30
  152. package/src/components/NSLayoutHeroBanner.module.css +43 -43
  153. package/src/components/NSLayoutHeroBanner.tsx +85 -85
  154. package/src/components/NSLayoutTitle.tsx +25 -25
  155. package/src/components/NSLinkGreen.module.css +15 -15
  156. package/src/components/NSLinkGreen.tsx +43 -43
  157. package/src/components/NSLinkRed.module.css +15 -15
  158. package/src/components/NSLinkRed.tsx +43 -43
  159. package/src/components/NSPagination.module.css +24 -24
  160. package/src/components/NSPagination.tsx +54 -54
  161. package/src/components/NSParentCard.module.css +34 -34
  162. package/src/components/NSParentCard.tsx.temp +58 -58
  163. package/src/components/NSSelectBox.module.css +28 -28
  164. package/src/components/NSSelectBox.tsx +62 -62
  165. package/src/components/NSTable.modules.css +76 -76
  166. package/src/components/NSTable.tsx +64 -64
  167. package/src/index.tsx +7 -7
  168. package/src/main.ts +25 -25
  169. package/src/pages/NSLoginPage.tsx +39 -39
  170. package/src/react-app-env.d.ts +1 -1
  171. package/tsconfig.json +37 -37
  172. package/dist/App.css +0 -0
  173. package/dist/assets/images/background.svg +0 -9
  174. package/dist/assets/images/left-vector.png +0 -0
  175. package/dist/assets/images/left_vector.png +0 -0
  176. package/dist/assets/images/right-vector.png +0 -0
  177. package/dist/assets/images/right_vector.png +0 -0
  178. package/dist/components/NSParentCard.d.ts +0 -0
  179. package/dist/components/NSParentCard.js +0 -2
  180. package/dist/components/NSParentCard.js.map +0 -1
  181. package/dist/index.css +0 -6
package/src/App.tsx CHANGED
@@ -1,71 +1,71 @@
1
- import './App.css';
2
- import 'bootstrap/dist/css/bootstrap.min.css';
3
- // import { NSInputText } from './components/NSInputText';
4
- // import { NSInputInteger } from './components/NSInputInteger';
5
- // import { NSInputFloat } from './components/NSInputFloat';
6
- // import { NSInputPrice } from './components/NSInputPrice';
7
- // import { NSInputDate } from './components/NSInputDate';
8
- // import { NSInputTime } from './components/NSInputTime';
9
- // import { NSInputDuration } from './components/NSInputDuration';
10
- // import { NSInputString } from './components/NSInputString';
11
- // import { NSInputIP } from './components/NSInputIP';
12
- // import { NSInputEmail } from './components/NSInputEmail';
13
- // import { NSInputSearch } from './components/NSInputSearch';
14
- // import { NSInputPhone } from './components/NSInputPhone';
15
- // import { NSButtonGreen } from './components/NSButtonGreen';
16
- import { NSButtonRed } from './components/NSButtonRed';
17
- // import { NSSelectBox } from './components/NSSelectBox';
18
- // import { type SelectProps } from 'antd';
19
- import { NSLayout, NSPagination } from './main';
20
-
21
- export function App()
22
- {
23
- // const options: SelectProps['options'] = [
24
- // {
25
- // label: 'Test1',
26
- // value: 'test1',
27
- // desc: 'Test1',
28
- // },
29
- // {
30
- // label: 'Test2',
31
- // value: 'test2',
32
- // desc: 'Test2',
33
- // },
34
- // {
35
- // label: 'Test3',
36
- // value: 'test3',
37
- // desc: 'Test3',
38
- // },
39
- // {
40
- // label: 'Test4',
41
- // value: 'test4',
42
- // desc: 'Test4',
43
- // },
44
- // ];
45
-
46
- return (
47
- <div className="App">
48
- <NSLayout scope='Namirasoft SOP console' logo=''>
49
- <div className='my-4 container'>
50
- {/* <NSInputText title='Text' />
51
- <NSInputInteger title='Integer' />
52
- <NSInputFloat title='Floating Point' />
53
- <NSInputPrice title='Price' />
54
- <NSInputDate title='Date' />
55
- <NSInputTime title='Time' />
56
- <NSInputDuration title='Duration' />
57
- <NSInputString title='String' />
58
- <NSInputIP title='IP' />
59
- <NSInputEmail title='Email' />
60
- <NSInputSearch title='Search' />
61
- <NSInputPhone title='Phone' />
62
- <NSSelectBox title="t" options={options} />
63
- <NSButtonGreen title='Save' onClick={() => { }} /> */}
64
- <NSButtonRed title='Delete' onClick={() => { }} />
65
- <NSPagination page={1} size={25} />
66
- </div>
67
- asdasd
68
- </NSLayout>
69
- </div>
70
- );
1
+ import './App.css';
2
+ import 'bootstrap/dist/css/bootstrap.min.css';
3
+ // import { NSInputText } from './components/NSInputText';
4
+ // import { NSInputInteger } from './components/NSInputInteger';
5
+ // import { NSInputFloat } from './components/NSInputFloat';
6
+ // import { NSInputPrice } from './components/NSInputPrice';
7
+ // import { NSInputDate } from './components/NSInputDate';
8
+ // import { NSInputTime } from './components/NSInputTime';
9
+ // import { NSInputDuration } from './components/NSInputDuration';
10
+ // import { NSInputString } from './components/NSInputString';
11
+ // import { NSInputIP } from './components/NSInputIP';
12
+ // import { NSInputEmail } from './components/NSInputEmail';
13
+ // import { NSInputSearch } from './components/NSInputSearch';
14
+ // import { NSInputPhone } from './components/NSInputPhone';
15
+ // import { NSButtonGreen } from './components/NSButtonGreen';
16
+ import { NSButtonRed } from './components/NSButtonRed';
17
+ // import { NSSelectBox } from './components/NSSelectBox';
18
+ // import { type SelectProps } from 'antd';
19
+ import { NSLayout, NSPagination } from './main';
20
+
21
+ export function App()
22
+ {
23
+ // const options: SelectProps['options'] = [
24
+ // {
25
+ // label: 'Test1',
26
+ // value: 'test1',
27
+ // desc: 'Test1',
28
+ // },
29
+ // {
30
+ // label: 'Test2',
31
+ // value: 'test2',
32
+ // desc: 'Test2',
33
+ // },
34
+ // {
35
+ // label: 'Test3',
36
+ // value: 'test3',
37
+ // desc: 'Test3',
38
+ // },
39
+ // {
40
+ // label: 'Test4',
41
+ // value: 'test4',
42
+ // desc: 'Test4',
43
+ // },
44
+ // ];
45
+
46
+ return (
47
+ <div className="App">
48
+ <NSLayout scope='Namirasoft SOP console' logo=''>
49
+ <div className='my-4 container'>
50
+ {/* <NSInputText title='Text' />
51
+ <NSInputInteger title='Integer' />
52
+ <NSInputFloat title='Floating Point' />
53
+ <NSInputPrice title='Price' />
54
+ <NSInputDate title='Date' />
55
+ <NSInputTime title='Time' />
56
+ <NSInputDuration title='Duration' />
57
+ <NSInputString title='String' />
58
+ <NSInputIP title='IP' />
59
+ <NSInputEmail title='Email' />
60
+ <NSInputSearch title='Search' />
61
+ <NSInputPhone title='Phone' />
62
+ <NSSelectBox title="t" options={options} />
63
+ <NSButtonGreen title='Save' onClick={() => { }} /> */}
64
+ <NSButtonRed title='Delete' onClick={() => { }} />
65
+ <NSPagination page={1} size={25} />
66
+ </div>
67
+ asdasd
68
+ </NSLayout>
69
+ </div>
70
+ );
71
71
  }
@@ -1,3 +1,3 @@
1
- <svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 16L0.473722 0.249998L19.5263 0.25L10 16Z" fill="#848484"/>
3
- </svg>
1
+ <svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 16L0.473722 0.249998L19.5263 0.25L10 16Z" fill="#848484"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6.5 0C10.0899 0 13 2.9107 13 6.5C13 10.0893 10.0899 13 6.5 13C2.91005 13 0 10.0893 0 6.5C0 2.9107 2.91005 0 6.5 0ZM6.33272 3.35661C6.24576 3.35386 6.15914 3.36861 6.07799 3.39999C5.99684 3.43137 5.92283 3.47873 5.86034 3.53927C5.79786 3.59981 5.74817 3.67229 5.71424 3.75241C5.68031 3.83252 5.66283 3.91864 5.66283 4.00564C5.66283 4.09264 5.68031 4.17876 5.71424 4.25887C5.74817 4.33899 5.79786 4.41147 5.86034 4.472C5.92283 4.53254 5.99684 4.57991 6.07799 4.61129C6.15914 4.64267 6.24576 4.65742 6.33272 4.65466C6.5013 4.64933 6.66119 4.57861 6.77855 4.45748C6.89591 4.33634 6.96153 4.1743 6.96153 4.00564C6.96153 3.83698 6.89591 3.67493 6.77855 3.5538C6.66119 3.43267 6.5013 3.36195 6.33272 3.35661ZM6.33142 5.04839C6.17212 5.04843 6.01837 5.10697 5.89938 5.21289C5.7804 5.31882 5.70445 5.46476 5.68597 5.62299L5.68142 5.69839L5.68272 8.94904L5.68727 9.02509C5.70606 9.18307 5.78214 9.32867 5.9011 9.43432C6.02006 9.53996 6.17363 9.59831 6.33272 9.59831C6.49182 9.59831 6.64539 9.53996 6.76435 9.43432C6.8833 9.32867 6.95938 9.18307 6.97817 9.02509L6.98272 8.94904L6.98142 5.69839L6.97687 5.62234C6.95825 5.46422 6.88224 5.31844 6.76326 5.21265C6.64429 5.10686 6.49063 5.04841 6.33142 5.04839Z" fill="#FF3F3F"/>
3
- </svg>
1
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.5 0C10.0899 0 13 2.9107 13 6.5C13 10.0893 10.0899 13 6.5 13C2.91005 13 0 10.0893 0 6.5C0 2.9107 2.91005 0 6.5 0ZM6.33272 3.35661C6.24576 3.35386 6.15914 3.36861 6.07799 3.39999C5.99684 3.43137 5.92283 3.47873 5.86034 3.53927C5.79786 3.59981 5.74817 3.67229 5.71424 3.75241C5.68031 3.83252 5.66283 3.91864 5.66283 4.00564C5.66283 4.09264 5.68031 4.17876 5.71424 4.25887C5.74817 4.33899 5.79786 4.41147 5.86034 4.472C5.92283 4.53254 5.99684 4.57991 6.07799 4.61129C6.15914 4.64267 6.24576 4.65742 6.33272 4.65466C6.5013 4.64933 6.66119 4.57861 6.77855 4.45748C6.89591 4.33634 6.96153 4.1743 6.96153 4.00564C6.96153 3.83698 6.89591 3.67493 6.77855 3.5538C6.66119 3.43267 6.5013 3.36195 6.33272 3.35661ZM6.33142 5.04839C6.17212 5.04843 6.01837 5.10697 5.89938 5.21289C5.7804 5.31882 5.70445 5.46476 5.68597 5.62299L5.68142 5.69839L5.68272 8.94904L5.68727 9.02509C5.70606 9.18307 5.78214 9.32867 5.9011 9.43432C6.02006 9.53996 6.17363 9.59831 6.33272 9.59831C6.49182 9.59831 6.64539 9.53996 6.76435 9.43432C6.8833 9.32867 6.95938 9.18307 6.97817 9.02509L6.98272 8.94904L6.98142 5.69839L6.97687 5.62234C6.95825 5.46422 6.88224 5.31844 6.76326 5.21265C6.64429 5.10686 6.49063 5.04841 6.33142 5.04839Z" fill="#FF3F3F"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.22173C0 0.999778 0.999778 0 2.22173 0H11.1086V2.22173H2.22173V17.7738H11.1086V19.9956H2.22173C0.999778 19.9956 0 18.9958 0 17.7738V2.22173ZM15.7476 8.88691L12.9305 6.06976L14.5012 4.499L20 9.99778L14.5012 15.4966L12.9305 13.9258L15.7476 11.1086H8.43146V8.88691H15.7476Z" fill="white"/>
3
- </svg>
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.22173C0 0.999778 0.999778 0 2.22173 0H11.1086V2.22173H2.22173V17.7738H11.1086V19.9956H2.22173C0.999778 19.9956 0 18.9958 0 17.7738V2.22173ZM15.7476 8.88691L12.9305 6.06976L14.5012 4.499L20 9.99778L14.5012 15.4966L12.9305 13.9258L15.7476 11.1086H8.43146V8.88691H15.7476Z" fill="white"/>
3
+ </svg>