namirasoft-site-react 1.3.61 → 1.3.62

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 (121) hide show
  1. package/dist/App.js +2 -2
  2. package/dist/App.js.map +1 -1
  3. package/dist/Validator.d.ts +7 -2
  4. package/dist/Validator.js +57 -15
  5. package/dist/Validator.js.map +1 -1
  6. package/dist/components/NSButtonBlue.js +5 -4
  7. package/dist/components/NSButtonBlue.js.map +1 -1
  8. package/dist/components/NSButtonGreen.js +5 -4
  9. package/dist/components/NSButtonGreen.js.map +1 -1
  10. package/dist/components/NSButtonRed.js +5 -4
  11. package/dist/components/NSButtonRed.js.map +1 -1
  12. package/dist/components/NSInput.module.css +29 -0
  13. package/dist/components/NSInputDate.d.ts +3 -1
  14. package/dist/components/NSInputDate.js +14 -4
  15. package/dist/components/NSInputDate.js.map +1 -1
  16. package/dist/components/NSInputDate.module.css +4 -1
  17. package/dist/components/NSInputDuration.d.ts +6 -1
  18. package/dist/components/NSInputDuration.js +15 -6
  19. package/dist/components/NSInputDuration.js.map +1 -1
  20. package/dist/components/NSInputEmail.d.ts +1 -1
  21. package/dist/components/NSInputEmail.js +5 -3
  22. package/dist/components/NSInputEmail.js.map +1 -1
  23. package/dist/components/NSInputFloat.d.ts +4 -4
  24. package/dist/components/NSInputFloat.js +8 -9
  25. package/dist/components/NSInputFloat.js.map +1 -1
  26. package/dist/components/NSInputIP.d.ts +5 -1
  27. package/dist/components/NSInputIP.js +17 -7
  28. package/dist/components/NSInputIP.js.map +1 -1
  29. package/dist/components/NSInputInteger.d.ts +9 -5
  30. package/dist/components/NSInputInteger.js +16 -8
  31. package/dist/components/NSInputInteger.js.map +1 -1
  32. package/dist/components/NSInputPassword.d.ts +5 -1
  33. package/dist/components/NSInputPassword.js +15 -6
  34. package/dist/components/NSInputPassword.js.map +1 -1
  35. package/dist/components/NSInputPhone.d.ts +8 -3
  36. package/dist/components/NSInputPhone.js +18 -12
  37. package/dist/components/NSInputPhone.js.map +1 -1
  38. package/dist/components/NSInputPrice.d.ts +7 -2
  39. package/dist/components/NSInputPrice.js +15 -7
  40. package/dist/components/NSInputPrice.js.map +1 -1
  41. package/dist/components/NSInputSearch.d.ts +6 -1
  42. package/dist/components/NSInputSearch.js +15 -6
  43. package/dist/components/NSInputSearch.js.map +1 -1
  44. package/dist/components/NSInputString.d.ts +5 -1
  45. package/dist/components/NSInputString.js +15 -6
  46. package/dist/components/NSInputString.js.map +1 -1
  47. package/dist/components/NSInputText.d.ts +5 -1
  48. package/dist/components/NSInputText.js +15 -6
  49. package/dist/components/NSInputText.js.map +1 -1
  50. package/dist/components/NSInputTime.d.ts +5 -1
  51. package/dist/components/NSInputTime.js +16 -6
  52. package/dist/components/NSInputTime.js.map +1 -1
  53. package/dist/components/NSSectionBars.d.ts +1 -0
  54. package/dist/components/NSSectionBars.js.map +1 -1
  55. package/dist/components/NSSectionCards.d.ts +1 -2
  56. package/dist/components/NSSectionCards.js +1 -1
  57. package/dist/components/NSSectionCards.js.map +1 -1
  58. package/dist/components/NSSectionTitle.d.ts +1 -2
  59. package/dist/components/NSSectionTitle.js +1 -1
  60. package/dist/components/NSSectionTitle.js.map +1 -1
  61. package/dist/components/NSSelectBox.d.ts +6 -3
  62. package/dist/components/NSSelectBox.js +21 -6
  63. package/dist/components/NSSelectBox.js.map +1 -1
  64. package/dist/components/NSTable.js +1 -1
  65. package/dist/components/NSTable.js.map +1 -1
  66. package/dist/props/ValidationNumberProps.d.ts +1 -2
  67. package/dist/props/ValidationProps.d.ts +1 -0
  68. package/dist/props/ValidationStringProps.d.ts +1 -2
  69. package/package.json +3 -3
  70. package/src/App.tsx +13 -3
  71. package/src/Validator.ts +67 -18
  72. package/src/components/NSButtonBlue.tsx +6 -4
  73. package/src/components/NSButtonGreen.tsx +5 -4
  74. package/src/components/NSButtonRed.tsx +5 -4
  75. package/src/components/NSInput.module.css +29 -0
  76. package/src/components/NSInputDate.module.css +4 -1
  77. package/src/components/NSInputDate.tsx +29 -12
  78. package/src/components/NSInputDuration.tsx +44 -23
  79. package/src/components/NSInputEmail.tsx +10 -5
  80. package/src/components/NSInputFloat.tsx +33 -32
  81. package/src/components/NSInputIP.tsx +44 -24
  82. package/src/components/NSInputInteger.tsx +48 -31
  83. package/src/components/NSInputPassword.tsx +42 -23
  84. package/src/components/NSInputPhone.tsx +45 -29
  85. package/src/components/NSInputPrice.tsx +45 -23
  86. package/src/components/NSInputSearch.tsx +43 -21
  87. package/src/components/NSInputString.tsx +42 -23
  88. package/src/components/NSInputText.tsx +42 -23
  89. package/src/components/NSInputTime.tsx +44 -23
  90. package/src/components/NSSectionBars.tsx +1 -0
  91. package/src/components/NSSectionCards.tsx +3 -3
  92. package/src/components/NSSectionTitle.tsx +3 -3
  93. package/src/components/NSSelectBox.tsx +48 -23
  94. package/src/components/NSTable.tsx +1 -1
  95. package/src/props/ValidationNumberProps.ts +1 -3
  96. package/src/props/ValidationProps.ts +1 -0
  97. package/src/props/ValidationStringProps.ts +1 -3
  98. package/dist/components/NSInputDuration.module.css +0 -26
  99. package/dist/components/NSInputEmail.module.css +0 -38
  100. package/dist/components/NSInputFloat.module.css +0 -26
  101. package/dist/components/NSInputIP.module.css +0 -26
  102. package/dist/components/NSInputInteger.module.css +0 -26
  103. package/dist/components/NSInputPassword.module.css +0 -27
  104. package/dist/components/NSInputPhone.module.css +0 -33
  105. package/dist/components/NSInputPrice.module.css +0 -27
  106. package/dist/components/NSInputSearch.module.css +0 -27
  107. package/dist/components/NSInputString.module.css +0 -27
  108. package/dist/components/NSInputText.module.css +0 -28
  109. package/dist/components/NSInputTime.module.css +0 -27
  110. package/src/components/NSInputDuration.module.css +0 -26
  111. package/src/components/NSInputEmail.module.css +0 -38
  112. package/src/components/NSInputFloat.module.css +0 -26
  113. package/src/components/NSInputIP.module.css +0 -26
  114. package/src/components/NSInputInteger.module.css +0 -26
  115. package/src/components/NSInputPassword.module.css +0 -27
  116. package/src/components/NSInputPhone.module.css +0 -33
  117. package/src/components/NSInputPrice.module.css +0 -27
  118. package/src/components/NSInputSearch.module.css +0 -27
  119. package/src/components/NSInputString.module.css +0 -27
  120. package/src/components/NSInputText.module.css +0 -28
  121. package/src/components/NSInputTime.module.css +0 -27
@@ -1,38 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- }
14
-
15
- .ns_input_icon {
16
- position: absolute;
17
- right: 20px;
18
- top: 51%;
19
- font-size: 16px;
20
- font-weight: 400;
21
- }
22
-
23
- .ns_input_title {
24
- font-size: 16px;
25
- font-weight: 400;
26
- }
27
-
28
- .ns_input_error {
29
- color: #FF3F3F !important;
30
- }
31
-
32
- .ns_input_error:focus {
33
- color: #FF3F3F !important;
34
- }
35
-
36
- .ns_input_red {
37
- border: 2px solid #FF3F3F;
38
- }
@@ -1,26 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- }
22
-
23
- .ns_input_title {
24
- font-size: 16px;
25
- font-weight: 400;
26
- }
@@ -1,26 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- }
22
-
23
- .ns_input_title {
24
- font-size: 16px;
25
- font-weight: 400;
26
- }
@@ -1,26 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- }
22
-
23
- .ns_input_title {
24
- font-size: 16px;
25
- font-weight: 400;
26
- }
@@ -1,27 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- z-index: 1;
22
- }
23
-
24
- .ns_input_title {
25
- font-size: 16px;
26
- font-weight: 400;
27
- }
@@ -1,33 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
-
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- height: 48px !important;
12
- font-size: 16px !important;
13
- font-weight: 400;
14
- width: 310px !important;
15
- }
16
-
17
- .ns_input span {
18
- color: #000 !important;
19
-
20
- }
21
-
22
- .ns_input_icon {
23
- position: absolute;
24
- right: 20px;
25
- top: 51%;
26
- z-index: 1;
27
- }
28
-
29
- .ns_input_title {
30
- color: #fff;
31
- font-size: 16px;
32
- font-weight: 400;
33
- }
@@ -1,27 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 33%;
21
- z-index: 1;
22
- }
23
-
24
- .ns_input_title {
25
- font-size: 16px;
26
- font-weight: 400;
27
- }
@@ -1,27 +0,0 @@
1
- .ns_input_form {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- max-width: 100%;
7
- position: relative;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- border: 1px solid rgba(47, 0, 236, 0.6);
16
- }
17
-
18
- .ns_input_icon {
19
- position: absolute;
20
- right: 20px;
21
- top: 34%;
22
- }
23
-
24
- .ns_input_title {
25
- font-size: 16px;
26
- font-weight: 400;
27
- }
@@ -1,27 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- z-index: 1;
22
- }
23
-
24
- .ns_input_title {
25
- font-size: 16px;
26
- font-weight: 400;
27
- }
@@ -1,28 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- padding: 8px;
9
- }
10
-
11
- .ns_input {
12
- border-radius: 8px;
13
- padding: 10px 12px;
14
- font-size: 16px;
15
- font-weight: 400;
16
- }
17
-
18
- .ns_input_icon {
19
- position: absolute;
20
- right: 20px;
21
- top: 51%;
22
- z-index: 1;
23
- }
24
-
25
- .ns_input_title {
26
- font-size: 16px;
27
- font-weight: 400;
28
- }
@@ -1,27 +0,0 @@
1
- .ns_input_parent {
2
- display: flex;
3
- flex-direction: column;
4
- width: 326px;
5
- color: #fff;
6
- position: relative;
7
- max-width: 100%;
8
- }
9
-
10
- .ns_input {
11
- border-radius: 8px;
12
- padding: 10px 12px;
13
- font-size: 16px;
14
- font-weight: 400;
15
- }
16
-
17
- .ns_input_icon {
18
- position: absolute;
19
- right: 20px;
20
- top: 51%;
21
- z-index: 1;
22
- }
23
-
24
- .ns_input_title {
25
- font-size: 16px;
26
- font-weight: 400;
27
- }