@akinon/projectzero 1.69.0 → 1.71.0-rc.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.71.0-rc.0
4
+
5
+ ## 1.70.0
6
+
3
7
  ## 1.69.0
4
8
 
5
9
  ## 1.68.0
@@ -65,3 +65,5 @@ next.config.wizardcopy.js
65
65
 
66
66
  certificates
67
67
  public/locales/*/index.json
68
+
69
+ certificates
@@ -1,35 +1,305 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.71.0-rc.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4d3deb4: ZERO-2935: sentry 8 upgrade
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [3bfa12a]
12
+ - Updated dependencies [4d3deb4]
13
+ - Updated dependencies [3010514]
14
+ - Updated dependencies [ca774b3]
15
+ - @akinon/next@1.71.0-rc.0
16
+ - @akinon/pz-akifast@1.71.0-rc.0
17
+ - @akinon/pz-b2b@1.71.0-rc.0
18
+ - @akinon/pz-basket-gift-pack@1.71.0-rc.0
19
+ - @akinon/pz-bkm@1.71.0-rc.0
20
+ - @akinon/pz-checkout-gift-pack@1.71.0-rc.0
21
+ - @akinon/pz-click-collect@1.71.0-rc.0
22
+ - @akinon/pz-credit-payment@1.71.0-rc.0
23
+ - @akinon/pz-gpay@1.71.0-rc.0
24
+ - @akinon/pz-masterpass@1.71.0-rc.0
25
+ - @akinon/pz-one-click-checkout@1.71.0-rc.0
26
+ - @akinon/pz-otp@1.71.0-rc.0
27
+ - @akinon/pz-pay-on-delivery@1.71.0-rc.0
28
+ - @akinon/pz-saved-card@1.71.0-rc.0
29
+ - @akinon/pz-tabby-extension@1.71.0-rc.0
30
+
31
+ ## 1.70.0
32
+
33
+ ### Minor Changes
34
+
35
+ - f046f8e: ZERO-2575: update version for react-number-format
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [f046f8e]
40
+ - @akinon/next@1.70.0
41
+ - @akinon/pz-akifast@1.70.0
42
+ - @akinon/pz-b2b@1.70.0
43
+ - @akinon/pz-basket-gift-pack@1.70.0
44
+ - @akinon/pz-bkm@1.70.0
45
+ - @akinon/pz-checkout-gift-pack@1.70.0
46
+ - @akinon/pz-click-collect@1.70.0
47
+ - @akinon/pz-credit-payment@1.70.0
48
+ - @akinon/pz-gpay@1.70.0
49
+ - @akinon/pz-masterpass@1.70.0
50
+ - @akinon/pz-one-click-checkout@1.70.0
51
+ - @akinon/pz-otp@1.70.0
52
+ - @akinon/pz-pay-on-delivery@1.70.0
53
+ - @akinon/pz-saved-card@1.70.0
54
+ - @akinon/pz-tabby-extension@1.70.0
55
+
3
56
  ## 1.69.0
4
57
 
5
58
  ### Minor Changes
6
59
 
60
+ - 4d3deb4: ZERO-2935: sentry 8 upgrade
61
+ - f046f8e: ZERO-2575: update version for react-number-format
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [3bfa12a]
66
+ - Updated dependencies [4d3deb4]
67
+ - Updated dependencies [3010514]
68
+ - Updated dependencies [ca774b3]
69
+ - Updated dependencies [f046f8e]
70
+ - @akinon/next@1.69.0-rc.9
71
+ - @akinon/pz-akifast@1.69.0-rc.9
72
+ - @akinon/pz-b2b@1.69.0-rc.9
73
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.9
74
+ - @akinon/pz-bkm@1.69.0-rc.9
75
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.9
76
+ - @akinon/pz-click-collect@1.69.0-rc.9
77
+ - @akinon/pz-credit-payment@1.69.0-rc.9
78
+ - @akinon/pz-gpay@1.69.0-rc.9
79
+ - @akinon/pz-masterpass@1.69.0-rc.9
80
+ - @akinon/pz-one-click-checkout@1.69.0-rc.9
81
+ - @akinon/pz-otp@1.69.0-rc.9
82
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.9
83
+ - @akinon/pz-saved-card@1.69.0-rc.9
84
+ - @akinon/pz-tabby-extension@1.69.0-rc.9
85
+
86
+ ## 1.69.0-rc.8
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [3010514]
91
+ - Updated dependencies [ca774b3]
92
+ - @akinon/next@1.69.0-rc.8
93
+ - @akinon/pz-akifast@1.69.0-rc.8
94
+ - @akinon/pz-b2b@1.69.0-rc.8
95
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.8
96
+ - @akinon/pz-bkm@1.69.0-rc.8
97
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.8
98
+ - @akinon/pz-click-collect@1.69.0-rc.8
99
+ - @akinon/pz-credit-payment@1.69.0-rc.8
100
+ - @akinon/pz-gpay@1.69.0-rc.8
101
+ - @akinon/pz-masterpass@1.69.0-rc.8
102
+ - @akinon/pz-one-click-checkout@1.69.0-rc.8
103
+ - @akinon/pz-otp@1.69.0-rc.8
104
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.8
105
+ - @akinon/pz-saved-card@1.69.0-rc.8
106
+ - @akinon/pz-tabby-extension@1.69.0-rc.8
107
+
108
+ ## 1.69.0-rc.7
109
+
110
+ ### Patch Changes
111
+
112
+ - Updated dependencies [3bfa12a]
113
+ - @akinon/next@1.69.0-rc.7
114
+ - @akinon/pz-akifast@1.69.0-rc.7
115
+ - @akinon/pz-b2b@1.69.0-rc.7
116
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.7
117
+ - @akinon/pz-bkm@1.69.0-rc.7
118
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.7
119
+ - @akinon/pz-click-collect@1.69.0-rc.7
120
+ - @akinon/pz-credit-payment@1.69.0-rc.7
121
+ - @akinon/pz-gpay@1.69.0-rc.7
122
+ - @akinon/pz-masterpass@1.69.0-rc.7
123
+ - @akinon/pz-one-click-checkout@1.69.0-rc.7
124
+ - @akinon/pz-otp@1.69.0-rc.7
125
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.7
126
+ - @akinon/pz-saved-card@1.69.0-rc.7
127
+ - @akinon/pz-tabby-extension@1.69.0-rc.7
128
+
129
+ ## 1.69.0-rc.6
130
+
131
+ ### Minor Changes
132
+
133
+ - 4d3deb4: ZERO-2935: sentry 8 upgrade
7
134
  - 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
8
135
  - cbdb0c8: ZERO-3010: Move pretty url page into project
9
136
  - 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
10
137
 
11
138
  ### Patch Changes
12
139
 
140
+ - Updated dependencies [4d3deb4]
13
141
  - Updated dependencies [063da74]
14
142
  - Updated dependencies [72da021]
15
143
  - Updated dependencies [5632a99]
16
144
  - Updated dependencies [cbdb0c8]
17
145
  - Updated dependencies [80c869b]
18
- - @akinon/next@1.69.0
19
- - @akinon/pz-akifast@1.69.0
20
- - @akinon/pz-b2b@1.69.0
21
- - @akinon/pz-basket-gift-pack@1.69.0
22
- - @akinon/pz-bkm@1.69.0
23
- - @akinon/pz-checkout-gift-pack@1.69.0
24
- - @akinon/pz-click-collect@1.69.0
25
- - @akinon/pz-credit-payment@1.69.0
26
- - @akinon/pz-gpay@1.69.0
27
- - @akinon/pz-masterpass@1.69.0
28
- - @akinon/pz-one-click-checkout@1.69.0
29
- - @akinon/pz-otp@1.69.0
30
- - @akinon/pz-pay-on-delivery@1.69.0
31
- - @akinon/pz-saved-card@1.69.0
32
- - @akinon/pz-tabby-extension@1.69.0
146
+ - @akinon/next@1.69.0-rc.6
147
+ - @akinon/pz-akifast@1.69.0-rc.6
148
+ - @akinon/pz-b2b@1.69.0-rc.6
149
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.6
150
+ - @akinon/pz-bkm@1.69.0-rc.6
151
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.6
152
+ - @akinon/pz-click-collect@1.69.0-rc.6
153
+ - @akinon/pz-credit-payment@1.69.0-rc.6
154
+ - @akinon/pz-gpay@1.69.0-rc.6
155
+ - @akinon/pz-masterpass@1.69.0-rc.6
156
+ - @akinon/pz-one-click-checkout@1.69.0-rc.6
157
+ - @akinon/pz-otp@1.69.0-rc.6
158
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.6
159
+ - @akinon/pz-saved-card@1.69.0-rc.6
160
+ - @akinon/pz-tabby-extension@1.69.0-rc.6
161
+
162
+ ## 1.69.0-rc.5
163
+
164
+ ### Minor Changes
165
+
166
+ - 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
167
+
168
+ ### Patch Changes
169
+
170
+ - Updated dependencies [80c869b]
171
+ - @akinon/next@1.69.0-rc.5
172
+ - @akinon/pz-akifast@1.69.0-rc.5
173
+ - @akinon/pz-b2b@1.69.0-rc.5
174
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.5
175
+ - @akinon/pz-bkm@1.69.0-rc.5
176
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.5
177
+ - @akinon/pz-click-collect@1.69.0-rc.5
178
+ - @akinon/pz-credit-payment@1.69.0-rc.5
179
+ - @akinon/pz-gpay@1.69.0-rc.5
180
+ - @akinon/pz-masterpass@1.69.0-rc.5
181
+ - @akinon/pz-one-click-checkout@1.69.0-rc.5
182
+ - @akinon/pz-otp@1.69.0-rc.5
183
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.5
184
+ - @akinon/pz-saved-card@1.69.0-rc.5
185
+ - @akinon/pz-tabby-extension@1.69.0-rc.5
186
+
187
+ ## 1.69.0-rc.4
188
+
189
+ ### Minor Changes
190
+
191
+ - 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
192
+
193
+ ### Patch Changes
194
+
195
+ - Updated dependencies [063da74]
196
+ - @akinon/next@1.69.0-rc.4
197
+ - @akinon/pz-akifast@1.69.0-rc.4
198
+ - @akinon/pz-b2b@1.69.0-rc.4
199
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.4
200
+ - @akinon/pz-bkm@1.69.0-rc.4
201
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.4
202
+ - @akinon/pz-click-collect@1.69.0-rc.4
203
+ - @akinon/pz-credit-payment@1.69.0-rc.4
204
+ - @akinon/pz-gpay@1.69.0-rc.4
205
+ - @akinon/pz-masterpass@1.69.0-rc.4
206
+ - @akinon/pz-one-click-checkout@1.69.0-rc.4
207
+ - @akinon/pz-otp@1.69.0-rc.4
208
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.4
209
+ - @akinon/pz-saved-card@1.69.0-rc.4
210
+ - @akinon/pz-tabby-extension@1.69.0-rc.4
211
+
212
+ ## 1.69.0-rc.3
213
+
214
+ ### Minor Changes
215
+
216
+ - cbdb0c8: ZERO-3010: Move pretty url page into project
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies [cbdb0c8]
221
+ - @akinon/next@1.69.0-rc.3
222
+ - @akinon/pz-akifast@1.69.0-rc.3
223
+ - @akinon/pz-b2b@1.69.0-rc.3
224
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.3
225
+ - @akinon/pz-bkm@1.69.0-rc.3
226
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.3
227
+ - @akinon/pz-click-collect@1.69.0-rc.3
228
+ - @akinon/pz-credit-payment@1.69.0-rc.3
229
+ - @akinon/pz-gpay@1.69.0-rc.3
230
+ - @akinon/pz-masterpass@1.69.0-rc.3
231
+ - @akinon/pz-one-click-checkout@1.69.0-rc.3
232
+ - @akinon/pz-otp@1.69.0-rc.3
233
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.3
234
+ - @akinon/pz-saved-card@1.69.0-rc.3
235
+ - @akinon/pz-tabby-extension@1.69.0-rc.3
236
+
237
+ ## 1.69.0-rc.2
238
+
239
+ ### Patch Changes
240
+
241
+ - Updated dependencies [5632a99]
242
+ - @akinon/next@1.69.0-rc.2
243
+ - @akinon/pz-akifast@1.69.0-rc.2
244
+ - @akinon/pz-b2b@1.69.0-rc.2
245
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.2
246
+ - @akinon/pz-bkm@1.69.0-rc.2
247
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.2
248
+ - @akinon/pz-click-collect@1.69.0-rc.2
249
+ - @akinon/pz-credit-payment@1.69.0-rc.2
250
+ - @akinon/pz-gpay@1.69.0-rc.2
251
+ - @akinon/pz-masterpass@1.69.0-rc.2
252
+ - @akinon/pz-one-click-checkout@1.69.0-rc.2
253
+ - @akinon/pz-otp@1.69.0-rc.2
254
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.2
255
+ - @akinon/pz-saved-card@1.69.0-rc.2
256
+ - @akinon/pz-tabby-extension@1.69.0-rc.2
257
+
258
+ ## 1.69.0-rc.1
259
+
260
+ ### Patch Changes
261
+
262
+ - Updated dependencies [72da021]
263
+ - @akinon/next@1.69.0-rc.1
264
+ - @akinon/pz-akifast@1.69.0-rc.1
265
+ - @akinon/pz-b2b@1.69.0-rc.1
266
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.1
267
+ - @akinon/pz-bkm@1.69.0-rc.1
268
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.1
269
+ - @akinon/pz-click-collect@1.69.0-rc.1
270
+ - @akinon/pz-credit-payment@1.69.0-rc.1
271
+ - @akinon/pz-gpay@1.69.0-rc.1
272
+ - @akinon/pz-masterpass@1.69.0-rc.1
273
+ - @akinon/pz-one-click-checkout@1.69.0-rc.1
274
+ - @akinon/pz-otp@1.69.0-rc.1
275
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.1
276
+ - @akinon/pz-saved-card@1.69.0-rc.1
277
+ - @akinon/pz-tabby-extension@1.69.0-rc.1
278
+
279
+ ## 1.69.0-rc.0
280
+
281
+ ### Minor Changes
282
+
283
+ - 4d3deb4: ZERO-2935: sentry 8 upgrade
284
+
285
+ ### Patch Changes
286
+
287
+ - Updated dependencies [4d3deb4]
288
+ - @akinon/next@1.69.0-rc.0
289
+ - @akinon/pz-akifast@1.69.0-rc.0
290
+ - @akinon/pz-b2b@1.69.0-rc.0
291
+ - @akinon/pz-basket-gift-pack@1.69.0-rc.0
292
+ - @akinon/pz-bkm@1.69.0-rc.0
293
+ - @akinon/pz-checkout-gift-pack@1.69.0-rc.0
294
+ - @akinon/pz-click-collect@1.69.0-rc.0
295
+ - @akinon/pz-credit-payment@1.69.0-rc.0
296
+ - @akinon/pz-gpay@1.69.0-rc.0
297
+ - @akinon/pz-masterpass@1.69.0-rc.0
298
+ - @akinon/pz-one-click-checkout@1.69.0-rc.0
299
+ - @akinon/pz-otp@1.69.0-rc.0
300
+ - @akinon/pz-pay-on-delivery@1.69.0-rc.0
301
+ - @akinon/pz-saved-card@1.69.0-rc.0
302
+ - @akinon/pz-tabby-extension@1.69.0-rc.0
33
303
 
34
304
  ## 1.68.0
35
305
 
@@ -26,7 +26,8 @@ const withPwaConfig = withPWA({
26
26
 
27
27
  const sentryConfig = {
28
28
  silent: true,
29
- dryRun: !process.env.SENTRY_DSN
29
+ dryRun: !process.env.SENTRY_DSN,
30
+ hideSourceMaps: true
30
31
  };
31
32
 
32
33
  const enhancedConfig = withPzConfig(nextConfig);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.69.0",
3
+ "version": "1.71.0-rc.0",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -22,25 +22,25 @@
22
22
  "prestart": "pz-prestart"
23
23
  },
24
24
  "dependencies": {
25
- "@akinon/next": "1.69.0",
26
- "@akinon/pz-akifast": "1.69.0",
27
- "@akinon/pz-b2b": "1.69.0",
28
- "@akinon/pz-basket-gift-pack": "1.69.0",
29
- "@akinon/pz-bkm": "1.69.0",
30
- "@akinon/pz-checkout-gift-pack": "1.69.0",
31
- "@akinon/pz-click-collect": "1.69.0",
32
- "@akinon/pz-credit-payment": "1.69.0",
33
- "@akinon/pz-gpay": "1.69.0",
34
- "@akinon/pz-masterpass": "1.69.0",
35
- "@akinon/pz-one-click-checkout": "1.69.0",
36
- "@akinon/pz-otp": "1.69.0",
37
- "@akinon/pz-pay-on-delivery": "1.69.0",
38
- "@akinon/pz-saved-card": "1.69.0",
39
- "@akinon/pz-tabby-extension": "1.69.0",
25
+ "@akinon/next": "1.71.0-rc.0",
26
+ "@akinon/pz-akifast": "1.71.0-rc.0",
27
+ "@akinon/pz-b2b": "1.71.0-rc.0",
28
+ "@akinon/pz-basket-gift-pack": "1.71.0-rc.0",
29
+ "@akinon/pz-bkm": "1.71.0-rc.0",
30
+ "@akinon/pz-checkout-gift-pack": "1.71.0-rc.0",
31
+ "@akinon/pz-click-collect": "1.71.0-rc.0",
32
+ "@akinon/pz-credit-payment": "1.71.0-rc.0",
33
+ "@akinon/pz-gpay": "1.71.0-rc.0",
34
+ "@akinon/pz-masterpass": "1.71.0-rc.0",
35
+ "@akinon/pz-one-click-checkout": "1.71.0-rc.0",
36
+ "@akinon/pz-otp": "1.71.0-rc.0",
37
+ "@akinon/pz-pay-on-delivery": "1.71.0-rc.0",
38
+ "@akinon/pz-saved-card": "1.71.0-rc.0",
39
+ "@akinon/pz-tabby-extension": "1.71.0-rc.0",
40
40
  "@hookform/resolvers": "2.9.0",
41
41
  "@next/third-parties": "14.1.0",
42
42
  "@react-google-maps/api": "2.17.1",
43
- "@sentry/nextjs": "7.116.0",
43
+ "@sentry/nextjs": "8.35.0",
44
44
  "dayjs": "1.11.5",
45
45
  "lossless-json": "2.0.5",
46
46
  "next": "14.2.5",
@@ -60,7 +60,7 @@
60
60
  "yup": "0.32.11"
61
61
  },
62
62
  "devDependencies": {
63
- "@akinon/eslint-plugin-projectzero": "1.69.0",
63
+ "@akinon/eslint-plugin-projectzero": "1.71.0-rc.0",
64
64
  "@semantic-release/changelog": "6.0.2",
65
65
  "@semantic-release/exec": "6.0.3",
66
66
  "@semantic-release/git": "10.0.1",
@@ -87,7 +87,7 @@
87
87
  "jest-css-modules-transform": "4.3.0",
88
88
  "lint-staged": "13.1.0",
89
89
  "prettier": "2.6.2",
90
- "react-number-format": "4.9.3",
90
+ "react-number-format": "5.3.4",
91
91
  "sass": "1.49.9",
92
92
  "semantic-release": "19.0.5",
93
93
  "server-only": "0.0.1",
@@ -247,6 +247,7 @@ export default function Page() {
247
247
  className="mb-5"
248
248
  required
249
249
  />
250
+
250
251
  <div className="mb-5">
251
252
  <Input
252
253
  label={t('account.my_profile.form.phone.placeholder')}
@@ -1,17 +1,28 @@
1
1
  import clsx from 'clsx';
2
- import { forwardRef, FocusEvent, useState } from 'react';
2
+ import { forwardRef, FocusEvent, useState, Ref } from 'react';
3
3
  import { Controller } from 'react-hook-form';
4
- import NumberFormat, { NumberFormatProps } from 'react-number-format';
4
+ import { PatternFormat, PatternFormatProps } from 'react-number-format';
5
5
  import { InputProps } from '@theme/components/types';
6
6
  import { twMerge } from 'tailwind-merge';
7
7
 
8
+ const PatternFormatWithRef = forwardRef(
9
+ (props: PatternFormatProps, ref: Ref<HTMLInputElement>) => {
10
+ return <PatternFormat {...props} getInputRef={ref} />;
11
+ }
12
+ );
13
+ PatternFormatWithRef.displayName = 'PatternFormatWithRef';
14
+
8
15
  export const Input = forwardRef<
9
16
  HTMLInputElement,
10
17
  InputProps &
11
18
  Pick<
12
- NumberFormatProps,
13
- 'format' | 'mask' | 'allowEmptyFormatting' | 'onValueChange'
14
- >
19
+ PatternFormatProps,
20
+ 'mask' | 'allowEmptyFormatting' | 'onValueChange'
21
+ > & {
22
+ format?: string;
23
+ defaultValue?: string;
24
+ type?: string;
25
+ }
15
26
  >((props, ref) => {
16
27
  const [focused, setFocused] = useState(false);
17
28
  const [hasValue, setHasValue] = useState(false);
@@ -36,6 +47,7 @@ export const Input = forwardRef<
36
47
  ),
37
48
  props.className
38
49
  );
50
+
39
51
  const inputProps: any = {
40
52
  id,
41
53
  ref,
@@ -78,14 +90,14 @@ export const Input = forwardRef<
78
90
  <Controller
79
91
  name={props.name ?? ''}
80
92
  control={props.control}
81
- defaultValue={false}
82
93
  render={({ field }) => (
83
- <NumberFormat
94
+ <PatternFormatWithRef
84
95
  format={format}
85
96
  mask={mask ?? ''}
86
97
  {...rest}
87
98
  {...field}
88
99
  {...inputProps}
100
+ type={props.type as 'text' | 'password' | 'tel'}
89
101
  />
90
102
  )}
91
103
  />
@@ -1,11 +1,11 @@
1
1
  import { useMemo } from 'react';
2
- import NumberFormat, { NumberFormatProps } from 'react-number-format';
2
+ import { NumericFormat, NumericFormatProps } from 'react-number-format';
3
3
  import { getCurrency } from '@akinon/next/utils';
4
4
  import { useLocalization } from '@akinon/next/hooks';
5
5
  import { PriceProps } from '../types';
6
6
  import Settings from '@theme/settings';
7
7
 
8
- export const Price = (props: NumberFormatProps & PriceProps) => {
8
+ export const Price = (props: NumericFormatProps & PriceProps) => {
9
9
  const {
10
10
  value,
11
11
  currencyCode,
@@ -59,7 +59,7 @@ export const Price = (props: NumberFormatProps & PriceProps) => {
59
59
  ).decimalScale;
60
60
 
61
61
  return (
62
- <NumberFormat
62
+ <NumericFormat
63
63
  value={displayValue}
64
64
  displayType={displayType}
65
65
  thousandSeparator={thousandSeparator}
@@ -68,7 +68,6 @@ export const Price = (props: NumberFormatProps & PriceProps) => {
68
68
  fixedDecimalScale={fixedDecimalScale}
69
69
  prefix={!useCurrencyAfterPrice ? currency : undefined}
70
70
  suffix={useCurrencyAfterPrice ? currency : undefined}
71
- isNumericString={true}
72
71
  {...rest}
73
72
  />
74
73
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.69.0",
3
+ "version": "1.71.0-rc.0",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {
@@ -1,3 +0,0 @@
1
- import { initSentry } from '@akinon/next/sentry';
2
-
3
- initSentry('Edge');
@@ -1,3 +0,0 @@
1
- import { initSentry } from '@akinon/next/sentry';
2
-
3
- initSentry('Server');