@pinerohit11/testwidget 0.1.63 → 0.1.64

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/index.js CHANGED
@@ -726,6 +726,10 @@ var import_ReactToastify = require("react-toastify/dist/ReactToastify.css");
726
726
  var import_react6 = __toESM(require("react"));
727
727
  var RequestPaymentstyles = (props) => {
728
728
  return /* @__PURE__ */ import_react6.default.createElement("style", null, `
729
+ body {
730
+ font-family: 'Inter', sans-serif;
731
+ }
732
+
729
733
  .paymentBtn {
730
734
  background-color: black;
731
735
  border: none;
package/dist/index.mjs CHANGED
@@ -685,6 +685,10 @@ import "react-toastify/dist/ReactToastify.css";
685
685
  import React6 from "react";
686
686
  var RequestPaymentstyles = (props) => {
687
687
  return /* @__PURE__ */ React6.createElement("style", null, `
688
+ body {
689
+ font-family: 'Inter', sans-serif;
690
+ }
691
+
688
692
  .paymentBtn {
689
693
  background-color: black;
690
694
  border: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev -p 4001",
@@ -33,19 +33,14 @@
33
33
  "react-dom": "18.3.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/autoprefixer": "^9.7.2",
37
36
  "@types/node": "^20",
38
37
  "@types/node-forge": "^1.3.11",
39
38
  "@types/react": "^18",
40
39
  "@types/react-dom": "^18",
41
40
  "autoprefixer": "^10.4.20",
42
41
  "credit-card-type": "^10.0.1",
43
- "cssnano": "^7.0.6",
44
42
  "eslint": "^8",
45
43
  "eslint-config-next": "15.0.3",
46
- "postcss": "^8.5.3",
47
- "postcss-import": "^16.1.0",
48
- "postcss-loader": "^8.1.1",
49
44
  "react-bs-datatable": "^3.15.0",
50
45
  "react-datepicker": "^7.5.0",
51
46
  "react-toastify": "^10.0.6",
package/dist/index.css DELETED
@@ -1,219 +0,0 @@
1
- /* src/app/components/RequestPayment/RequestPayment.css */
2
- body {
3
- font-family: "Inter", sans-serif;
4
- }
5
- .paymentBtn {
6
- background-color: black;
7
- border: none;
8
- color: white;
9
- padding: 15px 32px;
10
- text-align: center;
11
- text-decoration: none;
12
- display: inline-block;
13
- font-size: 16px;
14
- margin: 4px 2px;
15
- cursor: pointer;
16
- border-radius: 180px;
17
- }
18
- .request-payment-amount {
19
- color: #161616;
20
- text-align: center;
21
- font-family: Inter;
22
- font-size: 42px;
23
- font-style: normal;
24
- font-weight: 600;
25
- text-transform: uppercase;
26
- margin: 8px 0px !important;
27
- }
28
- .request-payment-orderid {
29
- color: #727272;
30
- text-align: center;
31
- font-family: Inter;
32
- font-size: 14px;
33
- font-style: normal;
34
- font-weight: 500;
35
- margin: 0px;
36
- }
37
- .request-payment-pre-auth-merchantname {
38
- color: #727272;
39
- text-align: center;
40
- font-family: Inter;
41
- font-size: 14px;
42
- font-style: normal;
43
- font-weight: 500;
44
- margin-top: 10px !important;
45
- margin-bottom: 0px !important;
46
- }
47
- .request-payment-merchantname {
48
- color: #727272;
49
- text-align: center;
50
- font-family: Inter;
51
- font-size: 14px;
52
- font-style: normal;
53
- font-weight: 500;
54
- margin-top: 20px !important;
55
- margin-bottom: 0px !important;
56
- }
57
- .request-payment-close-popup {
58
- position: absolute;
59
- right: 20px;
60
- top: 20px;
61
- cursor: pointer;
62
- }
63
- .request-payment-amount-detail {
64
- padding: 32px 0px;
65
- border-bottom: 1px solid #E0DFE2;
66
- }
67
- .request-payment-popup-container {
68
- padding: 0px !important;
69
- border-radius: 12px !important;
70
- }
71
- .request-payment-input-form {
72
- padding: 24px 48px 32px 48px;
73
- }
74
- .request-payment-input-label {
75
- color: #727272;
76
- font-family: Inter;
77
- font-size: 12px;
78
- font-style: normal;
79
- font-weight: 500;
80
- margin-bottom: 6px !important;
81
- text-align: start !important;
82
- width: 100% !important;
83
- margin-bottom: 6px !important;
84
- text-transform: uppercase;
85
- }
86
- .request-payment-input-box {
87
- border-radius: 8px;
88
- border: 1px solid #E0DFE2;
89
- padding: 11px;
90
- display: block;
91
- width: 100%;
92
- color: #161616;
93
- margin-top: 6px !important;
94
- font-family: Inter;
95
- font-size: 14px;
96
- font-style: normal;
97
- font-weight: 500;
98
- }
99
- .request-payment-list-div {
100
- margin-bottom: 12px;
101
- }
102
- .request-payment-submit-button {
103
- border-radius: 80px;
104
- background: #161616;
105
- height: 48px;
106
- padding: 12px 24px;
107
- margin-top: 20px;
108
- color: #fff;
109
- width: 100% !important;
110
- border: none !important;
111
- font-family: Inter;
112
- font-size: 16px;
113
- font-style: normal;
114
- font-weight: 500;
115
- cursor: pointer;
116
- }
117
- .request-payment-submit-button:disabled {
118
- cursor: not-allowed;
119
- }
120
- .request-payment-fractal-powerd-by {
121
- color: #727272;
122
- font-family: Inter;
123
- font-size: 14px;
124
- font-style: normal;
125
- font-weight: 500;
126
- margin-top: 16px;
127
- display: flex;
128
- text-align: center;
129
- align-items: center;
130
- justify-content: center;
131
- gap: 6px;
132
- }
133
- .request-payment-fractal-powerd-by span {
134
- color: #61C699;
135
- }
136
- .request-payment-success-container {
137
- display: flex;
138
- padding: 120px 48px 32px 48px;
139
- flex-direction: column;
140
- justify-content: center;
141
- align-items: center;
142
- }
143
- .request-payment-success-tick {
144
- border-radius: 1000px;
145
- background: rgba(97, 198, 153, 0.14);
146
- display: flex;
147
- width: 60px;
148
- height: 60px;
149
- justify-content: center;
150
- align-items: center;
151
- }
152
- .request-payment-success-text {
153
- color: #161616;
154
- text-align: center;
155
- font-family: Inter;
156
- font-size: 32px;
157
- font-style: normal;
158
- font-weight: 500;
159
- line-height: 36px;
160
- letter-spacing: -0.64px;
161
- margin-top: 20px;
162
- margin-bottom: 5px !important;
163
- }
164
- .request-payment-success-subtext {
165
- color: #727272;
166
- text-align: center;
167
- font-family: Inter;
168
- font-size: 14px;
169
- font-style: normal;
170
- font-weight: 500;
171
- line-height: 18px;
172
- letter-spacing: -0.28px;
173
- margin-bottom: 6rem !important;
174
- margin-top: 8px !important;
175
- }
176
- .request-payment-success-btn-div {
177
- display: flex;
178
- align-items: flex-start;
179
- justify-content: center;
180
- gap: 8px;
181
- }
182
- .request-payment-success-tick-div {
183
- display: flex;
184
- justify-content: center;
185
- align-items: center;
186
- margin-top: 32px;
187
- }
188
- .request-payment-success-btn1 {
189
- cursor: pointer;
190
- border-radius: 80px;
191
- border: 1px solid #E0DFE2;
192
- display: flex;
193
- padding: 12px 32px;
194
- justify-content: center;
195
- align-items: center;
196
- gap: 6px;
197
- background-color: #fff;
198
- }
199
- .request-payment-success-btn2 {
200
- border-radius: 80px;
201
- cursor: pointer;
202
- border: 1px solid #E0DFE2;
203
- display: flex;
204
- padding: 12px 32px;
205
- justify-content: center;
206
- align-items: center;
207
- gap: 6px;
208
- background-color: #161616;
209
- color: #fff;
210
- font-family: Inter;
211
- font-size: 14px;
212
- font-style: normal;
213
- font-weight: 500;
214
- }
215
- .request-payment-error-msg {
216
- color: #dc3545;
217
- font-family: Inter;
218
- font-size: 12px;
219
- }
@@ -1,5 +0,0 @@
1
- declare module 'postcss-import' {
2
- const postcssImport: any;
3
- export = postcssImport;
4
- }
5
-
package/postcss.config.ts DELETED
@@ -1,7 +0,0 @@
1
- // postcss.config.ts
2
- import postcssImport from 'postcss-import';
3
- import autoprefixer from 'autoprefixer';
4
-
5
- export default {
6
- plugins: [postcssImport, autoprefixer],
7
- };