@akinon/pz-virtual-try-on 2.0.0-beta.24 → 2.0.0-beta.26
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 +15 -0
- package/package.json +2 -2
- package/src/components/barcode-scanner.tsx +6 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @akinon/pz-virtual-try-on
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [09ccd457]
|
|
8
|
+
- @akinon/next@2.0.0-beta.26
|
|
9
|
+
|
|
10
|
+
## 2.0.0-beta.25
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 05c19ad0: ZERO-4365: Remove brand `@theme/*` alias imports from library packages
|
|
15
|
+
- Updated dependencies [05c19ad0]
|
|
16
|
+
- @akinon/next@2.0.0-beta.25
|
|
17
|
+
|
|
3
18
|
## 2.0.0-beta.24
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/pz-virtual-try-on",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@akinon/next": "2.0.0-beta.
|
|
11
|
+
"@akinon/next": "2.0.0-beta.26",
|
|
12
12
|
"clsx": "^2.0.0",
|
|
13
13
|
"tailwind-merge": "^2.0.0",
|
|
14
14
|
"react-image-crop": "^11.0.5",
|
|
@@ -9,8 +9,6 @@ import type {
|
|
|
9
9
|
BarcodeFormat
|
|
10
10
|
} from '../types/barcode';
|
|
11
11
|
|
|
12
|
-
import { LoaderSpinner } from '@theme/components';
|
|
13
|
-
|
|
14
12
|
const mapBarcodeFormat = (format: string): BarcodeFormat => {
|
|
15
13
|
const formatMap: Record<string, BarcodeFormat> = {
|
|
16
14
|
QR_CODE: 'QR_CODE',
|
|
@@ -299,15 +297,12 @@ export function BarcodeScanner({
|
|
|
299
297
|
{settings?.customRenderers?.renderLoadingSpinner ? (
|
|
300
298
|
settings.customRenderers.renderLoadingSpinner()
|
|
301
299
|
) : (
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
/>
|
|
309
|
-
<LoaderSpinner />
|
|
310
|
-
</>
|
|
300
|
+
<div
|
|
301
|
+
className={twMerge(
|
|
302
|
+
'animate-spin w-8 h-8 border-2 border-white border-t-transparent rounded-full mx-auto mb-2',
|
|
303
|
+
settings?.customStyles?.loadingSpinner
|
|
304
|
+
)}
|
|
305
|
+
/>
|
|
311
306
|
)}
|
|
312
307
|
</div>
|
|
313
308
|
</div>
|